/*
Theme Name: Create Theme (Kicksport24)
Theme URI: http://localhost/kicksport24
Author: Antigravity
Author URI: http://localhost/kicksport24
Description: A custom theme for Kicksport24 to work with Elementor Pro.
Version: 1.0.0
Text Domain: create_theme
*/

/* ----------------------------------------------------
   1. GLOBAL STYLES & CSS VARIABLES
   ---------------------------------------------------- */
:root {
    --primary-color: #071120;     /* Dark Blue/Navy */
    --accent-color: #e60000;      /* Vibrant Red */
    --accent-hover: #b30000;
    --bg-site: #f3f5f8;           /* Light grey background */
    --bg-card: #ffffff;           /* Card background */
    --text-color: #1a1a1a;        /* Dark grey text */
    --text-muted: #666666;       /* Medium grey text */
    --text-light: #999999;       /* Light grey text */
    --border-color: #e5e8ec;      /* Light border */
    --success-color: #2ec4b6;     /* Green for Closed Deal */
    --warning-color: #ff9f1c;     /* Orange for negotiating */
    --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
}

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

body {
    background-color: var(--bg-site);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

/* ----------------------------------------------------
   2. HEADER & TICKER
   ---------------------------------------------------- */
.site-header {
    background-color: var(--primary-color);
    color: #ffffff;
}

.header-top {
    max-width: var(--max-width);
    margin: 0 auto;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
    color: #ffffff;
}

.site-logo span {
    color: var(--accent-color);
}

.site-logo svg {
    height: 40px;
    margin-right: 10px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
}

.header-nav a {
    color: #cbd5e1;
    position: relative;
    padding: 8px 0;
}

.header-nav a:hover,
.header-nav .current-menu-item a {
    color: #ffffff;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.2s ease;
}

.header-nav a:hover::after,
.header-nav .current-menu-item a::after {
    width: 100%;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    width: 200px;
}

.header-search input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    width: 250px;
}

.header-search::before {
    content: "\2315"; /* unicode search icon */
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 18px;
    pointer-events: none;
}

/* Red Breaking News Ticker */
.ticker-bar {
    background-color: var(--accent-color);
    color: #ffffff;
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.ticker-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.ticker-label {
    background-color: #000000;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 2px;
    margin-right: 15px;
    font-size: 12px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.ticker-content {
    overflow: hidden;
    position: relative;
    flex-grow: 1;
}

.ticker-text {
    display: inline-block;
    padding-left: 100%;
    animation: ticker-scroll 25s linear infinite;
}

.ticker-text span {
    margin-right: 50px;
}

@keyframes ticker-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Secondary header bar for category links */
.category-nav-bar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.category-nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
}

.category-nav-container a {
    color: var(--text-muted);
    padding: 5px 0;
}

.category-nav-container a:hover,
.category-nav-container .active a {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* ----------------------------------------------------
   3. LAYOUT STRUCTURE
   ---------------------------------------------------- */
.main-wrapper {
    max-width: var(--max-width);
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

@media (max-width: 991px) {
    .main-wrapper {
        grid-template-columns: 1fr;
    }
    .site-header .header-top {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }
}

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

/* Section Header (with red line on the left) */
.section-header {
    border-left: 4px solid var(--accent-color);
    padding-left: 12px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.3px;
}

/* ----------------------------------------------------
   4. HOME PAGE & CATEGORY COMPONETS
   ---------------------------------------------------- */

/* Featured Post Banner */
.featured-post-hero {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16/9;
}

.featured-post-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-post-hero:hover img {
    transform: scale(1.03);
}

.featured-post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
    padding: 30px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.post-badge {
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    align-self: flex-start;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.featured-post-hero h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.25;
}

.featured-post-hero .post-excerpt {
    font-size: 15px;
    color: #e2e8f0;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta-row {
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Latest News Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

.post-card {
    background-color: var(--bg-card);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.post-card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

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

.post-card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-badge {
    color: #64748b;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.post-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 65px; /* keep cards aligned */
}

.post-card-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

/* Horizontal List Layout (Category Page) */
.posts-list-horizontal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.post-card-horizontal {
    background-color: var(--bg-card);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    gap: 20px;
    padding: 15px;
    transition: transform 0.2s ease;
}

.post-card-horizontal:hover {
    transform: translateY(-2px);
}

.post-card-horizontal-thumb {
    width: 220px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.post-card-horizontal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-horizontal-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-horizontal h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.post-card-horizontal .post-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 576px) {
    .post-card-horizontal {
        flex-direction: column;
    }
    .post-card-horizontal-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}

.load-more-btn {
    display: block;
    width: 100%;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px;
    text-align: center;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.load-more-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* ----------------------------------------------------
   5. SINGLE ARTICLE LAYOUT
   ---------------------------------------------------- */
.breadcrumbs {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

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

.article-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.25;
}

.article-meta-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #cbd5e1;
    overflow: hidden;
}

.author-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-color);
}

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

.share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.share-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.article-featured-img {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.article-caption {
    font-size: 13px;
    color: var(--text-muted);
    border-left: 3px solid var(--accent-color);
    padding-left: 10px;
    margin-bottom: 30px;
    font-style: italic;
}

.article-content {
    font-size: 16px;
    line-height: 1.7;
    color: #2d3748;
}

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

/* Lead text style (bold and left red border) */
.article-lead,
.article-content > p:first-of-type {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    border-left: 4px solid var(--accent-color);
    padding-left: 16px;
    margin-bottom: 25px !important;
    color: var(--primary-color);
}

.article-content h2 {
    font-size: 24px;
    margin: 35px 0 15px;
    position: relative;
    padding-bottom: 8px;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article-tag {
    background-color: #eaeff5;
    color: var(--primary-color);
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
}

.article-tag:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

/* ----------------------------------------------------
   6. MATCH SCORE WIDGET (Single page inline)
   ---------------------------------------------------- */
.match-score-widget {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.match-score-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.match-score-body {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.score-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 35%;
    text-align: center;
}

.score-team-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.score-team-logo.mci { background-color: #6cabdd; color: #fff; }
.score-team-logo.whu { background-color: #7a263a; color: #fff; }

.score-team-name {
    font-weight: 700;
    font-size: 15px;
}

.score-team-status {
    font-size: 11px;
    color: var(--accent-color);
    font-weight: 700;
}

.score-board {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30%;
}

.score-numbers {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
    font-family: var(--font-heading);
}

.score-status {
    background-color: #e2e8f0;
    color: var(--text-muted);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    margin-top: 5px;
}

/* ----------------------------------------------------
   7. SIDEBAR WIDGETS
   ---------------------------------------------------- */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: var(--bg-card);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sidebar-widget-header {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 12px 18px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-widget-header span.widget-info {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.sidebar-widget-body {
    padding: 15px;
}

/* Standings Table Widget */
.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.standings-table th {
    text-align: left;
    color: var(--text-light);
    font-weight: 700;
    padding: 8px 6px;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    text-transform: uppercase;
}

.standings-table td {
    padding: 10px 6px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.standings-table tr:last-child td {
    border-bottom: none;
}

.standings-rank {
    font-weight: 700;
    color: var(--text-muted);
    width: 25px;
}

.standings-team {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.standings-team-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #cbd5e1;
    display: inline-block;
    flex-shrink: 0;
}

.standings-played {
    color: var(--text-muted);
}

.standings-points {
    font-weight: 700;
    text-align: right;
}

.widget-footer-link {
    display: block;
    text-align: center;
    padding-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    margin-top: 5px;
}

.widget-footer-link:hover {
    color: var(--accent-color);
}

/* Transfer Center Widget */
.transfer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.transfer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.transfer-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.transfer-player-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.transfer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e2e8f0;
    overflow: hidden;
}

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

.transfer-details {
    display: flex;
    flex-direction: column;
}

.transfer-name {
    font-weight: 700;
    font-size: 13px;
}

.transfer-path {
    font-size: 11px;
    color: var(--text-muted);
}

.transfer-badge {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.transfer-badge.closed {
    background-color: rgba(46, 196, 182, 0.15);
    color: #0b9385;
}

.transfer-badge.nego {
    background-color: rgba(230, 0, 0, 0.1);
    color: var(--accent-color);
}

/* Editor's Picks Widget */
.picks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.picks-list li {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
}

.picks-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.picks-list li a:hover {
    color: var(--accent-color);
}

/* Ad Placeholder */
.ad-widget {
    background-color: #e2e8f0;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    color: var(--text-light);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 6px;
}

/* Fixtures Widget */
.fixture-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fixture-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.fixture-row:hover {
    background-color: #f8fafc;
}

.fixture-info {
    display: flex;
    flex-direction: column;
}

.fixture-date {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.fixture-teams {
    font-weight: 700;
    margin-top: 2px;
}

.fixture-arrow {
    color: var(--text-light);
    font-weight: bold;
}

/* Scorers Widget */
.scorers-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scorer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.scorer-row:last-child {
    border-bottom: none;
}

.scorer-player {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.scorer-num {
    color: var(--accent-color);
    font-weight: 700;
    width: 15px;
}

.scorer-goals {
    font-weight: 700;
    color: var(--primary-color);
}

/* Newsletter Widget */
.newsletter-widget {
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 25px;
    text-align: center;
}

.newsletter-icon {
    font-size: 32px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.newsletter-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.newsletter-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 14px;
    outline: none;
}

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

.newsletter-form button {
    width: 100%;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.newsletter-form button:hover {
    background-color: var(--accent-color);
}

/* Related News / Highlights Widget (with Thumbnails) */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.related-thumb {
    width: 70px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 3px;
    overflow: hidden;
    background-color: #cbd5e1;
    position: relative;
}

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

.related-thumb.video::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-size: 14px;
}

.related-title {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ----------------------------------------------------
   8. FOOTER STYLES
   ---------------------------------------------------- */
.site-footer {
    background-color: #000000;
    color: #94a3b8;
    font-size: 14px;
    padding-top: 40px;
    border-top: 4px solid var(--accent-color);
}

.footer-widgets {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-widget-col h4 {
    color: #ffffff;
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

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

.footer-widget-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-widget-col ul a {
    color: #94a3b8;
}

.footer-widget-col ul a:hover {
    color: #ffffff;
}

.footer-about-logo {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-about-logo span {
    color: var(--accent-color);
}

.footer-about-desc {
    line-height: 1.6;
}

.footer-copyright-bar {
    border-top: 1px solid #1e293b;
    padding: 20px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
    background-color: #0b0f19;
}

/* ----------------------------------------------------
   9. RESPONSIVE NEW HEADER
   ---------------------------------------------------- */
.header-top-new {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    height: 80px;
    position: relative;
    background: #0c1c3a;
}
.site-logo-new svg {
    height: 40px;
    display: block;
}
.header-nav-section {
    flex: 1;
    display: flex;
    justify-content: center;
}
.header-nav-new {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-nav-new a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}
.header-nav-new a:hover {
    color: #fff;
}
.header-actions-section {
    display: flex;
    align-items: center;
    gap: 15px;
}
.search-container-new {
    position: relative;
    display: flex;
    align-items: center;
}
.search-toggle-btn, .menu-toggle-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}
.menu-toggle-btn {
    display: none; /* Hidden on desktop */
}
.search-form-new {
    display: block;
}
.search-form-new input {
    background: #1e293b;
    color: #fff;
    border: 1px solid #334155;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    outline: none;
    width: 220px;
    transition: width 0.3s ease;
}
.search-form-new input:focus {
    width: 260px;
    border-color: var(--accent-color);
}

/* Mobile Media Queries */
@media (max-width: 991px) {
    .menu-toggle-btn {
        display: flex; /* Show hamburger on mobile/tablet */
    }
    .header-nav-section {
        display: none; /* Hide standard menu row */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #0c1c3a;
        z-index: 999;
        border-top: 1px solid #1e293b;
        border-bottom: 1px solid #1e293b;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    }
    .header-nav-section.active {
        display: block;
    }
    .header-nav-new {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .header-nav-new a {
        display: block;
        width: 100%;
        padding: 8px 0;
        font-size: 16px;
    }
    
    /* Toggle Search Input on click for mobile */
    .search-form-new {
        display: none;
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background: #0c1c3a;
        padding: 15px 20px;
        z-index: 998;
        border-top: 1px solid #1e293b;
        border-bottom: 1px solid #1e293b;
    }
    .search-form-new.active {
        display: block;
    }
    .search-form-new input {
        width: 100% !important;
    }
    .ticker-bar {
        display: none !important; /* Hide ticker on mobile matching Figma */
    }
}
