/* One layout system for native WordPress, Elementor and plugin content. */
:root{--content-gap:64px;--red-dark:#a4171c;--red-deep:var(--ink);--gray-50:var(--paper);--gray-100:#ebece3;--gray-200:var(--line);--gray-500:var(--muted);--gray-700:var(--muted);--gray-900:var(--ink);--radius-sm:3px;--radius-md:3px;--radius-lg:3px}
body.unified-layout{background:var(--paper);color:var(--ink);font-family:var(--mengede-body)}
/* Shell, heading and breadcrumb dimensions are shared by every page type. */
.container{max-width:1440px;margin-inline:auto;padding-inline:var(--gutter)}
.topic-intro,.page-intro,.rental-hero{padding-top:35px}
.topic-breadcrumbs{margin-bottom:28px;overflow-wrap:anywhere}
.topic-breadcrumbs a:hover{color:var(--red)}
.page-heading .eyebrow{color:var(--ink)}
.page-heading h1{color:var(--ink)}
.content-section{padding-top:0;padding-bottom:var(--content-gap)}
.content-section .shell{min-width:0}
.prose{font-family:var(--mengede-body);font-size:16px;line-height:1.9;color:var(--ink);overflow-wrap:anywhere}
.prose>:first-child{margin-top:0}
.prose>:last-child{margin-bottom:0}
.prose p{margin:0 0 1.2em}
.prose h2,.prose h3,.prose h4{font-family:var(--mengede-display);text-transform:uppercase;line-height:1.08;color:var(--ink)}
.prose h2{font-size:clamp(34px,3.3vw,48px);margin:1.1em 0 .45em}
.prose h3{font-size:clamp(28px,2.5vw,36px);margin:1.1em 0 .45em}
.prose h4{font-size:26px;margin:1em 0 .4em}
.prose :is(ul,ol){padding-left:24px;margin:0 0 1.2em}
.prose ul{list-style:disc}.prose ol{list-style:decimal}.prose li{margin:0 0 .4em}
.prose :is(a:not(.button):not(.btn)){color:var(--red);text-decoration:underline;text-underline-offset:3px}
.prose :is(a:not(.button):not(.btn)):hover{color:var(--red-dark)}
.prose .btn,.prose .button{text-decoration:none}
.prose img{max-width:100%;height:auto;margin:24px 0;border-radius:3px}
.prose blockquote{margin:24px 0;padding:18px 22px;background:#ebece3;border-left:3px solid var(--yellow)}
.prose blockquote p:last-child{margin-bottom:0}
.prose table{width:100%;border-collapse:collapse}.prose :is(td,th){padding:12px;border:1px solid var(--line);text-align:left}
.prose figure{max-width:100%;margin:24px 0}.prose figcaption{font-size:12px;color:var(--muted)}
.post-cover{display:block;width:100%;max-height:550px;object-fit:cover;margin-bottom:32px}
.post-meta{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:25px;font-size:12px;color:var(--muted)}
.post-cat-badge{padding:5px 10px;background:var(--yellow);color:var(--ink);font-weight:800;border-radius:3px}
.content-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:32px}
/* The same button appearance also serves stored text widgets and CF7. */
.btn,.form-box input[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:52px;padding:15px 22px;border:1px solid var(--ink);border-radius:3px;background:var(--ink);color:#fff;font:800 14px/1.4 var(--mengede-body);text-decoration:none;cursor:pointer;transition:background .18s,transform .18s}
.btn:hover,.form-box input[type=submit]:hover{background:#30392f;color:#fff;transform:translateY(-2px)}
.btn-red,.form-box input[type=submit]{background:var(--red);border-color:var(--red);color:#fff}
.btn-red:hover,.form-box input[type=submit]:hover{background:var(--red-dark)}
.btn-primary{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}
.btn-primary:hover{background:#ffe769;color:var(--ink)}
.btn-outline{background:transparent;border-color:#aaa;color:var(--ink)}
.btn-outline:hover{background:#eeeee6;color:var(--ink)}
.btn:focus-visible,.form-box input[type=submit]:focus-visible{outline:3px solid var(--red);outline-offset:5px}
:is(button,input[type=submit]):disabled{cursor:not-allowed}
/* Existing Elementor text/form widgets now use the same content rhythm. */
.section-alt{background:#ebece3}
.section-header{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:28px;margin-bottom:36px}
.mengede-modern .section-title{font-family:var(--mengede-display);font-size:clamp(42px,5.3vw,76px);font-weight:700;text-transform:uppercase;line-height:1.02;margin-top:12px}
.section-header>div{min-width:0;max-width:100%}
.section-title{overflow-wrap:anywhere}
.section-label{display:flex;gap:10px;align-items:center;color:var(--ink);font-size:12px;line-height:1.5;letter-spacing:1.7px;font-weight:800;text-transform:uppercase}
.section-label:before{content:'';width:19px;height:2px;background:var(--red)}
.section-link{font-size:13px;font-weight:800}.section-link:after{content:' →'}
.form-box{width:100%;max-width:none;padding:30px;border:1px solid var(--line);border-radius:3px;background:#fff}
.form-intro{font-size:14px;line-height:1.9;color:var(--muted);margin-bottom:24px}
.mf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px}
.mf-field{display:block;min-width:0;margin-bottom:22px}.mf-field--full{grid-column:1/-1}
.mf-label{display:block;color:var(--ink);font-size:12px;font-weight:800;line-height:1.5;margin-bottom:9px}
.mf-field :is(input[type=text],input[type=email],input[type=tel],input[type=number],input[type=search],select,textarea){display:block;box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:13px 15px;border:1px solid #bec3b7;border-radius:3px;background:#fff;color:var(--ink);font:400 14px/1.5 var(--mengede-body)}
.mf-field textarea{min-height:110px;resize:vertical}
.mf-field :is(input,select,textarea):focus{outline:none;border-color:var(--red);box-shadow:0 0 0 3px #c7212716}
.mf-field select:not([multiple]):not([size]),.mf-field select[size="1"]{appearance:none;-webkit-appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23181c18' stroke-width='1.5'/%3E%3C/svg%3E");background-size:16px;background-position:right 14px center;background-repeat:no-repeat;cursor:pointer}
.mf-field select option{background:#fff;color:var(--ink)}
.mf-consent{display:flex;align-items:flex-start;gap:10px;margin:22px 0;font-size:12px;line-height:1.9;color:var(--muted)}
.mf-consent .wpcf7-list-item{margin:0}.mf-consent label{display:flex;align-items:flex-start;gap:10px}
.mf-consent input{width:16px;height:16px;flex-shrink:0;accent-color:var(--red);margin-top:4px}
.mf-consent a{text-decoration:underline;text-underline-offset:3px}
.wpcf7 form .wpcf7-response-output{margin:18px 0 0;padding:15px;border-radius:3px;font-size:14px;line-height:1.7}
.wpcf7 form.sent .wpcf7-response-output{background:#e6f4ea;border-color:#1e7e34;color:#14622a}
.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.failed .wpcf7-response-output{background:#fce8e8;border-color:var(--red);color:var(--red-dark)}
.wpcf7-not-valid-tip{font-size:12px;color:var(--red);margin-top:6px}
.notice-box{margin:0 0 24px;padding:17px 20px;border-left:3px solid var(--yellow);background:#ebece3;color:var(--ink);font-size:13px;line-height:1.9}
.notice-box>:last-child{margin-bottom:0}
/* Native archive/search/404 templates follow the same page skeleton. */
.news-card :is(h2,h3){font-family:var(--mengede-display);font-size:35px;font-weight:700;line-height:1.05;text-transform:uppercase;margin:0;max-width:100%}
.site-search{display:flex;align-items:flex-end;gap:16px;max-width:850px;margin-bottom:36px}
.site-search .field{flex:1}.site-search .button{min-height:49px}
.search-results-grid{margin-top:24px}.result-card>.eyebrow{color:var(--muted);font-size:10px;margin-bottom:20px}
.pagination{flex-wrap:wrap}.pagination a:hover{border-color:var(--red);color:var(--red)}
@media(max-width:600px){
 :root{--content-gap:40px}
 .topic-intro,.page-intro,.rental-hero{padding-top:25px}
 .topic-breadcrumbs{margin-bottom:22px}
 .prose{font-size:15px}.prose h2{font-size:34px}.prose h3{font-size:29px}
 .form-box{padding:23px}.mf-grid{grid-template-columns:minmax(0,1fr);gap:20px}.mf-label{font-size:13px}
 .mf-field :is(input[type=text],input[type=email],input[type=tel],input[type=number],input[type=search],select,textarea){font-size:16px;min-height:51px}
 .site-search{align-items:stretch;flex-direction:column}.site-search .button{align-self:flex-start}
 .news-card :is(h2,h3){font-size:32px}
}
@media(forced-colors:active){.mf-field select{appearance:auto;background-image:none}.mf-field :is(input,select,textarea):focus{outline:2px solid Highlight}}

/* Compatibility for optional, already registered content widgets; shared tokens above. */
/* ─── Fixtures ───────────────────────────────────────────────── */
.fixtures-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.fixture-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.fixture-head { background: var(--red-deep); padding: .85rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.fixture-head-title { font-size: 14px; font-weight: 600; color: var(--white); }
.fixture-row { padding: .8rem 1.25rem; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; gap: .75rem; }
.fixture-row:last-child { border-bottom: none; }
.fixture-date { font-size: 12px; color: var(--gray-500); min-width: 70px; }
.fixture-teams { flex: 1; font-size: 14px; font-weight: 500; }
.fixture-teams em { font-style: normal; color: var(--red); font-weight: 700; }
.fixture-result { font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-sm); min-width: 52px; text-align: center; }
.fixture-result.win { background: #e6f4ea; color: #1e7e34; }
.fixture-result.loss { background: #fce8e8; color: var(--red); }
.fixture-result.draw { background: var(--gray-100); color: var(--gray-700); }
.fixture-result.up { background: var(--yellow); color: var(--red-dark); font-size: 12px; }

/* ─── Standings ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
.standings-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.standings-table thead th { background: var(--red-deep); color: rgba(255,255,255,.65); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: .7rem 1rem; text-align: left; }
.standings-table thead th:not(:first-child):not(:nth-child(2)) { text-align: center; }
.standings-table tbody tr { border-bottom: 1px solid var(--gray-100); }
.standings-table tbody tr:hover { background: var(--gray-50); }
.standings-table tbody tr.highlight { background: #fff8e1; }
.standings-table td { padding: .7rem 1rem; }
.standings-table td:not(:first-child):not(:nth-child(2)) { text-align: center; color: var(--gray-500); }
.standings-table .pos { color: var(--gray-500); font-weight: 600; width: 32px; }
.standings-table .pos.top { color: var(--red); }
.standings-table .team-name { font-weight: 600; }
.standings-table .team-name.us { color: var(--red); }
.standings-table .pts { font-weight: 700; color: var(--gray-900); }
.standings-table .pts.us { color: var(--red); }

/* ─── Teams ──────────────────────────────────────────────────── */
.teams-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.team-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem 1.25rem; text-align: center; transition: box-shadow .2s, transform .2s; }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-card-icon { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #fce8e8, #fff3cd); border: 2px solid var(--gray-200); display: flex; align-items: center; justify-content: center; margin: 0 auto .75rem; font-size: 24px; }
.team-card-name { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.team-card-sub { font-size: 12px; color: var(--gray-500); }

/* ─── Features ───────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.75rem; }
.feature-icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: linear-gradient(135deg, #fce8e8, #fff3cd); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 1rem; }
.feature-title { font-size: 16px; font-weight: 700; margin-bottom: .4rem; }
.feature-desc { font-size: 14px; color: var(--gray-500); line-height: 1.55; }

/* ─── CTA Banner ─────────────────────────────────────────────── */
.cta-banner { background: linear-gradient(135deg, var(--red-dark), var(--red)); padding: 3.5rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,210,0,.04) 20px, rgba(255,210,0,.04) 40px); }
.cta-banner > .container { position: relative; z-index: 1; }
.cta-banner h2 { font-size: 30px; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.cta-banner p { font-size: 17px; color: rgba(255,255,255,.7); margin-bottom: 1.75rem; }
.cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ─── Sponsors ───────────────────────────────────────────────── */
.sponsors { padding: 3rem 0; border-top: 1px solid var(--gray-100); }
.sponsors-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); text-align: center; margin-bottom: 1.5rem; }
.sponsors-row { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
.sponsor-pill { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-200); padding: .7rem 1.5rem; border-radius: var(--radius-md); font-size: 14px; font-weight: 600; }

/* ─── Kader & Trainerteam ────────────────────────────────────── */
.squad-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.squad-group { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.squad-group-title {
  background: var(--red-deep); color: var(--yellow);
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: .65rem 1rem;
}
.squad-list { padding: .35rem 0; }
.squad-player { display: flex; align-items: center; gap: 10px; padding: .5rem 1rem; border-bottom: 1px solid var(--gray-100); }
.squad-player:last-child { border-bottom: none; }
.squad-number {
  min-width: 26px; height: 26px; border-radius: 50%;
  background: var(--yellow); color: var(--red-dark);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.squad-name { font-size: 14px; font-weight: 500; }

.staff-box { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-top: 1.25rem; }
.staff-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-bottom: .85rem; }
.staff-list { display: flex; flex-wrap: wrap; gap: 1.75rem; }
.staff-member { display: flex; flex-direction: column; }
.staff-role { font-size: 12px; color: var(--gray-500); }
.staff-name { font-size: 15px; font-weight: 600; }

@media (max-width: 900px) { .squad-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .squad-groups { grid-template-columns: 1fr; } }


.elementor-widget-mengede_news .news-card-img{aspect-ratio:1.55;overflow:hidden;background:#e5e8dd}
.elementor-widget-mengede_news .news-card-img img{width:100%;height:100%;object-fit:cover}
.elementor-widget-mengede_news .news-body{padding:22px;background:#fff;border:1px solid var(--line)}
.elementor-widget-mengede_news .news-cat{font-size:11px;color:var(--red);margin-bottom:12px}
.elementor-widget-mengede_news .news-excerpt{font-size:14px;color:var(--muted);margin:14px 0}
.elementor-widget-mengede_hero .hero{padding-block:64px}
.elementor-widget-mengede_hero .hero:before{background:linear-gradient(90deg,#141c16,#243529)}
.elementor-widget-mengede_hero .hero h1{font-size:clamp(56px,6.5vw,90px)}
.elementor-widget-mengede_hero .hero-inner{min-height:0;gap:40px;justify-content:space-between}
.elementor-widget-mengede_hero .hero-sub{max-width:650px;margin:24px 0;color:#e0e5dc}
.hero-btns,.cta-btns{display:flex;flex-wrap:wrap;gap:14px}.cta-btns{justify-content:center}
.hero-stats{display:flex;gap:30px;margin-top:30px}.hero-stat-num{font-size:30px;color:var(--yellow);font-weight:800}.hero-stat-lbl{font-size:12px}
.fussballde-embed{margin-top:24px}.fussballde-consent{padding:24px;border:1px solid var(--line);background:#fff}.fussballde-consent p{max-width:760px;margin-bottom:16px}.fussballde-host iframe{display:block;max-width:100%}.fussballde-reset{margin:16px 0}
.ticker{overflow:hidden;background:var(--red);color:#fff}.ticker-inner{display:flex;min-height:46px}.ticker-label{display:flex;align-items:center;padding:12px 20px;background:var(--yellow);color:var(--ink);font-size:12px;font-weight:800}.ticker-track{display:flex;align-items:center;overflow:hidden;flex:1}.ticker-content{display:flex;gap:40px;white-space:nowrap;padding-left:30px;animation:mengede-ticker 30s linear infinite}.ticker-item{font-size:14px}
@keyframes mengede-ticker{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.ticker-content{animation:none;white-space:normal;flex-wrap:wrap}}
@media(max-width:900px){.teams-grid,.features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.elementor-widget-mengede_hero .hero-inner{flex-wrap:wrap}}
@media(max-width:600px){.fixtures-grid,.teams-grid,.features-grid{grid-template-columns:minmax(0,1fr)}.fixture-row{flex-wrap:wrap}.cta-banner h2{font-size:36px}.cta-banner p{font-size:15px}.ticker-label{max-width:35%;overflow-wrap:anywhere}}
/* Imported club content uses the shared typography, without old builder styles. */
.prose .migrated-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 0}
.prose .migrated-gallery figure{min-width:0;margin:0}
.prose .migrated-gallery a{display:block}
.prose .migrated-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;margin:0}
.prose .migrated-gallery figcaption{font-size:12px;line-height:1.6;margin-top:8px;color:var(--muted)}
.prose .migrated-contacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:32px}
.prose .migrated-contact{min-width:0;padding:26px;background:#fff;border:1px solid var(--line);border-radius:3px;overflow-wrap:anywhere}
.prose .migrated-contact img{width:150px;max-width:100%;height:170px;object-fit:cover;object-position:center 20%;margin:0 0 20px}
.prose .migrated-contact :is(h2,h3,h4){font-size:30px;margin:0 0 14px}
.prose .migrated-contact p{font-size:14px;margin-bottom:12px}
.prose .migrated-cover img{width:100%;max-width:1000px}
.prose .migrated-table{max-width:100%;overflow-x:auto;margin:24px 0}
.prose .migrated-table table{min-width:500px;background:#fff}
.prose .migrated-table img{max-width:150px;max-height:180px;object-fit:contain;margin:8px 0}
.prose .source-details{border-block:1px solid var(--line);padding:20px 0;margin:24px 0}
.prose .source-details>summary{font-size:15px;font-weight:800;cursor:pointer;line-height:1.7}
.prose .source-details[open]>summary{margin-bottom:24px}
.import-source-note,.prose .import-source-note{font-size:11px;line-height:1.9;color:var(--muted);margin-top:28px}
.import-media-unavailable{display:block;padding:14px;background:#ebece3;color:var(--muted);font-size:12px}
.topic-card .topic-card-image{width:100%;aspect-ratio:4/3;object-fit:cover;margin-bottom:20px}
.news-card :is(h2,h3){overflow-wrap:anywhere}
@media(max-width:900px){.prose .migrated-contacts,.prose .migrated-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.prose .migrated-contacts{grid-template-columns:minmax(0,1fr)}.prose .migrated-gallery{gap:12px}.prose .migrated-contact{padding:23px}.prose .migrated-contact :is(h2,h3,h4){font-size:29px}}

/* Narrow screens: keep the consent heading and imported contact rows in view. */
.match-preview>div:last-child{min-width:0;max-width:100%}
.match-preview h3{overflow-wrap:anywhere}
.prose .migrated-table:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.prose .migrated-table--contact table{min-width:0;table-layout:fixed}
.prose .migrated-table--contact :is(td,th){overflow-wrap:anywhere}
.prose .migrated-table--contact img{max-width:100%;height:auto}
.table-scroll-hint{display:none;font-size:12px;line-height:1.6;color:var(--muted)}
@media(max-width:600px){
 .match-preview{flex-direction:column;gap:14px}
 .prose .migrated-table--contact :is(table,thead,tbody,tfoot,tr,td,th){display:block;width:100%;box-sizing:border-box}
 .prose .migrated-table--contact tr{margin-bottom:16px;border:1px solid var(--line);background:#fff}
 .prose .migrated-table--contact :is(td,th){border:0;border-bottom:1px solid var(--line);padding:14px 16px}
 .prose .migrated-table--contact :is(td,th):last-child{border-bottom:0}
 .prose .migrated-table--contact img{max-width:150px}
 .table-scroll-hint{display:block}
}

/* Provider attribution stays visible when automatically loaded data replace the placeholder. */
.widget-provider-note{padding:12px 24px 0;font-size:11px;line-height:1.7}.widget-provider-note a{text-decoration:underline;text-underline-offset:3px}

/* Mengede: sponsor animation without a visible pause toolbar. */
.mengede-modern .syn-sponsors__controls [data-action="pause"]{display:none}
.mengede-modern .syn-sponsors[data-mode="marquee"][data-autoplay="1"] .syn-sponsors__header{display:none}
.mengede-modern .partner-section .partner-head{margin-bottom:24px}
