/* ===========================================
   SIBSTOSCRUBS — GUIDE PAGE STYLES
   Shared stylesheet for all 6 guide pages
   =========================================== */

:root {
    --teal: #1B6B6D;
    --teal-dark: #145455;
    --teal-light: #E8F4F4;
    --cream: #FFF8F0;
    --cream-dark: #F5EDE3;
    --coral: #E8735A;
    --coral-dark: #D4603F;
    --coral-light: #FFF0EC;
    --charcoal: #2D3436;
    --charcoal-light: #636E72;
    --gold: #D4A574;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--charcoal); background: var(--cream); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--coral); }

/* CONTAINERS */
.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav {
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: -0.02em;
}
.nav-logo span { color: var(--coral); }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-link {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    font-weight: 500;
}
.nav-link:hover { color: var(--teal); }
.btn-nav {
    background: var(--coral);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    transition: background var(--transition);
}
.btn-nav:hover { background: var(--coral-dark); color: var(--white); }

/* ARTICLE HERO */
.article-hero {
    background: var(--teal);
    padding: 72px 0 56px;
}
.article-tag {
    display: inline-block;
    background: var(--coral);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.article-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
    max-width: 700px;
}
.article-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 640px;
    margin-bottom: 24px;
    line-height: 1.65;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 6px; }

/* ARTICLE BODY */
.article-body { padding: 60px 0 80px; }

.article-body h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    color: var(--teal);
    margin: 52px 0 18px;
    padding-top: 52px;
    border-top: 2px solid var(--teal-light);
    line-height: 1.2;
}
.article-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--charcoal);
    margin: 32px 0 12px;
    line-height: 1.3;
}

.article-body p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.82;
    color: var(--charcoal);
}

.article-body ul, .article-body ol {
    margin: 0 0 20px 24px;
}
.article-body li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.article-body strong {
    color: var(--charcoal);
    font-weight: 700;
}

.article-body em { font-style: italic; }

.article-body blockquote {
    border-left: 4px solid var(--coral);
    padding: 16px 24px;
    background: var(--coral-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 28px 0;
    font-style: italic;
    color: var(--charcoal);
}

/* CHECKLIST STYLE */
.checklist { list-style: none; margin-left: 0; }
.checklist li {
    padding: 10px 10px 10px 40px;
    position: relative;
    border-bottom: 1px solid var(--cream-dark);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
    content: '☐';
    position: absolute;
    left: 8px;
    color: var(--teal);
    font-size: 1.1rem;
    top: 10px;
}

/* STAT CALLOUT */
.stat-callout {
    background: var(--teal-light);
    border-left: 4px solid var(--teal);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 20px 24px;
    margin: 28px 0;
}
.stat-callout .stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal);
    display: block;
    margin-bottom: 4px;
}
.stat-callout p { margin-bottom: 0; font-size: 0.95rem; color: var(--charcoal-light); }

/* RELATED GUIDES */
.related-guides {
    background: var(--cream-dark);
    padding: 56px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.related-guides h3 {
    font-family: var(--font-heading);
    color: var(--teal);
    font-size: 1.5rem;
    margin-bottom: 28px;
    text-align: center;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.related-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow var(--transition), transform var(--transition);
}
.related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related-card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--coral);
    margin-bottom: 8px;
    display: block;
}
.related-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.4;
}
.related-card a { color: var(--charcoal); display: block; }
.related-card a:hover h4 { color: var(--teal); }

/* ARTICLE CTA */
.article-cta {
    background: var(--teal);
    padding: 72px 0;
    text-align: center;
}
.article-cta h2 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    margin-bottom: 16px;
    line-height: 1.2;
}
.article-cta p {
    color: rgba(255,255,255,0.88);
    max-width: 560px;
    margin: 0 auto 36px;
    font-size: 1.05rem;
    line-height: 1.7;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
    line-height: 1;
}
.btn-white { background: var(--white); color: var(--teal); }
.btn-white:hover { background: var(--cream); color: var(--teal-dark); }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: var(--coral-dark); color: var(--white); }
.btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 14px 24px;
    font-size: 0.9rem;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-note { color: rgba(255,255,255,0.6); font-size: 0.82rem; margin-top: 16px; }

/* FOOTER */
.footer {
    background: var(--charcoal);
    padding: 40px 24px;
    text-align: center;
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}
.footer-logo span { color: var(--coral); }
.footer-tagline {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-bottom: 20px;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    list-style: none;
}
.footer-links a {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
    color: rgba(255,255,255,0.35);
    font-size: 0.78rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
}

/* TABLE OF CONTENTS */
.toc {
    background: var(--teal-light);
    border-left: 4px solid var(--teal);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 22px 28px;
    margin-bottom: 48px;
}
.toc-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    margin-bottom: 14px;
    display: block;
}
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 8px; font-size: 0.95rem; }
.toc a { color: var(--charcoal); font-weight: 500; }
.toc a:hover { color: var(--teal); }

/* AUTHOR BOX */
.author-box {
    background: var(--cream-dark);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    margin-top: 52px;
    border: 1px solid rgba(0,0,0,0.06);
}
.author-box-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--charcoal-light);
    margin-bottom: 10px;
    display: block;
}
.author-box h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--teal);
    margin-bottom: 10px;
    line-height: 1.3;
}
.author-box p { font-size: 0.92rem; color: var(--charcoal-light); margin-bottom: 0; line-height: 1.65; }

/* PEOPLE ALSO ASK */
.paa-section { margin-top: 52px; padding-top: 52px; border-top: 2px solid var(--teal-light); }
.paa-section > h2 { border-top: none !important; padding-top: 0 !important; margin-top: 0 !important; }
.paa-item { border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; }
.paa-question {
    width: 100%;
    text-align: left;
    background: var(--white);
    border: none;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: background var(--transition), color var(--transition);
    line-height: 1.4;
}
.paa-question:hover { background: var(--teal-light); color: var(--teal); }
.paa-question.open { background: var(--teal-light); color: var(--teal); }
.paa-icon { font-size: 1.4rem; flex-shrink: 0; transition: transform 0.2s ease; font-weight: 300; }
.paa-question.open .paa-icon { transform: rotate(45deg); }
.paa-answer {
    display: none;
    padding: 4px 20px 18px;
    background: var(--white);
    font-size: 0.95rem;
    line-height: 1.78;
    color: var(--charcoal-light);
    border-top: 1px solid rgba(0,0,0,0.05);
}
.paa-answer.open { display: block; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-right .nav-link { display: none; }
    .article-hero { padding: 52px 0 40px; }
    .article-body { padding: 40px 0 60px; }
    .article-body h2 { margin-top: 40px; padding-top: 40px; }
    .article-cta { padding: 52px 0; }
    .related-guides { padding: 40px 0; }
}
