:root {
    --main-border: 2px solid #000;
    --main-radius: 0;
    --main-bg: #fff;
    --main-font: 'Inter', Arial, Helvetica, sans-serif;
    --main-color: #000;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--main-font);
    color: var(--main-color);
    font-size: 16px;
    font-weight: 500;
    overflow-x: hidden;
    padding-top: 80px;
    line-height: 1.6;
}

.offcanvas,.offcanvas-backdrop{
    z-index: 99999000;
}

/* Disable body scroll when offcanvas is open */
body.offcanvas-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}

/* Search Desktop Responsive */
.search-desktop {
    background: #d3d3d3 !important;
    border: none !important;
    height: 30px !important;
    font-size: 16px !important;
    border-radius: 1px !important;
    padding: 0 10px !important;
    flex: 1 1 auto !important;
    min-width: 100px !important;
}

#desktop-search-form {
    display: none;
    align-items: center !important;
    position: absolute !important;
    inset: -3px 0px !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    top: -4px !important;
    bottom: -4px !important;
    padding: 0 10px 0px 0px !important;
    width: 50vw;
}

#desktop-search-form.active {
    display: flex !important;
}

/* Hide navbar dropdown when search is active */
.navbar-center.search-active .navbar-dropdown,
.navbar-center.search-active .navbar-link:not(#desktop-search-icon) {
    display: none !important;
}

/* Offcanvas alignment with navbar */
.offcanvas {
    margin-left: 1%;
    margin-right: 1%;
    width: 98% !important;
    border: var(--main-border);
    border-radius: var(--main-radius);
    border-width: 3px;
}

@media (min-width: 576px) {
    .offcanvas-header {
        padding: 15px 20px;
        border-bottom: var(--main-border);
        border-width: 3px;
    }
    
    .offcanvas-body {
        padding: 20px;
    }
}

@media (min-width: 992px) {
    .offcanvas-header {
        padding: 20px 30px;
    }
    
    .offcanvas-body {
        padding: 30px;
    }
}

/* Offcanvas Content Responsive Design - Mobile Only */
@media (max-width: 767.98px) {
    .offcanvas-content {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .offcanvas-image {
        order: -1; /* Move image to top */
        width: 100%!important;
    }
    
    .offcanvas-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .offcanvas-text {
        width: 100%;
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Custom Navbar Styles */
.navbar-custom {
    position: fixed;
    top: 15px;
    left: 1%;
    right: 1%;
    z-index: 99999000;
    border: var(--main-border);
    border-radius: var(--main-radius);
    background: var(--main-bg);
    min-height: 40px !important;
    padding: 0 8px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-width: 3px;
    max-height: 45px;
    /* overflow: hidden; */
}

.navbar-custom.scrolled {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.navbar-custom .navbar-left {
    padding: 3px 13px 4px 6px;
    border-right: var(--main-border);
    height: 40px;
    align-items: center;
    border-width: 3px !important;
}

.navbar-custom .navbar-left img {
    height: 13px !important;
    width: auto;
    transition: var(--transition);
}

/* .navbar-custom .navbar-left img:hover {
    transform: scale(1.05);
} */

.navbar-custom .navbar-center {
    /* gap: 12px; */
    /* padding-left: 12px; */
    margin-right: auto;
    height: 30px;
}

.navbar-custom .navbar-center a {
    color: #000;
    text-decoration: none;
    font-size: 16px !important;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 3px 10px 3px calc(12px);
}

.navbar-custom .navbar-center a:hover,
.navbar-custom .navbar-center .navbar-link:hover,
#desktop-search-icon:hover {
    text-decoration: underline;
    transform: translateY(0px);
}

/* .navbar-custom .navbar-center a.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: var(--transition);
} */

.navbar-custom .navbar-center a:hover::after {
    width: 100%;
}

.navbar-custom .navbar-right {
    gap: 5px;
    padding: 0 0 0 12px;
    font-size: 16px !important;
    font-weight: 100;
    padding-right: 10px;
}

.navbar-custom .lang-sep {
    color: #000;
    margin: 0 4px;
}

.navbar-custom .navbar-right span:first-child,
.navbar-custom .navbar-right a:first-child,
.navbar-custom .navbar-right .lang-ar-label {
    font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
}

.navbar-custom .navbar-right span:last-child {
    text-decoration: underline;
    cursor: pointer;
    transition: var(--transition);
}

.navbar-custom .navbar-right span:last-child:hover {
    opacity: 0.7;
}

/* Mobile Navbar */
.navbar-mobile {
    position: fixed;
    top: 15px;
    left: 1%;
    right: 1%;
    z-index: 1000;
    width: 98%;
    margin: auto;
}

.navbar-mobile-header {
    border: var(--main-border);
    padding: 8px 12px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}
.navbar-mobile-header a{
    margin:auto;
    text-align: center;
}
.navbar-mobile-header a svg{
    width: 95%;
    margin:auto;
}

.navbar-mobile-logo {
    height: 13px;
    width: 85%;
}

.navbar-mobile-overlay {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 18px 16px 0 16px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-30px);
    transition: var(--transition);
}

.navbar-mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    
}


.navbar-mobile-links {
    gap: 0;
}

.navbar-mobile-link {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    border-bottom: var(--main-border);
    padding: 10px 0 8px 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.navbar-mobile-link:hover {
    /* background: rgba(0, 0, 0, 0.05); */
    /* transform: translateX(5px); */
}

/* .navbar-mobile-link:before {
    content: '\2192';
    font-size: 20px;
    margin-right: 8px;
    transition: var(--transition);
} */

.navbar-mobile-link:hover:before {
    /* transform: translateX(5px); */
}

.navbar-mobile-search input {
    background: #f8f9fa;
    border: none;
    border-bottom: var(--main-border);
    transition: var(--transition);
}

.navbar-mobile-search input:focus {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-mobile-search button {
    border: var(--main-border);
    background: #fff;
    transition: var(--transition);
}

.navbar-mobile-search button:hover {
    background: #000;
    color: #fff;
}

/* Divider Styles */
.divider {
    border: none;
    border-top: var(--main-border);
    margin: 0;
    transition: var(--transition);
    border-width: 3px;
    border-color: #000;
    opacity: 1;
}

.divider-thick {
    border-width: 3px;
}

/* Consistent section height: space between top and bottom divider (same across pages) */
.about_page h2.my-1,
.about_page h3.my-2,
.about_page h4.my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

/* Event Section */
.event-section {
    width: 98%;
    margin: 15px auto 0 auto;
}
@media (max-width: 1260px) and (min-width: 700px) {
    #navbarMobileOverlay .navbar-mobile-header span,
    #navbarMobileOverlay .navbar-mobile-header span svg,
    .navbar-mobile .navbar-mobile-header a,
    .navbar-mobile .navbar-mobile-header a svg{
        width: 400px;
        text-align: left;
        padding-left: 10px;
        margin: 0px 0px 0px !important;
    }
    
}

@media (max-width: 700px) {
    .navbar-mobile-header span,
     .navbar-mobile-header span svg,
     .navbar-mobile-header a,
     .navbar-mobile-header a svg{
        width: 90%;
        text-align: center;
    }
}
@media (max-width: 1260px) {
    .event-section,.navbar-mobile,.offcanvas.offcanvas-bottom{
        width: 92%!important;
    }
    .offcanvas.offcanvas-bottom{
        margin: auto;
    }
    .about_page .desc p{
        font-size: 16px!important;
    }
    main {
        margin-top: 3px!important;
    }
    .header_img{
        height: auto!important;
    }
    .event-section .header_img:not(.sat-hero-video):not(.sat-hero-slider){
        height: calc(8px * 40)!important;
    }
    .event-section h2:first-of-type,.team_members h3:first-of-type,#md-secreen-font-size {
        font-size: 24px!important;
        padding: 8px 0px!important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .about_page .desc p, .desc [style*="line-height: normal"]{
        line-height: 20px !important;
    }
    /* About & Mission: mobile body leading 1.4rem (prototype for CMS pages) */
    .about_page .desc,
    .about_page .desc p,
    .about_page .desc [style*="line-height: normal"] {
        line-height: 1.4rem !important;
    }
    .whatsOn_page .select-date-wrap{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .w_phone_auto{
        width:auto!important;
    }
    .w_phone_auto .slider-arrow{
        padding-left:28px
    }
}


#video-placeholder-2,#video-placeholder-1{
    display: flex;
    align-items: center;
    justify-content: center;
}
#play-btn-2,#play-btn-1{
    background: #fff;
    border: 3px solid #222;
    border-radius: 4px;
    width: 70px;
    height: 70px;
    cursor: pointer;
    position: absolute;
}

/* CMS dynamic video blocks (main column) — same layout as visit-us placeholders */
.sat-video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.sat-video-play-btn {
    background: #fff;
    border: 3px solid #222;
    border-radius: 4px;
    width: 70px;
    height: 70px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
button.contributors-letter-btn {
    color: #000;
}

.about_page {
    margin: 0px auto 0 auto;
}



.event-block {
    /* border: var(--main-border); */
    border-radius: var(--main-radius);
    background: #fff;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.event-block-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-indent: -9999px;
    background: transparent;
    cursor: pointer;
    display: block;
}

.event-block:hover .event-image img,
.latest-card:hover .latest-img-wrap img {
    opacity: 0.7;
    cursor: pointer;
    transform: translateY(0px);
}

.latest-card:hover span {
    opacity: 1 !important;
}


.event-info {
    padding-right: 16px;
}

.event-meta-row {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
}

.event-title {
    font-size: 24px;
    font-weight: 100 !important;
    margin: 8px 0 8px 0;
    transition: var(--transition);
}

.event-block:hover .event-title {
    color: #333;
}

.event-desc {
    font-size: 15px;
    font-weight: 100;
    margin-bottom: 20px;
    line-height: 1.4;
}

.event-readmore {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.event-readmore:hover {
    text-decoration: underline;
    transform: translateX(5px);
}

.event-image {
    min-height: 400px;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 525px;
    object-fit: cover;
    transition: var(--transition);
}

/* .event-block:hover .event-image img {
    transform: scale(1.05);
} */

/* Programme Section */
.programme-block {
    border: var(--main-border);
    border-radius: var(--main-radius);
    background: #fff;
    transition: var(--transition);
    overflow: hidden;
}

.programme-block:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.programme-info {
    padding: 24px;
}

.programme-meta {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
}

.programme-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
    transition: var(--transition);
}

.programme-block:hover .programme-title {
    color: #333;
}

.programme-desc {
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.6;
}

.programme-cta {
    font-size: 15px;
    font-weight: 500;
    color: #000;
    transition: var(--transition);
}

.programme-cta:hover {
    color: #333;
}

.programme-image {
    min-height: 220px;
    background: #ccc;
    overflow: hidden;
}

.programme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.programme-block:hover .programme-image img {
    transform: scale(1.05);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for better accessibility */
/* a:focus,
button:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
} */

/* Responsive */
@media (max-width: 900px) {
    .event-image img {
        height: 300px;
        border-bottom: 3px solid #000;
    }
}

@media (max-width: 1260px) {

    body {
        padding-top: 70px;
    }

    .navbar-desktop {
        display: none !important;
    }

    .navbar-mobile {
        display: block !important;
    }

    .event-block {
        /* flex-direction: column; */
    }

    .event-info,
    .event-image {
        /* padding: 16px; */
    }

    .event-image {
        min-height: 220px;
    }



    .programme-block {
        flex-direction: column;
    }

    .programme-info,
    .programme-image {
        padding: 16px;
    }

    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 1100px) {
    .container {
        padding: 0 16px;
    }

    .navbar-custom {
        padding: 0 8px;
    }
}

/* Print styles */
@media print {

    .navbar-custom,
    .navbar-mobile,
    .scroll-to-top {
        display: none !important;
    }

    body {
        padding-top: 0;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --main-border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1260px) {

    .event-info {
        padding-right: 0px;
        padding-left: 0px;
    }

    .event-title {
        line-height: normal;
        font-size: 20px!important;
    }

    .navbar-mobile-overlay {
        background: #fff;
        position: fixed;
        inset: 0;
        z-index: 9999;
        padding: 15px 15px 0 15px;
        font-family: 'Inter', Arial, sans-serif;
    }

    .navbar-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 3px solid #000;
        padding: 0px 0px 0px 12px;
        margin-bottom: 18px;
    }

    .navbar-mobile-header_popup {
        /* padding: 4px!important; */
        border-bottom: 3px solid #000;
    }

    .navbar-mobile-logo {
        font-weight: 600;
        font-size: 15px;
        letter-spacing: 0.5px;
    }

    .navbar-mobile-header {
        padding: 0px 0px 0px 0px;
    }

    .navbar-mobile-close {
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        font-weight: bold;
        line-height: 1;
        color: #000;
        border-left: 3px solid;
        padding: 6px 15px;
    }

    .navbar-mobile-lang {
        text-align: right;
        font-size: 16px;
        font-weight: 500;
        font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
        /* border-bottom: 3px solid #000;
        padding-bottom: 12px;
        margin-bottom: 12px; */
    }

    .navbar-mobile-lang .active-lang {
        font-family: var(--main-font);
        text-decoration: underline;
    }

    .navbar-mobile-lang a,
    .navbar-mobile-lang .lang-ar-label {
        font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
    }

    .navbar-mobile-links {
        display: flex;
        flex-direction: column;
        margin-bottom: 18px;
    }

    .navbar-mobile-link {
        font-size: 26px;
        font-weight: 100;
        color: #000;
        text-decoration: none;
        border-bottom: 3px solid #000;
        padding: 4px 0;
        display: flex;
        align-items: center;
        text-align: left;
        transition: background 0.2s;
        gap: 6px;
        cursor: pointer;
    }

    .mobile-submenu {
        padding-left: 0 !important;
        padding-inline-start: 0 !important;
        padding-top: 16px;
        margin-left: 5px;
    }

    .mobile-submenu a {
        color: #000;
        text-decoration: none;
        padding: 4px 0px;
        line-height: normal;
        font-size: 18px;
        font-weight: 300;
        display: flex;
        align-items: center;
        position: relative;
        padding-left: 3ch; /* مساحة السهم + المسافة حتى يلتوي النص مع محاذاة السطر الثاني مع الأول */
    }

    /* السهم الطويل لليمين (long arrow) في القائمة الفرعية – خارج تدفق النص لضمان محاذاة الأسطر الملتوية */
    .mobile-submenu a::before {
        content: '\f178';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 14px;
        transition: var(--transition);
        position: absolute;
        left: 0;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        width: 2ch;
        text-align: center;
    }

    /* أسهم القائمة الرئيسية – أصغر 50% */
    .navbar-mobile-link .arrow,
    .navbar-mobile-link .mobile-arrow,
    .navbar-mobile-link .mobile-arrow .fa-arrow-right,
    .navbar-mobile-link.has-submenu .mobile-arrow i {
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: .8em;
        color: #000;
        margin-right: 1ch;
        display: inline-block;
        min-width: 13px;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        width: 2ch;
        text-align: center;
    }

    .navbar-mobile-link.has-submenu .mobile-arrow i {
        transition: transform 0.2s ease;
    }

    .navbar-mobile-link.has-submenu.is-submenu-open .mobile-arrow i {
        transform: rotate(90deg);
    }

    .navbar-mobile-link:hover {
        /* background: #f5f5f5; */
        /* text-decoration: underline; */
    }

    .navbar-mobile-search {
        display: flex;
        gap: 8px;
        margin-top: 18px;
    }

    .navbar-mobile-search input {
        flex: 1;
        padding: 8px;
        font-size: 16px;
        background: rgb(217, 217, 217);
        border: none;
        border-radius: 0;
        outline: none;
    }

    .navbar-mobile-search button {
        padding: 8px 16px;
        font-size: 16px;
        border: 3px solid #000;
        background: #fff;
        cursor: pointer;
        border-radius: 0;
        color: #000;
        font-weight: 600;
    }
}

@media (min-width: 1200px) {
    .event-info_p_right_10px {
        padding-right: 0px;
    }

    .event-info_p_left_10px {
        padding-left: 16px;
    }
}



.visit_us .latest-img-wrap {
    overflow: clip;
}

@media (max-width: 1260px) {
    .navbar-mobile-toggle .fa-bars {
        font-size: 23px !important;
        color: #000 !important;
        line-height: 1;
        vertical-align: middle;
    }

    .event-info_p_right {
        padding-right: 0px !important;
    }

    .event-info_p_left {
        padding-left: 0px !important;
    }

    /* ترتيب العناصر في الشاشات الصغيرة (1200px وأقل) - الصورة أولاً ثم النص */
    .event-block .col-md-5,
    .event-block .col-md-7,
    .programme-block .col-md-6 {
        order: 1 !important;
    }

    .event-block .col-md-5.order-2,
    .event-block .col-md-7.order-2,
    .programme-block .col-md-6.order-2 {
        order: 2 !important;
    }
}

.event-section:not(:first-of-type) {
    margin: 25px auto 0 auto;
    padding-top: 5px;
}

hr {
    opacity: 1;
}

/* --- Latest Initiatives Section: one box per row on mobile only; multiple per row on tablet/desktop --- */
@media (max-width: 767px) {
    .latest-card-wrap {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
}

/* --- Latest Initiatives Section Images --- */
.latest-img-wrap {
    /* height: 100%; */
    overflow: clip;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-top: 3px solid #000;
}

.latest-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    aspect-ratio: 1;
}

.tag {
    background-color: rgb(217, 217, 217);
    font-size: 12px;
    padding: 4px;
    color: #000;
    text-decoration: none;
    width: fit-content;
    border-radius: 0;
}

/* Grid cards: keep tag row below card body (avoid h-100 overlap in equal-height rows) */
.latest-card-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.latest-card-wrap > .latest-card {
    flex: 1 1 auto;
    min-height: 0;
}

.latest-card-tags {
    flex-shrink: 0;
    position: relative;
    z-index: 11;
}

.latest-card-tags .tag {
    display: inline-block;
    max-width: 100%;
}


.custom-font-size {
    font-size: 16px !important;
}

.custom-padding-bottom {
    padding-bottom: 80px !important;
}

.team_members .custom-padding-bottom {
    padding-bottom: 10px !important;
}

/* Custom Footer Styles */

.footer-main-custom {
    background: #fff;
    margin: 40px auto 0 auto;
    padding: 5px;
}

.footer-box {
    border: 3px solid #000;
    padding: 12px 18px 12px 18px;
    /* max-width: 480px;
  margin: 0 auto 24px auto; */
    background: #fff;
    /* margin-top: 10vh; */
}

.footer-news-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: calc(8px * 2);
}

.footer-newsletter-form {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
}

.footer-newsletter-input {
    flex: 1;
    padding: 12px 12px;
    border: none;
    background: rgb(217, 217, 217);
    font-size: 1rem;
    outline: none;
    border-radius: 0;
    border: 1.5px solid rgb(217, 217, 217);
    margin-right: 8px;
}

/* Placeholder contrast: darker for readability (desktop + mobile) */
.footer-newsletter-input::placeholder {
    color: #333;
    opacity: 1;
}
.footer-newsletter-input::-webkit-input-placeholder {
    color: #333;
    opacity: 1;
}
.footer-newsletter-input::-moz-placeholder {
    color: #333;
    opacity: 1;
}
.footer-newsletter-input:-ms-input-placeholder {
    color: #333;
    opacity: 1;
}

.footer-newsletter-btn {
    padding: 7px 22px;
    border: 3px solid #000;
    background: #fff;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s;
    color: #000!important;
}

.footer-newsletter-btn:hover {
    background: #f3f3f3;
}

.footer-address,
.footer-address_underMap {
    font-size: .9rem;
    margin-bottom: 14px;
    margin-top: 5px;
    font-weight: 400;
}

.footer-contact {
    /* font-size: .9rem; */
    margin-bottom: 14px;
    font-weight: 400;
}


.footer-contact a {
    color: #000;
    /* text-decoration: underline; */
}

.footer-social-links {
    font-size: .9rem;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-bottom-row {
    /* margin-top: 10px;
  padding-top: 8px; */
}

.footer-copyright {
    font-size: 0.7rem;
    color: #000;
    font-weight: 400;
    line-height: normal;
}

.footer-terms {
    display: block;
    margin-top: 0px;
    text-decoration: underline;
    cursor: pointer;
    text-wrap-mode: nowrap;
}

@media (max-width: 600px) {
    .footer-box {
        padding: 16px 10px 8px 10px;
        max-width: 98vw;
    }

    .footer-newsletter-form {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 6px;
        margin-bottom: 24px;
        overflow: visible;
        min-width: 0;
    }

    .footer-newsletter-input {
        flex: 1 1 auto;
        min-width: 0;
        padding: 8px 10px;
        font-size: 16px;
        height: 48px;
        line-height: normal;
        margin-right: 3px;
    }

    /* Darker placeholder on mobile for better contrast */
    .footer-newsletter-input::placeholder {
        color: #111;
        opacity: 1;
    }
    .footer-newsletter-input::-webkit-input-placeholder {
        color: #111;
        opacity: 1;
    }
    .footer-newsletter-input::-moz-placeholder {
        color: #111;
        opacity: 1;
    }
    .footer-newsletter-input:-ms-input-placeholder {
        color: #111;
        opacity: 1;
    }

    /* Ensure Sign up button is always visible on mobile (no clipping/hiding) */
    .footer-newsletter-btn {
        flex: 0 0 auto;
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 16px;
        white-space: nowrap;
        width: 101px;
        min-width: 101px;
        height: 48px;
        line-height: normal;
        visibility: visible;
        opacity: 1;
        -webkit-appearance: none;
        appearance: none;
    }
}

/* Remove old footer styles if present */
.footer-main,
.footer-bottom,
.footer-map-wrap,
.footer-social {
    display: none !important;
}

.footer-map-img-wrap {
    position: relative;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

/* زيادة التباين وغمقان خطوط الشوارع والبحار في خريطة الفوتر */
#footer-map {
    filter: contrast(1.5) brightness(0.85) saturate(1.1);
}

#footer-map .mapboxgl-canvas {
    filter: contrast(1.5) brightness(0.85) saturate(1.1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* تحسين وضوح وغمقان خطوط الشوارع */
#footer-map canvas {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.footer-map-img-wrap:hover {
    opacity: 0.8;
}

.footer-map-circle {
    width: 32px;
    height: 32px;
    border: 2px solid #000;
    border-radius: 50%;
    background: transparent;
    transition: background 0.2s;
    cursor: pointer;
    box-sizing: border-box;
}

.footer-map-circle:hover {
    background: #000 !important;
}

.map_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.95);
    border-radius: 0;
    border: none;
}

.footer-map-img-wrap .mapboxgl-ctrl,
.footer-map-img-wrap .mapboxgl-ctrl-logo,
.footer-map-img-wrap .mapboxgl-ctrl-attrib {
    display: none !important;
}

/* Inset / hero Mapbox (CMS + static visit-us pages): same clean chrome as reference HTML */
.visit-us-map-img-wrap {
    overflow: hidden;
}

.visit-us-map-img-wrap .mapboxgl-ctrl,
.visit-us-map-img-wrap .mapboxgl-ctrl-logo,
.visit-us-map-img-wrap .mapboxgl-ctrl-attrib {
    display: none !important;
}

/* إخفاء شعار Mapbox */
.mapboxgl-ctrl-logo {
    display: none !important;
}

/* إخفاء mapboxgl-ctrl-bottom-right */
.mapboxgl-ctrl-bottom-right {
    display: none !important;
}

@media (max-width: 1199.20px) {
    .footer-map {
        display: none !important;
    }
    .whatsOn_page .whats-on-filters{
        padding-top: 12px;
    }
}

@media (min-width: 1200px) {
    .footer-address {
        display: none !important;
    }

    .footer-newsletter-form {
        width: 510px;
    }
}

.navbar-dropdown {
    position: relative;
    display: inline-block;
    display: flex;
    align-items: center;
}

@media (min-width: 1200px) {
    .footer-contact {
        padding-bottom: 50px !important;
    }
}

.navbar-dropdown>.dropdown-menu {
    display: none;
    position: absolute;
    /* left: -14.8px; */
    left: -3.2px !important;
    /* top: 110%; */
    top: 34.5px;
    min-width: 240px;
    background: #fff;
    border: 3px solid #000;
    z-index: 100;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

.navbar-dropdown>.dropdown-menu>a {
    font-size: 0.9em;
    padding: 6px !important;
}

.navbar-custom .navbar-center .navbar-dropdown a,
#desktop-search-icon {
    padding: 7px 10px 7px calc(12px) !important;
    /* height: 120%; */
    /* background: antiquewhite; */
    display: flex;
    align-items: center;
    white-space: nowrap;
    text-transform: capitalize;
}

.navbar-custom .navbar-center .navbar-dropdown a:hover {
    text-decoration: underline;
}

.navbar-dropdown:hover .dropdown-menu,
.navbar-dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 8px 18px;
    color: #000;
    background: #fff;
    border-bottom: 3px solid #000;
    text-decoration: none;
    font-size: 18px;
    transition: background 0.2s;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    background: #f5f5f5;
}

.dropdown-submenu {
    position: relative;
    border-bottom: 3px solid #000;
}

.dropdown-submenu.lastLinkInMenu {
    border-bottom: 0px solid #000;
}


.dropdown-submenu>.dropdown-menu {
    top: -3px;
    left: 100%;
    margin-left: 0;
    border: 3px solid #000;
    min-width: 220px;
    display: none;
    position: absolute;
    background: #fff;
    z-index: 200;
    border-radius: 0;
    padding: 0;
}

/* إصلاح ظهور sub-submenu فقط عند hover على الأب */
.dropdown-submenu .dropdown-menu {
    display: none !important;
}

.dropdown-submenu:hover>.dropdown-menu,
.dropdown-submenu:focus-within>.dropdown-menu {
    display: block !important;
}

.dropdown-submenu>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* .dropdown-submenu > a::after {
  content: '\203A';
  font-size: 1.2em;
  margin-left: 8px;
  color: #000;
} */
.dropdown-submenu a {
    border: none;
    padding-right: 10px !important;
}

.dropdown-submenu .dropdown-menu a {
    border-bottom: 3px solid #000;
}

.dropdown-submenu .dropdown-menu a:last-child {
    border-bottom: none;
}

.latest-card {
    position: relative;
    /* height: 100%!important; */
}

.latest-card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-indent: -9999px;
    background: transparent;
    cursor: pointer;
    display: block;
}

/* ====================================================== */

.header_img {
    width: 100%;
    height: calc(8px * 80);
    display: flex;
}

/* Hero video & slider — full width like hero image */
.header_img.sat-hero-video,
.header_img.sat-hero-slider {
    display: block;
    width: 100%;
    height: auto;
    /* Keep padding behavior consistent with existing hero image layout */
    padding: 0;
}

.header_img.sat-hero-slider .sat-hero-slider-stage {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: var(--sat-hero-height);
    line-height: 0;
}

.header_img.sat-hero-slider .sat-hero-slider-carousel,
.header_img.sat-hero-slider .carousel-inner,
.header_img.sat-hero-slider .carousel-item,
.header_img.sat-hero-slider .sat-hero-slider-link {
    width: 100%;
    height: 100%;
}

.header_img.sat-hero-slider .sat-hero-slider-image {
    width: 100%;
    height: 100% !important;
    display: block;
    object-fit: cover;
    object-position: center;
}

.header_img.sat-hero-slider .sat-hero-slider-nav {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.header_img.sat-hero-slider .sat-hero-slider-nav-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 3px solid #000;
    background: rgba(255, 255, 255, 0.92);
    color: #000;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.header_img.sat-hero-slider .sat-hero-slider-nav-btn:hover {
    background: #000;
    color: #fff;
}

.header_img.sat-hero-slider .sat-hero-slider-nav-btn i {
    font-size: 1.15rem;
    line-height: 1;
}

.header_img.sat-hero-video .sat-hero-video-stage {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: var(--sat-hero-height);
    line-height: 0;
    background: #000;
}

.header_img.sat-hero-video .sat-hero-video-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.header_img.sat-hero-video .sat-hero-video-embed {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.77777778vh;
    min-width: 100%;
    min-height: 56.25vw;
    height: 100%;
    border: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.header_img.sat-hero-video .sat-hero-video-poster-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
    display: block;
}

.header_img.sat-hero-video .sat-hero-video-nav {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.header_img.sat-hero-video .sat-hero-video-nav-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 3px solid #000;
    background: rgba(255, 255, 255, 0.92);
    color: #000;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.header_img.sat-hero-video .sat-hero-video-nav-btn:hover {
    background: #000;
    color: #fff;
}

.header_img.sat-hero-video .sat-hero-video-nav-btn i {
    font-size: 1.15rem;
    line-height: 1;
}

.header_img.sat-hero-slider .sat-cms-slider-wrap,
.header_img.sat-hero-slider .custom-slider,
.header_img.sat-hero-slider .slider-img-wrap,
.header_img.sat-hero-slider .carousel,
.header_img.sat-hero-slider .carousel-inner,
.header_img.sat-hero-slider .carousel-item {
    width: 100%;
    max-width: 100%;
}

/* CMS split layout: zero row gutter so hero image/slider/video span full width */
.cms-page-blocks.cms-prose > section.row {
    --bs-gutter-x: 0;
}

.about-menu .list-group-item {
    border: none;
    border-bottom: 3px solid #000;
    border-radius: 0;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.about_page .latest-img-wrap {
    aspect-ratio: 1;
}

.about_page .desc {
    width: 90%;
    font-size: 18px;
}
.team_members .latest-desc{
    line-height: normal;
}

/* Team Members – 6 columns per row from xl up (prototype uses col-xl-2); overrides col-xl-3 if markup still uses quarter widths */
@media (min-width: 1200px) {
    .team_members .row > .latest-card-wrap {
        flex: 0 0 auto !important;
        width: 16.66666667% !important;
        max-width: 16.66666667% !important;
    }
}

@media(min-width:1200px) {
    .about_page .desc {
        width: 99%;
    }
}

@media(min-width:1600px) {
    .about_page .desc {
        /* width: 60%; */
        width: 60ch;
    }
}


.about_page .desc p {
    font-size: 20px;
    font-weight: 500;
    /* text-align: justify; */
}

@media(max-width:1200px) {
    .about_page .desc {
        width: 100%;
    }
}

/* Acknowledgement Section Styles */
.acknowledgement-section {
    font-size: 14px;
}

.acknowledgement-row {
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.acknowledgement-row .col-md-4 {
    padding-right: 30px;
}

.acknowledgement-row .col-md-8 {
    padding-left: 20px;
}

.acknowledgement-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0;
    color: #000;
    letter-spacing: 0.01em;
}

.acknowledgement-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 0;
    color: #000;
    letter-spacing: 0.01em;
}

.acknowledgement-text strong {
    font-weight: 600;
    color: #000;
}

.acknowledgement-text br {
    line-height: 1.8;
}

@media(min-width: 768px) {
    /* .acknowledgement-title {
        font-size: 17px;
    } */
    
    /* Keep acknowledgement text same size as titles across columns */
}

@media(min-width: 992px) {
    .acknowledgement-row {
        margin-bottom: 1.8rem;
    }
    
    .acknowledgement-row .col-md-4 {
        padding-right: 40px;
    }
    
    .acknowledgement-row .col-md-8 {
        padding-left: 30px;
    }
    
    /* .acknowledgement-title {
        font-size: 18px;
    } */
    
    /* Keep acknowledgement text same size as titles across columns */
}

@media(max-width: 767px) {
    .acknowledgement-section {
        font-size: 13px;
    }
    
    .acknowledgement-row {
        margin-bottom: 1.2rem;
    }
    
    .acknowledgement-title {
        margin-bottom: 0.5rem;
    }
    
    /* Keep acknowledgement text same size as titles across columns */
}

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

.slider-img-wrap {
    position: relative;
    overflow: hidden;
}

.slider-container {
    transition: transform 0.6s ease-in-out;
    transform: translateX(-33.33%);
}

.slider-container.carousel-item-next {
    transform: translateX(-66.66%);
}

.slider-container.carousel-item-prev {
    transform: translateX(0%);
}

.slider-container.carousel-item-start {
    transform: translateX(-33.33%);
}

.slider-container.carousel-item-end {
    transform: translateX(-33.33%);
}

/* Bootstrap Carousel style transitions */
.slider-container.carousel-item-next,
.slider-container.carousel-item-prev {
    transition: transform 0.6s ease-in-out !important;
}

.slider-container.carousel-item-start {
    transition: none !important;
}

.slider-arrow:focus {
    outline: none;
}
.slider-arrow i{
    color: #000;
}

.slider-zoom svg {
    background: #fff;
    border: 2px solid #222;
    border-radius: 4px;
    padding: 2px;
}

#slider-modal-overlay, .slider-modal-overlay {
    position: fixed;
    /* Above .navbar-custom (z-index: 99999000) so close control is clickable */
    z-index: 100000000;
    top: 0;
    width: 100% !important;
    height: 100%;
    background: white;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
}

#slider-modal-overlay, .slider-modal-overlay .slider-modal-content {
    width: 60%;
    height: auto;
    margin: auto;
    text-align: center;
}

@media(max-width:1200px) {
    #slider-modal-overlay, .slider-modal-overlay .slider-modal-content {
        width: 95%;
    }
}

.slider-modal-img {
    height: 500px;
    width: 70%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease-in-out;
}

.slider-modal-overlay.active {
    display: block !important;
}


.slider-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1;
    border: none;
    color: var(--foreground-color, #111);
    width: 2.5rem;
    height: 2.5rem;
    font-size: 2.5rem;
    cursor: pointer;
    background: transparent;
}

/* Gallery lightbox: fit image in small viewports (full image visible, not a tall crop) */
@media (max-width: 991px) {
    #slider-modal-overlay, .slider-modal-overlay .slider-modal-content {
        width: 100% !important;
        max-width: 100%;
        padding: 0 12px 12px;
        box-sizing: border-box;
    }

    #slider-modal-overlay, .slider-modal-overlay .slider-img-wrap.w-75,
    #slider-modal-overlay, .slider-modal-overlay .slider-img-wrap {
        width: 100% !important;
        max-width: 100% !important;
    }

    #slider-modal-overlay, .slider-modal-overlay .slider-modal-img,
    #slider-modal-overlay, .slider-modal-overlay .carousel-inner img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: calc(100vh - 200px);
        max-height: calc(100dvh - 200px);
        object-fit: contain !important;
        object-position: center;
    }

    #slider-modal-overlay, .slider-modal-overlay .carousel-item {
        text-align: center;
    }
}

.video-section iframe {
    border: 0px !important;
}

.video-section img {
    border-top: 3px solid #000 !important;
    border-bottom: 3px solid #000 !important;
}

html,
body {
    overflow-x: hidden !important;
}

/* Start Whats On Page */
.whatsOn_page .select-date-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    /* background-color: aqua; */
    height: 100%;
}

.whatsOn_page .latest-card {
    height: 88% !important;
}

@media (max-width: 768px) {
    .whatsOn_page .select-date-wrap {
        margin-top: 10px;
    }
}

.whatsOn_page .select-date-wrap .form-select {
    border: 3px solid #000;
    border-radius: 0;
    background-color: #fff;
    color: #000;
    font-size: 1rem;
    padding: 0.375rem 0.75rem;
    line-height: 2;
}

.whatsOn_page .form-select:focus {
    box-shadow: none;
    border-color: #000;
    outline: none;
}

/* What's On – custom filter dropdowns (Screenshot 2026-02-02: white + black border) */
.whatsOn_page .whats-on-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}

.whatsOn_page .custom-dropdown-wrap {
    flex: 1;
    min-width: 120px;
}

.whatsOn_page .custom-dropdown {
    position: relative;
    width: 100%;
}

.whatsOn_page .custom-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 0.75rem;
    background: #fff;
    color: #000;
    border: 3px solid #000;
    border-radius: 0;
    font-size: 1rem;
    line-height: 2;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.whatsOn_page .custom-dropdown-trigger:hover {
    background: #f8f8f8;
}

.whatsOn_page .custom-dropdown-trigger[aria-expanded="true"] {
    background: #fff;
    border-radius: 0;
    border-bottom-color: transparent;
}

.whatsOn_page .custom-dropdown-chevron {
    margin-left: 8px;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.whatsOn_page .custom-dropdown-trigger[aria-expanded="true"] .custom-dropdown-chevron {
    transform: rotate(180deg);
}

.whatsOn_page .custom-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    margin-top: -3px;
    background: #fff;
    border: 3px solid #000;
    border-top: none;
    border-radius: 0;
    overflow: hidden;
    max-height: 240px;
    overflow-y: auto;
}

.whatsOn_page .custom-dropdown-panel[hidden] {
    display: none !important;
}

.whatsOn_page .custom-dropdown-option {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    color: #000;
    cursor: pointer;
    transition: background 0.15s ease;
    gap: 8px;
    border-bottom: 3px solid #000;
}

.whatsOn_page .custom-dropdown-option:first-child {
    border-top: 3px solid #000;
}

.whatsOn_page .custom-dropdown-option:last-child {
    border-bottom: none;
}

.whatsOn_page .custom-dropdown-option:hover {
    background: #f0f0f0;
}

.whatsOn_page .custom-dropdown-check {
    display: none;
}


.list-group-item {

    padding: 11px;
}

.search-desktop:focus{
    box-shadow: none !important; 

}

.search-desktop{

    margin: 0px 15px !important;

}

footer *{
    font-size: 1rem;
}



.desc{
    margin-top: 30px;
    line-height: 1.7rem;
}
.desc p,
.desc [style*="line-height: normal"] {
    line-height: 1.8rem !important;
}



.top_padding_categories {
    padding-top: 40px !important;
    margin-top: 40px !important;
}

/* Store – Events & workshops: HR dividers inside section (avoid clash with title block borders) */
.store-events-workshops-section .divider {
    border-top: 0;
}

/* Events List Styles */
.events-list-container {
    width: 100%;
}

.event-list-item {
    border-bottom: 2px solid #000;
    padding: 6px 0px;
    transition: var(--transition);
    cursor: pointer;
    border-top: 2px solid #000;
    margin-bottom: 30px;
}

.event-list-item:hover {
    background-color: #f5f5f5;
}



.event-list-item .row {
    align-items: center;
    margin: 0;
    display: flex;
    gap: 30px;
}

.event-list-item .col {
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
}

.event-list-item .col-2,
.event-list-item .col-md-2,
.event-list-item .col-2.px-0,
.event-list-item .col-md-2.px-0 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
    padding: 0;
}

.event-list-item .col-3,
.event-list-item .col-md-3,
.event-list-item .col-3.px-0,
.event-list-item .col-md-3.px-0 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0;
}

.event-list-item .col-4,
.event-list-item .col-md-4,
.event-list-item .col-4.px-0,
.event-list-item .col-md-4.px-0 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0;
}

.event-type {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: #000;
    white-space: nowrap;
}

/* .event-list-item .col-md-3 {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    padding: 0 15px;
} */

.event-read-more {
    text-align: right;
}

/* Team Members Styles */
.team-member-name {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 4px;
}

.team-member-title {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    font-style: italic;
}

.read-more-link {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    pointer-events: none;
}

.read-more-link:hover {
    text-decoration: none;
    color: #000;
}

.arrow-icon {
    font-size: 18px;
    display: inline-block;
    line-height: 1;
    margin-left: 5px;
    vertical-align: middle;
    transform: rotate(45deg);
    transition: var(--transition);
}

/* Events & Workshops – Mobile (phone) only – عمودين وصفين */
@media (max-width: 767.98px) {
    .events-list-container .event-list-item .row {
        /* display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 10px 16px;
        align-items: start; */
        margin: 0;
        justify-content: space-between;
        align-items: center;
    }

    .events-list-container .event-list-item .col,
    .events-list-container .event-list-item .col-2,
    .events-list-container .event-list-item .col-3 {
        flex: none;
        max-width: none;
        width: auto;
    }

    /* الصف الأول: نوع الحدث | اسم الحدث */
    .events-list-container .event-list-item .col:first-child {
        grid-column: 1;
        grid-row: 1;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 600;
    }

    .events-list-container .event-list-item .col:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
        font-size: 14px;
        line-height: 1.4;
        text-align: right;
    }

    /* الصف الثاني: التاريخ | اقرأ المزيد */
    .events-list-container .event-list-item .col-2 {
        grid-column: 1;
        grid-row: 2;
        font-size: 13px;
        color: #333;
    }

    .events-list-container .event-read-more {
        grid-column: 2;
        grid-row: 2;
        text-align: right;
        margin-top: 0;
    }

    .events-list-container .event-list-item {
        padding: 12px 0;
        margin-bottom: 20px;
    }
}

/* Team grid with portraits on Team page */
.team-grid .team-card {
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.team-grid .team-card-image {
    width: 100%;
    background: #d9d9d9;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.team-grid .team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-grid .team-card-body {
    padding-top: 8px;
    padding-bottom: 10px;
}

.team-grid .team-member-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.team-grid .team-member-title {
    font-size: 12px;
    font-style: normal;
}

@media (min-width: 992px) {
    .team-grid .team-member-name {
        font-size: 15px;
    }

    .team-grid .team-member-title {
        font-size: 13px;
    }
}

/* Responsive styles for events list */
@media (max-width: 768px) {
    .event-list-item .row {
        align-items: center;
    }
    
    .event-list-item .col-3,
    .event-list-item .col-md-3,
    .event-list-item .col-4,
    .event-list-item .col-md-4 {
        padding: 0 10px;
        text-align: left;
    }
    
    .event-type {
        font-size: 12px;
    }
    
    .event-list-item .col-3,
    .event-list-item .col-md-3,
    .event-list-item .col-4,
    .event-list-item .col-md-4 {
        font-size: 14px;
    }
    
    .team-member-name {
        font-size: 14px;
    }
    
    .team-member-title {
        font-size: 12px;
    }
    
    .event-read-more {
        text-align: right !important;
    }
    
    .read-more-link {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .event-list-item {
        padding: 12px 0px;
    }
    
    .event-list-item .col-3,
    .event-list-item .col-md-3,
    .event-list-item .col-4,
    .event-list-item .col-md-4 {
        padding: 0 5px;
        font-size: 12px;
    }
    
    .team-member-name {
        font-size: 12px;
    }
    
    .team-member-title {
        font-size: 11px;
    }
    
    .read-more-link {
        font-size: 12px;
    }
    
    .arrow-icon {
        font-size: 14px;
    }
}

.store-events-title-block{
    border-bottom: 3px solid;
    border-top: 3px solid;
}
/* Store – Events & Workshops: design from 530px down (two lines under title, list layout) */
@media (max-width: 530px) {
    .store-events-workshops-section .store-events-divider-below {
        display: none;
    }

    .store-events-workshops-section .store-events-title-block {
        margin-bottom: 0;
    }

    .store-events-workshops-section .store-events-title-lines {
        display: block;
        margin-top: 12px;
        margin-bottom: 0;
    }

    .store-events-workshops-section .store-events-title-lines .store-events-line {
        border: none;
        border-top: 1px solid #000;
        margin: 0;
        padding: 0;
    }

    .store-events-workshops-section .store-events-line-1 {
        margin-left: -24px;
        margin-bottom: 6px;
    }

    .store-events-workshops-section .store-events-line-2 {
        margin-left: 0;
    }

    /* Single thin line between items, more spacing */
    .store-events-workshops-section .events-list-container .event-list-item {
        border-top: 1px solid #000;
        border-bottom: none;
        padding: 10px 0;
        margin-bottom: 0;
    }

    .store-events-workshops-section .events-list-container .event-list-item:last-child {
        border-bottom: 1px solid #000;
    }

    /* Two-row layout: row1 = category | title, row2 = date | Read More */
    .store-events-workshops-section .events-list-container .event-list-item .row {
        display: flex;
        flex-wrap: wrap;
        row-gap: 10px;
        align-items: center;
        margin: 0;
        gap: 0;
    }

    .store-events-workshops-section .events-list-container .event-list-item .col,
    .store-events-workshops-section .events-list-container .event-list-item .col-2,
    .store-events-workshops-section .events-list-container .event-list-item .event-read-more {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0;
    }
    .store-events-workshops-section .events-list-container .event-list-item .col-2,
    .store-events-workshops-section .events-list-container .event-list-item .event-read-more {
        margin-top: 15px;
    }

    /* Row 1 left: category – uppercase, lighter grey, smaller */
    .store-events-workshops-section .events-list-container .event-list-item .col:first-child {
        font-size: 12px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        color: #000;
    }

    /* Row 1 right: event title – dark, body size */
    .store-events-workshops-section .events-list-container .event-list-item .col:nth-child(2) {
        font-size: 15px;
        font-weight: 500;
        color: #000;
        text-align: right;
        line-height: 1.3;
    }

    /* Row 2 left: date – same grey as category */
    .store-events-workshops-section .events-list-container .event-list-item .col-2 {
        font-size: 12px;
        color: #000;
    }

    /* Row 2 right: Read More + arrow */
    .store-events-workshops-section .events-list-container .event-list-item .event-read-more {
        text-align: right;
    }

    .store-events-workshops-section .events-list-container .read-more-link {
        font-size: 14px;
        font-weight: 500;
        color: #000;
    }

    .store-events-workshops-section .events-list-container .arrow-icon {
        font-size: 14px;
    }
}

/* Hide two decorative lines on desktop (show only below 530px) */
.store-events-workshops-section .store-events-title-lines {
    display: none;
}

@media (max-width: 530px) {
    .store-events-workshops-section .store-events-title-lines {
        display: block;
    }
}

/* Contributors alphabet filter & list – match section height with other divider sections */
.contributors-filter-wrapper {
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
    padding: 11px 0;
}

.contributors-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 26px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Row wrappers: on desktop behave as one flow; on mobile form two explicit rows */
.contributors-filter-row {
    display: contents;
}

.contributors-letter-btn {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    font-weight: 500;
}

.contributors-letter-btn.is-active {
    text-decoration: underline;
}

.contributors-list {
    margin-top: 20px;
}

.contributors-list-item {
    font-size: 18px;
}

.contributors-list-item.is-hidden {
    display: none;
}

@media (max-width: 768px) {
    .contributors-filter-wrapper {
        padding: 4px 0;
    }

    .contributors-filter {
        flex-direction: column;
        gap: 10px;
        font-size: 18px;
        line-height: 1.2;
        letter-spacing: 0.06em;
    }

    /* MOBILE ONLY: two rows – row 1 = A–M, row 2 = N–Z */
    .contributors-filter-row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .contributors-list-item {
        font-size: 16px;
    }
}

@media (min-width: 767px) and (max-width: 1260px){
    .event-info {
        padding-left: 15px!important;
    }

    .event-info_p_left {
        padding-left: 15px!important;
    }
}
@media (max-width: 767px) {
    .whatsOn_page .latest-card{
        height: auto !important;
    }
    .latest-card .custom-padding-bottom {
        padding-bottom: 12px !important;
    }
    .latest-card .latest-desc{
        font-size:16px!important;
    }
}
@media (max-width: 1260px) {
    .whatsOn_page .custom-dropdown-trigger {
        padding: 8px 0.75rem!important;
    }
}