/**
Theme Name: Synqbox 
Author: Synqbox
Author URI: https://synqbox.com
Description: A plain-vanilla & lightweight theme for Elementor page builder
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: synqbox
Template: hello-elementor
*/

/* Basic Sticky Header Styling */
.sticky-active {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999;
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	padding-top: 10px;
}

.sticky-header ul.elementor-icon-list-items {
    display: flex;
    list-style: none;
}
.sticky-header .elementor-widget .elementor-icon-list-item, .sticky-header .elementor-widget .elementor-icon-list-item a,
.footer-main .elementor-widget .elementor-icon-list-item, .footer-main .elementor-widget .elementor-icon-list-item a{
	align-items: var(--icon-vertical-align, center);
    display: flex;
    font-size: inherit;
}

.sticky-header .elementor-widget .elementor-icon-list-item {
	margin-inline: 8px;
	word-break: break-word;
}
.skip-link {display: none; }
.sticky-header .elementor-widget .elementor-icon-list-icon,
.footer-main .elementor-widget .elementor-icon-list-icon {
	display: flex;
    inset-block-start: var(--icon-vertical-offset, initial);
    position: relative;
}
.sticky-header .elementor-widget-icon-list .elementor-icon-list-icon svg,
.footer-main .elementor-widget-icon-list .elementor-icon-list-icon svg{
	margin: var(--e-icon-list-icon-margin, 0 calc(var(--e-icon-list-icon-size, 1em) * .25) 0 0);
    height: var(--e-icon-list-icon-size, 1em);
    width: var(--e-icon-list-icon-size, 1em);
}

.glass {
	/* base look (works everywhere) */
	background: rgba(240, 238, 233, 0);
}

.sticky-active.glass {
	/* base look (works everywhere) */
	background: rgba(240, 238, 233, 0.65);
}

.sticky-active.glass::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(240, 238, 233, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: -1;
}

.sticky-header ul.elementor-icon-list-items {
    display: flex;
    list-style: none;
}

.hide-sticky {
	animation-name: fadeIn;
	animation-duration: 1.25s;
}

.sticky-header.sticky-active .hide-sticky {
	display: none;
	animation-name: fadeOut;
	animation-duration: 1.25s;
}

.sticky-header.sticky-active .logo img {
	width: 140px;
}

/* Container */
.elementor-widget-image .wp-caption {
    position: relative;
    overflow: hidden;
}

/* Caption hidden by default */
.elementor-widget-image .wp-caption-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

/* Show caption on hover */
.elementor-widget-image .wp-caption:hover .wp-caption-text {
    opacity: 1;
    transform: translateY(0);
}

body.archive .archive-container .e-con-boxed.e-flex,
body.archive .archive-header.e-con >.e-con-inner,
body.single-resources .archive-container .e-con-boxed.e-flex,
body.single-resources .archive-container .archive-content {
    display: flex;
}

body.archive  .archive-header,
.singlesidebar-header {
	display: flex;
	--min-height: 250px;
	--flex-direction: column;
    --container-widget-width: 100%;
    --container-widget-height: initial;
    --container-widget-flex-grow: 0;
    --container-widget-align-self: initial;
    --flex-wrap-mobile: wrap;
    --justify-content: flex-end;
    --overlay-opacity: 0.38;
    padding: 0;
}
/*background-image: url("/wp-content/themes/hello-isabela/img/header_photo.png");
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: cover;*/

body.archive .archive-header .e-con-full.e-flex,
body.archive .archive-header .e-con.e-flex>.e-con-inner {
    padding: 0;
}

body.archive .archive-header h1,
body.archive .archive-header h5,
.singlesidebar-header h1,
.singlesidebar-header h5 {
	font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
	font-weight: var( --e-global-typography-primary-font-weight );
	color: var(--e-global-color-80aa94c);
}

body.archive  .archive-header h1 {
    font-size: 2rem;
}

body.archive .archive-container,
.singlesidebar-container {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

body.archive .e-con-inner.archive-content {
    max-width: 930px;
}

body.archive .e-con-inner.archive-content .archive-list {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
}

body.archive .e-con-inner.archive-content .archive-list article {
    gap: 10px 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

body.archive .e-con-inner.archive-content .archive-list .post-thumbnail {
    width: 50%;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    position: relative;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}

body.archive .archive-container .archive-contents {
	padding: 10px 0px 0px 0px;
	width: 50%;
}

body.archive .archive-contents h5 {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
    margin-bottom: 5px;
    font-size: 1.625rem;
    line-height: 1.25;
    letter-spacing: -.0119047619em;
}

body.archive .archive-contents a {
    color: var(--e-global-color-primary);
}

body.archive .archive-contents a:hover {
    color: var(--e-global-color-secondary);
}

body.archive .e-con-inner.archive-content .archive-list .post-thumbnail img.wp-post-image {
    max-height: 500px;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}

body.single-resources .archive-container {
    padding-top: 130px;
    margin-bottom: 50px;
}

body.single-resources .archive-container .entry-heading h1 {
	font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
	font-weight: var( --e-global-typography-primary-font-weight );
	color: var( --e-global-color-primary );
	margin-bottom: 5px;
    line-height: 1.25;
    letter-spacing: -.0119047619em;
}

body.single-resources .archive-container .entry-heading .date {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.3rem;
}

body.single-resources .e-con-inner.archive-content {
    max-width: 740px;
    flex-direction: column !important;
    gap: 50px;
}

.related-content {
    padding: 40px 40px 40px 40px;
    background-color: rgba(196,196,196,0.26);
    border-radius: 10px;
    font-family: 'Josefin Sans', sans-serif;
}

.related-heading {
    margin-top: 0;
}

ul.related-post {
    list-style: none;
    padding: 0;
}

ul.related-post li {
    border-bottom: 1px solid #a0a0a0;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

ul.related-post li a,
ul.related-post li a:visited {
    color: #000;
}

ul.related-post li a:hover {
    color: #7f5812;
}

ul.related-post li a > h5 {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
    margin-bottom: 5px;
    font-size: 1.625rem;
    line-height: 1.25;
    letter-spacing: -.0119047619em;
}

ul.related-post li:last-child {
    border-bottom: 0px solid #1a5e3c;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.pagination {
  margin-top: 2rem;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  background: #f0eee9;
  color: #333;
  text-decoration: none;
  border-radius: 0;
  font-weight: bold;
}

.pagination .current, .pagination .page-numbers:hover {
  background: #7e5811;
  color: #fff;
  font-weight: bold;
}

.marquee-carousel .swiper-wrapper {
  transition-timing-function: linear !important;
}

.marquee-carousel .swiper-slide {
  width: auto !important;
}

.marquee-carousel .swiper-wrapper {
  animation: marqueeScroll 20s linear infinite;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marquee-carousel {
  position: relative;
  overflow: hidden;
}

@media (max-width: 1024px) and (min-width: 768px) {
    .elementskit-menu-close {
        font-size: 0; /* hides the text without removing the element */
    }

    #ekit-megamenu-main-menu { border-right: 1px solid #ffffff36; }
    #ekit-megamenu-main-menu::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(27, 94, 60, 0.15);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        z-index: -1;
    }

    .elementskit-menu-close:before {
        content: "";
        display: inline-block;
        width: 32px;
        height: 32px;
        background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>") no-repeat center;
        background-size: contain;
    }
    
    .ekit_menu_responsive_tablet [type=button]:focus,
	.ekit_menu_responsive_tablet [type=button]:visited,
	.ekit_menu_responsive_tablet [type=button]:active,
	.ekit_menu_responsive_tablet [type=button]:hover {
        background-color: rgba(0,0,0,0) !importatnt;
    }
    
}

@media (max-width: 767px) {
    .elementskit-menu-close {
        font-size: 0; /* hides the text without removing the element */
    }
    
    .elementskit-menu-close:before {
        content: "";
        display: inline-block;
        width: 32px;
        height: 32px;
        background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>") no-repeat center;
        background-size: contain;
    }
    
    .ekit_menu_responsive_tablet [type=button]:focus,
	.ekit_menu_responsive_tablet [type=button]:visited,
	.ekit_menu_responsive_tablet [type=button]:active,
	.ekit_menu_responsive_tablet [type=button]:hover{
        background-color: rgba(0,0,0,0) !important;
    }
	
	.sticky-header {
		padding: 0;
	}
	
	body.single-resources .archive-container .entry-heading h1 {
        font-size: 1.5rem;
    }
    
    body.single-resources .e-con-inner.archive-content {
        flex-direction: row !important;
    }
    
    .related-content {
        padding: 20px;
    }
    
    ul.related-post li a > h5 {
        font-size: 1rem;
    }
    
    ul.related-post li .date {
        font-size: 14px;
    }
    
    .related-heading {
        font-size: 24px;
    }
}
