/* =========================================
   Slope 139 Facts — Shared Styles
   ========================================= */

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

body {
    font-family: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 19px;
    line-height: 1.7;
    color: #1a1a1a;
    background: #f0f0f0;
}

/* --- Sticky Top Nav --- */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #1b2a4a;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-nav .nav-home {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    padding: 14px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.top-nav .nav-home:hover {
    opacity: 0.85;
}
.top-nav .nav-links {
    display: flex;
    gap: 0;
}
.top-nav .nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 16px;
    transition: color 0.2s, background 0.2s;
}
.top-nav .nav-links a:hover,
.top-nav .nav-links a.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.top-nav .arrow-left {
    font-size: 18px;
    line-height: 1;
}

/* --- Legacy back-nav (alias) --- */
.back-nav {
    background: #1b2a4a;
    padding: 14px 24px;
}
.back-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.back-nav a:hover {
    opacity: 0.85;
}
.back-nav .arrow-left {
    font-size: 22px;
    line-height: 1;
}

/* --- Page Header --- */
.page-header {
    background: #fff;
    padding: 40px 32px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}
.page-header h1 {
    font-size: 30px;
    font-weight: 700;
    color: #1b2a4a;
    margin-bottom: 6px;
}
.page-header .meta {
    font-size: 16px;
    color: #777;
    margin-bottom: 12px;
}
.page-header .intro {
    font-size: 17px;
    color: #555;
    max-width: 620px;
    margin: 0 auto;
}

/* --- Content Container --- */
.content {
    max-width: 780px;
    margin: 0 auto;
    padding: 36px 24px 60px;
}

/* --- Section Label --- */
.section-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1b2a4a;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1b2a4a;
}

/* --- Q&A Items --- */
.qa-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 16px;
}
.qa-item .qa-q {
    font-size: 18px;
    font-weight: 700;
    color: #1b2a4a;
    margin-bottom: 8px;
}
.qa-item .qa-a {
    font-size: 17px;
    color: #333;
    margin-bottom: 10px;
}
.qa-item .qa-transcript {
    background: #f7f7f7;
    border-left: 3px solid #1b2a4a;
    padding: 14px 18px;
    margin: 12px 0;
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}
.qa-item .qa-transcript .t-q,
.qa-item .qa-transcript .t-a {
    margin-bottom: 6px;
}
.qa-item .qa-transcript .t-q::before {
    content: 'Q. ';
    font-weight: 700;
    color: #1b2a4a;
}
.qa-item .qa-transcript .t-a::before {
    content: 'A. ';
    font-weight: 700;
    color: #1b2a4a;
}
.qa-item .qa-transcript .t-a:last-child {
    margin-bottom: 0;
}
.qa-item .qa-topic {
    font-size: 15px;
    color: #555;
    font-style: italic;
    margin-top: 8px;
}
.qa-item .qa-ref {
    display: inline-block;
    background: #e8ecf2;
    color: #1b2a4a;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

/* --- Download Section --- */
.downloads {
    margin-top: 40px;
}
.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 18px 24px;
    margin-bottom: 12px;
    text-decoration: none;
    color: #1a1a1a;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.download-btn:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: #1b2a4a;
}
.download-btn .dl-icon {
    font-size: 28px;
    flex-shrink: 0;
}
.download-btn .dl-info {
    flex: 1;
}
.download-btn .dl-title {
    font-size: 17px;
    font-weight: 600;
    color: #1b2a4a;
}
.download-btn .dl-desc {
    font-size: 14px;
    color: #777;
}
.download-btn .dl-arrow {
    font-size: 20px;
    color: #1b2a4a;
    font-weight: 700;
}

/* --- Bottom Nav --- */
.bottom-nav {
    text-align: center;
    padding: 32px 24px;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}
.bottom-nav a {
    display: inline-block;
    background: #1b2a4a;
    color: #fff;
    padding: 14px 36px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
}
.bottom-nav a:hover {
    background: #2a3f6a;
}

/* --- Footer --- */
footer {
    background: #1b2a4a;
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 32px 24px;
    font-size: 14px;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .top-nav { padding: 0 16px; }
    .top-nav .nav-home { font-size: 14px; }
    .top-nav .nav-links a { font-size: 13px; padding: 14px 10px; }
    .page-header { padding: 28px 20px; }
    .page-header h1 { font-size: 24px; }
    .content { padding: 24px 16px 48px; }
    .qa-item { padding: 20px; }
    .download-btn { padding: 14px 18px; }
    footer { font-size: 11px; }
}
