/* ============================================================= */
/* ============================================================= */
/* ==== ROUNDED CORNERS TS HOMEPAGE SECTIONS - ALL VERSIONS ==== */
/* ============================================================= */
/* ============================================================= */

#app {
    /* * Value to use for rounded corners / border-radius * */
    --custom-border-radius: 15px;
}

/* START See All Btn */
/* ! Programs v2 button doesn't have .see-all-button class */

#home .see-all-button,
#home .see-all-container a,
#home .see-all-events::before,
#home .see-all-button.sydney::before {
    border-radius: var(--custom-border-radius);
}

/* END See All Btn */

/* START Action Btns */
/* ? Different selectors (event those that have same style) */
/* * Stats v4 pause/play has a rect tag on its svg */
/* ! Check arrows svg path stroke (Galleries) */

#home .scroll-left,
#home .scroll-right,
#home .left-arrow.button-action svg,
#home .right-arrow.button-action svg,
#home .pause.button-action svg,
#home .play.button-action svg,
#home .controls .button,
#home .slider-button.left,
#home .slider-button.right,
#home .button.left,
#home .button.right,
#home .news-scroll-up,
#home .news-scroll-down,
#home .right-arrow,
#home .left-arrow,
#home .back-button,
#home .next-button,
#home .play-button,
#home .pause-button,
#home .back-button::before,
#home .next-button::before,
#home .play-button::before,
#home .pause-button::before,
#home .buttons .next,
#home .buttons .prev,
#home .gallery-buttons button svg {
    border-radius: var(--control-custom-border-radius, var(--custom-border-radius));
}

#home .stats-action-button rect {
    rx: var(--control-custom-border-radius, var(--custom-border-radius));
    ry: var(--control-custom-border-radius, var(--custom-border-radius));
}

/* END Action Btns */

/* *=================================================* */
/* *------------------- FULLWIDTH -------------------* */
/* *=================================================* */

/* ---------------------------------------------------- */
/* START Gallery -> V1 V2 V3 V4 V5 V6 */
/* ? Section selector not standardized across versions */
/* ! Btn actions [arrows and play/pause] needs work */
/* ---------------------------------------------------- */

/* Gallery V1 - Not needed */

/* Gallery V2 */
#home #g2 .text {
    border-radius: var(--custom-border-radius);
}

/* Gallery V3 */
#home #g3 .button-action-content svg path[stroke] {
    stroke: none;
}

/* Gallery V4 */
#home #g4 .image-wrapper img,
#home #g4 .img-slider {
    border-radius: var(--custom-border-radius);
}

/* Gallery V5 */
#home #g5 .gallery-pager .active {
    border-radius: var(--custom-border-radius);
}

/* Gallery V6 */
#home .g6 .widget,
#home .g6 .widget .widget-button {
    border-radius: var(--custom-border-radius);
}

/* ---------------------------------------------------- */
/* END Gallery -> V1 V2 V3 V4 V5 V6 */
/* ---------------------------------------------------- */

/* ---------------------------------------------------- */
/* START About Us -> V1 V2 V3 */
/* ---------------------------------------------------- */

/* About Us V1 */
#home #about-v1 .left-image,
#home #about-v1 .button {
    border-radius: var(--about-us-custom-border-radius, var(--custom-border-radius));
}

/* About Us V2 */
#home .about-v2 .button {
    border-radius: var(--about-us-custom-border-radius, var(--custom-border-radius));
}

/* About Us V3 */
#home .about-v3 .card-image img {
    border-radius: var(--about-us-custom-border-radius, var(--custom-border-radius));
}

/* ---------------------------------------------------- */
/* END About Us -> V1 V2 V3 */
/* ---------------------------------------------------- */

/* ---------------------------------------------------- */
/* START Events -> V1 V3 V4 V5 V6 */
/* ? Section selector not standardized across versions */
/* ? Events v4/e4 shouldn't round .events-card */
/* ! Events v6/e6 uses .event-card and all other versions uses .events-card */
/* ---------------------------------------------------- */

/* Events V1 */
#home #events-e1 .events-card {
    border-radius: var(--events-custom-border-radius, var(--custom-border-radius));
}

/* Events V3 - Not needed */

/* Events V4 - Not needed */

/* Events V5 */
#home #events-e5 .events-card,
#home #events-e5 .events-date,
#home #events-e5 .section-tag {
    border-radius: var(--events-custom-border-radius, var(--custom-border-radius));
}

/* Events V6 */
#home .events-e6 .event-card,
#home .events-e6 .start-date {
    border-radius: var(--events-custom-border-radius, var(--custom-border-radius));
}

/* END Events -> V1 V3 V4 V5 V6 */

/* ---------------------------------------------------- */
/* START Live Feed -> V4 V5 V6 V7 V8 */
/* ? Section selector not standardized across versions */
/* ---------------------------------------------------- */

/* Live Feed V4 */
#home #LF4 .LF4__posts__container {
    border-radius: var(--live-feed-custom-border-radius, var(--custom-border-radius));
}

/* Live Feed V5 */
#home #live-feed-lf5 .live-feed--card,
#home #live-feed-lf5 .live-feed--card-description {
    border-radius: var(--live-feed-custom-border-radius, var(--custom-border-radius));
}

/* Live Feed V6 - Not needed */

/* Live Feed V7 */
#home .live-feed-lf7 .post {
    border-radius: var(--live-feed-custom-border-radius, var(--custom-border-radius));
}

/* Live Feed V8 */
#home .live-feed-lf8 .card-content {
    border-top-left-radius: var(--live-feed-custom-border-radius, var(--custom-border-radius));
    border-bottom-left-radius: var(--live-feed-custom-border-radius, var(--custom-border-radius));
}

#home .live-feed-lf8 .gallery-track {
    border-top-right-radius: var(--live-feed-custom-border-radius, var(--custom-border-radius));
    border-bottom-right-radius: var(--live-feed-custom-border-radius, var(--custom-border-radius));
}

/* ---------------------------------------------------- */
/* END Live Feed -> V4 V5 V6 V7 V8 */
/* ---------------------------------------------------- */

/* ---------------------------------------------------- */
/* START News -> V4 V5 V6 */
/* ---------------------------------------------------- */

/* News V4 */
#home #news-n4 .news-image,
#home #news-n4 .image-hidden-wrapper {
    border-top-left-radius: var(--news-custom-border-radius, var(--custom-border-radius));
    border-top-right-radius: var(--news-custom-border-radius, var(--custom-border-radius));
}

#home .homepage-component:not(.accent-styling) #news-n4 .news-image,
#home .homepage-component:not(.accent-styling) #news-n4 .image-hidden-wrapper {
    border-radius: var(--news-custom-border-radius, var(--custom-border-radius));
}

/* News V5 */
#home #news-n5 .news-overview-image-container,
#home #news-n5 .image-hidden-wrapper,
#home #news-n5 .news-title {
    border-radius: var(--news-custom-border-radius, var(--custom-border-radius));
}

/* News V6 */
#home #news-n6 .image-hidden-wrapper {
    border-radius: var(--news-custom-border-radius, var(--custom-border-radius));
}

/* ---------------------------------------------------- */
/* END News -> V4 V5 V6 */
/* ---------------------------------------------------- */

/* ---------------------------------------------------- */
/* START Our Schools -> V1 V2 V3 */
/* ? Section selector not standardized across versions */
/* ---------------------------------------------------- */

/* Our Schools V1 */
#home #our-schools-v1 .our-schools-image,
#home #our-schools-v1 .box {
    border-radius: var(--our-schools-custom-border-radius, var(--custom-border-radius));
}

/* Our Schools V2 */
#home .our-schools-v2 .image-wrapper {
    border-radius: var(--our-schools-custom-border-radius, var(--custom-border-radius));
}

/* Our Schools V3 */
#home .our-schools-v3 .our-schools-block::before,
#home .our-schools-v3 .our-schools-image {
    border-radius: var(--our-schools-custom-border-radius, var(--custom-border-radius));
}

/* ---------------------------------------------------- */
/* END Our Schools -> V1 V2 V3 */
/* ---------------------------------------------------- */

/* ---------------------------------------------------- */
/* START Programs -> V1 V2 V3 V4 */
/* ? Section selector not standardized across versions */
/* ---------------------------------------------------- */

/* Programs V1 */
#home #programs-p1 .image-wrapper {
    border-radius: var(--programs-custom-border-radius, var(--custom-border-radius));
}

/* Programs V2 */
#home #programs-v2 .aspect-ratio-box {
    border-radius: var(--programs-custom-border-radius, var(--custom-border-radius));
}

/* Programs V3 */
#home #programs-v3 .program-bottom-card::after {
    border-radius: var(--programs-custom-border-radius, var(--custom-border-radius));
}

#home #programs-v3 .program-card-wrapper {
    border-bottom-left-radius: var(--programs-custom-border-radius, var(--custom-border-radius));
    border-bottom-right-radius: var(--programs-custom-border-radius, var(--custom-border-radius));
}

#home #programs-v3 .program-image {
    border-top-left-radius: var(--programs-custom-border-radius, var(--custom-border-radius));
    border-top-right-radius: var(--programs-custom-border-radius, var(--custom-border-radius));
}

/* Programs V4 */
#home .programs-v4 .program-image,
#home .programs-v4 .program-card {
    border-radius: var(--programs-custom-border-radius, var(--custom-border-radius));
}

/* ---------------------------------------------------- */
/* END Programs -> V1 V2 V3 V4 */
/* ---------------------------------------------------- */

/* ---------------------------------------------------- */
/* START Spotlight -> V1 V2 V3 V4 V5 */
/* ? Section selector not standardized across versions */
/* ---------------------------------------------------- */

/* Spotlight V1 - Not needed */

/* Spotlight V2 */
#home #SL2 .spotlight-container::after {
    border-radius: var(--spotlight-custom-border-radius, var(--custom-border-radius));
}

#home #SL2 .spotlight-image {
    border-top-left-radius: var(--spotlight-custom-border-radius, var(--custom-border-radius));
    border-top-right-radius: var(--spotlight-custom-border-radius, var(--custom-border-radius));
}

#home #SL2 .spotlight-card {
    border-top-right-radius: var(--spotlight-custom-border-radius, var(--custom-border-radius));
    border-bottom-left-radius: var(--spotlight-custom-border-radius, var(--custom-border-radius));
    border-bottom-right-radius: var(--spotlight-custom-border-radius, var(--custom-border-radius));
}

/* Spotlight V3 */
#home #SL3 .spotlight-image,
#home #SL3 .spotlight-card {
    border-radius: var(--spotlight-custom-border-radius, var(--custom-border-radius));
}

/* Spotlight V4 */
#home .spotlight-v4 .main-image,
#home .spotlight-v4 .mini-image {
    border-radius: var(--spotlight-custom-border-radius, var(--custom-border-radius));
}

/* Spotlight V5 */
#home .spotlight-v5 .card-slider .card .mask,
#home .spotlight-v5 .card-slider .card .image {
    border-radius: var(--spotlight-custom-border-radius, var(--custom-border-radius));
}

#home .spotlight-v5 .card-slider .nav .button-section button::before {
    background-color: transparent;
}

/* ---------------------------------------------------- */
/* END Spotlight -> V1 V2 V3 V4 V5 */
/* ---------------------------------------------------- */

/* ---------------------------------------------------- */
/* START Stats -> V1 V2 V3 V4 */
/* ? Section selector not standardized across versions */
/* ---------------------------------------------------- */

/* Stats V1 */
#home #stats-s1 .stats-card {
    border-radius: var(--stats-custom-border-radius, var(--custom-border-radius));
}

/* Stats V2 */
#home #stats-s2 .stats-card {
    border-radius: var(--stats-custom-border-radius, var(--custom-border-radius));
}

/* Stats V3 */
@media only screen and (min-width: 960px) {
    #home .stats-s3 .stats-card:first-child {
        border-top-left-radius: var(--stats-custom-border-radius, var(--custom-border-radius));
    }

    #home .stats-s3 .stats-card:nth-child(3) {
        border-top-right-radius: var(--stats-custom-border-radius, var(--custom-border-radius));
    }

    #home .stats-s3 .stats-card:nth-child(4) .stats-card-img {
        border-bottom-left-radius: var(--stats-custom-border-radius, var(--custom-border-radius));
    }

    #home .stats-s3 .stats-card:last-child .stats-card-img {
        border-bottom-right-radius: var(--stats-custom-border-radius, var(--custom-border-radius));
    }
}

@media only screen and (max-width: 959px) {
    #home .stats-s3 .stats-card:first-child {
        border-top-left-radius: var(--stats-custom-border-radius, var(--custom-border-radius));
        border-top-right-radius: var(--stats-custom-border-radius, var(--custom-border-radius));
    }

    #home .stats-s3 .stats-card:last-child .stats-card-img {
        border-bottom-left-radius: var(--stats-custom-border-radius, var(--custom-border-radius));
        border-bottom-right-radius: var(--stats-custom-border-radius, var(--custom-border-radius));
    }
}

/* Stats V4 */
#home .stats-v4 .stat-card,
#home .stats-v4 .stat-image-wrapper,
#home .stats-v4 .stat-image,
#home .stats-v4 .stat-image-overlay {
    border-radius: var(--stats-custom-border-radius, var(--custom-border-radius));
}

/* ---------------------------------------------------- */
/* END Stats -> V1 V2 V3 V4 */
/* ---------------------------------------------------- */

/* ---------------------------------------------------- */
/* START Timeline -> V1 */
/* ---------------------------------------------------- */

/* Timeline V1 */
#home .timeline-v1 .image,
#home .timeline-v1 .item-image::after,
#home .timeline-v1 .item-year,
#home .timeline-v1 .carrousel-item {
    border-radius: var(--timeline-custom-border-radius, var(--custom-border-radius));
}

/* ---------------------------------------------------- */
/* END Timeline */
/* ---------------------------------------------------- */

/* ---------------------------------------------------- */
/* START Videos -> V1 V2 */
/* ---------------------------------------------------- */

/* Videos V1 & V2 */
#home #video-component .video-player,
#home #video-component .thumbnail img {
    border-radius: var(--videos-custom-border-radius, var(--custom-border-radius));
}

/* ---------------------------------------------------- */
/* END Videos -> V1 V2 */
/* ---------------------------------------------------- */

/* *===========================================================* */
/* *---------------------- OTHER LAYOUTS ----------------------* */
/* *===========================================================* */

/* ---------------------------------------------------- */
/* START Events -> V1 V2 V3 V7 */
/* ---------------------------------------------------- */

/* Events V1 - Not needed ~ Same as Fullwidth */

/* Events V2 */
#home #events-e2 .events-card {
    border-radius: var(--events-custom-border-radius, var(--custom-border-radius));
}

#home #events-e2 .events-date {
    border-top-left-radius: var(--events-custom-border-radius, var(--custom-border-radius));
    border-bottom-left-radius: var(--events-custom-border-radius, var(--custom-border-radius));
}

/* Events V3 - Not needed */

/* Events V7 */
#home .events-e7 .events-date,
#home .events-e7 .events-date::before {
    border-top-left-radius: var(--events-custom-border-radius, var(--custom-border-radius));
    border-bottom-left-radius: var(--events-custom-border-radius, var(--custom-border-radius));
}

#home .events-e7 .events-description {
    border-top-right-radius: var(--events-custom-border-radius, var(--custom-border-radius));
    /*border-bottom-left-radius: var(--events-custom-border-radius, var(--custom-border-radius));*/
    border-bottom-right-radius: var(--events-custom-border-radius, var(--custom-border-radius));
}


/* ---------------------------------------------------- */
/* END Events -> V1 V2 V3 V7 */
/* ---------------------------------------------------- */

/* ---------------------------------------------------- */
/* START Live Feed -> V1 V2 V3 */
/* ---------------------------------------------------- */

/* Live Feed V1 */
#home #LF1 .thumbnail,
#home #LF1 .thumbnail.more-images::before {
    border-radius: var(--live-feed-custom-border-radius, var(--custom-border-radius));
}

/* Live Feed V2 */
#home #LF2 .live-feed-post {
    border-radius: var(--live-feed-custom-border-radius, var(--custom-border-radius));
}

/* Live Feed V3 - Not needed */

/* ---------------------------------------------------- */
/* END Live Feed -> V1 V2 V3 */
/* ---------------------------------------------------- */

/* ---------------------------------------------------- */
/* START News -> V1 V2 V3 V7 */
/* ---------------------------------------------------- */

/* News V1 */
#home #news-n1.light .news-image,
#home #news-n1.light .news-image .image-hidden-wrapper,
#home #news-n1.light .news-image::before,
#home .homepage-component:not(.accent-styling) #news-n1:not(.light) .news-image,
#home .homepage-component:not(.accent-styling) #news-n1:not(.light) .news-image .image-hidden-wrapper {
    border-radius: var(--news-custom-border-radius, var(--custom-border-radius));
}

#home #news-n1:not(.light) .news-image,
#home #news-n1:not(.light) .news-image .image-hidden-wrapper {
    border-top-left-radius: var(--news-custom-border-radius, var(--custom-border-radius));
    border-top-right-radius: var(--news-custom-border-radius, var(--custom-border-radius));
}

/* News V2 */
#home #news-n2.light .news-image::before,
#home #news-n2.light .news-image .image-hidden-wrapper,
#home .homepage-component:not(.accent-styling) #news-n2:not(.light) .news-image,
#home .homepage-component:not(.accent-styling) #news-n2:not(.light) .news-image .image-hidden-wrapper,
#home #news-n2 .news-content.more-headlines-content .news-image .image-hidden-wrapper {
    border-radius: var(--news-custom-border-radius, var(--custom-border-radius));
}

#home #news-n2:not(.light) .news-content:not(.more-headlines-content) .news-image .image-hidden-wrapper {
    border-top-left-radius: var(--news-custom-border-radius, var(--custom-border-radius));
    border-top-right-radius: var(--news-custom-border-radius, var(--custom-border-radius));
}

/* News V3 */
#home #news-n3 .news-image,
#home #news-n3 .news-image .image-hidden-wrapper {
    border-radius: var(--news-custom-border-radius, var(--custom-border-radius));
}

/* News V7 */
#home .news-n7 .news-wrapper,
#home .news-n7 .image-hidden-wrapper,
#home .news-n7 .color-overlay {
    border-radius: var(--news-custom-border-radius, var(--custom-border-radius));
}

/* ============================================================= */
/* ============================================================= */
/* ==== ROUNDED CORNERS TS HOMEPAGE SECTIONS - ALL VERSIONS ==== */
/* ============================================================= */
/* ============================================================= */