/* Home page layout — loaded after main.css, additive only */

.home-hero {
    text-align: center;
    padding: 60px 0 44px;
}

.home-hero .intro,
.home-hero .search-box {
    margin-left: auto;
    margin-right: auto;
}

/* Stat bar — the brass counters strip from the mockup */
.stat-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid #3a281d;
    background: #18100c;
    margin: 10px 0 46px;
}

.stat-bar .stat {
    padding: 20px 14px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border-right: 1px solid #3a281d;
}

.stat-bar .stat:last-child {
    border-right: 0;
}

.stat-bar strong {
    display: block;
    font-size: 1.9rem;
    color: #c6924b;
}

.stat-bar span {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: #dfc9a8;
}

/* Two-column body like the mockup (stacks on mobile) */
.home-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 820px) {
    .home-columns {
        grid-template-columns: 1fr;
    }

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

    .stat-bar .stat:nth-child(2) {
        border-right: 0;
    }
}

.home-section {
    margin-bottom: 42px;
}

.home-section h2 {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 1rem;
    color: #c6924b;
    border-bottom: 1px solid #3a281d;
    padding-bottom: 8px;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.view-all {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #dfc9a8;
    text-decoration: none;
    border: 1px solid #3a281d;
    padding: 4px 10px;
}

.view-all:hover {
    border-color: #c6924b;
    color: #c6924b;
}

/* Small cards (countries, makers) */
.mini-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.mini-card {
    display: block;
    border: 1px solid #3a281d;
    background: #18100c;
    padding: 14px;
    text-decoration: none;
    color: inherit;
}

.mini-card:hover {
    border-color: #c6924b;
}

.mini-card strong {
    display: block;
    color: #f5ead6;
    margin-bottom: 4px;
}

.mini-card span {
    display: block;
    font-size: 0.78rem;
    color: #dfc9a8;
}

.mini-card em {
    display: block;
    font-size: 0.7rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #c6924b;
    margin-top: 6px;
}

.section-more {
    margin-top: 12px;
}

.section-more a {
    color: #c6924b;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Event / article rows with the date block from the mockup */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-card {
    display: flex;
    gap: 14px;
    align-items: center;
    border: 1px solid #3a281d;
    background: #18100c;
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
}

.event-card:hover {
    border-color: #c6924b;
}

.event-date {
    flex: 0 0 52px;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: #dfc9a8;
    border: 1px solid #6d4a27;
    background: #1b130f;
    padding: 6px 4px;
}

.event-date strong {
    display: block;
    font-size: 1.2rem;
    color: #c6924b;
}

.event-date-tbc {
    padding: 14px 4px;
}

.event-body strong {
    display: block;
    color: #f5ead6;
}

.event-body span {
    display: block;
    font-size: 0.8rem;
    color: #dfc9a8;
    margin-top: 2px;
}

/* Footer */
.home-footer {
    border-top: 1px solid #3a281d;
    padding-top: 26px;
    color: #dfc9a8;
    font-size: 0.9rem;
    max-width: 640px;
}

.footer-fine {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ── Browse by country: full-width 5-across strip ──────────── */

.country-strip {
    margin-bottom: 46px;
}

.home-section h2.centred,
.section-more.centred {
    text-align: center;
}

.country-strip-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 18px;
}

/* Collapse gracefully on smaller screens rather than squishing 5 up */
@media (max-width: 760px) {
    .country-strip-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 460px) {
    .country-strip-grid { grid-template-columns: repeat(2, 1fr); }
}

.country-chip {
    display: block;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid #3a281d;
    background: #18100c;
    padding-bottom: 10px;
    overflow: hidden;
}

.country-chip:hover {
    border-color: #c6924b;
}

.country-chip img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    filter: saturate(0.85);
}

.country-chip:hover img {
    filter: saturate(1);
}

.country-chip-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #150e0a;
    color: #4a3624;
    font-size: 1.8rem;
}

.country-chip strong {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #f5ead6;
}

.country-chip span {
    display: block;
    font-size: 0.72rem;
    color: #c6924b;
    margin-top: 2px;
}
