/* JFW Elementor Widgets Styles */

/* Hero Slider Widget */
.jfw-hero-slider-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

/* Override container restrictions */
.elementor-section-stretched .jfw-hero-slider-wrapper {
    width: 100vw;
    margin-left: 0;
}

.jfw-hero-slider {
    width: 100%;
    height: 100%;
}

.jfw-hero-slider .swiper-wrapper {
    height: 100%;
}

.jfw-hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
}

.jfw-hero-video,
.jfw-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%!important;
    object-fit: cover;
    z-index: 1;
}

.jfw-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.jfw-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.jfw-hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 8vw, 96px);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: slideInUp 1s ease-out;
}

.jfw-hero-subtitle {
    font-size: clamp(18px, 2.5vw, 28px);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    animation: slideInUp 1s ease-out 0.2s both;
}

.jfw-hero-description {
    font-size: clamp(14px, 1.5vw, 18px);
    margin-bottom: 30px;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.3s both;
}

.jfw-hero-btn {
    display: inline-block;
    padding: 15px 40px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid white;
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out 0.4s both;
}

.jfw-hero-btn:hover {
    background: white;
    color: #000;
    transform: translateY(-2px);
}

.jfw-hero-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.jfw-hero-btn:hover i {
    transform: translateX(5px);
}

/* Swiper Navigation */
.jfw-hero-slider-wrapper .swiper-button-next,
.jfw-hero-slider-wrapper .swiper-button-prev {
    color: white;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.jfw-hero-slider-wrapper .swiper-button-next:after,
.jfw-hero-slider-wrapper .swiper-button-prev:after {
    font-size: 20px;
}

/* Swiper Pagination */
.jfw-hero-slider-wrapper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
}

.jfw-hero-slider-wrapper .swiper-pagination-bullet-active {
    opacity: 1;
    background: white;
}

/* Animation Keyframes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for Hero Slider */
@media (max-width: 768px) {
    .jfw-hero-title {
        font-size: 48px;
    }

    .jfw-hero-subtitle {
        font-size: 20px;
    }

    .jfw-hero-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .jfw-hero-slider-wrapper .swiper-button-next,
    .jfw-hero-slider-wrapper .swiper-button-prev {
        display: none;
    }
}

/* Ensure fullwidth in Elementor */
.elementor-widget-jfw-hero-slider {
    width: 100vw !important;
    max-width: none !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.elementor-widget-jfw-hero-slider > .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
}

/* Schedule Widget */
.jfw-schedule {
    padding: 20px 0;
}

.jfw-schedule-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.jfw-schedule-filter {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

/* Designer Search */
.designer-search {
    flex: 1;
    max-width: 400px;
}

.designer-search-input {
    width: 100%;
    padding: 10px 15px;
    font-size: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.designer-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 63, 116, 0.1);
}

/* Year and Category Filters */
.year-filter,
.category-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.year-select,
.category-select,
.date-select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background: white;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.year-select:hover,
.category-select:hover,
.date-select:hover {
    border-color: var(--primary-color);
}

.year-select:focus,
.category-select:focus,
.date-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 63, 116, 0.1);
}

/* Date Navigation */
.date-navigation {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: start;
}

.date-nav-btn {
    padding: 10px 25px;
    background: #f8f9fa;
    border: 2px solid transparent;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.jfw-schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.jfw-event-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.jfw-event-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.jfw-event-card-content {
    padding: 25px;
}

.jfw-event-card-date {
    color: #ff0066;
    font-weight: 600;
    margin-bottom: 10px;
}

.jfw-event-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.jfw-event-card-venue {
    color: #666;
    margin-bottom: 15px;
}

.jfw-event-card-category {
    display: inline-block;
    padding: 5px 15px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
}

/* Schedule Table Layout */
.jfw-schedule-table .schedule-table {
    width: 100%;
}

/* Grid template adjustments based on visible columns */
.jfw-schedule-table.no-livestream .table-header {
    grid-template-columns: 150px 2fr 200px 150px;
}

.jfw-schedule-table.no-livestream .table-row {
    grid-template-columns: 150px 2fr 200px 150px;
}

/* Schedule Day Containers */
.schedule-day {
    display: none;
}

.schedule-day.active {
    display: block;
}

.jfw-schedule-table .table-header {
    display: grid;
    grid-template-columns: 150px 2fr 200px 150px;
    gap: 20px;
    padding: 15px 20px;
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    color: var(--primary-color);
    background: #f8f9fa;
    position: sticky;
    top: 118px;
    z-index: 999;
}

.jfw-schedule-table .table-row {
    display: grid;
    grid-template-columns: 150px 2fr 200px 150px;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    align-items: start;
    transition: background 0.3s ease;
}

.jfw-schedule-table .table-row:hover {
    background: #f8f9fa;
}

.jfw-schedule-table .col-time {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.jfw-schedule-table .col-event {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.jfw-schedule-table .col-event small {
    display: block;
    font-weight: 400;
    color: #666;
    font-size: 12px;
    margin-top: 4px;
}

.jfw-schedule-table .col-format {
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.jfw-schedule-table .col-access {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jfw-schedule-table .access-type {
    font-weight: 500;
}

.jfw-schedule-table .register-btn {
    display: inline-block;
    padding: 6px 15px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.jfw-schedule-table .register-btn:hover {
    background: #e6475c;
    transform: translateY(-2px);
}

/* Event Access Button in Schedule Table */
.jfw-schedule-table .event-access-btn {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.jfw-schedule-table .event-access-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile Labels - Hidden by default */
.jfw-schedule-table .mobile-label {
    display: none;
}

/* Livestream Button - Ultrathin Style */
.jfw-schedule-table .col-livestream {
    display: flex;
    align-items: center;
    justify-content: center;
}

.jfw-schedule-table .btn-livestream {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.jfw-schedule-table .btn-livestream.ultrathin {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.6px;
}

.jfw-schedule-table .btn-livestream i {
    font-size: 11px;
}

.jfw-schedule-table .btn-livestream:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    background-color: #0056b3;
    color: #fff;
}

.jfw-schedule-table .livestream-unavailable,
.jfw-schedule-table .access-unavailable {
    color: #ccc;
    font-size: 12px;
}

/* Event Sponsors - Compact inline style */
.event-sponsors {
    padding: 8px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-sponsors .sponsors-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin: 0;
    white-space: nowrap;
}

.event-sponsors .sponsors-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.event-sponsors .sponsor-item-link,
.event-sponsors .sponsor-item-no-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.event-sponsors .sponsor-item-link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.event-sponsors .sponsor-logo {
    width: auto;
    max-width: 100px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.event-sponsors .sponsor-item-link:hover .sponsor-logo {
    filter: grayscale(0%);
}

/* Text-only sponsor box - compact inline style */
.event-sponsors .sponsor-text-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    min-width: 60px;
    max-width: 100px;
    padding: 4px 10px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.event-sponsors .sponsor-item-link:hover .sponsor-text-box {
    border-color: #999;
    background: #f0f0f0;
}

.event-sponsors .sponsor-text {
    font-size: 10px;
    font-weight: 500;
    color: #555;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
}

/* No Results Message */
.no-results-message {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}

/* Schedule Grid Layout */
.jfw-schedule-grid .schedule-grid {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

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

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

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

.jfw-schedule-grid .schedule-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.jfw-schedule-grid .grid-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.jfw-schedule-grid .grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.jfw-schedule-grid .event-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.jfw-schedule-grid .event-content {
    padding: 25px;
}

.jfw-schedule-grid .jfw-event-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
    font-size: 14px;
    color: #666;
}

.jfw-schedule-grid .jfw-event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jfw-schedule-grid .jfw-event-meta i {
    color: var(--primary-color);
}

/* Schedule Timeline Layout */
.jfw-schedule-timeline .schedule-timeline {
    position: relative;
    padding: 40px 0;
}

.jfw-schedule-timeline .timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.jfw-schedule-timeline .timeline-date {
    flex: 0 0 100px;
    text-align: center;
}

.jfw-schedule-timeline .timeline-date .date {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.jfw-schedule-timeline .timeline-date .month {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-top: 5px;
}

.jfw-schedule-timeline .timeline-content {
    flex: 1;
    padding: 20px;
    background: white;
    border-left: 3px solid var(--primary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Schedule Layouts */
@media (max-width: 992px) {
    .jfw-schedule-table .table-header {
        display: none; /* Hide header on mobile */
    }

    .jfw-schedule-table .table-row {
        display: block;
        padding: 20px;
        margin-bottom: 15px;
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .jfw-schedule-table .table-row > div {
        display: block;
        padding: 8px 0;
        grid-template-columns: unset;
    }

    .jfw-schedule-table .col-time {
        font-weight: 600;
        color: var(--primary-color);
        font-size: 16px;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #e0e0e0;
    }

    .jfw-schedule-table .col-event {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .jfw-schedule-table .col-format {
        margin-bottom: 10px;
    }

    /* Show mobile labels on mobile with ultrathin styling */
    .jfw-schedule-table .mobile-label {
        display: inline-block;
        margin-right: 8px;
        font-size: 10px;
        font-weight: 300;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: #000;
        opacity: 0.9;
        position: relative;
    }

    .jfw-schedule-table .mobile-label.ultrathin {
        letter-spacing: 1px;
        font-size: 14px;
        font-weight: bold;
    }

    .jfw-schedule-table .mobile-label.ultrathin::after {
        content: '';
        display: inline-block;
        width: 1px;
        height: 10px;
        background: #ddd;
        margin-left: 8px;
        vertical-align: middle;
        opacity: 0.5;
    }

    /* Remove the CSS ::before pseudo-elements since we're using actual labels now */
    .jfw-schedule-table .col-format::before {
        display: none;
    }

    .jfw-schedule-table .col-format a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 500;
    }

    .jfw-schedule-table .col-access {
        padding-top: 10px;
        border-top: 1px solid #e0e0e0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Event sponsors mobile styles - compact */
    .event-sponsors {
        padding: 6px 15px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .event-sponsors .sponsors-label {
        font-size: 10px;
    }

    .event-sponsors .sponsors-list {
        gap: 6px;
    }

    .event-sponsors .sponsor-logo {
        height: 22px;
        max-width: 80px;
    }

    .event-sponsors .sponsor-text-box {
        height: 22px;
        min-width: 50px;
        max-width: 80px;
        padding: 3px 8px;
    }

    .event-sponsors .sponsor-text {
        font-size: 9px;
    }

    /* Removed ::before pseudo-elements since we're using actual mobile labels */

    .jfw-schedule-table .col-livestream {
        padding-top: 10px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .jfw-schedule-table .btn-livestream {
        padding: 5px 12px;
        font-size: 11px;
    }

    .jfw-schedule-table .btn-livestream.ultrathin {
        padding: 4px 10px;
        font-size: 10px;
    }

    .jfw-schedule-grid .schedule-grid.columns-3,
    .jfw-schedule-grid .schedule-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Ensure mobile labels work properly */
    .jfw-schedule-table .mobile-label {
        display: inline-block !important;
    }

    .jfw-schedule-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .designer-search,
    .year-filter,
    .category-filter,
    .date-navigation {
        width: 100%;
        max-width: none;
    }

    .year-select,
    .category-select,
    .date-select {
        width: 100%;
    }

    /* Enhanced mobile table styles */
    .jfw-schedule-table .table-row {
        padding: 15px;
        position: relative;
    }

    .jfw-schedule-table .col-time {
        font-size: 14px;
        padding-bottom: 8px;
    }

    .jfw-schedule-table .col-event {
        font-size: 15px;
        line-height: 1.4;
    }

    .jfw-schedule-table .col-format {
        font-size: 14px;
    }

    .jfw-schedule-table .col-access {
        font-size: 14px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .jfw-schedule-table .register-btn {
        padding: 8px 16px;
        font-size: 11px;
        white-space: nowrap;
    }

    /* Date navigation mobile styles */
    .date-navigation {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 0;
        margin: 0 -15px 20px;
        padding: 10px 15px;
    }

    .date-navigation::-webkit-scrollbar {
        height: 4px;
    }

    .date-navigation::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .date-navigation::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }

    .date-nav-btn {
        flex: 0 0 auto;
        padding: 8px 20px;
        font-size: 12px;
        white-space: nowrap;
    }

    .jfw-schedule-grid .schedule-grid {
        grid-template-columns: 1fr !important;
    }

    .jfw-schedule-timeline .timeline-item {
        flex-direction: column;
        gap: 15px;
    }

    .jfw-schedule-timeline .timeline-date {
        flex: none;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .jfw-schedule-timeline .timeline-date .date {
        font-size: 24px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    /* Ensure mobile labels are visible and properly styled */
    .jfw-schedule-table .mobile-label {
        display: block !important;
        margin-bottom: 4px;
        margin-right: 0;
    }

    .jfw-schedule-table .mobile-label.ultrathin::after {
        display: none; /* Remove separator on very small screens */
    }

    /* Schedule table mobile card view */
    .jfw-schedule-table .table-row {
        padding: 12px;
        margin-bottom: 12px;
    }

    .jfw-schedule-table .col-time {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .jfw-schedule-table .col-event {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .jfw-schedule-table .col-format {
        font-size: 13px;
    }

    .jfw-schedule-table .col-format::before {
        display: block;
        margin-bottom: 4px;
    }

    .jfw-schedule-table .col-access {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .jfw-schedule-table .register-btn {
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .jfw-schedule-table .col-livestream {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .jfw-schedule-table .btn-livestream {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
        font-size: 11px;
    }

    .jfw-schedule-table .btn-livestream.ultrathin {
        padding: 6px 10px;
    }

    /* Date navigation compressed for small screens */
    .date-nav-btn {
        padding: 6px 15px;
        font-size: 11px;
    }

    /* Filter elements stack on small screens */
    .designer-search-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .year-select,
    .category-select {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    /* Event sponsors extra small mobile - ultra compact */
    .event-sponsors {
        padding: 5px 12px;
        gap: 6px;
    }

    .event-sponsors .sponsors-label {
        font-size: 9px;
    }

    .event-sponsors .sponsors-list {
        gap: 5px;
    }

    .event-sponsors .sponsor-logo {
        height: 20px;
        max-width: 70px;
    }

    .event-sponsors .sponsor-text-box {
        height: 20px;
        min-width: 45px;
        max-width: 70px;
        padding: 3px 6px;
    }

    .event-sponsors .sponsor-text {
        font-size: 8px;
    }
}

/* Programs Grid Widget */
.jfw-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.jfw-programs-carousel .swiper-slide {
    height: auto;
}

.jfw-program-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.jfw-program-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.jfw-program-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.jfw-program-card-content {
    padding: 25px;
}

.jfw-program-card-type {
    display: inline-block;
    padding: 5px 12px;
    background: #ff0066;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    border-radius: 3px;
}

.jfw-program-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.jfw-program-card-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.jfw-program-card-excerpt {
    color: #777;
    line-height: 1.6;
    margin-bottom: 20px;
}

.jfw-program-card-link {
    color: #ff0066;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.jfw-program-card-link:hover {
    gap: 12px;
}

/* Designers Carousel Widget */
.jfw-designers-carousel-wrapper {
    padding: 60px 0;
}

/* Designers Year Filter */
.designers-year-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.year-filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid #e0e0e0;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.year-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.jfw-designer-slide {
    text-align: center;
    cursor: pointer;
}

.jfw-designer-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.jfw-designer-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.jfw-designer-slide:hover .jfw-designer-image {
    transform: scale(1.1);
}

.jfw-designer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.jfw-designer-slide:hover .jfw-designer-overlay {
    transform: translateY(0);
}

.jfw-designer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.jfw-designer-social a {
    color: white;
    font-size: 18px;
    transition: color 0.3s ease;
}

.jfw-designer-social a:hover {
    color: #ff0066;
}

.jfw-designer-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.jfw-designer-country {
    color: #666;
    font-size: 14px;
}

/* Responsive for Designers Carousel */
@media (max-width: 768px) {
    .designers-year-filter {
        gap: 10px;
        margin-bottom: 30px;
    }

    .year-filter-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .designers-year-filter {
        flex-direction: column;
    }

    .year-filter-btn {
        width: 100%;
        text-align: center;
    }
}

/* News Grid Widget */
.jfw-news-grid {
    display: grid;
    gap: 30px;
}

.jfw-news-grid.grid-layout {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.jfw-news-grid.list-layout {
    grid-template-columns: 1fr;
}

.jfw-news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.jfw-news-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.jfw-news-card.list-view {
    display: flex;
    align-items: center;
}

.jfw-news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.jfw-news-card.list-view .jfw-news-card-image {
    width: 300px;
    height: 200px;
}

.jfw-news-card-content {
    padding: 25px;
}

.jfw-news-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.jfw-news-card-category {
    color: #ff0066;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jfw-news-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.jfw-news-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.jfw-news-card-title a:hover {
    color: #ff0066;
}

.jfw-news-card-excerpt {
    color: #777;
    line-height: 1.6;
    margin-bottom: 15px;
}

.jfw-news-card-read-more {
    color: #ff0066;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.jfw-news-card-read-more:hover {
    gap: 10px;
}

/* Sponsors Grid Widget */
.jfw-sponsors-grid {
    padding: 60px 0;
}

.jfw-sponsors-tier {
    margin-bottom: 60px;
}

.jfw-sponsors-tier-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
}

.jfw-sponsors-tier-grid {
    display: grid;
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.jfw-sponsors-tier-grid.platinum {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.jfw-sponsors-tier-grid.gold {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

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

.jfw-sponsors-tier-grid.bronze,
.jfw-sponsors-tier-grid.partner {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.jfw-sponsor-item {
    width: 100%;
    max-width: 250px;
}

.jfw-sponsor-link {
    display: block;
    padding: 20px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.jfw-sponsor-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.jfw-sponsor-logo {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.jfw-sponsor-link:hover .jfw-sponsor-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .jfw-hero-slider {
        height: 100vh;
    }

    .jfw-hero-slider .slide-title {
        font-size: 48px;
    }

    .jfw-hero-slider .slide-subtitle {
        font-size: 18px;
    }

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

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

    .jfw-news-card.list-view {
        flex-direction: column;
    }

    .jfw-news-card.list-view .jfw-news-card-image {
        width: 100%;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Utility Classes */
.jfw-widget-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
    color: #333;
}

.jfw-widget-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 50px;
    color: #666;
}

.jfw-load-more {
    display: block;
    margin: 40px auto;
    padding: 15px 40px;
    background: #ff0066;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jfw-load-more:hover {
    background: #e6005a;
    transform: translateY(-2px);
}

.jfw-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.jfw-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff0066;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}