/* ==========================================================================
   EIRTHUM - SPICE BRAND COMPARISON PAGE STYLES
   Aesthetic: Linen Cream (#fbfaf6), Deep Forest Emerald (#123321, #188a53), Warm Terroir Gold (#cda34f)
   ========================================================================== */

.sbc-page {
    background: #fbfaf6;
    color: #123321;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

.sbc-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- HERO SECTION --- */
.sbc-hero {
    padding: 4.5rem 0 3.5rem;
    background: linear-gradient(180deg, #f2efe4 0%, #fbfaf6 100%);
    position: relative;
    border-bottom: 1px solid #e5dfd0;
}

.sbc-hero-content {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.sbc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eef5f0;
    border: 1px solid #cbe0d3;
    color: #188a53;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 1.25rem;
}

.sbc-badge-gold {
    background: #fcf6e8;
    border-color: #ebd6a9;
    color: #9a7322;
}

.sbc-hero h1 {
    font-family: 'Playfair Display', 'Lora', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.18;
    color: #123321;
    margin: 0 0 1.5rem;
    letter-spacing: -0.015em;
}

.sbc-hero h1 span {
    color: #188a53;
    font-style: italic;
    font-weight: 400;
}

.sbc-hero-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #4a6356;
    margin: 0 auto 2.5rem;
    max-width: 820px;
}

/* Quick Jump Navigation */
.sbc-quick-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 3rem;
}

.sbc-quick-link {
    background: #ffffff;
    border: 1.5px solid #dcd5c5;
    color: #1f4230;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(18, 51, 33, 0.04);
}

.sbc-quick-link:hover {
    background: #123321;
    color: #ffffff;
    border-color: #123321;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(18, 51, 33, 0.15);
}

/* Trust Proof Bar */
.sbc-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    background: #ffffff;
    border-radius: 20px;
    padding: 1.75rem 2rem;
    border: 1.5px solid #e3ded2;
    box-shadow: 0 8px 30px rgba(18, 51, 33, 0.05);
    text-align: center;
}

.sbc-trust-item {
    position: relative;
}

.sbc-trust-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.625rem;
    top: 15%;
    height: 70%;
    width: 1px;
    background: #e5dfd0;
}

.sbc-trust-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #188a53;
    line-height: 1.1;
    margin-bottom: 4px;
}

.sbc-trust-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #556d61;
    line-height: 1.35;
}

/* --- SECTION GENERAL STYLES --- */
.sbc-section {
    padding: 4.5rem 0;
    position: relative;
}

.sbc-section:nth-child(even) {
    background: #ffffff;
}

.sbc-section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3rem;
}

.sbc-section-header h2 {
    font-family: 'Playfair Display', 'Lora', Georgia, serif;
    font-size: 2.35rem;
    font-weight: 700;
    line-height: 1.25;
    color: #123321;
    margin: 0.75rem 0 1rem;
}

.sbc-section-header h2 span {
    color: #188a53;
    font-style: italic;
    font-weight: 400;
}

.sbc-section-header p {
    font-size: 1.05rem;
    color: #556d61;
    line-height: 1.68;
    margin: 0;
}

/* --- MASTER COMPARISON TABLE --- */
.sbc-table-container {
    background: #ffffff;
    border-radius: 22px;
    border: 1.5px solid #e5dfd0;
    box-shadow: 0 12px 40px rgba(18, 51, 33, 0.06);
    overflow: hidden;
    margin-bottom: 2rem;
}

.sbc-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sbc-comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 900px;
}

.sbc-comparison-table thead th {
    background: #f7f5ed;
    color: #123321;
    padding: 1.25rem 1.15rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 2px solid #dfd8c7;
    position: sticky;
    top: 0;
    z-index: 10;
}

.sbc-comparison-table thead th.sbc-th-highlight {
    background: #123321;
    color: #ffffff;
    position: relative;
    border-bottom: 2px solid #123321;
}

.sbc-th-badge {
    display: block;
    font-size: 0.68rem;
    color: #fde047;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 2px;
}

.sbc-comparison-table tbody tr {
    border-bottom: 1px solid #efebe0;
    transition: background 0.15s ease;
}

.sbc-comparison-table tbody tr:hover {
    background: #faf8f2;
}

.sbc-comparison-table tbody td {
    padding: 1.2rem 1.15rem;
    font-size: 0.88rem;
    color: #4a6356;
    vertical-align: middle;
}

.sbc-comparison-table tbody td.sbc-td-feature {
    font-weight: 700;
    color: #123321;
    font-size: 0.92rem;
    width: 22%;
}

.sbc-feature-desc {
    display: block;
    font-size: 0.74rem;
    font-weight: 400;
    color: #7b9286;
    margin-top: 3px;
    line-height: 1.35;
}

.sbc-comparison-table tbody td.sbc-td-eirthum {
    background: rgba(24, 138, 83, 0.06);
    color: #123321;
    font-weight: 600;
    border-left: 2px solid #188a53;
    border-right: 2px solid #188a53;
}

.sbc-tag-pass {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0e6b3f;
    background: #e4f5ec;
    border: 1px solid #bce6d0;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.sbc-tag-warn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #a65800;
    background: #fff4e5;
    border: 1px solid #fedbb0;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.sbc-tag-fail {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #b91c1c;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 4px;
}

/* --- SPICE BY SPICE COMPARISON CARDS --- */
.sbc-spice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.sbc-spice-card {
    background: #ffffff;
    border: 1.5px solid #e5dfd0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(18, 51, 33, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.sbc-spice-card:hover {
    transform: translateY(-4px);
    border-color: #188a53;
    box-shadow: 0 16px 36px rgba(18, 51, 33, 0.1);
}

.sbc-spice-card-header {
    padding: 1.5rem 1.75rem 1rem;
    background: linear-gradient(135deg, #fbfaf6 0%, #f4f1e6 100%);
    border-bottom: 1px solid #ebd6a9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sbc-spice-card-title-group h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #123321;
    margin: 0 0 2px;
}

.sbc-spice-card-origin {
    font-size: 0.8rem;
    color: #188a53;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sbc-spice-badge {
    background: #123321;
    color: #fde047;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.sbc-spice-card-body {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 1;
}

.sbc-vs-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: #fbfaf6;
    border-radius: 14px;
    padding: 1.15rem;
    border: 1px solid #ebd6a9;
}

.sbc-vs-col-eirthum {
    border-right: 1px dashed #dcd5c5;
    padding-right: 0.75rem;
}

.sbc-vs-col-others {
    padding-left: 0.25rem;
}

.sbc-vs-heading {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sbc-vs-col-eirthum .sbc-vs-heading {
    color: #188a53;
}

.sbc-vs-col-others .sbc-vs-heading {
    color: #9a4c18;
}

.sbc-vs-text {
    font-size: 0.84rem;
    line-height: 1.5;
    color: #4a6356;
    margin: 0;
}

.sbc-spice-card-footer {
    padding: 1rem 1.75rem;
    background: #faf8f2;
    border-top: 1px solid #efebe0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sbc-spice-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #188a53;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}

.sbc-spice-card-btn:hover {
    color: #123321;
}

/* --- 1-ON-1 MATCHUPS DIRECTORY SECTION --- */
.sbc-matchups-section {
    padding: 4.5rem 0;
    background: #fbfaf6;
    border-top: 1.5px solid #ece6d8;
    border-bottom: 1.5px solid #ece6d8;
}

.sbc-matchups-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sbc-matchup-group-card {
    background: #ffffff;
    border: 1.5px solid #e5dfd0;
    border-radius: 20px;
    padding: 2rem 2.25rem;
    box-shadow: 0 8px 24px rgba(18, 51, 33, 0.03);
}

.sbc-matchup-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid #eef5f0;
}

.sbc-matchup-group-header h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #123321;
    margin: 0;
}

.sbc-matchup-group-count {
    font-size: 0.75rem;
    font-weight: 800;
    color: #188a53;
    background: #eaf5ee;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.sbc-matchup-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (max-width: 768px) {
    .sbc-matchup-links-grid {
        grid-template-columns: 1fr;
    }
    .sbc-matchup-group-card {
        padding: 1.5rem 1.25rem;
    }
}

.sbc-matchup-link-card {
    background: #faf8f2;
    border: 1.5px solid #e8e2d4;
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.sbc-matchup-link-card:hover {
    background: #ffffff;
    border-color: #188a53;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(24, 138, 83, 0.1);
}

.sbc-matchup-versus-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 800;
    color: #8b6030;
    background: #fbf0df;
    padding: 3px 9px;
    border-radius: 8px;
    letter-spacing: 0.04em;
    margin-bottom: 0.65rem;
}

.sbc-matchup-link-card h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #123321;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.sbc-vs-inline {
    font-size: 0.82rem;
    color: #8b6030;
    font-weight: 600;
    font-style: italic;
    padding: 0 3px;
}

.sbc-matchup-link-summary {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #556d61;
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sbc-matchup-link-footer {
    display: flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #188a53;
    margin-top: auto;
    transition: color 0.2s;
}

.sbc-matchup-link-card:hover .sbc-matchup-link-footer {
    color: #0e5b35;
}

.sbc-card-matchup-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #ebd6a9;
}

.sbc-card-matchup-pills span {
    font-size: 0.72rem;
    font-weight: 700;
    color: #6a8276;
    text-transform: uppercase;
    margin-right: 2px;
}

.sbc-card-matchup-pills a {
    font-size: 0.75rem;
    font-weight: 700;
    color: #188a53;
    background: #ffffff;
    border: 1px solid #cbe0d3;
    padding: 3px 10px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sbc-card-matchup-pills a:hover {
    background: #188a53;
    color: #ffffff;
    border-color: #188a53;
}

.sbc-matchup-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #6a8276;
    text-transform: uppercase;
}

.sbc-pill-link {
    font-size: 0.74rem;
    font-weight: 700;
    color: #188a53;
    background: #ffffff;
    border: 1px solid #cbe0d3;
    padding: 3px 9px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.sbc-pill-link:hover {
    background: #188a53;
    color: #ffffff;
    border-color: #188a53;
}

/* --- COMPETITOR BRAND PROFILES --- */
.sbc-brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.sbc-brand-card {
    background: #ffffff;
    border: 1.5px solid #e5dfd0;
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 6px 20px rgba(18, 51, 33, 0.03);
    display: flex;
    flex-direction: column;
}

.sbc-brand-card.sbc-brand-card-eirthum {
    border-color: #188a53;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8f5 100%);
    box-shadow: 0 12px 36px rgba(24, 138, 83, 0.12);
    position: relative;
}

.sbc-brand-card-eirthum::before {
    content: '★ #1 RECOMMENDED FOR PURITY';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #188a53;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 3px 12px;
    border-radius: 12px;
    white-space: nowrap;
}

.sbc-brand-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #123321;
}

.sbc-brand-type {
    font-size: 0.78rem;
    font-weight: 700;
    color: #7b9286;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    display: block;
}

.sbc-brand-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #556d61;
    margin: 0 0 1.25rem;
    flex: 1;
}

.sbc-brand-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sbc-brand-points li {
    font-size: 0.82rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.sbc-brand-points li.pro {
    color: #188a53;
}

.sbc-brand-points li.con {
    color: #a65800;
}

/* --- DIY KITCHEN TESTS SECTION --- */
.sbc-tests-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.sbc-test-card {
    background: #ffffff;
    border: 1.5px solid #e3ded2;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: left;
    box-shadow: 0 6px 18px rgba(18, 51, 33, 0.03);
    transition: transform 0.2s ease;
}

.sbc-test-card:hover {
    transform: translateY(-3px);
    border-color: #188a53;
}

.sbc-test-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.sbc-test-card h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #123321;
    margin: 0 0 0.65rem;
}

.sbc-test-desc {
    font-size: 0.85rem;
    color: #556d61;
    line-height: 1.55;
    margin: 0 0 1rem;
}

.sbc-test-result {
    background: #fbfaf6;
    border: 1px solid #ebd6a9;
    border-radius: 10px;
    padding: 0.75rem;
    font-size: 0.78rem;
    line-height: 1.45;
}

.sbc-test-result strong {
    color: #188a53;
    display: block;
    margin-bottom: 2px;
}

/* --- FAQ SECTION --- */
.sbc-faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sbc-faq-item {
    background: #ffffff;
    border: 1.5px solid #e3ded2;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 4px 14px rgba(18, 51, 33, 0.02);
}

.sbc-faq-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #123321;
    margin: 0 0 0.65rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sbc-faq-item p {
    font-size: 0.92rem;
    color: #556d61;
    line-height: 1.6;
    margin: 0;
}

/* --- FINAL CTA BANNER --- */
.sbc-cta-banner {
    background: linear-gradient(135deg, #123321 0%, #1a4a30 100%);
    border-radius: 24px;
    padding: 3.5rem 2rem;
    text-align: center;
    color: #ffffff;
    margin-bottom: 4.5rem;
    box-shadow: 0 16px 48px rgba(18, 51, 33, 0.2);
    position: relative;
    overflow: hidden;
}

.sbc-cta-banner h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.35rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.sbc-cta-banner p {
    font-size: 1.1rem;
    color: #d1e5db;
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.sbc-cta-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sbc-btn-primary {
    background: #fde047;
    color: #123321;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.95rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(253, 224, 71, 0.3);
}

.sbc-btn-primary:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
}

.sbc-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.95rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.sbc-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .sbc-hero h1 {
        font-size: 2.35rem;
    }

    .sbc-spice-grid {
        grid-template-columns: 1fr;
    }

    .sbc-brand-grid {
        grid-template-columns: 1fr;
    }

    .sbc-tests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sbc-hero {
        padding: 2.5rem 0 2rem;
    }

    .sbc-hero h1 {
        font-size: 1.85rem;
    }

    .sbc-hero-lead {
        font-size: 0.98rem;
    }

    .sbc-trust-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.25rem 1rem;
    }

    .sbc-trust-item:not(:last-child)::after {
        display: none;
    }

    .sbc-trust-num {
        font-size: 1.5rem;
    }

    .sbc-section {
        padding: 2.5rem 0;
    }

    .sbc-section-header h2 {
        font-size: 1.75rem;
    }

    .sbc-vs-box {
        grid-template-columns: 1fr;
    }

    .sbc-vs-col-eirthum {
        border-right: none;
        border-bottom: 1px dashed #dcd5c5;
        padding-right: 0;
        padding-bottom: 0.75rem;
    }

    .sbc-vs-col-others {
        padding-left: 0;
        padding-top: 0.25rem;
    }

    .sbc-tests-grid {
        grid-template-columns: 1fr;
    }

    .sbc-cta-banner {
        padding: 2.25rem 1.25rem;
        border-radius: 18px;
    }

    .sbc-cta-banner h2 {
        font-size: 1.65rem;
    }

    .sbc-cta-btns {
        flex-direction: column;
    }

    .sbc-btn-primary, .sbc-btn-secondary {
        width: 100%;
        text-align: center;
    }
}
