/* ==========================================================================
   NEWSKENT - KATEGORİ HABER VİTRİNİ MODÜLÜ (2x2 Grid & Özel Şablonlar)
   Şablon 1: 2x2 İkili Kutu Grid (Bartın & Karabük Stili)
   Şablon 2: 1 Büyük Vitrin + 4'lü Yan Grid (Çaycuma Haberleri Stili)
   Şablon 3: 3x2 Geniş Izgara / 6 Haber (Spor Haberleri Stili)
   ========================================================================== */

.jet-category-showcase-section {
    position: relative;
    margin: 30px 0 35px 0;
    width: 100%;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   ORTAK ROZET & TIKLAMA STİLLERİ
   -------------------------------------------------------------------------- */
.jet-cat-video-badge-pill {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--jet-cat-badge-bg, rgba(15, 23, 42, 0.92));
    color: var(--jet-cat-badge-color, #facc15) !important;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.jet-cat-video-badge-pill i {
    font-size: 10px;
    color: var(--jet-cat-badge-color, #facc15) !important;
}

.jet-cat-video-badge-pill.jet-badge-mini {
    padding: 3px 6px;
    font-size: 9px;
}

/* --------------------------------------------------------------------------
   MODERN ÇİZGİLİ BAŞLIK ÇUBUĞU (ŞABLON 2 & 3)
   -------------------------------------------------------------------------- */
.jet-cat-modern-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}

.jet-cat-modern-title {
    margin: 0;
    font-size: var(--jet-cat-title-size, 20px);
    font-weight: 800;
    color: var(--jet-cat-title-color, #0f172a);
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.jet-cat-modern-title a {
    color: var(--jet-cat-title-color, #0f172a) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.jet-cat-modern-title a:hover {
    color: var(--jet-cat-accent, #2563eb) !important;
}

.jet-cat-modern-line {
    flex: 1;
    height: 2px;
    background: #cbd5e1;
    position: relative;
}

.jet-cat-modern-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    width: 50px;
    background: var(--jet-cat-accent, #2563eb);
}

.jet-cat-modern-header .jet-cat-more-link {
    flex-shrink: 0;
    margin-left: 0;
}

/* --------------------------------------------------------------------------
   ŞABLON 1: 2x2 İKİLİ KUTU GRID (Görsel 1: Bartın & Karabük Stili)
   -------------------------------------------------------------------------- */
.jet-grid-style-1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
}

.jet-grid-style-1.jet-single-box {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.jet-cat-block-card {
    background: var(--jet-cat-card-bg, #ffffff);
    border: 1px solid var(--jet-cat-card-border, #e5e7eb);
    border-top: 3px solid var(--jet-cat-title-color, #0f172a);
    border-radius: 4px;
    padding: 16px 20px 20px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jet-cat-block-card:hover {
    box-shadow: 0 6px 18px -3px rgba(0, 0, 0, 0.06);
}

.jet-cat-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.jet-cat-block-title {
    margin: 0;
    font-size: var(--jet-cat-title-size, 18px);
    font-weight: 800;
    color: var(--jet-cat-title-color, #0f172a);
    line-height: 1.2;
}

.jet-cat-block-title a {
    color: var(--jet-cat-title-color, #0f172a) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.jet-cat-block-title a:hover {
    color: var(--jet-cat-accent, #2563eb) !important;
}

.jet-cat-more-link {
    color: var(--jet-cat-title-color, #0f172a) !important;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 2px;
    text-decoration: none !important;
    line-height: 1;
    display: flex;
    align-items: center;
    padding: 0 4px;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.jet-cat-more-link:hover {
    opacity: 1;
    color: var(--jet-cat-accent, #2563eb) !important;
    transform: scale(1.1);
}

.jet-cat-items-2x2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 14px;
    flex: 1;
}

.jet-cat-news-item {
    display: flex;
    flex-direction: column;
}

.jet-cat-item-thumb-link {
    display: block;
    text-decoration: none !important;
}

.jet-cat-thumb-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    overflow: hidden;
    background-color: #0f172a;
}

.jet-cat-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.jet-cat-news-item:hover .jet-cat-thumb-img {
    transform: scale(1.04);
}

.jet-cat-item-title {
    font-size: var(--jet-cat-news-size, 14px);
    font-weight: var(--jet-cat-font-weight, 700);
    color: var(--jet-cat-news-color, #0f172a);
    line-height: 1.35;
    margin: 8px 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 38px;
}

.jet-cat-item-title a {
    color: var(--jet-cat-news-color, #0f172a) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.jet-cat-item-title a:hover {
    color: var(--jet-cat-news-hover, #2563eb) !important;
}

/* --------------------------------------------------------------------------
   ŞABLON 2: 1 BÜYÜK VİTRİN + 4'LÜ YAN GRID (Görsel 2: Çaycuma Stili)
   -------------------------------------------------------------------------- */
.jet-category-showcase-style-2-wrapper {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.jet-cat-showcase-block-style-2 {
    width: 100%;
    box-sizing: border-box;
}

.jet-cat-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* Sol Manşet Kartı */
.jet-cat-featured-col {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.jet-cat-big-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.jet-cat-big-thumb-link {
    display: block;
    text-decoration: none !important;
}

.jet-cat-big-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9.5;
    border-radius: 4px;
    overflow: hidden;
    background-color: #0f172a;
}

.jet-cat-big-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.jet-cat-big-card:hover .jet-cat-big-thumb-img {
    transform: scale(1.035);
}

.jet-cat-big-title {
    font-size: var(--jet-cat-big-size, 19px);
    font-weight: 800;
    color: var(--jet-cat-news-color, #0f172a);
    line-height: 1.3;
    margin: 12px 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jet-cat-big-title a {
    color: var(--jet-cat-news-color, #0f172a) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.jet-cat-big-title a:hover {
    color: var(--jet-cat-news-hover, #2563eb) !important;
}

.jet-cat-big-excerpt {
    font-size: 13.5px;
    color: var(--jet-cat-spot-color, #475569);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sağ 4'lü 2x2 Izgara */
.jet-cat-side-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 14px;
    align-items: start;
}

.jet-cat-small-card {
    display: flex;
    flex-direction: column;
}

.jet-cat-small-thumb-link {
    display: block;
    text-decoration: none !important;
}

.jet-cat-small-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    overflow: hidden;
    background-color: #0f172a;
}

.jet-cat-small-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.jet-cat-small-card:hover .jet-cat-small-thumb-img {
    transform: scale(1.04);
}

.jet-cat-small-title {
    font-size: var(--jet-cat-news-size, 13.5px);
    font-weight: var(--jet-cat-font-weight, 700);
    color: var(--jet-cat-news-color, #0f172a);
    line-height: 1.35;
    margin: 7px 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 36px;
}

.jet-cat-small-title a {
    color: var(--jet-cat-news-color, #0f172a) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.jet-cat-small-title a:hover {
    color: var(--jet-cat-news-hover, #2563eb) !important;
}

/* --------------------------------------------------------------------------
   ŞABLON 3: 3x2 GENİŞ IZGARA (Görsel 3: Spor Haberleri Stili - 6'lı)
   -------------------------------------------------------------------------- */
.jet-category-showcase-style-3-wrapper {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.jet-cat-showcase-block-style-3 {
    width: 100%;
    box-sizing: border-box;
}

.jet-cat-grid-3x2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 20px;
    align-items: start;
}

.jet-cat-grid-card {
    display: flex;
    flex-direction: column;
}

.jet-cat-grid-thumb-link {
    display: block;
    text-decoration: none !important;
}

.jet-cat-grid-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    overflow: hidden;
    background-color: #0f172a;
}

.jet-cat-grid-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.jet-cat-grid-card:hover .jet-cat-grid-thumb-img {
    transform: scale(1.04);
}

.jet-cat-grid-title {
    font-size: var(--jet-cat-news-size, 14.5px);
    font-weight: var(--jet-cat-font-weight, 700);
    color: var(--jet-cat-news-color, #0f172a);
    line-height: 1.35;
    margin: 9px 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 38px;
}

.jet-cat-grid-title a {
    color: var(--jet-cat-news-color, #0f172a) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.jet-cat-grid-title a:hover {
    color: var(--jet-cat-news-hover, #2563eb) !important;
}

/* --------------------------------------------------------------------------
   ŞABLON 4: HİBRİT / ÖZEL KATEGORİ MODU
   -------------------------------------------------------------------------- */
.jet-category-showcase-custom-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* --------------------------------------------------------------------------
   MOBİL & TABLET DUYARLI (RESPONSIVE) TASARIM
   -------------------------------------------------------------------------- */
@media screen and (max-width: 991px) {
    .jet-grid-style-1 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .jet-cat-split-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .jet-cat-grid-3x2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 16px;
    }
}

@media screen and (max-width: 600px) {
    .jet-category-showcase-section {
        margin: 20px 0 25px 0;
    }

    .jet-cat-block-card {
        padding: 14px 14px 16px 14px;
    }

    .jet-cat-modern-title {
        font-size: 17px;
    }

    .jet-cat-block-title {
        font-size: 16px;
    }

    .jet-cat-items-2x2-grid,
    .jet-cat-side-grid-2x2 {
        gap: 12px 10px;
    }

    .jet-cat-grid-3x2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .jet-cat-item-title,
    .jet-cat-small-title {
        font-size: 13px;
        min-height: auto;
    }

    .jet-cat-big-title {
        font-size: 16.5px;
    }

    .jet-cat-big-excerpt {
        font-size: 12.5px;
    }
}
