@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

@font-face {
  font-family: 'acn-icons-font';
  src: url('./fonts/acn-icons-font.woff2?54260243') format('woff2'),
       url('./fonts/acn-icons-font.woff?54260243') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


.acn-w-100{
    width: 100%;
    margin:auto;
}
.acn-w-75{
    width: 75%;
    margin:auto;
}
.acn-w-50{
    width: 50%;
    margin:auto;
}
.acn-w-25{
    width: 25%;
    margin:auto;
}

.acn-text-red{
    color: #DB0F0F;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    line-height: inherit;
    margin-block-start: 1.1rem;
    margin-block-end: 1.1rem;
    font-family: "Merriweather", serif;
}
h4.wp-block-heading{
    line-height: 56px;
}
li {
    margin-block-start: 1rem;
    margin-block-end: 1rem;
    padding-left: 10px;
}
.row{
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}
.wp-block {
    max-width:  100%;}
body, button, input, select, optgroup, textarea{
    font-family: "Source Sans 3", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
    max-width:1170px;
    padding: 0;
}

article{
    font-family: "Source Sans 3", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
article .entry-title{
    font-weight: 700;
    font-size: 44px;
    line-height: 56px;
    letter-spacing: 0%;
    vertical-align: bottom;
    max-width: 1044px;
    margin: auto;

}
article .entry-meta p{
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 1px;
}
article p, article figcaption {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    line-height: 32px;
}
article .entry-content figure{
    margin: 50px auto;
}
h5 {
    font-family: "Merriweather", serif;
}
p{
    margin-bottom:0px;
}
a:visited{
    color:inherit;
}
.btn{
    font-family: "Source Sans 3", sans-serif;
    border-color: #000;
    color: #000;
}
.btn:hover{
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: #000;
}
.btn-form {
    background-color: #303030 !important;
    color: #fff !important;
}
.bg-F5F6F8{
    background-color: #F5F6F8;
}

.vh100{
    height:100vh;
}
.card-h-100{
    height:100%;
}
.flex-even {
    flex: 1;
}

.flex-grow-3-col{
    flex: 1 1 33.33%;
}
.acn-ol-list li{
    font-size: 18px;
}
/* Page */
.site-main{
    /* max-width: 1440px; */
}
.page-column-2-content-lg{
    max-height: 600px;
    padding-bottom:20px;
}
.page-column-2-feature-lg{
    
}
/* End Page */



/* Top Menu */
.site-branding {
    max-width: 150px;
}
.navbar{
    max-width: 1440px;
    margin: auto;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-item.active, .dropdown-item:active{
    background-color: #f8f9fa;
}

.acn-dropdown-toggle::after{
    border:none;
}
.acn-donate-btn {
    background-color: #303030;
    color: #fff !important;
    border-radius: 5px;
    padding: 5px 20px;
    text-decoration: none;
}
.navbar-nav .menu-item{
    justify-content: center;
    align-items: center;
}
.navbar-nav .menu-item .dropdown-toggle::after{
    border:none;
}
.navbar-nav .menu-item .nav-link{
    padding: 2px 10px;
    font-family: "Source Sans 3", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
.navbar-nav .menu-item .nav-link:visited, .dropdown-menu .menu-item > a:visited{
    color: #000;
}
.acn-donate-btn{
    margin-left: 3em;
}
.acn-donate-btn .nav-link, .acn-donate-btn .nav-link:visited {
    color: white !important;

}

.language-switcher{
    border: solid 1px #E7E7E7;
    border-radius: 5px;
}
.language-switcher li {
    margin-block-start: 0.2rem;
    margin-block-end: 0.2rem;
    padding-left: 0px;
}
.language-switcher .menu-item .nav-link::after{
    display: none;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border: solid black;
    border-width: 0 3px 3px 0;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
/* End Top Menu */

/* Header */
.header-bg-full{
    background-repeat: no-repeat;
    background-position: center;
    min-height: 420px;
    background-size: cover;
}
.header-bg-mask{
    width:100%;
    height: 420px;
}
.header-overlay{
    background-color: rgba(0, 0, 0, 0);
}
.page-title-wrapper {
    align-items: center;
}
.page-title{
    max-width: 80%;
    font-size: 44px;
    font-family: "Merriweather", serif;
    line-height: 56px;
}
.sub-page-title{
    max-width: 50%;
    font-size: 18px;
    font-family: "Source Sans 3", sans-serif;
}
/* End Header */

/* Body */

/* Homepage */
#acnHeadSlider .carousel-control-next{
    right:0px;
}
#acnHeadSlider .carousel-control-prev{
    left:0px;
}
#acnHeadSlider .carousel-control-prev-icon {
    position: relative;
    left: -40%;
}
#acnHeadSlider .carousel-control-next-icon {
    position: relative;
    right: -40%;
}
.carousel-inner{
    max-height: 562px;
}
.carousel-caption {
    width: 100%;
    max-width: 1170px;
    margin: auto;
    color: #fff;
    z-index: 2;
    top: 30% !important;
}
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 100%;
}

.dark:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(to left, rgba(0,0,0,0), rgba(0,0,0,1));
    opacity: 0.6;
    z-index: 1;
}
.carousel-caption h5 {
    font-size: 35px;
    line-height: 44px;
}.carousel-caption p{
    font-size: 18px;
    text-align: left;
}

.top-homepage-widget-wrapper{
    border-radius: 15px;
}
.top-home-page-widget-icon{

}
.top-home-page-widget-title a{
    font-size:20px; 
    font-weight: 500;
    text-decoration: none;
}
.top-home-page-widget-title a:hover{
    color:#DB0F0F;
    text-decoration: underline;
}
.top-home-page-widget-description{
    font-size:16px;
    font-weight: 400;
}
.homepage-widget-wrapper{
    background-color: #F5F6F8;
}
.home-widget {
    /* min-width: 400px;
    padding: 0 15px; */
}
.home-widget h3{
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 56px;
}
.entry-subtitle{
    font-size: 30px;
}
/* End Homepage */
.btn-download .wp-element-button{
    background-color: #303030 !important;
    color: #fff !important;
    border-radius: 6px;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    font-size: 16px !important;
    line-height: 24px;
    padding:12px 20px 12px 20px !important;
    min-width: 190px;
}
.btn-download .wp-element-button:hover{
    background-color: #fff;
    color:#303030;
}
.btn-apply .wp-element-button{
    background-color: #fff !important;
    color: #303030 !important;
    border-radius: 6px;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    font-size: 16px !important;
    line-height: 24px;
    padding:12px 20px 12px 20px !important;
    min-width: 190px;
}
.btn-apply .wp-element-button:hover{
    background-color: #303030 !important;
    color:#fff !important;
}
.btn-job .wp-element-button {
    background-color: #fff;
    color: #303030;
    border-radius: 6px;
    border: 1px solid #303030;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    font-size: 18px !important;
    line-height: 24px;
    padding: 12px 20px 12px 20px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-job .wp-element-button::before {
    content: '\f019'; /* Example icon (Font Awesome) */
    font-family: 'Font Awesome 5 Free'; /* Font Awesome 5 */
    font-weight: 900; /* For solid icons */
    margin-right: 8px; /* Space between icon and text */
    font-size: 18px; /* Icon size */
    color: #303030; /* Icon color */
}

.btn-job .wp-element-button:hover {
    background-color: #303030;
    color: #fff;
}

.btn-job .wp-element-button:hover::before {
    color: #fff; /* Icon color on hover */
}
.btn-readmore .wp-element-button{
    border: solid 1.2px #303030 !important;
    border-radius: 6px;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    font-size: 16px !important;
    line-height: 24px;
    padding:12px 20px 12px 20px !important;
    background-color: transparent;
    color:#303030;
}
.btn-readmore .wp-element-button:hover{
    background-color: #303030;
    color:#fff;
}

.button-author-articles a{
    background-color: #fff;
    color: #303030;
    padding: 10px 20px;
    border: 1px solid #303030;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}
.button-author-articles a:hover{
    background-color: #303030 !important;
    color: #ffffff !important;
}
.sub-menu-page-tab-wrapper {
    border-bottom: 1px solid #F5F6F8;
    gap: 26px;
}
.sub-menu-page-tab{
    text-align: center;
}
.sub-menu-page-tab a {
    border-radius: 6px !important;
    background-color: #F5F6F8;
    color: #707070;
    text-transform: uppercase;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    font-size: 16px !important;
}
.sub-menu-page-tab a:hover{
    background-color: #303030;
    color: #ffffff;
}
.select-project-btn {
    border-radius: 6px !important;
    background-color: #F5F6F8;
    color: #707070;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    font-size: 16px !important;
}
.select-project-btn:hover {
    background-color: #303030;
    color: #ffffff;
}
.select-publication-btn {
    border-radius: 6px !important;
    background-color: transparent;
    color: #303030;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 400;
    font-size: 16px !important;
}
.select-publication-btn:hover {
    background-color: #DF2320;
    color: #ffffff;
    font-weight: 600;
}
.acn-collapsible-wrapper .acn-inner-top .acn-btn, .acn-collapsible-wrapper .acn-inner-bottom .acn-btn{
    border-radius: 6px !important;
    background-color: transparent;
    color: #303030;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 400;
    font-size: 16px !important;
    border-radius: 6px !important;
    border: solid 1px #303030 !important;
}
.acn-collapsible-wrapper .acn-inner-top .acn-btn:hover, .acn-collapsible-wrapper .acn-inner-bottom .acn-btn{
    background-color: #303030;
    color: #ffffff;
}
.posts-archive-wrapper{
    
}
.page-container{
    max-width: 1170px;
    margin: auto;
    padding: 10px 0 75px 0;
}
#crumbs > a{
    text-decoration: none;
}
#crumbs > a:visited{
    color: #000;
}

#crumbs a, #crumbs .current {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;

} 
#crumbs a, a:hover, a:focus, a:active {
    color: #DC3545;
}
figure.archive-post-thumbnail {
    /* max-width: 370px; */
    height: 220px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 15px;
    margin-top:0px;
}
figure.post-thumbnail > img{
    border-radius: 10px;
}
.post-item {
    margin-bottom: 10px;
    padding: 0 15px;
}
.post-content {
    max-width: 370px;
}
.cpt-ajax-wrapper {
    /* margin: 3rem 0; */
}
form.cpt-filter-form > div{
    padding: 0 10px;
}
.archive-category > a {
    color: #DC3545;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 2px;
}
.archive-country {
    background-color: #FCE9E9;
    border-radius: 5px;
}
.archive-country > a {
    color: #DC3545;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 2px;
}
.archive-title{
    font-size: 20px;
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.7rem;
}
.archive-title > a{
    text-decoration: none;
    color:#000;
}
.recent-post-archive{
    min-height: 480px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    padding: 0px;
}

.authors-container{
    display: flex;
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.authors-container h5{
    font-size: 18px;
}
.authors-container p{
    line-height: 25px;
}
#acnArchiveSpinner{
    text-align: center;
    margin: 20px auto;
    font-size: 18px;
}
/* Block Quotes */
/* Custom Styled Blockquote Inspired by ACNInternational */
/* Blockquote layout */
.wp-block-quote,
blockquote {
  position: relative;
  padding: 2rem;
  margin: 2rem 0;
  font-size: 1.2rem;
  border-radius: 8px;
  color: #333;
  font-style: italic;
  text-align: center;
}
.wp-block-quote p,
blockquote p{
    font-size: 1.5rem;
    font-family: "Merriweather", serif;
    font-weight: 100;
}
/* Add opening quote at the start of first paragraph */
.wp-block-quote p:first-of-type::before,
blockquote p:first-of-type::before {
    content: "“";
    font-family: Georgia, serif;
    font-size: 5rem;
    color: #000000;
    margin-right: 0.2rem;
    vertical-align: top;
    opacity: 0.7;
}

/* Add closing quote at the end of the last paragraph */
.wp-block-quote p:last-of-type::after,
blockquote p:last-of-type::after {
    content: "”";
    font-family: Georgia, serif;
    font-size: 5rem;
    color: #000000;
    margin-left: 0.2rem;
    vertical-align: bottom;
    opacity: 0.7;
    position: relative;
    bottom: -30px;
    right: 12px;
}

.blockquote-white::before {
    color: #fff !important;
}
.blockquote-white::after {
    color: #fff !important;
}
/* Make sure <pre> tags (used for author) are not styled */
.wp-block-quote pre,
blockquote pre {
    font-style: normal;
    font-weight: 500;
    font-size: 1rem;
    color: #666;
    background: none;
    border: none;
    padding: 0;
    margin-top: 1rem;
    text-align: right;
    position: relative;
    bottom: 0px;
    right: 25px;
    font-family: "Source Sans 3", sans-serif;
}

/* End Block Quotes */

pre {
    background: transparent;
    font-family: "'Source Sans 3'";
    line-height: 1.6;
    margin-bottom: 0px;
    max-width: 100%;
    overflow: auto;
    padding: 0;
    font-size: 14px;
}
.item-project-detail {
    margin-bottom: 0.5rem;
}
.item-project-detail p{
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
}
.project-detail-number{
    min-width: 1.2rem;
}
.project-detail-number p{
    font-size: 18px;
}
.acn-projects-icons {
    font-family: "acn-icons-font";
    font-size: 50px;
    text-transform: uppercase;
    font-style: normal;
    line-height: 30px;
    letter-spacing: 0px;
    padding: 0 5px;
}
/* .acn-cover-overlay-dark .wp-block-cover__background{
    background-color: rgba(0, 0, 0, 0.5);
} */
/* Minimal, theme-friendly styles */
.author-header{
	/* display:flex; gap:24px; align-items:center;
	max-width: 980px; margin: 2rem auto; padding: 0 1rem; */
}
.author-photo{
    display: flex; justify-content: center; align-items: center;
}
.author-photo img{
	display:block; border-radius:50%; object-fit:cover;
	width: 180px; height: 180px;
}
.author-meta .author-name{
	margin:0 0 .5rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
}
.author-bio{ color: var(--wp--preset--color--contrast-2, #444); }
.author-posts{
	/* max-width: 980px; margin: 2rem auto; padding: 0 1rem; */
}
.author-posts-title{ margin: 0 0 1rem; }
.author-post-item{ padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.author-post-item:last-child{ border-bottom: 0; }
.single-author-name{
    font-size: 44px;
}
.author-bio h2{
    font-size: 22px;
}
.author-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.author-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f0f0f0;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}
.author-social-icons a:hover {
    background: #333;
    color: #fff;
}
.acn-country-select{
    height: 90px;;
}
.acn-contact-select select.wpcf7-select {
    width: 100%;
    height: 38px;
    border-radius: 6px;
}

.wpcf7-form-control-wrap input{padding: 6px 12px;}
.wpcf7-spinner{
    position: absolute !important;
}
@media (max-width: 640px){
	.author-header{ flex-direction: column; align-items: flex-start; }
	.author-photo img{ width:140px; height:140px; }
}
/* End Body */

/* Social Media Share button */
.social-share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-share-buttons .share-btn {
    padding: 8px 12px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}
.social-share-buttons .btn:hover {
    background-color: transparent;
}
.social-share-buttons .btn i {
  transition: color 0.3s ease;
}

.social-share-buttons .btn:hover i {
  color: #ec1e23;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.email { background: #6e6e6e; }

/* End Social Media Share button */



/* bootstrap carousel */
.carousel-item{
     flex-basis: calc(100% / 3);
}
.carousel-control-prev{left:-110px}
.carousel-control-next{right:-110px}
.carousel-control-prev-icon{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg data-name='12-Arrow Left'%3E%3Cpath d='M25 0H7a7 7 0 0 0-7 7v18a7 7 0 0 0 7 7h18a7 7 0 0 0 7-7V7a7 7 0 0 0-7-7zm5 25a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5h18a5 5 0 0 1 5 5z'/%3E%3Cpath d='m13.71 9.71-1.42-1.42-7 7a1 1 0 0 0 0 1.41l7 7 1.41-1.41L8.41 17H27v-2H8.41z'/%3E%3C/g%3E%3C/svg%3E");
    background-color: #ffffff;
    border-radius: 7px;
}
.carousel-control-next-icon{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg data-name='11-Arrow Right'%3E%3Cpath d='M25 0H7a7 7 0 0 0-7 7v18a7 7 0 0 0 7 7h18a7 7 0 0 0 7-7V7a7 7 0 0 0-7-7zm5 25a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5h18a5 5 0 0 1 5 5z'/%3E%3Cpath d='m19.71 8.29-1.42 1.42 5.3 5.29H5v2h18.59l-5.29 5.29 1.41 1.41 7-7a1 1 0 0 0 0-1.41z'/%3E%3C/g%3E%3C/svg%3E");
    background-color: #ffffff;
    border-radius: 7px;
}
.carousel-indicators button {
    background-color: #333;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 4px;
}

.lazy-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 16 / 9; /* or set fixed height if needed */
}
.acn_post_carousel .slick-list .slick-track .item {
    min-height: 480px;
}
.acn_post_carousel .slick-list .slick-track .slick-slide .card{
    background: transparent !important;
}

.slick-slide > div {
    height: 100%;
}

.slick-post-carousel .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: transparent;
}

.slick-post-carousel .card-body {
    flex-grow: 1;
}

.slick-dots {
    bottom: -30px;
}
.slick-prev:before, .slick-next:before{
    display: none;
}
.carousel-author-title{
    font-size: 44px;
    font-family: "Merriweather", serif;
    text-align: left;
    padding: 0 20px;
}
.carousel-author-name{
    color: #303030;
    text-decoration: none;
}

/* Show Slick arrows with default style */
.slick-prev,
.slick-next {
    z-index: 1;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.slick-prev:hover,
.slick-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.slick-prev {
    left: -40px;
}

.slick-next {
    right: -40px;
}

/* Align arrows vertically */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background:transparent;
}
.slick-prev:hover,
.slick-next:hover{
    background:transparent;
}
.slick-dots{
    display: none !important;
}




/* End bootstrap carousel */
/* Footer */
.widget-block{
    /* max-width: 234px; */
    padding: 0;
}
.widget-block > div, .widget-block > p {
    padding-left: 10px;
}
footer.site-footer {
    background-color: #303030;
}
.footer-container-wrapper{
    border-color: #70707083 !important;
    border: 0.2px;
}
.footer-menu-container {
    width: 234px;
    max-width: 234px;
}
.footer-menu-container-1st {
    width: 320px;
    max-width: 320px;
    padding-left: 20px;
}

.footer-line-wrapper{
    max-width: 1170px;
    margin: auto;
}
.first-footer-menu-item {
    border-bottom: 1px solid #70707083;
    padding-top: 5px;
    padding-bottom: 45px;
}
.footer-border-right{
    border-right:1px solid #70707083;
}
#footer-logo {
    margin: 0px;
    border-bottom: 1px solid #70707083;
    min-height: 70px;
}
.footer-menu-toggler{
    margin-bottom: 10px;
    border-bottom: 1px solid #70707083;
    min-height: 70px;
}
.footer-logo{
    /* border-color: #70707083 !important;
    max-width: 1170px;
    margin: auto; */
    padding: 2em 0;
    border :0.2px;
}
.footer-logo .custom-logo{
    max-width: 150px;
}

.footer-menu-border{
    width:100%;
    padding: 0px;
}

.footer-about{
    padding-right: 1em;
    color:#EAEAEA;
    border-color: #70707083 !important;
    border :0.2px;
}
#footer-menu-left .navbar-nav .menu-item, #footer-menu-right .navbar-nav .menu-item{
    margin-bottom: 15px;
}
#footer-menu-left .navbar-nav .menu-item a.nav-link, #footer-menu-right .navbar-nav .menu-item a.nav-link{
    color:#EAEAEA;
}
#footer-menu-left .navbar-nav .menu-item a.nav-link:visited, #footer-menu-right .navbar-nav .menu-item a.nav-link:visited{
    color:#EAEAEA;
}
.footer-widget-1{
    font-size: 14px;
    padding-right: 20px;
}
.footer-widget-3{
    /* max-width: 270px;
    font-size: 14px; */
}
.footer-menu-item > div > ul.menu{
    margin-left: 0px;
    padding-left: 0px;
}
.footer-menu-item > div > ul > li.menu-item {
    list-style-type: none;
    margin-bottom: 10px;
    font-family: "Source Sans 3", sans-serif;
}
.footer-menu-item > div > ul > li.menu-item a{
    color:#EAEAEA;
    text-decoration: none;
    font-size: 16px;
}


.footer-menu-toggler a{
    font-family: "Source Sans 3", sans-serif;
    color:#EAEAEA;
    text-decoration: none;
    font-size: 16px;
}
.after-footer-widget-2 {
    /* margin: 0 0 1.5em 3em;
    padding-left: 2rem; */
}
.after-footer-widget-2 > div > figure > img {
    /* filter:invert(100%) sepia(0%) saturate(14%) hue-rotate(220deg) brightness(103%) contrast(106%); */
}
.after-footer-widget-1 > div > p > a, .after-footer-widget-1 > p > a:visited{
    color: white;
    text-decoration: none;
}
/* End Footer */

/* The world map  */
#acn-world-map-container svg {
  width: 100%;
  height: auto;
  max-width: 1000px;
  margin: 0 auto;
  display: block;
}
#acn-country-content {
  margin-top: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.country-post h2 {
  font-size: 1.5rem;
}
/* OMC */
.materials-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}
.material-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}
.materials-option select {
    border-radius: 8px;
    background-color: #F5F6F8;
    border: 1px solid #AAAAAA !important;
    padding: 3px 5px;
    height: 38px;
    width: 100%;
}
.materials-option select option {
    text-align: center;
}
/* .select2-container .select2-selection__rendered { text-align: center; }
.select2-results__option { text-align: center; } */

.praying-kit-submit-btn{
    background-color: #303030 !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    font-size: 16px !important;
    line-height: 24px;
    padding:12px 20px 12px 20px !important;
}
.praying-kit-submit-btn:hover{
    background-color: #fff;
    color:#303030;
}
.praying-kit-submit-btn:disabled { opacity:0.5; cursor:not-allowed; }
/* OMC */
.acn-map-stack{
  position: relative;
  width: min(100%, 1024px);
  margin: 0 auto;
  /* keep a nice aspect ratio that matches your PNG */
  aspect-ratio: 1024 / 524;
}

/* Map fills the parent */
.acn-map-stack #gmap{
    position: absolute;
    left: 40px;
    top: 70px;
    height: 100%;
    max-height: 300px;
    width: 100%;
    max-width: 768px;
    margin: auto;
}

/* Make #gmap always have real dimensions */
/* wrapper is the boss */


/* map fills the wrapper */
#gmap{
  position: relative;       /* ← key: become the containing block */
  width: 100%;
  height: 100% !important;  /* fill the 150px wrapper */
  min-height: 0 !important;
  max-height: 300px !important;
  aspect-ratio: auto !important; /* neutralize any earlier AR rules */
  background:#fff;
}



/* overlay inside the map, above tiles but below controls */
#gmap .acn-map-overlay{
  position:absolute; inset:0;
  z-index: 1500;
  pointer-events:none;
  width:100%; height:100%;
  object-fit: contain;
  -webkit-transform: translateZ(0); /* iOS Safari stacking fix */
}

/* ensure Google controls render above overlay */
#gmap .gm-style .gm-bundled-control,
#gmap .gm-style .gm-fullscreen-control,
#gmap .gm-style .gm-style-cc,
#gmap .gm-style .gm-svpc,
#gmap .gm-style .gmnoprint{
  position:relative;
  z-index: 2000;
}

/* Image overlay sits on top */
.acn-map-stack .omc-map-cover{
  position: absolute;
  inset: 0;
  z-index: 10;            /* higher than the map */
  pointer-events: none;   /* don't block map interactions */
}

/* Remove default margins and make the image scale with container */
.acn-map-stack .omc-map-cover figure{
  position: absolute;
  inset: 0;
  margin: 0;
}

.acn-map-stack .omc-map-cover img{
  width: 100%;
  /* height: 100%; */
  object-fit: contain;    /* or 'cover' if you want full bleed */
}
.acn-map-stack { position: relative; width: min(100%, 1024px); margin: 0 auto; aspect-ratio: 1024/524; }
#acn-map, #gmap { position: relative; }
#gmap { width: 100%; height: 100%; }

/* overlay fills map but stays under controls */
#gmap .omc-map-cover {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;      /* keep map/controls clickable */
}
#gmap .omc-map-cover figure { margin: 0; height: 100%; }
#gmap .omc-map-cover img { width: 100%; height: 100%; object-fit: contain; }

/* lift Google controls above the overlay */
#gmap .gm-style .gm-style-mtc,
#gmap .gm-style .gm-bundled-control,
#gmap .gm-style .gm-fullscreen-control,
#gmap .gm-style .gm-style-cc,
#gmap .gm-style .gmnoprint,
#gmap .gm-style .gm-control-active {
  position: relative;        /* required for z-index to apply */
  z-index: 10;               /* higher than overlay (5) */
}
.mcp-modal-dialog {
    background: #fff;
    border-radius: 12px;
}
.mcp-modal-dialog input{
    background: #ccc;
    border-radius: 12px;
}
.prayer_counter{
    font-size: 30px;
    margin: 0;
    line-height: 30px;
    position: relative;
    top: -40px;
}
/* End The world map  */

@media only screen and (max-width: 1900px) {
    .container-full-width{
        max-width:1800px;
        padding: 0px;
    }
    .recent-post-archive{
        min-height: 580px;
    }
    .recent-post-archive-auto{
        min-height: auto;
        padding-top: 20px;
    }
}
@media only screen and (max-width: 768px) {
    .site-header{
        padding:0 10px;
    }
    
    .home-widget {
        padding: 0 40px;
    }
    .flex-grow-3-col{
        flex: 1 1 100%;
        padding: 1rem;
        text-align: center;
    }
    .item-project-detail {
        padding: 40px !important;
    }
    .item-project-detail p {
        font-size: 20px;
    }
    .acn-projects-icons{
        font-size: 90px;
    }
    .project-detail-number{
        min-width: 2rem;
    }
    .project-detail-number p{
        font-size: 25px;
    }
    .slick-prev,
    .slick-next {
        display: none !important;
    }
    .slick-dots{
        display: block !important;
    }
    .carousel-item{
         flex-basis: 100%;
    }
    
    .carousel-control-prev{left:0px}
    .carousel-control-next{right:0px}

    .sub-menu-page-tab-container{
        padding: 0px !important;
    }
    .sub-menu-page-tab-wrapper {
        display: block;
        position: relative;
        width: 100%;
        gap: 0px;
    }

    /* Hide all except first by default */
    .sub-menu-page-tab-wrapper .wp-block-button {
        display: none;
    }
    .sub-menu-page-tab-wrapper .wp-block-button:first-child {
        display: block;
        width: 100%;
    }

    /* Style the first link like a select */
    .sub-menu-page-tab-wrapper .wp-block-button:first-child .wp-block-button__link {
        display: block;
        width: 100%;
        text-align: left;
        border: 1px solid #ccc;
        border-radius: 6px;
        padding: .75rem 1rem;
        position: relative;
        background: #303030;
    }

    /* Add ▼ dropdown arrow */
    .sub-menu-page-tab-wrapper .wp-block-button:first-child .wp-block-button__link::after {
        content: "\2228";
        position: absolute;
        right: 1rem;
        font-size: .8em;
        pointer-events: none;
    }

    /* On hover/focus of wrapper: show all options */
    .sub-menu-page-tab-wrapper:hover .wp-block-button,
    .sub-menu-page-tab-wrapper:focus-within .wp-block-button {
        display: block;
        width: 100%;
    }

    /* Style all items to look like options */
    .sub-menu-page-tab-wrapper .wp-block-button .wp-block-button__link {
        display: block;
        width: 100%;
        border: 1px solid #ccc;
        border-radius: 0;
        padding: .75rem 1rem;
        background: #303030;
        text-align: left;
    }

    /* First option styled as top rounded, last as bottom rounded */
    .sub-menu-page-tab-wrapper .wp-block-button:first-child .wp-block-button__link {
        border-radius: 6px 6px 0 0;
    }
    .sub-menu-page-tab-wrapper .wp-block-button:last-child .wp-block-button__link {
        border-radius: 0 0 6px 6px;
    }

    /* Hover effect */
    .sub-menu-page-tab-wrapper .wp-block-button .wp-block-button__link:hover {
        background: #303030;
    }
    .sub-menu-page-tab a {
        color: #ffffff;
    }
    .gmap-wrap{
        position: relative;
        height: 150px;   /* your cap */
        width: 100%;
        overflow: hidden;
    }
    .acn-map-stack #gmap {
        left: 2px;
        top: 3px;
        max-height: 150px !important;
        max-width: 300px !important;
    }
    
    .acn-map-stack #gmap > div{
        max-height: 150px !important;
    }
    .prayer_counter{
        font-size: 20px !important;
        line-height: 20px !important;
        top: 0;
    }
}

@media only screen and (max-width: 600px) {

    /* navbar */
    .navbar .container-fluid{
        padding: 0px;
    }
    .navbar-nav {
        margin: 5px 0;
        padding: 10px 0;
    }
    #languageSwitcherMobile {
        position: relative;
        width: 120px;
        height: 40px;
        padding: 2px 10px 2px 8px;
        border: 1px solid #ccc;
        border-radius: 6px;
    }
    #menu-language-switcher-mobile{
        margin: 0;
        padding: 0;
    }
    #menu-language-switcher-mobile li{
        margin: 0;
        padding: 0 7px;
    }

    #menu-language-switcher-mobile .menu-item .dropdown-toggle::after{
        /* border: none;
        display: inline-block;
        width: 15px;
        height: 15px;
        border: solid black;
        border-width: 0 3px 3px 0;
        display: inline-block;
        padding: 3px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        position: absolute;
        top: 5px;
        right: 0px;
        background: transparent; */
        top: 0px;
        right: 0;
        position: relative;
        background: transparent;
        line-height: 30px;
    }
    
    #menu-language-switcher-mobile .menu-item .nav-link {
        padding: 0px 0px;
    }
    #menu-language-switcher-mobile li.menu-item ul.dropdown-menu{
        position: relative;
        top: 14px;
        left: -10px;
    }
    .navbar-nav .menu-item .dropdown-toggle::after {
        border: none;
        display: inline-block;
        width: 30px;
        height: 30px;
        background: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
        background-position: center;
        background-size: 50% 2px, 2px 50%;
        background-repeat: no-repeat;
        position: absolute;
        top: -8px;
        right: 0px;
    }
    /* WPML Language Switcher Country Code */
    /* Make flag + code sit nicely */
    .language-switcher-mobile .wpml-ls-item > a,
    .language-switcher-mobile .wpml-ls-item .dropdown-item {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    }

    /* Base pseudo-element (empty by default) */
    .language-switcher-mobile .wpml-ls-item > a::after,
    .language-switcher-mobile .wpml-ls-item .dropdown-item::after {
        left: 0px;
    }

    /* Map each WPML language item class → country code */
    .language-switcher-mobile .wpml-ls-item .dropdown-toggle::after{
        transform:rotate(0deg);
    }

    .language-switcher-mobile .wpml-ls-item-en > a::after { content: " EN"; }

    .language-switcher-mobile .wpml-ls-item-es > a::after { content: " ES"; }

    .language-switcher-mobile .wpml-ls-item-de > a::after { content: " DE"; }

    .language-switcher-mobile .wpml-ls-item-fr > a::after { content: " FR"; }

    .language-switcher-mobile .wpml-ls-item-it > a::after { content: " IT"; }

    .language-switcher-mobile .wpml-ls-item-pt-pt > a::after { content: " PT"; }

    /* Optional: tighten spacing inside dropdown */
    .language-switcher-mobile .dropdown-menu .dropdown-item {
    gap: .4rem;
    }
    /* WPML Language Switcher Country Code */
    a.nav-link.active.dropdown-toggle {
        background-color: #aaaaaa;
    }
    .acn-donate-btn {
        margin: 0;
    }
    #languageSwitchMobile{
        position: fixed;
        right:70px;
    }

    /* end navbar */

    
    .carousel-caption h5{
        font-size: 16px;
        line-height: 22px;
    }
    .carousel-caption p{
        font-size: 10px;
        line-height: 14px;
    }
    .carousel-indicators [data-bs-target] {
        width: 3px;
        height: 3px;
    }
    .footer-menu-container, .widget-block{
        width: 100%;
        max-width: 100%;
    }  
}
@media only screen and (max-width: 480px) {
    .header-bg-full {
        min-height: 200px;
        max-height: 250px;
    }
    .page-title {
        max-width: 100%;
        font-size: 22px;
        line-height: 28px;
    }
    .sub-page-title {
        max-width: 80%;
        font-size: 16px;
        line-height: 20px;
    }
    .acn-w-xs-100{
        width: 100%;
        margin:auto;
    }
    .header-bg-mask {
        padding: 0 20px;
        max-height: 250px;
    }
    
    .recent-post-archive{
        min-height: 280px;
    }
    .container{
        padding: 0 20px;
    }
    
}