/* ============================================
   GLOBAL NEWS NETWORK - MAIN STYLESHEET
   ============================================ */

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
}

/* ===== TOP HEADER BAR ===== */
.top-bar {
    background: #1a1a1a;
    color: #fff;
    padding: 6px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Arial', sans-serif;
    font-size: 12px;
}

.top-bar .date-time {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar .date-time span {
    color: #ccc;
}

.top-bar .breaking-ticker {
    flex: 1;
    margin: 0 30px;
    overflow: hidden;
    position: relative;
    height: 20px;
}

.ticker-content {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-content span {
    padding: 0 50px;
    color: #ff4444;
    font-weight: bold;
}

.ticker-content span.breaking::before {
    content: "● ";
    color: #ff4444;
}

.ticker-content span::before {
    content: "● ";
    color: #888;
}

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

.top-bar .social-links a {
    color: #ccc;
    text-decoration: none;
    margin-left: 12px;
    font-size: 14px;
    transition: color 0.2s;
}

.top-bar .social-links a:hover {
    color: #fff;
}

/* ===== MAIN HEADER ===== */
.main-header {
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #1a1a1a;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: #cc0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    font-family: Arial, sans-serif;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
    font-family: 'Arial Black', sans-serif;
}

.logo-text span {
    color: #cc0000;
}

.nav-primary {
    display: flex;
    gap: 8px;
    font-family: 'Arial', sans-serif;
}

.nav-primary a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 4px;
    transition: all 0.2s;
    position: relative;
}

.nav-primary a:hover {
    background: #f0f0f0;
    color: #cc0000;
}

.nav-primary a.live {
    color: #cc0000;
}

.nav-primary a.live::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #cc0000;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    animation: pulse 1.5s infinite;
}

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

.nav-primary .dropdown {
    position: relative;
}

.nav-primary .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    z-index: 100;
}

.nav-primary .dropdown:hover .dropdown-content {
    display: block;
}

.nav-primary .dropdown-content a {
    display: block;
    padding: 10px 20px;
    font-weight: 400;
    border-radius: 0;
    white-space: nowrap;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn, .menu-dots {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    padding: 8px;
    transition: color 0.2s;
}

.search-btn:hover, .menu-dots:hover {
    color: #cc0000;
}

.menu-dots {
    font-size: 24px;
    letter-spacing: 2px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: #fff;
    border-bottom: 2px solid #e0e0e0;
    padding: 10px 40px;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu a {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a:hover {
    color: #cc0000;
}

.mobile-menu.show {
    display: flex;
}

/* ===== SECONDARY NAV ===== */
.secondary-nav {
    padding: 0 40px;
    border-bottom: 2px solid #e0e0e0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

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

.secondary-nav a {
    display: inline-block;
    padding: 14px 18px;
    text-decoration: none;
    color: #333;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
    border-bottom: 3px solid transparent;
}

.secondary-nav a:hover,
.secondary-nav a.active {
    color: #cc0000;
    border-bottom-color: #cc0000;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px;
    display: grid;
    grid-template-columns: 350px 1fr 320px;
    gap: 30px;
}

/* ===== LEFT COLUMN - HERO STORY ===== */
.hero-section {
    padding-top: 10px;
}

.live-badge {
    display: inline-block;
    background: #cc0000;
    color: #fff;
    padding: 4px 14px;
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-title a {
    color: #1a1a1a;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.hero-title a:hover {
    color: #cc0000;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 12px;
    font-family: 'Arial', sans-serif;
}

.timestamp {
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.related-links {
    margin-top: 15px;
}

.related-links a {
    display: block;
    color: #cc0000;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 0;
    line-height: 1.4;
}

.related-links a:hover {
    text-decoration: underline;
}

/* ===== CENTER - HERO IMAGE ===== */
.hero-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.hero-image-container img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    padding: 30px 15px 12px;
    font-family: 'Arial', sans-serif;
    font-size: 11px;
}

/* ===== RIGHT SIDEBAR ===== */
.sidebar {
    padding-top: 0;
}

.sidebar-story {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
}

.sidebar-story:last-child {
    border-bottom: none;
}

.sidebar-story img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 12px;
    display: block;
}

.sidebar-story h3 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.sidebar-story h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

.sidebar-story h3 a:hover {
    color: #cc0000;
}

.sidebar-story .timestamp {
    margin-bottom: 0;
}

.first-on-badge {
    display: inline-block;
    border: 2px solid #1a1a1a;
    padding: 3px 10px;
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* ===== STORIES GRID ===== */
.stories-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid #cc0000;
}

.section-header h2 {
    font-family: 'Arial', sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.section-header a {
    color: #cc0000;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

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

.story-card {
    position: relative;
}

.story-card .card-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
}

.story-card .card-image img,
.story-card .card-image .placeholder-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.story-card .card-image .placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

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

.story-card .card-image .play-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(204, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.story-card .category-tag {
    display: inline-block;
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #cc0000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.story-card h3 {
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.story-card h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

.story-card h3 a:hover {
    color: #cc0000;
}

.story-card .timestamp {
    font-size: 11px;
}

/* ===== WIDGET SECTION ===== */
.widget-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.widget {
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
}

.widget-header {
    background: #1a1a1a;
    color: #fff;
    padding: 14px 20px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-header .auto-update {
    font-size: 11px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 5px;
}

.widget-header .auto-update .dot {
    width: 6px;
    height: 6px;
    background: #00cc44;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Weather Widget */
.weather-widget .weather-content {
    padding: 20px;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.weather-icon {
    font-size: 48px;
}

.weather-temp {
    font-size: 42px;
    font-weight: 700;
    font-family: 'Arial', sans-serif;
}

.weather-desc {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: #666;
}

.weather-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.weather-detail {
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.weather-detail .label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
}

.weather-detail .value {
    font-size: 16px;
    font-weight: 700;
    margin-top: 4px;
}

.weather-forecast {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.forecast-day {
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.forecast-day .day {
    font-size: 12px;
    color: #888;
    font-weight: 600;
}

.forecast-day .icon {
    font-size: 20px;
    margin: 5px 0;
}

.forecast-day .temp {
    font-size: 13px;
    font-weight: 700;
}

/* Stock & Crypto Widget */
.stock-widget .stock-content,
.crypto-widget .stock-content {
    padding: 0;
}

.stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    font-family: 'Arial', sans-serif;
    transition: background 0.2s;
}

.stock-item:hover {
    background: #f0f0f0;
}

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

.stock-name {
    font-weight: 700;
    font-size: 14px;
}

.stock-full-name {
    font-size: 11px;
    color: #888;
}

.stock-price {
    text-align: right;
}

.stock-value {
    font-weight: 700;
    font-size: 14px;
}

.stock-change {
    font-size: 12px;
    font-weight: 600;
}

.stock-change.up {
    color: #00aa44;
}

.stock-change.down {
    color: #cc0000;
}

.loading-stocks {
    padding: 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    color: #888;
    font-size: 13px;
}

/* ===== LOTTERY SECTION ===== */
.lottery-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 40px;
}

.lottery-timestamp {
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    color: #888;
}

.lottery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.lottery-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.lottery-card h4 {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.lottery-numbers {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.lottery-number {
    width: 36px;
    height: 36px;
    background: #cc0000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.lottery-number.bonus {
    background: #f39c12;
}

.lottery-meta {
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    color: #888;
}

.lottery-jackpot {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #cc0000;
    margin-top: 10px;
}

.lottery-loading {
    text-align: center;
    padding: 40px;
    color: #888;
    font-family: 'Arial', sans-serif;
}

/* ===== LIVE UPDATES FEED ===== */
.live-feed-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 40px;
}

.live-feed {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.live-feed-header {
    background: #cc0000;
    color: #fff;
    padding: 14px 25px;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-feed-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.live-feed-header .live-dot {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

.live-feed-header .update-counter {
    font-size: 13px;
    opacity: 0.9;
}

.feed-items {
    max-height: 400px;
    overflow-y: auto;
}

.feed-item {
    display: flex;
    gap: 20px;
    padding: 18px 25px;
    border-bottom: 1px solid #eee;
    animation: fadeInItem 0.5s ease;
}

.feed-item.new-item {
    background: #fff9e6;
}

@keyframes fadeInItem {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.feed-time {
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    color: #888;
    min-width: 80px;
    font-weight: 600;
}

.feed-content h4 {
    font-family: 'Arial', sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
}

.feed-content p {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.feed-content .feed-source {
    font-size: 12px;
    color: #cc0000;
    font-weight: 600;
    margin-top: 5px;
}

/* ===== OPINION / MORE STORIES ===== */
.opinion-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 40px;
}

.opinion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.opinion-card {
    border-top: 3px solid #cc0000;
    padding-top: 15px;
}

.opinion-card .opinion-label {
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #cc0000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.opinion-card h3 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.opinion-card h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

.opinion-card h3 a:hover {
    color: #cc0000;
}

.opinion-card .author {
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    color: #666;
}

.opinion-card .author strong {
    color: #1a1a1a;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 40px;
}

.video-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.video-main {
    position: relative;
}

.video-main .video-placeholder {
    width: 100%;
    height: 380px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 60px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.video-main .video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.video-main .video-placeholder .play-overlay {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(204, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.video-main h3 {
    margin-top: 12px;
    font-size: 20px;
}

.video-main h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

.video-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-thumb {
    display: flex;
    gap: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.video-thumb:hover {
    opacity: 0.8;
}

.video-thumb img {
    width: 140px;
    height: 85px;
    object-fit: cover;
    flex-shrink: 0;
}

.video-thumb .thumb-info h4 {
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 5px;
}

.video-thumb .thumb-info .duration {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    color: #888;
}

/* ===== NEWSLETTER SIGNUP ===== */
.newsletter-section {
    background: #1a1a1a;
    padding: 50px 40px;
    margin: 0;
}

.newsletter-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-inner h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 10px;
}

.newsletter-inner p {
    color: #aaa;
    font-family: 'Arial', sans-serif;
    font-size: 15px;
    margin-bottom: 25px;
}

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

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #444;
    background: #333;
    color: #fff;
    font-size: 15px;
    border-radius: 4px;
    font-family: 'Arial', sans-serif;
}

.newsletter-form input::placeholder {
    color: #888;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #cc0000;
}

.newsletter-form button {
    padding: 14px 30px;
    background: #cc0000;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'Arial', sans-serif;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: #aa0000;
}

#newsletterMessage {
    margin-top: 15px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    min-height: 20px;
}

#newsletterMessage.success { color: #00cc44; }
#newsletterMessage.error { color: #ff4444; }

/* ===== FOOTER ===== */
.footer {
    background: #111;
    color: #aaa;
    padding: 50px 40px 30px;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    color: #888;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Arial', sans-serif;
    font-size: 12px;
}

.footer-bottom a {
    color: #888;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 150px;
}

.search-overlay.active {
    display: flex;
}

.search-overlay-inner {
    width: 700px;
    max-width: 90%;
}

.search-overlay .close-search {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    transition: color 0.2s;
}

.search-overlay .close-search:hover {
    color: #cc0000;
}

.search-overlay input {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    border-bottom: 3px solid #fff;
    color: #fff;
    font-size: 36px;
    font-family: Georgia, serif;
    outline: none;
}

.search-overlay input::placeholder {
    color: #666;
}

#searchResults {
    margin-top: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.search-result-item {
    padding: 15px 0;
    border-bottom: 1px solid #333;
    color: #fff;
    font-family: 'Arial', sans-serif;
    cursor: pointer;
    transition: opacity 0.2s;
}

.search-result-item:hover {
    opacity: 0.8;
}

.search-result-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.search-result-item p {
    font-size: 13px;
    color: #888;
}

/* ===== NOTIFICATION TOAST ===== */
.notification-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1a1a1a;
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    max-width: 400px;
    border-left: 4px solid #cc0000;
}

.notification-toast.show {
    transform: translateY(0);
}

.notification-toast .notif-close {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 18px;
    margin-left: 10px;
    transition: color 0.2s;
}

.notification-toast .notif-close:hover {
    color: #fff;
}

/* ===== AUTO-UPDATE INDICATOR ===== */
.update-indicator {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #00aa44;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 9998;
}

.update-indicator.visible {
    opacity: 1;
}

.update-indicator .spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== SCROLLBAR STYLING ===== */
.feed-items::-webkit-scrollbar,
#searchResults::-webkit-scrollbar {
    width: 6px;
}

.feed-items::-webkit-scrollbar-track,
#searchResults::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.feed-items::-webkit-scrollbar-thumb,
#searchResults::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.feed-items::-webkit-scrollbar-thumb:hover,
#searchResults::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* ===== ADMIN PANEL STYLES ===== */
.admin-body {
    background: #f5f5f5;
    font-family: 'Arial', sans-serif;
}

.admin-header {
    background: #1a1a1a;
    color: #fff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-header .logo-text {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.admin-header .logo-text span {
    color: #cc0000;
}

.admin-nav {
    display: flex;
    gap: 5px;
}

.admin-nav a {
    color: #ccc;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: #cc0000;
    color: #fff;
}

.admin-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
}

.admin-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 25px;
}

.admin-card h2 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background: #f8f8f8;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.admin-table tr:hover {
    background: #fafafa;
}

.admin-table .status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-published { background: #d4edda; color: #155724; }
.status-draft { background: #fff3cd; color: #856404; }
.status-archived { background: #f8d7da; color: #721c24; }

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-family: 'Arial', sans-serif;
}

.btn-primary {
    background: #cc0000;
    color: #fff;
}

.btn-primary:hover {
    background: #aa0000;
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-success {
    background: #28a745;
    color: #fff;
}

.btn-danger {
    background: #dc3545;
    color: #fff;
}

.btn-sm {
    padding: 5px 12px;
    font-size: 12px;
}

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

.admin-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 14px;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: none;
    border-color: #cc0000;
}

.admin-form textarea {
    min-height: 200px;
    resize: vertical;
}

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

.flash-message {
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
}

.flash-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.flash-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.flash-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

.login-box .logo-text {
    font-size: 28px;
}

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

.stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

.stat-card .stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #cc0000;
}

.stat-card .stat-label {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
}

.pagination a {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.pagination a:hover {
    background: #cc0000;
    color: #fff;
    border-color: #cc0000;
}

.pagination .current {
    background: #cc0000;
    color: #fff;
}
