@import url('//fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap');
/************ TEMPLATE  ************

************/

@font-face {
    font-family: 'Copperlate';
    src: url('/content/copperlate.ttf');
}

.site-1 {
    --primary-color: #560761;
    --secondary-color: #F0AD4E;

    --primary-rgb: 86,7,97;
    --secondary-rgb: 240,173,78;

    --default-white: #ffffff;
    --default-black: #000000;

    --title-font-family: 'Copperlate';
    --body-font-family: 'EB Garamond', serif;

    --heading-color: var(--primary-color);
    --heading-font-family: var(--title-font-family);

    --title-border-bottom: 1px solid var(--secondary-color);

    --home-title-font: var(--title-font-family);

    --transparent: rgba(255,255,255,0);

    --default-box-shadow: 0px 0px 10px rgba(0,0,0,.5);

    --swiper-box-shadow: var(--default-box-shadow);

    --ql-title-color: var(--default-white);

    --swiper-height: 56vw;

    --mt-border-radius: 0;
    --mt-background-color: rgba(255,255,255,.75);
    --mt-header-color: var(--primary-color);
    --mt-para-color: var(--primary-color);
    --mt-header-font: var(--body-font-family);

    --ql-icon-color: var(--primary-color);

    --ql-flex: calc(100% / 3);

    --hero-title-font-size: 3vw;
    --hero-title-font-size-mobile: 5vw;
    --hero-title-left-position: 7%;
    --hero-title-right-posisiont: 7%;
}

html body p, td, li  {font-size: 1.4rem;}

p.spanish {
    font-style: italic;
    font-family: var(--body-font-family);
}
:is(h1,h2,h3,h4,h5,h6).spanish {
    font-style: italic;
}

.readon, .button, .btn, p.readmore .btn, .sprocket-lists-portrait-container > li .sprocket-lists-portrait-item > a span, .listentobutton.moduletable a {
    background: var(--primary-color);
    font-family: var(--body-font-family);
	font-size: 1.4rem;
} 

.row-fluid [class*="span"] {
    margin-left: 0;
}

/*************** ALL SITE *****************/
.item-image {display: none;}

/*************** HOMELAYOUT ***************/ 
/*************** OFFCANVAS ****************/
.g-offcanvas-toggle {color: var(--primary-color);} 
.g-offcanvas-toggle .fa-fw {text-shadow: none;}

/*************** TOP **********************/ 
/*************** NAVIGATION ***************/

@media only screen and (min-width: 50.99rem) {
    .site-1 #g-navigation {
        background: url('/images/template/header.png') 50% 0% no-repeat;
        background-size: cover;
        background-position: center;
    }

    #g-navigation .g-logo {
        margin: 1rem;
    }

    #g-navigation .g-logo img {
        width: 90%;
    }

	.ql-fa-toplinks {
		--ql-title-color: var(--primary-color);
		--ql-font-title-color: var(--primary-color);
	}

    .g-main-nav .g-toplevel>li>.g-menu-item-container>.g-menu-item-content .g-menu-item-title {
        font-size: 1vw;
    }
    .g-main-nav .g-toplevel>li>.g-menu-item-container>.g-menu-item-content .g-menu-item-subtitle {
        font-size: .9vw;
    }
	.ql-fa-toplinks .g-blockcontent-subcontent-title-text {
		font-size: 1.3vw;}
}
@media only screen and (max-width: 50.99rem) {
    #g-navigation {
		border-bottom: 1px solid var(--primary-color);
	}
	
	
	#g-navigation .g-logo {
        max-width: 70%;
        margin: 1rem auto;
    }
    .ql-fa-toplinks .g-blockcontent-subcontent-block-content > .g-blockcontent-subcontent-title {
        display: flex;
    }
    .ql-fa-toplinks .g-blockcontent-subcontent-block {
        align-items: flex-start;
    }
    .ql-fa-toplinks {
        --ql-font-size-mobile: 3vw;
    }

    .g-main-nav .g-sublevel>li>.g-menu-item-container>.g-menu-item-content>.g-menu-item-title {
        font-size: 1vw;
    }
    .g-main-nav .g-sublevel>li>.g-menu-item-container>.g-menu-item-content>.g-menu-item-subtitle {
        font-size: .9vw;
    }
}
/*************** SLIDESHOW ****************/ 

.m-times-swiper .slide-content {
    padding-top: 2%;
}

.m-times-swiper h1 {
    font-size: clamp(1.65rem, 2vw, 3rem) !important;
	margin: 0 0 20px 0;
}

.m-times-swiper :is(h2,h3,h4,h5,h6) {
    font-size: clamp(1.45rem, 1.75vw, 2.75rem) !important;
	margin: 15px 0 0 0;
}
.m-times-swiper .slide-content-wrapper > .slide-content p {
        color: var(--mt-para-color);
		font-size: clamp(1.25rem, 1.5vw, 2.5rem) !important;
		margin: 0 0 10px 0;
    }

@media only screen and (min-width: 50.99rem) {
    .m-times-swiper .slide-content-wrapper {
        width: 100%;
        justify-content: unset!important;
        align-items: unset!important;
        position: relative;
    }
    .m-times-swiper .slide-content-wrapper > .slide-content {
        position: absolute;
        top: 10%;
        bottom: 10%;
        left: 5%;
        width: 43%;
        background: rgba(255,255,255,.85);
        text-align: left!important;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    .m-times-swiper .slide-content-wrapper > .slide-content > .g-swiper-text {
        margin: 0!important;
        padding: 0!important;
        width: 85% !important;
    }
    .m-times-swiper .slide-content-wrapper > .slide-content :is(h1,h2,h3,h4,h5,h6) {
        color: var(--mt-header-color);
        font-size: var(--mt-header-desktop);
        border-bottom: none;
        text-transform: none;
        font-family: var(--title-font-family);
        font-variant-caps: normal;
        /*margin: 0;*/
    }
    
}

@media (min-width: 50.99rem) and (max-width: 1100px) {
    .m-times-swiper .slide-content-wrapper > .slide-content {
        width: 65%;
        left: 50%;
        transform: translateX(-50%);
        top: 5%;
        bottom: 5%;
    }

    #swiper-7999 > div.swiper-pagination-parent-7999.swiper-pagination-clickable.swiper-pagination-bullets {
        display: none;
    }
}

@media only screen and (max-width: 50.99rem) {
    .m-times-swiper #swiper-7999.g-swiper > .g-swiper-slider.swiper-wrapper {
        height: fit-content!important;
    }
    .m-times-swiper .swiper-slide {
        position: unset!important;
        display: flex;
        flex-direction: column;
    }
    .m-times-swiper .swiper-slide > img {
        order: 1;
        height: 56vw!important;
    }
    .m-times-swiper .swiper-slide > .slide {
        order: 2;
        height: fit-content!important;
        position: unset!important;
    }
    .m-times-swiper .slide-content-wrapper > .slide-content {
        background: #f1f2f2;
        text-align: left!important;
        padding: 1rem;
    }
    .m-times-swiper .swiper-navigation {
        display: none!important;
    }
    .m-times-swiper .slide-content-wrapper > .slide-content :is(h1,h2,h3,h4,h5,h6) {
        color: var(--mt-header-color);
        font-size: var(--mt-header-mobile);
        border-bottom: none;
        text-transform: none;
        font-family: var(--title-font-family);
        font-variant-caps: normal;
        margin: 0;
    }
    .m-times-swiper .slide-content-wrapper > .slide-content p {
        color: var(--mt-para-color);
    }
    .m-times-swiper .slide-content-wrapper > .slide-content > .g-swiper-text {
        margin: 0!important;
        padding: 0!important;
    }

    .m-times-swiper .slide {
        background-color: white;
        margin-top: 5% !important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .swiper-masstimes-overlay .mass-times-overlay :is(h1,h2,h3,h4,h5,h6) {
        margin-top: 1vw;
    }
    .swiper-masstimes-overlay .mass-times-overlay .button {
        margin-top: 1vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    .swiper-masstimes-overlay .mass-times-overlay :is(h1,h2,h3,h4,h5,h6) {
        margin-top: 1rem;
        color: var(--default-white);
    }
    .swiper-masstimes-overlay .mass-times-overlay p {
        color: var(--default-white);
    }
    .swiper-masstimes-overlay .mass-times-overlay .button {
        margin-top: 1rem;
        background: var(--default-white);
        color: var(--primary-color)!important;
    }
    .swiper-masstimes-overlay .mass-times-overlay {
        --mt-background-color: var(--primary-color);
    }
}

.mass-times-block {
	background: none;
}

/*************** HEADER *******************/
@media only screen and (min-width: 50.99rem) {
    /*.ph-rec-row {
        padding: 2vw 5%;
    }*/
    .ph-rec-row .g-content-array > .g-grid {
        padding-top: 3vw;
    }
    .ph-rec-row .g-array-item-image img {
        height: unset;
        width: 100%;
        aspect-ratio: 2.39 / 1;
    }
    .ph-rec-row .g-content-array {
        justify-content: center;
    }
}

@media only screen and (max-width: 50.99rem) {
    .ph-sidebyside-mobile .g-array-item-read-more {
        opacity: 0;
    }
}

/*************** ABOVE ********************/
/*************** SHOWCASE *****************/
/*************** UTILITY ******************/
/*************** FEATURE ******************/
/*************** MAIN *********************/

.site-1-home .moduletable[class*="box"] {
    padding: 1.5rem 0.5rem;
}
.site-1-home .box4.moduletable {
	 border: 4px solid var(--secondary-color);
}
.box4 .g-title {
    font-size: 2.25rem;
    text-transform: none; 
}

.bulletin-button > .g-content {
    padding: 0;
}

.bulletin-list > .g-content {
    padding-bottom: 0;
}

.site-1-home #g-container-main h3 {
    font-family: var(--body-font-family);
    font-weight: 400;
}

.parish-home #g-container-main {
    padding: 0 5%;
}

@media only screen and (max-width: 50.99rem) {
    #g-mainbar > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 0;
    }
    #g-mainbar .g-content-array > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 0;
    }

    #g-aside {
        padding: 5%;
    }
    #g-aside > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 0;
    }
}

/*************** EXPANDED *****************/ 

#g-expanded > .g-container {
    width: 100%;
    padding: 0 3%;
}

@media only screen and (min-width: 50.99rem) {
    .call-for-help {
        display: flex;
        flex-direction: row;
    }
    .call-for-help :is(h1,h2,h3,h4,h5,h6) {
        color: var(--default-white);
        font-family: var(--title-font-family);
        font-size: clamp(1.5rem, 1.75vw, 3.5rem);
    }
    .call-for-help > div:first-child {
        flex: 75%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .call-for-help > div:last-child {
        flex: 25%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .call-for-help .button {
        background: var(--secondary-color);
    }

    .site-1-home #g-expanded .g-content-array > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 0;
    }
    .site-1-home #g-expanded .g-content-array .g-array-item-text {
        margin: 0;
        padding: 0;
    }
}

@media only screen and (max-width: 50.99rem) {
    .call-for-help {
        display: flex;
        flex-direction: column;
    }
    .call-for-help :is(h1,h2,h3,h4,h5,h6) {
        color: var(--default-white);
        font-family: var(--body-font-family);
        font-size: 7vw;
        text-align: center;
    }
    .call-for-help > div:first-child {
        flex: 67%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .call-for-help > div:last-child {
        flex: 33%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .call-for-help .button {
        background: var(--secondary-color);
    }

    .site-1-home #g-expanded .g-content-array > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 0;
    }
    .site-1-home #g-expanded .g-content-array .g-array-item-text {
        margin: 0;
        padding: 0;
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-extension .g-array-item-text :is(h1,h2,h3,h4,h5,h6,p) {
        color: var(--default-white);
        font-family: var(--title-font-family);
        font-size: clamp(2rem, 2.75vw, 3.5rem);
        text-align: center;
    }

    /* .site-1-home #g-extension {
        background: url('/images/stories/template/paralax.jpg') 0% 0% no-repeat;
        background-size: cover;
        background-attachment: fixed;
        background-position: center;
    }

    .site-1-home #g-extension > .g-container {
        background: rgba(0,0,0,.6);
        padding: 5vw 5%!important;
        width: 100%;
    } */
    .site-1-home .social-feed {padding: 0 2vw;}
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-extension .g-array-item-text :is(h1,h2,h3,h4,h5,h6,p) {
        color: var(--default-white);
    }

    .site-1-home #g-extension {
        background: url('/images/stories/template/paralax.jpg') 0% 0% no-repeat;
        background-size: cover;
        background-attachment: initial;
        background-position: center;
    }

    .site-1-home #g-extension > .g-container {
        background: rgba(var(--primary-rgb),.6);
        padding: 5vw 10%!important;
        width: 100%;
    }
    .site-1-home .social-feed {padding: 0 2vw;}
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-expanded > .g-container {
        padding: 5vw 0!important;
    }
}

/*************** EXTENSION ****************/
@media only screen and (min-width: 50.99rem) {
    .facebook-feed {
        display: flex;
        flex-direction: row;
        gap: 2rem;
    }
    .facebook-feed > div {
        flex: 1;
        text-align: center;
    }
    .facebook-feed h1 {
        text-align: center;
        font-size: 2.25vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    .facebook-feed > div {
        text-align: center;
    }
    .facebook-feed h1 {
        text-align: center;
        font-size: 6vw;
    }
}

/*************** BOTTOM *******************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-bottom .g-array-item-text {
        margin: 0;
        padding: 0;
    }
    .education-section {
        display: flex;
        flex-direction: row;
    }
    .education-img {
        flex: 33%;
    }
    .education-text {
        flex: 67%;
        background: url('/images/stories/template/cross-border.png') 0% 100% repeat-x, var(--default-white);
        background-size: auto 10%;
        background-position: center bottom 3%;
        text-align: right;
        padding: 2% 3%;
        /* display: grid; */
        align-items: center;
        padding-bottom: 7%;
    }
    .education-text :is(h1,h2,h3,h4,h5,h6) {
        font-size: 3vw;
        font-family: var(--body-font-family);
    }

    .education-text h1:first-child {
        margin-bottom: 1.5rem;
    }

    .education-text p {
        color: var(--default-black);
        margin-bottom: 0;
        line-height: 1.5;
        /*font-size: 1.25vw;*/
    }

    .education-text .button {
        margin-top: 2rem;
    }
    .gallery-title-section {
        display: flex;
        flex-direction: row;
    }
    .gallery-title-section :is(h1,h2,h3,h4,h5,h6) {
        color: var(--default-white);
        font-family: var(--body-font-family);
        font-size: 2.5vw;
    }
    .gallery-title-section > div:first-child {
        flex: 67%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .gallery-title-section > div:last-child {
        flex: 33%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .gallery-title-section .button {
        background: var(--secondary-color);
    }
    .map-section {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        border-bottom: 7px solid var(--primary-color);
        border-top: 7px solid var(--primary-color);
    }
    .map-section h1 {
        font-size: 2.5vw;
        font-family: var(--body-font-family);
    }
    .map-section > div:first-child {
        background: url('/images/stories/template/cross-border.png') 0% 100% repeat-x, var(--default-white);
        background-size: auto 14%;
        background-position: center bottom 3%;
        flex: 33%;
        padding: 5vw 0;
    }
    .map-section > div:last-child {
        flex: 67%;
    }
    #g-bottom > .g-container > .g-grid:nth-child(2) {
        display: none;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-bottom .g-array-item-text {
        margin: 0;
        padding: 0;
    }
    .education-section {
        display: flex;
        flex-direction: column;
    }
    .education-img {
        flex: 33%;
        order: 2;
    }
    .education-text {
        flex: 67%;
        background: url('/images/stories/template/cross-border.png') 0% 100% repeat-x, var(--default-white);
        background-size: auto 10%;
        background-position: center bottom 3%;
        text-align: right;
        padding: 7%;
    }
    .education-text :is(h1,h2,h3,h4,h5,h6) {
        font-size: 6vw;
    }
    .education-text p {
        color: var(--default-black);
    }
    .gallery-title-section {
        display: flex;
        flex-direction: row;
    }
    .gallery-title-section :is(h1,h2,h3,h4,h5,h6) {
        color: var(--default-white);
        font-family: var(--title-font-family);
        font-size: 2.5vw;
    }
    .gallery-title-section > div:first-child {
        flex: 67%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .gallery-title-section > div:last-child {
        flex: 33%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .gallery-title-section .button {
        background: var(--secondary-color);
    }
    .map-section {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .map-section h1 {
        font-size: 6vw;
    }

    .map-section > div:first-child {
        background: url('/images/stories/template/cross-border.png') 0% 100% repeat-x, var(--default-white);
        background-size: auto 10%;
        background-position: center bottom 3%;
        flex: 33%;
        padding: 3vw 1rem;
    }
    .map-section > div:last-child {
        flex: 67%;
    }
    #g-bottom > .g-container > .g-grid:nth-child(2) {
        display: none;
    }
}

/*************** FOOTER *******************/
#g-footer .g-content-array {margin: 0;}
#g-footer a {color: var(--default-white);} 
#g-footer {height: 100%;}

.site-1 #g-footer > .g-grid:nth-child(2) .g-content {
    padding: 0 5%;
}

.footer-ads > .g-content {
    padding-bottom: 0;
}

@media only screen and (min-width: 50.99rem) {
    .site-1 #g-footer {
        background: url('/images/template/footer.png') 50% 0% no-repeat;
        background-size: cover;
        background-position: center;
    }

    .footer-wrapper {
        display: flex;
        flex-direction: row;
        gap: 1vw;
    }
    .footer-logo {
        flex: 60%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .footer-social-icons {
        flex: 40%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2vw;
    }
    .footer-social-icons a {
        color: var(--primary-color)!important;
        font-size: 4vw;
    }
    .footer-social-icons a:hover {
        color: var(--secondary-color)!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1 #g-footer {
        background: url('/images/template/footer.png') 50% 0% no-repeat;
        background-size: cover;
    }

    .footer-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1vw;
    }
    .footer-logo {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .footer-social-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2vw;
    }
    .footer-social-icons a {
        color: var(--primary-color)!important;
        font-size: 10vw;
    }
    .footer-social-icons a:hover {
        color: var(--secondary-color)!important;
    }
}

/*************** COPYRIGHT ****************/ 
@media only screen and (min-width: 50.99rem) {
    .adminfootericon .fa-lock {
        color: var(--primary-color)!important;
    }
    .adminfootericon .fa-lock:hover {
        color: var(--secondary-color)!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .adminfootericon .fa-lock {
        color: var(--primary-color)!important;
    }
    .adminfootericon .fa-lock:hover {
        color: var(--secondary-color)!important;
    }
}

/*************** MODULES ******************/
.moduletable .nav.menu, .moduletable .unstyled {background: var(--primary-color);} 
.moduletable .nav.menu li.current.active a, .moduletable .nav.menu li a:hover {    
    color: white; 
    background: var(--secondary-color);
} 
/*************** SECTIONS *****************/
/*************** MOBILE *******************/ 
/*************** ADS **********************/

@media only screen and (min-width: 50.99rem) {
    .bilingual {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 2vw;
    }
    .bilingual .englishtext {
        flex: 1;
    }
    .bilingual .spanishtext {
        flex: 1;
        font-style: italic;
    }
}

@media only screen and (max-width: 50.99rem) {
    .bilingual {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .bilingual .englishtext {
        flex: 1;
    }
    .bilingual .spanishtext {
        flex: 1;
        font-style: italic;
    }
}


 .sprocket-lists-portrait-item li {
    border-bottom: none;
    overflow: initial;
    padding: 2px 0;
}
.sprocket-lists-portrait-item ul {
    list-style: initial !important;
    margin: unset;
    margin-left: 1.5rem;
    padding: initial;
}


/* bulletin List Particle */

.bulletin-list .k-ui-namespace .mod_docman ul li .koowa_header {
    margin-bottom: 0;
}

.bulletin-list .k-ui-namespace .mod_docman_icons {
    padding-bottom: 0;
    width: 75%;
}

.bulletin-list .koowa_header {
    justify-content: space-around;
}

.bulletin-list .module_document {
    position: relative;
}

.bulletin-list .k-ui-namespace .mod_docman.mod_docman--documents ul li {
    margin: 0;
}

.bulletin-list .koowa_header__title_link {
    padding: 1rem 4rem;
    box-shadow: var(--default-box-shadow);
    font-size: clamp(1.2rem, 1.4vw, 2rem);
}

.bulletin-list .koowa_header__item--image_container {
    display: none;
}

.bulletin-list .koowa_wrapped_content {
    margin: 0.75rem 0;
}

.bulletin-list :is(.mod_docman_icons, .module_document, .koowa_header, .koowa_header__item, .koowa_wrapped_content) {
    width: 100%;
}

.bulletin-list .whitespace_preserver {
    width: 100%;
    display: block;
}

.bulletin-list .koowa_header__title_link  {
    width: auto;
    display: grid;
    text-align: center;
    margin: auto;
    border-radius: 10px;
}

.bulletin-list .koowa_header__title_link:hover {
    transform: scale(0.98);
}


.site-1-home #g-extension {
    background: url(/images/stories/template/paralax.jpg) 50% 50% no-repeat;
    background-size: 110% auto;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 50.99rem) {
    .site-1-home #g-extension {
        background-size: auto 120%;
    }
}


.site-1-home #g-extension > div.g-container {
    background: rgba(0,0,0,.6); /* You can change the color here */
    padding: 3vw 5% 6vw 5%!important; /* adjust the padding here */
}

/* grid page fixes */

@media (max-width: 50.99rem) {
    .grid-tiles .g-content-array {
        gap: 2rem;
    }

    .grid-tiles.grid-wide .g-content-array > .g-grid {
        width: 100%;
        max-width: 100%;
        height: calc(var(--grid-img-width-mobile) * 9/16);
    }
}

/* mobile ql fixes */

@media (max-width: 50.99rem) {
    .dio-services {
        --grid-img-width-mobile: 93vw;
    }
}

/*  */

/* --- Global Styles --- */
.united-page > h3:nth-of-type(1),
.united-page div:nth-of-type(2) h3:nth-of-type(1) {
  text-align: center;
  padding-bottom: 0.5rem;
  border-bottom-color: var(--secondary-color);
}

.united-page div:nth-of-type(2) h3:nth-of-type(1) {
  margin-top: 1.5rem;
}

.united-page h4 {
  font-size: 1.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--secondary-color);
  margin-bottom: 1rem;
}

/* --- Header Content --- */
.united-page > p:nth-of-type(1) {
  text-align: center;
  margin-bottom: 2rem;
}

.united-page > p:nth-of-type(1) img {
  display: inline-block;
  height: auto;
}

.united-page > p:nth-of-type(2),
.united-page > p:nth-of-type(3),
.united-page > p:nth-of-type(4),
.united-page > p:nth-of-type(5),
.united-page > p:nth-of-type(6) {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.united-page > p:nth-of-type(2) {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

.united-page > p:nth-of-type(2) em {
  font-style: normal;
  margin: 0 0.75rem;
}

.united-page > p:nth-of-type(6) {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.united-page > p:nth-of-type(6) em {
  font-style: normal;
}

/* --- Column Layout --- */
.united-page > div:nth-of-type(1),
.united-page > div:nth-of-type(2) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* --- Link & Button Styles --- */
.united-page div:nth-of-type(2) div:nth-of-type(1) p:nth-of-type(3) a,
.united-page div:nth-of-type(2) div:nth-of-type(1) p:nth-of-type(3) span a,
.united-page div:nth-of-type(2) div:nth-of-type(2) p:nth-of-type(2) span a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.united-page div:nth-of-type(2) div:nth-of-type(1) p:nth-of-type(3) a:hover,
.united-page div:nth-of-type(2) div:nth-of-type(1) p:nth-of-type(3) span a:hover,
.united-page div:nth-of-type(2) div:nth-of-type(2) p:nth-of-type(2) span a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.united-page > div:nth-of-type(1) div:nth-of-type(1) a,
.united-page > div:nth-of-type(1) div:nth-of-type(2) a,
.united-page > div:nth-of-type(2) div:nth-of-type(2) div:nth-of-type(1) a {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.united-page > div:nth-of-type(1) div:nth-of-type(1) a::after,
.united-page > div:nth-of-type(1) div:nth-of-type(2) a::after,
.united-page > div:nth-of-type(2) div:nth-of-type(2) div:nth-of-type(1) a::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: " \f061"; /* fa-arrow-right */
  margin-left: 0.5rem;
}

.united-page > div:nth-of-type(1) div:nth-of-type(1) a:hover,
.united-page > div:nth-of-type(1) div:nth-of-type(2) a:hover,
.united-page > div:nth-of-type(2) div:nth-of-type(2) div:nth-of-type(1) a:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
  transform: translateY(-2px);
}

/* --- Video iFrames --- */
.united-page > figure:nth-of-type(1),
.united-page > figure:nth-of-type(2) {
  /* Override inline styles (width: 500px, margin: 40px) */
  width: 100%;
  max-width: 900px; /* Set a new, larger max-width */
  margin-left: auto;
  margin-right: auto;
  margin-inline-start: auto;
  margin-inline-end: auto;
}

.united-page > figure:nth-of-type(1) iframe,
.united-page > figure:nth-of-type(2) iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: none;
}

/* --- Mobile Styles --- */
@media (max-width: 50.99rem) {
  .united-page > div:nth-of-type(1),
  .united-page > div:nth-of-type(2) {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .united-page > p:nth-of-type(2) {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .united-page > p:nth-of-type(2) em {
    margin: 0;
  }

  .united-page > figure:nth-of-type(1),
  .united-page > figure:nth-of-type(2) {
    /* Override existing inline styles for mobile */
    display: block;
    width: auto;
    max-width: 100%; /* Ensure it doesn't overflow */
    margin-left: 1rem;
    margin-right: 1rem;
    margin-inline-start: 1rem;
    margin-inline-end: 1rem;
  }
}

.call-for-help :is(h1,h2,h3,h4,h5,h6,p,a) {
    color: var(--primary-color);
}

/*  */

/* --- Main Container --- */
.call-for-help {
  display: flex;
  flex-direction: column; /* Stacks logos on top of content */
  gap: 1.5rem;
  width: 100%;
  align-items: center;
}

/* --- Top Logo Section --- */
.call-for-help .header-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centers logos side-by-side */
  gap: 3rem;
  width: 100%;
}

.call-for-help .header-logos img {
  max-width: 400px; /* Limit logo size */
  height: auto;
  object-fit: contain;
}

/* --- Bottom Content Wrapper --- */
.call-for-help .content-wrapper {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

/* --- Overrides for Existing Elements --- */
/* Resetting fixed widths to be fluid */
.call-for-help .content-wrapper > div[data-style-id="s-2"] {
  width: auto !important;
  inline-size: auto !important;
  flex: 1 1 auto;
  min-width: 0; /* Prevents flex overflow */
}

.call-for-help .content-wrapper .donate-now {
  width: auto !important;
  inline-size: auto !important;
  flex: 0 0 auto;
}

/* --- Button Styling --- */
.call-for-help .button {
  background-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--secondary-color);
  border-radius: 4px;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
}

.call-for-help .button:hover {
  background-color: transparent !important;
  color: var(--secondary-color) !important;
}

/* Add Icon to button */
.call-for-help .button::after {
  content: '\f4c4'; /* Font Awesome Heart Hand */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 50.99rem) {
  .call-for-help .content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  
  .call-for-help .content-wrapper > div {
    width: 100% !important;
    justify-content: center;
  }

  /* Ensure logos shrink on very small screens */
  .call-for-help .header-logos img {
    max-width: 80%; 
  }
}