:root {
    --maffen-red: #c62835;
    --maffen-red-dark: #9f1f2a;
    --maffen-blue: #1769aa;
    --maffen-blue-dark: #104f83;
    --maffen-ink: #17212b;
    --maffen-muted: #5b6876;
    --maffen-line: #d9e1ea;
    --maffen-soft: #f4f7fa;
    --maffen-soft-red: #fff3f4;
    --maffen-soft-blue: #eef7ff;
    --maffen-white: #ffffff;
    --maffen-header-height: 64px;
    --maffen-radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--maffen-ink);
}

body.maffen-homepage-page {
    overflow-x: hidden;
}

body .wp-site-blocks {
    padding-top: 0;
}

body .wp-site-blocks > header,
body header.wp-block-template-part {
    border-bottom: 1px solid var(--maffen-line);
    background: rgba(255, 255, 255, 0.96);
    position: sticky;
    top: 0;
    z-index: 50;
}

body .wp-site-blocks > header > *,
body header.wp-block-template-part > * {
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    padding: 14px 22px;
}

body header .wp-block-site-title,
body header .wp-block-site-title a {
    color: var(--maffen-ink);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-decoration: none;
}

body header .wp-block-navigation {
    font-size: 0.96rem;
    font-weight: 650;
}

body header .wp-block-navigation a {
    color: var(--maffen-ink);
    text-decoration: none;
}

body header .wp-block-navigation a:hover,
body header .wp-block-navigation a:focus {
    color: var(--maffen-red);
}

body footer.wp-block-template-part,
body .wp-site-blocks > footer {
    border-top: 1px solid var(--maffen-line);
    background: #101820;
    color: var(--maffen-white);
}

body footer.wp-block-template-part a,
body .wp-site-blocks > footer a {
    color: var(--maffen-white);
}

.maffen-homepage-page .wp-site-blocks > header,
.maffen-homepage-page header.wp-block-template-part,
.maffen-homepage-page .wp-site-blocks > footer,
.maffen-homepage-page footer.wp-block-template-part {
    display: none;
}

.maffen-homepage-front main .wp-block-post-title,
.maffen-homepage-front .entry-title,
.maffen-homepage-front h1.wp-block-post-title {
    display: none !important;
}

.maffen-homepage {
    background: var(--maffen-white);
    color: var(--maffen-ink);
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: none !important;
    overflow: clip;
    width: 100vw;
}

.maffen-homepage * {
    box-sizing: border-box;
}

.maffen-homepage a {
    text-underline-offset: 0.18em;
}

.maffen-homepage > *,
.maffen-homepage .maffen-page-header,
.maffen-homepage .maffen-hero,
.maffen-homepage .maffen-section,
.maffen-homepage .maffen-content-footer {
    max-width: none !important;
    width: 100%;
}

.maffen-page-header-inner,
.maffen-hero > .maffen-hero-grid,
.maffen-section > .wp-block-heading,
.maffen-section > .maffen-section-subtitle,
.maffen-section > .wp-block-columns,
.maffen-section > .wp-block-group,
.maffen-section > .maffen-flow-grid,
.maffen-section > p,
.maffen-content-footer-inner {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1160px !important;
}

.maffen-page-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--maffen-line);
    box-shadow: 0 8px 24px rgba(23, 33, 43, 0.06);
    min-height: var(--maffen-header-height);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 900;
}

body.admin-bar .maffen-page-header {
    top: 32px;
}

.maffen-page-header-inner {
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1160px;
    min-height: var(--maffen-header-height);
    padding: 6px 22px;
    width: 100%;
}

.maffen-page-logo {
    flex: 0 0 auto;
    margin: 0;
}

.maffen-page-logo a {
    align-items: center;
    color: var(--maffen-ink);
    display: inline-flex;
    font-size: 1.42rem !important;
    font-weight: 850;
    gap: 9px;
    line-height: 1 !important;
    text-decoration: none;
}

.maffen-header-logo .custom-logo,
.maffen-page-header .custom-logo,
.maffen-fallback-logo {
    display: block;
    height: auto;
    max-height: 40px;
    max-width: 112px;
    object-fit: contain;
    width: auto;
}

.maffen-header-title {
    display: inline-block;
    white-space: nowrap;
}

.maffen-page-nav {
    align-items: center;
    display: flex;
    font-size: 0.94rem;
    font-weight: 750;
    margin-left: auto;
    min-width: 0;
}

.maffen-page-nav .wp-block-navigation__container {
    column-gap: 8px;
    row-gap: 4px;
}

.maffen-page-nav a {
    color: var(--maffen-ink);
    border-radius: 999px;
    padding: 7px 9px;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.maffen-page-nav a:hover,
.maffen-page-nav a:focus {
    background: var(--maffen-soft-red);
    color: var(--maffen-red);
}

.maffen-homepage [id] {
    scroll-margin-top: 82px;
}

body.admin-bar .maffen-homepage [id] {
    scroll-margin-top: 114px;
}

.maffen-hero,
.maffen-section {
    padding: 72px 22px;
}

.maffen-hero {
    background:
        radial-gradient(circle at 8% 12%, rgba(198, 40, 53, 0.12), transparent 32%),
        radial-gradient(circle at 88% 10%, rgba(23, 105, 170, 0.13), transparent 34%),
        linear-gradient(135deg, rgba(255, 247, 248, 0.95), rgba(242, 248, 253, 0.95)),
        var(--maffen-white);
    border-bottom: 1px solid var(--maffen-line);
    padding-top: 72px;
    padding-bottom: 72px;
}

.maffen-hero-grid,
.maffen-two-col {
    gap: 36px;
}

.maffen-hero-grid,
.maffen-two-col,
.maffen-card-grid,
.maffen-tournament-grid,
.maffen-screenshot-grid {
    display: grid !important;
}

.maffen-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.maffen-two-col {
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
}

.maffen-interest-section .maffen-two-col {
    grid-template-columns: minmax(330px, 0.75fr) minmax(520px, 1.25fr);
}

.maffen-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.maffen-tournament-grid,
.maffen-screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.maffen-homepage .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: auto !important;
}

.maffen-eyebrow,
.maffen-panel-label,
.maffen-status-label {
    color: var(--maffen-red);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.3;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.maffen-homepage h1,
.maffen-homepage h2,
.maffen-homepage h3 {
    color: var(--maffen-ink);
    letter-spacing: 0;
    line-height: 1.12;
    margin-bottom: 0.75rem;
    margin-top: 0;
    overflow-wrap: normal;
    word-break: normal;
}

.maffen-homepage h1 {
    font-size: 3.55rem !important;
    line-height: 1.08;
    max-width: 820px;
}

.maffen-homepage h2 {
    font-size: 2.45rem !important;
    line-height: 1.14;
    max-width: 820px;
}

.maffen-homepage h3 {
    font-size: 1.3rem !important;
    margin-bottom: 10px;
}

.maffen-homepage p,
.maffen-homepage li {
    color: var(--maffen-muted);
    font-size: 1.03rem !important;
    line-height: 1.7;
    overflow-wrap: normal;
    word-break: normal;
}

.maffen-homepage p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.maffen-homepage p:last-child {
    margin-bottom: 0;
}

.maffen-section > .wp-block-heading {
    margin-bottom: 14px !important;
}

.maffen-section > .wp-block-heading + p,
.maffen-section > .wp-block-heading + .wp-block-columns,
.maffen-section > .wp-block-heading + .wp-block-group {
    margin-top: 0 !important;
}

.maffen-section > .wp-block-columns,
.maffen-section > .wp-block-group {
    margin-bottom: 0 !important;
}

.maffen-lead,
.maffen-section-intro,
.maffen-section-subtitle,
.maffen-tournament-fit {
    max-width: 840px !important;
}

.maffen-section-subtitle {
    color: var(--maffen-ink) !important;
    font-size: 1.18rem !important;
    font-weight: 800;
    line-height: 1.45 !important;
    margin: 0 auto 2rem !important;
}

.maffen-tournament-fit {
    background: var(--maffen-white);
    border: 1px solid var(--maffen-line);
    border-left: 4px solid var(--maffen-red);
    border-radius: var(--maffen-radius);
    color: var(--maffen-muted) !important;
    font-size: 1.02rem !important;
    line-height: 1.6 !important;
    margin: 0 auto 26px !important;
    padding: 16px 18px;
}

.maffen-lead {
    font-size: 1.12rem !important;
    line-height: 1.68;
}

.maffen-button-row {
    gap: 12px;
    margin-top: 28px;
}

.maffen-button .wp-block-button__link,
.maffen-submit-button {
    border: 1px solid transparent;
    border-radius: 999px;
    box-shadow: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.15;
    min-height: 46px;
    padding: 13px 20px;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
    white-space: normal;
}

.maffen-button-primary .wp-block-button__link,
.maffen-submit-button {
    background: var(--maffen-red);
    color: var(--maffen-white);
}

.maffen-button-primary .wp-block-button__link:hover,
.maffen-button-primary .wp-block-button__link:focus,
.maffen-submit-button:hover,
.maffen-submit-button:focus {
    background: var(--maffen-red-dark);
    color: var(--maffen-white);
}

.maffen-button-secondary .wp-block-button__link {
    background: var(--maffen-blue);
    color: var(--maffen-white);
}

.maffen-button-secondary .wp-block-button__link:hover,
.maffen-button-secondary .wp-block-button__link:focus {
    background: var(--maffen-blue-dark);
    color: var(--maffen-white);
}

.maffen-button-link .wp-block-button__link {
    background: var(--maffen-white);
    border-color: var(--maffen-line);
    color: var(--maffen-ink);
}

.maffen-button-link .wp-block-button__link:hover,
.maffen-button-link .wp-block-button__link:focus {
    border-color: var(--maffen-red);
    color: var(--maffen-red);
}

.maffen-hero-panel {
    background: var(--maffen-white);
    border: 1px solid var(--maffen-line);
    border-radius: var(--maffen-radius);
    box-shadow: 0 18px 50px rgba(23, 33, 43, 0.10);
    overflow: hidden;
    padding: 30px;
    position: relative;
}

.maffen-platform-visual::after {
    background: linear-gradient(90deg, var(--maffen-red), var(--maffen-blue));
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.maffen-hero-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.maffen-hero-list li {
    border-top: 1px solid var(--maffen-line);
    margin: 0;
    padding: 16px 0 16px 32px;
    position: relative;
}

.maffen-hero-list li::before {
    background: var(--maffen-blue);
    border-radius: 999px;
    color: var(--maffen-white);
    content: "";
    height: 10px;
    left: 7px;
    position: absolute;
    top: 27px;
    width: 10px;
}

.maffen-mini-screen {
    background: #f8fafc;
    border: 1px solid var(--maffen-line);
    border-radius: var(--maffen-radius);
    margin-top: 18px;
    min-height: 96px;
    padding: 18px;
    position: relative;
}

.maffen-mini-screen::before {
    background:
        linear-gradient(var(--maffen-line), var(--maffen-line)) 0 0 / 100% 1px no-repeat,
        linear-gradient(90deg, var(--maffen-red) 0 28%, var(--maffen-blue) 28% 68%, #8aa0b5 68%) 0 0 / 100% 9px no-repeat;
    border-radius: var(--maffen-radius) var(--maffen-radius) 0 0;
    content: "";
    height: 38px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.maffen-mini-screen p {
    color: var(--maffen-ink);
    font-size: 0.96rem !important;
    font-weight: 750;
    margin: 34px 0 0;
}

.maffen-card-grid,
.maffen-tournament-grid,
.maffen-screenshot-grid,
.maffen-flow-grid {
    gap: 20px;
}

.maffen-screenshot-grid {
    align-items: stretch;
}

.maffen-organizer-screenshot-grid {
    margin-top: 22px !important;
}

.maffen-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.maffen-flow-card {
    background: var(--maffen-white);
    border: 1px solid var(--maffen-line);
    border-radius: var(--maffen-radius);
    box-shadow: 0 10px 28px rgba(23, 33, 43, 0.05);
    min-height: 148px;
    padding: 22px;
    position: relative;
}

.maffen-flow-card::before {
    background: var(--maffen-red);
    border-radius: 999px;
    content: "";
    height: 10px;
    left: 22px;
    position: absolute;
    top: 22px;
    width: 10px;
}

.maffen-flow-card:nth-child(2)::before {
    background: var(--maffen-blue);
}

.maffen-flow-card:nth-child(3)::before {
    background: #0f766e;
}

.maffen-flow-card strong {
    color: var(--maffen-ink);
    display: block;
    font-size: 1.05rem;
    line-height: 1.2;
    margin: 22px 0 8px;
}

.maffen-flow-card span {
    color: var(--maffen-muted);
    display: block;
    font-size: 0.96rem;
    line-height: 1.5;
}

.maffen-card {
    background: var(--maffen-white);
    border: 1px solid var(--maffen-line);
    border-radius: var(--maffen-radius);
    min-height: 100%;
    padding: 26px;
}

.maffen-card p {
    font-size: 1rem !important;
}

.maffen-card-red {
    background: linear-gradient(180deg, var(--maffen-soft-red), var(--maffen-white));
    border-color: #f1c9ce;
}

.maffen-card-blue {
    background: linear-gradient(180deg, var(--maffen-soft-blue), var(--maffen-white));
    border-color: #bdd8ef;
}

.maffen-card-icon {
    align-items: center;
    background: var(--maffen-ink);
    border-radius: 999px;
    color: var(--maffen-white) !important;
    display: inline-flex;
    font-size: 0.78rem !important;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    line-height: 1;
    margin: 0 0 18px;
    width: 34px;
}

.maffen-band,
.maffen-band-light {
    border-bottom: 1px solid var(--maffen-line);
    border-top: 1px solid var(--maffen-line);
}

.maffen-band {
    background: #f8fafc;
}

.maffen-band-light {
    background: var(--maffen-soft);
}

.maffen-emphasis {
    background: var(--maffen-white);
    border-left: 5px solid var(--maffen-red);
    border-radius: var(--maffen-radius);
    color: var(--maffen-ink) !important;
    font-weight: 750;
    margin-top: 28px;
    padding: 18px 20px;
}

.maffen-screenshot-placeholder {
    align-items: center;
    aspect-ratio: 16 / 10;
    background:
        linear-gradient(135deg, rgba(198, 40, 53, 0.08), rgba(23, 105, 170, 0.10)),
        var(--maffen-soft);
    border: 1px solid #c7d3df;
    border-radius: var(--maffen-radius);
    display: flex;
    justify-content: center;
    min-height: 150px;
    overflow: hidden;
    padding: 54px 18px 20px;
    position: relative;
    text-align: center;
}

.maffen-screenshot-placeholder::before {
    background:
        radial-gradient(circle, #d44350 0 3px, transparent 4px) 16px 15px / 12px 12px no-repeat,
        radial-gradient(circle, #f4b340 0 3px, transparent 4px) 32px 15px / 12px 12px no-repeat,
        radial-gradient(circle, #1f7ab8 0 3px, transparent 4px) 48px 15px / 12px 12px no-repeat,
        linear-gradient(#ffffff, #ffffff);
    border-bottom: 1px solid #c7d3df;
    content: "";
    height: 38px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.maffen-screenshot-placeholder p {
    color: var(--maffen-ink);
    font-weight: 800;
    margin: 0;
}

.maffen-screenshot-card {
    background: var(--maffen-white);
    border: 1px solid var(--maffen-line);
    border-radius: var(--maffen-radius);
    box-shadow: 0 12px 30px rgba(23, 33, 43, 0.06);
    min-height: 100%;
    padding: 18px;
}

.maffen-screenshot-card h3 {
    font-size: 1.05rem !important;
    margin-bottom: 6px;
}

.maffen-screenshot-card > p {
    font-size: 0.92rem !important;
    line-height: 1.45;
    margin-bottom: 14px;
}

.maffen-feature-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px !important;
}

.maffen-feature-grid p {
    background: var(--maffen-white);
    border: 1px solid var(--maffen-line);
    border-radius: var(--maffen-radius);
    color: var(--maffen-ink);
    font-size: 0.98rem !important;
    font-weight: 700;
    line-height: 1.42;
    margin: 0;
    min-height: 72px;
    padding: 15px 16px 15px 42px;
    position: relative;
}

.maffen-feature-grid p .maffen-feature-title {
    color: var(--maffen-ink);
    display: block;
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 7px;
}

.maffen-feature-grid p span {
    color: var(--maffen-muted);
    display: block;
    font-size: 0.9rem;
    font-weight: 550;
    line-height: 1.45;
}

.maffen-feature-grid p::before {
    background: var(--maffen-red);
    border-radius: 999px;
    content: "";
    height: 10px;
    left: 18px;
    position: absolute;
    top: 22px;
    width: 10px;
}

.maffen-feature-grid p:nth-child(even)::before {
    background: var(--maffen-blue);
}

.maffen-status-label {
    background: var(--maffen-soft-blue);
    border: 1px solid #bdd8ef;
    border-radius: 999px;
    color: var(--maffen-blue-dark);
    display: inline-flex;
    margin-bottom: 16px;
    padding: 6px 10px;
}

.maffen-interest-section {
    padding-bottom: 64px;
}

.maffen-cost-note {
    background: #f8fafc;
    border: 1px solid var(--maffen-line);
    border-left: 4px solid var(--maffen-blue);
    border-radius: var(--maffen-radius);
    color: var(--maffen-muted) !important;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin-top: 20px;
    padding: 14px 16px;
}

.maffen-interest-form {
    background: var(--maffen-white);
    border: 1px solid var(--maffen-line);
    border-radius: var(--maffen-radius);
    box-shadow: 0 18px 46px rgba(23, 33, 43, 0.08);
    padding: 28px;
    position: relative;
}

.maffen-interest-form::before {
    color: var(--maffen-muted);
    content: "Vrijblijvende belangstelling";
    display: block;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.maffen-form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.maffen-form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.maffen-form-field-wide {
    grid-column: 1 / -1;
}

.maffen-form-field label {
    color: var(--maffen-ink);
    font-size: 0.92rem !important;
    font-weight: 800;
    line-height: 1.25;
}

.maffen-form-field label span {
    color: var(--maffen-red);
}

.maffen-form-field input,
.maffen-form-field select,
.maffen-form-field textarea {
    background: #fbfcfe;
    border: 1px solid #b8c4d1;
    border-radius: var(--maffen-radius);
    color: var(--maffen-ink);
    font-family: inherit;
    font-size: 1rem !important;
    line-height: 1.35;
    min-height: 44px;
    padding: 11px 12px;
    width: 100%;
}

.maffen-form-field textarea {
    resize: vertical;
}

.maffen-form-field input:focus,
.maffen-form-field select:focus,
.maffen-form-field textarea:focus {
    border-color: var(--maffen-blue);
    box-shadow: 0 0 0 3px rgba(23, 105, 170, 0.18);
    outline: none;
}

.maffen-submit-button {
    border: 0;
    margin-top: 20px;
    width: auto;
}

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

.maffen-form-message {
    border-radius: var(--maffen-radius);
    font-weight: 700;
    margin-bottom: 18px;
    padding: 16px 18px;
}

.maffen-form-message p,
.maffen-form-message li {
    color: inherit;
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.maffen-form-message ul {
    margin-bottom: 0;
}

.maffen-form-message-success {
    background: #edf8f1;
    border: 1px solid #b8dfc4;
    color: #145b2e;
}

.maffen-form-message-error {
    background: #fff2f2;
    border: 1px solid #efb5b5;
    color: #8f1c1c;
}

.maffen-content-footer {
    background: #101820;
    color: var(--maffen-white);
    padding: 24px 22px;
}

.maffen-content-footer-inner {
    gap: 16px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1160px;
    width: 100%;
}

.maffen-footer-brand,
.maffen-footer-tagline,
.maffen-footer-version {
    color: var(--maffen-white) !important;
    margin: 0;
}

.maffen-footer-brand {
    font-size: 1.1rem !important;
    font-weight: 850;
    line-height: 1.2 !important;
}

.maffen-footer-tagline {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
}

.maffen-footer-version {
    color: rgba(255, 255, 255, 0.48) !important;
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    margin-top: 6px;
}

.maffen-footer-version-fallback {
    color: var(--maffen-muted) !important;
    display: block;
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    margin: 14px 22px;
    text-align: center;
}

.maffen-content-footer .maffen-footer-version-fallback {
    color: rgba(255, 255, 255, 0.48) !important;
    margin: 6px 0 0;
    text-align: left;
}

.maffen-footer-nav {
    font-size: 0.9rem;
    gap: 14px;
}

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

.maffen-footer-nav a:hover,
.maffen-footer-nav a:focus {
    color: var(--maffen-white);
}

@media (max-width: 900px) {
    body .wp-site-blocks > header > *,
    body header.wp-block-template-part > * {
        padding: 12px 18px;
    }

    body header .wp-block-site-title,
    body header .wp-block-site-title a {
        font-size: 1.2rem;
    }

    .maffen-hero,
    .maffen-section {
        padding: 60px 18px;
    }

    .maffen-homepage h1 {
        font-size: 3rem !important;
    }

    .maffen-homepage h2 {
        font-size: 2.15rem !important;
    }

    .maffen-page-header-inner {
        min-height: 60px;
        padding: 4px 18px;
    }

    .maffen-hero-grid,
    .maffen-two-col,
    .maffen-interest-section .maffen-two-col {
        grid-template-columns: 1fr;
    }

    .maffen-card-grid,
    .maffen-tournament-grid,
    .maffen-screenshot-grid,
    .maffen-flow-grid,
    .maffen-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 782px) {
    body.admin-bar .maffen-page-header {
        top: 46px;
    }
}

@media (max-width: 700px) {
    .maffen-hero,
    .maffen-section {
        padding: 44px 18px;
    }

    .maffen-homepage h1 {
        font-size: 2.35rem !important;
    }

    .maffen-homepage h2 {
        font-size: 1.85rem !important;
    }

    .maffen-section-subtitle {
        margin-bottom: 1.5rem !important;
    }

    .maffen-hero-grid,
    .maffen-two-col,
    .maffen-card-grid,
    .maffen-tournament-grid,
    .maffen-screenshot-grid,
    .maffen-flow-grid {
        gap: 16px;
        grid-template-columns: 1fr;
    }

    .maffen-button-row,
    .maffen-button-row .wp-block-button,
    .maffen-button .wp-block-button__link {
        width: 100%;
    }

    .maffen-feature-grid,
    .maffen-form-grid {
        grid-template-columns: 1fr;
    }

    .maffen-hero-panel,
    .maffen-card,
    .maffen-interest-form {
        padding: 20px;
    }

    .maffen-submit-button {
        width: 100%;
    }

    .maffen-content-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .maffen-page-header {
        position: sticky;
    }

    .maffen-page-header-inner {
        flex-wrap: nowrap !important;
        min-height: 56px;
        padding: 4px 14px;
    }

    .maffen-page-logo a {
        font-size: 1.25rem !important;
    }

    .maffen-header-logo .custom-logo,
    .maffen-page-header .custom-logo,
    .maffen-fallback-logo {
        max-height: 34px;
        max-width: 96px;
    }

    .maffen-footer-nav {
        width: 100%;
    }

    .maffen-page-nav {
        flex: 0 0 auto;
        width: auto;
    }

    .maffen-page-nav .wp-block-navigation__container {
        gap: 4px;
    }
}

@media (max-width: 430px) {
    .maffen-hero,
    .maffen-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .maffen-page-logo a {
        font-size: 1.16rem !important;
        gap: 7px;
    }

    .maffen-homepage h1 {
        font-size: 2.1rem !important;
    }

    .maffen-homepage h2 {
        font-size: 1.72rem !important;
    }

    .maffen-header-logo .custom-logo,
    .maffen-page-header .custom-logo,
    .maffen-fallback-logo {
        max-height: 30px;
        max-width: 84px;
    }

    .maffen-hero,
    .maffen-section {
        padding-left: 16px;
        padding-right: 16px;
    }
}
