@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --color-primary: #E85D04;
    --color-primary-dark: #C44D03;
    --color-primary-light: #FFF0E6;
    --color-secondary: #1B2838;
    --color-accent: #FF6B1A;
    --color-text: #1a1a2e;
    --color-text-light: #555770;
    --color-text-muted: #9ca3af;
    --color-bg: #f4f6fa;
    --color-white: #fff;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;
    --color-danger: #ef4444;
    --color-danger-dark: #dc2626;
    --color-success: #10b981;
    --color-success-dark: #059669;
    --color-warning: #f59e0b;
    --font-heading: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.03);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
    --shadow-xl: 0 24px 48px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.06);
    --shadow-glow: 0 0 30px rgba(232, 93, 4, 0.15);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --gradient-primary: linear-gradient(135deg, #E85D04 0%, #FF8A3D 50%, #FFB347 100%);
    --gradient-primary-vivid: linear-gradient(135deg, #d4520a 0%, #E85D04 50%, #FF6B1A 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1B2838 40%, #1e3a5f 100%);
    --gradient-mesh: radial-gradient(at 20% 80%, rgba(232,93,4,0.08) 0%, transparent 50%), radial-gradient(at 80% 20%, rgba(59,130,246,0.06) 0%, transparent 50%), radial-gradient(at 50% 50%, rgba(16,185,129,0.04) 0%, transparent 50%);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    background-image: var(--gradient-mesh);
    background-attachment: fixed;
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-primary-dark);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.navbar {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar:hover {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
}

.nav-brand img {
    height: 44px;
    width: auto;
    transition: transform var(--transition-spring);
}

.nav-brand:hover img {
    transform: scale(1.08) rotate(-2deg);
}

.nav-brand:hover {
    opacity: 1;
}

.nav-brand i {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links a {
    display: block;
    padding: 1.1rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-decoration: none;
    transition: all var(--transition-base);
    border-bottom: 3px solid transparent;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.nav-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    align-items: center;
}

.nav-search {
    display: flex;
    align-items: center;
}

.nav-search .search-input {
    border-radius: 24px 0 0 24px;
    border-right: none;
}

.nav-search .btn {
    border-radius: 0 24px 24px 0;
    padding: 0.45rem 0.9rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--color-text);
    cursor: pointer;
    padding: 0.75rem 1rem;
}

.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

.content-area {
    min-width: 0;
}

.sidebar {
    position: sticky;
    top: 85px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: box-shadow var(--transition-base);
}

.sidebar-widget:hover {
    box-shadow: var(--shadow-md);
}

.sidebar-widget h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.sidebar-categories {
    list-style: none;
}

.sidebar-categories li {
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

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

.sidebar-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    color: var(--color-text);
    font-size: 0.88rem;
    transition: all var(--transition-base);
}

.sidebar-categories a:hover {
    color: var(--color-primary);
    padding-left: 0.5rem;
}

.sidebar-categories .count {
    background: var(--color-bg);
    color: var(--color-text-light);
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.2rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn:hover::before {
    opacity: 1;
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.75rem 1.6rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(232, 93, 4, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 93, 4, 0.35);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-1px);
}

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

.btn-danger:hover {
    background: var(--color-danger-dark);
    color: var(--color-white);
}

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

.btn-success:hover {
    background: var(--color-success-dark);
    color: var(--color-white);
}

.btn-secondary {
    background: #e8eaed;
    color: var(--color-text-light);
}

.btn-secondary:hover {
    background: #d2d5db;
}

.btn-kaynak {
    background: #e8eaed;
    color: var(--color-text-light);
    font-size: 0.78rem;
    padding: 0.45rem 1.2rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.btn-kaynak:hover {
    background: #d2d5db;
}

.btn-ai-blog {
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.78rem;
    padding: 0.45rem 1.8rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    flex: 1;
    justify-content: center;
}

.btn-ai-blog:hover {
    background: var(--color-primary-dark);
}

.btn-kaynak-lg {
    background: #e8eaed;
    color: var(--color-text-light);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
}

.btn-kaynak-lg:hover {
    background: #d2d5db;
}

.btn-ai-blog-lg {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
}

.btn-ai-blog-lg:hover {
    background: var(--color-primary-dark);
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

.ad-slot {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    background: var(--color-white);
    position: relative;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-slot-label {
    position: absolute;
    top: -0.6rem;
    left: 1rem;
    background: var(--color-bg);
    padding: 0 0.5rem;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.ad-slot-header { margin-bottom: 1.5rem; }
.ad-slot-sidebar { min-height: 250px; }
.ad-slot-content { margin: 2rem 0; }
.ad-slot-footer { margin-top: 2rem; }
.ad-slot.has-content { border: none; padding: 0; min-height: auto; }

.hero-section {
    margin-bottom: 3rem;
}

.hero-post {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.hero-post::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(232,93,4,0.2), transparent, rgba(255,138,61,0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: 1;
    pointer-events: none;
}

.hero-post:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transform: translateY(-6px);
    color: inherit;
}

.hero-post:hover::before {
    opacity: 1;
}

.hero-image {
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #1B2838 0%, #2d3f52 100%);
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 70%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-post:hover .hero-image img {
    transform: scale(1.06);
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: rgba(255,255,255,0.5);
    font-size: 4rem;
}

.hero-content {
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content .category-badge {
    margin-bottom: 1.25rem;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--color-secondary);
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #2d4a6a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .excerpt {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.hero-content .post-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-content .read-more {
    margin-top: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    padding: 0.5rem 0;
}

.hero-content .read-more i {
    transition: transform var(--transition-spring);
}

.hero-content .read-more:hover {
    gap: 0.6rem;
}

.hero-content .read-more:hover i {
    transform: translateX(4px);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: var(--color-primary);
}

.section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--color-border) 0%, transparent 100%);
    margin-left: 1rem;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-pills {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.pill {
    padding: 0.4rem 1rem;
    border-radius: 24px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-text-light);
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    transition: all var(--transition-base);
}

.pill:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.pill.active {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(232, 93, 4, 0.25);
}

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

.search-input {
    padding: 0.5rem 1.1rem;
    border: 1.5px solid var(--color-border);
    border-radius: 24px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    width: 220px;
    outline: none;
    transition: all var(--transition-base);
    background: rgba(255,255,255,0.8);
}

.search-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.08);
    background: var(--color-white);
}

.search-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.5rem 0.9rem;
    border-radius: 0 24px 24px 0;
    cursor: pointer;
    transition: all var(--transition-base);
}

.search-btn:hover {
    opacity: 0.9;
}

.articles-grid,
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.article-card,
.post-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0,0,0,0.03);
}

.article-card:hover,
.post-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    color: inherit;
    border-color: rgba(232, 93, 4, 0.08);
}

.card-badge,
.category-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.category-badge:hover {
    opacity: 0.9;
    color: var(--color-white);
}

.cat-teknoloji { background: #1a73e8; }
.cat-bilim { background: #34a853; }
.cat-saglik { background: #ea4335; }
.cat-ekonomi { background: #fbbc04; color: #333; }
.cat-spor { background: #ff6d00; }
.cat-kultur { background: #9c27b0; }
.cat-dunya { background: #00bcd4; }
.cat-siyaset { background: #795548; }
.cat-egitim { background: #607d8b; }
.cat-cevre { background: #4caf50; }
.cat-default { background: #78909c; }

.card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #1B2838 0%, #2d3f52 100%);
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.1) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.post-card:hover .card-image::after {
    opacity: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 0;
    left: 0;
}

.article-card:hover .card-image img,
.post-card:hover .card-image img {
    transform: scale(1.08);
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: rgba(255,255,255,0.4);
    font-size: 2.5rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.card-body {
    padding: 1.4rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-source,
.card-category {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.35;
    margin-bottom: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
    transition: color var(--transition-base);
}

.post-card:hover .card-title {
    color: var(--color-primary);
}

.card-summary,
.card-excerpt {
    font-size: 0.87rem;
    color: var(--color-text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-height: 2.7em;
}

.card-meta {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.card-meta i {
    margin-right: 0.25rem;
}

.card-footer {
    padding: 0.75rem 1.25rem;
    display: flex;
    gap: 0.6rem;
    align-items: center;
    border-top: 1px solid var(--color-border-light);
}

.post-detail {
    max-width: 800px;
    margin: 0 auto;
}

.post-detail-wide {
    max-width: 900px;
    margin: 0 auto;
}

.post-featured-image {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 2.5rem;
    max-height: 500px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.post-featured-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    box-shadow: inset 0 -60px 60px -30px rgba(0,0,0,0.08);
    pointer-events: none;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-header {
    margin-bottom: 2rem;
}

.post-header .category-badge {
    margin-bottom: 1rem;
}

.post-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--color-text-light);
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.post-meta .source-link {
    color: var(--color-primary);
    font-weight: 600;
}

.post-content {
    background: var(--color-white);
    padding: 3rem 3.5rem;
    border-radius: var(--radius-xl);
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
}

.post-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary-light);
    position: relative;
}

.post-content h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
}

.post-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.post-content p {
    margin-bottom: 1.25rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

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

.post-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, #fff8f4 100%);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--color-text-light);
    position: relative;
}

.post-content blockquote::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    left: 12px;
    font-size: 3rem;
    color: var(--color-primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.post-content img {
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

.post-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(232,93,4,0.3);
    transition: text-decoration-color var(--transition-base);
}

.post-content a:hover {
    text-decoration-color: var(--color-primary);
}

.related-posts {
    margin-top: 3rem;
}

.related-posts h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.related-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0,0,0,0.03);
}

.related-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    color: inherit;
}

.related-image {
    height: 140px;
    overflow: hidden;
    background: linear-gradient(135deg, #1B2838, #2d3f52);
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.06);
}

.related-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
}

.related-card h4 {
    padding: 0.85rem 1rem 0.35rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-date {
    display: block;
    padding: 0 1rem 0.85rem;
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.article-detail {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.back-link {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.back-link:hover {
    text-decoration: underline;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.article-meta .source {
    color: var(--color-primary);
    font-weight: 600;
}

.article-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
    max-height: 400px;
}

.article-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.article-content {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.article-actions {
    margin-bottom: 2rem;
}

.ai-blog-section {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.ai-blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ai-blog-header h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-blog-content {
    line-height: 1.8;
    color: var(--color-text);
    font-size: 0.95rem;
}

.ai-blog-content p { margin-bottom: 1rem; }

.ai-blog-placeholder {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-muted);
}

.ai-blog-placeholder p { margin-top: 0.75rem; }

.ai-loading {
    text-align: center;
    padding: 2rem;
    color: var(--color-primary);
}

.ai-loading p { margin-top: 0.75rem; }

.ai-error {
    text-align: center;
    padding: 2rem;
    color: var(--color-danger);
}

.ai-error p { margin-top: 0.75rem; }

.category-header {
    margin-bottom: 2rem;
}

.category-header h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-secondary);
}

.category-header p {
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding: 1rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.pagination a {
    background: var(--color-white);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.pagination a:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pagination .active {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(232, 93, 4, 0.25);
}

.pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}

.page-info {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--color-text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h2 {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.alert {
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.3px;
}

.badge-published { background: var(--color-success); }
.badge-draft { background: var(--color-text-muted); }
.badge-active { background: var(--color-success); }
.badge-inactive { background: var(--color-text-muted); }

.about-page {
    max-width: 700px;
    margin: 0 auto;
}

.about-page h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    line-height: 1.8;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
}

.about-content p { margin-bottom: 1.25rem; }

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--color-secondary);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.about-feature {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.about-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.about-feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(232, 93, 4, 0.1);
    background: var(--color-white);
}

.about-feature:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 1rem;
    box-shadow: 0 6px 16px rgba(232, 93, 4, 0.25);
    position: relative;
    z-index: 1;
}

.about-feature h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
    position: relative;
    z-index: 1;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.footer {
    background: var(--gradient-hero);
    color: rgba(255,255,255,0.75);
    margin-top: 4rem;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232,93,4,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding: 4rem 1.5rem 2.5rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-logo {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-section h3 {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-links a:hover::before {
    width: 12px;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

.feeds-page { max-width: 800px; margin: 0 auto; }
.feeds-page h1 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-secondary); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.add-feed-form { background: var(--color-white); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.add-feed-form h3 { font-size: 1rem; color: var(--color-secondary); margin-bottom: 0.75rem; }
.feed-form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.feed-input { flex: 1; min-width: 200px; padding: 0.5rem 0.8rem; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-size: 0.9rem; font-family: var(--font-body); outline: none; transition: border-color 0.2s; }
.feed-input:focus { border-color: var(--color-primary); }
.feed-select { padding: 0.5rem 0.8rem; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-size: 0.9rem; font-family: var(--font-body); background: var(--color-white); outline: none; }
.feed-select:focus { border-color: var(--color-primary); }
.feeds-list { display: flex; flex-direction: column; gap: 0.75rem; }
.feed-item { background: var(--color-white); border-radius: var(--radius-md); padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; box-shadow: var(--shadow-sm); }
.feed-info h3 { font-size: 0.95rem; color: var(--color-secondary); margin-bottom: 0.2rem; }
.feed-url { font-size: 0.78rem; color: var(--color-text-muted); word-break: break-all; margin-bottom: 0.35rem; }
.feed-meta { display: flex; gap: 0.75rem; align-items: center; font-size: 0.8rem; color: var(--color-text-light); }

.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--gradient-hero); color: var(--color-white); padding: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.admin-brand { padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-brand a { display: block; }
.admin-nav { display: flex; flex-direction: column; padding: 0.75rem 0; flex: 1; }
.admin-nav-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1.5rem; color: rgba(255,255,255,0.65); font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: all var(--transition-base); border-left: 3px solid transparent; }
.admin-nav-link:hover { background: rgba(255,255,255,0.06); color: var(--color-white); }
.admin-nav-link.active { background: rgba(255,255,255,0.1); color: var(--color-white); border-left-color: var(--color-primary); }
.admin-nav-link i { width: 20px; text-align: center; font-size: 0.95rem; }
.admin-nav-divider { border: none; height: 1px; background: rgba(255,255,255,0.08); margin: 0.5rem 1.25rem; }
.admin-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #e0e0e0; }
.admin-menu-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border: none; background: var(--color-secondary); color: white; border-radius: 8px; font-size: 1.1rem; cursor: pointer; flex-shrink: 0; }
.admin-page-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--color-secondary); margin: 0; }
.admin-content { padding: 0; }
.admin-main { padding: 2rem; background: var(--color-bg); overflow-y: auto; }
.admin-page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.admin-page-header h1 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-secondary); }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card { background: var(--color-white); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 1rem; transition: all var(--transition-base); border: 1px solid rgba(0,0,0,0.03); }
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stat-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--color-white); flex-shrink: 0; }
.stat-icon.blue { background: linear-gradient(135deg, #E85D04, #FF8A3D); }
.stat-icon.green { background: linear-gradient(135deg, #10b981, #34d399); }
.stat-icon.orange { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.stat-icon.red { background: linear-gradient(135deg, #ef4444, #f87171); }
.stat-icon.purple { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.stat-info h3 { font-family: var(--font-body); font-size: 1.6rem; font-weight: 700; color: var(--color-secondary); line-height: 1; }
.stat-info p { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 0.25rem; }

.admin-table-container { background: var(--color-white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 0.85rem 1.25rem; font-size: 0.78rem; font-weight: 700; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.5px; background: var(--color-bg); border-bottom: 2px solid var(--color-border-light); }
.admin-table td { padding: 0.85rem 1.25rem; font-size: 0.9rem; border-bottom: 1px solid var(--color-border-light); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(232, 93, 4, 0.02); }
.admin-table .actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.admin-table .post-title-cell { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--color-secondary); }
.post-title-link { color: var(--color-secondary); font-weight: 600; text-decoration: none; }
.post-title-link:hover { color: var(--color-primary); }
.table-thumb { width: 50px; height: 35px; object-fit: cover; border-radius: 6px; }
.table-thumb-placeholder { width: 50px; height: 35px; display: flex; align-items: center; justify-content: center; background: #f1f5f9; border-radius: 6px; color: #94a3b8; font-size: 14px; }
.td-image { width: 60px; }
.td-actions { white-space: nowrap; }
.status-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3px; }
.status-badge.published { background: #ecfdf5; color: #065f46; }
.status-badge.draft { background: #f1f5f9; color: #64748b; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; gap: 0.5rem; }
.toolbar-info { font-size: 0.9rem; color: var(--color-text-light); }
.toolbar-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.category-badge.small { font-size: 0.65rem; padding: 0.15rem 0.5rem; }

.admin-form { background: var(--color-white); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--color-text); margin-bottom: 0.4rem; }
.form-control { width: 100%; padding: 0.65rem 1rem; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-size: 0.9rem; font-family: var(--font-body); outline: none; transition: all var(--transition-base); background: var(--color-white); }
.form-control:focus { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.08); }
textarea.form-control { min-height: 200px; resize: vertical; line-height: 1.6; }
select.form-control { appearance: auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border-light); }
.form-grid { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; }
.form-main { min-width: 0; }
.form-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.form-card { background: var(--color-white); border: 1px solid var(--color-border-light); border-radius: var(--radius-sm); padding: 1.25rem; }
.form-card h3 { font-size: 1rem; margin-bottom: 0.75rem; color: var(--color-secondary); }
.edit-image-preview img { width: 100%; border-radius: 8px; }
.code-textarea { font-family: 'Courier New', monospace; font-size: 0.85rem; }

.admin-login-page { display: flex; align-items: center; justify-content: center; min-height: 80vh; padding: 2rem; }
.login-card { background: var(--color-white); border-radius: var(--radius-xl); padding: 3rem; width: 100%; max-width: 420px; box-shadow: var(--shadow-xl); text-align: center; border: 1px solid rgba(0,0,0,0.03); }
.login-card h1 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 0.5rem; }
.login-card p { color: var(--color-text-light); font-size: 0.9rem; margin-bottom: 2rem; }
.login-card .form-group { text-align: left; }
.login-card .btn { width: 100%; justify-content: center; padding: 0.7rem; font-size: 1rem; }
.login-card .login-logo { height: 56px; margin-bottom: 1.25rem; }
.login-card .back-to-site { display: inline-block; margin-top: 1rem; color: var(--color-text-light); font-size: 0.9rem; }

.admin-card { background: var(--color-white); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; border: 1px solid rgba(0,0,0,0.03); }
.admin-card h3 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 1rem; color: var(--color-secondary); }

.ad-form-group { background: var(--color-white); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); margin-bottom: 1rem; border-left: 4px solid var(--color-primary); }
.ad-form-group h4 { font-size: 0.95rem; font-weight: 600; color: var(--color-secondary); margin-bottom: 0.75rem; }
.ad-form-group .form-control { margin-bottom: 0.5rem; }
.ad-form-group .toggle-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--color-text-light); }

.toggle-switch { position: relative; width: 40px; height: 22px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #ccc; border-radius: 22px; transition: 0.3s; }
.toggle-slider::before { content: ''; position: absolute; height: 16px; width: 16px; left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: 0.3s; }
.toggle-switch input:checked + .toggle-slider { background: var(--color-primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); }

.spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid var(--color-border-light); border-top-color: var(--color-primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center; z-index: 9999; flex-direction: column; gap: 1rem; }

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

@media (max-width: 1024px) {
    .content-with-sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .hero-post { grid-template-columns: 1fr; }
    .hero-image { min-height: 260px; }
    .hero-content { padding: 2rem; }
    .hero-content h1 { font-size: 1.5rem; -webkit-text-fill-color: var(--color-secondary); }
    .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { position: fixed; left: -270px; top: 0; width: 260px; height: 100vh; z-index: 9999; transition: left 0.3s ease; }
    .admin-sidebar.active { left: 0; }
    .admin-menu-toggle { display: flex !important; }
    .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .articles-grid, .posts-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .articles-grid, .posts-grid, .related-grid { grid-template-columns: 1fr; }
    .nav-container { flex-direction: column; align-items: stretch; }
    .nav-brand { justify-content: space-between; }
    .nav-toggle { display: block; }
    .nav-links { display: none; flex-direction: column; }
    .nav-links.show { display: flex; }
    .nav-links a { padding: 0.75rem 1rem; border-bottom: none; border-left: 3px solid transparent; }
    .nav-links a:hover, .nav-links a.active { border-bottom: none; border-left-color: var(--color-primary); background: var(--color-primary-light); }
    .nav-actions { justify-content: center; border-top: 1px solid var(--color-border-light); }
    .filter-bar { flex-direction: column; }
    .search-input { width: 100%; }
    .feed-form { flex-direction: column; }
    .article-title, .post-title { font-size: 1.4rem; }
    .post-content { padding: 1.5rem; font-size: 0.95rem; }
    .article-content { padding: 1.25rem; }
    .main-content { padding: 1rem 0.75rem; }
    .admin-main { padding: 1rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .admin-table { font-size: 0.8rem; }
    .admin-table th, .admin-table td { padding: 0.6rem 0.75rem; }
    .login-card { padding: 1.5rem; }
    .hero-content { padding: 1.5rem; }
    .hero-content h1 { font-size: 1.25rem; -webkit-text-fill-color: var(--color-secondary); }
    .category-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; }
    .pill { flex-shrink: 0; }
    .about-features { grid-template-columns: 1fr; }
}

@media print {
    .navbar, .footer, .sidebar, .ad-slot, .admin-sidebar, .nav-actions, .pagination { display: none !important; }
    .post-content, .article-content { box-shadow: none; padding: 0; }
    body { background: white; }
}

.chatbot-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 24px rgba(232, 93, 4, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-spring);
}

.chatbot-toggle:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 8px 32px rgba(232, 93, 4, 0.45);
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 400px;
    height: 520px;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
    display: none;
    flex-direction: column;
    z-index: 9998;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.chatbot-window.active { display: flex; }

.chatbot-header {
    background: var(--gradient-primary);
    color: #fff;
    padding: 20px 22px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header .close-chat { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0.8; transition: opacity 0.2s; }
.chatbot-header .close-chat:hover { opacity: 1; }

.chatbot-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fafbfc;
}

.chat-message.user {
    align-self: flex-end;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 20px 20px 4px 20px;
    max-width: 80%;
    padding: 12px 18px;
    font-size: 0.9rem;
    line-height: 1.5;
    box-shadow: 0 2px 12px rgba(232, 93, 4, 0.2);
}

.chat-message.bot {
    align-self: flex-start;
    background: #fff;
    color: #333;
    border-radius: 20px 20px 20px 4px;
    max-width: 80%;
    padding: 12px 18px;
    font-size: 0.9rem;
    line-height: 1.5;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}

.chatbot-input {
    display: flex;
    padding: 16px;
    border-top: 1px solid #f0f0f0;
    gap: 10px;
    background: #fff;
}

.chatbot-input input {
    flex-grow: 1;
    border: 1.5px solid #e5e7eb;
    border-radius: 24px;
    padding: 12px 20px;
    outline: none;
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: border-color var(--transition-base);
    background: #fafafa;
}

.chatbot-input input:focus {
    border-color: var(--color-primary);
    background: #fff;
}

.chatbot-input button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-base);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(232, 93, 4, 0.2);
}

.chatbot-input button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(232, 93, 4, 0.3);
}

.typing-indicator {
    align-self: flex-start;
    display: flex;
    gap: 5px;
    padding: 12px 18px;
    background: #fff;
    border-radius: 20px 20px 20px 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.typing-indicator span {
    width: 8px; height: 8px; background: #ccc; border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

.youtube-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin: 24px 0;
    box-shadow: var(--shadow-md);
}

.youtube-embed iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: none;
}

.niche-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    border-left: 4px solid var(--color-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.niche-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(232,93,4,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.niche-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.niche-card.ai { border-left-color: #4285f4; }
.niche-card.sustainable { border-left-color: #34a853; }
.niche-card.health { border-left-color: #00bcd4; }
.niche-card .niche-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.niche-card h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.niche-card p { font-size: 0.92rem; color: var(--color-text-light); line-height: 1.6; }

.nav-dropdown { position: relative; display: inline-block; }
.nav-arrow { font-size: 10px; margin-left: 4px; transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 240px;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    padding: 8px 0;
    z-index: 10000;
    border: 1px solid rgba(0,0,0,0.04);
    animation: dropdownSlide 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes dropdownSlide {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.15s;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
    padding-left: 24px;
}

.dropdown-item.all-posts {
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4px;
    padding-bottom: 12px;
}

.dropdown-item i { width: 18px; text-align: center; font-size: 14px; }

.sidebar-subcategories { list-style: none; padding: 4px 0 4px 24px; margin: 0; }
.sidebar-subcategories li { margin: 0; }
.sidebar-subcategories li a {
    display: flex; align-items: center; gap: 8px; padding: 5px 8px;
    font-size: 0.85rem; color: var(--color-text-light); text-decoration: none;
    border-radius: 8px; transition: all 0.2s;
}
.sidebar-subcategories li a:hover { background: var(--color-primary-light); color: var(--color-primary); padding-left: 12px; }
.sidebar-parent > a { font-weight: 600; }

.subcategory-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; padding: 0 4px; }
.subcategory-tab {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px;
    border-radius: 24px; font-size: 0.88rem; font-weight: 600; color: var(--color-text);
    background: var(--color-white); text-decoration: none; transition: all var(--transition-base);
    border: 1.5px solid var(--color-border);
}
.subcategory-tab:hover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-light); transform: translateY(-1px); }
.subcategory-tab.active { background: var(--gradient-primary); color: white; border-color: var(--color-primary); box-shadow: 0 4px 12px rgba(232, 93, 4, 0.25); }
.subcategory-tab i { font-size: 13px; }

.category-desc { color: var(--color-text-light); font-size: 0.95rem; margin-bottom: 8px; }

.about-subcategories { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.about-subtag {
    display: inline-flex; align-items: center; gap: 5px; padding: 5px 14px;
    border-radius: 24px; font-size: 0.8rem; font-weight: 500; background: #f8fafc;
    color: var(--color-text); text-decoration: none; transition: all var(--transition-base);
    border: 1px solid #e2e8f0;
}
.about-subtag:hover { background: var(--color-primary-light); border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-1px); }
.about-subtag i { font-size: 11px; color: var(--tag-color, #666); }

@media (max-width: 768px) {
    .chatbot-window { width: calc(100% - 24px); right: 12px; bottom: 85px; height: 60vh; }
    .chatbot-toggle { bottom: 18px; right: 18px; }
    .nav-dropdown-menu { position: static; box-shadow: none; border: none; border-radius: 0; padding: 0; min-width: auto; display: none; background: #f8f9fa; margin: 4px 0; border-radius: 8px; animation: none; }
    .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { display: block; }
    .dropdown-item { padding: 8px 16px; font-size: 0.85rem; }
    .subcategory-tabs { gap: 6px; }
    .subcategory-tab { padding: 6px 12px; font-size: 0.82rem; }
}

.nav-user { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.nav-register-btn { padding: 7px 18px !important; border-radius: 24px !important; font-size: 0.85rem !important; white-space: nowrap; }
.user-link i { margin-right: 4px; }

.auth-container { display: flex; justify-content: center; align-items: flex-start; padding: 2rem 1rem; min-height: 60vh; width: 100%; }
.auth-card { background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 2.5rem; width: 100%; max-width: 440px; border: 1px solid rgba(0,0,0,0.03); }
.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-logo { height: 48px; margin-bottom: 1rem; }
.auth-header h1 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--color-secondary); margin-bottom: 0.5rem; }
.auth-header p { color: var(--color-text-light); font-size: 0.9rem; }
.auth-card .form-group { margin-bottom: 1.25rem; }
.auth-card .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--color-secondary); font-size: 0.9rem; }
.auth-card .form-group label i { margin-right: 6px; color: var(--color-primary); }
.auth-btn { margin-top: 0.5rem; padding: 12px !important; font-size: 1rem !important; font-weight: 600 !important; }
.auth-footer { text-align: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); color: var(--color-text-light); font-size: 0.9rem; }
.auth-footer a { color: var(--color-primary); font-weight: 600; }

.comments-section { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--color-border); }
.comment-form { background: #f8fafc; border-radius: var(--radius-lg); padding: 1.75rem; margin-bottom: 2rem; border: 1px solid rgba(0,0,0,0.04); }
.comment-form-header { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.comment-form-user { font-weight: 600; color: var(--color-secondary); }
.comment-form textarea { resize: vertical; min-height: 80px; margin-bottom: 1rem; }
.comment-form .btn { float: right; }
.comment-form::after { content: ''; display: table; clear: both; }
.comment-login-prompt { background: #f8fafc; border-radius: var(--radius-md); padding: 1.5rem; text-align: center; margin-bottom: 2rem; border: 1px dashed var(--color-border); }
.comment-login-prompt i { margin-right: 6px; color: var(--color-text-light); }
.comment-login-prompt a { font-weight: 600; }

.comments-list { display: flex; flex-direction: column; gap: 1rem; }
.comment-item { display: flex; gap: 14px; padding: 1.25rem; background: white; border-radius: var(--radius-sm); border: 1px solid rgba(0,0,0,0.04); transition: all var(--transition-base); }
.comment-item:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.comment-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient-primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.comment-body { flex: 1; min-width: 0; }
.comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.comment-author { color: var(--color-secondary); font-size: 0.9rem; }
.comment-date { color: var(--color-text-muted); font-size: 0.8rem; }
.comment-text { color: var(--color-text); line-height: 1.6; font-size: 0.95rem; white-space: pre-wrap; word-break: break-word; }
.no-comments { text-align: center; color: var(--color-text-light); padding: 2rem; font-style: italic; }

@media (max-width: 768px) {
    .nav-user { display: flex; gap: 6px; margin-left: 0; margin-top: 8px; }
    .auth-card { padding: 1.5rem; }
    .comment-item { flex-direction: column; gap: 8px; }
    .comment-avatar { width: 32px; height: 32px; font-size: 0.85rem; }
}

.lang-switcher { position: relative; display: inline-flex; align-items: center; margin-left: 8px; }
.lang-switcher-btn { background: transparent; border: 1px solid #ddd; border-radius: 8px; padding: 6px 12px; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 13px; color: #555; transition: all 0.2s ease; white-space: nowrap; }
.lang-switcher-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.lang-switcher-btn i { font-size: 14px; }
.lang-dropdown { position: absolute; top: calc(100% + 4px); right: 0; background: white; border-radius: var(--radius-sm); box-shadow: 0 12px 32px rgba(0,0,0,0.12); min-width: 160px; z-index: 10000; display: none; overflow: hidden; border: 1px solid rgba(0,0,0,0.04); }
.lang-dropdown.active, .lang-switcher:hover .lang-dropdown { display: block; }
.lang-dropdown a { display: block; padding: 10px 16px; text-decoration: none; color: #333; transition: all 0.15s ease; font-size: 14px; border-bottom: 1px solid #f5f5f5; }
.lang-dropdown a:last-child { border-bottom: none; }
.lang-dropdown a:hover { background: var(--color-primary-light); color: var(--color-primary); }
.lang-dropdown a.active { background: var(--color-primary-light); color: var(--color-primary); font-weight: 600; }

.translation-notice {
    background: linear-gradient(135deg, #FFF3E0 0%, #fff8f0 100%);
    border-left: 4px solid var(--color-primary);
    padding: 12px 18px;
    margin-bottom: 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.translation-notice i { color: var(--color-primary); font-size: 18px; }

[dir="rtl"] .translation-notice { border-left: none; border-right: 4px solid var(--color-primary); border-radius: 8px 0 0 8px; }
[dir="rtl"] body { direction: rtl; text-align: right; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .nav-brand { margin-right: 0; margin-left: auto; }
[dir="rtl"] .post-card-content { text-align: right; }
[dir="rtl"] .sidebar { border-left: none; border-right: 1px solid #eee; }
[dir="rtl"] .footer-section { text-align: right; }
[dir="rtl"] .footer-section h3::after { left: auto; right: 0; }
[dir="rtl"] .comment-content { text-align: right; }
[dir="rtl"] .chatbot-window { left: 24px; right: auto; }
[dir="rtl"] .chatbot-toggle { left: 24px; right: auto; }
[dir="rtl"] .chat-message.user { align-self: flex-start; border-radius: 18px 18px 18px 4px; }
[dir="rtl"] .chat-message.bot { align-self: flex-end; border-radius: 18px 18px 4px 18px; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .lang-switcher { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .featured-post-content { text-align: right; }
[dir="rtl"] .post-detail-content { text-align: right; }

@media (max-width: 768px) {
    .lang-switcher { margin-left: 0; margin-top: 8px; }
    .lang-switcher-btn { font-size: 12px; padding: 5px 10px; }
    .lang-dropdown { right: auto; left: 0; min-width: 140px; }
}

.social-share {
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-sm);
}

.social-share h3 {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    color: var(--color-text);
    font-weight: 700;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 0.83rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    color: #fff;
}

.share-whatsapp { background: #25D366; }
.share-twitter { background: #111; }
.share-facebook { background: #1877F2; }
.share-linkedin { background: #0A66C2; }
.share-telegram { background: #0088cc; }
.share-email { background: var(--gradient-primary); }

@media (max-width: 576px) {
    .share-btn { padding: 0.45rem 0.85rem; font-size: 0.8rem; }
    .share-btn span { display: none; }
}

.youtube-indicator { font-size: 1.2rem; }
.youtube-indicator.has-video { color: #FF0000; }
.youtube-indicator.no-video { color: #ccc; }
.td-youtube { text-align: center; }

.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    background: var(--color-white);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xs);
    border: 1px solid rgba(0,0,0,0.03);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--color-text-light);
}

.breadcrumb li:not(:last-child)::after {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin: 0 0.6rem;
    color: var(--color-text-muted);
    font-size: 0.7rem;
}

.breadcrumb li a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-base);
}

.breadcrumb li a:hover {
    color: var(--color-primary-dark);
}

.breadcrumb li[aria-current="page"] {
    color: var(--color-text);
    font-weight: 500;
}

.cat-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.ad-in-content {
    margin: 2rem 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.post-card, .hero-post, .sidebar-widget {
    animation: fadeInUp 0.5s ease both;
}

.posts-grid .post-card:nth-child(1) { animation-delay: 0.05s; }
.posts-grid .post-card:nth-child(2) { animation-delay: 0.1s; }
.posts-grid .post-card:nth-child(3) { animation-delay: 0.15s; }
.posts-grid .post-card:nth-child(4) { animation-delay: 0.2s; }
.posts-grid .post-card:nth-child(5) { animation-delay: 0.25s; }
.posts-grid .post-card:nth-child(6) { animation-delay: 0.3s; }
.posts-grid .post-card:nth-child(7) { animation-delay: 0.35s; }
.posts-grid .post-card:nth-child(8) { animation-delay: 0.4s; }
.posts-grid .post-card:nth-child(9) { animation-delay: 0.45s; }
