/*
Theme Name:   GeneratePress Child
Theme URI:    https://generatepress.com
Description:  Tema child personalizzato per GeneratePress.
Author:       Il tuo nome
Author URI:   https://staging.aresdifesa.it
Template:     generatepress
Version:      1.0.0
Text Domain:  generatepress-child
*/

/* ═══════════════════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════════════════ */

:root {
    --ares-ink:    #142334;
    --ares-muted:  #64748b;
    --ares-line:   rgba(18,38,63,.12);
    --ares-panel:  #f7f9fc;
    --ares-accent: #244764;
    --ares-gold:   #b68b3f;
}

/* ═══════════════════════════════════════════════════════════
   DARK LAYOUT BASE
═══════════════════════════════════════════════════════════ */

.home .site-content,
.home .inside-article,
.home .entry-content,
.ares-home-dark {
    background: #03101a;
}

.home .site-content { padding: 0; }
.home .content-area,
.home .site-main     { margin: 0; }

.ares-home-dark {
    --ares-bg:          #03101a;
    --ares-bg-soft:     #071a27;
    --ares-card:        rgba(8,24,36,.86);
    --ares-border:      rgba(128,183,212,.2);
    --ares-text:        #e8f2f8;
    --ares-soft:        #9eb4c1;
    --ares-green:       #8cc63f;
    --ares-cyan:        #76c8ff;

    color: var(--ares-text);
    min-height: 100vh;
    padding: 28px 0 54px;
}

.ares-home-dark a { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════════════════════════
   CONTAINER
═══════════════════════════════════════════════════════════ */

.ares-home-top,
.ares-home-band,
.ares-newsletter-panel {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════
   ATOMS
═══════════════════════════════════════════════════════════ */

.ares-section-kicker,
.ares-block-head h2 {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin: 0 0 12px;
    color: #fff;
    font-size: .88rem;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.ares-section-kicker::before,
.ares-block-head h2::before {
    content: "";
    width: 4px;
    height: 16px;
    border-left: 2px solid var(--ares-green);
    border-right: 2px solid var(--ares-green);
    flex-shrink: 0;
}

.ares-eyebrow {
    display: inline-flex;
    margin-bottom: .5rem;
    color: var(--ares-green);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ares-home-date {
    display: inline-flex;
    color: var(--ares-soft);
    font-size: .72rem;
    font-weight: 760;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.ares-text-link {
    display: inline-flex;
    color: var(--ares-green);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.ares-block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

/* ═══════════════════════════════════════════════════════════
   CARD CHROME (shared between lead + news cards)
═══════════════════════════════════════════════════════════ */

.ares-lead-card,
.ares-news-card,
.ares-latest-rail,
.ares-map-panel,
.ares-term-card,
.ares-newsletter-panel {
    border: 1px solid var(--ares-border);
    background: linear-gradient(180deg, rgba(10,29,43,.92), rgba(4,16,26,.94));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.ares-lead-card,
.ares-news-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.ares-lead-card__media,
.ares-news-card__media {
    position: absolute;
    inset: 0;
    background: #0a1b28;
}
.ares-lead-card__media::after,
.ares-news-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1,8,14,.06) 0%, rgba(1,8,14,.88) 100%);
}
.ares-lead-card__media img,
.ares-news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .78;
    transition: opacity .28s ease;
}
.ares-lead-card:hover .ares-lead-card__media img,
.ares-news-card:hover  .ares-news-card__media img { opacity: .88; }

.ares-lead-card__body,
.ares-news-card__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-height: 100%;
    padding: 18px;
}
.ares-lead-card__body { padding: 28px 42px; }

.ares-lead-card__title,
.ares-lead-card h2 {
    max-width: 620px;
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(2rem, 3.6vw, 3.35rem);
    line-height: 1.02;
    font-weight: 900;
}
.ares-lead-card p {
    max-width: 560px;
    margin: 0 0 16px;
    color: rgba(232,242,248,.8);
    font-size: 1rem;
    line-height: 1.55;
}

.ares-news-card h3 {
    margin: 0 0 .55rem;
    color: #fff;
    font-size: .98rem;
    line-height: 1.28;
    font-weight: 760;
}
.ares-news-card p {
    margin: 0 0 .7rem;
    color: var(--ares-soft);
    font-size: .86rem;
    line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════════
   1. TOP SECTION
   Layout: [hero large] [2×2 grid] [latest rail]
   Columns: 1.55fr  0.95fr  260px
═══════════════════════════════════════════════════════════ */

.ares-home-top {
    display: grid;
    grid-template-columns: minmax(0,1.55fr) minmax(0,.95fr) 260px;
    grid-template-rows: 1fr;          /* single row, all columns equal height */
    gap: 10px;
    align-items: stretch;
    margin-bottom: 24px;
}

/* Hero fills its cell height */
.ares-lead-card {
    min-height: 480px;
    height: 100%;
}

/* 2×2 grid of top cards fills remaining height */
.ares-top-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    grid-template-rows: repeat(2, minmax(0,1fr));
    gap: 10px;
    height: 100%;
}

/* Top cards: generous height, no clipping */
.ares-top-card {
    min-height: 0;       /* let grid rows size them */
}
.ares-top-card .ares-news-card__body {
    padding: 14px 16px;
}

/* Latest rail */
.ares-latest-rail {
    border-radius: 4px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
}

.ares-latest-rail__item {
    display: grid;
    grid-template-columns: 96px minmax(0,1fr);
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(128,183,212,.13);
}
.ares-latest-rail__item time {
    color: #dce8ef;
    font-size: .76rem;
    line-height: 1.4;
}
.ares-latest-rail__item h3 {
    margin: 0;
    color: rgba(232,242,248,.86);
    font-size: .91rem;
    line-height: 1.38;
    font-weight: 560;
}
.ares-latest-rail .ares-text-link { margin-top: auto; padding-top: 14px; }

/* ═══════════════════════════════════════════════════════════
   BAND wrapper (sections below top)
═══════════════════════════════════════════════════════════ */

.ares-home-band {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(128,183,212,.12);
}

/* ═══════════════════════════════════════════════════════════
   2. NOTIZIE IN EVIDENZA — full width
   Grid: 1 wide card (spans 2 rows) + 5 compact
   Columns: 1.2fr 1fr 1fr 1fr
   Row 1: wide | c1 | c2
   Row 2: wide | c3 | c4
   + 1 extra card below, spans full width (optional)
═══════════════════════════════════════════════════════════ */

.ares-spotlight-grid--full {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
}

.ares-news-card--wide {
    grid-row: span 2;
    min-height: 380px;
}
.ares-news-card--wide h3 { font-size: 1.3rem; line-height: 1.18; }

.ares-news-card--compact { min-height: 165px; }
.ares-news-card--compact .ares-news-card__body { padding: 12px 14px; }

/* ═══════════════════════════════════════════════════════════
   3. DOMINI OPERATIVI — tab-bar + AJAX 4×2 grid
═══════════════════════════════════════════════════════════ */

.ares-domain-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.ares-domain-tab {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 16px;
    border: 1px solid var(--ares-border);
    border-radius: 2px;
    background: transparent;
    color: var(--ares-soft);
    font-size: .8rem;
    font-weight: 760;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .15s, border-color .15s, background .15s;
}
.ares-domain-tab:hover {
    color: #fff;
    border-color: rgba(140,198,63,.5);
    background: rgba(140,198,63,.06);
}
.ares-domain-tab.is-active {
    color: #fff;
    border-color: var(--ares-green);
    background: rgba(140,198,63,.1);
}

.ares-domain-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
    min-height: 200px;
    transition: opacity .2s ease;
}
.ares-domain-grid.is-loading { opacity: .4; pointer-events: none; }

/* Cards inside domain grid are slightly shorter */
.ares-domain-grid .ares-news-card { min-height: 195px; }

.ares-domain-empty {
    grid-column: 1 / -1;
    color: var(--ares-soft);
    font-size: .9rem;
    padding: 24px 0;
}

.ares-domain-footer {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: flex-end;
}

.ares-btn-hub {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    height: 38px;
    padding: 0 20px;
    border: 1px solid rgba(140,198,63,.45);
    border-radius: 2px;
    color: var(--ares-green);
    font-size: .8rem;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: background .15s, color .15s;
}
.ares-btn-hub:hover {
    background: rgba(140,198,63,.1);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   4. DUAL BAND — Sistemi + Aziende, stessa riga
═══════════════════════════════════════════════════════════ */

.ares-dual-band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 24px;
}
.ares-dual-band__col { min-width: 0; }

/* Term rails inside dual band */
.ares-term-rail--medium {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(155px, 1fr);
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(140,198,63,.35) rgba(4,16,26,.5);
}
.ares-term-rail--medium::-webkit-scrollbar       { height: 4px; }
.ares-term-rail--medium::-webkit-scrollbar-track { background: rgba(4,16,26,.5); border-radius: 2px; }
.ares-term-rail--medium::-webkit-scrollbar-thumb { background: rgba(140,198,63,.35); border-radius: 2px; }

/* Term card base */
.ares-term-card {
    display: grid;
    align-content: start;
    gap: 6px;
    min-height: 130px;
    border-radius: 4px;
    padding: 14px 16px;
    transition: border-color .18s, background .18s;
    text-decoration: none;
}
.ares-term-card:hover {
    border-color: rgba(140,198,63,.45);
    background: linear-gradient(180deg, rgba(14,36,52,.96), rgba(6,20,30,.98));
}
.ares-term-card span {
    color: var(--ares-green);
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.ares-term-card strong {
    color: #fff;
    font-size: .98rem;
    line-height: 1.18;
}
.ares-term-card em {
    color: var(--ares-soft);
    font-size: .8rem;
    font-style: normal;
    line-height: 1.35;
}
.ares-term-card small {
    margin-top: auto;
    color: rgba(158,180,193,.65);
    font-size: .72rem;
    font-weight: 700;
}

/* Variant accents */
.ares-term-card--sistema span { color: var(--ares-cyan); }
.ares-term-card--azienda span { color: var(--ares-green); }

/* ═══════════════════════════════════════════════════════════
   5. MAPPA DEI PAESI — full width split
═══════════════════════════════════════════════════════════ */

.ares-map-section .ares-map-section__inner {
    display: grid;
    grid-template-columns: minmax(280px,.85fr) minmax(0,1fr);
    gap: 28px;
    align-items: center;
}

.ares-map-section__desc {
    color: var(--ares-soft);
    font-size: .94rem;
    line-height: 1.5;
    margin: 0 0 18px;
}

.ares-country-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 8px;
    margin-bottom: 18px;
}

.ares-country-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid rgba(128,183,212,.18);
    border-radius: 3px;
    background: rgba(8,22,34,.7);
    transition: border-color .15s, background .15s;
}
.ares-country-chip:hover {
    border-color: rgba(140,198,63,.4);
    background: rgba(12,32,48,.9);
}
.ares-country-chip strong {
    color: #e8f2f8;
    font-size: .84rem;
    font-weight: 720;
}
.ares-country-chip small {
    color: var(--ares-soft);
    font-size: .7rem;
    white-space: nowrap;
}

.ares-map-section__visual {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(5,18,28,.9);
    border: 1px solid var(--ares-border);
}
.ares-map-svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ═══════════════════════════════════════════════════════════
   6. NEWSLETTER
═══════════════════════════════════════════════════════════ */

.ares-newsletter-panel {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(320px,.9fr);
    gap: 24px;
    align-items: center;
    margin-top: 30px;
    padding: 24px 28px;
    border-radius: 4px;
}
.ares-newsletter-panel span,
.ares-newsletter-panel strong {
    display: block;
    font-size: clamp(1.35rem,2.4vw,2rem);
    line-height: 1.05;
    text-transform: uppercase;
}
.ares-newsletter-panel strong { color: var(--ares-green); }
.ares-newsletter-panel p { margin: .65rem 0 0; color: var(--ares-soft); }

.ares-newsletter-panel__form {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
}
.ares-newsletter-panel__form input,
.ares-newsletter-panel__form button { min-height: 48px; border-radius: 0; }

.ares-newsletter-panel__form input {
    border: 1px solid var(--ares-border);
    background: rgba(2,10,18,.72);
    color: #fff;
    padding: 0 14px;
}
.ares-newsletter-panel__form input:focus {
    outline: 2px solid rgba(140,198,63,.55);
    outline-offset: -2px;
}
.ares-newsletter-panel__form button {
    border: 0;
    background: linear-gradient(180deg,#83bd45,#5e9632);
    color: #fff;
    padding: 0 22px;
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter .18s;
}
.ares-newsletter-panel__form button:hover    { filter: brightness(1.1); }
.ares-newsletter-panel__form button:disabled { opacity: .6; cursor: not-allowed; }

.ares-newsletter-feedback       { margin-top: .75rem; font-size: .85rem; font-weight: 600; }
.ares-newsletter-feedback--ok   { color: var(--ares-green); }
.ares-newsletter-feedback--error{ color: #ff7070; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — tablet ≤1100px
═══════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
    .ares-home-top {
        grid-template-columns: minmax(0,1.4fr) minmax(0,.9fr) 240px;
    }
}

@media (max-width: 960px) {
    /* Stack top section: hero full width, then 2×2, then latest */
    .ares-home-top {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .ares-lead-card      { min-height: 420px; }
    .ares-top-grid       { grid-template-columns: repeat(2,1fr); grid-template-rows: auto; }
    .ares-top-card       { min-height: 210px; }
    .ares-latest-rail    { height: auto; max-height: none; overflow-y: visible; }

    /* Spotlight: 2 cols */
    .ares-spotlight-grid--full {
        grid-template-columns: 1fr 1fr;
    }
    .ares-news-card--wide { grid-row: span 1; min-height: 260px; }

    /* Domain grid: 2×4 */
    .ares-domain-grid { grid-template-columns: repeat(2,1fr); }

    /* Dual band: stack */
    .ares-dual-band { grid-template-columns: 1fr; }

    /* Map: stack */
    .ares-map-section .ares-map-section__inner { grid-template-columns: 1fr; }
    .ares-map-section__visual { order: -1; }

    /* Newsletter: stack */
    .ares-newsletter-panel       { grid-template-columns: 1fr; }
    .ares-newsletter-panel__form { grid-template-columns: 1fr auto; }
}

@media (max-width: 640px) {
    .ares-home-dark { padding-top: 14px; }

    .ares-home-top,
    .ares-home-band,
    .ares-newsletter-panel {
        width: min(100% - 24px, 620px);
    }

    .ares-lead-card       { min-height: 460px; }
    .ares-lead-card__body { padding: 22px; }

    .ares-spotlight-grid--full {
        grid-template-columns: 1fr;
    }
    .ares-news-card--wide,
    .ares-news-card--compact { min-height: 230px; }

    .ares-domain-grid { grid-template-columns: 1fr 1fr; }

    .ares-country-grid { grid-template-columns: repeat(2,1fr); }

    .ares-newsletter-panel__form { grid-template-columns: 1fr; }
    .ares-newsletter-panel__form button { width: 100%; }
}

/* Top area refinement: tighter, more predictable hero proportions */
@media (min-width: 961px) {
    .ares-home-top {
        --ares-top-height: clamp(405px, 35vw, 455px);
        grid-template-columns: minmax(0, 1.42fr) minmax(300px, .92fr) minmax(270px, .72fr);
        grid-template-rows: var(--ares-top-height);
        align-items: stretch;
    }

    .ares-lead-card,
    .ares-top-grid,
    .ares-latest-rail {
        height: var(--ares-top-height);
        min-height: 0;
    }

    .ares-lead-card__body {
        padding: 24px 32px;
    }

    .ares-lead-card__title,
    .ares-lead-card h2 {
        max-width: 560px;
        font-size: clamp(1.75rem, 2.75vw, 2.72rem);
        line-height: 1.04;
        margin-bottom: 10px;
    }

    .ares-lead-card p {
        max-width: 500px;
        font-size: .94rem;
        line-height: 1.48;
        margin-bottom: 12px;
    }

    .ares-section-kicker {
        margin-bottom: 10px;
    }

    .ares-top-grid {
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .ares-top-card {
        min-height: 0;
    }

    .ares-top-card .ares-news-card__body {
        padding: 12px 14px;
    }

    .ares-top-card .ares-eyebrow {
        margin-bottom: .35rem;
        font-size: .62rem;
    }

    .ares-top-card h3 {
        font-size: .9rem;
        line-height: 1.22;
        margin-bottom: .45rem;
    }

    .ares-latest-rail {
        overflow: hidden;
        padding: 16px;
    }

    .ares-latest-rail__item {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 10px;
        padding: 10px 0;
    }

    .ares-latest-rail__item time {
        font-size: .7rem;
    }

    .ares-latest-rail__item h3 {
        font-size: .84rem;
        line-height: 1.32;
    }
}

@media (min-width: 1180px) {
    .ares-home-top,
    .ares-home-band,
    .ares-newsletter-panel {
        width: min(1220px, calc(100% - 48px));
    }
}

/* Home top v2: hero left, four editorial tabs right, latest below */
@media (min-width: 961px) {
    .ares-home-top {
        --ares-top-height: clamp(420px, 34vw, 470px);
        grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
        grid-template-rows: var(--ares-top-height) auto;
        gap: 12px;
    }

    .ares-lead-card,
    .ares-top-grid {
        height: var(--ares-top-height);
        min-height: 0;
    }

    .ares-top-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .ares-top-card {
        min-height: 0;
    }

    .ares-latest-rail {
        grid-column: 1 / -1;
        height: auto;
        min-height: 0;
        overflow: visible;
        display: grid;
        grid-template-columns: 190px repeat(3, minmax(0, 1fr)) auto;
        gap: 0;
        align-items: stretch;
        padding: 0;
    }

    .ares-latest-rail .ares-block-head {
        margin: 0;
        padding: 14px 16px;
        border-right: 1px solid rgba(128,183,212,.13);
        align-items: center;
    }

    .ares-latest-rail__item {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 10px;
        padding: 14px 16px;
        border-bottom: 0;
        border-right: 1px solid rgba(128,183,212,.13);
    }

    .ares-latest-rail__item:nth-of-type(n+4) {
        display: none;
    }

    .ares-latest-rail .ares-text-link {
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 14px 16px;
        white-space: nowrap;
    }
}

/* Spotlight v2: one lead + four compact cards, no orphan row */
.ares-spotlight-grid--full {
    grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(175px, 1fr));
}

.ares-spotlight-grid--full .ares-news-card--wide {
    grid-row: 1 / span 2;
    min-height: 360px;
}

/* Term cards with hub images/logos */
.ares-term-card {
    position: relative;
    overflow: hidden;
    min-height: 168px;
}

.ares-term-card__media {
    display: block;
    height: 72px;
    margin: -14px -16px 10px;
    background: rgba(118,200,255,.08);
    border-bottom: 1px solid rgba(128,183,212,.12);
}

.ares-term-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .88;
}

.ares-term-card--azienda .ares-term-card__media img {
    object-fit: contain;
    padding: 16px;
    background: rgba(255,255,255,.04);
}

@media (max-width: 960px) {
    .ares-latest-rail .ares-latest-rail__item:nth-of-type(n+4) {
        display: grid;
    }
}

@media (max-width: 640px) {
    .ares-spotlight-grid--full {
        grid-template-rows: none;
    }

    .ares-spotlight-grid--full .ares-news-card--wide {
        grid-row: auto;
    }
}

/* Industria & Aziende news: editorial block between systems and company hubs */
.ares-industry-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(170px, 1fr));
    gap: 10px;
}

.ares-industry-card--wide {
    grid-row: 1 / span 2;
    min-height: 350px;
}

.ares-industry-card--wide h3 {
    font-size: 1.28rem;
    line-height: 1.18;
}

.ares-industry-card--compact {
    min-height: 168px;
}

.ares-industry-card--compact .ares-news-card__body {
    padding: 12px 14px;
}

.ares-companies-band .ares-term-card--azienda {
    min-height: 180px;
}

@media (max-width: 960px) {
    .ares-industry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .ares-industry-card--wide {
        grid-row: auto;
        min-height: 260px;
    }
}

@media (max-width: 640px) {
    .ares-industry-grid {
        grid-template-columns: 1fr;
    }

    .ares-industry-card--wide,
    .ares-industry-card--compact {
        min-height: 230px;
    }
}
