/* ==========================================================================
   G18 News Public Website Stylesheet
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
    --primary: #ef4444;      /* Vibrant red */
    --primary-hover: #dc2626;
    --background: #f8fafc;  /* Soft slate bg */
    --surface: #ffffff;
    --text: #0f172a;        /* Deep slate text */
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --radius: 12px;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(226, 232, 240, 0.8);
    --red-pulse: rgba(239, 68, 68, 0.2);
}

[data-theme="dark"] {
    --background: #0f172a;  /* Dark slate bg */
    --surface: #1e293b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --glass-bg: rgba(30, 41, 59, 0.75);
    --glass-border: rgba(51, 65, 85, 0.8);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Header & Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.logo-red {
    background-color: var(--primary);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 6px;
    margin-right: 4px;
}

.logo-text {
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    background-color: var(--primary);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    transition: transform 0.2s, background-color 0.2s;
}

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

/* Nav actions group */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle, .mobile-toggle {
    background: none;
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.theme-toggle:hover {
    background-color: var(--border);
}

.mobile-toggle {
    display: none;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropbtn {
    background: none;
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 20px;
    color: var(--text);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-dropbtn:hover {
    background-color: var(--border);
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--surface);
    min-width: 140px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    z-index: 100;
    overflow: hidden;
    margin-top: 8px;
}

.lang-dropdown-content a {
    color: var(--text);
    padding: 10px 16px;
    display: block;
    font-size: 13px;
    font-weight: 500;
}

.lang-dropdown-content a:hover {
    background-color: var(--border);
}

.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}

.cms-login-link {
    font-size: 13px;
    font-weight: 600;
    border: 1px dashed var(--primary);
    color: var(--primary);
    padding: 8px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cms-login-link:hover {
    background-color: var(--primary);
    color: #ffffff;
}

/* Text pulsing animation for live indicators */
.text-pulse {
    position: relative;
}

.text-pulse i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

.text-red {
    color: var(--primary);
}

/* Main Content Wrapper */
.main-wrapper {
    margin-top: 70px;
    min-height: calc(100vh - 350px);
}

/* Search Banner */
.search-banner {
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(239, 68, 68, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.banner-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    z-index: 1;
}

.banner-content h1 {
    font-size: 42px;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.banner-content p {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 30px;
}

.search-input-group {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    max-width: 600px;
    margin: 0 auto;
}

.search-icon {
    color: #94a3b8;
    font-size: 18px;
    margin-right: 12px;
}

.search-input-group input {
    background: none;
    border: none;
    outline: none;
    color: #ffffff;
    width: 100%;
    font-size: 15px;
}

.search-input-group input::placeholder {
    color: #64748b;
}

.search-input-group button {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    outline: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(239,68,68,0.4);
}

.search-input-group button:hover {
    background-color: var(--primary-hover);
}

/* Category Bar */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.cat-link {
    background-color: var(--surface);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.cat-link:hover, .cat-link.active {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 6px rgba(239, 68, 68, 0.2);
}

/* Layout Columns */
.two-column-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
}

/* News Section and Card styling */
.section-title {
    font-size: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.red-bar {
    width: 6px;
    height: 28px;
    background-color: var(--primary);
    border-radius: 4px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.news-card-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.news-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.news-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-card-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

.news-card-summary {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 16px;
    flex-grow: 1;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: auto;
}

.read-more-btn {
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-more-btn:hover {
    color: var(--primary-hover);
}

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

/* Sidebar Widgets */
.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background-color: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px;
    box-shadow: var(--shadow);
}

.widget h3 {
    font-size: 18px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.widget-live-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #b91c1c 100%);
    color: #ffffff;
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
}

.widget-link-btn {
    border: 1px solid var(--border);
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 13px;
}

.widget-link-btn:hover {
    background-color: var(--border);
}

/* Trending widget rank items */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trending-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.trend-rank {
    font-size: 32px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--border);
    line-height: 1;
}

.trending-item:hover .trend-rank {
    color: var(--primary);
}

.trend-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 2px;
    margin-bottom: 4px;
}

.trend-cat {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

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

/* Pagination */
.pagination-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 6px;
    list-style: none;
}

.pagination li a, .pagination li span {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background-color: var(--surface);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.pagination li.active span {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.pagination li a:hover {
    background-color: var(--border);
    color: var(--text);
}

/* Alert Boxes */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #1e3a8a;
}

[data-theme="dark"] .alert-info {
    color: #93c5fd;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #064e3b;
}

[data-theme="dark"] .alert-success {
    color: #a7f3d0;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #7f1d1d;
}

[data-theme="dark"] .alert-danger {
    color: #fca5a5;
}

/* Article View layout */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.breadcrumbs {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

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

.article-header {
    margin-bottom: 30px;
}

.category-badge {
    background-color: var(--border);
    color: var(--text);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.article-header h1 {
    font-size: 36px;
    margin-top: 12px;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.article-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.reporter-details {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reporter-avatar {
    width: 44px;
    height: 44px;
    background-color: var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
}

.reporter-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
}

.role-badge {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.article-stats {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    font-weight: 500;
}

/* TTS Widget style */
.tts-widget {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.tts-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tts-info i {
    font-size: 20px;
}

.tts-info h5 {
    font-size: 14px;
    margin-bottom: 2px;
}

.tts-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-grow: 1;
    justify-content: flex-end;
}

.tts-btn {
    background-color: var(--text);
    color: var(--surface);
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.tts-progress-bar-container {
    width: 150px;
    height: 6px;
    background-color: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.tts-progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 3px;
}

/* Article Media Layout */
.article-media-box {
    margin-bottom: 30px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.main-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.main-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
}

.media-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    background-color: var(--surface);
    padding: 16px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
    border: 1px solid var(--border);
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body-wrapper {
    display: grid;
    grid-template-columns: 1fr 11fr;
    gap: 30px;
    margin-top: 30px;
}

.sticky-share {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.sticky-share span {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.share-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.share-icon.fb { background-color: #3b5998; }
.share-icon.tw { background-color: #1da1f2; }
.share-icon.wa { background-color: #25d366; }
.share-icon.tg { background-color: #0088cc; }
.share-icon.copy { background-color: var(--text-muted); }

.article-content-body {
    font-size: 17px;
    line-height: 1.8;
}

.formatted-news-text p {
    margin-bottom: 20px;
}

.unformatted-news-text {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.unformatted-lead-badge {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.raw-box-content {
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    background-color: var(--background);
    padding: 18px;
    border-radius: 6px;
    border: 1px solid var(--border);
    white-space: pre-line;
}

/* Livestream view */
.livestream-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.livestream-header {
    margin-bottom: 30px;
}

.livestream-header h1 {
    font-size: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-dot {
    width: 12px;
    height: 12px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
}

.livestream-grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 30px;
}

.screen-frame {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    background-color: #000000;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.screen-frame iframe, .html5-live-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stream-info-bar {
    margin-top: 18px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.stream-info-bar h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.stream-info-bar .meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.live-badge {
    background-color: var(--primary);
    color: white;
    padding: 1px 6px;
    border-radius: 4px;
}

.channels-sidebar-section {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.channels-sidebar-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.channels-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.channel-card {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.channel-card.active {
    border-color: var(--primary);
    background-color: rgba(239, 68, 68, 0.05);
}

.channel-icon {
    font-size: 20px;
    color: var(--text-muted);
}

.channel-card.active .channel-icon {
    color: var(--primary);
}

.channel-details h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.channel-details p {
    font-size: 11px;
    color: var(--text-muted);
}

.status-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.live {
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.status-indicator.offline {
    background-color: var(--text-muted);
}

/* Podcasts Grid Layout */
.podcasts-page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.podcasts-header {
    text-align: center;
    margin-bottom: 40px;
}

.podcasts-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.podcasts-header p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.podcast-card {
    background-color: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.podcast-cover {
    height: 140px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    position: relative;
}

.podcast-cover.business {
    background: linear-gradient(135deg, #0d5c3a 0%, #064e3b 100%);
}

.podcast-cover.sports {
    background: linear-gradient(135deg, #7c2d12 0%, #451a03 100%);
}

.duration-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(0,0,0,0.6);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.podcast-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.podcast-info .date {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.podcast-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.podcast-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.audio-player-wrapper {
    margin-top: auto;
}

.podcast-audio-element {
    width: 100%;
    height: 36px;
}

/* Shorts vertical scrolling view */
.shorts-page-wrapper {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.shorts-title-header {
    text-align: center;
    margin-bottom: 16px;
}

.shorts-container {
    height: 70vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    background-color: #000000;
    /* Hide scrollbar */
    scrollbar-width: none;
}

.shorts-container::-webkit-scrollbar {
    display: none;
}

.short-video-card {
    height: 100%;
    width: 100%;
    position: relative;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
}

.short-video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
}

.video-action-buttons {
    position: absolute;
    bottom: 80px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    pointer-events: auto;
}

.action-btn {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.action-btn span {
    font-size: 10px;
    margin-top: 2px;
}

.video-details-overlay {
    max-width: 80%;
}

.video-details-overlay h4 {
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--primary);
}

.video-details-overlay p {
    font-size: 13px;
    line-height: 1.4;
}

/* Registration Page styling */
.registration-page-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

.registration-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.reg-header {
    text-align: center;
    margin-bottom: 30px;
}

.reg-icon {
    font-size: 44px;
    color: var(--primary);
    margin-bottom: 12px;
}

.reg-header h1 {
    font-size: 28px;
    margin-bottom: 6px;
}

.reg-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group label i {
    margin-right: 4px;
}

.form-group input, .form-group textarea, .form-group select {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text);
    outline: none;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-reg-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.submit-reg-btn:hover {
    background-color: var(--primary-hover);
}

/* Footer layout */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 0 20px;
    border-top: 4px solid var(--primary);
}

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

.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.social-links a:hover {
    background-color: var(--primary);
    color: white;
}

.footer-links-section h4, .footer-contact-section h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.footer-links-grid a {
    font-size: 13px;
}

.footer-links-grid a:hover {
    color: #ffffff;
}

.footer-contact-section p {
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 12px;
}

.nav-mobile-actions {
    display: none;
}

/* Responsive breakdowns */
@media(max-width: 900px) {
    .two-column-layout, .livestream-grid, .footer-container {
        grid-template-columns: 1fr;
    }
    .mobile-toggle {
        display: flex;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--surface);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.active {
        display: flex;
    }
    .theme-toggle-desktop, .lang-dropdown-desktop {
        display: none !important;
    }
    .nav-mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 16px;
        border-top: 1px solid var(--border);
        padding-top: 16px;
        margin-top: 8px;
        width: 100%;
    }
    .theme-toggle-mobile {
        background: none;
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 8px 16px;
        color: var(--text);
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        width: max-content;
        font-weight: 500;
    }
    .theme-toggle-mobile:hover {
        background-color: var(--border);
    }
    .lang-selection-mobile {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .lang-label-mobile {
        font-size: 14px;
        font-weight: 600;
        color: var(--text-muted);
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .lang-links-mobile {
        display: flex;
        gap: 10px;
    }
    .lang-link-mobile {
        background: none;
        border: 1px solid var(--border);
        border-radius: 15px;
        padding: 6px 16px;
        color: var(--text);
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s;
    }
    .lang-link-mobile:hover {
        border-color: var(--primary);
    }
    .lang-link-mobile.active {
        background-color: var(--primary);
        border-color: var(--primary);
        color: white;
    }
    .banner-content h1 {
        font-size: 32px;
    }
    .article-body-wrapper {
        grid-template-columns: 1fr;
    }
    .sticky-share {
        flex-direction: row;
        position: static;
        margin-bottom: 20px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}
