/**
 * Text 4 Columns Secondary Block Styles
 *
 * White background section with:
 * - Section label with crown icon (teal colored)
 * - Title with teal highlighted words
 * - Subtitle text
 * - 4-column grid of icon cards
 *
 * Based on the about-difference section from about.html
 */

/* CSS Variables from the theme */
:root {
    --smith-grey: #3c3c3c;
    --smith-teal: #0097a7;
}

/**
 * Text 4 Columns Secondary Block - Full Width Styles
 *
 * White background version (different from text-4-columns which has teal bg)
 */
.text-4-columns-secondary-block {
    position: relative;
    width: 100%;
    padding: 100px 80px;
    background: #fff;
    box-sizing: border-box;
}

/* Container for content */
.text-4-columns-secondary-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
    max-width: 1280px;
    margin: 0 auto;
}

/* Header */
.text-4-columns-secondary-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    max-width: 800px;
}

/* Label styling - teal color for this variation */
.text-4-columns-secondary-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--smith-teal);
}

.text-4-columns-secondary-label img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Title styling */
.text-4-columns-secondary-title {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    color: var(--smith-grey);
}

/* Teal serif highlight for emphasized words */
.text-4-columns-secondary-title .serif-teal {
    font-family: 'PT Serif', Georgia, serif;
    font-weight: 700;
    color: var(--smith-teal);
}

/* Subtitle styling */
.text-4-columns-secondary-subtitle {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: var(--smith-grey);
}

/* Cards Grid */
.text-4-columns-secondary-grid {
    display: flex;
    gap: 24px;
    width: 100%;
}

/* Individual card */
.text-4-columns-secondary-card {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 40px 24px;
}

/* Card icon container */
.text-4-columns-secondary-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-4-columns-secondary-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Card title */
.text-4-columns-secondary-card-title {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    color: var(--smith-grey);
}

/* Card description text */
.text-4-columns-secondary-card-text {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--smith-grey);
}

/* ============================================================
   Responsive Styles
   ============================================================ */

/* Tablet breakpoint - 1024px */
@media (max-width: 1024px) {
    .text-4-columns-secondary-block {
        padding: 64px 32px;
    }

    .text-4-columns-secondary-container {
        gap: 40px;
    }

    .text-4-columns-secondary-title {
        font-size: 32px;
    }

    .text-4-columns-secondary-subtitle {
        font-size: 16px;
    }

    /* Cards wrap to 2x2 grid on tablet */
    .text-4-columns-secondary-grid {
        flex-wrap: wrap;
    }

    .text-4-columns-secondary-card {
        flex: 1 1 calc(50% - 12px);
        min-width: 280px;
        padding: 32px 20px;
    }
}

/* Mobile breakpoint - 768px */
@media (max-width: 768px) {
    .text-4-columns-secondary-block {
        padding: 48px 20px;
    }

    .text-4-columns-secondary-container {
        gap: 32px;
    }

    .text-4-columns-secondary-title {
        font-size: 26px;
    }

    .text-4-columns-secondary-subtitle {
        font-size: 16px;
    }

    /* Cards stack in single column on mobile */
    .text-4-columns-secondary-grid {
        flex-direction: column;
        gap: 16px;
    }

    .text-4-columns-secondary-card {
        flex: 1 1 100%;
        min-width: auto;
        padding: 24px 16px;
    }
}

/* Small mobile breakpoint - 480px */
@media (max-width: 480px) {
    .text-4-columns-secondary-block {
        padding: 48px 16px;
    }

    .text-4-columns-secondary-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .text-4-columns-secondary-card {
        gap: 12px;
        padding: 20px 16px;
    }

    .text-4-columns-secondary-card-icon {
        width: 36px;
        height: 36px;
    }

    .text-4-columns-secondary-card-title {
        font-size: 15px;
    }

    .text-4-columns-secondary-card-text {
        font-size: 14px;
    }
}
