.dftg-story__hero {
    background-color: #707070;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: center;
    color: #fffcf9;
    text-transform: uppercase;
    font-family: 'alternate-gothic-condensed-a', sans-serif;
}

.dftg-story__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dftg-story__hero-image,
.dftg-story__hero-content {
    flex: 1 1 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}

.dftg-story__hero-content {
    padding: 3rem 5rem;
    background-color: #880d4f;
}

.dftg-story__eyebrow {
    color: #ffbecd;
    font-size: 3rem;
    font-weight: 600;
    margin: 5rem 0 3rem 0.6rem;
}

.dftg-story__hero-quote {
    color: #fffcf9;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0.5rem 50px 0.5rem;
}

/* --- Read Story Banner --- */
.dftg-story__read-banner {
    background-color: #ff2bab;
    text-align: center;
    padding: 2.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dftg-story__read-banner-text {
    color: #ffffff;
    font-family: 'alternate-gothic-condensed-a', sans-serif;
    font-size: clamp(2.5rem, 5vw, 2.8rem);
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.02em;
}

/* Main container layout */
.dftg-story__intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem; /* Adjusts the space between the text and image */
    align-items: center; /* Vertically centers the text with the image */
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Heading styling */
.dftg-story__intro-content .dftg-story__heading {
    color: #880d4f; /* Magenta match for the heading */
    text-transform: uppercase;
    font-size: clamp(1.75rem, 4vw, 2.5rem); /* Responsive sizing */
    font-weight: 800;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-family: alternate-gothic-condensed-a, sans-serif;
}

/* Paragraph styling */
.dftg-story__copy p {
    color: #880d4f;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.dftg-story__copy p:last-child {
    margin-bottom: 0;
}

.dftg-story__secondary-image {
    margin: 0;
    width: 100%;
    height: 100%;
}

.dftg-story__secondary-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 850px) {
    .dftg-story__intro {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .dftg-story__intro-content {
        order: 2;
    }

    .dftg-story__secondary-image {
        order: 1;
    }
}

/* Full-width background with constrained inner content */
.dftg-story__closing {
    background-color: #ffcedf;
    display: grid;

    /* Creates 4 tracks: 2 flexible outer margins (1fr), and 2 constrained inner columns (max 500px) */
    grid-template-columns: minmax(1.5rem, 1fr) minmax(0, 500px) minmax(0, 500px) minmax(1.5rem, 1fr);
    column-gap: 4rem;
    align-items: center;
    padding: 4rem 0;

    /* Breakout trick: Forces the section to be full viewport width even if the parent container in WordPress is constrained */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Assign elements to the inner center columns */
.dftg-story__closing .dftg-story__copy {
    grid-column: 2 / 3;
}

.dftg-story__closing .dftg-story__closing-quote {
    grid-column: 3 / 4;
}

/* Typography styles */
.dftg-story__closing .dftg-story__copy p {
    color: #880d4f;
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.dftg-story__closing-quote {
    color: #880d4f;
    font-size: clamp(1.25rem, 2.5vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0;
    font-family: alternate-gothic-condensed-a, sans-serif;
}

.dftg-story__closing-quote::before {
    content: '\201C';
}

.dftg-story__closing-quote::after {
    content: '\201D';
}

/* Responsive breakpoint for mobile/tablets */
@media (max-width: 850px) {
  .dftg-story__closing {
    /* Collapses to a single center column with side padding on smaller screens */
    grid-template-columns: 1.5rem 1fr 1.5rem;
    row-gap: 2.5rem;
    padding: 3rem 0;
    column-gap: 0.5rem; /* Reduce the gap between columns since there's only one column now */
  }

  .dftg-story__closing .dftg-story__copy {
    grid-column: 2 / 3;
  }

    .dftg-story__closing .dftg-story__closing-quote {
        grid-column: 2 / 3;
    }
}

/* Main section container */
.dftg-related-stories {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

/* Section Title */
.dftg-related-stories__title {
    text-align: center;
    color: #880d4f;
    font-size: clamp(2rem, 4vw, 2.75rem);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 3rem;
    font-family: 'alternate-gothic-condensed-a', sans-serif;
}

/* 3-Column Grid for stories */
/* .dftg-related-stories__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
} */

/* Individual Card */
/* .dftg-story-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
} */

/* Slick Carousel stylings for the Read More Stories Cards */
.slick-list {
    margin: 0 -10px;
}

.slick-slide {
    margin: 0 10px;
}

/* Reset Slick's default arrow content */
.slick-prev:before,
.slick-next:before {
    content: '';
    display: none;
}

.slick-prev,
.slick-next {
    color: #880d4f;
    width: 35px;
    height: 100%;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.slick-prev {
    left: -40px;
}
.slick-next {
    right: -40px;
}

.slick-prev:hover,
.slick-prev:active,
.slick-next:hover,
.slick-next:active {
    outline: none;
    background: #880d4f2c;
    color: #fffcf9;
    height: 15%;
}

.slick-prev:active i,
.slick-prev:hover i,
.slick-next:active i,
.slick-next:hover i {
    color: #fffcf9 !important;
}

.slick-prev i,
.slick-next i {
    font-size: 25px;
    color: #880d4f;
    transform: scaleY(1.5);
    -webkit-transform: scaleY(1.5);
    -moz-transform: scaleY(1.5);
    -ms-transform: scaleY(1.5);
    -o-transform: scaleY(1.5);
}

/* Scale down the related stories cards a bit on mobile */
@media (max-width: 850px) {
    .dftg-related-stories__items {
        transform: scale(0.95);
        transform-origin: top center;
        -webkit-transform: scale(0.95);
        -moz-transform: scale(0.95);
        -ms-transform: scale(0.95);
        -o-transform: scale(0.95);
    }
}
/* Slick Carousel stylings for the Read More Stories Cards  -- end*/

/* Image container and image */
.dftg-story-card__image-link {
    display: block;
    width: 100%;
    margin-bottom: 1.5rem;
}

.dftg-story-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

/* Card Title */
.dftg-story-card__title {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    line-height: 1.2;
}

/* Story Card Quote Excerpt */
.dftg-story-card__quote {
    color: #880d4f;
    font-size: 1rem;
    line-height: 1.4;
    margin: 0 0 1.5rem 0;
    font-family:
        system-ui,
        -apple-system,
        sans-serif;
}

.dftg-story-card__title a {
    color: #880d4f;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 800;
    font-family: 'alternate-gothic-condensed-a', sans-serif;
}

.dftg-story-card__title a:hover {
    text-decoration: underline;
}

/* "Read Their Story" Button */
.dftg-story-card__link {
    display: inline-block;
    background-color: #ffcedf;
    color: #880d4f;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    margin-top: auto;
    transition: background-color 0.2s ease;
    font-family: 'alternate-gothic-condensed-a', sans-serif;
}

.dftg-story-card__link:hover {
    background-color: #f7a8c4;
}

/* Responsive breakpoint for mobile */
@media (max-width: 850px) {
    .dftg-related-stories__items {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

/* Full-width container with dark maroon background */
.dftg-cta {
    background-color: #880d4f;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    /* Breakout trick to ensure the background spans the full viewport in WordPress */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Large light-pink heading */
.dftg-cta__title {
    color: #ffcedf;
    font-size: clamp(2.5rem, 6vw, 7rem);
    text-transform: uppercase;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
    letter-spacing: -0.01em;
    font-family: 'alternate-gothic-atf', sans-serif;
}

/* White paragraph constrained for readability */
.dftg-cta__copy {
    color: #ffffff;
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 500;
    max-width: 650px; /* Forces the text to wrap exactly as seen in image_9c2225.png */
    margin: 0 0 3rem 0;
}

/* CTA Button */
.dftg-cta__link {
    display: inline-block;
    background-color: #ffcedf;
    color: #880d4f;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.125rem;
    padding: 1rem 3rem;
    border-radius: 6px;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.dftg-cta__link:hover {
    background-color: #f7a8c4;
    text-decoration: none;
}

/* Mobile adjustments */
@media (max-width: 850px) {
    .dftg-cta {
        padding: 4rem 1.5rem;
    }

    .dftg-cta__copy {
        margin-bottom: 2.5rem;
    }
}

/* media query for mobile devices */
@media (max-width: 850px) {
    .dftg-story__hero {
        flex-direction: column;
    }

    .dftg-story__hero-image,
    .dftg-story__hero-content {
        max-width: 100%;
        align-items: center;
    }

    .dftg-story__hero-content {
        padding: 3rem 4rem;
    }

    .dftg-story__eyebrow,
    .dftg-story__hero-quote {
        margin: 0 auto;
    }
}

@media (min-width: 1146px) and (max-width: 1440px) {
    .dftg-story__hero-content {
        justify-content: center;
    }
    .dftg-story__eyebrow {
        font-size: 2rem;
        margin: 2.5rem 0 2.5rem 0.6rem;
    }
    .dftg-story__hero-quote {
        font-size: 3rem;
    }
}
@media (min-width: 1025px) and (max-width: 1145px) {
    .dftg-story__hero-content {
        justify-content: center;
    }
    .dftg-story__eyebrow {
        font-size: 1.75rem;
        margin: 2rem 0 2rem 0.6rem;
    }
    .dftg-story__hero-quote {
        font-size: 2.5rem;
    }
}
@media (min-width: 851px) and (max-width: 1024px) {
    .dftg-story__hero-content {
        justify-content: center;
        padding: 2.5rem;
    }
    .dftg-story__eyebrow {
        font-size: 1.75rem;
        margin: 0 0 2rem 0.6rem;
    }
    .dftg-story__hero-quote {
        font-size: 2.5rem;
    }
}

@media (max-width: 850px) {
    .dftg-story__eyebrow {
        font-size: 1.75rem;
    }
    .dftg-story__hero-quote {
        font-size: 2.5rem;
    }
    .dftg-story__eyebrow, .dftg-story__hero-quote {
        margin: 0 auto 15px;
    }
}
