/* giftsell Blog Block — Frontend
   Farben: #2e7d4f (grün), #1a6b8a (blau), #1a1a1a (dunkel)
   ------------------------------------------------------------------ */

:root {
    --gsbb-green:      #2e7d4f;
    --gsbb-green-dark: #1f5c38;
    --gsbb-blue:       #1a6b8a;
    --gsbb-blue-dark:  #124e66;
    --gsbb-accent:     var(--gsbb-green);
}

.gsbb-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px;
    font-family: 'Barlow', sans-serif;
}

.gsbb-section-header {
    margin-bottom: 32px;
}

.gsbb-intro {
    font-size: 15px;
    color: #555;
    line-height: 1.65;
    margin: 10px 0 0;
    max-width: 720px;
}


    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 32px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    position: relative;
    padding-bottom: 14px;
}

.gsbb-headline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--gsbb-green);
    border-radius: 2px;
}

/* ── Grid ───────────────────────────────────────────────────────── */

.gsbb-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 340px;
    align-items: stretch;
}

/* Wenn nur 1 kleine Karte → schmälere rechte Spalte */
.gsbb-grid.gsbb-cards-1 { grid-template-columns: 1fr 280px; }
.gsbb-grid.gsbb-cards-2 { grid-template-columns: 1fr 300px; }
.gsbb-grid.gsbb-cards-3 { grid-template-columns: 1fr 320px; }

@media (max-width: 900px) {
    .gsbb-grid,
    .gsbb-grid.gsbb-cards-1,
    .gsbb-grid.gsbb-cards-2,
    .gsbb-grid.gsbb-cards-3 {
        grid-template-columns: 1fr;
    }
}

/* ── Hauptartikel ───────────────────────────────────────────────── */

.gsbb-main-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.gsbb-main-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.gsbb-main-img-link { display: block; overflow: hidden; }

.gsbb-main-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gsbb-main-img-link:hover .gsbb-main-img {
    transform: scale(1.04);
}

.gsbb-main-body {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gsbb-main-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 700;
    margin: 8px 0 12px;
    line-height: 1.25;
}

.gsbb-main-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.15s;
}
.gsbb-main-title a:hover { color: var(--gsbb-green); }

.gsbb-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 20px;
    flex: 1;
}

.gsbb-read-more {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gsbb-green);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.gsbb-read-more:hover { text-decoration: underline; }

/* ── Kleine Karten ──────────────────────────────────────────────── */

.gsbb-small-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gsbb-small-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: row;
    transition: box-shadow 0.2s;
    flex: 1;
}

.gsbb-small-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.11);
}

.gsbb-small-img-link {
    display: block;
    flex-shrink: 0;
    overflow: hidden;
    width: 110px;
}

.gsbb-small-img {
    width: 110px;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 90px;
    transition: transform 0.35s ease;
}

.gsbb-small-img-link:hover .gsbb-small-img {
    transform: scale(1.06);
}

.gsbb-small-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.gsbb-small-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin: 6px 0 0;
    line-height: 1.3;
}

.gsbb-small-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.15s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gsbb-small-title a:hover { color: var(--gsbb-blue); }

/* ── Meta (Kategorie + Datum) ───────────────────────────────────── */

.gsbb-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.gsbb-cat {
    background: var(--gsbb-blue);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    white-space: nowrap;
}

.gsbb-date { color: #999; }

/* ── Bild-Placeholder (kein Featured Image) ─────────────────────── */

.gsbb-img-placeholder {
    background: linear-gradient(135deg, #d4e9df 0%, #c5dde8 100%);
}
.gsbb-img-placeholder.gsbb-main-img  { height: 280px; }
.gsbb-img-placeholder.gsbb-small-img { height: 100%; min-height: 90px; }

/* ── Footer: "Mehr"-Button ──────────────────────────────────────── */

.gsbb-footer {
    margin-top: 32px;
    text-align: center;
}

.gsbb-mehr-btn {
    display: inline-block;
    background: var(--gsbb-green);
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 32px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.gsbb-mehr-btn:hover {
    background: var(--gsbb-green-dark);
    transform: translateY(-1px);
}

/* ── Lesezeit ───────────────────────────────────────────────────── */

.gsbb-readtime {
    color: #aaa;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.gsbb-readtime::before { content: '·'; }
.gsbb-readtime-sm { margin-top: 6px; display: block; font-size: 11px; color: #bbb; }
.gsbb-readtime-sm::before { content: none; }

/* ── Autor ──────────────────────────────────────────────────────── */

.gsbb-main-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.gsbb-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444;
    font-weight: 500;
}

.gsbb-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--gsbb-green);
}

/* ── Kleines Excerpt ────────────────────────────────────────────── */

.gsbb-small-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 6px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.gsbb-empty { color: #999; font-style: italic; }
