/**
 * Path: public_html/assets/css/home.css
 */

.banner-placeholder {
    border: 1px dashed rgba(200, 155, 60, 0.55);
    background: rgba(200, 155, 60, 0.08);
    color: var(--burgundy);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 4px;
}

.banner-placeholder span {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.75;
}

.banner-placeholder strong {
    font-size: 14px;
    font-weight: 800;
}

.home-top-banner {
    width: min(1180px, calc(100% - 32px));
    min-height: 110px;
    margin: 34px auto 0;
}

.home-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 42px auto 0;
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    gap: 42px;
}

.home-hero-content {
    position: relative;
}

.home-kicker {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--gold-soft);
    border: 1px solid rgba(200, 155, 60, 0.28);
    color: var(--burgundy);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-hero h1 {
    max-width: 760px;
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(42px, 5.4vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--ink);
}

.home-hero p {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.85;
}

.home-hero-meta {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.home-hero-meta a,
.home-hero-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(250, 247, 239, 0.68);
    border: 1px solid var(--border);
    color: var(--burgundy);
    font-size: 13px;
    font-weight: 800;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.home-hero-side {
    display: grid;
    gap: 18px;
}

.home-hero-card {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 34px;
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(16, 24, 32, 0.96), rgba(90, 30, 43, 0.94)),
        radial-gradient(circle at top right, rgba(200, 155, 60, 0.36), transparent 36%);
    border: 1px solid rgba(200, 155, 60, 0.32);
    box-shadow: var(--shadow);
    color: var(--white-soft);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.home-hero-card::before {
    content: '';
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(200, 155, 60, 0.22);
    border-radius: 26px;
    pointer-events: none;
}

.home-hero-card span {
    position: relative;
    z-index: 1;
    width: fit-content;
    margin-bottom: 16px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(200, 155, 60, 0.16);
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-hero-card h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: var(--font-heading);
    font-size: 42px;
    line-height: 1.08;
}

.home-hero-card p {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    color: rgba(250, 247, 239, 0.74);
    font-size: 15px;
}

.home-side-banner {
    min-height: 120px;
}

.home-latest {
    width: min(1180px, calc(100% - 32px));
    margin: 54px auto 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.section-heading span {
    display: block;
    margin-bottom: 8px;
    color: var(--burgundy);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-heading h2 {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--ink);
    font-size: 42px;
    line-height: 1;
}

.section-heading a {
    color: var(--burgundy);
    font-size: 14px;
    font-weight: 900;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.latest-card {
    overflow: hidden;
    border-radius: 28px;
    background: rgba(250, 247, 239, 0.76);
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(16, 24, 32, 0.08);
}

.latest-image {
    height: 210px;
    background: rgba(16, 24, 32, 0.08);
}

.latest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-image-fallback {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(145deg, rgba(16, 24, 32, 0.96), rgba(90, 30, 43, 0.94));
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 34px;
}

.latest-content {
    padding: 24px;
}

.latest-category {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--burgundy);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.latest-content h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 28px;
    line-height: 1.12;
    color: var(--ink);
}

.latest-content p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.empty-state {
    padding: 34px;
    border-radius: 28px;
    background: rgba(250, 247, 239, 0.7);
    border: 1px solid var(--border);
}

.empty-state h3 {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 32px;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
}

.home-mid-banner {
    width: min(1180px, calc(100% - 32px));
    min-height: 100px;
    margin: 46px auto 0;
}

.home-sections {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.home-sections article {
    padding: 28px;
    border-radius: 26px;
    background: rgba(250, 247, 239, 0.72);
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(16, 24, 32, 0.08);
}

.home-sections h3 {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: 27px;
    color: var(--ink);
}

.home-sections p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

@media (max-width: 980px) {
    .home-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        margin-top: 38px;
    }

    .latest-grid,
    .home-sections {
        grid-template-columns: 1fr;
    }

    .home-hero-card {
        min-height: 300px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .home-hero h1 {
        font-size: 40px;
    }

    .home-hero-card {
        padding: 28px;
    }

    .home-hero-card h2 {
        font-size: 34px;
    }

    .section-heading h2 {
        font-size: 34px;
    }
}