/*====================================== Last updated on 10 August 2025 5:45pm ======================================*/

/*--- Remove extra empty space above the footer --- */
.wp-block-template-part {margin-block-start:0 !important;}

.content-bg-color {
    background-color: var(--wp--preset--color--background);
    padding-top: 24px;
    padding-bottom: 24px;
}



/*===========================================================================================*/
/*=                                     SITE NAVIGATION                                     =*/
/*===========================================================================================*/

/*=============================== Show Navbar Header When Scroll Up ================================*/

.navbar {
    position: sticky;
    top: -150px;
    z-index: 990;
    transition: all .7s ease-in-out;
}

.show {
    position: sticky;
    top:0;
    left:0;
    width:100%;
    z-index: 990;
    transition: all .7s ease-in-out;
}

/*---- Header Desktop Navigation Bar ----*/

.wp-block-navigation
{
    font-weight: 600;
}

.wp-block-navigation-item > a:hover {
		color: var(--wp--preset--color--hyperlink)!important;
        transition: 0.1s;
}

.wp-block-navigation-item > a:active {
  color: var(--wp--preset--color--secondary)!important;
}
/*===================================== MOBILE MENU LIST ====================================*/

/*---- Remove bullets from the unordered list ----*/
.mobile-menu-list {
    list-style-type: none;
    padding: 0 0 0 0!important;
    margin: 0 0 0 0!important;
    line-height: 2.28!important;
}

.mobile-menu-list > li > ul {
    list-style-type: none;
    padding-left:24px;
}

.mobile-menu-list > li > ul > li > ul {
    list-style-type: none;
}

/*---- Hide sub menu items by default ----*/

.mobile-menu > ul > li > ul {
    display: none;
}


/*---------------------------------- HAMBURGER ICON --------------------------------------*/

/* ---- The div container holding the hamburger icon bars ---- */
.hamburger-icon {
	position: relative;
	width: 25px;
	height: 28px;
	z-index: 995;
	transition: .25s ease-in-out;
	cursor: pointer;
}

/* ---- The span for a single hamburger icon bar ---- */
.hamburger-icon span {
	position: absolute;
    position: absolute;
    height: 3px;
    width: 100%;
	background: var(--wp--preset--color--heading)!important;
	border-radius: 10px;
	opacity: 1;
	left: 0;
	transition: .25s ease-in-out;
}

/*----- The 3 bars of the hamburger icon made from 3 child spans -----*/
.hamburger-icon span:nth-child(1){
	top: 0;
}
.hamburger-icon span:nth-child(2){
	top: 10px;
}
.hamburger-icon span:nth-child(3){
	top: 20px;
}

/*----- The toggle class which animates the hamburger icon bars -----*/
.hamburger-icon.animate span {
	top: 10px;
	transform: rotate(135deg);
}
.hamburger-icon.animate span:nth-child(2) {
	opacity: 0;
	transform: translateX(-60px)
}
.hamburger-icon.animate span:nth-child(3) {
	top: 10px;
	transform: rotate(-135deg);
}


/*===================================== DESKTOP VIEWPORT ====================================*/ 

@media (min-width: 787px) {

    /*------------------------------- Hide Hamburger Icon -----------------------------------*/

    .hamburger-area {
        display: none;
    }
    
}


/*===================================== MOBILE VIEWPORT =====================================*/

@media (max-width: 787px) {

    /*------------------------------ Hide desktop navigation --------------------------------*/

    .wp-block-navigation {
        display: none;
    }
    .wp-block-navigation__responsive-container-open {
        display: none;
    }

    /*----------------------------- Hamburger menu icon visible -----------------------------*/

    .hamburger-area {
        display: inline-block;
        padding-top: 2px;
        max-width: fit-content;
        height: 30px;
        margin: 2px;
        z-index: 995;
    }
    
    /*----------------------------- Mobile Menu List --------------------------------------*/
    .mobile-menu-list {
        line-height: 3;
    }

    /*==================== MOBILE NAVIGATION MENU - Slide Out Panel ========================*/

    /*-------------------------- Hidden off canvas by default ------------------------------*/

    .mobile-nav {
        display: flex;
        flex-direction: column;
        top: 0;
        left: -100%;
        padding-top: 220px!important;
        background-color: var(--wp--preset--color--footer)!important;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
        position: fixed;
        width: 100%;
        height: 100vh;
        z-index: 988;
        transition: all .2s ease-in-out;
    }

    /*----------------- Slide out into the main canvas when activated ---------------------*/

    .mobile-nav.show {
        top: 0;
        left: 0;
        position: fixed;
        width: 100%;
        height: 100vh;
        z-index: 988;
        overflow-y: auto;
        transition: all .2s ease-in-out;
    }

}

/*===========================================================================================*/
/*=                                  END OF SITE NAVIGATION                                 =*/
/*===========================================================================================*/


/*========================== On hover button effects ===========================*/

.wp-element-button:hover {
  background-color: var(--wp--preset--color--hyperlink);
  color: var(--wp--preset--color--heading);
  transition: 0.1s;
}

.wp-element-button:active {
  transform: scale(0.95);
}


/* ====================================== Search ===================================== */

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
    border: 1px solid #949494;
    box-sizing: border-box;
    padding: 4px;
    height: 55px;
    border-radius: 10px;
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input {
    border: none;
    border-radius: 5px;
    padding: 0 4px;
}

.wp-block-search__button.has-icon {
    line-height: 0;
    padding: 10px;
    border-radius: 5px;
}

.search-toggle {
    cursor: pointer;
    z-index: index 1000;
}

.search-panel {
    display: block;
    position: fixed;
    left: 0;
    top: -220px;
    width: 100%;
    z-index: 988;
    transition: ease-in-out;
    transition-duration: 0.2s;
}

.search-panel.show-search {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    transition: ease-in-out;
    transition-duration: 0.2s;
}


/*==================== Ultimate Blocks Tabbed Content ====================*/

.wp-block-ub-tabbed-content-tab-title-wrap {
    border-bottom: 0 solid!important;
    margin-right: 2px!important;
}

.wp-block-ub-tabbed-content-tabs-content {
    border-top: 0 solid!important;
}



.section-main-container{
    padding-left: 0!important;
    padding-right: 0!important;
    padding-top: 0!important;
    padding-bottom: 14px!important;
    /*
    background-color: gray!important;
    border-radius: 20px!important;
    box-shadow: 0 2px 6px 0 var(--wp--preset--color--shadow);"
    */
}

/*---- Section Separator ---- */

.section-title-container {
    /*border: 0.5px solid var(--wp--preset--color--primary);*/
    padding-top: 2px!important;
    padding-right: 0!important;
    padding-bottom: 2px!important;
    padding-left: 0!important;
    /*
    background-color: var(--wp--preset--color--primary);
    border-radius: 20px!important;
    */
}

.section-title-container h3, h4 {
    color: var(--wp--preset--color--heading);
}

.section-title-container a {
    color: var(--wp--preset--color--heading);
}

.section-title-container a:hover {
    color: var(--wp--preset--color--hyperlink);
}

.section-line {
    display: none!important;
    border: none!important;
    padding: 0!important;
    margin: 0!important;
    /*border-bottom: 1px solid;*/
}

/*---- Sidebar ---- */
.sidebar-column {

    margin: 0!important;
    padding: 0!important;
    
}
/*---- Social Sharing Icons Block Plugin Custom Style ---- */

.social-sharing-custom li {
    box-shadow: 0px 3px 2px var(--wp--preset--color--shadow);
    border-radius: 0%;
}

/*---- Homepage Post Title Hyperlink Color ----*/
 
.post-title-hyperlink a {
    color: var(--wp--preset--color--heading);
}

.post-title-hyperlink a:hover {
    color: var(--wp--preset--color--hyperlink);
}

.cover-title-hyperlink a {
    color: #ffffff;
}

.cover-title-hyperlink a:hover {
    color: var(--wp--preset--color--hyperlink);
}


/*---- Post Categories Drop Down Menu ---- */

.post-category-drop-menu select { 
    border: 1px solid var(--wp--preset--color--primary)!important;
    height: 2rem;
    padding-left: 5px!important;
    padding-right: 5px!important;
    width: 100%;
    font-size: 15px;
}


/*---- Read Estimate ----*/
.read-estimate {
    font-weight: 400;
    display: flex;
    align-items: center;
    align-content: space-between;
    justify-content: left;
}

/*---- Featured Image Caption ----- */
.featured-image-caption {
    font-size: var(--wp--preset--font-size--small);
    text-align: center;
    margin-top:8px;
    margin-bottom:8px;
    line-height: 1.4;
}

/*---- Related Post Thumbnails ----*/

.relpost-block-single-image {
    border-radius: 10px!important;
}

.relpost_card_title {
    font-weight: 600!important;
    text-align: left!important;
}

/*---- Post Category Taxonomy ----*/
/*
.wp-block-post-terms a {
  border: 1px solid #0A0A0A;
	padding: 2px 10px 2px 10px;
		border-radius: 10px
		
}

.wp-block-post-terms__separator {
		visibility: hidden;
}
*/

/*=========================================== Mobile Viewport ========================================*/
@media (max-width: 699px) {

   .section-main-container{
        padding: 0!important;
        /*
        background-color: gray!important;
        border-radius: 20px!important;
        box-shadow: 0 2px 6px 0 var(--wp--preset--color--shadow);"
        */
    }

    .sidebar-column {
        padding: 0!important;
        /*background-color: gray!important;*/
    }

    .small-bento-cover {
        min-height: 300px !important;
    }

    .mobile-hidden {
        display: none;
    }


}

/*=========================================== Tablet Viewport =========================================*/

@media (min-width: 700px) and (max-width: 899px) {

     .section-main-container{
        padding: 0!important;
        /*
        background-color: gray!important;
        border-radius: 20px!important;
        box-shadow: 0 2px 6px 0 var(--wp--preset--color--shadow);"
        */
    }

    .sidebar-column {
        padding: 0!important;
        /*background-color: gray!important;*/
    }

    .hero-section-column {
        gap: 2rem!important;  
    }

    .mobile-hidden {
        display: none;
    }

    /*------------------ Ultimate Blocks Tabbed Content Tablet Viewport --------------------*/

    .wp-block-ub-tabbed-content-tab-title-wrap {
        border-right: 0!important;
        border-bottom: 1px solid #d3d3d3!important;
        margin-right: 0!important;
    }

    .wp-block-ub-tabbed-content-tabs-content {
        border-top: 1px solid #d3d3d3!important;
        border-left: 0!important;
    }
    
    .wp-block-ub-tabbed-content-tab-holder.vertical-tab-width-tablet {
        width: 26%;
    }

    
  

}

/*=================================== Popular Posts ======================================*/

.tptn_post .tptn_posts_block {
    padding: 0!important;
    margin: 0!important;
}

.tptn_featured {
    padding: 0;
    margin-top: 4px;
    margin-right: 1.5rem;
}

.tptn_thumb {
    width: 5.313rem;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius:10px;
}

.tptn_posts_block > h3 {
    margin: 24px 0 24px 0!important;
}

.tptn_posts > ul {
    box-sizing: border-box;
    list-style: none;
    margin-bottom: 0;
    margin-top: 0;
    max-width: 100%;
    padding: 0;
}

.tptn_posts > ul > li {
    display: flex;
    align-self: flex-start;
    margin-top: 14px; 
}

.tptn_after_thumb {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    line-height: 1.4;
}

.tptn_title {
    font-weight: 700;
    margin: 0;
    padding: 0;
}

a.tptn_link {
    color: var(--wp--preset--color--heading)!important;
}

a:hover.tptn_link {
    color: var(--wp--preset--color--hyperlink)!important;
}

.tptn_date {
    font-size: var(--wp--preset--font-size--small) !important;
    padding-top:6px;
}


/*------------------ Popular Posts Tablet Viewport --------------------*/

@media (min-width: 782px) and (max-width: 853px) {

    .tptn_posts > ul > li {
        display: flex;
        flex-direction: column;
        align-self: flex-start;
        margin-top: 14px; 
    }

    .tptn_thumb {
        width: 100%!important;
        height: auto;
        aspect-ratio: 16/9!important;
        object-fit: cover;
        border-radius:10px;
    }

}

/*------------------ Popular Posts iPad Mini Viewport --------------------*/

@media (max-width: 781px) {

    .tptn_posts > ul > li {
        display: flex;
        align-self: flex-start;
        margin-top: 14px; 
    }

    .tptn_thumb {
        width: 200px!important;
        height: auto;
        aspect-ratio: 4/3!important;
        object-fit: cover;
        border-radius:10px;
    }

}

@media (max-width: 540px) {

    .tptn_posts > ul > li {
        display: flex;
        align-self: flex-start;
        margin-top: 14px; 
    }

    .tptn_thumb {
        width: 143px!important;
        height: auto;
        aspect-ratio: 4/3!important;
        object-fit: cover;
        border-radius:10px;
    }

}

@media (max-width: 539px) {

    .tptn_posts > ul > li {
        display: flex;
        align-self: flex-start;
        margin-top: 14px; 
    }

    .tptn_thumb {
        width: 97px!important;
        height: auto;
        aspect-ratio: 1!important;
        object-fit: cover;
        border-radius:10px;
    }

}




