/* ══════════════════════════════════════════════════
   Blog Slider – Fußzeit Studio  (blog-slider.css)
   Farbwelt: warmes Beige / Braun / Terracotta
   ══════════════════════════════════════════════════ */

/* ── Design-Token ────────────────────────────────── */
:root {
    --cbs-bg:          #fdf8f5;
    --cbs-beige:       #ede3da;
    --cbs-brown:       #6b5044;
    --cbs-accent:      #a07860;
    --cbs-accent-dark: #8a6550;
    --cbs-text:        #4a3b35;
    --cbs-muted:       #9e8a82;
    --cbs-radius:      14px;
    --cbs-shadow:      0 2px 14px rgba(90, 60, 40, 0.09);
    --cbs-shadow-h:    0 8px 30px rgba(90, 60, 40, 0.17);
}

/* ── Wrapper ─────────────────────────────────────── */
.cbs-slider {
    position: relative;
    padding: 0 56px 32px;
    box-sizing: border-box;
    width: 100%;
}

/* ── Slide ───────────────────────────────────────── */
.cbs-slide {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 28px 0 16px;
}

.cbs-slide.active {
    display: grid;
    animation: cbsFadeUp 0.45s ease both;
}

@keyframes cbsFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Karte ───────────────────────────────────────── */
.cbs-card {
    background: #ffffff;
    border-radius: var(--cbs-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--cbs-shadow);
    border: 1px solid rgba(160, 120, 96, 0.13);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cbs-card:hover {
    box-shadow: var(--cbs-shadow-h);
    transform: translateY(-5px);
}

/* ── Bild ────────────────────────────────────────── */
.cbs-card__image {
    position: relative;
    overflow: hidden;
}

.cbs-card__image img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.cbs-card:hover .cbs-card__image img {
    transform: scale(1.05);
}

/* sanfter Gradient-Schimmer unten am Bild */
.cbs-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 55%, rgba(74, 59, 53, 0.16));
    pointer-events: none;
}

/* ── Card-Body ───────────────────────────────────── */
.cbs-card__body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ── Titel ───────────────────────────────────────── */
.cbs-card__title {
    font-size: 2.6rem;          /* ~26px im OceanWP 62.5%-System */
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
}

.cbs-card__title a {
    color: var(--cbs-text);
    text-decoration: none;
    transition: color 0.2s;
}

.cbs-card__title a:hover {
    color: var(--cbs-accent);
}

/* ── Excerpt ─────────────────────────────────────── */
.cbs-card__excerpt {
    color: var(--cbs-muted);
    font-size: 1.45rem;
    line-height: 1.7;
    margin: 0 0 18px;
    flex: 1;
}

/* ── Trennlinie vor Meta ─────────────────────────── */
.cbs-card__meta-divider {
    width: 32px;
    height: 1px;
    background: var(--cbs-beige);
    margin-bottom: 12px;
}

/* ── Meta ────────────────────────────────────────── */
.cbs-card__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 1.28rem;
    color: var(--cbs-muted);
    margin-bottom: 18px;
}

.cbs-card__meta strong {
    color: var(--cbs-text);
    font-weight: 600;
}

/* ── Button ──────────────────────────────────────── */
.cbs-card__btn {
    display: inline-block;
    align-self: flex-start;
    border: 1.5px solid var(--cbs-accent);
    border-radius: 50px;
    padding: 8px 22px;
    font-size: 1.35rem;
    letter-spacing: 0.03em;
    color: var(--cbs-accent);
    text-decoration: none;
    background: transparent;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.cbs-card__btn:hover {
    background: var(--cbs-accent);
    color: #fff;
    border-color: var(--cbs-accent);
}

/* ── Pfeil-Buttons ───────────────────────────────── */
.cbs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-70%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--cbs-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--cbs-brown);
    box-shadow: 0 2px 10px rgba(90, 60, 40, 0.10);
    transition: background 0.22s, border-color 0.22s, color 0.22s, box-shadow 0.22s;
    padding: 0;
    z-index: 10;
}

.cbs-arrow--prev { left: 4px; }
.cbs-arrow--next { right: 4px; }

.cbs-arrow:hover {
    background: var(--cbs-accent);
    border-color: var(--cbs-accent);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(160, 120, 96, 0.32);
}

/* ── Dots ────────────────────────────────────────── */
.cbs-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 14px;
}

.cbs-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: var(--cbs-beige);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}

.cbs-dot.active,
.cbs-dot:hover {
    background: var(--cbs-accent);
    transform: scale(1.4);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 960px) {
    .cbs-slide {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cbs-slider {
        padding: 0 40px 24px;
    }

    .cbs-slide {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cbs-arrow {
        width: 34px;
        height: 34px;
        font-size: 1.6rem;
    }
}