/* Tepuke Today — bold, modern news design */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --green:        #0a6e3f;
  --green-mid:    #0d8f52;
  --green-light:  #e6f4ed;
  --green-glow:   #00c96a;
  --amber:        #f59e0b;
  --red:          #e63946;
  --text:         #0f1923;
  --muted:        #5a6678;
  --border:       #e2e8f0;
  --bg:           #f7f9f8;
  --white:        #ffffff;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.07);
  --shadow:       0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.14);
  --max-width:    1100px;
  --font-sans:    'Inter', system-ui, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ── Header ── */
.site-header {
  background: var(--green);
  background: linear-gradient(135deg, #053d23 0%, #0a6e3f 60%, #0d8f52 100%);
  color: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.site-logo { text-decoration: none; color: var(--white); display: flex; align-items: center; }

.site-logo-img { height: 46px; width: auto; display: block; }

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: 0.7rem;
  opacity: 0.75;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: 0.2s;
}

.nav { display: flex; align-items: center; gap: 0.25rem; }

.nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4em 0.85em;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav a:hover { background: rgba(255,255,255,0.12); color: #fff; }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0,201,106,0.15);
  border: 1px solid rgba(0,201,106,0.4);
  color: var(--green-glow);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3em 0.7em;
  border-radius: 20px;
  white-space: nowrap;
}

.live-dot {
  width: 6px; height: 6px;
  background: var(--green-glow);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

/* Mobile nav */
@media (max-width: 640px) {
  .site-header .container { flex-wrap: wrap; height: auto; padding: 0.75rem 1.25rem; }
  .site-logo { flex: 1; }

  .nav-toggle { display: flex; }

  .nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0.5rem 0 0.75rem;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 0.5rem;
  }

  .nav.nav-open { display: flex; }

  .nav a {
    width: 100%;
    padding: 0.65em 0.5em;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .live-badge { margin: 0.5rem 0.5rem 0; }
}

/* ── Main ── */
main.container { padding-top: 2.5rem; padding-bottom: 4rem; flex: 1; }

/* ── Hero ── */
.home-hero {
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
  overflow: hidden;
  line-height: 0;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,201,106,0.2);
  border: 1px solid rgba(0,201,106,0.5);
  color: var(--green-glow);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3em 0.75em;
  border-radius: 20px;
}

.hero-badge::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--green-glow);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@media (max-width: 640px) {
  .home-hero { border-radius: var(--radius); }

  main.container { padding-top: 1.25rem; }
  .post-grid { gap: 1rem; }
  .post-card-body { padding: 1rem; }
  .post-card h2 { font-size: 1rem; }
  .page-hero { padding: 1.5rem 1.25rem; }
  .page-hero h1 { font-size: 1.6rem; }
  .ttd-grid { grid-template-columns: 1fr; }
  .kiwifruit-cta-body { flex-direction: column; }
  .kiwifruit-cta-actions { flex-direction: row; flex-wrap: wrap; }
  .footer-links { gap: 1.5rem; }
  .ttd-nav-links { flex-direction: column; }
}

/* ── Post Grid ── */
.post-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .post-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Post Card ── */
.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #c8dfd4;
}

.post-card-image { overflow: hidden; flex-shrink: 0; }
.post-card-image img { width: 100%; height: 190px; object-fit: cover; display: block; transition: transform 0.35s; }
.post-card:hover .post-card-image img { transform: scale(1.04); }

.post-card-body { padding: 1rem 1.25rem 1.2rem; display: flex; flex-direction: column; flex: 1; }

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.post-card h2 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card h2 a { color: var(--text); text-decoration: none; }
.post-card h2 a:hover { color: var(--green); }

.post-card-excerpt {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Tags ── */
.tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  padding: 0.15em 0.6em;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

a.tag:hover { background: var(--green); color: white; }

/* ── Post article ── */
.post { max-width: 740px; margin: 0 auto; }

.post-header { margin-bottom: 2rem; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.post-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.post h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
}

.post-image { margin-bottom: 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.post-image img { width: 100%; max-height: 460px; object-fit: cover; display: block; }

.post-body { font-size: 1.05rem; line-height: 1.8; color: #1e2a35; }
.post-body p { margin-bottom: 1.4em; }
.post-body p:last-child { margin-bottom: 0; }

.post-source {
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  background: var(--green-light);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.post-source a { color: var(--green); font-weight: 600; }

.post-nav {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.post-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.post-nav a:hover { text-decoration: underline; }

/* ── Static pages ── */
.page h1 { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 1.5rem; font-weight: 800; }
.page h2 { font-size: 1.2rem; margin: 2rem 0 0.75rem; color: var(--green); font-weight: 700; }
.page p { margin-bottom: 1.1em; color: #1e2a35; line-height: 1.75; }
.page ul { margin: 0 0 1.1em 1.25rem; color: #1e2a35; line-height: 2; }
.page ul li::marker { color: var(--green); }

/* ── Pagination ── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55em 1.25em;
  background: var(--white);
  border: 1.5px solid var(--green);
  border-radius: 8px;
  color: var(--green);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
  box-shadow: var(--shadow-sm);
}

.pagination-btn:hover { background: var(--green); color: #fff; }
.pagination-btn.disabled { opacity: 0.3; pointer-events: none; border-color: var(--border); color: var(--muted); box-shadow: none; }
.pagination-info { font-size: 0.82rem; color: var(--muted); font-weight: 500; }

/* ── Footer ── */
.site-footer {
  background: #071f12;
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 2rem;
  font-size: 0.875rem;
}

.site-footer > .container > p:first-child {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--green-glow); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.footer-col { min-width: 160px; }

.footer-col h4 {
  color: var(--green-glow);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 2;
  transition: color 0.15s;
}

.footer-col a:hover { color: #fff; }

.site-footer .small {
  font-size: 0.75rem;
  opacity: 0.4;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  display: block;
}

.empty-state { color: var(--muted); font-style: italic; text-align: center; padding: 4rem 0; font-size: 1.1rem; }

/* ── Things To Do pages ── */
.page-hero {
  background: linear-gradient(135deg, #053d23 0%, var(--green) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  color: white;
}

.page-hero h1 { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.88; font-size: 1.05rem; margin-bottom: 1rem; }
.page-hero .back-link { color: rgba(255,255,255,0.75); font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.page-hero .back-link:hover { color: #fff; }

.ttd-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-bottom: 3rem;
}

.ttd-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-sm);
}

.ttd-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #b0d4be; color: var(--text); }
.ttd-icon { font-size: 2rem; }
.ttd-card h2 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; }
.ttd-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; flex: 1; }
.ttd-link { color: var(--green); font-weight: 700; font-size: 0.875rem; margin-top: 0.25rem; }

.ttd-places { margin-bottom: 3rem; }
.ttd-places h2 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }

.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.5rem;
}

.place-chip {
  background: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.6em 0.75em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.06);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-left: 3px solid var(--green);
}

a.place-chip:hover {
  background: var(--green);
  color: white;
  border-left-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10,110,63,0.25);
}

/* Place pages */
.place-section { margin-bottom: 2.5rem; }
.place-section h2 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--green); margin-bottom: 1rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--green-light); }
.place-section p { margin-bottom: 1.1em; line-height: 1.8; color: #1e2a35; }
.place-section p:last-child { margin-bottom: 0; }

.hero-intro { font-size: 1.05rem; opacity: 0.9; margin-bottom: 0; }

.place-kc-cta {
  background: var(--green-light);
  border: 2px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.place-kc-cta h2 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--green); margin-bottom: 0.6rem; }
.place-kc-cta p { color: var(--muted); margin-bottom: 1.25rem; }
.place-kc-cta .btn { display: inline-block; }

.ttd-sections { display: flex; flex-direction: column; gap: 3rem; margin-bottom: 3rem; }
.ttd-section h2 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 1.25rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--green-light); }

.activity-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--green);
}

.activity-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.activity-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.badge {
  background: var(--green-light);
  color: var(--green);
  padding: 0.15em 0.6em;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.activity-card p { font-size: 0.925rem; color: #2a3a2e; line-height: 1.75; margin: 0 0 0.75rem; }

.kc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  border: 1px solid var(--green-light);
  background: var(--green-light);
  padding: 0.3em 0.8em;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.kc-link:hover { background: var(--green); color: #fff; }

.ttd-nav-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* Kiwifruit Capital CTA */
.kiwifruit-cta {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.kiwifruit-banner { display: block; }
.kiwifruit-banner img { width: 100%; height: auto; display: block; }

.kiwifruit-cta-body {
  background: #f9fdf9;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 3px solid var(--green);
}

.kiwifruit-cta-text { flex: 1; min-width: 260px; }
.kiwifruit-cta-text h2 { font-size: 1.25rem; margin-bottom: 0.6rem; color: var(--green); font-family: var(--font-serif); }
.kiwifruit-cta-text p { font-size: 0.9rem; color: var(--muted); margin: 0; line-height: 1.65; }

.kiwifruit-cta-actions { display: flex; flex-direction: column; gap: 0.6rem; flex-shrink: 0; }

.btn {
  display: inline-block;
  padding: 0.65em 1.4em;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, transform 0.1s;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-mid); color: #fff; }
.btn-secondary { background: var(--white); color: var(--green); border: 1.5px solid var(--green); }
.btn-secondary:hover { background: var(--green-light); color: var(--green); }

/* Tag pages */
.tag-header { margin-bottom: 2rem; }
.back-link { font-size: 0.875rem; font-weight: 600; color: var(--green); text-decoration: none; display: inline-block; margin-bottom: 1rem; }
.back-link:hover { text-decoration: underline; }
.tag-header h1 { margin-bottom: 0.4rem; }
.tag-lg { font-size: 1rem; padding: 0.3em 0.9em; }
.tag-count { font-size: 0.875rem; color: var(--muted); font-weight: 500; }

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

/* ══════════════════════════════════════════
   NEWSROOM HOMEPAGE
══════════════════════════════════════════ */

/* Edition bar */
.edition-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid var(--green);
  padding: 0.6rem 0 0.55rem;
  margin-bottom: 1.75rem;
}

.edition-name { color: var(--green); font-weight: 700; }
.edition-tagline { color: var(--muted); }

/* ── Hero ── */
.newsroom-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  margin-bottom: 0;
  min-height: 420px;
}

.hero-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  background: linear-gradient(135deg, #053d23 0%, #0a6e3f 60%, #0d8f52 100%);
  min-height: 420px;
  transition: box-shadow 0.2s;
}

.hero-main:hover { box-shadow: var(--shadow-lg); }

.hero-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,30,15,0.92) 0%, rgba(5,30,15,0.5) 50%, transparent 100%);
}

.hero-main-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: white;
}

.hero-no-image .hero-main-content { padding: 2.5rem; }

.hero-tag {
  display: inline-block;
  background: var(--amber);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25em 0.7em;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: white;
  margin-bottom: 0.75rem;
}

.hero-excerpt {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.55;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-time {
  font-size: 0.75rem;
  opacity: 0.65;
  font-weight: 500;
}

/* Hero rail (right column) */
.hero-rail {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero-rail-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s;
  align-items: flex-start;
}

.hero-rail-item:last-of-type { border-bottom: none; }
.hero-rail-item:hover { background: var(--green-light); }

.hero-rail-img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.hero-rail-body { flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }

.hero-rail-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-rail-item time {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.hero-rail-more {
  display: block;
  text-align: center;
  padding: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  background: var(--green-light);
  border-top: 1px solid var(--border);
  transition: background 0.15s;
}

.hero-rail-more:hover { background: #d0eada; color: var(--green); }

/* Tag sizes */
.tag-xs {
  font-size: 0.62rem;
  padding: 0.1em 0.5em;
}

/* ── Breaking strip ── */
.breaking-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--text);
  color: white;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  margin: 1.25rem 0;
  overflow: hidden;
}

.breaking-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3em 0.75em;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.breaking-label .live-dot { background: var(--green-glow); flex-shrink: 0; }

.breaking-items {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow: hidden;
  flex-wrap: wrap;
}

.breaking-item {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
  transition: color 0.15s;
}

.breaking-item:hover { color: var(--green-glow); }

.breaking-sep { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* ── Newsroom layout (main + sidebar) ── */
.newsroom-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.newsroom-main { min-width: 0; }

/* Section headers */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--green);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.section-icon { font-size: 1rem; }

.section-more {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
}

.section-more:hover { color: var(--amber); text-decoration: underline; }

/* Post card category ribbon (shown when a story has no image) */
.post-card-image-placeholder {
  height: auto;
  padding: 0.5rem 1.4rem;
  background: linear-gradient(135deg, #053d23, #0a6e3f);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.post-card-image-placeholder span {
  color: rgba(255,255,255,0.85);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* ── Category sections ── */
.category-section { margin-top: 2.5rem; }

.category-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.category-item {
  display: block;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.category-item:last-child { border-bottom: none; }
.category-item:hover { background: var(--green-light); }

.category-item-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.category-item-meta time {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.category-item h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.category-item:hover h3 { color: var(--green); }

.category-item p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* ── Sidebar ── */
.news-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green);
}

/* Briefing list */
.briefing-list {
  list-style: none;
  counter-reset: briefing;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.briefing-item {
  counter-increment: briefing;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 2rem;
}

.briefing-item:last-child { border-bottom: none; }

.briefing-item::before {
  content: counter(briefing);
  position: absolute;
  left: 0;
  top: 0.8rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--green);
  width: 1.5rem;
  text-align: center;
}

.briefing-item a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.briefing-item a:hover { color: var(--green); }

.briefing-item time {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
}

/* KC sidebar widget */
.sidebar-kc { background: #f9fdf9; border-color: var(--green); border-width: 2px; }

.sidebar-kc-badge {
  display: inline-block;
  background: var(--amber);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.sidebar-kc h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 0.4rem;
}

.sidebar-kc p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.sidebar-kc-link {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: var(--green);
  text-decoration: none;
  margin-top: 0.5rem;
  font-weight: 600;
}

.sidebar-kc-link:hover { text-decoration: underline; }

.sidebar-rss p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.sidebar-places { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* Full-width buttons */
.btn-block { display: block; text-align: center; width: 100%; }

/* ── RSS Callout ── */
.rss-callout {
  margin-top: 3rem;
  background: linear-gradient(135deg, #053d23 0%, #0a6e3f 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: white;
}

.rss-callout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.rss-callout-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.rss-callout-text strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
}

.rss-callout-text span {
  font-size: 0.88rem;
  opacity: 0.8;
}

.rss-callout-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.rss-callout .btn-primary { background: white; color: var(--green); }
.rss-callout .btn-primary:hover { background: var(--green-light); }
.rss-callout .btn-secondary { border-color: rgba(255,255,255,0.4); color: white; background: transparent; }
.rss-callout .btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .newsroom-layout { grid-template-columns: 1fr; }
  .news-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .newsroom-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-main { min-height: 320px; }
  .hero-rail { display: none; }
  .breaking-items { display: none; }
  .breaking-strip { justify-content: center; }
}

@media (max-width: 640px) {
  .edition-bar { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
  .news-sidebar { grid-template-columns: 1fr; }
  .rss-callout-inner { flex-direction: column; }
  .rss-callout-actions { width: 100%; }
  .rss-callout .btn { flex: 1; }
  .newsroom-layout { margin-top: 1.5rem; gap: 1.5rem; }
}

/* ══════════════════════════════════════════
   SECTION PAGE HERO (Places, Things To Do)
══════════════════════════════════════════ */

.section-page-hero {
  background: linear-gradient(135deg, #053d23 0%, #0a6e3f 65%, #0d8f52 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin-bottom: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.section-page-hero::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

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

.section-page-label {
  display: inline-block;
  background: var(--amber);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25em 0.75em;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}

.section-page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: white;
  margin-bottom: 0.75rem;
}

.section-page-hero p {
  font-size: 1.05rem;
  opacity: 0.88;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   PLACES PAGE
══════════════════════════════════════════ */

.places-featured {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 0;
}

.place-feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-sm);
}

.place-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #b0d4be;
  color: var(--text);
}

.place-feature-primary {
  background: linear-gradient(135deg, #053d23 0%, #0a6e3f 100%);
  color: white;
  border-color: transparent;
}

.place-feature-primary:hover { color: white; border-color: transparent; }
.place-feature-primary h2 { color: white !important; }
.place-feature-primary p { color: rgba(255,255,255,0.9) !important; }
.place-feature-primary .place-feature-link { color: var(--amber); }

.place-feature-icon { font-size: 2.5rem; line-height: 1; }

.place-feature-body { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }

.place-feature-card h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0;
}

.place-feature-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
  margin: 0;
}

.place-feature-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 0.25rem;
}

.places-grid-secondary {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.place-secondary-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s, border-color 0.15s, transform 0.2s;
  box-shadow: var(--shadow-sm);
}

.place-secondary-card:hover {
  background: var(--green-light);
  border-color: var(--green);
  transform: translateY(-2px);
  color: var(--text);
}

.place-secondary-icon { font-size: 1.75rem; line-height: 1; flex-shrink: 0; margin-top: 0.1rem; }

.place-secondary-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.place-secondary-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 800px) {
  .places-featured { grid-template-columns: 1fr; }
  .place-feature-primary { order: -1; }
}

/* ══════════════════════════════════════════
   THINGS TO DO PAGE
══════════════════════════════════════════ */

.ttd-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.ttd-feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-sm);
}

.ttd-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #b0d4be;
  color: var(--text);
}

.ttd-feature-primary {
  background: linear-gradient(135deg, #053d23 0%, #0a6e3f 100%);
  color: white;
  border-color: transparent;
}

.ttd-feature-primary:hover { color: white; border-color: transparent; }
.ttd-feature-primary h2 { color: white; }
.ttd-feature-primary p { color: rgba(255,255,255,0.85); }
.ttd-feature-primary .place-feature-link { color: var(--amber); }

.ttd-feature-card .ttd-feature-icon { font-size: 2.5rem; line-height: 1; }

.ttd-feature-body { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }

.ttd-feature-card h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  color: var(--text);
}

.ttd-feature-primary h2 { color: white; }
.ttd-feature-primary p { color: rgba(255,255,255,0.9) !important; }

.ttd-feature-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
  margin: 0;
}

.ttd-explore-places {
  margin-bottom: 2.5rem;
}

.ttd-highlight-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--green-light);
  border: 1px solid #c8dfd4;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.ttd-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.ttd-highlight-icon { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }

.ttd-highlight strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.2rem;
}

.ttd-highlight span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 800px) {
  .ttd-feature-grid { grid-template-columns: 1fr; }
  .ttd-highlight-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .ttd-highlight-strip { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════ */

.about-hero {
  background: linear-gradient(135deg, #053d23 0%, #0a6e3f 65%, #0d8f52 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  color: white;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.about-hero::after {
  content: "Te Puke Today";
  position: absolute;
  right: -20px; bottom: -30px;
  font-family: var(--font-serif);
  font-size: 6rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  white-space: nowrap;
  pointer-events: none;
}

.about-hero-content { position: relative; z-index: 1; max-width: 600px; }

.about-hero-label {
  display: inline-block;
  background: var(--amber);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25em 0.75em;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.about-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.about-hero p {
  font-size: 1.1rem;
  opacity: 0.88;
  line-height: 1.6;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--text);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1.25rem 0 2rem;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  color: white;
  text-align: center;
}

.about-stat:last-child { border-right: none; }

.about-stat-number {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-glow);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.about-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}

.about-main { min-width: 0; }

.about-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.about-section:last-child { border-bottom: none; margin-bottom: 2rem; }

.about-section h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green-light);
}

.about-section p {
  color: #1e2a35;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-section p:last-of-type { margin-bottom: 0; }

.about-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.about-coverage {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.about-coverage h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green);
}

.coverage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.coverage-list li {
  font-size: 0.875rem;
  color: #1e2a35;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

.coverage-list li:last-child { border-bottom: none; }

.about-links {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.about-links h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green);
}

.about-links a {
  display: block;
  font-size: 0.875rem;
  color: var(--green);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  transition: color 0.15s;
}

.about-links a:last-child { border-bottom: none; }
.about-links a:hover { color: var(--amber); }

@media (max-width: 800px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-sidebar { grid-template-columns: 1fr; }
  .about-hero { padding: 2rem 1.5rem; }
  .section-page-hero { padding: 2rem 1.5rem; }
}
