/* Event share buttons */
.bamac-share-buttons {
    float: none;
    width: 100%;
    margin-top: 16px;
    clear: both;
}

.bamac-share-buttons__heading {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.bamac-share-buttons__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.bamac-share-buttons__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #dedede;
    border-radius: 50%;
    background: #fff;
    color: #666;
    font-size: 17px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.bamac-share-buttons__btn:hover {
    transform: translateY(-1px);
}

.bamac-share-buttons__btn--whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.bamac-share-buttons__btn--facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.bamac-share-buttons__btn--twitter:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

.bamac-share-buttons__btn--native:hover,
.bamac-share-buttons__btn--copy:hover {
    background: #703e22;
    border-color: #703e22;
    color: #fff;
}

.bamac-share-buttons--compact {
    margin-top: 12px;
}

.bamac-share-buttons--compact .bamac-share-buttons__heading {
    margin-bottom: 8px;
    font-size: 13px;
}

.bamac-share-buttons--compact .bamac-share-buttons__btn {
    width: 36px;
    height: 36px;
    font-size: 15px;
}

.bamac-share-buttons--compact .bamac-share-buttons__actions {
    gap: 8px;
}

.bamac-share-buttons--detail {
    margin-top: 0;
}

.bamac-share-buttons--detail .bamac-share-buttons__heading {
    font-size: 15px;
    color: #00468c;
    margin-bottom: 14px;
}

.bamac-share-buttons--detail .bamac-share-buttons__btn {
    width: 46px;
    height: 46px;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.bamac-share-buttons--detail .bamac-share-buttons__actions {
    gap: 12px;
}

.gc_upcoming_event_left_wrapper .bamac-share-buttons {
    margin-top: 18px;
    padding-left: 8px;
}

/* Homepage + listing event cards */
.gc_upcom_slider_wrapper .bamac-share-buttons {
    margin-top: 18px;
    padding: 4px 40px 0;
    box-sizing: border-box;
}

.gc_upcom_slider_wrapper .bamac-share-buttons__heading {
    font-weight: 600;
}

.gc_upcom_slider_wrapper:hover .bamac-share-buttons__heading {
    color: #fff;
}

.gc_upcom_slider_wrapper:hover .bamac-share-buttons__btn {
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.gc_upcom_slider_wrapper:hover .bamac-share-buttons__btn:hover {
    background: #fff;
    color: #703e22;
    border-color: #fff;
}

@media (max-width: 767px) {
    .gc_upcom_slider_wrapper .bamac-share-buttons {
        padding-left: 28px;
        padding-right: 28px;
    }
}

@media (max-width: 410px) {
    .gc_upcom_slider_wrapper .bamac-share-buttons {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 14px;
    }
}

/* Event detail page */
.bamac-event-detail-meta,
.bamac-event-detail-body {
    float: left;
    width: 100%;
    padding-top: 40px !important;
}

.bamac-event-detail-meta ul {
    margin-top: 24px;
}

.bamac-event-detail-meta p,
.bamac-event-detail-body p {
    padding-top: 20px !important;
    float: none !important;
    margin-bottom: 0;
    line-height: 1.7;
}

.bamac-event-detail-body p {
    padding-top: 0 !important;
}

@media (min-width: 992px) {
    .bamac-event-detail-meta,
    .bamac-event-detail-body {
        padding-top: 60px !important;
    }
}

.bamac-event-detail-share {
    clear: both;
    width: 100%;
    margin-top: 24px;
    padding: 22px 24px;
    background: #f8f8f8;
    border: 1px solid #ececec;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .bamac-event-detail-meta,
    .bamac-event-detail-body {
        padding-top: 28px !important;
    }

    .bamac-event-detail-body {
        margin-top: 8px;
    }

    .bamac-event-detail-share {
        margin-top: 16px;
        padding: 18px 16px;
    }
}

/* Partner / supporter logos */
.bamac-partner-desktop {
    display: none;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
}

.bamac-partner-mobile {
    display: block;
}

.bamac-partner-slider .item {
    border: none;
    float: none;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
}

.bamac-partner-slider .owl-stage-outer {
    padding: 4px 0;
}

.bamac-partner-slider .bamac-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 96px;
    padding: 14px 18px;
    border: 2px solid #f3f3f3;
    background: #fff;
}

@media (min-width: 992px) {
    .bamac-partner-desktop {
        display: flex;
    }

    .bamac-partner-mobile {
        display: none !important;
    }

    .bamac-partner-desktop .bamac-partner-logo {
        flex: 0 0 auto;
        width: 20%;
        max-width: 220px;
    }

    .bamac-partner-desktop .bamac-partner-logo + .bamac-partner-logo {
        border-left: none;
    }
}

.bamac-partner-slider .bamac-partner-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.bamac-partner-slider .bamac-partner-logo img {
    max-width: 100%;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.65;
    transition: opacity 0.3s ease;
}

.bamac-partner-slider .bamac-partner-logo a:hover img,
.bamac-partner-slider .bamac-partner-logo img:hover {
    opacity: 1;
}

.bamac-partner-slider .owl-theme .owl-nav {
    display: block;
}

@media (max-width: 575px) {
    .bamac-partner-slider .bamac-partner-logo {
        min-height: 84px;
        padding: 12px 14px;
    }

    .bamac-partner-slider .bamac-partner-logo img {
        max-height: 56px;
    }
}

/* Homepage testimonial avatars */
.bamac-testimonial-avatar {
    float: left;
    width: 70px;
    height: 70px;
}

.bamac-testimonial-avatar__photo,
.bamac-testimonial-avatar__initial {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: block;
}

.bamac-testimonial-avatar__photo {
    object-fit: cover;
}

.bamac-testimonial-avatar__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #703e22;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.bamac-testimonial-avatar__initial--hidden {
    display: none !important;
}

/* Footer developer credit */
.bamac-developed-by {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.gc_bottom_footer_main_wrapper .bamac-developed-by {
    color: #666;
}

.bamac-developed-by a {
    color: #703e22;
    font-weight: 600;
    text-decoration: none;
}

.bamac-developed-by a:hover {
    color: #5a321b;
    text-decoration: underline;
}

.footer .bamac-developed-by {
    color: var(--ct-footer-color, #98a6ad);
    font-size: 13px;
}

.footer .bamac-developed-by a {
    color: var(--ct-primary, #703e22);
}

.footer .footer-links a + a {
    margin-left: 1rem;
}

/* Inner page breadcrumbs — prevent truncation on smaller screens */
.bamac-page-breadcrumb ul {
    float: none !important;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    max-width: 100%;
    gap: 4px 12px;
}

.bamac-page-breadcrumb ul li {
    float: none !important;
    margin-left: 0 !important;
    white-space: nowrap;
}

.bamac-page-breadcrumb__current {
    color: #703e22;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 767px) {
    .gc_main_tittle_side_nav {
        text-align: left;
        margin-top: 12px;
    }

    .bamac-page-breadcrumb ul {
        justify-content: flex-start;
        padding-left: 40px;
        padding-right: 20px;
    }
}

/* Member attendance consistency */
.member-attendance-hero {
    border-width: 2px !important;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.06);
}

.member-attendance-ring {
    --size: 150px;
    --track: rgba(0, 0, 0, 0.08);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background:
        radial-gradient(closest-side, var(--ct-body-bg, #fff) 78%, transparent 80% 100%),
        conic-gradient(var(--ring-color, var(--ct-primary)) calc(var(--rate) * 1%), var(--track) 0);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.member-attendance-ring--compact {
    --size: 96px;
}

.member-dashboard-consistency .card-body {
    padding: 1rem 1.15rem;
}

.member-dashboard-consistency .header-title {
    font-size: 1rem;
}

.member-dashboard-consistency .member-attendance-ring__inner h2 {
    font-size: 1.35rem;
}

.member-dashboard-consistency .member-attendance-timeline__item {
    width: 34px;
    height: 34px;
    font-size: 1rem;
}

.member-dashboard-quick-link .card-body {
    padding: 0.85rem 0.5rem;
}

.member-dashboard-quick-link .widget-icon-box-avatar {
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
}

.member-attendance-ring__inner {
    text-align: center;
}

.member-attendance-timeline__item {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: rgba(var(--ct-body-color-rgb, 0, 0, 0), 0.04);
    border: 2px solid currentColor;
    transition: transform 0.2s ease;
}

.member-attendance-timeline__item:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Member portal login */
.bamac-member-login-section {
    float: left;
    width: 100%;
    background: #f3f3f3;
    margin-top: -48px;
    padding: 0 0 80px;
    position: relative;
    z-index: 2;
}

.bamac-member-login-section .alert {
    margin-bottom: 1.25rem;
}

.bamac-member-login-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem 2.25rem;
}

.bamac-member-login-card__header {
    margin-bottom: 1.75rem;
}

.bamac-member-login-card h4 {
    color: #703e22;
    font-weight: 600;
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
}

.bamac-member-login-card__subtitle {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.bamac-member-login-form {
    margin-top: 0.25rem;
}

.bamac-member-login-field {
    margin-bottom: 1.5rem;
}

.bamac-member-login-card .form-label {
    display: block;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.55rem;
}

.bamac-member-login-card .form-control {
    min-height: 48px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    border-radius: 6px;
    border-color: #d8d8d8;
}

.bamac-member-login-card .form-control::placeholder {
    color: #adb5bd;
}

.bamac-member-login-card .form-control:focus {
    border-color: #703e22;
    box-shadow: 0 0 0 0.2rem rgba(112, 62, 34, 0.12);
}

.bamac-member-login-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.75rem;
    padding-left: 0.15rem;
}

.bamac-member-login-remember .form-check-input {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    float: none;
}

.bamac-member-login-remember .form-check-label {
    margin: 0;
    color: #555;
    font-size: 0.92rem;
    line-height: 1.4;
}

.bamac-member-login-card .form-check-input:checked {
    background-color: #703e22;
    border-color: #703e22;
}

.bamac-member-login-card .form-check-input:focus {
    border-color: #703e22;
    box-shadow: 0 0 0 0.2rem rgba(112, 62, 34, 0.25);
}

.bamac-member-login-card .invalid-feedback {
    margin-top: 0.45rem;
    font-size: 0.85rem;
}

.bamac-member-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 52px;
    margin-top: 0.25rem;
    background: #703e22;
    color: #fff;
    border: 2px solid #703e22;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
}

.bamac-member-login-btn:hover,
.bamac-member-login-btn:focus {
    background: transparent;
    color: #703e22;
    border-color: #703e22;
    box-shadow: none;
}

.bamac-member-login-btn__loading {
    display: none;
    align-items: center;
    gap: 0.45rem;
}

.bamac-member-login-btn.is-loading {
    opacity: 0.92;
    cursor: wait;
    pointer-events: none;
}

.bamac-member-login-btn.is-loading .bamac-member-login-btn__label {
    display: none;
}

.bamac-member-login-btn.is-loading .bamac-member-login-btn__loading {
    display: inline-flex;
}

.bamac-member-login-btn.is-loading:hover,
.bamac-member-login-btn.is-loading:focus {
    background: #703e22;
    color: #fff;
    border-color: #703e22;
}

/* TikTok icon (Font Awesome 4 does not include it) */
.fa-tiktok:before {
    content: "";
    display: inline-block;
    width: 0.95em;
    height: 0.95em;
    vertical-align: -0.1em;
    background-color: currentColor;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M448 209.91a210.06 210.06 0 0 1 -122.77-39.25v178.72A162.55 162.55 0 1 1 185 188.31v89.89a74.62 74.62 0 1 0 52.23 71.18V0h88a121.18 121.18 0 0 0 1.86 22.17A122.18 122.18 0 0 0 381 102.39a121.43 121.43 0 0 0 67 20.14z'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M448 209.91a210.06 210.06 0 0 1 -122.77-39.25v178.72A162.55 162.55 0 1 1 185 188.31v89.89a74.62 74.62 0 1 0 52.23 71.18V0h88a121.18 121.18 0 0 0 1.86 22.17A122.18 122.18 0 0 0 381 102.39a121.43 121.43 0 0 0 67 20.14z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* Header CTA button (Member Portal / Join Us) — brand brown */
.gc_right_menu ul > li .gc_btn {
    background-color: #703e22 !important;
    border-color: #703e22 !important;
    color: #ffffff !important;
}

.gc_right_menu > ul > li .gc_btn:hover {
    background-color: #ffffff !important;
    border-color: #703e22 !important;
    color: #703e22 !important;
}

/* Homepage countdown session label */
.bamac-countdown-session-label {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.wd_timer_wrapper .bamac-countdown-session-label {
    color: #703e22;
    text-align: center;
}

.gc_slider_img_section .owl-theme .owl-nav {
    display: none !important;
}

/* Event listing cards — match template image column (285px) */
.gc_upcom_slider_wrapper .gc_com_slider_img_wrapper {
    width: 285px;
    max-width: 100%;
}

.gc_upcom_slider_wrapper .gc_com_slider_img_wrapper img {
    width: 100% !important;
    height: auto;
    display: block;
}

/* Event time banner — background on text row so width follows content */
.gc_upcom_slider_wrapper .gc_com_slider_cont_wrapper,
.gc_upcom_slider_wrapper .gc_com_slider_cont,
.gc_upcom_slider_wrapper .gc_event_time_main_wrapper,
.gc_upcom_slider_wrapper .gc_com_slider_time_wrapper,
.gc_upcom_slider_wrapper .bamac-event-time-banner-shell {
    overflow: visible !important;
}

.gc_upcom_slider_wrapper .bamac-event-time-banner-shell {
    display: inline-block;
    position: relative;
    max-width: 100%;
    margin-left: 18px;
    vertical-align: top;
}

.gc_upcom_slider_wrapper .bamac-event-time-banner-shell .gc_event_time {
    display: none !important;
}

.gc_upcom_slider_wrapper .bamac-event-time-banner-shell .gc_event_time_cont {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    min-width: 130px;
    min-height: 35px;
    margin: 0;
    padding: 9px 18px 9px 0;
    box-sizing: border-box;
    background: #703e22 !important;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.gc_upcom_slider_wrapper .bamac-event-time-banner-shell .gc_event_time_cont::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-right: 18px solid #703e22;
}

.gc_upcom_slider_wrapper .bamac-event-time-banner-shell .gc_event_time_cont i {
    float: none !important;
    margin: 0 0 0 12px !important;
    flex-shrink: 0;
    color: #ffffff !important;
    font-size: 10px;
}

.gc_upcom_slider_wrapper .bamac-event-time-banner-shell .gc_event_time_cont p {
    float: none !important;
    margin: 0 !important;
    padding: 0 0 0 8px !important;
    color: #ffffff !important;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.gc_upcom_slider_wrapper:hover .bamac-event-time-banner-shell .gc_event_time_cont {
    background: #ffffff !important;
}

.gc_upcom_slider_wrapper:hover .bamac-event-time-banner-shell .gc_event_time_cont::before {
    border-right-color: #ffffff;
}

.gc_upcom_slider_wrapper:hover .bamac-event-time-banner-shell .gc_event_time_cont i,
.gc_upcom_slider_wrapper:hover .bamac-event-time-banner-shell .gc_event_time_cont p {
    color: #703e22 !important;
}

@media (max-width: 575px) {
    .gc_upcom_slider_wrapper .bamac-event-time-banner-shell .gc_event_time_cont p {
        white-space: normal;
        font-size: 11px;
    }
}

/* Footer column headings — keep underline accents below the title when text wraps */
.gc_footer_news h3 {
    padding-bottom: 22px;
}

.gc_footer_news h3::after,
.gc_footer_news h3::before {
    top: auto;
    bottom: auto;
    left: 0;
    height: 0;
    border: none;
    border-bottom: 1px solid #703e22;
}

.gc_footer_news h3::after {
    top: calc(100% - 14px);
    width: 40px;
}

.gc_footer_news h3::before {
    top: calc(100% - 6px);
    width: 80px;
}

/* YouTube background videos (hero, footer, member login) */
.bamac-youtube-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bamac-youtube-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    border: 0;
}

.bamac-youtube-bg--dim iframe {
    opacity: 0.35;
}

.gc_hero_slide--video,
.bamac-media-bg--video {
    overflow: hidden;
}

.gc_hero_slide--video .bamac-youtube-bg,
.bamac-media-bg--video .bamac-youtube-bg {
    z-index: 0;
}

.gc_hero_slide--video .gc_slider_overlay,
.bamac-media-bg--video .gc_footer_img_overlay {
    z-index: 1;
}

.gc_hero_slide--video .gc_slider_cont1_wrapper {
    position: relative;
    z-index: 2;
}

.bamac-media-bg--video > .container {
    position: relative;
    z-index: 2;
}

/* Choir leadership page */
.bamac-leadership-page {
    float: left;
    width: 100%;
    padding: 60px 0 100px;
}

.bamac-leadership-page__intro {
    margin-bottom: 10px;
}

/* Choir leadership grid */
.bamac-leaders-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin-top: 50px;
    width: 100%;
}

.bamac-leader-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e1e1e1;
    text-align: center;
    height: 100%;
}

.bamac-leader-card__photo {
    overflow: hidden;
    background: #f5f5f5;
}

.bamac-leader-card__photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.bamac-leader-card__body {
    flex: 1 1 auto;
    padding: 22px 16px 28px;
}

.bamac-leader-card__role {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: #333;
    line-height: 1.4;
}

.bamac-leader-card__name {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
    color: #703e22;
    font-weight: 600;
    word-wrap: break-word;
}

.bamac-leader-card__name::after {
    content: '';
    display: block;
    width: 70px;
    height: 0;
    border-bottom: 1px solid #703e22;
    margin: 14px auto 0;
}

@media (max-width: 1199px) {
    .bamac-leaders-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .bamac-leaders-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .bamac-leader-card__photo img {
        height: 220px;
    }
}

@media (max-width: 575px) {
    .bamac-leaders-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Twitter quote bar — stop overlapping the footer */
.gc_twitter_wrapper {
    padding-top: 60px !important;
    padding-bottom: 50px !important;
}

.tc_twtfd_wrapper {
    margin-top: 0 !important;
    top: 0 !important;
    position: relative !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.gc_twitter_wrapper + .gc_footer_main_wrapper {
    margin-top: 0;
    padding-top: 100px !important;
}

@media (max-width: 767px) {
    .gc_twitter_wrapper {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .tc_twtfd_wrapper {
        margin-bottom: 0 !important;
        padding-top: 30px !important;
        padding-bottom: 35px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .gc_twitter_wrapper + .gc_footer_main_wrapper {
        padding-top: 70px !important;
    }
}

/* Map / contact block — gap between info panel, map, and footer */
.gc_map_main_wrapper {
    padding-top: 40px;
    padding-bottom: 100px;
    margin-bottom: 60px;
}

.gc_map_main_wrapper .gc_get_box_wrapper {
    top: 0;
    width: 48%;
}

.gc_map_main_wrapper .gc_right_map_main_wrapper {
    top: 0;
    width: 48%;
    float: right;
}

@media (max-width: 991px) {
    .gc_map_main_wrapper .gc_get_box_wrapper,
    .gc_map_main_wrapper .gc_right_map_main_wrapper {
        width: 100%;
        float: left;
    }

    .gc_map_main_wrapper .gc_right_map_main_wrapper {
        margin-top: 30px;
    }
}

/* Homepage featured video actions */
.bamac-featured-video-actions ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding: 0;
    list-style: none;
}

.bamac-featured-video-actions li {
    float: none;
    margin: 0;
}

.bamac-featured-video-actions li a {
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 150px;
    height: 50px;
    padding: 0 24px;
    line-height: 1;
}

/* About page — static story image (no carousel) */
.bamac-about-static-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Choir videos page */
.bamac-video-show {
    float: left;
    width: 100%;
    padding: 50px 0 30px;
    background: #f8f8f8;
}

.bamac-video-show__embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.bamac-video-show__embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.bamac-video-show__details {
    margin-top: 30px;
}

.bamac-video-show__description {
    margin-top: 12px;
    line-height: 1.75;
}

.bamac-video-show__views {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
    font-size: 15px;
    color: #666;
}

.bamac-video-show__views i {
    color: #703e22;
}

.bamac-video-show__description p:last-child {
    margin-bottom: 0;
}

.bamac-video-show__description ul,
.bamac-video-show__description ol {
    padding-left: 1.25rem;
}

.bamac-youtube-engagement {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.bamac-youtube-engagement__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: #703e22;
    border: 2px solid #703e22;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.bamac-youtube-engagement__btn:hover {
    background: #5a321b;
    border-color: #5a321b;
    color: #fff;
}

.bamac-youtube-engagement__btn--outline {
    background: #fff;
    color: #703e22;
}

.bamac-youtube-engagement__btn--outline:hover {
    background: #703e22;
    color: #fff;
}

.bamac-youtube-engagement__btn--subscribe {
    background: #c4302b;
    border-color: #c4302b;
}

.bamac-youtube-engagement__btn--subscribe:hover {
    background: #a32824;
    border-color: #a32824;
    color: #fff;
}

/* Videos listing grid */
.bamac-ministrations-page .bamac-ministrations-page__inner {
    max-width: 1320px;
    padding-left: 24px;
    padding-right: 24px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.bamac-ministrations-page .gc_event_index_heading_wrapper {
    margin-bottom: 8px;
}

.bamac-ministrations-page .bamac-videos-grid {
    display: flex !important;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 8px;
    float: none !important;
    width: auto !important;
}

.bamac-ministrations-page .bamac-videos-grid::before,
.bamac-ministrations-page .bamac-videos-grid::after {
    display: none !important;
}

.bamac-ministrations-page .bamac-videos-grid__item {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 10px 20px;
    box-sizing: border-box;
    float: none !important;
    display: flex;
    min-width: 0;
}

.bamac-ministrations-page .bamac-videos-grid__empty {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    padding: 32px 16px;
    color: #666;
}

/* Ministrations page — search toolbar & pagination */
.bamac-ministrations-page.gc_event_index_main_wrapper {
    padding-top: 70px;
    padding-bottom: 70px;
}

.bamac-ministrations-page .gc_event_index_content {
    float: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

.bamac-ministrations-page .gc_event_index_heading {
    display: block;
    width: 100%;
    padding-bottom: 36px;
}

.bamac-ministrations-page .bamac-videos-toolbar {
    float: none !important;
    width: 100%;
    max-width: 760px;
    margin: 0 auto 34px;
    clear: both;
}

.bamac-ministrations-page .bamac-videos-toolbar__inner {
    position: relative;
    padding: 28px 28px 24px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(112, 62, 34, 0.08) 0%, rgba(0, 70, 140, 0.06) 100%),
        #fff;
    border: 1px solid rgba(112, 62, 34, 0.16);
    box-shadow:
        0 18px 40px rgba(112, 62, 34, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    overflow: hidden;
}

.bamac-ministrations-page .bamac-videos-toolbar__inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #703e22 0%, #00468c 100%);
}

.bamac-ministrations-page .bamac-videos-toolbar__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: #00468c;
    font-family: 'Lato', sans-serif;
    float: none !important;
}

.bamac-ministrations-page .bamac-videos-toolbar__label i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #703e22;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.bamac-ministrations-page .bamac-videos-toolbar__field {
    position: relative;
    float: none !important;
    width: 100% !important;
}

.bamac-ministrations-page input.bamac-videos-toolbar__input {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 58px;
    margin: 0 !important;
    padding: 0 54px 0 22px !important;
    border: 2px solid rgba(112, 62, 34, 0.18) !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #222 !important;
    font-size: 16px !important;
    line-height: normal !important;
    font-family: 'Lato', sans-serif !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05) !important;
    display: block !important;
    box-sizing: border-box !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.bamac-ministrations-page input.bamac-videos-toolbar__input::placeholder {
    color: #999;
    opacity: 1;
}

.bamac-ministrations-page input.bamac-videos-toolbar__input:focus {
    outline: none !important;
    border-color: #703e22 !important;
    box-shadow: 0 0 0 4px rgba(112, 62, 34, 0.15), 0 10px 24px rgba(112, 62, 34, 0.12) !important;
}

.bamac-ministrations-page .bamac-videos-toolbar__clear {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    background: rgba(112, 62, 34, 0.1);
    color: #703e22;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.bamac-ministrations-page .bamac-videos-toolbar__clear:hover {
    background: #703e22;
    color: #fff;
}

.bamac-ministrations-page .bamac-videos-toolbar__clear[hidden] {
    display: none !important;
}

.bamac-ministrations-page .bamac-videos-toolbar__hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    font-size: 13px;
    color: #666;
    float: none !important;
}

.bamac-ministrations-page .bamac-videos-toolbar__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.5);
    animation: bamac-search-pulse 1.8s infinite;
}

@keyframes bamac-search-pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.45); }
    70% { box-shadow: 0 0 0 8px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

.bamac-ministrations-page #bamac-videos-results.is-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.bamac-ministrations-page .bamac-videos-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 0 0 26px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(0, 70, 140, 0.06);
    color: #00468c;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
}

.bamac-ministrations-page .bamac-videos-status--search {
    background: rgba(112, 62, 34, 0.08);
    color: #703e22;
}

.bamac-ministrations-page .bamac-videos-status i {
    font-size: 14px;
}

.bamac-ministrations-page .bamac-videos-pagination {
    display: flex;
    justify-content: center;
    margin: 36px 0 20px;
    float: none !important;
    clear: both;
}

.bamac-ministrations-page .bamac-pager {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(112, 62, 34, 0.14);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    float: none !important;
    margin: 0 !important;
    max-width: 100%;
    box-sizing: border-box;
}

.bamac-ministrations-page .bamac-pager a,
.bamac-ministrations-page .bamac-pager span {
    float: none !important;
    margin: 0 !important;
}

/* Legacy theme pagination (if old markup is still cached on production) */
.bamac-ministrations-page .bamac-videos-pagination .pagination {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    float: none !important;
    width: 100% !important;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bamac-ministrations-page .bamac-videos-pagination .pagination > li {
    float: none !important;
    display: block;
    margin: 0 !important;
}

.bamac-ministrations-page .bamac-videos-pagination .pagination > li > a,
.bamac-ministrations-page .bamac-videos-pagination .pagination > li > span {
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 44px !important;
    height: 44px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.bamac-ministrations-page .bamac-videos-pagination .pagination > li:first-child > a,
.bamac-ministrations-page .bamac-videos-pagination .pagination > li:first-child > span,
.bamac-ministrations-page .bamac-videos-pagination .pagination > li:last-child > a,
.bamac-ministrations-page .bamac-videos-pagination .pagination > li:last-child > span {
    width: auto !important;
    min-width: 88px !important;
    margin: 0 !important;
}

.bamac-ministrations-page .bamac-pager__pages {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bamac-ministrations-page .bamac-pager__nav,
.bamac-ministrations-page .bamac-pager__page,
.bamac-ministrations-page .bamac-pager__dots {
    float: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.bamac-ministrations-page .bamac-pager__nav {
    gap: 8px;
    color: #703e22 !important;
    background: rgba(112, 62, 34, 0.08);
    border: 1px solid rgba(112, 62, 34, 0.12);
}

.bamac-ministrations-page .bamac-pager__nav:hover {
    background: #703e22;
    color: #fff !important;
    border-color: #703e22;
    transform: translateY(-1px);
}

.bamac-ministrations-page .bamac-pager__nav--disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.bamac-ministrations-page .bamac-pager__page {
    min-width: 44px;
    width: 44px;
    padding: 0;
    color: #00468c !important;
    background: #fff;
    border: 1px solid rgba(0, 70, 140, 0.15);
}

.bamac-ministrations-page .bamac-pager__page:hover {
    background: rgba(0, 70, 140, 0.08);
    border-color: #00468c;
    color: #00468c !important;
}

.bamac-ministrations-page .bamac-pager__page.is-active {
    background: linear-gradient(135deg, #703e22 0%, #8b5128 100%);
    color: #fff !important;
    border-color: #703e22;
    box-shadow: 0 8px 18px rgba(112, 62, 34, 0.28);
}

.bamac-ministrations-page .bamac-pager__dots {
    min-width: auto;
    padding: 0 6px;
    color: #999;
    background: transparent;
    border: 0;
}

@media (max-width: 1199px) {
    .bamac-ministrations-page .bamac-videos-grid__item {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 991px) {
    .bamac-ministrations-page .bamac-videos-grid__item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .bamac-ministrations-page.gc_event_index_main_wrapper {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .bamac-ministrations-page .gc_event_index_heading h1 {
        font-size: 28px;
    }

    .bamac-ministrations-page .gc_event_index_heading h1::before,
    .bamac-ministrations-page .gc_event_index_heading h1::after {
        width: 72px;
    }

    .bamac-ministrations-page .gc_event_index_heading h1::after {
        margin-top: 14px;
    }

    .bamac-ministrations-page .gc_event_index_heading h1::before {
        margin-top: 18px;
    }

    .bamac-ministrations-page .gc_event_index_heading_wrapper {
        margin-bottom: 10px;
    }

    .bamac-ministrations-page .bamac-videos-toolbar {
        margin-bottom: 22px;
    }

    .bamac-ministrations-page .bamac-videos-toolbar__inner {
        padding: 20px 16px 16px;
        border-radius: 14px;
    }

    .bamac-ministrations-page .bamac-videos-toolbar__label {
        font-size: 14px;
        gap: 8px;
    }

    .bamac-ministrations-page input.bamac-videos-toolbar__input {
        height: 50px;
        padding-right: 48px !important;
    }

    .bamac-ministrations-page .bamac-videos-status {
        font-size: 13px;
        padding: 10px 14px;
        border-radius: 12px;
    }

    .bamac-ministrations-page .bamac-videos-pagination {
        margin: 28px 0 10px;
        width: 100%;
        padding: 0;
    }

    .bamac-ministrations-page .bamac-pager {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        border-radius: 14px;
        padding: 8px;
        gap: 6px;
    }

    .bamac-ministrations-page .bamac-pager__pages {
        flex: 0 1 auto;
        gap: 4px;
        min-width: 0;
    }

    .bamac-ministrations-page .bamac-pager__nav {
        flex: 1 1 0;
        min-width: 42px;
        height: 42px;
        padding: 0 10px !important;
        font-size: 12px;
    }

    .bamac-ministrations-page .bamac-pager__page,
    .bamac-ministrations-page .bamac-pager__page.is-active {
        width: 38px;
        min-width: 38px;
        height: 38px;
        flex-shrink: 0;
    }

    .bamac-ministrations-page .bamac-videos-pagination .pagination {
        flex-wrap: nowrap;
        gap: 6px;
        padding: 8px;
        border-radius: 14px;
        background: #fff;
        border: 1px solid rgba(112, 62, 34, 0.14);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
        box-sizing: border-box;
    }

    .bamac-ministrations-page .bamac-videos-pagination .pagination > li > a,
    .bamac-ministrations-page .bamac-videos-pagination .pagination > li > span {
        min-width: 38px !important;
        height: 38px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }

    .bamac-ministrations-page .bamac-videos-pagination .pagination > li:first-child > a,
    .bamac-ministrations-page .bamac-videos-pagination .pagination > li:first-child > span,
    .bamac-ministrations-page .bamac-videos-pagination .pagination > li:last-child > a,
    .bamac-ministrations-page .bamac-videos-pagination .pagination > li:last-child > span {
        min-width: 64px !important;
        flex: 1 1 0;
    }
}

@media (max-width: 575px) {
    .bamac-ministrations-page .bamac-ministrations-page__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .bamac-ministrations-page .bamac-videos-grid__item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .bamac-ministrations-page .bamac-videos-toolbar__hint {
        font-size: 12px;
    }

    .bamac-ministrations-page .bamac-pager__nav span {
        display: none;
    }

    .bamac-ministrations-page .bamac-pager__nav {
        flex: 0 0 42px;
        min-width: 42px;
        max-width: 42px;
        padding: 0 !important;
        justify-content: center;
    }

    .bamac-ministrations-page .bamac-videos-pagination .pagination > li:first-child > a,
    .bamac-ministrations-page .bamac-videos-pagination .pagination > li:first-child > span,
    .bamac-ministrations-page .bamac-videos-pagination .pagination > li:last-child > a,
    .bamac-ministrations-page .bamac-videos-pagination .pagination > li:last-child > span {
        min-width: 42px !important;
        max-width: 42px !important;
        padding: 0 !important;
        font-size: 0 !important;
    }

    .bamac-ministrations-page .bamac-videos-pagination .pagination > li:first-child > a::before {
        content: '\2039';
        font-size: 18px;
        line-height: 1;
    }

    .bamac-ministrations-page .bamac-videos-pagination .pagination > li:last-child > a::after {
        content: '\203A';
        font-size: 18px;
        line-height: 1;
    }
}

@media (max-width: 480px) {
    .bamac-ministrations-page .gc_event_index_heading h2 {
        font-size: 24px;
    }

    .bamac-ministrations-page .gc_event_index_heading h1 {
        font-size: 24px;
    }
}

.bamac-ministrations-page .bamac-video-card {
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    float: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.bamac-ministrations-page .bamac-video-card:hover {
    box-shadow: 0 6px 18px rgba(112, 62, 34, 0.14);
    transform: translateY(-2px);
}

.bamac-ministrations-page .bamac-video-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}

.bamac-ministrations-page .bamac-video-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    float: none !important;
}

.bamac-ministrations-page .bamac-video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(112, 62, 34, 0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    padding-left: 2px;
    pointer-events: none;
    z-index: 2;
}

.bamac-ministrations-page .bamac-video-card__body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bamac-ministrations-page .bamac-video-card__date {
    margin: 0;
    font-size: 11px;
    font-style: italic;
    color: #00468c;
}

.bamac-ministrations-page .bamac-video-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.bamac-ministrations-page .bamac-video-card__views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    font-size: 11px;
    color: #666;
    white-space: nowrap;
}

.bamac-ministrations-page .bamac-video-card__views i {
    color: #703e22;
    font-size: 11px;
}

.bamac-ministrations-page .bamac-video-card__title {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.35;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}

.bamac-ministrations-page .bamac-video-card__title a {
    color: #222;
    text-decoration: none;
}

.bamac-ministrations-page .bamac-video-card__title a:hover {
    color: #703e22;
}

.bamac-ministrations-page .bamac-video-card__excerpt {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.45;
    color: #666;
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}

.bamac-ministrations-page .bamac-video-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 2px;
}

.bamac-ministrations-page .bamac-video-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 50px;
    background: #703e22;
    border: 1px solid #703e22;
    color: #fff !important;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.bamac-ministrations-page .bamac-video-card__btn:hover {
    background: #5a321b;
    border-color: #5a321b;
    color: #fff !important;
}

.bamac-ministrations-page .bamac-video-card__btn--outline {
    background: transparent;
    color: #703e22 !important;
}

.bamac-ministrations-page .bamac-video-card__btn--outline:hover {
    background: #703e22;
    color: #fff !important;
}

.bamac-video-card {
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.bamac-video-card:hover {
    box-shadow: 0 10px 28px rgba(112, 62, 34, 0.14);
    transform: translateY(-2px);
}

.bamac-video-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}

.bamac-video-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    float: none !important;
}

.bamac-video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(112, 62, 34, 0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding-left: 4px;
    pointer-events: none;
    z-index: 2;
}

.bamac-video-card__body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bamac-video-card__date {
    margin: 0;
    font-size: 14px;
    font-style: italic;
    color: #00468c;
}

.bamac-video-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.bamac-video-card__views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.bamac-video-card__views i {
    color: #703e22;
}

.bamac-video-card__title {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.4;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    word-break: break-word;
}

.bamac-video-card__title a {
    color: #222;
    text-decoration: none;
}

.bamac-video-card__title a:hover {
    color: #703e22;
}

.bamac-video-card__excerpt {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
    color: #666;
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    word-break: break-word;
}

.bamac-video-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
}

.bamac-video-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 50px;
    background: #703e22;
    border: 2px solid #703e22;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.bamac-video-card__btn:hover {
    background: #5a321b;
    border-color: #5a321b;
    color: #fff !important;
}

.bamac-video-card__btn--outline {
    background: transparent;
    color: #703e22 !important;
}

.bamac-video-card__btn--outline:hover {
    background: #703e22;
    color: #fff !important;
}

/* Mobile header — stay visible while scrolling (logo + hamburger) */
@media (max-width: 991px) {
    body {
        padding-top: 65px;
    }

    .gc_main_menu_wrapper > .container-fluid > .row {
        display: none;
    }

    .gc_main_menu_wrapper .header-area .mainmenu {
        display: none;
    }

    .mobail_menu {
        position: relative;
        z-index: 1100;
        background: #fff;
        width: 100%;
    }

    .gc_main_menu_wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        padding-top: 0;
        padding-bottom: 0;
        background: #fff;
        box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
        overflow: visible;
    }

    .gc_main_menu_wrapper .header-area,
    .mobail_menu,
    .mobail_menu .cd-dropdown-wrapper {
        overflow: visible;
    }

    .gc_main_menu_wrapper.menu_fixed {
        padding-top: 0 !important;
    }

    /* Never animate the fixed header on mobile — transform breaks full-screen sidebar */
    .gc_main_menu_wrapper.animated,
    .gc_main_menu_wrapper.fadeInDown,
    .gc_main_menu_wrapper.fadeIn {
        animation: none !important;
        transform: none !important;
    }
}

/* Mobile sidebar — full height even when page is scrolled (homepage fixed header) */
@media (max-width: 990px) {
    .cd-dropdown {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: min(300px, 85vw) !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        z-index: 12000 !important;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transform: translateX(-100%);
    }

    .cd-dropdown.dropdown-is-active {
        transform: translateX(0) !important;
    }

    .cd-dropdown h2 {
        flex: 0 0 auto;
        height: auto !important;
        line-height: 1.35 !important;
        padding: 14px 50px 12px 20px !important;
        white-space: normal;
    }

    .cd-dropdown h2:after {
        position: relative;
        display: block;
        bottom: auto;
        left: 0;
        margin-top: 8px;
        width: 80px;
    }

    .cd-dropdown .cd-dropdown-content,
    .cd-dropdown .cd-dropdown-content ul {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        flex: 1 1 auto;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding-top: 0 !important;
    }
}

/* Member portal — sticky footer pinned to the bottom of the screen */
body.member-portal .content-page {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--ct-topbar-height, 70px) - 2px);
    padding-bottom: 0 !important;
}

body.member-portal .content-page > .content {
    flex: 1 0 auto;
    padding-bottom: 1.25rem;
}

body.member-portal .member-portal-footer-gap {
    display: block;
    height: 1rem;
    flex-shrink: 0;
    pointer-events: none;
}

body.member-portal .content-page > .footer {
    position: relative !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex-shrink: 0;
    margin: auto 0 0 !important;
    padding: 1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0 !important;
}

body.member-portal .content-page > .footer .row {
    row-gap: 0.75rem !important;
}

body.member-portal .content-page > .footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1.5rem;
}

body.member-portal .content-page > .footer .footer-links a + a {
    margin-left: 0;
}

@media (max-width: 767.98px) {
    body.member-portal .content-page > .content {
        padding-bottom: 1.5rem;
    }

    body.member-portal .content-page > .content .container-fluid {
        padding-bottom: 1.25rem;
    }

    body.member-portal .member-portal-footer-gap {
        height: 3rem;
    }

    body.member-portal .member-dashboard-cards {
        margin-bottom: 0.5rem !important;
    }

    body.member-portal .content-page > .footer {
        margin-bottom: 1rem !important;
        padding-top: 1.5rem !important;
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.member-portal .content-page > .footer .row {
        row-gap: 1rem !important;
    }

    body.member-portal .content-page > .footer .row > [class*="col-"] {
        line-height: 1.65;
    }
}

/* Gallery page — inline Videos filter tab */
.bamac-gallery-page .bamac-gallery-photos-panel.is-hidden {
    display: none !important;
}

.bamac-gallery-page .bamac-gallery-videos-panel {
    display: none;
    width: 100%;
    clear: both;
    float: none !important;
    padding-top: 8px;
}

.bamac-gallery-page .bamac-gallery-videos-panel.is-visible {
    display: block !important;
}

.bamac-gallery-page .bamac-gallery-videos-panel .bamac-videos-grid {
    display: flex !important;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 8px;
    float: none !important;
    width: auto !important;
}

.bamac-gallery-page .bamac-gallery-videos-panel .bamac-videos-grid::before,
.bamac-gallery-page .bamac-gallery-videos-panel .bamac-videos-grid::after {
    display: none !important;
}

.bamac-gallery-page .bamac-gallery-videos-panel .bamac-videos-grid__item {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 10px 20px;
    box-sizing: border-box;
    float: none !important;
    display: flex;
    min-width: 0;
}

@media (max-width: 1199px) {
    .bamac-gallery-page .bamac-gallery-videos-panel .bamac-videos-grid__item {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 991px) {
    .bamac-gallery-page .bamac-gallery-videos-panel .bamac-videos-grid__item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575px) {
    .bamac-gallery-page .bamac-gallery-videos-panel .bamac-videos-grid__item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.bamac-gallery-page .bamac-gallery-videos-more {
    margin: 10px 0 30px;
}

.bamac-gallery-page .bamac-ministrations-page {
    padding-bottom: 20px;
}

/* Gallery lightbox toolbar (top-right controls) */
.bamac-gallery-lightbox .mfp-image-holder .mfp-close {
    display: none !important;
}

.bamac-gallery-toolbar {
    position: fixed;
    top: max(12px, env(safe-area-inset-top, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    z-index: 1047;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
}

.bamac-gallery-toolbar__btn {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.bamac-gallery-toolbar__btn:hover,
.bamac-gallery-toolbar__btn:focus {
    background: rgba(112, 62, 34, 0.95);
    color: #fff;
    outline: none;
}

.bamac-gallery-toolbar__btn:active {
    transform: scale(0.96);
}

.bamac-gallery-toolbar__btn.is-playing,
.bamac-gallery-toolbar__btn.is-active {
    background: rgba(112, 62, 34, 0.9);
}

.bamac-gallery-lightbox .mfp-counter {
    top: auto;
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    right: max(14px, env(safe-area-inset-right, 0px));
    color: #fff;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
}

.bamac-gallery-lightbox .mfp-bottom-bar {
    left: max(14px, env(safe-area-inset-left, 0px));
    right: auto;
    width: auto;
    max-width: calc(100% - 28px);
}

.bamac-gallery-lightbox .mfp-title {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
}

@media (max-width: 767px) {
    .bamac-gallery-toolbar {
        top: max(8px, env(safe-area-inset-top, 0px));
        right: max(8px, env(safe-area-inset-right, 0px));
        gap: 6px;
        padding: 4px;
    }

    .bamac-gallery-toolbar__btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
