/*
Theme Name: Teekampagne Sverige Editor
Theme URI: https://tekampanj.se/
Description: Editorfreundliches Child-Theme fuer Twenty Twenty-Four: schwedische Teekampagne-Landingpage mit bearbeitbaren Gutenberg-Bloecken, Bildplatzhaltern und interner Navigation.
Author: OpenAI
Template: twentytwentyfour
Version: 2.0.0
Text Domain: teekampagne-sverige
Requires at least: 6.4
Requires PHP: 7.4
*/

:root {
    --tk-green: #1C5733;
    --tk-green-dark: #123D24;
    --tk-cream: #F7F4EE;
    --tk-cream-2: #EFECE4;
    --tk-grey: #E3E1DB;
    --tk-line: #D5D1C7;
    --tk-text: #182019;
    --tk-muted: #5E665D;
    --tk-white: #FFFFFF;
    --tk-max: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--tk-cream);
    color: var(--tk-text);
    font-family: Baskerville, "Libre Baskerville", Georgia, "Times New Roman", serif;
}

a {
    color: var(--tk-green);
    text-underline-offset: .18em;
}

.tk-site-header {
    background: var(--tk-green);
    color: var(--tk-white);
    margin: 0 !important;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.admin-bar .tk-site-header {
    top: 32px;
}

.tk-site-header__inner {
    width: min(100% - 36px, var(--tk-max));
    margin-inline: auto;
    min-height: 76px;
    gap: 22px;
    padding: 12px 0;
}

.tk-logo,
.tk-logo a {
    color: var(--tk-white) !important;
    text-decoration: none !important;
    font-size: clamp(1.72rem, 2.8vw, 2.65rem);
    line-height: 1;
    letter-spacing: .075em;
    font-weight: 400;
    white-space: nowrap;
    margin: 0 !important;
}

.tk-main-nav {
    font-family: Georgia, "Times New Roman", serif;
    font-size: .82rem;
    letter-spacing: .015em;
}

.tk-main-nav .wp-block-navigation-item__content,
.tk-main-nav .wp-block-navigation-item__label,
.tk-main-nav a {
    color: var(--tk-white) !important;
    text-decoration: none !important;
}

.tk-main-nav .wp-block-navigation-item__content:hover,
.tk-main-nav a:hover {
    opacity: .82;
}

.tk-main-nav .wp-block-navigation__submenu-container {
    background: var(--tk-green) !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    color: var(--tk-white) !important;
    padding: 8px !important;
    min-width: 230px !important;
}

.tk-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item {
    padding: 0;
}

.tk-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    padding: 9px 12px !important;
    border-radius: 2px;
}

.tk-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
    background: rgba(255,255,255,.12);
}

.tk-main-content {
    margin-top: 0 !important;
}

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

.wp-block-post-content {
    margin-top: 0;
}

.tk-section,
.tk-hero,
.tk-band {
    scroll-margin-top: 108px;
}

.tk-hero {
    background: linear-gradient(180deg, var(--tk-cream) 0%, var(--tk-cream-2) 100%);
    border-bottom: 1px solid var(--tk-line);
    padding-top: clamp(54px, 8vw, 100px) !important;
    padding-bottom: clamp(46px, 8vw, 92px) !important;
}

.tk-section {
    padding-top: clamp(56px, 7vw, 96px) !important;
    padding-bottom: clamp(50px, 7vw, 86px) !important;
}

.tk-band {
    background: var(--tk-cream-2);
    border-top: 1px solid var(--tk-line);
    border-bottom: 1px solid var(--tk-line);
    padding-top: clamp(56px, 7vw, 92px) !important;
    padding-bottom: clamp(50px, 7vw, 84px) !important;
}

.tk-kicker {
    color: var(--tk-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: .74rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.tk-hero h1,
.tk-section h2,
.tk-band h2 {
    color: var(--tk-text);
    font-weight: 400;
    letter-spacing: -.02em;
}

.tk-hero h1 {
    font-size: clamp(2.4rem, 6.2vw, 5.8rem);
    line-height: .96;
    max-width: 920px;
    margin-top: 0;
    margin-bottom: 26px;
}

.tk-section h2,
.tk-band h2 {
    font-size: clamp(2rem, 4.3vw, 4.2rem);
    line-height: 1.02;
    margin-top: 0;
    margin-bottom: 22px;
}

.tk-lede {
    color: var(--tk-muted);
    font-size: clamp(1.08rem, 1.6vw, 1.34rem);
    line-height: 1.55;
    max-width: 760px;
}

.tk-text-large {
    font-size: clamp(1.02rem, 1.3vw, 1.16rem);
    line-height: 1.7;
    color: var(--tk-muted);
}

.tk-card-grid {
    gap: clamp(18px, 3vw, 28px) !important;
}

.tk-card {
    background: rgba(255,255,255,.56);
    border: 1px solid var(--tk-line);
    border-radius: 0;
    padding: clamp(24px, 3vw, 34px);
    min-height: 100%;
}

.tk-card h3 {
    color: var(--tk-green);
    font-size: 1.28rem;
    font-weight: 400;
    margin-top: 0;
}

.tk-card p {
    color: var(--tk-muted);
    line-height: 1.65;
}

.tk-image-frame img,
.tk-media-block img {
    border: 1px solid var(--tk-line);
    background: #f4f2ec;
    display: block;
    width: 100%;
    height: auto;
}

.tk-media-block {
    gap: clamp(28px, 5vw, 72px) !important;
}

.tk-media-block .wp-block-media-text__content {
    padding: clamp(18px, 3vw, 44px) !important;
}

.tk-quiet-box {
    border-left: 2px solid var(--tk-green);
    padding-left: 20px;
    color: var(--tk-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.tk-facts {
    border-top: 1px solid var(--tk-line);
    border-bottom: 1px solid var(--tk-line);
    padding: 22px 0;
}

.tk-facts strong {
    color: var(--tk-green);
    font-weight: 400;
}

.wp-block-button .wp-block-button__link {
    background: var(--tk-green);
    border: 1px solid var(--tk-green);
    border-radius: 0;
    color: var(--tk-white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: .95rem;
    padding: .82rem 1.18rem;
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    border-color: var(--tk-green);
    color: var(--tk-green);
}

.tk-footer {
    background: var(--tk-green);
    color: var(--tk-white);
    margin-top: 0 !important;
}

.tk-footer__inner {
    width: min(100% - 36px, var(--tk-max));
    margin-inline: auto;
    padding: 26px 0;
    font-size: .9rem;
}

.tk-footer a {
    color: var(--tk-white);
}

.tk-blank-page {
    padding-top: clamp(60px, 8vw, 110px) !important;
    padding-bottom: clamp(60px, 8vw, 110px) !important;
}

.tk-editor-note {
    background: rgba(255,255,255,.6);
    border: 1px dashed var(--tk-line);
    padding: clamp(24px, 3vw, 42px);
}

/* Better editor behavior for image placeholders. */
.editor-styles-wrapper .tk-image-frame img,
.editor-styles-wrapper .tk-media-block img {
    outline: 1px solid var(--tk-line);
}

@media (max-width: 900px) {
    .tk-site-header {
        position: relative;
    }
    .admin-bar .tk-site-header {
        top: 0;
    }
    .tk-site-header__inner {
        align-items: flex-start !important;
    }
    .tk-main-nav {
        width: 100%;
    }
    .tk-main-nav .wp-block-navigation__container {
        gap: 12px !important;
    }
}
