/* ARTWORK NOTES
--------------------------------------------
ADDITIONAL NOTES OR REVISIONS
- Add_notes

-------------
STUDIUS TEMPLATE
- Header / NAV: Ole Faithful
- Rotator / ROT: Full Width
- Quicklinks / QL: Veiled? (No transparency)
- News: N/A
- Widgets: N/A
- Footer: N/A

-------------
COLORS
--primary-color-rgb: 130,34,34;      /* Liturgical Red (#822222) *
--secondary-color-rgb: 95,23,22;     /* Deep Maroon (#5f1716) *
--tertiary-color-rgb: 201,167,77;    /* Antique Gold (#c9a74d) *
--gray-color-rgb: 66,66,66;          /* Charcoal Gray (#424242) *
--background-color-rgb: 255,255,255; /* White *

-------------
FONTS (Google)
--title-font-family: 'Baskerville', serif;
--body-font-family: 'Source Sans 3', sans-serif;

<style>
@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400..700;1,400..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
</style>

-------------
DESIGN NOTES
- Header BG: 90% Opacity.
- Mission BG: 90% Opacity. 7px Blur.
--------------------------------------------
*/
html body.site-home {
    --section-above-bg: var(--primary-color);
    --section-feature-bg: var(--gray-color);
    --section-expanded-bg: var(--gray-color);
}

html body {
    --side-menu-bg: var(--primary-color);
    --side-menu-bg-hover: var(--secondary-color);
    --side-menu-font-size-desktop: min(1.25vw, 1.25rem);
    --side-menu-font-family: var(--body-font-family);
    --side-menu-font-weight: 400;

    --section-footer-bg: var(--secondary-color);
    --section-copyright-bg: var(--secondary-color);
}

html body #g-navigation {
    --main-menu-text-color: var(--default-black);
    --main-menu-text-color-hover: var(--default-black);
	--main-menu-bg: var(--default-white);
    --main-menu-bg-color: var(--default-white);

    --navigation-floating-social-padding: min(1vw, 1rem);
}

.g-array-item-text {
    margin: 0!important;
    padding: 0!important;
}

/* NAVIGATION */
@media only screen and (min-width: 50.99rem) {
    #g-navigation > .g-container > .g-grid:has(.g-main-nav) {
        position: relative;
    }
    #g-navigation > .g-container > .g-grid:has(.g-main-nav):before {
        content: '';
        background: var(--default-white);
        height: 100%;
        width: 3000%;
        margin-left: -500%;
        margin-right: -500%;
        position: absolute;
    }
}

@media only screen and (min-width: 50.99rem) {
    #g-navigation .g-main-nav .g-sublevel>li>.g-menu-item-container {
        color: var(--default-white);
    }
    #g-navigation .g-main-nav .g-sublevel>li>.g-menu-item-container:hover {
        background: var(--secondary-color);
        color: var(--default-white)!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    #g-navigation {
        background: url('/images/template/header.jpg') 50% 50% no-repeat;
        background-size: cover;
        position: relative;
    }
    #g-navigation:before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1;
        background: rgba(var(--secondary-color-rgb),.9);
    }
    #g-navigation > .g-container {
        position: relative;
        z-index: 2;
    }

    #g-navigation > .g-container > .g-grid:has(.tl-button) {
        padding: min(2vw, 2rem);
        position: relative;
    }
    #g-navigation .tl-button .button {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: var(--default-white);
        color: var(--default-black);
        font-weight: 700;
        font-family: var(--body-font-family);
    }
}

@media only screen and (max-width: 50.99rem) {
    #g-navigation .tl-button {
        text-align: center;
        padding: 2rem 1rem;
    }
    #g-navigation .tl-button .button {
        background: var(--default-white);
        color: var(--default-black);
        font-weight: 700;
        font-family: var(--body-font-family);
    }
}

@media only screen and (max-width: 50.99rem) {
    #g-offcanvas .g-social-items {
        flex-wrap: wrap;
    }
}

/* ABOVE */
@media only screen and (min-width: 50.99rem) {
    .site-home #g-above {
        border-top: 2px solid var(--default-white);
        border-bottom: 2px solid var(--default-white); 
    }
    .site-home #g-above > .g-container {
        padding: min(2vw, 2rem) min(2vw, 2rem)!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-home #g-above {
        border-top: 2px solid var(--default-white);
        border-bottom: 2px solid var(--default-white); 
    }
    .site-home.withmaxwidth #g-above > .g-container {
        padding: 2rem 1rem!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .mt-separate-boxes {
        margin: 0;
        padding: 0;
    }
    .mt-separate-boxes > .g-content {
        margin: 0;
        padding: 0;
    }
    .mt-separate-boxes .g-content-array {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: min(1.25vw, 1.25rem);
    }
    .mt-separate-boxes .g-content-array > .g-grid {
        margin: 0;
        padding: min(1vw, 1rem);
        flex: 1;
        background: var(--secondary-color);
        border: 1px solid var(--default-white);
        border-radius: 1rem;
        overflow: hidden;
        align-items: flex-start;
    }
    .mt-separate-boxes .g-content-array > .g-grid > .g-block {
        margin: 0;
        padding: 0;
        height: 100%;
    }
    .mt-separate-boxes .g-content-array > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 0;
    }
    .mt-separate-boxes .g-array-item {
        margin: 0;
        padding: 0;
    }
    .mt-separate-boxes .g-array-item-text {
        margin: 0;
        padding: 0;
    }

    .mt-separate-boxes :is(h1,h2,h3,h4,h5,h6) {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: min(2vw, 2rem);
        line-height: 1.2;
        font-family: var(--title-font-family);
        font-weight: 700;
        text-transform: none;
        font-variant-caps: normal;
        background: none;
        border: none;
        margin-bottom: min(1vw, 1rem);
    }
    .mt-separate-boxes p {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: min(1.25vw, 1.25rem);
        line-height: 1.4;
        font-family: var(--body-font-family);
        font-weight: 400;
        margin-bottom: min(1vw, 1rem);
    }
}

@media only screen and (max-width: 50.99rem) {
    .mt-separate-boxes {
        margin: 0;
        padding: 0;
    }
    .mt-separate-boxes > .g-content {
        margin: 0;
        padding: 0;
    }
    .mt-separate-boxes .g-content-array {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .mt-separate-boxes .g-content-array > .g-grid {
        margin: 0;
        padding: 1rem;
        flex: 1;
        background: var(--secondary-color);
        border: 1px solid var(--default-white);
        border-radius: 1rem;
        overflow: hidden;
        align-items: flex-start;
    }
    .mt-separate-boxes .g-content-array > .g-grid > .g-block {
        margin: 0;
        padding: 0;
        height: 100%;
    }
    .mt-separate-boxes .g-content-array > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 0;
    }
    .mt-separate-boxes .g-array-item {
        margin: 0;
        padding: 0;
    }
    .mt-separate-boxes .g-array-item-text {
        margin: 0;
        padding: 0;
    }

    .mt-separate-boxes :is(h1,h2,h3,h4,h5,h6) {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: 6vw;
        line-height: 1.2;
        font-family: var(--title-font-family);
        font-weight: 700;
        text-transform: none;
        font-variant-caps: normal;
        background: none;
        border: none;
        margin-bottom: 1rem;
    }
    .mt-separate-boxes p {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: 4vw;
        line-height: 1.4;
        font-family: var(--body-font-family);
        font-weight: 400;
        margin-bottom: 1rem;
    }
}

/* FEATURE */
@media only screen and (min-width: 50.99rem) {
    .site-home #g-feature > .g-container {
        padding: min(2vw, 2rem) min(2vw, 2rem)!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-home.withmaxwidth #g-feature > .g-container {
        padding: 2rem 1rem!important;
    }

    .ql-box-title .g-blockcontent-subcontent {
        justify-content: center;
    }
}

@media only screen and (min-width: 50.99rem) {
    .ql-box-title {
        margin: 0;
        padding: 0;
    }
    .ql-box-title > .g-content {
        margin: 0;
        padding: 0;
    }
    .ql-box-title > .g-content > div {
        margin: 0;
        padding: 0;
    }
    .ql-box-title .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .ql-box-title .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: min(3vw, 3rem);
    }
    .ql-box-title .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        position: relative;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: 4px 4px 8px rgba(0,0,0,.4);
        background: var(--primary-color);
        transition: .3s all ease-in-out;
        border: 1px solid var(--default-white);
    }
    .ql-box-title .g-blockcontent-subcontent-block:hover {
        background: var(--secondary-color);
    }
    .ql-box-title .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
    }
    .ql-box-title .g-blockcontent-subcontent-img {
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        object-position: center;
        object-fit: cover;
        transition: .3s all ease-in-out;
    }
    .ql-box-title .g-blockcontent-subcontent-title {
        margin: 0;
        padding: min(1.5vw, 1.5rem);
        display: flex;
        justify-content: flex-start;
        align-items: center;
        transition: .3s all ease-in-out;
    }
    .ql-box-title .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 0;
        text-align: left;
        color: var(--default-white);
        font-family: var(--title-font-family);
        font-size: min(1.5vw, 1.5rem);
        font-weight: 700;
        text-transform: none;
        font-variant-caps: normal;
        line-height: 1;
        transition: .3s all ease-in-out;
    }
    .ql-box-title .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
    .ql-box-title .g-blockcontent-buttons a {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
}

@media only screen and (max-width: 50.99rem) {
    .ql-box-title {
        margin: 0;
        padding: 0;
    }
    .ql-box-title > .g-content {
        margin: 0;
        padding: 0;
    }
    .ql-box-title > .g-content > div {
        margin: 0;
        padding: 0;
    }
    .ql-box-title .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .ql-box-title .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .ql-box-title .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        position: relative;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: 4px 4px 8px rgba(0,0,0,.4);
        background: var(--primary-color);
        transition: .3s all ease-in-out;
        flex: 1;
        min-width: calc(50% - .5rem);
        max-width: calc(50% - .5rem);
        border: 1px solid var(--default-white);
    }
    .ql-box-title .g-blockcontent-subcontent-block:hover {
        background: var(--secondary-color);
    }
    .ql-box-title .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
    }
    .ql-box-title .g-blockcontent-subcontent-img {
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        object-position: center;
        object-fit: cover;
        transition: .3s all ease-in-out;
    }
    .ql-box-title .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: .3s all ease-in-out;
    }
    .ql-box-title .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 0;
        text-align: center;
        color: var(--default-white);
        font-family: var(--title-font-family);
        font-size: 4vw;
        font-weight: 700;
        text-transform: none;
        font-variant-caps: normal;
        line-height: 1;
        transition: .3s all ease-in-out;
    }
    .ql-box-title .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
    .ql-box-title .g-blockcontent-buttons a {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
}

/* UTILITY */
@media only screen and (min-width: 50.99rem) {
    .site-home #g-utility > .g-container {
        padding: min(5vw, 5rem) min(2vw, 2rem)!important;
    }
    .site-home #g-utility > .g-container > .g-grid {
        display: flex;
        flex-direction: row;
        gap: min(4vw, 4rem);
    }
    .site-home #g-utility > .g-container > .g-grid > .g-block.parish-news-container {
        flex: 1;
        width: unset;
        max-width: unset;
    }
    .site-home #g-utility > .g-container > .g-grid > .g-block.side-ads {
        flex: unset;
        max-width: 165px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-home.withmaxwidth #g-utility > .g-container {
        padding: 2rem 0!important;
    }

    .site-home #g-utility > .g-container > .g-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .site-home #g-utility > .g-container > .g-grid > .g-block {
        width: 100%;
    }
}

@media only screen and (min-width: 50.99rem) {
    .parish-news-wrapper {
        display: flex;
        flex-direction: column;
        gap: min(2vw, 2rem);
    }
    .parish-news-wrapper .parish-news-feed .grid-articles {
        margin: 0!important;
        padding: 0!important;
    }

    .parish-news-wrapper .parish-news-title .g-title {
        margin: 0;
        padding: 0;
        color: var(--secondary-color);
        line-height: 1;
        border-bottom: 2px solid var(--secondary-color);
        font-family: var(--title-font-family);
        font-size: min(3.5vw, 3.5rem);
        font-weight: 700;
        text-transform: none;
        font-variant-caps: normal;
        padding-bottom: min(1.5vw, 1.5rem);
    }

    .parish-news-wrapper .parish-news-button {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .parish-news-wrapper .parish-news-button .button {
        background: var(--gray-color);
        color: var(--default-white);
        font-family: var(--body-font-family);
        font-size: min(1.5vw, 1.5rem);
        font-weight: 600;
        padding: min(1vw, 1rem) min(2vw, 2rem);
        border-radius: 0.5rem;
    }
}

@media only screen and (max-width: 50.99rem) {
    .parish-news-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .parish-news-wrapper .parish-news-title {
        padding: 0 1rem!important;
    }
    .parish-news-wrapper .parish-news-title .g-title {
        margin: 0;
        padding: 0;
        color: var(--secondary-color);
        line-height: 1;
        border-bottom: 2px solid var(--secondary-color);
        font-family: var(--title-font-family);
        font-size: 8vw;
        font-weight: 700;
        text-transform: none;
        font-variant-caps: normal;
        padding-bottom: .5rem;
        text-align: center;
    }
    .parish-news-wrapper .parish-news-button {
        padding: 0 1rem!important;
    }
    .parish-news-wrapper .parish-news-button .button {
        background: var(--gray-color);
        color: var(--default-white);
        font-family: var(--body-font-family);
        font-size: 4vw;
        font-weight: 600;
        border-radius: 0.5rem;
    }
}

/* MAIN */
@media only screen and (min-width: 50.99rem) {
    .site-home #g-container-main {
        background: url('/images/template/bg-mission.jpg') 50% 50% no-repeat;
        background-size: cover;
        position: relative;
    }
    .site-home #g-container-main:before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1;
        background: rgba(var(--primary-color-rgb),.9);
        backdrop-filter: blur(7px);
        --webkit-backdrop-filter: blur(7px);
    }
    .site-home #g-container-main > .g-container {
        padding: min(4vw, 4rem) min(2vw, 2rem)!important;
        z-index: 2;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-home #g-container-main {
        background: url('/images/template/bg-mission.jpg') 50% 50% no-repeat;
        background-size: cover;
        position: relative;
    }
    .site-home #g-container-main:before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1;
        background: rgba(var(--primary-color-rgb),.9);
        backdrop-filter: blur(7px);
        --webkit-backdrop-filter: blur(7px);
    }
    .site-home.withmaxwidth #g-container-main > .g-container {
        padding: 2rem 1rem!important;
        z-index: 2;
    }
}

@media only screen and (min-width: 50.99rem) {
    .mission-wrapper {
        display: flex;
        flex-direction: row;
        gap: min(3vw, 3rem);
    }
    .mission-wrapper .mission-content {
        flex: 1;
    }
    .mission-wrapper .mission-content .g-title {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: min(2.5vw, 2.5rem);
        line-height: 1.1;
        margin-bottom: min(1.5vw, 1.5rem);
        font-weight: 700;
        font-family: var(--title-font-family);
        text-transform: none;
        font-variant-caps: normal;
        border: none;
        background: none;
    }
    .mission-wrapper .mission-content p {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: min(1.5vw, 1.5rem);
        line-height: 1.5;
        font-weight: 400;
        font-family: var(--body-font-family);
        margin-bottom: min(2vw, 2rem);
        font-style: italic;
    }
    .mission-wrapper .mission-content .button {
        background: var(--default-white);
        color: var(--default-black);
        line-height: 1;
        font-size: min(1.5vw, 1.5rem);
        font-weight: 700;
        font-family: var(--body-font-family);
        padding: min(1vw, 1rem) min(2vw, 2rem);
        border-radius: 0.5rem;
    }

    .mission-wrapper .mission-list-wrapper {
        flex: 2;
        display: flex;
        flex-direction: row;
        gap: min(3vw, 3rem);
    }
    .mission-wrapper .mission-list-wrapper .mission-list-column {
        flex: 1;
        background: rgba(255,255,255,.15);
        border-radius: 1rem;
        overflow: hidden;
        padding: min(1vw, 1rem) min(2vw, 2rem);
    }

    .mission-list-column li {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: min(1.25vw, 1.25rem);
        line-height: 1.4;
        font-weight: 600;
        font-family: var(--body-font-family);
        margin-bottom: min(2vw, 2rem);
    }
}

@media only screen and (max-width: 50.99rem) {
    .mission-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .mission-wrapper .mission-content {
        flex: 1;
    }
    .mission-wrapper .mission-content .g-title {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: 8vw;
        line-height: 1.1;
        margin-bottom: 1rem;
        font-weight: 700;
        font-family: var(--title-font-family);
        text-transform: none;
        font-variant-caps: normal;
        border: none;
        background: none;
    }
    .mission-wrapper .mission-content p {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: 4vw;
        line-height: 1.5;
        font-weight: 400;
        font-family: var(--body-font-family);
        margin-bottom: 1rem;
        font-style: italic;
    }
    .mission-wrapper .mission-content .button {
        background: var(--default-white);
        color: var(--default-black);
        line-height: 1;
        font-size: 4vw;
        font-weight: 700;
        font-family: var(--body-font-family);
        border-radius: 0.5rem;
    }

    .mission-wrapper .mission-list-wrapper {
        flex: 2;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .mission-wrapper .mission-list-wrapper .mission-list-column {
        flex: 1;
        background: rgba(255,255,255,.15);
        border-radius: 1rem;
        overflow: hidden;
        padding: 1rem;
    }

    .mission-list-column li {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: 4vw;
        line-height: 1.4;
        font-weight: 600;
        font-family: var(--body-font-family);
        margin-bottom: 1rem;
    }
}

/* EXPANDED */
@media only screen and (min-width: 50.99rem) {
    .site-home #g-expanded > .g-container {
        padding: min(5vw, 5rem) min(2vw, 2rem)!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-home.withmaxwidth #g-expanded > .g-container {
        padding: 2rem 1rem!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .vl-container .g-title {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        line-height: 1;
        border-bottom: 2px solid var(--default-white);
        font-family: var(--title-font-family);
        font-size: min(3.5vw, 3.5rem);
        font-weight: 700;
        text-transform: none;
        font-variant-caps: normal;
        padding-bottom: min(1.5vw, 1.5rem);
        text-align: center;
    }

    .vl-container #yottie_1 .yottie-widget-feed {
        background: none;
    }
    .vl-container #yottie_1 .yottie-widget-feed-section-slide {
        background: none;
    }
    .vl-container #yottie_1 .yottie-widget-video {
        background: none;
    }
    .vl-container .yottie-widget-video-preview {
        border-radius: 1rem;
        overflow: hidden;
        border: 1px solid var(--default-white);
        box-shadow: var(--default-box-shadow);
    }

    .vl-container .yottie-widget-video-classic .yottie-widget-video-info .yottie-widget-video-info-title {
        margin: 0;
        padding: 0;
        color: var(--default-white)!important;
        line-height: 1.2;
        font-size: min(2vw, 2rem);
        font-family: var(--title-font-family);
        font-weight: 700;
        margin-bottom: min(1vw, 1rem);
    }

    .vl-container #yottie_1 .yottie-widget-video-info-caption {
        display: none!important;
    }
    .vl-container div.yottie-widget-video-info-properties {
        display: none;
    }

    .vl-container #yottie_1 .yottie-widget-video-info-passed-time {
        margin: 0;
        padding: 0;
        color: var(--default-white)!important;
        font-size: min(1.5vw, 1.5rem);
        font-family: var(--body-font-family);
        font-weight: 400;
    }

    .vl-button {
        text-align: center;
        margin-top: min(2vw, 2rem);
    }
    .vl-button .button {
        background: var(--default-white);
        color: var(--default-black);
        font-family: var(--body-font-family);
        font-size: min(1.5vw, 1.5rem);
        font-weight: 700;
        padding: min(1vw, 1rem) min(2vw, 2rem);
        border-radius: 0.5rem;
    }
}

@media only screen and (max-width: 50.99rem) {
    .vl-container .g-title {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        line-height: 1;
        border-bottom: 2px solid var(--default-white);
        font-family: var(--title-font-family);
        font-size: 8vw;
        font-weight: 700;
        text-transform: none;
        font-variant-caps: normal;
        padding-bottom: 1rem;
        text-align: center;
    }

    .vl-container #yottie_1 .yottie-widget-feed {
        background: none;
    }
    .vl-container #yottie_1 .yottie-widget-feed-section-slide {
        background: none;
    }
    .vl-container #yottie_1 .yottie-widget-video {
        background: none;
    }
    .vl-container .yottie-widget-video-preview {
        border-radius: 1rem;
        overflow: hidden;
        border: 1px solid var(--default-white);
        box-shadow: var(--default-box-shadow);
    }

    .vl-container .yottie-widget-video-classic .yottie-widget-video-info .yottie-widget-video-info-title {
        margin: 0;
        padding: 0;
        color: var(--default-white)!important;
        line-height: 1.2;
        font-size: 5vw;
        font-family: var(--title-font-family);
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .vl-container #yottie_1 .yottie-widget-video-info-caption {
        display: none!important;
    }
    .vl-container div.yottie-widget-video-info-properties {
        display: none;
    }

    .vl-container #yottie_1 .yottie-widget-video-info-passed-time {
        margin: 0;
        padding: 0;
        color: var(--default-white)!important;
        font-size: 4vw;
        font-family: var(--body-font-family);
        font-weight: 400;
    }

    .vl-button {
        text-align: center;
        margin-top: 1rem;
    }
    .vl-button .button {
        background: var(--default-white);
        color: var(--default-black);
        font-family: var(--body-font-family);
        font-size: 4vw;
        font-weight: 700;
        border-radius: 0.5rem;
    }
}

/* EXTENSION */
@media only screen and (min-width: 50.99rem) {
    .site-home #g-extension > .g-container {
        padding: min(5vw, 5rem) min(2vw, 2rem)!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-home.withmaxwidth #g-extension > .g-container {
        padding: 2rem 1rem!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-home #g-extension .widget-button {
        display: none!important;
    }
    .site-home #g-extension .widget-container .widget-wrapper {
        --widget-wrapper-item-gap: min(2vw, 2rem);
    }
    .site-home #g-extension .facebook-widget-wrapper {
        max-height: 833px!important;
    }


    .site-home .widget-container .widget-wrapper .widget-title .g-title {
        --widget-title-color: var(--secondary-color);
        color: var(--secondary-color)!important;
    }
    .site-home .flocknote-widget-wrapper .widget-feed-inner-box {
        background: var(--default-white)!important;
        border: 1px solid var(--default-black)!important;
        box-shadow: var(--default-box-shadow)!important;
        border-radius: 1rem!important;
        overflow: hidden!important;
    }
    .site-home .facebook-widget-wrapper .widget-feed-inner-box {
        background: var(--default-white)!important;
        border: 1px solid var(--default-black)!important;
        box-shadow: var(--default-box-shadow)!important;
        border-radius: 1rem!important;
        overflow: hidden!important;
    }
    .site-home .formed-widget-wrapper .widget-feed-inner-box img {
        background: var(--default-white)!important;
        border: 1px solid var(--default-black)!important;
        border-radius: 1rem!important;
        overflow: hidden!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-home #g-extension .widget-button {
        display: none!important;
    }
    .site-home #g-extension .widget-container .widget-wrapper {
        --widget-wrapper-item-gap: 2rem;
    }
    .site-home #g-extension .facebook-widget-wrapper {
        max-height: 833px!important;
    }


    .site-home .widget-container .widget-wrapper .widget-title .g-title {
        --widget-title-color: var(--secondary-color);
        color: var(--secondary-color)!important;
    }
    .site-home .flocknote-widget-wrapper .widget-feed-inner-box {
        background: var(--default-white)!important;
        border: 1px solid var(--default-black)!important;
        box-shadow: var(--default-box-shadow)!important;
        border-radius: 1rem!important;
        overflow: hidden!important;
    }
    .site-home .facebook-widget-wrapper .widget-feed-inner-box {
        background: var(--default-white)!important;
        border: 1px solid var(--default-black)!important;
        box-shadow: var(--default-box-shadow)!important;
        border-radius: 1rem!important;
        overflow: hidden!important;
    }
    .site-home .formed-widget-wrapper .widget-feed-inner-box img {
        background: var(--default-white)!important;
        border: 1px solid var(--default-black)!important;
        border-radius: 1rem!important;
        overflow: hidden!important;
    }
}

/* FOOTER */
@media only screen and (min-width: 50.99rem) {
    #g-footer > .g-container {
        padding: min(2vw, 2rem) min(2vw, 2rem) min(5vw, 5rem) min(2vw, 2rem)!important;
    }
    .footer-wrapper {
        display: flex;
        flex-direction: row;
        gap: min(3vw, 3rem);
    }
    .footer-wrapper .footer-logo {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .footer-wrapper .footer-logo img {
        width: min(12vw, 12rem);
    }
    .footer-wrapper .footer-cl-wrapper {
        display: flex;
        flex-direction: row;
        gap: min(3vw, 3rem);
        justify-content: space-between;
        flex: 1;
    }

    .footer-wrapper .footer-content h1 {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-family: var(--title-font-family);
        font-size: min(2.5vw, 2.5rem);
        font-weight: 700;
        text-transform: none;
        font-variant-caps: normal;
        margin-bottom: min(1vw, 1rem);
    }
    .footer-wrapper .footer-content p {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-family: var(--body-font-family);
        font-size: min(1.5vw, 1.5rem);
        line-height: 1.5;
        font-weight: 400;
        margin-bottom: min(1vw, 1rem);
    }

    .footer-wrapper .footer-links {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-wrapper .footer-links .footer-inner-links {
        display: flex;
        flex-direction: column;
    }
    .footer-wrapper .footer-links .footer-inner-links a {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-family: var(--body-font-family);
        font-size: min(1.5vw, 1.5rem);
        line-height: 1.5;
        font-weight: 400;
    }
}

@media only screen and (max-width: 50.99rem) {
    .withmaxwidth #g-footer > .g-container {
        padding: 2rem 1rem!important;
    }

    .footer-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-wrapper .footer-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .footer-wrapper .footer-logo img {
        width: 40%;
    }
    .footer-wrapper .footer-cl-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        justify-content: flex-start;
        align-items: flex-start;
        flex: 1;
    }

    .footer-wrapper .footer-content h1 {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-family: var(--title-font-family);
        font-size: 8vw;
        font-weight: 700;
        text-transform: none;
        font-variant-caps: normal;
        margin-bottom: 1rem;
    }
    .footer-wrapper .footer-content p {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-family: var(--body-font-family);
        font-size: 4vw;
        line-height: 1.5;
        font-weight: 400;
        margin-bottom: 1rem;
    }

    .footer-wrapper .footer-links {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .footer-wrapper .footer-links .footer-inner-links {
        display: flex;
        flex-direction: column;
    }
    .footer-wrapper .footer-links .footer-inner-links a {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-family: var(--body-font-family);
        font-size: 5vw;
        line-height: 1.5;
        font-weight: 400;
    }
}

@media only screen and (max-width: 50.99rem) {
    .grid-mobile-stacked .g-array-item-text a:not(a.button) {
        overflow-wrap: break-word;
    }
}

/* BOTTOM */
@media only screen and (min-width: 50.99rem) {
    #g-bottom {
        position: relative;
        z-index: 10;
    }
    .withmaxwidth #g-bottom > .g-container {
        padding: 2rem 0!important;
    }
    #g-bottom .admod td {
        padding-top: 0!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    #g-bottom {
        position: relative;
        z-index: 10;
    }
    #g-bottom > .g-container {
        padding: 2rem 0!important;
    }
    #g-bottom .admod td {
        padding-top: 0!important;
    }
}

.search-page #searchForm .btn {
    background: var(--primary-color);
}

.grid-articles .g-array-item-text a:not(a.button) {
    color: var(--primary-color);
}
.grid-articles .g-array-item-text a {
    color: var(--primary-color);
}

@media only screen and (max-width: 50.99rem) {
    .admod.adside tbody {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: .5rem .5rem;
    }
}

@media only screen and (max-width: 50.99rem) {
    body#site-grid.newslayout #g-container-main > .g-container {
        padding: 2rem 1rem!important;
    }
    body#site-grid.newslayout #g-container-main #g-mainbar {
        margin: 0!important;
        padding: 0!important;
    }

    #site-grid.newslayout .grid-mobile-stacked .g-item-title {
        --grid-title-font-size: 3vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    body .side-menu-particle .g-blockcontent-subcontent-title-text {
        --side-menu-font-size-desktop: 4vw;
    }
}