:root {
    --home-accent: #ffc107;
    --home-dark: #2a2a2a;
    --home-soft: #f7f7f5;
    --home-border: #e4e4df;
    --home-muted: #6d6d6d;
}

.home-page {
    background: #fbfbfa;
    color: var(--home-dark);
}

.home-hero {
    background: var(--home-dark);
    color: #fff;
    padding: 4.5rem 0;
}

.home-kicker {
    color: #a27800;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.home-hero .home-kicker {
    color: var(--home-accent);
}

.home-title {
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 750;
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.home-lead {
    color: #c8c8c8;
    font-size: 1.12rem;
    line-height: 1.7;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-actions .btn {
    font-weight: 650;
}

.home-hero-visual {
    background: #202020;
    border: 1px solid #494949;
    border-radius: 0.9rem;
    box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.home-hero-visual img {
    display: block;
    height: 390px;
    object-fit: cover;
    width: 100%;
}

.home-hero-caption {
    align-items: center;
    color: #bdbdbd;
    display: flex;
    font-size: 0.78rem;
    font-weight: 650;
    gap: 0.75rem;
    justify-content: center;
    padding: 0.85rem;
}

.home-hero-caption i {
    background: var(--home-accent);
    border-radius: 50%;
    display: block;
    height: 4px;
    width: 4px;
}

.home-section {
    padding: 3.5rem 0;
}

.home-overview {
    padding-bottom: 1rem;
}

.home-panel,
.stats-panel {
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 0.85rem;
    padding: 1.5rem;
}

.home-section-heading {
    align-items: flex-end;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.home-section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    letter-spacing: -0.035em;
    margin-bottom: 0;
}

.home-section-heading > a {
    color: #745600;
    flex: 0 0 auto;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

.project-card {
    background: var(--home-soft);
    border: 1px solid var(--home-border);
    border-radius: 0.7rem;
    color: var(--home-dark);
    display: flex;
    gap: 1rem;
    height: 100%;
    padding: 1.25rem;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease;
}

.project-card:hover {
    border-color: #c6b570;
    color: var(--home-dark);
    transform: translateY(-2px);
}

.project-card-icon {
    align-items: center;
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 0.55rem;
    display: flex;
    flex: 0 0 auto;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.project-card-icon img {
    height: 25px;
    width: 25px;
}

.project-card h3 {
    font-size: 1.05rem;
    font-weight: 750;
}

.project-card p {
    color: var(--home-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.project-card span {
    color: #745600;
    font-size: 0.8rem;
    font-weight: 750;
}

.stats-panel {
    background: var(--home-dark);
    border-color: var(--home-dark);
    color: #fff;
}

.stats-panel .home-kicker {
    color: var(--home-accent);
}

.stat-row {
    align-items: baseline;
    border-bottom: 1px solid #444;
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
}

.stat-row:last-child {
    border-bottom: 0;
}

.stat-row strong {
    color: var(--home-accent);
    font-size: 1.5rem;
}

.stat-row span {
    color: #bcbcbc;
    font-size: 0.82rem;
}

.collections-section {
    padding-bottom: 1rem;
}

.collection-card {
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 0.8rem;
    color: var(--home-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    padding: 1.5rem;
    text-decoration: none;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.collection-card:hover {
    box-shadow: 0 0.8rem 2rem rgba(42, 42, 42, 0.08);
    color: var(--home-dark);
    transform: translateY(-3px);
}

.collection-count {
    align-items: center;
    background: var(--home-accent);
    border-radius: 50%;
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    margin-bottom: 1.1rem;
    width: 38px;
}

.collection-card h3 {
    font-size: 1.45rem;
}

.collection-card p {
    color: var(--home-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.collection-link {
    color: #745600;
    font-size: 0.82rem;
    font-weight: 750;
}

.news-section {
    padding-bottom: 4rem;
}

.news-list {
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 0.85rem;
    overflow: hidden;
}

.news-card {
    align-items: center;
    border-bottom: 1px solid var(--home-border);
    display: grid;
    gap: 1.25rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 1.25rem 1.5rem;
}

.news-card:last-child {
    border-bottom: 0;
}

.news-icon {
    align-items: center;
    background: var(--home-soft);
    border: 1px solid var(--home-border);
    border-radius: 0.55rem;
    display: flex;
    height: 46px;
    justify-content: center;
    width: 46px;
}

.news-icon img {
    height: 26px;
    width: 26px;
}

.news-meta {
    color: #888;
    display: flex;
    font-size: 0.74rem;
    gap: 0.7rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.news-meta span {
    color: #806000;
    font-weight: 750;
}

.news-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.news-content h3 a {
    color: var(--home-dark);
    text-decoration: none;
}

.news-content p {
    color: var(--home-muted);
    font-size: 0.88rem;
    margin-bottom: 0;
}

.news-arrow {
    align-items: center;
    background: var(--home-accent);
    border-radius: 50%;
    color: #211700;
    display: inline-flex;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    text-decoration: none;
    width: 34px;
}

.news-pagination {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr auto 1fr;
    margin-top: 1.25rem;
}

.pagination-direction {
    color: #745600;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.pagination-direction:last-child {
    text-align: right;
}

.pagination-direction.disabled {
    color: #aaa;
}

.pagination-pages {
    display: flex;
    gap: 0.4rem;
}

.pagination-pages a,
.pagination-pages span {
    align-items: center;
    border: 1px solid var(--home-border);
    border-radius: 0.4rem;
    color: var(--home-dark);
    display: inline-flex;
    font-size: 0.8rem;
    height: 32px;
    justify-content: center;
    text-decoration: none;
    width: 32px;
}

.pagination-pages .active {
    background: var(--home-accent);
    border-color: var(--home-accent);
    font-weight: 800;
}

.home-empty {
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 0.8rem;
    color: var(--home-muted);
    padding: 2rem;
    text-align: center;
}

@media (max-width: 991.98px) {
    .home-hero {
        padding: 3.5rem 0;
    }
}

@media (max-width: 575.98px) {
    .home-hero,
    .home-section {
        padding: 2.75rem 0;
    }

    .home-actions .btn {
        width: 100%;
    }

    .home-hero-visual img {
        height: 260px;
    }

    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .news-card {
        align-items: flex-start;
        grid-template-columns: auto minmax(0, 1fr);
        padding: 1rem;
    }

    .news-arrow {
        display: none;
    }

    .news-pagination {
        grid-template-columns: 1fr 1fr;
    }

    .pagination-pages {
        display: none;
    }
}
