/* ============================================
   IMPORTACIÓN DE FUENTES
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;900&family=Source+Sans+Pro:wght@400;600;700&display=swap');

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --primary: #0d1b2a;
    --primary-light: #1b3a5c;
    --secondary: #007887;
    --gold: #ffd700;
    --accent: #007887;
    --text: #1a1a1a;
    --text-light: #4a4a4a;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 30px rgba(0,0,0,0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
    
    /* Fuentes */
    --font-primary: 'Inter', 'Source Sans Pro', 'Arial', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Colores adicionales */
    --color-text: #1a1a2e;
    --color-text-light: #6c757d;
    --color-accent: #007887;
    --max-width-content: 820px;
}

/* ============================================
   RESET Y BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text);
    background: var(--bg-light);
    line-height: 1.7;
}

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

a:hover {
    color: #005f6b;
}

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

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

/* ============================================
   SR-ONLY (Screen Reader Only)
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   BREAKING NEWS
   ============================================ */
.breaking-news {
    background: var(--secondary);
    color: var(--white);
    padding: 6px 0;
    overflow: hidden;
    border-bottom: 2px solid var(--primary);
}

.breaking-news .container {
    display: flex;
    align-items: center;
}

.breaking-label {
    background: rgba(255,255,255,0.15);
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
    margin-right: 15px;
}

.breaking-label i {
    margin-right: 5px;
}

.breaking-ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 35s linear infinite;
}

.breaking-ticker span {
    margin-right: 40px;
}

.breaking-ticker a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
}

.breaking-ticker a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

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