/**
 * Current Layout CSS
 * 1 büyük + 2 orta kart tasarımı
 * Cinema stili başlık
 *
 * @package Vifragman_Theme
 * @version 2.0.0
 */

.layout-current {
    padding: 10px 0;
    background: #f8f9fa;
}

/* Cinema-Style Header */
.layout-current .current-section-header {
    margin-bottom: 15px;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.layout-current .current-section-header::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--membership-primary, #ff9800);
}

.layout-current .current-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.layout-current .current-section-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.layout-current .current-section-title a:hover {
    color: var(--membership-primary, #ff9800);
}

.layout-current .current-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.layout-current .current-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.layout-current .current-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.layout-current .current-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.layout-current .current-image {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.layout-current .current-card-main .current-image {
    height: 420px;
}

.layout-current .current-card-medium .current-image {
    height: 200px;
}

.layout-current .current-card-small .current-image {
    height: 180px;
}

.layout-current .current-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.layout-current .current-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    color: white;
}

.layout-current .current-card-medium .current-content,
.layout-current .current-card-small .current-content {
    padding: 18px;
}

.layout-current .current-category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--membership-primary, #ff9800);
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.layout-current .current-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px 0;
    color: white;
}

.layout-current .current-title-medium {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: white;
}

.layout-current .current-title-small {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: white;
}

.layout-current .current-excerpt {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Action Buttons - Sağ Üst */
.layout-current .current-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.layout-current .current-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.layout-current .current-action-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.layout-current .current-action-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.layout-current .current-view-btn {
    width: auto;
    padding: 0 10px;
    border-radius: 14px;
}

.layout-current .current-view-count {
    font-size: 11px;
    font-weight: 600;
}

/* Like Button Integration */
.layout-current .current-actions .like-button {
    margin: 0;
}

.layout-current .current-actions .like-button .like-btn {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.25) !important;
    border-radius: 50%;
    padding: 0;
    backdrop-filter: blur(10px);
    color: #ffffff !important;
}

.layout-current .current-actions .like-button .like-btn:hover {
    background: rgba(255, 255, 255, 0.4) !important;
}

.layout-current .current-actions .like-button .like-btn svg {
    width: 14px;
    height: 14px;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Favorite Button Integration */
.layout-current .current-actions .favorite-button {
    margin: 0;
}

.layout-current .current-actions .favorite-button .favorite-btn {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.25) !important;
    border-radius: 50%;
    padding: 0;
    backdrop-filter: blur(10px);
    color: #ffffff !important;
}

.layout-current .current-actions .favorite-button .favorite-btn:hover {
    background: rgba(255, 255, 255, 0.4) !important;
}

.layout-current .current-actions .favorite-button .favorite-btn svg {
    width: 14px;
    height: 14px;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Icon style override for Current layout */
.layout-current .favorite-button.favorite-style-icon,
.layout-current .like-icon {
    color: #ffffff !important;
}

.layout-current .favorite-button.favorite-style-icon svg,
.layout-current .like-icon svg {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

.layout-current .current-side-grid {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
}

.layout-current .current-bottom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Responsive */
@media (max-width: 1024px) {
    .layout-current .current-grid {
        grid-template-columns: 1fr;
    }
    
    .layout-current .current-side-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .layout-current .current-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .layout-current .current-section-header {
        margin-bottom: 12px;
        gap: 12px;
    }
    
    .layout-current .current-section-title {
        font-size: 20px;
    }
    
    .layout-current .current-card-main .current-image {
        height: 300px;
    }
    
    .layout-current .current-side-grid {
        grid-template-columns: 1fr;
    }
    
    .layout-current .current-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .layout-current .current-section-header {
        margin-bottom: 10px;
        gap: 10px;
    }
    
    .layout-current .current-section-title {
        font-size: 18px;
    }
}

/* ============================================
   DARK MODE - Current Layout
   ============================================ */

/* Section background transparent */
html[data-theme="dark"] .layout-current {
    background: transparent !important;
}

/* Header dark mode */
html[data-theme="dark"] .layout-current .current-section-header::after {
    background: var(--membership-primary, #ff9800) !important;
}

html[data-theme="dark"] .layout-current .current-section-title {
    color: #ffffff !important;
}

html[data-theme="dark"] .layout-current .current-section-title a {
    color: #ffffff !important;
}

html[data-theme="dark"] .layout-current .current-section-title a:hover {
    color: var(--membership-primary, #ff9800) !important;
}

/* Card background ve borders */
html[data-theme="dark"] .layout-current .current-card {
    background: transparent !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3) !important;
}

html[data-theme="dark"] .layout-current .current-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.5) !important;
}

/* Image backgrounds - Transparent, resimler görünsün */
html[data-theme="dark"] .layout-current .current-image {
    background-color: transparent !important;
}

html[data-theme="dark"] .layout-current .current-card-main .current-image {
    background-color: transparent !important;
}

html[data-theme="dark"] .layout-current .current-card-medium .current-image {
    background-color: transparent !important;
}

html[data-theme="dark"] .layout-current .current-card-small .current-image {
    background-color: transparent !important;
}

/* Resim yoksa görünecek placeholder - Dark mode */
html[data-theme="dark"] .layout-current .no-image-placeholder {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%) !important;
}

/* Overlay - Dark mode'da daha yumuşak */
html[data-theme="dark"] .layout-current .current-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, transparent 100%) !important;
}

/* Text colors - White for visibility */
html[data-theme="dark"] .layout-current .current-title,
html[data-theme="dark"] .layout-current .current-title-medium,
html[data-theme="dark"] .layout-current .current-title-small {
    color: #ffffff !important;
}

html[data-theme="dark"] .layout-current .current-excerpt {
    color: #e0e0e0 !important;
}

/* Category badge */
html[data-theme="dark"] .layout-current .current-category {
    background: var(--membership-primary, #ff9800) !important;
    color: #ffffff !important;
}

/* Action buttons - Proper visibility */
html[data-theme="dark"] .layout-current .current-action-btn {
    background: rgba(255, 255, 255, 0.25) !important;
    color: white !important;
}

html[data-theme="dark"] .layout-current .current-action-btn:hover {
    background: rgba(255, 255, 255, 0.4) !important;
}