/* ==========================================================================
   Horecamerk Flipbook — Viewer + Archief
   Prefix: awcf_hcm-
   Mobile-first, nested CSS
   ========================================================================== */

/* ---- Flipbook viewer wrapper ---- */
.awcf_hcm-flipbook-wrap {
    max-width: 1100px;
    margin: 0 auto 2rem;
}

.awcf_hcm-flipbook-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #1e293b;

    .awcf_hcm-flipbook-editie {
        font-size: 0.875rem;
        font-weight: 400;
        color: #64748b;
        margin-left: 0.5rem;
    }
}

/* DearFlip embedded container needs a fixed height */
._df_book {
    width: 100%;
    position: relative;
}

/* ---- Archief grid ---- */
.awcf_hcm-archief-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;

    @media (min-width: 480px) {
        grid-template-columns: repeat(2, 1fr);
    }

    @media (min-width: 768px) {
        grid-template-columns: repeat(var(--hcm-archief-cols, 3), 1fr);
    }
}

.awcf_hcm-archief-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    cursor: pointer;

    &:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }
}

.awcf_hcm-archief-item--current {
    border-color: #2563eb;
    border-width: 2px;
}

.awcf_hcm-archief-thumb {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.awcf_hcm-archief-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.awcf_hcm-archief-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 1.5rem;
    font-weight: 700;
}

.awcf_hcm-archief-meta {
    padding: 0.875rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.awcf_hcm-archief-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
}

.awcf_hcm-archief-sub {
    font-size: 0.8125rem;
    color: #64748b;
}

.awcf_hcm-archief-desc {
    font-size: 0.8125rem;
    color: #475569;
    margin: 0.25rem 0 0;
    line-height: 1.4;
}

.awcf_hcm-archief-badge {
    display: inline-block;
    margin-top: 0.375rem;
    padding: 0.125rem 0.5rem;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    align-self: flex-start;
}

/* ---- Reuse notice styling from reporting ---- */
.awcf_hcm-notice {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.awcf_hcm-notice--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}
