/* ===== Shared stylesheet for the Jaigaon-Phuentsholing border guide (directions.html, guide.html, faq.html) ===== */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fafafa;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.7;
}

/* ===== TOP NAV ===== */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #e8e3dc;
}

.site-nav-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.site-nav-brand {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #111;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.site-nav-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: #f0ede8;
    color: #111;
}

.nav-link.active {
    background: #1a1a1a;
    color: #fff;
}

/* ===== ARTICLE LAYOUT ===== */
.article-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
    background: #fafafa;
}

.article-container {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    padding: 56px 20px 60px;
}

/* ===== ARTICLE HEADER ===== */
.article-header {
    margin-bottom: 32px;
}

.article-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 12px;
}

.article-header h1 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #111;
    margin-bottom: 12px;
}

.article-subhead {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    max-width: 680px;
}

.article-divider {
    width: 60px;
    height: 3px;
    background: #1a1a1a;
    margin-top: 24px;
    border-radius: 4px;
}

.updated-line {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #555;
    margin-top: 20px;
    padding: 10px 16px;
    background: #f0ede8;
    border-radius: 8px;
    display: inline-block;
}

.updated-line strong {
    color: #111;
}

/* ===== TABLE OF CONTENTS ===== */
.toc {
    background: #f7f7f7;
    border: 1px solid #e8e3dc;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 32px 0;
}

.toc h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.toc ol {
    padding-left: 20px;
}

.toc li {
    font-size: 0.92rem;
    margin-bottom: 6px;
}

.toc a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
}

.toc a:hover {
    border-bottom-color: #1a1a1a;
}

/* ===== ARTICLE IMAGES ===== */
.article-image {
    width: 100%;
    border-radius: 16px;
    margin: 28px 0 32px;
    display: block;
    height: auto;
}

/* ===== PHOTO ROUTE / WALKING DIRECTIONS ===== */
.route-steps {
    position: relative;
    margin: 32px 0 40px;
}

.route-steps::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: #e0dbcf;
}

.route-step {
    display: flex;
    gap: 20px;
    position: relative;
    margin-bottom: 28px;
}

.route-step:last-child {
    margin-bottom: 0;
}

.route-step-num {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fafafa;
    color: #a5791f;
    border: 1px solid #cba135;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    z-index: 1;
}

.route-step-card {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8e3dc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.route-step-img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: #e5e0d3;
}

.route-step-text {
    padding: 16px 20px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #2a2a2a;
    margin: 0;
}

@media (max-width: 640px) {
    .route-steps::before {
        left: 21px;
    }

    .route-step {
        gap: 12px;
    }

    .route-step-num {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .route-step-img {
        height: 180px;
    }

    .route-step-text {
        padding: 14px 16px 16px;
        font-size: 0.92rem;
    }
}

/* ===== BODY TEXT ===== */
.article-body p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2a2a2a;
    margin-bottom: 20px;
}

.article-body p strong {
    color: #111;
    font-weight: 600;
}

.article-body p a {
    color: #33538a;
    text-decoration: none;
    border-bottom: 1px solid rgba(51, 83, 138, 0.35);
    transition: border-color 0.15s ease, color 0.15s ease;
}

.article-body p a:hover {
    color: #223a63;
    border-bottom-color: #33538a;
}

.article-body ul,
.article-body ol {
    margin: 0 0 20px 0;
    padding-left: 22px;
}

.article-body ul li,
.article-body ol li {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #2a2a2a;
    margin-bottom: 8px;
}

.article-body h2 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: #111;
    margin-top: 48px;
    margin-bottom: 16px;
    scroll-margin-top: 90px;
}

.article-body h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin-top: 28px;
    margin-bottom: 10px;
    scroll-margin-top: 90px;
}

/* ===== TAGS (required / optional / convenience) ===== */
.tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    margin: 0 6px 6px 0;
}

.tag-required {
    background: #e9f2e9;
    color: #2c6b2f;
}

.tag-optional {
    background: #eef1f7;
    color: #33538a;
}

.tag-convenience {
    background: #f7f0e3;
    color: #8a5a1f;
}

.tag-check {
    background: #f2e9e9;
    color: #8a3333;
}

/* ===== TABLES ===== */
.table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 24px 0 32px;
    border-radius: 12px;
    border: 1px solid #e8e3dc;
}

table.info-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    min-width: 480px;
}

table.info-table th {
    background: #f0ede8;
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    color: #111;
}

table.info-table td {
    padding: 12px 16px;
    border-top: 1px solid #ece7e0;
    color: #2a2a2a;
}

/* ===== QUOTE BLOCK ===== */
.quote-block {
    background: #f0ede8;
    padding: 28px 32px;
    border-radius: 16px;
    margin: 32px 0;
    text-align: center;
}

.quote-block p {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin-bottom: 0;
}

/* ===== HIGHLIGHT / NOTE BOXES ===== */
.highlight-box {
    background: #f7f7f7;
    border-left: 5px solid #222;
    padding: 24px 28px;
    border-radius: 0 12px 12px 0;
    margin: 32px 0;
}

.highlight-box.note {
    border-left-color: #33538a;
    background: #f4f6fa;
}

.highlight-box.before-you-go {
    border-left-color: #2c6b2f;
    background: #f2f7f2;
}

.highlight-box h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #111;
    margin-top: 0;
    margin-bottom: 10px;
}

.highlight-box p,
.highlight-box li {
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #2a2a2a;
    margin-bottom: 10px;
}

.highlight-box p:last-child,
.highlight-box ul:last-child {
    margin-bottom: 0;
}

/* ===== FAQ ===== */
.faq-item {
    border: 1px solid #e8e3dc;
    border-radius: 12px;
    padding: 6px 20px;
    margin-bottom: 12px;
    background: #fff;
}

.faq-item summary {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #111;
    padding: 14px 0;
    cursor: pointer;
}

.faq-item p {
    padding-bottom: 16px;
    margin-bottom: 0 !important;
}

/* ===== FOOTNOTE ===== */
.footnote {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #777;
    font-style: italic;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e8e3dc;
}

.sources-box {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e8e3dc;
}

.sources-box h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    margin-bottom: 10px;
}

.sources-box ul {
    padding-left: 0;
    list-style: none;
}

.sources-box li {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.sources-box a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #33538a;
    text-decoration: none;
    border-bottom: 1px solid rgba(51, 83, 138, 0.35);
    transition: border-color 0.15s ease, color 0.15s ease;
}

.sources-box a:hover {
    color: #223a63;
    border-bottom-color: #33538a;
}

.sources-box a::after {
    content: "↗";
    font-size: 0.8em;
    opacity: 0.55;
}

/* ===== CROSS-LINK CARDS (bottom of page, link to the other two pages) ===== */
.cross-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cross-link-card {
    flex: 1 1 220px;
    display: block;
    background: #f7f7f7;
    border: 1px solid #e8e3dc;
    border-radius: 12px;
    padding: 18px 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cross-link-card:hover {
    background: #f0ede8;
}

.cross-link-card .label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 6px;
    display: block;
}

.cross-link-card .title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #111;
}

/* ===== FOOTER ===== */
.site-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e8e3dc;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f0ede8;
    color: #1a1a1a;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background: #ffffff;
    color: #000;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.footer-social a:hover .fa-facebook-f {
    color: #1877f2;
}
.footer-social a:hover .fa-instagram {
    color: #d6249f;
}
.footer-social a:hover .fa-whatsapp {
    color: #25d366;
}

.footer-copy {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #888;
    letter-spacing: 0.02em;
    font-weight: 400;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .article-container {
        padding: 40px 16px 40px;
    }

    .article-header h1 {
        font-size: 1.6rem;
    }

    .article-subhead {
        font-size: 0.95rem;
    }

    .article-body p,
    .article-body ul li,
    .article-body ol li {
        font-size: 0.95rem;
    }

    .highlight-box {
        padding: 18px 18px;
    }

    .site-nav-inner {
        justify-content: center;
    }

    .footer-social {
        gap: 14px;
    }

    .footer-social a {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }
}
