/**
 * Juventud Cuba - Main Theme Stylesheet
 * Estética: Brutalismo Moderno / Street Art Digital
 */

/* ============================================
   CSS VARIABLES (defaults, overridden by customizer)
   ============================================ */
:root {
    --jc-primary: #dc2626;
    --jc-secondary: #2563eb;
    --jc-bg: #0a0a0a;
    --jc-text: #ffffff;
    --jc-text-muted: #94a3b8;
    --jc-card-bg: #111111;
    --jc-border: rgba(255, 255, 255, 0.05);
    --jc-radius-sm: 1rem;
    --jc-radius-md: 2rem;
    --jc-radius-lg: 3rem;
    --jc-radius-full: 9999px;
    --jc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --jc-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --jc-container: 1200px;
}

/* ============================================
   BASE / RESET
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--jc-font);
    background-color: var(--jc-bg);
    color: var(--jc-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--jc-secondary);
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--jc-transition);
}

a:hover {
    color: var(--jc-secondary);
}

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
}

/* ============================================
   LAYOUT
   ============================================ */
.jc-container {
    max-width: var(--jc-container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.jc-section {
    padding: 8rem 0;
}

.jc-grid {
    display: grid;
    gap: 2.5rem;
}

.jc-grid--12 {
    grid-template-columns: repeat(12, 1fr);
}

.jc-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 768px) {
    .jc-grid--12,
    .jc-grid--3,
    .jc-grid--2 {
        grid-template-columns: 1fr;
    }

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
.jc-heading-xl {
    font-size: clamp(3rem, 10vw, 10rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.04em;
}

.jc-heading-lg {
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.03em;
}

.jc-heading-md {
    font-size: clamp(1.5rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
}

.jc-heading-sm {
    font-size: clamp(1.25rem, 2vw, 2rem);
    font-weight: 900;
    line-height: 1.1;
}

.jc-text-sm {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.jc-text-muted {
    color: var(--jc-text-muted);
}

.jc-text-primary {
    color: var(--jc-primary);
}

.jc-text-secondary {
    color: var(--jc-secondary);
}

.jc-italic {
    font-style: italic;
}

.jc-outline-text {
    color: transparent;
    -webkit-text-stroke: 2px var(--jc-primary);
}

/* ============================================
   BUTTONS
   ============================================ */
.jc-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-weight: 900;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    border-radius: var(--jc-radius-full);
    transition: all var(--jc-transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.jc-btn--primary {
    background-color: var(--jc-text);
    color: var(--jc-bg);
}

.jc-btn--primary:hover {
    background-color: var(--jc-secondary);
    color: var(--jc-text);
    transform: scale(1.02);
}

.jc-btn--secondary {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--jc-text);
    background: transparent;
}

.jc-btn--secondary:hover {
    border-color: var(--jc-text);
    color: var(--jc-text);
}

.jc-btn--red {
    background-color: var(--jc-primary);
    color: var(--jc-text);
}

.jc-btn--red:hover {
    background-color: #b91c1c;
    transform: scale(1.02);
}

.jc-btn--lg {
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
}

.jc-btn--xl {
    font-size: 1.5rem;
    padding: 1.5rem 3.5rem;
}

.jc-btn svg {
    transition: transform var(--jc-transition);
}

.jc-btn:hover svg {
    transform: translateX(4px);
}

/* ============================================
   BADGES
   ============================================ */
.jc-badge {
    display: inline-block;
    background-color: var(--jc-secondary);
    color: white;
    font-weight: 900;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    transform: rotate(-2deg);
}

.jc-badge--red {
    background-color: var(--jc-primary);
}

/* ============================================
   CARDS
   ============================================ */
.jc-card {
    background-color: var(--jc-card-bg);
    border-radius: var(--jc-radius-lg);
    border: 1px solid var(--jc-border);
    overflow: hidden;
    transition: transform var(--jc-transition), box-shadow var(--jc-transition);
}

.jc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.jc-card__image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.jc-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.jc-card:hover .jc-card__image img {
    transform: scale(1.1);
}

.jc-card__body {
    padding: 2rem;
}

.jc-card__category {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--jc-secondary);
    margin-bottom: 0.75rem;
}

.jc-card__title {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.jc-card__excerpt {
    color: var(--jc-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.jc-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--jc-text-muted);
    font-weight: 700;
}

.jc-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 900;
    font-size: 1rem;
    border-bottom: 3px solid var(--jc-primary);
    padding-bottom: 0.25rem;
    transition: gap var(--jc-transition);
}

.jc-card__link:hover {
    gap: 1rem;
    color: var(--jc-text);
}

/* ============================================
   NAVIGATION
   ============================================ */
.jc-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 80;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--jc-transition);
}

.jc-nav--scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.jc-nav__logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.jc-nav__actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.jc-nav__cta {
    display: none;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.25rem;
    transition: all var(--jc-transition);
}

.jc-nav__cta:hover {
    color: var(--jc-secondary);
    border-bottom-color: var(--jc-secondary);
}

@media (min-width: 768px) {
    .jc-nav__cta {
        display: block;
    }
}

.jc-nav__menu-btn {
    background-color: var(--jc-text);
    color: var(--jc-bg);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--jc-transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

/* ============================================
   FULLSCREEN MENU
   ============================================ */
.jc-fullmenu {
    position: fixed;
    inset: 0;
    background-color: var(--jc-primary);
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.jc-fullmenu--open {
    transform: translateY(0);
}

.jc-fullmenu__close {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    color: white;
    transition: transform var(--jc-transition);
}

.jc-fullmenu__close:hover {
    transform: rotate(90deg);
}

.jc-fullmenu__nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.jc-fullmenu__link {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    color: white;
    transition: all var(--jc-transition);
    position: relative;
    display: inline-block;
}

.jc-fullmenu__link:hover {
    font-style: italic;
    color: white;
}

.jc-fullmenu__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40%;
    background-color: var(--jc-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--jc-transition);
    z-index: -1;
    translate: 0 0.5rem;
}

.jc-fullmenu__link:hover::after {
    transform: scaleX(1);
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.jc-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--jc-primary);
    z-index: 100;
    transform-origin: left;
    transform: scaleX(0);
}

/* ============================================
   GRAIN OVERLAY
   ============================================ */
.jc-grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 90;
    opacity: 0.03;
    background-image: url('../images/noise.svg');
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.jc-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    background-color: var(--jc-primary);
    border-radius: 50%;
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out;
    display: none;
}

@media (min-width: 768px) and (hover: hover) {
    .jc-cursor {
        display: block;
    }
}

/* ============================================
   LOGO TEXT
   ============================================ */
.jc-logo-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.jc-logo-text__icon {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jc-logo-text__spinner {
    position: absolute;
    inset: 0;
    border: 2px dashed var(--jc-secondary);
    border-radius: 50%;
    animation: jc-spin 10s linear infinite;
}

.jc-logo-text__star {
    font-size: 1.5rem;
    font-weight: 900;
    transition: transform var(--jc-transition);
}

.jc-logo-text:hover .jc-logo-text__star {
    transform: scale(1.1);
}

.jc-logo-text__name {
    line-height: 1;
}

.jc-logo-text__title {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0;
}

.jc-logo-text__tagline {
    font-size: 0.625rem;
    color: var(--jc-primary);
    font-weight: 700;
    letter-spacing: 0.3em;
}

/* Custom logo */
.jc-logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.jc-logo-img {
    max-height: 50px;
    width: auto;
    display: block;
}

/* ============================================
   NAV SEARCH (dropdown)
   ============================================ */
.jc-nav__search-toggle {
    color: var(--jc-text);
    padding: 0.5rem;
    transition: color var(--jc-transition);
    display: flex;
    align-items: center;
}

.jc-nav__search-toggle:hover {
    color: var(--jc-secondary);
}

.jc-nav-search {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 85;
    background-color: var(--jc-card-bg);
    border-bottom: 1px solid var(--jc-border);
    padding: 1rem 0;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.jc-nav-search--open {
    transform: translateY(0);
}

.jc-nav-search__form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.jc-nav-search__input {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--jc-border);
    padding: 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--jc-text);
    outline: none;
    transition: border-color var(--jc-transition);
}

.jc-nav-search__input:focus {
    border-bottom-color: var(--jc-secondary);
}

.jc-nav-search__input::placeholder {
    color: var(--jc-text-muted);
}

.jc-nav-search__submit,
.jc-nav-search__close {
    color: var(--jc-text-muted);
    padding: 0.5rem;
    transition: color var(--jc-transition);
    display: flex;
    align-items: center;
}

.jc-nav-search__submit:hover { color: var(--jc-secondary); }
.jc-nav-search__close:hover { color: var(--jc-primary); }

/* ============================================
   HERO PAGE (Generic)
   ============================================ */
.jc-hero-page {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    padding: 8rem 0 4rem;
    background-size: cover;
    background-position: center;
    background-color: var(--jc-bg);
}

.jc-hero-page__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, var(--jc-bg));
}

.jc-hero-page__content {
    position: relative;
    z-index: 2;
}

.jc-hero-page__subtitle {
    display: inline-block;
    background-color: var(--jc-secondary);
    color: white;
    font-weight: 900;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    transform: rotate(-2deg);
}

.jc-hero-page__title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

/* ============================================
   POST META
   ============================================ */
.jc-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--jc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.jc-post-meta__categories a {
    color: var(--jc-secondary);
}

/* ============================================
   PAGINATION
   ============================================ */
.jc-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.jc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 0.75rem;
    background-color: var(--jc-card-bg);
    border: 1px solid var(--jc-border);
    border-radius: var(--jc-radius-full);
    font-weight: 900;
    font-size: 0.875rem;
    transition: all var(--jc-transition);
}

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

/* ============================================
   SEARCH FORM
   ============================================ */
.jc-search-form {
    display: flex;
    background-color: var(--jc-card-bg);
    border: 1px solid var(--jc-border);
    border-radius: var(--jc-radius-full);
    overflow: hidden;
}

.jc-search-form__input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.875rem 1.5rem;
    color: var(--jc-text);
    font-size: 0.875rem;
    font-weight: 700;
    outline: none;
}

.jc-search-form__input::placeholder {
    color: var(--jc-text-muted);
}

.jc-search-form__btn {
    padding: 0.875rem 1.25rem;
    color: var(--jc-text-muted);
    transition: color var(--jc-transition);
}

.jc-search-form__btn:hover {
    color: var(--jc-text);
}

/* ============================================
   SIDEBAR / WIDGETS
   ============================================ */
.jc-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.jc-widget {
    background-color: var(--jc-card-bg);
    border: 1px solid var(--jc-border);
    border-radius: var(--jc-radius-md);
    padding: 1.5rem;
}

.jc-widget__title {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--jc-primary);
    margin-bottom: 1rem;
}

/* ============================================
   CONTACT WIDGET
   ============================================ */
.jc-contact-widget {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.jc-contact-widget__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--jc-text-muted);
}

.jc-contact-widget__item:hover {
    color: var(--jc-text);
}

/* ============================================
   SOCIAL ICONS
   ============================================ */
.jc-social-icons {
    display: flex;
    gap: 1rem;
}

.jc-social-icon {
    color: var(--jc-text-muted);
    transition: all var(--jc-transition);
}

.jc-social-icon--facebook:hover { color: #1877f2; }
.jc-social-icon--twitter:hover { color: #1da1f2; }
.jc-social-icon--youtube:hover { color: var(--jc-primary); }
.jc-social-icon--instagram:hover { color: #e4405f; }
.jc-social-icon--tiktok:hover { color: #69c9d0; }
.jc-social-icon--telegram:hover { color: #0088cc; }

/* ============================================
   FOOTER
   ============================================ */
.jc-footer {
    background-color: #000000;
    color: #ffffff;
    padding-top: 15rem;
    padding-bottom: 2.5rem;
}

.jc-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.jc-footer__main {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .jc-footer__main {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.jc-footer__brand {
    max-width: 400px;
}

.jc-footer__brand-name {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1;
}

.jc-footer__brand-desc {
    color: var(--jc-text-muted);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

@media (min-width: 768px) {
    .jc-footer__columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

.jc-footer__col-title {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.jc-footer__col-title--red { color: var(--jc-primary); }
.jc-footer__col-title--blue { color: var(--jc-secondary); }
.jc-footer__col-title--white { color: white; }

.jc-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.jc-footer__links a {
    font-weight: 700;
    color: var(--jc-text-muted);
    transition: color var(--jc-transition);
}

.jc-footer__links a:hover {
    color: white;
}

.jc-footer__contact-email {
    font-weight: 900;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.jc-footer__contact-phone {
    font-weight: 900;
    font-size: 1.125rem;
    color: var(--jc-primary);
}

.jc-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    font-size: 0.625rem;
    font-weight: 900;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.4em;
}

@media (min-width: 768px) {
    .jc-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.jc-footer__tagline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-style: italic;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.jc-newsletter-section {
    background-color: var(--jc-card-bg);
    padding: 6rem 0;
    border-top: 1px solid var(--jc-border);
    border-bottom: 1px solid var(--jc-border);
}

.jc-newsletter-section__inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.jc-newsletter-section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.jc-newsletter-section__desc {
    color: var(--jc-text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.jc-newsletter-form {
    display: flex;
    gap: 0.75rem;
}

.jc-newsletter-form__input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--jc-border);
    border-radius: var(--jc-radius-full);
    padding: 0.875rem 1.5rem;
    color: white;
    font-weight: 700;
    outline: none;
    transition: border-color var(--jc-transition);
}

.jc-newsletter-form__input:focus {
    border-color: var(--jc-secondary);
}

@media (max-width: 480px) {
    .jc-newsletter-form {
        flex-direction: column;
    }
}

/* ============================================
   CONTENT STYLES (for WP editor content)
   ============================================ */
.jc-content {
    max-width: 800px;
}

.jc-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--jc-text-muted);
    margin-bottom: 1.5rem;
}

.jc-content h2 {
    font-size: 2rem;
    font-weight: 900;
    margin: 3rem 0 1rem;
    color: var(--jc-text);
}

.jc-content h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 2rem 0 0.75rem;
    color: var(--jc-text);
}

.jc-content ul,
.jc-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--jc-text-muted);
}

.jc-content ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

.jc-content ol li {
    list-style: decimal;
    margin-bottom: 0.5rem;
}

.jc-content blockquote {
    border-left: 4px solid var(--jc-primary);
    padding: 1rem 2rem;
    margin: 2rem 0;
    background-color: rgba(255, 255, 255, 0.02);
    font-style: italic;
    font-size: 1.125rem;
}

.jc-content a {
    color: var(--jc-secondary);
    text-decoration: underline;
}

.jc-content img {
    border-radius: var(--jc-radius-md);
    margin: 2rem 0;
}

.jc-content .wp-block-embed {
    margin: 2rem 0;
}

.jc-content .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--jc-radius-md);
}

.jc-content .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   GALLERY GRID
   ============================================ */
.jc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.jc-gallery-item {
    position: relative;
    border-radius: var(--jc-radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.jc-gallery-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.jc-gallery-item:hover .jc-gallery-item__image {
    transform: scale(1.1);
}

.jc-gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--jc-transition);
}

.jc-gallery-item:hover .jc-gallery-item__overlay {
    opacity: 1;
}

.jc-gallery-item__artist {
    font-weight: 900;
    font-size: 1.25rem;
}

.jc-gallery-item__type {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--jc-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   VIDEO GRID
   ============================================ */
.jc-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.jc-video-card {
    background-color: var(--jc-card-bg);
    border-radius: var(--jc-radius-md);
    overflow: hidden;
    border: 1px solid var(--jc-border);
}

.jc-video-card__embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.jc-video-card__embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.jc-video-card__lazy {
    position: relative;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.jc-video-card__lazy img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jc-video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform var(--jc-transition);
}

.jc-video-card__lazy:hover .jc-video-card__play {
    transform: translate(-50%, -50%) scale(1.1);
}

.jc-video-card__info {
    padding: 1.5rem;
}

.jc-video-card__title {
    font-size: 1.125rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.jc-video-card__meta {
    font-size: 0.75rem;
    color: var(--jc-text-muted);
    font-weight: 700;
}

/* ============================================
   FILTER TABS
   ============================================ */
.jc-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.jc-filter-btn {
    padding: 0.625rem 1.5rem;
    border-radius: var(--jc-radius-full);
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: var(--jc-card-bg);
    border: 1px solid var(--jc-border);
    color: var(--jc-text-muted);
    transition: all var(--jc-transition);
    cursor: pointer;
}

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

/* ============================================
   TIMELINE
   ============================================ */
.jc-timeline {
    position: relative;
    padding-left: 3rem;
}

.jc-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--jc-primary), var(--jc-secondary));
}

.jc-timeline__item {
    position: relative;
    padding-bottom: 3rem;
}

.jc-timeline__item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    background-color: var(--jc-primary);
    border-radius: 50%;
    transform: translateX(-5px);
}

.jc-timeline__year {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--jc-secondary);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.jc-timeline__title {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.jc-timeline__desc {
    color: var(--jc-text-muted);
    font-size: 0.9375rem;
}

/* ============================================
   TEAM GRID
   ============================================ */
.jc-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

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

.jc-team-card__image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--jc-border);
    transition: border-color var(--jc-transition);
}

.jc-team-card:hover .jc-team-card__image {
    border-color: var(--jc-primary);
}

.jc-team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.7s ease;
}

.jc-team-card:hover .jc-team-card__image img {
    filter: grayscale(0);
}

.jc-team-card__name {
    font-size: 1.125rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.jc-team-card__role {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--jc-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.jc-testimonial {
    background-color: var(--jc-card-bg);
    border-radius: var(--jc-radius-lg);
    padding: 3rem;
    border: 1px solid var(--jc-border);
    position: relative;
}

.jc-testimonial__quote {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--jc-text);
}

.jc-testimonial__quote::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--jc-primary);
    line-height: 0;
    position: absolute;
    top: 2rem;
    left: 2rem;
    opacity: 0.3;
}

.jc-testimonial__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.jc-testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.jc-testimonial__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jc-testimonial__name {
    font-weight: 900;
    font-size: 0.9375rem;
}

.jc-testimonial__location {
    font-size: 0.75rem;
    color: var(--jc-text-muted);
    font-weight: 700;
}

/* Video-type testimonial */
.jc-testimonial--video {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.jc-testimonial__video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.jc-testimonial__video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.jc-testimonial--video:hover .jc-testimonial__video-thumb img {
    transform: scale(1.05);
}

.jc-testimonial__video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--jc-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--jc-transition);
    pointer-events: none;
}

.jc-testimonial--video:hover .jc-testimonial__video-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.jc-testimonial--video .jc-testimonial__author {
    padding: 1.5rem 2rem 2rem;
    margin-top: 0;
}

/* ============================================
   EVENTS
   ============================================ */
.jc-event-card {
    display: flex;
    gap: 2rem;
    background-color: var(--jc-card-bg);
    border: 1px solid var(--jc-border);
    border-radius: var(--jc-radius-md);
    padding: 2rem;
    transition: transform var(--jc-transition);
}

.jc-event-card:hover {
    transform: translateX(4px);
}

.jc-event-card__date {
    text-align: center;
    min-width: 80px;
}

.jc-event-card__day {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--jc-primary);
}

.jc-event-card__month {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--jc-text-muted);
}

.jc-event-card__info {
    flex: 1;
}

.jc-event-card__title {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.jc-event-card__details {
    font-size: 0.875rem;
    color: var(--jc-text-muted);
    font-weight: 700;
}

.jc-event-card__location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--jc-secondary);
    font-weight: 700;
}

/* ============================================
   STATS / IMPACT
   ============================================ */
.jc-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    text-align: center;
}

.jc-stat {
    padding: 2rem 1.5rem;
    position: relative;
}

.jc-stat + .jc-stat::before {
    content: "";
    position: absolute;
    top: 20%;
    left: 0;
    height: 60%;
    width: 1px;
    background-color: var(--jc-border);
}

@media (max-width: 599px) {
    .jc-stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 0.5rem;
    }
    .jc-stat + .jc-stat::before {
        display: none;
    }
}

.jc-stat__number {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
    color: var(--jc-primary);
    letter-spacing: -0.03em;
    word-break: keep-all;
    white-space: nowrap;
}

.jc-stat__label {
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--jc-text-muted);
    margin-top: 0.75rem;
    line-height: 1.3;
}

/* ============================================
   DONATION CTA
   ============================================ */
.jc-donate-section {
    background-color: var(--jc-primary);
    padding: 6rem 0;
    text-align: center;
}

.jc-donate-section__title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.jc-donate-section__desc {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.jc-donate-section .jc-btn--primary {
    background-color: white;
    color: var(--jc-primary);
}

.jc-donate-section .jc-btn--primary:hover {
    background-color: var(--jc-bg);
    color: white;
}

/* ============================================
   404 PAGE
   ============================================ */
.jc-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.jc-404__number {
    font-size: clamp(8rem, 20vw, 20rem);
    font-weight: 900;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 3px var(--jc-primary);
}

.jc-404__text {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 2rem 0;
}

/* ============================================
   ELEMENTOR OVERRIDES
   ============================================ */
.elementor-page .jc-nav {
    position: fixed;
}

.elementor-page .entry-content {
    padding: 0;
}

body.elementor-default .site-main {
    padding: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.jc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.jc-text-center { text-align: center; }
.jc-text-left { text-align: left; }
.jc-text-right { text-align: right; }

.jc-mt-1 { margin-top: 0.5rem; }
.jc-mt-2 { margin-top: 1rem; }
.jc-mt-4 { margin-top: 2rem; }
.jc-mt-8 { margin-top: 4rem; }

.jc-mb-1 { margin-bottom: 0.5rem; }
.jc-mb-2 { margin-bottom: 1rem; }
.jc-mb-4 { margin-bottom: 2rem; }
.jc-mb-8 { margin-bottom: 4rem; }

@keyframes jc-spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   VIDEO MODAL (YouTube inline player)
   ============================================ */
.jc-video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.jc-video-modal--open {
    display: flex;
    opacity: 1;
}

.jc-video-modal__inner {
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 16 / 9;
    position: relative;
    background: #000;
    border-radius: var(--jc-radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.jc-video-modal__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.jc-video-modal__close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: transparent;
    color: #fff;
    border: 0;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform var(--jc-transition);
}

.jc-video-modal__close:hover {
    transform: scale(1.15) rotate(90deg);
}

@media (max-width: 600px) {
    .jc-video-modal__close {
        top: -2.5rem;
    }
}

/* Hover affordance for elements that open modal */
[data-video-modal] {
    cursor: pointer;
}

/* ============================================
   CONTACT FORM (CTA section) + FORM FEEDBACK
   ============================================ */
.jc-form-success,
.jc-form-error {
    max-width: 640px;
    margin: 0 auto 2rem;
    padding: 1rem 1.5rem;
    border-radius: var(--jc-radius-md);
    font-weight: 700;
    text-align: center;
    font-size: 0.95rem;
}

.jc-form-success {
    background-color: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #bbf7d0;
}

.jc-form-error {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fecaca;
}

.jc-home-cta__form-wrap {
    max-width: 720px;
    margin: 2rem auto 0;
    position: relative;
    z-index: 2;
}

.jc-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 2.5rem;
    border-radius: var(--jc-radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.jc-contact-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) {
    .jc-contact-form__row {
        grid-template-columns: 1fr 1fr;
    }
}

.jc-contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.jc-contact-form__label {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--jc-text-muted);
}

.jc-contact-form input[type="text"],
.jc-contact-form input[type="email"],
.jc-contact-form textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--jc-border);
    border-radius: var(--jc-radius-md);
    padding: 0.875rem 1rem;
    color: #fff;
    font-weight: 600;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color var(--jc-transition), background-color var(--jc-transition);
}

.jc-contact-form input:focus,
.jc-contact-form textarea:focus {
    border-color: var(--jc-secondary);
    background-color: rgba(255, 255, 255, 0.08);
}

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

.jc-contact-form .jc-home-cta__btn {
    align-self: center;
    margin-top: 0.5rem;
    font-size: 1.125rem;
    padding: 1.125rem 2.5rem;
}

.jc-contact-shortcode {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 2.5rem;
    border-radius: var(--jc-radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    text-align: left;
}
