/* ================================================================
   Off Days — Columns Block
================================================================ */

/* Sectieheader boven de kolommen */
.offdays-col__section-header {
    max-width: 1458px;
    margin: 0 auto;
    padding: var(--space-lg, 4rem) var(--space-md, 2rem) 0;
    text-align: center;
}

.offdays-col__section-title {
    font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    color: var(--color-slate, #1E2126);
    line-height: 1.2;
    margin: 0 0 1rem;
}

.offdays-col__section-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-slate, #1E2126);
    margin: 0 auto;
    max-width: 800px;
}

.offdays-col {
    display: grid;
    gap: var(--space-md, 2rem);
    max-width: 1458px;
    margin: 0 auto;
    padding: var(--space-lg, 4rem) var(--space-md, 2rem);
}

/* Grid indelingen */
.offdays-col--25-25-25-25 { grid-template-columns: repeat(4, 1fr); }
.offdays-col--33-33-33    { grid-template-columns: repeat(3, 1fr); }
.offdays-col--50-50       { grid-template-columns: repeat(2, 1fr); }
.offdays-col--70-30       { grid-template-columns: 7fr 3fr; }
.offdays-col--30-70       { grid-template-columns: 3fr 7fr; }
.offdays-col--100         { grid-template-columns: 1fr; }

/* Kolom item — knop altijd onderaan */
.offdays-col__item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Icoon */
.offdays-col__icon {
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.offdays-col__icon svg {
    width: 88px;
    height: 88px;
    display: block;
}

/* Editor: icon picker grid */
.offdays-icon-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    margin-bottom: 0.5rem;
}

.offdays-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    background: #f0ede8;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    padding: 6px;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.offdays-icon-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.offdays-icon-btn:hover {
    background: #e5e0d8;
}

.offdays-icon-btn.is-selected {
    border-color: #1E2126;
    background: #fff;
}

/* Afbeelding */
.offdays-col__image-wrap {
    overflow: hidden;
    border-radius: 8px;
    flex-shrink: 0;
}

.offdays-col__image {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

/* Editor: upload placeholder */
.offdays-col__image-placeholder {
    background-color: #f0ede8;
    border: 2px dashed #c8bfb5;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #999;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.offdays-col__image-placeholder:hover {
    background-color: #ede9e3;
}

.offdays-col__title {
    font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    color: var(--color-slate, #1E2126);
    line-height: 1.2;
    margin: 0;
    text-align: center;
}

.offdays-col__text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-slate, #1E2126);
    flex: 1;
    text-align: center;
}

.offdays-col__text p            { margin: 0 0 0.75rem; }
.offdays-col__text p:last-child { margin-bottom: 0; }
.offdays-col__text strong       { font-weight: 700; }
.offdays-col__text em           { font-style: italic; }
.offdays-col__text a            { color: var(--color-rust, #B05C38); text-decoration: underline; }

/* Klikbare kolom */
a.offdays-col__item--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Knop altijd onderaan en gecentreerd */
.offdays-col__footer {
    margin-top: auto;
    padding-top: 0.5rem;
    display: flex;
    justify-content: center;
}

/* Editor placeholder voor knop */
.offdays-col__btn-placeholder {
    font-size: 0.75rem;
    color: #aaa;
    font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
    .offdays-col--25-25-25-25 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .offdays-col {
        grid-template-columns: 1fr !important;
        padding: var(--space-md, 2rem) var(--space-sm, 1rem);
        gap: var(--space-md, 2rem);
    }
}
