@font-face {
    font-family: 'Advent Brandon';
    src: url('../fonts/Brandon-Regular.otf') format('opentype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Advent Brandon';
    src: url('../fonts/Brandon-Bold.otf') format('opentype');
    font-weight: 700;
    font-display: swap;
}
.advent-scene { position: relative; left: 50%; width: 100%; transform: translateX(-50%); }
.advent-scene img { display: block; width: 100%; height: auto; }
@media (min-width: 1024px) {
    .advent-scene { max-width: min(1320px, 118vh); }
}
.advent-phone { position: absolute; width: 8.65%; height: 24.6%; border-radius: 18% / 9%; }
.advent-phone:hover { box-shadow: 0 0 22px 5px rgba(255,214,100,.88); }
.advent-phone--1 { left: 48.5%; top: 61.15%; }
.advent-phone--2 { left: 61.8%; top: 31.85%; }
.advent-phone--3 { left: 42.8%; top: 14.4%; }
.advent-phone--4 { left: 28.8%; top: 44.25%; }
#nivy-vianoce :is(a,summary):focus-visible { outline: 3px solid #edaa00; outline-offset: 3px; }
#nivy-vianoce :where(*) { color: inherit; font-family: inherit; }
#nivy-vianoce { --font-color: white; --font-color-hover: white; --forest: #25431d; --red: #e5361f; --leaf: #5a8930; background: var(--forest); color: white; font: 400 20px/1.48 'Advent Brandon',sans-serif; overflow: hidden; }
#nivy-vianoce :is(h1,h2,h3,p,ol) { color: inherit; font-family: inherit; margin: 0; }
#nivy-vianoce :is(h1,h2,h3) { text-transform: none; font-weight: 700; letter-spacing: normal; }
#nivy-vianoce a { color: inherit; }
.advent-hero { position: relative; overflow: hidden; background: #25301e; }
.advent-campaign-nav { position: absolute; width: 100%; inset: 12px 0 auto; display: flex; gap: 14px; padding: 0 3%; align-items: center; font-size: 16px; font-weight: 700; }
.advent-campaign-nav > a:first-child { border-radius: 50%; width: 38px; height: 38px; display: grid; place-content: center; background: white; color: #222 !important; }
.advent-wordmark { position: absolute; left: 50%; transform: translateX(-50%); }
.advent-wordmark img { width: 124px; }
.advent-store-links { display: flex; gap: 5px; margin-right: auto; }
.advent-store-links img,.advent-mobile-stores img { width: auto; height: 35px; }
.advent-nav-action { padding: 7px 12px; background: var(--forest); }
.advent-hero-caption,.advent-mobile-stores { display: none; }
.advent-intro { position: relative; padding: clamp(60px,6.4vw,92px) 24px clamp(72px,8.5vw,124px); text-align: center; background: var(--red); }
.advent-intro::before,.advent-intro::after { content: ''; position: absolute; top: 16%; bottom: 13%; width: min(12%,160px); pointer-events: none; background: center/contain no-repeat; }
.advent-intro::before { right: calc(50% + min(26vw,380px)); background-image: url('hviezdy.webp'); }
.advent-intro::after { left: calc(50% + min(26vw,380px)); background-image: url('listky.webp'); }
#nivy-vianoce h1 { display: block; position: relative; padding: 24px 0 32px; font-size: clamp(38px,4vw,56px); line-height: 1.18; background: url('nadpis.webp') center/auto 100% no-repeat; }
#nivy-vianoce .advent-intro p { position: relative; max-width: 700px; margin: 34px auto 0; font-size: clamp(18px,1.55vw,22px); line-height: 1.48; }
#nivy-vianoce .advent-intro h1 + p { margin-top: clamp(30px,5.2vw,74px); }
.advent-guide { padding: clamp(60px,6vw,90px) 4% clamp(60px,6vw,90px); background: var(--forest); }
.advent-guide-inner { max-width: 1280px; margin: auto; display: grid; grid-template-columns: 49% 51%; align-items: center; }
.advent-guide-copy { padding-left: 10%; }
#nivy-vianoce .advent-guide h2 { background: url('vetvicka.webp') left center/contain no-repeat; font-size: clamp(40px,4vw,56px); line-height: 1.16; padding: 23px 0; }
#nivy-vianoce .advent-steps { margin-top: clamp(34px,5.8vw,84px); padding: 0; list-style: none; counter-reset: advent-step; }
.advent-steps li { position: relative; counter-increment: advent-step; padding: 12px 0 0 clamp(64px,6.3vw,92px); }
.advent-steps li + li { margin-top: clamp(32px,4vw,58px); }
.advent-steps li::before { content: counter(advent-step); position: absolute; left: 0; top: 0; width: 64px; height: 62px; border-radius: 49% 54% 40% 57%; display: grid; place-items: center; background: var(--red); font-weight: 700; font-size: 24px; }
#nivy-vianoce .advent-steps h3 { font-size: clamp(18px,1.6vw,23px); line-height: 1.25; }
#nivy-vianoce .advent-steps p { margin-top: 18px; font-size: 18px; line-height: 1.55; }
.advent-guide-art { width: 100%; height: auto; mask-image: linear-gradient(to right,transparent,black 3%,black 97%,transparent),linear-gradient(to bottom,transparent,black 4%,black 96%,transparent); mask-composite: intersect; }
#nivy-vianoce .advent-note { margin: 0 auto; padding: 56px 8px; background: url('pripomienka.webp') center/auto 100% no-repeat; text-align: center; font-size: 22px; font-weight: 700; }
.advent-calendar { background: var(--leaf); padding: clamp(42px,5vw,74px) 6%; }
.advent-content { max-width: 1230px; margin: auto; }
.advent-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 18px; }
.advent-action { display: inline-block; list-style: none; cursor: pointer; background: var(--forest); color: white; padding: 12px 24px; font-weight: 700; }
.advent-action::-webkit-details-marker { display: none; }
.advent-results[open] { flex: 1 0 100%; }
#nivy-vianoce .advent-rounds { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 20px 0; list-style: none; }
.advent-rounds li { display: flex; flex-direction: column; border-top: 1px solid #ffffff80; padding-top: 8px; }
#nivy-vianoce .advent-calendar p { margin: 14px 0 6px; }
.advent-calendar p a { text-decoration: underline; }
#nivy-vianoce :is(#advent-vyhercovia,#advent-navod) { scroll-margin-top: 150px; }
@media (max-width: 700px) {
    .advent-store-links,.advent-nav-action { display: none; }
    .advent-scene { width: 150%; }

    .advent-hero-caption { display: grid; place-content: center; text-align: center; padding: 16px 12px 42px; min-height: clamp(150px,40vw,200px); position: relative; isolation: isolate; font-size: 25px; line-height: 1.05; }
    .advent-hero-caption::before { content: ''; position: absolute; inset: 0 -100%; z-index: -2; background: url('latka.webp') center top/50% 100% repeat-x; transform: skewX(34deg); transform-origin: top center; }
    .advent-hero-caption::after { content: ''; position: absolute; inset: 1% 6% 5%; z-index: -1; background: radial-gradient(circle at 24% 73%,var(--red) 0 7px,transparent 8px), radial-gradient(circle at 20% 83%,var(--red) 0 4px,transparent 5px), url('cezmina.webp') center/auto 100% no-repeat; }
    .advent-wordmark img { width: 85px; }
    .advent-intro { padding: 34px 28px 88px; }
    #nivy-vianoce h1 { max-width: 320px; margin: auto; padding: 18px 36px; font-size: 27px; line-height: 1.06; background-size: 100% 100%; }
    .advent-intro::before,.advent-intro::after { top: auto; bottom: 14px; height: 60px; width: 42px; }
    .advent-intro::before { right: 73%; background-image: url('hviezdicka.webp'); background-size: 32px; }
    .advent-intro::after { left: 58%; width: 74px; background-image: url('cezmina.webp'); }
    #nivy-vianoce .advent-intro p { max-width: 410px; font-size: 17px; margin-top: 24px; }
    #nivy-vianoce .advent-intro h1 + p { margin-top: 28px; }
    .advent-guide { padding: 34px 24px; text-align: center; }
    .advent-guide-inner { display: block; max-width: 430px; }
    .advent-guide-copy { padding: 0; }
    #nivy-vianoce .advent-guide h2 { font-size: 26px; background-position: center; padding: 22px 0; }
    #nivy-vianoce .advent-steps { margin-top: 34px; }
    .advent-steps li { padding: 0; }
    .advent-steps li::before { position: static; width: 48px; height: 47px; margin: 0 auto 14px; }
    #nivy-vianoce .advent-steps h3 { font-size: 18px; }
    #nivy-vianoce .advent-steps p { font-size: 17px; margin-top: 17px; }
    .advent-guide-art { display: block; width: 86%; max-width: 340px; margin: 24px auto 0; }
    #nivy-vianoce .advent-note { font-size: 18px; padding: 24px 0; }
    .advent-calendar { padding: 32px 20px; text-align: center; }
    .advent-actions { flex-direction: column; align-items: center; }
    #nivy-vianoce .advent-rounds { grid-template-columns: repeat(2,minmax(0,1fr)); font-size: 17px; }
    .advent-mobile-stores { display: grid; justify-content: center; gap: 8px; margin: 20px 0 12px; }
}
