/* Web pro hosty - <adresa>.wedweb.cz. Jedna sablona: jednoducha, prehledna, elegantni, mobile-first. */

:root {
    --bg: #fbf9f6;
    --bg-alt: #f4efe8;
    --card: #ffffff;
    --text: #2d2a26;
    --muted: #7d766c;
    --line: #e6ddd1;
    --accent: #a4865a;
    --accent-dark: #86693f;
    --accent-soft: #efe6d8;
    --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --sans: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --radius: 14px;
    --nav-h: 64px;
    --adminbar-h: 0px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--accent-dark);
}

/* Cormorant ma jen "starodobe" cislice (ruzne vysoke) - casy a odpocet proto bezpatkovym pismem */
.countdown b, .tl-time {
    font-family: var(--sans) !important;
    font-weight: 300 !important;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.15;
    margin: 0;
}

p {
    margin: 0 0 1em 0;
}

.msi {
    font-family: "Material Symbols Outlined";
    font-style: normal;
    font-weight: normal;
    font-size: 22px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

.amp {
    display: inline-block;
    color: var(--accent);
    line-height: 1;
}

.amp svg {
    display: block;
    width: .55em;
    height: .55em;
    fill: currentColor;
    transform: translateY(.04em);
}

/* ornament pod nadpisem */
.orn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--accent);
    margin: 14px auto 34px auto;
}

.orn span {
    width: 48px;
    height: 1px;
    background: currentColor;
    opacity: .5;
}

.orn .msi {
    font-size: 16px;
}

/* tlacitka a formulare */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
    border-radius: 40px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}

.btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.btn .msi {
    font-size: 19px;
}

.btn-outline {
    background: transparent;
    color: var(--accent-dark);
    padding: 9px 20px;
    font-size: 13px;
}

.btn-outline:hover {
    background: var(--accent);
    color: #fff;
}

.field {
    display: block;
    text-align: left;
    margin-bottom: 18px;
}

.field > span {
    display: block;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.field input {
    width: 100%;
    padding: 13px 16px;
    font: inherit;
    font-weight: 400;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .2s, box-shadow .2s;
}

.field input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(164, 134, 90, .15);
}

.form-error {
    color: #b3402e;
    font-size: 15px;
    margin: -6px 0 16px 0;
}

/* ------------------------------------------------------------------ */
/* jednoduche stranky (heslo, v priprave, nenalezeno)                  */
/* ------------------------------------------------------------------ */

.center-page {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background:
        radial-gradient(ellipse at top, rgba(164,134,90,.10), transparent 60%),
        var(--bg);
}

.center-card {
    width: 100%;
    max-width: 440px;
    text-align: center;
    position: relative;
    background: var(--card);
    border-radius: var(--radius);
    padding: 44px 32px 36px 32px;
    box-shadow: 0 20px 60px rgba(80, 60, 30, .08);
}

.center-card h1 {
    font-size: 38px;
    margin-bottom: 6px;
}

.center-card .names {
    font-size: 44px;
}

.center-card .orn {
    margin: 18px auto 22px auto;
}

.center-card > p {
    color: var(--muted);
}

.kicker {
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.date-line {
    color: var(--muted);
    margin: 0;
}

.access-form {
    margin-top: 24px;
}

.access-form .btn {
    width: 100%;
}


.center-page .footer-brand {
    margin-top: 24px;
}

/* ------------------------------------------------------------------ */
/* lista spravce (nahled)                                              */
/* ------------------------------------------------------------------ */

.has-adminbar {
    --adminbar-h: 40px;
}

.adminbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--adminbar-h);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    background: #1f2430;
    color: #d7dae0;
    font-size: 13px;
    line-height: 1.3;
}

.adminbar span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adminbar a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 400;
}

.adminbar .msi {
    font-size: 17px;
}

/* ------------------------------------------------------------------ */
/* navigace                                                            */
/* ------------------------------------------------------------------ */

.topnav {
    position: fixed;
    top: var(--adminbar-h);
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(20px, env(safe-area-inset-left));
    transition: background .3s, box-shadow .3s, color .3s;
    color: var(--text);
}

.has-hero-photo .topnav:not(.scrolled):not(.open) {
    color: #fff;
}

.topnav.scrolled {
    background: rgba(251, 249, 246, .94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
}

.topnav-brand {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    letter-spacing: .02em;
}

.topnav-brand .amp {
    margin: 0 3px;
}

.has-hero-photo .topnav:not(.scrolled):not(.open) .amp {
    color: #fff;
}

.topnav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.topnav-links a {
    color: inherit;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: .85;
    transition: opacity .2s;
}

.topnav-links a:hover {
    opacity: 1;
}

/* Prepinac jazyka: vlajka aktualniho jazyka, po kliknuti nabidka vlajek (lang_menu() v inc/wedding.php) */
.ww-flag {
    display: inline-block;
    flex: 0 0 auto;
    width: 22px;
    height: 15px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
}

.ww-langmenu {
    position: relative;
}

.ww-langmenu > summary {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    list-style: none;
}

.ww-langmenu > summary::-webkit-details-marker {
    display: none;
}

.ww-langmenu-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: .7;
}

.ww-langmenu-list {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 50;
    min-width: 160px;
    padding: 6px;
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(45, 42, 38, .14);
    text-align: left;
}

.ww-langmenu-list a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-family: var(--sans) !important;
    font-size: 15px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--text) !important;
    opacity: 1 !important;
}

.ww-langmenu-list a:hover {
    background: var(--bg-alt);
}

.ww-langmenu-list a.is-current {
    background: var(--accent-soft);
    font-weight: 500;
}

/* na strance s heslem vpravo nahore v karte */
.ww-langmenu-card {
    position: absolute;
    top: 14px;
    right: 14px;
}


.topnav-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    padding: 12px 10px;
    flex-direction: column;
    justify-content: space-between;
}

.topnav-burger span {
    display: block;
    height: 1.5px;
    background: currentColor;
    transition: transform .25s, opacity .25s;
}

/* rozbalovaci menu pres celou obrazovku - kdyz se polozky nevejdou do radku. Tridu nav-compact na <html>
   nastavuje site.js podle skutecne sirky polozek (uzky displej uz skript v hlavicce stranky, at menu neproblikne) */
.nav-compact .topnav-burger {
        display: flex;
        position: relative;
        z-index: 2;
    }

.nav-compact .topnav-links {
        position: fixed;
        inset: calc(var(--adminbar-h)) 0 0 0;
        flex-direction: column;
        justify-content: center;
        gap: 22px;
        background: var(--bg);
        color: var(--text);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s, visibility .25s;
        padding: 80px 24px 40px 24px;
        overflow-y: auto;
    }

.nav-compact .topnav-links a {
        font-family: var(--serif);
        font-size: 28px;
        text-transform: none;
        letter-spacing: 0;
    }

.nav-compact .topnav-links .topnav-lang {
        margin-top: 10px;
    }

/* v rozbalenem menu na mobilu: nabidka jazyku nad vlajkou na stredu (vlajka je posledni polozka dole) */
.nav-compact .topnav-links .topnav-lang .ww-langmenu-list {
        top: auto;
        bottom: calc(100% + 6px);
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

.nav-compact .topnav.open {
        color: var(--text);
    }

.nav-compact .topnav.open .topnav-links {
        opacity: 1;
        visibility: visible;
    }

.nav-compact .topnav.open .topnav-burger span:nth-child(1) { transform: translateY(9.25px) rotate(45deg); }

.nav-compact .topnav.open .topnav-burger span:nth-child(2) { opacity: 0; }

.nav-compact .topnav.open .topnav-burger span:nth-child(3) { transform: translateY(-9.25px) rotate(-45deg); }

.nav-compact body.nav-open {
        overflow: hidden;
    }

/* ------------------------------------------------------------------ */
/* uvod (hero)                                                         */
/* ------------------------------------------------------------------ */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + var(--adminbar-h) + 30px) 20px 90px 20px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(164,134,90,.14), transparent 65%),
        var(--bg);
}

.hero-photo {
    color: #fff;
    background: #2d2a26;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: hero-zoom 18s ease-out both;
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,15,10,.35) 0%, rgba(20,15,10,.15) 40%, rgba(20,15,10,.55) 100%);
}

@keyframes hero-zoom {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fade-up 1.1s ease-out both .15s;
}

.hero-sub {
    font-size: 14px;
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-bottom: 18px;
    opacity: .9;
}

.hero-names {
    font-size: clamp(54px, 12vw, 120px);
    font-weight: 400;
    line-height: 1.02;
    margin-bottom: 22px;
}

.hero-surname {
    margin: -12px 0 22px;
    font-family: var(--serif);
    font-size: clamp(22px, 4vw, 34px);
    font-style: italic;
    letter-spacing: .04em;
    opacity: .85;
}

.surname {
    margin: -6px 0 10px;
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
    opacity: .8;
}

.footer-surname {
    margin: -2px 0 8px;
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    opacity: .8;
}

.hero-photo .hero-names .amp {
    color: inherit;
    opacity: .85;
}

.hero-meta {
    font-size: 15px;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .9;
    white-space: pre-wrap;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 34px;
}

.countdown > div {
    min-width: 74px;
    padding: 12px 6px 10px 6px;
    border: 1px solid rgba(164,134,90,.35);
    border-radius: 12px;
    background: rgba(255,255,255,.55);
}

.hero-photo .countdown > div {
    border-color: rgba(255,255,255,.35);
    background: rgba(255,255,255,.1);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.countdown b {
    display: block;
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 500;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.countdown span {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .8;
}

.countdown.done {
    font-family: var(--serif);
    font-size: 30px;
    font-style: italic;
}

.hero-scroll {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: inherit;
    text-decoration: none;
    opacity: .75;
    animation: bob 2.2s ease-in-out infinite;
}

.hero-scroll .msi {
    font-size: 34px;
}

/* uvod s fotkou: fotka s jmeny vlevo dole, pod ni pruh s odpoctem (do fotky nezasahuje) */
.hero.hero-photo {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    text-align: left;
    color: var(--text);
    background: var(--bg);
}

.hero-photo::after {
    content: none;
}

.hero-media {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: flex-end;
    min-height: 62svh;
    padding: calc(var(--nav-h) + var(--adminbar-h) + 30px) clamp(22px, 5vw, 72px) clamp(36px, 7vh, 72px);
    overflow: hidden;
    color: #fff;
    background: #2d2a26;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(20,15,10,.32) 0%, rgba(20,15,10,0) 30%, rgba(20,15,10,0) 50%, rgba(20,15,10,.62) 100%),
        linear-gradient(90deg, rgba(20,15,10,.35) 0%, rgba(20,15,10,0) 60%);
}

.hero-photo .hero-inner {
    width: fit-content;
    max-width: min(780px, 100%);
    text-align: left;
}

.hero-photo .hero-names {
    font-size: clamp(50px, 9vw, 108px);
    margin-bottom: 14px;
    text-shadow: 0 2px 24px rgba(0,0,0,.25);
}

.hero-photo .hero-surname {
    margin: -4px 0 16px;
}

.hero-photo .hero-meta {
    white-space: normal;
}

.hero-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    flex-wrap: wrap;
    padding: 22px clamp(22px, 5vw, 72px);
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
}

.hero-band-label {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(22px, 2.6vw, 30px);
    font-style: italic;
    color: var(--accent-dark);
}

.hero-band .countdown {
    margin-top: 0;
}

.hero-band .countdown > div {
    text-align: center;
    border-color: rgba(164,134,90,.35);
    background: var(--card);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* odpocet ve fotce vpravo dole - skleneny efekt (zapne site.js, kdyz se vedle jmen vejde) */
.hero-photo.cd-overlay .hero-band {
    position: absolute;
    right: clamp(22px, 5vw, 72px);
    bottom: clamp(36px, 7vh, 72px);
    z-index: 2;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    padding: 0;
    background: none;
    border: 0;
    color: #fff;
}

.hero-photo.cd-overlay .hero-band-label {
    color: #fff;
    font-size: clamp(20px, 2vw, 26px);
    opacity: .92;
    text-shadow: 0 1px 12px rgba(0,0,0,.3);
}

.hero-photo.cd-overlay .hero-band .countdown > div {
    border-color: rgba(255,255,255,.35);
    background: rgba(255,255,255,.1);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

@media (max-width: 600px) {
    .hero-media {
        min-height: 66svh;
        padding-bottom: 34px;
    }

    .hero-band {
        flex-direction: column;
        justify-content: center;
        padding: 18px 16px 20px;
        text-align: center;
    }

    .hero-band .countdown {
        width: 100%;
        justify-content: center;
    }
}

@keyframes bob {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 6px); }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
    .countdown {
        gap: 7px;
    }

    .countdown > div {
        min-width: 0;
        flex: 1;
        max-width: 78px;
    }

    .countdown b {
        font-size: 28px;
    }

    .countdown span {
        font-size: 9.5px;
        letter-spacing: .08em;
    }

    .hero-meta {
        font-size: 13px;
    }
}

/* ------------------------------------------------------------------ */
/* sekce                                                               */
/* ------------------------------------------------------------------ */

.sec {
    padding: 96px 20px;
    scroll-margin-top: calc(var(--nav-h) + var(--adminbar-h) - 1px);
}

.sec-alt {
    background: var(--bg-alt);
}

.sec-inner {
    max-width: 820px;
    margin: 0 auto;
}

.sec-title {
    text-align: center;
    font-size: clamp(38px, 7vw, 54px);
}

.sec-intro {
    padding: 80px 20px 40px 20px;
    text-align: center;
}

.sec-intro .rich {
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1.55;
    max-width: 680px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .sec {
        padding: 72px 18px;
    }

    .sec-intro .rich {
        font-size: 21px;
    }
}

/* text z editoru */
.rich {
    max-width: 680px;
    margin: 0 auto 1.4em auto;
}

.rich:last-child {
    margin-bottom: 0;
}

.rich h2, .rich h3 {
    margin: 1.3em 0 .5em 0;
}

.rich h2 { font-size: 30px; }
.rich h3 { font-size: 24px; }

.rich ul, .rich ol {
    padding-left: 1.3em;
}

.rich li[data-list="bullet"] {
    list-style-type: disc;
}

.rich blockquote {
    margin: 1.2em 0;
    padding: 4px 0 4px 20px;
    border-left: 2px solid var(--accent);
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
}

.rich > :first-child { margin-top: 0; }

/* text + fotka */
.text-block.with-photo {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 48px;
    align-items: center;
}

.text-block.with-photo .rich {
    margin: 0;
}

.photo {
    margin: 0;
}

.photo img {
    width: 100%;
    border-radius: var(--radius);
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

@media (max-width: 760px) {
    .text-block.with-photo {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .photo img {
        aspect-ratio: 4 / 3;
    }
}

/* program - casova osa */
.timeline {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 620px;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 112px;
    width: 1px;
    background: var(--line);
}

.timeline li {
    display: grid;
    grid-template-columns: 88px 48px 1fr;
    gap: 0 0;
    align-items: start;
    position: relative;
    padding-bottom: 30px;
}

.timeline li:last-child {
    padding-bottom: 0;
}

.tl-time {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    text-align: right;
    padding-right: 16px;
    line-height: 48px;
    font-variant-numeric: tabular-nums;
}

.tl-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--accent);
    display: grid;
    place-content: center;
    position: relative;
    z-index: 1;
}

.sec-alt .tl-dot {
    background: var(--bg-alt);
}

.tl-body {
    padding: 9px 0 0 20px;
}

.tl-body h3 {
    font-size: 26px;
    margin-bottom: 4px;
}

.tl-body p {
    color: var(--muted);
    margin: 0;
}

@media (max-width: 520px) {
    .timeline::before {
        left: 22px;
    }

    .timeline li {
        grid-template-columns: 44px 1fr;
    }

    .tl-time {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
        padding: 0 0 0 16px;
        line-height: 1;
        font-size: 20px;
        color: var(--accent-dark);
        margin-top: 2px;
    }

    .tl-dot {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 44px;
        height: 44px;
    }

    .tl-body {
        grid-column: 2;
        padding: 4px 0 0 16px;
    }

    .tl-body h3 {
        font-size: 23px;
    }
}

/* karty (mista, ubytovani) */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.cards-single {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(80, 60, 30, .05), 0 12px 32px rgba(80, 60, 30, .06);
    display: flex;
    flex-direction: column;
}

.card-photo {
    margin: 0;
}

.card-photo img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.card-body {
    padding: 24px 26px 26px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-body h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.card-body p {
    margin-bottom: 8px;
}

.card-body .btn {
    margin-top: auto;
}

.card-body p + .btn {
    margin-top: 14px;
}

.chip {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: var(--accent-soft);
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 12px !important;
}

.meta {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--muted);
    margin-bottom: 6px !important;
}

.meta .msi {
    font-size: 19px;
    color: var(--accent);
    margin-top: 4px;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 6px 0 0 0 !important;
}

.links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 400;
}

.links .msi {
    font-size: 18px;
}

/* dress code - paleta */
.palette {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.palette span {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 6px 16px rgba(80,60,30,.12);
}

/* FAQ */
.faq {
    max-width: 680px;
    margin: 0 auto;
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq details:first-child {
    border-top: 1px solid var(--line);
}

.faq summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 2px;
    cursor: pointer;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 500;
    line-height: 1.3;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary .msi {
    color: var(--accent);
    transition: transform .25s;
    flex-shrink: 0;
}

.faq details[open] summary .msi {
    transform: rotate(45deg);
}

.faq details p {
    color: var(--muted);
    padding: 0 2px 22px 2px;
    margin: 0;
}

/* kontakty */
.people {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 34px 24px;
    text-align: center;
    margin-top: 10px;
}

.person .avatar {
    width: 112px;
    height: 112px;
    margin: 0 auto 16px auto;
    border-radius: 50%;
    overflow: hidden;
    background: var(--accent-soft);
    color: var(--accent-dark);
    display: grid;
    place-content: center;
    font-family: var(--serif);
    font-size: 36px;
}

.person .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person h3 {
    font-size: 26px;
}

.person .role {
    color: var(--accent-dark);
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin: 4px 0 8px 0;
}

.person .links {
    flex-direction: column;
    align-items: center;
}

/* RSVP */
.notice {
    max-width: 560px;
    margin: 30px auto 0 auto;
    text-align: center;
    padding: 26px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}

.notice p:last-child {
    margin: 0;
    color: var(--muted);
}

/* paticka */
.site-footer {
    text-align: center;
    padding: 72px 20px calc(48px + env(safe-area-inset-bottom)) 20px;
    background: #2d2a26;
    color: #e9e2d6;
}

.footer-names {
    font-family: var(--serif);
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 6px;
}

.footer-date {
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: 13px;
    opacity: .7;
}

/* znacka Svatbooku pod obsahem (site_brand_footer): logo, motto kurzivou, linka, kdo web pripravil */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 40px auto 0;
    text-align: center;
    color: var(--muted);
}

.footer-brand p {
    margin: 0;
}

.footer-motto {
    font-family: var(--serif);
    font-size: 17px;
    font-style: italic;
}

.footer-line {
    width: 44px;
    height: 1px;
    margin: 8px 0 4px;
    background: var(--accent);
    opacity: .6;
}

.footer-made {
    font-size: 12.5px;
    line-height: 1.7;
    letter-spacing: .02em;
}

.footer-made > span:not(.footer-sep) {
    display: inline-block;
}

.footer-made a {
    text-decoration: none;
    border-bottom: 1px solid rgba(164, 134, 90, .5);
}

.footer-made a:hover {
    color: var(--accent-dark);
}

.footer-sep {
    margin: 0 4px;
    color: var(--accent);
}

/* uzky displej: obe casti pod sebe, bez tecky */
@media (max-width: 560px) {
    .footer-made > span:not(.footer-sep) { display: block; }
    .footer-sep { display: none; }
}

.site-footer .footer-brand {
    color: rgba(233, 226, 214, .7);
}

.site-footer .footer-brand a {
    color: inherit;
}

.site-footer .footer-line {
    background: #d4b98d;
    opacity: .5;
}

.site-footer .footer-made a:hover {
    color: #e9d5b0;
}

.center-page .footer-brand {
    color: var(--muted);
}

.center-page .footer-brand a {
    color: inherit;
}

/* jemne objeveni sekci pri scrollu (jen s JS) */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s ease, transform .9s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-img, .hero-inner, .hero-scroll { animation: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------------ */
/* potvrzeni ucasti (RSVP) - formular sestavuje site.js                */
/* ------------------------------------------------------------------ */

.rsvp {
    max-width: 640px;
    margin: 0 auto;
}

.rsvp-deadline {
    text-align: center;
    font-weight: 400;
    color: var(--accent-dark);
    margin: 0 0 30px 0;
}

.rsvp-note {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 24px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    color: var(--muted);
}

.rsvp-for {
    text-align: center;
    color: var(--muted);
    margin-bottom: 26px;
}

.rsvp-for strong {
    display: block;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 500;
    color: var(--text);
    margin-top: 2px;
}

.rsvp-h {
    font-size: 26px;
    margin: 34px 0 14px 0;
}

.rsvp-form > .rsvp-h:first-child,
.rsvp-for + .rsvp-h {
    margin-top: 0;
}

.rsvp-person {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    margin-bottom: 14px;
    transition: border-color .2s;
}

.rsvp-person.is-no {
    background: transparent;
}

.rsvp-person-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.rsvp-person-name {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2;
}

.rsvp-badge {
    flex: none;
    padding: 3px 10px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.rsvp-tag {
    margin: -8px 0 12px 0;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

/* textova pole formulare */
.rsvp input[type=text],
.rsvp input[type=email],
.rsvp input[type=number],
.rsvp textarea,
.rsvp select {
    width: 100%;
    padding: 12px 15px;
    font: inherit;
    font-weight: 400;
    font-size: 16px;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .2s, box-shadow .2s;
}

.rsvp textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.5;
}

.rsvp select {
    padding-right: 40px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a4865a' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.rsvp input:focus,
.rsvp textarea:focus,
.rsvp select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(164, 134, 90, .15);
}

.rsvp input::placeholder {
    color: #b9b1a6;
}

.rsvp .rsvp-name {
    flex: 1;
    min-width: 0;
}

.rsvp .rsvp-type {
    width: auto;
    flex-shrink: 0;
}

.rsvp .rsvp-number {
    max-width: 140px;
}

.rsvp-remove {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    cursor: pointer;
    display: grid;
    place-content: center;
}

.rsvp-remove:hover {
    color: #b3402e;
    border-color: #e3c2bb;
}

/* volby jako "pilulky" (prijde/neprijde, ano/ne, jedna moznost) */
.rsvp-pills {
    display: flex;
    gap: 8px;
}

.rsvp-pills-wrap {
    flex-wrap: wrap;
}

.rsvp-pill,
.rsvp-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    min-height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    border-radius: 40px;
    font: inherit;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}

.rsvp-person > .rsvp-pills .rsvp-pill {
    flex: 1;
}

.rsvp-pill .msi:empty {
    display: none;
}

.rsvp-pill .msi,
.rsvp-chip .msi {
    font-size: 19px;
}

.rsvp-pill:hover,
.rsvp-chip:hover {
    border-color: var(--accent);
}

.rsvp-pill.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.rsvp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rsvp-chip.active {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent-dark);
}

.rsvp-pill:focus-visible,
.rsvp-chip:focus-visible,
.rsvp-remove:focus-visible,
.rsvp-add:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(164, 134, 90, .25);
}

/* otazky */
.rsvp-questions {
    margin-top: 18px;
    padding-top: 4px;
}

.rsvp-person .rsvp-questions {
    border-top: 1px dashed var(--line);
}

.rsvp-field {
    display: block;
    margin-top: 16px;
}

.rsvp-label {
    display: block;
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 7px;
}

.rsvp-label .req {
    color: var(--accent);
}

.rsvp-help {
    display: block;
    color: var(--muted);
    font-size: 14px;
    margin-top: 6px;
    line-height: 1.45;
}

.rsvp-form > .rsvp-field {
    margin-top: 30px;
}

.rsvp-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px dashed var(--accent);
    background: transparent;
    color: var(--accent-dark);
    border-radius: 40px;
    padding: 10px 20px;
    font: inherit;
    font-size: 15px;
    cursor: pointer;
}

.rsvp-add small {
    color: var(--muted);
    font-size: 13px;
}

.rsvp-add:hover {
    background: var(--accent-soft);
}

.rsvp-error {
    margin: 22px 0 0 0;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fbeceb;
    color: #9c3424;
    font-weight: 400;
}

.rsvp-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
    margin-top: 30px;
}

.rsvp-actions .btn[type=submit] {
    min-width: 240px;
}

.rsvp-actions .btn:disabled {
    opacity: .6;
    cursor: default;
}

.rsvp-link {
    border: none;
    background: none;
    padding: 6px;
    font: inherit;
    font-size: 15px;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

/* podekovani po odeslani */
.rsvp-thanks {
    text-align: center;
    background: var(--card);
    border-radius: var(--radius);
    padding: 34px 28px 30px 28px;
    box-shadow: 0 1px 2px rgba(80, 60, 30, .05), 0 12px 32px rgba(80, 60, 30, .06);
    margin-bottom: 18px;
}

.rsvp-thanks-title {
    font-family: var(--serif);
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.rsvp-summary {
    list-style: none;
    padding: 0;
    margin: 20px auto 0 auto;
    max-width: 360px;
    text-align: left;
}

.rsvp-summary li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.rsvp-summary li:last-child {
    border-bottom: none;
}

.rsvp-summary li span {
    flex: 1;
    font-weight: 400;
}

.rsvp-summary li small {
    color: var(--muted);
    font-size: 13px;
}

.rsvp-summary li .msi {
    font-size: 20px;
    color: var(--accent);
}

.rsvp-summary li.no .msi,
.rsvp-summary li.no span {
    color: var(--muted);
}

@media (max-width: 520px) {
    .rsvp-person {
        padding: 18px 16px;
    }

    .rsvp-person-head {
        flex-wrap: wrap;
    }

    .rsvp .rsvp-name {
        flex-basis: calc(100% - 50px);
    }

    /* na mobilu: jmeno + odebrat na prvnim radku, dospely/dite pod tim */
    .rsvp-remove {
        order: 2;
    }

    .rsvp .rsvp-type {
        order: 3;
    }

    .rsvp-actions .btn[type=submit] {
        width: 100%;
        min-width: 0;
    }
}

/* nahled formulare v administraci (web/admin/rsvp_preview.php v iframe) */
.page-preview .preview-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    text-align: center;
    font-size: 12px;
    letter-spacing: .06em;
    padding: 6px 12px;
    background: #1f2430;
    color: #d7dae0;
}

.page-preview .sec {
    padding: 44px 16px 60px 16px;
}

.center-card > p.access-hint {
    margin-top: 8px;
    font-size: 15px;
}

/* Sekce Pozvanka: karta osobniho pozvani nad formularem (jen host s odkazem z pozvanky) */
.invite-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 36px 28px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
}

.invite-card .invite-for {
    margin: 0;
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.invite-card .invite-name {
    margin: 6px 0 18px 0;
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1.2;
}

.invite-card .invite-kind {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px 0;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 500;
}

.invite-card .invite-kind .msi {
    font-size: 20px;
}

.invite-card .rich {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.55;
}

.invite-card + .rsvp-deadline,
.invite-card + .rsvp {
    margin-top: 36px;
}

@media (max-width: 600px) {
    .invite-card {
        padding: 28px 18px;
    }

    .invite-card .invite-name {
        font-size: 28px;
    }

    .invite-card .rich {
        font-size: 20px;
    }
}

.page-preview .preview-bar small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    letter-spacing: 0;
    opacity: .75;
}

/* ------------------------------------------------------------------ */
/* Pozvanka: stav odpovedi ve strance + formular v okne nad strankou   */
/* (na pocitaci okno uprostred, na mobilu pres celou obrazovku)        */
/* ------------------------------------------------------------------ */
.rsvp-cta {
    max-width: 640px;
    margin: 28px auto 0 auto;
    text-align: center;
}

.rsvp-cta-text {
    margin: 0 0 16px 0;
    color: var(--muted);
}

.rsvp-cta-done {
    padding: 22px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}

.rsvp-cta-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: var(--serif);
    font-size: 24px;
}

.rsvp-cta-title .msi {
    color: #3f8f5f;
}

.rsvp-cta-done .rsvp-summary {
    margin-bottom: 18px;
}

html.rsvp-open,
html.rsvp-open body {
    overflow: hidden;
}

.rsvp-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    background: rgba(35, 30, 24, .45);
    overflow-y: auto;
}

.rsvp-overlay[hidden] {
    display: none;
}

.rsvp-dialog {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 760px;
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(35, 30, 24, .25);
    overflow: hidden;
}

/* lista okna formulare: Zpet vlevo, "Pozvanka pro ..." presne na stred (oba v jedne bunce, nadpis s okraji na sirku tlacitka) */
.rsvp-dialog-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--card);
}

.rsvp-back {
    grid-area: 1 / 1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 8px 14px 8px 10px;
    border: 1px solid var(--line);
    border-radius: 40px;
    background: var(--card);
    color: var(--text);
    font-family: var(--sans);
    font-size: 14px;
    cursor: pointer;
}

.rsvp-back:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
}

.rsvp-back .msi {
    font-size: 20px;
}

.rsvp-dialog-title {
    grid-area: 1 / 1;
    justify-self: center;
    min-width: 0;
    padding: 0 96px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
}

.rsvp-dialog-body {
    flex: 1;
    overflow-y: auto;
    padding: 28px 28px 36px 28px;
    -webkit-overflow-scrolling: touch;
}

.rsvp-dialog-body .rsvp-actions {
    flex-wrap: wrap;
}

@media (max-width: 700px) {
    .rsvp-overlay {
        padding: 0;
        background: var(--bg);
    }

    .rsvp-dialog {
        max-width: none;
        height: 100%;
        max-height: none;
        border-radius: 0;
        box-shadow: none;
    }

    .rsvp-dialog-bar {
        padding: max(10px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 10px max(12px, env(safe-area-inset-left, 0px));
    }

    .rsvp-dialog-title {
        padding: 0 88px;
        font-size: 17px;
    }

    .rsvp-dialog-body {
        padding: 22px max(16px, env(safe-area-inset-right, 0px)) max(30px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    }
}

@media (prefers-reduced-motion: no-preference) {
    .rsvp-overlay:not([hidden]) .rsvp-dialog {
        animation: rsvp-in .22s ease-out;
    }

    @keyframes rsvp-in {
        from { opacity: 0; transform: translateY(14px); }
        to { opacity: 1; transform: none; }
    }
}

/* stav odpovedi a tlacitko "Vyplnit pozvanku" uvnitr karty pozvani */
.invite-reply {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.invite-reply .rsvp-deadline {
    margin: 0 0 14px 0;
}

.invite-card .rsvp-cta {
    margin: 0;
}

.invite-card .rsvp-cta-done {
    padding: 0;
    border: 0;
    background: none;
}

.invite-card .rsvp-cta-title {
    font-size: 22px;
}

/* zarovnani textu z editoru (Quill) */
.ql-align-center { text-align: center; }
.ql-align-right { text-align: right; }
.ql-align-justify { text-align: justify; }

/* ------------------------------------------------------------------ */
/* fotoalbum hostu: sekce na webu + stranka /album                     */
/* ------------------------------------------------------------------ */

.btn-ghost {
    background: transparent;
    color: var(--accent-dark);
}

.btn-ghost:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.album-sec-lead {
    max-width: 640px;
    margin: 0 auto 1.4em auto;
    text-align: center;
    color: var(--muted);
}

.album-sec-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 960px;
    margin: 0 auto 28px auto;
}

.album-sec-tile {
    display: block;
    width: calc(20% - 6.4px);
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    background: var(--bg-alt);
}

.album-sec-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.album-sec-tile:hover img {
    transform: scale(1.05);
}

/* posledni dlazdice: Cele album */
.album-sec-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(164,134,90,.35);
    background: var(--card);
    color: var(--accent-dark);
    text-align: center;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.album-sec-more .msi {
    font-size: 30px;
}

.album-sec-more strong {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    text-wrap: balance;
}

.album-sec-more span {
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.album-sec-more:hover {
    background: var(--accent);
    color: #fff;
}

.album-sec-more:hover span {
    color: rgba(255,255,255,.85);
}

@media (max-width: 600px) {
    .album-sec-more .msi {
        font-size: 22px;
    }

    .album-sec-more strong {
        font-size: 14px;
    }

    .album-sec-more span {
        display: none;
    }
}

.album-sec-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.album-sec-upload {
    margin-bottom: 30px;
}

.album-sec-grid:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .album-sec-grid {
        gap: 5px;
    }

    .album-sec-tile {
        width: calc(25% - 3.75px);
        border-radius: 6px;
    }
}

/* stranka alba */
.page-album {
    background: var(--bg);
}

.album-top {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px clamp(16px, 4vw, 40px);
    background: rgba(251, 249, 246, .92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.album-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-size: 14px;
    letter-spacing: .04em;
    text-decoration: none;
}

.album-back .msi {
    font-size: 20px;
}

.album-brand {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--text);
    text-decoration: none;
}

.album-brand .amp {
    margin: 0 3px;
}

.album-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px clamp(12px, 3vw, 32px) 80px;
}

.album-head {
    text-align: center;
    margin-bottom: 26px;
}

.album-head h1 {
    font-size: clamp(40px, 7vw, 64px);
    font-weight: 400;
    line-height: 1.05;
}

.album-head .kicker {
    margin-bottom: 8px;
}

.album-lead {
    max-width: 560px;
    margin: 0 auto 22px auto;
    color: var(--muted);
}

.album-upload-btn {
    position: relative;
    padding: 15px 30px;
}

.album-upload-btn input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.album-upload-btn:focus-within {
    outline: 2px solid var(--accent-dark);
    outline-offset: 3px;
}

.album-upload-btn.is-pulse {
    animation: album-pulse 1.4s ease-in-out 3;
}

@keyframes album-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(164,134,90,.45); }
    50% { box-shadow: 0 0 0 12px rgba(164,134,90,0); }
}

.album-who {
    margin-top: 12px;
    font-size: 14px;
    color: var(--muted);
}

.album-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent-dark);
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

/* fronta nahravani */
.album-queue {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 560px;
    margin: 0 auto 18px auto;
}

.album-q-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 8px 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    font-size: 14px;
}

.album-q-thumb {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bg-alt);
    color: var(--muted);
}

.album-q-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-q-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.album-q-name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.album-q-bar {
    height: 4px;
    border-radius: 4px;
    background: var(--bg-alt);
    overflow: hidden;
}

.album-q-bar span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--accent);
    transition: width .2s;
}

.album-q-status {
    font-size: 12px;
    color: var(--muted);
}

.album-q-item.is-done .album-q-status {
    color: #2f8f5b;
}

.album-q-item.is-error {
    border-color: #e9c1c1;
    background: #fdf3f3;
}

.album-q-item.is-error .album-q-status,
.album-q-item.is-error > .msi {
    color: #b3261e;
}

.album-q-item.is-error .album-q-bar {
    display: none;
}

/* mrizka fotek */
.album-count {
    margin-bottom: 10px;
    text-align: center;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}

.album-tile {
    position: relative;
    display: block;
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    background: var(--bg-alt);
    cursor: zoom-in;
}

.album-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.album-tile:hover img {
    transform: scale(1.04);
}

.album-tile-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 10px 7px;
    background: linear-gradient(transparent, rgba(0,0,0,.55));
    color: #fff;
    font-size: 12px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transition: opacity .2s;
}

.album-tile:hover .album-tile-name,
.album-tile:focus-visible .album-tile-name {
    opacity: 1;
}

.album-empty {
    padding: 50px 20px;
    text-align: center;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
}

@media (max-width: 600px) {
    .album-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .album-tile {
        border-radius: 6px;
    }

    .album-tile-name {
        display: none;
    }
}

/* prohlizec */
.album-modal-open {
    overflow: hidden;
}

.album-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 16, 12, .94);
    color: #fff;
}

.album-lightbox[hidden] {
    display: none;
}

.lb-figure {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 56px 64px 76px;
}

.lb-figure img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,.4);
}

.album-lightbox button {
    border: 0;
    background: rgba(255,255,255,.1);
    color: #fff;
    cursor: pointer;
}

.lb-close,
.lb-prev,
.lb-next {
    position: absolute;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    transition: background .2s;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
    background: rgba(255,255,255,.22);
}

.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

.lb-close .msi,
.lb-prev .msi,
.lb-next .msi {
    font-size: 28px;
}

.album-lightbox [hidden] {
    display: none !important;
}

.lb-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px clamp(14px, 3vw, 28px) calc(14px + env(safe-area-inset-bottom));
    font-size: 14px;
}

.lb-name {
    opacity: .85;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.lb-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.lb-actions a,
.lb-actions button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 30px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font: inherit;
    font-size: 14px;
    text-decoration: none;
}

.lb-actions .msi {
    font-size: 18px;
}

.lb-delete.is-armed {
    background: #b3261e;
}

@media (max-width: 600px) {
    .lb-figure {
        padding: 60px 0 80px;
    }

    .lb-prev,
    .lb-next {
        display: none;
    }

    .lb-actions a,
    .lb-actions button {
        padding: 8px 12px;
    }
}

/* dialog se jmenem */
.album-dialog {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(30, 24, 18, .45);
}

.album-dialog[hidden] {
    display: none;
}

.album-dialog-card {
    width: 100%;
    max-width: 420px;
    padding: 28px 24px 22px;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    text-align: center;
}

.album-dialog-card h2 {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 6px;
}

.album-dialog-card p {
    color: var(--muted);
    margin-bottom: 18px;
}

.album-dialog-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.album-dialog-buttons .btn {
    padding: 11px 22px;
    font-size: 14px;
}

/* album: prepinac Vsechny / Moje fotky */
.album-filter {
    display: flex;
    justify-content: center;
    gap: 4px;
    width: fit-content;
    margin: 0 auto 14px;
    padding: 4px;
    border-radius: 999px;
    background: var(--bg-alt);
    border: 1px solid var(--line);
}

.album-filter[hidden] {
    display: none;
}

.album-filter button {
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.album-filter button.is-active {
    background: var(--card);
    color: var(--text);
    box-shadow: 0 2px 8px rgba(134,105,63,.12);
}

/* ------------------------------------------------------------------ */
/* znacka Svatbook: logo (brand_logo_html), paticka, hlavni stranka     */
/* ------------------------------------------------------------------ */

/* logo: Jost malymi pismeny, prstynky (SVG, sirku ma v atributu style) sedi na uctarii jako pismeno "o" */
.sb-logo {
    display: inline-block;
    font-family: var(--sans);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
    white-space: nowrap;
}

.sb-rings {
    height: 1em;
    vertical-align: -.2em;
    fill: var(--accent);
    stroke: none;
    overflow: visible;
}

.footer-brand .footer-sb {
    text-decoration: none;
}

.footer-brand .sb-logo {
    font-size: 26px;
    color: var(--text);
}

.site-footer .footer-brand .sb-logo {
    color: #f4efe8;
}

.site-footer .footer-brand .sb-rings {
    fill: #d4b98d;
}

/* hlavni stranka svatbook.cz */
/* pozadi: jemna zlata zare nahore. Prechod pres velkou plochu ma na displejich (MacBook) viditelne "schody"
   (8 bitu na barvu) - prekryva ho proto nepatrne zrno (SVG sum, par procent pruhlednosti), ktere schody rozbije. */
.page-landing {
    min-height: 100vh;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 .09 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 110% 1100px at 50% 0%, rgba(164,134,90,.15), rgba(164,134,90,.06) 45%, rgba(164,134,90,0) 100%) no-repeat,
        var(--bg);
}

.landing {
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(40px, 8vh, 90px) 20px 40px;
    text-align: center;
}

.landing-logo {
    margin: 0 0 6px;
    color: var(--text);
}

.landing-logo .sb-logo {
    font-size: clamp(52px, 10vw, 92px);
}

.landing-claim {
    margin: 0 0 34px;
    font-size: 14px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--accent);
}

.landing-hero h1 {
    font-size: clamp(34px, 5.4vw, 58px);
    font-weight: 400;
    line-height: 1.12;
    margin-bottom: 22px;
}

.landing-hero h1 em {
    color: var(--accent-dark);
}

.landing-lead {
    max-width: 620px;
    margin: 0 auto 26px;
    font-size: 17px;
    color: var(--muted);
}

.landing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 64px;
    text-align: left;
}

.landing-feature {
    padding: 26px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}

.landing-feature .msi {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 24px;
}

.landing-feature h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}

.landing-feature p {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
}



/* prezentace svatbook.cz: lista, sekce, kroky, balicky, o mne, otazky */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px clamp(16px, 4vw, 40px);
    background: rgba(251, 249, 246, .9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.lp-nav-logo {
    color: var(--text);
    text-decoration: none;
}

.lp-nav-logo .sb-logo {
    font-size: 28px;
}

.lp-nav-links {
    display: flex;
    gap: 26px;
}

.lp-nav-links a {
    color: var(--text);
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
}

.lp-nav-links a:hover {
    color: var(--accent-dark);
}

.lp-nav-btn {
    padding: 9px 20px;
    font-size: 13px;
}

@media (max-width: 760px) {
    .lp-nav-links {
        display: none;
    }
}

.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 26px;
    padding: 9px 18px;
    border: 1px solid rgba(164,134,90,.35);
    border-radius: 999px;
    background: var(--card);
    color: var(--accent-dark);
    font-size: 14px;
}

.lp-badge .msi {
    font-size: 20px;
}

.lp-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
}

.lp-section {
    padding-top: clamp(64px, 10vh, 100px);
    scroll-margin-top: 50px;
}

.lp-h2 {
    font-size: clamp(36px, 5vw, 50px);
    font-weight: 400;
}

.lp-section .orn {
    margin-bottom: 34px;
}

.lp-section .landing-features {
    margin-bottom: 0;
}

.lp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.lp-steps li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px 22px;
    border-radius: var(--radius);
    background: var(--bg-alt);
}

.lp-step-n {
    font-family: var(--serif);
    font-size: 44px;
    line-height: 1;
    color: var(--accent);
}

.lp-steps strong {
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 500;
}

.lp-steps li > span:last-child {
    color: var(--muted);
    font-size: 15px;
}

.lp-about > p {
    max-width: 680px;
    margin: 0 auto 16px;
    font-size: 17px;
}

.lp-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 30px 0 30px;
}

.lp-stats div {
    min-width: 170px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}

.lp-stats strong {
    display: block;
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--accent-dark);
}

.lp-stats span {
    font-size: 13px;
    color: var(--muted);
}

.lp-faq {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.lp-faq details {
    border-bottom: 1px solid var(--line);
}

.lp-faq summary {
    position: relative;
    padding: 18px 36px 18px 0;
    font-family: var(--serif);
    font-size: 22px;
    cursor: pointer;
    list-style: none;
}

.lp-faq summary::-webkit-details-marker {
    display: none;
}

.lp-faq summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-family: var(--sans);
    font-size: 24px;
    font-weight: 300;
}

.lp-faq details[open] summary::after {
    content: "–";
}

.lp-faq details p {
    margin: 0 0 18px;
    color: var(--muted);
}

.lp-footer {
    margin-top: clamp(64px, 10vh, 100px);
}

.lp-footer .footer-names .sb-logo {
    font-size: 40px;
}

.lp-footer .sb-rings {
    fill: #d4b98d;
}

.lp-footer-login {
    margin: 18px 0 0;
    font-size: 14px;
    opacity: .7;
}

.lp-section .landing-features {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
    .lp-section .landing-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .lp-section .landing-features {
        grid-template-columns: 1fr;
    }
}

/* prezentace: uvod s kolazi fotek (text vlevo, fotky vpravo) */
.lp-hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(30px, 5vw, 70px);
    text-align: left;
}

.lp-hero .landing-lead {
    margin-left: 0;
}

.lp-hero .lp-cta {
    justify-content: flex-start;
}

@media (max-width: 860px) {
    .lp-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lp-hero .landing-lead {
        margin-left: auto;
    }

    .lp-hero .lp-cta {
        justify-content: center;
    }
}

/* prezentace: o mne s profilovkou */
.lp-about-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: center;
    gap: clamp(30px, 5vw, 64px);
    text-align: left;
}

.lp-about-photo {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(60, 45, 25, .16);
}

.lp-about-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.lp-about-text .landing-claim {
    margin-bottom: 6px;
}

.lp-about-text .lp-h2 {
    margin-bottom: 14px;
}

.lp-about-text > p {
    margin: 0 0 14px;
    font-size: 16px;
}

.lp-about-big {
    font-family: var(--serif);
    font-size: 24px !important;
    line-height: 1.35;
    color: var(--accent-dark);
}

.lp-about .lp-stats {
    justify-content: flex-start;
    margin: 22px 0;
}

.lp-about .lp-stats div {
    min-width: 0;
    flex: 1 1 120px;
    padding: 14px 16px;
}

.lp-about .lp-stats strong {
    font-size: 34px;
}

.lp-weblink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 22px;
    border-radius: var(--radius);
    background: #2f2b26;
    color: #f4efe8;
    text-decoration: none;
    transition: background .2s;
}

.lp-weblink small {
    display: block;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #d4b98d;
}

.lp-weblink strong {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
}

.lp-weblink .msi {
    font-size: 28px;
    color: #d4b98d;
    transition: transform .2s;
}

.lp-weblink:hover {
    background: #3d3731;
}

.lp-weblink:hover .msi {
    transform: translateX(4px);
}

@media (max-width: 860px) {
    .lp-about-grid {
        grid-template-columns: 1fr;
    }

    .lp-about-photo {
        max-width: 360px;
        margin: 0 auto;
    }
}

.lp-nav-btn .msi {
    font-size: 16px;
}

@media (max-width: 560px) {
    .lp-about .lp-stats {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .lp-about .lp-stats div {
        flex: 1 1 0;
        padding: 12px 10px;
    }

    .lp-about .lp-stats strong {
        font-size: 28px;
    }
}

/* prezentace: predstaveni - text vlevo, ilustrace mobilu vpravo (jako na webu fotografa) */
.lp-hero-text > p:not(.landing-logo):not(.landing-claim) {
    margin: 0 0 14px;
    font-size: 16px;
    color: var(--text);
}

.lp-hero h1 {
    margin-bottom: 20px;
}

.lp-album {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(164,134,90,.3);
    border-radius: var(--radius);
    background: var(--card);
    text-align: left;
}

.lp-album > .msi {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 24px;
}

.lp-album strong {
    display: block;
    margin-bottom: 2px;
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 500;
}

.lp-album span {
    font-size: 15px;
    color: var(--muted);
}

.lp-mock {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 20px 0 30px;
}

.lp-phone {
    position: relative;
    z-index: 1;
    width: 280px;
    padding: 10px;
    border-radius: 42px;
    background: #2a2622;
    box-shadow: 0 30px 70px rgba(60, 45, 25, .28), inset 0 0 0 2px #3d3833;
}

.lp-screen {
    overflow: hidden;
    border-radius: 33px;
    background: var(--bg);
    font-family: var(--sans);
}

.lp-sc-hero {
    position: relative;
    height: 250px;
}

.lp-sc-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 35%;
    display: block;
}

.lp-sc-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,15,10,.1) 40%, rgba(20,15,10,.65));
}

.lp-sc-hero-text {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 1;
    color: #fff;
}

.lp-sc-hero-text small {
    display: block;
    font-size: 8px;
    letter-spacing: .25em;
    text-transform: uppercase;
    opacity: .9;
}

.lp-sc-hero-text b {
    display: block;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.1;
}

.lp-sc-hero-text .amp {
    margin: 0 2px;
    color: #e9d5b0;
}

.lp-sc-hero-text > span {
    font-size: 8.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.lp-sc-count {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px 10px 8px;
    background: var(--bg-alt);
}

.lp-sc-count span {
    width: 54px;
    padding: 5px 0 4px;
    border: 1px solid rgba(164,134,90,.3);
    border-radius: 8px;
    background: #fff;
    font-size: 7px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
}

.lp-sc-count b {
    display: block;
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--text);
}

/* menu webu v mobilu: pilulky v jednom radku (co se nevejde, ustrihne se - jako posuvne menu) */
.lp-sc-nav {
    display: flex;
    gap: 5px;
    padding: 9px 12px;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid var(--line);
}

.lp-sc-nav span {
    flex: none;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f1e6d8;
    font-size: 9px;
    line-height: 1.3;
}

.lp-sc-block {
    padding: 12px 18px 6px;
    text-align: left;
}

.lp-sc-block i {
    display: block;
    margin-bottom: 6px;
    font-family: var(--serif);
    font-size: 17px;
    font-style: normal;
}

.lp-sc-block p {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 4px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 10px;
}

.lp-sc-block b {
    width: 34px;
    color: var(--accent-dark);
    font-weight: 500;
}

.lp-sc-btn {
    margin: 12px 18px 18px;
    padding: 9px;
    border-radius: 30px;
    background: var(--accent);
    color: #fff;
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-align: center;
}

/* plovouci karty kolem mobilu */
.lp-card {
    position: absolute;
    z-index: 2;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fffdf9;
    box-shadow: 0 2px 4px rgba(60, 45, 25, .05), 0 22px 44px -22px rgba(60, 45, 25, .4);
    text-align: left;
    font-size: 12px;
}

.lp-card > i:not(.msi) {
    display: block;
    margin-bottom: 6px;
    font-family: var(--serif);
    font-size: 16px;
    font-style: normal;
}

.lp-card-rsvp {
    top: 40px;
    left: 0;
    width: 200px;
}

.lp-card-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 10px;
}

.lp-card-stats b {
    display: block;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--text);
    line-height: 1;
}

.lp-card-bar {
    display: flex;
    gap: 2px;
    height: 6px;
    border-radius: 6px;
    background: #eee6da;
    overflow: hidden;
}

.lp-card-bar span:first-child {
    background: #5f9a6e;
}

.lp-card-bar span:last-child {
    background: #c96f6f;
}

/* karta s jidlem lezi u programu dne (pod menu), at neprekryva text odpoctu ani menu */
.lp-card-food {
    right: 0;
    top: 372px;
    width: 190px;
}

.lp-card-food p {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 3px 0;
}

.lp-card-food b {
    color: var(--accent-dark);
}

.lp-card-note {
    margin-top: 4px !important;
    color: var(--muted);
    font-size: 11px;
}

/* karta s QR lezi pod tlacitkem "Potvrdit účast" (nesmi ho prekryt) */
.lp-card-qr {
    left: 30px;
    bottom: -16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.15;
}

.lp-card-qr .msi {
    font-size: 34px;
    color: var(--accent-dark);
}

@media (max-width: 860px) {
    .lp-hero-text > p:not(.landing-logo):not(.landing-claim) {
        text-align: left;
    }

    .lp-mock {
        margin-top: 10px;
    }
}

@media (max-width: 560px) {
    .lp-phone {
        width: 240px;
    }

    .lp-sc-hero {
        height: 210px;
    }

    .lp-card {
        transform: scale(.82);
    }

    .lp-card-rsvp {
        left: 0;
        top: 10px;
        transform-origin: left top;
    }

    /* na mobilu se nevejde - jako na radekjanasek.cz */
    .lp-card-food {
        display: none;
    }

    .lp-card-qr {
        left: 0;
        bottom: -6px;
        transform-origin: left bottom;
    }
}

/* o mne: vyrazny nadpis Svatebni fotograf Radek Janasek */
.lp-about-title {
    font-size: clamp(30px, 3.6vw, 40px);
    line-height: 1.1;
}

.lp-about-title strong {
    display: block;
    font-size: 1.45em;
    font-weight: 500;
    color: var(--text);
}

/* prezentace: zdarma hned v uvodu, tlacitka */
/* uvod: zvyrazneni "Zdarma ke kazde svatbe, kterou fotim" - decentne: zlata linka, patkove pismo, kapitalky */
.lp-free {
    display: block;
    margin: 6px 0 28px;
    padding: 4px 0 4px 20px;
    border-left: 2px solid var(--accent);
    color: var(--text);
    text-align: left;
    text-decoration: none;
}

.lp-free strong {
    display: block;
    font-family: var(--serif);
    font-size: clamp(24px, 2.4vw, 30px);
    font-weight: 400;
    line-height: 1.2;
}

.lp-free em {
    color: var(--accent-dark);
    font-weight: 500;
}

.lp-free small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
}

.lp-free .msi {
    margin-left: 6px;
    font-size: 15px;
    vertical-align: -3px;
    transition: transform .25s;
}

.lp-free:hover small {
    color: var(--accent-dark);
}

.lp-free:hover .msi {
    transform: translateX(4px);
}

@media (max-width: 860px) {
    .lp-free {
        display: inline-block;
    }
}

.lp-hero-cta {
    margin-top: 24px !important;
}

/* prezentace: recenze v sekci o mne */
.lp-quotes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 0 22px;
}

.lp-quotes blockquote {
    margin: 0;
    padding: 16px 18px;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--bg-alt);
}

.lp-quotes p {
    margin: 0 0 8px;
    font-family: var(--serif);
    font-size: 17px;
    font-style: italic;
    line-height: 1.4;
}

.lp-quotes cite {
    font-size: 13px;
    font-style: normal;
    color: var(--muted);
}

.lp-quotes cite span {
    color: var(--accent);
    letter-spacing: .1em;
}

.lp-weblink em {
    display: block;
    font-size: 13px;
    font-style: normal;
    opacity: .7;
}

@media (max-width: 700px) {
    .lp-quotes {
        grid-template-columns: 1fr;
    }
}

/* o mne: oddeleny pruh pres celou sirku, nadpis na stred */
.lp-section.lp-about {
    margin: clamp(64px, 10vh, 100px) calc(50% - 50vw) 0;
    padding: clamp(60px, 9vh, 90px) calc(50vw - 50%);
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.lp-about-head {
    margin-bottom: 40px;
    text-align: center;
}

.lp-about-head .orn {
    margin-bottom: 0;
}

.lp-about-title {
    font-size: clamp(34px, 4.6vw, 52px);
    line-height: 1.1;
}

.lp-about-title {
    text-wrap: balance;
}

.lp-about-title strong {
    display: inline;
    font-size: 1em;
    font-weight: 500;
    white-space: nowrap;
}

.lp-about .lp-quotes blockquote {
    background: var(--card);
}

.lp-about .lp-stats div {
    background: var(--card);
}

.lp-footer {
    margin-top: 0;
}

/* =====================================================================
   prezentace: sekce o mne (v2) - fotka a text vedle sebe, pod tim cisla a recenze pres celou sirku
   ===================================================================== */
.lp-free {
    cursor: default;
}

.lp-about-grid {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: clamp(36px, 6vw, 80px);
    max-width: 1000px;
    margin: 0 auto;
}

/* fotka: vytistena v paspartu s popiskem (figcaption lezi ve spodnim okraji paspartu) */
.lp-about-photo {
    position: relative;
    margin: 0;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
}

.lp-about-print {
    position: relative;
    z-index: 1;
    display: block;
    padding: 14px 14px 58px;
    border-radius: 6px;
    background: #fffdf9;
    box-shadow: 0 34px 60px -34px rgba(60,45,25,.5), 0 2px 8px rgba(60,45,25,.08);
}

.lp-about-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 30%;
    border-radius: 2px;
}

.lp-about-photo figcaption {
    position: absolute;
    z-index: 2;
    left: 14px;
    right: 14px;
    bottom: 0;
    padding-bottom: 18px;
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    text-align: center;
    color: var(--accent-dark);
}


@media (max-width: 860px) {
    .lp-about-photo figcaption { font-size: 18px; }
}

.lp-about-hello {
    margin: 0 0 4px !important;
    font-family: var(--serif);
    font-size: 24px !important;
    font-style: italic;
    color: var(--accent-dark);
}

.lp-about-text .lp-about-big {
    margin-bottom: 18px;
    font-size: clamp(24px, 2.4vw, 30px) !important;
    line-height: 1.25;
    color: var(--text);
}

.lp-about-text .lp-weblink {
    margin-top: 24px;
}

/* cisla: radek s tenkymi linkami */
.lp-about-stats {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: clamp(48px, 7vh, 70px) auto 36px;
    padding: 22px 0;
    list-style: none;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.lp-about-stats li {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}

.lp-about-stats li + li {
    border-left: 1px solid var(--line);
}

.lp-about-stats strong {
    font-family: var(--serif);
    font-size: clamp(38px, 4.6vw, 52px);
    font-weight: 500;
    line-height: 1;
    color: var(--accent-dark);
}

.lp-about-stats span {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.lp-about-stats em {
    font-style: normal;
    font-size: 13px;
    letter-spacing: .15em;
    color: var(--accent);
}

/* recenze: dve citace s uvozovkou */
.lp-about .lp-quotes {
    max-width: 1000px;
    margin: 0 auto;
    gap: 18px;
}

.lp-about .lp-quotes blockquote {
    position: relative;
    padding: 34px 30px 24px;
    border: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    text-align: center;
}

.lp-about .lp-quotes blockquote::before {
    content: "“";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--serif);
    font-size: 72px;
    line-height: 1;
    color: var(--accent);
}

.lp-about .lp-quotes p {
    margin-bottom: 12px;
    font-size: 19px;
    line-height: 1.45;
}

@media (max-width: 860px) {
    .lp-about-grid {
        grid-template-columns: 1fr;
    }

    .lp-about-photo {
        max-width: 320px;
        margin: 0 auto 18px;
    }
}

@media (max-width: 560px) {
    .lp-about-stats {
        padding: 16px 0;
    }

    .lp-about-stats span {
        font-size: 10px;
        letter-spacing: .08em;
    }

    .lp-about-stats em {
        font-size: 10px;
    }
}

/* =====================================================================
   prezentace: uvod (v3) - hned jasne, ze jde o svatebni web a co umi
   ===================================================================== */
.lp-hero .landing-logo .sb-logo {
    font-size: clamp(44px, 6vw, 64px);
}

.lp-hero .landing-logo {
    margin-bottom: 14px;
}

.lp-hero h1 {
    margin-bottom: 10px;
    font-size: clamp(36px, 4.6vw, 54px);
    line-height: 1.08;
}

.lp-hero .lp-hero-text > p.lp-hero-motto {
    text-align: inherit;
    margin: 0 0 26px;
    font-family: var(--serif);
    font-size: clamp(21px, 2.2vw, 26px);
    font-style: italic;
    line-height: 1.3;
    color: var(--accent-dark);
}

.lp-hero-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 22px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
    text-align: left;
}

.lp-hero-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.lp-hero-list .msi {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 21px;
}

.lp-hero-list span {
    font-size: 14px;
    line-height: 1.4;
    color: var(--muted);
}

.lp-hero-list strong {
    display: block;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text);
}

/* povidani o svatebnim webu pod uvodem */
.lp-story {
    max-width: 760px;
    margin: 0 auto;
}

.lp-story > p {
    margin: 0 0 14px;
    font-size: 17px;
}

.lp-story .lp-album {
    margin: 26px auto 0;
}

@media (max-width: 860px) {
    .lp-hero-list {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 560px) {
    .lp-hero-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lp-story > p {
        text-align: left;
    }
}

/* =====================================================================
   prezentace: uvod (v4) - jen logo, nadpis (jine, mensi pismo), motto a mobil
   ===================================================================== */
.lp-hero h1 {
    margin: 4px 0 12px;
    text-wrap: balance;
    font-family: var(--sans);
    font-size: clamp(17px, 1.7vw, 22px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--text);
}

.lp-hero .lp-hero-text > p.lp-hero-motto {
    margin: 0;
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.15;
}

.lp-hero .landing-logo .sb-logo {
    font-size: clamp(50px, 7vw, 84px);
}

/* 4 body v sekci "Vsechno o vasi svatbe" */
.lp-story-list {
    max-width: 680px;
    margin: 30px auto 0;
}

/* =====================================================================
   komponenty 1:1 z www.radekjanasek.cz (pruh "Ve zkratce", recenze, galerie) - styly z jeho site.css,
   omezene na .rjx; pismo Newsreader zkopirovane z jeho webu (web/inc/fonts)
   ===================================================================== */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300 600; font-display: swap; src: url(../fonts/newsreader-normal-300-600-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300 600; font-display: swap; src: url(../fonts/newsreader-normal-300-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 300 600; font-display: swap; src: url(../fonts/newsreader-italic-300-600-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 300 600; font-display: swap; src: url(../fonts/newsreader-italic-300-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.rjx {
    --paper: #f5f1ea;
    --paper-2: #ece5d9;
    --card: #fffdf9;
    --clay: #f1e4d3;
    --clay-2: #e9d6bf;
    --ink: #1e1a16;
    --ink-2: #5e564c;
    --line: #d8cebf;
    --line-2: #e6dccf;
    --accent: #9a6b4f;
    --accent-d: #7f5640;
    --serif: "Newsreader", "Iowan Old Style", "Times New Roman", serif;
    --sans: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    --r: 24px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    max-width: 1240px;
    margin: 0 auto;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
    text-align: left;
}

.rjx *, .rjx *::before, .rjx *::after { box-sizing: border-box; }
.rjx ul { list-style: none; margin: 0; padding: 0; }
.rjx figure, .rjx blockquote { margin: 0; }
.rjx button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.rjx img { display: block; max-width: 100%; }
.rjx .label { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); }
.rjx .label::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.rjx .link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid currentColor; color: var(--ink); }
.rjx .link-arrow span { transition: transform .4s var(--ease); }
.rjx .link-arrow:hover span { transform: translateX(5px); }
.rjx .ico svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* pruh Ve zkratce */
.rjx .facts { margin-top: clamp(48px, 7vh, 70px); }
.rjx .facts-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 2px 4px rgba(30, 26, 22, .04), 0 30px 60px -34px rgba(30, 26, 22, .35); }
.rjx .facts .facts-stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: clamp(22px, 3vw, 34px) clamp(10px, 2vw, 20px); }
.rjx .facts-stats li { display: flex; align-items: center; gap: 16px; padding: 6px clamp(12px, 2vw, 26px); }
.rjx .facts-stats li + li { border-left: 1px solid var(--line-2); }
.rjx .facts-stats .ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--clay); color: var(--accent); }
.rjx .facts-stats .ico svg { width: 24px; height: 24px; }
.rjx .facts-stats b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 2.8vw, 40px); line-height: 1; }
.rjx .facts-stats b i { font-style: normal; color: var(--accent); }
.rjx .facts-stats small { display: block; margin-top: 6px; font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); text-wrap: balance; }
.rjx .facts-rate { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; margin: 0 clamp(16px, 2.6vw, 34px); padding: 16px 0 20px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); text-align: center; }
.rjx .facts-rate b { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--ink); }
.rjx .facts-rate .stars { color: var(--accent); letter-spacing: .16em; }
.rjx .facts-rate .src { display: inline-flex; gap: 6px; }
.rjx .facts-rate .src svg { width: 18px; height: 18px; }
.rjx .facts-rate .link-arrow { font-size: 11px; color: var(--ink); }

/* box recenzi */
.rjx .quotes { margin-top: 36px; scroll-margin-top: 80px; }
.rjx .quotes .panel { background: var(--clay); border-radius: 36px; padding: clamp(56px, 8vw, 110px) clamp(22px, 6vw, 90px); text-align: center; }
.rjx .quotes .label::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.rjx .q-stage { display: grid; max-width: 920px; margin: 40px auto 0; }
.rjx .q-item { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease), transform .9s var(--ease); pointer-events: none; }
.rjx .q-item.is-active { opacity: 1; transform: none; pointer-events: auto; }
.rjx .q-item blockquote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(23px, 2.7vw, 36px); line-height: 1.38; }
.rjx .q-item figcaption { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 30px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); }
.rjx .q-item .stars { color: var(--accent); letter-spacing: .18em; }
.rjx .q-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.rjx .q-ctrl { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(30, 26, 22, .28); border-radius: 50%; color: var(--ink); transition: background .3s, border-color .3s; }
.rjx .q-ctrl:hover { background: rgba(30, 26, 22, .06); border-color: var(--ink); }
.rjx .q-ctrl svg { width: 16px; height: 16px; }
.rjx .q-pills { display: flex; align-items: center; gap: 8px; }
.rjx .q-pill { width: 8px; height: 8px; border-radius: 8px; background: rgba(30, 26, 22, .2); position: relative; overflow: hidden; transition: width .4s var(--ease), background .3s; }
.rjx .q-pill::after { content: ""; position: absolute; inset: -10px -4px; }
.rjx .q-pill:hover { background: rgba(30, 26, 22, .4); }
.rjx .q-pill[aria-current="true"] { width: 42px; background: rgba(30, 26, 22, .16); }
.rjx .q-pill i { position: absolute; inset: 0; border-radius: 8px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.rjx .q-pill.is-running i { animation: rjx-prog var(--q-interval, 8s) linear forwards; }
@keyframes rjx-prog { to { transform: scaleX(1); } }

/* galerie: redakcni mrizka */
.rjx .gallery { margin-top: 36px; }
.rjx .g-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 12.5vw, 185px); gap: 14px; }
.rjx .g-grid figure { overflow: hidden; background: var(--paper-2); border-radius: 18px; }
.rjx .g-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.rjx .g-grid figure:hover img { transform: scale(1.04); }
.rjx .g-grid > figure:nth-child(6n+1) { grid-column: 1 / 6; grid-row: span 3; }
.rjx .g-grid > figure:nth-child(6n+2) { grid-column: 6 / 13; grid-row: span 2; }
.rjx .g-grid > figure:nth-child(6n+3) { grid-column: 6 / 9; grid-row: span 1; }
.rjx .g-grid > figure:nth-child(6n+4) { grid-column: 9 / 13; grid-row: span 1; }
.rjx .g-grid > figure:nth-child(6n+5) { grid-column: 1 / 8; grid-row: span 2; }
.rjx .g-grid > figure:nth-child(6n+6) { grid-column: 8 / 13; grid-row: span 2; }
.rjx .g-grid > figure:nth-child(6n+1):last-child { grid-column: 1 / 13; }
.rjx .g-grid > figure:nth-child(6n+2):last-child { grid-row: span 3; }
.rjx .g-grid > figure:nth-child(6n+3):last-child { grid-column: 6 / 13; }
.rjx .g-grid > figure:nth-child(6n+5):last-child { grid-column: 1 / 13; }

@media (max-width: 900px) {
    .rjx .facts .facts-stats { grid-template-columns: 1fr 1fr; row-gap: 18px; }
    .rjx .facts-stats li:nth-child(3) { border-left: 0; }
}

@media (max-width: 600px) {
    .rjx .g-grid { grid-auto-rows: 120px; gap: 8px; }
    .rjx .g-grid figure { border-radius: 12px; }
    .rjx .g-grid > figure:nth-child(6n+1) { grid-column: 1 / 7; grid-row: span 3; }
    .rjx .g-grid > figure:nth-child(6n+2) { grid-column: 7 / 13; grid-row: span 2; }
    .rjx .g-grid > figure:nth-child(6n+3) { grid-column: 7 / 13; grid-row: span 1; }
    .rjx .g-grid > figure:nth-child(6n+4) { grid-column: 1 / 13; grid-row: span 2; }
    .rjx .g-grid > figure:nth-child(6n+5) { grid-column: 1 / 7; grid-row: span 2; }
    .rjx .g-grid > figure:nth-child(6n+6) { grid-column: 7 / 13; grid-row: span 2; }
    .rjx .g-grid > figure:nth-child(6n+1):last-child { grid-column: 1 / 13; grid-row: span 2; }
    .rjx .g-grid > figure:nth-child(6n+2):last-child { grid-row: span 3; }
    .rjx .g-grid > figure:nth-child(6n+3):last-child { grid-column: 7 / 13; }
    .rjx .g-grid > figure:nth-child(6n+5):last-child { grid-column: 1 / 13; }
    .rjx .quotes .panel { border-radius: 26px; }
    .rjx .facts-stats li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 6px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .rjx .q-item, .rjx .g-grid img { transition: none; }
}

/* galerie: hlavicka (jako .section-head na webu fotografa) a posledni dlazdice s odkazem */
.rjx .gallery { margin-top: clamp(64px, 9vh, 100px); }
.rjx .section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.rjx .section-head .label::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.rjx .h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4vw, 54px); line-height: 1.08; letter-spacing: -.01em; margin: 18px 0 0; color: var(--ink); }
.rjx .h2 em { font-style: italic; }

.rjx .g-grid > .g-more {
    grid-column: 1 / 13;
    grid-row: span 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px;
    border-radius: 18px;
    background: var(--ink);
    color: var(--paper);
    text-align: center;
    text-decoration: none;
    transition: background .3s;
}

.rjx .g-more-text {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.2;
}

.rjx .g-more .link-arrow {
    color: var(--clay-2);
}

.rjx .g-more:hover {
    background: #2e2822;
}

.rjx .g-more:hover .link-arrow span {
    transform: translateX(5px);
}

@media (max-width: 600px) {
    .rjx .g-grid > .g-more {
        grid-column: 1 / 13;
        grid-row: span 2;
        border-radius: 12px;
    }
}

/* =====================================================================
   prezentace: Kolik to stoji - zdarma s focenim (velka tmava karta) a Svatbook bez foceni (mensi
   sampanska karta, mirne prekryva velkou). Po najeti / kliknuti na placenou se velikost i prekryti otoci:
   mensi karta je vzdy ta "plovouci" nahore. Aby prohozeni necuklo, karty se pri nem na chvili rozestoupi
   (animace pr-swap) a poradi (z-index) se prohodi v pulce, kdy se neprekryvaji. Texty se skladaji pres
   grid-template-rows 0fr/1fr (.pr-fold > div).
   ===================================================================== */
.lp-pricing {
    scroll-margin-top: 70px;
}

.pr {
    --pr-over: 56px;
    --pr-time: .9s;
    display: flex;
    text-align: left;
}

.pr-card {
    position: relative;
    z-index: 1;
    min-width: 0;
    flex: 2 1 0;
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--radius);
    transition: flex-grow var(--pr-time) cubic-bezier(.45, 0, .2, 1), margin-top var(--pr-time) cubic-bezier(.45, 0, .2, 1), margin-bottom var(--pr-time) cubic-bezier(.45, 0, .2, 1),
        padding var(--pr-time) cubic-bezier(.45, 0, .2, 1), box-shadow var(--pr-time) cubic-bezier(.45, 0, .2, 1), z-index calc(var(--pr-time) / 2) step-end;
}

.pr-free {
    background: #2f2b26;
    color: #f4efe8;
}

.pr-free .pr-kicker,
.pr-free .pr-price { color: #e9d5b0; }
.pr-free .pr-term { color: #cfc3b2; }
.pr-free .pr-pkgs li { border: 1px solid rgba(212,185,141,.4); }
.pr-free .pr-pkgs .msi { color: #d4b98d; }
.pr-free .pr-btn-free:hover { background: #f4efe8; color: #2f2b26; }

.pr-paid {
    flex-grow: 1;
    border: 1px solid rgba(164,134,90,.35);
    background: linear-gradient(150deg, #f5e9d8 0%, #ead7bb 100%);
    color: var(--text);
    cursor: pointer;
}

.pr-paid .pr-kicker { color: var(--accent-dark); }
.pr-paid .pr-term { color: var(--accent-dark); }
.pr-paid .pr-list .msi { color: var(--accent-dark); }

.pr-kicker {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: .24em;
    text-transform: uppercase;
    text-wrap: balance;
}

.pr-price {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.05;
    white-space: nowrap;
}

.pr-price small {
    margin-left: 6px;
    font-family: var(--sans);
    font-size: .36em;
    font-weight: 400;
    letter-spacing: .04em;
}

/* doba pod cenou - u obou variant stejna */
.pr-term {
    margin: 4px 0 0;
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* skladaci casti karty: otevreni = vyska, pak se text rozsviti; zavreni = text zhasne, pak se slozi */
.pr-fold {
    display: grid;
    grid-template-rows: 1fr;
    opacity: 1;
    transition: grid-template-rows var(--pr-time) cubic-bezier(.45, 0, .2, 1), opacity .5s ease calc(var(--pr-time) * .4);
}

.pr-fold > div {
    min-height: 0;
    overflow: hidden;
}

/* odsazeni uvnitr (padding na .pr-fold > div by po slozeni zustal) */
.pr-more .pr-text { margin-top: 20px; }
.pr-btn-info { margin-top: 22px; }

.pr-note {
    margin: 0;
    padding-top: 12px;
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    color: #cfc3b2;
}

.pr-text {
    max-width: 46ch;
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.55;
}

.pr-pkgs,
.pr-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.pr-pkgs li,
.pr-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.pr-pkgs li {
    padding: 7px 14px 7px 10px;
    border-radius: 999px;
}

.pr-list {
    flex-direction: column;
    gap: 6px;
}

.pr-pkgs .msi,
.pr-list .msi { font-size: 17px; }

.pr-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s;
}

.pr-btn .msi { font-size: 16px; }

.pr-btn-order {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.pr-btn-order:hover {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
}

.pr-btn-info { color: var(--accent-dark); }

.pr-btn-info:hover {
    background: var(--accent-dark);
    color: #fff;
}

/* Vice informaci v male tmave karte - zpet na variantu zdarma */
.pr-free .pr-btn-info { color: #e9d5b0; }
.pr-free .pr-btn-info:hover { background: #f4efe8; color: #2f2b26; }

/* rozestoupeni pri prohozeni (dva stejne snimky, aby se animace spustila pri kazde zmene) */
@keyframes pr-swap-a {
    0%, 100% { margin-left: calc(-1 * var(--pr-over)); }
    50% { margin-left: 18px; }
}

@keyframes pr-swap-b {
    0%, 100% { margin-left: calc(-1 * var(--pr-over)); }
    50% { margin-left: 18px; }
}

/* pocitac: vybrana (velka) karta lezi NAHORE, nevybrana (mensi) se zasouva pod ni - vychozi je vybrana zdarma,
   placena vykukuje zpod jejiho praveho okraje. Prohozeni jen po kliknuti (Vice informaci / karta) - na najeti
   mysi se nic nehybe. Obsah mensi karty ma u prekryte strany vetsi odsazeni, at ho velka karta nezakryje. */
@media (min-width: 861px) {
    .pr-paid { margin: 44px 0 44px calc(-1 * var(--pr-over)); z-index: 1; padding-left: calc(clamp(28px, 4vw, 48px) + var(--pr-over)); box-shadow: 0 16px 40px -28px rgba(60,40,15,.35); animation: none var(--pr-time) cubic-bezier(.45, 0, .2, 1); }
    .pr.pr-anim .pr-paid { animation-name: pr-swap-b; }
    .pr-free { z-index: 3; box-shadow: 0 34px 70px -30px rgba(30,22,12,.6); }
    /* slozene casti: zavirani - text hned zhasne a karta se slozi */
    .pr-fold { transition: grid-template-rows var(--pr-time) cubic-bezier(.45, 0, .2, 1), opacity .3s ease, visibility 0s linear var(--pr-time); }
    .pr-paid .pr-more,
    .pr-fold-note { grid-template-rows: 0fr; opacity: 0; visibility: hidden; }
    .pr:not(.is-paid) .pr-free .pr-more,
    .pr:not(.is-paid) .pr-fold-info { transition: grid-template-rows var(--pr-time) cubic-bezier(.45, 0, .2, 1), opacity .5s ease calc(var(--pr-time) * .5), visibility 0s; }

    .pr.is-paid .pr-free { flex-grow: 1; margin-top: 44px; margin-bottom: 44px; z-index: 1; padding-right: calc(clamp(28px, 4vw, 48px) + var(--pr-over)); box-shadow: 0 16px 40px -28px rgba(30,22,12,.4); cursor: pointer; }
    .pr.is-paid .pr-paid { flex-grow: 2; margin-top: 0; margin-bottom: 0; z-index: 3; padding-left: clamp(28px, 4vw, 48px); box-shadow: 0 34px 70px -30px rgba(60,40,15,.55); cursor: default; animation-name: pr-swap-a; }
    .pr.is-paid .pr-paid .pr-more,
    .pr.is-paid .pr-fold-note { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows var(--pr-time) cubic-bezier(.45, 0, .2, 1), opacity .5s ease calc(var(--pr-time) * .5), visibility 0s; }
    .pr.is-paid .pr-free .pr-more,
    .pr.is-paid .pr-fold-info { grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows var(--pr-time) cubic-bezier(.45, 0, .2, 1), opacity .3s ease, visibility 0s linear var(--pr-time); }
}

@media (hover: hover) and (min-width: 861px) {
    .pr:not(.is-paid) .pr-paid:hover { box-shadow: 0 22px 50px -26px rgba(60,40,15,.5); }
}

/* mobil: karty normalne pod sebou bez prekryti, vse videt (prekryti jen kdyz se vejdou vedle sebe) */
@media (max-width: 860px) {
    .pr { flex-direction: column; }
    .pr-card { flex: none; }
    .pr-paid { margin: 16px 0 0; box-shadow: 0 16px 40px -28px rgba(60,40,15,.4); cursor: default; }
    .pr-fold-info,
    .pr-fold-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pr-card,
    .pr-fold { transition: none !important; animation: none !important; }
}

/* objednavka */
.pr-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(30, 24, 18, .5);
}

.pr-modal[hidden] { display: none; }

.pr-modal-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 34px 28px 28px;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
    text-align: left;
}

.pr-modal-card .pr-kicker { color: var(--accent); }
.pr-modal-card h2 { margin: 0; font-size: 34px; font-weight: 400; }
.pr-modal-price { margin: 2px 0 20px; font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--accent-dark); }

.pr-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--text);
    cursor: pointer;
}

.pr-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
}

.pr-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.pr-info {
    display: flex;
    gap: 10px;
    margin: 4px 0 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--accent-soft);
    font-size: 14px;
    line-height: 1.45;
    color: var(--accent-dark);
}

.pr-info .msi { flex: 0 0 auto; font-size: 20px; }

.pr-error {
    margin: 0 0 14px;
    color: #b3261e;
    font-size: 14px;
}

.pr-modal-card .btn { width: 100%; }

.pr-modal-card.is-done > *:not(.pr-done):not(.pr-modal-close) { display: none; }

.pr-done {
    padding: 20px 0 4px;
    text-align: center;
}

.pr-done > .msi { font-size: 54px; color: #2f8f5b; }
.pr-done p { color: var(--muted); }

@media (max-width: 480px) {
    .pr-fields { grid-template-columns: 1fr; }
}

/* objednavka: adresa webu [jana-a-petr].svatbook.cz s prubeznou kontrolou volne / obsazene */
.pr-slug > label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.pr-slug-box {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.pr-slug-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(164, 134, 90, .15);
}

.field .pr-slug-box input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    border-radius: 10px 0 0 10px;
    box-shadow: none;
    padding-right: 4px;
    text-align: right;
}

.pr-slug-box > span {
    display: flex;
    align-items: center;
    padding: 0 16px 0 0;
    color: var(--muted);
    white-space: nowrap;
}

.pr-slug-msg {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 20px;
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
}

.pr-slug.is-ok .pr-slug-box { border-color: #2f8f5b; }
.pr-slug.is-ok .pr-slug-msg { color: #2f8f5b; }
.pr-slug.is-ok .pr-slug-msg::before { content: "✓"; font-weight: 600; }
.pr-slug.is-bad .pr-slug-box { border-color: #b3261e; }
.pr-slug.is-bad .pr-slug-msg { color: #b3261e; }
.pr-slug.is-bad .pr-slug-msg::before { content: "✕"; font-weight: 600; }

/* sekce Fotoalbum na webu: "Nahrávate jako …" hned pod tlacitkem */
.album-sec-who {
    margin: -18px 0 26px;
    text-align: center;
}

.album-sec-who:empty {
    display: none;
}

/* prezentace: Mohu si to vyzkouset? - kratky odstavec a tlacitko na ukazkovy web (bez boxu) */
.lp-demo-text {
    max-width: 560px;
    margin: 0 auto 22px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted);
}

.lp-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lp-demo-btn .msi { font-size: 18px; }

/* ukazkovy web: misto tlacitka Nahrat fotky informace */
.album-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 26px;
    padding: 12px 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--card);
    color: var(--muted);
    font-size: 15px;
    text-align: left;
}

.album-demo .msi {
    flex: none;
    font-size: 22px;
    color: var(--accent);
}

/* ukazkovy web: poznamka v karte pozvanky, ze formular nejde odeslat */
.rsvp-demo-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 0;
    font-size: 14px;
    color: var(--muted);
}

.rsvp-demo-note .msi {
    flex: none;
    font-size: 18px;
    color: var(--accent);
}

/* =====================================================================
   Samostatna stranka pozvanky (/pozvanka, web/pozvanka.php): sem vede osobni odkaz z pozvanky.
   Horni lista s odkazem na svatebni web, hlavicka se jmeny, karta pozvani s formularem, odkaz na web.
   ===================================================================== */
.page-invite {
    background:
        radial-gradient(ellipse 110% 700px at 50% 0%, rgba(164,134,90,.12), rgba(164,134,90,0) 100%) no-repeat,
        var(--bg);
}

.invite-page {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(36px, 7vw, 64px) 16px 48px;
    text-align: center;
}

/* prepinac jazyka - soucast stranky (vpravo nahore), ne lista */
.invite-lang {
    position: absolute;
    top: 16px;
    right: 16px;
}

.invite-head .kicker { margin-bottom: 8px; }

.invite-head h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(40px, 7vw, 60px);
    font-weight: 400;
    line-height: 1.1;
}

.invite-surname {
    margin: 6px 0 0;
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    color: var(--muted);
}

.invite-date {
    margin: 14px 0 0;
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.invite-head .orn { margin: 24px auto 30px; }

.invite-teaser .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.invite-teaser .btn .msi { font-size: 18px; }

/* na svatebnim webu: kratka karta s odkazem na stranku pozvanky */
.invite-teaser-text {
    margin: 0 0 20px;
    color: var(--muted);
}

/* ---------------------------------------------------------------------
   Pozvanka: odkaz na svatebni web - okno prohlizece s adresou webu, uvodni fotkou a textem primo v okne
   --------------------------------------------------------------------- */
.iw-window {
    display: block;
    max-width: 560px;
    margin: 44px auto 0;
    color: inherit;
    text-decoration: none;
}

.iw-browser {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--card);
    box-shadow: 0 24px 50px -30px rgba(60,45,25,.55);
    transition: transform .3s, box-shadow .3s;
}

.iw-window:hover .iw-browser {
    transform: translateY(-3px) rotate(-.4deg);
    box-shadow: 0 30px 60px -30px rgba(60,45,25,.65);
}

.iw-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    background: #f3ede4;
}

.iw-dots { display: flex; gap: 5px; }
.iw-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d9cdbb; }

.iw-url {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    min-width: 0;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 12.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.iw-url .msi { font-size: 14px; }

/* barvy okna "sampan": svetle kremove pozadi (web bez uvodni fotky), tmavy text */
.iw-window {
    --iw-bg: radial-gradient(ellipse at 50% 0%, #fffaf2 0%, #f3e7d5 55%, #e8d6bb 100%);
    --iw-ink: #2f2b26;
}

.iw-screen {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 270px;
    background: var(--iw-bg) center / cover no-repeat;
}

/* zmensenina uvodu webu: s fotkou tmavy zavoj a bily text vlevo dole (jako na webu), bez fotky kremove pozadi a text na stred */
.iw-window.has-photo .iw-screen {
    align-items: flex-end;
    justify-content: flex-start;
    min-height: 250px;
}

.iw-window.has-photo .iw-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(20,15,10,.25) 0%, rgba(20,15,10,0) 30%, rgba(20,15,10,0) 45%, rgba(20,15,10,.62) 100%),
        linear-gradient(90deg, rgba(20,15,10,.3) 0%, rgba(20,15,10,0) 60%);
}

.iw-hero {
    position: relative;
    padding: 26px 24px;
    color: var(--iw-ink);
    text-align: center;
}

.iw-window.has-photo .iw-hero {
    padding: 18px 22px 20px;
    color: #fff;
    text-align: left;
}

.iw-hero p { margin: 0; }

.iw-sub {
    margin-bottom: 8px !important;
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    opacity: .9;
}

.iw-names {
    font-family: var(--serif);
    font-size: 40px;
    line-height: 1.05;
}

.iw-window.has-photo .iw-names { text-shadow: 0 2px 14px rgba(0,0,0,.25); }
.iw-window .iw-names .amp { color: #a4865a; }
.iw-window.has-photo .iw-names .amp { color: inherit; opacity: .85; }

.iw-surname {
    margin-top: 2px !important;
    font-family: var(--serif);
    font-size: 17px;
    font-style: italic;
    opacity: .85;
}

.iw-meta {
    margin-top: 8px !important;
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .9;
}

/* mini odpocet */
.iw-window .countdown.iw-cd {
    gap: 6px;
    margin-top: 16px;
}

.iw-window .iw-cd > div {
    min-width: 46px;
    padding: 7px 4px 6px;
    border-radius: 8px;
}

.iw-window .iw-cd b { font-size: 20px; }
.iw-window .iw-cd span { margin-top: 3px; font-size: 8px; letter-spacing: .1em; }
.iw-window .iw-cd.done { margin-top: 12px; font-size: 20px; }

/* s fotkou: odpocet v pruhu pod fotkou (jako na webu) */
.iw-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px 14px;
    flex-wrap: wrap;
    padding: 12px 18px;
    border-top: 1px solid var(--line);
    background: var(--bg-alt);
}

.iw-band-label {
    font-family: var(--serif);
    font-size: 17px;
    font-style: italic;
    color: var(--accent-dark);
}

.iw-band .countdown.iw-cd { margin-top: 0; }

/* sipka z karty pozvanky na okno s webem: text kurzivou zarovnany s levym okrajem okna a rucne kreslena
   oblouckova sipka (mirne pod text) */
.iwa {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    max-width: 560px;
    margin: 30px auto 14px;
    color: var(--accent-dark);
    text-align: left;
}

.iwa + .iw-window { margin-top: 0; }

.iwa-hand {
    padding-top: 4px;
    font-family: var(--serif);
    font-size: 21px;
    font-style: italic;
    line-height: 1.3;
}

.iwa-curve {
    flex: 0 0 auto;
    width: 58px;
    height: 54px;
    margin-bottom: -18px;
    fill: none;
    stroke: #a4865a;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* paticka pozvanky odsazena od odkazu na web */
.invite-page > .footer-brand { margin-top: 56px; }

@media (max-width: 560px) {
    .invite-lang { top: 10px; right: 10px; }
    .iw-screen { min-height: 230px; }
    .iw-names { font-size: 32px; }
    .iw-window .iw-cd > div { min-width: 40px; }
    .iw-window .iw-cd b { font-size: 17px; }
    .iwa-hand { font-size: 19px; }
}

/* =====================================================================
   Svatebni web: horni lista jen s Fotoalbem a Pozvankou (puntik = neodpovezeno, fajfka = odpovezeno);
   pecet s upozornenim na pozvanku v uvodu (jen dokud host neodpovedel).
   ===================================================================== */
.topnav-links a .msi {
    margin-right: 6px;
    font-size: 18px;
    vertical-align: -4px;
}

.topnav-invite { position: relative; }

.topnav-invite.is-pending::after {
    content: "";
    position: absolute;
    top: -3px;
    left: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9554a;
    box-shadow: 0 0 0 2px var(--bg);
}

.topnav-invite.is-done::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 11px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6f9a6a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
    box-shadow: 0 0 0 2px var(--bg);
}

@keyframes inv-pulse {
    0% { box-shadow: 0 0 0 0 rgba(201,85,74,.55); }
    70% { box-shadow: 0 0 0 10px rgba(201,85,74,0); }
    100% { box-shadow: 0 0 0 0 rgba(201,85,74,0); }
}

/* pecet: kulata pecet s obalkou v pravem hornim rohu uvodu */
.inv-seal {
    position: absolute;
    display: flex;
    text-decoration: none;
    top: calc(var(--nav-h) + var(--adminbar-h, 0px) + 18px);
    right: clamp(16px, 4vw, 40px);
    z-index: 3;
    align-items: center;
    gap: 12px;
    padding: 8px 18px 8px 8px;
    border: 1px solid rgba(164,134,90,.35);
    border-radius: 999px;
    background: rgba(255,253,249,.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px -22px rgba(60,40,15,.55);
    color: var(--text);
    text-align: left;
    transition: transform .25s;
}

.inv-seal:hover { transform: translateY(-2px); }

.inv-seal-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
}

.inv-seal-icon .msi { font-size: 24px; }

.inv-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border: 2px solid #fffdf9;
    border-radius: 50%;
    background: #c9554a;
    animation: inv-pulse 2s infinite;
}

.inv-seal-text { display: grid; gap: 1px; }
.inv-seal-text b { font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.2; }
.inv-seal-text small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #c9554a; }

/* uzky displej: v liste jen ikony (Fotoalbum, Pozvanka) */
@media (max-width: 600px) {
    .topnav-label { display: none; }
    .topnav-links a .msi { margin-right: 0; font-size: 22px; }
    .topnav-invite.is-pending::after { left: 14px; }
    .topnav-invite.is-done::after { left: 13px; }
}

@media (max-width: 600px) {
    .inv-seal { top: calc(var(--nav-h) + var(--adminbar-h, 0px) + 10px); right: 12px; padding: 6px 14px 6px 6px; }
    .inv-seal-icon { width: 38px; height: 38px; }
    .inv-seal-text b { font-size: 15px; }
}
