/*
 * MikulásGyár - publikus oldal.
 *
 * Visszafogott, nyomtatott anyagra emlékeztető arculat: papírszínű háttér,
 * a MikulásGyár pirosa, mélybordó sávok, vékony elválasztó vonalak, szögletes
 * formák. Árnyék, színátmenet és animáció nincs - a fotók és a szöveg viszik
 * az oldalt. Betűtípus mindenhol a Montserrat.
 */

:root {
    --red: #c9252c;
    --red-deep: #a51d23;
    --wine: #3a0d11;
    --paper: #fbf7f1;
    --sand: #f2eadf;
    --white: #ffffff;
    --ink: #1e1414;
    --muted: #6e5f5b;
    --line: #e2d6c6;
    --line-dark: rgba(255, 255, 255, .18);
    --green: #1f7a4d;
    --green-deep: #17603c;

    /* A sütisáv ezekre a nevekre hivatkozik. */
    --cream: var(--paper);
    --navy-2: var(--wine);
    --orange: var(--red);
    --radius: 4px;
    --radius-lg: 4px;

    --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
    --nav-h: 76px;
}

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

html {
    scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--red);
    text-underline-offset: 3px;
}

h1, h2, h3 {
    font-family: var(--font);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 .6em;
    color: var(--ink);
}

h1 { font-size: clamp(34px, 4.6vw, 58px); }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 18px; font-weight: 700; }

p {
    margin: 0 0 1em;
}

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link:focus {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    width: auto;
    height: auto;
    clip: auto;
    padding: 10px 16px;
    background: var(--white);
}

.wrap {
    width: min(1180px, 100% - 48px);
    margin-inline: auto;
}

.wrap--narrow {
    width: min(860px, 100% - 48px);
}

.lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 60ch;
}

.empty {
    padding: 28px 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.more {
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.more:hover {
    color: var(--red);
}

.more--light {
    color: var(--white);
}

.more--light:hover {
    color: var(--white);
    text-decoration-color: var(--white);
}

/* ---------------------------------------------------------------- fejléc */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.nav__inner {
    width: min(1280px, 100% - 40px);
    margin-inline: auto;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav__logo img {
    height: 46px;
    width: auto;
}

.nav__logo-text {
    font-weight: 800;
    font-size: 22px;
    color: var(--red);
}

.nav__links {
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav__links a {
    display: block;
    padding: 6px 0;
    color: var(--ink);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
    border-bottom-color: var(--red);
}

.nav__mobile {
    display: none;
}

.nav__toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    place-items: center;
}

.nav__toggle svg {
    width: 22px;
    height: 22px;
}

.nav__toggle [data-icon="close"],
.nav[data-open="true"] .nav__toggle [data-icon="open"] {
    display: none;
}

.nav[data-open="true"] .nav__toggle [data-icon="close"] {
    display: block;
}

.nav__backdrop {
    display: none;
}

/* ------------------------------------------------------------ nyomógomb */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: 2px solid var(--red);
    border-radius: var(--radius);
    background: var(--red);
    color: var(--white);
    font-family: var(--font);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}

.btn:hover {
    background: var(--red-deep);
    border-color: var(--red-deep);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn--sm {
    padding: 10px 18px;
    font-size: 14px;
}

.btn--green {
    background: var(--green);
    border-color: var(--green);
}

.btn--green:hover {
    background: var(--green-deep);
    border-color: var(--green-deep);
}

.btn--light {
    background: var(--white);
    border-color: var(--white);
    color: var(--red);
}

.btn--light:hover {
    background: var(--paper);
    border-color: var(--paper);
}

.btn--ghost,
.btn--outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.btn--ghost:hover,
.btn--outline:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.btn--ghost-light {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn--ghost-light:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}

/* ----------------------------------------------------------------- hero */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    color: var(--white);
    background: var(--wine);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(30, 8, 10, .82) 0%, rgba(30, 8, 10, .55) 50%, rgba(30, 8, 10, .15) 100%);
}

.hero__inner {
    width: min(1180px, 100% - 48px);
    margin-inline: auto;
    padding: 110px 0 72px;
}

.hero__meta {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--red);
    display: inline-block;
}

.hero h1 {
    color: var(--white);
    max-width: 16ch;
}

.hero__text {
    font-size: 18px;
    max-width: 52ch;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 30px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__open {
    margin: 28px 0 0;
    font-size: 15px;
    color: rgba(255, 255, 255, .85);
}

.notice-bar {
    display: block;
    margin: 0;
    background: var(--wine);
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

a.notice-bar:hover {
    text-decoration: underline;
}

/* -------------------------------------------------------------- számok */

.numbers {
    background: var(--red);
    color: var(--white);
}

.numbers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.numbers__grid > div {
    padding: 34px 28px;
    border-left: 1px solid rgba(255, 255, 255, .3);
}

.numbers__grid > div:first-child {
    border-left: 0;
    padding-left: 0;
}

.numbers strong {
    display: block;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.numbers span {
    display: block;
    margin-top: 8px;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
}

/* ---------------------------------------------------------- aloldal fej */

.page-head {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px);
}

.page-head h1 {
    margin-bottom: .3em;
}

.page-head p {
    font-size: 18px;
    color: var(--muted);
    max-width: 62ch;
    margin: 0;
}

/* -------------------------------------------------------------- szekció */

.section {
    padding: clamp(56px, 7vw, 96px) 0;
}

.section--tight {
    padding: clamp(40px, 5vw, 64px) 0;
}

.section--paper {
    background: var(--white);
}

.section--sand {
    background: var(--sand);
}

.section--wine {
    background: var(--wine);
    color: var(--white);
}

.section--wine h2,
.section--wine h3 {
    color: var(--white);
}

.section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.section__head h2 {
    margin: 0;
    max-width: 24ch;
}

.section__head .lead {
    margin: 12px 0 0;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.split--top {
    align-items: start;
}

.split--wide {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.photo {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--sand);
}

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

.photo--wide {
    aspect-ratio: 16 / 10;
}

/* ------------------------------------------------------------ eredmények */

.results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 56px;
}

.result {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 20px;
    align-items: baseline;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.result strong {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--red);
}

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

.section--wine .result {
    border-top-color: var(--line-dark);
}

.section--wine .result strong {
    color: var(--white);
}

.section--wine .result p {
    color: rgba(255, 255, 255, .75);
}

/* ------------------------------------------------------ gyűjtőpont lista */

.points {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--line);
}

.points li {
    display: grid;
    grid-template-columns: 1.3fr 1.5fr .9fr auto;
    gap: 8px 24px;
    align-items: baseline;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.points h3 {
    margin: 0;
    font-size: 17px;
}

.points span {
    color: var(--muted);
}

.points .points__date {
    color: var(--ink);
    font-weight: 600;
}

.points a {
    font-weight: 700;
    font-size: 15px;
}

/* --------------------------------------------------------- mit hozz */

.wishlist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.wishlist__group {
    padding-top: 18px;
    border-top: 3px solid var(--red);
}

.wishlist__group h3 {
    margin-bottom: 8px;
}

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

/* ------------------------------------------------------------- értékek */

.values {
    margin: 28px 0 32px;
    border-bottom: 1px solid var(--line);
}

.values > div {
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.values dt {
    font-weight: 700;
}

.values dd {
    margin: 2px 0 0;
    color: var(--muted);
}

/* ---------------------------------------------------------------- hírek */

.news {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.news__item {
    color: inherit;
    text-decoration: none;
}

.news__item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 14px;
}

.news__item time {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 4px;
}

.news__item h3 {
    margin: 0;
}

.news__item:hover h3 {
    text-decoration: underline;
    text-decoration-color: var(--red);
}

/* ------------------------------------------------------------- kártyák */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.card__img {
    aspect-ratio: 16 / 10;
    background: var(--sand);
    overflow: hidden;
}

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

.card__img--placeholder {
    display: grid;
    place-items: center;
    background: var(--sand);
}

.card__img--placeholder svg {
    width: 44px;
    height: 44px;
    color: var(--line);
}

.card__body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.card__meta {
    font-size: 14px;
    font-weight: 600;
    color: var(--red);
}

.card__body h3 {
    margin: 0;
}

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

.card__foot {
    margin-top: auto;
    padding-top: 14px;
}

.card__foot a {
    font-weight: 700;
}

.point {
    position: relative;
}

.point__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 4px 10px;
    border-radius: var(--radius);
    background: var(--red);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
}

.point__facts {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: grid;
    gap: 4px;
    font-size: 15px;
}

.point__facts li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.point__facts svg {
    width: 17px;
    height: 17px;
    flex: none;
    margin-top: 4px;
    color: var(--muted);
}

.box {
    padding: 26px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.box h3 {
    margin-bottom: 12px;
}

.box--wine {
    background: var(--wine);
    border-color: var(--wine);
    color: var(--white);
}

.box--wine h3 {
    color: var(--white);
}

.box--wine a {
    color: var(--white);
}

.box + .box {
    margin-top: 16px;
}

.sticky {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}

/* ---------------------------------------------------------- adományozás */

.donate {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.donate__card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.donate__card p {
    color: var(--muted);
}

.donate__card--main {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.donate__card--main h3 {
    color: var(--white);
}

.donate__card--main p {
    color: rgba(255, 255, 255, .88);
}

.amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 6px 0 12px;
}

.amounts label {
    position: relative;
}

.amounts input {
    position: absolute;
    opacity: 0;
}

.amounts span {
    display: block;
    padding: 11px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, .5);
    cursor: pointer;
}

.amounts input:checked + span {
    background: var(--white);
    color: var(--red);
    border-color: var(--white);
}

.amounts input:focus-visible + span {
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

.amount-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .5);
    margin-bottom: 16px;
}

.amount-custom input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-weight: 700;
    padding: 10px 0;
}

.amount-custom input::placeholder {
    color: rgba(255, 255, 255, .7);
}

.amount-custom input:focus {
    outline: none;
}

.donate__card--main .btn {
    margin-top: auto;
    width: 100%;
}

.bank {
    display: grid;
    gap: 0;
    margin: 4px 0 0;
}

.bank div {
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.bank dt {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.bank dd {
    margin: 2px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    word-break: break-word;
}

.copy {
    flex: none;
    border: 1px solid var(--line);
    padding: 5px 10px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.copy:hover {
    border-color: var(--ink);
}

.copy.is-done {
    color: var(--green);
    border-color: var(--green);
}

.big-number {
    font-size: 30px;
    font-weight: 800;
    color: var(--ink);
    margin: 4px 0 12px;
    font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------- CTA sáv */

.cta {
    padding: clamp(32px, 5vw, 56px);
    border-radius: var(--radius);
    background: var(--red);
    color: var(--white);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.cta p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    max-width: 58ch;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta--green {
    background: var(--green);
}

/* ------------------------------------------------------------- programok */

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

.event {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.event__date {
    display: grid;
    place-items: center;
    align-content: center;
    width: 76px;
    height: 76px;
    border: 2px solid var(--red);
    border-radius: var(--radius);
    color: var(--red);
    text-align: center;
    line-height: 1;
}

.event__date span {
    font-size: 13px;
    font-weight: 700;
}

.event__date strong {
    font-size: 30px;
    font-weight: 800;
}

.event__date svg {
    width: 30px;
    height: 30px;
}

.event h3 {
    margin: 0 0 4px;
}

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

.event__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 2px;
}

.event__img {
    width: 120px;
    height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
}

.pill {
    color: var(--green);
    font-weight: 700;
}

/* ------------------------------------------------------------ közlemény */

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

.press__item {
    border-top: 1px solid var(--line);
}

.press__item summary {
    list-style: none;
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
}

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

.press__item summary img {
    width: 140px;
    height: 94px;
    object-fit: cover;
    border-radius: var(--radius);
}

.press__item summary > span:empty {
    display: none;
}

.press__item summary h3 {
    margin: 2px 0 0;
}

.press__item summary:hover h3 {
    color: var(--red);
}

.press__chevron {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: var(--muted);
    transition: transform .2s;
}

.press__chevron svg {
    width: 22px;
    height: 22px;
}

.press__item[open] .press__chevron {
    transform: rotate(180deg);
}

.press__body {
    padding: 0 0 28px 162px;
}

/* --------------------------------------------------------- beszámolók */

.reports {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.report {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: inherit;
    text-decoration: none;
}

a.report:hover {
    border-color: var(--red);
}

.report__icon {
    color: var(--red);
    margin-bottom: 6px;
}

.report__icon svg {
    width: 26px;
    height: 26px;
}

.report strong {
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.report span {
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

a.report span:last-child {
    color: var(--red);
}

.report--soon {
    background: transparent;
    border-style: dashed;
}

.report--soon .report__icon {
    color: var(--muted);
}

/* ------------------------------------------------------------- galéria */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    grid-auto-flow: dense;
    gap: 6px;
}

.gallery button {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 2px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--sand);
    cursor: zoom-in;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .2s;
}

.gallery button:hover img {
    opacity: .88;
}

.gallery--feature > button:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery__item {
    position: relative;
}

.gallery__download {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 5px 10px;
    border-radius: 2px;
    background: var(--white);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(20, 6, 8, .94);
}

.lightbox.is-open {
    display: grid;
}

.lightbox img {
    max-width: min(1400px, 100%);
    max-height: 88vh;
}

.lightbox__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.videos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.video__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
}

.video__frame iframe,
.video__frame button {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video__frame button {
    padding: 0;
    cursor: pointer;
    background: #000;
}

.video__frame button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .85;
}

.video__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--red);
    display: grid;
    place-items: center;
}

.video__play svg {
    width: 26px;
    height: 26px;
    color: var(--white);
    margin-left: 4px;
}

.video h3 {
    margin: 12px 0 0;
}

/* ------------------------------------------------------------ partnerek */

.partners {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.partner {
    display: grid;
    place-items: center;
    min-height: 110px;
    padding: 20px;
    background: var(--white);
    color: var(--ink);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.partner img {
    max-height: 64px;
    width: auto;
    object-fit: contain;
}

/* ---------------------------------------------------------------- űrlap */

.form {
    display: grid;
    gap: 18px;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field label {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
}

.field label small {
    font-weight: 500;
    color: var(--muted);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbbcaa;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 16px;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid var(--red);
    outline-offset: -1px;
    border-color: var(--red);
}

.field__error {
    margin: 6px 0 0;
    color: var(--red);
    font-size: 14px;
    font-weight: 600;
}

.consent {
    display: flex !important;
    gap: 10px;
    align-items: flex-start;
    font-weight: 500 !important;
}

.consent input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--red);
    flex: none;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.notice {
    padding: 16px 20px;
    margin-bottom: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--red);
}

.notice--siker {
    border-left-color: var(--green);
}

/* -------------------------------------------------- folyószöveg (prose) */

.prose {
    font-size: 17px;
    max-width: 68ch;
}

.prose h2,
.prose h3 {
    margin-top: 1.5em;
}

.prose h3 {
    font-size: 20px;
}

.prose ul {
    padding-left: 1.2em;
    margin: 0 0 1.2em;
}

.prose li {
    margin-bottom: 6px;
}

.prose li::marker {
    color: var(--red);
}

.box .prose {
    font-size: 15px;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.contact-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-list svg {
    width: 20px;
    height: 20px;
    flex: none;
    margin-top: 3px;
    color: currentColor;
    opacity: .7;
}

.contact-list small {
    display: block;
    font-size: 13px;
    font-weight: 600;
    opacity: .7;
}

.contact-list a {
    font-weight: 700;
    word-break: break-word;
}

/* --------------------------------------------------------------- lábléc */

.footer {
    background: var(--wine);
    color: rgba(255, 255, 255, .75);
    padding: 64px 0 28px;
    font-size: 15px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 40px;
}

.footer__logo {
    width: 180px;
    margin-bottom: 18px;
}

.footer h4 {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 14px;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
}

.footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer__org {
    line-height: 1.7;
}

.social {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}

.social a {
    display: block;
}

.social svg {
    width: 22px;
    height: 22px;
    fill: rgba(255, 255, 255, .85);
}

.social a:hover svg {
    fill: var(--white);
}

.footer__bottom {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--line-dark);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, .55);
}

/* ---------------------------------------------------------------- 404 */

.notfound {
    position: relative;
    isolation: isolate;
    min-height: 64vh;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--white);
    background: var(--wine) center / cover no-repeat;
    padding: 80px 0;
}

.notfound::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(30, 8, 10, .82);
}

.notfound__code {
    font-size: clamp(80px, 14vw, 150px);
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

.notfound h1 {
    color: var(--white);
    font-size: clamp(28px, 3.6vw, 42px);
}

.notfound__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

/* ------------------------------------------------------------ sütisáv */

.cookiebar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 150;
    padding: 0 16px 16px;
}

.cookiebar[hidden] {
    display: none;
}

.cookiebar__card {
    width: min(760px, 100%);
    margin-inline: auto;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--navy-2);
    border: 3px dashed var(--orange);
    box-shadow: 0 24px 48px rgba(50, 6, 24, 0.5);
}

.cookiebar__title {
    font-size: clamp(24px, 3.6vw, 32px);
    color: var(--cream);
}

.cookiebar__card > p {
    max-width: 62ch;
    margin: 12px 0 0;
    font-size: 15px;
    color: var(--muted);
}

.cookiebar__groups {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.cookiebar__group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: rgba(50, 6, 24, 0.4);
    cursor: pointer;
}

.cookiebar__group input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex: none;
    accent-color: var(--orange);
}

.cookiebar__group input:disabled {
    cursor: default;
}

.cookiebar__group strong {
    display: block;
    margin-bottom: 3px;
    font-size: 15px;
    color: var(--cream);
}

.cookiebar__group em {
    margin-left: 6px;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
}

.cookiebar__group span {
    font-size: 14px;
    color: var(--muted);
}

.cookiebar__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

/* Harmadik, visszafogott gomb: keret, tömör felület nélkül. */
.btn--outline {
    background: transparent;
    color: var(--cream);
    box-shadow: inset 0 0 0 2px rgba(255, 243, 230, 0.4);
}

.btn--outline:hover,
.btn--outline:focus-visible {
    background: rgba(255, 243, 230, 0.1);
    box-shadow: inset 0 0 0 2px rgba(255, 243, 230, 0.7);
    transform: none;
}

.cookiebar__link {
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
    color: var(--cream);
    text-underline-offset: 4px;
}

@media (max-width: 620px) {
    .cookiebar__link {
        margin-left: 0;
    }
}


/* ------------------------------------------------------------- reszponzív */

@media (max-width: 1100px) {
    .nav__links {
        gap: 18px;
    }

    .nav__links a {
        font-size: 14px;
    }
}

@media (max-width: 980px) {
    :root {
        --nav-h: 66px;
    }

    .nav__logo img {
        height: 40px;
    }

    .nav__toggle {
        display: grid;
    }

    .nav__cta {
        display: none;
    }

    .nav__links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        z-index: 2;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px 20px 20px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
    }

    .nav[data-open="true"] .nav__links {
        display: flex;
    }

    .nav__links li {
        border-bottom: 1px solid var(--line);
    }

    .nav__links a {
        padding: 14px 0;
        font-size: 17px;
        border-bottom: 0;
    }

    .nav__links .nav__mobile {
        display: block;
        border-bottom: 0;
        padding-top: 16px;
    }

    .nav__mobile .btn {
        width: 100%;
        padding: 14px;
    }

    .nav__backdrop {
        position: fixed;
        inset: var(--nav-h) 0 0;
        background: rgba(20, 6, 8, .35);
    }

    .nav[data-open="true"] .nav__backdrop {
        display: block;
    }

    .split,
    .split--wide {
        grid-template-columns: 1fr;
    }

    .split--reverse > .photo {
        order: 2;
    }

    .sticky {
        position: static;
    }

    .cta {
        grid-template-columns: 1fr;
    }

    .results {
        grid-template-columns: 1fr;
    }

    .points li {
        grid-template-columns: 1fr auto;
    }

    .points li > span {
        grid-column: 1;
    }

    .points li > a {
        grid-column: 2;
        grid-row: 1;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .wrap,
    .wrap--narrow,
    .hero__inner {
        width: calc(100% - 32px);
    }

    .hero {
        min-height: 540px;
    }

    .hero::before {
        background: linear-gradient(180deg, rgba(30, 8, 10, .35) 0%, rgba(30, 8, 10, .88) 65%);
    }

    .hero__inner {
        padding: 160px 0 48px;
    }

    .hero__actions .btn {
        flex: 1 1 100%;
    }

    .numbers__grid > div {
        padding: 22px 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .3);
    }

    .numbers__grid > div:first-child {
        border-top: 0;
    }

    .result {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .form__row {
        grid-template-columns: 1fr;
    }

    .event {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 16px;
    }

    .event__date {
        width: 64px;
        height: 64px;
    }

    .event__date strong {
        font-size: 24px;
    }

    .event__img {
        display: none;
    }

    .press__item summary {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .press__item summary img {
        display: none;
    }

    .press__body {
        padding: 0 0 24px;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
    }

    .gallery--feature > button:first-child {
        grid-row: span 1;
    }

    .videos {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cta__actions .btn {
        flex: 1 1 100%;
    }
}
