/* =========================================================
   KANEM DAUGHTERS NETWORK
   RESPONSIVE STYLES
   ========================================================= */

:root {
    --cream: #f6f1e5;
    --cream-light: #faf7ef;
    --white: #fffdf8;

    --black: #171717;
    --text: #242420;
    --muted: #65645d;

    --green: #075c47;
    --green-dark: #064936;
    --green-light: #dfece6;

    --gold: #d4aa4f;
    --gold-light: #ead7a5;

    --border: #dcd4c3;

    --page-width: 94%;
    --max-width: 1600px;

    --radius: 10px;
    --shadow: 0 8px 25px rgba(7, 92, 71, 0.08);
}


/* =========================================================
   DARK MODE
   ========================================================= */

[data-theme="dark"] {
    --cream: #151a18;
    --cream-light: #1c2421;
    --white: #222c28;

    --black: #f4f0e7;
    --text: #f4f0e7;
    --muted: #c8c3b7;

    --green: #79a08e;
    --green-dark: #315f52;
    --green-light: #263b34;

    --gold: #c9aa63;
    --gold-light: #665832;

    --border: #37423d;

    --shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;

    background: var(--cream);
    color: var(--text);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1.7;

    overflow-x: hidden;
}
/* =========================================================
   TEXT CONTRAST
   ========================================================= */

body {
    color: var(--text);
}

/* Normal text */
p,
li,
label,
span,
div {
    color: inherit;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--green);
}

/* Links */
a {
    color: var(--green);
}

/* Form text */
input,
textarea,
select {
    color: var(--text);
    background: var(--cream-light);
}

/* Placeholder text */
input::placeholder,
textarea::placeholder {
    color: var(--muted);
    opacity: 1;
}

/* Muted/supporting text */
small,
.muted {
    color: var(--muted);
}

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

a {
    color: var(--green);
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--green);
    margin-top: 0;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 22px;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
}

h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    line-height: 1.25;
    margin-bottom: 12px;
}

p,
li {
    font-size: 20px;
    line-height: 1.7;
}

p {
    margin-top: 0;
    margin-bottom: 20px;
}


/* =========================================================
   GENERAL PAGE WIDTH
   ========================================================= */

.site-header-inner,
.hero,
.section,
.about-page,
.programs-page,
.get-involved-page,
.get-involved,
.involvement-page,
.contact-page,
.quick-links,
.footer-inner {
    width: var(--page-width);
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    width: 100%;

    background: var(--cream-light);

    border-bottom: 1px solid var(--border);

    position: relative;
    z-index: 1000;
}

.site-header-inner {
    min-height: 82px;

    display: flex;
    align-items: center;

    gap: 25px;
}


/* =========================================================
   HEADER LOGO
   ========================================================= */

.logo {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    margin-right: auto;
}

.logo img {
    width: 64px;
    height: 64px;

    max-width: 64px;
    max-height: 64px;

    object-fit: contain;

    border-radius: 0;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.site-nav {
    margin-left: auto;
}

.site-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;

    list-style: none;

    margin: 0;
    padding: 0;

    gap: 25px;
}

.site-nav li {
    margin: 0;
    padding: 0;
}

.site-nav a {
    display: block;

    padding: 8px 0;

    color: var(--text);

    font-size: 0.9rem;
    font-weight: 700;

    text-transform: uppercase;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: var(--green);
}


/* =========================================================
   THEME BUTTON
   ========================================================= */

.theme-toggle {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: transparent;
    color: var(--text);

    font-size: 20px;
}

.theme-toggle:hover {
    background: var(--green-light);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
   padding: 50px 5%;

    text-align: center;
}

.hero h1 {
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;

    font-size: 20px;
}


/* =========================================================
   HERO / PAGE IMAGES
   ========================================================= */

.hero img,
.page-hero img {
    width: 100%;
    max-width: 100%;

    height: auto;

    object-fit: cover;
}


/* =========================================================
   PAGE HERO
   ========================================================= */

.page-hero {
    width: 100%;
    max-width: 100%;

    padding: 55px 5%;

    position: relative;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero-content {
    width: var(--page-width);
    max-width: var(--max-width);

    margin: auto;

    position: relative;
    z-index: 1;
}
.page-hero h1 {
    color: var(--green);
}

.page-hero p {
    max-width: 850px;
    color:var(--text);
    font-size: 20px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.hero-buttons,
.cta-buttons,
.button-group {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 30px;
}

.involvement-button,
.primary-button,
.secondary-button,
.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 12px 25px;

    border-radius: 6px;
    border: none;

    background: var(--green);
    color: #fff;

    font-size: 20px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.involvement-button:hover,
.primary-button:hover,
.form-submit:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section,
.about-page,
.programs-page,
.get-involved-page,
.get-involved,
.involvement-page,
.contact-page {
    padding-top: 75px;
    padding-bottom: 75px;
}

.section-heading {
    text-align: center;

    max-width: 950px;

    margin: 0 auto 45px;
}

.section-heading p {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   CONTENT
   ========================================================= */

.about-section,
.program,
.contact-section {
    margin-bottom: 60px;
}

.program ul {
    padding-left: 30px;
}

.program li {
    margin-bottom: 8px;
}


/* =========================================================
   PROGRAM CARDS
   ========================================================= */

.program-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}

.program-card {
    min-width: 0;

    overflow: hidden;

    background: var(--cream-light);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.program-card img {
    width: 100%;
    height: auto;

    aspect-ratio: 3 / 2;

    object-fit: cover;
}

.program-card-content {
    padding: 28px;
}

.program-card h3 {
    color: var(--green);
}

.program-card p {
    margin-bottom: 18px;
}
.program-card,
.involvement-card,
.objective-card,
.governance-card,
.regional-card,
.contact-item,
.form-section,
.contact-form {
    background: var(--cream-light);
    color: var(--text);
}

.program-card p,
.involvement-card p,
.objective-card p,
.governance-card p,
.regional-card p,
.contact-item p {
    color: #242420;
}

/* =========================================================
   GENERAL IMAGE CONTAINERS
   ========================================================= */

.section img,
.about-page img,
.programs-page img,
.get-involved-page img,
.get-involved img,
.contact-page img {
    max-width: 100%;
    height: auto;
}

.content-image {
    width: 100%;
    max-width: 100%;

    height: auto;

    object-fit: cover;

    border-radius: var(--radius);
}


/* =========================================================
   INVOLVEMENT GRID
   ========================================================= */

.involvement-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;
}

.involvement-card {
    min-width: 0;

    padding: 30px;

    background: var(--cream-light);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.involvement-card h3 {
    color: var(--green);
}


/* =========================================================
   INVOLVEMENT PAGE
   ========================================================= */

.involvement-page {
    min-height: 60vh;
}

.involvement-section,
.selection-section,
.form-section {
    width: 100%;
    max-width: 1100px;

    margin-left: auto;
    margin-right: auto;
}

.form-section {
    padding: 40px;

    background: var(--cream-light);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}


/* =========================================================
   MEMBERSHIP OPTIONS
   ========================================================= */

.membership-options {
    display: flex;
    flex-direction: column;

    gap: 14px;
}

.membership-option {
    width: 100%;

    display: flex;
    align-items: flex-start;

    gap: 15px;

    padding: 20px;

    background: var(--cream-light);

    border: 1px solid var(--border);
    border-radius: 8px;

    cursor: pointer;
}

.membership-option:hover {
    border-color: var(--green);
    background: var(--green-light);
}

.membership-option input {
    flex-shrink: 0;

    margin-top: 7px;

    accent-color: var(--green);
}

.membership-option b {
    display: block;

    margin-bottom: 4px;

    color: var(--green);

    font-size: 20px;
}

.membership-option small {
    display: block;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.55;
}


/* =========================================================
   FORMS
   ========================================================= */

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--text);

    font-size: 20px;
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    max-width: 100%;

    padding: 13px 15px;

    border: 1px solid var(--border);
    border-radius: 6px;

    background: var(--cream);
    color: var(--text);

    font-size: 20px;

    outline: none;
}

.form-group textarea {
    min-height: 160px;

    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--green);
}


/* =========================================================
   OBJECTIVES / GOVERNANCE / REGIONS
   ========================================================= */

.objectives-grid,
.governance-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;
}

.regional-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.objective-card,
.governance-card,
.regional-card {
    min-width: 0;

    padding: 28px;

    background: var(--cream-light);

    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.objective-card h3,
.governance-card h3,
.regional-card h3 {
    color: var(--green);
}


/* =========================================================
   HERITAGE SECTION
   ========================================================= */

.heritage-section {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 50px;

    align-items: center;
}

.heritage-section > * {
    min-width: 0;
}

.heritage-section img {
    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    border-radius: var(--radius);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    gap: 45px;

    align-items: start;
}

.contact-grid > * {
    min-width: 0;
}

.contact-details {
    display: grid;
    gap: 20px;
}

.contact-item {
    padding: 24px;

    background: var(--cream-light);

    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.contact-form {
    width: 100%;

    padding: 40px;

    background: var(--cream-light);

    border: 1px solid var(--border);
    border-radius: var(--radius);
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    width: 100%;

    padding: 90px 5%;

    background: var(--green-dark);

    text-align: center;
}

.cta-section h2 {
    color: #fff;
}

.cta-section p {
    max-width: 850px;

    margin-left: auto;
    margin-right: auto;

    color: #eeeae0;

    font-size: 20px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    width: 100%;

    padding: 60px 0 25px;

    background: var(--green-dark);

    color: #fff;
}


/*
   IMPORTANT:
   The footer logo is deliberately kept small.
   This prevents the giant logo at the bottom.
*/

.site-footer .logo img,
.footer-logo img,
.site-footer img {
    width: 70px;
    height: 70px;

    max-width: 70px;
    max-height: 70px;

    object-fit: contain;
}

.footer-inner {
    display: grid;

    grid-template-columns:
        1.4fr
        1fr
        1fr
        1fr;

    gap: 40px;

    align-items: start;
}

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    color: var(--gold);
}

.footer-column p,
.footer-column li {
    color: #d7d5cc;

    font-size: 20px;
}

.footer-column ul {
    list-style: none;

    margin: 0;
    padding: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #e6e3da;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {
    width: var(--page-width);
    max-width: var(--max-width);

    margin: 45px auto 0;

    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,0.2);

    color: #c8c5bc;

    font-size: 18px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .site-nav ul {
        gap: 18px;
    }

    .site-nav a {
        font-size: 0.78rem;
    }

    .program-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .involvement-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .objectives-grid,
    .governance-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .regional-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .site-header-inner,
    .hero,
    .section,
    .about-page,
    .programs-page,
    .get-involved-page,
    .get-involved,
    .involvement-page,
    .contact-page,
    .quick-links,
    .footer-inner {
        width: calc(100% - 32px);
    }


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

    .site-header-inner {
        min-height: 0;

        padding: 10px 0 12px;

        display: grid;

        grid-template-columns: 1fr auto;

        gap: 12px;
    }

    .logo {
        margin: 0;

        justify-self: start;
    }

    .logo img {
        width: 52px;
        height: 52px;

        max-width: 52px;
        max-height: 52px;
    }

    .theme-toggle {
        width: 38px;
        height: 38px;

        justify-self: end;
    }


    /* -------------------------
       NAVIGATION
       ------------------------- */

    .site-nav {
        width: 100%;

        grid-column: 1 / -1;

        margin: 0;
    }

    .site-nav ul {
        width: 100%;

        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 5px 8px;

        padding: 8px 0 2px;

        border-top: 1px solid var(--border);
    }

    .site-nav li {
        min-width: 0;

        text-align: center;
    }

    .site-nav a {
        width: 100%;

        padding: 7px 3px;

        font-size: 0.68rem;

        letter-spacing: 0;

        white-space: nowrap;
    }

    /*
       Put the last two navigation links
       neatly on the second row.
    */

    .site-nav li:nth-child(4) {
        grid-column: 1 / 2;
    }

    .site-nav li:nth-child(5) {
        grid-column: 2 / 3;
    }


    /* -------------------------
       TEXT
       ------------------------- */

    body,
    p,
    li,
    label,
    input,
    textarea,
    select {
        font-size: 20px;
    }

    p,
    li {
        line-height: 1.65;

        overflow-wrap: break-word;
    }


    /* -------------------------
       HEADINGS
       ------------------------- */

    h1 {
        font-size: clamp(2rem, 9vw, 3.2rem);

        line-height: 1.1;
    }

    h2 {
        font-size: clamp(1.8rem, 7vw, 2.7rem);
    }


    /* -------------------------
       HERO
       ------------------------- */

    .hero {
        padding:
            35px
            16px;
    }

    .page-hero {
        padding:
            40px
            16px;
    }

    .hero p,
    .page-hero p {
        font-size: 20px;
    }


    /* -------------------------
       IMAGES
       ------------------------- */

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

    .program-card img {
        width: 100%;
        height: auto;

        aspect-ratio: 16 / 10;

        object-fit: cover;
    }

    .heritage-section img {
        width: 100%;
        height: auto;
    }


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

    .section,
    .about-page,
    .programs-page,
    .get-involved-page,
    .get-involved,
    .involvement-page,
    .contact-page {
        padding-top: 55px;
        padding-bottom: 55px;
    }


    /* -------------------------
       GRIDS
       ------------------------- */

    .program-grid,
    .involvement-grid,
    .objectives-grid,
    .governance-grid,
    .regional-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    /* -------------------------
       HERITAGE
       ------------------------- */

    .heritage-section {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    /* -------------------------
       CONTACT
       ------------------------- */

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .contact-form,
    .form-section {
        padding: 25px;
    }


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

    .hero-buttons,
    .cta-buttons,
    .button-group {
        flex-direction: column;

        align-items: stretch;

        width: 100%;
    }

    .involvement-button,
    .primary-button,
    .secondary-button,
    .form-submit {
        width: 100%;

        max-width: 100%;
    }


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

    .footer-inner {
        grid-template-columns: 1fr;

        gap: 30px;

        padding-top: 20px;
    }

    /*
       Footer logo stays SMALL.
       No giant image.
    */

    .site-footer .logo img,
    .footer-logo img,
    .site-footer img {
        width: 60px;
        height: 60px;

        max-width: 60px;
        max-height: 60px;
    }

    .footer-bottom {
        width: calc(100% - 32px);
    }
}
/* =========================================================
   CONTACT PAGE
   ========================================================= */

.content-section,
.social-section {
    width: var(--page-width);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 75px 0;
}

.section-intro,
.form-intro {
    max-width: 900px;
    margin: 0 auto 45px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.contact-address {
    color: var(--text);
    font-size: 20px;
    line-height: 1.7;
    font-style: normal;
}

.contact-item p {
    color: var(--text);
}

.email-button {
    display: inline-flex;
    padding: 12px 22px;
    margin: 8px 0 12px;
    background: var(--green);
    color: #fff;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 700;
}

.email-address {
    color: var(--muted);
}

.text-link {
    color: var(--green);
    font-weight: 700;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-links a {
    padding: 12px 24px;
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--green);
    font-size: 20px;
    font-weight: 700;
}

.social-links a:hover {
    background: var(--green);
    color: #fff;
}

/* Regional cards */
.region-card {
    min-width: 0;
    padding: 28px;
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.region-card h3 {
    color: var(--green);
}

.region-card li {
    color: var(--text);
}

/* Contact form */
.professional-form {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.professional-form label {
    display: block;
    margin-bottom: 22px;
    color: var(--text);
    font-size: 20px;
    font-weight: 700;
}

.professional-form input,
.professional-form textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 13px 15px;
    background: var(--cream);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 20px;
}

.professional-form textarea {
    min-height: 180px;
    resize: vertical;
}

/* Contact CTA */
.page-cta {
    width: 100%;
    padding: 75px 5%;
    background: var(--green-dark);
    text-align: center;
}

.page-cta h2 {
    color: #fff;
}

.page-cta p {
    max-width: 800px;
    margin: 0 auto;
    color: #eeeae0;
    font-size: 20px;
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .site-header-inner,
    .hero,
    .section,
    .about-page,
    .programs-page,
    .get-involved-page,
    .get-involved,
    .involvement-page,
    .contact-page,
    .quick-links,
    .footer-inner {
        width: calc(100% - 24px);
    }


    /* -------------------------
       NAV
       ------------------------- */

    .site-nav ul {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 4px 5px;
    }

    .site-nav a {
        font-size: 0.59rem;

        padding: 7px 1px;
    }


    /* -------------------------
       LOGO
       ------------------------- */

    .logo img {
        width: 48px;
        height: 48px;

        max-width: 48px;
        max-height: 48px;
    }

    .theme-toggle {
        width: 35px;
        height: 35px;
    }


    /* -------------------------
       HERO
       ------------------------- */

    .hero {
        padding:
            30px
            12px;
    }

    .page-hero {
        padding:
            35px
            12px;
    }


    /* -------------------------
       TEXT REMAINS 20PX
       ------------------------- */

    body,
    p,
    li,
    label,
    input,
    textarea,
    select {
        font-size: 20px;
    }


    /* -------------------------
       CARDS
       ------------------------- */

    .program-card-content,
    .involvement-card,
    .objective-card,
    .governance-card,
    .regional-card {
        padding: 20px;
    }


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

    .contact-form,
    .form-section {
        padding: 20px;
    }


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

    .footer-bottom {
        width: calc(100% - 24px);
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .site-header-inner {
        width: calc(100% - 20px);
    }

    .site-nav a {
        font-size: 0.55rem;
    }

    .logo img {
        width: 44px;
        height: 44px;

        max-width: 44px;
        max-height: 44px;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
    }

    .hero,
    .page-hero {
        padding-left: 10px;
        padding-right: 10px;
    }
}


/* =========================================================
   PREVENT OVERFLOW
   ========================================================= */

main,
section,
article,
div,
header,
footer {
    max-width: 100%;
}

input,
textarea,
select {
    max-width: 100%;
}