/* PAGES CSS - Generowane ze starego complete-style.css */

.weather-bar {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    padding: 15px 0;
    position: relative;
    overflow: hidden;
}

.weather-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.weather-temp-big {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.weather-info h3 {
    font-size: 20px;
    margin-bottom: 3px;
}

.weather-info p {
    font-size: 13px;
    opacity: 0.9;
}

.weather-details {
    display: flex;
    gap: 30px;
}

.weather-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
}

.weather-item i {
    font-size: 18px;
}

.weather-alert {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.weather-alert i {
    color: var(--warning);
}

/* =============================================
   BREAKING NEWS
   ============================================= */

.breaking-news {
    background: var(--danger);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
}

.breaking-news::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--danger));
    z-index: 5;
    pointer-events: none;
}

.breaking-label {
    background: white;
    color: var(--danger);
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 30px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    box-shadow: 10px 0 20px var(--danger), -10px 0 20px var(--danger);
}

.breaking-content {
    display: flex;
    align-items: center;
    position: relative;
}

.breaking-ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0px, black 50px, black calc(100% - 50px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0px, black 50px, black calc(100% - 50px), transparent 100%);
}

.breaking-ticker {
    display: flex;
    gap: 40px;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.breaking-ticker a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.breaking-ticker a:hover {
    text-decoration: underline;
}

/* =============================================
   HERO SECTION WITH SLIDER
   ============================================= */

.hero-section {
    padding: 30px 0;
    background: linear-gradient(180deg, var(--bg) 0%, white 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
}

.hero-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-slider {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
}

.hero-category {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    font-family: Georgia, 'Times New Roman', serif;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-meta {
    display: flex;
    gap: 25px;
    font-size: 14px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 6px;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 156px;
    flex: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.hero-card:hover img {
    transform: scale(1.1);
}

.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: white;
}

.hero-card-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

/* =============================================
   SECTION TITLE
   ============================================= */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::before {
    content: '';
    width: 5px;
    height: 32px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 3px;
}

.section-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 2px solid var(--primary);
    border-radius: 25px;
    transition: all 0.3s;
}

.section-more:hover {
    background: var(--primary);
    color: white;
}

.sec.tags-cloud .tag:hover {
    background: var(--primary);
    color: white;
}

/* FACEBOOK WIDGET */
.facebook-widget {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(107, 91, 149, 0.4);
    position: relative;
    overflow: hidden;
}

.facebook-widget::before {
    content: '\f39e';
    font-family: 'Font Awesome 6 Brands';
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.facebook-widget i.fa-facebook-f {
    font-size: 40px;
    margin-bottom: 15px;
    color: white;
}

.facebook-widget h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}

.facebook-widget p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.5;
}

.facebook-btn {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.facebook-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.facebook-btn i {
    font-size: 14px !important;
    margin-bottom: 0 !important;
    margin-right: 8px;
    color: var(--primary) !important;
}

/* POPULAR POSTS */
.popular-list {
    counter-reset: popular;
}

.popular-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
    text-decoration: none;
}

.popular-item:last-child {
    border-bottom: none;
}

.popular-item:hover {
    background: var(--bg);
    margin: 0 -25px;
    padding: 15px 25px;
    border-radius: 8px;
}

.popular-number {
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.popular-item:nth-child(1) .popular-number {
    background: linear-gradient(135deg, var(--warning), #ffaa00);
    color: var(--text);
}

.popular-item:nth-child(2) .popular-number {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: var(--text);
}

.popular-item:nth-child(3) .popular-number {
    background: linear-gradient(135deg, #cd7f32, #b87333);
}

.popular-content h4,
.popular-content h5 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 5px;
    color: var(--text);
}

.popular-views {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =============================================
   NEWS GRID
   ============================================= */

.news-section {
    padding: 50px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.news-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: 100%;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.news-category.police {
    background: var(--danger);
}

.news-category.sport {
    background: var(--success);
}

.news-category.culture {
    background: var(--info);
}

.news-category.business {
    background: var(--warning);
    color: var(--text);
}

.news-content {
    padding: 25px;
}

.news-card.featured .news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text);
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.news-card.featured .news-title {
    font-size: 24px;
}

.news-title:hover {
    color: var(--primary);
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.news-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
}

.news-stats {
    display: flex;
    gap: 15px;
}

.news-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =============================================
   CATEGORIES WIDGETS
   ============================================= */

.categories-section {
    padding: 40px 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-card {
    background: linear-gradient(135deg, var(--bg) 0%, white 100%);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(107, 91, 149, 0.15);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: white;
    transition: all 0.3s;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
}

.category-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
}

.category-card p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* =============================================
   TWO COLUMNS LAYOUT
   ============================================= */

.two-columns {
    padding: 50px 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 35px;
}

/* =============================================
   POLICE CHRONICLE
   ============================================= */

.police-section {
    background: linear-gradient(135deg, #fff5f5 0%, white 100%);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--danger);
}

.police-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.police-header i {
    font-size: 32px;
    color: var(--danger);
}

.police-header h2 {
    font-size: 22px;
    font-weight: 800;
}

.police-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.police-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--danger);
    transition: all 0.3s;
}

.police-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.15);
}

.police-icon {
    width: 50px;
    height: 50px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--danger);
    font-size: 20px;
    flex-shrink: 0;
}

.police-content h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.police-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
}

.police-date {
    font-size: 12px;
    color: var(--danger);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =============================================
   SIDEBAR
   ============================================= */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i {
    color: var(--primary);
}

/* =============================================
   POPULAR POSTS
   ============================================= */

.popular-list {
    counter-reset: popular;
}

.popular-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.popular-item:last-child {
    border-bottom: none;
}

.popular-item:hover {
    background: var(--bg);
    margin: 0 -25px;
    padding: 15px 25px;
    border-radius: 8px;
}

.popular-number {
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.popular-item:nth-child(1) .popular-number {
    background: linear-gradient(135deg, var(--warning), #ffaa00);
    color: var(--text);
}

.popular-item:nth-child(2) .popular-number {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: var(--text);
}

.popular-item:nth-child(3) .popular-number {
    background: linear-gradient(135deg, #cd7f32, #b87333);
}

.popular-content h5 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 5px;
    color: var(--text);
}

.popular-views {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =============================================
   TAGS CLOUD
   ============================================= */

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: var(--bg);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
}

.tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* =============================================
   FAMOUS PEOPLE
   ============================================= */

.famous-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.famous-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.famous-section .section-title {
    color: white;
}

.famous-section .section-title::before {
    background: var(--accent);
}

.famous-section .section-more {
    color: white;
    border-color: white;
}

.famous-section .section-more:hover {
    background: white;
    color: var(--primary);
}

.famous-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.famous-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    transition: all 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.famous-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.famous-photo {
    height: 200px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: white;
    position: relative;
    overflow: hidden;
}

.famous-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.famous-content {
    padding: 25px;
}

.famous-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.famous-role {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.famous-desc {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.5;
}

/* =============================================
   FOOTBALL SECTION
   ============================================= */

.football-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.football-section .section-title {
    color: white;
}

.football-section .section-title::before {
    background: var(--accent);
}

.football-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.football-matches {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.football-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.football-logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a5f2a, #2e7d32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.4);
}

.football-title h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
}

.football-title span {
    font-size: 14px;
    opacity: 0.7;
}

.match-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.match-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.match-teams {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.team {
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.team-name {
    font-weight: 600;
    font-size: 15px;
}

.match-vs {
    font-size: 12px;
    opacity: 0.5;
    font-weight: 700;
}

.match-info {
    text-align: center;
}

.match-date {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 5px;
}

.match-result {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
}

.match-status {
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
    margin-top: 5px;
    display: inline-block;
}

.match-status.live {
    background: var(--success);
    animation: pulse-live 2s infinite;
}

.match-status.upcoming {
    background: var(--warning);
    color: var(--text);
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.standings-table th {
    text-align: left;
    padding: 15px 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.standings-table td {
    padding: 15px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.standings-table tr.highlight {
    background: rgba(240, 173, 78, 0.2);
    font-weight: 700;
}

.position {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
}

.position.top {
    background: linear-gradient(135deg, var(--warning), #ffaa00);
    color: var(--text);
}

.position.promo {
    background: rgba(46, 204, 113, 0.3);
}

.position.relegation {
    background: rgba(231, 76, 60, 0.3);
}

.position.normal {
    background: rgba(255, 255, 255, 0.1);
}

/* =============================================
   JOBS & CLASSIFIEDS
   ============================================= */

.listings-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg) 0%, white 50%, var(--bg) 100%);
}

.listings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.listing-box {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.add-btn {
    background: linear-gradient(135deg, var(--success), #218838);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.add-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.add-btn.classified {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    box-shadow: 0 4px 15px rgba(240, 173, 78, 0.3);
}

.listing-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
    border-radius: 12px;
}

.listing-item:last-child {
    border-bottom: none;
}

.listing-item:hover {
    background: var(--bg);
    transform: translateX(10px);
}

.listing-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.listing-icon.job {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.2));
    color: var(--success);
}

.listing-icon.classified {
    background: linear-gradient(135deg, rgba(240, 173, 78, 0.1), rgba(240, 173, 78, 0.2));
    color: var(--accent);
}

.listing-item:hover .listing-icon {
    transform: scale(1.1) rotate(5deg);
}

.listing-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.listing-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.listing-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    align-items: center;
}

.listing-salary {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.2));
    color: var(--success);
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 700;
}

.listing-price {
    background: linear-gradient(135deg, rgba(240, 173, 78, 0.1), rgba(240, 173, 78, 0.2));
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 700;
}

/* =============================================
   OBITUARIES
   ============================================= */

.obituaries-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.obituaries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.obituary-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    position: relative;
    transition: all 0.4s;
}

.obituary-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transform: translateY(-10px);
}

.obituary-border {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    pointer-events: none;
}

.obituary-cross {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}



.obituary-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #bdc3c7, #95a5a6);
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.obituary-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.obituary-date {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.obituary-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text);
}

.obituary-name span {
    font-size: 18px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 5px;
}

.obituary-info {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
}

.obituary-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.obituary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(107, 91, 149, 0.4);
}

/* =============================================
   QUOTE SECTION
   ============================================= */

.quote-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '"';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 400px;
    opacity: 0.05;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1;
}

.quote-icon {
    font-size: 60px;
    color: var(--accent);
    margin-bottom: 30px;
    opacity: 0.8;
}

.quote-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto 30px;
    font-style: italic;
}

.quote-author {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.8;
}

/* =============================================
   HOLIDAYS
   ============================================= */

.holidays-bar {
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    color: white;
    padding: 20px 0;
}

.holidays-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.holidays-label {
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.holiday-item-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 30px;
}

.holiday-item-bar i {
    font-size: 18px;
}

/* =============================================
   FACEBOOK WIDGET
   ============================================= */

.facebook-widget {
    background: linear-gradient(135deg, var(--facebook), var(--facebook));
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.3);
}

.facebook-widget i {
    font-size: 48px;
    margin-bottom: 15px;
}

.facebook-widget h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.facebook-widget p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.facebook-btn {
    background: white;
    color: var(--facebook);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s;
}

.facebook-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* =============================================
   NEWSLETTER
   ============================================= */

.newsletter-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg) 0%, white 100%);
    border-top: 1px solid var(--border);
}

.newsletter-content {
    margin: 0 auto;
    text-align: left;
}

@media (max-width: 768px) {
    .newsletter-content {
        text-align: center;
        padding: 40px 20px !important;
    }
}

.newsletter-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
}

.newsletter-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: 2px solid var(--border);
    border-radius: 30px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 91, 149, 0.4);
}

/* =============================================
   SEARCH RESULTS PAGE
   ============================================= */

.search-page {
    padding: 40px 0;
    min-height: 60vh;
}

.search-form-large {
    max-width: 700px;
    margin: 0 auto 40px;
    display: flex;
    gap: 10px;
}

.search-form-large input {
    flex: 1;
    padding: 18px 25px;
    border: 2px solid var(--border);
    border-radius: 30px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.search-form-large input:focus {
    border-color: var(--primary);
}

.search-form-large button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-form-large button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 91, 149, 0.4);
}

.search-results-count {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.search-results-count strong {
    color: var(--primary);
}

.search-result-item {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
}

.search-result-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.search-result-image {
    width: 200px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-content {
    flex: 1;
}

.search-result-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.search-result-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
    line-height: 1.4;
}

.search-result-title a {
    color: inherit;
    text-decoration: none;
}

.search-result-title a:hover {
    color: var(--primary);
}

.search-result-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.search-result-excerpt mark {
    background: rgba(240, 173, 78, 0.3);
    color: var(--text);
    padding: 1px 3px;
    border-radius: 3px;
}

.search-result-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* =============================================
   FAMOUS PERSON DETAIL PAGE
   ============================================= */

.famous-person-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.famous-person-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.famous-person-header {
    display: flex;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.famous-person-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.famous-person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.famous-person-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    opacity: 0.5;
}

.famous-person-info h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.famous-person-profession {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.famous-person-dates {
    display: flex;
    gap: 20px;
    font-size: 14px;
    opacity: 0.7;
}

.famous-person-dates span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.famous-person-body {
    padding: 50px 0;
}

.famous-person-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.famous-person-biography {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.famous-person-biography h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
    color: var(--text);
}

.famous-person-biography-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.famous-person-biography-text p {
    margin-bottom: 16px;
}

.famous-person-sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.famous-person-sidebar-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.famous-person-sidebar-card h3 i {
    color: var(--primary);
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.achievement-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px;
    background: var(--bg);
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.achievement-item i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.fun-fact-card {
    background: linear-gradient(135deg, var(--bg), white);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.famous-person-source {
    margin-top: 30px;
    padding: 20px;
    background: var(--bg);
    border-radius: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.famous-person-source a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.famous-person-source a:hover {
    text-decoration: underline;
}

/* =============================================
   TEAM DETAIL PAGE
   ============================================= */

.team-hero {
    padding: 50px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.team-hero-content {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.team-logo-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.team-logo-large img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.team-hero-info h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 5px;
}

.team-hero-info p {
    font-size: 16px;
    opacity: 0.8;
}

.team-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding: 40px 0;
}

.next-match-widget {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    margin-bottom: 30px;
}

.next-match-widget h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 25px;
}

.next-match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.next-match-team {
    text-align: center;
}

.next-match-team .team-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin: 0 auto 10px;
}

.next-match-team .team-name {
    font-weight: 600;
    font-size: 14px;
}

.next-match-vs {
    font-size: 24px;
    font-weight: 800;
    opacity: 0.5;
}

.next-match-datetime {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.next-match-venue {
    font-size: 13px;
    opacity: 0.7;
}

.form-guide {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.form-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}

.form-badge.win {
    background: var(--success);
    color: white;
}

.form-badge.draw {
    background: var(--warning);
    color: var(--text);
}

.form-badge.loss {
    background: var(--danger);
    color: white;
}

.team-info-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.team-info-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.team-info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.team-info-row:last-child {
    border-bottom: none;
}

.team-info-row .label {
    color: var(--text-secondary);
}

.team-info-row .value {
    font-weight: 600;
    color: var(--text);
}

/* =============================================
   SOFASCORE INTEGRATION — Additional Styles
   ============================================= */

/* Logo as image (not placeholder) */
.team-logo-large.team-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
}

img.team-logo-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: contain;
    background: white;
    padding: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

/* Form indicators (W/D/L dots in hero) */
.form-indicators {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.form-label {
    font-size: 13px;
    opacity: 0.7;
    margin-right: 4px;
}

.form-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    color: white;
}

.form-w {
    background: var(--success);
}

.form-d {
    background: var(--warning);
    color: #333;
}

.form-l {
    background: var(--danger);
}

/* Match result badges */
.match-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.match-item:last-child {
    border-bottom: none;
}

.match-result-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    color: white;
}

.match-result-badge.win {
    background: var(--success);
}

.match-result-badge.draw {
    background: #6c757d;
}

.match-result-badge.loss {
    background: var(--danger);
}

.match-result-badge.scheduled {
    background: #e9ecef;
    color: #666;
    font-size: 16px;
}

.match-details {
    flex: 1;
}

.match-teams-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.match-teams-row .is-us {
    font-weight: 700;
}

.match-score {
    font-weight: 800;
    font-size: 16px;
    min-width: 40px;
    text-align: center;
}

.match-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Match today banner */
.match-today-banner {
    background: linear-gradient(135deg, var(--danger), #c82333);
    color: white;
    padding: 14px 0;
    text-align: center;
    font-size: 15px;
    animation: bannerPulse 3s ease-in-out infinite;
}

.today-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.today-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.today-banner-link {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

@keyframes bannerPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

/* Standings expanded table */
.standings-table .st-pos {
    width: 30px;
    text-align: center;
}

.standings-table .st-team {
    flex: 1;
}

.standings-table .st-stat {
    width: 30px;
    text-align: center;
    font-size: 13px;
}

.standings-table .st-pts {
    width: 35px;
    text-align: center;
    font-weight: 700;
}

.standings-header {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border);
}

.standings-row {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.standings-row:hover {
    background: var(--bg-secondary);
}

.standings-row.highlight {
    background: rgba(40, 167, 69, 0.1);
    font-weight: 700;
    border-left: 3px solid var(--success);
}

.standings-row .position {
    font-weight: 700;
}

.standings-row .position.promotion {
    color: var(--success);
}

.standings-row .position.playoff {
    color: var(--info);
}

.standings-row .position.top {
    color: #007bff;
}

.standings-row .position.relegation {
    color: var(--danger);
}

.standings-separator {
    text-align: center;
    padding: 6px;
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: 3px;
}

.standings-full-link {
    display: block;
    text-align: center;
    padding: 12px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
}

/* Color swatches */
.color-swatch {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border);
    vertical-align: middle;
    margin-right: 4px;
}

/* Sync info */
.team-sync-info {
    text-align: center;
    padding: 15px;
    color: var(--text-secondary);
    font-size: 12px;
}

/* Mini standings (sidebar) */
.mini-standing-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.mini-standing-row:last-child {
    border-bottom: none;
}

.mini-standing-row.highlight {
    font-weight: 700;
    background: rgba(40, 167, 69, 0.08);
    padding: 8px 6px;
    border-radius: 6px;
}

.mini-standing-row .pos {
    width: 28px;
    font-weight: 700;
    color: var(--text-secondary);
}

.mini-standing-row .name {
    flex: 1;
}

.mini-standing-row .pts {
    font-weight: 600;
    color: var(--primary);
}

/* Next match styling on team page */
.next-match-widget {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.next-match-widget h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text);
}

.next-match-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 10px;
}

/* Football section on homepage */
.football-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.football-league {
    font-size: 13px;
    color: var(--text-secondary);
}

.football-next-match {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* =============================================
   FOOTBALL HUB PAGE (/pilka-nozna)
   ============================================= */

/* Hero */
.football-page-hero {
    padding: 60px 0 50px;
    color: white;
    position: relative;
    overflow: hidden;
}

.football-page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.fp-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.fp-team-card {
    display: flex;
    align-items: center;
    gap: 24px;
}

.fp-team-logo {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.fp-team-info h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.fp-league,
.fp-city {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 4px;
}

.fp-form {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.fp-form-label {
    font-size: 12px;
    opacity: 0.6;
    margin-right: 2px;
}

/* Next Match in Hero */
.fp-next-match {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.fp-next-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 16px;
}

.fp-next-teams {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 15px;
    margin-bottom: 16px;
}

.fp-next-team {
    text-align: center;
}

.fp-next-name {
    font-size: 16px;
    font-weight: 700;
}

.fp-next-vs {
    font-size: 22px;
    font-weight: 800;
    opacity: 0.4;
}

.fp-next-meta {
    display: flex;
    gap: 16px;
    justify-content: center;
    font-size: 13px;
    opacity: 0.8;
    flex-wrap: wrap;
}

/* Team Logos in widgets */
.fp-next-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.fp-next-logo-placeholder {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    margin: 0 auto 8px;
}

.fp-tl-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 50%;
    background: #f5f5f5;
    padding: 2px;
    flex-shrink: 0;
}

.fp-st-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 50%;
    background: #f5f5f5;
    padding: 1px;
    margin-right: 6px;
    vertical-align: middle;
    flex-shrink: 0;
}

.fp-st-team {
    display: flex;
    align-items: center;
}

/* Stats Section */
.fp-stats-section {
    padding: 40px 0 20px;
}

.fp-section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.fp-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.fp-stat-card {
    background: white;
    border-radius: 14px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-top: 3px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.fp-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.fp-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 6px;
}

.fp-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 600;
}

.fp-stat-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    opacity: 0.15;
}

.fp-stat-win {
    border-top-color: var(--success);
}

.fp-stat-win .fp-stat-number {
    color: var(--success);
}

.fp-stat-draw {
    border-top-color: #6c757d;
}

.fp-stat-loss {
    border-top-color: var(--danger);
}

.fp-stat-loss .fp-stat-number {
    color: var(--danger);
}

.fp-stat-pts {
    border-top-color: #007bff;
}

.fp-stat-pts .fp-stat-number {
    color: #007bff;
}

.fp-stat-pos {
    border-top-color: var(--warning);
}

.fp-stat-pos .fp-stat-number {
    color: #e67e22;
}

/* Goals Bar */
.fp-goals-bar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.fp-goals-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.fp-goals-track {
    height: 10px;
    background: var(--danger)20;
    border-radius: 5px;
    overflow: hidden;
}

.fp-goals-for {
    height: 100%;
    background: linear-gradient(90deg, var(--success), #20c997);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.fp-goals-diff {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    margin-top: 8px;
    color: var(--text);
}

/* Main Grid */
.fp-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    padding: 30px 0 60px;
}

/* Cards */
.fp-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.fp-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    color: var(--text);
}

/* Match Timeline */
.fp-timeline-month {
    margin-bottom: 8px;
}

.fp-timeline-hidden {
    display: none;
}

.fp-month-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    padding: 10px 0 6px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}

.fp-timeline-match {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: background 0.15s;
}

.fp-timeline-match:hover {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding-left: 8px;
    margin-left: -8px;
}

.fp-timeline-match:last-child {
    border-bottom: none;
}

.fp-tl-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    color: white;
}

.fp-tl-dot.win {
    background: var(--success);
}

.fp-tl-dot.draw {
    background: #6c757d;
}

.fp-tl-dot.loss {
    background: var(--danger);
}

.fp-tl-dot.scheduled {
    background: #e9ecef;
    color: #666;
}

.fp-tl-content {
    flex: 1;
    min-width: 0;
}

.fp-tl-main {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.fp-tl-ha {
    font-size: 14px;
    flex-shrink: 0;
}

.fp-tl-score {
    font-weight: 800;
    font-size: 15px;
    min-width: 32px;
    text-align: center;
    flex-shrink: 0;
}

.fp-tl-score.win {
    color: var(--success);
}

.fp-tl-score.draw {
    color: #6c757d;
}

.fp-tl-score.loss {
    color: var(--danger);
}

.fp-tl-opponent {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fp-tl-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.fp-show-more-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: 2px dashed var(--border);
    border-radius: 10px;
    background: transparent;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.2s;
}

.fp-show-more-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Standings */
.fp-standings {
    font-size: 13px;
}

.fp-st-header {
    display: flex;
    gap: 4px;
    padding: 8px 10px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border);
    background: var(--bg-secondary);
    border-radius: 6px 6px 0 0;
}

.fp-st-row {
    display: flex;
    gap: 4px;
    padding: 7px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.15s;
    align-items: center;
}

.fp-st-row:hover {
    background: var(--bg-secondary);
}

.fp-st-highlight {
    background: rgba(40, 167, 69, 0.08) !important;
    font-weight: 700;
    border-left: 3px solid var(--success);
}

.fp-st-pos {
    width: 26px;
    text-align: center;
    font-weight: 700;
    flex-shrink: 0;
}

.fp-st-pos.promo {
    color: var(--success);
}

.fp-st-pos.playoff {
    color: var(--info);
}

.fp-st-team {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fp-st-star {
    color: var(--warning);
    margin-left: 4px;
}

.fp-st-n {
    width: 26px;
    text-align: center;
    flex-shrink: 0;
}

.fp-st-pts {
    width: 30px;
    text-align: center;
    font-weight: 700;
    flex-shrink: 0;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .fp-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fp-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fp-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .fp-team-card {
        flex-direction: column;
        text-align: center;
    }

    .fp-team-logo {
        width: 70px;
        height: 70px;
    }

    .fp-team-info h1 {
        font-size: 22px;
    }

    .fp-form {
        justify-content: center;
    }

    .fp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .fp-stat-number {
        font-size: 26px;
    }

    .fp-card {
        padding: 20px;
    }

    .fp-st-hide-mobile {
        display: none;
    }

    .fp-next-teams {
        flex-direction: column;
        gap: 8px;
    }
}

/* =============================================
   FAMOUS PEOPLE LIST PAGE
   ============================================= */

.famous-people-page {
    padding: 40px 0;
}

.famous-people-page .page-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.famous-people-page .page-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.famous-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.famous-filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border);
    border-radius: 25px;
    background: white;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.famous-filter-btn:hover,
.famous-filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.famous-people-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.famous-people-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.famous-people-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.famous-people-card-photo {
    height: 220px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.famous-people-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.famous-people-card-photo i {
    font-size: 64px;
    color: rgba(255, 255, 255, 0.3);
}

.famous-people-card-content {
    padding: 20px;
}

.famous-people-card-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.famous-people-card-profession {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.famous-people-card-dates {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.famous-people-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============================================
   OBITUARIES LIST PAGE
   ============================================= */

.obituaries-page {
    padding: 40px 0;
}

.obituaries-page .page-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.obituaries-page .page-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* =============================================
   STATIC PAGE
   ============================================= */

.static-page {
    padding: 40px 0;
    min-height: 50vh;
}

.static-page-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.static-page-content h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.static-page-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.static-page-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--text);
}

.static-page-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 25px 0 12px;
    color: var(--text);
}

.static-page-content ul,
.static-page-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.static-page-content li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.static-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

/* =============================================
   PAGINATION
   ============================================= */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination__pages {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-primary);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pagination .pagination__page {
    padding: 0;
    width: 40px;
    border-radius: 50%;
}

.pagination a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.pagination .pagination__page--current {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 91, 149, 0.4);
}

.pagination__prev,
.pagination__next {
    gap: 8px;
}

.pagination__prev i,
.pagination__next i {
    font-size: 12px;
}

.pagination .dots {
    background: none;
    box-shadow: none;
    color: var(--text-secondary);
    width: auto;
    min-width: 20px;
}

/* =============================================
   BREADCRUMBS
   ============================================= */

.breadcrumbs {
    padding: 15px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 8px;
    opacity: 0.5;
}

/* =============================================
   OBFUSCATED LINKS
   ============================================= */

.obfuscated-link {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.obfuscated-link:hover {
    color: var(--accent);
}

/* =============================================
   MOBILE MENU
   ============================================= */

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 14px;
    transition: all 0.3s;
    letter-spacing: 1px;
    margin-left: 10px;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none !important;
}

.nav-menu.active {
    display: flex;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1200px) {

    .hero-grid,
    .football-container,
    .listings-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .famous-grid,
    .obituaries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .famous-people-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .famous-person-content,
    .team-details-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card.featured {
        grid-column: span 2;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .search-result-image {
        width: 150px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    /* === MOBILE HEADER === */
    .main-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        padding: 12px 0;
    }

    .header-content {
        flex-wrap: nowrap;
        align-items: center;
    }

    .header-actions {
        margin-left: auto;
        gap: 8px;
    }

    /* Hide search bar on mobile */
    .search-box {
        display: none !important;
    }

    /* Show hamburger */
    .mobile-menu-toggle {
        display: inline-block;
    }

    .nearby-towns {
        display: none !important;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
        border-radius: 10px;
    }

    .logo-text h1 {
        font-size: 22px;
        margin-bottom: 0;
    }

    /* === MOBILE NAV === */
    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: block;
        position: fixed;
        /* top is set dynamically via JS */
        left: 0;
        right: 0;
        background: white;
        z-index: 2000;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        border-top: 3px solid var(--accent);
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-menu {
        flex-direction: column !important;
        padding: 10px 0;
        gap: 0;
    }

    .nav-menu a {
        padding: 14px 20px;
        font-size: 15px;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-menu .mobile-only a {
        background: var(--accent);
        color: white;
        border-radius: 8px;
        justify-content: center;
        margin: 10px 15px;
        font-weight: 700;
        text-transform: uppercase;
        padding: 12px 20px !important;
    }

    /* Mobile dropdowns: expand inline, hidden by default (JS toggles) */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        background: #f8fafc;
        padding: 0;
        min-width: auto;
        display: none;
    }

    .dropdown a {
        padding: 12px 20px 12px 45px !important;
        font-size: 14px !important;
    }

    /* === OTHER PAGE ELEMENTS === */
    .top-bar-left {
        display: none;
    }

    .hero-main {
        height: 400px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-side {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-card {
        flex: 1;
        min-width: 200px;
        height: 120px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-template-columns: 1fr;
    }

    .news-card.featured .news-image {
        height: 200px;
    }

    .famous-grid,
    .obituaries-grid,
    .famous-people-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .weather-content {
        flex-direction: column;
        text-align: center;
    }

    .weather-details {
        flex-wrap: wrap;
        justify-content: center;
    }

    .holidays-content {
        flex-direction: column;
        gap: 15px;
    }

    .quote-text {
        font-size: 22px;
    }

    .famous-person-header {
        flex-direction: column;
        text-align: center;
    }

    .famous-person-photo {
        width: 150px;
        height: 150px;
    }

    .famous-person-info h1 {
        font-size: 26px;
    }

    .famous-person-dates {
        justify-content: center;
    }

    .team-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .search-result-item {
        flex-direction: column;
    }

    .search-result-image {
        width: 100%;
        height: 180px;
    }

    .search-form-large {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .logo-text h1 {
        font-size: 24px;
    }

    .hero-title {
        font-size: 20px;
    }

    .police-section {
        padding: 25px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .famous-person-info h1 {
        font-size: 22px;
    }
}

/* =============================================
   ACCESSIBILITY
   ============================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .breaking-ticker,
    .villages-ticker-content {
        animation: none;
    }
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    :root {
        --primary: var(--primary-dark);
        --danger: #c9302c;
    }
}

/* =============================================
   MOBILE RWD & UX FIXES (Audit Based)
   ============================================= */
@media (max-width: 768px) {

    /* FOOTBALL PAGE MOBILE */
    .fp-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fp-team-card {
        flex-direction: column;
        gap: 15px;
    }

    .fp-team-logo {
        margin: 0 auto;
    }

    .fp-next-teams {
        flex-direction: column;
    }

    .fp-main-grid {
        grid-template-columns: 1fr;
    }

    .fp-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fp-st-hide-mobile {
        display: none !important;
    }

    .fp-st-row {
        font-size: 11px;
    }

    .fp-tl-opponent {
        white-space: normal;
        line-height: 1.3;
        word-break: break-word;
    }

    .fp-tl-main {
        align-items: flex-start;
    }

    .fp-tl-score {
        min-width: 28px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .breaking-ticker {
        animation-duration: 90s !important;
    }

    .top-bar {
        display: none !important;
    }

    .fp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
