/*
Theme Name: TechTrust Events - Simple
Description: A simple WordPress theme for TechTrust Events with basic QR code generation functionality.
Version: 1.0
Author: TechTrust
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
    font-weight: 400;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
}

.container-fluid {
    max-width: 100%;
    width: 100%;
    padding: 0 3rem;
    margin: 0 auto;
}

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

@media (max-width: 480px) {
    .container-fluid {
        padding: 0 0.75rem;
    }
}

.container-sm {
    max-width: 576px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-md {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-lg {
    max-width: 992px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Home Page Header */
.home-header {
    background: #ffffff;
    padding: .85rem 0;
    border-bottom: 1px solid #f2f2f2;
}

.home-header .container {
    max-width: none;
    width: 100%;
    padding: 0 2rem;
}

.home-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Logo Section */
.logo-section .logo {
    display: flex;
    align-items: center;
}

.logo-image {
    width: auto;
    height: 48px;
    max-width: 100%;
	resize:75%;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Certification Badge */
.certification-badge {
    background: #f8f9fa;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-decoration: none;
}

.iso-text {
    font-size: 0.8rem;
    color: #6c757d;
}

.iso-highlight {
    color: #dc3545;
    font-weight: 600;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.contact-icon {
    color: #106eea;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.contact-text {
    color: #495057;
    text-decoration: none;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 0.5rem;
}

.social-icon {
    display: inline-flex;
    width: 35px;
    height: 35px;
    background: transparent;
    color: #6c757d;
    text-decoration: none;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    color: white;
}

/* Social Icon Colors */
.social-icon.whatsapp {
    color: #25d366;
}

.social-icon.linkedin {
    color: #0077b5;
}

.social-icon.instagram {
    color: #e4405f;
}

.social-icon.facebook {
    color: #1877f2;
}

.social-icon.youtube {
    color: #ff0000;
}

.social-icon.tiktok {
    color: #000000;
}

.social-icon.whatsapp:hover {
    background: #25d366;
    color: white;
}

.social-icon.linkedin:hover {
    background: #0077b5;
    color: white;
}

.social-icon.instagram:hover {
    background: #e4405f;
    color: white;
}

.social-icon.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-icon.youtube:hover {
    background: #ff0000;
    color: white;
}

.social-icon.tiktok:hover {
    background: #000000;
    color: white;
}

/* Header - Sticky Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

/* Make header not fixed on mobile and small tablets */
@media (max-width: 778px) {
    .site-header {
        position: static;
    }
}

.site-header.sticky-header {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.sticky-header {
    padding: 0.6rem 0;
}

.site-header.header-hidden {
    transform: translateY(-100%);
    transition: transform 0.15s linear;
}

.site-header.sticky-header .nav-menu a {
    /* padding: 8px 20px;
    font-size: .93rem; */
}

/* Navigation - Centered */
.main-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 6px 18px;
    text-decoration: none;
    font-weight: 500;
    font-size: .9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: #fff;
    background: #1a1a1a;
    border: 1px solid #1a1a1a;
}

.nav-menu a:hover {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    transform: translateY(-2px);
}

.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
    background: #fff;
    color: #000;
    border: 1px solid #000;
}

/* Schedule Menu Styling */
/* Schedule Menu Container */
.schedule-menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

#schedule-menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 1rem;
    margin: 0;
    padding: 0;
    flex: 1;
}

#schedule-menu li {
    margin: 0;
    flex-shrink: 0;
}

#schedule-menu a {
    display: block;
    padding: 6px 18px;
    text-decoration: none;
    font-weight: 500;
    font-size: .9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: #fff;
    background: #1a1a1a;
    border: 1px solid #1a1a1a;
    white-space: nowrap;
}

#schedule-menu a:hover {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger-menu {
    position: relative;
    flex-shrink: 0;
    display: block;
    /* Always show on larger screens */
}

.hamburger-btn {
    width: 45px;
    height: 45px;
    background: #1a1a1a;
    border: 1px solid #1a1a1a;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-btn:hover {
    background: #fff;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.hamburger-icon {
    font-size: 1.1rem;
}

.hamburger-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    width: 100%;
    min-width: max-content;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.hamburger-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hamburger-menu-items {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.hamburger-menu-items li {
    margin: 0;
}

.hamburger-menu-items a {
    display: block;
    margin: 5px 0;
    padding: 6px 18px;
    color: #fff;
    background: #1a1a1a;
    border: 1px solid #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 50px;
    text-align: center;
    transition: all 0.3s ease;
}

.hamburger-menu-items a:hover {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    transform: translateY(-2px);
}

.floating-hamburger {
    display: none;
}

/* Responsive Breakpoints */
/* Mobile and Tablet - Show 3 items */
@media (max-width: 1399px) {
    #schedule-menu li:nth-child(n+4) {
        display: none;
    }
}

/* Floating hamburger for mobile scroll */
@media (max-width: 778px) {
    .hamburger-menu-items a {
        padding: 6px 12px;
        font-size: 0.9rem;
        border-color: #ffffff;
    }

    .floating-hamburger {
        position: fixed;
        top: 20px;
        right: 15px;
        z-index: 9999;
        display: none;
    }

    .floating-hamburger .hamburger-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #1a1a1a;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .floating-hamburger .hamburger-icon {
        font-size: 1.3rem;
        color: #fff;
    }

    .floating-hamburger .hamburger-dropdown {
        position: fixed;
        top: 60px;
        right: 20px;
        left: 20px;
        /* max-height: 60vh;
        overflow-y: auto; */
    }

    .floating-hamburger .hamburger-menu-items {
        padding: 12px 0;
    }

    .floating-hamburger .hamburger-menu-items a {
        margin: 6px 0;
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Desktop - Show 6 items */
@media (min-width: 1400px) and (max-width: 1599px) {
    #schedule-menu li:nth-child(n+7) {
        display: none;
    }
}

/* Large Desktop - Show 7 items */
@media (min-width: 1600px) and (max-width: 2559px) {
    #schedule-menu li:nth-child(n+8) {
        display: none;
    }
}

/* Ultra-wide - Show 8 items */
@media (min-width: 2560px) {
    #schedule-menu li:nth-child(n+9) {
        display: none;
    }
}

/* Main content - Account for fixed header */
.site-main {
    padding: 3.5rem 0 1rem 0;
}

.home .site-main {
    padding: 1.5rem 0 1rem 0;
}

.site-main.no-schedule-menu,
.site-main.no-event-photo-menu {
    min-height: 100vh;
    padding: 0 0 1rem 0;
}

/* Event photo pages - main height should be 100vh minus header height */
body.single-event-photo .site-main {
    min-height: calc(100vh - var(--header-height, 60px));
}

/* Posts */
.post {
    background: white;
    border-radius: 0;
    box-shadow: none;
    /* margin-bottom: 3rem; */
    overflow: visible;
    transition: none;
    /* padding-bottom: 2rem; */
}

.post:hover {
    transform: none;
    box-shadow: none;
}

/* Single post specific styles - Modern clean design */
article.single-post {
    margin: 0 auto;
}

article.single-post .post-header {
    display: flex;
    flex-direction: column;
    background: transparent;
    color: #000000;
    margin: 1rem 0;
    padding: 0;
    border-bottom: none;
}

article.single-post .post-featured-image {
    margin: 0 auto;
    line-height: 0;
    text-align: center;
}

article.single-post .post-featured-image.border {
    border: 1px solid #e9ecef;
}

article.single-post .post-featured-image.border.border-radius-8 {
    border-radius: 8px;
}

article.single-post .post-featured-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* PDF Display */
.pdf-display-section {
    /* margin: 2rem 0; */
}

.pdf-wrapper {
    margin-bottom: 2rem;
}

.pdf-container {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    position: relative;
}

/* PDF Loading Skeleton */
.pdf-loading-skeleton {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    animation: pdf-skeleton-pulse 1.5s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

.pdf-loading-header {
    margin-bottom: 20px;
}

.pdf-loading-title {
    height: 24px;
    background: #e9ecef;
    border-radius: 4px;
    margin-bottom: 8px;
    width: 60%;
}

.pdf-loading-subtitle {
    height: 16px;
    background: #e9ecef;
    border-radius: 4px;
    width: 40%;
}

.pdf-loading-content {
    margin-bottom: 20px;
}

.pdf-loading-page {
    height: 400px;
    background: #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.pdf-loading-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: pdf-skeleton-shimmer 2s infinite;
}

.pdf-loading-footer {
    text-align: center;
}

.pdf-loading-text {
    height: 16px;
    background: #e9ecef;
    border-radius: 4px;
    width: 30%;
    margin: 0 auto;
}

/* PDF Error State */
.pdf-error {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #f5c6cb;
}

/* Skeleton Animations */
@keyframes pdf-skeleton-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes pdf-skeleton-shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Mobile PDF improvements */
@media (max-width: 768px) {
    .pdf-display-section {
        margin: 1rem 0;
    }

    .pdf-wrapper {
        margin-bottom: 1.5rem;
    }

    .pdf-container canvas {
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        margin: 0 auto 15px !important;
    }

    .pdf-loading-skeleton {
        padding: 15px;
        margin-bottom: 15px;
    }

    .pdf-loading-page {
        height: 300px;
        margin-bottom: 10px;
    }

    .pdf-loading-title {
        height: 20px;
        width: 70%;
    }

    .pdf-loading-subtitle {
        height: 14px;
        width: 50%;
    }

    .pdf-loading-text {
        height: 14px;
        width: 40%;
    }
}

article.single-post .post-title {
    width: fit-content;
    margin: 0 auto;
    padding: 6px 15px;
    background: #f2f2f2;
    color: #1a1a1a;
    border-radius: 8px;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: none;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
}

article.single-post.header-with-image-title .post-title {
    margin-top: 1rem;
}

article.single-post.header-without-image-title {
    margin-top: 1rem;
}

article.single-post .post-title a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

article.single-post .post-title .download-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

article.single-post .post-title .download-link:hover {
    text-decoration: none;
    color: inherit;
}

article.single-post .post-title .download-link .download-icon {
    font-size: 1.35rem;
    background: #262626;
    color: #fff;
    padding: 5px 9px;
    border: 3px solid #595959;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
}

article.single-post .post-title .download-link:hover .download-icon {
    transform: translateY(-2px);
}

/* Download overlay on featured image */
.post-featured-image {
    position: relative;
    display: inline-block;
}

.download-overlay {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 10;
}

.download-link-overlay {
    text-decoration: none;
    display: block;
}

.download-link-overlay:hover .download-icon-container {
    transform: translateY(-2px);
}

.download-link-image {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.download-link-image:hover {
    text-decoration: none;
    color: inherit;
}

.download-link-image .download-overlay {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 10;
    background: none;
    display: block;
    opacity: 1;
}

.download-icon-container {
    background: #262626;
    color: #fff;
    width: 90px;
    height: 90px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
    border: 6px solid #595959;
}

.download-link-image:hover .download-icon-container {
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .download-icon-container {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
        border-radius: 16px;
        border-width: 4px;
    }
}

@media (max-width: 992px) {

    .download-overlay,
    .download-link-image .download-overlay {
        right: 20px;
    }

    .download-icon-container {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border-radius: 14px;
        border-width: 3px;
    }
}

@media (max-width: 768px) {

    .download-overlay,
    .download-link-image .download-overlay {
        right: 15px;
    }

    .download-icon-container {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .download-icon-container {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {

    .download-overlay,
    .download-link-image .download-overlay {
        right: 10px;
    }

    .download-icon-container {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
        border-radius: 8px;
        border-width: 2px;
    }
}

@media (max-width: 360px) {

    .download-overlay,
    .download-link-image .download-overlay {
        right: 7px;
    }

    .download-icon-container {
        width: 25px;
        height: 25px;
        font-size: 1rem;
        border-radius: 5px;
        border-width: 1px;
    }
}

article.single-post .post-meta {
    color: #6B6B6B;
    font-size: 0.95rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

article.single-post .post-meta .posted-on,
article.single-post .post-meta .byline {
    color: #6B6B6B;
}

article.single-post .post-content {
    padding: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #000000;
    font-weight: 400;
}

article.single-post .post-content p {
    margin-bottom: 1.5rem;
    color: #000000;
}

article.single-post .post-content h1,
article.single-post .post-content h2,
article.single-post .post-content h3,
article.single-post .post-content h4,
article.single-post .post-content h5,
article.single-post .post-content h6 {
    color: #000000;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

article.single-post .post-title a {
    color: #000000;
    text-decoration: none;
}

.post-title a:hover {
    color: #6B6B6B;
}

.post-meta {
    color: #6B6B6B;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.post-content {
    padding: 0;
    color: #000000;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: #000000;
}

.post-content p:empty {
    display: none;
}

/* Footer */
.site-footer {
    background: #f8f9fa;
    color: #6B6B6B;
    text-align: center;
    padding: 1rem 0;
}

.site-footer .container {
    max-width: none;
    padding: 0 20px;
}

.site-footer p {
    font-size: .9rem;
    font-weight: 400;
    color: #6B6B6B;
}

/* Responsive */
@media (max-width: 1400px) {

    .header-right,
    .contact-info {
        gap: 1rem;
    }
}

@media (max-width: 1200px) {
    .container-fluid {
        padding: 0 1rem;
    }

    .contact-info {
        flex-direction: column;
        gap: .5rem;
    }
}

@media (max-width: 992px) {

    .contact-info,
    .social-icons {
        display: none;
    }
}

@media (max-width: 768px) {

    /* Home Header Mobile */
    .home-header .container {
        padding: 0 1rem;
    }

    .home-header .header-content {
        text-align: center;
        gap: 1.5rem;
    }

    .header-right {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-info {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }

    .social-icons {
        justify-content: center;
    }

    .certification-badge {
        align-self: flex-end;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .site-header {
        padding: 0.5rem 0;
    }

    body:not(.home) .site-header {
        padding-bottom: 0;
    }

    .nav-menu,
    #schedule-menu {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-menu a,
    #schedule-menu a {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .site-main {
        padding: 0 0 2rem 0;
    }

    .home .site-main {
        padding: 3rem 0 2rem 0;
    }

    .container {
        padding: 0 15px;
    }

    article.single-post .post-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .logo-image {
        height: 40px;
    }

    .certification-badge {
        padding: .3rem .75rem;
    }

    .certification-badge .iso-text {
        font-size: .7rem;
    }
}

@media (max-width: 480px) {
    .home-header .header-content {
        gap: .5rem;
    }

    .certification-badge .iso-text {
        font-size: .65rem;
    }

    .nav-menu {
        gap: 0.5rem;
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
        padding: 10px 16px;
    }

    .site-main {
        padding: 0 0 2rem 0;
    }

    .home .site-main {
        padding: 2.5rem 0 2rem 0;
    }
}

/* Gutenberg block styles */
.wp-block-group {
    margin-bottom: 2rem;
}

.wp-block-image {
    margin: 2rem 0;
}

.wp-block-image img {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wp-block-quote {
    border-left: 4px solid #667eea;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.wp-block-code {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

.wp-block-table {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.wp-block-table th {
    background: #667eea;
    color: white;
    font-weight: 600;
}

/* Gutenberg Button Block Styling - Clean Modern Design */
.wp-block-button {
    margin: 1.5rem 0;
}

.wp-block-button__link {
    background: #000000;
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    border: 1px solid #000000;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    display: inline-block;
}

.wp-block-button__link:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: white !important;
    text-decoration: none;
    transform: none;
    box-shadow: none;
}

.wp-block-button__link:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Button variations */
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    border: 1px solid #000000;
    color: #000000 !important;
    box-shadow: none;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: #000000;
    color: white !important;
    transform: none;
    box-shadow: none;
}

.wp-block-button.is-style-fill .wp-block-button__link {
    background: #6B6B6B;
    border-color: #6B6B6B;
    box-shadow: none;
}

.wp-block-button.is-style-fill .wp-block-button__link:hover {
    background: #555555;
    border-color: #555555;
    box-shadow: none;
}

/* Wide and full width alignment support */
.alignwide {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

.schedule-popups-section {
    display: none;
}

.popups-grid {
    display: none;
}

.popup-item {
    display: none;
}

/* Modal Styles */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

/* Stack popups with increasing z-index */
.popup-modal:nth-child(1) {
    z-index: 10000;
}

.popup-modal:nth-child(2) {
    z-index: 10001;
}

.popup-modal:nth-child(3) {
    z-index: 10002;
}

.popup-modal:nth-child(4) {
    z-index: 10003;
}

.popup-modal:nth-child(5) {
    z-index: 10004;
}

.popup-modal:nth-child(6) {
    z-index: 10005;
}

.popup-modal:nth-child(7) {
    z-index: 10006;
}

.popup-modal:nth-child(8) {
    z-index: 10007;
}

.popup-modal:nth-child(9) {
    z-index: 10008;
}

.popup-modal:nth-child(10) {
    z-index: 10009;
}

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

.popup-modal-content {
    position: relative;
    background: transparent;
    border-radius: 12px;
    max-width: 60vw;
    max-height: 80vh;
    overflow: visible;
    box-shadow: none;
    animation: popupFadeIn 0.3s ease;
    padding: 0;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 21px;
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.popup-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.popup-modal-image {
    position: relative;
    padding: 0;
    text-align: center;
}

.popup-modal-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.popup-modal-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: row;
}

.popup-dismiss-checkbox-container {
    display: flex;
    align-items: center;
}

.popup-dismiss-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #fff;
    font-size: 0.875rem;
    user-select: none;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease;
}

.popup-dismiss-checkbox-label:hover {
    background: rgba(0, 0, 0, 0.7);
}

.popup-dismiss-checkbox {
    margin: 0;
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #fff;
}

.popup-button-link {
    text-decoration: none;
    display: block;
}

.popup-button-link:hover .popup-icon-container {
    transform: translateY(-2px);
}

.popup-icon-container {
    background: #262626;
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 3px solid #595959;
    min-width: auto;
    width: auto;
    height: auto;
}

.popup-button-text {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .popup-icon-container {
        padding: 0.45rem 0.7rem;
        font-size: 0.9rem;
        border-radius: 10px;
        border-width: 3px;
        gap: 0.45rem;
    }

    .popup-button-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .popup-icon-container {
        padding: 0.4rem 0.65rem;
        font-size: 0.85rem;
        border-radius: 10px;
        border-width: 2px;
        gap: 0.4rem;
    }

    .popup-button-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .popups-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .popup-modal-content {
        max-width: 90vw;
        max-height: 90vh;
    }

    .popup-modal-image {
        padding: 0;
    }

    .popup-modal-close {
        width: 30px;
        height: 30px;
        top: 15px;
        right: 15px;
        font-size: 20px;
    }

    .popup-modal-button {
        bottom: 15px;
        right: 15px;
        gap: 12px;
    }

    .popup-dismiss-checkbox-label {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
        gap: 6px;
    }

    .popup-dismiss-checkbox {
        width: 14px;
        height: 14px;
    }

    .popup-icon-container {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
        border-radius: 8px;
        border-width: 2px;
        gap: 0.35rem;
    }

    .popup-button-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .popup-modal-close {
        top: 10px;
        right: 10px;
        font-size: 19px;
    }

    .popup-modal-button {
        bottom: 10px;
        right: 10px;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .popup-dismiss-checkbox-container {
        order: 0;
        margin-top: 8px;
    }
    
    .popup-button-link {
        order: 1;
    }

    .popup-dismiss-checkbox-label {
        font-size: 0.7rem;
        padding: 0.35rem 0.5rem;
        gap: 6px;
    }

    .popup-dismiss-checkbox {
        width: 14px;
        height: 14px;
    }

    .popup-icon-container {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
        border-radius: 8px;
        border-width: 2px;
        gap: 0.3rem;
    }

    .popup-button-text {
        font-size: 0.65rem;
    }
}