html, body {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}


/* -------------------------------------- */
/* BASE STYLES                            */
/* -------------------------------------- */

body {
    font-family: Georgia, Arial, sans-serif;
    font-size: 1.25em;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
    color: #333;
    line-height: 1.55;
}

a:hover {
    text-decoration: none
}

/* -------------------------------------- */
/* HEADER                                 */
/* -------------------------------------- */

header {
    background: #1d5c3f;
    color: #fff;
    padding: 10px 12px 12px;
    text-align: center;
}

h1 {
    margin: 0;
    font-size: 1.7rem;
    line-height: 1.15;
}

/* -------------------------------------- */
/* NAVIGATION (DESKTOP + MOBILE)          */
/* -------------------------------------- */

.header-nav {
    margin-top: 6px;
    text-align: center;
    margin-bottom: 0;
    white-space: nowrap;          /* keeps menu on one line */
    overflow-x: auto;             /* allows horizontal scroll if needed */
    -webkit-overflow-scrolling: touch;
}

.header-nav a {
    color: #f2f2f2;
    text-decoration: underline;
    margin: 0 10px;               /* tighter spacing */
    font-size: 1.15rem;           /* smaller text */
    font-weight: bold;
    display: inline-block;        /* ensures horizontal layout */
}

.header-nav a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* -------------------------------------- */
/* CONTAINER                              */
/* -------------------------------------- */

.container {
    width: 60%;
    max-width: 1200px;
    margin: 25px auto;
    padding: 0 18px;
    box-sizing: border-box;
}

/* -------------------------------------- */
/* SECTIONS                               */
/* -------------------------------------- */

.section {
    margin-bottom: 22px;
}

/* -------------------------------------- */
/* BUTTONS                                */
/* -------------------------------------- */

a.button {
    display: inline-block;
    padding: 10px 16px;
    background: #0077cc;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 10px;
}

a.button:hover {
    background: #005fa3;
}

/* -------------------------------------- */
/* FOOTER                                 */
/* -------------------------------------- */

footer {
    text-align: center;
    padding: 18px;
    color: #777;
}

/* -------------------------------------- */
/* EPISODES LIST                          */
/* -------------------------------------- */

.episodes > li {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.episodes a:visited {
    text-decoration: none;
    color: #2a4a6a;
}

.episodes a:hover {
    text-decoration: none;
    color: #2a4a6a;
}


/* -------------------------------------- */
/* FORMS                                  */
/* -------------------------------------- */

form button {
    font-size: 1rem;
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
}

/* -------------------------------------- */
/* ARTICLE LIST                           */
/* -------------------------------------- */

.article-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.article-list li {
    margin-bottom: 16px;
}

.article-list a {
    text-decoration: underline;
    font-size: 1.25rem;
}

.article-list a:visited {
    text-decoration: none;
    color: #2a4a6a;
}

.article-list a:hover {
    text-decoration: none;
    color: #2a4a6a;
}

.article-content p {
    text-indent: 1.5em;
    margin-bottom: 1.2em;
}

/* -------------------------------------- */
/* CTA BOX                                */
/* -------------------------------------- */

.cta-box {
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 6px;
    margin: 30px 0;
}

.cta-box h3 {
    margin-top: 0;
}

.cta-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    background-color: #2a4a6a;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.cta-button:hover {
    background-color: #1e364d;
}

/* -------------------------------------- */
/* 10 Steps Spacing 			*/
/* -------------------------------------- */
.steps-list .step-item {
    margin-bottom: 25px;
}

/* -------------------------------------- */
/* DISCLAIMER                                */
/* -------------------------------------- */
p.disclaimer-note {
  font-size: 0.85em;
  font-style: italic;
}

/* -------------------------------------- */
/* GLOBAL RESPONSIVE FIXES                */
/* -------------------------------------- */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

table,
audio,
iframe {
    max-width: 100%;
}


/* DESKTOP: hide hamburger + checkbox */
.menu-icon,
#menu-toggle {
    display: none;
}

/* -------------------------------------- */
/* MOBILE RESPONSIVE RULES                */
/* -------------------------------------- */

@media (max-width: 700px) {

    .container {
        width: 100%;
        margin: 12px auto;
        padding: 0 12px;
    }

    header {
        padding: 8px 10px 10px;
    }

    h1, h2 {
        font-size: 1.15rem;
        line-height: 1.15;
    }

    /* MOBILE: show hamburger */
    .menu-icon {
        display: block;
        font-size: 1.6rem;
        cursor: pointer;
        padding: 6px 0;
    }

    /* MOBILE: hide nav until toggled */
    .mobile-nav-wrapper {
        display: none;
        width: 100%;
    }

    /* MOBILE: show nav when checkbox is checked */
    #menu-toggle:checked + .mobile-nav-wrapper {
        display: block;
    }

    /* MOBILE: stacked nav */
    .header-nav {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 10px 0;
    }

    .header-nav a {
        font-size: 1rem;
        padding: 6px 0;
        margin: 0;
        display: block;
    }

    .section {
        padding: 16px;
    }

    body {
        font-size: 1em;
        line-height: 1.5;
    }

    .article-list a {
        font-size: 1rem;
    }

    /* MOBILE: smaller episode list links */
    .episodes a {
        font-size: 0.95rem;
        line-height: 1.3;
    }

/* MOBILE: tighter section spacing */
.section {
    padding: 0px 12px;
    }

}