/*
 * layout.css — TCB Elementor Theme
 * Macro page layout: announcement bar, header, hero, sections, story, footer.
 * Scoped to avoid conflicts with Elementor and WooCommerce.
 */

/* ─── Fluid Horizontal Padding Utility ───────────────────────────────────── */
/*
 * Keeps content aligned within --content-width on ultra-wide screens
 * while falling back to 4.5% on smaller viewports.
 */
header.site-header,
.site-header,
.announcement,
footer.site-footer,
.site-footer {
  padding-inline: max(4.5%, calc((100% - var(--content-width)) / 2));
}

/* ─── Announcement Bar ───────────────────────────────────────────────────── */
.announcement {
  height: 34px;
  background: var(--green);
  color: #f7f8ed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.45px;
}

.announcement a {
  font-size: 11px;
}

.announcement a span {
  margin-left: 20px;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
header.site-header,
.site-header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #fafaf7;
  gap: 25px;
}

/* ─── Brand ──────────────────────────────────────────────────────────────── */
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.6px;
}

.brand-sub {
  display: block;
  font-size: 7px;
  letter-spacing: 1.8px;
  margin-top: 6px;
  font-weight: 500;
}

/* ─── Logo Crop (base from style.css, overridden by framing.css) ─────────── */
.logo-crop {
  width: 72px;
  height: 44px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.logo-crop img {
  width: 96px;
  height: 96px;
  max-width: none;
  position: absolute;
  left: -12px;
  top: -26px;
}

/* ─── Navigation ─────────────────────────────────────────────────────────── */
nav,
.tcb-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 12px;
}

.tcb-nav ul,
.tcb-nav-items {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tcb-nav li,
.tcb-nav-items li {
  list-style: none;
  margin: 0;
  padding: 0;
}

header.site-header nav a,
.site-header nav a,
.tcb-header nav a,
.tcb-nav a,
.tcb-nav-items a {
  padding: 10px 0;
  position: relative;
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

header.site-header nav .active::after,
.site-header nav .active::after,
.tcb-header nav .active::after,
.tcb-nav .active::after,
.tcb-nav a.active::after,
.tcb-nav .current-menu-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--green);
}

/* ─── Header Actions ─────────────────────────────────────────────────────── */
.header-actions {
  display: flex;
  gap: 23px;
  align-items: center;
}

.header-actions button,
.header-actions a,
.header-actions .bag-toggle,
.header-actions .account-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  font-size: 12px;
  color: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  line-height: 1;
}

.header-actions .action-icon,
.header-actions #bag-icon,
.header-actions #account-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-actions .action-icon svg,
.header-actions #bag-icon svg,
.header-actions #account-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.header-actions .action-label,
.header-actions .bag-label,
.header-actions .account-label {
  font-size: 12px;
  white-space: nowrap;
}

#menu-toggle,
.header-actions #menu-toggle {
  display: none !important;
}

@media (max-width: 900px) {
  .site-header nav,
  .site-header .tcb-nav,
  header.site-header nav {
    display: none !important;
  }

  #menu-toggle,
  .header-actions #menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
  }
}

.bag-toggle {
  gap: 7px;
  font-size: 12px;
}

.header-actions #wishlist-count,
.header-actions #bag-count,
.header-actions .wishlist-count,
.header-actions .cart-count {
  display: none;
  background: var(--green, #344536);
  color: white;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  margin-left: 2px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.header-actions #wishlist-count[data-count]:not([data-count=""]):not([data-count="0"]):not(:empty),
.header-actions #bag-count[data-count]:not([data-count=""]):not([data-count="0"]):not(:empty),
.header-actions .wishlist-count[data-count]:not([data-count=""]):not([data-count="0"]):not(:empty),
.header-actions .cart-count[data-count]:not([data-count=""]):not([data-count="0"]):not(:empty) {
  display: inline-grid;
  place-items: center;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr 37px;
  min-height: 610px;
  margin: 24px 2.4% 0;
  background: var(--bg-hero);
  position: relative;
}

.hero-copy {
  padding: 65px 10% 32px 9%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.hero-copy p {
  font-size: 13px;
  line-height: 1.85;
  color: #686b61;
}

.hero-copy > .button {
  margin-top: 29px;
  min-width: 226px;
}

/* ─── Hero Image ─────────────────────────────────────────────────────────── */
.hero-image {
  position: relative;
  overflow: hidden;
  min-height: 610px;
}

.hero-image > img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: center top;
}

/* ─── Image Caption ──────────────────────────────────────────────────────── */
.image-caption {
  position: absolute;
  top: 25px;
  left: 25px;
  font-size: 9px;
  letter-spacing: 1.4px;
}

/* ─── Hero Product Card ──────────────────────────────────────────────────── */
.hero-product {
  position: absolute;
  bottom: 26px;
  left: 25px;
  right: 25px;
  padding: 17px 19px;
  display: flex;
  text-align: left;
  align-items: center;
  justify-content: space-between;
  background: #fcfcf5e8;
  backdrop-filter: blur(12px);
}

.hero-product small {
  font-size: 9px;
  color: #707365;
  display: block;
  margin-bottom: 5px;
}

.hero-product strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 7px;
}

.hero-product > span > span {
  font-size: 12px;
}

.hero-product del {
  margin-left: 8px;
  font-size: 10px;
  color: #86877f;
}

/* ─── Round Arrow ────────────────────────────────────────────────────────── */
.round-arrow {
  border: 1px solid #bcbfb1;
  border-radius: 50%;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  font-size: 22px;
}

/* ─── Hero Bottom ────────────────────────────────────────────────────────── */
.hero-bottom {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding-top: 42px;
  font-size: 8px;
  letter-spacing: 1.3px;
  line-height: 1.8;
}

.small-star {
  font-size: 37px;
  line-height: 1;
  color: #617050;
}

/* ─── Vertical Note (hero sidebar) ──────────────────────────────────────── */
.vertical-note {
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 2px;
  font-size: 8px;
}

/* ─── Benefits Bar ───────────────────────────────────────────────────────── */
.benefits {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: min(91%, var(--content-width));
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  font-size: 11px;
}

.benefits span {
  display: flex;
  gap: 12px;
  align-items: center;
}

.benefits i {
  font-style: normal;
  font-size: 24px;
  color: #67745c;
}

/* ─── Section ────────────────────────────────────────────────────────────── */
.section {
  padding: 73px 4.5% 60px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: 35px;
  margin-top: 14px;
  letter-spacing: -1.6px;
}

.section-heading > p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

/* ─── Collection End ─────────────────────────────────────────────────────── */
.collection-end {
  text-align: center;
  font-size: 11px;
  margin-top: 43px;
  color: #85887b;
}

.collection-end span {
  color: #3e4b36;
}

/* ─── Story Section ──────────────────────────────────────────────────────── */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(91%, var(--content-width));
  margin: 13px auto 70px;
  background: var(--bg-story);
  min-height: 460px;
}

.story-photo {
  position: relative;
  max-height: 500px;
  overflow: hidden;
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}

.story-photo > span {
  position: absolute;
  bottom: 23px;
  left: 25px;
  color: white;
  font-size: 9px;
  letter-spacing: 2px;
  background: #344536a8;
  padding: 8px 10px;
}

.story-copy {
  padding: 57px 13%;
  position: relative;
  overflow: hidden;
}

.story-copy h2 {
  font-size: 46px;
  line-height: 1.17;
  margin: 25px 0;
}

.story-copy p {
  font-size: 12px;
  line-height: 1.9;
  color: #6b7261;
  margin-bottom: 16px;
  max-width: 340px;
}

.story-star {
  position: absolute;
  right: 20px;
  bottom: 10px;
  font-size: 100px;
  color: #cad1bb;
  line-height: 1;
  pointer-events: none;
}

/* ─── Contact Strip ──────────────────────────────────────────────────────── */
.contact-strip {
  padding: 0 4.5% 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-strip h2 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 13px 0;
}

.contact-strip p {
  font-size: 12px;
  color: var(--muted);
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
footer.site-footer,
.site-footer {
  padding-top: 48px;
  padding-bottom: 0;
  background: var(--bg-footer);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 30px;
  padding-bottom: 45px;
}

.footer-brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.6px;
}

.footer-brand span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: #727866;
  margin-top: 13px;
}

.footer-top h3 {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-top ul,
.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-top li,
.footer-nav-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-top a,
.footer-top > div > a,
.footer-nav-list a {
  display: block;
  font-size: 11px;
  color: #68715d;
  margin-top: 10px;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #d2d7c9;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  color: #77816a;
}

/* ─── Elementor Page Container ───────────────────────────────────────────── */
.tcb-elementor-area,
.elementor-page-main {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.tcb-elementor-area article.tcb-page,
.tcb-elementor-area .entry-content {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* ─── Blog & Journal Page ────────────────────────────────────────────────── */
.tcb-blog-area {
  width: 100%;
}

.tcb-blog-main {
  max-width: var(--content-width, 1440px);
  margin-inline: auto;
  box-sizing: border-box;
}

.tcb-blog-breadcrumbs {
  margin-bottom: 24px;
}

.tcb-blog-heading {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  border-bottom: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 32px;
  text-align: left;
}

.tcb-blog-heading .page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.tcb-blog-heading .page-title {
  display: block;
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  color: var(--text, #262d26);
  margin: 0 0 14px;
}

.tcb-blog-description {
  display: block;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 15px;
  color: var(--muted, #71766d);
  max-width: 620px;
  line-height: 1.6;
  margin: 0;
}

/* Category Filter Bar */
.tcb-blog-categories {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 14px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line, #dddfd6);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tcb-blog-categories::-webkit-scrollbar {
  display: none;
  height: 0;
}

.tcb-blog-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--line, #dddfd6);
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text, #262d26);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.tcb-blog-cat-pill:hover {
  border-color: var(--green, #344536);
  color: var(--green, #344536);
  background: #f8faf6;
}

.tcb-blog-cat-pill.is-active {
  background: var(--green, #344536);
  color: #ffffff;
  border-color: var(--green, #344536);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(52, 69, 54, 0.18);
}

.tcb-blog-cat-pill .cat-count {
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.05);
  line-height: 1.2;
}

.tcb-blog-cat-pill.is-active .cat-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Featured Hero Story */
.tcb-featured-story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line, #dddfd6);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 56px;
  box-shadow: 0 4px 20px rgba(38, 45, 38, 0.03);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tcb-featured-story:hover {
  box-shadow: 0 16px 36px rgba(38, 45, 38, 0.08);
}

.tcb-featured-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eaece4;
}

.tcb-featured-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.tcb-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tcb-featured-story:hover .tcb-featured-img {
  transform: scale(1.03);
}

.tcb-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(38, 45, 38, 0.9);
  color: #ffffff;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

.tcb-featured-copy {
  padding: 36px 44px 36px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.tcb-featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 12px;
  color: var(--muted, #71766d);
  margin-bottom: 12px;
  font-weight: 500;
}

.featured-kicker {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green, #344536);
  font-size: 11px;
  text-transform: uppercase;
}

.tcb-featured-title {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -0.6px;
  color: var(--text, #262d26);
}

.tcb-featured-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tcb-featured-title a:hover {
  color: var(--green, #344536);
}

.tcb-featured-excerpt {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 14.5px;
  color: var(--muted, #71766d);
  line-height: 1.65;
  margin-bottom: 24px;
}

.tcb-featured-btn {
  align-self: flex-start !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  min-height: 46px !important;
  padding: 0 24px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  background: var(--green, #344536) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.tcb-featured-btn:hover {
  background: #233426 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(35, 52, 38, 0.25);
}

/* Blog Posts Grid */
.tcb-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.tcb-blog-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line, #dddfd6);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(38, 45, 38, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tcb-blog-card:hover {
  transform: translateY(-4px);
  border-color: #c7cbc0;
  box-shadow: 0 16px 32px rgba(38, 45, 38, 0.08);
}

.tcb-blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: #eaece4;
}

.tcb-blog-card-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.tcb-blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.tcb-blog-card:hover .tcb-blog-card-img {
  transform: scale(1.04);
}

.tcb-blog-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green, #344536);
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
  transition: background 0.15s ease;
}

.tcb-blog-card-badge:hover {
  background: #ffffff;
}

.tcb-blog-card-content {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tcb-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 11.5px;
  color: var(--muted, #71766d);
  margin-bottom: 10px;
  font-weight: 500;
}

.tcb-blog-card-title {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
  color: var(--text, #262d26);
}

.tcb-blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tcb-blog-card-title a:hover {
  color: var(--green, #344536);
}

.tcb-blog-card-excerpt {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 13.5px;
  color: var(--muted, #71766d);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.tcb-blog-card-excerpt p {
  margin: 0;
}

.tcb-blog-card-footer {
  margin-top: auto;
  border-top: 1px solid #f0f2eb;
  padding-top: 14px;
}

.tcb-blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--green, #344536);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.tcb-blog-card-link .card-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.tcb-blog-card:hover .tcb-blog-card-link .card-arrow {
  transform: translate(2px, -2px);
}

/* Pagination */
.tcb-blog-pagination {
  margin: 40px 0 60px;
  display: flex;
  justify-content: center;
}

.tcb-blog-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tcb-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line, #dddfd6);
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #262d26);
  text-decoration: none;
  transition: all 0.2s ease;
}

.tcb-blog-pagination .page-numbers:hover {
  border-color: var(--green, #344536);
  color: var(--green, #344536);
  background: #f8faf6;
}

.tcb-blog-pagination .page-numbers.current {
  background: var(--green, #344536);
  border-color: var(--green, #344536);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(52, 69, 54, 0.2);
}

.tcb-blog-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  color: var(--muted, #71766d);
}

/* ─── Single Blog Post Luxury Layout ─────────────────────────────────────── */

.tcb-single-post-area {
  width: 100%;
}

.tcb-single-main {
  max-width: var(--content-width, 1440px);
  margin-inline: auto;
}

.tcb-single-post {
  max-width: 820px;
  margin: 0 auto;
}

.tcb-single-breadcrumbs-row {
  margin-bottom: 24px;
}

.tcb-single-header {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  border-bottom: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 32px;
  text-align: left;
}

.tcb-single-badge-wrap {
  margin-bottom: 14px;
  display: block;
}

.tcb-single-cat-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green, #344536);
  background: #f0f2eb;
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1.2;
}

.tcb-single-cat-badge:hover {
  background: #e5e8de;
}

.tcb-single-title {
  display: block;
  width: 100%;
  clear: both;
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -1px;
  color: var(--text, #262d26);
  margin: 0 0 22px;
}

/* Byline Bar */
.tcb-single-byline-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line, #dddfd6);
  gap: 16px;
  flex-wrap: wrap;
}

.tcb-single-author-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tcb-single-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green, #344536);
  color: #ffffff;
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tcb-single-meta-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tcb-single-author-name {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--text, #262d26);
}

.tcb-single-meta-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 12.5px;
  color: var(--muted, #71766d);
}

.tcb-single-share-actions {
  display: flex;
  align-items: center;
}

.tcb-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--line, #dddfd6);
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tcb-share-btn:hover {
  background: #f8faf6;
  border-color: var(--green, #344536);
  color: var(--green, #344536);
}

/* Featured Thumbnail */
.tcb-single-thumbnail {
  margin: 28px 0 44px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(38, 45, 38, 0.08);
}

.tcb-single-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article Body Content */
.tcb-single-content {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 17px;
  line-height: 1.85;
  color: #262d26;
}

.tcb-single-content > p:first-of-type {
  font-size: 19.5px;
  line-height: 1.68;
  color: #262d26;
  font-weight: 450;
  margin-bottom: 26px;
}

.tcb-single-content p {
  margin-bottom: 24px;
}

.tcb-single-content h2 {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 44px 0 16px;
  color: var(--text, #262d26);
}

.tcb-single-content h3 {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.3px;
  margin: 32px 0 14px;
  color: var(--text, #262d26);
}

.tcb-single-content blockquote {
  border-left: 3px solid var(--green, #344536);
  padding: 16px 28px;
  margin: 32px 0;
  background: #f4f6f2;
  border-radius: 0 8px 8px 0;
  font-size: 18.5px;
  font-style: italic;
  line-height: 1.6;
  color: #2b332b;
}

.tcb-single-content ul,
.tcb-single-content ol {
  margin: 0 0 24px 24px;
  padding: 0;
}

.tcb-single-content li {
  margin-bottom: 10px;
}

.tcb-single-content img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  margin: 28px 0;
}

/* Single Post Footer */
.tcb-single-footer {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin-top: 48px;
}

/* Post Tags */
.tcb-post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line, #dddfd6);
}

.tcb-tags-label {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted, #71766d);
  margin-right: 4px;
}

.tcb-post-tags .tag-link {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 16px;
  background: #f0f2eb;
  color: #3e473d;
  text-decoration: none;
  transition: all 0.15s ease;
}

.tcb-post-tags .tag-link:hover {
  background: var(--green, #344536);
  color: #ffffff;
}

/* Author Bio Card */
.tcb-author-bio-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  border: 1px solid var(--line, #dddfd6);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 36px;
  box-shadow: 0 2px 8px rgba(38, 45, 38, 0.02);
}

.tcb-author-bio-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--green, #344536);
  color: #ffffff;
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tcb-author-bio-title {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--text, #262d26);
  margin: 0 0 4px;
}

.tcb-author-bio-desc {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 13px;
  color: var(--muted, #71766d);
  line-height: 1.55;
  margin: 0;
}

/* Story Nav Cards */
.tcb-story-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.tcb-story-nav-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line, #dddfd6);
  border-radius: 10px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

.tcb-story-nav-card:hover {
  border-color: var(--green, #344536);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(38, 45, 38, 0.06);
}

.tcb-story-nav-next {
  text-align: right;
}

.tcb-story-nav-direction {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--green, #344536);
  margin-bottom: 6px;
}

.tcb-story-nav-title {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text, #262d26);
  margin: 0;
}

.tcb-single-back {
  text-align: center;
  margin-top: 28px;
}

.tcb-back-link {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--green, #344536);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.tcb-back-link:hover {
  gap: 10px;
  text-decoration: underline;
}

/* Related Stories Section */
.tcb-related-stories-section {
  max-width: var(--content-width, 1440px);
  margin: 72px auto 0;
  padding-top: 48px;
  border-top: 1px solid var(--line, #dddfd6);
}

.tcb-related-header {
  margin-bottom: 28px;
}

.tcb-related-title {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 26px;
  font-weight: 800;
  color: var(--text, #262d26);
  letter-spacing: -0.5px;
  margin: 6px 0 0;
}

/* Shop CTA Strip */
.tcb-blog-cta-strip {
  background: #ffffff;
  border: 1px solid var(--line, #dddfd6);
  border-radius: 16px;
  padding: 38px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 60px;
  box-shadow: 0 4px 16px rgba(38, 45, 38, 0.03);
}

.tcb-blog-cta-content h2 {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 6px 0 8px;
  color: var(--text, #262d26);
}

.tcb-blog-cta-content p {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 13.5px;
  color: var(--muted, #71766d);
  margin: 0;
  max-width: 540px;
  line-height: 1.6;
}

.tcb-blog-cta-btn {
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  min-height: 48px !important;
  padding: 0 26px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  background: var(--green, #344536) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.tcb-blog-cta-btn:hover {
  background: #233426 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(35, 52, 38, 0.25);
}

/* ─── Responsive Adjustments for Blog & Stories ──────────────────────────── */

@media (max-width: 990px) {
  .tcb-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
  }

  .tcb-featured-story {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .tcb-featured-copy {
    padding: 28px 24px !important;
  }

  .tcb-blog-cta-strip {
    flex-direction: column !important;
    text-align: center !important;
    padding: 32px 24px !important;
    align-items: center !important;
  }

  .tcb-blog-cta-content p {
    max-width: 100% !important;
  }

  .tcb-story-nav {
    grid-template-columns: 1fr !important;
  }

  .tcb-story-nav-next {
    text-align: left !important;
  }
}

@media (max-width: 640px) {
  .tcb-blog-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .tcb-blog-card-content {
    padding: 20px 18px !important;
  }

  .tcb-featured-copy {
    padding: 20px 16px !important;
  }

  .tcb-single-byline-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .tcb-single-share-actions {
    width: 100% !important;
    padding-top: 12px !important;
    border-top: 1px solid #f3f4f6 !important;
  }

  .tcb-author-bio-card {
    flex-direction: column !important;
    text-align: center !important;
    padding: 20px 16px !important;
  }

  .tcb-author-bio-avatar {
    margin: 0 auto;
  }
}



