/*
Theme Name: Evolucion Conmebol
Theme URI: https://evolucionconmebol.com
Author: Tu Nombre
Author URI: https://tudominio.com
Description: Tema personalizado para Evolución Conmebol - Plataforma educativa de fútbol
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: evolucion-conmebol
*/

/* ========================================
   VARIABLES & RESET
======================================== */
:root {
    --color-primary: #01AEEF;
    --color-secondary: #0199D0;
    --color-black: #1c1d1f;
    --color-white: #ffffff;
    --font-primary: 'Inter', sans-serif;
    --font-logo: 'Sofia Sans Condensed', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

/* Bloquear scroll cuando el menú móvil está abierto */
body.menu-open {
    overflow: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* WordPress Admin Bar spacing */
body.admin-bar .site-header {
    top: 32px;
}

body.admin-bar .site-header.header-solid.is-sticky {
    top: 32px;
}

body.admin-bar .site-header.is-scrolled {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
    
    body.admin-bar .site-header.header-solid.is-sticky {
        top: 46px;
    }
    
    body.admin-bar .site-header.is-scrolled {
        top: 46px;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   HEADER
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 60px;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo a {
    font-family: var(--font-logo);
    font-size: 28px;
    font-weight: 400;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-style: italic;
}

.site-logo-image {
    width: 250px;
    max-width: 100%;
    height: auto;
}

.site-logo .logo-text-white {
    color: var(--color-white);
}

/* Navegación */
.main-navigation {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu li a {
    font-family: var(--font-logo);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--color-primary);
}

.site-header.is-scrolled {
    background-color: #e5f7fd;
    padding: 12px 60px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.site-header.is-scrolled .nav-menu li a {
    color: #004D92;
}

.site-header.is-scrolled .nav-menu li a:hover {
    color: var(--color-primary);
}

/* Override para menú móvil abierto con scroll - siempre letras blancas */
@media (max-width: 992px) {
    .site-header.is-scrolled .main-navigation.is-open .nav-menu li a {
        color: var(--color-white);
    }
    
    .site-header.is-scrolled .main-navigation.is-open .nav-menu li a:hover {
        color: var(--color-primary);
    }
}

/* Selector de Idiomas */
.language-selector {
    position: relative;
    flex-shrink: 0;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-family: var(--font-logo);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

.language-toggle:hover {
    color: var(--color-primary);
}

.language-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: var(--color-primary);
    border-radius: 8px;
    min-width: 200px;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.language-dropdown[style*="display: block"] {
    display: block !important;
}

.language-selector.active .language-dropdown {
    display: block;
}

.language-option {
    display: block;
    padding: 12px 20px;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.language-option:first-child {
    border-radius: 8px 8px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 8px 8px;
}

.language-option:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.site-header.is-scrolled .language-toggle {
    color: #004D92;
}

.site-header.is-scrolled .language-toggle:hover {
    color: var(--color-primary);
}

.site-header.header-solid .language-toggle {
    color: #004D92;
}

.site-header.header-solid .language-toggle:hover {
    color: var(--color-primary);
}

/* Botón CTA */
.header-cta {
    flex-shrink: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-logo);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 30px;
    height: 46px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    color: var(--color-primary);
    font-family: var(--font-logo);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 30px;
    height: 46px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ========================================
   MODAL DE REGISTRO
======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: var(--color-white);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-10px);
    transition: transform 0.15s ease;
}

.modal-overlay.is-open .modal-container {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header .modal-title {
    margin: 0;
    flex: 1;
    text-align: center;
}

.modal-tabs {
    display: flex;
}

.modal-tab {
    padding: 20px 30px;
    font-family: var(--font-logo);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

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

.modal-close {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--color-primary);
}

.modal-back {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    z-index: 10;
    position: relative;
    font-size: 1.5rem;
}

.modal-back:hover {
    color: var(--color-primary);
}

.modal-close:hover {
    color: var(--color-primary);
}

.modal-body {
    padding: 40px;
}

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

.registro-form .form-group {
    margin-bottom: 20px;
}

.registro-form label {
    font-family: var(--font-logo);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 8px;
}

.registro-form .form-control {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--color-text);
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.registro-form .form-control::placeholder {
    color: #adb5bd;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.registro-form .form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 77, 146, 0.1);
}

.form-checkbox {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 400 !important;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-toggle {
    display: inline-block;
    position: relative;
    width: 44px;
    min-width: 44px;
    height: 24px;
    background-color: #d1d5db;
    border-radius: 12px;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.checkbox-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: var(--color-white);
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-toggle {
    background-color: var(--color-primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-toggle::after {
    transform: translateX(20px);
}

.checkbox-text {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.4;
    font-family: var(--font-primary);
}

.checkbox-text a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.btn-submit-registro,
.btn-submit-login {
    width: 100%;
    margin-top: 6px;
    height: 52px;
    font-size: 16px;
    font-family: var(--font-primary);
}

/* Campo de contraseña con toggle y enlace */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .form-control {
    padding-right: 140px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--color-primary);
}

.password-forgot {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.password-forgot:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Login form */
.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    font-family: var(--font-logo);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 8px;
}

.login-form .form-control {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--color-text);
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-form .form-control::placeholder {
    color: #adb5bd;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.login-form .form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 77, 146, 0.1);
}

/* Form messages */
.form-message {
    margin-top: 15px;
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--font-primary);
    border-radius: 6px;
    text-align: center;
    display: none;
}

.form-message:not(:empty) {
    display: block;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Button disabled state */
.btn-primary:disabled,
.btn-submit-registro:disabled,
.btn-submit-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

body.modal-open {
    overflow: hidden;
}

/* ========================================
   CAROUSEL DE VIDEOS
======================================== */
.videos-carousel-section {
    background-color: #1e3a5f;
    padding: 60px 0;
}

.videos-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.videos-carousel-container {
    overflow: hidden;
    width: 100%;
}

.videos-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.video-card {
    min-width: calc(33.333% - 14px);
    flex-shrink: 0;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-play-btn i {
    font-size: 28px;
    color: var(--color-primary);
    margin-left: 4px;
}

.video-play-btn:hover {
    background-color: var(--color-primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn:hover i {
    color: var(--color-white);
}

.videos-carousel-nav {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.videos-carousel-nav i {
    font-size: 20px;
    color: var(--color-primary);
}

.videos-carousel-nav:hover {
    background-color: var(--color-primary);
}

.videos-carousel-nav:hover i {
    color: var(--color-white);
}

.videos-carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 992px) {
    .video-card {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .videos-carousel-section {
        padding: 40px 0;
    }
    
    .video-card {
        min-width: 100%;
    }
    
    .videos-carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .videos-carousel-nav i {
        font-size: 16px;
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
    }
    
    .video-play-btn i {
        font-size: 24px;
    }
}

/* Modal de Video */
.modal-video-container {
    max-width: 1000px;
    width: 90%;
    padding: 0;
    background: #e8e8e8;
    border-radius: 0;
}

.modal-video-content {
    display: flex;
    flex-direction: column;
}

.modal-video-body {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

.modal-video-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-video-title {
    background: var(--color-primary);
    color: white;
    padding: 30px 40px;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    text-transform: capitalize;
}

.modal-video-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 42px;
    cursor: pointer;
    z-index: 10001;
    padding: 0;
    line-height: 1;
    width: 50px;
    height: 50px;
    transition: opacity 0.2s ease;
}

.modal-video-close:hover {
    opacity: 0.7;
}

@media (max-width: 992px) {
    .modal-video-title {
        font-size: 24px;
        padding: 25px 30px;
    }
}

@media (max-width: 576px) {
    .modal-video-container {
        width: 95%;
    }
    
    .modal-video-title {
        font-size: 20px;
        padding: 20px 25px;
    }
    
    .modal-video-close {
        top: -45px;
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .modal-container {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
    
    .modal-body {
        padding: 25px;
    }
    
    .registro-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .modal-tab {
        padding: 15px 20px;
        font-size: 12px;
    }
}

/* ========================================
   HERO SECTION WITH CAROUSEL
======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 100vw;
}

/* Carousel de fondo */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: scale(1.08);
}

.hero-slide.is-active {
    opacity: 1;
    animation: hero-zoom 8s ease-out forwards;
}

@keyframes hero-zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 300;
    color: var(--color-white);
    margin-bottom: 10px;
    font-style: italic;
}

.hero-title {
    width: 320px;
    font-family: var(--font-logo);
    font-size: 45px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-white);
    text-transform: uppercase;
    max-width: 700px;
}

.hero-title .highlight {
    color: var(--color-primary);
}

.hero-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 0 45px;
    height: 56px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-logo);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.hero-cta-button:hover {
    background-color: var(--color-secondary);
}

/* Indicadores del carousel */
.hero-carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-indicator:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-indicator.is-active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-cta-button {
        margin-top: 25px;
        padding: 14px 32px;
        font-size: 18px;
    }
    
    .hero-carousel-indicators {
        bottom: 25px;
    }
    
    .hero-indicator {
        width: 10px;
        height: 10px;
    }
}

/* ========================================
   MARQUEE / TICKER
======================================== */
.marquee-section {
    background-color: #01aeef;
    padding: 25px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.marquee-container {
    display: flex;
    width: max-content;
    animation: marquee-scroll 20s linear infinite;
    will-change: transform;
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-item {
    font-family: var(--font-logo);
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 0 40px;
}

.marquee-separator {
    color: var(--color-white);
    font-size: 28px;
    font-weight: bold;
    padding: 0 40px;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   STATS SECTION
======================================== */
.stats-section {
    background-color: var(--color-white);
    padding: 80px 0 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    align-items: flex-start;
    text-align: center;
}

.stat-card {
    padding: 10px 20px;
}

.stat-number {
    font-family: var(--font-logo);
    font-size: 100px;
    line-height: 1.05;
    color: var(--color-secondary);
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-label {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #2a2a2a;
    text-transform: uppercase;
    line-height: 1.4;
}

/* ========================================
   PASSION SECTION
======================================== */
.passion-section {
    width: 100%;
    margin: 0px;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.passion-inner {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(380px, 1fr);
    min-height: 520px;
    width: 100%;
    gap: 0;
}


.passion-media {
    margin: 0;
    height: 100%;
}

.passion-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.passion-content {
    background: linear-gradient(135deg, #0376d8 0%, #012d75 100%);
    color: var(--color-white);
    padding: 80px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.passion-formula {
    margin-bottom: 15px;
}

.passion-kicker {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.passion-title {
    font-family: var(--font-logo);
    font-size: 60px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 25px;
}

/* ========================================
   COURSES CAROUSEL
======================================== */
.courses-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.courses-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 50px;
}

.courses-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.courses-groups {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.courses-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.courses-block-title {
    display: none;
}

.courses-block-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: #004d92;
    margin-bottom: 24px;
    padding-left: 4px;
}

.courses-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.courses-explore-btn {
    font-size: 16px;
    padding: 16px 40px;
}

/* ========================================
   PURPOSE SECTION
======================================== */
.purpose-section {
    width: 100%;
    margin: 0px 0 60px;
    padding: 0;
}

.purpose-inner {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
    min-height: 420px;
    overflow: hidden;
    background-color: var(--color-white);
    width: 100%;
}

.purpose-content {
    background-color: #00a2ff;
    color: var(--color-white);
    padding: 80px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.purpose-label {
    display: inline-block;
    background-color: var(--color-white);
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 6px;
    align-self: flex-start;
}

.purpose-title {
    font-family: var(--font-logo);
    font-size: 60px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
}

.purpose-text {
    font-size: 18px;
    line-height: 1.75;
    max-width: 520px;
}

.purpose-media {
    margin: 0;
    height: 100%;
}

.purpose-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonials-section {
    padding: 8px 0 80px;
    background-color: #ffffff;
}

.testimonials-heading {
    text-align: center;
    font-family: var(--font-logo);
    font-size: 60px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0px;
    margin: 30px 0 70px;
    line-height: 60px;
}

.testimonials-slider {
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    scrollbar-width: none;
    padding-bottom: 10px;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonials-track {
    display: flex;
    gap: 28px;
    min-width: 100%;
}

.testimonial-card {
    flex: 0 0 calc((100% - 56px) / 3);
    min-width: calc((100% - 56px) / 3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.testimonial-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.testimonial-star i {
    font-size: 20px;
}

.testimonial-star.is-filled i {
    color: #004d92;
}

.testimonial-star.is-empty i {
    color: #aec2d5;
}

.testimonial-name {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: #004d92;
    letter-spacing: 1px;
}

.testimonial-text {
    max-width: 320px;
    font-size: 15px;
    line-height: 1.6;
    color: #222;
    margin: 0 auto;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 50px;
}

.testimonials-nav {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #d9dde2;
    background-color: transparent;
    color: var(--color-secondary);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.testimonials-nav.is-primary {
    background-color: transparent;
    color: var(--color-secondary);
}

.testimonials-nav:hover {
    border-color: var(--color-secondary);
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    background: linear-gradient(135deg, #004d92 0%, #00172c 100%);
    padding: 100px 60px;
    text-align: center;
    margin: 0;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-label {
    font-family: var(--font-logo);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #01aeef;
    margin-bottom: 15px;
}

.cta-title {
    font-family: var(--font-logo);
    font-size: 60px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.2;
}

.cta-text {
    font-size: 16px;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 45px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 45px;
    height: 56px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-logo);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--color-secondary);
}

/* ========================================
   BLOG SECTION
======================================== */
/* ========================================
   BLOG SECTION
======================================== */
.blog-section {
    padding: 80px 0 0 0;
    background-color: #ffffff;
}

.blog-heading {
    text-align: center;
    margin-bottom: 45px;
}

.blog-title {
    font-family: var(--font-logo);
    font-size: 60px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0px;
    color: #1c1d1f;
    margin: 0;
    line-height: 85px;
}

.blog-title-accent {
    color: #005fbe;
    margin-right: 14px;
    display: inline-block;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 55px;
    gap: 24px;
}

.blog-subtitle {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    color: #1c1d1f;
    letter-spacing: 0px;
    margin: 0;
}

.blog-controls {
    display: flex;
    gap: 14px;
}

.blog-controls-bottom {
    justify-content: center;
    margin-top: 40px;
}

.blog-nav {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #d9dde2;
    background-color: transparent;
    color: var(--color-secondary);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.blog-nav.is-primary {
    background-color: transparent;
    color: var(--color-secondary);
}

.blog-nav:hover {
    border-color: var(--color-secondary);
}

.blog-slider {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
}

.blog-slider::-webkit-scrollbar {
    display: none;
}

.blog-track {
    display: flex;
    gap: 24px;
    min-width: 100%;
}

.blog-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: calc((100% - 48px) / 3);
    background-color: #ffffff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    border: 1px solid #e6eef6;
}

.blog-card:hover {
    transform: none;
}

.blog-media {
    margin: 0;
    overflow: hidden;
    height: 260px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: none;
}

.blog-media img {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.blog-body {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 auto;
}

.blog-card-title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: #1c1d1f;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 56px;
}

.blog-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 45px;
    height: 56px;
    background: linear-gradient(135deg, #1a3a5c 0%, #152A4E 100%);
    color: #ffffff;
    font-family: var(--font-logo);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 1px;
    border-radius: 0;
    transition: background 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.blog-cta:hover {
    background: linear-gradient(135deg, #152A4E 0%, #0f1f38 100%);
}

.section-kicker {
    font-family: var(--font-logo);
    font-size: 60px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    margin: 0;
    line-height: 65px;
}

.section-title {
    font-family: var(--font-logo);
    font-size: 60px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-black);
    letter-spacing: 0px;
    margin: 0;
    line-height: 65px;
}

.courses-controls {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 30px;
}

.courses-nav {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #d9dde2;
    background-color: transparent;
    color: var(--color-secondary);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.courses-nav:hover {
    border-color: var(--color-secondary);
}

.courses-slider {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
}

.courses-slider::-webkit-scrollbar {
    display: none;
}

.courses-track {
    display: flex;
    gap: 24px;
    min-width: 100%;
    position: relative;
    min-height: 300px; /* Altura mínima para mostrar el loading */
}

/* Loading para courses-track */
.courses-track .cursos-loading {
    display: flex;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 10;
    border-radius: 12px;
}

.courses-track .cursos-error,
.courses-track .cursos-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 200px;
    padding: 40px;
    text-align: center;
    color: #666;
    font-size: 16px;
}

.course-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: calc((100% - 48px) / 3);
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e1e5eb;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.course-media {
    margin: 0;
    overflow: hidden;
}

.course-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 19px 19px 0 0;
}

.course-body {
    padding: 28px 26px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1 1 auto;
}

.course-tag {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    font-size: 13px;
    margin-bottom: -4px;
}

.course-title {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1c1d1f;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 0;
}

.course-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.course-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-secondary);
    margin: 0;
    white-space: nowrap;
}

.course-price span {
    margin-right: 4px;
}

.course-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 30px;
    height: 46px;
    background-color: #004D92;
    color: var(--color-white);
    font-family: var(--font-logo);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.course-cta span {
    font-size: 18px;
}

.course-cta:hover {
    background-color: #003F75;
}

.passion-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.passion-button {
    align-self: flex-start;
    margin-bottom: 20px;
}

.passion-note {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255);
    margin-bottom: 20px;
}

/* ========================================
   CONTENIDO GENERAL
======================================== */
.site-content {
    padding: 0px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 26px;
    }
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    background: linear-gradient(135deg, #004d92 0%, #00172c 100%);
    color: var(--color-white);
}

.footer-content {
    padding: 70px 0 60px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.footer-nav {
    flex-shrink: 0;
}

.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-nav-list li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

.footer-nav-list li a:hover {
    color: #01aeef;
}

.footer-logo {
    margin-bottom: 5px;
}

.footer-logo a {
    display: inline-block;
}

.footer-logo-image {
    width: 220px;
    max-width: 100%;
    height: auto;
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 480px;
}

.footer-social-label {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-white);
    margin: 10px 0 8px;
}

.footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 15px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: #1c1d1f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
    font-size: 18px;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: #01aeef;
    color: var(--color-white);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-white);
}

/* ========================================
   HEADER SOLID (para páginas internas)
======================================== */
.site-header.header-solid {
    position: static;
    background-color: #e5f7fd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.header-solid.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.site-header.header-solid .nav-menu li a {
    color: #004D92;
}

.site-header.header-solid .nav-menu li a:hover {
    color: var(--color-primary);
}

.site-header.header-solid .hamburger-line {
    background-color: #004D92;
}

/* Override para menú móvil abierto - siempre letras blancas */
@media (max-width: 992px) {
    .site-header.header-solid .main-navigation.is-open .nav-menu li a {
        color: var(--color-white);
    }
    
    .site-header.header-solid .main-navigation.is-open .nav-menu li a:hover {
        color: var(--color-primary);
    }
}

/* ========================================
   PAGE HERO (para páginas internas)
======================================== */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.page-hero-title {
    font-family: var(--font-logo);
    font-size: 80px;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   CURSOS PAGE CONTENT
======================================== */
.cursos-content {
    padding: 0;
    background-color: var(--color-white);
}

/* ----------------------------------------
   Cursos Filters Section
---------------------------------------- */
.cursos-filters-section {
    background-color: var(--color-white);
    padding: 24px 0;
    border-bottom: 1px solid #e5e7eb;
}

.cursos-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.filter-search {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.filter-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.filter-input {
    width: 100%;
    padding: 12px 12px 12px 44px;
    font-family: var(--font-primary);
    font-size: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.filter-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
}

.filter-input::placeholder {
    color: #9ca3af;
}

.filter-group {
    position: relative;
}

.filter-select {
    appearance: none;
    padding: 12px 40px 12px 16px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-secondary);
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
}

.filter-select:hover {
    border-color: #d1d5db;
}

.filter-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    background-color: transparent;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-clear:hover {
    color: #ef4444;
    border-color: #fecaca;
    background-color: #fef2f2;
}

.filter-clear svg {
    transition: transform 0.2s ease;
}

.filter-clear:hover svg {
    transform: rotate(90deg);
}

/* No Results Message */
.cursos-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.cursos-no-results svg {
    color: #d1d5db;
    margin-bottom: 16px;
}

.cursos-no-results p {
    font-family: var(--font-primary);
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 20px;
}

.btn-reset-filters {
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    background-color: var(--color-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-reset-filters:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

/* Filters Responsive */
@media (max-width: 992px) {
    .cursos-filters-section {
        display: none;
    }
}

/* ----------------------------------------
   Cursos Grid Section
---------------------------------------- */
.cursos-grid-section {
    padding: 60px 0 40px 0;
    background-color: #fff;
}

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

.cursos-grid .course-card {
    flex: none;
    width: 100%;
}

/* Cursos Grid Responsive */
@media (max-width: 992px) {
    .cursos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .cursos-grid-section {
        padding: 40px 0;
    }
    
    .cursos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ----------------------------------------
   Podcast Page Section
---------------------------------------- */
.podcast-page-section {
    padding: 60px 0 40px 0;
    background-color: #fff;
}

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

.podcast-card {
    display: flex;
    flex-direction: column;
}

.podcast-card-link {
    display: block;
    text-decoration: none;
}

.podcast-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    margin: 0;
}

.podcast-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.podcast-card:hover .podcast-media img {
    transform: scale(1.05);
}

.podcast-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.podcast-play-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.podcast-play-circle i {
    font-size: 24px;
    color: #fff;
    transition: transform 0.3s ease;
}

.podcast-card:hover .podcast-play-circle {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.podcast-card:hover .podcast-play-circle i {
    transform: scale(1.1);
}

.podcast-body {
    padding: 20px 0;
}

.podcast-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-primary);
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}

.podcast-duration i {
    font-size: 13px;
}

.podcast-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 600;
    color: #1c1d1f;
    line-height: 1.4;
    margin-bottom: 8px;
}

.podcast-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.podcast-host {
    font-family: var(--font-primary);
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

/* Podcast No Episodes */
.podcast-no-episodes {
    text-align: center;
    padding: 80px 20px;
}

.podcast-no-episodes i {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 20px;
}

.podcast-no-episodes p {
    font-family: var(--font-primary);
    font-size: 18px;
    color: #6b7280;
}

/* Podcast Grid Responsive */
@media (max-width: 992px) {
    .podcast-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .podcast-play-circle {
        width: 70px;
        height: 70px;
    }
    
    .podcast-play-circle i {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .podcast-page-section {
        padding: 40px 0;
    }
    
    .podcast-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .podcast-title {
        font-size: 18px;
    }
}

/* ----------------------------------------
   Single Podcast Episode
---------------------------------------- */
.single-podcast-article {
    padding: 60px 0;
    background-color: #fff;
}

.single-podcast-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Badge */
.single-podcast-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(90deg, var(--color-primary) 0%, #0095d9 100%);
    color: #fff;
    font-family: var(--font-logo);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    margin-bottom: 20px;
}

.single-podcast-badge i {
    font-size: 16px;
}

/* Title */
.single-podcast-title {
    font-family: var(--font-logo);
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-secondary);
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Meta */
.single-podcast-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
}

.single-podcast-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: #6b7280;
}

.single-podcast-meta i {
    color: var(--color-primary);
}

/* Video Container */
.single-podcast-video {
    margin-bottom: 40px;
}

.podcast-video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.podcast-video-container iframe,
.podcast-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.podcast-thumbnail-container {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.podcast-thumbnail-container img {
    width: 100%;
    height: auto;
    display: block;
}

.podcast-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.podcast-play-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.podcast-play-button {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.podcast-play-button i {
    font-size: 36px;
    color: #fff;
    margin-left: 6px;
}

.podcast-play-overlay:hover .podcast-play-button {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(1, 174, 239, 0.4);
}

/* Content */
.single-podcast-content {
    margin-bottom: 40px;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.podcast-content-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-logo);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 24px;
}

.podcast-content-title i {
    color: var(--color-primary);
}

.single-podcast-content p {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 20px;
}

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

/* Share */
.single-podcast-share {
    margin-bottom: 50px;
    padding: 30px;
    background-color: #f9fafb;
    border-radius: 12px;
    text-align: center;
}

.podcast-share-title {
    font-family: var(--font-logo);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.podcast-share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.share-facebook {
    background-color: #1877f2;
}

.share-twitter {
    background-color: #000;
}

.share-linkedin {
    background-color: #0a66c2;
}

.share-whatsapp {
    background-color: #25d366;
}

/* Navigation */
.single-podcast-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.podcast-nav-link {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.podcast-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.podcast-nav-link:hover {
    background: linear-gradient(135deg, #e5f7fd 0%, #dbeafe 100%);
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(1, 174, 239, 0.15);
}

.podcast-nav-link:hover::before {
    opacity: 1;
}

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

.podcast-nav-next::before {
    left: auto;
    right: 0;
}

.podcast-nav-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-logo);
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.podcast-nav-label i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.podcast-nav-link:hover .podcast-nav-label i {
    transform: translateX(-4px);
}

.podcast-nav-next:hover .podcast-nav-label i {
    transform: translateX(4px);
}

.podcast-nav-next .podcast-nav-label {
    justify-content: flex-end;
}

.podcast-nav-title {
    font-family: var(--font-logo);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.podcast-nav-link:hover .podcast-nav-title {
    color: var(--color-primary);
}

/* Single Podcast Responsive */
@media (max-width: 768px) {
    .single-podcast-article {
        padding: 40px 0;
    }
    
    .single-podcast-title {
        font-size: 28px;
    }
    
    .single-podcast-meta {
        gap: 16px;
    }
    
    .single-podcast-meta span {
        font-size: 14px;
    }
    
    .podcast-play-button {
        width: 80px;
        height: 80px;
    }
    
    .podcast-play-button i {
        font-size: 28px;
    }
    
    .single-podcast-content {
        padding: 24px;
    }
    
    .podcast-content-title {
        font-size: 20px;
    }
    
    .single-podcast-navigation {
        grid-template-columns: 1fr;
    }
    
    .podcast-nav-link {
        padding: 20px;
    }
    
    .podcast-nav-next {
        text-align: left;
    }
    
    .podcast-nav-next::before {
        right: auto;
        left: 0;
    }
    
    .podcast-nav-next .podcast-nav-label {
        justify-content: flex-start;
    }
}

/* ----------------------------------------
   Blog Page Section
---------------------------------------- */
.blog-page-section {
    padding: 60px 0 40px 0;
    background-color: #fff;
}

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

.blog-page-section .blog-card {
    background-color: #ffffff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e6eef6;
    overflow: hidden;
}

.blog-page-section .blog-card:hover {
    transform: none;
}

.blog-page-section .blog-media {
    margin: 0;
    overflow: hidden;
    height: 260px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.blog-page-section .blog-media a {
    display: block;
    height: 100%;
}

.blog-page-section .blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: none;
}

.blog-page-section .blog-card:hover .blog-media img {
    transform: none;
}

.blog-page-section .blog-body {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 auto;
}

.blog-page-section .blog-card-title {
    font-family: var(--font-logo);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: #1c1d1f;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 56px;
    margin-bottom: 0;
}

.blog-page-section .blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-page-section .blog-card-title a:hover {
    color: var(--color-primary);
}

.blog-page-section .blog-excerpt {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

.blog-page-section .blog-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 36px;
    height: 50px;
    background: linear-gradient(90deg, #004d92 0%, #002b6b 100%);
    color: #ffffff;
    font-family: var(--font-logo);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 22px;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    align-self: flex-start;
    margin-top: auto;
    text-decoration: none;
}

.blog-page-section .blog-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 77, 146, 0.3);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 8px 16px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-secondary);
    background-color: #f3f4f6;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-pagination a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.blog-pagination .current {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.blog-pagination .prev,
.blog-pagination .next {
    gap: 8px;
}

/* Blog No Posts */
.blog-no-posts {
    text-align: center;
    padding: 60px 20px;
}

.blog-no-posts p {
    font-family: var(--font-primary);
    font-size: 18px;
    color: #6b7280;
}

/* ----------------------------------------
   Single Post Article
---------------------------------------- */
.single-post-article {
    padding: 60px 0;
    background-color: #fff;
}

.single-post-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Categories */
.single-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.single-post-category {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--color-primary);
    color: #fff;
    font-family: var(--font-logo);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.single-post-category:hover {
    background-color: var(--color-secondary);
    color: #fff;
}

/* Title */
.single-post-title {
    font-family: var(--font-logo);
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-secondary);
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Meta */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    font-family: var(--font-primary);
    font-size: 14px;
    color: #6b7280;
}

.single-post-separator {
    color: #d1d5db;
}

/* Thumbnail */
.single-post-thumbnail {
    margin: 0 0 40px 0;
    border-radius: 12px;
    overflow: hidden;
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content */
.single-post-content {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content h2 {
    font-family: var(--font-logo);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 40px 0 20px;
}

.single-post-content h3 {
    font-family: var(--font-logo);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 32px 0 16px;
}

.single-post-content h4 {
    font-family: var(--font-logo);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 24px 0 12px;
}

.single-post-content ul,
.single-post-content ol {
    margin: 0 0 24px 24px;
}

.single-post-content li {
    margin-bottom: 8px;
}

.single-post-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background-color: #f3f4f6;
    border-left: 4px solid var(--color-primary);
    font-style: italic;
    color: #4b5563;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.single-post-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.single-post-content a:hover {
    color: var(--color-secondary);
}

/* Footer / Tags */
.single-post-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.single-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tags-label {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
}

.single-post-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: #f3f4f6;
    color: #4b5563;
    font-family: var(--font-primary);
    font-size: 13px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.single-post-tag:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* Post Navigation */
.single-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: none;
}

.post-nav-link {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.post-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-nav-link:hover {
    background: linear-gradient(135deg, #e5f7fd 0%, #dbeafe 100%);
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(1, 174, 239, 0.15);
}

.post-nav-link:hover::before {
    opacity: 1;
}

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

.post-nav-next::before {
    left: auto;
    right: 0;
}

.post-nav-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-logo);
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-nav-label i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.post-nav-link:hover .post-nav-label i {
    transform: translateX(-4px);
}

.post-nav-next:hover .post-nav-label i {
    transform: translateX(4px);
}

.post-nav-next .post-nav-label {
    justify-content: flex-end;
}

.post-nav-title {
    font-family: var(--font-logo);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.post-nav-link:hover .post-nav-title {
    color: var(--color-primary);
}

/* ----------------------------------------
   Comments Area
---------------------------------------- */
.comments-area {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 2px solid #e5e7eb;
}

.comments-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-logo);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 30px;
}

.comments-title i {
    color: var(--color-primary);
}

/* Comment List */
.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list .comment {
    margin-bottom: 24px;
}

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

.comment-body {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.comment-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
}

.comment-content {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.comment-author {
    font-family: var(--font-logo);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-secondary);
}

.comment-author a {
    color: inherit;
    text-decoration: none;
}

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

.comment-date {
    font-family: var(--font-primary);
    font-size: 13px;
    color: #6b7280;
}

.comment-text {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.comment-text p {
    margin: 0 0 12px 0;
}

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

.comment-actions {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.comment-actions a {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.comment-actions a:hover {
    color: var(--color-secondary);
}

.comment-awaiting-moderation {
    padding: 12px 16px;
    background-color: #fef3c7;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 14px;
    color: #92400e;
    margin-bottom: 12px;
}

.no-comments {
    padding: 24px;
    background-color: #f3f4f6;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: #6b7280;
    text-align: center;
}

/* Comment Form */
.comment-respond {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #e5f7fd 0%, #dbeafe 100%);
    border-radius: 20px;
    border: 2px solid rgba(1, 174, 239, 0.2);
}

.comment-reply-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-logo);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 24px;
}

.comment-reply-title i {
    color: var(--color-primary);
}

.comment-reply-title small {
    display: block;
    margin-top: 8px;
}

.comment-reply-title small a {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.comment-form .required {
    color: #ef4444;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: #374151;
    background-color: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(1, 174, 239, 0.1);
}

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

.comment-form .submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(90deg, #004d92 0%, #002b6b 100%);
    color: #fff;
    font-family: var(--font-logo);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.comment-form .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 77, 146, 0.3);
}

.comment-form .submit-btn i {
    font-size: 16px;
}

.comment-notes,
.logged-in-as {
    font-family: var(--font-primary);
    font-size: 14px;
    color: #6b7280;
}

.logged-in-as a {
    color: var(--color-primary);
    text-decoration: none;
}

.logged-in-as a:hover {
    text-decoration: underline;
}

/* Comments Navigation */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px;
    background-color: #f3f4f6;
    border-radius: 10px;
}

.comment-navigation a {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-navigation a:hover {
    color: var(--color-secondary);
}

/* Comments Responsive */
@media (max-width: 768px) {
    .comments-area {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .comments-title {
        font-size: 22px;
    }
    
    .comment-body {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    
    .comment-avatar img {
        width: 50px;
        height: 50px;
    }
    
    .comment-list .children {
        margin-left: 20px;
    }
    
    .comment-respond {
        padding: 24px;
    }
    
    .comment-reply-title {
        font-size: 20px;
    }
    
    .comment-form .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Single Post Responsive */
@media (max-width: 768px) {
    .single-post-article {
        padding: 40px 0;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .single-post-content {
        font-size: 15px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .single-post-navigation {
        grid-template-columns: 1fr;
    }
    
    .post-nav-link {
        padding: 20px;
    }
    
    .post-nav-next {
        text-align: left;
    }
    
    .post-nav-next::before {
        right: auto;
        left: 0;
    }
    
    .post-nav-next .post-nav-label {
        justify-content: flex-start;
    }
}

/* Blog Grid Responsive */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .blog-page-section .blog-media {
        height: 200px;
    }
    
    .blog-page-section .blog-card-title {
        font-size: 18px;
        min-height: auto;
    }
    
    .blog-page-section .blog-cta {
        font-size: 18px;
        height: 44px;
        padding: 0 28px;
    }
}

@media (max-width: 768px) {
    .blog-page-section {
        padding: 40px 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-page-section .blog-media {
        height: 220px;
    }
    
    .blog-page-section .blog-body {
        padding: 24px 20px;
    }
    
    .blog-page-section .blog-card-title {
        font-size: 18px;
    }
    
    .blog-page-section .blog-cta {
        font-size: 16px;
        height: 42px;
        padding: 0 24px;
    }
    
    .blog-pagination {
        margin-top: 30px;
    }
    
    .blog-pagination a,
    .blog-pagination span {
        min-width: 40px;
        height: 40px;
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* ========================================
   MOBILE MENU
======================================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10001;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.site-header.is-scrolled .hamburger-line {
    background-color: var(--color-secondary);
}

/* Animación X cuando está abierto */
.menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* CTA dentro del menú móvil - oculto en desktop */
.mobile-menu-cta {
    display: none;
}

/* Selector de idioma móvil - oculto en desktop */
.mobile-language-selector {
    display: none;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 992px) {
    /* Header mobile */
    .site-header {
        padding: 15px 20px;
        background-color: #e5f7fd;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .site-header.is-scrolled {
        padding: 15px 20px;
    }
    
    .hamburger-line {
        background-color: #004D92;
    }
    
    .header-container {
        justify-content: space-between;
    }
    
    .menu-toggle {
        display: flex;
        order: 3;
    }
    
    .header-cta {
        display: none;
    }
    
    .language-selector {
        display: none;
    }
    
    .main-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, var(--color-secondary) 0%, #00172c 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        z-index: 10000;
        padding: 80px 40px;
    }
    
    .main-navigation.is-open {
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu li:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu li a {
        display: block;
        padding: 20px 0;
        font-size: 20px;
        color: var(--color-white);
        letter-spacing: 2px;
    }
    
    .nav-menu li a:hover {
        color: var(--color-primary);
    }
    
    .mobile-menu-cta {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 40px;
    }
    
    .mobile-language-selector {
        display: block;
        position: relative;
        margin-top: 30px;
        width: 100%;
        text-align: center;
    }
    
    .mobile-language-selector .language-toggle {
        color: var(--color-white);
        justify-content: center;
        width: 100%;
    }
    
    .mobile-language-selector .language-dropdown {
        position: absolute;
        top: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        min-width: 200px;
        display: none;
    }
    
    .mobile-language-selector .language-dropdown[style*="display: block"] {
        display: block !important;
    }
    
    .mobile-language-selector.active .language-dropdown {
        display: block;
    }
    
    .mobile-menu-cta .btn-primary,
    .mobile-menu-cta .btn-secondary {
        padding: 16px 40px;
        font-size: 18px;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-cta .btn-secondary {
        background-color: transparent;
        border-color: var(--color-white);
        color: var(--color-white);
    }
    
    .mobile-menu-cta .btn-secondary:hover {
        background-color: var(--color-white);
        color: var(--color-primary);
    }
    
    /* Cuando el menú está abierto, las líneas siempre blancas */
    .menu-toggle.is-active .hamburger-line {
        background-color: var(--color-white);
    }
    
    .nav-menu {
        gap: 0;
    }
    
    .hero-title {
        font-size: 60px;
    }
    
    .hero-content {
        padding: 0 30px;
    }

    .stat-number {
        font-size: 90px;
    }

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

    .passion-content {
        padding: 60px 40px;
    }

    .passion-title {
        font-size: 42px;
    }

    .course-card {
        flex: 0 0 calc((100% - 24px) / 2);
        min-width: calc((100% - 24px) / 2);
    }

    .purpose-section {
        margin: 70px 0 90px;
        padding: 0;
    }

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

    .purpose-content {
        padding: 60px 50px;
    }

    .purpose-title {
        font-size: 44px;
    }

    .testimonial-card {
        flex: 0 0 calc((100% - 28px) / 2);
        min-width: calc((100% - 28px) / 2);
    }

    .cta-section {
        padding: 70px 40px;
    }

    .cta-title {
        font-size: 42px;
    }

    .cta-text {
        font-size: 18px;
    }

    .blog-section {
        padding: 70px 0;
    }

    .blog-heading {
        margin-bottom: 35px;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .blog-title {
        font-size: 38px;
        letter-spacing: 4px;
    }

    .blog-subtitle {
        font-size: 20px;
    }

    .blog-card {
        flex: 0 0 calc((100% - 48px) / 3);
        min-width: calc((100% - 48px) / 3);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: nowrap;
    }
    
    .main-navigation {
        display: none;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-content {
        padding: 0 26px;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .page-hero {
        min-height: 300px;
        margin-top: 0;
    }
    
    .page-hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .marquee-item {
        font-size: 24px;
    }

    .stats-section {
        padding: 60px 0;
    }

    .stat-number {
        font-size: 64px;
    }

    .passion-section {
        margin-top: 60px;
    }

    .passion-content {
        padding: 45px 30px;
    }

    .passion-title {
        font-size: 34px;
    }

    .passion-text {
        font-size: 16px;
    }

    .courses-header {
        align-items: flex-start;
    }

    .section-title {
        font-size: 36px;
    }

    .course-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .course-body {
        padding: 20px 18px 24px;
    }

    .course-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .course-price {
        font-size: 26px;
    }

    .course-cta {
        width: 100%;
        padding: 0 20px;
    }

    .purpose-section {
        padding: 0;
    }

    .purpose-content {
        padding: 50px 30px;
    }

    .purpose-title {
        font-size: 34px;
    }

    .purpose-text {
        font-size: 16px;
    }

    .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .testimonials-heading {
        font-size: 38px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .cta-section {
        padding: 60px 30px;
    }

    .cta-title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .cta-text {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .cta-button {
        padding: 16px 40px;
        font-size: 16px;
    }

    .blog-section {
        padding: 60px 0;
    }

    .blog-heading {
        margin-bottom: 30px;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        margin-bottom: 40px;
    }

    .blog-title {
        font-size: 32px;
        letter-spacing: 3px;
    }

    .blog-subtitle {
        font-size: 18px;
    }

    .blog-controls {
        width: 100%;
        justify-content: flex-end;
        gap: 12px;
    }

    .blog-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .blog-card-title {
        font-size: 18px;
        min-height: auto;
    }

    .blog-excerpt {
        font-size: 14px;
    }

    .footer-content {
        padding: 50px 0 40px;
    }

    .footer-logo-image {
        width: 260px;
    }

    .footer-description {
        font-size: 15px;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .footer-links {
        gap: 20px;
    }
}

/* ========================================
   SINGLE CURSO - DETALLE DEL CURSO
======================================== */
.single-curso-article {
    background-color: #ffffff;
    padding: 60px 0 80px;
    min-height: 70vh;
}

.single-curso-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.single-curso-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: start;
}

.single-curso-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.single-curso-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.single-curso-details {
    padding: 10px 0;
}

.single-curso-title {
    font-family: var(--font-logo);
    font-size: 32px;
    font-weight: 700;
    color: #152A4E;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.single-curso-price {
    font-family: var(--font-logo);
    font-size: 36px;
    font-weight: 700;
    color: #152A4E;
    margin: 0 0 30px 0;
}

.single-curso-price .precio-moneda {
    font-size: 24px;
    vertical-align: top;
    margin-right: 2px;
}

.single-curso-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.curso-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.curso-meta-item .meta-label {
    font-family: var(--font-logo);
    font-size: 11px;
    font-weight: 700;
    color: #152A4E;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.curso-meta-item .meta-value {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
}

.single-curso-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #152A4E;
    color: #ffffff;
    font-family: var(--font-logo);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-curso-cta:hover {
    background-color: #1d3a6e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(21, 42, 78, 0.3);
}

.single-curso-cta svg {
    transition: transform 0.3s ease;
}

.single-curso-cta:hover svg {
    transform: translateX(4px);
}

/* Contenido/Descripción del curso */
.single-curso-content {
    border-top: 1px solid #e5e5e5;
    padding-top: 40px;
}

.single-curso-content p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.single-curso-content h2,
.single-curso-content h3,
.single-curso-content h4 {
    font-family: var(--font-logo);
    color: #152A4E;
    margin-top: 30px;
    margin-bottom: 15px;
}

.single-curso-content ul,
.single-curso-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.single-curso-content li {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .single-curso-hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .single-curso-title {
        font-size: 28px;
    }
    
    .single-curso-price {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .single-curso-article {
        padding: 40px 0 60px;
    }
    
    .single-curso-title {
        font-size: 24px;
    }
    
    .single-curso-price {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .single-curso-meta {
        gap: 20px;
    }
    
    .single-curso-cta {
        width: 100%;
        justify-content: center;
    }
    
    .single-curso-content p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .single-curso-hero {
        gap: 25px;
    }
    
    .single-curso-title {
        font-size: 22px;
    }
    
    .single-curso-price {
        font-size: 24px;
    }
    
    .single-curso-meta {
        flex-direction: column;
        gap: 15px;
    }
}

/* ========================================
   MODAL - MODELO DE APRENDIZAJE
======================================== */
.modelo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modelo-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modelo-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.modelo-modal-container {
    position: relative;
    background-color: #ffffff;
    border-radius: 16px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    z-index: 1;
}

.modelo-modal-container.modelo-modal-image-only {
    background-color: transparent;
    max-width: 1000px;
}

.modelo-modal-container.modelo-modal-image-only .modelo-modal-image {
    margin: 0;
    flex: none;
}

.modelo-modal-container.modelo-modal-image-only .modelo-modal-image img {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modelo-modal-container.modelo-modal-image-only .modelo-modal-close {
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.modelo-modal.is-open .modelo-modal-container {
    transform: translateY(0);
}

.modelo-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background-color: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 2;
}

.modelo-modal-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.modelo-modal-content {
    padding: 50px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.modelo-modal-text {
    flex: 1;
}

.modelo-modal-label {
    font-family: var(--font-logo);
    font-size: 14px;
    font-weight: 700;
    color: #152A4E;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #152A4E;
    display: inline-block;
}

.modelo-modal-text p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 20px 0;
}

.modelo-modal-text p:last-child {
    margin-bottom: 0;
}

.modelo-modal-text strong {
    color: #152A4E;
    font-weight: 700;
}

.modelo-modal-image {
    flex: 0 0 350px;
    margin: 0;
}

.modelo-modal-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modelo-modal-content {
        flex-direction: column;
        padding: 40px 25px;
    }
    
    .modelo-modal-image {
        flex: none;
        width: 100%;
        order: -1;
    }
    
    .modelo-modal-close {
        top: 15px;
        right: 15px;
    }
    
    .modelo-modal-text p {
        font-size: 14px;
    }
    
    .modelo-modal-container.modelo-modal-image-only .modelo-modal-close {
        top: -45px;
        right: 5px;
    }
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}

/* ========================================
   CURSOS - PAGINACIÓN Y ESTADOS
======================================== */
.cursos-grid-section {
    position: relative;
}

.cursos-grid-section .cursos-error {
    margin: 16px 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #ffecec;
    color: #b71c1c;
    border: 1px solid rgba(183, 28, 28, 0.3);
    font-weight: 600;
}

.cursos-pagination {
    margin-top: 32px;
}

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

.pagination-links .page-link,
.pagination-links .page-status,
.pagination-links .page-ellipsis {
    font-size: 15px;
    line-height: 1;
}

.pagination-links .page-link,
.pagination-links .page-link:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 10px 14px;
    border: 1px solid #0c4b8f;
    border-radius: 999px;
    background: #fff;
    color: #0c4b8f;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 600;
    cursor: pointer;
}

.pagination-links .page-link:hover,
.pagination-links .page-link:focus-visible {
    background: #0c4b8f;
    color: #fff;
    box-shadow: 0 4px 12px rgba(12, 75, 143, 0.2);
    outline: none;
}

.pagination-links .page-link.current {
    background: #0c4b8f;
    color: #fff;
    border-color: #0c4b8f;
    cursor: default;
    box-shadow: 0 4px 12px rgba(12, 75, 143, 0.25);
}

.pagination-links .page-link.prev,
.pagination-links .page-link.next {
    padding: 10px 16px;
}

.pagination-links .page-ellipsis {
    color: #6c7a89;
    padding: 0 4px;
}

@media (max-width: 640px) {
    .pagination-links {
        gap: 8px;
    }
    .pagination-links .page-link {
        min-width: 36px;
        padding: 9px 12px;
        font-size: 14px;
    }
}

.cursos-loading {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 10;
    border-radius: 12px;
}

.cursos-grid-section.is-loading .cursos-loading {
    display: flex;
}

.cursos-loading .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0c4b8f;
    animation: cursosDot 0.9s ease-in-out infinite;
}

.cursos-loading .dot:nth-child(2) {
    animation-delay: 0.1s;
}

.cursos-loading .dot:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes cursosDot {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(-6px); opacity: 1; }
}