/*
Theme Name: EfF Fanscene
Description: Redigerbart bloktema til Esbjergs forenede Fanscene. Moderne Blue Knights-inspireret design.
Version: 2.0.9
Requires at least: 6.6
Requires PHP: 7.4
Author: Esbjergs forenede Fanscene
License: GPL-2.0-or-later
Text Domain: eff-fanscene
*/
body{margin:0;background:#e8edf3;color:#12243b;font-family:Arial,Helvetica,sans-serif}.wp-site-blocks{max-width:1180px;margin:auto;background:#f2f5f9;min-height:100vh}a{text-underline-offset:3px}a:hover{text-decoration:underline}img{max-width:100%;height:auto}h1,h2,h3{line-height:1.15;letter-spacing:-.025em}h1{font-size:clamp(30px,4vw,44px)}.eff-topline{background:#0b2448;color:#b9cee9;padding:10px 28px;font-size:12px;letter-spacing:.04em}.eff-topline p{margin:0}.eff-header{padding:24px 28px;background:#fff}.eff-header .wp-block-site-title{font-size:22px;font-weight:700}.eff-header .wp-block-site-title a{color:#12243b;text-decoration:none}.eff-header .wp-block-site-logo img{width:70px;height:70px;object-fit:contain}.eff-nav{background:#fff;border-top:1px solid #e4ebf3;border-bottom:1px solid #cbd8e7;padding:16px 28px;font-size:14px;font-weight:700}.eff-nav a{text-decoration:none}.eff-main{padding:30px}.eff-footer{background:#0b2448;color:#fff;padding:28px;font-size:14px}.eff-footer a{color:#c7dfff}.eff-footer p{margin:0 0 8px}.wp-block-buttons{margin-top:14px}.wp-block-button__link{background:#1760b9;color:#fff;border-radius:3px;padding:12px 17px;font-weight:700;font-size:14px}.wp-block-details{padding:17px 0;border-top:1px solid #cbd8e7}.wp-block-details summary{font-weight:700;color:#12345d;cursor:pointer}.wp-block-details> :not(summary){margin-top:16px}.wp-block-details p{line-height:1.65}.wp-block-list{padding-left:26px}.wp-block-list li{padding-left:6px;margin-bottom:10px}.eff-home-hero{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:30px;background:#0b2448;color:white;padding:32px;border-bottom:5px solid #1760b9;margin:-30px -30px 0}.eff-home-hero a,.eff-home-hero .wp-block-post-title a{color:white}.eyebrow{font-size:12px;letter-spacing:.13em;color:#9cc5fa;font-weight:700}.eff-home-hero .wp-block-post-template{margin:0}.eff-news-query .wp-block-post-template{list-style:none;padding:0}.eff-news-query .wp-block-post-featured-image{float:right;width:170px;margin:0 0 16px 22px}.eff-news-photo img{width:100%;aspect-ratio:17/9;object-fit:cover}.eff-news-query .wp-block-post-title{font-size:27px}.eff-news-query .wp-block-post-date{font-size:12px;color:#69809c}.eff-home-hero .wp-block-post-date{color:#b9cee9}.eff-news-query .wp-block-post-excerpt{clear:both;font-size:16px;line-height:1.65}.eff-news-query .wp-block-post-excerpt__more-link{display:inline-block;background:#1760b9;color:#fff;padding:10px 16px;text-decoration:none;border-radius:3px;font-weight:700}.eff-home-hero .wp-block-post-excerpt__more-link{background:white;color:#12345d}.eff-news-compact{border-top:1px solid #53677f;margin-top:24px}.eff-news-compact li{border-bottom:1px solid #53677f;padding:14px 0}.eff-news-compact .wp-block-post-title{font-size:17px;margin:4px 0}.eff-home-trip{background:#fff;color:#12345d;padding:20px;border-radius:4px;align-self:start}.eff-home-trip a{color:#1760b9}.eff-home-trip .wp-block-button__link{color:#fff}.eff-home-bottom,.membership-layout,.bus-layout,.busture-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:28px}.eff-home-bottom{padding-top:28px}.membership-layout{grid-template-columns:1fr 1fr}.notice{background:#e4edf9;padding:22px;border-left:4px solid #1760b9}.notice h3{margin-top:0}.community{margin-top:24px}.eff-donation{background:#2857b7;color:white;padding:22px}.eff-donation h2{color:white;margin-top:0}.eff-donation .wp-block-button__link{background:white;color:#12345d}.eff-fanbod-link{background:white;border-top:3px solid #2857b7;padding:20px;margin-top:24px}.eff-fanbod-link h3{margin:0}.membership-form{background:white;border:1px solid #d6e0ed;padding:22px}.member-price{background:#e4edf9;padding:20px}.eff-member-form iframe{width:100%;height:1120px;border:0;background:white}.activity-archive-title{margin-top:42px;margin-bottom:0}.activity-archive{margin-top:0}.activity-dropdown .wp-block-image{max-width:650px}.activity-dropdown .wp-block-image img{width:100%;aspect-ratio:3/2;object-fit:cover}.activity-dropdown.full-image .wp-block-image img{aspect-ratio:auto;height:auto;object-fit:contain}.tifo-donation{background:#0b2448;color:white;display:grid;grid-template-columns:1.3fr 1fr;gap:24px;padding:24px}.tifo-donation h2,.tifo-donation h3{color:white}.tifo-donation p{margin:8px 0}.tifo-donation .donation-number{font-size:40px;font-weight:700}.tifo-gallery{display:grid;grid-template-columns:1fr 1fr;gap:22px}.tifo-gallery .wp-block-image img{width:100%;aspect-ratio:3/2;object-fit:cover}.tifo-gallery h3{font-size:18px}.tifo-gallery p{font-size:14px}.about-dropdowns{margin-top:8px}.about-dropdowns .wp-block-details:first-child{padding-top:4px}.eff-st-trip{background:#edf3fb;padding:18px;border:1px solid #d6e0ed}.eff-st-label{font-size:12px;color:#2857b7;font-weight:700;letter-spacing:.04em}.eff-st-trip h3{font-size:23px;margin:12px 0}.eff-st-trip p{font-size:14px;line-height:1.6}.eff-st-button{display:inline-block;background:#1760b9;color:white!important;padding:12px 16px;text-decoration:none;font-weight:700;border-radius:3px}.eff-news-query:not(.eff-news-compact) li{display:flow-root;margin-bottom:24px}.eff-main .wp-block-post-content>.wp-block-group{margin-top:24px}.eff-main .wp-block-post-content>.eff-home-hero{margin-top:-30px}.wp-block-post-content .wp-block-image:not(.eff-news-photo) img{width:100%;aspect-ratio:3/2;object-fit:cover}.wp-block-post-content .full-image .wp-block-image img{aspect-ratio:auto;object-fit:contain}.single .wp-block-post-content .wp-block-image img{aspect-ratio:auto}.wp-block-navigation__responsive-container.is-menu-open{padding:24px}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{padding:10px 0}
@media(max-width:700px){.eff-home-hero,.eff-home-bottom,.membership-layout,.bus-layout,.busture-layout,.tifo-donation,.tifo-gallery{grid-template-columns:1fr}.eff-main{padding:20px}.eff-home-hero{margin:-20px -20px 0;padding:24px 20px}.eff-main .wp-block-post-content>.eff-home-hero{margin-top:-20px}.eff-header{padding:20px;gap:12px}.eff-header .wp-block-site-title{font-size:17px}.eff-header .wp-block-site-logo img{width:50px;height:50px}.eff-topline{padding:10px 20px}.eff-news-query .wp-block-post-featured-image{width:125px;margin-left:14px}.eff-news-query .wp-block-post-title{font-size:23px}.eff-nav{padding:14px 20px}.eff-header .wp-block-button__link{padding:10px;font-size:12px}.eff-footer{padding:24px 20px}}
.wp-site-blocks{overflow-wrap:anywhere}.donation-mobile p:last-child{font-size:40px;font-weight:700;line-height:1.1;margin:8px 0}.eff-fanbod-link .wp-block-button__link,.community .wp-block-button__link{padding:0;background:transparent;color:#1760b9}.eff-bus-intro{margin-bottom:20px;font-size:15px}
/* 2.0.1: Dato i egen række; billede flugter med overskrift på alle nyhedslister. */
.eff-news-query:not(.eff-news-compact) .wp-block-post-template>li{display:grid;grid-template-columns:minmax(0,1fr) 170px;column-gap:22px;row-gap:18px;align-items:start}
.eff-news-query:not(.eff-news-compact) .wp-block-post-date{grid-column:1/-1;grid-row:1;margin:0}
.eff-news-query:not(.eff-news-compact) .wp-block-post-title{grid-column:1;grid-row:2;margin:0}
.eff-news-query:not(.eff-news-compact) .wp-block-post-featured-image{grid-column:2;grid-row:2;float:none;width:100%;margin:0!important}
.eff-news-query:not(.eff-news-compact) .wp-block-post-featured-image img{display:block;width:100%;aspect-ratio:17/9;object-fit:cover}
.eff-news-query:not(.eff-news-compact) .wp-block-post-excerpt{grid-column:1/-1;grid-row:3;clear:none;margin:0}
@media(max-width:700px){.eff-news-query:not(.eff-news-compact) .wp-block-post-template>li{grid-template-columns:minmax(0,1fr) 125px;column-gap:14px}}
/* 2.0.9: Større billede med naturlig tekstombrydning. */
.eff-news-query:not(.eff-news-compact) .wp-block-post-template>li{display:flow-root}
.eff-news-query:not(.eff-news-compact) .wp-block-post-date{margin:0 0 18px}
.eff-news-query:not(.eff-news-compact) .wp-block-post-featured-image{float:right;width:210px;max-width:42%;margin:0 0 14px 22px!important}
.eff-news-query:not(.eff-news-compact) .wp-block-post-title{margin:0 0 14px}
.eff-news-query:not(.eff-news-compact) .wp-block-post-excerpt{clear:none;margin:0}
.eff-news-query:not(.eff-news-compact) .wp-block-post-excerpt__excerpt{margin-top:0}
@media(max-width:700px){.eff-news-query:not(.eff-news-compact) .wp-block-post-featured-image{width:145px;margin-left:14px!important}}
/* 2.0.9: Et arkivpunkt består af billede, overskrift og beskrivelse. */
.tifo-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px;align-items:start}
.tifo-gallery>.eff-tifo-card{min-width:0;margin:0!important}
.eff-tifo-card .wp-block-image{margin:0 0 14px}
.eff-tifo-card h3{margin:0 0 10px}
.eff-tifo-card p{margin:0;line-height:1.6}
@media(max-width:700px){.tifo-gallery{grid-template-columns:minmax(0,1fr)}}
/* 2.0.9: Medlemsformular starter ved overskriftens øverste kant. */
.eff-main .wp-block-post-content>.membership-layout{margin-top:0!important;align-items:start}
.membership-copy>h1.wp-block-heading:first-child{margin-top:0}
.membership-layout>.membership-form{margin-top:0!important}
/* 2.0.9: Overskrifter må ikke rydde billedets float på mobil. */
.eff-news-query:not(.eff-news-compact) .wp-block-post-title{clear:none!important}
.eff-news-query:not(.eff-news-compact) .wp-block-post-excerpt,.eff-news-query:not(.eff-news-compact) .wp-block-post-excerpt__excerpt{clear:none!important}
@media(max-width:700px){
.eff-nav .wp-block-navigation__responsive-container.is-menu-open{background:#0b2448!important;color:#fff!important;padding:68px 24px 32px;box-sizing:border-box}
.eff-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{padding-top:12px;align-items:center!important}
.eff-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{width:100%;max-width:360px;margin:0 auto;align-items:stretch!important;gap:0}
.eff-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{width:100%;padding:0!important;text-align:center;border-bottom:1px solid #ffffff26}
.eff-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{display:block;width:100%;padding:15px 12px;color:#fff!important;font-size:18px;line-height:1.35;text-align:center;box-sizing:border-box}
.eff-nav .wp-block-navigation__responsive-container.is-menu-open .current-menu-item>.wp-block-navigation-item__content{background:#2857b7;border-radius:4px}
.eff-nav .wp-block-navigation__responsive-container-close{color:inherit;padding:10px;top:10px;right:0}
.eff-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog{margin-top:0}
}
/* 2.0.9: Fast mobilplacering, også ved lange overskrifter. */
@media(max-width:700px){
.eff-news-query:not(.eff-news-compact) .wp-block-post-template>li{display:grid!important;grid-template-columns:minmax(0,1fr) 125px;column-gap:14px;row-gap:12px;align-items:start}
.eff-news-query:not(.eff-news-compact) .wp-block-post-date{grid-column:1/-1;grid-row:1;margin:0 0 6px}
.eff-news-query:not(.eff-news-compact) .wp-block-post-title{grid-column:1;grid-row:2;min-width:0;margin:0;overflow-wrap:anywhere;font-size:21px}
.eff-news-query:not(.eff-news-compact) .wp-block-post-title a{overflow-wrap:anywhere}
.eff-news-query:not(.eff-news-compact) .wp-block-post-featured-image{grid-column:2;grid-row:2/4;float:none!important;width:100%!important;max-width:none!important;margin:0!important;align-self:start}
.eff-news-query:not(.eff-news-compact) .wp-block-post-excerpt{grid-column:1;grid-row:3;min-width:0;margin:0}
.eff-news-query:not(.eff-news-compact) .wp-block-post-excerpt__excerpt{margin-top:0}
}
@media(max-width:700px){.eff-news-query:not(.eff-news-compact) .wp-block-post-featured-image{grid-row:2}.eff-news-query:not(.eff-news-compact) .wp-block-post-excerpt{grid-column:1/-1}}
/* 2.0.9: Naturlig tekstombrydning på mobil uden at overskriften skubbes ned. */
@media(max-width:700px){
.eff-news-query:not(.eff-news-compact) .wp-block-post-template>li{display:flow-root!important}
.eff-news-query:not(.eff-news-compact) .wp-block-post-date{display:block;margin:0 0 18px}
.eff-news-query:not(.eff-news-compact) .wp-block-post-featured-image{float:right!important;width:125px!important;max-width:42%!important;margin:0 0 12px 14px!important}
.eff-news-query:not(.eff-news-compact) .wp-block-post-title{display:inline!important;clear:none!important;margin:0!important;font-size:21px;line-height:1.2;overflow-wrap:anywhere}
.eff-news-query:not(.eff-news-compact) .wp-block-post-title a{display:inline!important;overflow-wrap:anywhere}
.eff-news-query:not(.eff-news-compact) .wp-block-post-excerpt{display:contents!important}
.eff-news-query:not(.eff-news-compact) .wp-block-post-excerpt__excerpt{clear:none!important;margin:14px 0 0!important}
.eff-news-query:not(.eff-news-compact) .wp-block-post-excerpt__more-text{clear:both;margin-top:16px}
}
/* 2.0.9: Native tifogrupper i frontend og blokeditor. */
.tifo-gallery>.wp-block-group.eff-tifo-card{margin:0!important}
.editor-styles-wrapper .tifo-gallery>.block-editor-inner-blocks{grid-column:1/-1;min-width:0}
.editor-styles-wrapper .tifo-gallery>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px;align-items:start}
.editor-styles-wrapper .tifo-gallery>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{margin:0;min-width:0;max-width:none}

/* 2.0.9: Bustur-widget flugter med titel, og kommer først på mobil. */
.eff-main .wp-block-post-content>.bus-layout,.eff-main .wp-block-post-content>.busture-layout{margin-top:0!important;align-items:start}
.bus-layout>.eff-bus-copy,.busture-layout>.eff-bus-copy{margin-top:0!important;min-width:0}
.eff-bus-copy>h1.wp-block-heading:first-child{margin-top:0!important}
.bus-layout>.eff-st-trip,.busture-layout>.eff-st-trip{margin-top:0!important;align-self:start;min-width:0}
@media(max-width:700px){.bus-layout>.eff-st-trip,.busture-layout>.eff-st-trip{order:-1}}
