* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

*:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}

:root {
    --primary-color: #0f172a;
    --primary-light: #1e293b;
    --secondary-color: #0ea5e9;
    --secondary-dark: #0284c7;
    --accent-color: #f43f5e;
    --accent-soft: rgba(244, 63, 94, 0.12);
    --text-color: #1e293b;
    --text-muted: #64748b;
    --bg-color: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --hover-color: #0284c7;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --radius: 12px;
    --radius-lg: 16px;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
    line-height: 1.65;
    background: var(--bg-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

img {
    opacity: 1;
}

img[data-src]:not(.loaded) {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img[data-src].loaded {
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 100;
}

.header-logo-strip {
    width: 100%;
    margin: 0;
    padding: 0;
    padding-bottom: calc(544 / 1920 * 100%);
    height: 0;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    position: relative;
    box-sizing: content-box;
}

.header-logo-strip-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.logo-strip-actions {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-strip-actions-left {
    justify-content: flex-start;
}

.logo-strip-actions-right {
    justify-content: flex-end;
}

.header-logo-strip .logo-strip {
    display: block;
    text-align: center;
    height: 100%;
    min-height: 0;
}

.header-logo-strip .logo-strip a {
    display: block;
    height: 100%;
    line-height: 0;
    position: relative;
    overflow: hidden;
}

.header-logo-strip .logo-strip img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    max-height: none !important;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
    vertical-align: top;
    position: absolute;
    inset: 0;
}

.header-logo-strip .logo img {
    max-height: none !important;
    width: 100% !important;
    height: 100% !important;
}

.header-logo-strip .logo-strip h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.02em;
}

@media (min-width: 992px) {
    .header-logo-strip .logo-strip h1 {
        font-size: 2.25rem;
    }
}

.site-header-modern .header-bar {
    background: #7a1e2b;
    box-shadow: 0 1px 0 rgba(0,0,0,0.18);
    position: relative;
    z-index: 5000;
    overflow: visible;
}

.site-header-modern .header-bar-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 15px;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}


.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
    gap: 5px;
    transition: background 0.2s, color 0.2s;
}

.hamburger-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger-btn.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 991px) {
    .header-logo-strip-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    .logo-strip-actions {
        display: flex;
        width: 44px;
        min-width: 44px;
    }
    .header-logo-strip .logo-strip {
        flex: 1;
        min-width: 0;
    }
    .hamburger-btn {
        display: flex;
    }
    .logo-strip-actions-right .header-search-btn {
        display: flex;
    }
    .main-nav-modern {
        display: none;
    }
    .site-header-modern .header-bar {
        display: none;
    }
    .header-logo-strip {
        padding: 0;
        padding-bottom: calc(544 / 1920 * 100%);
    }
    .header-logo-strip .logo-strip img {
        height: 100%;
        max-height: none;
        object-fit: contain;
        object-position: center;
    }
}

.mobile-nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.3s ease;
}

.mobile-nav-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-drawer.is-open .mobile-nav-backdrop {
    opacity: 1;
}

.mobile-nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    max-width: 100%;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: auto;
}

.mobile-nav-drawer.is-open .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 700;
    font-size: 1.125rem;
    color: #0f172a;
}

.mobile-nav-close {
    width: 44px;
    height: 44px;
    border: none;
    background: #f1f5f9;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mobile-nav-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.mobile-nav-close::before {
    content: '×';
}

.mobile-nav {
    padding: 16px 0;
    flex: 1;
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav a {
    display: block;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border-left: 3px solid transparent;
}

.mobile-nav a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.mobile-nav a.active {
    background: #e2e8f0;
    color: #0f172a;
    border-left-color: var(--primary-color, #0ea5e9);
}

@media (min-width: 992px) {
    .mobile-nav-drawer {
        display: none;
    }
}


.header-top {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 18px 0;
}

.logo {
    text-align: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.logo img {
    max-height: 80px;
    height: auto;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.logo.logo-only a {
    display: block;
    line-height: 0;
    font-size: 0;
}

.logo.logo-only img {
    display: block;
}

.main-nav-modern {
    background: none;
}

.main-nav-modern ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.main-nav-modern a {
    display: block;
    padding: 10px 16px;
    color: #475569;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.site-header-modern .header-bar .main-nav-modern a,
.site-header-modern .header-bar .main-nav-modern .nav-more-toggle {
    color: #fff;
}

.site-header-modern .header-bar .main-nav-modern .nav-more-icon span {
    background: currentColor;
}

.site-header-modern .header-bar .main-nav-modern a:hover,
.site-header-modern .header-bar .main-nav-modern .nav-more-toggle:hover,
.site-header-modern .header-bar .main-nav-modern .nav-more:hover .nav-more-toggle,
.site-header-modern .header-bar .main-nav-modern .nav-more:focus-within .nav-more-toggle {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.site-header-modern .header-bar .main-nav-modern a.active {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.site-header-modern .header-bar .main-nav-modern .nav-dropdown {
    background: #fff;
}

.site-header-modern .header-bar .main-nav-modern .nav-dropdown a {
    color: #0f172a;
}

.site-header-modern .header-bar .main-nav-modern .nav-dropdown a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.site-header-modern .header-bar .main-nav-modern .nav-dropdown a.active {
    background: #e2e8f0;
    color: #0f172a;
}

.main-nav-modern .nav-more {
    position: relative;
}

.main-nav-modern .nav-more-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    color: #475569;
    background: transparent;
    border: none;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-family: inherit;
    line-height: 1;
    pointer-events: auto;
}

.main-nav-modern .nav-more-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 18px;
    height: 14px;
}

.main-nav-modern .nav-more-icon span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.main-nav-modern .nav-more-toggle:hover,
.main-nav-modern .nav-more:hover .nav-more-toggle,
.main-nav-modern .nav-more:focus-within .nav-more-toggle {
    color: #0f172a;
    background: #f1f5f9;
}

.main-nav-modern .nav-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -8px);
    z-index: 99999;
    display: grid;
    min-width: 260px;
    max-width: min(720px, calc(100vw - 48px));
    padding: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    max-height: min(60vh, 520px);
    overflow: auto;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.main-nav-modern .nav-dropdown li {
    list-style: none;
}

.main-nav-modern .nav-dropdown a {
    padding: 10px 12px;
    border-radius: 10px;
    white-space: normal;
}

.main-nav-modern .nav-more.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 0s;
}

.main-nav-modern a:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.main-nav-modern a.active {
    background: #e2e8f0;
    color: #0f172a;
}

.header-search-modern {
    flex-shrink: 0;
}

.header-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.site-header-modern .header-bar .header-search-btn {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff;
}

.site-header-modern .header-bar .header-search-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.header-search-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.header-search-btn svg {
    display: block;
}

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 16px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.search-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    cursor: pointer;
}

.search-overlay-inner {
    position: relative;
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 24px;
}

.search-overlay-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-overlay-input {
    flex: 1;
    height: 52px;
    padding: 0 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-overlay-input:focus {
    border-color: var(--primary-color, #0ea5e9);
}

.search-overlay-submit {
    height: 52px;
    padding: 0 24px;
    background: var(--primary-color, #0ea5e9);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.search-overlay-submit:hover {
    background: #0284c7;
}

.search-overlay-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    color: #64748b;
}

.search-overlay-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.search-overlay-close::before {
    content: '×';
}

@media (min-width: 992px) {
    .site-header-modern .header-bar-inner {
        flex-direction: row;
        justify-content: space-between;
        padding: 12px 18px;
        gap: 12px;
    }
    .site-header-modern .header-bar-inner.container {
        max-width: none;
    }
    .site-header-modern .header-bar-inner .header-actions {
        margin-left: auto;
    }
    .main-nav-modern {
        flex: 1;
        display: flex;
        justify-content: center;
        min-width: 0;
    }
    .main-nav-modern ul {
        gap: 6px;
        flex-wrap: nowrap;
        justify-content: center;
    }
    .main-nav-modern a {
        font-size: 0.76rem;
        padding: 7px 8px;
        white-space: nowrap;
    }
    .main-nav-modern .nav-more-toggle {
        font-size: 0.76rem;
        padding: 7px 8px;
    }
    .site-header-modern .header-bar .header-search-btn {
        width: 38px;
        height: 38px;
    }
}

.header-search {
    width: 100%;
}

.header-search form {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.header-search input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    min-width: 0;
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.header-search input::placeholder {
    color: rgba(255,255,255,0.7);
}

.header-search button {
    padding: 12px 18px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.header-search button:hover {
    background: var(--secondary-dark);
    transform: translateY(-1px);
}

.breaking-news-bar {
    background: linear-gradient(90deg, var(--accent-color), #fb7185);
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.breaking-label {
    background: rgba(0,0,0,0.2);
    padding: 4px 12px;
    font-weight: bold;
    white-space: nowrap;
    font-size: 12px;
    flex-shrink: 0;
}

.breaking-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    min-width: 0;
}

.breaking-ticker {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
    width: max-content;
    animation: breaking-marquee 50s linear infinite;
}

.breaking-ticker:hover {
    animation-play-state: paused;
}

.breaking-content a {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    font-size: 13px;
    flex-shrink: 0;
}

@keyframes breaking-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.main-nav {
    background: rgba(0,0,0,0.15);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    min-width: max-content;
}

.main-nav a {
    display: block;
    padding: 14px 18px;
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
}

.main-nav a:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.main-content {
    min-height: calc(100vh - 300px);
    padding: 20px 0;
}

.headlines-slider {
    position: relative;
    margin-bottom: 36px;
    height: 280px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.slider-wrapper {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent 0%, rgba(15,23,42,0.92) 100%);
    padding: 24px 20px;
    color: #fff;
}

.slide-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.slide-content p {
    font-size: 14px;
    display: none;
}

.category-badge {
    display: inline-block;
    background: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.slider-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    display: none;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
    touch-action: manipulation;
    min-width: 22px;
    min-height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-dot.active {
    background: #fff;
}

.content-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.home-between-slot {
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
}

.home-between-slot-inner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.home-between-slot--image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.home-between-slot-link {
    display: block;
    line-height: 0;
}

.home-between-slot--video .video-wrapper {
    border-radius: 0;
}

.home-ad-carousel {
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
}

.home-ad-carousel-slides {
    position: relative;
}

.home-ad-carousel-slide {
    display: none;
}

.home-ad-carousel-slide.is-active {
    display: block;
}

.home-ad-carousel .home-between-slot-inner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.home-ad-carousel-slide.is-active .home-between-slot-link img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.home-ad-carousel .video-wrapper {
    border-radius: 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
}

.news-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:active {
    transform: scale(0.99);
}

.news-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.breaking-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    z-index: 5;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.4;
}

.news-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 14px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.news-category {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

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

.news-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.news-item:hover {
    box-shadow: var(--shadow-lg);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
}

.news-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-color);
    line-height: 1.4;
}

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

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

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    order: -1;
}

.widget {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.widget h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 12px;
}

.popular-news {
    list-style: none;
}

.popular-news li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.popular-news li:last-child {
    border-bottom: none;
}

.popular-news a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.3s;
}

.popular-news a:hover {
    color: var(--secondary-color);
}

.view-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
    font-weight: 500;
}

.newsletter-widget {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: #fff;
    border: none;
}

.sidebar-promo-stack {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar-promo-link {
    display: block;
    line-height: 0;
}

.sidebar-promo-img {
    display: block;
    width: 100%;
    height: auto;
}

.newsletter-widget h3 {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.35);
}

.newsletter-widget p {
    font-size: 0.875rem;
    margin-bottom: 14px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    padding: 14px 16px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    width: 100%;
}

.newsletter-form button {
    padding: 10px 16px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: rgba(255,255,255,0.3);
}

.news-detail-page {
    position: relative;
}

.news-hero-image {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 480px;
    max-height: 820px;
    overflow: hidden;
    margin-bottom: 0;
    background: #e2e8f0;
}

.news-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 24px 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.breadcrumb-nav a:hover {
    color: var(--secondary-dark);
}

.breadcrumb-nav .separator {
    color: var(--text-muted);
}

.news-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.news-main {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    box-shadow: var(--shadow-md);
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.news-header-modern {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
}

.breaking-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-color), #fb7185);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    animation: pulse 2s infinite;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.news-title-modern {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.news-subtitle-modern {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1.5;
}

.news-meta-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.meta-icon {
    font-size: 1rem;
}

.meta-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-muted);
}

.meta-icon-svg svg {
    width: 100%;
    height: 100%;
}

.meta-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.meta-link:hover {
    color: var(--secondary-dark);
}

.news-body-modern {
    margin-top: 32px;
}

.news-content-rich {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text-color);
    margin-bottom: 40px;
}

.news-content-rich p {
    margin-bottom: 20px;
}

.news-content-rich h2,
.news-content-rich h3,
.news-content-rich h4 {
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.news-content-rich h2 {
    font-size: 1.75rem;
}

.news-content-rich h3 {
    font-size: 1.5rem;
}

.news-content-rich img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 32px 0;
    box-shadow: var(--shadow-md);
}

.news-content-rich blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-muted);
}

.news-content-rich ul,
.news-content-rich ol {
    margin: 20px 0;
    padding-left: 30px;
}

.news-content-rich li {
    margin-bottom: 10px;
}

.news-video-modern {
    margin: 40px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: contain;
}

.video-wrapper video {
    background: #000;
}

.news-gallery-modern .gallery-item-modern video.gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.news-gallery-modern {
    margin: 48px 0;
}

.gallery-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.gallery-item-modern {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item-modern:hover {
    transform: translateY(-4px);
}

.gallery-item-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-modern:hover img {
    transform: scale(1.1);
}

.gallery-item-modern {
    cursor: pointer;
}

.gallery-item-zoom-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 0.75rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.gallery-item-modern:hover .gallery-item-zoom-hint {
    opacity: 1;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    box-sizing: border-box;
}

.gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    cursor: pointer;
}

.gallery-lightbox-content {
    position: relative;
    z-index: 1;
    max-width: calc(100vw - 48px);
    max-height: calc(100vh - 48px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.gallery-lightbox-media {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
}

.gallery-lightbox-media img,
.gallery-lightbox-media video {
    max-width: calc(100vw - 48px);
    max-height: calc(100vh - 48px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.gallery-lightbox-media video {
    background: #000;
}

.gallery-lightbox-close {
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 10003;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

.gallery-lightbox-close:hover {
    background: rgba(255,255,255,0.25);
}

.news-tags-modern {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 40px 0;
    padding: 24px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(2, 132, 199, 0.08));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.tags-label {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9375rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-modern {
    display: inline-block;
    padding: 8px 16px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.tag-modern:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(14, 165, 233, 0.3);
}

.social-share-modern {
    margin: 48px 0;
    padding: 28px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.share-label {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-size: 1rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.share-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.share-icon-svg svg {
    width: 100%;
    height: 100%;
}

.share-facebook {
    background: #1877f2;
    color: #fff;
}

.share-facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.share-twitter {
    background: #1da1f2;
    color: #fff;
}

.share-twitter:hover {
    background: #1a91da;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

.share-whatsapp {
    background: #25d366;
    color: #fff;
}

.share-whatsapp:hover {
    background: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.share-telegram {
    background: #0088cc;
    color: #fff;
}

.share-telegram:hover {
    background: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
}

.related-news-modern {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.section-title-modern {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 28px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.comment-count {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.related-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.related-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 20px;
}

.related-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-meta {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.comments-section-modern {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.comment-form-modern {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 28px;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
}

.form-row-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group-modern {
    margin-bottom: 16px;
}

.form-group-modern input,
.form-group-modern textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.25s ease;
    background: #fff;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group-modern textarea {
    resize: vertical;
    min-height: 120px;
}

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

.no-comments {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 1rem;
}

.comment-item-modern {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.comment-item-modern:hover {
    box-shadow: var(--shadow-md);
}

.comment-header {
    margin-bottom: 16px;
}

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

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.comment-author-name {
    display: block;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
}

.comment-date {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.comment-body {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.9375rem;
}

@media (min-width: 768px) {
    .news-main {
        padding: 48px 40px;
    }
    
    .form-row-modern {
        grid-template-columns: 1fr 1fr;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid-modern {
        grid-template-columns: repeat(4, 1fr);
    }
}

.site-footer {
    background: var(--primary-color);
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-section h3 {
    margin-bottom: 12px;
    color: #fff;
    font-size: 18px;
}

.footer-section p {
    font-size: 13px;
    line-height: 1.6;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.social-links a {
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    font-size: 12px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
}

.newsletter-form button {
    padding: 10px 16px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--hover-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
    font-size: 12px;
}

.footer-credit {
    margin-top: 8px;
    font-size: 11px;
}

.footer-credit a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 30px 0;
}

.pagination a {
    padding: 8px 12px;
    background: #fff;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-size: 14px;
    min-width: 40px;
    text-align: center;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.category-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
    letter-spacing: -0.02em;
}

.section-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.section-title a:hover {
    color: var(--secondary-color);
}

.view-more {
    display: inline-block;
    margin-top: 18px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.view-more:hover {
    color: var(--secondary-dark);
    text-decoration: underline;
}

.btn {
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    touch-action: manipulation;
    min-height: 48px;
    min-width: 48px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: #fff;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.45);
}

.error-page {
    text-align: center;
    padding: 80px 24px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-page .container {
    max-width: 480px;
}

.error-page h1 {
    font-size: clamp(4rem, 15vw, 7rem);
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 16px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.error-page h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.error-page p {
    margin-bottom: 28px;
    color: var(--text-muted);
    font-size: 1rem;
}

.search-header {
    margin-bottom: 25px;
}

.search-header h1 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.search-header p {
    color: #666;
    font-size: 14px;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.category-header {
    margin-bottom: 25px;
}

.category-header h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.category-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.about-page {
    padding: 0 0 64px;
}

.about-hero {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0284c7 100%);
    color: #fff;
    padding: 56px 24px 48px;
    margin-bottom: 48px;
    text-align: center;
}

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

.about-lead {
    margin: 10px 0 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.about-section-title {
    margin: 0 0 14px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary-color);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.about-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
}

.about-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.about-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
}

@media (max-width: 700px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-hero-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.9;
    margin: 0 0 12px;
}

.about-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.about-content {
    max-width: 780px;
    margin: 0 auto;
}

.about-content section {
    margin-bottom: 40px;
}

.about-intro {
    padding: 0 0 8px;
}

.about-intro p {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--text-color);
    margin: 0;
}

.about-list-section {
    background: #fff;
    padding: 32px 32px 28px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border-left: 4px solid var(--secondary-color);
}

.about-numbered-list {
    margin: 0 0 24px;
    padding-left: 1.5rem;
    list-style: decimal;
}

.about-numbered-list li {
    margin-bottom: 14px;
    line-height: 1.75;
    color: var(--text-color);
    font-size: 1rem;
}

.about-numbered-list strong {
    color: var(--primary-color);
}

.about-note {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.about-block {
    background: #fff;
    padding: 28px 32px;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    border-left: 4px solid rgba(14, 165, 233, 0.4);
}

.about-block p {
    margin: 0 0 18px;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-color);
}

.about-block p:last-child {
    margin-bottom: 0;
}

.about-block em {
    color: var(--primary-color);
    font-style: italic;
}

.about-slogan {
    margin: 48px 0 40px;
    padding: 32px 28px;
    text-align: center;
    background: linear-gradient(135deg, #0c4a6e, #0369a1);
    color: #fff;
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(2, 132, 199, 0.35);
}

.about-slogan-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-style: italic;
    margin: 0;
}

.about-signature {
    text-align: center;
    padding: 40px 28px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.about-signature-name {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 6px;
}

.about-signature-role {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 0 10px;
}

.about-signature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 20px;
}

.about-signature-contact {
    margin: 0;
    font-size: 1rem;
}

.about-signature-contact a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.about-signature-contact a:hover {
    text-decoration: underline;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.page-content h1 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
}

.kunye-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
}

.kunye-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 18px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

.kunye-card h2 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.kunye-dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.kunye-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 12px;
    align-items: start;
}

.kunye-row dt {
    font-weight: 800;
    color: #0f172a;
}

.kunye-row dd {
    margin: 0;
    color: #334155;
    line-height: 1.7;
}

.kunye-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.kunye-contact-list li {
    color: #334155;
    line-height: 1.7;
}

.kunye-contact-list li span {
    display: inline-block;
    min-width: 110px;
    font-weight: 800;
    color: #0f172a;
}

.kunye-contact-list a {
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
}

.kunye-contact-list a:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .kunye-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .kunye-contact-list li span {
        min-width: 0;
        display: block;
        margin-bottom: 2px;
    }
}

.contact-page {
    padding: 0 0 64px;
}

.article-category-page {
    padding: 0 0 64px;
}

.article-hero {
    background: linear-gradient(135deg, #111827 0%, #3b0a14 50%, #7a1e2b 100%);
    color: #fff;
    padding: 52px 24px 44px;
    margin-bottom: 36px;
    text-align: center;
}

.article-hero .container {
    max-width: 920px;
    margin: 0 auto;
}

.article-hero-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.9;
    margin: 0 0 12px;
}

.article-hero h1 {
    margin: 0;
    font-size: clamp(1.6rem, 4.2vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.article-hero-lead {
    margin: 12px 0 0;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
}

.article-list {
    display: grid;
    gap: 14px;
}

.article-row {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

.article-row-link {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    color: inherit;
    text-decoration: none;
}

.article-row-media {
    height: 100%;
    min-height: 140px;
    background: #f1f5f9;
}

.article-row-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-row-body {
    padding: 16px 18px;
}

.article-row-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.article-row-author {
    font-weight: 800;
    color: #0f172a;
}

.article-row-title {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #0f172a;
}

.article-row-excerpt {
    margin: 0;
    color: #475569;
    line-height: 1.75;
}

.article-row:hover {
    border-color: rgba(122, 30, 43, 0.35);
}

.article-row:hover .article-row-title {
    color: #7a1e2b;
}

@media (max-width: 720px) {
    .article-row-link {
        grid-template-columns: 1fr;
    }
    .article-row-media {
        min-height: 180px;
    }
}

.article-detail-page {
    padding: 0 0 64px;
}

.article-detail-header {
    padding: 28px 0 18px;
}

.article-detail-title {
    margin: 10px 0 0;
    font-size: clamp(1.7rem, 4.4vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 950;
    color: #0f172a;
}

.article-detail-subtitle {
    margin: 10px 0 0;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.6;
}

.article-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
    color: #64748b;
}

.article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-cover {
    margin: 18px 0 18px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.article-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    max-width: 820px;
    margin: 0 auto;
}

.contact-hero {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0284c7 100%);
    color: #fff;
    padding: 56px 24px 48px;
    margin-bottom: 48px;
    text-align: center;
}

.contact-hero .container {
    max-width: 640px;
    margin: 0 auto;
}

.contact-hero-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.9;
    margin: 0 0 12px;
}

.contact-hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.contact-lead {
    color: rgba(255,255,255,0.9);
    font-size: 1.0625rem;
    margin: 0;
}

.contact-layout {
    display: grid;
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-layout {
        grid-template-columns: 300px 1fr;
        align-items: start;
    }
}

.contact-info-card {
    background: #fff;
    padding: 32px 28px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border-left: 4px solid var(--secondary-color);
}

.contact-info-card h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}

.contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-info-list li {
    margin-bottom: 20px;
}

.contact-info-label {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.contact-info-value {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    word-break: break-all;
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 100%;
}

.contact-info-value:hover {
    text-decoration: underline;
}

.contact-info-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    line-height: 1.6;
}

.contact-form-wrap {
    background: #fff;
    padding: 32px 28px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border-left: 4px solid rgba(14, 165, 233, 0.4);
}

.contact-form-modern .form-row-contact {
    display: grid;
    gap: 20px;
}

@media (min-width: 480px) {
    .contact-form-modern .form-row-contact {
        grid-template-columns: 1fr 1fr;
    }
}

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

.contact-form-modern label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-color);
}

.contact-form-modern input,
.contact-form-modern textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-modern input:focus,
.contact-form-modern textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.contact-form-modern textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-form-modern .btn-large {
    margin-top: 8px;
    padding: 14px 28px;
    font-size: 1rem;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 8px;
}

.contact-form {
    max-width: 600px;
    margin: 25px auto 0;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.alert {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

@media (min-width: 480px) {
    .headlines-slider {
        height: 300px;
    }
    
    .slide-content h2 {
        font-size: 20px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .news-video iframe {
        height: 300px;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
    }
    
    .logo {
        text-align: left;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .logo img {
        max-height: 112px;
    }
    
    .header-search {
        width: auto;
    }
    
    .header-search input {
        width: 300px;
    }
    
    .main-nav ul {
        flex-direction: row;
    }
    
    .main-content {
        padding: 30px 0;
    }
    
    .headlines-slider {
        height: 400px;
        margin-bottom: 40px;
    }
    
    .slide-content {
        padding: 30px 40px;
    }
    
    .slide-content h2 {
        font-size: 28px;
    }
    
    .slide-content p {
        display: block;
        font-size: 16px;
    }
    
    .content-layout {
        flex-direction: row;
        gap: 30px;
    }
    
    .sidebar {
        order: 0;
        width: 300px;
        flex-shrink: 0;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .news-item {
        flex-direction: row;
        gap: 20px;
    }
    
    .news-item img {
        width: 200px;
        height: 150px;
        flex-shrink: 0;
    }
    
    .news-header h1 {
        font-size: 32px;
    }
    
    .news-subtitle {
        font-size: 22px;
    }
    
    .news-content-wrapper {
        font-size: 16px;
    }
    
    .news-video iframe {
        height: 450px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-form {
        flex-direction: row;
    }
    
    .newsletter-form input {
        width: auto;
    }
}

@media (min-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .headlines-slider {
        height: 500px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .news-video iframe {
        height: 500px;
    }
}

@media (min-width: 1200px) {
    .news-header h1 {
        font-size: 36px;
    }
    
    .news-subtitle {
        font-size: 24px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .news-card,
    .news-item,
    .widget,
    .category-section {
        animation: fadeInUp 0.4s ease-out;
    }

    .news-card:nth-child(1) { animation-delay: 0.05s; }
    .news-card:nth-child(2) { animation-delay: 0.1s; }
    .news-card:nth-child(3) { animation-delay: 0.15s; }
    .news-card:nth-child(4) { animation-delay: 0.2s; }
    .news-card:nth-child(5) { animation-delay: 0.25s; }
    .news-card:nth-child(6) { animation-delay: 0.3s; }
}

.news-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.news-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.news-card img {
    transition: transform 0.5s ease;
}

.news-card:hover img {
    transform: scale(1.1);
}

.headlines-slider .slide {
    animation: fadeIn 0.8s ease-in-out;
}

.breaking-news-bar {
    animation: slideInRight 0.5s ease-out;
}

.btn,
button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.45);
}

.site-header {
    animation: fadeInDown 0.5s ease-out;
}

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

.sidebar {
    animation: slideInRight 0.6s ease-out;
}

.widget {
    transition: all 0.3s ease;
}

.widget:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.news-card:hover .news-image::after {
    left: 100%;
}

.breaking-badge {
    animation: pulse 2s infinite;
}

.slider-dot {
    transition: all 0.3s ease;
}

.slider-dot:hover {
    transform: scale(1.2);
}

.slider-dot.active {
    animation: pulse 1.5s infinite;
}

.newsletter-form {
    animation: fadeInUp 0.8s ease-out;
}

input:focus,
textarea:focus,
select:focus {
    animation: pulse 0.3s ease;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.loading {
    position: relative;
    overflow: hidden;
}

.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
