/*
Theme Name:   Tentang Ternak Child Fixed 1.0.2
Theme URI:    https://tentangternak.id
Description:  Child theme for Tentang Ternak - Platform Edukasi Peternakan
Author:       Tentang Ternak
Author URI:   https://tentangternak.id
Template:     farm-cultivation
Version:      1.0.2
Text Domain:  tentangternak-child
*/

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --tt-green:  #143016;
  --tt-deep:   #102713;
  --tt-orange: #E67C21;
  --tt-ivory:  #F8F5EC;
  --tt-soft:   #EEF4EA;
  --tt-text:   #1E241F;
  --tt-muted:  #556555;
  --tt-border: #DDE8D8;
}

/* ─── GLOBAL RESET / LAYOUT ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body.tt-page {
  margin: 0;
  padding: 0;
  background: var(--tt-ivory);
  color: var(--tt-text);
  font-family: "Inter", sans-serif;
  line-height: 1.65;
}

/* Hide all theme chrome when .tt-page is active */
body.tt-page .site-header,
body.tt-page .main-header,
body.tt-page .top-header,
body.tt-page .headerbox,
body.tt-page .nav-box,
body.tt-page .main-navigation,
body.tt-page header.site-header,
body.tt-page .wp-block-navigation,
body.tt-page .banner-section,
body.tt-page .main-banner,
body.tt-page .hero-section,
body.tt-page .slider,
body.tt-page .site-footer,
body.tt-page footer.site-footer,
body.tt-page .footer-area,
body.tt-page .footer-widgets,
body.tt-page .copyright-wrapper,
body.tt-page .page-title,
body.tt-page .entry-title,
body.tt-page .breadcrumbs,
body.tt-page .page-header,
body.tt-page .inner-banner,
body.tt-page .banner {
  display: none !important;
}

body.tt-page .site-content,
body.tt-page .content-area,
body.tt-page .site-main,
body.tt-page main,
body.tt-page .entry-content,
body.tt-page .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* ─── CONTAINER ─────────────────────────────────────────────── */
.tt-container {
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ─── NAV / HEADER ──────────────────────────────────────────── */
.tt-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(248,245,236,.96);
  border-bottom: 1px solid var(--tt-border);
  backdrop-filter: blur(14px);
}
.tt-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.tt-logo img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}
.tt-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tt-menu a {
  padding: 10px 15px;
  border-radius: 999px;
  color: #263128;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: .25s ease;
}
.tt-menu a:hover,
.tt-menu a.current-menu-item {
  background: var(--tt-soft);
  color: var(--tt-green);
}
.tt-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tt-green);
  color: #fff !important;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  transition: .25s ease;
}
.tt-nav-btn:hover {
  transform: translateY(-2px);
  background: var(--tt-orange);
}

/* ─── EYEBROW ───────────────────────────────────────────────── */
.tt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 auto 18px;
  padding: 8px 15px;
  border: 1px solid rgba(230,124,33,.30);
  border-radius: 999px;
  background: rgba(230,124,33,.08);
  color: var(--tt-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  width: fit-content;
}
.tt-eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--tt-orange);
  display: block; flex: 0 0 auto;
}
.tt-dark .tt-eyebrow,
.tt-hero .tt-eyebrow,
.tt-topic-section .tt-eyebrow,
.tt-collab-section .tt-eyebrow {
  border-color: rgba(245,208,177,.36);
  background: rgba(255,255,255,.10);
  color: #F5D0B1;
}

/* ─── SECTION BASE ──────────────────────────────────────────── */
.tt-section {
  padding: 86px 0;
  position: relative;
  overflow: hidden;
}
.tt-ivory  { background: var(--tt-ivory); }
.tt-white  { background: #fff; }
.tt-soft   { background: var(--tt-soft); }
.tt-dark   { background: var(--tt-deep); color: #fff; }

/* ─── SECTION TITLE ─────────────────────────────────────────── */
.tt-title {
  max-width: 820px;
  margin: 0 auto 50px;
  text-align: center;
}
.tt-title h1,
.tt-title h2 {
  font-family: "Manrope", sans-serif;
  color: var(--tt-green);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin: 0;
  padding: 0;
}
.tt-dark .tt-title h2,
.tt-topic-section .tt-title h2,
.tt-collab-section .tt-title h2 { color: #fff; }
.tt-title p {
  max-width: 710px;
  margin: 18px auto 0;
  color: #435044;
  font-size: 16.5px;
  line-height: 1.8;
}
.tt-dark .tt-title p,
.tt-topic-section .tt-title p,
.tt-collab-section .tt-title p { color: rgba(255,255,255,.76); }

/* ─── GRIDS ─────────────────────────────────────────────────── */
.tt-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.tt-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
}

/* ─── CARDS ─────────────────────────────────────────────────── */
.tt-card {
  min-height: 220px;
  border: 1px solid var(--tt-border);
  border-radius: 26px;
  background: #fff;
  padding: 28px;
  transition: .28s ease;
}
.tt-dark .tt-card,
.tt-collab-section .tt-card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(4px);
}
.tt-card:hover {
  transform: translateY(-6px);
  border-color: var(--tt-orange);
  box-shadow: 0 22px 50px rgba(20,48,22,.12);
}
.tt-num {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--tt-orange);
  margin-bottom: 22px;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 850;
}
.tt-num::after {
  content: "";
  width: 58px; height: 1px;
  background: var(--tt-border);
}
.tt-dark .tt-num::after,
.tt-collab-section .tt-num::after { background: rgba(255,255,255,.20); }
.tt-card h3 {
  font-family: "Manrope", sans-serif;
  color: var(--tt-green);
  font-size: 20px;
  line-height: 1.34;
  font-weight: 800;
  margin: 0; padding: 0;
}
.tt-dark .tt-card h3,
.tt-collab-section .tt-card h3 { color: #fff; }
.tt-card p {
  margin-top: 14px;
  color: var(--tt-muted);
  font-size: 14px;
  line-height: 1.8;
}
.tt-dark .tt-card p,
.tt-collab-section .tt-card p { color: rgba(255,255,255,.70); }

/* ─── TOPIC SECTION ─────────────────────────────────────────── */
.tt-topic-section {
  background-image:
    linear-gradient(rgba(9,31,12,.84), rgba(9,31,12,.84)),
    url("https://images.unsplash.com/photo-1500595046743-cd271d694d30?auto=format&fit=crop&w=2000&q=85");
  background-size: cover;
  background-position: center;
  color: #fff;
}
.tt-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.tt-topic {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 22px;
  padding: 26px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(2px);
  transition: .25s ease;
}
.tt-topic:hover {
  border-color: var(--tt-orange);
  background: rgba(255,255,255,.075);
  transform: translateY(-4px);
}
.tt-topic-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
}
.tt-topic-num {
  color: var(--tt-orange);
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 850;
}
.tt-arrow { color: rgba(255,255,255,.55); font-size: 20px; transition: .25s ease; }
.tt-topic:hover .tt-arrow { transform: translateX(6px); color: var(--tt-orange); }
.tt-topic h3 {
  font-family: "Manrope", sans-serif;
  color: #fff;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
  margin: 0; padding: 0;
}
.tt-topic p {
  margin-top: 12px;
  color: rgba(255,255,255,.70);
  font-size: 14px;
  line-height: 1.78;
}

/* ─── ARTICLE GRID ──────────────────────────────────────────── */
.tt-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.tt-article {
  overflow: hidden;
  border: 1px solid var(--tt-border);
  border-radius: 26px;
  background: #fff;
  transition: .28s ease;
  text-decoration: none;
  display: block;
  color: inherit;
}
.tt-article:hover {
  transform: translateY(-6px);
  border-color: var(--tt-orange);
  box-shadow: 0 24px 58px rgba(20,48,22,.12);
}
.tt-article-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--tt-soft);
}
.tt-article-body { padding: 26px; }
.tt-tag {
  display: inline-flex;
  margin-bottom: 15px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--tt-soft);
  color: var(--tt-orange);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.tt-article h3 {
  font-family: "Manrope", sans-serif;
  color: var(--tt-green);
  font-size: 21px;
  line-height: 1.34;
  font-weight: 800;
  margin: 0; padding: 0;
}
.tt-article p {
  margin-top: 13px;
  color: var(--tt-muted);
  font-size: 14px;
  line-height: 1.8;
}
.tt-read {
  display: inline-flex;
  margin-top: 18px;
  color: var(--tt-green);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.tt-center { text-align: center; margin-top: 38px; }
.tt-outline {
  display: inline-flex;
  padding: 12px 24px;
  border: 1px solid var(--tt-green);
  border-radius: 999px;
  color: var(--tt-green);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: .25s ease;
  background: rgba(255,255,255,.78);
}
.tt-outline:hover {
  background: var(--tt-green);
  color: #fff;
  transform: translateY(-3px);
}
.tt-collab-section .tt-outline {
  color: #fff;
  border-color: rgba(255,255,255,.62);
  background: rgba(255,255,255,.08);
}
.tt-collab-section .tt-outline:hover {
  color: var(--tt-green);
  background: #fff;
}
.tt-main-btn {
  display: inline-flex;
  margin-top: 32px;
  padding: 14px 30px;
  border-radius: 999px;
  background: #fff;
  color: var(--tt-green);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: .28s ease;
  box-shadow: 0 18px 40px rgba(0,0,0,.20);
}
.tt-main-btn:hover {
  transform: translateY(-4px);
  background: var(--tt-orange);
  color: #fff;
}

/* ─── HERO ──────────────────────────────────────────────────── */
.tt-hero {
  min-height: 86vh;
  display: flex;
  align-items: center;
  position: relative;
  background:
    linear-gradient(180deg, rgba(7,25,10,.83), rgba(7,25,10,.64)),
    url("https://images.unsplash.com/photo-1500595046743-cd271d694d30?auto=format&fit=crop&w=2200&q=85");
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.tt-hero-inner {
  width: min(940px, calc(100% - 44px));
  margin: 0 auto;
  padding: 120px 0 150px;
  text-align: center;
  position: relative;
  z-index: 3;
}
.tt-hero h1 {
  font-family: "Manrope", sans-serif;
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-align: center;
  text-shadow: 0 16px 45px rgba(0,0,0,.26);
}
.tt-hero h1 span { color: #F5C35A; }
.tt-hero .tt-hero-sub {
  max-width: 700px;
  margin: 24px auto 0;
  color: rgba(255,255,255,.84);
  font-size: 18px;
  line-height: 1.75;
  text-align: center;
}
.tt-float {
  position: absolute;
  z-index: 4;
  bottom: 38px;
  max-width: 230px;
  padding: 16px 18px;
  border-radius: 20px;
  text-align: left;
  box-shadow: 0 18px 44px rgba(0,0,0,.16);
}
.tt-float.left {
  left: max(32px, calc((100vw - 1160px) / 2 + 12px));
  background: rgba(255,255,255,.94);
  color: var(--tt-green);
}
.tt-float.right {
  right: max(32px, calc((100vw - 1160px) / 2 + 12px));
  background: rgba(20,48,22,.90);
  color: #fff;
}
.tt-float small {
  display: block;
  margin-bottom: 6px;
  color: var(--tt-orange);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tt-float strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

/* ─── SPLIT LAYOUT ──────────────────────────────────────────── */
.tt-split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 42px;
  align-items: center;
}
.tt-photo {
  height: 420px;
  border-radius: 28px;
  background-image: url("https://images.unsplash.com/photo-1516467508483-a7212febe31a?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 58px rgba(0,0,0,.17);
}
.tt-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.tt-mini {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  transition: .28s ease;
}
.tt-mini:hover {
  transform: translateY(-6px);
  border-color: var(--tt-orange);
  background: rgba(255,255,255,.10);
}
.tt-mini span {
  display: block;
  margin-bottom: 10px;
  color: var(--tt-orange);
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 850;
}
.tt-mini p {
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.72;
  font-weight: 650;
}

/* ─── COLLAB SECTION ────────────────────────────────────────── */
.tt-collab-section {
  background-image:
    linear-gradient(rgba(8,31,12,.84), rgba(8,31,12,.84)),
    url("https://images.unsplash.com/photo-1517841905240-472988babdf9?auto=format&fit=crop&w=2000&q=85");
  background-size: cover;
  background-position: center;
  color: #fff;
}

/* ─── ARTICLE ARCHIVE ───────────────────────────────────────── */
.tt-archive-hero {
  padding: 80px 0 60px;
  background: var(--tt-green);
  color: #fff;
  text-align: center;
}
.tt-archive-hero h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(32px,4vw,52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 16px 0 0;
  color: #fff;
}
.tt-archive-hero p {
  max-width: 580px;
  margin: 16px auto 0;
  color: rgba(255,255,255,.76);
  font-size: 16px;
  line-height: 1.75;
}
.tt-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
  padding: 72px 0 86px;
}
.tt-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-bottom: 86px;
}
.tt-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--tt-border);
  color: var(--tt-green);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: .2s ease;
}
.tt-pagination .page-numbers.current,
.tt-pagination .page-numbers:hover {
  background: var(--tt-green);
  color: #fff;
  border-color: var(--tt-green);
}
.tt-no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--tt-muted);
  font-size: 16px;
}

/* ─── SINGLE POST ───────────────────────────────────────────── */
.tt-single-hero {
  padding: 80px 0 60px;
  background: var(--tt-green);
  color: #fff;
}
.tt-single-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.tt-single-meta time,
.tt-single-meta .tt-meta-author {
  color: rgba(255,255,255,.72);
  font-size: 13px;
}
.tt-single-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(28px,3.5vw,48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.18;
  color: #fff;
  margin: 0 0 20px;
  max-width: 860px;
}
.tt-single-excerpt {
  max-width: 700px;
  color: rgba(255,255,255,.80);
  font-size: 17px;
  line-height: 1.75;
}
.tt-single-thumb {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
  border-radius: 22px;
  aspect-ratio: 16/9;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.tt-single-thumb-wrap {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  margin-bottom: 56px;
}
.tt-single-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 80px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--tt-text);
}
.tt-single-body h2,
.tt-single-body h3,
.tt-single-body h4 {
  font-family: "Manrope", sans-serif;
  color: var(--tt-green);
  letter-spacing: -0.035em;
  margin-top: 2em;
  margin-bottom: .5em;
}
.tt-single-body h2 { font-size: 28px; }
.tt-single-body h3 { font-size: 22px; }
.tt-single-body p { margin: 0 0 1.4em; }
.tt-single-body a { color: var(--tt-orange); }
.tt-single-body img {
  width: 100%;
  border-radius: 16px;
  margin: 1.5em 0;
}
.tt-single-body ul,
.tt-single-body ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}
.tt-single-body li { margin-bottom: .5em; }
.tt-single-body blockquote {
  border-left: 4px solid var(--tt-orange);
  padding: 16px 24px;
  margin: 2em 0;
  background: var(--tt-soft);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--tt-muted);
}
.tt-related {
  background: var(--tt-soft);
  padding: 72px 0 86px;
}
.tt-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  font-size: 13px;
  color: rgba(255,255,255,.60);
}
.tt-breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.tt-breadcrumb a:hover { color: #fff; }
.tt-breadcrumb span { opacity: .5; }

/* ─── STATIC PAGES: TENTANG / KONTAK ───────────────────────── */
.tt-page-hero {
  padding: 100px 0 80px;
  background:
    linear-gradient(180deg, rgba(7,25,10,.82), rgba(7,25,10,.68)),
    url("https://images.unsplash.com/photo-1516467508483-a7212febe31a?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}
.tt-page-hero h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px,4.5vw,58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 16px 0 0;
  max-width: 780px;
  margin-left: auto; margin-right: auto;
}
.tt-page-hero p {
  max-width: 620px;
  margin: 20px auto 0;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.75;
}

/* Kontak form */
.tt-contact-form {
  background: #fff;
  border: 1px solid var(--tt-border);
  border-radius: 28px;
  padding: 48px;
  max-width: 680px;
  margin: 0 auto;
}
.tt-contact-form h3 {
  font-family: "Manrope", sans-serif;
  color: var(--tt-green);
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
}
.tt-contact-form > p {
  color: var(--tt-muted);
  font-size: 14px;
  margin: 0 0 32px;
}
.tt-field { margin-bottom: 20px; }
.tt-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--tt-green);
  margin-bottom: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tt-field input,
.tt-field select,
.tt-field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--tt-border);
  border-radius: 14px;
  font-size: 15px;
  font-family: "Inter", sans-serif;
  color: var(--tt-text);
  background: var(--tt-ivory);
  transition: .2s ease;
  outline: none;
}
.tt-field input:focus,
.tt-field select:focus,
.tt-field textarea:focus {
  border-color: var(--tt-green);
  background: #fff;
}
.tt-field textarea { resize: vertical; min-height: 130px; }
.tt-submit {
  display: inline-flex;
  padding: 14px 32px;
  background: var(--tt-green);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: .25s ease;
}
.tt-submit:hover {
  background: var(--tt-orange);
  transform: translateY(-2px);
}
.tt-contact-alt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border: 1px solid var(--tt-border);
  border-radius: 18px;
  background: var(--tt-ivory);
  text-decoration: none;
  color: var(--tt-text);
  transition: .25s ease;
  margin-bottom: 14px;
}
.tt-contact-alt:hover {
  border-color: var(--tt-orange);
  transform: translateY(-2px);
}
.tt-contact-alt-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--tt-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: 0 0 auto;
}
.tt-contact-alt-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--tt-orange);
  display: block;
  margin-bottom: 4px;
}
.tt-contact-alt-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--tt-green);
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.tt-footer {
  background: var(--tt-deep);
  color: #fff;
  padding: 72px 0 34px;
}
.tt-footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.35fr) minmax(160px, .8fr) minmax(160px, .8fr);
  gap: 80px;
  align-items: start;
}
.tt-footer-logo {
  display: block;
  line-height: 0;
  margin: 0 0 22px;
}
.tt-footer-logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.tt-footer > .tt-container > p,
.tt-footer-about {
  max-width: 380px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}
.tt-footer h4 {
  font-family: "Manrope", sans-serif;
  color: var(--tt-orange);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 22px;
}
.tt-footer-links { display: flex; flex-direction: column; }
.tt-footer-links a {
  color: rgba(255,255,255,.68);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 13px;
  transition: .22s ease;
}
.tt-footer-links a:hover { color: var(--tt-orange); }
.tt-footer-bottom {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.45);
  font-size: 13px;
}

/* ─── CATEGORY BADGE ────────────────────────────────────────── */
.tt-category-header {
  background: var(--tt-green);
  padding: 72px 0 52px;
  text-align: center;
  color: #fff;
}
.tt-category-header h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(30px,3.5vw,46px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  margin: 16px 0 0;
}
.tt-category-header p {
  color: rgba(255,255,255,.72);
  font-size: 15px;
  margin: 12px auto 0;
  max-width: 560px;
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 980px) {
  .tt-menu, .tt-nav-btn, .tt-float { display: none; }
  .tt-grid-3, .tt-grid-4, .tt-split,
  .tt-mini-grid, .tt-topic-grid,
  .tt-article-grid, .tt-archive-grid,
  .tt-footer-grid { grid-template-columns: 1fr !important; }
  .tt-hero-inner { padding: 100px 0 80px; }
  .tt-contact-form { padding: 32px 24px; }
  .tt-footer-grid { gap: 36px; }
}
@media (max-width: 640px) {
  .tt-container { width: calc(100% - 28px); }
  .tt-logo img { height: 48px; }
  .tt-hero h1 { font-size: 36px; }
  .tt-hero .tt-hero-sub { font-size: 15px; }
  .tt-title h1, .tt-title h2 { font-size: 28px; }
  .tt-archive-grid { grid-template-columns: 1fr; }
}


/* ─── PATCH 1.0.1: Article page + single post readability ─── */
body.single-post.tt-page {
  background: var(--tt-ivory);
}

body.single-post.tt-page .tt-single-hero {
  padding: 72px 0 44px;
  background: var(--tt-ivory);
  color: var(--tt-text);
}

body.single-post.tt-page .tt-breadcrumb {
  color: rgba(30,36,31,.55);
}
body.single-post.tt-page .tt-breadcrumb a {
  color: rgba(30,36,31,.68);
}

body.single-post.tt-page .tt-single-meta time,
body.single-post.tt-page .tt-single-meta .tt-meta-author {
  color: var(--tt-muted);
}

body.single-post.tt-page .tt-single-title {
  max-width: 980px;
  color: var(--tt-green);
  font-size: clamp(36px,5.2vw,68px);
  line-height: 1.08;
}

body.single-post.tt-page .tt-single-excerpt {
  color: #435044;
}

body.single-post.tt-page .tt-single-thumb-wrap {
  margin-top: 0;
  margin-bottom: 56px;
}

body.single-post.tt-page .tt-single-thumb {
  margin-top: 0;
  max-width: 1040px;
  border-radius: 30px;
}

body.single-post.tt-page .tt-single-body {
  background: #fff;
  max-width: 860px;
  padding: 52px 64px 72px;
  border: 1px solid var(--tt-border);
  border-radius: 30px;
  margin: 0 auto 86px;
  box-shadow: 0 20px 54px rgba(20,48,22,.08);
}

body.single-post.tt-page .tt-related {
  background: var(--tt-soft);
}

body.blog.tt-page .tt-archive-grid,
body.page-template-default.tt-page .tt-archive-grid,
body.page.tt-page .tt-archive-grid {
  align-items: stretch;
}

@media (max-width: 760px) {
  body.single-post.tt-page .tt-single-body {
    padding: 32px 24px 48px;
    border-radius: 22px;
  }
}


/* ─── V1.0.2 FIXES: article archive, single post, logo ─────── */
.tt-logo img {
  height: 64px;
  max-height: 64px;
  width: auto;
  background: transparent !important;
}

.tt-footer-logo img {
  height: 72px;
  max-width: 320px;
  object-fit: contain;
  filter: brightness(0) invert(1) !important;
  opacity: 1;
}

/* Article archive like previous custom top */
.tt-article-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(7,25,10,.84), rgba(7,25,10,.70)),
    url("https://images.unsplash.com/photo-1500595046743-cd271d694d30?auto=format&fit=crop&w=2200&q=85");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 110px 0 96px;
  overflow: hidden;
  text-align: center;
}

.tt-article-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.tt-article-hero .tt-eyebrow {
  border-color: rgba(245,208,177,.36);
  background: rgba(255,255,255,.10);
  color: #F5D0B1;
}

.tt-article-hero h1 {
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 1.08;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.045em;
  margin: 0;
}

.tt-article-hero p {
  max-width: 690px;
  margin: 24px auto 0;
  color: rgba(255,255,255,.82);
  font-size: 18px;
  line-height: 1.75;
  text-align: center;
}

.tt-archive-intro {
  background: var(--tt-ivory);
  padding: 70px 0 18px;
  text-align: center;
}

.tt-archive-intro h2 {
  font-family: "Manrope", sans-serif;
  color: var(--tt-green);
  text-align: center;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin: 0;
}

.tt-archive-grid {
  padding-top: 42px;
}

/* CTA / bottom like previous custom bottom */
.tt-cta-wrap {
  background: var(--tt-ivory);
  padding: 0 0 86px;
}

.tt-cta {
  border-radius: 32px;
  background:
    linear-gradient(rgba(10,33,14,.86), rgba(10,33,14,.86)),
    url("https://images.unsplash.com/photo-1500595046743-cd271d694d30?auto=format&fit=crop&w=2200&q=85");
  background-size: cover;
  background-position: center;
  padding: 56px 42px;
  text-align: center;
  color: #fff;
}

.tt-cta h2 {
  max-width: 760px;
  margin: 0 auto;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.tt-cta p {
  max-width: 650px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.76);
  font-size: 16px;
  line-height: 1.75;
}

.tt-cta a {
  display: inline-flex;
  margin-top: 28px;
  padding: 13px 25px;
  border-radius: 999px;
  background: #fff;
  color: var(--tt-green) !important;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: .25s ease;
}

.tt-cta a:hover {
  transform: translateY(-3px);
  background: var(--tt-orange);
  color: #fff !important;
}

/* Single post: no duplicate lead, clean content card */
.tt-single-hero-clean {
  background: var(--tt-ivory);
  color: var(--tt-green);
  padding: 72px 0 42px;
}

.tt-single-hero-clean .tt-breadcrumb {
  color: rgba(20,48,22,.60);
}

.tt-single-hero-clean .tt-breadcrumb a {
  color: rgba(20,48,22,.72);
}

.tt-single-hero-clean .tt-breadcrumb a:hover {
  color: var(--tt-orange);
}

.tt-single-hero-clean .tt-single-meta time,
.tt-single-hero-clean .tt-single-meta .tt-meta-author {
  color: var(--tt-muted);
}

.tt-single-hero-clean .tt-single-title {
  color: var(--tt-green);
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.08;
  max-width: 1040px;
  margin: 26px 0 0;
}

.tt-single-content-wrap {
  background: var(--tt-ivory);
  padding: 10px 0 72px;
}

.tt-single-body-card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--tt-border);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 64px);
  box-shadow: 0 24px 58px rgba(20,48,22,.08);
}

.tt-single-body {
  max-width: 760px;
  padding: 0;
}

.tt-single-body p:first-child {
  margin-top: 0;
}

.tt-single-body img {
  width: 100%;
  border-radius: 18px;
  margin: 2em 0;
  height: auto;
}

.tt-post-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--tt-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tt-post-tags a {
  padding: 5px 12px;
  background: var(--tt-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--tt-muted);
  text-decoration: none;
}

.tt-post-nav {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--tt-border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.tt-post-nav a {
  text-decoration: none;
  color: var(--tt-green);
  font-weight: 700;
  font-size: 14px;
}

.tt-post-nav a:hover {
  color: var(--tt-orange);
}

/* More balanced article cards */
.tt-article {
  min-height: 100%;
}

.tt-article-img {
  height: 250px;
}

.tt-article-body {
  padding: 28px;
}

@media (max-width: 980px) {
  .tt-article-hero {
    padding: 86px 0 76px;
  }
  .tt-archive-grid,
  .tt-article-grid {
    grid-template-columns: 1fr;
  }
  .tt-single-hero-clean .tt-single-title {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .tt-logo img {
    height: 52px;
    max-height: 52px;
  }
  .tt-footer-logo img {
    height: 58px;
  }
  .tt-article-hero h1 {
    font-size: 38px;
  }
  .tt-article-hero p {
    font-size: 16px;
  }
  .tt-single-body-card {
    border-radius: 22px;
    padding: 26px;
  }
}
