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

:root {
    --red-intense: #D50000;
    --black-carbon: #0A0A0A;
    --gray-dark: #212121;
    --yellow-accent: #FFD600;
    --white: #FFFFFF;
    --gray-light: #E0E0E0;
    --gray-medium: #757575;
    --red-dark: #B00000;
    --yellow-dark: #FFC400;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(180deg, #0A0A0A 0%, #151515 100%);
    background-attachment: fixed;
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* HEADER */
.header {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.96) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 3px solid var(--red-intense);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(213, 0, 0, 0.1);
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--yellow-accent), transparent);
    opacity: 0.3;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    position: relative;
    min-height: 80px;
}

.logo {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.75rem;
    font-weight: 400;
    letter-spacing: 3.5px;
    color: var(--white);
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
    line-height: 1;
}

.logo h1:hover {
    transform: translateY(-1px);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 214, 0, 0.2);
}

.logo-yellow {
    color: var(--yellow-accent);
    text-shadow: 0 0 10px rgba(255, 214, 0, 0.5);
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.logo-yellow::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--yellow-accent), transparent);
    opacity: 0.6;
    border-radius: 1px;
}

.logo h1:hover .logo-yellow {
    text-shadow: 0 0 15px rgba(255, 214, 0, 0.7);
}

.logo h1:hover .logo-yellow::after {
    opacity: 0.9;
}

.tagline {
    font-size: 0.75rem;
    color: var(--gray-medium);
    margin: 0;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    position: relative;
    padding-left: 2px;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.tagline::before {
    content: '●';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--red-intense);
    font-size: 0.5rem;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

.logo:hover .tagline {
    color: var(--gray-light);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 6px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.menu-toggle:hover {
    background-color: var(--gray-dark);
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav {
    padding: 18px 0;
    border-top: 1px solid rgba(213, 0, 0, 0.25);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.nav::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, var(--red-intense), transparent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
}

.nav-link {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 6px 0;
    display: inline-block;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red-intense), var(--yellow-accent));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--yellow-accent);
    text-shadow: 0 0 8px rgba(255, 214, 0, 0.3);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.search-container {
    display: flex;
    gap: 10px;
    max-width: 420px;
    width: 100%;
    position: relative;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    padding: 12px 18px;
    background-color: var(--gray-dark);
    border: 1.5px solid rgba(213, 0, 0, 0.25);
    color: var(--white);
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.search-input:focus {
    outline: none;
    border-color: var(--red-intense);
    box-shadow: 0 0 0 3px rgba(213, 0, 0, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.3);
    background-color: #1a1a1a;
}

.search-input::placeholder {
    color: var(--gray-medium);
    letter-spacing: 0.3px;
    font-weight: 300;
}

.search-btn {
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--red-intense) 0%, var(--red-dark) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(213, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    min-width: 50px;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.4s ease;
}

.search-btn:hover::before {
    left: 100%;
}

.search-btn:hover {
    background: linear-gradient(135deg, var(--red-dark) 0%, var(--red-intense) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(213, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.15);
}

.search-btn:active {
    transform: translateY(0);
}

.search-btn svg {
    transition: transform 0.25s ease;
    width: 18px;
    height: 18px;
}

.search-btn:hover svg {
    transform: scale(1.08);
}

/* HERO / CARRUSEL */
.hero {
    margin: 40px 0;
}

.carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.carousel-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 60px 50px;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.78) 25%, rgba(10, 10, 10, 0.35) 55%, rgba(10, 10, 10, 0.05) 100%);
    z-index: 1;
}

.carousel-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
}

.carousel-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--red-intense);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(213, 0, 0, 0.3);
    border: none;
}

.carousel-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.85);
    letter-spacing: 2px;
    font-weight: 400;
    max-width: 92%;
}

.carousel-excerpt {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    line-height: 1.65;
    max-width: 88%;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
    font-weight: 400;
}

.carousel-content .read-more-btn {
    padding: 10px 22px;
    font-size: 0.85rem;
    letter-spacing: 1.1px;
    width: auto;
    display: inline-block;
}

.carousel-btn {
    display: none;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-indicator:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background-color: var(--yellow-accent);
    border-color: var(--yellow-accent);
    box-shadow: 0 0 8px rgba(255, 214, 0, 0.5);
    transform: scale(1.3);
    width: 20px;
    border-radius: 4px;
}

/* MAIN CONTENT */
.main-content {
    padding: 40px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

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

.news-card {
    background: linear-gradient(180deg, var(--gray-dark) 0%, #1a1a1a 100%);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(213, 0, 0, 0.1) 0%, rgba(255, 214, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.news-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(213, 0, 0, 0.4), 0 0 30px rgba(213, 0, 0, 0.2);
    border-color: var(--red-intense);
}

.news-card:hover::before {
    opacity: 1;
}

.news-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: var(--black-carbon);
    transition: transform 0.5s ease;
    position: relative;
    z-index: 0;
}

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

.news-card-content {
    padding: 22px;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, transparent 0%, var(--gray-dark) 100%);
}

.news-card-category {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--red-intense) 0%, var(--red-dark) 100%);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(213, 0, 0, 0.3);
}

.news-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--white);
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.news-card:hover .news-card-title {
    color: var(--yellow-accent);
    text-shadow: 0 0 10px rgba(255, 214, 0, 0.3);
}

.news-card-excerpt {
    font-size: 0.9rem;
    color: var(--gray-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.news-card-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.news-card-date {
    font-size: 0.8rem;
    color: var(--gray-medium);
    margin-bottom: 4px;
    font-weight: 400;
}

.news-card-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.read-more-btn {
    padding: 10px 20px;
    background-color: var(--yellow-accent);
    color: var(--black-carbon);
    border: none;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    box-shadow: 0 3px 12px rgba(255, 214, 0, 0.3);
    width: 100%;
    text-align: center;
}

.read-more-btn:hover {
    background-color: var(--yellow-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 214, 0, 0.4);
}

.read-more-btn:active {
    transform: translateY(0);
}

.share-btn {
    padding: 10px 20px;
    background-color: var(--gray-dark);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.8rem;
    letter-spacing: 0.8px;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
}

.share-btn:hover {
    border-color: var(--red-intense);
    color: var(--yellow-accent);
    background-color: rgba(213, 0, 0, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(213, 0, 0, 0.3);
}

.share-btn:active {
    transform: translateY(0);
}

/* SIDEBAR */
.sidebar {
    background: linear-gradient(180deg, var(--gray-dark) 0%, #1a1a1a 100%);
    padding: 28px;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 2px solid rgba(213, 0, 0, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.sidebar-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--yellow-accent);
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--red-intense);
    text-shadow: 0 0 10px rgba(255, 214, 0, 0.3);
    letter-spacing: 1px;
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--red-intense), var(--yellow-accent));
}

.trending-list {
    list-style: none;
}

.trending-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin-bottom: 4px;
}

.trending-item:hover {
    padding-left: 12px;
    background-color: rgba(213, 0, 0, 0.1);
    transform: translateX(5px);
}

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

.trending-number {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--red-intense) 0%, var(--red-dark) 100%);
    color: var(--white);
    text-align: center;
    line-height: 28px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 6px;
    margin-right: 12px;
    box-shadow: 0 2px 8px rgba(213, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.trending-item:hover .trending-number {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 4px 12px rgba(213, 0, 0, 0.6);
}

.trending-title {
    font-size: 0.95rem;
    color: var(--gray-light);
    font-weight: 500;
    line-height: 1.4;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(180deg, var(--gray-dark) 0%, #1a1a1a 100%);
    max-width: 950px;
    width: 100%;
    border-radius: 12px;
    position: relative;
    margin: 40px auto;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(213, 0, 0, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(213, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--red-intense) 0%, var(--red-dark) 100%);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    font-size: 2.2rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(213, 0, 0, 0.4);
    line-height: 1;
}

.modal-close:hover {
    background: linear-gradient(135deg, var(--red-dark) 0%, var(--red-intense) 100%);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(213, 0, 0, 0.6);
    border-color: var(--yellow-accent);
}

.modal-body {
    padding: 40px;
}

.modal-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 28px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(213, 0, 0, 0.2);
}

.modal-category {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--red-intense) 0%, var(--red-dark) 100%);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(213, 0, 0, 0.4);
}

.modal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 22px;
    color: var(--white);
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.modal-date {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-bottom: 25px;
}

.modal-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--gray-light);
    margin-bottom: 35px;
    text-align: justify;
}

.modal-text::first-letter {
    font-size: 3.5rem;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--yellow-accent);
    float: left;
    line-height: 1;
    margin: 0 8px 0 0;
    text-shadow: 0 0 10px rgba(255, 214, 0, 0.3);
}

.modal-share {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* FOOTER */
.footer {
    background: linear-gradient(180deg, var(--black-carbon) 0%, #050505 100%);
    border-top: 3px solid var(--red-intense);
    padding: 40px 0;
    margin-top: 80px;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--yellow-accent), transparent);
    opacity: 0.3;
}

.footer p {
    color: var(--gray-medium);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

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

@keyframes slideUp {
    from {
        transform: translateY(60px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

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

.news-card {
    animation: slideIn 0.5s ease backwards;
}

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

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: var(--gray-medium);
    background: linear-gradient(180deg, var(--gray-dark) 0%, #1a1a1a 100%);
    border-radius: 12px;
    border: 2px dashed rgba(213, 0, 0, 0.3);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        margin-top: 30px;
    }

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

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
    }

    .nav.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }

    .logo h1 {
        font-size: 2rem;
    }

    .carousel {
        height: 400px;
    }

    .carousel-title {
        font-size: 2rem;
    }

    .carousel-excerpt {
        font-size: 1rem;
    }

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

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

    .modal-body {
        padding: 25px;
    }

    .modal-title {
        font-size: 1.8rem;
    }

    .modal-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .carousel {
        height: 350px;
    }

    .carousel-title {
        font-size: 1.5rem;
    }

    .carousel-content {
        padding: 20px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
}

