/* --- Main Section Wrapper --- */
body {
    font-family: "Poppins";
}

/* Specific padding for certain pages, controlled by a body class */
.page-slug-windshield-replacement .insurance-container,
.page-slug-windshield-repair .insurance-container {
    padding: 6em 18em;
}

.insurance-callouts {
    margin: 4rem 0 2rem;
}

/* --- Icon Grid --- */
.icon-box-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    margin: 30px auto 0; /* Centered the grid and kept top margin */
    max-width: 1100px; /* Constrains the grid width on large screens */
}

.icon-box {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    min-height: 220px;
    display: flex; /* Added for vertical alignment */
    flex-direction: column; /* Stack content */
    justify-content: center; /* Center content vertically */
}

.icon-box img {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.icon-box .title {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    word-wrap: break-word; /* Prevents long text from overflowing */
}

/* --- Disclaimer Box --- */
.disclaimer-box-wrapper {
    text-align: center;
    margin-top: 20px;
}
.disclaimer-box {
    display: inline-block;
    padding: 12px 16px;
    border: 2px solid #ff6600;
    border-radius: 12px;
    max-width: 320px;
    background: #fff;
}
.az-only {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

/* --- Section Heading --- */
.insurance-callouts h2 {
    text-align: center; 
    margin: 0 20px;
}

/* --- Responsive Styles --- */

/* Tablet: 2 cards per row */
@media screen and (max-width: 1024px) {
    .icon-box-section {
        grid-template-columns: repeat(2, 1fr);
        max-width: none; /* Allow grid to be full width on tablets */
    }
    .page-slug-windshield-replacement .insurance-container,
    .page-slug-windshield-repair .insurance-container {
        padding: 4em 2em; /* Adjust padding for tablets */
    }
}

/* Mobile: 2 cards per row and vertically centered */
@media screen and (max-width: 768px) {
    .insurance-container,
    .page-slug-windshield-replacement .insurance-container,
    .page-slug-windshield-repair .insurance-container {
        padding: 0;
    }

    .icon-box-section {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 15px; /* Adjust padding for mobile to prevent overflow */
        gap: 15px;
    }

    .icon-box {
        min-height: 180px; /* Adjust height for smaller screens */
        padding: 15px;
    }
}
