/* ============================================
   BBC-STYLE NEWS THEME
   Clean, Minimal, Professional
   ============================================ */

/* CSS Variables */
:root {
    --bbc-red: #b80000;
    --bbc-dark-red: #8b0000;
    --text-black: #1a1a1a;
    --text-dark: #333333;
    --text-gray: #5a5a5a;
    --text-light: #6e6e6e;
    --text-muted: #888888;
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-gray: #ebebeb;
    --border-light: #e6e6e6;
    --border-gray: #d9d9d9;
    --link-blue: #0066cc;
    --font-sans: 'Hind Siliguri', 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Hind Siliguri', 'Noto Sans Bengali', Georgia, serif;
    --transition: all 0.2s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
}

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

a:hover {
    color: var(--bbc-red);
    text-decoration: underline;
}

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

/* ============================================
   BBC HEADER
   ============================================ */
.bbc-header {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header-top-bar {
    background: var(--bbc-red);
    padding: 10px 0;
}

.header-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.site-logo:hover {
    color: #fff;
    text-decoration: none;
}

.site-logo .logo-img {
    height: 45px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    background: #fff;
    padding: 5px 10px;
    border-radius: 4px;
}

.site-logo .logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-box {
    background: #fff;
    color: var(--bbc-red);
    padding: 4px 10px;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -1px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
}

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

.header-search {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

.header-search input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 12px;
    font-size: 14px;
    width: 180px;
}

.header-search input::placeholder {
    color: rgba(255,255,255,0.7);
}

.header-search input:focus {
    outline: none;
}

.header-search button {
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
}

/* Auth Buttons - Redesigned */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background: #fff;
    color: var(--bbc-red);
    text-decoration: none;
}

.btn-register {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: #fff;
    border: 2px solid #fff;
    color: var(--bbc-red);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-register:hover {
    background: var(--bg-light);
    border-color: var(--bg-light);
    color: var(--bbc-dark-red);
    text-decoration: none;
}

/* User Menu - When Logged In */
.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.user-btn:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
    text-decoration: none;
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #fff;
    color: var(--bbc-red);
    border-radius: 50%;
    font-size: 12px;
}

.user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu .dropdown-menu {
    min-width: 180px;
    padding: 8px 0;
    border: none;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.user-menu .dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-dark);
}

.user-menu .dropdown-item i {
    width: 20px;
    margin-right: 8px;
    color: var(--text-muted);
}

.user-menu .dropdown-item:hover {
    background: var(--bg-light);
    color: var(--bbc-red);
}

.user-menu .dropdown-item:hover i {
    color: var(--bbc-red);
}

.user-menu .logout-btn {
    width: 100%;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    color: var(--bbc-red);
}

.user-menu .logout-btn:hover {
    background: #ffebee;
}

.user-menu .dropdown-divider {
    margin: 8px 0;
}

/* Navigation Bar */
.nav-bar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-menu li a {
    display: block;
    padding: 14px 18px;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.nav-menu li a:hover {
    color: var(--bbc-red);
    text-decoration: none;
    background: var(--bg-light);
}

.nav-menu li.active a {
    color: var(--bbc-red);
    border-bottom-color: var(--bbc-red);
}

.mobile-menu-btn {
    display: none;
    background: var(--bbc-red);
    border: none;
    color: #fff;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
}

/* ============================================
   NEWS TICKER
   ============================================ */
.news-ticker {
    display: flex;
    align-items: stretch;
    background: var(--text-black);
    overflow: hidden;
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bbc-red);
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 2;
}

.ticker-label i {
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

.ticker-content {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 10px 0;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

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

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

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    padding: 0 15px;
    border-right: 1px solid #444;
}

.ticker-item:last-child {
    border-right: none;
}

.ticker-item:hover {
    color: var(--bbc-red);
    text-decoration: none;
}

.ticker-breaking {
    background: var(--bbc-red);
    color: #fff;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@media (max-width: 768px) {
    .ticker-label {
        padding: 8px 12px;
        font-size: 12px;
    }

    .ticker-item {
        font-size: 13px;
        padding: 0 10px;
    }

    .ticker-content {
        animation-duration: 20s;
    }
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 24px 0 48px;
    background: var(--bg-white);
}

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

/* ============================================
   BBC HOME PAGE
   ============================================ */
.bbc-home {
    padding-top: 8px;
}

.bbc-page {
    padding-top: 8px;
}

/* ============================================
   FEATURED SECTION
   ============================================ */
.featured-section {
    margin-bottom: 32px;
}

.featured-main {
    position: relative;
    margin-bottom: 24px;
}

.featured-main > a {
    display: block;
}

.featured-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-main .placeholder-img {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.featured-main .placeholder-img.red {
    background: linear-gradient(135deg, #b80000, #8b0000);
}

.featured-content {
    padding: 20px 0;
}

.featured-category {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--bbc-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.featured-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.featured-title a {
    color: var(--text-black);
}

.featured-title a:hover {
    color: var(--bbc-red);
    text-decoration: underline;
}

.featured-summary {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 12px;
}

.featured-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.featured-meta span {
    margin-right: 16px;
}

.featured-label,
.breaking-label {
    display: inline-block;
    background: var(--bbc-red);
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 10px;
    margin-bottom: 8px;
}

/* Featured Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.featured-item {
    display: flex;
    flex-direction: column;
}

.featured-item-img {
    display: block;
    margin-bottom: 10px;
}

.featured-item-img img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.featured-item-img .placeholder-img {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.featured-item-content h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 6px;
}

.featured-item-content h3 a {
    color: var(--text-black);
}

.featured-item-content h3 a:hover {
    color: var(--bbc-red);
    text-decoration: underline;
}

.item-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   CATEGORY SECTIONS
   ============================================ */
.category-section {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.category-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-black);
    margin: 0;
}

.see-all {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

.see-all:hover {
    color: var(--bbc-red);
}

/* ============================================
   ARTICLE CARDS
   ============================================ */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-list {
    display: flex;
    flex-direction: column;
}

.article-card {
    background: var(--bg-white);
}

.article-card .article-img {
    display: block;
    position: relative;
    overflow: hidden;
}

.article-card .article-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.article-card .article-img .placeholder-img {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.article-card .article-img .placeholder-img.red {
    background: linear-gradient(135deg, #b80000, #8b0000);
}

.breaking-tag,
.featured-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--bbc-red);
    color: #fff;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    max-width: calc(100% - 20px);
    white-space: nowrap;
    box-sizing: border-box;
}

.featured-tag {
    background: #ffc107;
    color: #000;
}

.article-content {
    padding: 14px 0;
}

.article-category {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--bbc-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.article-content h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 8px;
}

.article-content h3 a {
    color: var(--text-black);
}

.article-content h3 a:hover {
    color: var(--bbc-red);
    text-decoration: underline;
}

.article-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 8px;
}

.article-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.article-meta span {
    margin-right: 12px;
}

/* Horizontal Article Card */
.article-card.horizontal {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.article-card.horizontal:last-child {
    border-bottom: none;
}

.article-card.horizontal .article-img {
    flex-shrink: 0;
    width: 200px;
    overflow: hidden;
    isolation: isolate;
    position: relative;
}

.article-card.horizontal .breaking-tag,
.article-card.horizontal .featured-tag {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-card.horizontal .article-img img,
.article-card.horizontal .article-img .placeholder-img {
    height: 130px;
}

.article-card.horizontal .article-content {
    flex: 1;
    padding: 0;
}

/* ============================================
   MOST READ SIDEBAR
   ============================================ */
.most-read {
    background: var(--bg-light);
    padding: 20px;
    margin-bottom: 24px;
}

.most-read h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-gray);
}

.most-read-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.most-read-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-gray);
}

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

.most-read-item .rank {
    font-size: 28px;
    font-weight: 700;
    color: var(--bbc-red);
    line-height: 1;
    min-width: 32px;
}

.most-read-item a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-black);
    line-height: 1.3;
}

.most-read-item a:hover {
    color: var(--bbc-red);
    text-decoration: underline;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar-box {
    background: var(--bg-light);
    padding: 20px;
    margin-bottom: 24px;
}

.sidebar-box h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-gray);
}

.sidebar-categories .category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-categories .category-list li {
    border-bottom: 1px solid var(--border-gray);
}

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

.sidebar-categories .category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: var(--text-dark);
    font-size: 14px;
}

.sidebar-categories .category-list a:hover {
    color: var(--bbc-red);
}

.sidebar-categories .category-list .count {
    background: var(--bg-gray);
    color: var(--text-muted);
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 10px;
}

.quick-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.quick-links li {
    border-bottom: 1px solid var(--border-gray);
}

.quick-links li:last-child {
    border-bottom: none;
}

.quick-links a {
    display: block;
    padding: 10px 0;
    color: var(--text-dark);
    font-size: 14px;
}

.quick-links a:hover {
    color: var(--bbc-red);
}

/* Newsletter Box */
.newsletter-box {
    background: var(--bbc-red);
    color: #fff;
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.newsletter-box h2,
.newsletter-box h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    border: none;
    padding: 0;
}

.newsletter-box p {
    font-size: 14px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.newsletter-box input {
    width: 100%;
    padding: 12px;
    border: none;
    font-size: 14px;
    margin-bottom: 10px;
}

.newsletter-box button {
    width: 100%;
    padding: 12px;
    background: #fff;
    color: var(--bbc-red);
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-box button:hover {
    background: var(--bg-light);
}

/* ============================================
   PAGE HEADERS
   ============================================ */
.page-header {
    padding: 24px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 8px;
}

.page-header p {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
}

.page-header.breaking {
    background: var(--bbc-red);
    color: #fff;
    padding: 30px;
    margin: -24px -16px 24px;
    border-radius: 0;
    text-align: center;
}

.page-header.breaking h1 {
    color: #fff;
}

.page-header.breaking p {
    color: rgba(255,255,255,0.9);
}

.page-header.featured {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    padding: 30px;
    margin: -24px -16px 24px;
    text-align: center;
}

.page-header.featured h1 {
    color: #000;
}

.page-header.featured p {
    color: rgba(0,0,0,0.7);
}

/* ============================================
   SEARCH & FILTER
   ============================================ */
.search-filter-box {
    background: var(--bg-light);
    padding: 20px;
    margin-bottom: 24px;
}

.search-form-inline {
    display: flex;
    gap: 12px;
}

.search-input-group {
    display: flex;
    flex: 1;
    gap: 10px;
}

.search-input-group input,
.search-input-group select {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-gray);
    font-size: 14px;
}

.search-input-group input:focus,
.search-input-group select:focus {
    outline: none;
    border-color: var(--text-dark);
}

.search-input-group button {
    background: var(--bbc-red);
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.search-input-group button:hover {
    background: var(--bbc-dark-red);
}

.search-results-info {
    background: #e3f2fd;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
}

.search-results-info a {
    float: right;
    color: var(--bbc-red);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 0;
}

.pagination-nav a {
    padding: 10px 20px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
}

.pagination-nav a:hover {
    background: var(--bbc-red);
    color: #fff;
    text-decoration: none;
}

.page-info {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-light);
}

.empty-state h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-link {
    display: inline-block;
    padding: 12px 24px;
    background: var(--bbc-red);
    color: #fff;
    font-weight: 600;
}

.btn-link:hover {
    background: var(--bbc-dark-red);
    color: #fff;
    text-decoration: none;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.contact-card {
    background: var(--bg-light);
    padding: 30px;
    text-align: center;
}

.contact-card i {
    font-size: 32px;
    color: var(--bbc-red);
    margin-bottom: 16px;
}

.contact-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.contact-form-box {
    background: var(--bg-light);
    padding: 30px;
    margin-bottom: 24px;
}

.contact-form-box h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-form-box > p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

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

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

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-gray);
    font-size: 14px;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--text-dark);
}

.btn-submit {
    background: var(--bbc-red);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.btn-submit:hover {
    background: var(--bbc-dark-red);
}

.hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-gray);
    font-size: 14px;
}

.hours-list li:last-child {
    border-bottom: none;
}

.note {
    background: var(--bg-white);
    padding: 12px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

.quick-contact div {
    margin-bottom: 16px;
}

.quick-contact div:last-child {
    margin-bottom: 0;
}

.quick-contact strong {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.quick-contact a {
    color: var(--bbc-red);
    font-size: 14px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.content-section {
    margin-bottom: 32px;
}

.content-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.content-section .lead {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
}

.content-section p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 12px;
}

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

.value-item {
    background: var(--bg-light);
    padding: 20px;
}

.value-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--bbc-red);
}

.value-item p {
    font-size: 14px;
    margin: 0;
}

.coverage-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.coverage-grid span {
    background: var(--bg-light);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid var(--bbc-red);
}

.facts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.facts-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-gray);
    font-size: 14px;
}

.facts-list li:last-child {
    border-bottom: none;
}

.stats-box {
    background: var(--bbc-red);
    color: #fff;
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.stats-box .stat {
    margin-bottom: 20px;
}

.stats-box .stat:last-child {
    margin-bottom: 0;
}

.stats-box .number {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

.stats-box .label {
    font-size: 14px;
    opacity: 0.9;
}

.cta-box {
    background: var(--bg-light);
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.cta-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.btn-cta {
    display: inline-block;
    padding: 12px 24px;
    background: var(--bbc-red);
    color: #fff;
    font-weight: 600;
}

.btn-cta:hover {
    background: var(--bbc-dark-red);
    color: #fff;
    text-decoration: none;
}

/* ============================================
   FOOTER - BBC Style
   ============================================ */
.bbc-footer {
    background: var(--text-black);
    color: #fff;
    padding: 32px 0;
    margin-top: 48px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #333;
}

.footer-nav a {
    color: #fff;
    font-size: 14px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #333;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
}

.footer-social a:hover {
    background: var(--bbc-red);
    text-decoration: none;
}

.footer-copyright {
    font-size: 13px;
    color: #aaa;
}

/* ============================================
   FORMS - General
   ============================================ */
.form-control {
    border: 1px solid var(--border-gray);
    border-radius: 0;
    padding: 12px 16px;
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--text-dark);
    box-shadow: none;
    outline: none;
}

.btn {
    border-radius: 0;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--bbc-red);
    border-color: var(--bbc-red);
    color: #fff;
}

.btn-primary:hover {
    background: var(--bbc-dark-red);
    border-color: var(--bbc-dark-red);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    border-radius: 0;
    border: none;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.alert-danger {
    background: #ffebee;
    color: #c62828;
}

.alert-info {
    background: #e3f2fd;
    color: #1565c0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top-content {
        flex-direction: column;
        gap: 10px;
    }

    .header-search {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        width: 100%;
    }

    .nav-bar .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border-light);
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu li a {
        padding: 12px 16px;
        border-bottom: 1px solid var(--border-light);
    }

    .featured-main img,
    .featured-main .placeholder-img {
        height: 250px;
    }

    .featured-title {
        font-size: 24px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .article-card.horizontal {
        flex-direction: column;
    }

    .article-card.horizontal .article-img {
        width: 100%;
    }

    .article-card.horizontal .article-img img,
    .article-card.horizontal .article-img .placeholder-img {
        height: 200px;
    }

    .search-input-group {
        flex-direction: column;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .page-header.breaking,
    .page-header.featured {
        margin: -24px -16px 24px;
        padding: 24px 16px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }

    .page-header h1 {
        font-size: 26px;
    }

    .section-header h2 {
        font-size: 18px;
    }

    .featured-title {
        font-size: 22px;
    }

    .article-content h3 {
        font-size: 16px;
    }

    .most-read-item .rank {
        font-size: 24px;
    }

    .most-read-item a {
        font-size: 14px;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-red { color: var(--bbc-red); }
.bg-red { background-color: var(--bbc-red); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
