/*
Theme Name: UnderBoot Child
Theme URI: http://dinevthemes.com/themes/underboot/
Template: underboot
Author: Dmitry Dinev
Author URI: http://www.dinevthemes.com/
Description: UnderBoot is a Bootstrap 4 WordPress theme. Combination of Underscores starter theme and Bootstrap framework as a starting point for your next WordPress theme or website. WooCommerce support. Block editor support.
Tags: custom-background,custom-logo,custom-menu,featured-images,theme-options,threaded-comments,translation-ready
Version: 1.1.0.1583483225
Updated: 2020-03-06 09:27:05
rgba(16,60,106,.9)
*/

.elementor-widget-bpb-profile-group-cover .cover-bg-overlay{background-color: rgba(16,60,106,.9) !important}
.highlight.group-status{ background: none !important;width: 7em;}
span.activity{color:#fff;}
body > #buddypress{
	width: 75%;
	margin: auto;
}

/*#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after {
    color: #f96c31 !important;
}*/

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    font-weight: 400;
}

#el-77598cde [data-vce-do-apply*=all][data-vce-do-apply*=el-77598cde], #el-77598cde [data-vce-do-apply*=background][data-vce-do-apply*=el-77598cde], #el-77598cde[data-vce-do-apply*=all][data-vce-do-apply*=el-77598cde], #el-77598cde[data-vce-do-apply*=background][data-vce-do-apply*=el-77598cde] {
    align-content: center;
}

.highlight.group-status {
	background: none;
}
.sidebar{
	background-color: #e6ebf0;
	padding:30px;
	margin-bottom: 20px;
}
ul.wp-block-latest-posts__list.wp-block-latest-posts > li{
	background: #fff;
	margin-bottom: 10px;
	padding:5px;
	min-height: 130px;
}
ul.wp-block-latest-posts__list.wp-block-latest-posts > li a{
	color: #003254;
	font-size: 16px;
	font-weight: 500;
}
ul.wp-block-latest-posts__list.wp-block-latest-posts > li h3{
	font-size:16px;
}

.bp-docs a{
	color: #003254;
}
.buddypress-wrap .bp-navs li.current a{
/* 	background:  #003254 !important; */
}
#bp-create-doc-button{
	border-color: #003254 !important;
}

.header-block {
    height: 45px;
}

.header-stretch-block {
    height: 45px;
}

.header-stretch-block .vce-simple-search {
    margin-top: 30px;
    margin-left: 15px;
    width: 75%;
}

.header-stretch-block .vce-simple-search .vce-simple-search-input {
    border: 1px solid #ccc;
}

.footer-row p, .footer-row a, .footer-copyright-row p {
    color: #fff;
}

.orange-divider h2, .orange-divider h3, .orange-divider h4 {
	border-bottom: 4px #f96c31 solid !important;
}

.gold-divider h2, .gold-divider h3 {
	border-bottom: 4px #d1b24a solid !important;
}

.full-width-title h2 {
    width: 100%;
}

.hp-accordion1, .hp-accordion {
    color: white;
}

h2 span {
	font-weight: 500;
}

.vce-news-grid-container.vce-posts-grid-container .vce-post-description .vce-post-description--title, .vce-news-grid-container.vce-posts-grid-container .vce-post-description .vce-post-description--title a {
    color: #1A180E !important;
    border-bottom-color:  #f96c31 !important;
}

.vce-post-description--meta {
    color: #737373;
}

.froggy {
	position: absolute !important;
	top: -209px;
	left: 0px;
	width: 1000px;
	padding-bottom: 300px !important;
	z-index: 999;
}

footer {
	position: relative;
	margin-top: 150px;
}

.no-header-space {
	display: flex;
	flex-direction: row;
	max-width: 100%;
	max-height: 45px;
	flex-wrap: nowrap;
}

.header-block .vce-col-inner {
	align-content: center;
}

.header-block .vce {
	margin-bottom: 0px !important;
}

.header-search {
	align-items: center;
}

.header-icons svg {
	height: 20px !important;
	width: 22px !important;
}

.medium-button button {
    font-size: 16px !important;
    padding: 10px 40px 10px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    justify-content: center !important;
}

.orange-button button:hover {
    background-color: #d1b24a !important;
}

.gold-button button:hover {
    background-color: #f96c31 !important;
}

.medium-button button::after {
    content: "\203A";
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
    transform: translateY(-1px);
}

/*.main-menu span::after {
	color: #f96c31 !important;
}*/

.main-menu a {
	font-weight: 400 !important;
}

#mega-menu-wrap-primary #mega-menu-primary[data-effect="fade_up"] li.mega-menu-item.mega-menu-megamenu > ul.mega-sub-menu, #mega-menu-wrap-primary #mega-menu-primary[data-effect="fade_up"] li.mega-menu-item.mega-menu-flyout ul.mega-sub-menu {
	transform: translate(0, 0px) !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
	height: max-content;
}

#el-325e6e46 .vce-col-inner {
    align-content: center !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    padding: 0px 10px 0px 10px;
}

#mega-menu-wrap-primary #mega-menu-primary {
    padding-top: 15px;
}

.nav-container .vce-col-inner {
    display: flex;
}

.nav-container .vce-col-inner .vce-col-content {
    align-content: center;
}

#mega-menu-wrap-primary #mega-menu-primary {
  text-align: left !important;
  padding: 0px;
}

.search-button .vce-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background-color: #f96c31 !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 7px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.search-button .vce-button:hover {
    background-color: #d1b24a !important;
}

.search-button .vce-button span {
        color: white !important;
}

.search-button .vce-button:hover span {
        color: white !important;
}

.search-button .vce-icon-button-icon-wrapper {
    color: #fff !important;
    font-size: 13px !important;
}

#el-dde3c7cf .vce-simple-search {
    max-width: none !important;
    width: 100% !important;
}

#el-dde3c7cf .vce-simple-search-input {
    font-size: 15px !important;
    padding: 10px 14px !important;
}

#el-dde3c7cf .vce-simple-search-button {
    cursor: pointer !important;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item ul.mega-sub-menu {
    background: #ffffff !important;
    box-shadow: unset !important;
    border-radius: 0 0 4px 4px !important;
    border-top: none !important;
    padding: 6px 0 !important;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    color: #212121 !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
    display: block !important;
    background-color: white;
}

.center-title .vce-text-block-wrapper.vce {
    justify-self: center;;
}

.center-title h2 {
    margin-bottom: 50px !important;
    padding-bottom: 5px;
    text-align: center;
}

.news-title h3 {
    border-bottom: unset !important;
    margin-bottom: 0px;
}

.header-news .vce-post-description--excerpt p {
    margin-bottom: 15px !important;
}

.header-news .vce-post-description--title {
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
}

/* =============================================
   DESKTOP NAVIGATION (>950px)
   ============================================= */

/* Top-level link base */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    position: relative;
    background: transparent !important;
    color: #1a1a1a !important;
    transition: color 0.2s ease !important;
}

/* Animated underline */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: #f96c31;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
    pointer-events: none;
}

/* Hover + open dropdown state */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:hover > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
    background: transparent !important;
    color: #f96c31 !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:hover > a.mega-menu-link::after,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link::after {
    transform: scaleX(1);
}

/* Active / current page — strip plugin orange bg, show orange text + permanent underline */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-parent > a.mega-menu-link {
    background: transparent !important;
    color: #f96c31 !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link::after,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link::after,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-parent > a.mega-menu-link::after {
    transform: scaleX(1);
}

/* Indicator arrow — orange, rotates on open */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link .mega-indicator {
    color: #f96c31 !important;
    display: inline-block;
    transition: transform 0.2s ease !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:hover > a.mega-menu-link .mega-indicator,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link .mega-indicator {
    transform: rotate(180deg);
}

/* Dropdown panel */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item ul.mega-sub-menu {
    background: #ffffff !important;
    border-top: 2px solid #f96c31 !important;
}

/* Item dividers — visible on white */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item ul.mega-sub-menu li.mega-menu-item {
    border-bottom: 1px solid #e8e8e8 !important;
    position: relative;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item ul.mega-sub-menu li.mega-menu-item:last-child {
    border-bottom: none !important;
}

/* Orange left accent bar on hover */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item ul.mega-sub-menu li.mega-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #f96c31;
    transform: scaleY(0);
    transition: transform 0.2s ease;
    pointer-events: none;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item ul.mega-sub-menu li.mega-menu-item:hover::before {
    transform: scaleY(1);
}

/* Dropdown item hover */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover {
    background: #fff8f5 !important;
    color: #f96c31 !important;
    transform: translateX(4px) !important;
}

/* --- Flaire Services Carousel --- */

.flaire-carousel-container {
    padding: 0 50px 60px;
    padding-top: 50px;
    position: relative;
}

.flaire-services-swiper {
    overflow: hidden;
}

.flaire-service-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: 120px 70px 1fr;
    align-items: start;
    height: 100%;
}

.flaire-services-swiper .swiper-wrapper {
    align-items: stretch;
}

.flaire-services-swiper .swiper-slide {
    height: auto;
}

.flaire-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* Uniform image area */
.flaire-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    margin-bottom: 0;
}

.flaire-service-icon img {
    max-width: 140px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.flaire-service-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #003254;
    margin-top: 12px;
    margin-bottom: 15px;
    border-bottom: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.flaire-service-excerpt {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.5;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.flaire-service-excerpt p {
    margin: 0;
    place-self: center;
}

/* Arrows — outside the swiper, free from overflow clipping */
.flaire-button-prev,
.flaire-button-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #f96c31;
}

.flaire-button-prev::after,
.flaire-button-next::after {
    font-family: swiper-icons;
    font-size: 22px;
    font-weight: bold;
}

.flaire-button-prev::after {
    content: 'prev';
}

.flaire-button-next::after {
    content: 'next';
}

.flaire-button-prev {
    left: 0;
}

.flaire-button-next {
    right: 0;
}

/* Dots below the cards */
.flaire-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.flaire-pagination .swiper-pagination-bullet-active {
    background: #f96c31;
}

.latest-videos-slider img {
    max-height: 250px;
    min-height: 250px;
    object-fit: contain;
}



/* --- Flaire custom accordion — per-panel header colors --- */
#flaire-acc-main .flaire-acc-panel:nth-child(1) .flaire-acc-trigger { background: #a3b812; }
#flaire-acc-main .flaire-acc-panel:nth-child(1) .flaire-acc-trigger:hover,
#flaire-acc-main .flaire-acc-panel:nth-child(1) .flaire-acc-trigger[aria-expanded="true"] { background: #8a9c0f; }

#flaire-acc-main .flaire-acc-panel:nth-child(2) .flaire-acc-trigger { background: #0a4481; }
#flaire-acc-main .flaire-acc-panel:nth-child(2) .flaire-acc-trigger:hover,
#flaire-acc-main .flaire-acc-panel:nth-child(2) .flaire-acc-trigger[aria-expanded="true"] { background: #083567; }

#flaire-acc-main .flaire-acc-panel:nth-child(3) .flaire-acc-trigger { background: #d44c16; }
#flaire-acc-main .flaire-acc-panel:nth-child(3) .flaire-acc-trigger:hover,
#flaire-acc-main .flaire-acc-panel:nth-child(3) .flaire-acc-trigger[aria-expanded="true"] { background: #b33d0f; }

#flaire-acc-main .flaire-acc-panel:nth-child(4) .flaire-acc-trigger { background: #888; }
#flaire-acc-main .flaire-acc-panel:nth-child(4) .flaire-acc-trigger:hover,
#flaire-acc-main .flaire-acc-panel:nth-child(4) .flaire-acc-trigger[aria-expanded="true"] { background: #707070; }

/* =============================================
   VIDEO PLAY BUTTON HOVER ANIMATION
   ============================================= */

.vce-self-hosted-video-fullscreen-play {
    cursor: pointer;
}

/* Hexagon SVG — gentle rotation + scale */
.vce-self-hosted-video-fullscreen-play .vce-features--icon.vce-icon svg {
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vce-self-hosted-video-fullscreen-play:hover .vce-features--icon.vce-icon svg {
    transform: rotate(30deg) scale(1.08);
}

/* Play icon nudge */
.vce-self-hosted-video-fullscreen-play .vce-icon-container.fa-play {
    transition: transform 0.3s ease;
}

.vce-self-hosted-video-fullscreen-play:hover .vce-icon-container.fa-play {
    transform: scale(1.15);
}

/* Pulse ring */
.vce-self-hosted-video-fullscreen-play .vce-features-icon-wrapper {
    position: relative;
}

.vce-self-hosted-video-fullscreen-play .vce-features-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(209, 178, 74, 0.4);
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    pointer-events: none;
}

.vce-self-hosted-video-fullscreen-play:hover .vce-features-icon-wrapper::after {
    animation: playPulse 1.4s ease-out infinite;
}

.vce-post-description--image, .vce-self-hosted-video-player-video {
    border-radius: 5px;
}

@keyframes playPulse {
    0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

@keyframes mobileSubMenuIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   MOBILE MENU (≤950px)
   ============================================= */

/* MENU toggle button */
.mega-toggle-standard {
    background: transparent !important;
    color: #1a1a1a !important;
    border: none !important;
    padding: 8px 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: color 0.25s ease !important;
    line-height: 1 !important;
}

.mega-toggle-standard:hover,
.mega-menu-open .mega-toggle-standard {
    background: transparent !important;
    color: #f96c31 !important;
}

@media (max-width: 950px) {
    /* Drop panel */
    #mega-menu-wrap-primary #mega-menu-primary {
        border-top: 3px solid #f96c31 !important;
        border-radius: 0 0 6px 6px !important;
        padding: 0 !important;
        margin-top: 16px;
    }

    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item ul.mega-sub-menu {
        padding: 0px 0 !important;
    }

    /* Top-level items */
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
        color: #1a1a1a !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        padding: 14px 20px !important;
        border-bottom: 1px solid #f0f0f0 !important;
        height: auto !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        transition: color 0.2s ease, background 0.2s ease !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
        color: #f96c31 !important;
        background: #fff8f5 !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:last-child > a.mega-menu-link {
        border-bottom: none !important;
    }

    /* Indicator arrow */
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item a.mega-menu-link .mega-indicator {
        color: #f96c31 !important;
        margin-left: 6px !important;
    }

    /* Sub-menu open animation */
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu {
        animation: mobileSubMenuIn 0.22s ease both;
    }

    /* Sub-menu items */
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
        color: #444444 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        padding: 13px 20px 13px 28px !important;
        border-bottom: 1px solid #d8d8d8 !important;
        transform: none !important;
        transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease !important;
        display: block !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item ul.mega-sub-menu li.mega-menu-item:first-child a.mega-menu-link {
        border-top: 1px solid #d8d8d8 !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover {
        color: #f96c31 !important;
        background: #fff8f5 !important;
        padding-left: 34px !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item ul.mega-sub-menu li.mega-menu-item:last-child a.mega-menu-link {
        border-bottom: none !important;
    }
}

/* --- Media Query --- */

@media screen and (max-width: 767px) {
    @media (max-width: 767px) {
        .cetaf-mobile-header .vce-row-content, .cetaf-mobile-header {
            width: 100% !important;
            min-width: 100% !important;
            max-width: 100% !important;
        }

        .orange-divider h2 {
            text-align: center;
        }

        .topbanner video {
            top: 50% !important;
        }

        .column-news .vce-posts-grid-item h3 {
            align-self: center;
        }

        .cetaf-mobile-header > .vce-row-content > .vce-col {
            width: 100% !important;
            min-width: 100% !important;
            flex: 0 0 100% !important;
        }

        #el-c87cc411 > div {
            justify-content: flex-end;
        }

        .cetaf-mobile-header-img a {
            padding-bottom: 50px !important;
        }

        .cetaf-mobile-header-img img {
           	max-height: 50px !important;
           	height: 50px !important;
        }

        .nav-container .vce-col {
            justify-content: flex-end;
        }

        .froggy {
            display: none;
        }

        .footer-logo img {
            max-height: 150px;
        }
    }
}

/* =============================================
   WHO WE ARE PAGE — About Us > Who We Are
   URL: /about-us/who-we-are/   Post ID: 3114
   ============================================= */

/* 1. Banner — h1 size, weight and colour (VC has no inline style here so theme default wins without !important) */
.topbanner .toptitle h1 {
    color: #ffffff !important;
    font-size: 36px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: left !important;
}

@media (max-width: 767px) {
    .topbanner .toptitle h1 {
        font-size: 24px !important;
    }
}

/* 2. Breadcrumb */
#post-3114 .vce-shortcode {
    font-size: 13px !important;
    color: #737373 !important;
    padding: 8px 0 !important;
}

#post-3114 .vce-shortcode a {
    color: #f96c31 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

#post-3114 .vce-shortcode a:hover {
    color: #003254 !important;
}

#post-3114 .vce-shortcode .breadcrumb_last {
    color: #1a1a1a !important;
    font-weight: 500 !important;
}

/* 3. Lead h4 intro text */
#post-3114 .vce-text-block h4 {
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #1a1a1a !important;
    font-size: 1.25rem !important;
    margin-bottom: 24px !important;
}

/* 4. H5 mini-section headings ("Half the world's...", "A vibrant community...", etc.) */
#post-3114 .vce-text-block h5 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #003254 !important;
    border-bottom: 2px solid #f96c31 !important;
    padding-bottom: 5px !important;
    display: inline-block !important;
    margin-top: 1.75em !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
}

/* In the 4-col objectives grid the heading should span the full column */
#post-3114 .vce-col--md-25p .vce-text-block h5 {
    display: block !important;
    margin-top: 0 !important;
}

/* 5. Section h2 headings ("CETAF Vision, Mission and Values") */
#post-3114 .vce-text-block h2 {
    display: block !important;
    width: 100% !important;
    border-bottom: 4px solid #f96c31 !important;
    padding-bottom: 8px !important;
    line-height: 1.25 !important;
    margin-bottom: 16px !important;
}

/* Milestone year numbers — higher specificity resets the h2 rule above */
#post-3114 .vce-content-slider .vce-text-block h2 {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    width: auto !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    display: block !important;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
}

/* 6. Section h3 headings ("Our objectives", "CETAF in a nutshell", "A bit of History") */
#post-3114 .vce-text-block h3 {
    font-weight: 600 !important;
    display: block !important;
    width: 100% !important;
    border-bottom: 4px solid #f96c31 !important;
    padding-bottom: 6px !important;
    line-height: 1.25 !important;
    margin-bottom: 20px !important;
}

/* "CETAF Milestones" — centred h3 swaps full-width underline for a centred pip */
#post-3114 .vce-text-block h3[style*="center"] {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    text-align: center !important;
}

#post-3114 .vce-text-block h3[style*="center"]::after {
    content: '' !important;
    display: block !important;
    width: 60px;
    height: 4px;
    background: #f96c31;
    margin: 10px auto 16px;
}

/* 7. Body paragraph text */
#post-3114 .vce-text-block p {
    line-height: 1.65 !important;
    color: #333333 !important;
}

/* Normalize VC Open Sans spans to site font */
#post-3114 .vce-text-block p span[style*="Open Sans"] {
    font-family: Roboto, sans-serif !important;
}

/* "A bit of History" — tiny 10pt paragraphs */
#post-3114 .vce-text-block p span[style*="10pt"] {
    font-size: 13px !important;
    line-height: 1.65 !important;
    color: #444444 !important;
    font-family: Roboto, sans-serif !important;
}

/* 8. Image figcaptions */
#post-3114 figcaption {
    font-size: 12px !important;
    color: #737373 !important;
    text-align: center !important;
    margin-top: 8px !important;
    font-style: italic !important;
}

/* 9. "Read more about our members" — breathing room around the button */
.rightnewsbutton {
    margin-top: 30px !important;
    margin-bottom: 40px !important;
}

/* 10. Milestones — snap VC inline orange variants to brand orange */
.vce-content-slider span[style*="#ff6600"],
.vce-content-slider span[style*="#fd5d26"] {
    color: #f96c31 !important;
}

/* Milestone h6 descriptive text */
#post-3114 .vce-content-slider .vce-text-block h6 {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    margin-bottom: 4px !important;
    font-weight: 400 !important;
}

/* Milestone body paragraphs */
#post-3114 .vce-content-slider .vce-text-block p {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
}

/* 11. Responsive */
@media (max-width: 767px) {
    #post-3114 .vce-content-slider .vce-text-block h2 {
        font-size: 1.6rem !important;
    }

    #post-3114 .vce-text-block h5 {
        display: block !important;
        margin-top: 1.25em !important;
    }

    #post-3114 .vce-col--md-25p .vce-text-block h5 {
        margin-top: 2em !important;
    }
}


/* =============================================
   OBJECTIVES GRID — "Our objectives" 4-col cards
   Add class "objectives-grid" to the VC row
   Design: navy header + orange accent + white body
   ============================================= */

/* 1. Card shell — full radius, overflow hidden clips the navy header corners */
#post-3114 .objectives-grid .vce-col--md-25p .vce-col-inner {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    overflow: hidden !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

/* 2. Hover lift */
#post-3114 .objectives-grid .vce-col--md-25p:hover .vce-col-inner {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13) !important;
}

/* 3. Strip VC col padding — we control spacing per element */
#post-3114 .objectives-grid .vce-col--md-25p .vce-col-content {
    padding: 0 !important;
}

#post-3114 .objectives-grid .vce-col--md-25p .vce-text-block {
    margin: 0 !important;
}

/* 4. Navy header — h5 bleeds full width, acts as the card header */
#post-3114 .objectives-grid .vce-col--md-25p .vce-text-block h5 {
    background: #003254 !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    padding: 22px 20px 18px !important;
    margin: 0 !important;
    display: block !important;
    border-bottom: 3px solid #f96c31 !important;
    border-top: none !important;
}

/* 5. VC inline span colour on title → white */
#post-3114 .objectives-grid .vce-col--md-25p .vce-text-block h5 span {
    color: #ffffff !important;
}

/* 6. Body text — padded white area below the header */
#post-3114 .objectives-grid .vce-col--md-25p .vce-text-block p {
    padding: 18px 20px 22px !important;
    font-size: 0.875rem !important;
    line-height: 1.7 !important;
    color: #555555 !important;
    margin: 0 !important;
}

/* 7. Strip VC Open Sans inline spans */
#post-3114 .objectives-grid .vce-col--md-25p .vce-text-block p span {
    font-family: Roboto, sans-serif !important;
    font-size: 0.875rem !important;
    color: #555555 !important;
}

/* 8. Mobile — stack with gap */
@media (max-width: 767px) {
    #post-3114 .objectives-grid .vce-col--md-25p {
        margin-bottom: 20px !important;
    }
}
