/* GLP-1 Navigator — shared stylesheet
   Single source of truth for every page. Keeps nav, footer, byline and
   disclaimers identical sitewide (an AdSense reviewer checks consistency). */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container { max-width: 1000px; margin: 0 auto; padding: 20px; }

header { text-align: center; color: white; padding: 60px 20px 40px; }
header h1 { font-size: 3em; margin-bottom: 15px; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
header p { font-size: 1.3em; opacity: 0.9; max-width: 600px; margin: 0 auto; }
header h1 a { color: inherit; text-decoration: none; }

/* ---- sitewide navigation ---- */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.nav-links a {
    color: white;
    text-decoration: none;
    padding: 11px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    transition: all 0.3s;
    font-size: 0.95em;
}
.nav-links a:hover { background: rgba(255,255,255,0.2); border-color: white; }
.nav-links a.here { background: rgba(255,255,255,0.22); border-color: white; font-weight: 600; }

/* ---- page furniture ---- */
.tool-box {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin-bottom: 30px;
}

.hero-section { text-align: center; padding: 40px 20px; }
.hero-section h2 { color: #333; font-size: 2em; margin-bottom: 15px; }
.hero-section p { color: #666; font-size: 1.1em; max-width: 700px; margin: 0 auto 30px; }

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(102,126,234,0.4); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
.feature-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: block;
    color: inherit;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.feature-icon { font-size: 3em; margin-bottom: 15px; }
.feature-card h3 { color: #667eea; margin-bottom: 10px; }
.feature-card p { color: #666; font-size: 0.95em; }
.feature-card .more { display: inline-block; margin-top: 12px; color: #667eea; font-weight: 600; font-size: 0.9em; }

.content-section { margin: 40px 0; }
.content-section h2 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}
.content-section h3 { color: #667eea; font-size: 1.3em; margin: 25px 0 15px; }
.content-section p { color: #555; margin-bottom: 15px; line-height: 1.8; }
.content-section ul, .content-section ol { margin: 15px 0 15px 30px; color: #555; }
.content-section li { margin-bottom: 10px; line-height: 1.6; }

.medication-card {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
}
.medication-card h4 { color: #667eea; margin-bottom: 10px; }

.faq-item { margin: 20px 0; padding: 20px; background: #f8f9fa; border-radius: 10px; }
.faq-item h4 { color: #667eea; margin-bottom: 10px; font-size: 1.1em; }
.faq-item p { color: #555; line-height: 1.7; }

.tip-box {
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    border: 2px solid #667eea;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
}
.tip-box h4 { color: #667eea; margin-bottom: 10px; }

.nutrition-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.nutrition-table th { background: #667eea; color: white; padding: 12px; text-align: left; }
.nutrition-table td { padding: 10px 12px; border-bottom: 1px solid #ddd; }
.nutrition-table tr:nth-child(even) { background: #f8f9fa; }
.table-scroll { overflow-x: auto; }

/* ---- review-status banner ----
   Sits directly under the header on every content page. Two states, and the
   contrast between them is the point: a blanket "medically reviewed" badge on
   every page reads as marketing, whereas saying plainly which pages are
   reviewed and which are not makes the reviewed claim believable. */
.review-banner {
    max-width: 1000px;
    margin: 0 auto 24px;
    border-radius: 12px;
    padding: 13px 18px;
    font-size: 0.92em;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 11px;
}
.review-banner .rb-icon { font-size: 1.15em; line-height: 1.35; flex: 0 0 auto; }
.review-banner strong { display: block; margin-bottom: 2px; }
.review-banner a { font-weight: 600; text-decoration: underline; }

.review-banner.unreviewed {
    background: #fff8e6;
    border: 2px solid #e8b93b;
    color: #6a5312;
}
.review-banner.unreviewed strong { color: #8a6a12; }
.review-banner.unreviewed a { color: #8a6a12; }

.review-banner.reviewed {
    background: #eaf6f0;
    border: 2px solid #2e9e6b;
    color: #1c5b3f;
}
.review-banner.reviewed strong { color: #1c5b3f; }
.review-banner.reviewed a { color: #1c5b3f; }

@media (max-width: 600px) {
    .review-banner { margin: 0 14px 20px; font-size: 0.87em; }
}

/* ---- transparency blocks (E-E-A-T) ---- */
.byline {
    background: #f4f5fb;
    border-left: 4px solid #667eea;
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin: 0 0 28px;
    font-size: 0.92em;
    color: #555;
}
.byline p { margin: 0 0 6px; line-height: 1.6; }
.byline p:last-child { margin-bottom: 0; }
.byline a { color: #667eea; font-weight: 600; }

.med-disclaimer {
    background: #fff8e6;
    border: 2px solid #e8b93b;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 28px 0;
    font-size: 0.93em;
    color: #6a5312;
}
.med-disclaimer strong { color: #8a6a12; }

.sources { font-size: 0.92em; color: #666; }
.sources h3 { color: #667eea; font-size: 1.15em; margin: 25px 0 12px; }
.sources ul { margin-left: 22px; }
.sources a { color: #667eea; }

/* ---- footer ---- */
footer { padding: 40px 20px; color: white; opacity: 0.92; }
footer .container { text-align: center; }
footer a { color: white; text-decoration: none; margin: 0 12px; }
footer a:hover { text-decoration: underline; }
footer .legal {
    margin-top: 20px;
    font-size: 0.85em;
    opacity: 0.85;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

@media (max-width: 600px) {
    header h1 { font-size: 2em; }
    header { padding: 40px 15px 30px; }
    .nav-links { gap: 10px; }
    .nav-links a { padding: 9px 15px; font-size: 0.88em; }
    .tool-box { padding: 22px 18px; }
}
