/* ==========================================================================
   JewishWorld Child Theme — Main Stylesheet
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Brand palette */
    --jw-navy: #0A1F44;
    --jw-gold: #C9A227;
    --jw-gold-light: #E0C055;
    --jw-emerald: #1B6B4A;
    --jw-emerald-light: #28936A;
    --jw-white: #FFFFFF;
    --jw-gray-50: #F8F9FA;
    --jw-gray-100: #F1F3F5;
    --jw-gray-200: #E9ECEF;
    --jw-gray-300: #DEE2E6;
    --jw-gray-400: #ADB5BD;
    --jw-gray-500: #6C757D;
    --jw-gray-600: #495057;
    --jw-gray-700: #343A40;
    --jw-gray-800: #212529;
    --jw-red: #C0392B;

    /* Typography */
    --jw-font-heading: 'Playfair Display', Georgia, serif;
    --jw-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --jw-space-xs: 0.25rem;
    --jw-space-sm: 0.5rem;
    --jw-space-md: 1rem;
    --jw-space-lg: 1.5rem;
    --jw-space-xl: 2rem;
    --jw-space-2xl: 3rem;
    --jw-space-3xl: 4rem;
    --jw-space-4xl: 6rem;

    /* Sizes */
    --jw-container: 1200px;
    --jw-header-height: 72px;
    --jw-border-radius: 8px;
    --jw-border-radius-lg: 12px;

    /* Shadows */
    --jw-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --jw-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --jw-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --jw-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --jw-transition: 0.3s ease;
    --jw-transition-fast: 0.15s ease;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--jw-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--jw-gray-800);
    background-color: var(--jw-gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--jw-font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--jw-navy);
    margin-top: 0;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

a {
    color: var(--jw-navy);
    text-decoration: none;
    transition: color var(--jw-transition-fast);
}

a:hover {
    color: var(--jw-gold);
}

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

/* ---------- Container ---------- */
.jw-container {
    width: 100%;
    max-width: var(--jw-container);
    margin-inline: auto;
    padding-inline: var(--jw-space-md);
}

/* ---------- Section ---------- */
.jw-section {
    padding-block: var(--jw-space-3xl);
}

.jw-section--gray {
    background-color: var(--jw-gray-100);
}

.jw-section--navy {
    background-color: var(--jw-navy);
    color: var(--jw-white);
}

.jw-section--navy h2,
.jw-section--navy h3 {
    color: var(--jw-white);
}

.jw-section__header {
    text-align: center;
    margin-bottom: var(--jw-space-2xl);
}

.jw-section__title {
    position: relative;
    display: inline-block;
    padding-bottom: var(--jw-space-sm);
}

.jw-section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--jw-gold);
    border-radius: 2px;
}

/* ---------- Header ---------- */
.jw-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--jw-white);
    border-bottom: 1px solid var(--jw-gray-200);
    transition: box-shadow var(--jw-transition), background var(--jw-transition);
}

.jw-header.is-scrolled {
    box-shadow: var(--jw-shadow-md);
}

.jw-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--jw-header-height);
    gap: var(--jw-space-md);
}

.jw-header__logo img {
    height: 48px;
    width: auto;
}

.jw-header__nav {
    display: none;
}

.jw-header__nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--jw-space-xs);
}

.jw-header__nav a {
    display: block;
    padding: var(--jw-space-sm) var(--jw-space-md);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--jw-navy);
    border-radius: var(--jw-border-radius);
    transition: background var(--jw-transition-fast), color var(--jw-transition-fast);
}

.jw-header__nav a:hover,
.jw-header__nav .current-menu-item > a {
    color: var(--jw-gold);
    background: var(--jw-gray-50);
}

.jw-header__actions {
    display: flex;
    align-items: center;
    gap: var(--jw-space-sm);
}

/* Language switcher */
.jw-lang-switcher {
    display: flex;
    gap: 2px;
    background: var(--jw-gray-100);
    border-radius: var(--jw-border-radius);
    padding: 2px;
}

.jw-lang-switcher__link {
    display: block;
    padding: 4px 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--jw-gray-500);
    border-radius: 6px;
    transition: all var(--jw-transition-fast);
}

.jw-lang-switcher__link:hover {
    color: var(--jw-navy);
}

.jw-lang-switcher__link.is-active {
    background: var(--jw-white);
    color: var(--jw-navy);
    box-shadow: var(--jw-shadow-sm);
}

/* Search toggle */
.jw-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--jw-navy);
    cursor: pointer;
    border-radius: var(--jw-border-radius);
    transition: background var(--jw-transition-fast);
}

.jw-search-toggle:hover {
    background: var(--jw-gray-100);
}

/* Mobile menu toggle */
.jw-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0;
}

.jw-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--jw-navy);
    border-radius: 2px;
    transition: all var(--jw-transition);
}

.jw-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.jw-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.jw-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.jw-mobile-menu {
    position: fixed;
    top: var(--jw-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--jw-white);
    z-index: 999;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform var(--jw-transition);
    padding: var(--jw-space-lg);
}

.jw-mobile-menu.is-open {
    transform: translateX(0);
}

.jw-mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jw-mobile-menu a {
    display: block;
    padding: var(--jw-space-md);
    font-size: 1.125rem;
    font-weight: 500;
    border-bottom: 1px solid var(--jw-gray-200);
}

/* Search overlay */
.jw-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 68, 0.95);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
    opacity: 0;
    visibility: hidden;
    transition: all var(--jw-transition);
}

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

.jw-search-overlay__inner {
    width: 100%;
    max-width: 640px;
    padding: var(--jw-space-md);
}

.jw-search-overlay__form {
    position: relative;
}

.jw-search-overlay__input {
    width: 100%;
    padding: var(--jw-space-md) var(--jw-space-xl);
    font-size: 1.25rem;
    font-family: var(--jw-font-body);
    background: var(--jw-white);
    border: 2px solid var(--jw-gold);
    border-radius: var(--jw-border-radius-lg);
    outline: none;
    color: var(--jw-navy);
}

.jw-search-overlay__input::placeholder {
    color: var(--jw-gray-400);
}

.jw-search-overlay__close {
    position: absolute;
    top: var(--jw-space-md);
    right: var(--jw-space-md);
    background: none;
    border: none;
    color: var(--jw-white);
    font-size: 2rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jw-search-results {
    margin-top: var(--jw-space-md);
    background: var(--jw-white);
    border-radius: var(--jw-border-radius);
    overflow: hidden;
    max-height: 50vh;
    overflow-y: auto;
}

.jw-search-results__item {
    display: flex;
    align-items: center;
    gap: var(--jw-space-md);
    padding: var(--jw-space-md);
    border-bottom: 1px solid var(--jw-gray-200);
    transition: background var(--jw-transition-fast);
}

.jw-search-results__item:hover {
    background: var(--jw-gray-50);
}

.jw-search-results__thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--jw-border-radius);
    flex-shrink: 0;
}

.jw-search-results__title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--jw-navy);
}

.jw-search-results__date {
    font-size: 0.8125rem;
    color: var(--jw-gray-500);
}

/* ---------- Hero Slider ---------- */
.jw-hero {
    position: relative;
    margin-top: var(--jw-header-height);
    overflow: hidden;
    background: var(--jw-navy);
}

.jw-hero__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.jw-hero__slide {
    position: relative;
    min-width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
}

.jw-hero__slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jw-hero__slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 31, 68, 0.85) 0%, rgba(10, 31, 68, 0.3) 60%, transparent 100%);
}

.jw-hero__slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--jw-space-2xl);
    color: var(--jw-white);
    max-width: var(--jw-container);
    margin: 0 auto;
}

.jw-hero__category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--jw-gold);
    color: var(--jw-navy);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: var(--jw-space-sm);
}

.jw-hero__title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: var(--jw-white);
    margin-bottom: var(--jw-space-sm);
    line-height: 1.2;
    max-width: 700px;
}

.jw-hero__meta {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: var(--jw-space-md);
    flex-wrap: wrap;
}

.jw-hero__controls {
    position: absolute;
    bottom: var(--jw-space-xl);
    right: var(--jw-space-xl);
    display: flex;
    gap: var(--jw-space-sm);
    z-index: 10;
}

.jw-hero__btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--jw-white);
    cursor: pointer;
    transition: all var(--jw-transition-fast);
    font-size: 1.125rem;
}

.jw-hero__btn:hover {
    background: var(--jw-gold);
    border-color: var(--jw-gold);
    color: var(--jw-navy);
}

.jw-hero__dots {
    position: absolute;
    bottom: var(--jw-space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--jw-space-sm);
    z-index: 10;
}

.jw-hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all var(--jw-transition-fast);
    padding: 0;
}

.jw-hero__dot.is-active {
    background: var(--jw-gold);
    transform: scale(1.2);
}

/* ---------- News Filter ---------- */
.jw-news-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--jw-space-sm);
    justify-content: center;
    margin-bottom: var(--jw-space-xl);
}

.jw-news-filter__btn {
    padding: 8px 20px;
    font-family: var(--jw-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--jw-white);
    border: 1px solid var(--jw-gray-300);
    border-radius: 100px;
    color: var(--jw-gray-600);
    cursor: pointer;
    transition: all var(--jw-transition-fast);
}

.jw-news-filter__btn:hover {
    border-color: var(--jw-gold);
    color: var(--jw-gold);
}

.jw-news-filter__btn.is-active {
    background: var(--jw-navy);
    border-color: var(--jw-navy);
    color: var(--jw-white);
}

/* ---------- News Cards Grid ---------- */
.jw-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--jw-space-lg);
}

.jw-news-card {
    background: var(--jw-white);
    border-radius: var(--jw-border-radius-lg);
    overflow: hidden;
    box-shadow: var(--jw-shadow-sm);
    transition: transform var(--jw-transition), box-shadow var(--jw-transition);
}

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

.jw-news-card__image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.jw-news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.jw-news-card:hover .jw-news-card__image {
    transform: scale(1.05);
}

.jw-news-card__category {
    position: absolute;
    top: var(--jw-space-md);
    left: var(--jw-space-md);
    padding: 4px 10px;
    background: var(--jw-gold);
    color: var(--jw-navy);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.jw-news-card__body {
    padding: var(--jw-space-lg);
}

.jw-news-card__title {
    font-size: 1.125rem;
    margin-bottom: var(--jw-space-sm);
    line-height: 1.35;
}

.jw-news-card__title a {
    color: var(--jw-navy);
}

.jw-news-card__title a:hover {
    color: var(--jw-gold);
}

.jw-news-card__excerpt {
    font-size: 0.9375rem;
    color: var(--jw-gray-600);
    margin-bottom: var(--jw-space-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jw-news-card__meta {
    display: flex;
    align-items: center;
    gap: var(--jw-space-md);
    font-size: 0.8125rem;
    color: var(--jw-gray-500);
}

.jw-news-card__meta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ---------- Video Block ---------- */
.jw-video-block {
    background: var(--jw-navy);
    border-radius: var(--jw-border-radius-lg);
    overflow: hidden;
}

.jw-video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--jw-space-lg);
}

.jw-video-item {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--jw-border-radius);
    overflow: hidden;
    cursor: pointer;
}

.jw-video-item__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jw-video-item__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 31, 68, 0.4);
    transition: background var(--jw-transition);
}

.jw-video-item:hover .jw-video-item__play {
    background: rgba(10, 31, 68, 0.6);
}

.jw-video-item__play-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--jw-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jw-navy);
    transition: transform var(--jw-transition);
}

.jw-video-item:hover .jw-video-item__play-icon {
    transform: scale(1.1);
}

.jw-video-item__title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--jw-space-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--jw-white);
    font-size: 0.9375rem;
    font-weight: 600;
}

/* ---------- Events Calendar ---------- */
.jw-events-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--jw-space-md);
}

.jw-event-card {
    display: flex;
    align-items: stretch;
    background: var(--jw-white);
    border-radius: var(--jw-border-radius-lg);
    overflow: hidden;
    box-shadow: var(--jw-shadow-sm);
    transition: box-shadow var(--jw-transition);
}

.jw-event-card:hover {
    box-shadow: var(--jw-shadow-md);
}

.jw-event-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: var(--jw-space-md);
    background: var(--jw-navy);
    color: var(--jw-white);
    text-align: center;
}

.jw-event-card__day {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--jw-font-heading);
    line-height: 1;
}

.jw-event-card__month {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--jw-gold);
    margin-top: 4px;
}

.jw-event-card__info {
    padding: var(--jw-space-lg);
    flex: 1;
}

.jw-event-card__title {
    font-size: 1.0625rem;
    margin-bottom: var(--jw-space-xs);
}

.jw-event-card__meta {
    font-size: 0.8125rem;
    color: var(--jw-gray-500);
    display: flex;
    flex-wrap: wrap;
    gap: var(--jw-space-md);
}

/* ---------- About Block ---------- */
.jw-about {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--jw-space-2xl);
    align-items: center;
}

.jw-about__text p {
    font-size: 1.0625rem;
    color: var(--jw-gray-600);
    line-height: 1.75;
}

/* ---------- Subscribe Block ---------- */
.jw-subscribe {
    background: linear-gradient(135deg, var(--jw-navy) 0%, #132E5C 100%);
    border-radius: var(--jw-border-radius-lg);
    padding: var(--jw-space-2xl);
    text-align: center;
    color: var(--jw-white);
}

.jw-subscribe__title {
    color: var(--jw-white);
    margin-bottom: var(--jw-space-sm);
}

.jw-subscribe__desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--jw-space-xl);
    max-width: 500px;
    margin-inline: auto;
}

.jw-subscribe__form {
    display: flex;
    flex-direction: column;
    gap: var(--jw-space-sm);
    max-width: 480px;
    margin-inline: auto;
}

.jw-subscribe__input {
    flex: 1;
    padding: 14px 20px;
    font-size: 1rem;
    font-family: var(--jw-font-body);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--jw-border-radius);
    color: var(--jw-white);
    outline: none;
    transition: border-color var(--jw-transition-fast);
}

.jw-subscribe__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.jw-subscribe__input:focus {
    border-color: var(--jw-gold);
}

.jw-subscribe__channels {
    display: flex;
    justify-content: center;
    gap: var(--jw-space-md);
    margin-top: var(--jw-space-lg);
}

.jw-subscribe__channel {
    display: inline-flex;
    align-items: center;
    gap: var(--jw-space-sm);
    padding: 10px 20px;
    border-radius: var(--jw-border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    transition: opacity var(--jw-transition-fast);
}

.jw-subscribe__channel:hover {
    opacity: 0.85;
}

.jw-subscribe__channel--telegram {
    background: #0088CC;
    color: var(--jw-white);
}

.jw-subscribe__channel--whatsapp {
    background: #25D366;
    color: var(--jw-white);
}

/* ---------- Buttons ---------- */
.jw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--jw-space-sm);
    padding: 12px 24px;
    font-family: var(--jw-font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: var(--jw-border-radius);
    cursor: pointer;
    transition: all var(--jw-transition-fast);
    text-decoration: none;
}

.jw-btn--primary {
    background: var(--jw-gold);
    color: var(--jw-navy);
}

.jw-btn--primary:hover {
    background: var(--jw-gold-light);
    color: var(--jw-navy);
}

.jw-btn--secondary {
    background: var(--jw-navy);
    color: var(--jw-white);
}

.jw-btn--secondary:hover {
    background: #0D2854;
}

.jw-btn--outline {
    background: transparent;
    border: 2px solid var(--jw-gold);
    color: var(--jw-gold);
}

.jw-btn--outline:hover {
    background: var(--jw-gold);
    color: var(--jw-navy);
}

/* ---------- Single Post ---------- */
.jw-single {
    padding-top: calc(var(--jw-header-height) + var(--jw-space-xl));
}

.jw-single__hero {
    position: relative;
    margin-top: var(--jw-header-height);
    height: 50vh;
    min-height: 350px;
    max-height: 500px;
    overflow: hidden;
}

.jw-single__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jw-single__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 31, 68, 0.8) 0%, transparent 60%);
}

.jw-single__header {
    position: relative;
    max-width: 800px;
    margin: -120px auto 0;
    padding: var(--jw-space-2xl);
    background: var(--jw-white);
    border-radius: var(--jw-border-radius-lg);
    box-shadow: var(--jw-shadow-lg);
    z-index: 1;
}

.jw-single__category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--jw-gold);
    color: var(--jw-navy);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: var(--jw-space-md);
}

.jw-single__title {
    margin-bottom: var(--jw-space-md);
}

.jw-single__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--jw-space-md);
    font-size: 0.875rem;
    color: var(--jw-gray-500);
    padding-bottom: var(--jw-space-lg);
    border-bottom: 1px solid var(--jw-gray-200);
}

.jw-single__meta-item {
    display: flex;
    align-items: center;
    gap: var(--jw-space-xs);
}

.jw-single__content {
    max-width: 800px;
    margin: var(--jw-space-2xl) auto;
    padding-inline: var(--jw-space-md);
}

.jw-single__content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: var(--jw-space-lg);
}

.jw-single__content h2 {
    margin-top: var(--jw-space-2xl);
    margin-bottom: var(--jw-space-md);
}

.jw-single__content img {
    border-radius: var(--jw-border-radius);
    margin-block: var(--jw-space-lg);
}

.jw-single__content blockquote {
    margin: var(--jw-space-xl) 0;
    padding: var(--jw-space-lg) var(--jw-space-xl);
    border-left: 4px solid var(--jw-gold);
    background: var(--jw-gray-50);
    border-radius: 0 var(--jw-border-radius) var(--jw-border-radius) 0;
    font-style: italic;
    color: var(--jw-gray-700);
}

/* Share buttons */
.jw-share {
    display: flex;
    align-items: center;
    gap: var(--jw-space-sm);
    padding: var(--jw-space-lg) 0;
    border-top: 1px solid var(--jw-gray-200);
    border-bottom: 1px solid var(--jw-gray-200);
    margin: var(--jw-space-xl) 0;
    flex-wrap: wrap;
}

.jw-share__label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--jw-gray-600);
    margin-right: var(--jw-space-sm);
}

.jw-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform var(--jw-transition-fast), opacity var(--jw-transition-fast);
    color: var(--jw-white);
    font-size: 1rem;
}

.jw-share__btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.jw-share__btn--facebook { background: #1877F2; }
.jw-share__btn--telegram { background: #0088CC; }
.jw-share__btn--whatsapp { background: #25D366; }
.jw-share__btn--twitter  { background: #1DA1F2; }
.jw-share__btn--copy     { background: var(--jw-gray-600); }

/* Related posts */
.jw-related {
    margin-top: var(--jw-space-3xl);
    padding-top: var(--jw-space-2xl);
    border-top: 1px solid var(--jw-gray-200);
}

/* ---------- Archive ---------- */
.jw-archive {
    padding-top: calc(var(--jw-header-height) + var(--jw-space-2xl));
}

.jw-archive__header {
    text-align: center;
    margin-bottom: var(--jw-space-2xl);
}

.jw-archive__title {
    position: relative;
    display: inline-block;
}

.jw-archive__count {
    font-size: 0.9375rem;
    color: var(--jw-gray-500);
    font-family: var(--jw-font-body);
    font-weight: 400;
}

/* Pagination */
.jw-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--jw-space-xs);
    margin-top: var(--jw-space-2xl);
}

.jw-pagination a,
.jw-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--jw-space-md);
    border-radius: var(--jw-border-radius);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all var(--jw-transition-fast);
}

.jw-pagination a {
    background: var(--jw-white);
    color: var(--jw-navy);
    border: 1px solid var(--jw-gray-300);
}

.jw-pagination a:hover {
    border-color: var(--jw-gold);
    color: var(--jw-gold);
}

.jw-pagination .current {
    background: var(--jw-navy);
    color: var(--jw-white);
    border: 1px solid var(--jw-navy);
}

/* ---------- Footer ---------- */
.jw-footer {
    background: var(--jw-navy);
    color: rgba(255, 255, 255, 0.7);
    padding-top: var(--jw-space-3xl);
}

.jw-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--jw-transition-fast);
}

.jw-footer a:hover {
    color: var(--jw-gold);
}

.jw-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--jw-space-2xl);
    padding-bottom: var(--jw-space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.jw-footer__brand-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: var(--jw-space-md);
}

.jw-footer__title {
    color: var(--jw-white);
    font-size: 1rem;
    font-family: var(--jw-font-body);
    font-weight: 600;
    margin-bottom: var(--jw-space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.jw-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jw-footer__links li + li {
    margin-top: var(--jw-space-sm);
}

.jw-footer__links a {
    font-size: 0.9375rem;
}

.jw-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--jw-space-sm);
    margin-bottom: var(--jw-space-md);
    font-size: 0.9375rem;
}

.jw-footer__socials {
    display: flex;
    gap: var(--jw-space-sm);
    margin-top: var(--jw-space-lg);
}

.jw-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background var(--jw-transition-fast);
}

.jw-footer__social-link:hover {
    background: var(--jw-gold);
    color: var(--jw-navy);
}

.jw-footer__bottom {
    padding: var(--jw-space-lg) 0;
    text-align: center;
    font-size: 0.8125rem;
}

/* ---------- Breadcrumbs ---------- */
.jw-breadcrumbs {
    padding: var(--jw-space-md) 0;
    font-size: 0.8125rem;
    color: var(--jw-gray-500);
}

.jw-breadcrumbs a {
    color: var(--jw-gray-500);
}

.jw-breadcrumbs a:hover {
    color: var(--jw-gold);
}

.jw-breadcrumbs__separator {
    margin: 0 var(--jw-space-sm);
}

/* ---------- Widget Styles ---------- */
.jw-widget {
    background: var(--jw-white);
    border-radius: var(--jw-border-radius-lg);
    padding: var(--jw-space-lg);
    margin-bottom: var(--jw-space-lg);
    box-shadow: var(--jw-shadow-sm);
}

.jw-widget__title {
    font-size: 1rem;
    font-family: var(--jw-font-body);
    font-weight: 700;
    padding-bottom: var(--jw-space-md);
    margin-bottom: var(--jw-space-md);
    border-bottom: 2px solid var(--jw-gold);
}

.jw-popular-news {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jw-popular-news__item {
    display: flex;
    gap: var(--jw-space-md);
    padding: var(--jw-space-md) 0;
    border-bottom: 1px solid var(--jw-gray-200);
}

.jw-popular-news__item:last-child {
    border-bottom: none;
}

.jw-popular-news__number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--jw-font-heading);
    color: var(--jw-gold);
    line-height: 1;
    min-width: 28px;
}

.jw-popular-news__link {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
    display: block;
}

.jw-popular-news__date {
    font-size: 0.75rem;
    color: var(--jw-gray-500);
    display: block;
    margin-top: 4px;
}

.jw-upcoming-events {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jw-upcoming-events__item {
    display: flex;
    gap: var(--jw-space-md);
    padding: var(--jw-space-md) 0;
    border-bottom: 1px solid var(--jw-gray-200);
}

.jw-upcoming-events__item:last-child {
    border-bottom: none;
}

.jw-upcoming-events__date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    background: var(--jw-navy);
    border-radius: var(--jw-border-radius);
    color: var(--jw-white);
    line-height: 1;
}

.jw-upcoming-events__day {
    font-size: 1.125rem;
    font-weight: 700;
}

.jw-upcoming-events__month {
    font-size: 0.625rem;
    text-transform: uppercase;
    color: var(--jw-gold);
}

.jw-upcoming-events__title {
    font-size: 0.9375rem;
    font-weight: 500;
    display: block;
}

.jw-upcoming-events__meta {
    font-size: 0.75rem;
    color: var(--jw-gray-500);
    display: block;
    margin-top: 4px;
}

/* ---------- No Results ---------- */
.jw-no-results {
    text-align: center;
    padding: var(--jw-space-3xl);
    color: var(--jw-gray-500);
    font-size: 1.125rem;
    grid-column: 1 / -1;
}

/* ---------- Loading Spinner ---------- */
.jw-loading {
    display: flex;
    justify-content: center;
    padding: var(--jw-space-2xl);
    grid-column: 1 / -1;
}

.jw-loading__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--jw-gray-200);
    border-top-color: var(--jw-gold);
    border-radius: 50%;
    animation: jw-spin 0.8s linear infinite;
}

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

/* ---------- Animations ---------- */
.jw-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.jw-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */

/* Tablet (≥ 640px) */
@media (min-width: 640px) {
    .jw-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .jw-subscribe__form {
        flex-direction: row;
    }

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

/* Desktop (≥ 1024px) */
@media (min-width: 1024px) {
    .jw-header__nav {
        display: block;
    }

    .jw-menu-toggle {
        display: none;
    }

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

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

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

    .jw-footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .jw-hero__slide {
        height: 70vh;
        max-height: 700px;
    }
}

/* Large desktop (≥ 1280px) */
@media (min-width: 1280px) {
    .jw-container {
        padding-inline: var(--jw-space-xl);
    }
}
