/* ==========================================================================
   RADIANCE SPA & MASSAGE CENTER - MASSAGE KNOWLEDGE HUB STYLESHEET
   Non-Promotional, Educational Long-Form Reading System
   Royal Emerald (#101c12) & Champagne Gold (#D4AF37) Design Language
   ========================================================================== */

/* 1. LAYOUT & READING CONTAINER */
.content-page-body {
    background-color: #FAF8F5;
    color: #2b3329;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.75;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.content-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 30px 20px 80px;
}

.hub-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 90px;
}

/* 2. BREADCRUMBS */
.content-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
    color: #788273;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.content-breadcrumb a {
    color: #1a2d1d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.content-breadcrumb a:hover {
    color: #C59D2E;
}

.content-breadcrumb .separator {
    font-size: 0.65rem;
    color: #aaa;
}

.content-breadcrumb .current {
    color: #8c7638;
    font-weight: 500;
}

/* 3. ARTICLE HEADER */
.content-article-header {
    margin-bottom: 30px;
}

.content-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 28, 18, 0.08);
    color: #1a2d1d;
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.content-article-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 2.9rem);
    line-height: 1.2;
    color: #101c12;
    margin: 0 0 16px;
    font-weight: 700;
}

.content-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 0.82rem;
    color: #6a7465;
    padding-bottom: 18px;
    border-bottom: 1px solid #e7e3d9;
}

.content-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 4. DIRECT ANSWER FEATURED SNIPPET BOX */
.direct-answer-box {
    background: #ffffff;
    border-left: 4px solid #D4AF37;
    border-radius: 0 14px 14px 0;
    padding: 22px 24px;
    margin: 28px 0 35px;
    box-shadow: 0 6px 20px rgba(16, 28, 18, 0.04);
}

.direct-answer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #947118;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.direct-answer-text {
    font-size: 1.12rem;
    line-height: 1.65;
    color: #1a2d1d;
    font-weight: 500;
    margin: 0;
}

/* 5. KEY TAKEAWAYS / QUICK METRICS CARD */
.key-takeaways-card {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 22px;
    margin: 30px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.key-takeaways-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #101c12;
    margin: 0 0 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.key-takeaways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.takeaway-pill {
    background: #FAF8F5;
    border: 1px solid #ebe6dc;
    border-radius: 10px;
    padding: 10px 14px;
}

.takeaway-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8c7638;
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
}

.takeaway-value {
    font-size: 0.92rem;
    color: #1a2d1d;
    font-weight: 600;
}

/* 6. TYPOGRAPHY & SECTION HEADINGS */
.content-body h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.85rem;
    color: #101c12;
    margin: 42px 0 16px;
    font-weight: 700;
    line-height: 1.25;
    padding-bottom: 8px;
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.2);
}

.content-body h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem;
    color: #1a2d1d;
    margin: 28px 0 12px;
    font-weight: 700;
}

.content-body p {
    font-size: 1.04rem;
    line-height: 1.8;
    color: #384236;
    margin: 0 0 20px;
}

.content-body ul, .content-body ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.content-body li {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #384236;
    margin-bottom: 8px;
}

/* 7. COMPARISON TABLES */
.content-table-wrap {
    overflow-x: auto;
    margin: 28px 0 35px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
    text-align: left;
}

.content-table th {
    background: #101c12;
    color: #ECC880;
    padding: 14px 18px;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #D4AF37;
}

.content-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #eeebe3;
    color: #333;
    vertical-align: top;
    line-height: 1.6;
}

.content-table tr:last-child td {
    border-bottom: none;
}

.content-table tr:nth-child(even) {
    background-color: #FAF8F5;
}

/* 8. RESPONSIBLE SAFETY CALLOUT */
.safety-callout {
    background: #fdfaf6;
    border: 1px solid #ebd3c2;
    border-left: 4px solid #b35924;
    border-radius: 0 12px 12px 0;
    padding: 20px 22px;
    margin: 32px 0;
}

.safety-callout-title {
    color: #8c3f14;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
}

.safety-callout p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #55443a;
    margin: 0;
}

/* 9. INTERACTIVE FAQ ACCORDION */
.content-faq-section {
    margin: 45px 0;
}

.content-faq-item {
    background: #ffffff;
    border: 1px solid #e3ded4;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.content-faq-item:hover {
    border-color: #D4AF37;
}

.content-faq-question {
    padding: 18px 22px;
    font-weight: 700;
    color: #101c12;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.02rem;
    user-select: none;
}

.content-faq-question i {
    color: #C59D2E;
    transition: transform 0.3s ease;
}

.content-faq-answer {
    display: none;
    padding: 0 22px 20px;
    color: #444e42;
    line-height: 1.7;
    font-size: 0.96rem;
    border-top: 1px solid #f2eee6;
    padding-top: 14px;
}

/* 10. CONTEXTUAL SERVICE LINK (SUBTLE, NON-INTRUSIVE) */
.contextual-service-box {
    background: linear-gradient(135deg, rgba(16, 28, 18, 0.04) 0%, rgba(212, 175, 55, 0.08) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 14px;
    padding: 22px 25px;
    margin: 40px 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.contextual-service-text h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: #101c12;
    margin: 0 0 4px;
    font-weight: 700;
}

.contextual-service-text p {
    font-size: 0.88rem;
    color: #555e53;
    margin: 0;
    line-height: 1.5;
}

.contextual-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #101c12;
    color: #ECC880;
    border: 1px solid #D4AF37;
    padding: 9px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.contextual-service-link:hover {
    background: #1a2d1d;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 28, 18, 0.2);
}

/* 11. RELATED CONTENT GRID */
.related-articles-section {
    margin: 50px 0 30px;
    padding-top: 30px;
    border-top: 1.5px solid rgba(212, 175, 55, 0.25);
}

.related-articles-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: #101c12;
    margin: 0 0 20px;
    font-weight: 700;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.related-article-card {
    background: #ffffff;
    border: 1px solid #e7e3d9;
    border-radius: 12px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.related-article-card:hover {
    border-color: #D4AF37;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 28, 18, 0.06);
}

.related-card-category {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8c7638;
    font-weight: 700;
    margin-bottom: 8px;
}

.related-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: #101c12;
    margin: 0 0 10px;
    font-weight: 700;
    line-height: 1.3;
}

.related-card-cta {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a2d1d;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.related-article-card:hover .related-card-cta {
    color: #C59D2E;
}

/* 12. KNOWLEDGE HUB LANDING PAGE SPECIFIC */
.hub-hero {
    text-align: center;
    padding: 60px 20px 45px;
    background: linear-gradient(135deg, #101c12 0%, #1a2d1d 100%);
    color: #FAF8F5;
    border-radius: 20px;
    margin-bottom: 45px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hub-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #ECC880;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hub-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    margin: 0 0 16px;
    line-height: 1.15;
    color: #ffffff;
    font-weight: 700;
}

.hub-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 760px;
    margin: 0 auto 30px;
    color: #c9d2c6;
    line-height: 1.7;
}

.hub-search-box-wrap {
    max-width: 580px;
    margin: 0 auto;
    position: relative;
}

.hub-search-input {
    width: 100%;
    padding: 15px 22px 15px 50px;
    border-radius: 30px;
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    background: #ffffff;
    font-size: 0.98rem;
    color: #222;
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.hub-search-input:focus {
    border-color: #D4AF37;
    box-shadow: 0 8px 35px rgba(212, 175, 55, 0.25);
}

.hub-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 1.05rem;
}

.hub-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.hub-pill {
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1.2px solid rgba(16, 28, 18, 0.15);
    background: #ffffff;
    color: #1a2d1d;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hub-pill:hover, .hub-pill.active {
    background: #101c12;
    color: #ECC880;
    border-color: #101c12;
    box-shadow: 0 4px 12px rgba(16, 28, 18, 0.15);
}

.hub-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.hub-card {
    background: #ffffff;
    border: 1.2px solid rgba(212, 175, 55, 0.22);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(16, 28, 18, 0.03);
    text-decoration: none;
    color: inherit;
}

.hub-card:hover {
    border-color: #D4AF37;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(16, 28, 18, 0.08);
}

.hub-card-cat {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #8c7638;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hub-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    color: #101c12;
    margin: 0 0 10px;
    font-weight: 700;
    line-height: 1.3;
}

.hub-card-excerpt {
    font-size: 0.9rem;
    color: #555e53;
    line-height: 1.6;
    margin: 0 0 16px;
}

.hub-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f0ece3;
    font-size: 0.8rem;
    color: #777;
}

.hub-card-readmore {
    color: #1a2d1d;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hub-card:hover .hub-card-readmore {
    color: #C59D2E;
}

/* 13. RESPONSIVE ADJUSTMENTS */
@media (max-width: 767px) {
    .hide-mobile { display: none !important; }
    .main-header .nav-extra-link,
    header.sticky-header .nav-extra-link { display: none !important; }
    .content-wrapper { padding: 20px 16px 60px; }
    .content-article-title { font-size: 1.85rem; }
    .content-body h2 { font-size: 1.5rem; }
    .content-body h3 { font-size: 1.25rem; }
    .content-body p, .content-body li { font-size: 0.98rem; }
    .direct-answer-text { font-size: 1.02rem; }
    .hub-hero { padding: 40px 16px 30px; }
    .hub-articles-grid { grid-template-columns: 1fr; }
    .contextual-service-box { flex-direction: column; align-items: flex-start; }
    .contextual-service-link { width: 100%; justify-content: center; box-sizing: border-box; }
}