/* ANIE Landing Compositor — Frontend Styles */

/* ── HERO ──────────────────────────────────────────── */
.alc-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 40px;
}

.alc-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 24px;
    max-width: 760px;
    margin: 0 auto;
}

.alc-hero__badge {
    display: inline-block;
    background: var(--alc-accent, #2e7d32);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.alc-hero__headline {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.alc-hero__subline {
    font-size: clamp(.95rem, 1.8vw, 1.2rem);
    color: rgba(255,255,255,.88);
    line-height: 1.6;
    margin: 0 auto 32px;
    max-width: 560px;
}

.alc-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    transition: opacity .2s, transform .2s;
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

.alc-hero__cta:hover {
    opacity: .88;
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

/* ── POST GRID ─────────────────────────────────────── */
.alc-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.alc-post-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    transition: transform .2s, box-shadow .2s;
}

.alc-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,.13);
}

.alc-post-card__img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    height: 180px;
}

.alc-post-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.alc-post-card:hover .alc-post-card__img-wrap img {
    transform: scale(1.05);
}

.alc-post-card__cat {
    position: absolute;
    bottom: 10px;
    left: 12px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
}

.alc-post-card__body {
    padding: 16px 18px 20px;
}

.alc-post-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.35;
}

.alc-post-card__title a {
    color: inherit;
    text-decoration: none;
}

.alc-post-card__title a:hover {
    color: var(--alc-accent, #2e7d32);
}

.alc-post-card__excerpt {
    font-size: .85rem;
    color: #666;
    line-height: 1.55;
    margin: 0;
}

/* ── STANDALONE CTA BUTTON ─────────────────────────── */
.alc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 7px;
    transition: opacity .2s;
}

.alc-cta-btn:hover {
    opacity: .85;
    color: #fff;
    text-decoration: none;
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 600px) {
    .alc-hero { min-height: 300px; }
    .alc-hero__inner { padding: 40px 20px; }
    .alc-posts-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}

@media (max-width: 420px) {
    .alc-posts-grid { grid-template-columns: 1fr; }
}
