/* VARIABLES */
:root {
    /* Colors: Main */
    --ascend-blue-100: #2EA3F2;
    --ascend-blue-200: #0077C8;
    --ascend-blue-300: #0A4A7A;
    --ascend-blue-400: #11354E;
    --ascend-lime: #8CBB3F;
    --ascend-white: #FFFFFF;
    --ascend-gray-200: #989898;
    --ascend-gray-300: #666666;
    --ascend-gray-500: #000000;
    --ascend-black: #000000;
    /* Colors: Ascend Brand */
    --ascend-yellow: #FFDE37;
    --ascend-orange: #F28E20;
    --ascend-navy: #0A4A7A;
    --ascend-purple: #6E398B;
    /* Box Shadow */
    --ascend-shadow-sm: 0px 0px 10px 0px rgba(17, 53, 78, 0.15);
}

/* TYPOGRAPHY */
.cf-heading {
    font-family: "Bebas Neue";
    /* font-family: "Bebas Neue Pro"; */
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 116%;
}

.cf-hero-h3 {
    font-family: "Bebas Neue";
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.cf-h3 {
    font-family: "Bebas Neue";
    font-size: 39px;
    font-style: normal;
    font-weight: 600;
    line-height: 123%;
    text-transform: uppercase;
}

.cf-hero-h4 {
    font-family: "Bebas Neue";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.cf-h4 {
    font-family: "Bebas Neue";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.cf-h5 {
    font-family: "Bebas Neue";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.cf-card-heading {
    /* font-family: "Bebas Neue Pro"; */
    font-family: "Bebas Neue";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 113%;
}

.text-blue {
    color: var(--ascend-blue-200) ;
}

.text-blue::before, .text-blue::after {
    color: var(--ascend-blue-200) !important;
}

.text-green {
    color: var(--ascend-lime);
}

.text-black {
    color: var(--ascend-black);
}

.text-white {
    color: var(--ascend-white);
}

.uppercase {
    text-transform: uppercase;
}

.capitalize {
    text-transform: capitalize;
}

/* LAYOUT */
.container {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

/* BUTTONS */
.cf-button {
    cursor: pointer;
    border-radius: 4px;
    font-size: 24px;
    font-weight: 500;
    text-decoration: none !important;
    display: block;
    text-transform: uppercase;
    font-family: 'Bebas Neue';
    padding: 10px 30px;
}

.cf-button.btn-blue {
    background-color: var(--ascend-blue-200);
    color: var(--ascend-white) !important;
}

.cf-button.btn-white {
    background-color: var(--ascend-white);
    color: var(--ascend-black) !important;
}

.cf-button.btn-navy {
    background-color: var(--ascend-blue-400);
    color: var(--ascend-white) !important;
}

.cf-page a, .cf-page .cf-button {
    transition: all 300ms ease;
}

/* SWIPER SLIDER */
.swiper-container {
    overflow: hidden;
    padding: 20px ;
    margin-left: -20px;
    margin-right: -20px;
}
.swiper-wrapper {
    align-items: stretch;
}

.swiper-wrapper .swiper-slide {
    height: auto !important;
}

.swiper-button-next::before, .swiper-button-prev::before {
    color: var(--ascend-white);
    font-size: 32px;
}
.swiper-button-next::after, .swiper-button-prev::after {
    display: none;
}
.swiper-button-next {
    transform: translate(60px, 30px);
}

.swiper-button-prev {
    transform: translate(-60px, 30px);
}

/* TAGS */
.cf-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cf-tags .tag {
    display:flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 12px;
    text-transform: capitalize;
    color: var(--ascend-white) !important;
    text-decoration: none !important;
    background-color: var(--ascend-blue-200);
    gap: 8px;
}

.cf-tags .tag.tag-round {
    border-radius: 25px;
    padding: 8px 14px;
}

.cf-tags .tag.tag-square {
    border-radius: 5px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
}

.cf-tags .tag svg {
    fill: var(--ascend-white);
}
/* TAGS ends here */

/* BACKGROUND IMAGE */
div:has(>.container__bg) {
    position: relative;
}

.container__bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 105vw;
    background-position: center; 
    background-size: cover; 
    z-index: 1;
}

.container__bg ~ .container {
    position: relative;
    z-index: 2;
}


PAGE MAIN CONTENT
.cf-page-content {
    width: 100%;
    display:flex;
    justify-content: space-between;
    gap: 48px;
    padding: 75px 0;
}

.cf-page-content .cf-page-content__sidebar {
    max-width: 379px;
    width: 100%;
}

.cf-page-content .cf-page-content__sidebar > div {
    width: 100%;
    display: flex;
    padding: 25px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-radius: 4px;
    box-shadow: var(--ascend-shadow-sm);
}

.cf-org-info {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none !important;
}

.cf-org-info .org-logo {
    width: 46px;
    height: 46px;
    border-radius: 2px;
    background-color: var(--ascend-gray-200);
    overflow: hidden;
    flex-shrink: 0;
}

.cf-org-info .org-logo img {
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
}

.cf-org-info .org-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 138%;
}

.cf-org-info .org-title a {
    color: var(--ascend-black) !important;
    text-decoration: none !important;
}

.cf-more-info {
    font-size: 16px;
}

 

/* MEDIA MENTION */
.cf-media-mention {
    padding: 50px 0 100px 0;
    width: 100%;
    position: relative;
}

.cf-media-mention .container__bg {
    background-color: #FAFAFA;
}

.cf-media-mention .container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.cf-media-mention__box {
    display: flex;
    width: 100%;
    padding: 25px;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    border-radius: 24px;
    box-shadow: var(--ascend-shadow-sm);
}

.cf-media-mention__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    flex: 1 0 0;
    max-width: 465px;
    width: 100%;
}

.cf-media-mention__left .texts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cf-media-mention__left .texts .description {
    color: var(--ascend-gray-300);
}

.cf-media-mention__right {
    aspect-ratio: 1/1;
    overflow: hidden;
    width: 100%;
    max-width: 460px;
    flex-shrink: 0;
    border-radius: 12px;
    background-color: var(--ascend-gray-200) !important;
}

/* POST LIST */
.cf-post-list {
    padding: 50px 0 120px 0;
    position: relative;
}

.cf-post-list__wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.cf-post-list .cf-post-list__wrapper .title-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cf-post-list__wrapper .title-box > .cf-hero-h3 {
    flex-grow: 1;
}

.cf-post-list__wrapper .title-box > a {
    flex-shrink: 0;
}


.cf-post-list__item {
    padding: 16px;
    border-radius: 24px;
    background-color: var(--ascend-white);
    position: relative;
    height: 100%;
}

.cf-post-list__item .bookmark {
    position: absolute;
    top: -8px;
    left: -8px;
    z-index: 2;
}

.cf-post-list__item .bookmark svg {
    z-index: 3;
    position: absolute;
    top: 8px;
    left: 8px;
}

.cf-post-list__item .cf-post-list__item-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex-grow: 1;
    height: 100%;
}

.cf-post-list__item-inner .featured-img {
    aspect-ratio: 348/263;
    border-radius: 24px;
    background-color: var(--ascend-gray-200);
    overflow: hidden;
    flex-shrink: 0;
}

.cf-post-list__item-inner .featured-img img {
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
}

.cf-post-list__item-inner .content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}


.cf-post-list__item-inner .content .meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cf-post-list__item-inner .content .meta span {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.07px;
    color: var(--ascend-gray-300);
}

.cf-post-list__item-inner .content .title {
    flex-grow: 1;
}


.cf-post-list__item-inner .content .link {
    color: var(--Ascend-Core-Blue-100, #2EA3F2);
    font-family: "Bebas Neue" !important;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.24px;
    text-transform: uppercase;
    text-decoration: none !important;
}

.cf-post-list .swiper-pagination {
    top: calc(100% + 30px) !important;
}

.swiper-pagination {
    padding-top: 26px !important;

}

.cf-post-list .swiper-pagination-bullet {
    background-color: var(--ascend-white);
}


/* BOTTOM CTA */
.cf-cta-bottom {
    position: relative;
}
.cf-cta-bottom .container__bg {
    background-color: var(--ascend-lime);
}

.cf-cta-bottom .container {
    padding: 100px 0;
    display: flex;
    align-items: center;
    gap: 32px;
}

.cf-cta-bottom__left {
    font-family: "Avenir Next";
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 143%;
    color: var(--ascend-blue-400);
}

.cf-cta-bottom__right {
    flex-shrink: 0;
}
.cf-cta-bottom__right > a {
    margin: 0 50px;
    flex-shrink: 0;
    display: block;
    padding: 10px 30px;
}

@media (max-width: 768px) {
    .cf-cta-bottom__left {
        text-align: center;
    }
}

/* VIDEO EMBED */

.embed-video {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0;
  margin-bottom: 50px;
}

.embed-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* UPDATES 11/22/2024 */


/*** POST CAROUSEL ***/

/* Grid */
.wp-block-uagb-post-carousel {
/* 	padding: 20px 40px; */
}

.uagb-post-grid {
	padding-left: 0;
	padding-right: 0;
}
.uagb-slick-carousel .slick-list {
	padding: 20px 0;
}
.slick-track .slick-slide,
.slick-track .slick-slide > div,
.slick-track .slick-slide > div > div, 
.slick-track .slick-slide > div article {
	height: 100%;
	position: relative;
}

.slick-track
{
    display: flex !important;
}

.slick-slide
{
    height: inherit !important;
}

.category-blog .posts, .events {
	column-gap: 20px;
	gap: 20px;
	align-items: stretch !important;
}

.category-blog .posts >div > .posts__item,
.events > div> .events__item {
	height: 100%;
}

.customized-grid {
    gap: 20px;
}

/* Card */
.carousel-resources .slick-slide > div {
	position: relative;
	z-index: 1;
}

.uagb-post-grid:not(.is-grid) .uagb-post__inner-wrap {
	background-clip: unset !important;
}

.uagb-post-grid article, 
.slick-slide article,
.posts .posts__item,
.events .events__item {
	padding: 16px !important;
	border-radius: 24px !important;
	background-color: #fff !important;
	position: relative;
	z-index: 1;
	overflow: visible !important;
}

.uagb-post-grid article .uagb-post__image,
.slick-slide article .uagb-post__image {
	margin-bottom: 16px;
	width: 100%;
}

.slick-slide article .uagb-post__image img,
.posts .posts__item img {
	border-radius: 12px !important;
	overflow: hidden;
	width: 100%;
}

.customized-grid .uagb-post__image  
{
	background-color: #11354E;
	padding: 0;
	border-radius: 12px;
	aspect-ratio: 4/3;
	/* padding: 8px; */
}

.customized-grid .uagb-post__image  a {
    min-height: 100%;
}

.customized-grid .uagb-post__image img {
	min-height: 100%;
	height: auto;
	object-fit: cover;
}

.uagb-post-grid article .uagb-post__image {
	padding-bottom: 0;
}

.uagb-post-grid article .uagb-post__image img {
	position: relative;
	border-radius: 12px ;
}


.customized-grid.grid-convenings article .uagb-post__image img {
	object-fit: cover;
}

.posts .posts__item,
.events .events__item {
	display: flex;
	flex-direction: column;
	position: relative;
}

.posts .posts__item .posts__content, 
.events .events__item .events__content {
	padding: 20px 0 0;
	flex-grow: 1;
}

.posts .posts__item .posts__title a {
	color: #000 !important;
	text-transform: none;
}

/* Icon */
.customized-grid .slick-slide::before,
.uagb-post-grid article::before,
.posts .posts__item::before {
	content: url('/wp-content/themes/ascend-681/assets/img/post-bookmark.png');
	position: absolute;
	top: -8px;
	left: -8px;
	width: 80px;
	height: auto;
	z-index: 10;
}


.customized-grid.grid-resources .slick-slide::after, .uagb-post-grid article::after,
.posts .posts__item::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 36px;
	height: 36px;
	z-index: 11;
	
	background-size: contain;
	background-position: center center;
	
}

 

.customized-grid.grid-resources .slick-slide::after {
	background-image: url('/wp-content/themes/ascend-681/assets/img/icons/icon-resource.svg');
}



.customized-grid.grid-blogs article::after, .posts .posts__item::after, .customized-grid.grid-convenings article::after {
		background-image: url('/wp-content/themes/ascend-681/assets/img/icons/icon-blog.svg');
}

.customized-grid.grid-convenings .slick-slide::after, .customized-grid.grid-convenings article::after {
	background-image: url('/wp-content/themes/ascend-681/assets/img/icons/icon-convening.svg');
}
 

/* SEARCH BAR STYLING */
/* All resources grid page */
.facetwp-facet-search {
	display: flex;
}
.facetwp-input-wrap {
	display: inline-block;
	max-width: 780px;
	margin: 0 auto;
}

.facetwp-input-wrap input {
	border-radius: 3px;
}
.facetwp-input-wrap i:before {
	color: var(--ascend-blue-200) !important; 
}

/* 2gen library page */
form[role=search] {
	border: none !important;
	outline: none !important;
}
form[role=search] .wp-block-search__inside-wrapper {
	border: 1px solid #eee;
	border-radius: 3px;
	overflow: hidden;
	border-image: none;
	outline: none !important;
	background-color: #fff;
	padding: 0;
	max-width: 780px;
	margin: 0 auto;
}

form[role=search] .wp-block-search__inside-wrapper button {
	background-color: transparent !important;
	color: var(--ascend-blue-200) !important;
}

form[role=search] .wp-block-search__inside-wrapper:has(input:focus) {
	outline: 1px solid var(--ascend-blue-200) !important;
}

form[role=search] .wp-block-search__inside-wrapper input {
	outline: none !important;
}


 

/* Convening Series Pages */

.overlay-page-header::before {
	background-size: cover !important;
	left: -50% !important;
	width: 120% !important;
}

@media (max-width: 1199px) {
	.overlay-page-header {
		background: none !important;
		background-color: #11354E !important;
	}
	
	.overlay-page-header > div > div {
		grid-template-columns: 1fr !important;
	}
}

@media (min-width: 1200px) {
	.overlay-page-header .desktop-hidden {
		display: none;
	}
}

/* General Archive Title Align and Layout Styling */
.mw-1200 {
	margin: 0 auto;
	max-width: 1200px;
}

.archive-title, .archive-description {
    text-align: center;
}
