/*
 Theme Name:   Kadence Child
 Theme URI:    https://toptrustedproducts.com
 Description:  Child theme for Kadence - toptrustedproducts.com
 Author:       Top Trusted Products
 Template:     kadence
 Version:      1.0.4
 Text Domain:  kadence-child
*/

/* =============================================================
   DESIGN TOKENS - US (default)
   ============================================================= */
:root {
    --color-primary:      #1B3A5C;
    --color-primary-lt:   #2A527F;
    --color-accent:       #E8A020;
    --color-accent-dk:    #C47F0A;
    --color-accent-lt:    #FFF3DC;
    --color-bg:           #F9F9F7;
    --color-bg-card:      #FFFFFF;
    --color-text:         #1A1A1A;
    --color-text-muted:   #6B7280;
    --color-border:       #E5E7EB;
    --color-border-lt:    #F3F4F6;
    --color-positive:     #16A34A;
    --color-negative:     #DC2626;
    --color-info:         #2563EB;
    --color-warning:      #D97706;
    --color-header-bg:    #0F2440;
    --color-header-text:  #FFFFFF;
    --color-footer-bg:    #0F2440;
    --color-footer-text:  #CBD5E1;
    --font-body:          'Inter', system-ui, -apple-system, sans-serif;
    --font-heading:       'Sora', system-ui, -apple-system, sans-serif;
    --radius:             8px;
    --radius-lg:          12px;
    --radius-xl:          16px;
    --shadow-sm:          0 1px 2px rgba(0,0,0,.06);
    --shadow-card:        0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
    --shadow-hover:       0 4px 20px rgba(0,0,0,.12);
    --max-content:        780px;
    --max-site:           1200px;
    --transition:         0.2s ease;
}

/* =============================================================
   CANADIAN PALETTE OVERRIDE
   Applied when PHP adds .ca-site to <body> on /ca/ pages
   ============================================================= */
body.ca-site {
    --color-primary:      #CC0000;
    --color-primary-lt:   #E51C1C;
    --color-accent:       #CC0000;
    --color-accent-dk:    #990000;
    --color-accent-lt:    #FFF0F0;
    --color-header-bg:    #8B0000;
    --color-footer-bg:    #8B0000;
}

body.ca-site .site-header::before {
    content:    '';
    display:    block;
    height:     4px;
    background: linear-gradient(90deg, #CC0000 50%, #FFFFFF 50%);
}

/* =============================================================
   BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family:            var(--font-body);
    font-size:              17px;
    line-height:            1.78;
    color:                  var(--color-text);
    background-color:       var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

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

/* =============================================================
   TYPOGRAPHY
   ============================================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color:       var(--color-primary);
    line-height: 1.25;
    font-weight: 700;
}

.entry-content h2 {
    font-size:     1.7rem;
    margin-top:    2.4em;
    margin-bottom: 0.55em;
}

.entry-content h2::after {
    content:       '';
    display:       block;
    width:         36px;
    height:        3px;
    background:    var(--color-accent);
    margin-top:    0.4em;
    border-radius: 2px;
}

.entry-content h3 {
    font-size:     1.3rem;
    margin-top:    1.9em;
    margin-bottom: 0.45em;
}

.entry-content p { margin-bottom: 1.5em; }

.entry-content,
.wp-block-post-content {
    max-width:    var(--max-content);
    margin-left:  auto;
    margin-right: auto;
}

a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-dk); text-decoration: underline; }

/* =============================================================
   SITE HEADER
   ============================================================= */
.site-header,
header.site-header {
    background-color: var(--color-header-bg);
    color:            var(--color-header-text);
    box-shadow:       0 2px 8px rgba(0,0,0,.18);
    position:         sticky;
    top:              0;
    z-index:          1000;
}

.site-header .site-branding .site-title a,
.site-header .site-branding .site-title {
    color:       #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size:   1.3rem;
}

.site-header .site-branding .site-description {
    color:      rgba(255,255,255,0.65);
    font-size:  0.8rem;
    margin-top: 0;
}

.site-header .main-navigation a,
.site-header nav a {
    color:         rgba(255,255,255,0.88);
    font-size:     0.93rem;
    font-weight:   500;
    padding:       0.4rem 0.75rem;
    border-radius: var(--radius);
    transition:    background var(--transition), color var(--transition);
}

.site-header .main-navigation a:hover,
.site-header nav a:hover,
.site-header .main-navigation .current-menu-item > a {
    background:      rgba(255,255,255,0.12);
    color:           #FFFFFF;
    text-decoration: none;
}

.ttp-trust-bar {
    background:     var(--color-primary);
    color:          rgba(255,255,255,0.82);
    font-size:      0.78rem;
    text-align:     center;
    padding:        0.4rem 1rem;
    letter-spacing: 0.03em;
}
.ttp-trust-bar span { margin: 0 1.2rem; }

/* =============================================================
   SITE FOOTER
   ============================================================= */
.site-footer,
footer.site-footer {
    background-color: var(--color-footer-bg);
    color:            var(--color-footer-text);
    padding:          3rem 1.5rem 2rem;
    margin-top:       4rem;
}

.ttp-footer-grid {
    display:               grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap:                   2rem;
    max-width:             var(--max-site);
    margin:                0 auto 2.5rem;
}

@media (max-width: 900px) { .ttp-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ttp-footer-grid { grid-template-columns: 1fr; } }

.ttp-footer-brand p {
    font-size:   0.88rem;
    line-height: 1.65;
    color:       rgba(255,255,255,0.6);
    max-width:   280px;
    margin-top:  0.75rem;
}

.ttp-footer-col h4 {
    color:          #FFFFFF;
    font-size:      0.82rem;
    font-weight:    700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin:         0 0 0.9rem;
    font-family:    var(--font-heading);
}

.ttp-footer-col ul { list-style: none; margin: 0; padding: 0; }
.ttp-footer-col ul li { margin-bottom: 0.45rem; }
.ttp-footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color var(--transition); }
.ttp-footer-col ul li a:hover { color: #FFFFFF; text-decoration: none; }

.ttp-footer-bottom {
    border-top:  1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align:  center;
    font-size:   0.8rem;
    color:       rgba(255,255,255,0.45);
    max-width:   var(--max-site);
    margin:      0 auto;
}
.ttp-footer-bottom a { color: rgba(255,255,255,0.55); }
.ttp-footer-bottom a:hover { color: #fff; text-decoration: none; }

/* =============================================================
   HERO SECTION (Homepage)
   ============================================================= */
.ttp-hero {
    background:  linear-gradient(135deg, var(--color-header-bg) 0%, var(--color-primary) 100%);
    color:       #FFFFFF;
    padding:     5rem 1.5rem 4.5rem;
    text-align:  center;
    position:    relative;
    overflow:    hidden;
}

.ttp-hero__inner { position: relative; max-width: 760px; margin: 0 auto; }

.ttp-hero__eyebrow {
    display:        inline-block;
    background:     rgba(255,255,255,0.15);
    border:         1px solid rgba(255,255,255,0.25);
    color:          #FFFFFF;
    font-size:      0.78rem;
    font-weight:    600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding:        0.3rem 0.9rem;
    border-radius:  100px;
    margin-bottom:  1.25rem;
}

.ttp-hero h1 {
    font-family: var(--font-heading);
    font-size:   clamp(1.9rem, 5vw, 3rem);
    font-weight: 700;
    color:       #FFFFFF;
    line-height: 1.2;
    margin:      0 0 1.1rem;
}

.ttp-hero p {
    font-size:   1.1rem;
    line-height: 1.7;
    color:       rgba(255,255,255,0.82);
    max-width:   600px;
    margin:      0 auto 2rem;
}

.ttp-hero__ctas {
    display:         flex;
    gap:             1rem;
    justify-content: center;
    flex-wrap:       wrap;
    margin-bottom:   2.5rem;
}

.ttp-hero__trust {
    display:         flex;
    gap:             1.5rem;
    justify-content: center;
    flex-wrap:       wrap;
    font-size:       0.83rem;
    color:           rgba(255,255,255,0.7);
}

/* =============================================================
   HOW WE REVIEW
   ============================================================= */
.ttp-methodology {
    background:    var(--color-bg-card);
    padding:       4rem 1.5rem;
    text-align:    center;
    border-bottom: 1px solid var(--color-border);
}

.ttp-methodology__heading { font-size: 1.8rem; margin-bottom: 0.5rem; }

.ttp-methodology__sub {
    color:     var(--color-text-muted);
    max-width: 540px;
    margin:    0 auto 2.5rem;
    font-size: 1rem;
}

.ttp-method-grid {
    display:               grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap:                   1.5rem;
    max-width:             var(--max-site);
    margin:                0 auto;
    text-align:            left;
}

.ttp-method-card {
    background:    var(--color-bg);
    border:        1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding:       1.5rem;
}

.ttp-method-card__icon { font-size: 1.8rem; margin-bottom: 0.75rem; line-height: 1; }
.ttp-method-card h3 { font-size: 1rem; margin: 0 0 0.4rem; }
.ttp-method-card p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; line-height: 1.6; }

/* =============================================================
   CATEGORY GRID (Homepage)
   ============================================================= */
.ttp-categories {
    padding:   4rem 1.5rem;
    max-width: var(--max-site);
    margin:    0 auto;
}

.ttp-section-header {
    display:         flex;
    justify-content: space-between;
    align-items:     baseline;
    margin-bottom:   1.75rem;
    flex-wrap:       wrap;
    gap:             0.5rem;
}
.ttp-section-header h2 { margin: 0; }
.ttp-section-header a { font-size: 0.88rem; font-weight: 600; }

.ttp-cat-grid {
    display:               grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap:                   1.25rem;
}

.ttp-cat-card {
    display:         flex;
    flex-direction:  column;
    align-items:     center;
    justify-content: center;
    background:      var(--color-bg-card);
    border:          1px solid var(--color-border);
    border-radius:   var(--radius-lg);
    padding:         2rem 1.25rem;
    text-align:      center;
    text-decoration: none;
    transition:      box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.ttp-cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: var(--color-accent); text-decoration: none; }
.ttp-cat-card__icon { font-size: 2.2rem; margin-bottom: 0.65rem; line-height: 1; }
.ttp-cat-card__name { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: var(--color-primary); margin: 0 0 0.3rem; }
.ttp-cat-card__count { font-size: 0.8rem; color: var(--color-text-muted); }

/* =============================================================
   REVIEW CARDS GRID (Archives / Homepage)
   ============================================================= */
.ttp-review-grid {
    display:               grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap:                   1.5rem;
}

.ttp-review-card {
    background:     var(--color-bg-card);
    border:         1px solid var(--color-border);
    border-radius:  var(--radius-lg);
    overflow:       hidden;
    box-shadow:     var(--shadow-sm);
    transition:     box-shadow var(--transition), transform var(--transition);
    display:        flex;
    flex-direction: column;
}
.ttp-review-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.ttp-review-card__img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.ttp-review-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }

.ttp-review-card__meta {
    display:       flex;
    align-items:   center;
    gap:           0.6rem;
    margin-bottom: 0.6rem;
    flex-wrap:     wrap;
}

.ttp-review-card__cat {
    font-size:      0.72rem;
    font-weight:    700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color:          var(--color-primary);
    background:     var(--color-accent-lt);
    padding:        0.15rem 0.55rem;
    border-radius:  100px;
}

.ttp-review-card__rating { font-size: 0.82rem; font-weight: 700; color: var(--color-accent); margin-left: auto; }
.ttp-review-card__title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--color-primary); margin: 0 0 0.5rem; line-height: 1.35; }
.ttp-review-card__title a { color: inherit; }
.ttp-review-card__title a:hover { color: var(--color-accent-dk); text-decoration: none; }
.ttp-review-card__excerpt { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; margin: 0 0 1rem; flex: 1; }
.ttp-review-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--color-border-lt); font-size: 0.8rem; color: var(--color-text-muted); }

.ttp-read-more { font-size: 0.85rem; font-weight: 600; color: var(--color-primary); }
.ttp-read-more:hover { color: var(--color-accent-dk); text-decoration: none; }

/* =============================================================
   EDITORIAL NOTICE (auto-injected above every review post)
   ============================================================= */
.ttp-editorial-notice {
    background:    #FEF9EC;
    border:        1px solid #F6D860;
    border-left:   4px solid var(--color-warning);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding:       0.85rem 1.1rem;
    font-size:     0.88rem;
    color:         #78350F;
    margin:        0 0 1.75rem;
    line-height:   1.6;
}
.ttp-editorial-notice a { color: #92400E; font-weight: 600; }

/* =============================================================
   REVIEW SUMMARY BOX
   ============================================================= */
.ttp-summary {
    background:    var(--color-bg-card);
    border:        2px solid var(--color-primary);
    border-radius: var(--radius-xl);
    padding:       1.75rem 2rem;
    margin:        0 0 2.5rem;
    box-shadow:    var(--shadow-card);
}

.ttp-summary__badge { margin-bottom: 0.65rem; }
.ttp-summary__product { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--color-primary); margin: 0 0 0.5rem; }
.ttp-summary__rating-row { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem; flex-wrap: wrap; }
.ttp-summary__verdict { font-size: 1rem; line-height: 1.65; color: var(--color-text); margin-bottom: 1.25rem; border-top: 1px solid var(--color-border-lt); padding-top: 1rem; }
.ttp-summary__cta { margin-top: 1rem; }

/* =============================================================
   STARS
   ============================================================= */
.ttp-stars { display: inline-flex; gap: 1px; color: var(--color-accent); font-size: 1.2rem; line-height: 1; }
.ttp-stars .empty { color: var(--color-border); }
.ttp-rating-num { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--color-primary); }
.ttp-rating-count { font-size: 0.82rem; color: var(--color-text-muted); }

/* =============================================================
   PROS / CONS
   ============================================================= */
.ttp-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
@media (max-width: 600px) { .ttp-pros-cons { grid-template-columns: 1fr; } }

.ttp-pros, .ttp-cons { background: var(--color-bg-card); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm); }
.ttp-pros { border-top: 3px solid var(--color-positive); }
.ttp-cons { border-top: 3px solid var(--color-negative); }

.ttp-pros__heading, .ttp-cons__heading {
    font-family:    var(--font-heading);
    font-size:      0.85rem;
    font-weight:    700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin:         0 0 0.75rem;
}
.ttp-pros__heading { color: var(--color-positive); }
.ttp-cons__heading { color: var(--color-negative); }

.ttp-pros ul, .ttp-cons ul { margin: 0; padding: 0; list-style: none; }
.ttp-pros ul li, .ttp-cons ul li { padding: 0.32rem 0 0.32rem 1.5rem; position: relative; font-size: 0.93rem; border-bottom: 1px solid var(--color-border-lt); line-height: 1.55; }
.ttp-pros ul li:last-child, .ttp-cons ul li:last-child { border-bottom: none; }
.ttp-pros ul li::before { content: '✓'; position: absolute; left: 0; color: var(--color-positive); font-weight: 700; }
.ttp-cons ul li::before { content: '✗'; position: absolute; left: 0; color: var(--color-negative); font-weight: 700; }

/* =============================================================
   BUY BUTTON (CTA)
   ============================================================= */
.ttp-btn, a.ttp-btn {
    display:         inline-flex;
    align-items:     center;
    gap:             0.45rem;
    background:      var(--color-accent);
    color:           #fff !important;
    font-family:     var(--font-heading);
    font-size:       0.97rem;
    font-weight:     700;
    padding:         0.75rem 1.85rem;
    border-radius:   var(--radius);
    text-decoration: none !important;
    transition:      background var(--transition), transform var(--transition), box-shadow var(--transition);
    border:          none;
    cursor:          pointer;
    box-shadow:      0 2px 8px rgba(232,160,32,0.35);
}
.ttp-btn:hover, a.ttp-btn:hover {
    background:      var(--color-accent-dk);
    transform:       translateY(-1px);
    box-shadow:      0 4px 14px rgba(196,127,10,0.4);
    color:           #fff !important;
    text-decoration: none !important;
}
.ttp-btn--full { width: 100%; justify-content: center; }
.ttp-btn--outline {
    background:   transparent !important;
    border:       2px solid rgba(255,255,255,0.55) !important;
    color:        #fff !important;
    box-shadow:   none;
}
.ttp-btn--outline:hover {
    background:   rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.9) !important;
    transform:    translateY(-1px);
    box-shadow:   none;
}

/* =============================================================
   VERDICT BADGE
   ============================================================= */
.ttp-badge {
    display:        inline-block;
    background:     var(--color-primary);
    color:          #fff;
    font-family:    var(--font-heading);
    font-size:      0.72rem;
    font-weight:    700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding:        0.22rem 0.65rem;
    border-radius:  4px;
}
.ttp-badge--accent  { background: var(--color-accent); }
.ttp-badge--green   { background: var(--color-positive); }
.ttp-badge--outline { background: transparent; border: 1.5px solid var(--color-primary); color: var(--color-primary); }

/* =============================================================
   CALLOUT BOX
   ============================================================= */
.ttp-callout {
    background:    #EEF4FF;
    border-left:   4px solid var(--color-info);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding:       1rem 1.25rem;
    margin:        2rem 0;
    font-size:     0.95rem;
    line-height:   1.65;
}
.ttp-callout--warning { background: #FFFBEB; border-color: var(--color-warning); }
.ttp-callout--success { background: #F0FDF4; border-color: var(--color-positive); }

/* =============================================================
   SPEC TABLE
   ============================================================= */
.ttp-specs { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.93rem; }
.ttp-specs thead tr th { background: var(--color-primary); color: #fff; font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.65rem 1rem; text-align: left; }
.ttp-specs tbody tr td { padding: 0.6rem 1rem; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.ttp-specs tbody tr:nth-child(even) td { background: var(--color-bg); }
.ttp-specs tbody tr:last-child td { border-bottom: none; }
.ttp-specs td:first-child { font-weight: 600; color: var(--color-primary); width: 38%; }

/* =============================================================
   COMPARISON TABLE
   ============================================================= */
.ttp-compare { overflow-x: auto; margin: 2rem 0; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.ttp-compare table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 560px; }
.ttp-compare thead th { background: var(--color-primary); color: #fff; font-family: var(--font-heading); font-size: 0.82rem; font-weight: 700; padding: 0.75rem 1rem; text-align: center; }
.ttp-compare thead th:first-child { text-align: left; }
.ttp-compare tbody tr td { padding: 0.6rem 1rem; border-bottom: 1px solid var(--color-border); text-align: center; }
.ttp-compare tbody tr td:first-child { text-align: left; font-weight: 600; }
.ttp-compare tbody tr:last-child td { border-bottom: none; }
.ttp-compare tbody tr:nth-child(even) td { background: var(--color-bg); }
.ttp-compare__winner { background: var(--color-accent-lt) !important; }

/* =============================================================
   TABLE OF CONTENTS
   ============================================================= */
.ttp-toc { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin: 0 0 2rem; max-width: 480px; }
.ttp-toc__title { font-family: var(--font-heading); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--color-text-muted); margin: 0 0 0.75rem; }
.ttp-toc ol { margin: 0; padding: 0 0 0 1.2rem; list-style: decimal; }
.ttp-toc ol li { margin-bottom: 0.35rem; font-size: 0.92rem; }
.ttp-toc ol li a { color: var(--color-primary); font-weight: 500; }
.ttp-toc ol li a:hover { color: var(--color-accent-dk); text-decoration: underline; }

/* =============================================================
   AUTHOR BIO
   ============================================================= */
.ttp-author-bio { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.5rem; margin-top: 3rem; }
@media (max-width: 520px) { .ttp-author-bio { flex-direction: column; } }
.ttp-author-bio__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--color-border); }
.ttp-author-bio__name { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--color-primary); margin: 0 0 0.3rem; }
.ttp-author-bio__bio { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; margin: 0; }

/* =============================================================
   TRUST PILLS
   ============================================================= */
.ttp-trust-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.25rem 0; align-items: center; }
.ttp-trust-pill { display: inline-flex; align-items: center; gap: 0.3rem; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 100px; padding: 0.25rem 0.75rem; font-size: 0.78rem; font-weight: 600; color: var(--color-text-muted); }
.ttp-trust-pill--verified { border-color: var(--color-positive); color: var(--color-positive); background: #F0FDF4; }

/* =============================================================
   LEGAL PAGES
   ============================================================= */
.ttp-legal-page { max-width: 820px; margin: 0 auto; padding: 0 1.5rem 4rem; }

.ttp-legal-header {
    background:    var(--color-header-bg);
    color:         #fff;
    padding:       3.5rem 1.5rem 3rem;
    text-align:    center;
    margin-bottom: 3rem;
}
.ttp-legal-header h1 { color: #fff; font-size: 2rem; margin: 0 0 0.5rem; }
.ttp-legal-header .last-updated { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.ttp-legal-section { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-border); }
.ttp-legal-section:last-child { border-bottom: none; }
.ttp-legal-section h2 { font-size: 1.3rem; color: var(--color-primary); margin-bottom: 0.75rem; }
.ttp-legal-section h3 { font-size: 1.05rem; color: var(--color-primary); margin: 1.25rem 0 0.45rem; }
.ttp-legal-section p, .ttp-legal-section li { font-size: 0.96rem; line-height: 1.78; color: #374151; }
.ttp-legal-section ul, .ttp-legal-section ol { padding-left: 1.5rem; margin-bottom: 1em; }
.ttp-legal-section li { margin-bottom: 0.4em; }

.ttp-important-box {
    background:    #FEF9EC;
    border:        1px solid #FDE68A;
    border-left:   4px solid var(--color-warning);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding:       1rem 1.25rem;
    margin:        1.25rem 0;
    font-size:     0.92rem;
    font-weight:   500;
    color:         #78350F;
    line-height:   1.65;
}

/* =============================================================
   ABOUT / E-E-A-T GRID
   ============================================================= */
.ttp-eeat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.ttp-eeat-card { background: var(--color-bg-card); border: 1px solid var(--color-border); border-top: 3px solid var(--color-accent); border-radius: var(--radius); padding: 1.4rem; }
.ttp-eeat-card h3 { font-size: 1rem; margin: 0 0 0.5rem; }
.ttp-eeat-card p { font-size: 0.88rem; color: var(--color-text-muted); margin: 0; line-height: 1.6; }

/* =============================================================
   UTILITY
   ============================================================= */
.ttp-container { max-width: var(--max-site); margin: 0 auto; padding: 0 1.5rem; }
.ttp-section { padding: 4rem 1.5rem; }
.ttp-text-center { text-align: center; }
.ttp-divider { border: none; border-top: 1px solid var(--color-border); margin: 2.5rem 0; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 768px) {
    body { font-size: 16px; }
    .ttp-hero { padding: 3.5rem 1.25rem 3rem; }
    .ttp-hero h1 { font-size: 1.75rem; }
    .ttp-hero__ctas { flex-direction: column; align-items: center; }
    .ttp-summary { padding: 1.25rem; }
    .ttp-summary__product { font-size: 1.25rem; }
    .entry-content h2 { font-size: 1.45rem; }
    .entry-content h3 { font-size: 1.15rem; }
    .ttp-review-grid { grid-template-columns: 1fr; }
    .ttp-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .ttp-hero { padding: 2.5rem 1rem 2rem; }
    .ttp-section { padding: 2.5rem 1rem; }
    .ttp-methodology { padding: 2.5rem 1rem; }
    .ttp-categories { padding: 2.5rem 1rem; }
    .ttp-footer-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   KADENCE GLOBAL VARIABLE MAPPINGS
   Kadence components reference --global-palette* not --color-*.
   Mapping here applies brand colours to all Kadence-generated
   elements (header, nav, buttons, links) without the Customizer.
   ============================================================= */
:root {
    --global-palette1: #1B3A5C;
    --global-palette2: #E8A020;
    --global-palette3: #C47F0A;
    --global-palette4: #0F2440;
    --global-palette5: #F9F9F7;
    --global-palette6: #FFFFFF;
    --global-palette7: #1A1A1A;
    --global-palette8: #6B7280;
    --global-palette9: #FFFFFF;
    --global-body-font-family: 'Inter', system-ui, sans-serif;
    --global-heading-font-family: 'Sora', system-ui, sans-serif;
    --global-content-width: 1200px;
    --global-fallback-font: system-ui, -apple-system, sans-serif;
}

body.ca-site {
    --global-palette1: #CC0000;
    --global-palette2: #CC0000;
    --global-palette3: #990000;
    --global-palette4: #8B0000;
}

/* =============================================================
   KADENCE PALETTE — CORRECTED MAPPING (overrides earlier block)
   Kadence palette1 = primary, palette8 = page BG, palette9 = white.
   ============================================================= */
:root {
    --global-palette1: #1B3A5C;   /* primary — nav hover, highlights */
    --global-palette2: #E8A020;   /* accent — active states, links */
    --global-palette3: #1A1A1A;   /* dark text — headings */
    --global-palette4: #374151;   /* body text */
    --global-palette5: #6B7280;   /* muted / nav links */
    --global-palette6: #9CA3AF;   /* very muted */
    --global-palette7: #E5E7EB;   /* borders / light elements */
    --global-palette8: #F9F9F7;   /* page background */
    --global-palette9: #FFFFFF;   /* white — card/content BG */
    --global-body-font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --global-heading-font-family: 'Sora', system-ui, -apple-system, sans-serif;
    --global-content-width: 1200px;
}

/* CA palette overrides */
body.ca-site {
    --global-palette1: #CC0000;
    --global-palette2: #CC0000;
}

/* =============================================================
   KADENCE ELEMENT OVERRIDES
   Kadence hardcodes some values (e.g. header BG) instead of
   using palette vars — these rules override them directly.
   ============================================================= */

/* Header */
#masthead,
#masthead .site-header-row-container-inner,
.site-main-header-wrap .site-header-row-container-inner,
.site-header-row-container-inner {
    background-color: #0F2440 !important;
}

body.ca-site #masthead,
body.ca-site .site-header-row-container-inner {
    background-color: #8B0000 !important;
}

/* Header logo / site title */
.site-branding .site-title a,
.site-branding .site-title {
    color: #FFFFFF !important;
}

/* Primary nav links */
.main-navigation .primary-menu-container > ul > li.menu-item > a {
    color: rgba(255,255,255,0.85) !important;
}
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container > ul > li.current-menu-item > a {
    color: #FFFFFF !important;
}

/* Mobile menu toggle */
.mobile-toggle-open-container .menu-toggle-open {
    color: #FFFFFF !important;
}

/* Footer */
.site-bottom-footer-wrap,
.site-bottom-footer-wrap .site-footer-row-container-inner,
.site-footer-row-container,
footer.site-footer {
    background-color: #0F2440 !important;
    color: rgba(255,255,255,0.65) !important;
}

body.ca-site .site-bottom-footer-wrap,
body.ca-site .site-footer-row-container {
    background-color: #8B0000 !important;
}

.site-bottom-footer-wrap a,
footer.site-footer a {
    color: rgba(255,255,255,0.7) !important;
}

.site-bottom-footer-wrap a:hover,
footer.site-footer a:hover {
    color: #FFFFFF !important;
}

/* Body background */
body { background-color: #F9F9F7 !important; }

/* =============================================================
   HERO — ANIMATED GRADIENT + DOT-GRID TEXTURE
   ============================================================= */
@keyframes ttp-hero-drift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.ttp-hero {
    background: linear-gradient(135deg,#071524 0%,#0F2440 25%,#1B3A5C 55%,#0D1E35 80%,#071524 100%) !important;
    background-size: 300% 300% !important;
    animation: ttp-hero-drift 16s ease infinite;
}
.ttp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.ttp-hero__stats {
    display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap;
    margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12);
}
.ttp-hero__stat { text-align: center; }
.ttp-hero__stat-num {
    font-family: var(--font-heading); font-size: 2rem; font-weight: 800;
    color: var(--color-accent); display: block; line-height: 1;
}
.ttp-hero__stat-label {
    font-size: 0.75rem; color: rgba(255,255,255,0.58); text-transform: uppercase;
    letter-spacing: 0.07em; margin-top: 0.3rem; display: block;
}

/* =============================================================
   SCROLL-IN ANIMATION
   ============================================================= */
.ttp-animate { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.ttp-animate.ttp-visible { opacity: 1; transform: translateY(0); }
.ttp-animate-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.ttp-animate-stagger.ttp-visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0.05s; }
.ttp-animate-stagger.ttp-visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.12s; }
.ttp-animate-stagger.ttp-visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.19s; }
.ttp-animate-stagger.ttp-visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.26s; }
.ttp-animate-stagger.ttp-visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.33s; }
.ttp-animate-stagger.ttp-visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.40s; }

/* =============================================================
   LATEST REVIEWS STRIP
   ============================================================= */
.ttp-latest-strip { background: var(--color-bg-card); border-bottom: 2px solid var(--color-border); padding: 0.7rem 0; }
.ttp-latest-strip__inner {
    display: flex; align-items: center; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -ms-overflow-style: none;
    gap: 0.75rem; padding: 0.2rem 1.5rem; max-width: var(--max-site); margin: 0 auto;
}
.ttp-latest-strip__inner::-webkit-scrollbar { display: none; }
.ttp-latest-strip__label {
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--color-accent); white-space: nowrap; flex-shrink: 0;
    padding-right: 1rem; border-right: 2px solid var(--color-border); margin-right: 0.25rem;
}
.ttp-latest-chip {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: var(--color-bg); border: 1.5px solid var(--color-border); border-radius: var(--radius);
    padding: 0.45rem 0.85rem; min-width: 190px; max-width: 250px;
    text-decoration: none; flex-shrink: 0; scroll-snap-align: start;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.ttp-latest-chip:hover { border-color: var(--color-accent); box-shadow: 0 2px 12px rgba(0,0,0,.1); transform: translateY(-1px); text-decoration: none; }
.ttp-latest-chip__score {
    width: 34px; height: 34px; border-radius: 50%; background: var(--color-accent); color: #fff;
    font-family: var(--font-heading); font-size: 0.75rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ttp-latest-chip__cat { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--color-text-muted); display: block; margin-bottom: 0.1rem; }
.ttp-latest-chip__title { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; color: var(--color-primary); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* =============================================================
   CATEGORY FILTER TABS
   ============================================================= */
.ttp-cat-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.75rem; align-items: center; }
.ttp-cat-tab {
    display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.42rem 1rem;
    border-radius: 100px; border: 1.5px solid var(--color-border);
    font-family: var(--font-heading); font-size: 0.83rem; font-weight: 600;
    color: var(--color-text-muted); text-decoration: none; background: var(--color-bg-card);
    transition: all var(--transition);
}
.ttp-cat-tab:hover { border-color: var(--color-primary); color: var(--color-primary); text-decoration: none; }
.ttp-cat-tab--active, .ttp-cat-tab.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff !important; text-decoration: none; }

/* =============================================================
   REVIEW CARD — ENHANCED (score circle, image zoom, ribbon)
   ============================================================= */
.ttp-review-card__img-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--color-bg); }
.ttp-review-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.ttp-review-card:hover .ttp-review-card__img-wrap img { transform: scale(1.04); }
.ttp-review-card__score-circle {
    position: absolute; top: 0.7rem; right: 0.7rem;
    width: 48px; height: 48px; border-radius: 50%; background: var(--color-accent); color: #fff;
    font-family: var(--font-heading); font-size: 1rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(232,160,32,0.45);
}
.ttp-review-card__ribbon {
    position: absolute; top: 0.7rem; left: 0.7rem; background: var(--color-primary); color: #fff;
    font-family: var(--font-heading); font-size: 0.62rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.07em; padding: 0.18rem 0.48rem; border-radius: 3px;
}
.ttp-review-card__ribbon--accent { background: var(--color-accent); }

/* =============================================================
   FEATURED REVIEW CARD
   ============================================================= */
.ttp-featured-review {
    display: grid; grid-template-columns: 1.1fr 1fr;
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-card);
    margin-bottom: 2.5rem; min-height: 300px; text-decoration: none;
    transition: box-shadow var(--transition);
}
.ttp-featured-review:hover { box-shadow: 0 8px 32px rgba(0,0,0,.14); text-decoration: none; }
.ttp-featured-review__img { position: relative; overflow: hidden; background: var(--color-bg); min-height: 280px; }
.ttp-featured-review__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.ttp-featured-review:hover .ttp-featured-review__img img { transform: scale(1.04); }
.ttp-featured-review__badge {
    position: absolute; top: 1.25rem; left: 1.25rem; background: var(--color-accent); color: #fff;
    font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; padding: 0.28rem 0.75rem; border-radius: 100px;
}
.ttp-featured-review__body { padding: 2rem 2rem 1.75rem; display: flex; flex-direction: column; justify-content: center; }
.ttp-featured-review__eyebrow { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent); margin-bottom: 0.55rem; }
.ttp-featured-review__title { font-family: var(--font-heading); font-size: 1.45rem; font-weight: 700; color: var(--color-primary); line-height: 1.2; margin: 0 0 0.75rem; }
.ttp-featured-review__score {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: var(--color-accent-lt); border: 1.5px solid var(--color-accent);
    border-radius: var(--radius); padding: 0.35rem 0.8rem; margin-bottom: 0.85rem; width: fit-content;
}
.ttp-featured-review__score-num { font-family: var(--font-heading); font-size: 1.45rem; font-weight: 800; color: var(--color-accent-dk); line-height: 1; }
.ttp-featured-review__score-label { font-size: 0.78rem; color: var(--color-text-muted); font-weight: 600; }
.ttp-featured-review__excerpt { font-size: 0.92rem; line-height: 1.65; color: var(--color-text-muted); margin: 0 0 1.25rem; flex: 1; }
@media (max-width: 720px) {
    .ttp-featured-review { grid-template-columns: 1fr; }
    .ttp-featured-review__img { min-height: 200px; }
}

/* =============================================================
   SCORE BREAKDOWN BARS (RTINGS-style)
   ============================================================= */
.ttp-score-breakdown { margin: 1.75rem 0; }
.ttp-score-breakdown__title { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); margin: 0 0 1rem; }
.ttp-score-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.6rem; }
.ttp-score-row__label { font-size: 0.88rem; font-weight: 600; min-width: 130px; color: var(--color-text); }
.ttp-score-row__bar-wrap { flex: 1; background: var(--color-border); border-radius: 100px; height: 7px; overflow: hidden; }
.ttp-score-row__bar { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-dk) 100%); transition: width 1.2s cubic-bezier(0.25,1,0.5,1); }
.ttp-score-row__val { font-family: var(--font-heading); font-size: 0.88rem; font-weight: 700; color: var(--color-primary); min-width: 32px; text-align: right; }

/* =============================================================
   GOOGLE ADS PLACEHOLDERS (hidden until AdSense approved)
   To activate: change display:none to display:block
   ============================================================= */
.ttp-ad-slot { display: none; text-align: center; margin: 2rem auto; clear: both; }
.ttp-ad-slot--leaderboard { max-width: 728px; min-height: 90px; }
.ttp-ad-slot--rectangle  { max-width: 336px; min-height: 280px; }
.ttp-ad-slot--banner     { max-width: 100%;  min-height: 90px; }

/* =============================================================
   FULL-WIDTH & SECTION UTILITIES
   ============================================================= */
.ttp-full-bleed { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.ttp-section--dark { background: var(--color-header-bg); color: #fff; padding: 4rem 1.5rem; }
.ttp-section--dark h2 { color: #fff; }
.ttp-section--dark p  { color: rgba(255,255,255,0.75); }
.ttp-section--alt     { background: var(--color-bg-card); }

/* =============================================================
   CATEGORY ARCHIVE HEADER
   ============================================================= */
.ttp-archive-header {
    background: linear-gradient(135deg, var(--color-header-bg), var(--color-primary));
    color: #fff; padding: 3.5rem 1.5rem 3rem; text-align: center; margin-bottom: 3rem;
}
.ttp-archive-header h1 { color: #fff; font-size: clamp(1.6rem,4vw,2.4rem); margin: 0 0 0.5rem; }
.ttp-archive-header p  { color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto; }

/* =============================================================
   STICKY TABLE OF CONTENTS
   ============================================================= */
.ttp-toc--sticky { position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--color-border) transparent; }
.ttp-toc ol li a.ttp-toc__active { color: var(--color-accent-dk); font-weight: 700; }

/* =============================================================
   CTA BUTTON PULSE
   ============================================================= */
@keyframes ttp-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(232,160,32,0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(232,160,32,0); }
    100% { box-shadow: 0 0 0 0 rgba(232,160,32,0); }
}
.ttp-btn--pulse { animation: ttp-pulse 2.2s infinite; }

/* ============================================================
   FRONTEND-DESIGN UPGRADE — toptrustedproducts.com
   Precision Editorial — overrides previous component CSS
   ============================================================ */

@keyframes ttp-hero-reveal {
    from { opacity: 0; transform: translateY(28px); filter: blur(3px); }
    to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

@keyframes ttp-hero-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-7px); }
}

@keyframes ttp-streak {
    0%   { transform: translateX(-120%) skewX(-15deg); opacity: 0; }
    15%  { opacity: 0.07; }
    85%  { opacity: 0.07; }
    100% { transform: translateX(220%) skewX(-15deg); opacity: 0; }
}

@keyframes ttp-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.55; transform: scale(0.7); }
}

@keyframes ttp-chip-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* === HERO === */
.ttp-hero {
    background: linear-gradient(135deg,#050e1a 0%,#0b1e35 20%,#1B3A5C 50%,#0a1829 75%,#050e1a 100%) !important;
    background-size: 400% 400% !important;
    animation: ttp-hero-drift 20s ease infinite;
    padding: 6rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 500px;
    display: flex;
    align-items: center;
}
.ttp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.038) 1px, transparent 0);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 0;
}
.ttp-hero::after {
    content: "";
    position: absolute;
    top: -50%; left: -60%;
    width: 40%; height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.055), transparent);
    animation: ttp-streak 9s ease-in-out 2s infinite;
    pointer-events: none;
    z-index: 0;
}
.ttp-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    animation: ttp-hero-float 8s ease-in-out infinite;
}
.ttp-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(232,160,32,0.12);
    border: 1px solid rgba(232,160,32,0.3);
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    animation: ttp-hero-reveal 0.7s ease 0.1s both;
}
.ttp-hero__eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
    box-shadow: 0 0 8px var(--color-accent);
}
.ttp-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5.5vw, 3.4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 1.2rem;
    animation: ttp-hero-reveal 0.7s ease 0.2s both;
}
.ttp-hero p {
    font-size: 1.1rem;
    line-height: 1.72;
    color: rgba(255,255,255,0.72);
    max-width: 580px;
    margin: 0 auto 2.2rem;
    animation: ttp-hero-reveal 0.7s ease 0.3s both;
}
.ttp-hero__ctas { animation: ttp-hero-reveal 0.7s ease 0.4s both; }
.ttp-hero__trust {
    display: flex;
    gap: 1.75rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.76rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.03em;
    animation: ttp-hero-reveal 0.7s ease 0.5s both;
}
.ttp-hero__trust span { display: inline-flex; align-items: center; gap: 0.3rem; }
.ttp-hero__stats {
    display: flex;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: ttp-hero-reveal 0.7s ease 0.6s both;
}
.ttp-hero__stat { text-align: center; padding: 0 2.5rem; border-right: 1px solid rgba(255,255,255,0.1); }
.ttp-hero__stat:last-child { border-right: none; }
.ttp-hero__stat-num {
    font-family: var(--font-heading);
    font-size: 2.4rem; font-weight: 800;
    color: var(--color-accent);
    display: block; line-height: 1;
    letter-spacing: -0.03em;
    text-shadow: 0 0 28px rgba(232,160,32,0.3);
}
.ttp-hero__stat-label {
    font-size: 0.7rem; color: rgba(255,255,255,0.44);
    text-transform: uppercase; letter-spacing: 0.09em;
    margin-top: 0.4rem; display: block;
}

/* === REVIEW CARDS === */
.ttp-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.ttp-review-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s cubic-bezier(0.25,1,0.5,1), transform 0.3s cubic-bezier(0.25,1,0.5,1);
    border: 1px solid var(--color-border);
    position: relative;
}
.ttp-review-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-primary) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
}
.ttp-review-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 16px 40px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}
.ttp-review-card:hover::before { opacity: 1; }

.ttp-review-card__img-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #e8edf2, #d0dae4);
}
.ttp-review-card__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.55s cubic-bezier(0.25,1,0.5,1);
}
.ttp-review-card:hover .ttp-review-card__img-wrap img { transform: scale(1.06); }
.ttp-review-card__img-wrap::after {
    content: "";
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(0,0,0,0.28), transparent);
    pointer-events: none;
}

.ttp-review-card__score-circle {
    position: absolute;
    bottom: -16px; right: 1rem;
    z-index: 3;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dk));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.95rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 3px var(--color-bg-card), 0 4px 12px rgba(232,160,32,0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    letter-spacing: -0.02em;
}
.ttp-review-card:hover .ttp-review-card__score-circle {
    transform: scale(1.1);
    box-shadow: 0 0 0 3px var(--color-bg-card), 0 6px 20px rgba(232,160,32,0.65);
}

.ttp-review-card__ribbon {
    position: absolute; top: 0.75rem; left: 0;
    background: var(--color-primary); color: #fff;
    font-family: var(--font-heading); font-size: 0.58rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.09em;
    padding: 0.22rem 0.7rem 0.22rem 0.5rem;
    clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 50%, 100% 100%, 0 100%);
    z-index: 3;
}
.ttp-review-card__ribbon--accent { background: var(--color-accent); }

.ttp-review-card__body { padding: 1.5rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; margin-top: 0.5rem; }
.ttp-review-card__meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.65rem; flex-wrap: wrap; }
.ttp-review-card__cat {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--color-primary);
    background: rgba(27,58,92,0.08);
    padding: 0.18rem 0.6rem; border-radius: 100px;
    border: 1px solid rgba(27,58,92,0.14);
}
.ttp-review-card__title {
    font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700;
    color: var(--color-primary); margin: 0 0 0.6rem; line-height: 1.3;
}
.ttp-review-card__title a {
    color: inherit; text-decoration: none;
    background-image: linear-gradient(var(--color-accent-dk), var(--color-accent-dk));
    background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
    transition: background-size 0.3s ease;
}
.ttp-review-card__title a:hover { background-size: 100% 1.5px; text-decoration: none; }

.ttp-review-card__excerpt {
    font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.62;
    margin: 0 0 1rem; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ttp-review-card__footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto; padding-top: 0.85rem; border-top: 1px solid var(--color-border);
    font-size: 0.78rem; color: var(--color-text-muted);
}
.ttp-read-more {
    font-size: 0.8rem; font-weight: 700; color: var(--color-primary);
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem;
    transition: gap 0.2s ease, color 0.2s ease;
}
.ttp-read-more:hover { color: var(--color-accent-dk); gap: 0.5rem; text-decoration: none; }

/* === LATEST STRIP === */
.ttp-latest-strip {
    background: var(--color-header-bg);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0;
    position: relative;
    overflow: hidden;
}
.ttp-latest-strip::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-accent) 40%, transparent 100%);
    opacity: 0.55;
}
.ttp-latest-strip__inner {
    display: flex; align-items: center;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -ms-overflow-style: none;
    padding: 0.55rem 0;
    max-width: 100%;
}
.ttp-latest-strip__inner::-webkit-scrollbar { display: none; }

.ttp-latest-strip__label {
    font-family: var(--font-heading);
    font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--color-accent);
    white-space: nowrap; flex-shrink: 0;
    padding: 0 1.25rem;
    display: flex; align-items: center; gap: 0.6rem;
    border-right: 1px solid rgba(255,255,255,0.1);
    min-height: 40px;
}
.ttp-latest-strip__label::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 8px var(--color-accent);
    flex-shrink: 0;
    animation: ttp-pulse-dot 2s ease infinite;
}

.ttp-latest-chip {
    display: inline-flex; align-items: center; gap: 0.7rem;
    padding: 0.5rem 1.1rem;
    min-width: 200px; max-width: 260px;
    text-decoration: none; flex-shrink: 0; scroll-snap-align: start;
    border-right: 1px solid rgba(255,255,255,0.06);
    position: relative; overflow: hidden;
    transition: background 0.2s ease;
}
.ttp-latest-chip:hover { background: rgba(255,255,255,0.05); text-decoration: none; }
.ttp-latest-chip__score {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dk));
    color: #fff; font-family: var(--font-heading); font-size: 0.7rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(232,160,32,0.38);
}
.ttp-latest-chip__cat {
    font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
    color: rgba(255,255,255,0.36); display: block; margin-bottom: 0.2rem;
}
.ttp-latest-chip__title {
    font-family: var(--font-heading); font-size: 0.76rem; font-weight: 700;
    color: rgba(255,255,255,0.82); display: block;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: color 0.2s ease;
}
.ttp-latest-chip:hover .ttp-latest-chip__title { color: #fff; }

/* === CATEGORY CARDS === */
.ttp-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.ttp-cat-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); padding: 2rem 1.25rem 1.75rem;
    text-align: center; text-decoration: none; position: relative; overflow: hidden;
    transition: box-shadow 0.3s cubic-bezier(0.25,1,0.5,1), transform 0.3s cubic-bezier(0.25,1,0.5,1), border-color 0.25s ease;
}
.ttp-cat-card::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(27,58,92,0.04) 0%, rgba(232,160,32,0.06) 100%);
    opacity: 0; transition: opacity 0.3s ease;
}
.ttp-cat-card::after {
    content: "";
    position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%; height: 2.5px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    border-radius: 2px 2px 0 0;
    transition: transform 0.3s cubic-bezier(0.25,1,0.5,1);
}
.ttp-cat-card:hover { border-color: rgba(232,160,32,0.35); box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 0 0 1px rgba(232,160,32,0.1); transform: translateY(-3px); text-decoration: none; }
.ttp-cat-card:hover::before { opacity: 1; }
.ttp-cat-card:hover::after  { transform: translateX(-50%) scaleX(1); }
.ttp-cat-card__icon {
    font-size: 2.4rem; margin-bottom: 0.75rem; line-height: 1; display: block;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
    position: relative; z-index: 1;
}
.ttp-cat-card:hover .ttp-cat-card__icon { transform: scale(1.18) translateY(-3px); }
.ttp-cat-card__name {
    font-family: var(--font-heading); font-size: 0.92rem; font-weight: 700;
    color: var(--color-primary); margin: 0 0 0.35rem;
    position: relative; z-index: 1; transition: color 0.2s ease;
}
.ttp-cat-card:hover .ttp-cat-card__name { color: var(--color-accent-dk); }
.ttp-cat-card__count { font-size: 0.75rem; color: var(--color-text-muted); position: relative; z-index: 1; line-height: 1.4; }

/* === SCORE SUMMARY BOX === */
.ttp-summary {
    background: linear-gradient(135deg, #fff 0%, rgba(255,243,220,0.3) 100%);
    border: none;
    border-radius: var(--radius-xl);
    padding: 1.75rem 2rem 1.75rem 2.25rem;
    margin: 0 0 2.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}
.ttp-summary::before {
    content: "";
    position: absolute; top: 0; left: 0; bottom: 0; width: 5px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-primary) 60%, var(--color-accent-dk) 100%);
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}
.ttp-summary::after {
    content: "";
    position: absolute; top: 0; left: 5px; right: 0; height: 1px;
    background: linear-gradient(90deg, rgba(232,160,32,0.4), transparent 60%);
}
.ttp-summary__badge {
    display: inline-flex; align-items: center; gap: 0.35rem;
    background: var(--color-primary); color: #fff;
    font-family: var(--font-heading); font-size: 0.6rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    padding: 0.24rem 0.7rem; border-radius: 3px;
    margin-bottom: 0.85rem;
}
.ttp-summary__badge--accent { background: var(--color-accent); }
.ttp-summary__product {
    font-family: var(--font-heading); font-size: 1.55rem; font-weight: 700;
    color: var(--color-primary); margin: 0 0 0.7rem; line-height: 1.2; letter-spacing: -0.02em;
}
.ttp-summary__rating-row { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 1.1rem; flex-wrap: wrap; }
.ttp-summary__verdict {
    font-size: 0.97rem; line-height: 1.7; color: var(--color-text);
    margin: 0 0 1.4rem;
    padding: 0.9rem 1.1rem;
    background: rgba(27,58,92,0.04);
    border-left: 3px solid var(--color-accent);
    border-radius: 0 var(--radius) var(--radius) 0;
}
body.ca-site .ttp-summary::before { background: linear-gradient(180deg, #CC0000 0%, #8B0000 60%, #CC0000 100%); }
body.ca-site .ttp-summary__verdict { border-color: #CC0000; }

/* =============================================================
   HIDE KADENCE PAGE TITLE ON HOMEPAGE
   ============================================================= */
.home .entry-hero-container-inner,
.home .entry-hero,
.home .page-title-section,
.home .entry-header:not(.site-header-inner) {
    display: none !important;
}

/* =============================================================
   SINGLE REVIEW POST — featured image: show full, no crop
   Cards use object-fit:cover; single posts should show whole image
   ============================================================= */
.single-post .post-thumbnail,
.single-post .post-thumbnail figure,
.single-post .post-thumbnail-wrap {
    aspect-ratio: unset !important;
    height: auto !important;
    overflow: visible !important;
}
.single-post .post-thumbnail img,
.single-post .wp-post-image {
    object-fit: contain !important;
    height: auto !important;
    max-height: none !important;
    width: 100%;
    background: var(--color-bg);
    border-radius: var(--radius);
}

/* =============================================================
   LATEST STRIP — light background, dark readable text
   Fixes white-on-unknown-bg readability issue
   ============================================================= */
.ttp-latest-strip {
    background: var(--color-bg-card) !important;
    border-top: 3px solid var(--color-accent);
    border-bottom: 1px solid var(--color-border) !important;
}
.ttp-latest-strip::before { display: none; }
.ttp-latest-strip__label {
    color: var(--color-accent) !important;
    border-right-color: var(--color-border) !important;
    min-height: 36px;
}
.ttp-latest-chip {
    border-right-color: var(--color-border) !important;
}
.ttp-latest-chip:hover { background: var(--color-bg) !important; }
.ttp-latest-chip__score {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dk)) !important;
    box-shadow: 0 2px 6px rgba(232,160,32,0.3) !important;
}
.ttp-latest-chip__cat  { color: var(--color-text-muted) !important; }
.ttp-latest-chip__title { color: var(--color-primary) !important; }
.ttp-latest-chip:hover .ttp-latest-chip__title { color: var(--color-accent-dk) !important; }

/* =============================================================
   CA SITE — STRENGTHENED HEADER / FOOTER OVERRIDES
   ============================================================= */
body.ca-site #masthead,
body.ca-site #masthead .site-header-row-container-inner,
body.ca-site .site-main-header-wrap .site-header-row-container-inner,
body.ca-site .site-header-row-container-inner,
body.ca-site .site-header-row-container,
body.ca-site header.site-header,
body.ca-site .site-header {
    background-color: #8B0000 !important;
    background: #8B0000 !important;
}

body.ca-site .site-bottom-footer-wrap,
body.ca-site .site-bottom-footer-wrap .site-footer-row-container-inner,
body.ca-site .site-footer-row-container,
body.ca-site .site-footer-row-container-inner,
body.ca-site footer.site-footer,
body.ca-site .site-footer {
    background-color: #8B0000 !important;
    background: #8B0000 !important;
}

/* =============================================================
   HIDE PAGE TITLES ON STATIC PAGES (CSS fallback + Kadence meta)
   IDs: 97=Disclosure, 98=Terms, 99=About, 100=Contact, 3=Privacy, 150=CA Home
   ============================================================= */
.page-id-97  .entry-hero, .page-id-97  .page-title-wrap,
.page-id-97  .entry-header:not(.site-header-inner),
.page-id-98  .entry-hero, .page-id-98  .page-title-wrap,
.page-id-98  .entry-header:not(.site-header-inner),
.page-id-99  .entry-hero, .page-id-99  .page-title-wrap,
.page-id-99  .entry-header:not(.site-header-inner),
.page-id-100 .entry-hero, .page-id-100 .page-title-wrap,
.page-id-100 .entry-header:not(.site-header-inner),
.page-id-3   .entry-hero, .page-id-3   .page-title-wrap,
.page-id-3   .entry-header:not(.site-header-inner),
.page-id-150 .entry-hero, .page-id-150 .page-title-wrap,
.page-id-150 .entry-header:not(.site-header-inner) {
    display: none !important;
}

/* =============================================================
   LATEST STRIP — explicit background so chips are always readable
   Light strip (white bg + dark text) already set above.
   This just reinforces the chip text is always dark on light bg.
   ============================================================= */
.ttp-latest-strip,
.ttp-latest-strip .ttp-latest-strip__inner {
    background: #FFFFFF !important;
}
.ttp-latest-strip__label { color: var(--color-accent) !important; }
.ttp-latest-chip__cat    { color: #6B7280 !important; }
.ttp-latest-chip__title  { color: var(--color-primary) !important; }

/* =============================================================
   LAYOUT FIX — Content centering and page layout
   Root cause: .entry-content max-width:780px was constraining
   hero, grids, and legal sections to a narrow strip inside the
   wide white box. Pages now let each section self-manage width.
   ============================================================= */

/* White page background — eliminates the grey/white-box nesting visual */
body { background-color: #FFFFFF !important; }

/* Remove content-area vertical gap so hero starts flush below the strip */
.content-area {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove article drop shadow (invisible on white-on-white anyway) */
.entry.single-entry,
.entry.loop-entry {
    box-shadow: none !important;
}

/* Pages: remove entry-content-wrap padding + entry-content width cap.
   .ttp-hero, .ttp-categories, .ttp-legal-page, etc. each carry their
   own padding and max-width — the wrapper should not override them. */
.page .entry-content-wrap {
    padding: 0 !important;
}
.page .entry-content {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Single review posts: keep a comfortable 780px reading column */
.single-post .entry-content-wrap {
    padding: 2rem !important;
}
.single-post .entry-content {
    max-width: var(--max-content) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
