/* Layout 2: Content First - CSS */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* News Ticker */
.ticker {
    background: #fff;
    border-bottom: 1px solid #eee;
    height: 38px;
    display: flex;
    align-items: center;
    max-width: 1336px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 12px;
}

.ticker-label {
    color: #D32F2F;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.ticker-separator {
    color: #ccc;
    font-size: 14px;
    font-weight: 300;
}

.ticker-content {
    color: #333;
    font-size: 13px;
    font-weight: 400;
    flex: 1;
    line-height: 1.4;
}

/* City Links Section */
.city-links-section {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    padding: 14px 0;
    max-width: 1336px;
    margin: 0 auto;
}

.city-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 40px;
    justify-content: center;
    align-items: center;
}

.city-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.city-link-btn:hover {
    background: rgba(74, 144, 217, 0.08);
    border-color: rgba(74, 144, 217, 0.2);
    color: #4A90D9;
}

.city-link-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.city-link-name {
    font-weight: 500;
}

.city-link-temp {
    font-weight: 600;
    color: #4A90D9;
    margin-left: 2px;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1336px;
    margin: 0 auto;
    padding: 20px 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-main {
    font-size: 20px;
    font-weight: 800;
    color: #333;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-sub {
    font-size: 11px;
    font-weight: 600;
    color: #4A90D9;
    letter-spacing: 0.3px;
    line-height: 1;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-link.active {
    color: #333;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 3px;
    background: #4A90D9;
}

.nav-link:hover {
    color: #4A90D9;
}

/* Chart Search - Separate Block */
.chart-search {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    grid-column: 1 / 2;
    margin-bottom: 24px;
}

.chart-search-input {
    width: 100%;
    padding: 12px 20px 12px 44px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
    background: #fafafa;
}

.chart-search-input:focus {
    border-color: #4A90D9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.08);
}

.search-icon {
    position: absolute;
    left: 38px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

/* Search Autocomplete Dropdown */
.search-results {
    position: absolute;
    top: calc(100% - 8px);
    left: 24px;
    right: 24px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    max-height: 320px;
    overflow-y: auto;
    z-index: 100;
    padding: 4px;
    animation: searchDropIn 0.15s ease-out;
}

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

.search-result-item {
    padding: 9px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.search-result-item:hover,
.search-result-item.active {
    background: #f4f7fa;
}

.search-result-icon {
    color: #b0c4d8;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.search-result-item:hover .search-result-icon,
.search-result-item.active .search-result-icon {
    color: #6a9fd8;
}

.search-result-name {
    font-weight: 500;
    color: #444;
    font-size: 13.5px;
    letter-spacing: 0.01em;
}

.search-result-item:hover .search-result-name,
.search-result-item.active .search-result-name {
    color: #333;
}

.search-result-region {
    font-size: 12px;
    color: #aab;
    font-weight: 400;
    margin-left: 4px;
}

.search-no-results {
    padding: 20px 16px;
    text-align: center;
    color: #aaa;
    font-size: 13px;
    letter-spacing: 0.01em;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px;
}

/* Hero Chart */
.hero-chart {
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 380px;
    grid-template-rows: auto 1fr;
    gap: 0 24px;
    overflow: hidden;
}

.chart-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 19px 32px 32px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.chart-header::after {
    content: "";
    display: block;
    clear: both;
}

.chart-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.chart-controls {
    display: flex;
    gap: 8px;
}

.btn-toggle {
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-toggle.active {
    background: #4A90D9;
    color: #fff;
    border-color: #4A90D9;
}

.btn-toggle:hover:not(.active) {
    border-color: #4A90D9;
    background: #f0f7ff;
}

.chart-hint {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 16px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Forecast Chart Container */
.forecast-chart-container {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    border-radius: 8px;
    position: relative;
}

.forecast-chart-container::-webkit-scrollbar {
    height: 8px;
}

.forecast-chart-container::-webkit-scrollbar-track {
    background: #f8f8f8;
    border-radius: 4px;
}

.forecast-chart-container::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 4px;
}

.forecast-chart-container::-webkit-scrollbar-thumb:hover {
    background: #d0d0d0;
}

/* Forecast Chart */
.forecast-chart {
    display: flex;
    gap: 1px;
    position: relative;
    padding: 20px 0 60px 0;
    min-width: 100%;
    width: fit-content;
}

.forecast-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 6px 90px 6px;
    min-width: 64px;
    border-right: 1px solid #f0f0f0;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.forecast-day:nth-child(-n+3) {
    min-width: 74px;
}

.forecast-day:last-child {
    border-right: none;
}

.forecast-day:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Storm day styling */
.forecast-day.storm {
    background: linear-gradient(180deg, rgba(255, 235, 235, 0.4) 0%, rgba(255, 245, 245, 0.2) 100%);
}

.forecast-storm-label {
    font-size: 8px;
    color: #D32F2F;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

/* Weather labels container for fixed height */
.forecast-weather-info {
    min-height: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

/* Fog label */
.forecast-weather-label {
    font-size: 8px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.forecast-day-label {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-align: center;
}

.forecast-day-label.weekend {
    font-weight: 700;
    color: #4A90D9;
}

.forecast-day-date {
    font-size: 11px;
    font-weight: 500;
    color: #bbb;
    margin-bottom: 12px;
}

.forecast-temp {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forecast-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    object-fit: contain;
}


.forecast-rain {
    width: 24px;
    height: 50px;
    background: #f8f8f8;
    border-radius: 4px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.forecast-rain-bar {
    width: 100%;
    background: linear-gradient(180deg, #E3F2FD 0%, #BBDEFB 100%);
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease;
}

.forecast-rain-value {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.forecast-rain-value::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #BBDEFB;
    border-radius: 50%;
}

.forecast-rain-value::after {
    content: " mm";
    font-size: 9px;
    color: #999;
}

/* Wind Information */
.forecast-wind {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.forecast-wind-direction {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    transition: color 0.2s;
}

.forecast-day:hover .forecast-wind-direction {
    color: #999;
}

.forecast-wind-speed {
    font-size: 9px;
    color: #bbb;
    font-weight: 600;
    line-height: 1;
}

/* Temperature Line Overlay */
.forecast-line {
    position: absolute;
    top: 115px;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
    pointer-events: none;
}

.forecast-line path {
    stroke-width: 3;
    stroke-linejoin: round;
    stroke-linecap: round;
}

/* Live Weather - What's Happening Style */
.live-weather {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 19px 24px 32px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    grid-row: 1 / 3;
    grid-column: 2 / 3;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
}

.live-weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 0;
}

.live-weather h2 {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #111827 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.notification-bell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 8px;
    color: #6b7280;
    transition: all 0.3s ease;
    cursor: pointer;
}

.notification-bell:hover {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #374151;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.notification-bell svg {
    width: 16px;
    height: 16px;
}

.notification-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    border: 2px solid #fff;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0);
    }
}

.live-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    overflow-y: auto;
}

.live-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

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

.live-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex-shrink: 0;
}

.live-time-stamp {
    font-size: 11px;
    font-weight: 700;
    color: #ef4444;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    letter-spacing: -0.3px;
}

.live-icon {
    display: none;
}

.live-content {
    flex: 1;
    min-width: 0;
}

.live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    gap: 6px;
}

.live-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border: 1px solid;
}

.live-badge.alert {
    background: rgba(243, 244, 246, 0.5);
    color: #dc2626;
    border-color: rgba(0, 0, 0, 0.1);
}

.live-time {
    font-size: 10px;
    color: #999;
    white-space: nowrap;
}

.live-text {
    font-size: 12px;
    color: #1f2937;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.live-text strong {
    font-weight: 600;
    color: #111827;
}

/* Scrollbar styling for live weather */
.live-weather::-webkit-scrollbar {
    width: 6px;
}

.live-weather::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.live-weather::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.live-weather::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/* Live weather photo feature */
.live-item-photo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.live-item-photo .live-meta {
    width: auto;
}

.live-item-photo .live-content {
    display: flex;
    gap: 12px;
    flex: 1;
}

.live-photo-link {
    flex-shrink: 0;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.live-photo-link:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: scale(1.02);
}

.live-photo {
    width: 70px;
    height: 50px;
    object-fit: cover;
    display: block;
}

.live-text-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1;
    min-width: 0;
}

.live-text-link:hover .live-text {
    color: #4A90D9;
}

.live-text-link .live-text strong {
    font-weight: 600;
    color: #4A90D9;
}

/* SVG Icon animations - removed for subtler look */

/* Weather Cards */
.weather-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.weather-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e5e5;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.weather-card:hover {
    border-color: #d0d0d0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.weather-card-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.weather-card-icon svg {
    width: 24px;
    height: 24px;
}

.weather-card-content {
    flex: 1;
}

.weather-card-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    color: #999;
}

.weather-card-value {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #000;
}

.weather-card-unit {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    margin-left: 2px;
}

.pressure-chart {
    margin-top: 6px;
    display: block;
    width: 80px;
    height: 18px;
}

.pressure-chart polyline {
    stroke: #999;
}

/* Air Quality Status Colors - subtle text colors only */
.air-quality-good .weather-card-value {
    color: #56AB2F;
}

.air-quality-moderate .weather-card-value {
    color: #F9A825;
}

.air-quality-bad .weather-card-value {
    color: #E84A23;
}

.air-quality-terrible .weather-card-value {
    color: #000;
}

/* UV Index Colors - subtle text colors only */
.uv-low .weather-card-value {
    color: #56AB2F;
}

.uv-moderate .weather-card-value {
    color: #F9A825;
}

.uv-high .weather-card-value {
    color: #FB8C00;
}

.uv-very-high .weather-card-value {
    color: #E84A23;
}

.uv-extreme .weather-card-value {
    color: #8E44AD;
}

/* Content Section */
/* Category bar */
.category-bar {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    background: #fafafa;
    margin-bottom: 28px;
}

.category-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-bar-title {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 10px 0;
    white-space: nowrap;
    padding-left: 0;
    margin-left: -12px;
}

.category-bar-links {
    display: flex;
    gap: 0;
}

.category-bar-link {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color 0.15s, background 0.15s;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.category-bar-link:hover {
    color: #000;
    background: #f0f0f0;
    border-bottom-color: #333;
}

.content-section {
    margin-bottom: 32px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}


/* Featured Article - Forbes Style */
/* Hero column: hero + sub-hero side by side */
.hero-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sub-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
}

.sub-hero-card {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: opacity 0.2s;
}

.sub-hero-card:hover {
    opacity: 0.85;
}

.sub-hero-image {
    width: 100%;
    aspect-ratio: 1 / 0.65;
    background-size: cover;
    background-position: center;
    background-color: #e5e7eb;
}

.sub-hero-content {
    padding: 12px 0 0;
}

.sub-hero-content .category {
    font-size: 10px;
    font-weight: 700;
    color: #D32F2F;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.sub-hero-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
    margin-bottom: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.sub-hero-time {
    font-size: 11px;
    color: #999;
    font-weight: 500;
}

.featured-article {
    overflow: hidden;
    display: block;
    padding-bottom: 0;
    margin-bottom: 0;
}

.featured-article a {
    text-decoration: none;
    color: inherit;
}

.featured-article a:hover img,
.featured-article a:hover .featured-image {
    opacity: 0.8;
}

.featured-article h2 a:hover {
    text-decoration: underline;
}

.read-more {
    font-weight: 600;
    color: #b8977a;
    text-decoration: none;
    white-space: nowrap;
    margin-left: 4px;
}
.read-more:hover {
    text-decoration: underline;
}

.featured-image {
    height: 360px;
    background: #f5f5f5;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
}

.featured-content {
    padding: 0;
}

.category {
    display: inline-block;
    background: transparent;
    color: #666;
    padding: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.category-warning {
    color: #d32f2f;
}

.featured-article h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    line-height: 1.2;
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: -0.5px;
}

.featured-article p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

.article-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #999;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta svg {
    color: #bbb;
    flex-shrink: 0;
}

/* News Sidebar - Forbes Style */
.news-sidebar {
    padding: 0;
}

.news-sidebar h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-item {
    display: flex;
    gap: 16px;
    padding: 0;
    text-decoration: none;
    transition: opacity 0.2s;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.news-item:hover {
    opacity: 0.7;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-thumbnail {
    width: 90px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-dot {
    display: none;
}

.news-text {
    flex: 1;
}

.news-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.4;
    font-family: Georgia, 'Times New Roman', serif;
}

.news-time {
    font-size: 12px;
    color: #999;
}

/* Middle News Section - Forbes Style */
.news-middle {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.news-middle .news-featured-grid {
    margin-top: 0;
}

.news-middle h3 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-list-middle {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Featured grid: all articles — large images, title only */
.news-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    margin-bottom: 24px;
}

.news-featured-item {
    display: block;
}

.news-featured-item a {
    text-decoration: none;
    color: inherit;
}

.news-featured-item a:hover img {
    opacity: 0.75;
}

.news-featured-item h4 a:hover {
    text-decoration: underline;
}

.news-featured-item img {
    width: 100%;
    aspect-ratio: 1 / 0.65;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    transition: opacity 0.2s;
    margin-bottom: 8px;
}

.news-featured-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.news-middle-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.2s;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.news-middle-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-middle-item:hover {
    opacity: 0.7;
}

.news-middle-thumbnail {
    width: 140px;
    height: 96px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 2px;
}

.news-middle-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-middle-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
    line-height: 1.3;
    font-family: Georgia, 'Times New Roman', serif;
}

.news-middle-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

.news-middle-time {
    font-size: 11px;
    color: #999;
    margin-top: auto;
    padding-top: 6px;
    font-weight: 500;
    padding-left: 2px;
}

/* Ranking Section - Forbes Style */
.news-ranking {
    padding: 0;
}

.news-ranking h3 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ranking-item {
    display: flex;
    gap: 16px;
    text-decoration: none;
    transition: opacity 0.2s;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.ranking-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ranking-item:hover {
    opacity: 0.7;
}

.ranking-number {
    font-size: 28px;
    font-weight: 700;
    color: #e0e0e0;
    line-height: 1;
    flex-shrink: 0;
    min-width: 32px;
    font-family: Georgia, 'Times New Roman', serif;
}

.ranking-item:hover .ranking-number {
    color: #4A90D9;
}

.ranking-text {
    flex: 1;
    padding-top: 2px;
}

.ranking-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
}

/* Cards Section - Forbes Style */
.cards-section {
    margin-bottom: 48px;
    margin-top: 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 16px;
}

.card {
    background: transparent;
    overflow: hidden;
    transition: opacity 0.2s;
    cursor: pointer;
}

.card:hover {
    opacity: 0.8;
}

.card-image {
    aspect-ratio: 1 / 0.65;
    background: #f5f5f5;
    background-size: cover;
    background-position: center;
    margin-bottom: 16px;
}

.card-content {
    padding: 0;
}

.card-category {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

.card-time {
    font-size: 12px;
    color: #999;
}

/* City Info Section */
.city-info-section {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 24px 0;
    margin: 0 auto;
    max-width: 1336px;
}

.city-info-container {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 40px;
}

.city-info-main {
    display: flex;
    align-items: center;
    gap: 32px;
}

.city-name-large {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.city-temps {
    display: flex;
    align-items: center;
    gap: 20px;
}

.city-temp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.city-temp-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
}

.city-temp-value {
    font-size: 28px;
    font-weight: 300;
    color: #4A90D9;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.city-temp-night .city-temp-label {
    color: #888;
}

.city-temp-night .city-temp-value {
    color: #6b7280;
}

.city-temp-divider {
    width: 1px;
    height: 40px;
    background: #e0e0e0;
}

.city-sun-info {
    display: flex;
    gap: 16px;
    margin-left: 24px;
}

.sun-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sun-icon {
    color: #666;
    flex-shrink: 0;
}

.sun-info-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sun-label {
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #999;
}

.sun-time {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.avatars-stack {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.avatar-small:first-child {
    margin-left: 0;
}

.more-count {
    margin-left: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

/* City Forecasts Section */
.city-forecasts {
    margin-bottom: 48px;
}

.forecasts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.forecasts-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.update-time {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

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

.city-forecast-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.city-forecast-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.city-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

.city-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.city-region {
    font-size: 12px;
    color: #999;
}

.city-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.city-temp-main {
    font-size: 48px;
    font-weight: 200;
    color: #4A90D9;
    line-height: 1;
}

.city-icon-main {
    flex-shrink: 0;
}

.city-icon-main img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.city-condition-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 16px;
}

.city-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.detail-icon {
    font-size: 16px;
}

.detail-text {
    font-weight: 600;
    color: #333;
}

.city-hourly {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.hourly-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.hourly-time {
    font-size: 11px;
    color: #999;
    font-weight: 600;
}

.hourly-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.hourly-temp {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}


/* Footer w stylu Forbes - prosty i minimalistyczny */
.footer-forbes {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    margin-top: 64px;
    padding: 32px 0;
}

.footer-forbes-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-forbes-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

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

.footer-forbes-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-forbes-links a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-forbes-links a:hover {
    color: #000;
}

/* Responsive */
@media (max-width: 1400px) {
    .header {
        max-width: none;
    }

    .city-info-section {
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }

    .ticker {
        margin-left: 0;
        margin-right: 0;
        max-width: none;
        padding: 0 32px;
    }

    .city-links-section {
        max-width: none;
    }

    .city-links-container {
        padding: 0 32px;
    }
}

@media (max-width: 1200px) {
    .hero-chart {
        grid-template-columns: 1fr;
    }

    .live-weather {
        max-height: 400px;
    }

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

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

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

    .sub-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .news-middle {
        padding: 0;
        margin-top: 32px;
    }

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

    .city-info-section {
        margin-left: 0;
        margin-right: 0;
    }

    .city-info-container {
        padding: 0 32px;
        flex-wrap: wrap;
    }

    .city-info-main {
        flex-wrap: wrap;
    }

    .city-sun-info {
        margin-left: 0;
        margin-top: 12px;
    }

    .ticker {
        margin-left: 0;
        margin-right: 0;
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .hero-chart {
        grid-template-columns: 1fr;
    }

    .live-weather {
        max-height: 350px;
        padding: 15px 16px 24px 16px;
    }

    .live-weather h2 {
        font-size: 14px;
    }

    .live-badge {
        font-size: 7px;
        padding: 2px 5px;
    }

    .live-text {
        font-size: 11px;
    }

    .live-item {
        padding: 10px 0;
        gap: 10px;
    }

    .live-time-stamp {
        font-size: 10px;
    }

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

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

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

    .chart-wrapper {
        padding: 15px 24px 24px 24px;
    }

    .chart-header h1 {
        font-size: 22px;
    }

    .forecast-chart {
        gap: 2px;
        padding: 30px 0 50px 0;
    }

    .forecast-day {
        padding: 0 4px;
        min-width: 80px;
    }

    .forecast-day-label {
        font-size: 11px;
    }

    .forecast-weather-info {
        margin-bottom: 10px;
    }

    .forecast-temp {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .forecast-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 12px;
    }

    .forecast-day:has(.forecast-rain) .forecast-icon {
        margin-bottom: 60px;
    }

    .forecast-rain {
        width: 20px;
        height: 40px;
    }

    .forecast-rain-value {
        font-size: 10px;
    }

    .forecast-wind {
        margin-top: 6px;
        gap: 3px;
    }

    .forecast-wind-direction svg {
        width: 10px;
        height: 10px;
    }

    .forecast-wind-speed {
        font-size: 8px;
    }

    .forecast-line {
        top: 95px;
        height: 150px;
    }

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


    .logo-text {
        display: none;
    }

    .city-info-container {
        padding: 0 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .city-info-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .city-name-large {
        font-size: 24px;
    }

    .city-temps {
        gap: 16px;
    }

    .city-temp-value {
        font-size: 24px;
    }

    .city-sun-info {
        gap: 12px;
        width: 100%;
        margin-left: 0;
        margin-top: 12px;
    }

    .sun-item {
        gap: 4px;
    }

    .sun-time {
        font-size: 10px;
    }

    .avatars-stack {
        margin-left: 0;
    }

    .ticker {
        margin: 0;
        padding: 0 16px;
        height: 36px;
    }

    .ticker-label {
        font-size: 11px;
    }

    .ticker-content {
        font-size: 12px;
    }

    .city-links-container {
        padding: 0 16px;
        gap: 6px;
    }

    .city-link-btn {
        font-size: 11px;
        padding: 5px 10px;
        gap: 5px;
    }

    .city-link-icon {
        width: 18px;
        height: 18px;
    }

    .city-info-section {
        border-radius: 0;
    }

    .city-temp-main {
        font-size: 36px;
    }

    .city-icon-main img {
        width: 48px;
        height: 48px;
    }

    .city-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .news-thumbnail {
        width: 70px;
        height: 50px;
    }

    .news-text h4 {
        font-size: 14px;
    }

    .footer-forbes-links {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .weather-cards {
        grid-template-columns: 1fr;
    }

    .weather-card {
        padding: 10px 14px;
    }

    .weather-card-value {
        font-size: 16px;
    }

    .live-item {
        padding: 8px 0;
        gap: 8px;
    }

    .live-time-stamp {
        font-size: 9px;
    }

    .city-info-container {
        padding: 0 16px;
    }

    .city-name-large {
        font-size: 22px;
    }

    .city-temp-value {
        font-size: 20px;
    }

    .sun-time {
        font-size: 9px;
    }

    .sun-label {
        font-size: 7px;
    }

    .sun-icon {
        width: 12px;
        height: 12px;
    }

    .avatars-stack {
        flex-wrap: wrap;
    }

    .city-links-container {
        padding: 0 12px;
        gap: 5px;
    }

    .city-link-btn {
        font-size: 10px;
        padding: 4px 8px;
        gap: 4px;
    }

    .city-link-icon {
        width: 16px;
        height: 16px;
    }

    .forecast-chart {
        gap: 8px;
        padding: 20px 8px 40px 8px;
    }

    .forecast-day {
        min-width: 70px;
    }

    .forecast-day-label {
        font-size: 10px;
    }

    .forecast-weather-info {
        margin-bottom: 8px;
    }

    .forecast-temp {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .forecast-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 10px;
    }

    .forecast-day:has(.forecast-rain) .forecast-icon {
        margin-bottom: 50px;
    }

    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .chart-controls {
        width: 100%;
        justify-content: space-between;
    }

    .btn-toggle {
        flex: 1;
        padding: 8px 12px;
        font-size: 12px;
    }

    .chart-hint {
        font-size: 10px;
        margin-bottom: 12px;
    }
}

/* ===== Article Page Styles ===== */

/* Article Container */
.article-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 32px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px;
}

/* Article */
.article {
    background: #fff;
    border-radius: 0;
    padding: 0 0 0 32px;
    box-shadow: none;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 13px;
    margin-top: 24px;
    margin-bottom: 16px;
    color: #666;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.breadcrumbs a {
    color: #4A90D9;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #357abd;
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumbs .current {
    color: #999;
}

/* Article Header */
.article-header {
    margin-bottom: 48px;
    max-width: 720px;
}

.category-badge {
    display: inline-block;
    background: #FF6B6B;
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.article-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    line-height: 1.15;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

/* Article Meta - Compact Layout */
.article-meta-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 32px;
}

.meta-date {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-date::before {
    content: '📅';
    font-size: 13px;
}

.meta-authors {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.meta-authors::before {
    content: '';
    display: block;
    width: 1px;
    height: 20px;
    background: #ddd;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
    flex-shrink: 0;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    white-space: nowrap;
}

.meta-reading {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-reading::before {
    content: '';
    display: block;
    width: 1px;
    height: 20px;
    background: #ddd;
}

.meta-reading::after {
    content: '⏱️';
    font-size: 13px;
    margin-left: -2px;
}

/* Article Image */
.article-image {
    margin: 48px 0 64px 0;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.article-image figcaption {
    padding: 16px 0;
    font-size: 14px;
    color: #666;
    font-style: normal;
    background: transparent;
    line-height: 1.6;
}

/* Article Content */
.article-content {
    font-size: 20px;
    line-height: 1.7;
    color: #1a1a1a;
    max-width: 680px;
    font-family: Georgia, 'Times New Roman', serif;
}

.article-content .lead {
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.6;
    margin-bottom: 40px;
}

.article-content p {
    margin-bottom: 28px;
}

.article-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-top: 56px;
    margin-bottom: 24px;
    line-height: 1.25;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.5px;
}

.article-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-top: 40px;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.article-content ul,
.article-content ol {
    margin-bottom: 28px;
    padding-left: 32px;
}

.article-content li {
    margin-bottom: 16px;
    line-height: 1.7;
}

.article-content strong {
    font-weight: 700;
    color: #000;
}

.article-content blockquote {
    margin: 48px 0;
    padding: 32px 0 32px 32px;
    border-left: 3px solid #000;
    background: transparent;
    font-size: 24px;
    font-style: italic;
    color: #333;
    line-height: 1.5;
    font-family: Georgia, 'Times New Roman', serif;
}

/* Info Box */
.info-box {
    margin: 48px 0;
    padding: 32px;
    background: #f8f9fa;
    border-left: 3px solid #4A90D9;
    border-radius: 0;
}

.info-box.warning {
    background: #fff8e1;
    border-left-color: #ffa000;
}

.info-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-top: 0;
    margin-bottom: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.info-box p,
.info-box ul {
    font-size: 18px;
    margin-bottom: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
}

.info-box ul {
    padding-left: 28px;
}

.info-box li {
    margin-bottom: 12px;
}

/* Article Footer */
.article-footer {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

/* Helpful Section */
.helpful-section {
    margin-bottom: 48px;
    text-align: center;
}

.helpful-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.helpful-section p {
    font-size: 15px;
    color: #666;
    margin-bottom: 24px;
}

.helpful-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-helpful {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-helpful.yes {
    color: #4A90D9;
}

.btn-helpful.no {
    color: #666;
}

.btn-helpful:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-helpful.yes:hover {
    border-color: #4A90D9;
    background: #f0f7ff;
}

.btn-helpful.no:hover {
    border-color: #999;
    background: #f8f9fa;
}

/* Cite Section */
.cite-section {
    margin-bottom: 48px;
}

.cite-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.cite-box {
    position: relative;
    padding: 20px;
    background: #fafbfc;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.cite-box em {
    font-style: italic;
}

.btn-copy {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #4A90D9;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: #f0f7ff;
    border-color: #4A90D9;
}

/* Author Bio */
.author-bio {
    padding: 32px;
    background: #f8f9fa;
    border-radius: 12px;
}

.author-bio-header {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}

.author-bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #fff;
    flex-shrink: 0;
}

.author-bio-info h4 {
    font-size: 12px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.author-bio-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.author-title {
    font-size: 14px;
    color: #4A90D9;
    font-weight: 600;
    margin-bottom: 12px;
}

.author-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    color: #666;
    transition: all 0.2s;
    text-decoration: none;
}

.social-link:hover {
    background: #4A90D9;
    color: #fff;
    transform: translateY(-2px);
}

.author-link {
    font-size: 13px;
    color: #4A90D9;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.author-link:hover {
    color: #357abd;
}

.author-bio-description {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: sticky;
    top: 24px;
    height: fit-content;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 15px 24px 24px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.sidebar-widget h3 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Live Weather Sidebar */
.live-weather-sidebar {
    max-height: 450px;
    overflow-y: auto;
}

.live-weather-sidebar .live-weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.live-weather-sidebar h3 {
    font-size: 16px;
    margin-bottom: 0;
}

.live-weather-sidebar .notification-bell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #999;
    transition: color 0.2s;
}

.live-weather-sidebar .notification-bell:hover {
    color: #666;
}

.live-weather-sidebar .notification-bell svg {
    width: 18px;
    height: 18px;
}

.live-weather-sidebar .notification-dot {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 7px;
    height: 7px;
    background: #FF4444;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: pulse 2s ease-in-out infinite;
}

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

.live-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.live-item {
    display: flex;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.live-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.live-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    opacity: 0.7;
}

.live-content {
    flex: 1;
    min-width: 0;
}

.live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    gap: 6px;
}

.live-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.live-badge.alert {
    background: #fff5f5;
    color: #d32f2f;
}

.live-badge.new {
    background: #f0f7ff;
    color: #1976d2;
}

.live-badge.important {
    background: #fff9e6;
    color: #f57c00;
}

.live-time {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
}

.live-text {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

/* Scrollbar styling for live weather sidebar */
.live-weather-sidebar::-webkit-scrollbar {
    width: 5px;
}

.live-weather-sidebar::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.live-weather-sidebar::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.live-weather-sidebar::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/* Live weather photo feature */
.live-item-photo {
    display: flex;
    gap: 10px;
}

.live-photo-link {
    flex-shrink: 0;
    display: block;
    border-radius: 6px;
    overflow: hidden;
}

.live-photo {
    width: 80px;
    height: 54px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.2s;
}

.live-photo-link:hover .live-photo {
    opacity: 0.85;
    transform: scale(1.05);
}

.live-text-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.live-text-link:hover .live-text {
    color: #4A90D9;
}

.live-text-link .live-text strong {
    font-weight: 600;
    color: #4A90D9;
}

/* SVG Icon animations for sidebar */
.live-weather-sidebar .live-icon svg {
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-2px);
        opacity: 0.85;
    }
}

.live-weather-sidebar .live-icon.alert svg {
    animation: iconPulseAlert 2s ease-in-out infinite;
}

@keyframes iconPulseAlert {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

.live-weather-sidebar .live-icon.new svg {
    animation: iconRotate 4s ease-in-out infinite;
}

@keyframes iconRotate {
    0%, 100% {
        transform: rotate(0deg);
        opacity: 0.7;
    }
    25% {
        transform: rotate(5deg);
        opacity: 0.8;
    }
    75% {
        transform: rotate(-5deg);
        opacity: 0.8;
    }
}

.live-weather-sidebar .live-icon.important svg {
    animation: iconBolt 1.5s ease-in-out infinite;
}

@keyframes iconBolt {
    0%, 90%, 100% {
        opacity: 0.7;
        transform: translateY(0);
    }
    45% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-item {
    display: block;
    text-decoration: none;
    transition: opacity 0.2s;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.related-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-item:hover {
    opacity: 0.7;
}

.related-item img {
    width: 100%;
    height: 160px;
    border-radius: 0;
    object-fit: cover;
    margin-bottom: 12px;
}

.related-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
    margin-bottom: 8px;
}

.related-date {
    font-size: 13px;
    color: #666;
}

/* Weather Widget */
.weather-widget {
    background: #f8f9fa;
    color: #333;
    border-top: 3px solid #4A90D9;
    padding: 24px;
}

.weather-widget h3 {
    color: #000;
}

.current-weather {
    text-align: center;
}

.weather-temp {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #4A90D9;
}

.weather-icon {
    margin-bottom: 16px;
}

.weather-icon img {
    width: 56px;
    height: 56px;
}

.weather-desc {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.weather-location {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

/* Sekcja Więcej artykułów w stylu Forbes */
.more-articles {
    background: #fff;
    padding: 64px 0;
    border-top: 1px solid #e5e5e5;
    margin-top: 64px;
}

.more-articles-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.more-articles-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 32px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.5px;
}

.more-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.more-article-card {
    display: block;
}

.more-article-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.2s;
}

.more-article-card a:hover {
    opacity: 0.8;
}

.more-article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    margin-bottom: 16px;
}

.more-article-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    margin-bottom: 8px;
    font-family: Georgia, 'Times New Roman', serif;
}

.more-article-card .article-meta {
    font-size: 13px;
    color: #666;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== Article Responsive ===== */
/* Responsive */
@media (max-width: 1400px) {
    .article-container {
        padding: 0 24px;
    }
}

@media (max-width: 1024px) {
    .article-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .article-sidebar {
        position: static;
        max-width: 680px;
        margin: 0 auto;
    }

    .more-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .article-container {
        margin: 24px auto;
        padding: 0 16px;
    }

    .article {
        padding: 0 0 0 16px;
    }

    .article-header h1 {
        font-size: 32px;
    }

    .breadcrumbs {
        margin-top: 16px;
        margin-bottom: 12px;
        padding-bottom: 12px;
        font-size: 12px;
    }

    .article-meta-top {
        gap: 14px;
        padding: 16px 0;
    }

    .meta-date {
        font-size: 13px;
    }

    .meta-date::before {
        font-size: 12px;
    }

    .meta-authors {
        gap: 10px;
    }

    .author-avatar {
        width: 26px;
        height: 26px;
    }

    .author-name {
        font-size: 13px;
    }

    .meta-reading {
        font-size: 12px;
    }

    .meta-reading::after {
        font-size: 12px;
    }

    .article-content {
        font-size: 18px;
    }

    .article-content h2 {
        font-size: 28px;
    }

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

    .live-weather-sidebar {
        max-height: 350px;
    }

    .live-badge {
        font-size: 8px;
        padding: 2px 5px;
    }

    .live-text {
        font-size: 12px;
    }

    .live-time {
        font-size: 10px;
    }

    .more-articles {
        padding: 48px 0;
        margin-top: 48px;
    }

    .more-articles-container {
        padding: 0 16px;
    }

    .more-articles-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .more-articles-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .more-article-card img {
        height: 200px;
    }

    .footer-forbes-links {
        gap: 16px;
    }
}

.more-articles + .footer-forbes { margin-top: 0; }

/* ===== Forecast Page ===== */

.forecast-container {
    max-width: 1336px;
    margin: 0 auto;
    padding: 0 32px;
}

.forecast-search-section {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.forecast-search-section .chart-search {
    max-width: 480px;
}

.forecast-header {
    background: #fff;
    padding: 32px 0 24px;
    border-bottom: 1px solid #eee;
}

.forecast-city-name {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.forecast-subtitle {
    font-size: 14px;
    color: #999;
    margin-top: 4px;
}

.forecast-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Current conditions */
.forecast-current-section {
    background: #fff;
    padding: 24px 0;
    border-bottom: 1px solid #eee;
}

.forecast-current-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.forecast-current-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.forecast-current-icon {
    color: #4A90D9;
    flex-shrink: 0;
    margin-top: 2px;
}

.forecast-current-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.forecast-current-value {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-top: 2px;
}

.forecast-current-extra {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* Warnings */
.forecast-warnings-section {
    padding: 16px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.forecast-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.forecast-warning:last-child {
    margin-bottom: 0;
}

.forecast-warning--yellow {
    background: #FFF8E1;
    border: 1px solid #FFD54F;
    color: #F57F17;
}

.forecast-warning--yellow .forecast-warning-icon {
    color: #F9A825;
}

.forecast-warning--orange {
    background: #FFF3E0;
    border: 1px solid #FFB74D;
    color: #E65100;
}

.forecast-warning--orange .forecast-warning-icon {
    color: #FF9800;
}

.forecast-warning--red {
    background: #FFEBEE;
    border: 1px solid #EF9A9A;
    color: #C62828;
}

.forecast-warning--red .forecast-warning-icon {
    color: #D32F2F;
}

.forecast-warning-level {
    font-weight: 400;
    opacity: 0.8;
}

/* Sun & Moon bar */
.forecast-sunmoon-section {
    background: #fff;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.forecast-sunmoon-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.forecast-sunmoon-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.forecast-sunmoon-label {
    color: #999;
}

.forecast-sunmoon-time {
    color: #333;
    font-weight: 600;
}

/* 15-day forecast table */
.forecast-daily-section {
    background: #fff;
    padding: 24px 0 32px;
}

.forecast-daily-table-wrap {
    overflow-x: auto;
}

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

.forecast-daily-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-bottom: 2px solid #e5e5e5;
    white-space: nowrap;
}

.forecast-daily-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
}

.forecast-daily-table tbody tr:hover {
    background: #f8f9fa;
}

.forecast-day-name {
    font-weight: 500;
    color: #333;
    min-width: 100px;
}

.forecast-day-today {
    background: rgba(74, 144, 217, 0.04);
}

.forecast-day-today .forecast-day-name {
    color: #4A90D9;
    font-weight: 700;
}

.forecast-day-weekend {
    background: rgba(74, 144, 217, 0.03);
}

.forecast-day-weekend .forecast-day-name {
    color: #4A90D9;
}

.forecast-temp-max {
    font-weight: 700;
    color: #E84A23;
}

.forecast-temp-min {
    color: #5B9BD5;
}

.forecast-precip {
    color: #4A90D9;
}

.forecast-wind {
    color: #666;
}

.forecast-pressure {
    color: #999;
    font-size: 13px;
}

.forecast-humidity {
    color: #999;
    font-size: 13px;
}

/* Empty state */
.forecast-empty {
    background: #fff;
    padding: 48px 0;
    text-align: center;
    color: #999;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .forecast-container {
        padding: 0 16px;
    }

    .forecast-current-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .forecast-current-value {
        font-size: 20px;
    }

    .forecast-city-name {
        font-size: 22px;
    }

    .forecast-sunmoon-bar {
        gap: 16px;
    }

    .forecast-daily-hide-mobile {
        display: none;
    }

    .forecast-daily-table td,
    .forecast-daily-table th {
        padding: 10px 8px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .forecast-current-grid {
        grid-template-columns: 1fr;
    }

    .forecast-sunmoon-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Geolocation */
.hero-city-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #4A90D9;
    text-decoration: none;
    margin-top: 4px;
    transition: opacity 0.3s ease;
}

.hero-city-link:hover {
    text-decoration: underline;
}

.hero-geo-fade {
    animation: heroGeoFadeIn 0.4s ease-out;
}

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