/* =============================================================================
   SMS4Sport — Success Stories Page Stylesheet
   ============================================================================= */

/* -----------------------------------------------------------------------------
   Page wrapper
   ----------------------------------------------------------------------------- */
.success-page {
    background: var(--color-blue-dark);
    direction: rtl;
    min-height: 100vh;
    overflow-x: hidden;
}

/* =============================================================================
   Success Stories Showcase (.bshow)
   ============================================================================= */
.bshow {
    background: url('/wp-content/uploads/2026/05/BOOKING-BR.png') no-repeat center bottom / cover;
    min-height: 100vh;
    padding: 72px 32px 80px;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Header */
.bshow__header {
    text-align: center;
    padding: 48px 24px 24px;
}

.bshow__eyebrow {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    margin: 0 0 12px;
}

.bshow__title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
    direction: rtl;
}

.bshow__title em {
    font-style: normal;
    font-size: 4rem;
}

.bshow__title-wordmark {
    color: #ffffff;
    font-size: 0.55em;
    vertical-align: 0.32em;
}

/* Tab Bar */
.bshow__tabbar-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    background: transparent;
}

.bshow__tab {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: -2px;
    transition: background 0.18s ease, color 0.18s ease;
    background: var(--color-white);
    color: var(--color-blue-dark);
}

.bshow__tab-icon {
    width: 1.6rem;
    height: 1.6rem;
}

.bshow__tab.is-active {
    background: var(--color-white);
    color: var(--color-blue-dark);
    border-color: var(--color-gold);
    border: 3px solid var(--color-gold);
    font-weight: 700;
}

.bshow__tab.is-active .bshow__tab-icon {
    opacity: 1;
}

/* Body */
.bshow__body {
    padding: 36px 24px 40px;
}

.bshow__body-inner {
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

.bshow__cat-title {
    text-align: center;
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 24px;
}

/* Panels */
.bshow__panel {
    display: none;
}

.bshow__panel.is-active {
    display: block;
}

/* Letter Card */
.bshow__card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 28px 28px 20px;
    display: flex;
    flex-direction: row;
    gap: 28px;
    direction: rtl;
    color: var(--color-blue-dark);
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
    align-items: flex-start;
}

.bshow__card-media {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 200px;
    flex-shrink: 0;
}

.bshow__card-letter {
    width: 200px;
    min-height: 160px;
    max-height: 320px;
    background: var(--color-gray-100);
    border: 2px solid var(--color-gray-300);
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bshow__card-letter img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    object-position: center;
    display: block;
    max-width: 100%;
}

.bshow__card-zoom {
    display: none;
}

a.bshow__card-letter {
    cursor: zoom-in;
    display: block;
}

.bshow__card-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.bshow__card-logo {
    width: auto;
    height: auto;
    max-width: 220px;
    max-height: 80px;
    object-fit: contain;
    align-self: flex-end;
}

.bshow__card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin: 0 0 4px;
}

.bshow__card--text-only {
    flex-direction: column;
    align-items: flex-start;
}

.bshow__card--text-only .bshow__card-text {
    width: 100%;
    padding: 8px 0;
}

.bshow__thumb--text {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-blue-dark);
}

.bshow__thumb-initials {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    direction: rtl;
}

.bshow__thumb-fallback {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.7;
    margin: auto;
    display: block;
}

.bshow__card-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-blue-dark);
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.bshow__card-attr {
    font-size: 0.95rem !important;
    color: var(--color-text-muted) !important;
    font-style: italic;
}

/* Thumbnails Wrapper - for slider navigation */
.bshow__thumbs-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.bshow__thumbs {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    padding: 8px 4px;
    max-width: 100%;
}

.bshow__thumbs::-webkit-scrollbar {
    display: none;
}

/* Slider controls container - under the slider */
.bshow__thumbs-slider-controls {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 12px;
    justify-content: center;
}

.bshow__thumbs-slider-nav {
    width: 32px;
    height: 32px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bshow__thumbs-slider-nav:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.bshow__thumbs-slider-nav:hover svg {
    stroke: var(--color-blue-dark);
}

.bshow__thumbs-slider-nav svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-blue-dark);
    stroke-width: 2;
}

.bshow__thumbs-slider-nav--disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.bshow__thumbs-slider-nav--disabled:hover {
    background: var(--color-white);
    border-color: var(--color-gray-300);
}

.bshow__thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.22);
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bshow__thumb:hover {
    border-color: var(--color-gold);
}

.bshow__thumb.is-active {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px var(--color-gold);
}

.bshow__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =============================================================================
   Partners Bar
   ============================================================================= */
.bshow__partners {
    padding: 48px 24px 56px;
    text-align: center;
}

.bshow__partners-inner {
    max-width: 960px;
    margin: 0 auto;
}

.bshow__partners-title {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
    margin: 0 0 32px;
}

.bshow__partner-logos {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.bshow__partner-logo {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bshow__partner-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.bshow__partner-logo img {
    height: 64px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

/* Mobile */
@media (max-width: 600px) {
    .bshow__partner-logos {
        gap: 12px;
    }

    .bshow__partner-logo {
        padding: 14px 20px;
    }

    .bshow__partner-logo img {
        height: 36px;
    }
}

/* =============================================================================
   Lightbox
   ============================================================================= */
.bshow-lightbox__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
}

/* =============================================================================
   Responsive
   ============================================================================= */

@media (max-width: 767px) {
    .bshow__card {
        flex-direction: column;
        align-items: center;
        /* Optional: centers the content horizontally */
    }

    .bshow__card-text {
        order: 1;
        width: 100%;
        margin-bottom: 20px;
        /* Optional: adds space between text and image */
        align-items: center;
        /* This centers the icon and other text elements */
        text-align: center;
        /* This ensures text lines within the paragraphs are also centered */
    }

    .bshow__card-logo {
        margin-left: auto;
        margin-right: auto;
        display: block;
        /* Ensures it respects the auto margins if not using flex alignment */
    }

    .bshow__card-media {
        order: 2;
        width: 100%;
    }
}

/* Mobile Medium (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .bshow__card {
        flex-direction: column;
    }

    .bshow__card-text {
        order: 1;
    }

    .bshow__card-media {
        order: 2;
        width: 100%;
        max-width: 220px;
    }

    .bshow__card-letter {
        width: 100%;
        max-width: 220px;
        height: auto;
        margin: 0 auto;
    }

    .bshow__tabbar-inner {
        flex-wrap: wrap;
        gap: 4px;
    }

    .bshow__tab {
        padding: 10px 10px 8px;
        font-size: 0.75rem;
        flex: 1 1 33%;
        min-width: 110px;
    }

    .bshow__partners-title {
        font-size: 2rem;
    }

    .bshow__title {
        font-size: 2.5rem;
    }

    .bshow__title em {
        font-size: 2.5rem;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .bshow {
        padding: 40px 12px 60px;
    }

    .bshow__header {
        padding: 24px 12px 16px;
    }

    .bshow__title {
        font-size: 1.8rem;
    }

    .bshow__title em {
        font-size: 1.8rem;
    }

    .bshow__eyebrow {
        font-size: 0.8rem;
    }

    .bshow__body {
        padding: 24px 12px 30px;
    }

    .bshow__cat-title {
        font-size: 1rem;
        margin: 0 0 16px;
    }

    .bshow__card {
        padding: 20px 16px 16px;
        gap: 16px;
    }

    .bshow__card-text {
        order: 1;
    }

    .bshow__card-media {
        order: 2;
        width: 100%;
        max-width: 200px;
    }

    .bshow__card-letter {
        width: 100%;
        max-width: 160px;
        height: auto;
    }

    .bshow__card-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .bshow__card-logo {
        max-width: 160px;
        max-height: 60px;
    }

    .bshow__thumbs {
        gap: 8px;
    }

    .bshow__thumbs-wrapper {
        margin-top: 16px;
    }

    .bshow__thumbs-slider-controls {
        margin-top: 10px;
    }

    .bshow__thumbs-slider-nav {
        width: 28px;
        height: 28px;
        display: none;
    }

    .bshow__thumbs-wrapper--slider .bshow__thumbs-slider-nav {
        display: flex;
    }

    .bshow__thumb {
        width: 56px;
        height: 56px;
    }

    .bshow__thumb-fallback {
        width: 32px;
        height: 32px;
    }

    .bshow__tabbar-inner {
        flex-wrap: wrap;
        gap: 4px;
    }

    .bshow__tab {
        padding: 8px 6px 6px;
        font-size: 0.7rem;
        flex: 1 1 30%;
        min-width: 100px;
    }

    .bshow__tab-icon {
        width: 1.2rem;
        height: 1.2rem;
    }

    .bshow__partners {
        padding: 30px 12px 36px;
    }

    .bshow__partners-title {
        font-size: 1.5rem;
        margin: 0 0 16px;
    }

    .bshow__partner-card {
        padding: 20px 16px;
    }

    .bshow__partner-logos {
        gap: 20px;
    }

    .bshow__partner-logo {
        width: 80px;
        height: 80px;
    }
}

/* Tablet (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .bshow {
        padding: 60px 16px 70px;
    }

    .bshow__body {
        padding: 30px 12px 30px;
    }

    .bshow__card {
        padding: 24px 16px 16px;
    }

    .bshow__card-letter {
        width: 180px;
        height: auto;
    }

    .bshow__tab {
        padding: 10px 14px 8px;
        font-size: 0.85rem;
    }

    .bshow__partners-title {
        font-size: 2.5rem;
    }
}