/* =========================================
   İskilip Medya - Eski Gazeteler CSS
   ========================================= */

/* Genel sayfa tonu */
.gazete-page { background: #fdf8f0; }

.gazete-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

/* Gazete Kartı */
.gazete-card {
    background: #fdf8f0;
    border-radius: 0;
    border: 1px solid #c9b99a;
    box-shadow: 4px 4px 0 #c9b99a;
    transition: all 0.25s ease;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gazete-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0 #8B6914;
}

/* Kapak alanı */
.gazete-kapak {
    background: #f5edd8;
    border-bottom: 3px double #8B6914;
    padding: 0;
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
}

.gazete-kapak-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(80%) brightness(0.85) contrast(1.1);
}

.gazete-kapak-overlay {
    position: absolute;
    inset: 0;
    background: rgba(139, 105, 20, 0.15);
}

/* Gazete başlık çizgisi */
.gazete-baslik-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #1a0f00;
    color: #f5edd8;
    text-align: center;
    padding: 8px 12px;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 2px solid #8B6914;
}

.gazete-sayi-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 15, 0, 0.85);
    color: #f5edd8;
    display: flex;
    justify-content: space-between;
    padding: 6px 12px;
    font-size: 0.72rem;
    font-family: 'Georgia', serif;
}

.gazete-durum-badge {
    position: absolute;
    top: 42px;
    right: 10px;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.gazete-durum-tam { background: #0b3d2c; color: #fff; }
.gazete-durum-kismi { background: #d97706; color: #fff; }
.gazete-durum-hasarli { background: #7f1d1d; color: #fff; }

/* Gazete bilgi alanı */
.gazete-bilgi {
    padding: 16px 18px;
    font-family: 'Georgia', serif;
}

.gazete-bilgi-baslik {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a0f00;
    margin-bottom: 6px;
    border-bottom: 1px solid #c9b99a;
    padding-bottom: 6px;
    line-height: 1.4;
}

.gazete-bilgi-desc {
    font-size: 0.8rem;
    color: #5a4a35;
    line-height: 1.6;
    margin-bottom: 10px;
    font-style: italic;
}

.gazete-bilgi-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.75rem;
    color: #8B6914;
}

.gazete-bilgi-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gazete-footer {
    padding: 10px 18px;
    border-top: 1px solid #c9b99a;
    background: #f0e8d0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-gazete {
    background: #1a0f00;
    color: #f5edd8;
    border: none;
    padding: 7px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Georgia', serif;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-gazete:hover {
    background: #8B6914;
    color: #fff;
}

/* Filtre */
.filter-pills .btn {
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1.5px solid #c9b99a;
    color: #5a4a35;
    font-family: 'Georgia', serif;
    transition: all 0.2s;
}

.filter-pills .btn.active,
.filter-pills .btn:hover {
    background: #1a0f00;
    color: #f5edd8;
    border-color: #1a0f00;
}

/* Modal */
#gazeteModal .modal-dialog { max-width: 820px; }
#gazeteModal .modal-content {
    border: 2px solid #8B6914;
    border-radius: 4px;
    background: #fdf8f0;
}
#gazeteModal .modal-header {
    background: #1a0f00;
    color: #f5edd8;
    border-bottom: 3px double #8B6914;
    font-family: 'Georgia', serif;
}
#gazeteModal .modal-header .btn-close { filter: invert(1); }

.gazete-reader {
    background: #fdf8f0;
    border: 1px solid #c9b99a;
    padding: 20px;
    font-family: 'Georgia', serif;
    min-height: 400px;
}

.gazete-reader-header {
    text-align: center;
    border-bottom: 3px double #8B6914;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.gazete-reader-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #1a0f00;
}

.gazete-reader-sub {
    font-size: 0.78rem;
    color: #8B6914;
    margin-top: 4px;
}

.gazete-reader-cols {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 16px;
    color: #2a1a05;
    font-size: 0.85rem;
    line-height: 1.8;
}

.gazete-col-divider {
    background: #c9b99a;
    width: 1px;
}
