/*
Theme Name: ALCO
Theme URI: https://alcopr.org
Author: Alianza Legislativa Comunitaria
Author URI: https://alcopr.org
Description: Tema personalizado para Alianza Legislativa Comunitaria de Puerto Rico
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alco
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
    --primary: #e46313;
    --primary-dark: #e67c35;
    --secondary: #2c3e50;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --light-gray: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: var(--dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-dark);
}

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

/* Header */
header {
    background-color: var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
}

nav ul li a:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('images/aguadilla4.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Mission Section */
.mission {
    padding: 60px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 15px auto;
}

.mission-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.mission-text {
    flex: 1;
    min-width: 300px;
}

.mission-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.mission-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: center;
    padding: 30px 20px;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* News Section */
.news {
    padding: 60px 0;
    background-color: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

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

/* Content Area with Sidebar */
.content-area {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 40px 0;
}

.main-content {
    flex: 1;
    min-width: 300px;
}

.sidebar {
    width: 300px;
}

/* Widgets */
.widget {
    background-color: white;
    border-radius: 8px;
   /* padding: 20px;*/
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.widget-title {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 10px;
}

/* Recent Posts Widget */
.widget_recent_entries ul {
    list-style: none;
}

.widget_recent_entries li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.widget_recent_entries li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget_recent_entries a {
    color: var(--secondary);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.widget_recent_entries a:hover {
    color: var(--primary);
}

.widget_recent_entries .post-date {
    color: var(--gray);
    font-size: 0.9rem;
    display: block;
}

/* Categories Widget */
.widget_categories ul {
    list-style: none;
}

.widget_categories li {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.widget_categories a {
    color: var(--secondary);
}

.widget_categories a:hover {
    color: var(--primary);
}

/* Search Widget */
.search-form {
    display: flex;
}

.search-form label {
    flex: 1;
    margin-right: 10px;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
}

.search-form input[type="submit"] {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.search-form input[type="submit"]:hover {
    background-color: var(--primary-dark);
}

/* Post Styles */
.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    color: var(--secondary);
    margin-bottom: 15px;
}

.entry-meta {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.post-thumbnail {
    margin-bottom: 30px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content {
    line-height: 1.8;
}

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

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--secondary);
    margin: 30px 0 15px;
}

.entry-footer {
    margin-top: 40px;
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.post-categories,
.post-tags {
    margin-bottom: 15px;
}

.cat-label,
.tag-label {
    font-weight: bold;
    color: var(--secondary);
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col h3 i {
    font-size: 1.5rem;
}

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

.footer-col ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a {
    color: #ddd;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    font-size: 1.2rem;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.contact-info {
    margin-top: 15px;
}

.footer-contact-info div {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
    }
    .logo {
        margin-left: 20px;    
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    .hero {
    min-height: 90vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .mission-content {
        flex-direction: column;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .content-area {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
}

/* Comments Area */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--light-gray);
}

.comments-title {
    color: var(--secondary);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

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

.comment-body {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.comment-author {
    margin-bottom: 15px;
}

.comment-author .avatar {
    border-radius: 50%;
    float: left;
    margin-right: 15px;
}

.comment-author .fn {
    font-weight: bold;
    color: var(--secondary);
}

.comment-author .says {
    color: var(--gray);
    font-style: italic;
}

.comment-meta {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray);
}

.comment-meta a {
    color: var(--gray);
}

.comment-meta a:hover {
    color: var(--primary);
}

.comment-content {
    line-height: 1.6;
    margin-bottom: 15px;
}

.comment-content p {
    margin-bottom: 15px;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply {
    margin-top: 15px;
}

.comment-awaiting-moderation {
    color: var(--primary);
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

/* Comment Form */
.comment-respond {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.comment-reply-title {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.comment-form-comment {
    grid-column: 1 / -1;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 0;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--secondary);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 1rem;
}

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

.comment-form .form-submit {
    grid-column: 1 / -1;
    margin-top: 20px;
}

.required {
    color: #ff0000;
}

.comment-notes,
.logged-in-as,
.must-log-in {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
    grid-column: 1 / -1;
}

/* Comment Navigation */
.comment-navigation {
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
    font-weight: bold;
}

.comment-navigation .nav-previous a,
.comment-navigation .nav-next a {
    color: var(--primary);
}

.comment-navigation .nav-previous a:hover,
.comment-navigation .nav-next a:hover {
    color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .comment-form {
        grid-template-columns: 1fr;
    }
    
    .comment-author .avatar {
        float: none;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .comment-navigation {
        flex-direction: column;
        gap: 15px;
    }
}

/* Widget ALCO Featured Posts */
.alco-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.alco-widget .widget-title {
    color: #e46313;
    font-size: 1.3rem;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 700;
}

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

.alco-post-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  /*  padding: 12px;*/
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.alco-post-item:hover {
    background: #fff8f3;
    border-color: #ffe0cc;
    transform: translateX(5px);
}

.alco-post-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.alco-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.alco-post-item:hover .alco-post-thumb img {
    transform: scale(1.1);
}

.alco-post-content {
    flex: 1;
}

.alco-post-content h4 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.alco-post-content h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.alco-post-content h4 a:hover {
    color: #e46313;
}

.alco-post-date {
    font-size: 0.8rem;
    color: #6c757d;
    display: block;
}

.alco-widget-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.alco-view-all {
    color: #e46313;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.alco-view-all:hover {
    color: #e67c35;
    gap: 8px;
}

/* Imagen por defecto para posts sin miniatura */
.alco-post-thumb img[src*="default-thumb.jpg"] {
    background: linear-gradient(135deg, #e46313 0%, #e67c35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.7rem;
    text-align: center;
    padding: 5px;
}

/* Alternativa: miniatura por defecto con CSS */
.alco-post-thumb .default-thumb {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e46313 0%, #e67c35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.7rem;
    border-radius: 6px;
}

/* News Section - Tarjetas completamente cliqueables */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-article {
    position: relative;
}

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    height: 100%;
}

.news-card-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-5px);
}

.news-card {
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    background: white;
}

.news-card-link:hover .news-card {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
    transform: none; /* El transform se aplica al link, no al card */
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: all 0.3s ease;
}

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

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card-link:hover .news-image::after {
    opacity: 1;
}

.news-content {
    padding: 25px;
    position: relative;
}

.news-date {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: block;
    font-weight: 500;
}

.news-content h3 {
    margin: 0 0 15px 0;
    color: var(--secondary);
    transition: color 0.3s ease;
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
}

.news-card-link:hover .news-content h3 {
    color: var(--primary);
}

.news-excerpt {
    color: var(--dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

.news-excerpt p {
    margin: 0;
}

/* Botón para ver todas las noticias */
.news-archive-link {
    text-align: center;
    margin-top: 30px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(228, 99, 19, 0.3);
}

/* Mejoras de accesibilidad */
.news-card-link:focus {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
    border-radius: 12px;
}

.news-card-link:focus .news-card {
    box-shadow: 0 0 0 2px var(--primary);
}

/* Indicador visual de que es cliqueable */
.news-card {
    cursor: pointer;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.news-card-link:hover .news-card::before {
    opacity: 0.02;
}

/* Mejora de semántica para motores de búsqueda */
.news-article {
    margin-bottom: 0;
}

/* Micro-interacción para mejorar la UX */
.news-card-link {
    position: relative;
}

.news-card-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

/* Mejora de rendimiento y CLS */
.news-image {
    background-color: #f8f9fa;
}

.news-content {
    background: white;
}

/* Responsive */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-content h3 {
        font-size: 1.1rem;
    }
}
/* Página de Categoría */
.category-content {
    margin: 60px 0;
}

.category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Estado cuando no hay posts */
.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.no-posts h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.no-posts p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Paginación */
.pagination-container {
    margin-top: 60px;
    text-align: center;
}

.navigation.pagination {
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: all 0.3s ease;
    background: white;
}

.page-numbers.current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-numbers:hover:not(.current) {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.page-numbers.dots {
    border: none;
    background: transparent;
}

.page-numbers.prev,
.page-numbers.next {
    background: var(--light-gray);
    border-color: var(--light-gray);
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Mejoras de responsive para 4 columnas */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        gap: 5px;
    }
    
    .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 0.9rem;
    }
}

/* Mejora de hover para grid de categoría */
.category-grid .news-card {
    height: 100%;
}

.category-grid .news-content {
    padding: 20px;
}

.category-grid .news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.category-grid .news-excerpt {
    font-size: 0.9rem;
}

/* Ajustes específicos para paginación en categorías */
.pagination-container .screen-reader-text {
    display: none;
}

/* Estado de carga */
.category-grid {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.category-grid.loading {
    opacity: 0.7;
    pointer-events: none;
}