/**
 * Sapanca Gazetesi
 * Software developed by ArpSoft
 * Copyright © 2026 ArpSoft. All rights reserved.
 * Developer: Murat Arapoğlu
 */
.category-news-page{padding-bottom:64px}
.category-news-page>.page-shell{padding-top:24px}
.category-news-breadcrumb{display:flex;align-items:center;gap:8px;min-height:58px;overflow:hidden;color:var(--muted);font-size:14px;font-weight:800;white-space:nowrap}
.category-news-breadcrumb a,.category-news-breadcrumb span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.category-news-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}
.category-news-main,.category-news-sidebar{min-width:0}
.category-news-main{display:grid;gap:20px}
.category-news-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:0 0 14px}
.category-news-header>div{display:flex;align-items:center;gap:10px}
.category-news-header>div>i{color:var(--red);font-size:22px}
.category-news-header h1{margin:0;color:var(--text);font-size:24px;font-weight:950;line-height:1.1}
.category-news-header small{color:var(--muted);font-size:13px;font-weight:700;white-space:nowrap}
.category-news-stream{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.category-news-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-soft)}
.category-news-card>a{display:flex;height:100%;flex-direction:column}
.category-news-card__image{overflow:hidden;aspect-ratio:16/9;background:var(--surface-soft)}
.category-news-card__image img{width:100%;height:100%;object-fit:cover;transition:transform var(--transition-image)}
.category-news-card:hover .category-news-card__image img{transform:scale(1.025)}
.category-news-card__body{display:flex;min-height:240px;flex:1;flex-direction:column;align-items:flex-start;padding:16px}
.category-news-card__category{margin-bottom:7px;color:var(--red);font-size:11px;font-weight:900;text-transform:uppercase}
.category-news-card h2{display:-webkit-box;overflow:hidden;margin:0;color:var(--text);font-size:18px;font-weight:900;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.category-news-card time{display:inline-flex;align-items:center;gap:5px;margin-top:12px;color:var(--muted);font-size:12px;font-weight:700}
.category-news-card p{display:-webkit-box;overflow:hidden;margin:12px 0 0;color:var(--muted);font-size:14px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.category-news-card__body>strong{display:inline-flex;align-items:center;gap:4px;margin-top:auto;padding-top:15px;color:var(--red);font-size:13px;font-weight:900}
.category-news-ad{display:grid;place-items:center;border-radius:var(--radius-md);background:#ddd;color:#aaa;font-weight:950;text-align:center}
[data-site-theme="dark"] .category-news-ad{background:#2a3445;color:#6f7c91}
.category-news-ad--billboard{grid-column:1/-1;width:min(100%,970px);height:90px;margin:14px auto;font-size:30px}
.category-news-sidebar{display:grid;gap:24px}
.category-news-pagination{margin-top:4px}
.category-news-empty{display:grid;justify-items:center;gap:10px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);color:var(--muted);padding:60px 20px;text-align:center}
.category-news-empty i{color:var(--red);font-size:46px}
.category-news-empty h2{margin:0;color:var(--text)}

@media(max-width:1180px){
    .category-news-layout{grid-template-columns:minmax(0,1fr) 300px;gap:18px}
    .category-news-stream{gap:14px}
    .category-news-card h2{font-size:17px}
    .category-news-card__body{min-height:230px;padding:14px}
}

@media(max-width:900px){
    .category-news-layout{grid-template-columns:1fr}
    .category-news-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
    .category-news-stream{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:640px){
    .category-news-page{padding-bottom:40px}
    .category-news-page>.page-shell{padding-top:18px}
    .category-news-header{align-items:flex-start}
    .category-news-header h1{font-size:21px}
    .category-news-header small{font-size:12px}
    .category-news-stream,.category-news-sidebar{grid-template-columns:1fr}
    .category-news-card__body{min-height:0}
    .category-news-card h2{font-size:18px}
    .category-news-card p{-webkit-line-clamp:2}
    .category-news-ad--billboard{height:90px;margin:6px auto;font-size:22px}
}
