﻿/* ==========================================================================
   Terea Express â€” Main Stylesheet
   ========================================================================== */

:root {
    /* SMOKEZONE brand colors (matching the logo) */
    --tx-primary: #0f766e;          /* Deep teal â€” primary brand */
    --tx-primary-2: #0d5f59;        /* Teal dark */
    --tx-primary-3: #115e59;        /* Teal deeper */
    --tx-primary-soft: #ccfbf1;     /* Light teal */
    --tx-primary-50: #f0fdfa;       /* Teal very light */
    --tx-accent: #f59e0b;           /* Amber â€” accent CTAs */
    --tx-accent-2: #d97706;         /* Amber dark */
    --tx-accent-soft: #fef3c7;      /* Amber light */
    --tx-success: #16a34a;
    --tx-danger: #dc2626;
    --tx-text: #0f172a;             /* Slate near-black */
    --tx-text-2: #1e293b;           /* Slate 800 */
    --tx-muted: #64748b;            /* Slate-500 */
    --tx-muted-2: #94a3b8;          /* Slate-400 */
    --tx-border: #e2e8f0;           /* Slate-200 */
    --tx-border-2: #f1f5f9;         /* Slate-100 */
    --tx-bg: #ffffff;
    --tx-bg-soft: #ffffff;
    --tx-bg-2: #ffffff;
    --tx-bg-card: #ffffff;
    --tx-shadow: 0 1px 2px rgba(15, 118, 110, 0.04), 0 4px 16px rgba(15, 23, 42, 0.05);
    --tx-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --tx-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --tx-shadow-lg: 0 12px 32px rgba(15, 118, 110, 0.12);
    --tx-shadow-xl: 0 20px 40px -10px rgba(15, 118, 110, 0.18);
    --tx-radius: 12px;
    --tx-radius-sm: 8px;
    --tx-radius-lg: 20px;
    --tx-radius-xl: 28px;
    --tx-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --tx-font-heading: 'Fraunces', 'Playfair Display', Georgia, 'Times New Roman', serif;
    --tx-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--tx-font-body);
    color: var(--tx-text);
    background: var(--tx-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--tx-font-heading);
    color: var(--tx-text);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin: 0 0 0.5em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Skip link for accessibility */
.screen-reader-text {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announcement-bar {
    background: linear-gradient(90deg, var(--tx-primary) 0%, var(--tx-primary-2) 100%);
    color: #fff;
    text-align: center;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 48;
}
.announcement-bar a {
    color: var(--tx-accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.announcement-bar a:hover { color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    background: linear-gradient(95deg, var(--tx-primary) 0%, var(--tx-primary-2) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 51;
    transition: box-shadow 0.2s ease;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px -12px rgba(15, 23, 42, 0.45);
}
.site-header.is-scrolled {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 28px -10px rgba(15, 23, 42, 0.55);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 14px 24px;
    min-height: 72px;
    max-width: 1320px;
    margin: 0 auto;
}

/* â”€â”€ Branding â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-width: 0;
}
.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}
.site-logo img,
.site-logo-img {
    max-height: 48px;
    width: auto;
    display: block;
    transition: transform 0.25s ease;
    object-fit: contain;
}
.site-logo:hover img,
.site-logo:hover .site-logo-img {
    transform: translateY(-1px);
}
.site-title {
    font-family: var(--tx-font-heading);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.01em;
    line-height: 1.1;
    white-space: nowrap;
}
.site-title a {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    text-decoration: none;
}

/* â”€â”€ Desktop nav â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.main-navigation {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}
.main-navigation .menu,
#primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    align-items: center;
}
.main-navigation .menu-item {
    position: relative;
}
.main-navigation .menu-item > a {
    display: block;
    padding: 10px 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    transition: var(--tx-transition);
    position: relative;
    font-size: 15px;
    border-radius: 8px;
    text-decoration: none;
}
.main-navigation .menu-item > a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    background: var(--tx-accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.main-navigation .menu-item > a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.main-navigation .menu-item > a:hover::after,
.main-navigation .menu-item.current-menu-item > a::after {
    transform: scaleX(1);
}
.main-navigation .sub-menu {
    list-style: none;
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius);
    padding: 8px 0;
    min-width: 220px;
    box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.18);
    display: none;
    z-index: 60;
    left: 0;
    top: 100%;
}
.menu-item-has-children:hover > .sub-menu { display: block; }
.main-navigation .sub-menu .menu-item > a {
    color: var(--tx-text) !important;
    padding: 10px 16px;
    font-size: 14px;
    display: block;
    border-radius: 0;
}
.main-navigation .sub-menu .menu-item > a:hover {
    background: var(--tx-bg-soft);
    color: var(--tx-primary) !important;
}
.main-navigation .sub-menu .menu-item > a::after {
    display: none;
}

/* â”€â”€ Header actions (right cluster) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    min-width: 40px;
    padding: 0 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    transition: var(--tx-transition);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.header-action:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.header-action svg {
    display: block;
    color: inherit;
}
.header-action--cart {
    position: relative;
    background: var(--tx-primary);
    border: 1px solid var(--tx-primary-2);
    color: #ffffff;
    box-shadow:
        0 2px 4px rgba(15, 118, 110, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    overflow: visible;
}
.header-action--cart:hover {
    background: var(--tx-primary-2);
    border-color: var(--tx-primary-3);
    color: #ffffff;
    box-shadow:
        0 6px 14px -4px rgba(15, 118, 110, 0.4),
        0 0 0 1px var(--tx-primary-3),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.header-action--search {
    background: #ffffff;
    border: 1px solid #ffffff;
    color: var(--tx-primary);
    box-shadow:
        0 2px 4px rgba(15, 118, 110, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}
.header-action--search::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
    pointer-events: none;
}
.header-action--search svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.4;
    position: relative;
    z-index: 1;
    color: var(--tx-primary);
}
.header-action--search:hover {
    background: var(--tx-primary);
    border-color: var(--tx-primary-2);
    color: #ffffff;
    box-shadow:
        0 6px 14px -4px rgba(15, 118, 110, 0.4),
        0 0 0 1px var(--tx-primary-3),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}
.header-action--search:hover svg {
    color: #ffffff;
}
.header-action--search[aria-expanded="true"] {
    background: var(--tx-primary-3);
    border-color: var(--tx-primary-3);
    color: #ffffff;
    box-shadow:
        0 0 0 3px rgba(15, 118, 110, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.header-action--search[aria-expanded="true"] svg {
    color: #ffffff;
}
.header-action--phone {
    gap: 6px;
    padding: 0 14px;
}
.header-action--phone .header-action-text {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow:
        0 0 0 2px var(--tx-primary),
        0 2px 8px rgba(245, 158, 11, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    z-index: 2;
    line-height: 1;
}
.header-action--cart {
    position: relative;
}

/* â”€â”€ Mobile-menu-toggle (hidden on desktop by default) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: 10px;
    position: relative;
    z-index: 102;
    transition: background 0.2s ease;
}
.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.mobile-menu-toggle:hover { background: rgba(255, 255, 255, 0.1); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Hide mobile-only nav internals on desktop */
.mobile-nav-header,
.mobile-nav-actions,
.mobile-nav-close {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}
.header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transition: var(--tx-transition);
}
.header-cart:hover {
    background: rgba(255, 255, 255, 0.2);
}
.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--tx-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
}
.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--tx-primary);
    margin: 4px 0;
    transition: var(--tx-transition);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.terea-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--tx-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--tx-transition);
    border: none;
    cursor: pointer;
}
.terea-button--primary {
    background: linear-gradient(135deg, var(--tx-primary) 0%, var(--tx-primary-2) 100%);
    color: #fff;
    box-shadow: 0 6px 16px -8px rgba(15, 118, 110, 0.55);
}
.terea-button--primary:hover {
    background: linear-gradient(135deg, var(--tx-primary-2) 0%, var(--tx-primary-3) 100%);
    box-shadow: 0 10px 22px -8px rgba(15, 118, 110, 0.65);
}
.terea-button--outline {
    background: transparent;
    border: 1px solid var(--tx-border);
    color: var(--tx-primary);
}

/* ==========================================================================
   Hero (fallback homepage)
   ========================================================================== */
.terea-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    position: relative;
    padding: 80px 0;
}
.terea-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.85), rgba(15,23,42,0.55));
}
.terea-hero .container { position: relative; z-index: 1; }
.terea-hero-content { max-width: 720px; }
.terea-hero-badge {
    display: inline-block;
    background: rgba(245,158,11,0.18);
    color: var(--tx-accent);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.terea-hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 16px;
}
.terea-hero p { font-size: 1.1rem; max-width: 600px; }
.terea-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.tx-section,
.terea-section { padding: 100px 0; }
.tx-section--deals,
.terea-section--deals { background: var(--tx-bg-soft); }
.tx-section--seo,
.terea-section--seo { background: #f8fafc; }

.terea-section-header { text-align: center; margin-bottom: 32px; }
.terea-section-eyebrow {
    display: inline-block;
    color: var(--tx-accent-2);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.terea-section-title {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    margin: 0 0 8px;
    color: var(--tx-primary);
}
.terea-section-subtitle { color: var(--tx-muted); margin: 0; }

/* ==========================================================================
   Product grid + card
   ========================================================================== */
.terea-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
/* --------------------------------------------------------------------------
   Product card — clean grid layout with equal height
   -------------------------------------------------------------------------- */
.terea-product-card {
    background: #ffffff;
    border: 1.5px solid #e8eaed;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.terea-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.12);
    border-color: rgba(15, 118, 110, 0.35);
}
.terea-product-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--tx-bg-soft);
    display: block;
}
.terea-product-card-media::before {
    display: none;
}
.terea-product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    margin: 0;
    transition: transform 0.4s ease;
}
.terea-product-card:hover .terea-product-card-media img {
    transform: scale(1.05);
    filter: brightness(1.03);
}


.terea-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}
.terea-product-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--tx-primary-2);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}
/* Equal-height cards — flex stretch on the grid item */
.terea-product-card-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.terea-product-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}
.terea-product-card-category {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tx-primary);
    background: rgba(15, 118, 110, 0.08);
    padding: 4px 10px;
    border-radius: 999px;
    text-decoration: none;
    margin: 0 0 2px;
    transition: background 0.2s ease, color 0.2s ease;
}
.terea-product-card-category:hover {
    background: var(--tx-primary);
    color: #fff;
}
.terea-product-card-title {
    font-family: var(--tx-font-heading);
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--tx-text);
    transition: color 0.2s ease;
}
.terea-product-card-title a {
    color: inherit;
    text-decoration: none;
}
.terea-product-card-title a:hover {
    color: var(--tx-primary);
}
.terea-product-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--tx-muted);
}
.terea-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: #f59e0b;
}
.terea-stars .terea-star.is-filled { color: #f59e0b; }
.terea-stars .terea-star.is-half { color: #f59e0b; }
.terea-stars .terea-star {
    color: #e2e8f0;
}
.terea-product-rating-text {
    font-weight: 700;
    color: var(--tx-text);
}
.terea-product-rating-count {
    color: var(--tx-muted);
    font-size: 11.5px;
}
.terea-product-card-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.price-sale { color: var(--tx-accent); font-weight: 700; font-size: 17px; }
.price-regular {
    color: var(--tx-primary);
    font-family: var(--tx-font-heading);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.01em;
}
.price-save {
    font-size: 11px;
    color: var(--tx-accent);
    font-weight: 700;
    background: rgba(245, 158, 11, 0.1);
    padding: 2px 7px;
    border-radius: 4px;
}

/* Quick add to cart button */
.terea-quick-add-form {
    margin: 8px 0 0;
}
.terea-quick-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 11px 14px;
    background: linear-gradient(135deg, var(--tx-primary) 0%, var(--tx-primary-2) 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    font-family: var(--tx-font-body);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
    text-decoration: none;
    letter-spacing: 0.01em;
    line-height: 1;
}
.terea-quick-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.3);
    background: linear-gradient(135deg, var(--tx-primary-2) 0%, var(--tx-primary) 100%);
    color: #fff;
}
.terea-quick-add-btn:active {
    transform: translateY(0);
}
.terea-quick-add-btn--select {
    background: #fff;
    color: var(--tx-primary);
    border: 1.5px solid var(--tx-primary);
    box-shadow: none;
}
.terea-quick-add-btn--select:hover {
    background: var(--tx-primary);
    color: #fff;
    box-shadow: 0 6px 14px rgba(15, 118, 110, 0.25);
}
.terea-quick-add-btn--disabled {
    background: #f1f5f9;
    color: var(--tx-muted);
    cursor: not-allowed;
    box-shadow: none;
    border: 1px solid var(--tx-border);
}
.terea-quick-add-btn--disabled:hover {
    transform: none;
    background: #f1f5f9;
    color: var(--tx-muted);
    box-shadow: none;
}

/* Out of stock badge */
.terea-product-badge--oos {
    background: rgba(15, 23, 42, 0.85) !important;
    color: #fff !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.3) !important;
}

.terea-add-to-cart {
    display: none !important;
}

/* Column variants */
.terea-cols-2 { grid-template-columns: repeat(2, 1fr); }
.terea-cols-3 { grid-template-columns: repeat(3, 1fr); }
.terea-cols-4 { grid-template-columns: repeat(4, 1fr); }
.terea-cols-5 { grid-template-columns: repeat(5, 1fr); }
.terea-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* ==========================================================================
   Category tiles
   ========================================================================== */
.terea-category-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.terea-category-tile {
    background: var(--tx-bg-card);
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius-lg);
    overflow: hidden;
    transition: var(--tx-transition);
}
.terea-category-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--tx-shadow-lg);
}
.terea-category-tile-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--tx-bg-soft);
}
.terea-category-tile-image img { width: 100%; height: 100%; object-fit: cover; }
.terea-category-tile-body { padding: 16px; }
.terea-category-tile h3 { margin: 0 0 4px; font-size: 17px; color: var(--tx-primary); }
.terea-category-tile span { color: var(--tx-muted); font-size: 13px; }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.terea-trust-strip { padding: 32px 0; background: var(--tx-bg-soft); border-top: 1px solid var(--tx-border); border-bottom: 1px solid var(--tx-border); }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--tx-radius);
    background: var(--tx-bg-card);
}
.trust-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(245,158,11,0.1);
    color: var(--tx-accent-2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trust-text { display: flex; flex-direction: column; }
.trust-text strong { color: var(--tx-primary); font-size: 15px; }
.trust-text span { color: var(--tx-muted); font-size: 13px; }

/* ==========================================================================
   Featured banner (Elementor widget)
   ========================================================================== */
.terea-featured-banner {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 24px;
    position: relative;
    border-radius: var(--tx-radius-lg);
    overflow: hidden;
    margin: 32px 0;
}
.terea-featured-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(15,23,42,0.5));
}
.terea-featured-banner-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.terea-banner-eyebrow {
    display: inline-block;
    background: rgba(245,158,11,0.2);
    color: var(--tx-accent);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.terea-featured-banner h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin: 0 0 16px;
    line-height: 1.15;
}
.terea-featured-banner p { font-size: 1.05rem; max-width: 600px; margin: 0 auto 16px; }
.terea-banner-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
}

/* ==========================================================================
   Deals carousel
   ========================================================================== */
.terea-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: thin;
}
.terea-carousel > * { scroll-snap-align: start; }
.terea-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}
.terea-carousel-prev, .terea-carousel-next {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--tx-bg-card);
    border: 1px solid var(--tx-border);
    color: var(--tx-primary);
}
.terea-carousel-prev:hover, .terea-carousel-next:hover {
    background: var(--tx-primary);
    color: #fff;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.terea-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.terea-testimonial {
    background: var(--tx-bg-card);
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius-lg);
    padding: 24px;
}
.terea-testimonial-stars { color: var(--tx-accent); margin-bottom: 12px; font-size: 18px; }
.terea-testimonial-stars .star { color: #d1d5db; }
.terea-testimonial-stars .star.filled { color: var(--tx-accent); }
.terea-testimonial blockquote {
    margin: 0 0 16px;
    font-size: 15px;
    color: var(--tx-text);
    line-height: 1.6;
}
.terea-testimonial cite {
    color: var(--tx-muted);
    font-size: 13px;
    font-style: normal;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.terea-faq {
    max-width: 800px;
    margin: 0 auto;
}
.terea-faq-item {
    background: var(--tx-bg-card);
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius);
    margin-bottom: 12px;
    padding: 16px 20px;
}
.terea-faq-item summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    color: var(--tx-primary);
    position: relative;
    padding-right: 32px;
}
.terea-faq-item summary::-webkit-details-marker { display: none; }
.terea-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 22px;
    line-height: 1;
    transition: transform 0.2s ease;
}
.terea-faq-item[open] summary::after { content: '\2212'; }
.terea-faq-item > div { margin-top: 12px; color: var(--tx-muted); }

/* ==========================================================================
   Elementor widget title
   ========================================================================== */
.terea-elementor-widget { margin-bottom: 32px; }
.terea-elementor-widget-title {
    text-align: center;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    margin: 0 0 24px;
    color: var(--tx-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: linear-gradient(180deg, var(--tx-primary) 0%, var(--tx-primary-3) 100%);
    color: #cbd5e1;
    padding: 56px 0 0;
    margin-top: 64px;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 30%, rgba(20, 184, 166, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 88% 70%, rgba(245, 158, 11, 0.10) 0%, transparent 45%);
    pointer-events: none;
}
.site-footer > * { position: relative; z-index: 1; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
}
.footer-brand {
    margin-bottom: 16px;
}
.footer-brand img {
    max-height: 44px;
    width: auto;
}
.footer-description {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 16px;
}
.footer-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}
.footer-stars {
    display: flex;
    gap: 2px;
}
.footer-rating-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}
.footer-col h3.footer-title {
    color: #fff;
    font-family: var(--tx-font-heading);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.footer-col p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; }
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-col a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    transition: var(--tx-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-col a:hover { color: var(--tx-accent); padding-left: 2px; }
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}
.footer-contact-list a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}
.footer-contact-list a:hover { color: var(--tx-accent) !important; }
.footer-contact-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--tx-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}
.social-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--tx-transition);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.social-link:hover {
    background: var(--tx-accent);
    border-color: var(--tx-accent);
    transform: translateY(-2px);
    color: #fff;
}
.payment-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.payment-pill {
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}
.site-info {
    margin-top: 32px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}
.site-info .age-notice { margin-top: 6px; color: #f59e0b; }

/* ==========================================================================
   Toast notification
   ========================================================================== */
.terea-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 120%);
    background: var(--tx-primary);
    color: #fff;
    padding: 14px 22px;
    border-radius: var(--tx-radius);
    box-shadow: var(--tx-shadow-lg);
    z-index: 9999;
    transition: transform 0.3s ease;
    max-width: 90vw;
    font-size: 14px;
    font-weight: 500;
}
.terea-toast.is-visible { transform: translate(-50%, 0); }
.terea-toast.is-success { background: var(--tx-success); }
.terea-toast.is-error { background: var(--tx-danger); }

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    margin: 32px 0;
    text-align: center;
}
.pagination .page-numbers {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pagination .page-numbers li a, .pagination .page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--tx-border);
    color: var(--tx-primary);
    background: #fff;
    font-weight: 500;
}
.pagination .page-numbers li span.current {
    background: var(--tx-primary);
    color: #fff;
    border-color: var(--tx-primary);
}

/* ==========================================================================
   404
   ========================================================================== */
.error-404 {
    text-align: center;
    padding: 64px 0;
}

/* ==========================================================================
   Posts grid (blog)
   ========================================================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 980px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .posts-grid { grid-template-columns: 1fr; } }
.post-card {
    background: var(--tx-bg-card);
    border: 1px solid var(--tx-border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px -10px rgba(15, 118, 110, 0.18); border-color: rgba(15, 118, 110, 0.25); }
.post-card-image { aspect-ratio: 16 / 10; overflow: hidden; display: block; background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(245, 158, 11, 0.05)); position: relative; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-card-image img { transform: scale(1.05); }
.post-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-title { font-size: 19px; margin: 0; color: var(--tx-text); font-weight: 700; line-height: 1.3; }
.post-card-title a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.post-card-title a:hover { color: var(--tx-primary); }
.post-card-excerpt { color: var(--tx-muted); font-size: 14px; line-height: 1.6; margin: 4px 0; }
.post-card-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--tx-muted); margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--tx-border); }
.post-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-card-meta svg { color: var(--tx-primary); }
.read-more {
    color: #0f766e;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
    margin-top: 4px;
}
.read-more:hover { gap: 8px; color: #0d5f59; }
.read-more::after { content: "â†’"; transition: transform 0.2s ease; }
.read-more:hover::after { transform: translateX(3px); }
.post-card-categories { margin-bottom: 4px; }
.post-card-categories a {
    display: inline-block;
    background: rgba(15, 118, 110, 0.1);
    color: var(--tx-primary);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Page header
   ========================================================================== */
.page-header { padding: 24px 0; margin-bottom: 24px; }
.page-title {
    margin: 0;
    color: var(--tx-text);
    font-family: var(--tx-font-heading);
    font-weight: 600;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.02em;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.terea-breadcrumb {
    padding: 14px 0;
    font-size: 13px;
    color: var(--tx-muted);
    background: linear-gradient(180deg, #f8fbfb 0%, #ffffff 100%);
    border-bottom: 1px solid var(--tx-border);
}
.terea-breadcrumb .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.terea-breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.terea-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.terea-breadcrumb-item > a,
.terea-breadcrumb-item > span:not(.terea-breadcrumb-sep) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--tx-text);
    border: 1px solid var(--tx-border);
    font-weight: 500;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.18s ease;
}
.terea-breadcrumb-item:first-child > a,
.terea-breadcrumb-item:first-child > span {
    background: var(--tx-primary);
    color: #fff;
    border-color: var(--tx-primary);
    padding-left: 10px;
}
.terea-breadcrumb-item:first-child > a::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.terea-breadcrumb-item > a:hover {
    color: var(--tx-primary);
    border-color: var(--tx-primary);
    background: rgba(15, 118, 110, 0.06);
    transform: translateY(-1px);
}
.terea-breadcrumb-item:first-child > a:hover {
    background: var(--tx-primary-2);
    color: #fff;
}
.terea-breadcrumb-item.is-current > span {
    color: var(--tx-primary);
    background: rgba(15, 118, 110, 0.08);
    border-color: rgba(15, 118, 110, 0.2);
    font-weight: 600;
}
.terea-breadcrumb-sep {
    color: var(--tx-muted);
    opacity: 0.5;
    flex-shrink: 0;
    margin: 0 -2px;
}
@media (max-width: 640px) {
    .terea-breadcrumb { font-size: 12px; padding: 10px 0; }
    .terea-breadcrumb .container { gap: 8px; }
    .terea-breadcrumb-list {
        gap: 2px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
    }
    .terea-breadcrumb-list::-webkit-scrollbar { display: none; }
    .terea-breadcrumb-item > a,
    .terea-breadcrumb-item > span:not(.terea-breadcrumb-sep) {
        padding: 5px 10px;
        font-size: 12px;
        white-space: nowrap;
    }
    .terea-breadcrumb-item:first-child > a,
    .terea-breadcrumb-item:first-child > span {
        padding-left: 10px;
    }
    .terea-breadcrumb-item:first-child > a::before { display: none; }
    /* Truncate middle items to keep things compact */
    .terea-breadcrumb-item:not(:first-child):not(:last-child) > a,
    .terea-breadcrumb-item:not(:first-child):not(:last-child) > span:not(.terea-breadcrumb-sep) {
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
@media (max-width: 420px) {
    .terea-breadcrumb-item:not(:first-child):not(:last-child) > a,
    .terea-breadcrumb-item:not(:first-child):not(:last-child) > span:not(.terea-breadcrumb-sep) {
        max-width: 80px;
    }
}

/* ==========================================================================
   Age notice
   ========================================================================== */
.age-notice { color: var(--tx-muted); font-size: 12px; margin-top: 16px; }

/* ==========================================================================
   Skip link
   ========================================================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 8px;
    background: var(--tx-primary);
    color: #fff;
    padding: 8px 14px;
    z-index: 9999;
    border-radius: 4px;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 8px; }

/* ==========================================================================
   Enhanced announcement bar
   ========================================================================== */
.announcement-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 9px 12px;
    font-size: 13px;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}
.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.announcement-icon {
    display: inline-flex;
    color: var(--tx-accent);
    flex-shrink: 0;
}

/* ==========================================================================
   Enhanced header
   ========================================================================== */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--tx-border);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08); }
.site-header.is-hidden { transform: translateY(-100%); }

/* Secondary category navigation — pill row inside header, scrolls with it */
.terea-header-categories {
    background: #ffffff;
    border-top: 1px solid var(--tx-border);
    border-bottom: 1px solid var(--tx-border);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}
.terea-header-categories-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}
.terea-header-categories-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 10px 40px;
    margin: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    min-width: 0;
}
.terea-header-categories-list::-webkit-scrollbar { display: none; }
.terea-cat-pill { flex-shrink: 0; }
.terea-cat-pill > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tx-text-2);
    background: #f1f5f9;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
.terea-cat-pill > a:hover {
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
    transform: translateY(-1px);
}
.terea-cat-pill > a.is-current {
    background: #0f766e;
    color: #ffffff;
    border-color: #0f766e;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}
.terea-cat-pill--accent > a {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}
.terea-cat-pill--accent > a:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    transform: translateY(-1px);
}
.terea-cat-pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    padding: 0 6px;
    height: 18px;
    border-radius: 9px;
    background: rgba(15, 23, 42, 0.08);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}
.terea-cat-pill > a.is-current .terea-cat-pill-count {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}
.terea-cat-scroll {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--tx-border);
    color: var(--tx-text-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    z-index: 2;
}
.terea-cat-scroll:hover { background: #0f766e; color: #fff; border-color: #0f766e; }
.terea-cat-scroll--prev { left: 4px; }
.terea-cat-scroll--next { right: 4px; }
@media (max-width: 760px) {
    .terea-cat-scroll { display: none; }
    .terea-header-categories-list { padding: 8px 14px; }
}
@media (max-width: 576px) {
    .terea-cat-pill > a { padding: 7px 12px; font-size: 12px; }
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 20px;
    min-height: 72px;
}
.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-height: 48px;
}
.site-logo, .custom-logo-link {
    display: inline-flex;
    align-items: center;
}
.site-logo img, .custom-logo-link img { max-height: 48px; width: auto; display: block; }
.site-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
}
.site-title a { color: var(--tx-primary); }
.site-title a:hover { color: var(--tx-accent-2); }
.main-navigation { flex: 1; }
.main-navigation .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
    align-items: center;
}
.main-navigation .menu-item { position: relative; }
.main-navigation .menu-item > a {
    display: block;
    padding: 10px 4px;
    font-weight: 500;
    color: var(--tx-text);
    transition: var(--tx-transition);
    position: relative;
}
.main-navigation .menu-item > a:after {
    content: '';
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 4px;
    height: 2px;
    background: var(--tx-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}
.main-navigation .menu-item > a:hover { color: var(--tx-primary); }
.main-navigation .menu-item > a:hover:after { transform: scaleX(1); }
.main-navigation .menu-item.current-menu-item > a { color: var(--tx-primary); font-weight: 600; }
.main-navigation .menu-item.current-menu-item > a:after { transform: scaleX(1); }
.main-navigation .sub-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius);
    padding: 8px 0;
    min-width: 220px;
    box-shadow: var(--tx-shadow-lg);
    display: none;
    z-index: 10;
}
.main-navigation .menu-item:hover > .sub-menu,
.main-navigation .menu-item:focus-within > .sub-menu { display: block; }
.main-navigation .sub-menu .menu-item > a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--tx-text);
}
.main-navigation .sub-menu .menu-item > a:hover {
    background: var(--tx-bg-soft);
    color: var(--tx-accent-2);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Header search overlay
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.header-search-overlay {
    background: linear-gradient(180deg, var(--tx-primary) 0%, var(--tx-primary-2) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 8px 24px -8px rgba(15, 23, 42, 0.35);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
}
.header-search-overlay.is-open {
    max-height: 220px;
    padding: 24px 20px 28px;
}
.header-search-overlay .container {
    padding: 0;
    max-width: 920px;
}
.header-search-overlay .terea-search-form {
    max-width: 720px;
    margin: 0 auto;
}
.header-search-overlay-label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto 14px;
    max-width: 720px;
}

.header-search-close {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: var(--tx-transition);
}
.header-search-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}
.header-search-overlay {
    position: relative;
}

/* ==========================================================================
   Search form (header overlay variant â€“ white-on-teal, branded)
   ========================================================================== */
.terea-search-form {
    width: 100%;
    margin: 0 0 24px;
}
.terea-search-form:last-child { margin-bottom: 0; }
.terea-search-form-inner {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 6px 6px 6px 18px;
    box-shadow: 0 12px 28px -10px rgba(15, 23, 42, 0.45);
    transition: var(--tx-transition);
}
.terea-search-form-inner:focus-within {
    border-color: var(--tx-accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25), 0 14px 32px -10px rgba(15, 23, 42, 0.5);
}
.terea-search-form-icon {
    display: inline-flex;
    color: var(--tx-primary);
    flex-shrink: 0;
}
.terea-search-form-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 14px;
    font-size: 16px;
    font-family: inherit;
    color: var(--tx-text);
    min-width: 0;
}
.terea-search-form-input:focus { outline: none; }
.terea-search-form-input::placeholder {
    color: var(--tx-muted);
    font-weight: 500;
}
.terea-search-form-submit {
    border: none;
    background: linear-gradient(95deg, var(--tx-primary) 0%, var(--tx-primary-2) 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: var(--tx-transition);
    flex-shrink: 0;
    box-shadow: 0 6px 16px -6px rgba(15, 76, 76, 0.65);
}
.terea-search-form-submit:hover {
    background: linear-gradient(95deg, var(--tx-primary-2) 0%, var(--tx-primary) 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -8px rgba(15, 76, 76, 0.7);
}
.terea-search-form-submit:active { transform: translateY(0); }
.terea-search-form-sidebar .terea-search-form-inner { padding: 4px 4px 4px 12px; }
.terea-search-form-sidebar .terea-search-form-submit { padding: 8px 16px; font-size: 13px; }

/* ==========================================================================
   Main content layout (with sidebar)
   ========================================================================== */
.site-main {
    padding: 32px 0 64px;
    min-height: 50vh;
}
.has-sidebar .site-main {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}
.has-sidebar .site-main > .container:first-child { max-width: 100%; padding: 0; }

/* ==========================================================================
   Single post / page header
   ========================================================================== */
.entry-header { margin-bottom: 24px; }
.entry-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.entry-category {
    display: inline-block;
    background: rgba(245, 158, 11, 0.12);
    color: var(--tx-accent-2);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.entry-category:hover { background: var(--tx-accent); color: #fff; }
.entry-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 12px;
    color: var(--tx-primary);
    line-height: 1.2;
}
.entry-meta {
    color: var(--tx-muted);
    font-size: 14px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.entry-thumbnail {
    margin: 0 0 24px;
    border-radius: var(--tx-radius-lg);
    overflow: hidden;
}
.entry-thumbnail img { width: 100%; height: auto; display: block; }
.entry-content { font-size: 16px; line-height: 1.75; color: var(--tx-text); }
.entry-content h2 { color: var(--tx-primary); margin-top: 32px; font-size: 1.5rem; }
.entry-content h3 { color: var(--tx-primary); margin-top: 24px; font-size: 1.25rem; }
.entry-content p { margin: 0 0 16px; }
.entry-content a { color: var(--tx-accent-2); text-decoration: underline; text-underline-offset: 2px; }
.entry-content blockquote {
    border-left: 3px solid var(--tx-accent);
    padding: 4px 0 4px 20px;
    margin: 24px 0;
    color: var(--tx-muted);
    font-style: italic;
}
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 16px; }
.entry-content li { margin-bottom: 6px; }
.entry-footer { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--tx-border); }
.entry-footer .tags-links { color: var(--tx-muted); font-size: 14px; }
.entry-footer .tags-links a {
    display: inline-block;
    background: var(--tx-bg-soft);
    padding: 4px 12px;
    border-radius: 999px;
    margin: 2px;
    color: var(--tx-text);
    font-size: 13px;
}
.entry-footer .tags-links a:hover { background: var(--tx-accent); color: #fff; }

/* Post navigation */
.post-navigation {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--tx-border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.nav-links { display: contents; }
.post-navigation .nav-previous,
.post-navigation .nav-next {
    padding: 16px;
    background: var(--tx-bg-soft);
    border-radius: var(--tx-radius);
    color: var(--tx-text);
    font-size: 14px;
    transition: var(--tx-transition);
}
.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover { background: var(--tx-primary); color: #fff; }
.post-navigation .nav-next { text-align: right; }
.nav-direction {
    display: block;
    color: var(--tx-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}
.nav-title {
    display: block;
    color: var(--tx-primary);
    font-weight: 600;
}
.post-navigation .nav-previous:hover .nav-title,
.post-navigation .nav-next:hover .nav-title { color: #fff; }

/* Page links (multi-page) */
.page-links {
    margin-top: 24px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
}
.page-links > span,
.page-links > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--tx-bg-soft);
    border: 1px solid var(--tx-border);
}
.page-links > span.current { background: var(--tx-primary); color: #fff; border-color: var(--tx-primary); }

/* ==========================================================================
   Sidebar (default widgets)
   ========================================================================== */
.widget-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.widget {
    background: var(--tx-bg-card);
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius-lg);
    padding: 20px;
}
.widget-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tx-primary);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--tx-border);
    font-weight: 700;
}
.widget ul,
.widget ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.widget li {
    padding: 0;
}
.widget li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: var(--tx-text);
    font-size: 14px;
    border-bottom: 1px solid var(--tx-border);
    transition: var(--tx-transition);
}
.widget li:last-child a { border-bottom: none; }
.widget li a:hover { color: var(--tx-accent-2); padding-left: 4px; }
.widget select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--tx-border);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
}
.widget input[type="search"],
.widget input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--tx-border);
    border-radius: 8px;
    font-size: 14px;
}
.widget .post-date {
    color: var(--tx-muted);
    font-size: 12px;
    margin-left: 8px;
}

/* ==========================================================================
   Search results
   ========================================================================== */
.search-results-meta {
    color: var(--tx-muted);
    margin-top: 4px;
    margin-bottom: 24px;
}
.no-results {
    background: var(--tx-bg-soft);
    border-radius: var(--tx-radius-lg);
    padding: 48px 24px;
    text-align: center;
}
.no-results h2 {
    color: var(--tx-primary);
    margin: 0 0 8px;
}
.no-results p { color: var(--tx-muted); margin: 0 0 24px; }

/* ==========================================================================
   404 page
   ========================================================================== */
/* .error-404, .error-illustration, .error-title, .error-subtitle,
   .error-description, .error-actions are defined in the dedicated 404
   section later in the file. */

/* ==========================================================================
   Archive header
   ========================================================================== */
.archive-header {
    text-align: center;
    padding: 32px 0;
    margin-bottom: 16px;
}
.archive-eyebrow {
    display: inline-block;
    color: var(--tx-accent-2);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.archive-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 8px;
    color: var(--tx-primary);
}
.archive-description { color: var(--tx-muted); max-width: 720px; margin: 0 auto; }

/* ==========================================================================
   Scroll to top button
   ========================================================================== */
.terea-scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--tx-primary);
    color: #fff;
    border: none;
    box-shadow: var(--tx-shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--tx-transition);
    z-index: 998;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.terea-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.terea-scroll-top:hover { background: var(--tx-accent); transform: translateY(-2px); }

/* ==========================================================================
   Enhanced footer
   ========================================================================== */
.site-footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: #cbd5e1;
    margin-top: 80px;
    border-top: 3px solid var(--tx-accent);
}
.footer-top { padding: 56px 0 40px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
}
.footer-brand img { height: 48px; width: auto; margin-bottom: 18px; }
.footer-description { color: #94a3b8; font-size: 14px; line-height: 1.7; margin: 0 0 18px; }
.footer-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 14px;
    border-radius: 999px;
}
.footer-stars { display: inline-flex; gap: 2px; }
.footer-rating-text { font-size: 13px; color: #fbbf24; font-weight: 500; }

.footer-col h3.footer-title {
    color: #fff;
    font-size: 14px;
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col a {
    color: #cbd5e1;
    font-size: 14px;
    transition: var(--tx-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-col a:hover { color: var(--tx-accent); }
.footer-contact-list { gap: 12px; }
.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 14px;
}
.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.15);
    color: var(--tx-accent);
    flex-shrink: 0;
}
.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: var(--tx-transition);
}
.social-link:hover { background: var(--tx-accent); transform: translateY(-2px); }
.social-link img { filter: brightness(0) invert(1); display: block; }

.footer-bottom {
    background: rgba(0, 0, 0, 0.4);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    align-items: center;
}
.footer-payment { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-payment-label { color: #94a3b8; font-size: 13px; }
.footer-payment-icons { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.footer-payment-icons img {
    background: #fff;
    border-radius: 6px;
    padding: 4px;
    height: 30px;
    width: auto;
}
.footer-legal { text-align: right; }
.footer-copyright { margin: 0; font-size: 13px; color: #94a3b8; }
.footer-bottom .age-notice { margin: 4px 0 0; color: var(--tx-accent); font-size: 12px; }

/* ==========================================================================
   Index/Blog pro card
   ========================================================================== */
.post-card-meta {
    display: flex;
    gap: 12px;
    color: var(--tx-muted);
    font-size: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--tx-border);
}
.post-card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.post-card-title a { color: var(--tx-primary); }
.post-card-title a:hover { color: #0d5f59; }
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: #0f766e;
    font-weight: 600;
    font-size: 14px;
    transition: var(--tx-transition);
}
.read-more:after { content: '\2192'; transition: transform 0.2s ease; }
.read-more:hover:after { transform: translateX(4px); }

/* ==========================================================================
   Home page
   ========================================================================== */
.front-page-main { padding: 0; }

/* ==========================================================================
   Improved Hero (dynamic)
   ========================================================================== */
.terea-hero {
    padding: 96px 0 80px;
}
.terea-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(245,158,11,0.18), transparent 50%);
    pointer-events: none;
}
.terea-hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    margin: 0 0 20px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.terea-hero-subtitle {
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 0 28px;
    color: rgba(255,255,255,0.88);
    line-height: 1.6;
}
.terea-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}
.terea-hero-note {
    margin-top: 18px;
    color: rgba(255,255,255,0.75);
    font-size: 13px;
}
.terea-button--lg {
    padding: 14px 28px;
    font-size: 15px;
}
.terea-button--outline-light {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(4px);
}
.terea-button--outline-light:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.6);
}
.terea-hero-perks {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.terea-hero-perks li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(6px);
}
.terea-hero-perks-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--tx-accent);
    color: #fff;
    border-radius: 999px;
}

/* ==========================================================================
   Section header alignment variants
   ========================================================================== */
.terea-section-header--left {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.terea-section-header--left .terea-section-subtitle { max-width: 700px; }

/* ==========================================================================
   Categories (dynamic)
   ========================================================================== */
.tx-section--categories,
.terea-section--categories { padding: 100px 0; background: var(--tx-bg); }
.terea-category-tiles { position: relative; }
.terea-category-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    color: var(--tx-primary);
}
.terea-category-arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--tx-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(8px, -8px);
    transition: var(--tx-transition);
}
.terea-category-tile:hover .terea-category-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================================================
   Featured products
   ========================================================================== */
.terea-section--featured { background: var(--tx-bg-soft); }

/* ==========================================================================
   Promo banner
   ========================================================================== */
.tx-section--promo,
.terea-section--promo { padding: 100px 0; }
.terea-promo-banner {
    position: relative;
    background-color: var(--tx-primary);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 64px 48px;
    border-radius: var(--tx-radius-lg);
    overflow: hidden;
    text-align: center;
}
.terea-promo-eyebrow {
    display: inline-block;
    background: rgba(245,158,11,0.2);
    color: var(--tx-accent);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.terea-promo-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin: 0 0 12px;
    color: #fff;
    font-weight: 800;
    line-height: 1.15;
}
.terea-promo-subtitle {
    font-size: 1.05rem;
    margin: 0 auto 24px;
    max-width: 600px;
    color: rgba(255,255,255,0.85);
}
.terea-promo-cta {
    box-shadow: 0 8px 24px rgba(245,158,11,0.35);
}

/* ==========================================================================
   Why Choose Us (features grid)
   ========================================================================== */
.terea-section--why { background: var(--tx-bg); }
.terea-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.terea-feature-card {
    background: var(--tx-bg-card);
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius-lg);
    padding: 28px;
    transition: var(--tx-transition);
    text-align: left;
}
.terea-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tx-shadow-lg);
    border-color: rgba(245,158,11,0.4);
}
.terea-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(245,158,11,0.06));
    color: var(--tx-accent-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.terea-feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--tx-primary);
}
.terea-feature-card p {
    margin: 0;
    color: var(--tx-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================================================
   Testimonials (improved)
   ========================================================================== */
.terea-section--testimonials { background: linear-gradient(180deg, #fff 0%, var(--tx-bg-soft) 100%); }
.terea-testimonial {
    display: flex;
    flex-direction: column;
    transition: var(--tx-transition);
}
.terea-testimonial:hover {
    transform: translateY(-3px);
    box-shadow: var(--tx-shadow-lg);
}
.terea-testimonial blockquote {
    flex: 1;
    font-size: 15px;
    font-style: italic;
    color: var(--tx-text);
    line-height: 1.7;
    position: relative;
    padding-left: 18px;
    border-left: 3px solid var(--tx-accent);
}
.terea-testimonial cite {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 16px;
    font-style: normal;
}
.terea-testimonial cite strong {
    color: var(--tx-primary);
    font-size: 14px;
    font-weight: 600;
}
.terea-testimonial cite span {
    color: var(--tx-muted);
    font-size: 12px;
}

/* ==========================================================================
   Brands
   ========================================================================== */
.tx-section--brands,
.terea-section--brands { background: #ffffff; padding: 100px 0; }
.terea-section--brands .terea-section-title {
    font-size: 1.1rem;
    color: #0f766e;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 32px;
    text-align: center;
    font-weight: 700;
}
.terea-brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}
.terea-brand-item {
    background: #ffffff;
    border: 1px solid #000;
    border-radius: 14px;
    padding: 28px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.terea-brand-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -12px rgba(15, 118, 110, 0.4);
    border-color: #0f766e;
}
.terea-brand-item span {
    font-weight: 700;
    color: #0f766e;
    letter-spacing: 0.02em;
}
.terea-brand-item img { max-height: 56px; width: auto; }

/* ==========================================================================
   Blog (homepage grid)
   ========================================================================== */
.terea-section--blog { background: var(--tx-bg); }
.terea-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.terea-blog-card {
    background: var(--tx-bg-card);
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius-lg);
    overflow: hidden;
    transition: var(--tx-transition);
    display: flex;
    flex-direction: column;
}
.terea-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tx-shadow-lg);
    border-color: transparent;
}
.terea-blog-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--tx-bg-soft);
}
.terea-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.terea-blog-card:hover .terea-blog-card-image img { transform: scale(1.06); }
.terea-blog-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.terea-blog-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--tx-muted);
}
.terea-blog-card-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: var(--tx-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.terea-blog-card-title a { color: inherit; }
.terea-blog-card-title a:hover { color: var(--tx-accent-2); }
.terea-blog-card-excerpt {
    color: var(--tx-muted);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.terea-blog-card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--tx-accent-2);
    font-weight: 600;
    font-size: 14px;
    transition: var(--tx-transition);
}
.terea-blog-card-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}
.terea-blog-card-link:hover { color: var(--tx-primary); }
.terea-blog-card-link:hover .dashicons { transform: translateX(4px); }

/* ==========================================================================
   FAQ section (improved)
   ========================================================================== */
.terea-section--faq { background: var(--tx-bg-soft); }
.terea-faq-item[open] { border-color: #0f766e; box-shadow: var(--tx-shadow); }
.terea-faq-item summary:hover { color: #0f766e; }

/* ==========================================================================
   Newsletter / CTA strip
   ========================================================================== */
.terea-section--cta {
    padding: 48px 0;
}
.terea-cta-card {
    background: linear-gradient(135deg, var(--tx-primary) 0%, #1e293b 100%);
    color: #fff;
    border-radius: var(--tx-radius-lg);
    padding: 48px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.terea-cta-card::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(245,158,11,0.35), transparent 60%);
    border-radius: 999px;
}
.terea-cta-card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(99,102,241,0.18), transparent 60%);
    border-radius: 999px;
}
.terea-cta-content { position: relative; z-index: 1; }
.terea-cta-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin: 0 0 10px;
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
}
.terea-cta-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    margin: 0;
}
.terea-cta-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.terea-cta-fallback {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin: 0;
}
.terea-cta-whatsapp {
    background: #25D366 !important;
    color: #fff !important;
    border-color: transparent !important;
    align-self: flex-start;
}
.terea-cta-whatsapp:hover { background: #1ebe5a !important; }
.terea-cta-form input[type="email"],
.terea-cta-form input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--tx-radius);
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 14px;
    font-family: inherit;
}
.terea-cta-form input::placeholder { color: rgba(255,255,255,0.55); }
.terea-cta-form button,
.terea-cta-form input[type="submit"] {
    background: var(--tx-accent);
    color: #fff;
    border: none;
    border-radius: var(--tx-radius);
    padding: 12px 22px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: var(--tx-transition);
}
.terea-cta-form button:hover,
.terea-cta-form input[type="submit"]:hover { background: var(--tx-accent-2); }

/* ==========================================================================
   SEO content blocks
   ========================================================================== */
.terea-section--seo { background: #f8fafc; }
.terea-seo-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 40px;
}
.terea-seo-intro-text {
    color: var(--tx-muted);
    font-size: 1.05rem;
    margin: 12px 0 0;
}
.terea-seo-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.terea-seo-block {
    background: #fff;
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius-lg);
    padding: 28px;
    transition: var(--tx-transition);
}
.terea-seo-block:hover {
    border-color: rgba(245,158,11,0.3);
    box-shadow: var(--tx-shadow);
}
.terea-seo-block-heading {
    font-size: 1.2rem;
    margin: 0 0 12px;
    color: var(--tx-primary);
    font-weight: 700;
    line-height: 1.3;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(245,158,11,0.2);
}
.terea-seo-block-body { color: var(--tx-text); font-size: 15px; line-height: 1.7; }
.terea-seo-block-body p { margin: 0 0 12px; }
.terea-seo-block-body p:last-child { margin-bottom: 0; }
.terea-age-notice {
    text-align: center;
    color: var(--tx-muted);
    font-size: 13px;
    margin: 32px 0 0;
    padding: 14px 18px;
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: var(--tx-radius);
    color: #92400e;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Page header (archive, search, single)
   ========================================================================== */
.terea-page-header {
    background: linear-gradient(135deg, var(--tx-primary) 0%, var(--tx-primary-3) 100%);
    color: #fff;
    padding: 56px 0 48px;
    margin-bottom: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.terea-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(20, 184, 166, 0.32) 0%, transparent 50%),
        radial-gradient(circle at 82% 78%, rgba(245, 158, 11, 0.18) 0%, transparent 50%);
}
.terea-page-header .container { position: relative; z-index: 1; }
.terea-page-header h1 {
    font-family: var(--tx-font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0 0 12px;
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.terea-page-header p { color: rgba(255,255,255,0.85); margin: 0; }
.terea-page-header .breadcrumb {
    margin-top: 16px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}
.terea-page-header .breadcrumb a { color: var(--tx-accent); }
.terea-page-header .breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   404 page
   ========================================================================== */
.error-404 {
    text-align: center;
    padding: 80px 0;
}
.error-illustration {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tx-accent);
}
.error-title {
    font-size: clamp(4rem, 10vw, 7rem);
    margin: 0;
    color: var(--tx-accent);
    line-height: 1;
    font-weight: 800;
}
.error-subtitle {
    margin: 0 0 16px;
    color: var(--tx-primary);
    font-size: 1.5rem;
}
.error-description { color: var(--tx-muted); margin-bottom: 24px; max-width: 540px; margin-left: auto; margin-right: auto; }
.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}
.error-404 .terea-search-form { max-width: 420px; margin: 24px auto 0; }

/* ==========================================================================
   Search results
   ========================================================================== */
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.search-result {
    background: var(--tx-bg-card);
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius-lg);
    padding: 22px;
    transition: var(--tx-transition);
}
.search-result:hover {
    border-color: rgba(245,158,11,0.4);
    transform: translateY(-2px);
    box-shadow: var(--tx-shadow);
}
.search-result-title { font-size: 1.1rem; margin: 0 0 8px; color: var(--tx-primary); }
.search-result-title a { color: inherit; }
.search-result-title a:hover { color: var(--tx-accent-2); }
.search-result-type {
    display: inline-block;
    background: rgba(245,158,11,0.1);
    color: var(--tx-accent-2);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.search-result-excerpt { color: var(--tx-muted); font-size: 14px; line-height: 1.6; margin: 8px 0 0; }

/* ==========================================================================
   Single post/page body
   ========================================================================== */
.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--tx-text);
    max-width: 760px;
    margin: 0 auto;
}
.entry-content h2 { font-size: 1.6rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.4em; }
.entry-content p { margin: 0 0 1.1em; }
.entry-content blockquote {
    border-left: 4px solid var(--tx-accent);
    padding: 16px 20px;
    margin: 1.5em 0;
    background: var(--tx-bg-soft);
    border-radius: 0 var(--tx-radius) var(--tx-radius) 0;
    color: var(--tx-primary);
    font-style: italic;
}
.entry-content a { color: var(--tx-accent-2); text-decoration: underline; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.entry-content img { border-radius: var(--tx-radius); margin: 1em 0; }
.entry-content pre, .entry-content code {
    background: #0f172a;
    color: #e2e8f0;
    padding: 14px 16px;
    border-radius: var(--tx-radius);
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.5;
}
.entry-content code { padding: 2px 6px; border-radius: 4px; font-size: 0.92em; }

.author-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--tx-bg-soft);
    border-radius: var(--tx-radius-lg);
    padding: 22px;
    margin: 32px 0;
}
.author-avatar { width: 64px; height: 64px; border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info { flex: 1; }
.author-name { font-size: 16px; font-weight: 700; color: var(--tx-primary); margin: 0 0 4px; }
.author-bio { color: var(--tx-muted); font-size: 14px; margin: 0; }

/* ==========================================================================
   Page header (archive, search, single blog, page)
   ========================================================================== */
.terea-page-header {
    background: linear-gradient(135deg, var(--tx-primary) 0%, var(--tx-primary-3) 100%);
    color: #fff;
    padding: 64px 0 56px;
    margin-bottom: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.terea-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(20, 184, 166, 0.28), transparent 50%);
    pointer-events: none;
}
.terea-page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.18), transparent 50%);
    pointer-events: none;
}
.terea-page-header .container { position: relative; z-index: 1; }
.terea-page-header h1 {
    font-family: var(--tx-font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0 0 12px;
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.terea-page-header p { color: rgba(255,255,255,0.85); margin: 0; max-width: 720px; margin-left: auto; margin-right: auto; }
.terea-page-header .breadcrumb {
    margin-top: 18px;
    color: rgba(255,255,255,0.75);
    font-size: 13px;
}
.terea-page-header .breadcrumb a { color: var(--tx-accent); }
.terea-page-header .breadcrumb a:hover { color: #fff; }
.terea-page-header .breadcrumb span[aria-hidden] {
    margin: 0 6px;
    color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   Single post layout
   ========================================================================== */
.entry-thumbnail {
    margin: 0 auto 32px;
    max-width: 900px;
    border-radius: var(--tx-radius-lg);
    overflow: hidden;
}
.entry-thumbnail img { width: 100%; height: auto; }
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    color: var(--tx-muted);
    font-size: 13px;
    margin: 0 auto 24px;
    max-width: 760px;
    padding: 12px 0;
    border-top: 1px solid var(--tx-border);
    border-bottom: 1px solid var(--tx-border);
}
.entry-meta span, .entry-meta time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.entry-meta a { color: var(--tx-primary); font-weight: 500; }
.entry-meta a:hover { color: var(--tx-accent-2); }
.entry-footer {
    margin: 32px auto;
    max-width: 760px;
    padding-top: 22px;
    border-top: 1px solid var(--tx-border);
}
.entry-footer .tags-links strong { color: var(--tx-primary); margin-right: 6px; }
.entry-footer .tags-links a {
    display: inline-block;
    padding: 4px 10px;
    background: var(--tx-bg-soft);
    border: 1px solid var(--tx-border);
    border-radius: 999px;
    font-size: 12px;
    color: var(--tx-muted);
    margin-right: 6px;
    margin-bottom: 6px;
}
.entry-footer .tags-links a:hover { background: var(--tx-accent); color: #fff; border-color: var(--tx-accent); }

.post-navigation {
    margin: 40px auto;
    max-width: 760px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.post-navigation .nav-previous,
.post-navigation .nav-next {
    background: var(--tx-bg-card);
    border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius);
    padding: 16px 20px;
    transition: var(--tx-transition);
}
.post-navigation a:hover { border-color: rgba(245,158,11,0.4); }
.post-navigation .nav-direction {
    display: block;
    font-size: 11px;
    color: var(--tx-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}
.post-navigation .nav-title {
    display: block;
    font-weight: 600;
    color: var(--tx-primary);
}
.post-navigation .nav-next { text-align: right; }

/* Archive post cards: add category eyebrow */
.post-card-categories {
    margin-bottom: 8px;
}
.post-card-categories a {
    display: inline-block;
    background: rgba(245,158,11,0.1);
    color: var(--tx-accent-2);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: var(--tx-transition);
}
.post-card-categories a:hover { background: var(--tx-accent); color: #fff; }

/* Error categories */
.error-categories-wrap {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--tx-border);
}
.error-categories-wrap h3 {
    font-size: 1.1rem;
    color: var(--tx-primary);
    margin: 0 0 16px;
}
.error-categories {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.error-categories li a {
    display: inline-block;
    padding: 10px 18px;
    background: var(--tx-bg-card);
    border: 1px solid var(--tx-border);
    border-radius: 999px;
    color: var(--tx-primary);
    font-size: 14px;
    transition: var(--tx-transition);
}
.error-categories li a:hover {
    background: var(--tx-accent);
    border-color: var(--tx-accent);
    color: #fff;
}
.error-search { max-width: 460px; margin: 0 auto; }
.error-search .terea-search-form { margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
    .terea-hero { padding: 64px 0 56px; }
    .terea-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .terea-seo-blocks { grid-template-columns: 1fr; }
    .terea-blog-grid { grid-template-columns: 1fr; }
    .terea-cta-card { grid-template-columns: 1fr; padding: 32px; text-align: center; }
    .terea-cta-form { align-items: center; }
    .terea-promo-banner { padding: 48px 24px; }
    .search-results-grid { grid-template-columns: 1fr; }
    .post-navigation { grid-template-columns: 1fr; }
    .post-navigation .nav-next { text-align: left; }
}
@media (max-width: 640px) {
    .terea-feature-grid { grid-template-columns: 1fr; }
    .terea-hero-actions { flex-direction: column; align-items: stretch; }
    .terea-hero-actions .terea-button { justify-content: center; }
    .terea-hero-perks { gap: 8px; }
    .terea-hero-perks li { font-size: 12px; padding: 6px 10px; }
    .entry-meta { gap: 10px; font-size: 12px; }
    .terea-page-header { padding: 48px 0 40px; margin-bottom: 32px; }
}


/* ==========================================================================
   Blog index layout (sidebar + content)
   ========================================================================== */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
    margin-top: 8px;
}
.blog-content { min-width: 0; }
.blog-content .posts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Blog intro card */
.blog-intro {
    margin: 0 0 32px;
    padding: 0;
}
.blog-intro-inner {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.06) 0%, rgba(245, 158, 11, 0.04) 100%);
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 18px;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}
.blog-intro-inner::before {
    content: "";
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 65%);
    pointer-events: none;
}
.blog-intro-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--tx-text);
    max-width: 100%;
}
.blog-intro-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}
.blog-intro-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tx-primary);
    background: #fff;
    border: 1px solid rgba(15, 118, 110, 0.18);
    padding: 6px 12px;
    border-radius: 999px;
}
.blog-intro-stat svg {
    color: var(--tx-accent-2);
    flex-shrink: 0;
}

/* Post card â€” extended style for blog index */
.post-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--tx-border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    position: relative;
}
.blog-content .post-card {
    flex-direction: row;
}
.blog-content .post-card-image {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(245, 158, 11, 0.05));
}
.blog-content .post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-content .post-card:hover {
    border-color: rgba(15, 118, 110, 0.35);
    box-shadow: 0 12px 32px rgba(15, 118, 110, 0.12);
    transform: translateY(-2px);
}
.blog-content .post-card:hover .post-card-image img {
    transform: scale(1.05);
}
.post-card-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(245, 158, 11, 0.05));
    color: var(--tx-primary);
}

.post-card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.post-card-categories a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 6px 12px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--tx-primary);
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}
.post-card-categories a:hover {
    background: var(--tx-primary);
    color: #fff;
}

.post-card-title {
    font-family: var(--tx-font-heading);
    font-size: 21px;
    line-height: 1.3;
    margin: 0;
    font-weight: 800;
}
.post-card-title a {
    color: var(--tx-text);
    text-decoration: none;
    transition: color 0.2s ease;
}
.post-card-title a:hover {
    color: var(--tx-primary);
}
.post-card-excerpt {
    color: var(--tx-muted);
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.post-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--tx-muted);
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed var(--tx-border);
}
.post-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.post-card-meta svg {
    color: var(--tx-primary);
    flex-shrink: 0;
}
.post-card-meta time {
    color: var(--tx-muted);
}
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
    color: var(--tx-primary);
    text-decoration: none;
    margin-top: 4px;
    transition: gap 0.2s ease, color 0.2s ease;
}
.read-more:hover {
    gap: 10px;
    color: var(--tx-primary-2);
}
.read-more svg {
    transition: transform 0.2s ease;
}
.read-more:hover svg {
    transform: translateX(2px);
}

/* Blog pagination */
.blog-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.blog-pagination .page-numbers,
.blog-pagination .nav-links .page-numbers,
.page-links .page-numbers,
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    margin: 0 3px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--tx-border);
    color: var(--tx-text);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.blog-pagination .page-numbers.current,
.page-links .page-numbers.current,
.nav-links .page-numbers.current {
    background: var(--tx-primary);
    color: #fff;
    border-color: var(--tx-primary);
    box-shadow: 0 4px 10px rgba(15, 118, 110, 0.25);
}
.blog-pagination .page-numbers:hover,
.page-links .page-numbers:hover,
.nav-links .page-numbers:hover {
    border-color: var(--tx-primary);
    color: var(--tx-primary);
    transform: translateY(-1px);
}
.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next,
.page-links .page-numbers.prev,
.page-links .page-numbers.next,
.nav-links .page-numbers.prev,
.nav-links .page-numbers.next {
    gap: 6px;
    padding: 0 16px;
}

/* ==========================================================================
   Blog sidebar (widgets)
   ========================================================================== */
.terea-blog-sidebar,
.blog-sidebar {
    position: sticky;
    top: 92px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.terea-blog-sidebar .widget,
.blog-sidebar .widget {
    background: #fff;
    border: 1px solid var(--tx-border);
    border-radius: 18px;
    padding: 22px 22px 24px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
}
.terea-blog-sidebar .widget::before,
.blog-sidebar .widget::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tx-primary) 0%, var(--tx-accent-2) 100%);
}
.terea-blog-sidebar .widget-title,
.blog-sidebar .widget-title {
    font-family: var(--tx-font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
    color: var(--tx-primary);
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--tx-border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.terea-blog-sidebar .widget-title::before,
.blog-sidebar .widget-title::before {
    content: "";
    width: 6px;
    height: 18px;
    background: linear-gradient(180deg, var(--tx-primary) 0%, var(--tx-accent-2) 100%);
    border-radius: 3px;
    flex-shrink: 0;
}

/* Categories widget */
.terea-blog-sidebar,
.blog-sidebar .widget_categories ul,
.terea-blog-sidebar,
.blog-sidebar .widget_product_categories ul,
.terea-blog-sidebar,
.blog-sidebar .terea-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.terea-blog-sidebar,
.blog-sidebar .widget_categories li,
.terea-blog-sidebar,
.blog-sidebar .widget_product_categories li,
.terea-blog-sidebar,
.blog-sidebar .terea-filter-list li {
    margin: 0;
}
.terea-blog-sidebar,
.blog-sidebar .widget_categories a,
.terea-blog-sidebar,
.blog-sidebar .widget_product_categories a,
.terea-blog-sidebar,
.blog-sidebar .terea-filter-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--tx-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.18s ease, color 0.18s ease;
    line-height: 1.3;
}
.terea-blog-sidebar,
.blog-sidebar .widget_categories a:hover,
.terea-blog-sidebar,
.blog-sidebar .widget_product_categories a:hover,
.terea-blog-sidebar,
.blog-sidebar .terea-filter-list a:hover {
    background: rgba(15, 118, 110, 0.08);
    color: var(--tx-primary);
}
.terea-blog-sidebar,
.blog-sidebar .widget_categories .is-active > a,
.terea-blog-sidebar,
.blog-sidebar .terea-filter-list .is-active > a {
    background: var(--tx-primary);
    color: #fff;
    font-weight: 600;
}
.terea-blog-sidebar,
.blog-sidebar .widget_categories .is-active > a span,
.terea-blog-sidebar,
.blog-sidebar .terea-filter-list .is-active > a span {
    color: rgba(255, 255, 255, 0.85);
}
.terea-blog-sidebar,
.blog-sidebar .widget_categories .count,
.terea-blog-sidebar,
.blog-sidebar .widget_product_categories .count,
.terea-blog-sidebar,
.blog-sidebar .terea-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 22px;
    padding: 0 8px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--tx-primary);
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
}
.terea-blog-sidebar,
.blog-sidebar .widget_categories .is-active .count,
.terea-blog-sidebar,
.blog-sidebar .terea-filter-list .is-active .terea-filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.terea-blog-sidebar,
.blog-sidebar .children {
    list-style: none;
    margin: 4px 0 4px 12px;
    padding: 0;
    border-left: 2px solid rgba(15, 118, 110, 0.12);
    padding-left: 8px;
}

/* Search widget */
.terea-blog-sidebar,
.blog-sidebar .widget_search form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid var(--tx-border);
    border-radius: 999px;
    padding: 4px 4px 4px 14px;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.terea-blog-sidebar,
.blog-sidebar .widget_search form:focus-within {
    border-color: var(--tx-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}
.terea-blog-sidebar,
.blog-sidebar .widget_search input[type="search"] {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 14px;
    color: var(--tx-text);
    outline: none;
}
.terea-blog-sidebar .blog-sidebar .widget_search input[type="search"]::placeholder,
.blog-sidebar .widget_search input[type="search"]::placeholder {
    color: var(--tx-muted);
}
.terea-blog-sidebar,
.blog-sidebar .widget_search input[type="submit"] {
    background: linear-gradient(135deg, var(--tx-primary) 0%, var(--tx-primary-2) 100%);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>"), linear-gradient(135deg, var(--tx-primary) 0%, var(--tx-primary-2) 100%);
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 118, 110, 0.3);
}
.terea-blog-sidebar,
.blog-sidebar .widget_search input[type="submit"]:hover {
    transform: scale(1.05);
}

/* Recent posts widget */
.terea-blog-sidebar,
.blog-sidebar .widget_recent_entries ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.terea-blog-sidebar,
.blog-sidebar .widget_recent_entries li {
    padding: 0;
    border: none;
    background: transparent;
}
.terea-blog-sidebar,
.blog-sidebar .widget_recent_entries a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    color: var(--tx-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.2s ease;
}
.terea-blog-sidebar,
.blog-sidebar .widget_recent_entries a:hover {
    color: var(--tx-primary);
}
.terea-blog-sidebar,
.blog-sidebar .widget_recent_entries .post-date {
    font-size: 12px;
    color: var(--tx-muted);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.terea-blog-sidebar .blog-sidebar .widget_recent_entries .post-date::before,
.blog-sidebar .widget_recent_entries .post-date::before {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Tag cloud widget */
.terea-blog-sidebar,
.blog-sidebar .widget_tag_cloud .tagcloud,
.terea-blog-sidebar,
.blog-sidebar .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.terea-blog-sidebar,
.blog-sidebar .widget_tag_cloud a,
.terea-blog-sidebar,
.blog-sidebar .tagcloud a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--tx-primary);
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    font-size: 12.5px !important;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    line-height: 1.2;
}
.terea-blog-sidebar,
.blog-sidebar .widget_tag_cloud a:hover,
.terea-blog-sidebar,
.blog-sidebar .tagcloud a:hover {
    background: var(--tx-primary);
    color: #fff;
    transform: translateY(-1px);
}

/* Archive widget */
.terea-blog-sidebar,
.blog-sidebar .widget_archive ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.terea-blog-sidebar,
.blog-sidebar .widget_archive a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    color: var(--tx-text);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: background 0.18s ease;
}
.terea-blog-sidebar,
.blog-sidebar .widget_archive a:hover {
    background: rgba(15, 118, 110, 0.08);
    color: var(--tx-primary);
}

/* Default widgets fallback container */
.blog-default-widgets {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Block editor widgets (wp-block-search, wp-block-latest-posts, etc.)
   The widget area standardises block widgets by wrapping them
   in our branded card style. */
.terea-blog-sidebar,
.blog-sidebar .widget_block {
    background: #fff;
    border: 1px solid var(--tx-border);
    border-radius: 18px;
    padding: 22px 22px 24px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
    margin: 0;
}
.terea-blog-sidebar .blog-sidebar .widget_block::before,
.blog-sidebar .widget_block::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tx-primary) 0%, var(--tx-accent-2) 100%);
}
.terea-blog-sidebar,
.blog-sidebar .widget_block h2,
.terea-blog-sidebar,
.blog-sidebar .widget_block h3,
.terea-blog-sidebar,
.blog-sidebar .widget_block .wp-block-heading {
    font-family: var(--tx-font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
    color: var(--tx-primary);
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--tx-border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.terea-blog-sidebar,
.blog-sidebar .widget_block h2::before,
.terea-blog-sidebar,
.blog-sidebar .widget_block h3::before,
.terea-blog-sidebar .blog-sidebar .widget_block .wp-block-heading::before,
.blog-sidebar .widget_block .wp-block-heading::before {
    content: "";
    width: 6px;
    height: 18px;
    background: linear-gradient(180deg, var(--tx-primary) 0%, var(--tx-accent-2) 100%);
    border-radius: 3px;
    flex-shrink: 0;
}

/* Block search */
.terea-blog-sidebar,
.blog-sidebar .wp-block-search {
    background: #f8fafc;
    border: 1px solid var(--tx-border);
    border-radius: 999px;
    padding: 4px 4px 4px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-search:focus-within {
    border-color: var(--tx-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-search__inside-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-search__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 14px;
    color: var(--tx-text);
    outline: none;
}
.terea-blog-sidebar .blog-sidebar .wp-block-search__input::placeholder,
.blog-sidebar .wp-block-search__input::placeholder {
    color: var(--tx-muted);
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-search__button {
    background: linear-gradient(135deg, var(--tx-primary) 0%, var(--tx-primary-2) 100%);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 118, 110, 0.3);
    padding: 0 !important;
    text-indent: -9999px;
    overflow: hidden;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>"), linear-gradient(135deg, var(--tx-primary) 0%, var(--tx-primary-2) 100%);
    background-repeat: no-repeat;
    background-position: center;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-search__button:hover {
    transform: scale(1.05);
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-search__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Block latest posts */
.terea-blog-sidebar,
.blog-sidebar .wp-block-latest-posts__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-latest-posts__list li {
    padding: 0;
    border: none;
    background: transparent;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-latest-posts__post-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--tx-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.2s ease;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-latest-posts__post-title:hover {
    color: var(--tx-primary);
}

/* Block categories */
.terea-blog-sidebar,
.blog-sidebar .wp-block-categories-list,
.terea-blog-sidebar,
.blog-sidebar .wp-block-categories__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-categories-list li,
.terea-blog-sidebar,
.blog-sidebar .wp-block-categories__list li {
    margin: 0;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-categories-list a,
.terea-blog-sidebar,
.blog-sidebar .wp-block-categories__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--tx-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.18s ease, color 0.18s ease;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-categories-list a:hover,
.terea-blog-sidebar,
.blog-sidebar .wp-block-categories__list a:hover {
    background: rgba(15, 118, 110, 0.08);
    color: var(--tx-primary);
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-categories-list .children,
.terea-blog-sidebar,
.blog-sidebar .wp-block-categories__list .children {
    margin: 4px 0 4px 12px;
    padding-left: 8px;
    border-left: 2px solid rgba(15, 118, 110, 0.12);
}

/* Block RSS */
.terea-blog-sidebar,
.blog-sidebar .wp-block-rss {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-rss li {
    padding: 0;
    background: transparent;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-rss a {
    display: block;
    color: var(--tx-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-rss a:hover {
    color: var(--tx-primary);
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-rss .rss-date {
    display: block;
    font-size: 12px;
    color: var(--tx-muted);
    margin-top: 2px;
}

/* Block archives */
.terea-blog-sidebar,
.blog-sidebar .wp-block-archives-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-archives-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    color: var(--tx-text);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: background 0.18s ease;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-archives-list a:hover {
    background: rgba(15, 118, 110, 0.08);
    color: var(--tx-primary);
}

/* Block tag cloud */
.terea-blog-sidebar,
.blog-sidebar .wp-block-tag-cloud,
.terea-blog-sidebar,
.blog-sidebar .wp-block-tag-cloud .wp-block-tag-cloud__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-tag-cloud a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--tx-primary);
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    line-height: 1.2;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-tag-cloud a:hover {
    background: var(--tx-primary);
    color: #fff;
    transform: translateY(-1px);
}

/* Block calendar */
.terea-blog-sidebar,
.blog-sidebar .wp-block-calendar {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-calendar caption {
    font-weight: 700;
    color: var(--tx-primary);
    padding: 0 0 8px;
    text-align: left;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-calendar th {
    text-align: center;
    padding: 6px 0;
    color: var(--tx-muted);
    font-weight: 600;
    background: transparent;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-calendar td {
    text-align: center;
    padding: 6px 0;
    border: 1px solid var(--tx-border);
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-calendar td a {
    color: var(--tx-primary);
    font-weight: 700;
    text-decoration: none;
}
.terea-blog-sidebar,
.blog-sidebar .wp-block-calendar #today {
    background: var(--tx-primary);
    color: #fff;
    font-weight: 700;
    border-radius: 4px;
}

/* ==========================================================================
   Single post (blog details)
   ========================================================================== */
.terea-single-post {
    background: #fff;
    border: 1px solid var(--tx-border);
    border-radius: 18px;
    padding: 36px 40px 32px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    margin-top: 12px;
    min-width: 0;
}
.blog-content > .terea-single-post { margin-top: 0; }
.blog-layout--no-sidebar .terea-single-post { margin-top: 12px; }
.terea-single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0 0 24px;
    padding: 0 0 18px;
    border-bottom: 1px dashed var(--tx-border);
}
.terea-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(15, 118, 110, 0.06);
    color: var(--tx-text);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.terea-meta-pill svg {
    color: var(--tx-primary);
}
.terea-meta-pill--link:hover {
    background: var(--tx-primary);
    color: #fff;
}
.terea-meta-pill--link:hover svg {
    color: #fff;
}

.terea-single-post-hero {
    margin: 0 0 28px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(245, 158, 11, 0.05));
    position: relative;
}
.terea-single-post-hero img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}
.terea-hero-caption {
    text-align: center;
    font-size: 12.5px;
    color: var(--tx-muted);
    padding: 10px 12px 0;
    font-style: italic;
}

.terea-single-post-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--tx-text);
}
.terea-single-post-content > * {
    margin-bottom: 1.4em;
}
.terea-single-post-content h2 {
    font-family: var(--tx-font-heading);
    font-size: 26px;
    margin: 2em 0 0.6em;
    color: var(--tx-text);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.terea-single-post-content h3 {
    font-family: var(--tx-font-heading);
    font-size: 21px;
    margin: 1.6em 0 0.5em;
    color: var(--tx-text);
    font-weight: 700;
}
.terea-single-post-content h4 {
    font-family: var(--tx-font-heading);
    font-size: 18px;
    margin: 1.4em 0 0.4em;
    color: var(--tx-text);
    font-weight: 700;
}
.terea-single-post-content p {
    margin: 0 0 1.4em;
}
.terea-single-post-content a {
    color: var(--tx-primary);
    text-decoration: underline;
    text-decoration-color: rgba(15, 118, 110, 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}
.terea-single-post-content a:hover {
    text-decoration-color: var(--tx-primary);
}
.terea-single-post-content ul,
.terea-single-post-content ol {
    margin: 0 0 1.4em 24px;
    padding: 0;
}
.terea-single-post-content li {
    margin-bottom: 0.5em;
}
.terea-single-post-content li::marker {
    color: var(--tx-primary);
}
.terea-single-post-content blockquote {
    margin: 1.6em 0;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.06) 0%, rgba(245, 158, 11, 0.04) 100%);
    border-left: 4px solid var(--tx-primary);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--tx-text);
    font-size: 17px;
}
.terea-single-post-content blockquote p {
    margin: 0;
}
.terea-single-post-content code {
    background: rgba(15, 118, 110, 0.08);
    color: var(--tx-primary-2);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}
.terea-single-post-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 18px 22px;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
}
.terea-single-post-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}
.terea-single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1em 0;
}
.terea-single-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    border: 1px solid var(--tx-border);
    border-radius: 12px;
    overflow: hidden;
}
.terea-single-post-content table th {
    background: rgba(15, 118, 110, 0.08);
    color: var(--tx-primary);
    font-weight: 700;
    text-align: left;
    padding: 10px 14px;
    font-size: 14px;
    border-bottom: 1px solid var(--tx-border);
}
.terea-single-post-content table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--tx-border);
    font-size: 14px;
}
.terea-single-post-content table tr:last-child td {
    border-bottom: none;
}

.terea-page-links {
    margin-top: 28px;
    padding: 14px 0;
    border-top: 1px solid var(--tx-border);
    border-bottom: 1px solid var(--tx-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.terea-page-links span {
    color: var(--tx-muted);
    font-weight: 600;
    margin-right: 8px;
    font-size: 13px;
}

/* Single post footer */
.terea-single-post-footer {
    margin-top: 32px;
    padding: 24px 0 0;
    border-top: 1px solid var(--tx-border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.terea-single-post-categories,
.terea-single-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.terea-footer-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tx-muted);
    margin-right: 4px;
}
.terea-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--tx-primary);
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.terea-chip:hover {
    background: var(--tx-primary);
    color: #fff;
}
.terea-single-post-tags a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(245, 158, 11, 0.08);
    color: var(--tx-accent-2);
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.terea-single-post-tags a:hover {
    background: var(--tx-accent);
    color: #0f172a;
}

.terea-post-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.terea-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.08);
    color: var(--tx-primary);
    border: 1px solid rgba(15, 118, 110, 0.18);
    text-decoration: none;
    transition: all 0.2s ease;
}
.terea-share-btn:hover {
    background: var(--tx-primary);
    color: #fff;
    border-color: var(--tx-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(15, 118, 110, 0.3);
}

/* Author box */
.terea-author-box {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.06) 0%, rgba(245, 158, 11, 0.04) 100%);
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 16px;
    display: flex;
    gap: 18px;
    align-items: center;
}
.terea-author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}
.terea-author-info { flex: 1; min-width: 0; }
.terea-author-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tx-muted);
    margin: 0 0 2px;
}
.terea-author-name {
    font-family: var(--tx-font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--tx-primary);
    margin: 0 0 4px;
}
.terea-author-bio {
    font-size: 14px;
    line-height: 1.6;
    color: var(--tx-text);
    margin: 0;
}

/* Post navigation */
.terea-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}
.terea-post-nav {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--tx-border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--tx-text);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.terea-post-nav:not(.terea-post-nav--disabled):hover {
    border-color: var(--tx-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.12);
}
.terea-post-nav--next {
    text-align: right;
    align-items: flex-end;
}
.terea-post-nav-direction {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tx-primary);
}
.terea-post-nav-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--tx-text);
    line-height: 1.35;
}
.terea-post-nav--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Related posts */
.terea-related-posts {
    margin-top: 40px;
    width: 100%;
}
.terea-related-posts--header {
    margin-top: 24px;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--tx-border);
}
.terea-related-posts--footer {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--tx-border);
}
.terea-related-posts--header .container,
.terea-related-posts--footer .container {
    width: 100%;
}
.terea-related-posts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
    flex-wrap: wrap;
}
.terea-related-posts-title {
    font-family: var(--tx-font-heading);
    font-size: 22px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--tx-text);
    font-weight: 800;
}
.terea-related-posts-title svg {
    color: var(--tx-primary);
}
.terea-related-posts-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tx-primary);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 14px;
    background: rgba(15, 118, 110, 0.08);
    border-radius: 999px;
    transition: background 0.2s ease, gap 0.2s ease;
}
.terea-related-posts-link:hover {
    background: var(--tx-primary);
    color: #fff;
    gap: 10px;
}
.terea-related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
@media (max-width: 900px) {
    .terea-related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .terea-related-posts-grid {
        grid-template-columns: 1fr;
    }
}
.post-card--related {
    flex-direction: column;
    height: 100%;
}
.post-card--related .post-card-image {
    aspect-ratio: 16 / 10;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}
.post-card--related .post-card-title {
    font-size: 16px;
}

/* ==========================================================================
   Comments â€” branded UI
   ========================================================================== */
.terea-comments {
    margin-top: 48px;
    background: #fff;
    border: 1px solid var(--tx-border);
    border-radius: 18px;
    padding: 32px 36px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.terea-comments-header {
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--tx-border);
}
.terea-comments-title {
    font-family: var(--tx-font-heading);
    font-size: 22px;
    margin: 0 0 6px;
    color: var(--tx-text);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.terea-comments-title svg {
    color: var(--tx-primary);
}
.terea-comments-subtitle {
    margin: 0;
    font-size: 14px;
    color: var(--tx-muted);
    line-height: 1.5;
}
.terea-comments-closed {
    margin: 0;
    padding: 14px 18px;
    background: rgba(245, 158, 11, 0.08);
    border-left: 3px solid var(--tx-accent-2);
    border-radius: 0 8px 8px 0;
    color: var(--tx-text);
    font-size: 14px;
}

/* Comment list */
.terea-comment-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.terea-comment-list .children {
    list-style: none;
    margin: 18px 0 0 28px;
    padding: 0 0 0 20px;
    border-left: 2px solid rgba(15, 118, 110, 0.12);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.terea-comment-item {
    background: #f8fafc;
    border: 1px solid var(--tx-border);
    border-radius: 14px;
    padding: 18px 20px;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.terea-comment-item:hover {
    border-color: rgba(15, 118, 110, 0.3);
    background: #fff;
}
.terea-comment-item.bypostauthor {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.04) 0%, rgba(255, 255, 255, 1) 100%);
    border-color: rgba(15, 118, 110, 0.3);
}
.terea-comment { margin: 0; }
.terea-comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.terea-comment-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
.terea-comment-id {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.terea-comment-author {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--tx-text);
}
.terea-comment-author img {
    display: none;
}
.terea-comment-author-name {
    color: var(--tx-primary);
}
.terea-comment-date {
    font-size: 12px;
    color: var(--tx-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.terea-comment-body {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--tx-text);
    margin: 0 0 10px;
}
.terea-comment-body p {
    margin: 0 0 8px;
}
.terea-comment-body p:last-child {
    margin-bottom: 0;
}
.terea-comment-body a {
    color: var(--tx-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.terea-comment-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.terea-comment-footer a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--tx-primary);
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.terea-comment-footer a:hover {
    background: var(--tx-primary);
    color: #fff;
}
.terea-comment-edit svg {
    vertical-align: -2px;
}

/* Comment form */
.terea-comment-form-wrap {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--tx-border);
}
.terea-comment-form-title {
    font-family: var(--tx-font-heading);
    font-size: 20px;
    margin: 0 0 6px;
    color: var(--tx-text);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.terea-comment-form-title svg {
    color: var(--tx-primary);
}
.terea-comment-form-help {
    margin: 0 0 22px;
    font-size: 13px;
    color: var(--tx-muted);
    line-height: 1.5;
}
.terea-comment-form { margin: 0; }
.terea-required { color: #ef4444; font-weight: 700; }
.terea-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.terea-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}
.terea-form-field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--tx-text);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.terea-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.terea-input-wrapper svg {
    position: absolute;
    left: 14px;
    color: var(--tx-muted);
    pointer-events: none;
    transition: color 0.2s ease;
}
.terea-form-field input[type="text"],
.terea-form-field input[type="email"],
.terea-form-field input[type="url"],
.terea-form-field textarea {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: #f8fafc;
    border: 1px solid var(--tx-border);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--tx-font-body);
    color: var(--tx-text);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    line-height: 1.5;
}
.terea-form-field textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}
.terea-form-field input:focus,
.terea-form-field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--tx-primary);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}
.terea-form-field input:focus + svg,
.terea-form-field .terea-input-wrapper:focus-within svg {
    color: var(--tx-primary);
}
.terea-form-cookies {
    margin: 0 0 18px;
}
.terea-checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--tx-text);
    line-height: 1.5;
}
.terea-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--tx-border);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    margin: 1px 0 0;
    transition: background 0.2s ease, border-color 0.2s ease;
    position: relative;
}
.terea-checkbox input[type="checkbox"]:checked {
    background: var(--tx-primary);
    border-color: var(--tx-primary);
}
.terea-checkbox input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.terea-checkbox input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
}
.terea-checkbox-label {
    font-weight: 500;
}

.terea-comment-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--tx-primary) 0%, var(--tx-primary-2) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--tx-font-body);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.25);
    letter-spacing: 0.01em;
}
.terea-comment-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 118, 110, 0.32);
}
.terea-comment-submit:active {
    transform: translateY(0);
}
.terea-comment-submit::after {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><line x1='22' y1='2' x2='11' y2='13'/><polygon points='22 2 15 22 11 13 2 9 22 2'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
}
.terea-cancel-link {
    background: transparent;
    border: none;
    color: var(--tx-muted);
    font-size: 13px;
    cursor: pointer;
    margin-left: 12px;
    text-decoration: underline;
}

.terea-comment-must-log,
.terea-comment-logged-in {
    padding: 12px 16px;
    background: rgba(15, 118, 110, 0.06);
    border-left: 3px solid var(--tx-primary);
    border-radius: 0 8px 8px 0;
    margin: 0 0 18px;
    font-size: 14px;
    color: var(--tx-text);
}
.terea-comment-must-log a,
.terea-comment-logged-in a {
    color: var(--tx-primary);
    font-weight: 700;
    text-decoration: underline;
}

/* Responsive â€” blog layout collapses to single column on tablets */
@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .terea-blog-sidebar,
    .blog-sidebar {
        position: static;
        margin-top: 12px;
    }
    .blog-content .post-card-image {
        width: 220px;
        min-width: 220px;
        max-width: 220px;
    }
}
@media (max-width: 720px) {
    .blog-content .post-card {
        flex-direction: column;
    }
    .blog-content .post-card-image {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        aspect-ratio: 16 / 9;
    }
    .terea-single-post {
        padding: 24px 22px;
    }
    .terea-comments {
        padding: 24px 22px;
    }
    .terea-form-row {
        grid-template-columns: 1fr;
    }
    .terea-related-posts-grid {
        grid-template-columns: 1fr;
    }
    .terea-post-navigation {
        grid-template-columns: 1fr;
    }
    .terea-author-box {
        flex-direction: column;
        text-align: center;
    }
}








