:root {
    --brand-blue: #1f0055;
    --brand-gold: #deb951;
    --brand-dark: #0F1721;
}

/*
    Blue rgb(31,0,85)
    Gold: rgb(222,185,81)
    Dark: rgb(15,23,33)

    main background: #160138;
    background-image: radial-gradient(50% 92%, rgba(255,255,255,0.20) 52%, rgba(22,1,56,0.02) 100%);
    The Font name is Glegoo for headings and Second font is Poppins.
*/

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


body,
p {
    color: var(--brand-dark);
}

body,
body.dark,
.bottom-wrapper,
.section {
    background: rgb(31, 0, 85);
    /*background: -moz-linear-gradient(90deg, rgba(31,0,85,1) 0%, rgba(46,13,103,1) 50%, rgba(31,0,85,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(31,0,85,1) 0%, rgba(46,13,103,1) 50%, rgba(31,0,85,1) 100%);
    background: linear-gradient(90deg, rgba(31,0,85,1) 0%, rgba(46,13,103,1) 50%, rgba(31,0,85,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1f0055",endColorstr="#1f0055",GradientType=1);*/
}

/* animation  */
@media (min-width: 991px) {
    section {
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 1s ease-out, transform 1s ease-out;
    }

    section.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* animation  */

.bg-fixed {
    background-attachment: fixed !important;
}

.btn-rounded {
    border-radius: 20px;
}

.text-primary {
    color: var(--brand-blue) !important;
}

.text-secondary {
    color: var(--brand-dark) !important;
}

.text-warning {
    color: var(--brand-gold) !important;
}

.btn-warning {
    color: #fff;
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
}

.btn-warning:hover {
    color: #fff;
    background-color: var(--brand-blue);
    border-color: var(--brand-gold);
}

.btn-outline-warning {
    color: var(--brand-gold);
    border-color: var(--brand-gold);
}

.btn-outline-warning:hover {
    color: var(--brand-dark);
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
}

.btn-primary {
    color: #fff;
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.btn-primary:hover {
    color: #fff;
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
}

.btn-outline-primary {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
    background-color: #fff;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.fw-light {
    font-weight: 100;
}

.display-7 {
    font-size: 2rem;
}

.display-8 {
    font-size: 1.5rem;
}

.display-9 {
    font-size: 1.3rem;
}

.display-10 {
    font-size: 1rem;
}

.dark {
    background: var(--brand-dark);
    color: var(--brand-dark);
}

.ls-1 {
    letter-spacing: 1px;
}

.w-175 {
    max-width: 175px;
}

.w-200 {
    max-width: 200px;
}

.vh-100 {
    min-height: 100vh !important;
    height: auto !important;
}

.vh-75 {
    min-height: 75vh !important;
    height: auto !important;
}

.vh-50 {
    min-height: 50vh !important;
    height: auto !important;
}

.text-white {
    color: #fff !important;
}

.text-dark {
    color: var(--brand-dark) !important;
}

.bg-trees {
    background: url('../img/abut-bg.jpg') center center no-repeat;
    background-size: cover;
}

.sherpadialogue-landing-bg {
    background: url('../img/sherpadialogue-landing-bg.jpg') top center no-repeat;
    background-size: cover;
}

.bg-dark {
    background-color: var(--brand-dark) !important;
}

.bg-warning {
    background-color: var(--brand-gold) !important;
}

.overlay {
    background: rgba(0, 0, 0, 0.35);
}

.overlay-light {
    background: rgba(0, 0, 0, 0.2);
}

.overlay-dark {
    background: rgba(0, 0, 0, 0.5);
}

.text-shdow,
.text-shadow {
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

.bg-podcast .overlay,
.bg-blog .overlay,
.bg-books .overlay,
.bg-podcast .overlay-light,
.bg-blog .overlay-light,
.bg-books .overlay-light {
    padding-top: 40vh !important;
    padding-bottom: 22vh !important;
    display: flex;
    min-height: 75vh;
    align-items: center;
}

.bg-all-inventures .overlay,
.bg-recalibrate-top .overlay,
.bg-basecamp-top .overlay,
.bg-excursion-top .overlay,
.bg-expedition-top .overlay,
.bg-summit-top .overlay,
.bg-awareness-top .overlay,
.bg-resilience-top .overlay,
.bg-influence-top .overlay,
.bg-intimacy-top .overlay,
.bg-enlightenment-top .overlay,
.bg-abundance-top .overlay {
    padding-top: 20vh !important;
    padding-bottom: 5vh !important;
    display: flex;
    min-height: 75vh;
    align-items: center;
}

.py-5 {
    padding-top: 5vh !important;
    padding-bottom: 5vh !important;
}

.pt-5 {
    padding-top: 5vh !important;
}

.pb-5 {
    padding-bottom: 5vh !important;
}

.img-circle {
    border-radius: 100%;
}

.width-100 {
    width: 100px;
}

.dark .newslettre-form .form-control {
    background: #ffffff;
    color: #000;
}

.podcast-episode {
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 13px;
}

.w-150 {
    width: 150px;
}

.relative {
    position: relative;
}

/* ----- categories -----  */

#categories .border {
    border: 1px solid var(--brand-blue) !important;
}


@media (max-width: 768px) {
    #categories .post-card {
        padding: 15px;
        text-align: center;
        border-radius: 15px !important;
    }
}

/* ----- testimonials -----  */
.overlay-gradient {
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    height: calc(100% - 30px);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.close-btn {
    position: absolute;
    top: 35px;
    right: 10px;
    color: white;
    cursor: pointer;
    z-index: 99;
    border: 1px solid #fff;
    padding: 8px 14px;
    border-radius: 50px;
}

.close-btn i {
    position: relative;
    font-size: 22px;
    top: 2px;
}

.accordion-button:not(.collapsed) {
    color: var(--brand-blue) !important;
    background-color: #f0f0f0 !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

/* ----- podcast assets ----- */
.embed-responsive {
    background: #000;
    margin-top: 20px;
}

.audio-embed {
    margin-top: 40px;
}

iframe {
    border: 0;
}

.well {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 20px;
}

.podcast-third-party-icons {
    width: 18px;
    height: auto;
    position: relative;
    top: -2px;
    margin-right: 5px;
    filter: brightness(0) invert(1);
}

.podcast-third-party-logo {
    max-width: 300px;
    width: 100%;
    margin-bottom: 15px;
}

.img-podcast-icon {
    max-width: 135px;
    width: 100%
}

/* Featured Explorers Section Styles */
.featured-explorers {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.explorer-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.explorer-image {
    height: 300px;
    object-fit: cover;
}

.explorer-info {
    padding: 1.5rem;
}

.explorer-achievements {
    margin-top: 1rem;
}

.explorer-achievements li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* yt player */
.plyr-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.plyr-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Hide YouTube context menu and other overlays */
.plyr--youtube .plyr__video-wrapper iframe {
    pointer-events: none;
}

.plyr--youtube .plyr__video-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: auto;
}

.plyr--youtube .plyr__controls {
    pointer-events: auto !important;
    z-index: 10;
}

.plyr--youtube .ytp-chrome-top,
.plyr--youtube .ytp-chrome-bottom,
.plyr--youtube .ytp-title,
.plyr--youtube .ytp-gradient-top,
.plyr--youtube .ytp-gradient-bottom,
.plyr--youtube .ytp-share-button,
.plyr--youtube .ytp-watermark,
.plyr--youtube .ytp-show-cards-title {
    display: none !important;
}

.ytp-button[aria-label="Copy video URL"],
.ytp-share-button-visible {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* overlay for subscribe and receive */
.sc-overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
}

.sc-overlay-zigzag {
    background-color: rgb(31 0 85 / 75%);
    margin-top: -1px;
    padding: 10px;
    clip-path: polygon(0 0,
            100% 0,
            100% 60%,
            90% 65%,
            80% 60%,
            70% 65%,
            60% 60%,
            50% 65%,
            40% 60%,
            30% 65%,
            20% 60%,
            10% 65%,
            0 60%);
    min-height: 175px;
}

.sc-overlay-text {
    color: white;
    margin: 0;
    text-align: center;
    padding: 10px;
}

@media (max-width: 1200px) {
    .sc-overlay-text {
        font-size: 2rem;
    }
}

@media (max-width: 991px) {
    .sc-overlay-text {
        font-size: 1.5rem;
    }

    .sc-overlay-zigzag {
        min-height: 140px;
    }
}

@media (max-width: 768px) {
    .sc-overlay-text {
        font-size: 1.2rem;
    }

    .sc-overlay-zigzag {
        clip-path: polygon(0 0,
                100% 0,
                100% 70%,
                75% 65%,
                50% 70%,
                25% 65%,
                0 70%);
    }
}

/* explorer Swiper Navigation Styles */
.featured-explorers .swiper-button-next,
.featured-explorers .swiper-button-prev {
    color: var(--brand-blue);
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.featured-explorers .swiper-button-next:after,
.featured-explorers .swiper-button-prev:after {
    font-size: 18px;
}

.featured-explorers .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--brand-blue);
}

.featured-explorers .swiper-pagination-bullet-active {
    background: var(--brand-blue);
}

.featured-explorers .post-card-image {
    margin: 0;
}

.featured-explorers .post-card {
    padding: 50px;
}

.featured-explorers .swiper-button-next:after,
.featured-explorers .swiper-button-prev:after {
    font-size: 25px;
}

.featured-explorers .swiper-button-prev {
    left: 0;
    right: auto;
}

.featured-explorers .swiper-button-next {
    right: 0;
    left: auto;
}

.featured-explorers .swiper-button-next,
.featured-explorers .swiper-button-prev {
    width: 44px;
}

@media (max-width: 768px) {
    .featured-explorers .explorer-image {
        height: 200px;
    }

    .featured-explorers .post-card {
        padding: 40px;
    }
}

/* featured post carousel */
.featured-post-carousel {
    margin: 0 -15px;
    overflow: visible;
}

.featured-post-carousel .swiper-slide {
    padding: 0 15px;
    width: 33.333%;
}

.featured-post-carousel-nav button {
    border: none;
    background: var(--brand-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
}

.featured-post-carousel-nav button:hover {
    background: var(--brand-blue);
    color: #fff;
}

@media screen and (max-width: 991px) {
    .featured-post-carousel .swiper-slide {
        width: 50%;
    }
}

@media screen and (max-width: 767px) {
    .featured-post-carousel .swiper-slide {
        width: 100%;
    }
}

/* tabbed episodes */
.season-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.season-tabs button {
    padding: 8px 20px;
    border-radius: 20px;
}

.season-tabs button.active {
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
    color: white;
}

.episodes-container {
    display: flex;
    flex-wrap: wrap;
}

.post.card {
    display: flex;
}

.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* .post-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
} */

/* .post-card-image {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio
    overflow: hidden;
} */

.post-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.focus-titles,
.focus-titles-white {
    display: inline-block;
    position: relative;
}

.focus-titles::after {
    content: "";
    display: block;
    position: absolute;
    width: 52px;
    height: 55px;
    top: 0;
    right: -42px;
    background: url('../img/title-cta-focus.png');
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 9;
}

.focus-titles-white::after {
    content: "";
    display: block;
    position: absolute;
    width: 52px;
    height: 55px;
    top: 0;
    right: -42px;
    background: url('../img/title-cta-focus-white.png');
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 9;
}

.rounded-20 {
    border-radius: 20px;
}

/* language selector */
.language-selector {
    width: 200px;
}

.language-selector .select2-container--default .select2-selection--single {
    height: 38px;
    padding: 5px;
}

.language-selector .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.language-option {
    display: flex;
    align-items: center;
}

.language-option img {
    margin-right: 10px;
    width: 20px;
    height: 15px;
    object-fit: cover;
}

#transcriptContent[data-direction="rtl"] {
    line-height: 2.5;
}