/* ═══════════════════════════════════════════════════════════════════
   HOMEPAGE BLOCKS — Modern CSS v2.0
   All block types from designer-v3 (78 blocks)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Base Section ─── */
.block-section {
    margin-bottom: 28px;
}
.block-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 3px solid var(--primary-color, #dc2626);
}
.block-section .section-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}
.block-section .section-header h2 i {
    font-size: 16px;
    color: var(--primary-color, #dc2626);
}
.block-section .section-header h2 a {
    color: inherit;
    text-decoration: none;
}
.block-section .section-header h2 a:hover {
    color: var(--primary-color, #dc2626);
}
.block-section .section-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color, #dc2626);
    text-decoration: none;
    white-space: nowrap;
}
.block-section .section-more:hover {
    text-decoration: underline;
}

/* ─── Top Cards ─── */
.top-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.top-card {
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all .2s;
}
.top-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-3px);
}
.top-card-img {
    height: 160px;
    overflow: hidden;
}
.top-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.top-card:hover .top-card-img img {
    transform: scale(1.05);
}
.top-card h3 {
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
}
@media (max-width: 768px) {
    .top-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .top-card-img { height: 120px; }
}

/* ─── Manşet 2 (İkili) ─── */
.manset-2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.manset-2-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    height: 360px;
    text-decoration: none;
}
.manset-2-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.manset-2-card:hover img {
    transform: scale(1.04);
}
.manset-2-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,.8));
    color: #fff;
}
.manset-2-overlay .manset-cat {
    display: inline-block;
    background: var(--primary-color, #dc2626);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.manset-2-overlay h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
}
@media (max-width: 768px) {
    .manset-2-grid { grid-template-columns: 1fr; }
    .manset-2-card { height: 260px; }
    .manset-2-overlay h2 { font-size: 18px; }
}

/* ─── Manşet 3 (Üçlü) ─── */
.manset-3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.manset-3-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    height: 320px;
    text-decoration: none;
}
.manset-3-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.manset-3-card:hover img {
    transform: scale(1.04);
}
.manset-3-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,.8));
    color: #fff;
}
.manset-3-overlay .manset-cat {
    display: inline-block;
    background: var(--primary-color, #dc2626);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.manset-3-overlay h2 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
@media (max-width: 768px) {
    .manset-3-grid { grid-template-columns: 1fr; }
    .manset-3-card { height: 240px; }
}

/* ─── Manşet 4 (Dörtlü Overlay) ─── */
.news-card-overlay .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    color: #fff;
}
.news-card-overlay .card-cat {
    display: inline-block;
    background: var(--primary-color, #dc2626);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.news-card-overlay {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.news-card-overlay .news-card-image {
    display: block;
    height: 240px;
}
.news-card-overlay .news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card-overlay .card-overlay h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
}

/* ─── Manşet 5 (Yatay Strip) ─── */
.manset-5-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.manset-5-strip::-webkit-scrollbar { height: 4px; }
.manset-5-strip::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }
.manset-5-card {
    flex: 0 0 200px;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: all .2s;
}
.manset-5-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.manset-5-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}
.manset-5-card h3 {
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
}

/* ─── Five Headline ─── */
.five-headline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.five-headline-card {
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all .2s;
}
.five-headline-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.five-thumb {
    height: 140px;
    overflow: hidden;
}
.five-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.five-headline-card:hover .five-thumb img {
    transform: scale(1.05);
}
.five-body {
    padding: 12px;
}
.five-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color, #dc2626);
    margin-bottom: 6px;
}
.five-body h3 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
}
@media (max-width: 992px) {
    .five-headline-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
    .five-headline-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Live Stream ─── */
.live-stream-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 16px;
    color: #fff;
}
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #dc2626;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}
.live-badge .blink {
    animation: blink 1s infinite;
    font-size: 10px;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.live-placeholder {
    padding: 30px;
    color: #94a3b8;
}
.live-placeholder i { font-size: 40px; margin-bottom: 12px; }
.live-placeholder p { font-size: 14px; }

/* ─── Breaking News Strip ─── */
.breaking-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90deg, #dc2626, #b91c1c);
    padding: 10px 16px;
    border-radius: 10px;
    overflow: hidden;
}
.breaking-strip .breaking-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
}
.breaking-ticker {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.breaking-ticker::-webkit-scrollbar { display: none; }
.breaking-ticker .breaking-item {
    color: rgba(255,255,255,.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}
.breaking-ticker .breaking-item:hover { color: #fff; text-decoration: underline; }

/* ─── Popular News (Horizontal) ─── */
.popular-list-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.popular-list-horizontal .popular-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}
.popular-list-horizontal .popular-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    border-color: var(--primary-color, #dc2626);
}
.popular-list-horizontal .popular-rank {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--primary-color, #dc2626);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}
.popular-list-horizontal .popular-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 2px;
}
.popular-list-horizontal .popular-cat {
    font-size: 11px;
    color: #94a3b8;
}
@media (max-width: 768px) {
    .popular-list-horizontal { grid-template-columns: 1fr; }
}

/* ─── Editor Picks ─── */
.editor-picks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.editor-pick-card {
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all .2s;
}
.editor-pick-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.pick-thumb {
    height: 160px;
    overflow: hidden;
    position: relative;
}
.pick-thumb::after {
    content: '★';
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f59e0b;
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}
.pick-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.editor-pick-card:hover .pick-thumb img {
    transform: scale(1.05);
}
.pick-body {
    padding: 14px;
}
.pick-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color, #dc2626);
    margin-bottom: 6px;
}
.pick-body h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
}
@media (max-width: 768px) {
    .editor-picks-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Featured Carousel ─── */
.featured-carousel-section { position: relative; }
.featured-carousel {
    position: relative;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0;
    scroll-snap-type: x mandatory;
}
.carousel-track::-webkit-scrollbar { height: 4px; }
.carousel-track::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }
.carousel-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: all .2s;
}
.carousel-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.carousel-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.carousel-card-body {
    padding: 12px 14px;
}
.carousel-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color, #dc2626);
    margin-bottom: 4px;
}
.carousel-card-body h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
}
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #1e293b;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 2;
    transition: all .2s;
}
.carousel-nav:hover {
    background: var(--primary-color, #dc2626);
    color: #fff;
    border-color: var(--primary-color, #dc2626);
}
.carousel-prev { left: -8px; }
.carousel-next { right: -8px; }

/* ─── Günün Manşetleri ─── */
.gunun-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.gunun-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}
.gunun-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    border-color: var(--primary-color, #dc2626);
}
.gunun-num {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color, #dc2626), #b91c1c);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}
.gunun-title {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}
.gunun-time {
    font-size: 11px;
    color: #94a3b8;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ─── Category Grid (Tiles) ─── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.category-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 16px;
    background: #fff;
    border-radius: 14px;
    border: 2px solid #e5e7eb;
    text-decoration: none;
    color: #1e293b;
    transition: all .25s;
    font-weight: 600;
    font-size: 14px;
}
.category-tile i {
    font-size: 28px;
    color: var(--cat-color, var(--primary-color, #dc2626));
    transition: transform .2s;
}
.category-tile:hover {
    border-color: var(--cat-color, var(--primary-color, #dc2626));
    background: var(--cat-color, var(--primary-color, #dc2626));
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.category-tile:hover i {
    color: #fff;
    transform: scale(1.15);
}
@media (max-width: 768px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .category-tile { padding: 18px 12px; }
}

/* ─── Category Section (Individual) ─── */
.category-section { margin-bottom: 28px; }
.category-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 3px solid;
}
.category-section .section-header h2 {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.category-section .section-header h2 a {
    color: inherit;
    text-decoration: none;
}
.category-section .section-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color, #dc2626);
    text-decoration: none;
}

/* ─── Category Tabs ─── */
.category-tabs {
    display: flex;
    gap: 6px;
    padding: 4px;
    background: #f1f5f9;
    border-radius: 10px;
    margin-bottom: 18px;
    overflow-x: auto;
}
.cat-tab {
    padding: 10px 18px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    transition: all .2s;
}
.cat-tab:hover { color: #1e293b; }
.cat-tab.active {
    background: #fff;
    color: var(--primary-color, #dc2626);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* ─── Yazarlar (Authors) ─── */
.writers-section { margin-bottom: 24px; }
.writers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.writer-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}
.writer-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border-color: var(--primary-color, #dc2626);
    transform: translateY(-2px);
}
.writer-avatar {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color, #dc2626);
}
.writer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.writer-avatar i {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 20px;
}
.writer-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}
.writer-info p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .writers-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ─── Yazarlar (index.php versions) ─── */
.yazarlar-section { margin-bottom: 24px; }
.yazarlar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.yazar-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all .2s;
    text-decoration: none;
    color: inherit;
}
.yazar-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border-color: var(--primary-color, #dc2626);
    transform: translateY(-2px);
}
.yazar-avatar {
    width: 56px; height: 56px; flex-shrink: 0;
    border-radius: 50%; overflow: hidden;
    border: 2px solid var(--primary-color, #dc2626);
}
.yazar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.yazar-avatar-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: #f1f5f9; color: #94a3b8; font-size: 20px;
}
.yazar-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: #1e293b; }
.yazar-title { font-size: 12px; color: #64748b; line-height: 1.4; }
@media (max-width: 768px) {
    .yazarlar-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .yazar-card { padding: 12px; }
}
@media (max-width: 480px) {
    .yazarlar-grid { grid-template-columns: 1fr; }
}

/* ─── Biography ─── */
.biography-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.biography-card {
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all .2s;
}
.biography-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transform: translateY(-3px);
}
.bio-img {
    height: 160px;
    overflow: hidden;
}
.bio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bio-body {
    padding: 14px;
}
.bio-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}
.bio-body p {
    font-size: 12px;
    color: #64748b;
}
@media (max-width: 768px) {
    .biography-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Newspaper Headlines (Gazeteler) ─── */
.newspaper-section { margin-bottom: 24px; }
.newspaper-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.newspaper-card {
    text-align: center;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all .2s;
}
.newspaper-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.newspaper-card img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: #f8fafc;
}
.newspaper-name {
    display: block;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}
@media (max-width: 768px) {
    .newspaper-grid { grid-template-columns: repeat(2, 1fr); }
    .newspaper-card img { height: 200px; }
}

/* Gazete Section (index.php version) */
.gazete-section { margin-bottom: 24px; }
.gazete-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gazete-card {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all .2s;
    text-decoration: none; color: inherit;
}
.gazete-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.gazete-img {
    height: 280px; overflow: hidden; background: #f8fafc;
}
.gazete-img img { width: 100%; height: 100%; object-fit: contain; }
.gazete-name {
    display: block; padding: 10px;
    font-size: 13px; font-weight: 600; color: #1e293b;
}
@media (max-width: 768px) {
    .gazete-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gazete-img { height: 200px; }
}

/* ─── Obituary / Taziye ─── */
.obituary-section { margin-bottom: 24px; }
.obituary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.obituary-card {
    display: block;
    padding: 18px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #1e293b;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}
.obituary-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.obituary-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}
.obituary-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .obituary-grid { grid-template-columns: 1fr; }
}

/* Taziye Section (index.php version) */
.taziye-section { margin-bottom: 24px; }
.taziye-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.taziye-card {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #1e293b;
    transition: all .2s;
    text-decoration: none; color: inherit;
}
.taziye-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.taziye-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: #f1f5f9; color: #475569; font-size: 16px;
}
.taziye-info h4 { font-size: 15px; font-weight: 600; color: #1e293b; margin-bottom: 4px; }
.taziye-date { font-size: 12px; color: #94a3b8; display: block; margin-bottom: 4px; }
.taziye-detail { font-size: 13px; color: #64748b; line-height: 1.4; }
@media (max-width: 768px) {
    .taziye-grid { grid-template-columns: 1fr; }
}

/* ─── Prayer Times ─── */
.prayer-times-section { margin-bottom: 24px; }
.prayer-widget {
    background: linear-gradient(135deg, #0f766e, #0d9488);
    border-radius: 14px;
    padding: 24px;
    color: #fff;
    text-align: center;
}
.prayer-loading {
    padding: 20px;
    font-size: 14px;
    opacity: .7;
}

/* ─── İmsak Vakti ─── */
.imsak-section { margin-bottom: 24px; }
.imsak-widget {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    border-radius: 14px;
    padding: 24px;
    color: #fff;
    text-align: center;
}
.imsak-loading {
    padding: 20px;
    font-size: 14px;
    opacity: .7;
}

/* ─── Weather ─── */
.weather-section { margin-bottom: 24px; }
.weather-widget {
    background: linear-gradient(135deg, #0369a1, #0ea5e9);
    border-radius: 14px;
    padding: 24px;
    color: #fff;
}
.weather-loading {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    opacity: .7;
}

/* ─── Exchange Rates ─── */
.exchange-section { margin-bottom: 24px; }
.exchange-widget {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.exchange-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
.exchange-row span:first-child {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}
.exchange-row span:last-child {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color, #dc2626);
}
@media (max-width: 768px) {
    .exchange-widget { grid-template-columns: 1fr; }
}

/* ─── Horoscope ─── */
.horoscope-section { margin-bottom: 24px; }
.horoscope-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.horoscope-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 13px;
    transition: all .2s;
}
.horoscope-item:hover {
    background: var(--primary-color, #dc2626);
    color: #fff;
    border-color: var(--primary-color, #dc2626);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
@media (max-width: 768px) {
    .horoscope-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
    .horoscope-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── Resmi İlanlar ─── */
.resmi-ilan-section { margin-bottom: 24px; }
.resmi-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.resmi-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}
.resmi-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    border-color: var(--primary-color, #dc2626);
}
.resmi-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(220,38,38,.08);
    color: var(--primary-color, #dc2626);
    font-size: 16px;
}
.resmi-info { flex: 1; }
.resmi-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}
.resmi-institution {
    font-size: 12px;
    color: #64748b;
    display: block;
    margin-bottom: 2px;
}
.resmi-date {
    font-size: 11px;
    color: #94a3b8;
}

/* ─── Seri İlanlar ─── */
.seri-ilan-section { margin-bottom: 24px; }
.seri-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.seri-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}
.seri-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.seri-card-img {
    height: 140px;
    overflow: hidden;
}
.seri-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.seri-card-body {
    padding: 14px;
}
.seri-cat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--primary-color, #dc2626);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.seri-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
    line-height: 1.4;
}
.seri-price {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color, #dc2626);
    background: rgba(220,38,38,.06);
    padding: 3px 10px;
    border-radius: 6px;
}
@media (max-width: 768px) {
    .seri-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
    .seri-grid { grid-template-columns: 1fr; }
}

/* ─── Firma Rehberi ─── */
.firma-section { margin-bottom: 24px; }
.firma-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.firma-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}
.firma-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border-color: var(--primary-color, #dc2626);
}
.firma-logo {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 10px; overflow: hidden;
    background: #f8fafc; border: 1px solid #e5e7eb;
}
.firma-logo img {
    width: 100%; height: 100%; object-fit: contain; padding: 4px;
}
.firma-logo-placeholder {
    display: flex; align-items: center; justify-content: center;
    color: #94a3b8; font-size: 18px;
}
.firma-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}
.firma-cat {
    font-size: 12px;
    color: #64748b;
    display: block;
}
.firma-phone {
    font-size: 11px;
    color: #94a3b8;
    display: block;
    margin-top: 2px;
}
@media (max-width: 768px) {
    .firma-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
    .firma-grid { grid-template-columns: 1fr; }
}

/* ─── Dergi ─── */
.dergi-section { margin-bottom: 24px; }
.dergi-placeholder {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 14px;
    color: #64748b;
}
.dergi-placeholder i {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
}
.dergi-placeholder p {
    font-size: 14px;
}

/* ─── Seçim ─── */
.secim-section { margin-bottom: 24px; }
.secim-placeholder {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 14px;
    color: #64748b;
}
.secim-placeholder i {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
}

/* ─── Anket ─── */
.anket-section { margin-bottom: 24px; }
.anket-widget {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 24px;
}
.anket-question {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}
.anket-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.anket-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
    cursor: pointer;
    transition: background .2s;
    font-size: 14px;
    color: #1e293b;
}
.anket-options label:hover {
    background: #f1f5f9;
}
.anket-options input[type="radio"] {
    accent-color: var(--primary-color, #dc2626);
}
.anket-submit {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--primary-color, #dc2626);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.anket-submit:hover {
    background: #b91c1c;
}

/* ─── Basın İlanları ─── */
.basin-section { margin-bottom: 24px; }
.basin-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.basin-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}
.basin-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    border-color: var(--primary-color, #dc2626);
}
.basin-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    flex: 1;
}
.basin-date {
    font-size: 11px;
    color: #94a3b8;
    flex-shrink: 0;
    margin-left: 12px;
}

/* ─── Reklam Alanları ─── */
.ad-block {
    text-align: center;
    margin: 20px 0;
    min-height: 50px;
}
.ad-block img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.ad-space {
    display: block;
}
.ad-placeholder-box {
    padding: 24px;
    background: #f8fafc;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    color: #94a3b8;
    font-size: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ad-placeholder-box i {
    font-size: 18px;
}

/* ─── News Grid Helpers ─── */
.news-grid {
    display: grid;
    gap: 16px;
}
.news-grid-2 { grid-template-columns: repeat(2, 1fr); }
.news-grid-3 { grid-template-columns: repeat(3, 1fr); }
.news-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 992px) {
    .news-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .news-grid-2 { grid-template-columns: 1fr; }
    .news-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .news-grid-3 { grid-template-columns: 1fr; }
}

/* ─── News Card (shared) ─── */
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all .2s;
}
.news-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.news-card .news-card-image {
    display: block;
    height: 180px;
    overflow: hidden;
}
.news-card .news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.news-card:hover .news-card-image img {
    transform: scale(1.05);
}
.news-card-body {
    padding: 14px;
}
.news-card-body h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
}
.news-card-body a {
    text-decoration: none;
    color: inherit;
}
.news-card-excerpt {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    margin-top: 6px;
}
.news-card-sm .news-card-image {
    height: 140px;
}

/* ═══════════════════════════════════════════════════════════════════
   TAZIYE DETAIL PAGE — Modern Design
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Breadcrumb ─── */
.taziye-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 13px;
    color: #94a3b8;
    flex-wrap: wrap;
}
.taziye-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color .2s;
}
.taziye-breadcrumb a:hover { color: var(--primary-color, #dc2626); }
.taziye-breadcrumb .fa-chevron-right { font-size: 9px; color: #cbd5e1; }
.taziye-breadcrumb span { color: #1e293b; font-weight: 600; }

/* ─── Layout ─── */
.taziye-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    margin-bottom: 40px;
}
.taziye-detail-main { min-width: 0; }
.taziye-detail-sidebar { min-width: 0; }

@media (max-width: 992px) {
    .taziye-detail-layout { grid-template-columns: 1fr; }
}

/* ─── Hero Card ─── */
.taziye-hero-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    margin-bottom: 20px;
    position: relative;
}
.taziye-hero-ribbon {
    height: 6px;
    background: linear-gradient(90deg, #1e293b, #475569, #1e293b);
}
.taziye-hero-content {
    padding: 32px;
    text-align: center;
}

/* Photo */
.taziye-photo-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.taziye-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.taziye-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 40px;
}

/* Name */
.taziye-name {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 8px;
    line-height: 1.2;
}

/* Dates */
.taziye-dates {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 24px;
}
.taziye-date-sep {
    margin: 0 6px;
    color: #cbd5e1;
}

/* Info Cards */
.taziye-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    text-align: left;
}
.taziye-info-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}
.taziye-info-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 16px;
}
.taziye-info-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.taziye-info-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .5px;
}
.taziye-info-text strong {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}
.taziye-info-sub {
    font-size: 12px;
    color: #64748b;
}

/* ─── Section Cards ─── */
.taziye-section-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    margin-bottom: 16px;
}

/* Section Title */
.taziye-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}
.taziye-section-title i {
    color: var(--primary-color, #dc2626);
    font-size: 14px;
}

/* Family Quote */
.taziye-family-quote {
    position: relative;
    margin: 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, #fefce8, #fef9c3);
    border-radius: 12px;
    border-left: 4px solid #eab308;
    font-size: 15px;
    font-style: italic;
    color: #713f12;
    line-height: 1.7;
}
.taziye-family-quote .fa-quote-left {
    color: #eab308;
    opacity: .4;
    font-size: 20px;
    margin-right: 8px;
}

/* Content Body */
.taziye-content-body {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

/* ─── Meta Bar ─── */
.taziye-meta-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    color: #94a3b8;
}
.taziye-meta-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.taziye-meta-bar span i { font-size: 14px; }

/* ─── Messages Card ─── */
.taziye-messages-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.taziye-messages-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f1f5f9;
}
.taziye-messages-title i {
    color: var(--primary-color, #dc2626);
}

/* Message Item */
.taziye-messages-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}
.taziye-msg-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
}
.taziye-msg-avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 14px;
}
.taziye-msg-body strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}
.taziye-msg-body p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 6px;
}
.taziye-msg-body time {
    font-size: 11px;
    color: #94a3b8;
}

/* No Messages */
.taziye-no-messages {
    text-align: center;
    padding: 32px 20px;
    color: #94a3b8;
    margin-bottom: 24px;
}
.taziye-no-messages i {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
    opacity: .5;
}
.taziye-no-messages p {
    font-size: 14px;
    margin: 0;
}

/* ─── Message Form ─── */
.taziye-msg-form {
    border-top: 2px solid #f1f5f9;
    padding-top: 20px;
}
.taziye-form-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 14px;
}
.taziye-form-group {
    margin-bottom: 12px;
}
.taziye-form-group input,
.taziye-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}
.taziye-form-group input:focus,
.taziye-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color, #dc2626);
    box-shadow: 0 0 0 3px rgba(220,38,38,.08);
}
.taziye-form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.taziye-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.taziye-submit-btn:hover {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    transform: translateY(-1px);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .taziye-hero-content { padding: 24px 16px; }
    .taziye-photo-wrapper { width: 110px; height: 110px; }
    .taziye-name { font-size: 22px; }
    .taziye-info-cards { grid-template-columns: 1fr; }
    .taziye-section-card { padding: 18px; border-radius: 14px; }
    .taziye-messages-card { padding: 18px; border-radius: 14px; }
    .taziye-meta-bar { flex-wrap: wrap; gap: 14px; }
}
