/* =========================================================
   TOWNE KIDS - NURSE STORIES
========================================================= */

.nurse-stories-page {
    --ns-navy: #102d52;
    --ns-dark: #292d40;
    --ns-orange: #f15b3f;
    --ns-light-orange: #fff6f1;
    --ns-light-blue: #f1f8fd;
    --ns-border: #e7e5e1;
    --ns-text: #424555;
    background: #fff;
}

.nurse-stories-page *,
.nurse-stories-page *::before,
.nurse-stories-page *::after {
    box-sizing: border-box;
}

.ns-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


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

.ns-hero {
    background: #fffaf7;
    overflow: hidden;
}

.ns-hero .ns-container {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 500px;
    align-items: center;
}

.ns-hero-content {
    position: relative;
    z-index: 2;
    padding: 70px 40px 70px 0;
}

.ns-eyebrow {
    margin-bottom: 12px;
    color: var(--ns-orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.ns-hero h1 {
    margin: 0;
    color: var(--ns-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 400;
    line-height: 1.05;
}

.ns-hero h2 {
    margin: 25px 0 0;
    color: var(--ns-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.3;
}

.ns-hero p {
    max-width: 520px;
    margin: 18px 0 0;
    color: var(--ns-text);
    font-size: 17px;
    line-height: 1.7;
}

.ns-heading-decoration {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 17px;
}

.ns-heading-decoration span:first-child {
    display: block;
    width: 62px;
    height: 2px;
    background: var(--ns-orange);
}

.ns-heading-decoration span {
    color: var(--ns-orange);
    font-size: 23px;
    line-height: 1;
}

.ns-hero-image {
    position: relative;
    align-self: stretch;
    min-height: 500px;
    overflow: hidden;
}

.ns-hero-image::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    bottom: 0;
    width: 170px;
    background: linear-gradient(
        90deg,
        #fffaf7 0%,
        rgba(255, 250, 247, 0.85) 20%,
        rgba(255, 250, 247, 0) 100%
    );
}

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


/* =========================================================
   STORIES
========================================================= */

.ns-stories {
    padding: 90px 0;
    background: #fff;
}

.ns-section-heading {
    margin-bottom: 38px;
}

.ns-section-heading h2 {
    margin: 0;
    color: var(--ns-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.15;
}

.ns-section-heading .ns-heading-decoration {
    margin-top: 12px;
}

.ns-stories-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.ns-story-card {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 390px;
    overflow: hidden;
    border: 1px solid var(--ns-border);
    border-radius: 17px;
    background: #fff;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.ns-story-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(16, 45, 82, 0.1);
}

.ns-story-image {
    display: block;
    min-height: 390px;
    overflow: hidden;
    background: #f3f3f3;
}

.ns-story-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ns-story-card:hover .ns-story-image img {
    transform: scale(1.04);
}

.ns-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 390px;
    color: #999;
    font-size: 14px;
}

.ns-story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px;
}

.ns-story-label {
    margin-bottom: 12px;
    color: var(--ns-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.ns-story-content h3 {
    margin: 0;
    color: var(--ns-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.22;
}

.ns-story-content h3 a {
    color: inherit;
    text-decoration: none;
}

.ns-nurse-name {
    margin-top: 12px;
    color: var(--ns-orange);
    font-size: 15px;
    font-weight: 600;
}

.ns-story-content p {
    margin: 18px 0 0;
    color: var(--ns-text);
    font-size: 15px;
    line-height: 1.65;
}

.ns-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 25px;
    color: var(--ns-orange);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.ns-read-more span {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.ns-read-more:hover span {
    transform: translateX(5px);
}

.ns-empty {
    padding: 70px 30px;
    text-align: center;
    border: 1px solid var(--ns-border);
    border-radius: 16px;
}

.ns-empty h3 {
    margin: 0;
    color: var(--ns-navy);
}


/* =========================================================
   COMING SOON
========================================================= */

.ns-coming-soon {
    padding: 0 0 70px;
}

.ns-coming-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 42px;
    border-radius: 16px;
    background: var(--ns-light-orange);
}

.ns-coming-content {
    max-width: 720px;
}

.ns-coming-content h2 {
    margin: 0;
    color: var(--ns-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
}

.ns-coming-content p {
    margin: 15px 0 0;
    color: var(--ns-text);
    font-size: 16px;
    line-height: 1.6;
}

.ns-coming-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 130px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #fff;
    color: var(--ns-orange);
}

.ns-coming-icon span:first-child {
    font-size: 65px;
}

.ns-coming-icon span:last-child {
    position: absolute;
    font-size: 38px;
    transform: rotate(180deg);
}


/* =========================================================
   GALLERY
========================================================= */

.ns-gallery {
    padding: 0 0 80px;
}

.ns-gallery-inner {
    display: grid;
    grid-template-columns: 35% 65%;
    align-items: center;
    gap: 30px;
    padding: 38px;
    border-radius: 16px;
    background: var(--ns-light-blue);
}

.ns-gallery-intro {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.ns-gallery-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 65px;
    width: 65px;
    height: 65px;
    color: var(--ns-orange);
    font-size: 48px;
}

.ns-gallery-intro h2 {
    margin: 0;
    color: var(--ns-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 400;
}

.ns-gallery-intro p {
    margin: 8px 0 0;
    color: var(--ns-text);
    font-size: 14px;
}

.ns-gallery-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--ns-orange);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.ns-gallery-link span {
    font-size: 19px;
}

.ns-gallery-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.ns-gallery-image {
    display: block;
    height: 115px;
    overflow: hidden;
    border-radius: 10px;
    background: #ddd;
}

.ns-gallery-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ns-gallery-image:hover img {
    transform: scale(1.05);
}

.ns-gallery-placeholder {
    grid-column: 1 / -1;
    padding: 35px 20px;
    text-align: center;
    color: #777;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
}


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

.ns-cta {
    padding: 0 0 90px;
}

.ns-cta-inner {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 40px;
    border-radius: 16px;
    background: var(--ns-light-orange);
}

.ns-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    color: var(--ns-orange);
    font-size: 64px;
}

.ns-cta-content h2 {
    margin: 0;
    color: var(--ns-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 400;
}

.ns-cta-content p {
    margin: 8px 0 0;
    color: var(--ns-text);
    font-size: 15px;
}

.ns-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 280px;
}

.ns-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.ns-button-primary {
    background: var(--ns-orange);
    color: #fff !important;
}

.ns-button-secondary {
    border: 2px solid var(--ns-orange);
    background: #fff;
    color: var(--ns-orange) !important;
}

.ns-button:hover {
    transform: translateY(-2px);
}


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

@media (max-width: 991px) {

    .ns-container {
        width: min(100% - 36px, 760px);
    }

    .ns-hero .ns-container {
        grid-template-columns: 1fr;
    }

    .ns-hero-content {
        padding: 60px 0 35px;
    }

    .ns-hero-image {
        min-height: 420px;
    }

    .ns-hero-image img {
        min-height: 420px;
    }

    .ns-hero-image::before {
        display: none;
    }

    .ns-stories-grid {
        grid-template-columns: 1fr;
    }

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

    .ns-cta-inner {
        grid-template-columns: 75px 1fr;
    }

    .ns-cta-buttons {
        grid-column: 2;
    }
}


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

@media (max-width: 767px) {

    .ns-container {
        width: calc(100% - 30px);
    }

    .ns-hero-content {
        padding: 45px 0 30px;
    }

    .ns-hero h1 {
        font-size: 46px;
    }

    .ns-hero h2 {
        font-size: 24px;
    }

    .ns-hero p {
        font-size: 16px;
    }

    .ns-hero-image,
    .ns-hero-image img {
        min-height: 300px;
    }

    .ns-stories {
        padding: 60px 0;
    }

    .ns-section-heading h2 {
        font-size: 36px;
    }

    .ns-story-card {
        grid-template-columns: 1fr;
    }

    .ns-story-image,
    .ns-story-image img {
        min-height: 280px;
        height: 280px;
    }

    .ns-story-content {
        padding: 28px 24px;
    }

    .ns-story-content h3 {
        font-size: 25px;
    }

    .ns-coming-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
    }

    .ns-coming-icon {
        align-self: center;
    }

    .ns-gallery-inner {
        padding: 28px 20px;
    }

    .ns-gallery-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .ns-gallery-image {
        height: 130px;
    }

    .ns-cta-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
    }

    .ns-cta-content h2 {
        font-size: 30px;
    }

    .ns-cta-buttons {
        width: 100%;
        min-width: 0;
    }

    .ns-button {
        width: 100%;
    }
}