/* =============================================
   Dental Blog Widget for Elementor — CSS
   v1.0.0
============================================= */

/* ── BÖLÜM ───────────────────────────────── */
.dbw-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 56px 48px 60px;
    font-family: 'Nunito', 'Segoe UI', sans-serif;
}

/* ── HEADER ──────────────────────────────── */
.dbw-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}
.dbw-eyebrow {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: #1a73e8;
    margin-bottom: 10px;
}
.dbw-heading {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 700;
    color: #0a3d8f;
    line-height: 1.2;
    margin: 0 0 14px 0 !important;
}
.dbw-description {
    font-size: 15px;
    color: #6b7b99;
    max-width: 460px;
    line-height: 1.75;
    margin: 0;
}
.dbw-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0a3d8f;
    color: #ffffff !important;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-decoration: none !important;
    padding: 14px 26px;
    border-radius: 50px;
    border: 2px solid #0a3d8f;
    transition: background .25s, color .25s, transform .2s, border-color .25s;
    white-space: nowrap;
    align-self: center;
    cursor: pointer;
}
.dbw-btn:hover {
    background: transparent !important;
    color: #0a3d8f !important;
    transform: translateX(4px);
}
.dbw-btn svg {
    transition: transform .25s;
    flex-shrink: 0;
}
.dbw-btn:hover svg { transform: translateX(5px); }

/* ── GRID ────────────────────────────────── */
.dbw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ── FEATURED KART ───────────────────────── */
.dbw-card-featured {
    grid-row: span 3;
    border-radius: 14px;
    overflow: hidden;
    background: #f0f6ff;
    box-shadow: 0 4px 24px rgba(10,61,143,.09);
    display: flex;
    flex-direction: column;
    transition: box-shadow .3s, transform .3s;
}
.dbw-card-featured:hover {
    box-shadow: 0 8px 36px rgba(10,61,143,.18);
    transform: translateY(-4px);
}
.dbw-card-featured .dbw-featured-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}
.dbw-card-featured .dbw-card-body {
    padding: 28px 28px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── KÜÇÜK KART ──────────────────────────── */
.dbw-card-small {
    border-radius: 14px;
    background: #f0f6ff;
    box-shadow: 0 4px 24px rgba(10,61,143,.09);
    display: flex;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
}
.dbw-card-small:hover {
    box-shadow: 0 8px 36px rgba(10,61,143,.18);
    transform: translateY(-3px);
}
.dbw-card-small .dbw-thumb-img {
    width: 130px;
    min-width: 130px;
    object-fit: cover;
    display: block;
    border-radius: 12px 0 0 12px;
}
.dbw-card-small .dbw-card-body {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

/* ── PLACEHOLDER (resim yoksa) ───────────── */
.dbw-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dbe8ff;
}
.dbw-no-img svg { width: 100%; height: 100%; }

/* ── ROZET ───────────────────────────────── */
.dbw-badge {
    display: inline-block;
    background: #1a73e8;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 5px 13px;
    border-radius: 8px;
    text-transform: uppercase;
    align-self: flex-start;
    line-height: 1.4;
}

/* ── KART BAŞLIĞI ────────────────────────── */
.dbw-card-title {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-weight: 700;
    color: #0a3d8f !important;
    line-height: 1.35;
    text-decoration: none !important;
    transition: color .2s;
    display: block;
}
.dbw-card-title:hover { color: #1a73e8 !important; }
.dbw-card-featured .dbw-card-title { font-size: clamp(17px, 2vw, 23px); }
.dbw-card-small    .dbw-card-title { font-size: 14.5px; }

/* ── META ────────────────────────────────── */
.dbw-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b7b99;
    flex-wrap: wrap;
}
.dbw-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.dbw-meta svg { opacity: .6; flex-shrink: 0; }
.dbw-sep { color: #c5d3e8; }

/* ── MOBİL ───────────────────────────────── */
@media (max-width: 900px) {
    .dbw-section { padding: 36px 20px 40px; }
    .dbw-grid { grid-template-columns: 1fr; }
    .dbw-card-featured { grid-row: span 1; }
    .dbw-card-featured .dbw-featured-img { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
    .dbw-header { flex-direction: column; }
    .dbw-btn { align-self: flex-start; }
    .dbw-card-small { flex-direction: column; }
    .dbw-card-small .dbw-thumb-img {
        width: 100%;
        min-width: unset;
        height: 180px;
        border-radius: 12px 12px 0 0;
    }
    .dbw-card-small .dbw-card-body { padding: 16px; }
}
