/*
 * Theme Name:  Blueprint Child
 * Theme URI:   https://codesupply.co/themes/blueprint/
 * Description: Blueprint Child Theme
 * Author:      Code Supply Co.
 * Author URI:  https://codesupply.co/
 * Template:    blueprint
 * Version:     1.0.0
 */

:root {
    --cs-font-primary-family: 'Roboto', sans-serif;
    --cs-font-secondary-family: 'Roboto', sans-serif;
    --cs-font-headings-family: 'Roboto', sans-serif;
    --cs-font-headings-excerpt-family: 'Roboto', sans-serif;
    --cs-font-post-subtitle-family: 'Roboto', sans-serif;
}

/* Copy any classes from parent theme here. They will override the parent's version. */

/* Justify text alignment for entry content paragraphs */
.cs-entry__content-wrap > .entry-content > p {
    text-align: justify;
}

.cs-search__tags-wrapper {
    display: none;
}
.cs-logo {
    margin-left: 40px;
}
.cs-header__search-toggle {
    margin-right: 40px;
}

.efcfo-footer-simple {
    background: #ffffff;
    color: #101725;
    /* padding: 60px 20px 40px; */
    /* margin-top: 80px; */
    border-top: 1px solid rgba(16, 23, 37, 0.08);
    font-family: var(--cs-font-secondary-family, "Inter"), "Helvetica Neue", Arial, sans-serif;
    font-size: var(--cs-font-secondary-size, 1rem);
    font-weight: var(--cs-font-secondary-weight, 400);
    font-style: var(--cs-font-secondary-style, normal);
    letter-spacing: var(--cs-font-secondary-letter-spacing, 0.01em);
    text-transform: var(--cs-font-secondary-text-transform, none);
}

.efcfo-footer-wrapper {
    width: 100%;
    margin: 0;
}

.efcfo-footer-simple__top {
    margin: 0 0 0px;
    padding: 24px 40px 16px;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.efcfo-footer-simple__logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.efcfo-footer-simple__logo img {
    max-width: 220px;
    height: auto;
    display: block;
}

.efcfo-footer-simple__title {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    letter-spacing: -0.01em;
}

.efcfo-footer-simple__description {
    /* flex: 1 1 420px; */
    margin-top: 0;
    font-size: calc(var(--cs-font-secondary-size, 1rem) + 0.05rem);
    line-height: 1.85;
    letter-spacing: var(--cs-font-secondary-letter-spacing, 0.01em);
    color: rgba(16, 23, 37, 0.76);
}

.efcfo-footer-simple__description > *:last-child {
    margin-bottom: 0;
}

.efcfo-footer-simple__bottom {
    margin: 0;
    padding: 18px 20px 24px;
    border-top: 1px solid rgba(16, 23, 37, 0.08);
    background-color: var(--cs-color-footer-bottom-background, transparent);
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    font-size: calc(var(--cs-font-secondary-size, 1rem) - 0.05rem);
    letter-spacing: var(--cs-font-secondary-letter-spacing, 0.01em);
    color: rgba(16, 23, 37, 0.58);
}

.efcfo-footer-simple__bottom p {
    margin: 0;
}

.cs-footer__copyright,
.efcfo-footer-simple__bottom p {
    font-family: var(--cs-font-secondary-family, "Inter"), sans-serif;
    font-size: var(--cs-font-secondary-size, 1rem);
    font-weight: var(--cs-font-secondary-weight, 400);
    font-style: var(--cs-font-secondary-style, normal);
    letter-spacing: var(--cs-font-secondary-letter-spacing, 0.01em);
    text-transform: var(--cs-font-secondary-text-transform, none);
    color: var(--cs-color-secondary, rgba(16, 23, 37, 0.58));
}

@media (max-width: 720px) {
    .efcfo-footer-simple {
        padding: 42px 20px 32px;
    }

    .efcfo-footer-simple__top,
    .efcfo-footer-simple__bottom {
        margin: 0;
    }

    .efcfo-footer-simple__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 24px 0 12px;
    }

    .efcfo-footer-simple__description {
        margin-top: 0;
        font-size: 1rem;
        line-height: 1.8;
    }

    .efcfo-footer-simple__bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        padding: 20px 24px;
    }
}
body .page-template-page-gallery #page .cs-site-content,
.page-id-4403 #page .cs-site-content,
.page-id-5621 #page .cs-site-content {
    margin-top: 0 !important;
}

body #page .cs-site-content {
    margin: 3rem 0 !important;
}

.page-template-contact #page .cs-site-content,
.page-id-184 #page .cs-site-content {
    margin-top: 0 !important;
}

.page-template-contact .header-image, 
.page-id-184 .header-image {
    margin-top: 0;
}
.page-template-page-about #page .cs-site-content,
.page-id-184 #page .cs-site-content {
    margin: 0 !important;
}


body .page-template-page-services #page .cs-site-content,
.page-id-184 #page .cs-site-content {
    margin-top: 0 !important;
}



/* -------------------------------------------------------------------------- */
/* Videos Page                                                                */
/* -------------------------------------------------------------------------- */

.ef-video-page {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ef-video-hero {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.ef-video-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ef-video-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(7, 36, 66, 0.8), rgba(7, 36, 66, 0.35));
}

.ef-video-hero__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 60px 20px;
    text-align: center;
}

.ef-video-hero__title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
}

.ef-video-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: -20px;
    padding: 0 20px;
}

.ef-video-tab {
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background-color: #f3f4f6;
    color: #4b5563;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ef-video-tab.is-active {
    background-color: #0b5ed7;
    color: #ffffff;
    /* box-shadow: 0 12px 24px rgba(11, 94, 215, 0.25); */
}

.ef-video-tab:hover,
.ef-video-tab:focus {
    opacity: 0.92;
}

.ef-video-panel {
    width: 100%;
}

.ef-video-panel:not(.is-active) {
    display: none;
}

.ef-video-panel > .container {
    max-width: 1730px;
    padding: 32px 60px 80px;
    margin: 0 auto;
}

.ef-video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.ef-video-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.ef-video-card__thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 320 / 180;
    border-radius: 12px;
    overflow: hidden;
}

.ef-video-card__thumb iframe,
.ef-video-card__thumb img {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.ef-video-card__thumb img {
    object-fit: cover;
}

.ef-video-card__icon {
    display: none;
}

.ef-video-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 4px;
}

.ef-video-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: #0f172a;
    margin: 0;
}

.ef-video-card__meta {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
}

.ef-playlist-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
}

.ef-playlist-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #ffffff;
    border-radius: 18px;
    /* box-shadow: 0 20px 36px rgba(15, 23, 42, 0.08); */
    padding: 18px 18px 24px;
    /* transition: transform 0.24s ease, box-shadow 0.24s ease; */
    height: 100%;
    border: none;
    cursor: pointer;
    text-align: left;
    color: inherit;
}

.ef-playlist-card:hover,
.ef-playlist-card:focus-visible {
    outline: none;
}

.ef-playlist-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 320 / 180;
    margin-top: 18px;
    border-radius: 18px;
    overflow: visible;
}

.ef-playlist-thumb__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
}

.ef-playlist-stack {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ef-playlist-stack__layer {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.ef-playlist-stack__layer--1 {
    transform: translateY(-20px);
    z-index: 1;
}

.ef-playlist-stack__layer--2 {
    transform: translateY(-12px);
    z-index: 2;
}

.ef-playlist-stack__layer--3 {
    transform: translateY(-6px);
    z-index: 3;
}

.ef-playlist-stack--blue .ef-playlist-stack__layer--1 {
    background-color: rgba(7, 36, 66, 0.4);
}

.ef-playlist-stack--blue .ef-playlist-stack__layer--2 {
    background-color: rgba(7, 36, 66, 0.6);
}

.ef-playlist-stack--blue .ef-playlist-stack__layer--3 {
    background-color: rgba(7, 36, 66, 0.8);
}

.ef-playlist-stack--orange .ef-playlist-stack__layer--1 {
    background-color: rgba(254, 113, 44, 0.4);
}

.ef-playlist-stack--orange .ef-playlist-stack__layer--2 {
    background-color: rgba(254, 113, 44, 0.6);
}

.ef-playlist-stack--orange .ef-playlist-stack__layer--3 {
    background-color: rgba(254, 113, 44, 0.8);
}

.ef-playlist-stack--purple .ef-playlist-stack__layer--1 {
    background-color: rgba(32, 9, 53, 0.4);
}

.ef-playlist-stack--purple .ef-playlist-stack__layer--2 {
    background-color: rgba(32, 9, 53, 0.6);
}

.ef-playlist-stack--purple .ef-playlist-stack__layer--3 {
    background-color: rgba(32, 9, 53, 0.8);
}

.ef-playlist-stack--red .ef-playlist-stack__layer--1 {
    background-color: rgba(71, 0, 0, 0.4);
}

.ef-playlist-stack--red .ef-playlist-stack__layer--2 {
    background-color: rgba(71, 0, 0, 0.6);
}

.ef-playlist-stack--red .ef-playlist-stack__layer--3 {
    background-color: rgba(71, 0, 0, 0.8);
}

.ef-playlist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    position: relative;
    z-index: 4;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.ef-playlist-count {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.ef-playlist-count__text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #111827;
}

.ef-playlist-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 4px;
    flex: 1 1 auto;
}

.ef-playlist-title {
    font-size: 16px;
    font-weight: 500;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
}

.ef-playlist-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.ef-playlist-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0b5ed7;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.ef-playlist-link:hover {
    text-decoration: underline;
}

.ef-playlist-view {
    display: none;
    width: 100%;
    background-color: #ffffff;
}

.ef-playlist-view.is-active {
    display: block;
}

.ef-playlist-view > .container {
    max-width: 1730px;
    padding: 24px 60px 12px;
    margin: 0 auto;
}

.ef-playlist-view__layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 48px;
    background-color: #ffffff;
    border-radius: 24px;
    padding: 32px 40px;
    box-shadow: 0 32px 60px rgba(15, 23, 42, 0.16);
}

.ef-playlist-view__main {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ef-playlist-view__player {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ef-playlist-view__player-main {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 24px;
    overflow: hidden;
}

.ef-playlist-view__player-main iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ef-playlist-view__player-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 8px;
}

.ef-playlist-view__title {
    font-size: clamp(1.8rem, 1.6rem + 1vw, 2.6rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.ef-playlist-view__stats {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.04em;
}

.ef-playlist-view__stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background-color: #f1f5f9;
    color: #0f172a;
}

.ef-playlist-view__description {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin: 0;
    max-width: 840px;
}

.ef-playlist-view__sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ef-playlist-view__sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
}

.ef-playlist-view__sidebar-header h3 {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b7280;
}

.ef-playlist-view__sidebar-count {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #0b5ed7;
}

.ef-playlist-view__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.ef-playlist-view__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.ef-playlist-view__item:first-child {
    padding-top: 0;
}

.ef-playlist-view__item:last-child {
    border-bottom: none;
}

.ef-playlist-view__item-button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
}

.ef-playlist-view__item-button:focus-visible {
    outline: 2px solid #0b5ed7;
    outline-offset: 3px;
}

.ef-playlist-view__item-button.is-active {
    box-shadow: 0 18px 32px rgb(201 205 210 / 18%);
    padding: 5px;
    transform: translateY(-2px);
}

.ef-playlist-view__item-thumb {
    flex: 0 0 120px;
    aspect-ratio: 320 / 180;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
}

.ef-playlist-view__item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ef-playlist-view__item-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.ef-playlist-view__item-title {
    margin: 0;
    /* font-size: 0.95rem; */
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}


.ef-playlist-view__item-info {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ef-playlist-view__item-info-duration::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background-color: #0b5ed7;
    margin-right: 6px;
}

.ef-playlist-view__item-info-thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    display: none;
}

.ef-playlist-card:hover {
    background-color: #f3f5f7 !important;
    padding: 5px !important;
    transform: translateY(-2px) !important;
}
.ef-playlist-view__item-button:hover {
    background-color: #f3f5f7 !important;
    padding: 5px !important;
    transform: translateY(-2px) !important;
}

@media (max-width: 1200px) {
    .ef-playlist-view > .container {
        padding: 24px 40px 12px;
    }

    .ef-playlist-view__layout {
        gap: 28px;
    }
}

@media (max-width: 992px) {
    .ef-playlist-view__layout {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .ef-playlist-view__main {
        order: 0;
    }

    .ef-playlist-view__sidebar {
        order: 1;
    }
}

@media (max-width: 1440px) {
    .ef-video-grid,
    .ef-playlist-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1200px) {
    .ef-video-panel > .container {
        padding: 28px 40px 60px;
    }

    .ef-video-grid,
    .ef-playlist-grid {
        gap: 32px;
    }
}

@media (max-width: 992px) {
    .ef-video-hero,
    .ef-gallery-hero {
        height: 180px;
    }

    .ef-video-tabs {
        gap: 20px;
    }

    .ef-video-grid,
    .ef-playlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .ef-video-hero,
    .ef-gallery-hero {
        height: 160px;
    }

    .ef-video-hero__title,
    .ef-gallery-hero__title {
        letter-spacing: 0.04em;
    }

    .ef-video-panel > .container {
        padding: 24px 28px 48px;
    }
}

@media (max-width: 640px) {
    .ef-video-tabs {
        flex-wrap: wrap;
    }

    .ef-video-grid,
    .ef-playlist-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ef-video-tab {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ef-video-hero,
    .ef-gallery-hero {
        height: 140px;
    }

    .ef-video-panel > .container {
        padding: 20px 20px 40px;
    }
}

.ef-post-banner-text {
    margin: 12px auto 36px;
    max-width: 960px;
    text-align: left;
    padding: 0 12px;
    font-family: var(--cs-font-secondary-family, "Inter"), "Helvetica Neue", Arial, sans-serif;
    color: var(--cs-color-primary, #101725);
}

.ef-post-banner-text__tagline {
    margin: 0 0 6px;
    font-size: clamp(0.82rem, 0.8rem + 0.15vw, 0.95rem);
    font-weight: 600;
    line-height: 1.45;
}

.ef-post-banner-text__meta {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(16, 23, 37, 0.6);
}

.ef-gallery-hero {
	position: relative;
	width: 100%;
	height: 220px;
	overflow: hidden;
}

.ef-gallery-hero__bg {
	position: absolute;
	top: 0;
	left: 50%;
	width: 100vw;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: translateX(-50%);
}

.ef-gallery-hero__overlay {
	position: absolute;
	top: 0;
	left: 50%;
	width: 100vw;
	height: 100%;
	background: linear-gradient(120deg, rgba(7, 36, 66, 0.8), rgba(7, 36, 66, 0.35));
	transform: translateX(-50%);
}

.ef-gallery-hero__content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 60px 20px;
	text-align: center;
	color: #ffffff;
}

.ef-gallery-hero__title {
	font-size: 32px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 12px;
}

.ef-gallery-hero__subtitle {
	font-size: 1.05rem;
	max-width: 700px;
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
}

.ef-gallery-page {
	padding-bottom: 80px;
}

.ef-gallery-page__wrapper {
	max-width: 1040px;
	margin: 0 auto;
}

.ef-gallery-page__excerpt {
	margin: 0 0 36px;
	font-size: clamp(17px, 1.2vw, 20px);
	line-height: 1.7;
	color: rgba(16, 23, 37, 0.72);
}

.ef-gallery-page__content {
	display: grid;
	gap: 48px;
}

.ef-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ef-gallery-grid__item {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background-color: #f4f6f9;
}

.ef-gallery-grid__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.ef-gallery-grid__item:hover img,
.ef-gallery-grid__item:focus-within img {
	transform: scale(1.03);
}

.ef-gallery-grid__item figcaption {
	padding: 14px 18px;
	font-size: 0.92rem;
	color: rgba(16, 23, 37, 0.78);
}

@media (max-width: 991px) {
	.ef-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ef-gallery-page {
		padding-bottom: 60px;
	}

	.ef-gallery-page__wrapper {
		padding: 0 18px;
	}

	.ef-gallery-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media (max-width: 767px) {
	.ef-gallery-banner {
		padding: 90px 0 80px;
		margin-bottom: 40px;
	}

	.ef-gallery-banner__title {
		margin-bottom: 16px;
	}
}

@media (max-width: 768px) {
    .ef-post-banner-text {
        margin: 10px auto 28px;
        padding: 0 10px;
    }

    .ef-post-banner-text__tagline {
        font-size: 0.82rem;
    }

    .ef-post-banner-text__meta {
        font-size: 0.72rem;
        letter-spacing: 0.1em;
    }
}

/* .page-template-page-contact .cs-header {
    z-index: 99999999999999 !important;
    position: absolute !important;
} */

.page-template-page-contact #page .cs-site-content {
    margin: 0 !important;
}

.page-template-page-library #page .cs-site-content {
    margin: 0 !important;
}
.page-template-page-services #page .cs-site-content {
    margin: 0 !important;
}

.page-template-page-contact #page .cs-header {
    margin-top: -84px !important;
    /* display: none !important; */
}



.page-template-page-contact .header-image {
    height: 300px !important;
    position: relative !important;
    z-index: 1 !important;
}

.page-template-page-contact a {
    color: #000 !important;
    text-decoration: none !important;

}

.single .cs-entry__content-wrap .entry-content {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.single .cs-metabar-enabled .cs-entry__container {
    grid-template-columns: 96px minmax(0, 1fr);
}

@media (max-width: 640px) {
    body #page .cs-site-content {
        margin: 1rem 0 !important;
    }

    .single .cs-metabar-enabled .cs-entry__container {
        grid-template-columns: unset !important;
    }
    .cs-header {
        margin-top: 100px !important;
    }
}

.efcfo-home-partners {
    padding: 40px 0;
    background: #f7f9fc;
}

.efcfo-home-partners__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.efcfo-home-partners__title {
    margin: 0;
    font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem);
    font-weight: 700;
    color: #101725;
    text-align: center;
    letter-spacing: -0.01em;
}

.efcfo-home-partners__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(24px, 4vw, 72px);
    width: 100%;
}

.efcfo-home-partners__logo {
    flex: 0 1 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.efcfo-home-partners__logo img {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.efcfo-home-partners__logo img:hover {
    filter: none;
    opacity: 1;
}

@media (max-width: 640px) {
    .efcfo-home-partners {
        padding: 28px 0;
    }

    .efcfo-home-partners__inner {
        gap: 24px;
    }

    .efcfo-home-partners__logos {
        gap: 16px 20px;
    }

    .efcfo-home-partners__logo {
        flex: 0 1 160px;
    }

    .efcfo-home-partners__logo img {
        max-width: 180px;
    }
}

.efcfo-home-clients {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.efcfo-home-clients__header {
    text-align: center;
    margin-bottom: 36px;
}

.efcfo-home-clients__title {
    margin: 0;
    font-size: clamp(1.8rem, 1.4rem + 1vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #101725;
}

.efcfo-home-clients__subtitle {
    margin: 12px 0 0;
    font-size: 1rem;
    text-transform: lowercase;
    letter-spacing: 0.08em;
    color: rgba(16, 23, 37, 0.6);
}

.efcfo-home-clients__scroller {
    overflow: hidden;
    position: relative;
}

.efcfo-home-clients__track {
    display: flex;
    gap: 48px;
    animation: efcfo-home-clients-scroll 45s linear infinite;
}

.efcfo-home-clients__track:hover {
    animation-play-state: paused;
}

.efcfo-home-clients__set {
    display: flex;
    /* gap: 48px; */
}

.efcfo-home-clients__logo {
    /* flex: 0 0 200px; */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.efcfo-home-clients__logo img {
    max-width: 200px !important;
    /* width: 100%; */
    /* height: auto; */
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.efcfo-home-clients__logo:hover {
    opacity: 1;
}

.efcfo-home-clients__logo:hover img {
    filter: none;
}

@keyframes efcfo-home-clients-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .efcfo-home-clients {
        padding: 48px 0 32px;
    }

    .efcfo-home-clients__track,
    .efcfo-home-clients__set {
        gap: 32px;
    }

    .efcfo-home-clients__logo {
        flex: 0 0 140px;
    }

    .efcfo-home-clients__logo img {
        max-width: 120px;
    }
}

@media (max-width: 600px) {
    .efcfo-home-partners {
        padding: 32px 0;
    }

    .efcfo-home-partners__logo {
        flex: 0 1 120px;
    }

    .efcfo-home-partners__logo img {
        max-width: 120px;
    }
}

.cs-entry__excerpt {
    display: block;
    margin-left: 0;
    margin-top: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    overflow: hidden;
    text-align: justify;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 5;
    -webkit-line-clamp: 5;
}
.cs-posts-area__main .cs-entry__excerpt {
    margin-top: 4.5rem !important;
}

.pk-post-outer .cs-entry__excerpt {
   display: none !important;

}

@media only screen and (max-width: 768px) {
    .cs-navbar-smart-enabled .cs-header {
        margin-top: -100px !important;
    }
}

body .home .wp-block-group {
    margin-right: 50px !important;
    margin-left: 50px !important;
}

body .wp-block-group {
    margin-right: 50px !important;
    margin-left: 50px !important;
}

.ef-videos {
    margin-top: -47px;

}
p:has(strong:contains("Disclaimer:")) {
    display: none !important;
  }



/* =========================================
   Blog Listing Page Styles
   ========================================= */

.ef-blog-page {
    background-color: #f8f9fa;
    font-family: 'Inter', sans-serif;
    padding-bottom: 80px;
}

.ef-blog-header {
    text-align: center;
    padding: 60px 20px 40px;
    background-color: #f8f9fa;
}

.ef-blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
}

.ef-blog-subtitle {
    font-size: 1.1rem;
    color: #4a5568;
}

.ef-blog-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    margin-top: 20px;
}

/* Sidebar General */
.ef-blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ef-sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a202c;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

/* Search Form */
.ef-search-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ef-search-wrapper i {
    padding: 0 15px;
    color: #a0aec0;
}

.ef-search-field {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 0;
    font-size: 1rem;
    color: #2d3748;
}

.ef-search-submit {
    background-color: #2d3748;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.ef-search-submit:hover {
    background-color: #1a202c;
}

/* -------------------------------------------------------------------------- */
/* Blogs Page (Custom Template)                                               */
/* -------------------------------------------------------------------------- */

/* Override parent theme grid layout for this template */
@media (min-width: 1020px) {
    .page-template-page-blogs .cs-sidebar-right .cs-main-content {
        grid-template-columns: 1fr !important;
    }
}
.page-template-page-blogs .cs-site-content {
    background-color: #fcfcfd;
}

/* Header Section */
.ef-blogs-header {
    text-align: center;
    padding: 60px 20px 40px;
    background-color: #f7f8fa;
    margin-bottom: 40px;
    border-radius: 8px;
}

.ef-blogs-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.ef-blogs-subtitle {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 30px;
}

/* Search Bar */
.ef-blogs-search {
    max-width: 800px;
    margin: 0 auto;
}

.ef-blogs-search-form {
    display: flex;
    gap: 10px;
}

.ef-blogs-search-field {
    flex-grow: 1;
    padding: 12px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    color: #0f172a;
    background: #ffffff;
}

.ef-blogs-search-field::placeholder {
    color: #94a3b8;
}

.ef-blogs-search-submit {
    padding: 12px 24px;
    background-color: #1e293b;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: background-color 0.2s;
}

.ef-blogs-search-submit:hover {
    background-color: #0f172a;
}


/* Main Layout Grid */
.ef-blogs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    padding-bottom: 80px;
}

/* Sidebar: Categories */
.ef-blogs-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 24px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.ef-blogs-categories {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ef-blogs-category-link {
    display: block;
    padding: 12px 20px;
    background-color: #f1f5f9;
    color: #0f172a;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
    font-weight: 500;
}

.ef-blogs-category-link:hover,
.ef-blogs-category-link.current-cat {
    background-color: #2b6cb0;
    /* Or accent blue */
    color: #ffffff;
    border-color: #2b6cb0;
}

/* Main Content: Blog List */
.ef-blogs-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ef-blogs-item {
    position: relative;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s;
}

.ef-blogs-item:hover {
    background-color: #fcfcfd;
}

.ef-blogs-item-content {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
}

.ef-blogs-item-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #0f172a;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.ef-blogs-item-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.ef-blogs-item:hover .ef-blogs-item-title a {
    color: #0b5ed7;
}

.ef-blogs-item-date {
    font-size: 0.95rem;
    color: #64748b;
    white-space: nowrap;
    font-weight: 400;
}

/* Link Overlay */
.ef-blogs-item-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Pagination */
.ef-blogs-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.ef-blogs-pagination .page-numbers {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.ef-blogs-pagination .page-numbers.current,
.ef-blogs-pagination .page-numbers:hover {
    background-color: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* Responsive */
@media (max-width: 992px) {
    .ef-blogs-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ef-blogs-sidebar {
        order: 0;
    }

    .ef-blogs-categories {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .ef-blogs-category-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .ef-blogs-item-content {
        flex-direction: column;
        gap: 8px;
    }

    .ef-blogs-item-date {
        font-size: 0.85rem;
    }

    .ef-blogs-title {
        font-size: 2rem;
    }

    .ef-blogs-search-form {
        flex-direction: column;
    }

    .ef-blogs-search-submit {
        width: 100%;
    }
}
/* -------------------------------------------------------------------------- */
/* Newsletter Section (Single Post)                                           */
/* -------------------------------------------------------------------------- */

.ef-newsletter-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fcfcfd;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px 30px;
    margin-top: 60px;
    margin-bottom: 40px;
    gap: 20px;
}

.ef-newsletter-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4b5563;
    font-weight: 500;
}

.ef-newsletter-icon svg {
    width: 20px;
    height: 20px;
    color: #4b5563;
}

.ef-newsletter-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.ef-newsletter-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center text inside button */
    justify-content: center;
    background-color: #1e293b;
    /* Dark blue/slate */
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none !important;
    text-align: center;
    transition: background-color 0.2s ease;
    width: 100%;
    max-width: 480px;
}

.ef-newsletter-button:hover {
    background-color: #0f172a;
    color: #ffffff !important;
}

.ef-newsletter-btn-title {
    display: block;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
}

.ef-newsletter-btn-subtitle {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    font-weight: 400;
}

.ef-newsletter-right {
    color: #9ca3af;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .ef-newsletter-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }

    .ef-newsletter-left {
        justify-content: center;
    }

    .ef-newsletter-right {
        display: none;
        /* Hide on mobile if simpler */
    }
}

/* -------------------------------------------------------------------------- */
/* Newsletter Modal                                                           */
/* -------------------------------------------------------------------------- */

.custom-form-container .form-field label {
    text-align: justify;
}

.custom-form-container .form-submit p {
    text-align: justify;
}
.ef-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 9999;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.5);
    /* Black w/ opacity */
    backdrop-filter: blur(5px);
}

.ef-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    /* 10% from the top and centered */
    padding: 40px;
    border: 1px solid #e2e8f0;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    animation: efModalFadeIn 0.3s ease-out;
}

@keyframes efModalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ef-close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.ef-close:hover,
.ef-close:focus {
    color: #0f172a;
    text-decoration: none;
    cursor: pointer;
}

.ef-modal h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.5rem;
    color: #0f172a;
    text-align: center;
}

.ef-modal p {
    color: #64748b;
    text-align: center;
    margin-bottom: 24px;
}

.ef-form-group {
    margin-bottom: 20px;
}

.ef-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #334155;
}

.ef-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
    /* Ensure padding doesn't affect width */
}

.ef-form-group input:focus {
    outline: none;
    border-color: #2b6cb0;
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.ef-submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #0f172a;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ef-submit-btn:hover {
    background-color: #1e293b;
}

.ef-submit-btn:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
}

#ef-msg {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}