/*
Theme Name: Hochzeit Schlicht
Author: Carmen
Description: Persönliche, responsive Hochzeitswebsite mit privatem QR-Gästeportal.
Version: 2.3.0
Requires at least: 6.4
Requires PHP: 8.2
Text Domain: hochzeit-schlicht
*/

:root {
  --cc-sky: #dceef8;
  --cc-sky-soft: #edf7fc;
  --cc-butter: #fff0c5;
  --cc-cream: #fffdf8;
  --cc-paper: #ffffff;
  --cc-gold: #bc8113;
  --cc-gold-dark: #a56d08;
  --cc-gold-line: rgba(188, 129, 19, 0.48);
  --cc-ink: #191816;
  --cc-muted: #57534c;
  --cc-serif: Georgia, "Times New Roman", serif;
  --cc-sans: "Segoe UI", Arial, sans-serif;
  --cc-shadow: 0 16px 45px rgba(121, 90, 33, 0.08);
  --cc-radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cc-paper);
  color: var(--cc-ink);
  font-family: var(--cc-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.admin-bar .cc-nav {
  top: 32px;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cc-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.cc-symbols symbol,
.cc-symbols path,
.cc-symbols circle,
.cc-symbols rect,
.cc-symbols ellipse {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cc-site {
  overflow: hidden;
}

.cc-wrap {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.cc-nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 14px clamp(28px, 6vw, 92px);
  color: var(--cc-gold-dark);
  transition: background-color 180ms ease, box-shadow 180ms ease, min-height 180ms ease;
}

.cc-nav.is-scrolled,
.cc-nav.is-open {
  min-height: 72px;
  background: rgba(244, 251, 255, 0.94);
  box-shadow: 0 8px 28px rgba(82, 112, 130, 0.09);
  backdrop-filter: blur(14px);
}

.cc-logo {
  display: grid;
  width: 128px;
  justify-items: center;
  color: var(--cc-gold);
  font-family: var(--cc-serif);
  font-size: 41px;
  font-style: italic;
  line-height: 0.9;
  text-decoration: none;
}

.cc-logo svg {
  width: 74px;
  height: 30px;
  margin-top: 5px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cc-menu {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc-menu a {
  color: var(--cc-gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.105em;
  text-decoration: none;
  text-transform: uppercase;
}

.cc-menu a::after {
  display: block;
  width: 0;
  height: 1px;
  margin: 4px auto 0;
  background: currentColor;
  content: "";
  transition: width 150ms ease;
}

.cc-menu a:hover::after,
.cc-menu a:focus-visible::after {
  width: 100%;
}

.cc-menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--cc-gold-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  color: var(--cc-gold-dark);
  cursor: pointer;
}

.cc-menu-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 20px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.cc-nav.is-open .cc-menu-toggle > span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.cc-nav.is-open .cc-menu-toggle > span:nth-child(2) {
  opacity: 0;
}

.cc-nav.is-open .cc-menu-toggle > span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.cc-hero {
  position: relative;
  min-height: 790px;
  padding: 128px 24px 302px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 14% 22%, rgba(255, 255, 255, 0.9), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.62), transparent 30%),
    radial-gradient(circle at 54% 58%, rgba(255, 255, 255, 0.52), transparent 31%),
    linear-gradient(132deg, #eff8fc 0%, var(--cc-sky) 42%, #e8f5fb 100%);
}

.cc-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    repeating-linear-gradient(117deg, rgba(49, 105, 136, 0.018) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(18deg, rgba(255, 255, 255, 0.09) 0 2px, transparent 2px 7px);
  content: "";
  mix-blend-mode: multiply;
}

.cc-hero-copy {
  position: relative;
  z-index: 4;
  width: min(100%, 1030px);
  margin: 0 auto;
  text-align: center;
}

.cc-kicker {
  margin: 0;
  color: var(--cc-gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.23em;
  line-height: 1.4;
  text-transform: uppercase;
}

.cc-hero h1 {
  margin: 13px 0 14px;
  color: var(--cc-gold);
  font-family: var(--cc-serif);
  font-size: clamp(58px, 7.8vw, 108px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.cc-ornament,
.cc-heading-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--cc-gold);
}

.cc-ornament span {
  width: 160px;
  height: 1px;
  background: var(--cc-gold-line);
}

.cc-ornament svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
}

.cc-date {
  margin: 17px 0 0;
  color: var(--cc-gold-dark);
  font-family: var(--cc-serif);
  font-size: clamp(21px, 2.2vw, 28px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.cc-lede {
  width: min(100%, 530px);
  margin: 17px auto 0;
  color: var(--cc-ink);
  font-size: 16px;
  line-height: 1.5;
}

.cc-share-button,
.cc-outline-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--cc-gold);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--cc-gold-dark);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 11px 19px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.cc-share-button {
  position: absolute;
  z-index: 6;
  top: 318px;
  right: clamp(30px, 7vw, 112px);
}

.cc-share-button svg,
.cc-outline-button svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.cc-share-button:hover,
.cc-outline-button:hover {
  background: var(--cc-gold);
  color: #fff;
  transform: translateY(-2px);
}

.cc-hero-wave {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 268px;
  background:
    radial-gradient(circle at 12% 58%, rgba(255, 255, 255, 0.42), transparent 25%),
    radial-gradient(circle at 82% 70%, rgba(255, 255, 255, 0.4), transparent 23%),
    linear-gradient(118deg, #fff6d8, var(--cc-butter));
}

.cc-hero-wave::before {
  position: absolute;
  top: -142px;
  left: -5%;
  width: 110%;
  height: 192px;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.48), transparent 48%),
    linear-gradient(132deg, #edf7fb, var(--cc-sky) 45%, #e7f4fb);
  content: "";
}

.cc-countdown-wrap {
  position: absolute;
  z-index: 8;
  right: 24px;
  bottom: 16px;
  left: 24px;
  text-align: center;
}

.cc-countdown {
  display: grid;
  width: min(100%, 750px);
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cc-countdown-item {
  display: grid;
  min-height: 146px;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(188, 129, 19, 0.11);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: var(--cc-shadow);
}

.cc-countdown-finished {
  grid-column: 1 / -1;
}

.cc-countdown-item > svg {
  width: 35px;
  height: 35px;
  margin-bottom: 5px;
  fill: none;
  stroke: var(--cc-gold);
  stroke-width: 1.7;
}

.cc-countdown-number {
  color: var(--cc-gold);
  font-family: var(--cc-serif);
  font-size: 48px;
  line-height: 1;
}

.cc-countdown-label {
  margin-top: 5px;
  color: var(--cc-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cc-countdown-note {
  margin: 7px 0 0;
  color: var(--cc-gold-dark);
  font-family: var(--cc-serif);
  font-size: 25px;
  font-style: italic;
  letter-spacing: 0.04em;
}

.cc-tiny-heart {
  width: 14px;
  height: 14px;
  margin: 1px auto 0;
  fill: none;
  stroke: var(--cc-gold);
  stroke-width: 2;
}

.cc-botanical {
  position: absolute;
  z-index: 3;
  width: 125px;
  height: 290px;
  fill: none;
  stroke: var(--cc-gold);
  stroke-width: 1.1;
  opacity: 0.68;
}

.cc-hero .cc-botanical-left {
  top: 94px;
  left: -5px;
  transform: rotate(-9deg);
}

.cc-hero .cc-botanical-right {
  top: 75px;
  right: -5px;
  transform: scaleX(-1) rotate(-8deg);
}

.cc-section {
  position: relative;
  padding: 48px 28px;
  background: #fff;
}

.cc-section-head {
  display: grid;
  justify-items: center;
  margin: 0 auto 28px;
  text-align: center;
}

.cc-section-head h2,
.cc-invitation h2 {
  margin: 2px 0 0;
  color: var(--cc-gold);
  font-family: var(--cc-serif);
  font-size: clamp(37px, 4vw, 51px);
  font-weight: 400;
  line-height: 1.05;
}

.cc-heading-ornament {
  gap: 8px;
  margin-top: 2px;
}

.cc-heading-ornament span {
  width: 38px;
  height: 1px;
  background: var(--cc-gold-line);
}

.cc-heading-ornament svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  stroke: currentColor;
}

.cc-timeline-section {
  padding-top: 34px;
}

.cc-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.cc-timeline::before {
  position: absolute;
  top: 44px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: var(--cc-gold-line);
  content: "";
}

.cc-timeline-item {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cc-timeline-item:not(:last-child)::after {
  position: absolute;
  top: 40px;
  right: -12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cc-gold);
  content: "";
}

.cc-timeline-icon {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--cc-sky);
  color: var(--cc-gold);
}

.cc-timeline-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}

.cc-timeline-time {
  margin: 0;
  color: var(--cc-gold-dark);
  font-weight: 700;
}

.cc-timeline h3 {
  margin: 8px 0 2px;
  color: var(--cc-ink);
  font-family: var(--cc-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.cc-timeline-item > p:last-child {
  margin: 0;
  color: var(--cc-muted);
  font-size: 12px;
  line-height: 1.45;
}

.cc-gallery-section {
  padding-top: 34px;
  padding-bottom: 28px;
}

.cc-gallery-section .cc-botanical-left {
  top: 62px;
  left: -32px;
  height: 250px;
}

.cc-gallery-section .cc-botanical-right {
  top: 64px;
  right: -32px;
  height: 250px;
  transform: scaleX(-1);
}

.cc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
}

.cc-gallery-tile {
  aspect-ratio: 1.52 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--cc-cream);
  box-shadow: var(--cc-shadow);
}

.cc-gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.cc-gallery-tile:hover img {
  transform: scale(1.035);
}

.cc-centered-action {
  display: flex;
  justify-content: center;
  margin-top: 13px;
}

.cc-outline-button {
  min-height: 41px;
  padding: 7px 17px;
  background: #fff;
  font-size: 12px;
}

.cc-outline-button svg {
  width: 21px;
  height: 21px;
}

.cc-info-section {
  padding-top: 26px;
}

.cc-question-grid,
.cc-info-grid {
  display: grid;
  gap: 12px;
}

.cc-question-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cc-question-card {
  min-height: 235px;
  padding: 18px 22px 21px;
  border: 1px solid rgba(188, 129, 19, 0.05);
  border-radius: var(--cc-radius);
  background: linear-gradient(145deg, #fffdf7, #fcf8ef);
  text-align: center;
}

.cc-card-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin: -2px auto 13px;
  border-radius: 50%;
  background: var(--cc-sky);
  color: var(--cc-gold);
}

.cc-card-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.cc-question-card h3,
.cc-info-card h3 {
  margin: 0;
  color: var(--cc-gold-dark);
  font-family: var(--cc-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cc-question-card p,
.cc-info-card p {
  margin: 12px 0 0;
  color: var(--cc-ink);
  font-size: 13px;
  line-height: 1.65;
}

.cc-info-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 13px;
  scroll-margin-top: 90px;
}

.cc-info-card {
  display: flex;
  min-height: 238px;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 17px;
  border: 1px solid var(--cc-gold-line);
  border-radius: 8px;
  background: #fffefb;
  text-align: center;
}

.cc-info-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 11px;
  fill: none;
  stroke: var(--cc-gold);
  stroke-width: 1.45;
}

.cc-card-link {
  margin-top: auto;
  padding-top: 12px;
  color: var(--cc-gold-dark);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cc-invitation-section {
  padding: 0 28px 30px;
  background: #fff;
}

.cc-invitation {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 30px;
  align-items: center;
  padding: 26px 36px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 255, 255, 0.72), transparent 26%),
    linear-gradient(117deg, #dceff9, #e9f6fc);
}

.cc-invitation h2 {
  margin-top: 3px;
  color: var(--cc-ink);
  font-size: clamp(26px, 2.6vw, 37px);
}

.cc-steps {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.cc-steps li {
  display: grid;
  grid-template-columns: 28px 150px 1fr;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}

.cc-steps li > span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--cc-gold);
  color: #fff;
  font-family: var(--cc-serif);
}

.cc-steps strong {
  font-size: 12px;
  font-weight: 600;
}

.cc-steps small {
  color: var(--cc-muted);
  font-size: 11px;
}

.cc-invitation-note {
  padding: 26px;
  border: 1px solid rgba(36, 54, 75, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.67);
}

.cc-invitation-note > svg {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  fill: none;
  stroke: var(--cc-gold);
  stroke-width: 1.6;
}

.cc-invitation-note > p:last-child {
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.cc-footer {
  position: relative;
  min-height: 82px;
  overflow: hidden;
  padding: 20px 24px 26px;
  background: linear-gradient(150deg, #fff6d9, var(--cc-butter));
  color: var(--cc-gold-dark);
  font-family: var(--cc-serif);
  font-size: clamp(23px, 3vw, 36px);
  font-style: italic;
  text-align: center;
}

.cc-footer::before {
  position: absolute;
  top: -52px;
  left: -5%;
  width: 110%;
  height: 58px;
  border-radius: 0 0 50% 50%;
  background: #fff;
  content: "";
}

.cc-footer p {
  margin: 0;
}

.cc-reveal {
  opacity: 1;
  transform: none;
}

.cc-js .cc-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 580ms ease, transform 580ms ease;
}

.cc-js .cc-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.cc-site-main {
  min-height: 70vh;
  padding: 140px 28px 70px;
}

.cc-site-main .cc-wrap {
  width: min(100%, 900px);
}

@media (max-width: 1180px) {
  .cc-share-button {
    right: 32px;
  }

  .cc-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 18px;
  }

  .cc-timeline::before,
  .cc-timeline-item::after {
    display: none;
  }

  .cc-gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .cc-gallery-tile {
    grid-column: span 2;
  }

  .cc-gallery-tile:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .cc-gallery-tile:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .cc-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cc-invitation {
    grid-template-columns: minmax(0, 1.3fr) minmax(210px, 0.9fr);
    gap: 22px;
  }

  .cc-steps li {
    grid-template-columns: 28px 1fr;
  }

  .cc-steps small {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  body.admin-bar .cc-nav {
    top: 46px;
  }

  .cc-nav {
    min-height: 76px;
    padding: 10px 22px;
  }

  .cc-logo {
    width: auto;
    font-size: 31px;
  }

  .cc-logo svg {
    width: 58px;
    height: 22px;
  }

  .cc-menu-toggle {
    display: block;
  }

  .cc-menu {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(248, 252, 254, 0.98);
    box-shadow: 0 16px 36px rgba(51, 79, 95, 0.13);
    opacity: 0;
    pointer-events: none;
    transition: max-height 180ms ease, opacity 180ms ease;
  }

  .cc-nav.is-open .cc-menu {
    max-height: 360px;
    opacity: 1;
    pointer-events: auto;
  }

  .cc-menu li + li {
    border-top: 1px solid rgba(188, 129, 19, 0.12);
  }

  .cc-menu a {
    display: block;
    padding: 14px 18px;
    text-align: center;
  }

  .cc-menu a::after {
    display: none;
  }

  .cc-hero {
    min-height: 980px;
    padding-top: 128px;
    padding-bottom: 480px;
  }

  .cc-hero h1 {
    font-size: clamp(50px, 11vw, 76px);
  }

  .cc-share-button {
    position: relative;
    top: auto;
    right: auto;
    z-index: 9;
    margin: 24px auto 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .cc-share-button:hover {
    transform: translateX(-50%) translateY(-2px);
  }

  .cc-hero-wave {
    height: 445px;
  }

  .cc-countdown-wrap {
    bottom: 18px;
  }

  .cc-countdown {
    width: min(100%, 520px);
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cc-countdown-item {
    min-height: 150px;
  }

  .cc-botanical {
    opacity: 0.35;
  }

  .cc-question-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-gallery-tile,
  .cc-gallery-tile:nth-child(4) {
    grid-column: auto;
  }

  .cc-gallery-tile:nth-child(5) {
    grid-column: 1 / -1;
    aspect-ratio: 2.4 / 1;
  }

  .cc-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-invitation {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    font-size: 15px;
  }

  .cc-hero {
    min-height: 1025px;
    padding: 118px 18px 492px;
  }

  .cc-hero h1 {
    margin-top: 16px;
    font-size: clamp(47px, 15vw, 66px);
    line-height: 1.02;
  }

  .cc-ornament span {
    width: 82px;
  }

  .cc-date {
    font-size: 19px;
    letter-spacing: 0.14em;
  }

  .cc-lede {
    font-size: 15px;
  }

  .cc-botanical {
    display: none;
  }

  .cc-countdown-wrap {
    right: 14px;
    left: 14px;
  }

  .cc-countdown {
    gap: 9px;
  }

  .cc-countdown-item {
    min-height: 146px;
  }

  .cc-countdown-number {
    font-size: 43px;
  }

  .cc-countdown-note {
    font-size: 21px;
  }

  .cc-section {
    padding: 42px 18px;
  }

  .cc-section-head h2 {
    font-size: 39px;
  }

  .cc-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .cc-timeline::before {
    display: block;
    top: 30px;
    right: auto;
    bottom: 30px;
    left: 35px;
    width: 1px;
    height: auto;
  }

  .cc-timeline-item {
    min-height: 76px;
    padding-left: 90px;
    text-align: left;
  }

  .cc-timeline-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 70px;
    margin: 0;
  }

  .cc-timeline-icon svg {
    width: 38px;
    height: 38px;
  }

  .cc-timeline h3 {
    margin-top: 3px;
  }

  .cc-gallery-grid {
    display: grid;
    width: calc(100% + 18px);
    grid-auto-columns: 82%;
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0 18px 12px 0;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .cc-gallery-tile,
  .cc-gallery-tile:nth-child(4),
  .cc-gallery-tile:nth-child(5) {
    grid-column: auto;
    aspect-ratio: 1.52 / 1;
    margin: 0;
    scroll-snap-align: start;
  }

  .cc-question-grid,
  .cc-info-grid {
    grid-template-columns: 1fr;
  }

  .cc-question-card,
  .cc-info-card {
    min-height: 0;
  }

  .cc-invitation-section {
    padding: 0 14px 26px;
  }

  .cc-invitation {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 27px 20px;
    text-align: center;
  }

  .cc-steps {
    width: min(100%, 410px);
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .cc-steps li {
    grid-template-columns: 28px 1fr;
  }

  .cc-invitation-note {
    text-align: left;
  }
}

@media (max-width: 420px) {
  body.admin-bar .cc-nav {
    top: 0;
  }

  .cc-hero {
    min-height: 1030px;
  }

  .cc-hero h1 {
    font-size: 46px;
  }

  .cc-countdown-item {
    min-height: 138px;
  }

  .cc-countdown-number {
    font-size: 39px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .cc-js .cc-reveal {
    opacity: 1;
    transform: none;
  }
}
