/**
 * Second Section Block Styles
 * 
 * Two-column checklist with tick icons on a white background.
 * Features list items with checkmark icons in accent color.
 * 
 * @package ACF Child Theme
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --color-accent: #7f94a9;
    --color-dark: #252525;
    --color-text: #252525;
    --color-white: #ffffff;
    --font-family: 'Montserrat', sans-serif;
}

/* ==========================================================================
   Section Wrapper - Full width white background
   ========================================================================== */
.second-section {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--color-white, #ffffff);
}

/* ==========================================================================
   Content Wrapper - WordPress layout width
   ========================================================================== */
.second-section__wrapper {
    max-width: var(--theme-normal-container-max-width, 1290px);
    width: var(--theme-container-width, 100%);
    margin: 0 auto;
    padding: 50px 20px;
}

/* ==========================================================================
   Two Column Grid
   ========================================================================== */
.second-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 60px;
    align-items: start;
}

/* ==========================================================================
   Column
   ========================================================================== */
.second-section__column {
    width: 100%;
}

/* ==========================================================================
   List Reset
   ========================================================================== */
.second-section__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ==========================================================================
   List Item - Tick + Text
   ========================================================================== */
.second-section__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    line-height: 1.5;
}

/* ==========================================================================
   Tick Icon
   ========================================================================== */
.second-section__tick {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent, #7f94a9);
    margin-top: 1px;
}

.second-section__tick svg {
    width: 33px;
    height: 40px;
    display: block;
}

/* ==========================================================================
   Item Text
   ========================================================================== */
.second-section__text {
    font-family: var(--font-family, 'Montserrat', sans-serif);
    font-size: 32px;
    font-weight: 600;
    color: var(--color-text, #252525);
    line-height: 1.5;
}

/* ==========================================================================
   Responsive - Tablet (1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .second-section__wrapper {
        padding: 40px 30px;
    }

    .second-section__grid {
        gap: 24px 40px;
    }

    .second-section__text {
        font-size: 15px;
    }
}

/* ==========================================================================
   Responsive - Tablet Small (768px)
   ========================================================================== */
@media (max-width: 768px) {
    .second-section__wrapper {
        padding: 35px 20px;
    }

    .second-section__grid {
        gap: 20px 30px;
    }

    .second-section__list {
        gap: 16px;
    }

    .second-section__text {
        font-size: 14px;
    }

    .second-section__tick svg {
        width: 28px;
        height: 32px;
    }
}

/* ==========================================================================
   Responsive - Mobile (640px)
   ========================================================================== */
@media (max-width: 640px) {
    .second-section__wrapper {
        padding: 30px 20px;
    }

    .second-section__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .second-section__list {
        gap: 14px;
    }

    .second-section__text {
        font-size: 14px;
    }

    .second-section__item {
        gap: 12px;
    }

    .second-section__tick svg {
        width: 18px;
        height: 22px;
    }
}

/* ==========================================================================
   Responsive - Small Mobile (480px)
   ========================================================================== */
@media (max-width: 480px) {
    .second-section__wrapper {
        padding: 25px 15px;
    }

    .second-section__text {
        font-size: 13px;
    }

    .second-section__list {
        gap: 12px;
    }

    .second-section__item {
        gap: 10px;
    }

    .second-section__tick svg {
        width: 16px;
        height: 20px;
    }
}
