/* =========================================================
   4 Super Clover Pots — site stylesheet
   Pure CSS. No JavaScript anywhere on this site.
   ========================================================= */

:root {
  --green-dark: #0b3d1f;
  --green: #14602f;
  --green-mid: #1f7a3d;
  --gold: #f0b429;
  --gold-light: #ffd873;
  --red: #c62828;
  --cream: #faf7ee;
  --cream-2: #f1ead4;
  --text: #22301f;
  --text-light: #f6f2df;
  --border: #e1d8b8;
  --radius: 10px;
  --max-width: 920px;
  --header-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.55;
}

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

a { color: var(--green); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.site-header {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 16px;
  min-height: var(--header-h);
}

.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-login {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-login:hover { background: rgba(240, 180, 41, 0.12); }

.btn-register {
  background: var(--gold);
  color: var(--green-dark);
}

.btn-register:hover { background: var(--gold-light); }

/* Language/country switcher toggle (pure CSS, checkbox-driven) */
.burger {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
}

.burger svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-light);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.burger:hover svg {
  stroke: var(--gold-light);
}

.nav-toggle:checked ~ .header-bar .burger svg {
  stroke: var(--gold);
  transform: rotate(18deg);
}

/* Dropdown nav panel */
.site-nav {
  max-height: 0;
  overflow: hidden;
  background: var(--green);
  transition: max-height 0.25s ease;
}

.nav-toggle:checked ~ .site-nav {
  max-height: 900px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 14px 16px 18px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 18px;
}

.site-nav a,
.site-nav span[aria-current] {
  display: block;
  padding: 8px 6px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav a:hover { color: var(--gold-light); }

.site-nav span[aria-current] {
  color: var(--gold-light);
  font-weight: 700;
}

/* ---------------------------------------------------------
   Breadcrumbs
   --------------------------------------------------------- */

.breadcrumbs {
  background: var(--cream-2);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 10px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: #9a927a;
}

.breadcrumbs a { color: var(--green); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs li[aria-current] { color: #6b6650; }

/* ---------------------------------------------------------
   Hero banner
   --------------------------------------------------------- */

.hero {
  background: var(--cream);
}

/* Mobile / tablet (default): full-bleed banner, cropped to a fixed band */
.hero-media {
  position: relative;
  z-index: 1;
  min-height: 300px;
  overflow: hidden;
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(4, 26, 13, 0.88) 0%,
    rgba(4, 26, 13, 0.72) 50%,
    rgba(4, 26, 13, 0.25) 80%,
    rgba(4, 26, 13, 0) 96%
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 62%;
  padding: 24px 20px;
  color: var(--text-light);
}

/* Desktop: show the banner full-size, uncropped, capped to content width */
@media (min-width: 860px) {
  .hero-media {
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: 0;
  }

  .hero-banner-img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: initial;
  }

  .hero-overlay {
    background: linear-gradient(
      100deg,
      rgba(4, 26, 13, 0.8) 0%,
      rgba(4, 26, 13, 0.55) 40%,
      rgba(4, 26, 13, 0.12) 62%,
      rgba(4, 26, 13, 0) 78%
    );
  }

  .hero-content {
    max-width: 50%;
    padding: 40px 30px;
  }
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.hero p {
  margin: 0 0 22px;
  font-size: clamp(14px, 1.8vw, 17px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.btn-cta {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  border: 2px solid var(--gold);
}

.btn-cta:hover { background: #a51f1f; }

/* ---------------------------------------------------------
   Main content
   --------------------------------------------------------- */

main {
  background: var(--cream);
}

.article {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.article .updated {
  color: #6b6650;
  font-size: 14px;
  margin-top: -6px;
}

.notice {
  background: var(--cream-2);
  border-left: 4px solid var(--gold);
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 14.5px;
  margin: 18px 0;
}

.notice.warning {
  border-left-color: var(--red);
}

.article h2 {
  color: var(--green-dark);
  font-size: 24px;
  margin: 38px 0 14px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--gold);
}

.article h3 {
  color: var(--green);
  font-size: 18px;
  margin: 22px 0 10px;
}

.article p { margin: 0 0 14px; }

.article ul,
.article ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.article li { margin-bottom: 6px; }

.article hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 30px 0;
}

/* Stats / data tables */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: #fff;
}

table caption { display: none; }

th, td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
}

thead th {
  background: var(--green);
  color: #fff;
}

tbody tr:nth-child(even) { background: var(--cream-2); }

/* Pros / cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0 0 20px;
}

.pros-cons > div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.pros-cons h3 { margin-top: 0; }

/* Accordions (TOC + FAQ) — pure HTML <details>/<summary>, closed by default */
details.accordion {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0 0 20px;
  overflow: hidden;
}

details.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream-2);
}

details.accordion summary::-webkit-details-marker { display: none; }

details.accordion summary::after {
  content: "+";
  font-size: 20px;
  color: var(--green);
  margin-left: 12px;
  flex: 0 0 auto;
}

details.accordion[open] summary::after { content: "\2212"; }

details.accordion .accordion-body {
  padding: 14px 18px 18px;
}

details.accordion .accordion-body ul { margin-bottom: 0; }

/* FAQ list = a set of individual <details> items */
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0 0 10px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 46px 14px 18px;
  font-weight: 700;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--green);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-item p {
  padding: 0 18px 16px;
  margin: 0;
  color: var(--text);
}

/* Byline */
.byline {
  font-size: 14px;
  color: #5b5644;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.site-footer {
  background: var(--green-dark);
  color: var(--text-light);
  padding: 34px 0 20px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo img {
  height: 34px;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px 18px;
}

.footer-links a,
.footer-links span[aria-current] {
  color: var(--text-light);
  text-decoration: none;
  font-size: 13.5px;
  opacity: 0.9;
}

.footer-links a:hover { opacity: 1; text-decoration: underline; }

.footer-links span[aria-current] {
  color: var(--gold-light);
  font-weight: 700;
}

.footer-fine {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  font-size: 12.5px;
  color: #cfd6c8;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 860px) {
  .pros-cons { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .site-nav ul { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .header-bar { padding: 6px 10px; gap: 6px; }
  .logo img { height: 30px; }
  .btn { padding: 7px 9px; font-size: 11.5px; }
  .burger { width: 30px; height: 30px; }
  .hero-media { min-height: 240px; }
  .hero-banner-img { object-position: 78% center; }
  .hero-overlay {
    background: linear-gradient(
      100deg,
      rgba(4, 26, 13, 0.88) 0%,
      rgba(4, 26, 13, 0.75) 55%,
      rgba(4, 26, 13, 0.25) 82%,
      rgba(4, 26, 13, 0) 96%
    );
  }
  .hero-content { max-width: 72%; padding: 22px 16px; }
  .btn-cta { padding: 11px 20px; font-size: 14px; }
  table, thead, tbody, th, td, tr { font-size: 13px; }
}

@media (max-width: 380px) {
  .header-bar { padding: 5px 8px; gap: 4px; }
  .header-actions { gap: 5px; }
  .logo img { height: 26px; }
  .btn { padding: 6px 7px; font-size: 10.5px; }
  .burger { width: 27px; height: 27px; }
  .burger svg { width: 20px; height: 20px; }
}
