/* ==========================================================================
   Savunma360 - Defence24.com European Defense Portal Design System
   Exact Defence24 UI Architecture, Color Tokens & Layout Structure
   ========================================================================== */

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

:root {
    --site-theme-red: #E30000;
    --site-theme-orange: #F3911A;
    --site-theme-green: #169F38;
    --site-theme-blue: #2155A3;
    
    --bg-primary: #0B0F19;
    --bg-secondary: #111726;
    --bg-card: #182033;
    --bg-card-hover: #1F2A44;
    
    --text-primary: #FFFFFF;
    --text-body: #D1D5DB;
    --text-muted: #9CA3AF;
    
    --border-color: #1F293D;
    --border-red: #E30000;
    
    --font-heading: 'Geologica', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-brand: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-main: 0 10px 25px rgba(0, 0, 0, 0.6);
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* LIGHT MODE COLOR PALETTE OVERRIDES */
[data-theme="light"] {
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F1F5F9;
    
    --text-primary: #0F172A;
    --text-body: #334155;
    --text-muted: #64748B;
    
    --border-color: #E2E8F0;
    --border-red: #E30000;
}

[data-theme="light"] .main-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
}

[data-theme="light"] .brand-logo {
    color: #0F172A;
}

[data-theme="light"] .navbar-ribbon {
    background-color: #0F172A;
}

[data-theme="light"] .main-nav a {
    color: #E2E8F0;
}

[data-theme="light"] .main-nav a:hover,
[data-theme="light"] .main-nav a.active {
    color: #FFFFFF;
}

[data-theme="light"] .top-bar-ribbon {
    background-color: #F1F5F9;
    border-bottom: 1px solid #E2E8F0;
}

[data-theme="light"] .top-bar-ribbon a {
    color: #475569;
}

[data-theme="light"] .ticker-strip {
    background-color: #F1F5F9;
    border-bottom: 1px solid #E2E8F0;
}

[data-theme="light"] .ticker-item {
    color: #334155;
}

[data-theme="light"] .article-card-tile {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .card-content-body h3 {
    color: #0F172A;
}

[data-theme="light"] .defense-specs-table {
    border-color: #E2E8F0;
}

[data-theme="light"] .defense-specs-table th {
    background: #F1F5F9;
    color: #0F172A;
}

[data-theme="light"] .defense-specs-table td {
    background: #FFFFFF;
    color: #334155;
    border-color: #E2E8F0;
}

/* THEME TOGGLE & LANGUAGE SWITCHER PILLS */
.theme-toggle-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 7px 13px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    border-color: var(--site-theme-red);
    color: var(--site-theme-red);
}

.lang-switcher-box {
    display: inline-flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2px;
}

.lang-pill-btn {
    padding: 4px 10px;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.lang-pill-btn.active {
    background: var(--site-theme-red);
    color: #FFFFFF;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-body);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   SLEEK DARK CUSTOM SCROLLBAR & HIDE HORIZONTAL SCROLLBARS
   ========================================================================== */

/* Custom Dark Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 0px; /* Hide horizontal scrollbar track by default */
}

::-webkit-scrollbar-track {
    background: #0B0F19;
}

::-webkit-scrollbar-thumb {
    background: #1F293D;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--site-theme-red);
}

/* Hide horizontal scrollbar for navigation ribbons, tickers, and tabs */
.main-nav ul,
.top-bar-ribbon ul,
.ticker-scroll-area,
.sector-tabs-ribbon {
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
}

.main-nav ul::-webkit-scrollbar,
.top-bar-ribbon ul::-webkit-scrollbar,
.ticker-scroll-area::-webkit-scrollbar,
.sector-tabs-ribbon::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    background-color: var(--bg-card);
}

.container {
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   TOP ECOSYSTEM NAV BAR (DEFENCE24 STYLE)
   ========================================================================== */

.top-ecosystem-bar {
    background-color: #060911;
    border-bottom: 1px solid var(--border-color);
    padding: 6px 0;
    font-size: 0.78rem;
    font-family: var(--font-heading);
}

.ecosystem-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.ecosystem-nav a {
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ecosystem-nav a:hover,
.ecosystem-nav a.active {
    color: #FFF;
}

.ecosystem-nav .tag-red { color: var(--site-theme-red); }
.ecosystem-nav .tag-orange { color: var(--site-theme-orange); }
.ecosystem-nav .tag-green { color: var(--site-theme-green); }
.ecosystem-nav .tag-blue { color: var(--site-theme-blue); }

/* ==========================================================================
   MAIN BRAND HEADER (DEFENCE24 BRAND MASTHEAD)
   ========================================================================== */

.main-header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.header-top-row {
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-brand);
    font-size: 2.8rem;
    line-height: 1;
    letter-spacing: 1.5px;
    color: #FFF;
    text-transform: uppercase;
}

.brand-logo .logo-red-badge {
    background-color: var(--site-theme-red);
    color: #FFF;
    padding: 2px 10px;
    border-radius: var(--radius-sm);
    font-size: 2.4rem;
}

.search-box {
    position: relative;
    width: 260px;
}

.search-box input {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 9px 38px 9px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    outline: none;
    width: 100%;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--site-theme-red);
}

.search-box button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.search-box button:hover {
    color: var(--site-theme-red);
}

.btn-toggle-egazete {
    background: var(--site-theme-red);
    color: #FFF;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    white-space: nowrap;
    text-transform: uppercase;
}

.btn-toggle-egazete:hover {
    background-color: #B30000;
}

/* CATEGORY NAVIGATION RIBBON */
.navbar-ribbon {
    background-color: #0E1422;
}

.main-nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    list-style: none;
    gap: 10px 16px;
    padding: 10px 0;
}

.main-nav a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    color: #D1D5DB;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: #FFF;
}

.main-nav a.active::after,
.main-nav a:hover::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--site-theme-red);
}

/* ==========================================================================
   BREAKING NEWS TICKER BAR
   ========================================================================== */

.ticker-strip {
    background-color: #060911;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 0.82rem;
    font-family: var(--font-heading);
}

.ticker-flex {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ticker-label {
    background-color: var(--site-theme-red);
    color: #FFF;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticker-scroll-area {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-block;
    animation: marquee 38s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    margin-right: 32px;
}

.ticker-item:hover {
    color: var(--site-theme-red);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   DEFENCE24 HERO MOSAIC GRID (2-COLUMN LARGE HERO TILES)
   ========================================================================== */

.hero-section {
    padding: 24px 0;
}

.hero-mosaic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hero-tile-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 440px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-main);
}

.hero-tile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-tile-card:hover img {
    transform: scale(1.04);
}

.hero-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.05) 10%, rgba(11, 15, 25, 0.95) 85%);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-tag-badge {
    background-color: var(--site-theme-red);
    color: #FFF;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: 10px;
    width: fit-content;
}

.hero-tile-card h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.25;
    color: #FFF;
    margin-bottom: 10px;
}

.hero-tile-card p {
    color: var(--text-body);
    font-size: 0.92rem;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tile-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.author-chip {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-chip img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* ==========================================================================
   DEFENCE24 SECTOR MODULES & ARTICLE CARDS GRID
   ========================================================================== */

.section-line-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--site-theme-red);
    padding-bottom: 8px;
    margin-bottom: 24px;
    margin-top: 36px;
}

.section-line-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #FFF;
    letter-spacing: 0.5px;
}

.view-more-link {
    color: var(--site-theme-red);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
}

.articles-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.article-card-tile {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.article-card-tile:hover {
    border-color: var(--site-theme-red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-main);
}

.card-thumb-wrapper {
    height: 180px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.card-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card-tile:hover .card-thumb-wrapper img {
    transform: scale(1.05);
}

.card-content-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-content-body h3 {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    color: #FFF;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.card-content-body p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.card-footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    margin-top: auto;
}

/* ==========================================================================
   DIGITAL MAGAZINE & PUBLICATIONS SHELF
   ========================================================================== */

.magazine-shelf-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--site-theme-red);
    border-radius: var(--radius-md);
    padding: 28px;
    margin: 40px 0;
}

.magazine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.magazine-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: var(--transition);
}

.magazine-card:hover {
    transform: translateY(-5px);
    border-color: var(--site-theme-red);
}

.magazine-cover {
    height: 300px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.magazine-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.issue-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--site-theme-red);
    color: #FFF;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

.magazine-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.magazine-info h4 {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 8px;
}

.magazine-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.btn-read-pdf, .btn-download-pdf {
    flex: 1;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-read-pdf {
    background: var(--site-theme-red);
    color: #FFF;
    border: none;
}

.btn-read-pdf:hover {
    background: #B30000;
}

.btn-download-pdf {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-download-pdf:hover {
    border-color: var(--site-theme-red);
    color: var(--site-theme-red);
}

/* ==========================================================================
   E-GAZETE / KURUMSAL BASKI VIEW MODE
   ========================================================================== */

.egazete-container {
    display: none;
    background-color: var(--bg-secondary);
    color: var(--text-body);
    padding: 36px;
    border-radius: var(--radius-md);
    margin: 28px 0;
    box-shadow: var(--shadow-main);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--site-theme-red);
}

.egazete-header {
    text-align: center;
    border-bottom: 2px solid var(--site-theme-red);
    padding-bottom: 18px;
    margin-bottom: 28px;
}

.egazete-meta-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
    color: var(--site-theme-red);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
    margin-bottom: 14px;
}

.egazete-title {
    font-family: var(--font-brand);
    font-size: 3.8rem;
    letter-spacing: 1.5px;
    color: #FFF;
    line-height: 1;
    margin-bottom: 6px;
}

.egazete-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.egazete-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 28px;
}

.egazete-lead-article h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
    color: #FFF;
}

/* ==========================================================================
   ARTICLE DETAIL PAGE (HABER.PHP)
   ========================================================================== */

.article-header {
    margin: 28px 0 20px 0;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.25;
    color: #FFF;
    margin: 14px 0;
}

.article-summary-lead {
    font-size: 1.12rem;
    color: var(--text-primary);
    background-color: var(--bg-card);
    border-left: 4px solid var(--site-theme-red);
    padding: 18px 22px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    line-height: 1.65;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    margin-bottom: 28px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--site-theme-red);
    color: #FFF;
    border-color: var(--site-theme-red);
}

.article-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.article-body-content {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #E2E8F0;
    max-width: 920px;
    margin: 0 auto 40px auto;
    font-family: var(--font-body);
}

.article-body-content p {
    margin-bottom: 22px;
}

.article-body-content h2 {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 36px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--site-theme-red);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.article-body-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #F8FAFC;
    margin: 28px 0 12px 0;
    line-height: 1.35;
}

.article-body-content ul, .article-body-content ol {
    margin-bottom: 24px;
    padding-left: 26px;
}

.article-body-content li {
    margin-bottom: 10px;
    color: #CBD5E1;
    line-height: 1.7;
}

.article-body-content blockquote {
    border-left: 4px solid var(--site-theme-red);
    background: rgba(227, 0, 0, 0.06);
    padding: 20px 24px;
    margin: 28px 0;
    font-style: italic;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: #F1F5F9;
    font-size: 1.08rem;
    line-height: 1.75;
}

/* ==========================================================================
   MODAL PDF VIEWER
   ========================================================================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 9, 17, 0.92);
    z-index: 2000;
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-secondary);
    width: 90%;
    max-width: 1100px;
    height: 88vh;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-red);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-main);
}

.modal-header {
    padding: 14px 22px;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFF;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--site-theme-red);
}

.modal-body {
    flex: 1;
    background-color: #333;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 36px 0;
}

.page-item {
    padding: 8px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
}

.page-item.active, .page-item:hover {
    background: var(--site-theme-red);
    color: #FFF;
    border-color: var(--site-theme-red);
}

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

.main-footer {
    background: var(--bg-secondary);
    border-top: 3px solid var(--site-theme-red);
    padding: 55px 0 22px 0;
    margin-top: 55px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: #FFF;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: var(--site-theme-red);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
}

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
}

.admin-sidebar .brand {
    padding: 0 24px 24px 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.admin-menu {
    list-style: none;
}

.admin-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
}

.admin-menu a:hover, .admin-menu a.active {
    background-color: var(--bg-primary);
    color: var(--site-theme-red);
    border-left: 4px solid var(--site-theme-red);
}

.admin-content {
    flex: 1;
    padding: 30px;
    background-color: var(--bg-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(227, 0, 0, 0.1);
    color: var(--site-theme-red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #FFF;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.data-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 30px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.data-table th, .data-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: var(--bg-secondary);
    font-family: var(--font-heading);
    color: var(--site-theme-red);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.terminal-console {
    background-color: #060911;
    border: 1px solid var(--border-red);
    border-radius: var(--radius-md);
    padding: 15px;
    font-family: monospace;
    color: #10B981;
    height: 220px;
    overflow-y: auto;
    font-size: 0.85rem;
    margin-top: 15px;
    white-space: pre-wrap;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.form-control {
    width: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    outline: none;
}

.form-control:focus {
    border-color: var(--site-theme-red);
}

.btn-primary {
    background: var(--site-theme-red);
    color: #FFF;
    font-family: var(--font-heading);
    font-weight: 800;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #B30000;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
    .hero-mosaic-grid { grid-template-columns: 1fr; }
    .hero-tile-card { height: 360px; }
    .articles-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .magazine-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .egazete-layout { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .articles-grid-4 { grid-template-columns: 1fr; }
    .magazine-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; }
}

/* ==========================================================================
   ENRICHED DEFENSE REPORT TYPOGRAPHY & TECHNICAL TABLES
   ========================================================================== */

.defense-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 0.95rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.defense-specs-table th {
    background: var(--bg-secondary);
    color: var(--site-theme-red);
    font-family: var(--font-heading);
    padding: 12px 18px;
    text-align: left;
    border-bottom: 2px solid var(--site-theme-red);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.defense-specs-table td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-color);
    color: #E2E8F0;
}

.defense-specs-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

.defense-specs-table tr:hover {
    background-color: rgba(227, 0, 0, 0.05);
}

.tactical-list {
    margin: 22px 0;
    padding-left: 0;
    list-style: none;
}

.tactical-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: #E2E8F0;
    line-height: 1.7;
}

.tactical-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--site-theme-red);
    font-size: 1.1rem;
}

/* ==========================================================================
   RICH HOMEPAGE MODULES (DEFENCE TELEMETRY, MULTIMEDIA, EVENTS, NEWSLETTER)
   ========================================================================== */

.telemetry-stats-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--site-theme-red);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    margin: 24px 0 36px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    box-shadow: var(--shadow-main);
}

.telemetry-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.telemetry-icon {
    width: 44px;
    height: 44px;
    background: rgba(227, 0, 0, 0.12);
    border: 1px solid rgba(227, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--site-theme-red);
    font-size: 1.25rem;
}

.telemetry-val {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFF;
    line-height: 1.1;
}

.telemetry-label {
    font-size: 0.76rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spotlight-banner {
    background: linear-gradient(135deg, rgba(227, 0, 0, 0.15) 0%, rgba(11, 15, 25, 0.95) 100%), var(--bg-card);
    border: 1px solid var(--site-theme-red);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.spotlight-text h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #FFF;
    margin-bottom: 8px;
}

.spotlight-text p {
    color: #CBD5E1;
    font-size: 0.92rem;
    margin: 0;
}

.events-and-media-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.media-gallery-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.media-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.media-card {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 180px;
    border: 1px solid var(--border-color);
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(227, 0, 0, 0.88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(227, 0, 0, 0.6);
}

.media-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    padding: 10px 12px;
    color: #FFF;
    font-size: 0.82rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.events-calendar-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.event-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.event-item:last-child {
    border-bottom: none;
}

.event-date-badge {
    background: var(--bg-secondary);
    border: 1px solid var(--site-theme-red);
    color: var(--site-theme-red);
    text-align: center;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    min-width: 54px;
}

.event-date-badge .day {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1;
}

.event-date-badge .month {
    font-size: 0.68rem;
    text-transform: uppercase;
}

.event-details h5 {
    color: #FFF;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.event-details p {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin: 0;
}

.newsletter-box {
    background: linear-gradient(90deg, #111726 0%, #1A2338 100%);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--site-theme-red);
    border-radius: var(--radius-md);
    padding: 36px;
    margin: 40px 0;
    text-align: center;
}

.newsletter-box h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #FFF;
    margin-bottom: 10px;
}

.newsletter-box p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 24px auto;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: #FFF;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    outline: none;
}

.newsletter-form button {
    background: var(--site-theme-red);
    color: #FFF;
    font-family: var(--font-heading);
    font-weight: 800;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .telemetry-stats-bar { grid-template-columns: repeat(2, 1fr); }
    .events-and-media-grid { grid-template-columns: 1fr; }
    .spotlight-banner { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   WORLD CLASS HERO & COLUMNIST COMPONENTS
   ========================================================================== */

.hero-worldclass-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 24px;
}

.main-lead-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 520px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.main-lead-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.main-lead-card:hover img {
    transform: scale(1.03);
}

.main-lead-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(6, 9, 17, 0.98) 0%, rgba(6, 9, 17, 0.75) 60%, transparent 100%);
    padding: 32px 36px;
    color: #FFF;
}

.main-lead-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 12px 0 10px 0;
}

.main-lead-title a {
    color: #FFF;
    transition: var(--transition);
}

.main-lead-title a:hover {
    color: var(--site-theme-red);
}

.main-lead-desc {
    color: #CBD5E1;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.secondary-hero-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 520px;
}

.secondary-hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    gap: 14px;
    padding: 12px;
    flex: 1;
    transition: var(--transition);
}

.secondary-hero-card:hover {
    border-color: var(--site-theme-red);
    transform: translateX(4px);
}

.sec-thumb {
    width: 130px;
    height: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.sec-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sec-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sec-details h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFF;
    margin: 6px 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sec-details h3 a {
    color: #FFF;
    transition: var(--transition);
}

.sec-details h3 a:hover {
    color: var(--site-theme-red);
}

.sec-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.columnists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.columnist-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--site-theme-red);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    transition: var(--transition);
}

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

.columnist-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--site-theme-red);
}

.columnist-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFF;
    margin-bottom: 2px;
}

.columnist-title {
    font-size: 0.76rem;
    color: var(--site-theme-red);
    margin-bottom: 8px;
    font-weight: 700;
}

.columnist-article-link a {
    color: #CBD5E1;
    font-size: 0.88rem;
    font-style: italic;
    transition: var(--transition);
}

.columnist-article-link a:hover {
    color: #FFF;
}

@media (max-width: 1024px) {
    .hero-worldclass-grid { grid-template-columns: 1fr; }
    .secondary-hero-stack { height: auto; }
    .secondary-hero-card { height: 120px; }
    .columnists-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SECTOR TABS & DEFENSE COMPANY CATALOG STYLES
   ========================================================================== */

.sector-tabs-ribbon {
    display: flex;
    gap: 8px;
}

.sector-tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: #CBD5E1;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.sector-tab-btn:hover, .sector-tab-btn.active {
    background: var(--site-theme-red);
    color: #FFF;
    border-color: var(--site-theme-red);
}

.companies-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.company-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition);
}

.company-card:hover {
    border-color: var(--site-theme-red);
    transform: translateY(-3px);
}

.company-logo-badge {
    display: inline-block;
    background: var(--bg-secondary);
    border: 1px solid var(--site-theme-red);
    color: var(--site-theme-red);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.company-card h4 {
    color: #FFF;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    margin-bottom: 8px;
}

.company-card p {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.5;
}

.events-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 16px;
}

@media (max-width: 900px) {
    .companies-catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .events-grid-3 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   AUDIO PODCAST PLAYER & EQUALIZER ANIMATION
   ========================================================================== */

.audio-equalizer-bars {
    display: none;
    align-items: center;
    gap: 3px;
    height: 18px;
}

.audio-equalizer-bars.playing {
    display: flex;
}

.audio-equalizer-bars span {
    width: 3px;
    background: var(--site-theme-red);
    border-radius: 2px;
    animation: eqWave 0.8s ease-in-out infinite alternate;
}

.audio-equalizer-bars span:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.audio-equalizer-bars span:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.audio-equalizer-bars span:nth-child(3) { height: 40%; animation-delay: 0.2s; }
.audio-equalizer-bars span:nth-child(4) { height: 80%; animation-delay: 0.4s; }

@keyframes eqWave {
    0% { height: 20%; }
    100% { height: 100%; }
}
