:root {
    --primary-navy: #1B365D;    /* Main Navy Blue from logo */
    --accent-red: #C8102E;      /* Crimson Red from logo */
    --dark-navy: #11223F;      /* Darker shade for category bar */
    --light-bg: #F4F6F9;       /* Soft page background */
    --text-dark: #1F2937;      /* Primary text color */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

/* Header & Logo Bar */
.mobile-header {
    background: var(--primary-navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    color: #ffffff;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
}

.brand-logo img {
    max-height: 42px;
    width: auto;
    display: block;
    background: #ffffff;
    border-radius: 4px;
    padding: 2px;
}

.fallback-logo {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.header-right a {
    color: #ffffff;
    text-decoration: none;
}

/* Red Live TV Badge */
.live-btn {
    background: var(--accent-red);
    color: #ffffff !important;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 11px;
}

/* Horizontal Category Navigation Bar */
.cat-nav {
    background: var(--dark-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-scroll {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

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

.nav-scroll a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
}

.nav-scroll a.active {
    background-color: var(--accent-red);
}

/* Breaking News Ticker */
.breaking-banner {
    display: flex;
    background: #ffffff;
    margin-top: 6px;
    align-items: center;
    border: 1px solid #e0e0e0;
}

.breaking-tag {
    background: var(--accent-red);
    color: #ffffff;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    text-transform: uppercase;
}

.breaking-text {
    width: 100%;
    font-size: 13px;
    padding: 0 10px;
    color: var(--text-dark);
}

/* Main Content Layout */
.main-content {
    padding: 12px 10px;
}

.hero-card {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    margin-bottom: 16px;
}

.image-wrapper {
    position: relative;
    width: 100%;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(27, 54, 93, 0.7);
    color: #ffffff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
}

.left-arrow { left: 10px; }
.right-arrow { right: 10px; }

.image-caption-overlay {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    text-align: center;
}

.image-caption-overlay span {
    background: var(--primary-navy);
    color: #ffffff;
    padding: 6px 14px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-title {
    padding: 14px;
    font-size: 18px;
    color: var(--primary-navy);
    line-height: 1.35;
    font-weight: 700;
}

/* Article Feed */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    display: flex;
    background: #ffffff;
    padding: 12px;
    border-radius: 6px;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border-left: 3px solid transparent;
    transition: border-color 0.2s;
}

.news-item:hover {
    border-left-color: var(--accent-red);
}

.news-thumb img {
    width: 110px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
}

.news-info h3 {
    font-size: 15px;
    color: var(--primary-navy);
    margin-bottom: 5px;
    line-height: 1.25;
}

.news-info p {
    font-size: 12px;
    color: #555555;
    line-height: 1.35;
}

/* Footer */
.footer {
    background: var(--dark-navy);
    text-align: center;
    padding: 18px;
    font-size: 12px;
    color: #a0aec0;
    margin-top: 25px;
}
