/*
Theme Name: Teekampagne Sweden CI for Twenty Twenty-Four
Theme URI: https://www.teekampagne.de/
Description: Twenty Twenty-Four child theme for a concise Swedish Teekampagne information site. Header and footer use Teekampagne Green, with neutral content sections, Baskerville typography fallback, image placeholders and a header link to the international online shop.
Author: OpenAI
Template: twentytwentyfour
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: teekampagne-sweden
*/

:root {
  --tkse-green: #1c5733;
  --tkse-green-dark: #123923;
  --tkse-green-soft: #eaf0ea;
  --tkse-ink: #1e241f;
  --tkse-white: #ffffff;
  --tkse-paper: #f7f6f2;
  --tkse-warm-grey: #6f6860;
  --tkse-line: rgba(30, 36, 31, 0.16);
  --tkse-line-on-green: rgba(255, 255, 255, 0.28);
  --tkse-font: Baskerville, "Libre Baskerville", "Times New Roman", Georgia, serif;
  --tkse-radius: 2px;
}

html {
  scroll-behavior: smooth;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--tkse-font);
}

.wp-site-blocks {
  overflow-x: clip;
}

.tkse-header {
  border-bottom: 1px solid var(--tkse-line-on-green);
  position: sticky;
  top: 0;
  z-index: 20;
}

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

.tkse-header a,
.tkse-header .wp-block-navigation-item__content,
.tkse-header .wp-block-navigation__responsive-container-open,
.tkse-header .wp-block-navigation__responsive-container-close {
  color: var(--tkse-white) !important;
}

.tkse-header .wp-block-navigation-item__content[href*="teacampaign.com"] {
  border: 1px solid currentColor;
  padding: 0.35rem 0.55rem;
  text-decoration: none;
}

.tkse-site-title a,
.tkse-wordmark,
.tkse-big-wordmark {
  color: inherit;
  font-family: var(--tkse-font);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.025em;
  text-decoration: none;
  text-transform: uppercase;
}

.tkse-site-title a {
  font-size: clamp(1.05rem, 0.92rem + 0.5vw, 1.45rem);
}

.tkse-main {
  background: var(--tkse-white);
}

.tkse-hero {
  min-height: clamp(620px, 84vh, 900px);
}

.tkse-main .wp-block-button__link {
  background: transparent !important;
  border: 1px solid currentColor;
  color: var(--tkse-ink) !important;
}

.tkse-hero .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border-color: currentColor;
  color: var(--tkse-ink) !important;
}

.tkse-hero a:not(.wp-block-button__link) {
  color: var(--tkse-ink);
}

.tkse-eyebrow,
.tkse-section-label,
.tkse-micro-label {
  font-family: var(--tkse-font);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.tkse-section-label {
  margin-bottom: 0.65rem;
}

.tkse-card,
.tkse-info-card,
.tkse-fact-card {
  border: 1px solid var(--tkse-line);
  border-radius: var(--tkse-radius);
}

.tkse-card,
.tkse-info-card {
  background: var(--tkse-white);
}

.tkse-card--paper {
  background: var(--tkse-paper);
}

.tkse-centered-narrow {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.tkse-image-placeholder {
  margin: 0;
}

.tkse-image-placeholder img {
  aspect-ratio: 4 / 3;
  background: var(--tkse-paper);
  border: 1px solid var(--tkse-line);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.tkse-image-placeholder--wide img {
  aspect-ratio: 16 / 9;
}

.tkse-image-placeholder--tall img {
  aspect-ratio: 3 / 4;
}

.tkse-image-placeholder--hero img {
  aspect-ratio: 5 / 4;
  border-color: var(--tkse-line);
}

.tkse-caption,
.wp-block-image .tkse-caption,
.wp-block-image figcaption {
  color: var(--wp--preset--color--warm-gray);
  font-size: var(--wp--preset--font-size--small);
  margin-top: 0.65rem;
  text-align: center;
}

.tkse-grid-gap {
  gap: clamp(1.25rem, 2vw, 2.25rem);
}

.tkse-split-line {
  border-top: 1px solid var(--tkse-line);
}

.tkse-list-plain {
  list-style: none;
  padding-left: 0;
}

.tkse-list-plain li {
  border-top: 1px solid var(--tkse-line);
  padding: 0.7rem 0;
}

.wp-block-details {
  background: var(--tkse-white);
  border-top: 1px solid var(--tkse-line);
  padding: 1.15rem 0;
}

.wp-block-details summary {
  cursor: pointer;
  font-size: var(--wp--preset--font-size--medium);
}

.wp-block-details p {
  margin-bottom: 0;
}

.tkse-link-list a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.tkse-footer {
  border-top: 1px solid var(--tkse-line-on-green);
}

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

.tkse-big-wordmark {
  font-size: clamp(3.1rem, 11vw, 10.5rem);
  line-height: 0.82;
  margin: 0;
  opacity: 0.95;
  overflow-wrap: normal;
  white-space: nowrap;
}

.tkse-no-shop-note {
  border-left: 2px solid currentColor;
  padding-left: 1rem;
}

.wp-block-button__link {
  transition: opacity 160ms ease, transform 160ms ease;
}

.wp-block-button__link:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

@media (max-width: 781px) {
  .admin-bar .tkse-header {
    top: 46px;
  }

  .tkse-hero {
    min-height: auto;
  }

  .tkse-header .wp-block-group.alignwide {
    gap: 1rem;
  }

  .tkse-big-wordmark {
    font-size: clamp(2.8rem, 18vw, 6rem);
  }
}
