/*
Theme Name: Euro Cieleta Corporate
Theme URI: https://eurocieleta.com
Author: Euro Cieleta
Author URI: https://eurocieleta.com
Description: Professional classic theme for Euro Cieleta — buying quality calves for the Polish market; seeking foreign farm and trader partners.
Version: 1.5.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eurocieleta
Tags: custom-logo, custom-menu, featured-images, translation-ready, one-column, two-columns
*/

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  --color-forest: #0B1F4A;
  --color-forest-dark: #061430;
  --color-forest-mid: #1A3A6B;
  --color-cream: #F7F8FB;
  --color-cream-dark: #E8ECF3;
  --color-gold: #F5C400;
  --color-gold-hover: #D4A800;
  --color-text: #0B1F4A;
  --color-text-muted: #4A5568;
  --color-white: #FFFFFF;
  --color-border: #D5DAE5;
  --font-sans: "DM Sans", "Source Sans 3", system-ui, -apple-system, sans-serif;
  --max-width: 1120px;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(11, 31, 74, 0.12);
  --transition: 0.2s ease;
}

/* ==========================================================================
   Reset / Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-forest-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--color-gold-hover);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-forest);
  margin: 0 0 0.75em;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }

/* ==========================================================================
   Layout
   ========================================================================== */
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
}

.section--tight {
  padding: 3rem 0;
}

.section--alt {
  background: var(--color-white);
}

.section--forest {
  background: var(--color-forest);
  color: var(--color-cream);
}

.section--forest h2,
.section--forest h3 {
  color: var(--color-cream);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.section--forest .section-header p {
  color: rgba(248, 246, 241, 0.85);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Logo flush to viewport top-left (full-bleed header, no centered max-width) */
.site-header .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-left: 0.75rem; /* ~12px from left edge */
  padding-right: 1.25rem;
  box-sizing: border-box;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.4rem 0;
  width: 100%;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-forest);
  margin-right: auto;
  flex-shrink: 0;
}

.site-branding:hover {
  color: var(--color-forest-mid);
  text-decoration: none;
}

.site-branding .custom-logo-link {
  display: block;
  line-height: 0;
}

.site-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: inherit;
}

.custom-logo {
  max-height: 80px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: var(--color-forest);
  color: var(--color-cream);
  border: none;
  border-radius: 6px;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem 1.5rem;
  flex-wrap: wrap;
}

.primary-nav a {
  color: var(--color-forest);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: var(--color-gold-hover);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-forest-dark);
  border-color: var(--color-gold);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  color: var(--color-forest-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-cream);
  border-color: rgba(248, 246, 241, 0.55);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(248, 246, 241, 0.12);
  color: var(--color-cream);
  border-color: var(--color-cream);
}

.btn-outline {
  background: transparent;
  color: var(--color-forest);
  border-color: var(--color-forest);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--color-forest);
  color: var(--color-cream);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background:
    linear-gradient(135deg, rgba(6, 20, 48, 0.94) 0%, rgba(11, 31, 74, 0.90) 55%, rgba(26, 58, 107, 0.85) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(245, 196, 0, 0.28), transparent 50%);
  color: var(--color-cream);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(245, 196, 0, 0.20), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--color-cream);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(248, 246, 241, 0.9);
  margin-bottom: 1.75rem;
  max-width: 38rem;
}

/* ==========================================================================
   Feature cards
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(11, 31, 74, 0.1);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--color-text-muted);
  margin-bottom: 0;
  font-size: 0.98rem;
}

/* ==========================================================================
   About teaser / split
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.split-panel {
  background: var(--color-forest);
  color: var(--color-cream);
  border-radius: var(--radius);
  padding: 2.25rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-panel h3 {
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.split-panel p {
  margin-bottom: 0;
  font-size: 1.15rem;
  line-height: 1.5;
}

/* ==========================================================================
   Posts grid
   ========================================================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.post-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow);
}

.post-card__body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.post-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.post-card h3 a {
  color: var(--color-forest);
  text-decoration: none;
}

.post-card h3 a:hover {
  color: var(--color-gold-hover);
}

.post-card__excerpt {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1rem;
}

.post-card__link {
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  text-align: center;
}

.cta-band p {
  max-width: 520px;
  margin: 0 auto 1.5rem;
  color: rgba(248, 246, 241, 0.88);
}

/* ==========================================================================
   Page / content
   ========================================================================== */
.page-hero {
  background: var(--color-forest);
  color: var(--color-cream);
  padding: 3rem 0 2.5rem;
}

.page-hero h1 {
  color: var(--color-cream);
  margin-bottom: 0.4rem;
}

.page-hero p {
  margin: 0;
  color: rgba(248, 246, 241, 0.85);
  max-width: 40rem;
}

.entry-content {
  padding: 3rem 0;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.content-narrow {
  max-width: 720px;
}

.prose h2 {
  margin-top: 1.75em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-cream-dark);
}

.contact-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-list strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.contact-list a {
  font-weight: 600;
  text-decoration: none;
  color: var(--color-forest);
}

.contact-list a:hover {
  color: var(--color-gold-hover);
}

/* ==========================================================================
   Blog / single / search / 404
   ========================================================================== */
.posts-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.archive-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.archive-item h2 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.archive-item h2 a {
  text-decoration: none;
  color: var(--color-forest);
}

.single-meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 1.5rem 0;
}

.search-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-white);
}

.search-form input[type="submit"] {
  padding: 0.75rem 1.2rem;
  background: var(--color-forest);
  color: var(--color-cream);
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.pagination {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.not-found {
  text-align: center;
  padding: 4rem 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-forest-dark);
  color: rgba(248, 246, 241, 0.85);
  padding: 2.75rem 0 1.75rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  color: var(--color-cream);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: var(--color-gold);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-cream);
  text-decoration: underline;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: 0.5rem;
}

.footer-legal {
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-bottom {
  border-top: 1px solid rgba(248, 246, 241, 0.15);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Widgets (optional)
   ========================================================================== */
.widget-area {
  padding: 2rem 0;
}

.widget {
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .features-grid,
  .posts-grid,
  .footer-grid,
  .contact-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    width: 100%;
  }

  .primary-nav.is-open {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 0.75rem;
  }

  .primary-nav a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--color-cream-dark);
  }
}

@media (max-width: 600px) {
  .site-header .container {
    padding-left: 0.85rem; /* ~14px mobile */
    padding-right: 0.85rem;
  }

  .header-inner {
    padding: 0.45rem 0;
  }

  .custom-logo {
    max-height: 64px;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .section {
    padding: 3rem 0;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

/* Screen reader */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}


/* ==========================================================================
   v1.2.0 — Trust, media slots, forms, cookie banner, sticky CTA, FAQ
   ========================================================================== */
.features-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-layout .hero-inner {
  max-width: none;
}

.media-slot {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  position: relative;
}

.media-slot__placeholder {
  width: 100%;
  min-height: 220px;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(245, 196, 0, 0.25), transparent 55%),
    linear-gradient(160deg, #1A3A6B 0%, #0B1F4A 55%, #061430 100%);
  border: 1px dashed rgba(248, 246, 241, 0.35);
  border-radius: var(--radius);
}

.hero-media .media-slot__placeholder {
  min-height: 280px;
}

.about-media .media-slot__placeholder {
  min-height: 200px;
  border-color: rgba(11, 31, 74, 0.2);
  background:
    linear-gradient(135deg, rgba(245, 196, 0, 0.18), transparent 50%),
    linear-gradient(160deg, #E8ECF3 0%, #F7F8FB 100%);
}

.media-slot__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.split-panel.about-media-wrap {
  padding: 0;
  overflow: hidden;
  background: var(--color-forest);
}

.split-panel.about-media-wrap .about-media {
  min-height: 160px;
}

.split-panel__text {
  padding: 1.75rem 2rem 2rem;
}

.split-panel__text h3 {
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.split-panel__text p {
  margin-bottom: 0;
  font-size: 1.1rem;
  color: var(--color-cream);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.about-layout .content-narrow {
  max-width: none;
}

.trust-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.trust-bullets li {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  display: grid;
  gap: 0.25rem;
  box-shadow: var(--shadow);
}

.trust-bullets strong {
  color: var(--color-forest);
}

.trust-bullets span {
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.faq-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.faq-item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.faq-teaser-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-list details {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-forest);
}

.faq-list details p {
  margin: 0.75rem 0 0;
  color: var(--color-text-muted);
}

.map-embed {
  margin-top: 1.5rem;
}

.map-caption {
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

.map-caption a {
  text-decoration: none;
}

/* Contact form */
.contact-form .form-row {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--color-forest);
}

.contact-form .req {
  color: #b45309;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-cream);
  color: var(--color-text);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form .form-row--checkbox label {
  font-weight: 400;
  font-size: 0.92rem;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  line-height: 1.45;
}

.contact-form .form-row--checkbox input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-notice {
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.form-notice--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-notice--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.contact-intro {
  margin-bottom: 1.25rem;
}

.footer-legal-links {
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--color-forest-dark);
  color: var(--color-cream);
  padding: 1rem 0;
  box-shadow: 0 -8px 28px rgba(11, 31, 74, 0.25);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cookie-banner.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__inner {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(248, 246, 241, 0.92);
}

.cookie-banner__text a {
  color: var(--color-gold);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner .btn-outline {
  color: var(--color-cream);
  border-color: rgba(248, 246, 241, 0.45);
}

.cookie-banner .btn-outline:hover {
  background: rgba(248, 246, 241, 0.12);
  color: var(--color-cream);
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  z-index: 900;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sticky-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  background: var(--color-gold);
  color: var(--color-forest-dark);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(11, 31, 74, 0.28);
  font-size: 0.95rem;
}

.sticky-cta__btn:hover {
  background: var(--color-gold-hover);
  color: var(--color-forest-dark);
  text-decoration: none;
}

.sticky-cta__close {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: none;
  background: var(--color-forest);
  color: var(--color-cream);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

body.has-sticky-cta {
  padding-bottom: 4.5rem;
}

body.has-sticky-cta .cookie-banner {
  bottom: 0;
}

@media (max-width: 1100px) {
  .features-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-layout,
  .about-layout,
  .faq-teaser-grid,
  .features-grid--4 {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    justify-content: stretch;
  }

  .sticky-cta__btn {
    flex: 1;
    border-radius: 10px;
  }
}


.archive-item {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .archive-item {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
}
.archive-item__thumb {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
}
.archive-item__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}


/* v1.3.0 — language notes */
.footer-languages,
.cta-languages {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  color: inherit;
  opacity: 0.92;
}
.section--forest .cta-languages {
  color: rgba(248, 246, 241, 0.9);
  margin-bottom: 1.25rem;
}


/* ==========================================================================
   Partners teaser (home)
   ========================================================================== */
.partners-teaser-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-cream-dark);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(11, 31, 74, 0.06);
}
.partners-teaser-card__text {
  flex: 1 1 280px;
  max-width: 42rem;
}
.partners-teaser-card__text h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}
.partners-teaser-card__text p {
  margin: 0;
  color: var(--color-text-muted);
}
.partners-teaser-card__cta {
  flex: 0 0 auto;
}


/* Partners CTA stack */
.partners-cta {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.partners-cta .btn {
  min-height: 3rem;
}

@media (max-width: 720px) {
  .partners-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    gap: 0.85rem;
  }
  .partners-cta .btn {
    width: 100%;
    margin: 0;
  }
  body.has-sticky-cta {
    padding-bottom: 5.5rem;
  }
  .sticky-cta {
    bottom: 0.75rem;
  }
  /* Keep sticky from covering mid-page cards as aggressively */
  .trust-bullets,
  .features-grid {
    padding-bottom: 0.5rem;
  }
}

/* Hero secondary CTA (farm buyers) */
.hero-secondary-cta {
  margin-top: 1rem;
  font-size: 0.95rem;
}
.hero-secondary-cta a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-secondary-cta a:hover,
.hero-secondary-cta a:focus-visible {
  color: var(--color-gold);
}
