/* =====================================
   1. BASIC PAGE SETTINGS
===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #F8F1EA;
    color: #493047;
}

/* No underlines anywhere on the website */

a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
    text-decoration: none !important;
}


/* =====================================
   2. NAVIGATION BAR
===================================== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    border-bottom: 1px solid #E5D5E3;
    background-color: #F8F1EA;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 140px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #493047;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #732871;
}


/* =====================================
   3. HERO SECTION
===================================== */

.hero {
    min-height: 680px;
    padding: 65px 6%;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 45px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.eyebrow {
    color: #732871;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(42px, 5.5vw, 70px);
    line-height: 1.12;
    margin-bottom: 25px;
    color: #493047;
}

.hero h1 span {
    color: #732871;
    font-style: italic;
}

.hero-description {
    max-width: 530px;
    line-height: 1.8;
    color: #725F70;
    margin-bottom: 30px;
}

.hero-button {
    background-color: #732871;
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: #582057;
}


/* =====================================
   4. HERO IMAGE
===================================== */

.hero-image {
    width: 100%;
    height: 550px;
    overflow: hidden;
    border-radius: 12px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* =====================================
   5. MISSION SECTION
===================================== */

.mission {
    background-color: #EDE1E9;
    padding: 85px 12%;
    text-align: center;
}

.mission h2 {
    font-family: Georgia, serif;
    font-size: 36px;
    color: #493047;
    margin-bottom: 20px;
}

.mission p:last-child {
    max-width: 650px;
    margin: auto;
    line-height: 1.8;
    color: #725F70;
}


/* =====================================
   6. PLATFORM FEATURE CARDS
===================================== */

.platform {
    padding: 85px 8%;
    text-align: center;
}

.platform h2 {
    font-family: Georgia, serif;
    font-size: 34px;
    color: #493047;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    text-align: left;
}

.feature-card {
    background-color: #FFFFFF;
    padding: 35px;
    border: 1px solid #E5D5E3;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #732871;
    font-family: Georgia, serif;
    font-size: 23px;
    margin-bottom: 15px;
}

.feature-card p {
    color: #725F70;
    line-height: 1.7;
}


/* =====================================
   7. FOOTER
===================================== */

footer {
    background-color: #732871;
    color: white;
    padding: 35px 8%;
    text-align: center;
    line-height: 2;
}

footer p:last-child {
    font-size: 12px;
    color: #F0E1EF;
}


/* =====================================
   8. WELCOME PATHWAY POPUP
===================================== */

.welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(45, 30, 45, 0.48);
}

.welcome-overlay.is-visible {
    display: flex;
}

.welcome-popup {
    width: 100%;
    max-width: 620px;
    padding: 45px;
    background-color: #F8F1EA;
    border: 1px solid #E5D5E3;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 15px 55px rgba(50, 30, 50, 0.18);
    animation: popupAppear 0.35s ease;
}

.welcome-popup .eyebrow {
    margin-bottom: 15px;
}

.welcome-popup h2 {
    font-family: Georgia, serif;
    font-size: 32px;
    line-height: 1.25;
    color: #493047;
    margin-bottom: 12px;
}

.welcome-description {
    color: #725F70;
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 28px;
}

.welcome-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.welcome-option {
    min-height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background-color: #F1E5ED;
    border: 1px solid #E5D5E3;
    border-radius: 9px;
    color: #493047;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    transition: background-color 0.25s ease,
                transform 0.25s ease,
                border-color 0.25s ease;
}

.welcome-option:hover {
    background-color: #EBD9E7;
    border-color: #C9A9C5;
    transform: translateY(-3px);
}

.welcome-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    color: #732871;
}

.welcome-icon svg {
    width: 42px;
    height: 42px;
    display: block;
}

.explore-link {
    display: inline-block;
    margin-top: 28px;
    padding: 5px;
    border: none;
    background: transparent;
    color: #732871;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.25s ease;
}

.explore-link:hover {
    color: #493047;
}

@keyframes popupAppear {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {

    .welcome-popup {
        padding: 30px 20px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .welcome-popup h2 {
        font-size: 26px;
    }

    .welcome-grid {
        gap: 10px;
    }

    .welcome-option {
        min-height: 125px;
        padding: 14px 10px;
        font-size: 12px;
    }

    .welcome-icon {
        width: 42px;
        height: 42px;
    }

    .welcome-icon svg {
        width: 36px;
        height: 36px;
    }
}


/* =====================================
   9. A LITTLE GARDEN OF HOPE
===================================== */

.garden-section {
    padding: 85px 7%;
    text-align: center;
    background-color: #F8F1EA;
}

.garden-section h2 {
    font-family: Georgia, serif;
    font-size: 2.4rem;
    color: #493047;
    margin: 15px 0;
}

.garden-description {
    max-width: 650px;
    margin: 0 auto 45px;
    line-height: 1.8;
    color: #6D5869;
}

.flower-selection {
    max-width: 1100px;
    margin: 50px auto;
    text-align: center;
}

.flower-selection h3 {
    font-family: Georgia, serif;
    font-size: 1.8rem;
    color: #493047;
    margin-bottom: 12px;
}

.flower-selection > p {
    color: #6D5869;
    margin-bottom: 35px;
    line-height: 1.7;
}


/* =====================================
   10. FLOWER GALLERY
===================================== */

.flower-gallery {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
    max-width: 1050px;
    margin: 0 auto;
}

.flower-choice {
    grid-column: span 2;
    min-height: 320px;
    padding: 32px 24px;
    border: 1.5px solid #E0CEDB;
    border-radius: 18px;
    background-color: #FFFDFC;
    color: #493047;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    cursor: pointer;
    transition: transform 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                background-color 0.3s ease;
}

.flower-choice:nth-child(4) {
    grid-column: 2 / span 2;
}

.flower-choice:nth-child(5) {
    grid-column: 4 / span 2;
}

.flower-art {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 125px;
    margin-bottom: 8px;
}

.flower-art svg {
    width: 110px;
    height: 125px;
    display: block;
    overflow: visible;
}

.flower-choice strong {
    font-family: Georgia, serif;
    font-size: 1.45rem;
    font-weight: 600;
}

.flower-choice > span:not(.flower-art) {
    font-size: 1rem;
    color: #A16B86;
    font-weight: 600;
}

.flower-choice small {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6D5869;
    max-width: 250px;
}

.flower-choice:hover {
    transform: translateY(-6px);
    border-color: #A16B86;
    box-shadow: 0 10px 25px rgba(73, 48, 71, 0.09);
}

.flower-choice.selected {
    background-color: #F3E8ED;
    border: 2px solid #732871;
    box-shadow: 0 8px 22px rgba(115, 40, 113, 0.12);
    transform: translateY(-4px);
}

.flower-choice:focus-visible {
    outline: 3px solid #732871;
    outline-offset: 4px;
}


/* =====================================
   11. GARDEN INTERACTION AREA
===================================== */

.garden-container {
    max-width: 850px;
    min-height: 450px;
    margin: 55px auto 0;
    padding: 35px 25px;
    background-color: #EDE1E9;
    border: 1px solid #E5D5E3;
    border-radius: 20px;
}

.garden-instruction {
    color: #6D5869;
    line-height: 1.7;
    margin-bottom: 25px;
}

.garden-scene {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: visible;
    isolation: isolate;
}

.garden-plant {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    width: 220px;
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    z-index: 2;
}

.garden-plant svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}


/* =====================================
   12. VINTAGE BOTANICAL WATERING CAN
===================================== */

.watering-tool {
    position: absolute;
    left: 10%;
    top: auto;
    bottom: 5px;
    width: 170px;
    height: 124px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab;
    touch-action: none;
    user-select: none;
    transition: none;
}

.watering-tool svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.watering-tool:active {
    cursor: grabbing;
}

.watering-tool.returning {
    transition:
        left 0.65s ease,
        top 0.65s ease;
    cursor: grab;
}


/* =====================================
   13. WATER DROPLET ANIMATION
===================================== */

.water-flow {
    position: absolute;
    display: none;
    pointer-events: none;
    z-index: 4;
}

.water-flow.is-active {
    display: block;
}

.garden-water-drop {
    position: absolute;
    width: 6px;
    height: 11px;
    background: #8AB9D5;
    border-radius: 50% 50% 55% 55%;
    opacity: 0;
    pointer-events: none;
    animation: gardenWaterFall 0.65s linear infinite;
}

@keyframes gardenWaterFall {

    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        transform: translateY(65px) scale(0.9);
        opacity: 0;
    }
}


/* =====================================
   14. GARDEN MESSAGE AND RESTART
===================================== */

.garden-message {
    max-width: 550px;
    margin: 25px auto 0;
    color: #493047;
    line-height: 1.8;
    font-family: Georgia, serif;
    font-size: 1.15rem;
}

.restart-garden {
    margin-top: 20px;
    padding: 13px 25px;
    border: 1px solid #732871;
    border-radius: 30px;
    background-color: #732871;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.restart-garden:hover {
    background-color: #493047;
}


/* =====================================
   15. GARDEN MOBILE RESPONSIVENESS
===================================== */

@media (max-width: 700px) {

    .garden-section {
        padding: 65px 6%;
    }

    .garden-section h2 {
        font-size: 1.9rem;
    }

    .flower-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .flower-choice,
    .flower-choice:nth-child(4),
    .flower-choice:nth-child(5) {
        grid-column: auto;
        min-height: 285px;
        padding: 23px 14px;
    }

    .flower-choice:last-child {
        grid-column: 1 / -1;
        width: 75%;
        justify-self: center;
    }

    .flower-art {
        height: 115px;
    }

    .flower-art svg {
        width: 100px;
        height: 115px;
    }

    .flower-choice strong {
        font-size: 1.2rem;
    }

    .flower-choice small {
        font-size: 0.87rem;
    }

    .garden-container {
        padding: 25px 15px;
    }

    .garden-scene {
        height: 350px;
    }

    .garden-plant {
        width: 190px;
        height: 220px;
    }

    .watering-tool {
        width: 135px;
        height: 98px;
        bottom: 5px;
    }
}

@media (max-width: 420px) {

    .flower-gallery {
        grid-template-columns: 1fr;
    }

    .flower-choice,
    .flower-choice:nth-child(4),
    .flower-choice:nth-child(5),
    .flower-choice:last-child {
        grid-column: auto;
        width: 100%;
        min-height: 245px;
    }

    .garden-scene {
        height: 330px;
    }

    .garden-plant {
        width: 165px;
        height: 200px;
    }

    .watering-tool {
        width: 115px;
        height: 84px;
        bottom: 5px;
    }
}


/* =====================================
   16. GENERAL MOBILE RESPONSIVENESS
===================================== */

@media (max-width: 650px) {

    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px 6%;
    }

    .logo img {
        height: 85px;
        max-width: 280px;
    }

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

    .hero {
        grid-template-columns: 1fr;
        padding: 50px 8%;
        gap: 35px;
    }

    .hero-image {
        height: 420px;
        border-radius: 10px;
    }

    .mission {
        padding: 65px 8%;
    }

    .mission h2 {
        font-size: 29px;
    }

    .platform {
        padding: 65px 8%;
    }

    .platform h2 {
        font-size: 29px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}


/* =====================================
   17. KNOW YOUR BODY PAGE
===================================== */

.navbar nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
}

.navbar nav a {
    text-decoration: none;
    color: #493047;
    font-size: 14px;
    transition: color 0.3s ease;
}

.navbar nav a:hover,
.navbar nav a.active {
    color: #732871;
}

.navbar nav a.active {
    font-weight: bold;
}

.know-hero {
    padding: 90px 12% 75px;
    text-align: center;
    background-color: #EDE1E9;
}

.know-hero .section-label {
    color: #732871;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 22px;
}

.know-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(40px, 5vw, 62px);
    color: #493047;
    margin-bottom: 25px;
}

.know-intro {
    max-width: 720px;
    margin: 0 auto 20px;
    color: #725F70;
    font-size: 16px;
    line-height: 1.9;
}

.know-note {
    max-width: 650px;
    margin: 0 auto;
    color: #732871;
    font-family: Georgia, serif;
    font-style: italic;
    line-height: 1.8;
}

.cancer-directory {
    padding: 85px 8%;
    text-align: center;
}

.directory-heading {
    margin-bottom: 45px;
}

.directory-heading h2 {
    font-family: Georgia, serif;
    font-size: 36px;
    color: #493047;
    margin-bottom: 15px;
}

.directory-heading p {
    max-width: 650px;
    margin: auto;
    color: #725F70;
    line-height: 1.8;
}

.cancer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 1050px;
    margin: auto;
    text-align: left;
}

.cancer-card {
    display: block;
    overflow: hidden;
    background-color: #FFFFFF;
    border: 1px solid #E5D5E3;
    border-radius: 12px;
    text-decoration: none;
    color: #493047;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.cancer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(73, 48, 71, 0.12);
}

.cancer-card:focus-visible {
    outline: 3px solid #732871;
    outline-offset: 5px;
}

.cancer-card-image {
    height: 230px;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    overflow: hidden;
}

.breast-image {
    background: linear-gradient(135deg, #D9B9CA, #A16B86);
}

.ovarian-image {
    background: linear-gradient(135deg, #C8B8D8, #80658F);
}

.cancer-card-image span {
    color: #FFFFFF;
    font-family: Georgia, serif;
    font-size: 42px;
    opacity: 0.9;
}

.cancer-card-content {
    padding: 30px;
}

.cancer-category {
    display: inline-block;
    color: #732871;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.cancer-card-content h3 {
    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1.3;
    margin-bottom: 14px;
}

.cancer-card-content p {
    color: #725F70;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.card-link {
    color: #732871;
    font-size: 14px;
    font-weight: bold;
}

.upcoming-cancers {
    padding: 75px 8%;
    text-align: center;
    background-color: #EDE1E9;
}

.upcoming-cancers h2 {
    font-family: Georgia, serif;
    font-size: 32px;
    color: #493047;
    margin-bottom: 15px;
}

.upcoming-cancers > p {
    max-width: 650px;
    margin: 0 auto 35px;
    color: #725F70;
    line-height: 1.8;
}

.upcoming-list {
    max-width: 900px;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.upcoming-list span {
    padding: 14px 22px;
    background-color: #F8F1EA;
    border: 1px solid #E5D5E3;
    border-radius: 30px;
    color: #493047;
    font-size: 14px;
}

.footer {
    text-align: center;
}

.footer a {
    display: inline-block;
    margin-top: 12px;
    color: #FFFFFF;
    font-size: 14px;
    text-decoration: none !important;
}


/* =====================================
   18. KNOW YOUR BODY RESPONSIVENESS
===================================== */

@media (max-width: 700px) {

    .navbar nav {
        justify-content: center;
        gap: 15px;
    }

    .navbar nav a {
        font-size: 13px;
    }

    .know-hero {
        padding: 65px 8%;
    }

    .know-hero h1 {
        font-size: 40px;
    }

    .know-intro {
        font-size: 14px;
    }

    .cancer-directory {
        padding: 65px 7%;
    }

    .directory-heading h2 {
        font-size: 30px;
    }

    .cancer-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .cancer-card-image {
        height: 200px;
    }

    .upcoming-cancers {
        padding: 60px 7%;
    }
}

@media (max-width: 420px) {

    .navbar nav {
        gap: 12px;
    }

    .navbar nav a {
        font-size: 12px;
    }

    .know-hero h1 {
        font-size: 34px;
    }

    .cancer-card-content {
        padding: 23px;
    }

    .cancer-card-content h3 {
        font-size: 22px;
    }
}


/* =====================================
   19. INDIVIDUAL CANCER GUIDE PAGES
===================================== */

.cancer-guide-hero {
    padding: 85px 12%;
    text-align: center;
    background-color: #EDE1E9;
}

.cancer-guide-hero .section-label {
    color: #732871;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.cancer-guide-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 5vw, 58px);
    color: #493047;
    margin-bottom: 20px;
}

.cancer-guide-hero > p:not(.section-label) {
    max-width: 700px;
    margin: 0 auto 25px;
    color: #725F70;
    line-height: 1.9;
}

.cancer-guide-hero > a {
    display: inline-block;
    color: #732871;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: bold;
}

.cancer-guide-hero > a:hover {
    color: #493047;
    text-decoration: none !important;
}

.cancer-guide-content {
    max-width: 950px;
    margin: 0 auto;
    padding: 65px 35px 85px;
}

.guide-section {
    padding: 35px 0;
    border-bottom: 1px solid #E5D5E3;
    scroll-margin-top: 30px;
}

.guide-section .section-label {
    color: #A16B86;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.guide-section h2 {
    font-family: Georgia, serif;
    font-size: 32px;
    color: #493047;
    margin-bottom: 22px;
    line-height: 1.3;
}

.guide-section h3 {
    font-family: Georgia, serif;
    font-size: 22px;
    color: #732871;
    margin: 28px 0 15px;
}

.guide-section p {
    color: #725F70;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 17px;
}

.guide-section ul {
    padding-left: 25px;
    margin: 15px 0 25px;
}

.guide-section li {
    color: #725F70;
    font-size: 15px;
    line-height: 1.8;
    padding-left: 6px;
    margin-bottom: 13px;
}

.guide-section li strong {
    color: #493047;
}

.guide-note {
    margin-top: 30px;
    padding: 25px 28px;
    background-color: #EDE1E9;
    border-left: 4px solid #732871;
    border-radius: 5px;
}

.guide-note strong {
    display: block;
    color: #493047;
    font-family: Georgia, serif;
    font-size: 18px;
    margin-bottom: 12px;
}

.guide-note p {
    margin-bottom: 10px;
}

.guide-note p:last-child {
    margin-bottom: 0;
}

.guide-references {
    padding: 45px 0 20px;
}

.guide-references h2 {
    font-family: Georgia, serif;
    font-size: 29px;
    color: #493047;
    margin-bottom: 18px;
}

.guide-references p,
.guide-references li {
    color: #725F70;
    font-size: 14px;
    line-height: 1.8;
}

.guide-references ul {
    padding-left: 22px;
    margin: 18px 0;
}

.guide-references li {
    margin-bottom: 12px;
}

.guide-references a {
    color: #732871;
    text-decoration: none !important;
}

.guide-references a:hover {
    color: #493047;
    text-decoration: none !important;
}

.reference-date {
    font-size: 12px !important;
    color: #A16B86 !important;
    margin-top: 22px;
}

@media (max-width: 650px) {

    .cancer-guide-hero {
        padding: 65px 8%;
    }

    .cancer-guide-hero h1 {
        font-size: 36px;
    }

    .cancer-guide-content {
        padding: 40px 7% 60px;
    }

    .guide-section {
        padding: 28px 0;
    }

    .guide-section h2 {
        font-size: 27px;
    }

    .guide-section h3 {
        font-size: 20px;
    }

    .guide-section p,
    .guide-section li {
        font-size: 14px;
    }

    .guide-note {
        padding: 20px;
    }

    .guide-references h2 {
        font-size: 25px;
    }
}


/* Cancer directory ribbon images */

.cancer-card-image {
    width: 100%;
    height: 230px;
    overflow: hidden;
}

.cancer-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}


/* Know Your Body botanical hero */

.know-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.know-hero-content {
    flex: 1;
    max-width: 700px;
}

.know-hero-image {
    flex: 0 0 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.know-hero-image img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
}


/* Know Your Body mobile responsiveness */

@media (max-width: 768px) {

    .know-hero {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .know-hero-image {
        flex: none;
        width: 200px;
    }
}


/* =====================================
   20. NAVIGATION AND LINK UNDERLINE FIX
===================================== */

.nav-links a,
.nav-links a:link,
.nav-links a:visited,
.nav-links a:hover,
.nav-links a:active,
.navbar nav a,
.navbar nav a:link,
.navbar nav a:visited,
.navbar nav a:hover,
.navbar nav a:active {
    text-decoration: none !important;
}

.nav-links a {
    color: #493047;
}

.nav-links a:hover {
    color: #732871;
}

a.feature-card,
a.feature-card:link,
a.feature-card:visited,
a.feature-card:hover,
a.feature-card:active {
    text-decoration: none !important;
    color: inherit;
}

.welcome-option,
.welcome-option:link,
.welcome-option:visited,
.welcome-option:hover,
.welcome-option:active {
    text-decoration: none !important;
}


/* =====================================
   21. HER VOICE PAGE
===================================== */

/* Hero section */

.her-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 90px 12% 75px;
    background-color: #EDE1E9;
}

.her-hero-content {
    flex: 1;
    max-width: 700px;
}

.her-hero .section-label {
    color: #732871;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 22px;
}

.her-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.15;
    color: #493047;
    margin-bottom: 25px;
}

.her-hero-content > p:not(.section-label) {
    max-width: 680px;
    color: #725F70;
    font-size: 16px;
    line-height: 1.9;
}

.her-hero-image {
    flex: 0 0 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.her-hero-image img {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: contain;
}


/* Introduction section */

.her-introduction {
    max-width: 850px;
    margin: 0 auto;
    padding: 75px 25px 65px;
    text-align: center;
}

.her-section-label {
    color: #732871;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.her-introduction h2 {
    font-family: Georgia, serif;
    font-size: 34px;
    line-height: 1.3;
    color: #493047;
    margin-bottom: 20px;
}

.her-introduction p {
    color: #725F70;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 15px;
}


/* Survivor stories section */

.her-stories {
    padding: 85px 8%;
    background-color: #F8F1EA;
    scroll-margin-top: 30px;
}

.her-stories-heading {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.her-stories-heading h2 {
    font-family: Georgia, serif;
    font-size: 36px;
    color: #493047;
    margin-bottom: 15px;
}

.her-stories-heading > p:not(.her-section-label) {
    color: #725F70;
    font-size: 15px;
    line-height: 1.8;
}

.her-disclosure {
    max-width: 1050px;
    margin: 0 auto 35px;
    padding: 22px 25px;
    background-color: #EDE1E9;
    border-left: 4px solid #732871;
    border-radius: 5px;
}

.her-disclosure p {
    color: #725F70;
    font-size: 13px;
    line-height: 1.8;
}

.her-disclosure strong {
    color: #493047;
}


/* Story filters */

.story-filters {
    max-width: 1050px;
    margin: 0 auto 18px;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 190px;
}

.filter-group label {
    color: #493047;
    font-size: 13px;
    font-weight: bold;
}

.filter-group select {
    min-width: 190px;
    padding: 12px 14px;
    border: 1px solid #E5D5E3;
    border-radius: 6px;
    background-color: #FFFFFF;
    color: #493047;
    font-family: Arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
}

.filter-group select:focus-visible,
.filter-reset:focus-visible,
.story-flip-button:focus-visible,
.story-read-link:focus-visible,
.story-back-button:focus-visible {
    outline: 3px solid #732871;
    outline-offset: 3px;
}

.filter-reset {
    padding: 12px 20px;
    border: 1px solid #732871;
    border-radius: 4px;
    background-color: transparent;
    color: #732871;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.25s ease,
                color 0.25s ease;
}

.filter-reset:hover {
    background-color: #732871;
    color: #FFFFFF;
}

.story-result-count {
    max-width: 1050px;
    margin: 0 auto 22px;
    color: #725F70;
    font-size: 13px;
}


/* Story card grid */

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    max-width: 1050px;
    margin: 0 auto;
    align-items: stretch;
}

.story-card {
    min-width: 0;
    min-height: 390px;
    perspective: 1200px;
}

.story-card-inner {
    position: relative;
    width: 100%;
    min-height: 390px;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.65s ease;
}

.story-card.is-flipped .story-card-inner {
    transform: rotateY(180deg);
}

.story-card-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #FFFFFF;
    border: 1px solid #E5D5E3;
    border-radius: 12px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.story-card-front {
    transform: rotateY(0deg);
}

.story-card-back {
    transform: rotateY(180deg);
    padding: 28px;
    justify-content: center;
}

.story-card-front img {
    display: block;
    width: 100%;
    height: 235px;
    object-fit: cover;
    object-position: center;
}

.story-card-front-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
}

.story-card-label {
    color: #A16B86;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.story-card-front h3 {
    font-family: Georgia, serif;
    font-size: 23px;
    line-height: 1.3;
    color: #493047;
    margin-bottom: 8px;
}

.story-card-front-content > p:not(.story-card-label) {
    color: #725F70;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 17px;
}

.story-flip-button,
.story-back-button {
    margin-top: auto;
    padding: 10px 16px;
    border: 1px solid #732871;
    border-radius: 4px;
    background-color: #732871;
    color: #FFFFFF;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.story-flip-button:hover,
.story-back-button:hover {
    background-color: #493047;
}

.story-card-back h3 {
    font-family: Georgia, serif;
    font-size: 24px;
    line-height: 1.3;
    color: #493047;
    margin-bottom: 15px;
}

.story-card-back p {
    color: #725F70;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-read-link {
    display: inline-block;
    width: fit-content;
    margin-bottom: 18px;
    color: #732871;
    font-size: 14px;
    font-weight: bold;
}

.story-read-link:hover {
    color: #493047;
}

.story-empty {
    display: none;
    max-width: 700px;
    margin: 35px auto 0;
    padding: 30px;
    text-align: center;
    background-color: #EDE1E9;
    border-radius: 5px;
}

.story-empty.is-visible {
    display: block;
}

.story-empty p {
    color: #725F70;
    font-size: 14px;
    line-height: 1.8;
}


/* Share your story section */

.her-share {
    padding: 85px 12%;
    text-align: center;
    background-color: #EDE1E9;
}

.her-share .her-section-label {
    margin-bottom: 20px;
}

.her-share h2 {
    font-family: Georgia, serif;
    font-size: 36px;
    line-height: 1.3;
    color: #493047;
    margin-bottom: 18px;
}

.her-share > p {
    max-width: 680px;
    margin: 0 auto 18px;
    color: #725F70;
    font-size: 15px;
    line-height: 1.9;
}

.her-share-note {
    max-width: 700px;
    margin: 30px auto 0;
    padding: 22px 25px;
    background-color: #F8F1EA;
    border: 1px solid #E5D5E3;
    border-radius: 6px;
    text-align: left;
}

.her-share-note p {
    color: #725F70;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.her-share-note p:last-child {
    margin-bottom: 0;
}

.her-share-note strong {
    color: #493047;
}

.her-share-note a {
    color: #732871;
    font-weight: bold;
}

.her-share-note a:hover {
    color: #493047;
}

.her-button {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 24px;
    border: 1px solid #732871;
    border-radius: 4px;
    background-color: #732871;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.25s ease;
}

.her-button:hover {
    background-color: #493047;
}


/* Closing section */

.her-closing {
    padding: 75px 12%;
    text-align: center;
    background-color: #F8F1EA;
}

.her-closing h2 {
    font-family: Georgia, serif;
    font-size: 32px;
    color: #493047;
    margin-bottom: 18px;
}

.her-closing p {
    max-width: 650px;
    margin: 0 auto;
    color: #725F70;
    font-size: 15px;
    line-height: 1.9;
}

.her-expansion {
    margin-top: 25px;
    color: #A16B86 !important;
    font-family: Georgia, serif;
    font-style: italic;
}


/* =====================================
   22. INDIVIDUAL SURVIVOR STORY PAGES
===================================== */

/* Survivor page hero */

.survivor-hero {
    padding: 75px 12%;
    text-align: center;
    background-color: #EDE1E9;
}

.survivor-back-link {
    display: inline-block;
    margin-bottom: 25px;
    color: #732871;
    font-size: 14px;
    font-weight: bold;
}

.survivor-back-link:hover {
    color: #493047;
}

.survivor-hero .section-label {
    color: #732871;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.survivor-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 5vw, 58px);
    color: #493047;
    margin-bottom: 15px;
}

.survivor-hero > p:not(.section-label) {
    max-width: 650px;
    margin: 0 auto;
    color: #725F70;
    font-size: 15px;
    line-height: 1.8;
}


/* Survivor profile */

.survivor-profile {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: center;
    gap: 45px;
    max-width: 950px;
    margin: 0 auto;
    padding: 65px 35px;
}

.survivor-profile img {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.survivor-profile-content h2 {
    font-family: Georgia, serif;
    font-size: 30px;
    color: #493047;
    margin-bottom: 18px;
}

.survivor-profile-content p {
    color: #725F70;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 14px;
}


/* Fictional story disclosure */

.survivor-disclosure {
    max-width: 850px;
    margin: 0 auto 35px;
    padding: 22px 25px;
    background-color: #EDE1E9;
    border-left: 4px solid #732871;
    border-radius: 5px;
}

.survivor-disclosure p {
    color: #725F70;
    font-size: 13px;
    line-height: 1.8;
}

.survivor-disclosure strong {
    color: #493047;
}


/* Story content */

.survivor-story-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 20px 35px 75px;
}

.survivor-story-section {
    padding: 32px 0;
    border-bottom: 1px solid #E5D5E3;
}

.survivor-story-section .section-label {
    color: #A16B86;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.survivor-story-section h2 {
    font-family: Georgia, serif;
    font-size: 30px;
    line-height: 1.3;
    color: #493047;
    margin-bottom: 20px;
}

.survivor-story-section h3 {
    font-family: Georgia, serif;
    font-size: 21px;
    color: #732871;
    margin: 25px 0 12px;
}

.survivor-story-section p {
    color: #725F70;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 17px;
}

.survivor-story-section ul {
    padding-left: 24px;
    margin: 15px 0 22px;
}

.survivor-story-section li {
    color: #725F70;
    font-size: 15px;
    line-height: 1.8;
    padding-left: 5px;
    margin-bottom: 12px;
}


/* Survivor quote */

.survivor-quote {
    margin: 30px 0;
    padding: 25px 28px;
    background-color: #EDE1E9;
    border-left: 4px solid #A16B86;
    border-radius: 5px;
}

.survivor-quote p {
    color: #493047;
    font-family: Georgia, serif;
    font-size: 19px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 0;
}


/* Navigation between survivor stories */

.survivor-story-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 35px 75px;
}

.survivor-story-navigation a {
    color: #732871;
    font-size: 14px;
    font-weight: bold;
}

.survivor-story-navigation a:hover {
    color: #493047;
}


/* =====================================
   23. HER VOICE RESPONSIVENESS
===================================== */

/* Tablet */

@media (max-width: 850px) {

    .her-hero {
        padding: 70px 8%;
        gap: 25px;
    }

    .her-hero-image {
        flex: 0 0 230px;
    }

    .her-hero-image img {
        max-height: 280px;
    }

    .story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .survivor-profile {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 30px;
    }

    .survivor-profile img {
        height: 310px;
    }
}


/* Mobile */

@media (max-width: 650px) {

    .her-hero {
        flex-direction: column;
        text-align: center;
        padding: 65px 8%;
        gap: 25px;
    }

    .her-hero-content {
        width: 100%;
    }

    .her-hero h1 {
        font-size: 40px;
    }

    .her-hero-content > p:not(.section-label) {
        font-size: 14px;
    }

    .her-hero-image {
        flex: none;
        width: 200px;
    }

    .her-hero-image img {
        max-height: 240px;
    }

    .her-introduction {
        padding: 60px 8%;
    }

    .her-introduction h2 {
        font-size: 29px;
    }

    .her-introduction p {
        font-size: 14px;
    }

    .her-stories {
        padding: 65px 7%;
    }

    .her-stories-heading h2 {
        font-size: 30px;
    }

    .her-stories-heading > p:not(.her-section-label) {
        font-size: 14px;
    }

    .her-disclosure {
        padding: 19px;
    }

    .story-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .filter-group,
    .filter-group select {
        width: 100%;
        min-width: 0;
    }

    .filter-reset {
        align-self: flex-start;
    }

    .story-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        gap: 22px;
    }

    .story-card,
    .story-card-inner {
        min-height: 390px;
    }

    .her-share {
        padding: 65px 8%;
    }

    .her-share h2 {
        font-size: 30px;
    }

    .her-share > p {
        font-size: 14px;
    }

    .her-share-note {
        padding: 20px;
    }

    .her-closing {
        padding: 60px 8%;
    }

    .her-closing h2 {
        font-size: 28px;
    }

    .survivor-hero {
        padding: 60px 8%;
    }

    .survivor-hero h1 {
        font-size: 36px;
    }

    .survivor-profile {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 480px;
        padding: 45px 7%;
        text-align: center;
    }

    .survivor-profile img {
        width: 220px;
        height: 260px;
        margin: 0 auto;
    }

    .survivor-profile-content h2 {
        font-size: 27px;
    }

    .survivor-disclosure {
        margin: 0 7% 25px;
        padding: 19px;
    }

    .survivor-story-content {
        padding: 15px 7% 55px;
    }

    .survivor-story-section {
        padding: 27px 0;
    }

    .survivor-story-section h2 {
        font-size: 26px;
    }

    .survivor-story-section h3 {
        font-size: 20px;
    }

    .survivor-story-section p,
    .survivor-story-section li {
        font-size: 14px;
    }

    .survivor-quote {
        padding: 20px;
    }

    .survivor-quote p {
        font-size: 17px;
    }

    .survivor-story-navigation {
        padding: 0 7% 55px;
    }
}


/* Small mobile screens */

@media (max-width: 420px) {

    .her-hero h1 {
        font-size: 34px;
    }

    .her-stories-heading h2 {
        font-size: 27px;
    }

    .story-card-front img {
        height: 215px;
    }

    .story-card-front-content {
        padding: 19px;
    }

    .story-card-back {
        padding: 23px;
    }

    .survivor-hero h1 {
        font-size: 32px;
    }

    .survivor-profile img {
        width: 190px;
        height: 235px;
    }

    .survivor-story-section h2 {
        font-size: 24px;
    }
}


/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {

    .story-card-inner {
        transition: none;
    }

    .story-flip-button,
    .story-back-button,
    .filter-reset,
    .her-button {
        transition: none;
    }
}
/* Survivor story navigation button */
.survivor-story-navigation .her-button {
    display: inline-block;
    background-color: #732871;
    color: #FFFFFF;
    padding: 13px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.survivor-story-navigation .her-button:hover {
    background-color: #493047;
    color: #FFFFFF;
    text-decoration: none;
}
/* Individual cancer guide hero images - Mobile only */

@media (max-width: 650px) {

    .cancer-guide-hero .cancer-guide-image {
        width: 100%;
        max-width: 280px;
        margin: 20px auto 0;
        overflow: hidden;
    }

    .cancer-guide-hero .cancer-guide-image img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

}
/* Keep mobile navigation font size consistent */

@media (max-width: 700px) {
    .navbar nav a {
        font-size: 14px;
    }
}
/* Copyright notice */

.copyright {
    text-align: center;
    font-size: 12px;
    color: #725F70;
    margin-top: 20px;
    line-height: 1.8;
}