/*
Theme Name: Observatorio de Legitimidad
Theme URI: https://github.com/matdknu/build_olescl
Author: Observatorio de Legitimidad
Author URI: https://github.com/matdknu/build_olescl
Description: Tema personalizado para el Observatorio de Legitimidad. Diseño moderno y responsive con menús desplegables, tabs interactivas y secciones para noticias, proyectos y más.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: observatorio-legitimidad
Tags: custom, responsive, modern, research, academic
*/

/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4E4976;
    --secondary-color: #453958;
    --accent-color: #998AAF;
    --text-color: #220223;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --lavender-light: #C3B8D3;
    --lavender-medium: #998AAF;
    --shadow: 0 4px 6px -1px rgba(62, 51, 81, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(62, 51, 81, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

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

/* Header */
.header {
    background: #ffffff;
    color: #453958;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid #e0e0e0;
}

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

.logo {
    flex: 0 0 auto;
    margin-right: 3rem;
    padding-left: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.nav {
    flex: 1 1 auto;
    margin-left: auto;
}

@media (max-width: 768px) {
    .header .container {
        padding: 0 1rem;
    }
    .logo {
        margin-right: 1.5rem;
    }
    .logo img {
        height: 50px;
    }
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #453958;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu a:hover {
    background-color: rgba(69, 57, 88, 0.1);
}

.nav-menu a.active {
    background: #453958;
    color: white;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle .arrow {
    font-size: 0.75rem;
    transition: var(--transition);
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    color: #453958;
    padding: 0.75rem 1.5rem;
    display: block;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: #453958;
    color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #453958;
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(78, 73, 118, 0.9), rgba(63, 51, 81, 0.9));
    color: white;
    padding: 2rem 0;
    text-align: center;
    overflow: hidden;
}

.hero-imagen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('logos/policia-lacri.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.hero .container img {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1rem;
    opacity: 0.9;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Tabs Section */
.tabs-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.tabs {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

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

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    min-height: 300px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.tab-pane p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.tab-pane ul {
    list-style: none;
    padding-left: 0;
}

.tab-pane ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.tab-pane ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Content Section */
.content-section {
    padding: 4rem 0;
}

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

.card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--secondary-color);
        width: 100%;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        padding: 1rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        margin-top: 0;
        margin-left: 1rem;
    }

    .dropdown-menu a {
        color: #453958;
    }

    .hero {
        padding: 1.5rem 0;
    }
    
    .hero .container {
        min-height: 150px;
    }
    
    .hero .container img {
        max-width: 150px;
        margin-bottom: 0.75rem;
    }

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

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

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

    .tab-buttons {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
        text-align: left;
    }

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

/* Noticias Section */
.noticias-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

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

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

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

.noticia-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    overflow: hidden;
}

.noticia-imagen {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.noticia-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.noticia-card:hover .noticia-imagen img {
    transform: scale(1.05);
}

.noticia-card .noticia-fecha {
    padding: 1.5rem 1.5rem 0.75rem;
}

.noticia-card h3 {
    padding: 0 1.5rem 1.5rem;
}

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

.noticia-card.destacada {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(30, 64, 175, 0.05));
    border-left-width: 6px;
}

.noticia-fecha {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.noticia-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.3;
}

.noticia-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.leer-mas {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.leer-mas:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.ver-mas-container {
    text-align: center;
    margin-top: 2rem;
}

.btn-ver-mas {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-ver-mas:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Destacados Section */
.destacados-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.destacados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.destacado-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    overflow: hidden;
}

.destacado-imagen {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.destacado-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.destacado-card:hover .destacado-imagen img {
    transform: scale(1.05);
}

.destacado-card .destacado-tipo {
    padding: 1.5rem 1.5rem 0.5rem;
}

.destacado-card h3 {
    padding: 0 1.5rem;
}

.destacado-card .destacado-fecha {
    padding: 0 1.5rem 1.5rem;
}

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

.destacado-card.evento {
    border-top-color: var(--lavender-medium);
}

.destacado-card.noticia {
    border-top-color: var(--primary-color);
}

.destacado-tipo {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.destacado-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.4;
}

.destacado-fecha {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.ver-mas-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.ver-mas-link:hover {
    color: var(--secondary-color);
}

/* Noticias Section Updated */
.noticias-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

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

.noticia-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: var(--text-color);
    line-height: 1.4;
}

.noticia-card h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.noticia-card h3 a:hover {
    color: var(--primary-color);
}

/* Agenda Section */
.agenda-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.agenda-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.agenda-item {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 2rem;
    transition: var(--transition);
}

.agenda-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.agenda-fecha {
    min-width: 80px;
    text-align: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
}

.agenda-dia {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.agenda-mes {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: lowercase;
    margin-top: 0.25rem;
}

.agenda-ano {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.agenda-content {
    flex: 1;
}

.agenda-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    line-height: 1.3;
}

.agenda-content h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.agenda-content h3 a:hover {
    color: var(--primary-color);
}

.agenda-lugar {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.agenda-hora {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Proyectos Section */
.proyectos-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.proyectos-cuadrantes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.proyecto-cuadrante {
    background: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.proyecto-cuadrante:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.proyecto-imagen {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--lavender-light), var(--lavender-medium));
}

.proyecto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.proyecto-cuadrante:hover .proyecto-imagen img {
    transform: scale(1.1);
}

.proyecto-cuadrante-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.proyecto-cuadrante-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.3;
}

.proyecto-cuadrante-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex: 1;
}

.proyecto-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.proyecto-cuadrante:hover .proyecto-link {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Proyectos Grid (para páginas individuales) */
.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.proyecto-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.proyecto-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.proyecto-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.proyecto-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.proyecto-estado {
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.estado-en-curso {
    background: rgba(78, 73, 118, 0.1);
    color: var(--primary-color);
}

.estado-finalizado {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.estado-planificado {
    background: rgba(251, 191, 36, 0.1);
    color: #d97706;
}

.proyecto-fecha {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Nosotros Section */
.nosotros-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.nosotros-content {
    max-width: 1000px;
    margin: 0 auto;
}

.nosotros-texto {
    margin-bottom: 3rem;
}

.nosotros-texto h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    margin-top: 2rem;
}

.nosotros-texto h3:first-child {
    margin-top: 0;
}

.nosotros-texto p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.equipo-section {
    margin-top: 2rem;
}

.equipo-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.equipo-categoria {
    margin-bottom: 2rem;
}

.equipo-categoria h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.equipo-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.equipo-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1rem;
    color: white;
    overflow: hidden;
}

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

.equipo-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.equipo-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

    .tabs-section,
    .content-section,
    .noticias-section,
    .proyectos-section,
    .nosotros-section {
        padding: 2rem 0;
    }

    .tabs {
        padding: 1rem;
    }

    .noticia-card.destacada {
        grid-column: span 1;
    }

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

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

    .agenda-item {
        flex-direction: column;
    }

    .agenda-fecha {
        min-width: auto;
        width: 100%;
    }

    .proyectos-cuadrantes {
        grid-template-columns: 1fr;
    }

    .equipo-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

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

/* Publicaciones Section */
.publicaciones-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.publicaciones-ano {
    margin-bottom: 3rem;
}

.publicacion-item-main {
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.publicacion-item-main:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.publicacion-item-main p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
}

.publicacion-item-main a {
    transition: var(--transition);
}

.publicacion-item-main a:hover {
    text-decoration: underline;
}

