﻿/* ========================================= */
/* HOME UI STYLING (PAGE-SPECIFIC)       */
/* ========================================= */



/* --- 1. Container & Layout --- */
/*.header {
    position: relative;
    width: 100%;*/
    /*height: 590px;*/
    /*height: 188px;
    overflow: hidden;
    background-color: #f2f2f2;
}*/

    .header .text h1 {
        font-weight: 100;
    }

/* --- 2. The Full-Width Background/Banner Image --- */
.banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/beachrunning.jpg');
    background-size: cover;
    background-position: right bottom;
}

    /* --- 3. The Gradient Fade (Light Grey) --- */
    .banner::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*background: linear-gradient(to right, rgba(242, 242, 242, 1) 0%,*/ /* Start light grey */
        /*rgba(242, 242, 242, 1) 40%, rgba(242, 242, 242, 0) 75%*/ /* Fade to transparent */
        /*);*/
    }



/* --- 4. Overlay Content & Positioning --- */
.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    /*width: 50%;*/
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 5%;
    box-sizing: border-box;
}

/* --- 5, 6, 7. Text and Logo Styling (Vertical Layout) --- */
.text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.text h2 {
    font-family: 'Calibre', sans-serif;
    font-size: 3em;
    color: #33C1C1;
    font-weight: 600;
    /* ... rest of H2 styles ... */
}

.text p {
    font-family: 'Calibre', sans-serif;
    font-size: 1.2em;
    color: #999999;
    margin: 0 0 20px 0;
    font-weight: 300;
    /* ... rest of P styles ... */
}

/* ... Logo styles ... */
.tablet-logo {
    width: 70px;
    height: auto;
}

    .tablet-logo img {
        width: 100%;
        display: block;
    }



.page-intro .container {
    padding: 1rem;
    max-width: 1080px;
    margin: 0 auto;
    color: var(--text);
    font-size: 15px;
    line-height: 1.45;
}



/*768*/


/* About main: stack on mobile, side-by-side on desktop */
.about-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

    .about-main > div:first-child { /* image wrapper */
        /*display: flex;*/
        justify-content: center;
    }

.profile-photo {
    width: 100%;
    max-width: 420px;
    height: auto;
    box-shadow: var(--soft-shadow);
    object-fit: cover;
    border-radius: 50px;
    border: 4px solid var(--color-yellow);
}

/* content columns */
.about-main .bio {
    margin-bottom: 0.8rem;
    color: #20404a;
}

.about-main .foot-chart {
    text-align: center;
    padding-bottom: 10px;
}


.about-main h3 {
    color: #1f6b6a;
    margin-top: 0.5rem;
}


.meridian-lists .list-col ol {
    padding-left: 0;
    list-style-position: inside;
}

/* FAQ card */
.faq-card {
    margin-top: 1.25rem;
    background: linear-gradient(180deg, #fff, #fbfeff);
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: var(--soft-shadow);
    overflow: hidden;
}

    .faq-card .faq-imageholder {
        text-align: center;
    }

    .faq-card h2 {
        background: var(--muted-blue);
        color: var(--color-white);
        padding: 0.6rem 1rem;
        border-radius: 8px;
        margin: -0.75rem -0.75rem 1rem -0.75rem;
        font-size: 1.05rem;
        background: lightblue;
        color: white;
        font-size: 27px;
        text-align: center;
    }


.faq-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 0.25rem 0.6rem 0.25rem;
    color: #213e42;
    font-size: 0.95rem;
    padding-top: 10px;
}

    .faq-content strong {
        color: var(--color-light-blue);
    }

  
/* small decorative image on FAQ card (right aligned on desktop) */
.faq-image {
    width: 100%;
    max-width: 360px;
    margin: 0.6rem auto 0 auto;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
    border-radius: 50px;
    border: 4px solid var(--color-yellow);
}

/* foot icon area */
.foot-icon {
    margin-top: 1rem;
    text-align: center;
    color: var(--teal);
    font-weight: 600;
}

.faq-content ul {
    display: grid;
    /*grid-template-columns: 35% 1fr;*/
    grid-template-columns: minmax(150px, 30%) 1fr;
    gap: 1px;
    list-style-position: inside;
    padding: 0;
    list-style-image: url('../images/FAQ bullet_small.png');
}


@media (min-width: 430px) and (max-width:479px) {
    .header {
        height: 209px;
    }
}

@media (min-width: 480px) and (max-width:579px) {

    .header {
        height: 260px;
    }
}

@media (min-width: 580px) and (max-width:699px) {

    .header {
        height: 325px;
    }
}

@media (min-width: 700px) and (max-width:839px) {

    .header {
        height: 395px;
    }
}

@media (min-width: 840px) and (max-width:999px) {

    .header {
        height: 480px;
    }
}

@media (min-width: 1000px) and (max-width:1199px) {

    .header {
        height: 570px;
    }
}

@media (min-width: 1200px) {
    .header {
        height: 600px;
    }
}


/* Desktop layout adjustments */
@media (min-width: 900px) {
    .about-main {
        /*flex-direction: row;*/
        align-items: flex-start;
    }

        .about-main > div:first-child {
            flex: 0 0 40%;
            align-self: flex-start;
        }

        .about-main > div:nth-child(2) {
            flex: 1 1 60%;
        }


    /* Make FAQ content two-column on wider screens */
    .faq-content {
/*        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
        align-items: start;*/
    }

    .faq-image {
        margin: 0 0 0 1rem;
        flex: 0 0 320px;
    }
}

/* Typography small tweaks */
.page-intro p, .page-intro li {
    font-size: 0.98rem;
    color: #33494a;
}

/* Make large map image inside content centered on desktop */
.map-figure {
    display: flex;
    justify-content: center;
    margin-top: 0.4rem;
}

    .map-figure img {
        max-width: 340px;
        width: 100%;
        border-radius: 10px;
        border: 3px solid #dff3f2;
    }



.intro-copy {
    width: 100%;
    text-align: center;
    margin: 20px 0;
}

.foot-image img {
    max-width: 90%; /* Keeps it from hitting screen edges */
    height: auto;
    border: 3px solid var(--color-teal);
    border-radius: 25px;
}




.text-1 {
    text-align: left;
}

.text-2 {
    text-align: left;
}

.text-3 {
    text-align: left;
}

.text-4 {
    text-align: left;
}

.text-5 {
    text-align: left;
}

.text-6 {
    text-align: left;
}


/* Tablet and Desktop (min-width: 768px) */
@media (min-width: 768px) {

    .intro-copy {
        flex-direction: row; /* Aligns the two list-groups horizontally */
        justify-content: flex-start;
        gap: 40px; /* Space between the two lists */
    }

    .foot-image {
        float: right; /* This pushes the image to the right */
        width: 40%; /* Limits the image width so text has room */
        margin-left: 30px; /* Space between text and image */
        margin-bottom: 20px;
    }

    /* Clears the float so subsequent content doesn't get messy */
    .intro-copy::after {
        content: "";
        display: table;
        clear: both;
    }

    .meridian-lists {
        display: flex;
        flex-direction: row; /* Aligns the two list-groups horizontally */
        justify-content: flex-start;
        gap: 40px; /* Space between the two lists */
    }

    .list-col{
        flex: 1; /* Ensures both lists take up equal width */
        min-width: 200px; /* Prevents lists from getting too narrow */
    }

    .faq-content {
        display: block;
        width: 100%;
    }

    .faq-imageholder {
        float: right; /* This pushes the image to the right */
        width: 360px; /* Limits the image width so text has room */
        margin-left: 30px; /* Space between text and image */
        margin-bottom: 20px;
    }

    .col2 {
        column-count: 2;
        column-gap: 40px;
        column-rule: 1px solid #e0e7a1;
        text-align: left; /* Justify can sometimes look messy with short lists */
    }

        /* IMPORTANT: Prevents Q and A from being split across columns */
        .col2 p,
        .col2 strong,
        .col2 ul {
            break-inside: avoid;
            display: block; /* Required for break-inside to work on spans */
        }

        .col2 .question .questionPart,
        .col2 .question .p,
        .col2 .question strong {
            break-inside: avoid;
            display: inline;
        }

    /* Clearfix to ensure the FAQ card expands to fit the floated image */
    .faq-content::after {
        content: "";
        display: table;
        clear: both;
    }


}