/* ============================================================
   NORTH POLE TIMES — BIOGRAPHIES
   /css/Bios.css

   Used by:
   /Bio.cfm
   /Newsroom/index.cfm
   /includes/short/Bios.cfm (via Bio.cfm)

   Shared biography styling only.
   ============================================================ */


/* ============================================================
   BIOGRAPHY WINTER PANEL
   ============================================================ */

.bio-page {
    position: relative;
    isolation: isolate;
    width: 100%;
    margin: 12px auto 30px;
    padding: 12px 28px 35px;
    overflow: hidden;

    background: radial-gradient(
        ellipse 65% 55% at 50% 35%,
        rgba(255,255,255,.88) 0%,
        rgba(255,255,255,.82) 45%,
        rgba(239,249,255,.76) 72%,
        rgba(190,228,251,.70) 100%
    );

    border: 3px solid #ffffff;
    border-radius: 25px;

    box-shadow:
        0 6px 22px rgba(20,70,115,.28),
        inset 0 0 0 1px rgba(255,255,255,.8);
}

.bio-page::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;

    background: linear-gradient(
        90deg,
        rgba(120,196,240,.16) 0%,
        transparent 24%,
        transparent 76%,
        rgba(120,196,240,.16) 100%
    );
}

.bio-page::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;

    background-image:
        radial-gradient(circle, rgba(255,255,255,.95) 1.4px, transparent 2px),
        radial-gradient(circle, rgba(255,255,255,.8) 1px, transparent 1.6px),
        radial-gradient(circle, rgba(255,255,255,.75) 2px, transparent 2.7px);

    background-size:
        31px 37px,
        47px 53px,
        83px 89px;

    background-position:
        0 0,
        13px 19px,
        27px 41px;

    opacity: .65;

    -webkit-mask-image: linear-gradient(
        90deg,
        #000 0%,
        transparent 30%,
        transparent 70%,
        #000 100%
    );

    mask-image: linear-gradient(
        90deg,
        #000 0%,
        transparent 30%,
        transparent 70%,
        #000 100%
    );
}

.bio-content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
}


/* ============================================================
   DECORATIVE SNOWFLAKES
   ============================================================ */

.bio-snowflake {
    position: absolute;
    z-index: 1;
    display: block;
    color: rgba(255,255,255,.97);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
    line-height: 1;
    pointer-events: none;

    text-shadow:
        0 1px 2px rgba(30,105,165,.32),
        0 0 10px rgba(255,255,255,.9);
}

.bio-snowflake-left {
    top: 35px;
    left: 28px;
    font-size: 105px;
}

.bio-snowflake-right {
    top: 35px;
    right: 28px;
    font-size: 105px;
}

.bio-snowflake-small-left {
    top: 180px;
    left: 100px;
    font-size: 40px;
    opacity: .7;
}

.bio-snowflake-small-right {
    top: 180px;
    right: 100px;
    font-size: 40px;
    opacity: .7;
}

.bio-snowflake-tiny-left {
    top: 105px;
    left: 170px;
    font-size: 25px;
    opacity: .6;
}

.bio-snowflake-tiny-right {
    top: 105px;
    right: 170px;
    font-size: 25px;
    opacity: .6;
}

.bio-snowflake-extra-left-one {
    top: 75px;
    left: 245px;
    font-size: 38px;
    opacity: .65;
}

.bio-snowflake-extra-left-two {
    top: 260px;
    left: 35px;
    font-size: 28px;
    opacity: .55;
}

.bio-snowflake-extra-left-three {
    top: 320px;
    left: 165px;
    font-size: 20px;
    opacity: .45;
}

.bio-snowflake-extra-right-one {
    top: 75px;
    right: 245px;
    font-size: 38px;
    opacity: .65;
}

.bio-snowflake-extra-right-two {
    top: 260px;
    right: 35px;
    font-size: 28px;
    opacity: .55;
}

.bio-snowflake-extra-right-three {
    top: 320px;
    right: 165px;
    font-size: 20px;
    opacity: .45;
}


/* ============================================================
   NEWSROOM RIBBON
   ============================================================ */

.bio-newsroom-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: -3px auto 8px;
    text-align: center;
}

.bio-newsroom-image {
    display: block;
    width: 100%;
    max-width: 820px;
    height: auto;
    margin: 0 auto;
}


/* ============================================================
   BIOGRAPHY HEADING
   ============================================================ */

.bio-page .bio-name {
    display: block;
    width: 100%;
    margin: 8px auto 0;
    color: #b6000c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4.2vw, 62px);
    font-weight: bold;
    line-height: 1.15;
    text-align: center;
    text-shadow: 0 2px 1px rgba(255,255,255,.9);
}

.bio-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin: 3px auto 20px;
    text-align: center;
}

.bio-page .bio-job-title {
    margin: 0;
    color: #00621e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 2.4vw, 34px);
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
}

.bio-flourish {
    display: block;
    flex: 0 0 65px;
    width: 65px;
    height: 18px;
    border-top: 3px solid #dba322;
    border-radius: 50%;
    transform: rotate(-8deg);
}

.bio-flourish:last-child {
    transform: rotate(8deg);
}


/* ============================================================
   MAIN BIOGRAPHY
   ============================================================ */

.bio-main {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.bio-page .bio-copy {
    color: #43271f;
    font-size: 20px;
    line-height: 1.45;
    text-align: left;
}

.bio-page .bio-copy p {
    margin: 0 0 15px;
}

.bio-photo-column {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.bio-portrait {
    display: block;
    width: 100%;
    max-width: 410px;
    height: auto;
    margin: -5px auto 0;

    filter: drop-shadow(
        0 9px 7px rgba(0,0,0,.20)
    );
}

.bio-social {
    position: relative;
    z-index: 2;
    margin: 8px auto 15px;
    text-align: center;
}


/* ============================================================
   MEET THE REST OF THE TEAM RIBBON
   ============================================================ */

.bio-team-section {
    position: relative;
    z-index: 2;
    margin-top: 0;
}

.bio-team-ribbon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    text-align: center;
}

.bio-team-ribbon-image {
    display: block;
    width: 100%;
    max-width: 740px;
    height: auto;
    margin: 0 auto;
}


/* ============================================================
   STAFF BIOGRAPHY GALLERY
   ============================================================ */

.bio-team-gallery {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 0;
}

.bio-team-gallery .bio-staff-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;

    background: linear-gradient(
        180deg,
        #fffdf6 0%,
        #fffdf6 48%,
        #eaf6ff 100%
    );

    border: 1px solid #ee4050;
    border-radius: 20px;

    box-shadow:
        0 4px 12px rgba(55,95,125,.10);
}

.bio-team-gallery .bio-staff-card:hover {
    box-shadow:
        0 6px 16px rgba(55,95,125,.18);
}

.bio-team-gallery .bio-staff-image {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
    margin: 28px auto 0;
}

.bio-team-gallery .bio-staff-name,
.bio-team-gallery .bio-staff-name:visited {
    display: block;
    margin: 18px 0 16px;
    color: #b50016;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.bio-team-gallery .bio-staff-name:hover,
.bio-team-gallery .bio-staff-name:focus {
    color: #911d16;
    text-decoration: none;
}

.bio-team-gallery .bio-staff-description {
    flex: 1;
    padding: 0 24px 20px;
    color: #513527;
    font-size: 20px;
    line-height: 1.45;
    text-align: left;
}

.bio-team-gallery .bio-staff-footer {
    padding: 15px 24px;
    border-top: 1px solid #dddddd;
}

.bio-team-gallery .bio-staff-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 10px 15px;

    background: #17a2b8;
    border: 1px solid #17a2b8;
    border-radius: 4px;

    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
}

.bio-team-gallery .bio-staff-button:hover,
.bio-team-gallery .bio-staff-button:focus {
    background: #138496;
    border-color: #117a8b;
    color: #ffffff;
    text-decoration: none;
}

.bio-team-gallery .bio-staff-button .fa,
.bio-team-gallery .bio-staff-button .fas {
    font-size: 27px;
}


/* ============================================================
   RESPONSIVE STYLING
   ============================================================ */

@media (max-width: 991.98px) {

    .bio-page .bio-copy {
        font-size: 18px;
    }

    .bio-snowflake-left,
    .bio-snowflake-right {
        font-size: 70px;
    }

    .bio-snowflake-extra-left-one,
    .bio-snowflake-extra-right-one {
        font-size: 28px;
    }
}

@media (max-width: 767.98px) {

    .bio-page {
        margin-top: 10px;
        padding: 10px 12px 25px;
        border-radius: 17px;
    }

    .bio-page .bio-name {
        font-size: 37px;
    }

    .bio-title-row {
        gap: 9px;
        margin-bottom: 18px;
    }

    .bio-page .bio-job-title {
        font-size: 22px;
    }

    .bio-flourish {
        flex-basis: 25px;
        width: 25px;
    }

    .bio-page .bio-copy {
        font-size: 18px;
        line-height: 1.5;
    }

    .bio-photo-column {
        margin-bottom: 20px;
    }

    .bio-portrait {
        max-width: 280px;
        margin-top: 0;
    }

    .bio-snowflake-left,
    .bio-snowflake-right {
        top: 85px;
        font-size: 48px;
    }

    .bio-snowflake-left {
        left: 8px;
    }

    .bio-snowflake-right {
        right: 8px;
    }

    .bio-snowflake-small-left,
    .bio-snowflake-small-right,
    .bio-snowflake-tiny-left,
    .bio-snowflake-tiny-right,
    .bio-snowflake-extra-left-one,
    .bio-snowflake-extra-left-two,
    .bio-snowflake-extra-left-three,
    .bio-snowflake-extra-right-one,
    .bio-snowflake-extra-right-two,
    .bio-snowflake-extra-right-three {
        display: none;
    }

    .bio-team-gallery .bio-staff-image {
        max-width: 220px;
    }

    .bio-team-gallery .bio-staff-name {
        font-size: 29px;
    }

    .bio-team-gallery .bio-staff-description {
        font-size: 18px;
    }

    .bio-team-ribbon-image {
        max-width: 100%;
    }

    .bio-newsroom-image {
        max-width: 100%;
    }
}