
/* =====================================================
   HD100 PRODUCT STORY SECTION
   Image + Text Alternating Layout
   ===================================================== */

.hd100-story {
    width: 100%;
    padding: 80px 20px;
    background: #ffffff;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
}

.hd100-story *,
.hd100-story *::before,
.hd100-story *::after {
    box-sizing: border-box;
}

.hd100-story-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =====================================================
   STORY ITEM
   ===================================================== */

.hd100-story-item {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 70px;

    margin-bottom: 90px;
}

.hd100-story-item:last-child {
    margin-bottom: 0;
}


/* =====================================================
   IMAGE
   ===================================================== */

.hd100-story-image {
    width: 100%;
    aspect-ratio: 4 / 3;

    overflow: hidden;
    border-radius: 14px;

    background: #f3f4f5;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.06);
}

.hd100-story-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.hd100-story-item:hover .hd100-story-image img {
    transform: scale(1.025);
}


/* =====================================================
   TEXT AREA
   ===================================================== */

.hd100-story-content {
    padding: 20px 10px;
}


/* Number */

.hd100-story-number {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 25px;

    color: #9a9a9a;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hd100-story-number::after {
    content: "";

    width: 34px;
    height: 1px;

    background: #cfcfcf;
}


/* Description */

.hd100-story-text {
    margin: 0;

    color: #252525;

    font-size: 24px;
    line-height: 1.7;

    font-weight: 400;

    letter-spacing: -0.2px;
}

.hd100-story-text strong {
    font-weight: 700;
}


/* =====================================================
   SUBTLE DECORATION
   ===================================================== */

.hd100-story-content::before {
    content: "“";

    display: block;

    height: 20px;

    margin-bottom: 10px;

    color: #d9d9d9;

    font-family: Georgia, serif;
    font-size: 52px;
    line-height: 20px;
}


/* =====================================================
   ALTERNATING LAYOUT
   ===================================================== */

.hd100-story-item:nth-child(even) {
    grid-template-columns: 0.85fr 1.15fr;
}

.hd100-story-item:nth-child(even) .hd100-story-image {
    order: 2;
}

.hd100-story-item:nth-child(even) .hd100-story-content {
    order: 1;
}


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

@media (max-width: 900px) {

    .hd100-story {
        padding: 60px 20px;
    }

    .hd100-story-item {
        grid-template-columns: 1fr 1fr;
        gap: 40px;

        margin-bottom: 70px;
    }

    .hd100-story-item:nth-child(even) {
        grid-template-columns: 1fr 1fr;
    }

    .hd100-story-text {
        font-size: 20px;
    }

}


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

@media (max-width: 700px) {

    .hd100-story {
        padding: 45px 16px;
    }

    .hd100-story-container {
        max-width: 100%;
    }

    .hd100-story-item,
    .hd100-story-item:nth-child(even) {
        display: flex;
        flex-direction: column;

        gap: 25px;

        margin-bottom: 60px;
    }

    .hd100-story-item .hd100-story-image,
    .hd100-story-item:nth-child(even) .hd100-story-image {
        order: 1;

        width: 100%;
    }

    .hd100-story-content,
    .hd100-story-item:nth-child(even) .hd100-story-content {
        order: 2;

        width: 100%;
        padding: 5px 5px 10px;
    }

    .hd100-story-number {
        margin-bottom: 18px;

        font-size: 11px;
    }

    .hd100-story-text {
        font-size: 19px;
        line-height: 1.65;
    }

    .hd100-story-content::before {
        font-size: 42px;
    }

}


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

@media (max-width: 480px) {

    .hd100-story {
        padding: 35px 14px;
    }

    .hd100-story-item {
        margin-bottom: 50px;
    }

    .hd100-story-image {
        border-radius: 10px;
    }

    .hd100-story-text {
        font-size: 17px;
        line-height: 1.65;
    }

}
