/* Custom Navigation Styles */

/* Desktop Hover Behavior */
@media (min-width: 992px) {
    .dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
    }

    /* Submenu Hover */
    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }
}

/* Submenu Styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/* Dropdown Styling */
.dropdown-menu {
    background-color: #343a40;
    /* Match navbar bg-dark */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.75);
    /* Match nav-link color */
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Gallery Styles */
.gallery-container img {
    transition: transform 0.3s ease;
}

.gallery-container .card:hover img {
    transform: scale(1.02);
}

/* Option 7: Centered 70% Uncropped Grid Gallery with Titles (2..6 per row, centered partial rows) */
.bcms-gallery-centered-70 {
    width: 70%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    --bcms-gc-gap: 1rem;
    --bcms-gc-active-cols: var(--bcms-gc-cols, 3);
}
/* In split page & tab layouts, expand Option 7 gallery to 100% of the gallery column */
.page-content-split-layout .bcms-gallery-centered-70,
.page-gallery-col .bcms-gallery-centered-70,
.bcms-tab-split-50 .bcms-gallery-centered-70,
.bcms-tab-gallery-container .bcms-gallery-centered-70 {
    width: 100% !important;
}
.bcms-gallery-centered-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: var(--bcms-gc-gap);
}
.bcms-gallery-centered-item {
    box-sizing: border-box;
    flex: 0 0 calc((100% - ((var(--bcms-gc-active-cols, 3) - 1) * var(--bcms-gc-gap)) - 0.5px) / var(--bcms-gc-active-cols, 3));
    width: calc((100% - ((var(--bcms-gc-active-cols, 3) - 1) * var(--bcms-gc-gap)) - 0.5px) / var(--bcms-gc-active-cols, 3));
    max-width: calc((100% - ((var(--bcms-gc-active-cols, 3) - 1) * var(--bcms-gc-gap)) - 0.5px) / var(--bcms-gc-active-cols, 3));
    min-width: 0;
}
.bcms-gallery-centered-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    cursor: pointer;
}
.bcms-gallery-centered-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
    border-color: rgba(13, 110, 253, 0.3);
}
.bcms-gallery-centered-card:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}
.bcms-gallery-centered-thumb-wrap {
    flex: 0 0 auto;
    width: 100%;
    height: 370px;
    padding: 4px 6px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.bcms-gallery-centered-70[data-cols="5"],
.bcms-gallery-centered-70[data-cols="6"] {
    --bcms-gc-gap: 0.65rem;
}
.bcms-gallery-centered-70[data-cols="2"] .bcms-gallery-centered-thumb-wrap {
    height: 470px;
}
.bcms-gallery-centered-70[data-cols="3"] .bcms-gallery-centered-thumb-wrap {
    height: 380px;
}
.bcms-gallery-centered-70[data-cols="4"] .bcms-gallery-centered-thumb-wrap {
    height: 320px;
}
.bcms-gallery-centered-70[data-cols="5"] .bcms-gallery-centered-thumb-wrap {
    height: 265px;
    padding: 3px 4px;
}
.bcms-gallery-centered-70[data-cols="6"] .bcms-gallery-centered-thumb-wrap {
    height: 230px;
    padding: 3px 4px;
}
.bcms-gallery-centered-thumb-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.3s ease;
}
.bcms-gallery-centered-card:hover .bcms-gallery-centered-thumb-img {
    transform: scale(1.03);
}
.bcms-gallery-centered-info {
    padding: 0.55rem 0.65rem 0.65rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    background: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.bcms-gallery-centered-title {
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
    margin-bottom: 2px;
}
.bcms-gallery-centered-desc {
    color: #475569;
    font-size: 0.80rem;
    font-weight: 400;
    line-height: 1.38;
    word-break: break-word;
    opacity: 0.92;
}
.bcms-gallery-centered-70[data-cols="5"] .bcms-gallery-centered-title,
.bcms-gallery-centered-70[data-cols="6"] .bcms-gallery-centered-title {
    font-size: 0.82rem;
}
.bcms-gallery-centered-70[data-cols="5"] .bcms-gallery-centered-desc,
.bcms-gallery-centered-70[data-cols="6"] .bcms-gallery-centered-desc {
    font-size: 0.72rem;
}
@media (max-width: 991.98px) {
    .bcms-gallery-centered-70 {
        --bcms-gc-gap: 0.75rem;
    }
}
@media (max-width: 767.98px) {
    .bcms-gallery-centered-70 {
        width: 100%;
        --bcms-gc-gap: 0.75rem;
        --bcms-gc-active-cols: 2;
    }
    .bcms-gallery-centered-70 .bcms-gallery-centered-thumb-wrap {
        height: 290px !important;
    }
}

/* Cinema Stage Animated Title & Description Overlay (v5.89.96) */
.cinema-stage-caption {
    z-index: 4;
    pointer-events: none;
    padding: 0;
}
.cinema-caption-backdrop {
    background: linear-gradient(180deg, transparent 0%, rgba(5, 14, 36, 0.65) 20%, rgba(5, 14, 36, 0.94) 100%);
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    padding: 1.25rem 2rem 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: auto;
}
.cinema-stage-slide.active .cinema-stage-caption {
    animation: cinemaCaptionSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
@keyframes cinemaCaptionSlideUp {
    0% {
        opacity: 0;
        transform: translateY(35px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.cinema-stage-title {
    font-size: clamp(1.20rem, 2.0vw, 1.65rem) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 24px rgba(13, 110, 253, 0.45);
    line-height: 1.30 !important;
    margin-bottom: 0.25rem;
}
.cinema-stage-slide.active .cinema-stage-title {
    animation: cinemaTitleReveal 0.60s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}
@keyframes cinemaTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.cinema-stage-desc-scroll-wrap {
    max-height: 4.8em;
    overflow-y: auto;
    scrollbar-width: thin;
}
.cinema-stage-desc {
    font-size: clamp(0.82rem, 1.05vw, 0.96rem) !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    line-height: 1.50 !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
    max-width: 900px;
    margin: 0 auto;
}
.cinema-stage-slide.active .cinema-stage-desc {
    animation: cinemaDescScrollIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}
@keyframes cinemaDescScrollIn {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    100% {
        opacity: 0.95;
        transform: translateY(0);
    }
}

/* Masonry Layout */
.masonry-grid {
    column-count: 1;
    column-gap: 1rem;
}

@media (min-width: 576px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (min-width: 992px) {
    .masonry-grid {
        column-count: 3;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
}

/* Lightbox Grid */
.ratio-1x1 {
    --bs-aspect-ratio: 100%;
}

.object-fit-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Carousel Customization */
.carousel-item img {
    max-height: 600px;
}

/* Default Main Body Text Color (v5.89.44: Black Default) */
body,
.content-body,
.page-text-article {
    color: #000000;
}

/* ==========================================================================
   CKEditor 5 Content Image Alignment Engine (v5.89.73)
   ========================================================================== */
.content-body figure.image,
.page-text-article figure.image {
    display: table;
    clear: both;
    text-align: center;
    margin: 1.5em auto;
    max-width: 100%;
}
.content-body figure.image img,
.page-text-article figure.image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.content-body figure.image figcaption,
.page-text-article figure.image figcaption {
    caption-side: bottom;
    text-align: center;
    font-size: 0.88rem;
    color: #64748b;
    padding-top: 6px;
    font-style: italic;
}

/* Center Alignments */
.content-body figure.image-style-align-center,
.content-body figure.image-style-block-align-center,
.content-body .image-style-align-center,
.content-body .image-style-block-align-center,
.page-text-article figure.image-style-align-center,
.page-text-article figure.image-style-block-align-center {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    display: table !important;
}
.content-body figure.image-style-align-center img,
.content-body figure.image-style-block-align-center img,
.page-text-article figure.image-style-align-center img,
.page-text-article figure.image-style-block-align-center img {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

/* Left Alignments */
.content-body figure.image-style-align-left,
.content-body figure.image-style-block-align-left,
.content-body .image-style-align-left,
.page-text-article figure.image-style-align-left {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
    clear: none;
}
[dir="rtl"] .content-body figure.image-style-align-left,
[dir="rtl"] .page-text-article figure.image-style-align-left {
    float: left;
    margin-right: 1.5rem !important;
    margin-left: 0 !important;
}

/* Right Alignments */
.content-body figure.image-style-align-right,
.content-body figure.image-style-block-align-right,
.content-body .image-style-align-right,
.page-text-article figure.image-style-align-right {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    clear: none;
}
[dir="rtl"] .content-body figure.image-style-align-right,
[dir="rtl"] .page-text-article figure.image-style-align-right {
    float: right;
    margin-left: 1.5rem !important;
    margin-right: 0 !important;
}

/* Side Style */
.content-body figure.image-style-side,
.page-text-article figure.image-style-side {
    float: right;
    margin-left: 1.5rem;
    max-width: 50%;
}
[dir="rtl"] .content-body figure.image-style-side,
[dir="rtl"] .page-text-article figure.image-style-side {
    float: left;
    margin-right: 1.5rem !important;
    margin-left: 0 !important;
}

/* Text-aligned containers with images: <p style="text-align: center;"><img ...></p> or text-center */
.content-body [style*="text-align: center"],
.content-body [style*="text-align:center"],
.content-body .text-center,
.page-text-article [style*="text-align: center"],
.page-text-article [style*="text-align:center"],
.page-text-article .text-center {
    text-align: center !important;
}
.content-body [style*="text-align: center"] img,
.content-body [style*="text-align:center"] img,
.content-body .text-center img,
.page-text-article [style*="text-align: center"] img,
.page-text-article [style*="text-align:center"] img,
.page-text-article .text-center img {
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-block !important;
    vertical-align: middle;
}
.content-body [style*="text-align: center"] figure,
.content-body [style*="text-align:center"] figure,
.content-body .text-center figure,
.page-text-article [style*="text-align: center"] figure,
.page-text-article [style*="text-align:center"] figure,
.page-text-article .text-center figure {
    margin-left: auto !important;
    margin-right: auto !important;
    display: table !important;
}

/* General responsive images in content */
.content-body img,
.page-text-article img {
    max-width: 100%;
    height: auto;
}
.content-body figure.image.image_resized[style*="width"] img,
.page-text-article figure.image.image_resized[style*="width"] img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   CKEditor 5 Content Table Priority & Border Engine (v5.89.82)
   Neutralizes Bootstrap .table row/cell pollution on <figure class="table">
   so CKEditor Table Properties & Cell Properties always take priority.
   ========================================================================== */
.content-body figure.table,
.page-text-article figure.table {
    --bs-table-color: initial;
    --bs-table-bg: transparent;
    --bs-table-border-color: initial;
    --bs-table-accent-bg: transparent;
    display: table;
    width: 100%;
    max-width: 100%;
    margin: 0.9em auto;
    color: inherit;
    vertical-align: initial;
    border-color: initial;
    background-color: transparent;
    clear: both;
}
.content-body figure.table[style*="float: left"],
.content-body figure.table[style*="float:left"],
.page-text-article figure.table[style*="float: left"],
.page-text-article figure.table[style*="float:left"] {
    width: auto;
    clear: none;
    margin: 0.4em 1.25em 0.75em 0;
}
.content-body figure.table[style*="float: right"],
.content-body figure.table[style*="float:right"],
.page-text-article figure.table[style*="float: right"],
.page-text-article figure.table[style*="float:right"] {
    width: auto;
    clear: none;
    margin: 0.4em 0 0.75em 1.25em;
}
/* Fix CKEditor Table Centering in RTL & LTR Layouts (v5.89.83) */
figure.table:not([style*="float: left"]):not([style*="float:left"]):not([style*="float: right"]):not([style*="float:right"]),
[dir="rtl"] figure.table:not([style*="float: left"]):not([style*="float:left"]):not([style*="float: right"]):not([style*="float:right"]) {
    display: table;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}
figure.table[style*="float: none"]:not([style*="width"]),
figure.table[style*="float:none"]:not([style*="width"]),
[dir="rtl"] figure.table[style*="float: none"]:not([style*="width"]),
[dir="rtl"] figure.table[style*="float:none"]:not([style*="width"]) {
    width: auto;
}
figure.table table,
figure.table > table.ck-table-resized,
.content-body table.ck-table-resized:not([style*="float: left"]):not([style*="float:left"]):not([style*="float: right"]):not([style*="float:right"]),
.page-text-article table.ck-table-resized:not([style*="float: left"]):not([style*="float:left"]):not([style*="float: right"]):not([style*="float:right"]) {
    margin-left: auto !important;
    margin-right: auto !important;
}
figure.table > table.ck-table-resized,
.content-body table.ck-table-resized,
.page-text-article table.ck-table-resized {
    table-layout: fixed;
}
.content-body figure.table > :not(caption) > * > *,
.page-text-article figure.table > :not(caption) > * > *,
.content-body figure.table > table > thead,
.content-body figure.table > table > tbody,
.content-body figure.table > table > tfoot,
.content-body figure.table > table > colgroup,
.content-body figure.table > table > colgroup > col,
.content-body figure.table > table > thead > tr,
.content-body figure.table > table > tbody > tr,
.content-body figure.table > table > tfoot > tr,
.content-body figure.table > table > tr,
.page-text-article figure.table > table > thead,
.page-text-article figure.table > table > tbody,
.page-text-article figure.table > table > tfoot,
.page-text-article figure.table > table > colgroup,
.page-text-article figure.table > table > colgroup > col,
.page-text-article figure.table > table > thead > tr,
.page-text-article figure.table > table > tbody > tr,
.page-text-article figure.table > table > tfoot > tr,
.page-text-article figure.table > table > tr {
    padding: 0;
    background-color: transparent;
    border-width: 0;
    border-bottom-width: 0;
    border-style: none;
    border-color: transparent;
    box-shadow: none;
}
.content-body figure.table > table,
.page-text-article figure.table > table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    border: 1px double #b3b3b3;
    background-color: transparent;
}
.content-body figure.table > table.ck-table-resized,
.page-text-article figure.table > table.ck-table-resized {
    table-layout: fixed;
}
.content-body figure.table > table > thead > tr > td,
.content-body figure.table > table > thead > tr > th,
.content-body figure.table > table > tbody > tr > td,
.content-body figure.table > table > tbody > tr > th,
.content-body figure.table > table > tfoot > tr > td,
.content-body figure.table > table > tfoot > tr > th,
.content-body figure.table > table > tr > td,
.content-body figure.table > table > tr > th,
.page-text-article figure.table > table > thead > tr > td,
.page-text-article figure.table > table > thead > tr > th,
.page-text-article figure.table > table > tbody > tr > td,
.page-text-article figure.table > table > tbody > tr > th,
.page-text-article figure.table > table > tfoot > tr > td,
.page-text-article figure.table > table > tfoot > tr > th,
.page-text-article figure.table > table > tr > td,
.page-text-article figure.table > table > tr > th {
    min-width: 2em;
    padding: 0.4em;
    border: 1px solid #bfbfbf;
    vertical-align: middle;
    overflow-wrap: break-word;
    background-color: transparent;
    box-shadow: none;
}
.content-body figure.table > table > thead > tr > th,
.content-body figure.table > table > tbody > tr > th,
.content-body figure.table > table > tfoot > tr > th,
.content-body figure.table > table > tr > th,
.page-text-article figure.table > table > thead > tr > th,
.page-text-article figure.table > table > tbody > tr > th,
.page-text-article figure.table > table > tfoot > tr > th,
.page-text-article figure.table > table > tr > th {
    font-weight: 700;
    background-color: rgba(0, 0, 0, 0.05);
}
.content-body figure.table > figcaption,
.page-text-article figure.table > figcaption {
    display: table-caption;
    caption-side: top;
    word-break: break-word;
    text-align: center;
    padding: 0.6em;
    font-size: 0.85em;
    font-weight: 600;
    color: #334155;
    background-color: rgba(0, 0, 0, 0.03);
}
/* When CKEditor Table Properties sets Border to None/0, keep untouched cells borderless too while honoring any explicit inline cell borders */
.content-body figure.table > table:is([style*="border-style: none"], [style*="border-style:none"], [style*="border-style: hidden"], [style*="border-style:hidden"], [style*="border: none"], [style*="border:none"], [style*="border: 0"], [style*="border:0"], [style*="border-width: 0"], [style*="border-width:0"], [style*="border-color: transparent"], [style*="border-color:transparent"], [style*="px none"], [style*="pt none"], [style*="em none"], [style*="px hidden"], [style*="pt hidden"], [style*="em hidden"], [border="0"]) > :is(thead, tbody, tfoot) > tr > :is(td, th):not([style*="border"]),
.content-body figure.table > table:is([style*="border-style: none"], [style*="border-style:none"], [style*="border-style: hidden"], [style*="border-style:hidden"], [style*="border: none"], [style*="border:none"], [style*="border: 0"], [style*="border:0"], [style*="border-width: 0"], [style*="border-width:0"], [style*="border-color: transparent"], [style*="border-color:transparent"], [style*="px none"], [style*="pt none"], [style*="em none"], [style*="px hidden"], [style*="pt hidden"], [style*="em hidden"], [border="0"]) > tr > :is(td, th):not([style*="border"]),
.page-text-article figure.table > table:is([style*="border-style: none"], [style*="border-style:none"], [style*="border-style: hidden"], [style*="border-style:hidden"], [style*="border: none"], [style*="border:none"], [style*="border: 0"], [style*="border:0"], [style*="border-width: 0"], [style*="border-width:0"], [style*="border-color: transparent"], [style*="border-color:transparent"], [style*="px none"], [style*="pt none"], [style*="em none"], [style*="px hidden"], [style*="pt hidden"], [style*="em hidden"], [border="0"]) > :is(thead, tbody, tfoot) > tr > :is(td, th):not([style*="border"]),
.page-text-article figure.table > table:is([style*="border-style: none"], [style*="border-style:none"], [style*="border-style: hidden"], [style*="border-style:hidden"], [style*="border: none"], [style*="border:none"], [style*="border: 0"], [style*="border:0"], [style*="border-width: 0"], [style*="border-width:0"], [style*="border-color: transparent"], [style*="border-color:transparent"], [style*="px none"], [style*="pt none"], [style*="em none"], [style*="px hidden"], [style*="pt hidden"], [style*="em hidden"], [border="0"]) > tr > :is(td, th):not([style*="border"]),
.content-body table:not(.Tdetails):is([style*="border-style: none"], [style*="border-style:none"], [style*="border-style: hidden"], [style*="border-style:hidden"], [style*="border: none"], [style*="border:none"], [style*="border: 0"], [style*="border:0"], [style*="border-width: 0"], [style*="border-width:0"], [style*="border-color: transparent"], [style*="border-color:transparent"], [style*="px none"], [style*="pt none"], [style*="em none"], [style*="px hidden"], [style*="pt hidden"], [style*="em hidden"], [border="0"]) > :is(thead, tbody, tfoot) > tr > :is(td, th):not([style*="border"]),
.content-body table:not(.Tdetails):is([style*="border-style: none"], [style*="border-style:none"], [style*="border-style: hidden"], [style*="border-style:hidden"], [style*="border: none"], [style*="border:none"], [style*="border: 0"], [style*="border:0"], [style*="border-width: 0"], [style*="border-width:0"], [style*="border-color: transparent"], [style*="border-color:transparent"], [style*="px none"], [style*="pt none"], [style*="em none"], [style*="px hidden"], [style*="pt hidden"], [style*="em hidden"], [border="0"]) > tr > :is(td, th):not([style*="border"]),
.page-text-article table:not(.Tdetails):is([style*="border-style: none"], [style*="border-style:none"], [style*="border-style: hidden"], [style*="border-style:hidden"], [style*="border: none"], [style*="border:none"], [style*="border: 0"], [style*="border:0"], [style*="border-width: 0"], [style*="border-width:0"], [style*="border-color: transparent"], [style*="border-color:transparent"], [style*="px none"], [style*="pt none"], [style*="em none"], [style*="px hidden"], [style*="pt hidden"], [style*="em hidden"], [border="0"]) > :is(thead, tbody, tfoot) > tr > :is(td, th):not([style*="border"]),
.page-text-article table:not(.Tdetails):is([style*="border-style: none"], [style*="border-style:none"], [style*="border-style: hidden"], [style*="border-style:hidden"], [style*="border: none"], [style*="border:none"], [style*="border: 0"], [style*="border:0"], [style*="border-width: 0"], [style*="border-width:0"], [style*="border-color: transparent"], [style*="border-color:transparent"], [style*="px none"], [style*="pt none"], [style*="em none"], [style*="px hidden"], [style*="pt hidden"], [style*="em hidden"], [border="0"]) > tr > :is(td, th):not([style*="border"]) {
    border-width: 0;
    border-bottom-width: 0;
    border-style: none;
    border-color: transparent;
}
/* Inline border removal on any table cell overrides Bootstrap .table bottom line */
.content-body table:not(.Tdetails) :is(td, th):is([style*="border-style: none"], [style*="border-style:none"], [style*="border-style: hidden"], [style*="border-style:hidden"], [style*="border: none"], [style*="border:none"], [style*="border: 0"], [style*="border:0"], [style*="border-width: 0"], [style*="border-width:0"], [style*="border-color: transparent"], [style*="border-color:transparent"], [style*="px none"], [style*="pt none"], [style*="em none"], [style*="px hidden"], [style*="pt hidden"], [style*="em hidden"]),
.page-text-article table:not(.Tdetails) :is(td, th):is([style*="border-style: none"], [style*="border-style:none"], [style*="border-style: hidden"], [style*="border-style:hidden"], [style*="border: none"], [style*="border:none"], [style*="border: 0"], [style*="border:0"], [style*="border-width: 0"], [style*="border-width:0"], [style*="border-color: transparent"], [style*="border-color:transparent"], [style*="px none"], [style*="pt none"], [style*="em none"], [style*="px hidden"], [style*="pt hidden"], [style*="em hidden"]) {
    border-width: 0;
    border-bottom-width: 0;
    border-style: none;
}
/* Preserve custom inline cell/table text colors over container defaults */
.content-body [style*="color"] p:not([style*="color"]),
.content-body [style*="color"] span:not([style*="color"]),
.content-body [style*="color"] li:not([style*="color"]),
.content-body [style*="color"] td:not([style*="color"]),
.content-body [style*="color"] th:not([style*="color"]),
.page-text-article [style*="color"] p:not([style*="color"]),
.page-text-article [style*="color"] span:not([style*="color"]),
.page-text-article [style*="color"] li:not([style*="color"]),
.page-text-article [style*="color"] td:not([style*="color"]),
.page-text-article [style*="color"] th:not([style*="color"]) {
    color: inherit;
}
/* Images inside CKEditor table cells */
.content-body figure.table :is(td, th) figure.image,
.page-text-article figure.table :is(td, th) figure.image {
    margin: 0.35em auto;
    max-width: 100%;
}
.content-body figure.table :is(td, th) img,
.page-text-article figure.table :is(td, th) img {
    max-width: 100%;
    height: auto;
}
@media (max-width: 767.98px) {
    .content-body figure.table,
    .page-text-article figure.table,
    figure.table:not([style*="float: left"]):not([style*="float:left"]):not([style*="float: right"]):not([style*="float:right"]),
    [dir="rtl"] figure.table:not([style*="float: left"]):not([style*="float:left"]):not([style*="float: right"]):not([style*="float:right"]) {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ==========================================================================
   Interactive Subpages Tabs Engine & Sister Tabs Bar (v5.89.73)
   ========================================================================== */
.bcms-tabs-bar-outer {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    gap: 8px;
}
.bcms-tabs-scroll-track {
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    width: 100%;
}
.bcms-tabs-scroll-track::-webkit-scrollbar {
    display: none;
}
.bcms-tab-pill-btn {
    background: #ffffff;
    color: #334155;
    border-color: #e2e8f0;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none !important;
}
.bcms-tab-pill-btn:hover:not(.active) {
    background: #f8fafc;
    color: var(--bs-primary, #0d6efd);
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.bcms-tab-pill-btn.active {
    background: var(--bs-primary, #0d6efd) !important;
    color: #ffffff !important;
    border-color: var(--bs-primary, #0d6efd) !important;
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.35) !important;
    transform: translateY(-2px);
}
.bcms-tab-pill-btn.active span {
    color: #ffffff !important;
}
.bcms-tab-pill-btn.active img {
    border-color: #ffffff !important;
}
.bcms-tabs-scroll-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    cursor: pointer;
    flex-shrink: 0;
    z-index: 3;
    transition: all 0.2s ease;
}
.bcms-tabs-scroll-btn:hover {
    background: var(--bs-primary, #0d6efd);
    color: #ffffff;
    border-color: var(--bs-primary, #0d6efd);
}

/* ==========================================================================
   Simple C.V. & Compact Career C.V. Portrait Sizing & Header Alignment (v5.89.88)
   ========================================================================== */
.bcms-cv-avatar-wrap {
    width: 140px;
    height: 140px;
}
.bcms-cv-avatar-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}
.bcms-cv-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}
.bcms-career-cv-thumb-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 145px;
}
.bcms-career-cv-portrait {
    display: block;
    width: auto;
    height: auto;
    max-width: 145px;
    max-height: 165px;
    object-fit: contain;
    border-radius: 12px;
    padding: 3px;
}
.bcms-career-cv-header-row {
    flex-direction: row-reverse !important;
    align-items: flex-start !important;
}
.bcms-career-cv-header-row .bcms-cv-titles-wrap {
    text-align: start;
    width: auto;
    flex: 1 1 0%;
    min-width: 0;
}
[dir="ltr"] .bcms-career-cv-header-row .bcms-cv-titles-wrap {
    text-align: left;
}
[dir="rtl"] .bcms-career-cv-header-row .bcms-cv-titles-wrap {
    text-align: right;
}
.bcms-career-cv-header-row .bcms-cv-badges-wrap {
    justify-content: flex-start;
}
.bcms-cv-titles-wrap {
    text-align: center;
    width: 100%;
    min-width: 0;
}
.bcms-cv-badges-wrap {
    justify-content: center;
}
.bcms-cv-qualification-box {
    text-align: start;
}
[dir="rtl"] .bcms-cv-qualification-box {
    text-align: right;
}
@media (min-width: 576px) {
    .bcms-cv-titles-wrap {
        text-align: left;
        width: auto;
    }
    [dir="rtl"] .bcms-cv-titles-wrap {
        text-align: right;
    }
    .bcms-cv-badges-wrap {
        justify-content: flex-start;
    }
}
@media (min-width: 768px) {
    .bcms-cv-avatar-wrap {
        width: 165px;
        height: 165px;
    }
}
.bcms-cv-career-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.bcms-cv-career-year {
    width: 1%;
    min-width: 125px;
    white-space: nowrap;
    padding: 12px 18px;
    font-size: 0.96rem;
    letter-spacing: 0.2px;
}
.bcms-cv-career-role {
    padding: 12px 18px;
    font-size: 1rem;
    line-height: 1.7;
    word-break: break-word;
}
@media (max-width: 575.98px) {
    .bcms-career-cv-thumb-wrap {
        max-width: 105px;
    }
    .bcms-career-cv-portrait {
        max-width: 105px;
        max-height: 120px;
        border-radius: 10px;
    }
    .bcms-cv-career-year {
        min-width: 90px;
        white-space: normal;
        padding: 10px 12px;
        font-size: 0.88rem;
    }
    .bcms-cv-career-role {
        padding: 10px 12px;
        font-size: 0.94rem;
    }
}

/* Lightbox Semi-Transparent Overlay Caption (v5.89.100 - 50% Transparency) */
#globalLightboxCaption,
.modal#lightboxModal .carousel-caption {
    background: rgba(0, 0, 0, 0.50) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

/* ==========================================================================
   v5.89.103: Bilingual Strict RTL/LTR Alignment & Subpage Option 10 Bottom Logo
   ========================================================================== */

/* 1. Global Lightbox & Carousel Captions Direction & Alignment */
[dir="rtl"] #globalLightboxCaption,
[dir="rtl"] #globalLightboxTitle,
[dir="rtl"] #globalLightboxDesc,
[dir="rtl"] .modal#lightboxModal .carousel-caption,
[dir="rtl"] .carousel-caption {
    direction: rtl !important;
    text-align: right !important;
}
[dir="ltr"] #globalLightboxCaption,
[dir="ltr"] #globalLightboxTitle,
[dir="ltr"] #globalLightboxDesc,
[dir="ltr"] .modal#lightboxModal .carousel-caption,
[dir="ltr"] .carousel-caption {
    direction: ltr !important;
    text-align: left !important;
}

/* 2. Cinema Stage Direction & Text Alignment */
[dir="rtl"] .cinema-stage-caption,
[dir="rtl"] .cinema-caption-backdrop,
[dir="rtl"] .cinema-stage-title,
[dir="rtl"] .cinema-stage-desc-scroll-wrap,
[dir="rtl"] .cinema-stage-desc {
    direction: rtl !important;
    text-align: right !important;
}
[dir="rtl"] .cinema-stage-desc {
    margin-right: 0 !important;
    margin-left: auto !important;
}
[dir="ltr"] .cinema-stage-caption,
[dir="ltr"] .cinema-caption-backdrop,
[dir="ltr"] .cinema-stage-title,
[dir="ltr"] .cinema-stage-desc-scroll-wrap,
[dir="ltr"] .cinema-stage-desc {
    direction: ltr !important;
    text-align: left !important;
}
[dir="ltr"] .cinema-stage-desc {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* 3. Option 7 Centered Uncropped Direction & Text Alignment */
[dir="rtl"] .bcms-gallery-centered-info,
[dir="rtl"] .bcms-gallery-centered-title,
[dir="rtl"] .bcms-gallery-centered-desc {
    direction: rtl !important;
    text-align: right !important;
    align-items: stretch !important;
}
[dir="rtl"] .bcms-gallery-centered-title,
[dir="rtl"] .bcms-gallery-centered-desc {
    width: 100% !important;
}
[dir="ltr"] .bcms-gallery-centered-info,
[dir="ltr"] .bcms-gallery-centered-title,
[dir="ltr"] .bcms-gallery-centered-desc {
    direction: ltr !important;
    text-align: left !important;
    align-items: stretch !important;
}
[dir="ltr"] .bcms-gallery-centered-title,
[dir="ltr"] .bcms-gallery-centered-desc {
    width: 100% !important;
}

/* 4. Attached Files Direction & Alignment */
[dir="rtl"] #bcms-attached-files,
[dir="rtl"] .attachment-card,
[dir="rtl"] .doc-sheet,
[dir="rtl"] .bcms-tab-attached-files {
    direction: rtl !important;
    text-align: right !important;
}
[dir="ltr"] #bcms-attached-files,
[dir="ltr"] .attachment-card,
[dir="ltr"] .doc-sheet,
[dir="ltr"] .bcms-tab-attached-files {
    direction: ltr !important;
    text-align: left !important;
}

/* 5. Embedded Video Direction & Alignment */
[dir="rtl"] .bcms-project-video-section,
[dir="rtl"] .project_video,
[dir="rtl"] .bcms-tab-project-video {
    direction: rtl !important;
    text-align: right !important;
}
[dir="ltr"] .bcms-project-video-section,
[dir="ltr"] .project_video,
[dir="ltr"] .bcms-tab-project-video {
    direction: ltr !important;
    text-align: left !important;
}

/* 6. Subpage Option 10: Rollover Logo at Bottom of Picture */
.bcms-layout-photo-distort .bcms-laser-rollover-logo {
    top: auto !important;
    bottom: 12px !important;
    right: 14px !important;
    left: auto !important;
    z-index: 6 !important;
}
[dir="rtl"] .bcms-layout-photo-distort .bcms-laser-rollover-logo {
    right: auto !important;
    left: 14px !important;
}
.bcms-layout-photo-distort.bcms-distort-size-compact .bcms-laser-rollover-logo,
.bcms-layout-photo-distort.bcms-distort-size-five .bcms-laser-rollover-logo {
    width: 36px;
    height: 36px;
    bottom: 8px !important;
    border-radius: 9px;
    padding: 4px;
}
.bcms-layout-photo-distort.bcms-distort-size-compact .bcms-laser-rollover-logo {
    right: 10px !important;
}
[dir="rtl"] .bcms-layout-photo-distort.bcms-distort-size-compact .bcms-laser-rollover-logo {
    left: 10px !important;
    right: auto !important;
}
.bcms-layout-photo-distort.bcms-distort-size-five .bcms-laser-rollover-logo {
    right: 8px !important;
}
[dir="rtl"] .bcms-layout-photo-distort.bcms-distort-size-five .bcms-laser-rollover-logo {
    left: 8px !important;
    right: auto !important;
}

/* Option 10 Text Container Padding Clearance for Bottom Logo */
.bcms-layout-photo-distort .bcms-distort-content {
    padding-right: 66px !important;
    padding-left: 15px !important;
    direction: ltr !important;
    text-align: left !important;
}
[dir="rtl"] .bcms-layout-photo-distort .bcms-distort-content {
    padding-left: 66px !important;
    padding-right: 15px !important;
    direction: rtl !important;
    text-align: right !important;
}
.bcms-layout-photo-distort.bcms-distort-size-compact .bcms-distort-content {
    padding-right: 50px !important;
    padding-left: 12px !important;
}
[dir="rtl"] .bcms-layout-photo-distort.bcms-distort-size-compact .bcms-distort-content {
    padding-left: 50px !important;
    padding-right: 12px !important;
}
.bcms-layout-photo-distort.bcms-distort-size-five .bcms-distort-content {
    padding-right: 48px !important;
    padding-left: 10px !important;
}
[dir="rtl"] .bcms-layout-photo-distort.bcms-distort-size-five .bcms-distort-content {
    padding-left: 48px !important;
    padding-right: 10px !important;
}

[dir="rtl"] .bcms-distort-title {
    direction: rtl !important;
    text-align: right !important;
}
[dir="ltr"] .bcms-distort-title {
    direction: ltr !important;
    text-align: left !important;
}

/* ==========================================================================
   Top News Bar & News Article Styles (v5.89.106)
   ========================================================================== */
.bcms-top-newsbar-strip {
    z-index: 1045;
    position: relative;
}
.bcms-top-newsbar-strip .news-ticker a:hover {
    text-decoration: underline !important;
}
.bcms-top-newsbar-strip .badge {
    letter-spacing: 0.3px;
}
.bcms-news-article-wrap .ratio,
.bcms-project-video-section .ratio,
.project_description.project_video .ratio,
.bcms-tab-project-video .ratio {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    min-height: 280px !important;
    background: #000000 !important;
}
.bcms-news-article-wrap .ratio iframe,
.bcms-news-article-wrap .ratio video,
.bcms-project-video-section .ratio iframe,
.bcms-project-video-section .ratio video,
.project_description.project_video .ratio iframe,
.project_description.project_video .ratio video,
.bcms-tab-project-video .ratio iframe,
.bcms-tab-project-video .ratio video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
}



