


/* =========================================================
   YouTube Welcome Section
   ========================================================= */

.ws-youtube-welcome {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

.ws-youtube-welcome__inner {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    align-items: center;
    width: 100%;
    /*max-width: var(--ws-youtube-welcome-content-width, 1400px);*/
    margin: 0 auto;
    padding: 30px 0;
    column-gap: 50px;
}

.ws-youtube-welcome__image-column {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}


/*
 * The watercolor-looking frame is intentionally created
 * with soft layered backgrounds so the section doesn't
 * require another decorative asset.
 */

.ws-youtube-welcome__image-frame {
    position: relative;
    width: 100%;
    /*max-width: var(--ws-youtube-welcome-image-width, 330px);*/
    /*padding: 14px;*/
}


/* Soft watercolor layers */

/*.ws-youtube-welcome__image-frame::before {

    content: "";

    position: absolute;

    z-index: 0;

    top: -10px;

    right: -15px;

    bottom: -12px;

    left: -18px;

    background:
        radial-gradient(
            ellipse at 20% 25%,
            rgba(174, 221, 219, .55) 0,
            rgba(174, 221, 219, .35) 35%,
            transparent 70%
        ),
        radial-gradient(
            ellipse at 80% 70%,
            rgba(196, 181, 213, .50) 0,
            rgba(196, 181, 213, .28) 35%,
            transparent 70%
        );

    border-radius:
        38% 46% 42% 35%;

    transform:
        rotate(-1deg);

}*/


/* Second watercolor layer */

/*.ws-youtube-welcome__image-frame::after {

    content: "";

    position: absolute;

    z-index: 0;

    top: 5px;

    right: -7px;

    bottom: -5px;

    left: -8px;

    background:
        radial-gradient(
            ellipse at 15% 75%,
            rgba(213, 230, 226, .65) 0,
            transparent 65%
        ),
        radial-gradient(
            ellipse at 85% 20%,
            rgba(224, 210, 227, .50) 0,
            transparent 65%
        );

    border-radius:
        42% 34% 40% 48%;

    transform:
        rotate(1deg);

}*/


.ws-youtube-welcome__image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    /*border-radius: 4px;*/
}

.ws-youtube-welcome__content {
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    position: relative;
    min-width: 0;
    padding: 8px 0;
}

.ws-youtube-welcome__heading {
    margin: 0;
    color: var(--primary);
    font-family: var(--font-caveat);
    font-size: clamp(40px,4vw,54px);
    font-weight: 400;
    line-height: 1.55;
}

.ws-youtube__heart {
    width: 45px;
    height: auto;
    margin-left: 25px;
}

.ws-youtube__heart-medium {
    width: 35px;
    height: auto;
    margin-left: 20px;
}

.ws-youtube__heart-small {
    width: 20px;
    height: auto;
    margin-left: 10px;
}

.ws-youtube-welcome__subheading {
    margin-top: 10px;
    color: #257589;
    font-family: var(--font-caveat);
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.3;
}


/* =========================================================
   Description
   ========================================================= */

.ws-youtube-welcome__description {
    max-width: 450px;
    margin-top: 18px;
    color: #222222;
    font-size: 16px;
    line-height: 1.85;
}

.ws-youtube-welcome__description p {
    margin: 0;
}

.ws-youtube-welcome__description p + p {
    margin-top: 2px;
}


/* =========================================================
   Closing Statement
   ========================================================= */

.ws-youtube-welcome__closing {
    margin-top: 10px;
    color: #257589;
    font-family: var(--font-caveat);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3;
}


/* =========================================================
   Button
   ========================================================= */

.ws-youtube-welcome__actions {
    margin-top: 20px;
}

.ws-youtube-welcome__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 34px;
    padding: 14px 18px;
    border-radius: 20px;
    background: var(--ws-youtube-welcome-button-bg, #f8c700);
    color: var(--ws-youtube-welcome-button-color, #000000);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}


.ws-youtube-welcome__button:hover {
    background: var(--ws-youtube-welcome-button-hover-bg, #e5b900);
    color: var(--ws-youtube-welcome-button-color, #000000);
    text-decoration: none;
    transform: translateY(-1px);
}

.ws-youtube-welcome__button i {
    font-size: 12px;
}


/* =========================================================
   Decorative Dandelion-like Background
   ========================================================= */

/*.ws-youtube-welcome__content::after {

    content: "✧";

    position: absolute;

    right: -55px;

    bottom: -35px;

    color: rgba(94, 48, 114, .28);

    font-size: 150px;

    font-weight: 200;

    line-height: 1;

    pointer-events: none;

    transform: rotate(12deg);

}*/


/* =========================================================
   YouTube Featured Video
   ========================================================= */

.ws-youtube-featured {

    width: 100%;

    background: #ffffff;

}

.ws-youtube-featured__inner {
    display: grid;
    grid-template-columns: .75fr 1fr; /*minmax(0, 1.35fr) minmax(320px, .85fr)*/
    /*align-items: center;*/
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 20px 0 0 20px;
    gap: 35px;
    border-radius: 10px;
    border: 2px solid #eceeee;
}

/* =========================================================
   Video
   ========================================================= */

.ws-youtube-featured__video-column {
    min-width: 0;
    padding-bottom: 20px;
}

.ws-youtube-featured__video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111111;
    border-radius: 10px;

}

.ws-youtube-featured__video iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================================
   Content
   ========================================================= */

.ws-youtube-featured__content {
    min-width: 0;
}

.ws-youtube-featured__eyebrow {
    margin-bottom: 8px;
    color: #2b878d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.3;
}

/*.ws-youtube-featured__heading {
    margin: 0;
    color: #5e3072;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.3;
}*/

.ws-youtube-featured__heading {
    display: inline-block;
    max-width: 80%;
    margin: 0;
    color: #5e3072;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*.ws-youtube-featured__channel {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: #333333;
    font-size: 15px;
    font-weight: 600;
}

.ws-youtube-featured__channel i {
    color: #ff0000;
    font-size: 18px;
}

.ws-youtube-featured__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 6px;
    color: #777777;
    font-size: 13px;
}

.ws-youtube-featured__meta-separator {
    color: #aaaaaa;
}*/

.ws-youtube-featured__meta {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 7px;
    margin-top: 14px;
    color: #777777;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
}

.ws-youtube-featured__meta-item {
    display: inline-flex;
    align-items: center;
}

.ws-youtube-featured__channel {
    color: #333333;
    font-weight: 600;
}

.ws-youtube-featured__channel i {
    margin-right: 7px;
    color: #ff0000;
    font-size: 17px;
}

.ws-youtube-featured__meta-separator {
    color: #aaaaaa;
    flex: 0 0 auto;
}

.ws-youtube-featured__description {
    margin-top: 18px;
    color: #333333;
    font-size: 15px;
    line-height: 1.75;
}

.ws-youtube-featured__description p {
    margin: 0;
}

.ws-youtube-featured__actions {
    margin-top: 22px;
}

.ws-youtube-featured__button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    /*padding: 10px 18px;
    border-radius: 22px;
    background: #f8c700;*/
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    /*transition: transform .2s ease, background-color .2s ease;*/
}

.ws-youtube-featured__button:hover {
    /*background: #e5b900;*/
    color: #000000;
    text-decoration: none;
    /*transform: translateY(-1px);*/
}

.ws-youtube-featured__content {
    min-width: 0;
    padding: 0 0 0 30px;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
}

/* =========================================================
   YouTube — Latest Videos
   ========================================================= */

.ws-youtube-videos {
    width: 100%;
    background: #ffffff;
}


.ws-youtube-videos__inner {
    margin: 0 auto;
    padding: 40px 0;
}


/* =========================================================
   Header
   ========================================================= */

.ws-youtube-videos__header {
    margin-bottom: 10px;
    text-align: center;
}

.ws-youtube-videos__title {
    margin: 0 0 10px;
    color: #5e3072;
    font-family: var(--font-caveat);
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1;
}

.ws-youtube-videos__description {
    text-align: center;
    color: #555555;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}


.ws-youtube-videos__description p {

    margin: 0;

}


/* =========================================================
   Slider
   ========================================================= */

.ws-youtube-videos__slider-wrap {
    margin-top: 8px;
    position: relative;
}


.ws-youtube-videos__slider {
    position: relative;
    overflow: hidden;
    padding-bottom: 45px;
}


.ws-youtube-videos__slider .swiper-wrapper {

    align-items: stretch;

}


.ws-youtube-videos__slider .swiper-slide {

    height: auto;

}


/* =========================================================
   Video Card
   ========================================================= */

.ws-youtube-video-card {
    height: 100%;
    background: #ffffff;
}


.ws-youtube-video-card__link {
    display: block;
    text-decoration: none;
}


.ws-youtube-video-card__thumbnail {

    position: relative;

    width: 100%;

    aspect-ratio: 9 / 6;

    overflow: hidden;

    background: #eeeeee;
    border-radius: 10px;

}


.ws-youtube-video-card__thumbnail img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;

}


.ws-youtube-video-card__link:hover
.ws-youtube-video-card__thumbnail img {

    transform: scale(1.04);

}


/* =========================================================
   Play Button
   ========================================================= */

.ws-youtube-video-card__play {

    position: absolute;

    top: 50%;

    left: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .95);

    color: #5e3072;

    font-size: 16px;

    transform:
        translate(-50%, -50%);

    transition:
        transform .25s ease,
        background-color .25s ease;

}


.ws-youtube-video-card__play i {

    margin-left: 3px;

}


.ws-youtube-video-card__link:hover
.ws-youtube-video-card__play {

    transform:
        translate(-50%, -50%)
        scale(1.08);

}


/* =========================================================
   Card Body
   ========================================================= */

.ws-youtube-video-card__body {

    padding-top: 13px;

}


.ws-youtube-video-card__title {
    margin: 0;
    overflow: hidden;
    color: #333333;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.ws-youtube-video-card__meta {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: 6px;

    overflow: hidden;

    color: #777777;

    font-size: 12px;

    line-height: 1.4;

    white-space: nowrap;

}


.ws-youtube-video-card__meta span {

    flex: 0 0 auto;

}


/* =========================================================
   Navigation Arrows
   ========================================================= */

.ws-youtube-videos__prev,
.ws-youtube-videos__next {

    position: absolute;

    top: 40%;

    z-index: 10;

    width: 42px;

    height: 42px;

    margin: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, .95);

    color: #5e3072;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, .15);

    transform: translateY(-50%);

    transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;

}

/*.ws-youtube-videos__prev,
.ws-youtube-videos__next {

    position: relative !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    transform: none !important;

    width: 35px;
    height: 35px;

    margin: 0 !important;
    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 35px;

    border: 1px solid #5e3072;
    border-radius: 50%;

    background: #5e3072;
    color: #ffffff;

    cursor: pointer;

    z-index: 2;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;

}*/

.ws-youtube-videos__prev::before {
    content: "\f053";

    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    font-size: 15px;
}

.ws-youtube-videos__next::before {
    content: "\f054";

    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    font-size: 15px;
}

.ws-youtube-videos__prev::after,
.ws-youtube-videos__next::after {
    display: none !important;
    content: none !important;
}

/* Remove Swiper's default button background/spacing */

/*.ws-youtube-videos__prev::after,
.ws-youtube-videos__next::after {

    font-size: 14px;

    font-weight: 700;

}*/


/* Left arrow */

.ws-youtube-videos__prev {

    left: 0;

}


/* Right arrow */

.ws-youtube-videos__next {

    right: 0;

}


/* Hover */

.ws-youtube-videos__prev:hover,
.ws-youtube-videos__next:hover {
    background: #5e3072;
    color: #ffffff;
}

/* =========================================================
   Disabled
   ========================================================= */

.ws-youtube-videos__prev:disabled,
.ws-youtube-videos__next:disabled {
    opacity: 0.35;
    cursor: default;
}



/* =========================================================
   Scrollbar
   ========================================================= */

.ws-youtube-videos__scrollbar {

    position: absolute;

    right: 0;

    bottom: 10px;

    left: 0;

    height: 3px;

}


.ws-youtube-videos__scrollbar .swiper-scrollbar-drag {

    background: #5e3072;

}


























/* =========================================================
   Responsive- Tablet
   ========================================================= */

@media (max-width: 991px) {
    .ws-youtube-featured__inner {
        grid-template-columns: 1fr 1fr; /*minmax(0, 1.2fr) minmax(280px, .8fr)*/
        gap: 5px;
        padding: 10px 0 0 10px;
    }

    .ws-youtube-featured__content {
        min-width: 0;
        padding: 0 0 25px 10px;        
    }

    .ws-youtube-featured__heading {
        font-size: 26px;
    }

    .ws-youtube-welcome__inner {
        grid-template-columns: 280px minmax(0, 1fr);
        padding-left: 25px;
        padding-right: 25px;
        column-gap: 35px;
    }

    .ws-youtube-welcome__heading {
        font-size: 28px;
    }

    .ws-youtube-welcome__subheading {
        font-size: 22px;
    }

    .ws-youtube-welcome__closing {
        font-size: 21px;
    }

    .ws-youtube-featured__description {
        width: 55%;
    }

    .ws-youtube-videos__inner {
        padding-top: 45px;
        padding-bottom: 45px;
    }    
}


/* =========================================================
   Responsive- Mobile
   ========================================================= */

@media (max-width: 767px) {



    .ws-youtube-welcome__inner {
        display: flex;
        flex-direction: column;
        padding-left: 20px;
        padding-right: 20px;
        row-gap: 25px;
        text-align: center;
    }

    .ws-youtube-welcome__image-column {
        width: 100%;
    }

    .ws-youtube-welcome__image-frame {
        max-width: 310px;
    }

    .ws-youtube-welcome__description {
        margin-left: auto;
        margin-right: auto;
    }

    .ws-youtube-welcome__actions {
        display: flex;
        justify-content: center;
    }

    .ws-youtube-welcome__content::after {
        display: none;
    }

    .ws-youtube-featured__inner {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-top: 15px;
        padding-bottom: 0;
    }

    .ws-youtube-featured__video-column,
    .ws-youtube-featured__content {
        width: 100%;
        padding-right: 16px;
    }

    .ws-youtube-featured__content {
        text-align: left;
        padding: 0 0 30px 0;
    }

    .ws-youtube-featured__channel,
    .ws-youtube-featured__meta {
        justify-content: left; /*center*/
        flex-wrap: wrap;
        white-space: normal;
        margin-top: 0;
        gap: 5px;
        width: 50%;        
    }

    .ws-youtube-featured__actions {
        display: flex;
        justify-content: left; /*center*/
    }

    .ws-youtube-videos__inner {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .ws-youtube-videos__title {
        font-size: 28px;
    }

    .ws-youtube-videos__description {
        font-size: 14px;
    }

    .ws-youtube-videos__prev,
    .ws-youtube-videos__next {
        width: 36px;
        height: 36px;
    }

    .ws-youtube-videos__prev {
        left: 8px;
    }

    .ws-youtube-videos__next {
        right: 8px;
    }
}

@media (max-width: 575px) {
    /*.ws-youtube-hero__inner {
          padding-left: 20px;
          padding-right: 20px;
    }

    .ws-youtube-hero__eyebrow {
        font-size: 1.8rem;
    }

    .ws-youtube-hero__title {
        font-size: 40px;
    }

    .ws-youtube-hero__description {
        font-size: 18px;
        line-height: 1.55;
    }*/

    .ws-youtube__heart,
    .ws-youtube__heart-medium {
        width: 25px;
    }

    /*.ws-youtube-channel__inner {
        display: block;
        padding-left: 18px;
        padding-right: 18px;
        text-align: center;
    }

    .ws-youtube-channel__image-wrap {
        width: 120px;
        height: 120px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 14px;
    }

    .ws-youtube-channel__meta {
        justify-content: center;
    }

    .ws-youtube-channel__description {
        margin-left: auto;
        margin-right: auto;
    }

    .ws-youtube-channel__actions {
        display: flex;
        justify-content: center;
    }

    .ws-youtube-navigation__menu {
        gap: 22px;
    }

    .ws-youtube-navigation__menu > li > a {
        font-size: 13px;
    }*/

    .ws-youtube-welcome__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ws-youtube-welcome__heading {
        font-size: 25px;
    }

    .ws-youtube-welcome__subheading {
        font-size: 21px;
    }

    .ws-youtube-welcome__description {
        font-size: 14px;
        line-height: 1.65;
    }

    .ws-youtube-welcome__closing {
        font-size: 20px;
    }

    .ws-youtube-featured__inner {
        padding-left: 16px;
        padding-right: 0;
    }

    .ws-youtube-featured__heading {
        font-size: 24px;
    }

    .ws-youtube-featured__description {
        font-size: 14px;
    }

    .ws-youtube-videos__inner {
        padding-left: 16px;
        padding-right: 16px;
    }           
}