/* Gazete Page Styles */

.gazete-page,
.gazete-detail-page,
.gazete-archive-page {
    padding: 24px 0 48px;
    background: #f8f9fa;
    min-height: 60vh;
}

/* Header */
.gazete-header {
    margin-bottom: 32px;
}

.gazete-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.gazete-title {
    display: flex;
    align-items: center;
    gap: 12px;
    
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.gazete-title svg {
    color: #dc3545;
}

.gazete-date {
    background: linear-gradient(135deg, #dc3545, #b02a37);
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Layout with Sidebar */
.gazete-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: start;
}

/* Sidebar */
.gazete-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 24px;
}

.gazete-sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f3f5;
}

.gazete-sidebar-title svg {
    color: #dc3545;
}

.gazete-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 500px;
    overflow-y: auto;
}

.gazete-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #495057;
    text-decoration: none;
    transition: all 0.15s ease;
}

.gazete-list-item:hover {
    background: #f8f9fa;
    color: #1a1a1a;
}

.gazete-list-item.active {
    background: linear-gradient(135deg, #dc3545, #b02a37);
    color: #fff;
}

.gazete-list-item.active svg {
    color: #fff;
}

.gazete-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Content Area */
.gazete-main {
    min-width: 0;
}

/* Empty State */
.gazete-empty {
    text-align: center;
    padding: 64px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.gazete-empty svg {
    color: #adb5bd;
    margin-bottom: 16px;
}

.gazete-empty h3 {
    font-size: 1.25rem;
    color: #495057;
    margin: 0 0 8px;
}

.gazete-empty p {
    color: #6c757d;
    margin: 0;
}

/* Headlines Grid */
.gazete-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Gazete Card */
.gazete-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gazete-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.gazete-card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f1f3f5;
}

.gazete-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gazete-card:hover .gazete-card-image img {
    transform: scale(1.03);
}

.gazete-card-info {
    padding: 12px 16px;
    text-align: center;
    border-top: 1px solid #f1f3f5;
}

.gazete-card-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

/* Detail Page */
.gazete-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.gazete-breadcrumb a {
    color: #6c757d;
    text-decoration: none;
}

.gazete-breadcrumb a:hover {
    color: #dc3545;
}

.gazete-breadcrumb svg {
    color: #adb5bd;
}

.gazete-breadcrumb span {
    color: #1a1a1a;
    font-weight: 500;
}

.gazete-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.gazete-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.gazete-detail-date {
    background: #f1f3f5;
    color: #495057;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
}

.gazete-detail-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: start;
}

.gazete-detail-main {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.gazete-detail-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.gazete-detail-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Archive Card in Sidebar */
.gazete-archive-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 16px;
}

.gazete-archive-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px;
}

.gazete-archive-title svg {
    color: #dc3545;
}

.gazete-archive-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gazete-archive-item {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #495057;
    text-decoration: none;
    background: #f8f9fa;
    transition: all 0.15s ease;
}

.gazete-archive-item:hover {
    background: #e9ecef;
    color: #1a1a1a;
}

.gazete-archive-item.active {
    background: linear-gradient(135deg, #dc3545, #b02a37);
    color: #fff;
}

.gazete-archive-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #dc3545;
    text-decoration: none;
    border: 1px solid #dc3545;
    transition: all 0.15s ease;
}

.gazete-archive-more:hover {
    background: #dc3545;
    color: #fff;
}

.gazete-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    text-decoration: none;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.15s ease;
}

.gazete-back-btn:hover {
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Archive Page */
.gazete-archive-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.gazete-archive-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.gazete-archive-count {
    background: #f1f3f5;
    color: #6c757d;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

.gazete-archive-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.gazete-archive-card {
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 0;
}

a.gazete-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.gazete-archive-card-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #f1f3f5;
}

.gazete-archive-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gazete-archive-card-info {
    padding: 10px 12px;
    text-align: center;
    background: #fff;
    border-radius: 0 0 8px 8px;
}

.gazete-archive-card-date {
    font-size: 0.85rem;
    font-weight: 500;
    color: #495057;
}

.gazete-archive-actions {
    display: flex;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .gazete-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gazete-archive-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .gazete-layout {
        grid-template-columns: 1fr;
    }

    .gazete-sidebar {
        position: static;
        margin-bottom: 24px;
    }

    .gazete-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        max-height: none;
    }

    .gazete-detail-layout {
        grid-template-columns: 1fr;
    }

    .gazete-detail-sidebar {
        order: -1;
    }

    .gazete-archive-card {
        display: none;
    }

    .gazete-back-btn {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .gazete-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .gazete-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .gazete-archive-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .gazete-header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .gazete-title {
        font-size: 1.5rem;
    }

    .gazete-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .gazete-page,
    .gazete-detail-page,
    .gazete-archive-page {
        padding: 16px 0 32px;
    }

    .gazete-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gazete-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .gazete-list-item {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .gazete-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gazete-card-info {
        padding: 10px 12px;
    }

    .gazete-card-name {
        font-size: 0.85rem;
    }
}
