/*
Theme Name: Kattegatforbindelse – Nej Tak
Theme URI: https://kattegatforbindelsenejtak.dk
Description: Child theme af Twenty Twenty-Five til foreningen Kattegatforbindelse – Nej Tak. Selvhostede skrifter, grøn/blå palette og forsidemønster.
Author: Kattegatforbindelse – Nej Tak
Template: twentytwentyfive
Version: 0.5.1
Requires at least: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kattegat-nejtak
*/

/* Det meste styres af theme.json. Her ligger kun det, theme.json ikke kan udtrykke. */

.kf-hero{position:relative;overflow:hidden}
.kf-hero::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:90px;pointer-events:none;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'><path d='M0 50 C180 10 360 90 540 50 S900 10 1080 50 S1320 80 1440 40 L1440 90 L0 90Z' fill='%23ffffff'/><path d='M0 30 C200 70 380 0 600 36 S960 70 1140 28 S1360 10 1440 30' fill='none' stroke='%234f9a5f' stroke-width='2'/><path d='M0 50 C180 10 360 90 540 50 S900 10 1080 50 S1320 80 1440 40' fill='none' stroke='%231d6286' stroke-width='7' stroke-linecap='round' vector-effect='non-scaling-stroke'/></svg>") center bottom/100% 100% no-repeat;
}
.kf-hero > .wp-block-cover__background,.kf-hero > .wp-block-cover__image-background{max-width:none;margin:0}
.kf-hero > .wp-block-cover__inner-container{position:relative;z-index:2;width:100%;max-width:1200px;margin-left:auto;margin-right:auto;color:#fff}
.kf-hero::after{z-index:1}
.kf-hero.wp-block-cover{min-height:0;align-items:center;padding-left:2rem;padding-right:2rem}
.kf-pill{display:inline-block;border:1px solid #6f95aa;border-radius:999px;padding:4px 14px;font-size:.875rem;font-weight:600;color:#cfe0ea}

.kf-card{border:1px solid var(--wp--preset--color--line);border-radius:10px}
.kf-card h3,.kf-card p{margin-block-start:0}
.kf-icon{width:52px;height:52px;flex:0 0 52px;border-radius:50%;background:var(--wp--preset--color--green);display:flex;align-items:center;justify-content:center}
.kf-icon svg{display:block}
.kf-date{flex:0 0 76px;background:var(--wp--preset--color--blue);color:#fff;border-radius:8px;text-align:center;padding:10px 4px}
.kf-stat{border-left:4px solid var(--wp--preset--color--blue);padding:4px 0 4px 18px}

.wp-block-navigation a{text-decoration:none}
.wp-block-button__link:focus-visible,a:focus-visible{outline:3px solid var(--wp--preset--color--green);outline-offset:2px}
.kf-footer a{color:#fff}

@media (max-width:600px){
  .kf-hero::after{height:50px}
}

/* ---------- Layout og komponenter ---------- */
.kf-sec{padding:clamp(2.5rem,5vw,3.75rem) 2rem clamp(2.5rem,5vw,4rem);margin-block:0!important}
.kf-sec > *{max-width:1200px;margin-left:auto;margin-right:auto}
.kf-sec h2{margin:0 0 .5rem}
.kf-sec p{margin-block-start:0}
.kf-sec > .kf-grid,.kf-sec > .wp-block-group.kf-grid{margin-top:2rem}
.kf-hero{padding-top:clamp(3rem,7vw,5.25rem);padding-bottom:clamp(5rem,9vw,7.5rem)}
.kf-hero-row{gap:3rem}
.kf-hero-left{flex:1 1 32rem;min-width:0}
.kf-hero-left h1{margin:1.2rem 0 1.2rem;color:#fff}
.kf-hero-left .wp-block-button__link{border-radius:6px;padding:.95rem 1.75rem}
.kf-hero-left .is-style-outline .wp-block-button__link{border:2px solid #fff;color:#fff;background:transparent}
.kf-memberbox{flex:0 1 22.5rem;min-width:17.5rem;padding:1.75rem}
.kf-eyebrow{font-size:.875rem;text-transform:uppercase;letter-spacing:.06em;margin:0 0 .25rem}
.kf-price{font-family:var(--wp--preset--font-family--archivo);font-size:2.75rem;line-height:1.1;margin:.25rem 0 .9rem;color:var(--wp--preset--color--black)}
.kf-price strong{font-weight:800}
.kf-per{font-size:1.125rem;font-weight:700;color:var(--wp--preset--color--muted)}
.kf-price-light,.kf-price-light .kf-per{color:#fff}
.kf-price-light .kf-per{color:var(--wp--preset--color--pale)}
.kf-tal{padding-top:2.25rem;padding-bottom:.75rem}
.kf-statnum{font-family:var(--wp--preset--font-family--archivo);font-size:2.5rem;line-height:1.1;margin:0;color:var(--wp--preset--color--black)}
.kf-stat p{margin:0}
.kf-card{padding:1.75rem}
.kf-card .wp-block-heading{margin:0 0 .6rem}
.kf-num{font-family:var(--wp--preset--font-family--archivo);font-weight:800;color:var(--wp--preset--color--blue);font-size:.9375rem;margin:0 0 .6rem}
.kf-more{margin:1rem 0 0}
.kf-more a{font-weight:700}
.kf-values .kf-val{padding:1.6rem;border-radius:10px;gap:1.1rem;border:0}
.kf-values .kf-valtext{min-width:0}
.kf-values .kf-valtext h3{margin:0 0 .35rem;font-size:1.3125rem}
.kf-values .kf-valtext p{margin:0}
.kf-rowhead{gap:.75rem;margin-bottom:1.75rem}
.kf-rowhead h2{margin:0}
.kf-rowhead p{margin:0}
.kf-event{gap:1.4rem}
.kf-event .kf-evtext{min-width:0}
.kf-dd{font-family:var(--wp--preset--font-family--archivo);font-size:1.875rem;line-height:1;margin:0}
.kf-mm{font-size:.875rem;font-weight:600;color:var(--wp--preset--color--pale);margin:0}
.kf-news .wp-block-post-template{gap:1.5rem}
.kf-news .wp-block-post-featured-image{margin:0 0 .85rem}
.kf-news .kf-meta{gap:.5rem;font-size:.875rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--wp--preset--color--blue)}
.kf-news .kf-meta a{text-decoration:none;color:inherit}
.kf-news .wp-block-post-title{margin:.25rem 0 .5rem;font-size:1.3125rem}
.kf-news .wp-block-post-title a{text-decoration:none;color:var(--wp--preset--color--black)}
.kf-news .wp-block-post-title a:hover{text-decoration:underline}
.kf-news .wp-block-post-excerpt{color:var(--wp--preset--color--muted);margin:0}
.kf-band{padding-top:4rem;padding-bottom:4rem}
.kf-band h2{color:#fff}
.kf-bandtext{flex:1 1 30rem;min-width:0}
.kf-bandtext p{max-width:38rem}
.kf-bandcta{text-align:center}
.kf-bandcta .wp-block-button__link{padding:.95rem 1.9rem}
.kf-news-box{padding:2rem}
.kf-support{border:2px solid var(--wp--preset--color--black);padding:2rem}
.kf-mp{font-family:var(--wp--preset--font-family--archivo);font-weight:800;font-size:1.875rem;margin:0 0 .5rem;color:var(--wp--preset--color--black)}
.kf-nav-cta > a{background:var(--wp--preset--color--blue);color:#fff!important;font-weight:700;padding:.65rem 1.35rem;border-radius:6px}
.kf-nav-cta > a:hover{background:var(--wp--preset--color--black)}
.kf-footer .kf-sec{padding-top:2.75rem;padding-bottom:2.75rem}
.kf-footer p{margin:0 0 .4rem}
.kf-ftitle{font-family:var(--wp--preset--font-family--archivo);font-size:1.25rem;color:#fff}
.kf-fbrand{flex:1 1 17rem;margin-right:2rem}
.kf-fcol{gap:.4rem}
.kf-footer a{color:#fff}

/* ---- 0.5.0: indlæg og sider med højre kolonne ---- */
:root{--kf-primary-bg:#2e8540;--kf-primary-fg:#fff;--kf-primary-hbg:#0d0d0f;--kf-primary-hfg:#fff;--kf-info-bg:#1d6286;--kf-info-fg:#fff;--kf-info-hbg:#0d0d0f;--kf-info-hfg:#fff;--kf-light-bg:#fff;--kf-light-fg:#0d0d0f;--kf-light-hbg:#eaf4ea;--kf-light-hfg:#0d0d0f;--kf-radius:6px}
.kf-nav-cta a,.kf-btn-primary .wp-block-button__link,.wp-block-button.kf-btn-primary a{background:var(--kf-primary-bg)!important;color:var(--kf-primary-fg)!important;border-radius:var(--kf-radius)!important;padding:.55rem 1.1rem!important;text-decoration:none!important;font-weight:700}
.kf-nav-cta a:hover,.kf-btn-primary .wp-block-button__link:hover{background:var(--kf-primary-hbg)!important;color:var(--kf-primary-hfg)!important}
.kf-btn-info .wp-block-button__link{background:var(--kf-info-bg)!important;color:var(--kf-info-fg)!important;border-radius:var(--kf-radius)!important}
.kf-btn-info .wp-block-button__link:hover{background:var(--kf-info-hbg)!important;color:var(--kf-info-hfg)!important}
.kf-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:3rem;align-items:start;margin-top:2rem}
.kf-layout>*{margin-block:0!important}
.kf-aside:empty,.kf-aside:not(:has(*)){display:none}
.kf-layout:has(.kf-aside:empty){grid-template-columns:minmax(0,760px)}
.kf-single .wp-block-post-title{font-size:clamp(2rem,4.5vw,3rem);line-height:1.1;margin:.35rem 0 1.25rem}
.kf-single .kf-meta{gap:.6rem;font-size:.875rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--wp--preset--color--blue)}
.kf-single .kf-meta a{text-decoration:none;color:inherit}
.kf-prose{font-size:1.125rem;line-height:1.7}
.kf-prose>*+*{margin-top:1.1em}
.kf-prose img{max-width:100%;height:auto;border-radius:8px}
.kf-prose h2,.kf-prose h3{margin-top:1.6em}
.kf-postnav{margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid var(--wp--preset--color--line);gap:1rem;font-weight:600}
.kf-postnav a{text-decoration:none}.kf-postnav a:hover{text-decoration:underline}
.kf-postnav>*{max-width:48%}
.kf-chips{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;margin:1rem 0 2rem}
.kf-chips ul{display:contents;list-style:none;padding:0;margin:0}.kf-chips li{display:inline-block}
.kf-chips a{display:inline-block;padding:.35rem .9rem;border:1px solid var(--wp--preset--color--line);border-radius:999px;text-decoration:none;font-weight:600;font-size:.9rem;color:var(--wp--preset--color--black)}
.kf-chips a:hover{background:var(--wp--preset--color--light-green);border-color:transparent}
.kf-articles .kf-lead{font-size:1.2rem;max-width:46rem;color:var(--wp--preset--color--muted)}
.kf-news .wp-block-post{background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:12px;padding:0 0 1.1rem;overflow:hidden;transition:box-shadow .15s,transform .15s}
.kf-news .wp-block-post:hover{box-shadow:0 8px 24px rgba(13,38,60,.12);transform:translateY(-2px)}
.kf-news .wp-block-post>*:not(.wp-block-post-featured-image){margin-left:1.1rem;margin-right:1.1rem}
.kf-news .wp-block-post .wp-block-post-featured-image{margin:0 0 .85rem;border-radius:0!important}
.kf-news .wp-block-post .wp-block-post-featured-image img{border-radius:0!important}
.kf-news .wp-block-query-pagination{margin-top:2.5rem}
.kf-news .wp-block-query-pagination a,.kf-news .page-numbers{text-decoration:none;font-weight:700;padding:.3rem .6rem}
.kf-news .page-numbers.current{background:var(--wp--preset--color--blue);color:#fff;border-radius:6px}
@media(max-width:900px){.kf-layout{grid-template-columns:1fr;gap:2rem}.kf-postnav>*{max-width:100%}}
