/* Base styles */
:root {
    /* Color Scheme */
    --primary-color: #1a365d;
    --primary-light: #2a4365;
    --secondary-color: #2b6cb0;
    --accent-color: #3182ce;
    --accent-hover: #2c5282;
    --success-color: #38a169;
    --warning-color: #dd6b20;
    --danger-color: #e53e3e;
    --text-color: #2d3748;
    --text-light: #4a5568;
    --text-lighter: #718096;
    --border-color: #e2e8f0;
    --light-gray: #f7fafc;
    --white: #ffffff;
    --black: #1a202c;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 0.25rem;
    --radius: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-full: 9999px;

    /* Dark theme colors */
    --dark-bg: #1a202c;
    --dark-surface: #2d3748;
    --dark-text: #f7fafc;
    --dark-text-light: #e2e8f0;
    --dark-border: #4a5568;
}
/* ==========================================================================
   #TYPOGRAPHY & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
button,
input,
textarea,
select {
    font: inherit;
}
button {
    cursor: pointer;
    border: none;
    background: none;
}
/* Dark theme styles */
body.dark-theme {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}
.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme h5,
.dark-theme h6 {
    color: var(--dark-text);
}
.dark-theme p,
.dark-theme .text-light {
    color: var(--dark-text-light);
}
/* ==========================================================================
   #LAYOUT & CONTAINERS
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.section {
    padding: 4rem 0;
}
.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
}
.section-title span {
    position: relative;
    display: inline-block;
    padding: 0 1.5rem;
}
.section-title span::before,
.section-title span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}
.section-title span::before {
    right: 100%;
}
.section-title span::after {
    left: 100%;
}
/* Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}
.btn-primary {
    background-color: var(--accent-color);
    color: white;
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}
.btn-outline:hover {
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
}
/* Cards */
.card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.card__image {
    width: 100%;
    height: 200px;
    -o-object-fit: cover;
       object-fit: cover;
}
.card__content {
    padding: 1.5rem;
}
.card__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.card__meta {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-lighter);
    margin-bottom: 1rem;
}
.card__meta span {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}
.card__meta i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}
/* ==========================================================================
   #HEADER & NAVIGATION
   ========================================================================== */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.875rem;
    padding: 0.5rem 0;
}
.top-bar__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.date-time {
    display: flex;
    align-items: center;
}
.date-time i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-link {
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}
.social-link:hover {
    opacity: 1;
    color: var(--accent-color);
    text-decoration: none;
}
.header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
.logo__link {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
}
.logo__image {
    height: 50px;
    margin-right: 0.75rem;
}
.logo__text span {
    color: var(--accent-color);
}
.header__right {
    display: flex;
    align-items: center;
}
.main-nav {
    margin-right: 2rem;
}
.nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__item {
    margin: 0 0.5rem;
}
.nav__link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}
.nav__link i {
    margin-right: 0.5rem;
}
.nav__link:hover,
.nav__link.active {
    background-color: var(--light-gray);
    color: var(--accent-color);
    text-decoration: none;
}
.header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.search-toggle,
.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}
.search-toggle:hover,
.theme-toggle:hover {
    background-color: var(--light-gray);
    color: var(--accent-color);
}
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}
.search-bar {
    height: 0;
    overflow: hidden;
    transition: var(--transition);
    background-color: var(--light-gray);
}
.search-bar.active {
    height: 80px;
    padding: 1rem 0;
}
.search-bar__inner {
    display: flex;
    align-items: center;
    height: 100%;
}
.search-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}
.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.2);
}
.search-submit {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-lighter);
    cursor: pointer;
}
/* ==========================================================================
   #BREAKING NEWS TICKER
   ========================================================================== */
.breaking-news {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 0;
    overflow: hidden;
    position: relative;
}
.breaking-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(26, 54, 93, 0) 100%);
    z-index: 2;
    pointer-events: none;
}
.breaking-news::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(270deg, var(--primary-color) 0%, rgba(26, 54, 93, 0) 100%);
    z-index: 2;
    pointer-events: none;
}
.breaking-news__inner {
    display: flex;
    align-items: center;
    position: relative;
}
.breaking-news__label {
    background-color: var(--accent-color);
    padding: 0.25rem 1rem;
    border-radius: var(--radius);
    font-weight: 700;
    margin-right: 1.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.breaking-news__content {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.breaking-news__items {
    display: flex;
    white-space: nowrap;
    animation: scrollTicker 30s linear infinite;
    padding-left: 100%;
    box-sizing: content-box;
}
.breaking-news__item {
    color: white;
    padding: 0 2rem;
    white-space: nowrap;
    position: relative;
    display: inline-block;
}
.breaking-news__item:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -0.5rem;
    color: rgba(255, 255, 255, 0.5);
}
.breaking-news__item:hover {
    color: var(--accent-color);
    text-decoration: none;
}
@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* Pause animation on hover */
.breaking-news:hover .breaking-news__items {
    animation-play-state: paused;
}
/* Responsive adjustments */
@media (max-width: 767.98px) {
    .breaking-news__label {
        margin-right: 1rem;
        padding: 0.2rem 0.75rem;
        font-size: 0.875rem;
    }

    .breaking-news__item {
        padding: 0 1rem;
        font-size: 0.9375rem;
    }
}
/* ==========================================================================
   #FEATURED NEWS
   ========================================================================== */
.featured-news {
    margin-bottom: 4rem;
}
.featured-slider {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.featured-item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 500px;
}
.featured-item__image {
    position: relative;
    flex: 1;
    overflow: hidden;
}
.featured-item__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    transition: transform 0.5s ease;
}
.featured-item:hover .featured-item__image img {
    transform: scale(1.05);
}
.featured-item__category {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 2;
}
.featured-item__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    z-index: 1;
}
.featured-item__title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}
.featured-item__excerpt {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}
.read-more {
    display: inline-flex;
    align-items: center;
    color: white;
    font-weight: 500;
    transition: var(--transition);
}
.read-more i {
    margin-left: 0.5rem;
    transition: var(--transition);
}
.read-more:hover {
    color: var(--accent-color);
    text-decoration: none;
}
.read-more:hover i {
    transform: translateX(3px);
}
.featured-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.slider-nav {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}
.slider-nav:hover {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}
.slider-dots {
    display: flex;
    gap: 0.5rem;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}
.slider-dot.active {
    background-color: var(--accent-color);
}
/* ==========================================================================
   #LATEST NEWS
   ========================================================================== */
.latest-news {
    margin-bottom: 4rem;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.section-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 0.5rem 1.25rem;
    background-color: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-light);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.tab-btn:hover {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}
.tab-btn.active {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.news-item {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.news-item__image {
    position: relative;
    height: 40px;
    overflow: hidden;
}
.news-item__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    transition: transform 0.5s ease;
}
.news-item:hover .news-item__image img {
    transform: scale(1.05);
}
.news-item__category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.news-item__content {
    padding: 1.5rem;
}
.news-item__meta {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-lighter);
    margin-bottom: 0.75rem;
}
.news-item__meta span {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}
.news-item__meta i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}
.news-item__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}
.news-item__excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}
.news-item__link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 500;
    transition: var(--transition);
}
.news-item__link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}
.news-item__link:hover {
    color: var(--accent-hover);
    text-decoration: none;
}
.news-item__link:hover i {
    transform: translateX(3px);
}
/* ==========================================================================
   #CATEGORIES SECTION
   ========================================================================== */
.categories-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.category-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid var(--accent-color);
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.category-card__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: rgba(49, 130, 206, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--accent-color);
    transition: var(--transition);
}
.category-card:hover .category-card__icon {
    background-color: var(--accent-color);
    color: white;
    transform: rotateY(180deg);
}
.category-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.category-card__count {
    color: var(--text-lighter);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}
.category-card__link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
}
.category-card__link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}
.category-card__link:hover {
    color: var(--accent-hover);
    text-decoration: none;
}
.category-card__link:hover i {
    transform: translateX(3px);
}
/* ==========================================================================
   #NEWSLETTER
   ========================================================================== */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius);
    padding: 3rem 2rem;
    color: white;
    text-align: center;
    margin-bottom: 4rem;
    box-shadow: var(--shadow);
}
.newsletter__content {
    max-width: 600px;
    margin: 0 auto 2rem;
}
.newsletter h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: white;
}
.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}
.newsletter__form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.newsletter__form input[type="email"] {
    flex: 1;
    padding: 0 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
}
.newsletter__form .btn-primary {
    border-radius: 0;
    padding: 0 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* ==========================================================================
   #FOOTER
   ========================================================================== */
.footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 4rem;
}
.footer__top {
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.footer__about {
    margin-bottom: 2rem;
}
.footer__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}
.footer__logo-img {
    height: 40px;
    margin-right: 0.75rem;
}
.footer__about-text {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.footer__social {
    display: flex;
    gap: 1rem;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}
.social-icon:hover {
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
}
.footer__title {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}
.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer__list li {
    margin-bottom: 0.75rem;
}
.footer__link {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
    padding: 0.25rem 0;
}
.footer__link:hover {
    color: white;
    text-decoration: none;
    transform: translateX(5px);
}
.footer__contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.contact-item i {
    margin-right: 1rem;
    color: var(--accent-color);
    margin-top: 0.25rem;
}
.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}
.contact-item a:hover {
    color: white;
    text-decoration: none;
}
.footer__subscribe h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.subscribe-form {
    display: flex;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
}
.subscribe-form input[type="email"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    outline: none;
    font-size: 0.9375rem;
}
.btn-subscribe {
    background-color: var(--accent-color);
    color: white;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.btn-subscribe:hover {
    background-color: var(--accent-hover);
}
.footer__bottom {
    padding: 1.5rem 0;
    text-align: center;
}
.footer__bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.copyright {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}
.footer__legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.legal-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: var(--transition);
}
.legal-link:hover {
    color: white;
    text-decoration: none;
}
/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background-color: var(--accent-hover);
    color: white;
    transform: translateY(-3px);
}
/* ==========================================================================
   #MOBILE MENU
   ========================================================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: white;
    z-index: 1100;
    transition: var(--transition);
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}
.mobile-menu.active {
    left: 0;
}
.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}
.mobile-menu__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.mobile-menu__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}
.mobile-menu__close:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}
.mobile-nav {
    flex: 1;
    padding: 1.5rem 0;
}
.mobile-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav__item {
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav__link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}
.mobile-nav__link i {
    margin-right: 1rem;
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}
.mobile-nav__link:hover,
.mobile-nav__link.active {
    background-color: var(--light-gray);
    color: var(--accent-color);
    text-decoration: none;
    padding-left: 1.75rem;
}
.mobile-menu__footer {
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}
.mobile-menu__social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.mobile-menu__copyright {
    font-size: 0.875rem;
    color: var(--text-lighter);
    margin: 0;
}
/* ==========================================================================
   #RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }

    .featured-item {
        height: 450px;
    }

    .featured-item__title {
        font-size: 1.75rem;
    }
}
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }

    .section {
        padding: 3rem 0;
    }

    .featured-item {
        height: 400px;
    }

    .featured-item__title {
        font-size: 1.5rem;
    }

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

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-title span::before,
    .section-title span::after {
        width: 30px;
    }

    .featured-item {
        height: 350px;
    }

    .featured-item__title {
        font-size: 1.5rem;
    }

    .featured-item__content {
        padding: 1.5rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter {
        padding: 2rem 1.5rem;
    }

    .newsletter h3 {
        font-size: 1.5rem;
    }

    .newsletter__form {
        flex-direction: column;
    }

    .newsletter__form input[type="email"] {
        width: 100%;
        margin-bottom: 1rem;
    }

    .newsletter__form .btn-primary {
        width: 100%;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 575.98px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .section-title span::before,
    .section-title span::after {
        display: none;
    }

    .featured-item {
        height: 300px;
    }

    .featured-item__title {
        font-size: 1.25rem;
    }

    .featured-item__excerpt {
        display: none;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-item__image {
        height: 40px;
    }

    .categories-section {
        grid-template-columns: 1fr;
    }

    .tab-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.875rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}
/* ==========================================================================
   #UTILITY CLASSES
   ========================================================================== */
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.mt-0 {
    margin-top: 0 !important;
}
.mb-1 {
    margin-bottom: 0.5rem !important;
}
.mb-2 {
    margin-bottom: 1rem !important;
}
.mb-3 {
    margin-bottom: 1.5rem !important;
}
.mb-4 {
    margin-bottom: 2rem !important;
}
.mb-5 {
    margin-bottom: 3rem !important;
}
.pt-0 {
    padding-top: 0 !important;
}
.pb-0 {
    padding-bottom: 0 !important;
}
.d-none {
    display: none !important;
}
.d-flex {
    display: flex !important;
}
.align-items-center {
    align-items: center !important;
}
.justify-content-between {
    justify-content: space-between !important;
}
/* ==========================================================================
   #ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}
/* ==========================================================================
   #PAGINATION
   ========================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
    gap: 0.5rem;
    align-items: center;
}
.pagination__item {
    display: inline-flex;
}
.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background-color: white;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}
.pagination__link:hover {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    text-decoration: none;
}
.pagination__item.active .pagination__link {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}
.pagination__item.disabled .pagination__link {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: var(--light-gray);
}
.pagination__item:not(:last-child) {
    margin-right: 0.5rem;
}
/* Responsive pagination */
@media (max-width: 575.98px) {
    .pagination__link {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}
a:hover {
    color: var(--secondary-color);
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* Header styles */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.nav__list {
    display: flex;
    list-style: none;
}
.nav__item {
    margin-left: 1.5rem;
}
.nav__link {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}
.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}
.nav__toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}
/* Main content */
.main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}
.page-title {
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.news-card__image {
    height: 200px;
    overflow: hidden;
}
.news-card__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    transition: var(--transition);
}
.news-card:hover .news-card__image img {
    transform: scale(1.05);
}
.news-card__content {
    padding: 1.5rem;
}
.news-card__category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.news-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}
.news-card__excerpt {
    color: #666;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card__meta {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.875rem;
}
/* Footer styles */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}
.footer a {
    color: var(--white);
}
.footer__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer__info {
    margin-bottom: 1.5rem;
}
.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.footer__nav h3,
.footer__contact h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer__nav h3::after,
.footer__contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}
.footer__nav ul {
    list-style: none;
}
.footer__nav li {
    margin-bottom: 0.5rem;
}
.footer__bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}
/* News detail page */
.news-detail {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}
.news-detail__image {
    height: 400px;
    overflow: hidden;
}
.news-detail__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}
.news-detail__content {
    padding: 2rem;
}
.news-detail__meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.875rem;
}
.news-detail__category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.news-detail__title {
    font-size: 2rem;
    margin: 1.5rem 0;
    color: var(--primary-color);
}
.news-detail__text {
    line-height: 1.8;
    margin-bottom: 2rem;
}
.news-detail__text p {
    margin-bottom: 1.5rem;
}
.back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-weight: 500;
}
.back-link i {
    margin-right: 0.5rem;
}
/* Responsive styles */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-detail__image {
        height: 300px;
    }
}
@media (max-width: 768px) {
    .nav__list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav__list.active {
        display: flex;
    }

    .nav__item {
        margin: 0;
    }

    .nav__link {
        display: block;
        padding: 0.75rem 1.5rem;
    }

    .nav__toggle {
        display: block;
    }

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

    .news-detail__title {
        font-size: 1.75rem;
    }

    .footer__inner {
        grid-template-columns: 1fr;
    }
}
/* Article Typography */
.article {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    line-height: 1.7;
    color: #333;
}
.article__title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}
.article__meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    color: #666;
    font-size: 0.95rem;
}
.article__category {
    color: var(--secondary-color);
    font-weight: 600;
}
.article__content {
    font-size: 1.125rem;
    line-height: 1.8;
}
.article__content p {
    margin-bottom: 1.5rem;
}
.article__content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    color: var(--primary-color);
    line-height: 1.3;
}
.article__content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1.2rem;
    color: var(--primary-color);
}
.article__content ul,
.article__content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}
.article__content li {
    margin-bottom: 0.5rem;
}
/* Article Images */
.article__image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.article__image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}
.article__image img:hover {
    transform: scale(1.02);
}
.article__image figcaption {
    padding: 0.75rem;
    background: #f8f9fa;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}
/* Related Articles */
.related-articles {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.related-articles h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.related-article {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.related-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.related-article__link {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 20px;
}
.related-article__image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.related-article__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    transition: transform 0.5s ease;
}
.related-article:hover .related-article__image img {
    transform: scale(1.05);
}
.related-article__content {
    padding: 1.25rem;
}
.related-article__title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    line-height: 1.4;
}
.related-article__date {
    display: block;
    font-size: 0.85rem;
    color: #666;
}
/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0 2rem;
}
.tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background-color: #f0f2f5;
    color: #4a5568;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid #e2e8f0;
}
.tag:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.tag--primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.tag--secondary {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}
.tag--outline {
    background-color: transparent;
    border: 1px solid currentColor;
}
.tag--outline:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.tag--sm {
    font-size: 0.75rem;
    padding: 0.2rem 0.7rem;
}
.tag--lg {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
}
/* Tag cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
}
.tag-cloud--center {
    justify-content: center;
}
/* Tag in article meta */
.article__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0;
    font-size: 0.95rem;
}
.article__tags span {
    color: #666;
    font-weight: 500;
}
/* Breadcrumbs */
.breadcrumbs {
    margin: 1.5rem 0 2rem;
    font-size: 0.9rem;
}
.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.breadcrumbs__item {
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
}
.breadcrumbs__item:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: #718096;
    font-size: 1.2rem;
    line-height: 1;
}
.breadcrumbs__link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumbs__link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.breadcrumbs__current {
    color: #6b7280;
    font-weight: 500;
}
/* Responsive breadcrumbs */
@media (max-width: 640px) {
    .breadcrumbs {
        font-size: 0.85rem;
        margin: 1rem 0 1.5rem;
    }

    .breadcrumbs__item {
        margin-right: 0.3rem;
    }

    .breadcrumbs__item:not(:last-child)::after {
        margin-left: 0.3rem;
    }
}
/* Social Sharing */
.article__share {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}
.article__share span {
    margin-right: 1rem;
    font-weight: 500;
}
.social-share {
    display: inline-flex;
    align-items: center;
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: white;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}
.social-share:hover {
    opacity: 0.9;
    color: white;
}
.social-share.vk { background-color: #4a76a8; }
.social-share.fb { background-color: #3b5998; }
.social-share.tw { background-color: #1da1f2; }
/* Responsive Adjustments */
@media (max-width: 768px) {
    .article {
        padding: 1rem 0;
    }

    .article__title {
        font-size: 2rem;
    }

    .article__content {
        font-size: 1rem;
    }

    .article__content h2 {
        font-size: 1.5rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .article__title {
        font-size: 1.75rem;
    }

    .article__meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .article__share {
        text-align: center;
    }

    .social-share {
        margin: 0.25rem;
        width: calc(50% - 0.5rem);
        justify-content: center;
    }
}
.logo__image {
    height: 64px; /* Adjust height as needed */
    width: auto;
    vertical-align: middle;
}
.logo__text {
    margin-left: 10px;
    vertical-align: middle;
}
