/* ============================================
   Kültür Denizi - Ana Stil Dosyası
   ============================================ */

:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #c0392b;
    --accent-hover: #a93226;
    --gold: #d4a762;
    --gold-light: #f0d9a8;
    --text: #2c2c2c;
    --text-light: #666;
    --text-lighter: #999;
    --bg: #f9f9f9;
    --bg-white: #ffffff;
    --bg-alt: #f4f4f4;
    --border: #e8e8e8;
    --border-light: #f0f0f0;
    --shadow: 0 2px 15px rgba(0,0,0,0.06);
    --shadow-hover: 0 5px 25px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1200px;
    --content-width: 780px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary);
    padding: 8px 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-social {
    display: flex;
    gap: 15px;
}

.header-social a {
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.header-social a:hover {
    color: var(--gold);
}

.header-date {
    font-size: 0.75rem;
}

.header-main {
    padding: 15px 0;
    background: var(--bg-white);
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.main-nav {
    overflow: hidden;
}

@media (min-width: 769px) {
    .main-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .main-nav::-webkit-scrollbar { display: none; }
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.main-nav a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.main-nav a:hover, .main-nav a.active {
    background: var(--bg-alt);
    color: var(--accent);
}

.header-search button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s;
}

.header-search button:hover {
    background: var(--bg-alt);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Search Overlay */
.search-overlay {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 30px 0;
    border-bottom: 2px solid var(--accent);
    box-shadow: var(--shadow);
    z-index: 999;
}

.search-overlay.active {
    display: block;
}

.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-form input[type="text"] {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}

.search-form input[type="text"]:focus {
    border-color: var(--accent);
}

.search-form button[type="submit"] {
    padding: 14px 28px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.search-form button[type="submit"]:hover {
    background: var(--accent-hover);
}

.search-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 8px 16px;
}

/* ============================================
   MAGA (Onedio-style)
   ============================================ */

.maga {
    padding: 30px 0 50px;
}

/* Featured top section */
.maga-featured {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.maga-featured-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.maga-featured-img {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
}

.maga-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 20%, rgba(0,0,0,0.8));
}

.maga-featured-text {
    position: relative;
    z-index: 2;
    padding: 35px;
    color: white;
    width: 100%;
}

.maga-featured-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 10px 0 8px;
    color: white;
}

.maga-featured-date {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Featured side */
.maga-side {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.maga-side-link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.maga-side-img {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 228px;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.maga-side-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(0,0,0,0.8));
}

.maga-side-text {
    position: relative;
    z-index: 2;
    padding: 20px;
    color: white;
    width: 100%;
}

.maga-side-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    color: white;
    margin-top: 6px;
}

/* Badge */
.maga-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.maga-card {
    background: var(--bg-white);
    overflow: hidden;
}

.maga-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.maga-card-img {
    overflow: hidden;
}

.maga-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s;
}

.maga-card:hover .maga-card-img img {
    transform: scale(1.05);
}

.maga-card-body {
    padding: 16px 18px 20px;
}

.maga-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 10px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.maga-card-title a {
    color: var(--primary);
}

.maga-card-meta {
    font-size: 0.78rem;
    color: var(--text-lighter);
    display: flex;
    gap: 6px;
}

/* ============================================
   POSTS GRID (for related posts, search, category)
   ============================================ */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary);
}

.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 40px;
}

.posts-section {
    padding: 30px 0 50px;
}

.posts-grid {
    display: grid;
    gap: 25px;
}

.post-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s, transform 0.3s;
}

.post-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.post-card-img {
    overflow: hidden;
}

.post-card-img img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    transition: transform 0.5s;
}

.post-card:hover .post-card-img img {
    transform: scale(1.05);
}

.post-card-body {
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-card-body .post-category {
    display: inline-block;
    background: var(--gold);
    color: white;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    width: fit-content;
}

.post-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.post-card-body h3 a {
    color: var(--primary);
}

.post-card-body h3 a:hover {
    color: var(--accent);
}

.post-card-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
    flex: 1;
}

.post-meta {
    display: flex;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-lighter);
}

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

.related-posts .post-card {
    grid-template-columns: 1fr;
}

.related-posts .post-card-img img {
    min-height: 200px;
}

.related-posts .post-card-body {
    padding: 20px;
}

.related-posts .post-card-body h3 {
    font-size: 1.1rem;
}

/* ============================================
   SIDEBAR
   ============================================ */

.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    position: relative;
}

.widget-search form {
    display: flex;
    gap: 0;
}

.widget-search input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-family: var(--font-body);
    outline: none;
}

.widget-search input:focus {
    border-color: var(--accent);
}

.widget-search button {
    padding: 10px 15px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
}

.widget-categories ul {
    list-style: none;
}

.widget-categories li {
    border-bottom: 1px solid var(--border-light);
}

.widget-categories li:last-child {
    border-bottom: none;
}

.widget-categories a {
    display: block;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text);
    transition: all 0.2s;
}

.widget-categories a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.popular-posts-list {
    list-style: none;
}

.popular-posts-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.popular-posts-list li:last-child {
    border-bottom: none;
}

.popular-num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.5;
    line-height: 1;
    flex-shrink: 0;
    width: 28px;
}

.popular-info a {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 4px;
}

.popular-info a:hover {
    color: var(--accent);
}

.popular-info .post-meta {
    font-size: 0.75rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    display: block;
    padding: 5px 12px;
    background: var(--bg-alt);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
    transition: all 0.2s;
}

.tag-cloud a:hover {
    background: var(--accent);
    color: white;
}

/* ============================================
   SINGLE POST
   ============================================ */

.single-post {
    padding: 40px 0;
}

.single-post-header {
    margin-bottom: 35px;
}

.breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-lighter);
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs .sep {
    margin: 0 8px;
}

.breadcrumbs .current {
    color: var(--text);
}

.post-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
    margin-bottom: 20px;
}

.post-meta-large {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.post-meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-lighter);
    font-weight: 600;
}

.meta-value {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.meta-value a:hover {
    color: var(--accent);
}

.single-post-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 35px;
}

.single-post-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text);
}

.post-content p {
    margin-bottom: 1.5em;
}

.post-content h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    margin: 2em 0 0.8em;
    color: var(--primary);
}

.post-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 1.8em 0 0.6em;
    color: var(--primary);
}

.post-content ul, .post-content ol {
    margin: 0 0 1.5em 1.5em;
}

.post-content li {
    margin-bottom: 0.5em;
}

.post-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 20px 25px;
    margin: 1.5em 0;
    background: var(--bg-alt);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-light);
}

.post-content img {
    border-radius: var(--radius-sm);
    margin: 1.5em auto;
}

.post-content a {
    color: var(--accent);
    border-bottom: 1px solid transparent;
}

.post-content a:hover {
    border-bottom-color: var(--accent);
}

.post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 40px 0 30px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tags-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.tag {
    display: inline-block;
    padding: 5px 14px;
    background: var(--bg-alt);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
    transition: all 0.2s;
}

.tag:hover {
    background: var(--accent);
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
}

.share-label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 5px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: transform 0.2s, opacity 0.2s;
}

.share-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #000; }
.share-btn.whatsapp { background: #25d366; }

/* ============================================
   RELATED POSTS
   ============================================ */

.related-posts {
    background: var(--bg-alt);
    padding: 50px 0;
}

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

.related-posts .post-card {
    grid-template-columns: 1fr;
    gap: 0;
}

.related-posts .post-card-img img {
    min-height: 180px;
}

.related-posts .post-card-body {
    padding: 18px;
}

.related-posts .post-card-body h3 {
    font-size: 1rem;
}

/* ============================================
   ARCHIVE / CATEGORY
   ============================================ */

.archive-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 50px 0;
}

.archive-header h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
}

.archive-desc {
    margin-top: 10px;
    opacity: 0.8;
    font-size: 1rem;
}

.archive-header .breadcrumbs {
    color: rgba(255,255,255,0.6);
}

.archive-header .breadcrumbs a {
    color: rgba(255,255,255,0.7);
}

.archive-header .breadcrumbs .current {
    color: white;
}

/* ============================================
   SEARCH
   ============================================ */

.search-box-large {
    margin-top: 25px;
}

.search-box-large form {
    display: flex;
    max-width: 600px;
    gap: 10px;
}

.search-box-large input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
}

.search-box-large input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-box-large input:focus {
    border-color: var(--gold);
}

.search-box-large button {
    padding: 14px 28px;
    background: var(--gold);
    color: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
}

.search-info {
    margin-bottom: 30px;
    font-size: 1rem;
    color: var(--text-light);
}

/* ============================================
   PAGE
   ============================================ */

.page-section {
    padding: 40px 0;
}

.page-content {
    max-width: var(--content-width);
}

.page-content h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
}

/* ============================================
   404
   ============================================ */

.error-section {
    padding: 100px 0;
    text-align: center;
}

.error-content h1 {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
}

.error-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.error-content p {
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto 30px;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    background: var(--bg-alt);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--border);
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    margin: 40px 0;
}

.pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    transition: all 0.2s;
}

.pagination a:hover, .pagination a.active {
    background: var(--accent);
    color: white;
}

.load-more {
    text-align: center;
    margin: 40px 0;
}

.btn-load-more {
    display: inline-block;
    padding: 14px 40px;
    background: var(--bg-white);
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.btn-load-more:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================
   ADS
   ============================================ */

.ad-container {
    text-align: center;
    margin: 30px 0;
    padding: 10px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-sidebar {
    margin: 0 0 25px;
}

.ad-content_top {
    margin: 0 0 30px;
}

.ad-content_bottom {
    margin: 30px 0;
}

.ad-between_posts {
    margin: 30px 0;
}

/* ============================================
   COOKIE CONSENT (KVKK / GDPR)
   ============================================ */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: rgba(255,255,255,0.9);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.cookie-text {
    flex: 1;
}

.cookie-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--gold);
}

.cookie-text p {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.8;
    margin: 0;
}

.cookie-text a {
    color: var(--gold-light);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-accept {
    background: var(--accent);
    color: white;
}

.cookie-accept:hover {
    background: var(--accent-hover);
}

.cookie-reject {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.cookie-reject:hover {
    background: rgba(255,255,255,0.2);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.footer-col a:hover {
    color: var(--gold);
    padding-left: 3px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    font-size: 0.85rem;
    font-weight: 500;
}

.footer-popular li {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-popular .post-date {
    display: block;
    font-size: 0.75rem;
    opacity: 0.5;
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ============================================
   BACK TO TOP
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
    text-align: center;
    padding: 60px;
    color: var(--text-lighter);
    font-size: 1.1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .maga-featured {
        grid-template-columns: 1fr;
    }
    .maga-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }
    .maga-side-img {
        min-height: 200px;
    }
    .maga-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-with-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow);
        padding: 15px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 12px 16px;
        border-radius: 0;
        border-bottom: 1px solid var(--border-light);
    }

    .maga-featured-img {
        min-height: 280px;
    }
    .maga-featured-text {
        padding: 25px;
    }
    .maga-featured-title {
        font-size: 1.5rem;
    }
    .maga-side {
        grid-template-columns: 1fr;
    }
    .maga-side-img {
        min-height: 180px;
    }
    .maga-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .maga-card-img img {
        height: 160px;
    }

    .post-title {
        font-size: 1.7rem;
    }

    .post-meta-large {
        gap: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-direction: column;
    }

    .error-content h1 {
        font-size: 5rem;
    }
}

@media (max-width: 480px) {
    .search-box-large form {
        flex-direction: column;
    }

    .header-top {
        display: none;
    }

    .maga-featured-img {
        min-height: 220px;
    }
    .maga-featured-title {
        font-size: 1.2rem;
    }
    .maga-grid {
        grid-template-columns: 1fr;
    }
    .maga-card-img img {
        height: 180px;
    }
}

/* === Push Notification Bar === */
.push-notification-bar {
    display: none;
    background: var(--accent);
    color: #fff;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    animation: pushSlideDown 0.3s ease-out;
}
@keyframes pushSlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
body.has-push-bar {
    padding-top: 56px;
}
.push-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.push-bar-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.push-bar-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
    min-width: 200px;
}
.push-bar-btn {
    background: #fff;
    color: var(--accent);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}
.push-bar-btn:hover {
    background: var(--border-light);
    transform: translateY(-1px);
}
.push-bar-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    flex-shrink: 0;
}
.push-bar-close:hover {
    color: #fff;
}
.push-fab-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9998;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pushSlideUp 0.3s ease-out;
}
.push-fab-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
@media (max-width: 600px) {
    .push-fab-btn {
        bottom: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}
@media (max-width: 600px) {
    .push-bar-inner {
        flex-direction: column;
        text-align: center;
        padding: 12px 16px;
    }
    .push-bar-text {
        min-width: auto;
    }
    .push-bar-btn {
        width: 100%;
    }
}
