/* Custom styles for London Emek Theatre */

/* Static Hero Section Styles */
.slide-title,
.slide-sub-title {
    text-align: center;
}

.static-hero .slide-title span,
.wpo-hero-slider-s2 .slide-title span,
.slide-title span {
    color: #f3b21b;
    font-family: "Edu AU VIC WA NT Hand", system-ui;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.static-hero .slide-sub-title h2,
.slide-sub-title h2,
.section-title h2 {
    font-size: 48px;
    font-weight: 700;
    color: #573e11;
    margin-bottom: 15px;
    text-align: center;
}

.slide-title span img {
    margin-right: 10px;
    vertical-align: middle;
    width: 24px;
    height: auto;
}

/* Page title specific styles */
.page-title .slide-title,
.page-title .slide-sub-title {
    text-align: center;
}

.page-title .slide-title span,
.page-title .slide-sub-title h2 {
    text-align: center;
}

/* Sponsors styles */
.sponsors-list {
    margin-top: 20px;
}

.sponsor-item {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.sponsor-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sponsor-name {
    font-weight: 600;
    margin-top: 8px;
    color: #333;
}

/* Home page sponsors tab */
.sponsors-container {
    width: 100%;
    padding: 15px;
}

.sponsors-container h4 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    justify-content: center;
}

.tabcontent .sponsor-item {
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tabcontent .sponsor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.tabcontent .sponsor-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.tabcontent .sponsor-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tabcontent .sponsor-name {
    font-weight: 600;
    color: #333;
    margin-top: 10px;
    font-size: 14px;
}

/* Tab styling */
.about-tab .tab {
    overflow: hidden;
    margin-bottom: 20px;
}

.about-tab .tab button {
    background-color: #f1f1f1;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 15px;
    transition: 0.3s;
    font-size: 14px;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
}

.about-tab .tab button:hover {
    background-color: #ddd;
}

.about-tab .tab button.active {
    background-color: #ff5e14;
    color: white;
}

.about-tab .tabcontent {
    display: none;
    padding: 20px;
    border-top: none;
    background-color: #fff;
    border-radius: 0 5px 5px 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* Ensure content doesn't overflow */
}

/* Tab content image styling */
.about-tab .tab-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    /* Align items to the top */
}

/* Specific styling for the Play Details tab */
.about-tab .tab-wrap-details {
    align-items: flex-start !important;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.about-tab .tab-wrap-details .left {
    margin-top: 0;
    padding-top: 0;
}

.about-tab .tab-wrap-details .left img {
    margin-top: 0;
    vertical-align: top;
}

.about-tab .tab-wrap-details .right {
    margin-top: 0;
    padding-top: 0;
}

.about-tab .tab-wrap-details .right ul {
    margin-top: 0;
    padding-top: 0;
}

.about-tab .tab-wrap .left {
    flex: 0 0 200px;
    position: relative;
    align-self: flex-start;
    /* Ensure this element aligns to the top */
}

.about-tab .tab-wrap .right {
    flex: 1;
    min-width: 200px;
    align-self: flex-start;
    /* Ensure this element aligns to the top */
}

.about-tab .tab-wrap .left img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: block;
    /* Ensure the image is a block element */
    margin-top: 0;
    /* Remove any top margin */
}

.about-tab .tab-wrap .video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 94, 20, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.about-tab .tab-wrap .video-btn:hover {
    background-color: rgba(255, 94, 20, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.about-tab .tab-wrap .right ul {
    padding-left: 0;
    list-style: none;
    margin-top: 0;
    /* Remove top margin to align with image */
}

.about-tab .tab-wrap .right ul li {
    margin-bottom: 10px;
    /* display: flex removed as requested */
    /* align-items: flex-start removed as requested */
    line-height: 1.5;
    padding: 5px 0;
}

.about-tab .tab-wrap .right ul li i {
    color: #ff5e14;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}

.theme-btn-s2 {
    background-color: #ff5e14;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.theme-btn-s2:hover {
    background-color: #e04d0a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mt-3 {
    margin-top: 15px;
}

/* Author images styling */
.author-img li img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.author-img li.active img {
    transform: scale(1.2);
    border: 2px solid #ff5e14;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Recent plays grid styling */
.blog-container .grid-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: all 0.5s ease;
}

.blog-container .grid-item:hover img {
    transform: scale(1.05);
}

/* Ticket button styling */
.ticket-button-container {
    text-align: center;
}

/* Sidebar widget styling */
.blog-sidebar .about-widget,
.blog-sidebar .widget.about-widget,
.blog-sidebar .about-widget *,
.blog-sidebar .about-widget .team-list,
.blog-sidebar .about-widget .cast-list,
.blog-sidebar .about-widget .sponsors-list {
    text-align: left !important;
}

/* Cast section styling */
.cast-list {
    margin-top: 15px;
}

.cast-item {
    margin-bottom: 10px;
    text-align: left;
}

.cast-name {
    color: #573e11;
}

/* Sponsors section styling */
.sponsors-list {
    text-align: left;
}

.team-list {
    margin-top: 15px;
}

.team-item {
    margin-bottom: 10px;
    text-align: left;
}

.team-role {
    font-weight: 700;
    color: #573e11;
    margin-bottom: 2px;
}

.team-name {
    color: #666;
}

.ticket-button-container .theme-btn {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    background-color: #ff5e14;
    color: white;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(255, 94, 20, 0.3);
}

.ticket-button-container .theme-btn:hover {
    background-color: #e04d0a;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 94, 20, 0.4);
}

.ticket-button-container .theme-btn i {
    margin-right: 8px;
}

/* Full-width hero image section */
.hero-fullscreen-section {
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.hero-fullscreen-wrapper {
    height: 100vh;
    /* 100% of viewport height */
    width: 100%;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-fullscreen-wrapper .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-fullscreen-section .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 30px;
}

.hero-fullscreen-section .hero-content h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-fullscreen-section .hero-content .hero-tagline {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-fullscreen-section .hero-btn {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.hero-fullscreen-section .hero-btn .theme-btn {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    background: ##f74f21;
    /* Bright blue color */
    color: white;
    border: 2px solid white;
    /* Add white border for better visibility */
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.hero-fullscreen-section .hero-btn .theme-btn:hover {
    animation: none;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: #f3b21b;
    /* Darker blue on hover */
    border: 2px solid rgba(255, 255, 255, 0.9);
    /* Slightly transparent white border on hover */
}

/* Override the default theme-btn::after behavior */
.hero-fullscreen-section .hero-btn .theme-btn::after {
    display: none;
    /* Disable the default hover effect */
}

/* Ensure proper spacing between sections */
.section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Custom CTA Section with Background Image */
.custom-cta-container {
    padding: 30px;
    margin: 30px 0;
}

.custom-cta-wrapper {
    position: relative;
    padding: 60px 30px;
    text-align: center;
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.custom-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.custom-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.custom-cta-content h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.custom-cta-btn {
    background-color: #ff5e14;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #ff5e14;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.custom-cta-btn:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

/* Responsive styles for custom CTA section */
@media (max-width: 768px) {
    .custom-cta-container {
        padding: 20px;
    }

    .custom-cta-wrapper {
        padding: 40px 20px;
    }

    .custom-cta-content {
        padding: 20px;
    }

    .custom-cta-content h2 {
        font-size: 28px;
    }
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/banner.png?v=1') !important;
    /* Force our background image with cache busting */
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    filter: brightness(0.7);
    z-index: -1;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

/* Add overlay for our custom CTA section */
.custom-cta-section .overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section .cta-text {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-section .cta-text h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.cta-section .theme-btn {
    background-color: #ff5e14;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #ff5e14;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-section .theme-btn:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Responsive styles for CTA section */
@media (max-width: 768px) {
    .cta-section {
        margin: 20px;
        padding: 40px 20px;
        max-width: calc(100% - 40px);
    }

    .cta-section .cta-text {
        padding: 20px;
    }

    .cta-section .cta-text h2 {
        font-size: 28px;
    }
}

/* Responsive styles */
@media (max-width: 991px) {
    .hero-fullscreen-section .hero-content h2 {
        font-size: 3rem;
    }

    .hero-fullscreen-section .hero-content .hero-tagline {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero-fullscreen-section .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-fullscreen-section .hero-content .hero-tagline {
        font-size: 1.2rem;
    }
}

/* Smooth scrolling for one-page navigation */
html {
    scroll-behavior: smooth;
}

/* Section padding for anchor links */
section[id] {
    scroll-margin-top: 80px;
    /* Adjust based on your header height */
}

/* Custom Section Header Styles */
.section-header-custom {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #ff5e14;
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
}

.section-subtitle i {
    margin-right: 10px;
    font-size: 24px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffa500;
    margin-bottom: 15px;
}

.title-underline {
    height: 3px;
    width: 100px;
    background-color: #ffa500;
    margin: 0 auto 20px;
    position: relative;
}

.section-description,
.section-title p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Responsive adjustments for section headers */
@media (max-width: 768px) {
    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .section-description {
        font-size: 16px;
    }
}

/* Standardized Page Header Styles */
.page-title {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-title h2 {
    font-size: 48px;
    font-weight: 700;
    color: #ffa500;
    margin-bottom: 15px;
    margin-top: 10px;
}

.page-subtitle {
    margin-bottom: 10px;
}

.page-subtitle span {
    color: #ff5e14;
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
}

.page-description {
    max-width: 800px;
    margin: 0 auto 20px;
}

.page-description p {
    font-size: 18px;
    color: #666;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    background: transparent;
    padding: 10px 0;
    margin: 20px 0 0;
    text-align: center;
    width: 100%;
}

.breadcrumb li {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 0 10px;
}

.breadcrumb li:not(:last-child):after {
    content: '/';
    position: absolute;
    right: -5px;
}

.breadcrumb li a {
    color: #ff5e14;
    text-decoration: none;
}

.breadcrumb li a:hover {
    color: #e04d0a;
}

@media (max-width: 768px) {
    .page-title {
        padding: 40px 0;
    }

    .page-title h2 {
        font-size: 36px;
    }

    .page-subtitle span {
        font-size: 16px;
    }

    .page-description p {
        font-size: 16px;
    }
}

/* Partners section styles */
.partners-section-s3 {
    padding: 50px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.partners-slider-s3 {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.partners-slider-s3 .slick-list {
    margin: 0 -15px;
}

.partners-slider-s3 li {
    padding: 15px;
    height: 150px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.partners-slider-s3 li div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.partners-slider-s3 li div:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.partners-slider-s3 li img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Fix for Slick carousel */
.partners-slider-s3 .slick-track {
    display: flex !important;
    align-items: center;
}

.partners-slider-s3 .slick-slide {
    height: inherit !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: auto !important;
    margin: 0 10px;
}

@media (max-width: 768px) {
    .partners-slider-s3 li {
        height: 120px;
        padding: 10px;
    }
}

/* Enhanced Static Hero Section */
.static-hero {
    position: relative;
    z-index: 5;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    margin-top: 0 !important;
    background: #f8f8f8;
    overflow: visible;
    height: auto !important;
}

.static-hero .hero-container,
.static-hero .hero-inner {
    position: relative !important;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    height: auto !important;
    top: auto !important;
    left: auto !important;
}

.static-hero .hero-container {
    position: relative !important;
    height: auto !important;
}

.static-hero .hero-inner {
    position: relative !important;
    height: auto !important;
    top: auto !important;
    left: auto !important;
}

.static-hero .wpo-static-hero-inner {
    padding: 30px 0;
}

.static-hero .static-hero-right {
    text-align: center;
}

.static-hero .static-hero-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.static-hero .static-hero-img img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

/* Mobile fixes for hero sections */
@media (max-width: 767px) {

    /* Fix for static hero section */
    .static-hero {
        padding: 100px 0 50px !important;
        overflow: visible !important;
        min-height: auto !important;
        background: #f8f8f8 !important;
        z-index: 5 !important;
        position: relative !important;
        margin-top: 0 !important;
        height: auto !important;
    }

    .static-hero .hero-container {
        position: relative !important;
        height: auto !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
    }

    .static-hero .hero-inner {
        min-height: auto !important;
        padding: 30px 0 !important;
        position: relative !important;
        height: auto !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
    }

    .static-hero .wpo-static-hero-inner {
        text-align: center;
        margin-bottom: 30px;
        padding: 0;
    }

    .static-hero .slide-title span {
        font-size: 16px;
        display: block;
        margin-bottom: 10px;
    }

    .static-hero .slide-sub-title h2 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .static-hero .slide-text p {
        font-size: 16px;
        line-height: 1.6;
    }

    .static-hero .static-hero-right {
        text-align: center;
    }

    .static-hero .static-hero-img img {
        max-width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: contain;
        margin: 0 auto;
    }

    /* Fix for fullscreen hero section */
    .hero-fullscreen-section {
        position: relative;
        z-index: 10;
        margin-top: 0;
    }

    .hero-fullscreen-wrapper {
        position: relative;
        z-index: 11;
        background-size: cover;
        height: 70vh;
    }
}