/* ============================================
   PulseWire News - Components Stylesheet
   ============================================ */

/* ============================================
   Article Page Components
   ============================================ */

.article-header {
    padding: 3rem 0;
    background: var(--gray-100);
}

[data-theme="dark"] .article-header {
    background: var(--gray-900);
}

.article-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

[data-theme="dark"] .article-subtitle {
    color: var(--gray-400);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

[data-theme="dark"] .article-meta {
    border-color: var(--gray-700);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
}

[data-theme="dark"] .article-meta-item {
    color: var(--gray-400);
}

.article-meta-item i {
    color: var(--primary-color);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h5 {
    margin: 0;
    font-size: 1rem;
}

.author-details span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.article-featured-image {
    margin: 2rem 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

.article-featured-caption {
    padding: 1rem;
    background: var(--gray-100);
    font-size: 0.875rem;
    color: var(--gray-600);
    text-align: center;
}

[data-theme="dark"] .article-featured-caption {
    background: var(--gray-800);
    color: var(--gray-400);
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-800);
}

[data-theme="dark"] .article-content {
    color: var(--gray-200);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--gray-100);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--gray-700);
}

[data-theme="dark"] .article-content blockquote {
    background: var(--gray-800);
    color: var(--gray-300);
}

.article-content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

.article-content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

.article-content .image-caption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-200);
}

[data-theme="dark"] .article-tags {
    border-color: var(--gray-700);
}

.article-tags span {
    font-weight: 600;
    color: var(--gray-600);
}

[data-theme="dark"] .article-tags span {
    color: var(--gray-400);
}

.article-tags .badge {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

[data-theme="dark"] .article-share {
    border-color: var(--gray-700);
}

.article-share span {
    font-weight: 600;
    color: var(--gray-600);
}

[data-theme="dark"] .article-share span {
    color: var(--gray-400);
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.twitter {
    background: #000000;
}

.share-btn.linkedin {
    background: #0A66C2;
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.email {
    background: var(--gray-600);
}

.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
}

.nav-article {
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

[data-theme="dark"] .nav-article {
    background: var(--gray-800);
}

.nav-article:hover {
    background: var(--gray-200);
    transform: translateY(-3px);
}

[data-theme="dark"] .nav-article:hover {
    background: var(--gray-700);
}

.nav-article span {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-article h5 {
    font-size: 0.95rem;
    margin: 0.5rem 0 0;
    line-height: 1.4;
}

.nav-article.prev {
    text-align: left;
}

.nav-article.next {
    text-align: right;
}

/* Author Bio Box */
.author-bio-box {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 3rem 0;
}

[data-theme="dark"] .author-bio-box {
    background: var(--gray-800);
}

.author-bio-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.author-bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-bio-info h4 {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
}

.author-bio-info .author-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

.author-bio-text {
    color: var(--gray-600);
    line-height: 1.8;
}

[data-theme="dark"] .author-bio-text {
    color: var(--gray-400);
}

.author-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.author-social a {
    width: 35px;
    height: 35px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: var(--transition);
}

[data-theme="dark"] .author-social a {
    background: var(--gray-700);
    color: var(--gray-300);
}

.author-social a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Related Articles */
.related-articles {
    margin: 3rem 0;
}

.related-articles .section-title {
    margin-bottom: 2rem;
}

/* Comments Section */
.comments-section {
    margin: 3rem 0;
}

.comments-section .section-title {
    margin-bottom: 2rem;
}

.comment-form {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

[data-theme="dark"] .comment-form {
    background: var(--gray-800);
}

.comment-form .form-control {
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
}

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

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

[data-theme="dark"] .comment-item {
    border-bottom-color: var(--gray-700);
}

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

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-info h5 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.comment-date {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.comment-text {
    color: var(--gray-700);
    line-height: 1.7;
}

[data-theme="dark"] .comment-text {
    color: var(--gray-300);
}

.comment-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.comment-actions button {
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
}

.comment-actions button:hover {
    color: var(--primary-color);
}

/* ============================================
   Category Page Components
   ============================================ */

.category-banner {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 4rem 0;
    color: var(--white);
    text-align: center;
}

.category-banner-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.category-banner h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.category-banner p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

[data-theme="dark"] .filter-btn {
    background: var(--gray-800);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination {
    gap: 0.25rem;
}

.page-link {
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

[data-theme="dark"] .page-link {
    color: var(--gray-300);
    border-color: var(--gray-600);
}

.page-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ============================================
   Live News Page Components
   ============================================ */

.live-updates {
    padding: 3rem 0;
}

.live-timeline {
    position: relative;
    padding-left: 2rem;
}

.live-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-300);
}

[data-theme="dark"] .live-timeline::before {
    background: var(--gray-600);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-5px);
}

.timeline-item.pinned::before {
    background: var(--accent-color);
    width: 16px;
    height: 16px;
    transform: translateX(-7px);
}

.timeline-time {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .timeline-content {
    background: var(--gray-800);
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--gray-600);
    margin-bottom: 0;
}

[data-theme="dark"] .timeline-content p {
    color: var(--gray-400);
}

.timeline-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.timeline-badge.breaking {
    background: #DC2626;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ============================================
   About Page Components
   ============================================ */

.about-hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 5rem 0;
    color: var(--white);
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.about-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.about-section {
    padding: 4rem 0;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .about-content p {
    color: var(--gray-400);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.mission-card {
    text-align: center;
    padding: 2rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

[data-theme="dark"] .mission-card {
    background: var(--gray-800);
}

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

.mission-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}

.mission-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.mission-card p {
    color: var(--gray-600);
    margin: 0;
}

[data-theme="dark"] .mission-card p {
    color: var(--gray-400);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--gray-200);
}

[data-theme="dark"] .team-avatar {
    border-color: var(--gray-700);
}

.team-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.team-card .team-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: var(--transition);
}

[data-theme="dark"] .team-social a {
    background: var(--gray-800);
    color: var(--gray-400);
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.stats-section {
    background: var(--primary-color);
    padding: 4rem 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================================
   Contact Page Components
   ============================================ */

.contact-hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 4rem 0;
    color: var(--white);
    text-align: center;
}

.contact-hero h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
}

.contact-section {
    padding: 4rem 0;
}

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

[data-theme="dark"] .contact-info-card {
    background: var(--gray-800);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .contact-info-card p {
    color: var(--gray-400);
}

.contact-info-card a {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .contact-form-wrapper {
    background: var(--gray-800);
}

.contact-form-wrapper h3 {
    margin-bottom: 1.5rem;
}

.contact-form .form-control {
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    margin-bottom: 1.25rem;
}

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

.contact-form .btn-primary {
    padding: 0.875rem 2rem;
    font-weight: 600;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
}

[data-theme="dark"] .map-placeholder {
    background: var(--gray-700);
}

/* ============================================
   Video Page Components
   ============================================ */

.featured-video {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 3rem;
}

.featured-video img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.featured-video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(217, 4, 41, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.featured-video .play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.video-category-btn {
    padding: 0.5rem 1.25rem;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

[data-theme="dark"] .video-category-btn {
    background: var(--gray-800);
}

.video-category-btn:hover,
.video-category-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

/* ============================================
   Gallery Page Components
   ============================================ */

.gallery-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.gallery-filter-btn {
    padding: 0.5rem 1.25rem;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

[data-theme="dark"] .gallery-filter-btn {
    background: var(--gray-800);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.gallery-masonry {
    column-count: 4;
    column-gap: 1rem;
}

.gallery-masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-masonry-item img {
    width: 100%;
    transition: var(--transition);
}

.gallery-masonry-item:hover img {
    transform: scale(1.05);
}

.gallery-masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-masonry-item:hover .gallery-masonry-overlay {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

.lightbox-caption {
    text-align: center;
    color: var(--white);
    margin-top: 1rem;
    font-size: 1rem;
}

/* ============================================
   Privacy & Terms Pages
   ============================================ */

.legal-content {
    padding: 4rem 0;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-section p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

[data-theme="dark"] .legal-section p {
    color: var(--gray-400);
}

.legal-section ul {
    color: var(--gray-600);
    line-height: 1.8;
    padding-left: 1.5rem;
}

[data-theme="dark"] .legal-section ul {
    color: var(--gray-400);
}

/* ============================================
   Sitemap Page
   ============================================ */

.sitemap-section {
    padding: 4rem 0;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sitemap-column h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.sitemap-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-column li {
    margin-bottom: 0.75rem;
}

.sitemap-column a {
    color: var(--gray-700);
    transition: var(--transition);
}

[data-theme="dark"] .sitemap-column a {
    color: var(--gray-300);
}

.sitemap-column a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

/* ============================================
   Editorial Page
   ============================================ */

.editorial-hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 4rem 0;
    color: var(--white);
}

.editorial-hero h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.editorial-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
}

.editorial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    transition: var(--transition);
}

[data-theme="dark"] .editorial-card {
    background: var(--gray-800);
}

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

.editorial-card .news-image {
    height: 250px;
}

.editorial-card .news-image img {
    height: 100%;
    object-fit: cover;
}

.editorial-badge {
    background: var(--secondary-color);
    color: var(--white);
}

/* Responsive adjustments for components */
@media (max-width: 991px) {
    .article-title {
        font-size: 2rem;
    }
    
    .mission-grid,
    .stats-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-masonry {
        column-count: 3;
    }
    
    .sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-navigation {
        grid-template-columns: 1fr;
    }
    
    .mission-grid,
    .stats-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-masonry {
        column-count: 2;
    }
    
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
    
    .lightbox-nav {
        padding: 0.5rem;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 575px) {
    .gallery-masonry {
        column-count: 1;
    }
}
