:root {
    --fma-shadow: 0 18px 55px rgba(23, 33, 43, 0.10);
    --fma-border: #e7eaee;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

.wp-site-blocks { overflow: clip; }
.fma-section { padding-block: clamp(4rem, 7vw, 7rem); }
.fma-section-tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.fma-eyebrow {
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.fma-card {
    height: 100%;
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid var(--fma-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(23,33,43,.02);
}
.fma-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fma-shadow);
}
.fma-card, .wp-element-button {
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.wp-element-button:hover { transform: translateY(-2px); }
.fma-hero {
    min-height: min(840px, 88vh);
    display: grid;
    align-items: center;
}
.fma-hero .wp-block-cover__inner-container { width: 100%; }
.fma-hero-copy { max-width: 790px; }
.fma-hero-copy p { max-width: 650px; }
.fma-number {
    font-size: clamp(2rem, 6vw, 4.4rem);
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1;
}
.fma-qr img { border-radius: 14px; }
.fma-copy-status { min-height: 1.5em; font-size: .9rem; }
.fma-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(23,33,43,.08);
}
.fma-logo-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #d92d2d;
    color: #fff;
    font-weight: 900;
}
.fma-news-card .wp-block-post-featured-image img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.fma-news-card {
    border: 1px solid var(--fma-border);
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
}
.fma-news-card .wp-block-group { padding: 1.25rem; }
.fma-footer a { color: inherit; }
.fma-skip-link {
    position: fixed;
    left: 1rem;
    top: -100px;
    z-index: 9999;
}
.fma-skip-link:focus { top: 1rem; }

@media (max-width: 781px) {
    .fma-header .wp-block-navigation__responsive-container.is-menu-open {
        padding: 1.5rem;
    }
    .fma-hero { min-height: 720px; }
    .fma-number { overflow-wrap: anywhere; }
}

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

.fma-stat-number {
    margin-bottom: .25rem;
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
}
.fma-partner-grid { margin-top: 2rem; }
.fma-partner-placeholder {
    min-height: 110px;
    padding: 1rem;
    border: 1px dashed #c9ced6;
    border-radius: 16px;
    color: #667085;
    background: #f8f9fa;
}
.fma-search-result {
    padding-block: 1.5rem;
    border-bottom: 1px solid var(--fma-border);
}
.fma-404 { min-height: 55vh; justify-content: center; }

/* Fluent Forms Free alapstílusok */
.fluentform .ff-el-form-control {
    width: 100%;
    min-height: 48px;
    padding: .8rem 1rem;
    border: 1px solid #cfd4dc;
    border-radius: 12px;
    background: #fff;
    color: #17212b;
    font: inherit;
}
.fluentform textarea.ff-el-form-control { min-height: 150px; }
.fluentform .ff-el-form-control:focus {
    border-color: #2e7d5b;
    outline: 3px solid rgba(46,125,91,.18);
}
.fluentform .ff-btn-submit {
    padding: .85rem 1.35rem;
    border: 0;
    border-radius: 999px;
    background: #d92d2d;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
.fluentform label { font-weight: 700; }
.fluentform .ff-el-is-error .ff-el-form-control { border-color: #b42318; }

.fma-cookie-notice {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 9998;
}
.fma-cookie-notice__inner {
    width: min(760px, 100%);
    margin-inline: auto;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;
    background: #17212b;
    color: #fff;
    box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.fma-cookie-notice__inner p { margin: 0; }
.fma-cookie-notice__actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: .8rem;
}
.fma-cookie-notice__actions a { color: #fff; }

:focus-visible {
    outline: 3px solid #f2b705;
    outline-offset: 3px;
}
::selection {
    background: #17212b;
    color: #fff;
}
.is-style-fma-secondary .wp-block-button__link {
    border: 2px solid currentColor;
    background: transparent;
    color: #d92d2d;
}
.is-style-fma-card {
    height: 100%;
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid var(--fma-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(23,33,43,.02);
}
.is-style-fma-soft-image img {
    border-radius: 22px;
    box-shadow: var(--fma-shadow);
}
.wp-block-navigation-item__content {
    text-underline-offset: .25em;
}
.wp-block-navigation-item__content:hover,
.wp-block-navigation-item__content:focus-visible {
    text-decoration: underline;
}
.wp-block-post-excerpt__more-link {
    font-weight: 800;
}
.fma-article-meta {
    color: #667085;
    font-size: .95rem;
}

.fma-nav-cta > .wp-block-navigation-item__content {
    padding: .65rem 1rem;
    border-radius: 999px;
    background: #d92d2d;
    color: #fff !important;
    text-decoration: none !important;
}

.fma-form-setup-message,
.fma-form-unavailable {
    padding: 1rem;
    border: 1px solid #e7aa2d;
    border-radius: 12px;
    background: #fff8e6;
    color: #6b4600;
}
.fma-legal-content h2 {
    margin-top: 2.5rem;
}
@media print {
    .fma-header,
    .fma-cookie-notice,
    .wp-block-navigation,
    .wp-block-post-navigation-link {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
        font-size: 11pt;
    }
    a {
        color: #000;
        text-decoration: underline;
    }
    .fma-section,
    .fma-section-tight {
        padding-block: 1.5rem;
    }
}
