/* =============================================
   مرصد الشرق الأوسط - Stylesheet
   RTL Arabic News Website
   ============================================= */

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary:      #0a1628;
    --primary-light:#1a2744;
    --accent-red:   #c1121f;
    --accent-blue:  #1d6fa4;
    --accent-green: #1a7a4a;
    --accent-gold:  #d4a017;
    --iran-color:   #c1121f;
    --israel-color: #1d6fa4;
    --economy-color:#1a7a4a;
    --energy-color: #d4a017;
    --regional-color:#7b2d8b;
    --analysis-color:#374151;
    --bg:           #f0f2f5;
    --card-bg:      #ffffff;
    --border:       #e2e8f0;
    --text:         #1a1a2e;
    --text-muted:   #64748b;
    --text-light:   #94a3b8;
    --breaking-bg:  #c1121f;
    --shadow-sm:    0 1px 4px rgba(0,0,0,.08);
    --shadow-md:    0 4px 16px rgba(0,0,0,.12);
    --shadow-lg:    0 8px 32px rgba(0,0,0,.16);
    --radius:       8px;
    --radius-sm:    4px;
    --transition:   .2s ease;
    --font:         'Cairo', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    direction: rtl;
    text-align: right;
    line-height: 1.7;
    font-size: 15px;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-red); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

/* === TOP BAR === */
.top-bar {
    background: var(--primary);
    color: #94a3b8;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #1e3a5f;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.top-bar-right {
    display: flex;
    gap: 16px;
    align-items: center;
}
.top-bar-right span { display: flex; align-items: center; gap: 5px; }
.top-bar-right i { color: var(--accent-gold); }
.top-bar-left {
    display: flex;
    gap: 12px;
    align-items: center;
}
.top-bar-left a {
    color: #94a3b8;
    font-size: 14px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.top-bar-left a:hover { color: #fff; background: rgba(255,255,255,.15); }

/* === HEADER === */
.site-header {
    background: var(--primary);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}
.logo-icon {
    font-size: 28px;
    color: var(--accent-gold);
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-main {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.3px;
}
.logo-sub {
    font-size: 11px;
    color: var(--accent-gold);
    letter-spacing: 1px;
}
.header-center { flex: 1; }
.search-box {
    max-width: 440px;
    margin: 0 auto;
}
.search-box form {
    display: flex;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 24px;
    overflow: hidden;
    transition: all var(--transition);
}
.search-box form:focus-within {
    background: rgba(255,255,255,.15);
    border-color: var(--accent-gold);
}
.search-box input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: 8px 16px;
    color: #fff;
    font-size: 13px;
}
.search-box input::placeholder { color: rgba(255,255,255,.5); }
.search-box button {
    padding: 8px 16px;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    transition: color var(--transition);
}
.search-box button:hover { color: var(--accent-gold); }
.mobile-menu-btn {
    display: none;
    color: #fff;
    font-size: 22px;
    padding: 4px;
}

/* === NAVIGATION === */
.main-nav {
    background: var(--primary-light);
    border-bottom: 2px solid var(--accent-red);
    position: sticky;
    top: 62px;
    z-index: 999;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
}
.nav-list li a:hover,
.nav-list li a.active {
    color: #fff;
    border-bottom-color: var(--accent-gold);
    background: rgba(255,255,255,.05);
}
.nav-list li a i { font-size: 13px; }

/* === BREAKING NEWS === */
.breaking-bar {
    background: var(--accent-red);
    color: #fff;
    padding: 7px 0;
}
.breaking-inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
}
.breaking-label {
    background: #8b0a14;
    padding: 2px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 2px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    margin-left: 12px;
}
.ticker-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.ticker-track {
    display: flex;
    animation: tickerScroll 40s linear infinite;
    white-space: nowrap;
}
.ticker-item {
    font-size: 13px;
    font-weight: 500;
    padding: 0 32px;
    white-space: nowrap;
}
.ticker-item::after {
    content: ' ◆ ';
    color: rgba(255,255,255,.5);
}
@keyframes tickerScroll {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* === SKELETON LOADERS === */
.skeleton-box, .skeleton-card, .skeleton-line {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}
.skeleton-card { height: 280px; }
.skeleton-line { height: 18px; border-radius: 4px; margin-bottom: 10px; }
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* === HERO SECTION === */
.hero-section { padding: 20px 0 10px; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 12px;
}
.hero-main .hero-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 420px;
    display: block;
    box-shadow: var(--shadow-md);
}
.hero-main .hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.hero-main .hero-card:hover img { transform: scale(1.03); }
.hero-main .hero-card .hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
    padding: 48px 20px 20px;
    color: #fff;
}
.hero-main .hero-card .cat-badge {
    margin-bottom: 8px;
}
.hero-main .hero-card h2 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 8px;
}
.hero-main .hero-card .hero-meta {
    font-size: 12px;
    opacity: .8;
    display: flex;
    gap: 12px;
}
.hero-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hero-side .side-card {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    display: block;
    box-shadow: var(--shadow-sm);
    background: var(--card-bg);
}
.hero-side .side-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform .4s ease;
}
.hero-side .side-card:hover img { transform: scale(1.03); }
.hero-side .side-card .side-card-body {
    padding: 10px 12px;
}
.hero-side .side-card h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-side .side-card .card-meta {
    font-size: 11px;
    color: var(--text-muted);
}

/* === CATEGORY BADGE === */
.cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}
.cat-iran    { background: var(--iran-color); }
.cat-israel  { background: var(--israel-color); }
.cat-usa     { background: #1e40af; }
.cat-economy { background: var(--economy-color); }
.cat-energy  { background: var(--energy-color); color: var(--text); }
.cat-regional{ background: var(--regional-color); }
.cat-analysis{ background: var(--analysis-color); }
.cat-latest  { background: #475569; }

/* === AD UNITS === */
.ad-unit {
    margin: 20px 0;
    text-align: center;
}
.ad-label {
    font-size: 10px;
    color: var(--text-light);
    margin-bottom: 3px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.ad-placeholder {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 13px;
    margin: 0 auto;
}
.ad-leaderboard {
    width: 100%;
    min-height: 90px;
    max-width: 728px;
}
.ad-rectangle {
    width: 100%;
    min-height: 280px;
    max-width: 336px;
    margin: 0 auto;
}
.ad-sidebar {
    width: 300px;
    min-height: 250px;
    margin: 0 auto;
}

/* === SECTIONS === */
.news-section { padding: 16px 0; }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
}
.section-title {
    font-size: 19px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}
.title-bar {
    display: inline-block;
    width: 4px;
    height: 22px;
    border-radius: 2px;
    background: var(--accent-red);
    flex-shrink: 0;
}
.iran-color    { background: var(--iran-color); }
.israel-color  { background: var(--israel-color); }
.economy-color { background: var(--economy-color); }
.energy-color  { background: var(--energy-color); }
.regional-color{ background: var(--regional-color); }
.analysis-color{ background: var(--analysis-color); }

.iran-icon     { color: var(--iran-color); }
.israel-icon   { color: var(--israel-color); }
.economy-icon  { color: var(--economy-color); }
.energy-icon   { color: var(--energy-color); }
.regional-icon { color: var(--regional-color); }
.analysis-icon { color: var(--analysis-color); }

.see-all-btn {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--accent-blue);
    transition: all var(--transition);
}
.see-all-btn:hover { background: var(--accent-blue); color: #fff; }
.iran-link     { color: var(--iran-color); border-color: var(--iran-color); }
.iran-link:hover { background: var(--iran-color); color: #fff; }
.israel-link   { color: var(--israel-color); border-color: var(--israel-color); }
.israel-link:hover { background: var(--israel-color); color: #fff; }
.economy-link  { color: var(--economy-color); border-color: var(--economy-color); }
.economy-link:hover { background: var(--economy-color); color: #fff; }
.regional-link { color: var(--regional-color); border-color: var(--regional-color); }
.regional-link:hover { background: var(--regional-color); color: #fff; }

/* === NEWS GRIDS === */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* === NEWS CARD === */
.news-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.news-card .card-image {
    position: relative;
    overflow: hidden;
}
.news-card .card-image img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    transition: transform .4s ease;
}
.news-card:hover .card-image img { transform: scale(1.05); }
.news-card .card-image .cat-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}
.news-card .card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-card h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text);
    transition: color var(--transition);
}
.news-card:hover h3 { color: var(--accent-red); }
.news-card .card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
    flex: 1;
}
.card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--text-light);
    margin-top: auto;
    flex-wrap: wrap;
}
.card-meta i { font-size: 10px; }
.card-meta .source {
    font-weight: 600;
    color: var(--accent-blue);
}
.card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-red);
    margin-top: 8px;
}
.card-read-more:hover { gap: 8px; }

/* No image card variant */
.news-card.no-image .card-body { padding: 16px; }
.news-card.no-image {
    border-right: 4px solid var(--accent-red);
}

/* === LAYOUT CONTENT + SIDEBAR === */
.layout-content-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    align-items: start;
}
.sidebar-column { position: sticky; top: 120px; }

/* === WIDGETS === */
.widget {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}
.widget-header {
    background: var(--primary);
    padding: 12px 16px;
}
.widget-header h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget-header i { color: var(--accent-gold); }

.trending-list {
    padding: 8px 0;
    counter-reset: trending;
}
.trending-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
    counter-increment: trending;
}
.trending-list li:last-child { border-bottom: none; }
.trending-list li:hover { background: #f8fafc; }
.trending-list li::before {
    content: counter(trending);
    font-size: 18px;
    font-weight: 900;
    color: var(--border);
    min-width: 24px;
    line-height: 1;
}
.trending-list li:nth-child(1)::before { color: var(--accent-red); }
.trending-list li:nth-child(2)::before { color: var(--accent-blue); }
.trending-list li:nth-child(3)::before { color: var(--accent-gold); }
.trending-list a {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.trending-list a:hover { color: var(--accent-red); }

/* === TAGS CLOUD === */
.tags-cloud {
    padding: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.tags-cloud a {
    background: #f1f5f9;
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.tags-cloud a:hover {
    background: var(--accent-red);
    color: #fff;
    border-color: var(--accent-red);
}

/* === NEWSLETTER WIDGET === */
.newsletter-widget .widget-header { background: var(--accent-green); }
.newsletter-widget p {
    padding: 10px 14px 0;
    font-size: 13px;
    color: var(--text-muted);
}
.newsletter-form {
    padding: 10px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.newsletter-form input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    outline: none;
    transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--accent-green); }
.newsletter-form button {
    width: 100%;
    padding: 9px;
    background: var(--accent-green);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    transition: background var(--transition);
}
.newsletter-form button:hover { background: #145c38; }

/* === FOOTER === */
.site-footer { background: var(--primary); color: #94a3b8; margin-top: 40px; }
.footer-top { padding: 48px 0 32px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 32px;
}
.footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-red);
    display: inline-block;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 14px;
}
.footer-logo i { color: var(--accent-gold); font-size: 24px; }
.footer-about p { font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 14px;
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--accent-red); color: #fff; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition);
}
.footer-col ul li a i { color: var(--accent-red); font-size: 11px; }
.footer-col ul li a:hover { color: #fff; padding-right: 4px; }
.footer-newsletter-col p { font-size: 13px; margin-bottom: 12px; }
.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.footer-newsletter-form input {
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 13px;
    outline: none;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.footer-newsletter-form input:focus { border-color: var(--accent-gold); }
.footer-newsletter-form button {
    padding: 9px;
    background: var(--accent-red);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    transition: background var(--transition);
}
.footer-newsletter-form button:hover { background: #9b0e18; }
.sources-title { font-weight: 600; color: var(--accent-gold); margin-bottom: 4px; font-size: 12px; }
.footer-sources p { font-size: 12px; line-height: 1.6; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 16px 0;
    background: rgba(0,0,0,.2);
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; }
.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.footer-bottom-links a { color: #94a3b8; transition: color var(--transition); }
.footer-bottom-links a:hover { color: #fff; }
.footer-bottom-links span { color: rgba(255,255,255,.2); }

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-red);
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    z-index: 9999;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: #9b0e18; transform: translateY(-3px); }

/* === TOAST === */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
    z-index: 9999;
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* === CATEGORY PAGE === */
.page-hero {
    background: var(--primary);
    color: #fff;
    padding: 32px 0;
    margin-bottom: 24px;
}
.page-hero h1 { font-size: 28px; font-weight: 900; margin-bottom: 6px; }
.page-hero p { color: #94a3b8; font-size: 14px; }
.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 10px;
}
.page-hero .breadcrumb a { color: var(--accent-gold); }
.page-hero .breadcrumb i { font-size: 10px; }

.category-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-list-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 0;
    transition: all var(--transition);
}
.news-list-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-list-card img {
    width: 220px;
    height: 150px;
    object-fit: cover;
    flex-shrink: 0;
}
.news-list-card .list-card-body { padding: 14px; flex: 1; }
.news-list-card h3 { font-size: 16px; font-weight: 700; line-height: 1.5; margin-bottom: 8px; }
.news-list-card h3:hover { color: var(--accent-red); }
.news-list-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }

/* === ARTICLE PAGE === */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
    padding: 24px 0;
}
.article-body { background: var(--card-bg); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.article-header { margin-bottom: 24px; }
.article-header .cat-badge { margin-bottom: 12px; }
.article-header h1 { font-size: 28px; font-weight: 900; line-height: 1.4; margin-bottom: 12px; }
.article-header .article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.article-header .article-meta i { color: var(--accent-red); }
.article-featured-img {
    width: 100%;
    border-radius: var(--radius);
    margin: 20px 0;
    max-height: 450px;
    object-fit: cover;
}
.article-content { font-size: 16px; line-height: 1.9; color: #374151; }
.article-content p { margin-bottom: 18px; }
.article-content h2 { font-size: 20px; font-weight: 800; margin: 28px 0 12px; color: var(--text); }
.article-content h3 { font-size: 17px; font-weight: 700; margin: 22px 0 10px; }
.article-content blockquote {
    border-right: 4px solid var(--accent-red);
    padding: 12px 16px;
    background: #fef2f2;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 20px 0;
    font-style: italic;
    color: #7f1d1d;
}
.article-content ul, .article-content ol {
    padding-right: 24px;
    margin-bottom: 16px;
}
.article-content li { margin-bottom: 8px; }
.article-share {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.article-share p { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn {
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    transition: opacity var(--transition);
}
.share-btn:hover { opacity: .85; color: #fff; }
.share-twitter  { background: #1da1f2; }
.share-facebook { background: #1877f2; }
.share-telegram { background: #0088cc; }
.share-whatsapp { background: #25d366; }

/* Related Articles */
.related-articles { margin-top: 32px; }
.related-articles h3 { font-size: 18px; font-weight: 800; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--accent-red); }

/* === ABOUT / CONTACT PAGES === */
.page-content {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    max-width: 860px;
    margin: 32px auto;
}
.page-content h1 { font-size: 28px; font-weight: 900; margin-bottom: 20px; color: var(--text); }
.page-content h2 { font-size: 20px; font-weight: 800; margin: 28px 0 12px; color: var(--text); }
.page-content p { font-size: 15px; line-height: 1.9; color: #374151; margin-bottom: 14px; }
.page-content ul { padding-right: 20px; margin-bottom: 14px; }
.page-content ul li { margin-bottom: 8px; font-size: 15px; color: #374151; }

/* Contact Form */
.contact-form { max-width: 620px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition);
    font-family: var(--font);
    background: #fafafa;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    background: #fff;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit {
    padding: 11px 32px;
    background: var(--accent-red);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    transition: background var(--transition);
}
.form-submit:hover { background: #9b0e18; }

/* Info boxes */
.info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 20px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.info-box i { color: var(--accent-blue); font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.info-box p { margin: 0; }

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 32px 0;
}
.page-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--card-bg);
    transition: all var(--transition);
}
.page-btn:hover, .page-btn.active {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #fff;
}

/* === NO IMAGE FALLBACK === */
.img-placeholder {
    width: 100%;
    height: 185px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.2);
    font-size: 40px;
}
.hero-img-placeholder {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, #0a1628, #1a3a5c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.1);
    font-size: 80px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .layout-content-sidebar { grid-template-columns: 1fr; }
    .sidebar-column { position: static; }
    .category-grid { grid-template-columns: 1fr; }
    .article-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .top-bar-right span:last-child { display: none; }
    .header-center { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-main .hero-card { height: 280px; }
    .hero-main .hero-card h2 { font-size: 17px; }
    .hero-side { display: none; }
    .grid-4 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .news-list-card { flex-direction: column; }
    .news-list-card img { width: 100%; height: 200px; }
    .page-content { padding: 20px; margin: 16px; }
    .article-body { padding: 20px; }
    .article-header h1 { font-size: 22px; }
    .main-nav { top: 52px; }
    #mainNav.open .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 480px) {
    .grid-3 { grid-template-columns: 1fr; }
    .logo-main { font-size: 16px; }
    .logo-sub { display: none; }
    .section-title { font-size: 16px; }
    .news-card .card-image img { height: 160px; }
}
