/* ============================================================
   AWARDS BLOCK — CLEAN, CENTERED, NO GREY BOXES
============================================================ */

.awards-block {
    width: 100%;
    position: relative;
}

/* --------------------------------------------
   FORCE ALL TEXT IN THIS BLOCK TO CENTER ALIGN
--------------------------------------------- */
.awards-block *,
.awards-block h2,
.awards-block p,
.awards-block__eyebrow,
.awards-block__heading,
.awards-block__body {
    text-align: center !important;
}

/* Eyebrow */
.awards-block__eyebrow {
    margin-bottom: var(--space-xs);
}

/* Heading */
.awards-block__heading {
    margin-bottom: var(--space-md);
}

/* Body copy (center, not justified) */
.awards-block__body {
    max-width: 900px;
    margin: 0 auto var(--space-lg);
    line-height: var(--lh-relaxed);
    text-align: center !important;
}

/* ============================================================
   AWARDS GRID
============================================================ */

.awards-block__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: var(--space-sm); /* tighter spacing */
    margin: 0 auto;
}

/* Award item */
.award-item {
    text-align: center !important;
    width: 200px; /* slightly smaller for even grid */
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Award Images — NO BOXES, NO SHADOWS */
.award-item__image {
    width: 100%;
    height: auto;
    display: block;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* ============================================================
   RESPONSIVE
============================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .awards-block__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
        max-width: 600px;
    }

    .award-item {
        width: 170px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .awards-block__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
        max-width: 420px;
    }

    .award-item {
        width: 150px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .awards-block__grid {
        gap: var(--space-xs);
        max-width: 340px;
    }

    .award-item {
        width: 130px;
    }
}

/* ============================================================
   HARD OVERRIDES — FIX COPY ALIGNMENT + CLOSE GAP
============================================================ */

/* FORCE BODY COPY TO CENTER (NOT JUSTIFIED) */
.awards-block__body p {
    text-align: center !important;
    text-align-last: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 800px;
}

/* FORCE HEADING + EYEBROW TO CENTER */
.awards-block__heading,
.awards-block__eyebrow {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ============================================================
   FIX AWARD SPACING (OVERRIDE ALL GLOBAL GRID GAPS)
============================================================ */

.awards-block__grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    justify-items: center !important;
    align-items: start !important;
    gap: 20px !important; /* tighten spacing */
    column-gap: 20px !important;
    row-gap: 20px !important;
    margin: 0 auto !important;
    width: fit-content !important;
}

/* AWARD ITEM (REMOVE UNWANTED GLOBAL STYLES) */
.award-item {
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    width: 180px !important; /* smaller width = tighter grid */
    text-align: center !important;
}

/* AWARD IMAGES */
.award-item__image {
    width: 100% !important;
    display: block !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Make awards block copy sit wider */
.awards-block__body,
.awards-block__body p {
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* ============================================================
   HARD RESPONSIVE FIX FOR AWARDS GRID
   Forces clean 3 → 2 → 1 behavior
============================================================ */

/* Desktop: 3 per row */
.awards-block__grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    justify-items: center !important;
    align-items: start !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* Tablet: 2 per row */
@media (max-width: 1024px) {
    .awards-block__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 650px !important;
        gap: 20px !important;
    }

    .award-item {
        width: 200px !important;
    }
}

/* Mobile: 1 per row */
@media (max-width: 600px) {
    .awards-block__grid {
        grid-template-columns: 1fr !important;
        max-width: 320px !important;
        gap: 18px !important;
    }

    .award-item {
        width: 220px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ============================================================
   AWARDS BLOCK — FINAL RESPONSIVE FUTURE-PROOF GRID
============================================================ */

/* ===== DESKTOP (default) — 3 per row ===== */
.awards-block__grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;  /* always 3 */
    justify-items: center !important;
    align-items: start !important;

    gap: 14px !important;      /* TIGHT gap */
    max-width: 980px !important;
    margin: 0 auto !important;
}

.award-item {
    width: 180px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.award-item__image {
    display: block;
    width: 100% !important;
    height: auto !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* ===== TABLET <= 1024px — STILL 3 PER ROW ===== */
@media (max-width: 1024px) {
    .awards-block__grid {
        grid-template-columns: repeat(3, 1fr) !important; 
        gap: 12px !important;
        max-width: 760px !important;
    }

    .award-item {
        width: 160px !important;
    }
}

/* ===== MOBILE <= 700px — 2 PER ROW ===== */
@media (max-width: 700px) {
    .awards-block__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        max-width: 480px !important;
    }

    .award-item {
        width: 160px !important;
    }
}

/* ===== SMALL MOBILE <= 480px — 1 PER ROW (optional) ===== */
@media (max-width: 480px) {
    .awards-block__grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        max-width: 300px !important;
    }

    .award-item {
        width: 180px !important;
    }
}

/* ===== BODY TEXT FIX — Center, wider, never justified ===== */
.awards-block__body {
    max-width: 820px !important;    /* wider text block */
    margin: 0 auto var(--space-md) !important;
    text-align: center !important;
}

.awards-block__eyebrow {
    font-family: "Open Sans", var(--font-body-family), sans-serif;
    font-size: 25px;
    line-height: 56px;
    font-weight: 400; /* "normal" */
    letter-spacing: 0;
    color: #BD9869; /* same as var(--color-gold) */
    text-align: left; /* or center if needed */
    margin-bottom: var(--space-xs);
}

/* AWARDS BLOCK HEADING — DESKTOP */
.awards-block__heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 45px; /* desktop size */
    line-height: 1.2;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
    text-align: center;
}

/* TABLET — keep it large and close to desktop */
@media (max-width: 1024px) {
    .awards-block__heading {
        font-size: 36px; /* stronger than h2 clamp */
    }
}

/* MOBILE — still big, but adapted for small screens */
@media (max-width: 768px) {
    .awards-block__heading {
        font-size: 30px; /* much larger than global h3 */
    }
}

/* SMALL MOBILE — scaled but still bold */
@media (max-width: 480px) {
    .awards-block__heading {
        font-size: 26px;
    }
}

/* ============================================================
   UNIFIED EYEBROW STYLE (Awards + Features)
============================================================ */
.awards-block__eyebrow,
.split-heading__line-one {
    font-family: "Open Sans", var(--font-body-family), sans-serif !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
    color: var(--color-gold) !important;
    margin-bottom: var(--space-xs) !important;
}

/* ============================================================
   UNIFIED HEADING STYLE (Awards + Features)
============================================================ */
.awards-block__heading,
.split-heading__line-two {
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: var(--color-gold) !important;
    margin-bottom: var(--space-md) !important;

    /* Desktop */
    font-size: 45px !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .awards-block__heading,
    .split-heading__line-two {
        font-size: 36px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .awards-block__heading,
    .split-heading__line-two {
        font-size: 30px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .awards-block__heading,
    .split-heading__line-two {
        font-size: 26px !important;
    }
}

/* ============================================================
   EYEBROW ADJUSTMENT — LEAVE MAIN HEADINGS ALONE
   Make eyebrow ~½ the size of the Merriweather heading
============================================================ */

/* Desktop */
.awards-block__eyebrow,
.split-heading__line-one {
    font-size: 24px !important;   /* bigger, matches 45px heading */
    line-height: 1.3 !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .awards-block__eyebrow,
    .split-heading__line-one {
        font-size: 20px !important;  /* fits 36px heading */
    }
}

/* Mobile */
@media (max-width: 768px) {
    .awards-block__eyebrow,
    .split-heading__line-one {
        font-size: 18px !important;  /* fits 30px heading */
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .awards-block__eyebrow,
    .split-heading__line-one {
        font-size: 16px !important;  /* fits 26px heading */
    }
}
