
:root{--navy:#174a9c;--navy2:#245aa5;--ink:#171717;--muted:#626b75;--orange:#e64b24;--gold:#f4c400;--green:#159447;--red:#c8202f;--paper:#fff;--soft:#f7f8fa;--line:#e7e9ed;--radius:18px;--max:1160px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.header-inner{max-width:var(--max);margin:auto;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand img{width:220px;max-height:86px;object-fit:contain}.site-nav{display:flex;align-items:center;gap:22px}.site-nav a{font-size:.94rem;font-weight:650;color:var(--navy)}.site-nav a:hover,.text-link:hover{color:var(--orange)}.site-nav .nav-current a{color:var(--orange)}.menu-toggle{display:none;background:none;border:0;padding:8px}.menu-toggle span{display:block;width:24px;height:2px;background:var(--navy);margin:5px}
.hero{background:linear-gradient(115deg,var(--navy),#244b68);color:white;min-height:440px;position:relative;overflow:hidden;display:flex;align-items:center}.hero-inner{width:min(var(--max),100%);padding:76px 24px;margin:auto;position:relative;z-index:1}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.74rem;font-weight:800;color:var(--orange);margin:0 0 12px}.hero .eyebrow{color:var(--gold)}h1,h2,h3{line-height:1.14;color:var(--navy);margin:0 0 18px;letter-spacing:-.035em}.hero h1{font-size:clamp(2.8rem,6vw,5.2rem);color:white;max-width:800px}.hero h1 span{color:var(--gold)}.hero-lead{font-size:1.2rem;max-width:650px;color:#e4edf4}.hero-mark{position:absolute;right:10%;top:-50px;font-size:26rem;color:rgba(255,255,255,.055);transform:rotate(-12deg)}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.button{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:999px;font-weight:750;transition:.2s}.button-primary{background:var(--orange);color:white}.button-primary:hover{background:#cf5f13;transform:translateY(-2px)}.button-ghost{border:1px solid rgba(255,255,255,.55);color:white}.button-ghost:hover{background:white;color:var(--navy)}
.section-wrap{max-width:var(--max);margin:auto;padding:76px 24px}.intro{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.intro h2,.section-heading h2,.join-banner h2{font-size:clamp(2rem,4vw,3.1rem)}.intro>p{font-size:1.08rem;color:var(--muted)}.quick-links{padding-top:10px;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.feature-card{border:1px solid var(--line);border-radius:var(--radius);padding:24px;background:white;transition:.2s}.feature-card:hover{transform:translateY(-4px);box-shadow:0 14px 35px rgba(23,50,77,.09);border-color:#d2dce5}.feature-icon{width:48px;height:48px;border-radius:14px;background:#fff1e7;color:var(--orange);display:grid;place-items:center;font-size:1.6rem;margin-bottom:20px}.feature-card h3{font-size:1.25rem;margin-bottom:8px}.feature-card p,.post-card p{color:var(--muted);font-size:.94rem}.text-link{color:var(--orange);font-weight:800;font-size:.92rem}.news-section{background:var(--soft)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.section-heading h2{margin:0}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.post-card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.post-card-image{display:block;aspect-ratio:16/9;background:#e9eef2}.post-card-image img{width:100%;height:100%;object-fit:cover}.image-placeholder{height:100%;display:grid;place-items:center;color:var(--navy);font-weight:800;background:linear-gradient(135deg,#e9eef2,#f8e5d7)}.post-card-body{padding:22px}.post-card h3{font-size:1.35rem;margin-bottom:8px}.join-banner{display:flex;justify-content:space-between;align-items:center;gap:36px}.join-banner>div{max-width:700px}.join-banner p:not(.eyebrow){color:var(--muted)}
.site-footer{background:#11283d;color:#dce5ec}.footer-inner{max-width:var(--max);margin:auto;padding:48px 24px;display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:36px}.footer-logo{width:190px;max-height:85px;object-fit:contain;background:white;border-radius:8px;padding:6px}.footer-links,.footer-legal{display:flex;flex-direction:column;gap:10px;font-size:.92rem}.footer-links a:hover,.footer-legal a:hover{color:var(--gold)}.footer-legal span{margin-top:12px;color:#9fb0bf;font-size:.82rem}
.content-page,.listing-page,.article{max-width:900px}.page-header,.article-header{text-align:center;padding:44px 0 32px}.page-header h1,.article-header h1{font-size:clamp(2.6rem,6vw,4.4rem)}.page-excerpt{font-size:1.2rem;color:var(--muted);max-width:720px;margin:0 auto}.prose{font-size:1.08rem;line-height:1.8}.prose h2,.prose h3{margin-top:2em}.prose a{color:var(--orange);text-decoration:underline}.prose img{border-radius:var(--radius)}.page-feature-image img,.article-image img{width:100%;max-height:520px;object-fit:cover;border-radius:var(--radius)}.article-header .meta{color:var(--muted);font-size:.9rem;margin-top:18px}.article-image{margin:0 0 38px}.article-footer{margin-top:48px;padding-top:24px;border-top:1px solid var(--line)}.author-avatar{width:90px;height:90px;border-radius:50%;object-fit:cover;margin:0 auto 20px}.event-intro{background:var(--soft);padding:30px;border-radius:var(--radius);margin:10px 0 40px}.small-note,.empty-state{color:var(--muted);font-size:.88rem}.error-page{text-align:center;padding-top:120px;padding-bottom:120px}.error-page h1{font-size:clamp(2.4rem,5vw,4rem)}.pagination{display:flex;justify-content:center;gap:18px;padding:36px}
@media(max-width:900px){.site-nav{gap:12px}.site-nav a{font-size:.85rem}.brand img{width:175px}.quick-links{grid-template-columns:repeat(2,1fr)}.post-grid{grid-template-columns:repeat(2,1fr)}.footer-inner{grid-template-columns:1fr 1fr}.footer-inner>div:first-child{grid-column:1/-1}}
@media(max-width:640px){.header-inner{padding:10px 18px}.brand img{width:160px;max-height:65px}.menu-toggle{display:block}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;border-bottom:1px solid var(--line);padding:18px 24px;flex-direction:column;align-items:flex-start}.site-nav.is-open{display:flex}.hero{min-height:490px}.hero-inner{padding:62px 22px}.hero-mark{right:-12%;font-size:18rem}.hero-lead{font-size:1.05rem}.section-wrap{padding:54px 20px}.intro{grid-template-columns:1fr;gap:10px}.quick-links{padding-top:0;grid-template-columns:1fr 1fr;gap:10px}.feature-card{padding:17px}.feature-card h3{font-size:1.08rem}.post-grid{grid-template-columns:1fr}.section-heading{align-items:flex-start;flex-direction:column}.join-banner{align-items:flex-start;flex-direction:column}.footer-inner{grid-template-columns:1fr;gap:28px}.footer-inner>div:first-child{grid-column:auto}.page-header,.article-header{padding-top:28px}.event-intro{padding:22px}}

/* Ghost editor image/card width helpers */
.kg-width-wide{width:min( min( calc(100% + 160px), 1100px), calc(100vw - 48px) );max-width:none;margin-left:50%;transform:translateX(-50%)}
.kg-width-full{width:100vw;max-width:100vw;margin-left:50%;transform:translateX(-50%)}
.kg-width-full img,.kg-width-wide img{width:100%}

/* SpieleUnion logo palette and layout refinements */
.site-header{border-bottom:3px solid transparent;border-image:linear-gradient(90deg,#2456a4 0 20%,#159447 20% 40%,#f2d000 40% 60%,#ef7b19 60% 80%,#c8202f 80% 100%) 1}
.site-nav,.site-nav ul,.site-nav .nav{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:clamp(10px,1.6vw,24px);list-style:none;margin:0;padding:0;flex-wrap:wrap}
.site-nav li{list-style:none;margin:0;padding:0}
.site-nav a{white-space:nowrap;font-size:.9rem}
.site-nav .nav-current a{color:#2456a4}
.hero{background:linear-gradient(120deg,#174a9c 0%,#21599b 55%,#16824c 100%)}
.hero h1 span{color:#f4d000}
.eyebrow{color:#2456a4}
.hero .eyebrow{color:#f4d000}
.button-primary{background:#e64b24}
.button-primary:hover{background:#c83b1a}
.feature-icon{background:#eef3fb;color:#2456a4}
.feature-card:nth-child(2) .feature-icon{background:#eaf6ee;color:#159447}
.feature-card:nth-child(3) .feature-icon{background:#fff9dc;color:#a98c00}
.feature-card:nth-child(4) .feature-icon{background:#fff0e9;color:#e64b24}
.text-link{color:#2456a4}
.text-link:hover{color:#e64b24}
.events-section{background:#fff}
.section-subtitle{color:var(--muted);margin:.5rem 0 0}
.event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.event-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:white;transition:transform .2s,box-shadow .2s}
.event-card:hover{transform:translateY(-4px);box-shadow:0 14px 35px rgba(23,50,77,.10)}
.event-card-link{display:block;height:100%}
.event-card-image{aspect-ratio:16/9;background:#edf2f7;overflow:hidden}
.event-card-image img{width:100%;height:100%;object-fit:cover}
.event-placeholder{display:grid;place-items:center;height:100%;font-size:4rem;color:#2456a4;background:linear-gradient(135deg,#edf3fb,#fdf1e9)}
.event-card-body{padding:22px}
.event-label{display:inline-block;text-transform:uppercase;letter-spacing:.1em;font-size:.68rem;font-weight:850;color:#159447;margin-bottom:9px}
.event-card h3{font-size:1.28rem;margin:0 0 9px}
.event-card p{font-size:.92rem;color:var(--muted);margin:0 0 16px}
.event-empty{grid-column:1/-1;padding:28px;border:1px dashed #bdc8d5;border-radius:var(--radius);background:var(--soft);color:var(--navy)}
.event-empty p{margin-bottom:0;color:var(--muted)}
.event-empty code{background:#e9eef5;padding:2px 5px;border-radius:4px}
@media(max-width:900px){.site-nav,.site-nav ul,.site-nav .nav{gap:10px}.site-nav a{font-size:.82rem}.event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;border-bottom:1px solid var(--line);padding:18px 24px;flex-direction:column;align-items:flex-start}.site-nav.is-open{display:flex}.site-nav ul,.site-nav .nav{flex-direction:column;align-items:flex-start;width:100%}.event-grid{grid-template-columns:1fr}}

/* Ghost publication branding: uploaded logo and cover image */
.brand img{width:auto;max-width:250px;max-height:88px;object-fit:contain}
.brand-text,.footer-brand-text{font-size:1.35rem;font-weight:850;color:var(--navy)}
.footer-logo{width:auto;max-width:220px;max-height:100px;object-fit:contain;background:transparent;padding:0;border-radius:0}
.hero{isolation:isolate}
.hero-cover{position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center;background-repeat:no-repeat}
.hero-has-cover:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(105deg,rgba(23,74,156,.88),rgba(22,130,76,.76))}
.hero:not(.hero-has-cover){background:linear-gradient(120deg,#174a9c 0%,#21599b 55%,#16824c 100%)}

/* v1.1.4: make publication cover visible in homepage hero */
.hero{position:relative;isolation:isolate;overflow:hidden}
.hero .hero-cover{position:absolute;inset:0;z-index:-1;background-size:cover;background-position:center;background-repeat:no-repeat}
.hero.hero-has-cover{background:transparent}
.hero.hero-has-cover:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(105deg,rgba(23,74,156,.82),rgba(22,130,76,.68))}

/* v1.1.5: footer palette adjusted for the black lettering in the club logo */
.site-footer{
    background:#f4f6fa;
    color:#202b3a;
    border-top:4px solid transparent;
    border-image:linear-gradient(90deg,#2456a4 0 20%,#159447 20% 40%,#f2d000 40% 60%,#ef7b19 60% 80%,#c8202f 80% 100%) 1;
}
.site-footer a{color:#174a9c}
.site-footer a:hover{color:#e64b24}
.site-footer p,.site-footer span{color:#586575}
.site-footer .footer-logo{
    background:transparent;
    max-width:230px;
    max-height:100px;
    object-fit:contain;
    padding:0;
    border-radius:0;
    filter:none;
}
.site-footer .footer-brand-text{color:#174a9c}
.site-footer .footer-links,.site-footer .footer-legal{border-color:#dce2eb}


/* v1.1.7 — visual alignment with beta.spieleunion.de */
:root{
  --navy:#111111;--navy2:#202020;--ink:#111111;--muted:#555653;
  --orange:#ff7a35;--gold:#f4d51b;--green:#A8D879;--red:#ef4545;
  --paper:#f5f5f2;--soft:#eeeeeb;--line:#d9d9d5;--radius:12px;
}
body{background:#f5f5f2;color:#111}
.site-header{background:#f5f5f2;border-bottom:1px solid #d9d9d5}
.site-nav a{color:#111}
.site-nav a:hover,.site-nav .nav-current a{color:#71d83c}
.hero{background:#111;color:#fff}
.hero:not(.hero-has-cover){background:#111}
.hero.hero-has-cover:before{background:linear-gradient(105deg,rgba(12,12,12,.88),rgba(12,12,12,.68))}
.hero h1,.hero h1 span{color:#fff}
.hero .eyebrow,.eyebrow{color:#A8D879}
.hero-lead{color:#eeeeeb}
.button-primary{background:linear-gradient(100deg,#A8D879,#A8D879);color:#111}
.button-primary:hover{background:linear-gradient(100deg,#A8D879,#A8D879);color:#111}
.button-ghost{border-color:rgba(255,255,255,.6);color:#fff}
h1,h2,h3{color:#111}
.section-wrap{background:transparent}
.news-section{background:#f5f5f2}
.events-section{background:#f5f5f2}
.feature-card,.post-card,.event-card{background:#fff;border-color:#e1e1dd;border-radius:12px}
.feature-card:hover,.event-card:hover{box-shadow:0 12px 28px rgba(0,0,0,.08);border-color:#c9c9c5}
.feature-icon{background:#111;color:#A8D879}
.feature-card:nth-child(2) .feature-icon{background:#111;color:#A8D879}
.feature-card:nth-child(3) .feature-icon{background:#111;color:#f4d51b}
.feature-card:nth-child(4) .feature-icon{background:#111;color:#ff7a35}
.text-link{color:#111}
.text-link:hover{color:#55c93c}
.join-banner{background:#111;color:#fff;border-radius:12px;padding:40px}
.join-banner h2,.join-banner h3{color:#fff}
.join-banner p:not(.eyebrow){color:#e4e4e0}
.join-banner .eyebrow{color:#A8D879}
.site-footer{background:#111;color:#f5f5f2;border-top:1px solid #333;border-image:none}
.site-footer a{color:#f5f5f2}
.site-footer a:hover{color:#A8D879}
.site-footer p,.site-footer span{color:#b9b9b5}
.footer-legal span{color:#999}
.footer-logo{filter:brightness(0) invert(1)}
.page-header h1,.article-header h1{color:#111}
.prose a{color:#222;text-decoration:underline;text-decoration-color:#71d83c}
.event-intro{background:#ecece8}
@media(max-width:640px){
 .site-nav{background:#f5f5f2}
 .join-banner{padding:28px 22px}
}

/* v1.1.8: uploaded alternative footer logo should retain its own colors */
.site-footer .footer-logo-alternative{filter:none}

/* v1.1.9: breathing room between the membership CTA and footer */
.join-banner.section-wrap{
    margin-bottom:64px;
}
@media(max-width:640px){
    .join-banner.section-wrap{margin-bottom:44px}
}

/* v1.2.0 — nested dropdown navigation modeled on the beta site */
.site-nav .su-nav-list{display:flex;align-items:center;gap:clamp(18px,2.2vw,34px);list-style:none;margin:0;padding:0}
.site-nav .su-nav-item{position:relative;list-style:none;margin:0;padding:0}
.site-nav .su-nav-list a,.site-nav .su-dropdown-toggle{font:inherit;font-size:.88rem;font-weight:750;letter-spacing:.045em;text-transform:uppercase;color:#292929;background:transparent;border:0;padding:15px 2px;display:flex;align-items:center;gap:9px;white-space:nowrap;cursor:pointer}
.site-nav .su-nav-list a:hover,.site-nav .su-dropdown-toggle:hover{color:#111}
.su-chevron{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);display:inline-block;margin-top:-4px;transition:transform .18s}
.su-has-dropdown.is-open > .su-dropdown-toggle .su-chevron{transform:rotate(225deg);margin-top:4px}
.site-nav .su-dropdown,.site-nav .su-subdropdown{position:absolute;top:100%;left:-18px;min-width:245px;background:#fff;border:1px solid #e4e4e0;border-radius:17px;padding:9px;box-shadow:0 12px 35px rgba(0,0,0,.12);list-style:none;margin:0;display:none;z-index:40}
.su-has-dropdown:hover > .su-dropdown,.su-has-dropdown:focus-within > .su-dropdown,.su-has-dropdown.is-open > .su-dropdown{display:block}
.site-nav .su-dropdown li,.site-nav .su-subdropdown li{list-style:none;margin:0;padding:0;position:relative}
.site-nav .su-dropdown a{font-size:.91rem;letter-spacing:0;text-transform:none;font-weight:600;padding:12px 15px;border-radius:11px;display:flex;justify-content:space-between;color:#292929}
.site-nav .su-dropdown a:hover,.site-nav .su-dropdown li:first-child>a{background:#f5f7a7;color:#191919}
.site-nav .su-subdropdown{top:-8px;left:100%;min-width:190px}
.su-has-subdropdown:hover > .su-subdropdown,.su-has-subdropdown:focus-within > .su-subdropdown,.su-has-subdropdown.is-open > .su-subdropdown{display:block}
.su-chevron-side{transform:rotate(-45deg);margin:0 5px 0 0}
@media(max-width:900px){
 .site-nav .su-nav-list{gap:14px}
 .site-nav .su-dropdown{left:auto;right:0}
}
@media(max-width:640px){
 .site-nav .su-nav-list{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:3px}
 .site-nav .su-nav-item{width:100%}
 .site-nav .su-nav-list a,.site-nav .su-dropdown-toggle{width:100%;justify-content:space-between;padding:13px 8px}
 .site-nav .su-dropdown,.site-nav .su-subdropdown{position:static;min-width:0;width:100%;box-shadow:none;border-radius:12px;margin:3px 0 8px;display:none}
 .su-has-dropdown.is-open > .su-dropdown,.su-has-subdropdown.is-open > .su-subdropdown{display:block}
 .site-nav .su-dropdown a{padding:11px 16px}
 .site-nav .su-subdropdown{margin-left:10px;width:calc(100% - 10px);background:#f6f6f3}
}


/* v1.2.2 — HumHub appointments on the homepage, styled to the current SpieleUnion theme */
.home-events-list{display:flex;flex-direction:column;gap:10px}
.home-event-row{
  display:flex;align-items:center;gap:20px;padding:16px 18px;
  border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.home-event-row:hover{transform:translateY(-2px);box-shadow:0 9px 24px rgba(23,74,156,.08);border-color:#cbd8e8}
.home-event-date{
  flex:0 0 68px;min-height:70px;display:flex;flex-direction:column;
  align-items:center;justify-content:center;border-radius:12px;background:#171717;
}
.home-event-day{font-size:1.55rem;line-height:1.15;font-weight:850;color:#A8D879}
.home-event-month{margin-top:5px;font-size:.72rem;line-height:1.1;font-weight:850;color:#83d94c}
.home-event-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}
.home-event-title{font-size:1rem;line-height:1.4;font-weight:800;color:var(--navy)}
.home-event-meta{display:flex;flex-wrap:wrap;gap:5px 16px;color:var(--muted);font-size:.83rem;line-height:1.5}
.home-event-time:before{content:"◷ ";color:var(--green);font-weight:800}
.home-event-location:before{content:"✦ ";color:var(--orange);font-weight:800}
.home-event-arrow{flex:0 0 auto;color:var(--navy);font-size:1.35rem;opacity:.6}
.home-event-row:hover .home-event-arrow{opacity:1;transform:translate(2px,-2px)}
.home-events-loading,.home-events-empty{
  padding:22px;border:1px dashed #cbd4df;border-radius:14px;background:var(--soft);
  color:var(--muted);font-size:.94rem
}
@media(max-width:640px){
  .home-event-row{gap:12px;padding:13px 10px}
  .home-event-date{flex-basis:55px;min-height:60px}
  .home-event-day{font-size:1.3rem}
  .home-event-title{font-size:.92rem}
  .home-event-meta{font-size:.76rem;gap:4px 10px}
  .home-event-arrow{font-size:1.15rem}
}


/* v1.2.3 — fix hover continuity for nested navigation dropdowns */
@media (min-width:641px) {
  .site-nav .su-has-dropdown > .su-dropdown {
    margin-top: 0;
  }
  .site-nav .su-has-dropdown > .su-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -7px;
    height: 7px;
  }
  .site-nav .su-has-subdropdown > .su-subdropdown {
    margin-left: 0;
  }
  .site-nav .su-has-subdropdown > .su-subdropdown::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 0;
    bottom: 0;
    width: 7px;
  }
}

/* Footer social and community buttons */
.footer-social{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.footer-social-button{display:inline-flex;align-items:center;gap:9px;padding:10px 16px;border:1px solid rgba(102,229,211,.55);border-radius:999px;color:#dce5ec;font-weight:750;font-size:.9rem;transition:background .2s,color .2s,border-color .2s,transform .2s}
.footer-social-button:hover{background:#A8D879;color:#11283d;border-color:#A8D879;transform:translateY(-2px)}
.footer-social-icon{font-size:1.15rem;line-height:1}
.footer-community-button{border-color:rgba(128,240,68,.55)}
.footer-community-button:hover{background:#A8D879;border-color:#A8D879}


/* v1.2.8 — ensure Ghost's uploaded white site logo remains visible in dark mode */
.brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  min-width:0;
  opacity:1;
  visibility:visible;
}
.brand img{
  display:block;
  width:auto;
  max-width:250px;
  height:auto;
  max-height:88px;
  object-fit:contain;
  opacity:1;
  visibility:visible;
  filter:none;
}
.brand-text{color:#e9edf3}
@media(max-width:900px){
  .brand img{max-width:190px;max-height:78px}
}
@media(max-width:640px){
  .brand img{max-width:160px;max-height:65px}
}

/* v1.2.6 — optional visual preview: dark mode */
:root{
  --navy:#E9EDF3;--navy2:#9dc8ff;--ink:#e9edf3;--muted:#aeb8c5;
  --paper:#15171b;--soft:#1d2026;--line:#343943;
}
body{color:var(--ink);background:#15171b}
.site-header{background:rgba(20,22,26,.96);border-bottom-color:transparent}
.site-nav .su-nav-list a,.site-nav .su-dropdown-toggle{color:#e8edf5}
.site-nav .su-nav-list a:hover,.site-nav .su-dropdown-toggle:hover{color:#A8D879}
.site-nav .nav-current a{color:#A8D879}
.menu-toggle span{background:#e8edf5}
h1,h2,h3{color:#e9edf3}
.eyebrow{color:#A8D879}
.hero{background:linear-gradient(120deg,#101e38 0%,#172b3c 55%,#123b2b 100%)}
.hero.hero-has-cover:before{background:linear-gradient(105deg,rgba(10,20,38,.9),rgba(12,42,31,.83))}
.hero h1 span{color:#A8D879}
.hero .eyebrow{color:#A8D879}
.hero-lead{color:#d1dae5}
.button-primary{background:#A8D879;color:#101719}
.button-primary:hover{background:#A8D879;color:#101719}
.button-ghost{border-color:rgba(220,235,245,.5);color:#f3f6fa}
.button-ghost:hover{background:#e9edf3;color:#15171b}
.section-wrap{color:var(--ink)}
.intro>p,.join-banner p:not(.eyebrow){color:var(--muted)}
.feature-card,.post-card,.event-card,.home-event-row{background:#202329;border-color:#363b45;color:#e9edf3}
.feature-card:hover,.event-card:hover,.home-event-row:hover{border-color:#A8D879;box-shadow:0 14px 35px rgba(0,0,0,.28)}
.feature-card h3,.post-card h3,.event-card h3,.home-event-title{color:#e9edf3}
.feature-card p,.post-card p,.event-card p{color:#b6c0cd}
.feature-icon{background:#263449;color:#E9EDF3}
.feature-card:nth-child(2) .feature-icon{background:#1e392b;color:#A8D879}
.feature-card:nth-child(3) .feature-icon{background:#3c3620;color:#f4d000}
.feature-card:nth-child(4) .feature-icon{background:#3d2925;color:#ff9b78}
.text-link{color:#A8D879}
.text-link:hover{color:#A8D879}
.news-section,.events-section{background:#191b20}
.post-card-image,.event-card-image{background:#272b32}
.image-placeholder,.event-placeholder{color:#E9EDF3;background:linear-gradient(135deg,#242d3b,#302621)}
.join-banner{background:transparent}
.site-footer{background:#0e1013;color:#dce5ec;border-top:4px solid transparent}
.site-footer a{color:#E9EDF3}
.site-footer a:hover{color:#A8D879}
.site-footer p,.site-footer span{color:#aeb8c5}
.footer-social-button{color:#dce5ec}
/* v1.2.9 — neutral white footer typography (replace blue tint) */
.site-footer,
.site-footer h2,.site-footer h3,
.site-footer p,.site-footer span,
.site-footer .footer-brand-text{
  color:#f5f5f5;
}
.site-footer a,
.site-footer .footer-links a,
.site-footer .footer-legal a{
  color:#f5f5f5;
}
.site-footer a:hover,
.site-footer .footer-links a:hover,
.site-footer .footer-legal a:hover{
  color:#A8D879;
}
.site-footer .footer-social-button{color:#f5f5f5}

.content-page,.listing-page,.article{color:#e9edf3}
.page-header h1,.article-header h1,.error-page h1{color:#f1f4f8}
.page-excerpt,.article-header .meta{color:#aeb8c5}
.prose{color:#e0e5ec}
.prose h2,.prose h3{color:#f1f4f8}
.prose a{color:#A8D879;text-decoration-color:#A8D879}
.page-feature-image img,.article-image img{border:1px solid #343943}
.article-footer{border-top-color:#343943}
.event-intro{background:#22262d;color:#e9edf3}
.small-note,.empty-state{color:#aeb8c5}
.event-label{color:#A8D879}
.event-empty,.home-events-loading,.home-events-empty{background:#202329;border-color:#424955;color:#aeb8c5}
.event-empty p{color:#aeb8c5}
.event-empty code{background:#303640;color:#e9edf3}
.home-event-date{background:#0c0e11}
.home-event-day{color:#A8D879}
.home-event-month{color:#A8D879}
.home-event-meta{color:#aeb8c5}
.home-event-time:before{color:#A8D879}
.home-event-location:before{color:#ff9b78}
.pagination{color:#e9edf3}
/* Dark-mode dropdown colors: readable on desktop and mobile */
.site-nav .su-dropdown,
.site-nav .su-subdropdown{
  background:#202329;
  border-color:#363b45;
  box-shadow:0 14px 38px rgba(0,0,0,.38);
}
.site-nav .su-dropdown a,
.site-nav .su-subdropdown a{
  color:#e9edf3;
}
.site-nav .su-dropdown a:hover,
.site-nav .su-dropdown li:first-child>a,
.site-nav .su-subdropdown a:hover,
.site-nav .su-subdropdown li:first-child>a{
  background:#303a2b;
  color:#A8D879;
}
.site-nav .su-subdropdown{background:#252a31}
@media(max-width:640px){
 .site-nav{background:#191b20;border-bottom-color:#343943}
 .site-nav .su-dropdown,.site-nav .su-subdropdown{background:#202329;border-color:#363b45}
 .site-nav .su-dropdown a,.site-nav .su-subdropdown a{color:#e9edf3}
 .site-nav .su-dropdown a:hover,.site-nav .su-dropdown li:first-child>a,
 .site-nav .su-subdropdown a:hover,.site-nav .su-subdropdown li:first-child>a{background:#303a2b;color:#A8D879}
 .site-nav .su-subdropdown{background:#252a31}
}


/* v1.3.0 — icon-only footer social links using the light-theme accent gradient */
.site-footer .footer-social{display:flex;align-items:center;gap:12px}
.site-footer .footer-social-button{
  width:48px;height:48px;min-width:48px;
  display:inline-flex;align-items:center;justify-content:center;
  padding:0;border:0;border-radius:50%;
  background:linear-gradient(100deg,#A8D879,#A8D879);
  color:#111;
  box-shadow:0 2px 10px rgba(54,217,208,.12);
  transition:background .2s,color .2s,transform .2s,box-shadow .2s;
}
.site-footer .footer-social-button:hover{
  background:linear-gradient(100deg,#A8D879,#A8D879);
  color:#111;transform:translateY(-2px);
  box-shadow:0 5px 16px rgba(128,240,68,.22);
}
.site-footer .footer-social-icon{width:22px;height:22px;font-size:22px;line-height:1}


/* v1.3.1 — align primary calls-to-action and intro copy with the gradient accent */
.hero .button-primary,
.intro .button-primary,
.join-banner .button-primary{
  background:linear-gradient(100deg,#A8D879,#A8D879);
  color:#101719;
  border:0;
}
.hero .button-primary:hover,
.intro .button-primary:hover,
.join-banner .button-primary:hover{
  background:linear-gradient(100deg,#A8D879,#A8D879);
  color:#101719;
  transform:translateY(-2px);
}
.intro>p{color:#e9edf3}
.intro .eyebrow{color:#A8D879}


/* v1.3.2 — explicit homepage overrides for the intro accent and CTA buttons */
body .intro .eyebrow{
  color:#A8D879 !important;
}
body .intro>p{
  color:#f5f5f5 !important;
}
body .hero .hero-actions .button.button-primary,
body .join-banner .button.button-primary{
  background:linear-gradient(100deg,#A8D879 0%,#A8D879 100%) !important;
  color:#101719 !important;
  border:0 !important;
  text-shadow:none !important;
}
body .hero .hero-actions .button.button-primary:hover,
body .join-banner .button.button-primary:hover{
  background:linear-gradient(100deg,#A8D879 0%,#A8D879 100%) !important;
  color:#101719 !important;
}


/* v1.3.3 — global accent cleanup: remove cyan, turquoise and blue from dark theme */
:root{
  --navy:#e9edf3;
  --navy2:#f5f5f5;
  --orange:#A8D879;
  --gold:#A8D879;
}
/* Replace cyan/turquoise accents with the SpieleUnion green */
.site-nav .su-nav-list a:hover,
.site-nav .su-dropdown-toggle:hover,
.site-nav .nav-current a,
.eyebrow,
.text-link,
.prose a,
.footer-social-button,
.footer-social-button:hover,
.home-event-day,
.home-event-date,
.home-event-time:before{
  color:#A8D879 !important;
}
.site-nav .su-dropdown a:hover,
.site-nav .su-dropdown li:first-child>a,
.site-nav .su-subdropdown a:hover,
.site-nav .su-subdropdown li:first-child>a{
  background:#303a2b !important;
  color:#A8D879 !important;
}
.button-primary,
.hero .button-primary,
.intro .button-primary,
.join-banner .button-primary,
.site-footer .footer-social-button{
  background:linear-gradient(100deg,#A8D879 0%,#b4ff6b 100%) !important;
  color:#101719 !important;
  border-color:transparent !important;
}
.button-primary:hover,
.hero .button-primary:hover,
.intro .button-primary:hover,
.join-banner .button-primary:hover,
.site-footer .footer-social-button:hover{
  background:linear-gradient(100deg,#b4ff6b 0%,#A8D879 100%) !important;
  color:#101719 !important;
}
.button-ghost{border-color:rgba(245,245,245,.6) !important;color:#f5f5f5 !important}
.button-ghost:hover{background:#f5f5f5 !important;color:#15171b !important}
.feature-icon{color:#A8D879 !important}
.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(4) .feature-icon{
  color:#A8D879 !important;
}
.hero .eyebrow,.intro .eyebrow,.join-banner .eyebrow{color:#A8D879 !important}
.hero h1 span{color:#A8D879 !important}
.intro>p{color:#f5f5f5 !important}
/* Ensure footer icon glyphs use the new green-gradient buttons' dark contrast */
.site-footer .footer-social-button{color:#101719 !important}
.site-footer .footer-social-button:hover{color:#101719 !important}


/* v1.3.4 — unify Dark Mode accents with the three SpieleUnion identity colors */
:root{
  --su-green:#A8D879;
  --su-yellow:#E7D878;
  --su-orange:#DFA45B;
  --navy:#f1f3f5;
  --navy2:#f5f5f5;
  --orange:var(--su-orange);
  --gold:var(--su-yellow);
}

/* Global links and interactive accent details */
.site-nav .su-nav-list a:hover,
.site-nav .su-dropdown-toggle:hover,
.site-nav .nav-current a,
.eyebrow,
.text-link,
.prose a,
.home-event-day,
.home-event-time:before{
  color:var(--su-green) !important;
}
.intro .eyebrow,
.hero .eyebrow,
.join-banner .eyebrow{
  color:var(--su-green) !important;
}
.section-heading .eyebrow:nth-of-type(2),
.feature-card:nth-child(2) .feature-icon{
  color:var(--su-yellow) !important;
}
.feature-card:nth-child(3) .feature-icon,
.site-footer a:hover{
  color:var(--su-orange) !important;
}

/* Consistent green-to-yellow CTA treatment, replacing former cyan/blue gradients */
.button-primary,
.hero .hero-actions .button.button-primary,
.intro .button-primary,
.join-banner .button-primary,
.site-footer .footer-social-button{
  background:linear-gradient(105deg,var(--su-green) 0%,var(--su-yellow) 100%) !important;
  color:#151719 !important;
  border:0 !important;
  text-shadow:none !important;
}
.button-primary:hover,
.hero .hero-actions .button.button-primary:hover,
.intro .button-primary:hover,
.join-banner .button-primary:hover,
.site-footer .footer-social-button:hover{
  background:linear-gradient(105deg,var(--su-yellow) 0%,var(--su-green) 100%) !important;
  color:#151719 !important;
}
.button-ghost{
  border-color:rgba(245,245,245,.65) !important;
  color:#f5f5f5 !important;
}
.button-ghost:hover{
  background:#f5f5f5 !important;
  color:#151719 !important;
}

/* Dropdown active state follows the same palette without introducing blue */
.site-nav .su-dropdown a:hover,
.site-nav .su-dropdown li:first-child>a,
.site-nav .su-subdropdown a:hover,
.site-nav .su-subdropdown li:first-child>a{
  background:rgba(150,255,34,.12) !important;
  color:var(--su-green) !important;
}

/* Card and event icon accents: green, yellow and orange in balanced rotation */
.feature-icon{color:var(--su-green) !important}
.feature-card:nth-child(2) .feature-icon{color:var(--su-yellow) !important}
.feature-card:nth-child(3) .feature-icon{color:var(--su-orange) !important}
.feature-card:nth-child(4) .feature-icon{color:var(--su-green) !important}
.hero h1 span{color:var(--su-green) !important}
.intro>p{color:#f5f5f5 !important}
.footer-social-button{color:#151719 !important}


/* v1.3.5 — final cascade correction for the SpieleUnion three-color palette
   The stronger selectors intentionally supersede legacy theme color rules. */
:root{
  --su-brand-green:#A8D879;
  --su-brand-yellow:#E7D878;
  --su-brand-orange:#DFA45B;
}

/* Main action buttons: green/yellow only, no cyan or turquoise */
body .hero .hero-actions a.button.button-primary,
body .join-banner a.button.button-primary,
body a.button.button-primary,
body .site-footer a.footer-social-button{
  background:linear-gradient(105deg,#A8D879 0%,#E7D878 100%) !important;
  color:#151719 !important;
  border:0 !important;
  box-shadow:none !important;
  text-shadow:none !important;
}
body .hero .hero-actions a.button.button-primary:hover,
body .join-banner a.button.button-primary:hover,
body a.button.button-primary:hover,
body .site-footer a.footer-social-button:hover{
  background:linear-gradient(105deg,#E7D878 0%,#A8D879 100%) !important;
  color:#151719 !important;
}

/* Keep the secondary action clear and neutral */
body .hero .hero-actions a.button.button-ghost{
  background:transparent !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.7) !important;
}
body .hero .hero-actions a.button.button-ghost:hover{
  background:#fff !important;
  color:#171717 !important;
}

/* Brand accents distributed across site sections */
body .hero .eyebrow,
body .intro .eyebrow,
body .join-banner .eyebrow,
body .events-section .eyebrow,
body .news-section .eyebrow{
  color:#A8D879 !important;
}
body .hero h1 span{
  color:#A8D879 !important;
}
body .intro>p,
body .hero-lead,
body .section-subtitle{
  color:#f5f5f5 !important;
}

/* Yellow and orange are used for secondary accents, not body copy */
body .feature-card:nth-child(2) .feature-icon{color:#E7D878 !important}
body .feature-card:nth-child(3) .feature-icon{color:#DFA45B !important}
body .feature-card:nth-child(4) .feature-icon{color:#A8D879 !important}
body .site-nav .nav-current>a,
body .site-nav a:hover,
body .site-nav .su-dropdown-toggle:hover,
body .text-link:hover{
  color:#E7D878 !important;
}
body .text-link,
body .prose a{
  color:#A8D879 !important;
}
body .site-footer a:hover{
  color:#DFA45B !important;
}

/* Dropdown state and icon buttons follow the same identity palette */
body .site-nav .su-dropdown a:hover,
body .site-nav .su-dropdown li:first-child>a,
body .site-nav .su-subdropdown a:hover,
body .site-nav .su-subdropdown li:first-child>a{
  background:rgba(150,255,34,.12) !important;
  color:#A8D879 !important;
}
body .site-footer .footer-social-button{
  background:linear-gradient(105deg,#A8D879 0%,#E7D878 100%) !important;
  color:#151719 !important;
}


/* v1.3.6 — softer, eye-friendly SpieleUnion identity palette */
:root{
  --su-brand-green:#A8D879;
  --su-brand-yellow:#E7D878;
  --su-brand-orange:#DFA45B;
  --su-green:#A8D879;
  --su-yellow:#E7D878;
  --su-orange:#DFA45B;
}
body .hero h1 span,
body .hero .eyebrow,
body .intro .eyebrow,
body .join-banner .eyebrow,
body .events-section .eyebrow,
body .news-section .eyebrow,
body .site-nav .nav-current>a,
body .site-nav a:hover,
body .site-nav .su-dropdown-toggle:hover,
body .text-link,
body .prose a{
  color:#A8D879 !important;
}
body .feature-card:nth-child(2) .feature-icon{color:#E7D878 !important}
body .feature-card:nth-child(3) .feature-icon{color:#DFA45B !important}
body .feature-card:nth-child(4) .feature-icon{color:#A8D879 !important}
body a.button.button-primary,
body .hero .hero-actions a.button.button-primary,
body .join-banner a.button.button-primary,
body .site-footer a.footer-social-button{
  background:linear-gradient(105deg,#A8D879 0%,#E7D878 100%) !important;
  color:#171917 !important;
}
body a.button.button-primary:hover,
body .hero .hero-actions a.button.button-primary:hover,
body .join-banner a.button.button-primary:hover,
body .site-footer a.footer-social-button:hover{
  background:linear-gradient(105deg,#E7D878 0%,#A8D879 100%) !important;
  color:#171917 !important;
}


/* Ghost font settings support — system fonts only, no Google Fonts requests */
:root{
  --gh-font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gh-font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body{
  font-family:var(--gh-font-body);
}
h1,h2,h3,h4,h5,h6,
.site-title,.brand-text,.footer-brand-text{
  font-family:var(--gh-font-heading);
}


/* v1.3.8 — News archive page card grid */
.news-archive-page{padding-top:clamp(36px,6vw,72px);padding-bottom:clamp(48px,7vw,88px)}
.news-archive-page .page-header{margin-bottom:32px}
.news-archive-page .news-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.news-archive-page .empty-state{color:#f1f3f5;grid-column:1/-1}
@media(max-width:900px){
  .news-archive-page .news-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .news-archive-page .news-post-grid{grid-template-columns:1fr}
}

/* v1.4.1 — remove the decorative chess-piece watermark from the homepage hero */
.hero-mark{display:none !important}


/* v1.4.3 — improve homepage cover-image composition on narrow screens */
@media (max-width: 640px){
  body.home-template .hero,
  body.home .hero,
  .hero.hero-has-cover{
    min-height:600px;
    isolation:isolate;
  }
  .hero .hero-cover{
    inset:0;
    z-index:-2;
    background-size:auto 100%;
    background-position:72% center;
    background-repeat:no-repeat;
  }
  .hero.hero-has-cover:before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:linear-gradient(90deg,rgba(8,14,22,.94) 0%,rgba(8,14,22,.78) 48%,rgba(8,14,22,.28) 100%);
  }
  .hero-inner{
    padding:54px 22px;
    width:100%;
  }
  .hero h1{
    font-size:clamp(2.35rem,10vw,3.35rem);
    max-width:100%;
  }
  .hero-lead{
    max-width:94%;
  }
}


/* v1.4.4 — widen the News archive layout without changing other pages */
.news-archive-page.section-wrap{
  max-width:1480px;
  width:100%;
  padding-left:clamp(24px,4vw,64px);
  padding-right:clamp(24px,4vw,64px);
}
.news-archive-page .news-post-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
}
@media(max-width:900px){
  .news-archive-page .news-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .news-archive-page.section-wrap{
    padding-left:20px;
    padding-right:20px;
  }
  .news-archive-page .news-post-grid{grid-template-columns:1fr}
}
