/**
 * Current Layout CSS (Güncel Layout)
 * Üst: 1 büyük kart (sol) + 3 orta kart (sağ)
 * Alt: 4 küçük kart (yatay)
 */

.category-current-layout {
    margin: 40px auto;
    padding: 0 15px;
    max-width: 1200px;
}

.category-current-layout .section-header {
    margin-bottom: 15px;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.category-current-layout .section-header::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--primary-color, #e74c3c);
}

.category-current-layout .section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-current-layout .section-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-current-layout .section-title a:hover {
    color: var(--primary-color, #e74c3c);
}

/* Üst Grid: Büyük + 3 Orta */
.current-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Sol: Büyük Kart */
.current-main-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 450px;
    max-height: 450px;
}

.current-main-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.current-main-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.current-main-image {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.current-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.current-main-card:hover .current-main-image img {
    transform: scale(1.05);
}

.current-main-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
}

.current-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    color: #fff;
}

.current-main-badge {
    display: none;
}

.current-main-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px 0;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.current-main-excerpt {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 12px 0;
    color: rgba(255, 255, 255, 0.95);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.current-main-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.current-main-date::before {
    content: "📅";
    margin-right: 5px;
    font-size: 12px;
}

/* Sağ: 3 Orta Kart */
.current-side-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 450px;
}

.current-side-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    flex: 1;
    height: calc((450px - 40px) / 3);
}

.current-side-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.current-side-link {
    display: flex;
    gap: 15px;
    padding: 0;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.current-side-image {
    flex-shrink: 0;
    width: 180px;
    height: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.current-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.current-side-card:hover .current-side-image img {
    transform: scale(1.1);
}

.current-side-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 15px 15px 15px 0;
}

.current-side-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.current-side-card:hover .current-side-title {
    color: var(--primary-color, #e74c3c);
}

.current-side-excerpt {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.current-side-date {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.current-side-date::before {
    content: "📅";
    font-size: 11px;
}

/* Alt: 4 Küçük Kart */
.current-bottom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.current-bottom-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.current-bottom-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.current-bottom-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.current-bottom-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.current-bottom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.current-bottom-card:hover .current-bottom-image img {
    transform: scale(1.1);
}

.current-bottom-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.current-bottom-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    z-index: 2;
    color: #fff;
}

.current-bottom-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 8px 0;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.current-bottom-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 5px;
}

.current-bottom-date::before {
    content: "📅";
    font-size: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .current-top-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .current-main-image {
        height: 400px;
    }
    
    .current-side-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .current-side-link {
        flex-direction: column;
    }
    
    .current-side-image {
        width: 100%;
        height: 180px;
    }
    
    .current-side-content {
        padding: 15px;
    }
    
    .current-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .category-current-layout {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .category-current-layout .section-header {
        margin-bottom: 12px;
        gap: 12px;
    }
    
    .category-current-layout .section-title {
        font-size: 20px;
    }
    
    .current-top-grid {
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .current-main-card {
        height: 350px;
        border-radius: 10px;
    }
    
    .current-main-image {
        height: 350px;
    }
    
    .current-main-content {
        padding: 25px 20px;
    }
    
    .current-main-title {
        font-size: 22px;
    }
    
    .current-main-excerpt {
        font-size: 14px;
    }
    
    .current-side-cards {
        grid-template-columns: 1fr;
        gap: 8px;
        height: auto;
    }
    
    .current-side-card {
        height: auto;
        border-radius: 8px;
    }
    
    .current-side-link {
        flex-direction: row;
    }
    
    .current-side-image {
        width: 130px;
        height: 130px;
    }
    
    .current-side-content {
        padding: 15px;
    }
    
    .current-bottom-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .current-bottom-card {
        border-radius: 8px;
    }
    
    .current-bottom-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .category-current-layout {
        margin: 20px auto;
        padding: 0 12px;
    }
    
    .category-current-layout .section-header {
        margin-bottom: 10px;
        gap: 10px;
    }
    
    .category-current-layout .section-header::after {
        display: block;
    }
    
    .category-current-layout .section-title {
        font-size: 18px;
    }
    
    .current-top-grid {
        gap: 6px;
        margin-bottom: 6px;
    }
    
    .current-main-card {
        height: 300px;
        border-radius: 8px;
    }
    
    .current-main-image {
        height: 300px;
    }
    
    .current-main-content {
        padding: 20px 15px;
    }
    
    .current-main-title {
        font-size: 20px;
    }
    
    .current-main-excerpt {
        display: none;
    }
    
    .current-side-cards {
        gap: 6px;
    }
    
    .current-side-card {
        border-radius: 6px;
    }
    
    .current-side-image {
        width: 100px;
        height: 100px;
    }
    
    .current-side-content {
        padding: 12px;
    }
    
    .current-side-title {
        font-size: 15px;
    }
    
    .current-side-excerpt {
        display: none;
    }
    
    .current-bottom-grid {
        gap: 6px;
    }
    
    .current-bottom-card {
        border-radius: 6px;
    }
    
    .current-bottom-image {
        height: 180px;
    }
    
    .current-bottom-content {
        padding: 12px;
    }
}

/* ============================================
   DARK MODE - Current Layout
   ============================================ */

body.dark-mode .category-current-layout {
    background: var(--dark-bg-primary);
}

body.dark-mode .category-current-layout .section-header::after {
    background: var(--primary-color, #e74c3c);
}

body.dark-mode .category-current-layout .section-title {
    color: var(--dark-text-primary);
}

body.dark-mode .category-current-layout .section-title a {
    color: var(--dark-text-primary);
}

body.dark-mode .category-current-layout .section-title a:hover {
    color: var(--dark-accent);
}

/* Ana kart dark mode */
body.dark-mode .current-main-card {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

body.dark-mode .current-main-card:hover {
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.6);
}

/* Overlay gradient'i dark mode'da daha koyu */
body.dark-mode .current-main-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
}

/* Badge dark mode */
body.dark-mode .current-main-badge {
    background: var(--dark-accent);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.5);
}

/* Başlık ve içerik zaten beyaz, koyu arka planda iyi görünür */
body.dark-mode .current-main-title {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

body.dark-mode .current-main-excerpt {
    color: rgba(255, 255, 255, 0.95);
}

body.dark-mode .current-main-meta {
    color: rgba(255, 255, 255, 0.9);
}

/* Yan kartlar dark mode */
body.dark-mode .current-side-card {
    background: var(--dark-bg-secondary);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--dark-border);
}

body.dark-mode .current-side-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
    border-color: var(--dark-border-hover);
}

body.dark-mode .current-side-image {
    background: var(--dark-bg-tertiary);
}

body.dark-mode .current-side-title {
    color: var(--dark-text-primary);
}

body.dark-mode .current-side-card:hover .current-side-title {
    color: var(--dark-accent);
}

body.dark-mode .current-side-excerpt {
    color: var(--dark-text-secondary);
}

body.dark-mode .current-side-date {
    color: var(--dark-text-secondary);
}

/* Alt kartlar dark mode */
body.dark-mode .current-bottom-card {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

body.dark-mode .current-bottom-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

/* Alt kartlar overlay gradient'i dark mode'da daha koyu */
body.dark-mode .current-bottom-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

body.dark-mode .current-bottom-title {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

body.dark-mode .current-bottom-date {
    color: rgba(255, 255, 255, 0.9);
}