:root {
  --paper: #f7f3ee;
  --paper-deep: #eee7de;
  --ink: #292724;
  --muted: #77716b;
  --line: rgba(41, 39, 36, 0.14);
  --blush: #c8867e;
  --blush-pale: #ead4ce;
  --sage: #98a58f;
  --sage-deep: #566251;
  --cream: #fffdfa;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid rgba(200, 134, 126, 0.7);
  outline-offset: 3px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: -70px;
  left: 16px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; }

.section-shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 76px;
  width: 100%;
  padding: 0 max(32px, calc((100vw - 1200px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(247, 243, 238, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 25px rgba(48, 38, 29, .04); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 17px; white-space: nowrap; }
.brand i, .site-footer i, .invitation-card-top i { color: var(--blush); }
.brand-mark {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(41,39,36,.36);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: .04em;
}
.main-nav { display: flex; gap: 30px; margin-left: auto; margin-right: 16px; color: #625d57; font-size: 12px; font-weight: 600; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px; background: var(--ink); transition: width .2s ease; }
.main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; min-width: 88px; justify-content: flex-end; }
.text-button, .footer-login {
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: none;
  padding: 3px 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.text-button:hover, .footer-login:hover { color: var(--blush); border-color: var(--blush); }
.account-button { border: 0; background: transparent; padding: 3px 0; display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 11px; font-weight: 700; }
.account-initials { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--blush); color: #fff; font-family: var(--serif); font-size: 13px; }

.hero { min-height: min(745px, calc(100vh - 76px)); display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: clamp(24px, 5.3vw, 82px); padding-top: 58px; padding-bottom: 72px; }
.hero-copy { position: relative; z-index: 2; padding-left: clamp(0px, 2vw, 28px); }
.eyebrow { margin: 0 0 18px; display: flex; align-items: center; gap: 9px; color: var(--sage-deep); font-size: 10px; font-weight: 700; letter-spacing: .13em; line-height: 1.3; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 20px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; }
h1, h2 { font-family: var(--serif); letter-spacing: -.045em; line-height: .98; }
h1 em, h2 em { color: var(--blush); font-style: italic; font-weight: 500; }
.hero h1 { max-width: 570px; margin-bottom: 24px; font-size: clamp(51px, 5.9vw, 82px); }
.hero-lead { max-width: 430px; margin-bottom: 30px; color: #615c56; font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; padding: 12px 21px; font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .02em; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #49443f; }
.button-quiet { border-color: var(--line); color: var(--ink); background: transparent; }
.button-quiet:hover { border-color: var(--ink); }
.button-light { color: var(--ink); background: var(--cream); }
.button-light:hover { background: #fff; }
.personal-note { margin: 28px 0 0; color: #877d73; font-size: 11px; }
.personal-note span { margin-right: 5px; color: var(--blush); }

.hero-visual { position: relative; align-self: stretch; min-height: 510px; }
.hero-image-wrap { position: absolute; inset: 0 0 0 9%; overflow: hidden; border-radius: 220px 220px 8px 8px; background: #d1cabf; }
.hero-image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,27,18,0) 50%, rgba(35,27,18,.13)); mix-blend-mode: multiply; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.date-card { position: absolute; z-index: 2; left: 0; bottom: 25px; width: 154px; min-height: 152px; display: flex; flex-direction: column; justify-content: center; padding: 21px; background: var(--cream); box-shadow: 0 14px 38px rgba(54, 42, 31, .11); }
.date-card span { margin-bottom: 5px; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; color: var(--sage-deep); }
.date-card strong { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1; }
.date-card small { margin-top: 9px; color: #70685e; font-size: 10px; }

.intro-strip { padding: 29px 0; background: var(--ink); color: var(--cream); }
.intro-strip-inner { display: flex; justify-content: space-between; gap: 35px; align-items: center; }
.intro-strip p { max-width: 470px; margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.25; }
.intro-strip-inner > div { display: flex; gap: 9px; align-items: center; color: #ddd5ca; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.intro-strip i { width: 17px; height: 1px; background: #9c9389; }
.intro-strip span { color: var(--blush); }

.story-section { padding-top: 150px; padding-bottom: 132px; }
.section-heading { display: grid; grid-template-columns: 1fr 1.6fr .9fr; align-items: end; gap: 28px; margin-bottom: 72px; }
.section-heading .eyebrow { margin-bottom: 7px; }
.section-heading h2 { margin-bottom: -4px; font-size: clamp(43px, 5vw, 68px); }
.section-heading > p:last-child { max-width: 215px; margin: 0 0 4px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.people-grid { display: grid; gap: 93px; }
.person-card { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(38px, 8.6vw, 130px); }
.person-card-natalia { grid-template-columns: .97fr 1.03fr; }
.person-photo { position: relative; overflow: hidden; min-height: 470px; }
.person-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .6s ease; }
.person-card:hover .person-photo img { transform: scale(1.025); }
.photo-sergey { border-radius: 140px 4px 4px 4px; }
.photo-natalia { border-radius: 4px 140px 4px 4px; }
.photo-sergey img { object-position: center; }
.photo-natalia img { object-position: center; }
.photo-label { position: absolute; z-index: 1; right: 20px; bottom: 16px; font-family: var(--serif); color: #fff; font-size: 40px; font-style: italic; line-height: 1; text-shadow: 0 2px 11px rgba(30,20,12,.2); }
.person-copy { max-width: 345px; }
.person-card-natalia .person-copy { justify-self: end; }
.person-number { margin-bottom: 20px; color: var(--sage-deep); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.person-copy h3 { margin-bottom: 20px; font-family: var(--serif); font-size: clamp(34px, 3.3vw, 48px); letter-spacing: -.04em; line-height: 1.05; }
.person-copy > p:last-child { color: #6d665f; font-size: 13px; line-height: 1.9; }

.timeline-section { padding: 120px 0 125px; background: #e9e2d9; }
.timeline-heading { display: flex; justify-content: space-between; align-items: end; padding-bottom: 51px; border-bottom: 1px solid rgba(41,39,36,.16); }
.timeline-heading .eyebrow { align-self: start; }
.timeline-heading h2 { width: 58%; margin: 0; font-size: clamp(43px, 5vw, 68px); }
.timeline { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.timeline li { min-height: 205px; padding: 27px 28px 7px; border-right: 1px solid rgba(41,39,36,.16); }
.timeline li:first-child { padding-left: 0; }
.timeline li:last-child { border-right: 0; }
.timeline-index { display: block; margin-bottom: 43px; color: var(--blush); font-family: var(--serif); font-size: 16px; font-style: italic; }
.timeline h3 { margin-bottom: 9px; font-family: var(--serif); font-size: 24px; letter-spacing: -.03em; }
.timeline p { max-width: 230px; margin: 0; color: #6f6860; font-size: 11px; line-height: 1.75; }

.gifts-teaser { min-height: 605px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-top: 90px; padding-bottom: 90px; }
.gifts-copy { max-width: 500px; }
.gifts-copy h2 { margin-bottom: 24px; font-size: clamp(46px, 5.2vw, 72px); }
.gifts-copy > p:not(.eyebrow) { max-width: 400px; margin-bottom: 27px; color: #68615a; font-size: 13px; line-height: 1.9; }
.gift-art { position: relative; min-height: 400px; overflow: hidden; background: #d4ddcd; }
.gift-circle { position: absolute; top: -93px; right: -29px; width: 356px; height: 356px; border-radius: 50%; background: #edf0e8; }
.gift-box { position: absolute; box-shadow: 0 16px 22px rgba(55,65,49,.13); }
.gift-box::before { content: ""; position: absolute; top: 0; left: 50%; width: 10px; height: 100%; background: rgba(255,255,255,.5); transform: translateX(-50%); }
.gift-box::after { content: ""; position: absolute; left: 0; top: 40%; width: 100%; height: 10px; background: rgba(255,255,255,.5); transform: translateY(-50%); }
.gift-box-large { width: 180px; height: 203px; left: 28%; top: 133px; background: #c9847d; transform: rotate(-10deg); }
.gift-box-large span { position: absolute; z-index: 1; top: -27px; left: calc(50% - 17px); width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: #f7d8bc; color: #9d655f; font-size: 17px; }
.gift-box-small { width: 102px; height: 92px; right: 15%; bottom: 37px; background: #5f7258; transform: rotate(8deg); }
.gift-art p { position: absolute; right: 26px; top: 48px; margin: 0; color: #6a7b63; font-family: var(--serif); font-size: 23px; font-style: italic; line-height: 1.05; text-align: right; }

.login-banner { min-height: 325px; display: flex; justify-content: space-between; gap: 55px; align-items: center; margin-bottom: 100px; padding: 65px clamp(30px, 7vw, 105px); background: var(--blush); color: #fff; }
.login-banner .eyebrow { color: #f4ddd8; }
.login-banner h2 { margin: 0; font-size: clamp(38px, 4.4vw, 60px); }
.login-banner h2 em { color: #fff0e7; }
.login-banner-action { max-width: 324px; }
.login-banner-action p { margin-bottom: 20px; color: #fff5ef; font-size: 12px; line-height: 1.75; }

.site-footer { min-height: 105px; width: min(1200px, calc(100% - 64px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #756f69; border-top: 1px solid var(--line); font-size: 11px; }
.site-footer > span { color: var(--ink); font-family: var(--serif); font-size: 18px; }
.site-footer p { margin: 0; }

/* Guest invitation */
.guest-space { background: var(--paper); }
.guest-hero { position: relative; min-height: 380px; overflow: hidden; padding-top: 28px; padding-bottom: 56px; color: #fff; background: #425046; }
/* The green band spans the whole window; its content lines up with the page. */
.guest-hero.section-shell { width: 100%; max-width: none; margin: 0; padding-inline: max(32px, calc((100% - 1200px) / 2)); }
.guest-hero::before { content: ""; position: absolute; width: 605px; height: 605px; top: -330px; right: 3%; border: 1px solid rgba(236,239,228,.36); border-radius: 50%; }
.guest-hero::after { content: ""; position: absolute; width: 318px; height: 318px; bottom: -194px; left: 12%; border: 1px solid rgba(236,239,228,.2); border-radius: 50%; }
.guest-navigation { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.back-home { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; color: #ecebe5; padding: 4px 0; font-size: 11px; font-weight: 700; }
.back-home:hover { color: #fff; }
.logout-button { border: 0; border-bottom: 1px solid rgba(255,255,255,.62); background: transparent; color: #edf0e8; padding: 3px 0; font-size: 10px; font-weight: 700; }
.logout-button:hover { color: #fff; border-color: #fff; }
.guest-hero-content { position: relative; z-index: 1; max-width: 695px; padding-top: 52px; }
.light-eyebrow { color: #d2ddcf; }
.guest-hero h1 { margin-bottom: 21px; color: #fff; font-size: clamp(47px, 5.8vw, 76px); }
.guest-hero h1 em { color: #eac9c3; }
.guest-hero-content > p:not(.eyebrow) { max-width: 500px; color: #e5e9e1; font-size: 14px; line-height: 1.9; }
.guest-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.guest-meta span { padding: 6px 9px; border: 1px solid rgba(255,255,255,.23); border-radius: 50px; color: #e8ede3; font-size: 10px; }
.guest-flower { position: absolute; z-index: 1; right: 13%; bottom: -52px; color: #e9b1a8; font-family: var(--serif); font-size: 265px; line-height: 1; opacity: .91; transform: rotate(17deg); }
.invitation-section { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
.invitation-card { display: flex; flex-direction: column; gap: 40px; padding: 37px 45px 48px; background: var(--cream); border: 1px solid #e7ddd2; box-shadow: 0 14px 40px rgba(53, 43, 31,.05); }
.invitation-card-top { display: flex; align-items: center; justify-content: space-between; }
.invitation-card-top p { margin: 0; font-family: var(--serif); font-size: 16px; }
.invitation-seal { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--blush); border-radius: 50%; color: var(--blush); font-family: var(--serif); font-size: 10px; line-height: .85; text-align: center; }
.invitation-card-content { max-width: 500px; }
.invitation-card h2 { margin: 0 0 25px; font-size: clamp(37px, 4vw, 57px); }
.invitation-message { max-width: 385px; margin-bottom: 25px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.details-placeholder { display: flex; align-items: center; gap: 13px; color: var(--sage-deep); font-size: 11px; }
.details-placeholder span { font-size: 17px; }
.details-placeholder p { margin: 0; }
.guest-side-note { max-width: 310px; }
.guest-side-note h3 { margin-bottom: 18px; font-family: var(--serif); font-size: clamp(29px, 3vw, 39px); letter-spacing: -.04em; line-height: 1.1; }
.guest-side-note > p:not(.eyebrow) { margin-bottom: 25px; color: var(--muted); font-size: 12px; line-height: 1.8; }

.wishlist-section { padding-bottom: 130px; }
.wishlist-top { display: flex; justify-content: space-between; gap: 30px; align-items: end; padding-top: 50px; border-top: 1px solid var(--line); }
.wishlist-top h2 { margin: 0; font-size: clamp(42px, 4.6vw, 66px); }
.live-status { display: flex; align-items: center; gap: 8px; margin: 0 0 7px; color: var(--sage-deep); font-size: 10px; font-weight: 700; }
.live-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(152,165,143,.18); animation: pulse 2s infinite; }
.live-status.is-offline { color: #a35e58; }
.live-status.is-offline span { background: #b26d66; box-shadow: none; animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(152,165,143,0); } }
.wishlist-intro { max-width: 520px; margin: 28px 0 35px; color: #716b64; font-size: 12px; line-height: 1.8; }
.wishlist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wishlist-loading { grid-column: 1/-1; min-height: 215px; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 12px; }
.spinner { width: 19px; height: 19px; border: 2px solid #ded5cc; border-top-color: var(--blush); border-radius: 50%; animation: rotate .8s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.wishlist-card { overflow: hidden; display: flex; flex-direction: column; background: var(--cream); border: 1px solid #e9e0d7; transition: transform .25s ease, box-shadow .25s ease; }
.wishlist-card:hover { transform: translateY(-4px); box-shadow: 0 13px 30px rgba(51,40,29,.09); }
.gift-image { position: relative; aspect-ratio: 4 / 4.3; overflow: hidden; background: linear-gradient(135deg, #d5d7c9, #cfaba2); }
.gift-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.wishlist-card:hover .gift-image img { transform: scale(1.03); }
.gift-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(30,25,19,.15)); pointer-events: none; }
.gift-status { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 6px 9px; background: rgba(255,253,250,.93); color: var(--sage-deep); font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.gift-status.reserved { color: #80605c; }
.gift-content { display: flex; flex: 1; flex-direction: column; padding: 17px 17px 19px; }
.gift-number { margin: 0 0 8px; color: #998f84; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.gift-title-row { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.gift-title { margin: 0; font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: -.035em; line-height: 1.12; }
.gift-link { flex: 0 0 auto; display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 50%; font-size: 13px; transition: background .2s, color .2s; }
.gift-link:hover { background: var(--ink); color: #fff; }
.gift-description { min-height: 37px; margin: 10px 0 16px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.reserve-button { width: 100%; min-height: 39px; margin-top: auto; padding: 8px 10px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.reserve-button:hover { background: #4a4540; }
.reserve-button.reserved-button { border-color: #d8cdc4; background: transparent; color: #716963; }
.reserve-button.reserved-button:hover { border-color: var(--blush); color: var(--blush); }
.reserve-button.unavailable { border-color: #e5ddd4; background: #f1ece6; color: #9c948b; cursor: not-allowed; }
.wishlist-empty { grid-column: 1/-1; padding: 50px; text-align: center; color: var(--muted); font-size: 13px; background: var(--cream); border: 1px dashed #d8cdc2; }

/* Dialogs */
dialog { width: min(100% - 32px, 525px); border: 0; padding: 0; color: var(--ink); background: transparent; box-shadow: 0 22px 70px rgba(30,23,17,.2); }
dialog::backdrop { background: rgba(42,36,30,.43); backdrop-filter: blur(4px); }
.modal { position: fixed; max-height: calc(100vh - 32px); overflow: auto; background: var(--cream); }
.login-dialog { padding: 47px 49px 35px; }
.confirm-dialog { padding: 45px 49px 43px; }
.modal-close { position: absolute; top: 15px; right: 17px; width: 34px; height: 34px; border: 0; background: transparent; color: #77716a; font-size: 26px; font-weight: 300; line-height: 1; }
.modal-close:hover { color: var(--ink); }
.modal h2 { margin: 0 0 13px; font-size: clamp(34px, 6vw, 48px); }
.modal-intro > p:last-child, .confirm-dialog > p:not(.eyebrow) { max-width: 370px; margin-bottom: 26px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.field-label { display: block; margin: 17px 0 8px; color: #58524c; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
input { width: 100%; height: 48px; border: 1px solid #d8cdc3; border-radius: 0; padding: 0 13px; background: #fffefa; color: var(--ink); font-size: 13px; transition: border-color .2s, box-shadow .2s; }
input::placeholder { color: #aaa197; }
input:focus { border-color: var(--sage-deep); box-shadow: 0 0 0 3px rgba(152,165,143,.14); outline: none; }
.password-field { position: relative; }
.password-field input { padding-right: 46px; }
.password-field button { position: absolute; right: 0; top: 0; width: 45px; height: 48px; border: 0; background: transparent; color: #716b64; }
.form-error { margin: 12px 0 0; color: #ac5750; font-size: 11px; line-height: 1.6; }
.form-submit { width: 100%; margin-top: 22px; }
.modal-footnote { margin: 17px 0 0; color: #999087; font-size: 10px; text-align: center; }
.confirmation-icon { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; background: var(--blush-pale); color: var(--blush); font-size: 20px; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.confirm-actions .button { flex: 1; min-width: 155px; }

.toast-region { position: fixed; z-index: 60; right: 20px; bottom: 20px; display: grid; gap: 8px; width: min(360px, calc(100vw - 40px)); pointer-events: none; }
.toast { padding: 14px 17px; color: #fff; background: var(--ink); box-shadow: 0 12px 28px rgba(35,28,21,.18); font-size: 12px; line-height: 1.5; animation: toast-in .25s ease both; }
.toast.error { background: #964f49; }
.toast.success { background: var(--sage-deep); }
@keyframes toast-in { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (max-width: 850px) {
  .section-shell { width: min(100% - 42px, 620px); }
  .site-header { height: 66px; padding-inline: 21px; }
  .main-nav { display: none; }
  .brand { font-size: 15px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 43px; padding-top: 61px; padding-bottom: 55px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(46px, 12vw, 67px); }
  .hero-visual { min-height: 471px; width: min(100%, 560px); justify-self: end; }
  .hero-image-wrap { left: 6%; }
  .intro-strip-inner { display: block; }
  .intro-strip p { margin-bottom: 17px; font-size: 18px; }
  .intro-strip-inner > div { overflow: auto; font-size: 9px; }
  .story-section { padding-top: 88px; padding-bottom: 87px; }
  .section-heading { grid-template-columns: 1fr; gap: 15px; margin-bottom: 48px; }
  .section-heading .eyebrow { margin: 0; }
  .section-heading h2 { margin: 0; }
  .section-heading > p:last-child { margin: 0; }
  .people-grid { gap: 65px; }
  .person-card, .person-card-natalia { grid-template-columns: 1fr; gap: 28px; }
  .person-card-natalia .person-copy { order: 2; justify-self: start; }
  .person-card-natalia .person-photo { order: 1; }
  .person-photo { min-height: 420px; }
  .person-copy { max-width: 420px; }
  .timeline-section { padding: 83px 0; }
  .timeline-heading { display: block; padding-bottom: 37px; }
  .timeline-heading h2 { width: auto; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li, .timeline li:first-child { min-height: auto; display: grid; grid-template-columns: 40px 1fr; gap: 15px; padding: 24px 0; border-right: 0; border-bottom: 1px solid rgba(41,39,36,.16); }
  .timeline li:last-child { border-bottom: 0; }
  .timeline-index { margin: 0; }
  .timeline h3 { margin-bottom: 5px; }
  .gifts-teaser { min-height: 0; grid-template-columns: 1fr; gap: 40px; padding-top: 80px; padding-bottom: 80px; }
  .gift-art { min-height: 340px; }
  .login-banner { display: block; min-height: 0; margin-bottom: 67px; padding: 43px 31px; }
  .login-banner h2 { margin-bottom: 27px; }
  .site-footer { min-height: 150px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 11px; }
  .guest-hero { min-height: 0; padding-top: 22px; padding-bottom: 48px; }
  .guest-hero.section-shell { padding-inline: 21px; }
  .guest-hero-content { padding-top: 40px; }
  .guest-flower { right: -44px; bottom: -24px; font-size: 195px; }
  .invitation-section { grid-template-columns: 1fr; gap: 44px; padding-top: 48px; padding-bottom: 52px; }
  .invitation-card { padding: 27px 27px 32px; gap: 32px; }
  .guest-side-note { max-width: 440px; }
  .wishlist-section { padding-bottom: 77px; }
  .wishlist-top { display: block; padding-top: 39px; }
  .live-status { margin-top: 22px; }
  .wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 480px) {
  .section-shell { width: calc(100% - 34px); }
  .site-header { padding-inline: 17px; }
  .guest-hero.section-shell { padding-inline: 17px; }
  .brand-mark { display: none; }
  .brand { font-size: 14px; }
  .account-label { display: none; }
  .header-actions { min-width: 54px; }
  .hero { padding-top: 43px; }
  .hero-lead { font-size: 13px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 385px; }
  .hero-image-wrap { left: 8%; border-radius: 150px 150px 5px 5px; }
  .date-card { bottom: 15px; width: 131px; min-height: 125px; padding: 17px; }
  .date-card strong { font-size: 20px; }
  .intro-strip { padding: 24px 0; }
  .person-photo { min-height: 355px; }
  .photo-sergey { border-radius: 90px 4px 4px; }
  .photo-natalia { border-radius: 4px 90px 4px 4px; }
  .gift-art { min-height: 284px; }
  .gift-circle { width: 270px; height: 270px; top: -72px; }
  .gift-box-large { top: 98px; width: 140px; height: 160px; }
  .gift-box-small { width: 82px; height: 73px; }
  .gift-art p { top: 32px; right: 18px; font-size: 19px; }
  .wishlist-grid { grid-template-columns: 1fr; }
  .gift-image { aspect-ratio: 4 / 3.3; }
  .login-dialog, .confirm-dialog { padding: 39px 25px 28px; }
  .modal h2 { font-size: 38px; }
  .confirm-actions { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Countdown */
.countdown-section { padding: 74px 0 78px; background: var(--cream); border-top: 1px solid var(--line); }
.countdown-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.countdown-heading h2 { margin: 0 0 18px; font-size: clamp(38px, 4.2vw, 58px); }
.countdown-date { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.countdown-timer { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #e3d9ce; background: var(--paper); }
.countdown-unit { display: flex; flex-direction: column; align-items: center; padding: 30px 8px 24px; border-right: 1px solid #e3d9ce; }
.countdown-unit:last-child { border-right: 0; }
.countdown-unit strong { font-family: var(--serif); font-size: clamp(40px, 5vw, 70px); font-weight: 500; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.countdown-unit:first-child strong { color: var(--blush); font-style: italic; }
.countdown-unit span { margin-top: 12px; color: var(--sage-deep); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.countdown-done { grid-column: 2; margin: 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-style: italic; color: var(--blush); }

/* Event details on the invitation card */
.event-list { display: grid; gap: 16px; margin: 0; padding-top: 22px; border-top: 1px solid #ece3d9; }
.event-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; }
.event-list dt { color: var(--sage-deep); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.event-list dd { margin: 0; font-size: 13px; line-height: 1.7; }
.event-list a { color: var(--blush); border-bottom: 1px solid currentColor; }

.guest-navigation-right { display: flex; align-items: center; gap: 22px; }
.admin-link { color: #edf0e8; font-size: 10px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.62); padding: 3px 0; }
.admin-link:hover { color: #fff; border-color: #fff; }
.field-hint { margin: 7px 0 0; color: #999087; font-size: 10px; }

@media (max-width: 850px) {
  .countdown-section { padding: 58px 0; }
  .countdown-inner { grid-template-columns: 1fr; gap: 30px; }
  .countdown-done { grid-column: 1; }
}

@media (max-width: 480px) {
  .countdown-unit { padding: 20px 4px 16px; }
  .countdown-unit strong { font-size: 34px; }
  .countdown-unit span { font-size: 8px; letter-spacing: .08em; }
  .event-list > div { grid-template-columns: 1fr; gap: 3px; }
}

/* RSVP */
.rsvp-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding-bottom: 72px; }
.rsvp-copy h2 { margin: 0 0 22px; font-size: clamp(40px, 4.4vw, 62px); }
.rsvp-copy > p:last-child { max-width: 400px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.rsvp-card { padding: 34px 38px 36px; background: var(--cream); border: 1px solid #e7ddd2; box-shadow: 0 14px 40px rgba(53, 43, 31, .05); }
.rsvp-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rsvp-choice label { position: relative; cursor: pointer; }
.rsvp-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rsvp-choice span { display: flex; align-items: center; justify-content: center; min-height: 58px; border: 1px solid #d8cdc3; background: #fffefa; font-family: var(--serif); font-size: 21px; transition: border-color .2s, background .2s, color .2s; }
.rsvp-choice label:hover span { border-color: var(--ink); }
.rsvp-choice input:focus-visible + span { outline: 3px solid rgba(200, 134, 126, 0.7); outline-offset: 3px; }
.rsvp-choice input[value="yes"]:checked + span { border-color: var(--sage-deep); background: var(--sage-deep); color: #fff; }
.rsvp-choice input[value="no"]:checked + span { border-color: var(--blush); background: var(--blush); color: #fff; }
.rsvp-form select { width: 100%; height: 48px; border: 1px solid #d8cdc3; border-radius: 0; padding: 0 13px; background: #fffefa; color: var(--ink); font-size: 13px; }
.rsvp-form textarea { width: 100%; border: 1px solid #d8cdc3; border-radius: 0; padding: 11px 13px; background: #fffefa; color: var(--ink); font-size: 13px; line-height: 1.6; resize: vertical; }
.rsvp-form textarea:focus, .rsvp-form select:focus { border-color: var(--sage-deep); box-shadow: 0 0 0 3px rgba(152,165,143,.14); outline: none; }
.rsvp-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.rsvp-badge { display: inline-block; margin-bottom: 16px; padding: 6px 12px; border-radius: 40px; background: var(--sage-deep); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rsvp-badge.is-no { background: var(--blush); }
.rsvp-thanks { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; line-height: 1.15; }
.rsvp-summary { margin: 0 0 22px; color: var(--muted); font-size: 12px; line-height: 1.75; white-space: pre-line; }

@media (max-width: 850px) {
  .rsvp-section { grid-template-columns: 1fr; gap: 26px; padding-bottom: 56px; }
  .rsvp-card { padding: 26px 22px 28px; }
}

/* Keep anchored sections clear of the sticky header. */
#story, #gifts, #wishlist, #rsvp { scroll-margin-top: 76px; }

/* Gallery */
.gallery-section { padding-top: 50px; padding-bottom: 110px; border-top: 1px solid var(--line); scroll-margin-top: 76px; }
.gallery-top { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.gallery-top h2 { margin: 0; font-size: clamp(42px, 4.6vw, 66px); }
.gallery-intro { max-width: 360px; margin: 0 0 6px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.gallery-filters { display: grid; gap: 10px; margin-bottom: 22px; }
.gallery-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-chip { min-height: 36px; padding: 7px 14px; border: 1px solid #d8cdc3; border-radius: 40px; background: transparent; color: var(--ink); font-size: 11px; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.gallery-chip span { margin-left: 3px; color: #a69c91; font-weight: 600; }
.gallery-chip:hover { border-color: var(--ink); }
.gallery-chip.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.gallery-chip.is-active span { color: #cfc6bc; }
.gallery-tags .gallery-chip { min-height: 30px; padding: 5px 11px; font-weight: 600; color: var(--sage-deep); }
.gallery-tags .gallery-chip.is-active { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.gallery-tile { position: relative; aspect-ratio: 1; overflow: hidden; padding: 0; border: 0; background: linear-gradient(135deg, #d5d7c9, #cfaba2); cursor: zoom-in; }
.gallery-tile img, .gallery-tile video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.gallery-tile:hover img, .gallery-tile:hover video { transform: scale(1.04); }
.gallery-play { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; display: grid; place-items: center; padding-left: 4px; border-radius: 50%; background: rgba(255,253,250,.9); color: var(--ink); font-size: 18px; transform: translate(-50%, -50%); box-shadow: 0 8px 24px rgba(30,23,17,.2); pointer-events: none; }
.gallery-tile-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(180deg, transparent, rgba(25,20,15,.6)); color: #fff; font-size: 12px; font-weight: 600; text-align: left; }
.gallery-empty { grid-column: 1 / -1; padding: 40px; color: var(--muted); text-align: center; }

.lightbox { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(20,17,14,.94); color: #fff; box-shadow: none; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(20,17,14,.6); }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; max-width: min(1200px, calc(100vw - 140px)); max-height: 100vh; margin: 0; padding: 50px 0 24px; }
.lightbox-media img, .lightbox-media video { display: block; max-width: 100%; max-height: calc(100vh - 190px); object-fit: contain; background: #000; }
.lightbox-caption { width: 100%; max-width: 720px; margin-top: 16px; text-align: center; font-size: 13px; line-height: 1.6; color: #e9e3db; }
.lightbox-caption strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 22px; font-weight: 500; color: #fff; }
.lightbox-caption p { margin: 0 0 6px; }
.lightbox-tags { color: #c9d3c4; font-size: 12px; }
.lightbox-counter { display: block; margin-top: 6px; color: #9d958c; font-size: 11px; }
.lightbox-close { position: absolute; top: 14px; right: 18px; z-index: 2; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; font-size: 34px; font-weight: 300; line-height: 1; }
.lightbox-nav { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(20,17,14,.4); color: #fff; font-size: 30px; line-height: 1; transform: translateY(-50%); }
.lightbox-nav:hover { background: rgba(255,255,255,.15); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 850px) {
  .gallery-section { padding-top: 39px; padding-bottom: 70px; }
  .gallery-top { display: block; }
  .gallery-intro { margin-top: 18px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
  .lightbox-figure { max-width: 100vw; padding: 56px 0 16px; }
  .lightbox-caption { padding: 0 16px; }
  .lightbox-nav { top: auto; bottom: 18px; transform: none; width: 46px; height: 46px; }
}
@media (max-width: 850px) {
  .lightbox-figure { padding-bottom: 84px; }
}
.wishlist-filters { margin: -12px 0 24px; }

/* Decorations must never make the page scroll sideways on phones. */
html, body { overflow-x: clip; }

/* Phones: readable small print and finger-sized tap targets */
@media (max-width: 480px) {
  .text-button, .footer-login { min-height: 40px; padding: 10px 2px; }
  .back-home, .logout-button, .admin-link { min-height: 40px; padding: 10px 2px; }
  .countdown-unit span { font-size: 10px; letter-spacing: .06em; }
  .intro-strip-inner > div { font-size: 10px; }
  .gift-number, .gift-status { font-size: 10px; }
  .gift-description { font-size: 11px; }
  .gift-link { width: 36px; height: 36px; }
  .reserve-button { min-height: 44px; font-size: 11px; }
  .event-list a { display: inline-block; padding: 8px 0; }
  .gallery-chip { min-height: 38px; }
}

/* The viewer fills the phone screen and can be swiped */
@media (max-width: 850px) {
  .lightbox-figure { width: 100vw; }
  .lightbox-media { width: 100%; }
  .lightbox-media img, .lightbox-media video { width: 100%; height: auto; }
}

/* Quiz announcement on the guest page */
.quiz-teaser { padding-bottom: 72px; }
.quiz-teaser-card { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px clamp(28px, 6vw, 80px); background: #425046; color: #fff; }
.quiz-teaser-card::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -200px; border: 1px solid rgba(236,239,228,.25); border-radius: 50%; pointer-events: none; }
.quiz-teaser-copy { position: relative; z-index: 1; max-width: 560px; }
.quiz-teaser h2 { margin: 0 0 16px; color: #fff; font-size: clamp(36px, 4.2vw, 56px); }
.quiz-teaser h2 em { color: #eac9c3; }
.quiz-teaser-text { margin: 0; color: #e5e9e1; font-size: 13px; line-height: 1.85; }
.quiz-teaser-status { margin: 14px 0 0; color: #f1d9d4; font-size: 12px; font-weight: 700; }
.quiz-teaser .button { position: relative; z-index: 1; flex: 0 0 auto; }

/* Quiz page */
.quiz-body .site-header .text-button { margin-left: auto; }
.quiz-main { max-width: 760px; padding-top: 56px; padding-bottom: 140px; }
.quiz-intro h1 { margin-bottom: 18px; font-size: clamp(44px, 6vw, 72px); }
.quiz-lead { max-width: 560px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.quiz-deadline { margin: 0; color: var(--sage-deep); font-size: 12px; font-weight: 700; }
.quiz-preview { margin: 14px 0 0; padding: 10px 14px; background: var(--blush-pale); color: #8b514b; font-size: 12px; }
.quiz-loading { display: flex; align-items: center; gap: 12px; padding: 50px 0; color: var(--muted); font-size: 13px; }
.quiz-message { margin-top: 36px; padding: 42px clamp(24px, 5vw, 48px); background: var(--cream); border: 1px solid #e7ddd2; text-align: center; }
.quiz-message h2 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 44px); }
.quiz-message p { max-width: 480px; margin: 0 auto 8px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.quiz-done-icon { width: 46px; height: 46px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; background: var(--blush-pale); color: var(--blush); font-size: 20px; }
.quiz-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.quiz-winners-title { margin-top: 18px !important; color: var(--ink) !important; font-weight: 700; }
.quiz-winners { margin: 6px 0 0; padding: 0; list-style: none; font-family: var(--serif); font-size: 24px; color: var(--blush); }
.quiz-form { margin-top: 36px; }
.quiz-question { margin: 0 0 18px; padding: 28px clamp(20px, 4vw, 34px) 30px; background: var(--cream); border: 1px solid #e7ddd2; }
.quiz-question legend { display: contents; }
.quiz-number { display: block; margin-bottom: 8px; color: var(--sage-deep); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.quiz-text { display: block; margin-bottom: 18px; font-family: var(--serif); font-size: clamp(22px, 3vw, 28px); letter-spacing: -.02em; line-height: 1.2; }
.quiz-question-image { width: 100%; max-height: 380px; object-fit: cover; margin-bottom: 18px; }
.quiz-options { display: grid; gap: 8px; }
.quiz-options.is-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.quiz-option { position: relative; display: block; cursor: pointer; }
.quiz-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quiz-option-body { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; border: 1px solid #d8cdc3; background: #fffefa; font-size: 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
.quiz-option-body::before { content: ""; flex: 0 0 auto; width: 18px; height: 18px; border: 1.5px solid #bdb2a7; border-radius: 50%; transition: border .15s, background .15s; }
.quiz-option:hover .quiz-option-body { border-color: var(--ink); }
.quiz-option input:focus-visible + .quiz-option-body { outline: 3px solid rgba(200, 134, 126, 0.7); outline-offset: 2px; }
.quiz-option input:checked + .quiz-option-body { border-color: var(--sage-deep); background: #f1f4ee; box-shadow: inset 0 0 0 1px var(--sage-deep); }
.quiz-option input:checked + .quiz-option-body::before { border: 5px solid var(--sage-deep); }
.quiz-option.has-image .quiz-option-body { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
.quiz-option.has-image .quiz-option-body::before { position: absolute; z-index: 1; top: 10px; left: 10px; background: #fff; }
.quiz-option.has-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.quiz-option.has-image .quiz-option-text { padding: 10px 12px; font-size: 13px; }
.quiz-bar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; padding: 14px 0; background: linear-gradient(180deg, rgba(247,243,238,0), var(--paper) 30%); }
.quiz-bar span { color: var(--muted); font-size: 12px; font-weight: 700; }
.quiz-bar span.is-complete { color: var(--sage-deep); }

@media (max-width: 850px) {
  .quiz-teaser { padding-bottom: 56px; }
  .quiz-teaser-card { flex-direction: column; align-items: flex-start; gap: 26px; padding: 38px 26px; }
}
@media (max-width: 480px) {
  .quiz-main { padding-top: 36px; }
  .quiz-options.is-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .quiz-bar .button { padding-inline: 16px; }
}

/* Announcements */
.news-section { padding-bottom: 64px; }
.news-top { margin-bottom: 22px; }
.news-top h2 { margin: 0; font-size: clamp(38px, 4.2vw, 56px); }
.news-list { display: grid; gap: 14px; max-width: 820px; }
.news-card { position: relative; padding: 24px clamp(20px, 3.5vw, 32px) 26px; background: var(--cream); border: 1px solid #e7ddd2; }
.news-card.is-pinned { border-color: #d6c2a8; background: #fffaf3; }
.news-card.is-new::before { content: "новое"; position: absolute; top: 18px; right: 18px; padding: 3px 9px; border-radius: 30px; background: var(--blush); color: #fff; font-size: 10px; font-weight: 700; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--muted); font-size: 11px; }
.news-pin { padding: 2px 8px; border-radius: 30px; background: #efe2cc; color: #7a5b2e; font-size: 10px; font-weight: 700; }
.news-card h3 { margin: 0 0 10px; padding-right: 60px; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 28px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.news-body { margin: 0; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.news-body a { color: var(--blush); border-bottom: 1px solid currentColor; }
.news-photos { display: grid; gap: 6px; margin-top: 16px; }
.news-photos.count-2 { grid-template-columns: 1fr 1fr; }
.news-photos.count-3 { grid-template-columns: repeat(3, 1fr); }
.news-photo { padding: 0; border: 0; background: var(--paper-deep); cursor: zoom-in; overflow: hidden; }
.news-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-photos.count-1 .news-photo img { max-height: 460px; }
.news-photos:not(.count-1) .news-photo { aspect-ratio: 1; }
.news-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.news-links .button { min-height: 42px; }
.nav-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 4px; padding: 0 5px; border-radius: 9px; background: var(--blush); color: #fff; font-size: 10px; font-weight: 700; vertical-align: 1px; }
@media (max-width: 480px) {
  .news-photos.count-3 { grid-template-columns: 1fr 1fr; }
  .news-section { padding-bottom: 48px; }
}
