/**
Theme Name: GFS
Author: Pointus
Author URI: https://pointus.cz/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
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: gfs
Template: astra
*/

@media screen and (max-width:767px) {.hide-on-mobile{display:none;}}
@media screen and (min-width:768px) {.hide-on-tablet-desktop{display:none;}}
@media screen and (max-width:1024px) {.hide-on-tablet{display:none;}}
@media screen and (min-width:1025px) {.hide-on-desktop{display:none;}}

.fw-300 {font-weight: 300 !important;}
.fw-400 {font-weight: 400 !important;}
.no-underline a {text-decoration: none !important;}
.a-underline a {text-decoration: underline !important;}
.color-inherit a {color: inherit !important;}

/* ------- Header Styles ------- */
#ast-desktop-header #ast-hf-menu-1 {
    gap: 40px;
}

#ast-desktop-header .menu-item-home > .menu-link::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 16px;
	background-image: url('/wp-content/uploads/2026/03/home.svg');
	background-size: contain;
	background-repeat: no-repeat;
	margin-right: 10px;
	vertical-align: middle;
    margin-bottom: 1px;
}

#primary-site-navigation-desktop .menu-item-home.current-menu-item > .menu-link::before, #ast-desktop-header .menu-item-home:hover > .menu-link::before {
	filter: brightness(0) saturate(100%) invert(44%) sepia(46%) saturate(4928%) hue-rotate(347deg) brightness(94%) contrast(95%);
}

@media (min-width:1025px) {
    .site-branding{
  display: inline-flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
}

.site-branding .site-logo-img{
  flex: 0 0 auto;
  transform: scale(1);
  transform-origin: left center;
  transition: transform .35s ease, margin-right .35s ease;
  will-change: transform;
  padding-right: 0;
}

.site-branding .ast-site-title-wrap{
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition:
    max-width .4s ease,
    opacity .25s ease,
    transform .35s ease,
    margin-left .35s ease;
  margin-left: 0;
  white-space: nowrap;
}

.site-branding .site-title{
  margin: 0;
  line-height: 1;
}

.site-branding .site-title a{
  display: inline-block;
  text-decoration: none;
  opacity: 0;
  transition: opacity .35s ease .15s;
}

.site-branding:hover .site-logo-img{
  transform: scale(.8);
}

.site-branding:hover .ast-site-title-wrap{
  max-width: fit-content;
  opacity: 1;
  transform: translateY(0);
  margin-left: 0;
}

.site-branding:hover .site-title a{
  opacity: 1;
  transform: translateX(0);
}
}

@media (max-width:768px) {
  .ast-logo-title-inline .site-logo-img {
    padding-right: 10px !important;
  }
}

body.home #ast-mobile-header nav li a {
  background: #F8F3F2 !important;
}

#ast-hf-mobile-menu {
  text-align: center !important;
  box-shadow: 5px 4px 50px 0px rgba(0, 0, 0, 0.1);
}

/* ------- Full height hamburger ------- */
:root {
    --mobile-header-height: 100px;
    --mobile-menu-z: 9998;
    --mobile-header-z: 9999;
    --mobile-menu-side-padding: 20px;
    --mobile-menu-top-padding: 24px;
    --mobile-menu-bottom-padding: 32px;
    --mobile-menu-logo-width: 90px;
    --mobile-menu-logo-height: 90px;
    --mobile-menu-logo-bottom: 20px;
}

.site-header,
.ast-primary-header-bar,
.ast-builder-grid-row-container,
.ast-mobile-header-wrap {
    position: relative;
    z-index: var(--mobile-header-z);
    background: #fff;
}

body.home .site-header,
body.home .ast-primary-header-bar,
body.home .ast-builder-grid-row-container,
body.home .ast-mobile-header-wrap {
  background: #F8F3F2;
}

body.menu-locked {
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}

@media (max-width: 1024px) {

    .ast-builder-menu-mobile .main-navigation,
    .ast-builder-menu-mobile .main-header-bar-navigation,
    .ast-builder-menu-mobile .ast-builder-layout-element {
        position: static;
    }

    .ast-builder-menu-mobile .main-header-menu,
    .ast-builder-menu-mobile .main-header-bar-navigation .main-header-menu {
        position: fixed;
        top: var(--mobile-header-height);
        left: 0;
        right: 0;
        width: 100vw;
        height: calc(100dvh - var(--mobile-header-height));
        min-height: calc(100dvh - var(--mobile-header-height));
        margin: 0;
        padding:
            var(--mobile-menu-top-padding)
            var(--mobile-menu-side-padding)
            calc(var(--mobile-menu-logo-height) + var(--mobile-menu-logo-bottom) + 24px)
            var(--mobile-menu-side-padding);
        background: #fff;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
        box-shadow: none;
        border: none;
        z-index: var(--mobile-menu-z);

        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        position: fixed;
    }

    body.home .ast-builder-menu-mobile .main-header-menu,
    body.home .ast-builder-menu-mobile .main-header-bar-navigation .main-header-menu {
      background: #F8F3F2;
    }

    .ast-builder-menu-mobile .main-header-menu::after,
    .ast-builder-menu-mobile .main-header-bar-navigation .main-header-menu::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: var(--mobile-menu-logo-bottom);
        transform: translateX(-50%);
        width: var(--mobile-menu-logo-width);
        height: var(--mobile-menu-logo-height);
        background-image: url('/wp-content/uploads/2026/03/logo-footer.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        pointer-events: none;
        z-index: 2;
    }

    .ast-builder-menu-mobile .main-header-menu > .menu-item {
        display: block;
        width: 100%;
    }

    .ast-builder-menu-mobile .main-header-menu > .menu-item > a {
        display: block;
        width: 100%;
        padding: 16px 0;
    }

    .ast-builder-menu-mobile .main-header-menu .sub-menu {
        width: 100%;
        margin: 0;
        padding: 0 0 10px 0;
        background: transparent;
    }

    .ast-builder-menu-mobile .main-header-menu .sub-menu .menu-item > a {
        padding: 12px 0 12px 16px;
    }

    .menu-toggle,
    .ast-mobile-menu-trigger-minimal {
        position: relative;
        z-index: calc(var(--mobile-header-z) + 1);
    }
}

/* ------- Footer Styles ------- */
.ast-footer-copyright p {
    font-size: 0.9rem;
    font-weight: 300;
}

.ast-footer-copyright a {
    color: inherit;
    text-decoration: underline;
}

.before-footer-template .elementor-icon-list-items {
  list-style-type: none;
  margin: 0;
}



/* ------- Global Styles ------- */
p a {
    font-weight: 500;
}

.fd-col {
    flex-direction: column;
}

.absolute-center {
  top: 50% !important;
  transform: translateY(-50%);
}

.absolute-center-vertically {
  left: 0;
  right: 0;
  margin: auto;
}

@media (max-width:767px) {
.mobile-flex {
    display: flex !important;
}
.mobile-position-relative {
  position: relative !important;
  top: unset !important;
  left: unset !important;
  right: unset !important;
  bottom: unset !important;
}
}

.orange {
    color: var(--e-global-color-primary);
}

.badge {
    position: relative;
    background-color: #E94E241A;
    width: fit-content;
    padding: 10px 15px;
    border-radius: 10px;
    overflow: hidden;
}

.badge::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );
    transform: skewX(-20deg);
    transition: all 0.6s ease;
}

.badge.dark-bg::after {
  background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );
}

.badge:hover::after {
    left: 120%;
}

.counter-badge {
    width: fit-content;
}

@media (max-width:1024px) {
    .counter-badge {
    left: 50% !important;
    transform: translateX(-50%);
}
}

@media (max-width:767px) {
    .counter-badge {
        width: 80%;
    }
    .counter-badge > .e-con-inner {
    flex-wrap: nowrap !important;
}
    .btn-full-width-mobile a {
    width: 100% !important;
}
}

.pulse .elementor-icon{
  position: relative;
  display: inline-flex;
}

.pulse .elementor-icon::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(233,78,36,0.20);
  transform: scale(1);
  animation: pulseIcon 2s infinite;
}

.pulse.light .elementor-icon::before {
  background: rgba(248,243,242,0.20);
}

@keyframes pulseIcon{
  0%{
    transform: scale(1);
    opacity: 1;
  }
  70%{
    transform: scale(1.6);
    opacity: 0;
  }
  100%{
    transform: scale(1.6);
    opacity: 0;
  }
}

.btn-chevron .elementor-button-icon {
    width: 10px;
}

.btn-chevron.chevron-grey a:hover .elementor-button-icon svg path {
  fill: var(--e-global-color-primary);
}

/* ------- Homepage ------- */
body:not(.home) .ast-primary-header-bar {
  background-color: #fff;
}

.kpi .elementor-counter-title {
    text-align: center;
}

@media (min-width:1025px) {
  .counter-flex-start-desktop .elementor-counter {
    align-items: flex-start;
  }
}

.custom-invest-counter {
    text-align: center;
}

.custom-invest-counter__title {
    font-size: 1.1rem;
    line-height: 1.3em;
    font-weight: 400;
    color:var( --e-global-color-astglobalcolor3 );
}

@media (max-width: 767px) {
  .custom-invest-counter__title {
    font-size: 1rem;
  }
}

.custom-invest-counter__value-wrap {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
        font-size: 2rem;
    font-weight: 700;
    line-height: 1.3em;
    color: #fff;
}

.kpi .pulse .elementor-icon::before{
  animation: pulseIconLarge 3s infinite;
}

@keyframes pulseIconLarge{
  0%{
    transform: scale(1);
    opacity: 1;
  }
  70%{
    transform: scale(4);
    opacity: 0;
  }
  100%{
    transform: scale(4);
    opacity: 0;
  }
}

  .spoluprace .spoluprace-item:nth-child(1)::after,
  .spoluprace .spoluprace-item:nth-child(2)::after{
    content: "";
    position: absolute;
    top: 50%;
    right: -36px;
    width: 74px;
    height: 2px;
    background: rgba(233,78,36,0.10);
    border-radius: 999px;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
  }

  .spoluprace .spoluprace-item:nth-child(3)::after{
    content: none;
  }

  @media (max-width:1024px) {
    .spoluprace .spoluprace-item:nth-child(1)::after,
  .spoluprace .spoluprace-item:nth-child(2)::after {
    left: 50% !important;
    transform: translateX(-50%) rotate(90deg);
    bottom: 0;
    top: unset;
    width: 40px;
  }
  }

  .partners-carousel img {
    max-height: 50px;
  }

  .elementor-widget-counter {
    width: 100%;
  }

  @media (max-width:1024px) {
    .elementor-counter {
      align-items: center;
      text-align: center;
    }
  }

  @media (max-width:1222px) {
      .content-counters-section > .e-con-inner {
        grid-template-columns: repeat(1, 1fr) !important;
      }

      .content-counters-section .content {
        order: -99999;
        justify-content: center;
        align-items: center;
        text-align: center;
      }

      .content-counters-section .content .logo {
        align-self: center;
      }
  }

  .forminator-custom-form label {
    font-size: 1rem !important;
    font-weight: 500 !important;
    margin-bottom: 10px !important;
  }

  .forminator-custom-form input, .forminator-custom-form textarea {
    padding: 20px 25px !important;
    font-size: 1rem !important;
    border-radius: 15px !important;
    font-weight: 300 !important;
    border:1px solid #CFCFCF !important;
  }

  .forminator-custom-form #html-1 {
    font-size: 0.9rem;
    font-weight: 300;
    text-align: center;
  }

  .forminator-custom-form #html-1 p {
    margin: 0 !important;
  }

  .forminator-custom-form #html-1 a {
    color: inherit !important;
    font-weight: inherit !important;
  }

  .forminator-button-submit {
    width: 100% !important;
    border-radius: 15px !important;
    padding: 20px 0 !important;
    box-shadow: none !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
  }

/* ------- Sluzby ------- */
.service-item:hover svg path, .service-item:hover svg rect {
  transition: 0.3s;
}

.service-item:hover svg path {
  fill:#fff;
}

.service-item:hover svg rect {
  fill-opacity: 1;
}

.service-item ul {
  margin-bottom: 0;
}

.service-item ul li::marker {
  color:var(--e-global-color-primary);
}

.cooperation-step .cooperation-step-number span {
  transition: 0.3s;
  display: block;
}

.cooperation-step:hover .cooperation-step-number span {
  color: var(--e-global-color-primary) !important;
  transform: scale(1.1) !important;
}

/* ------- O spolecnosti ------- */
@media (min-width:1025px) {
  .ok-holding-diagram {
    background-position: top+10px center !important;
  }
}

.team-grid .team-card:nth-child(1) {
    grid-column: 2;
    grid-row: 1;
}

.team-grid .team-card:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
}

.team-grid .team-card:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.team-grid .team-card:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.team-grid .team-card:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
}

.team-grid .team-card:nth-child(6) {
    grid-column: 4;
    grid-row: 2;
}

@media (max-width:1024px) {
  .team-card {
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

.team-grid .team-card .elementor-widget-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.team-grid .team-card .elementor-widget-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .35s ease;
}

.team-grid .team-card .elementor-widget-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(34,20,18,0.9) 0%,
        rgba(34,20,18,0.6) 30%,
        rgba(34,20,18,0) 60%
    );
}

.team-card:hover img {
    transform: scale(1.1);
}

/* ------- Kariera ------- */
.volna-pozice-item .elementor-widget-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.volna-pozice-item .elementor-widget-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .35s ease;
}

.volna-pozice-item .elementor-widget-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(34,20,18,1) 0%,
        rgba(34,20,18,0) 100%
    );
}

.volna-pozice-item .elementor-widget-image:hover img {
    transform: scale(1.1);
}

@media (max-width:1024px) {
  .volna-pozice-item-title {
  position: relative !important;
  top: unset !important;
  left: unset !important;
  right: unset !important;
  bottom: unset !important;
  padding: 0 !important;
}
.volna-pozice-item-title h3 {
  color: var(--e-global-color-secondary) !important;
}

.volna-pozice-item-title p {
  color:var(--e-global-color-text) !important;
}
}

.volna-pozice-item ul {
  margin: 0;
}

.volna-pozice-item ul li::marker {
  color: var(--e-global-color-primary);
}

@media (min-width:1025px) {
  .features-grid .item {
    grid-column: span 2;
}

.features-grid .item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1;
}

.features-grid .item:nth-child(2) {
    grid-column: 3 / 5;
    grid-row: 1;
}

.features-grid .item:nth-child(3) {
    grid-column: 5 / 7;
    grid-row: 1;
}

.features-grid .item:nth-child(4) {
    grid-column: 2 / 4;
    grid-row: 2;
}

.features-grid .item:nth-child(5) {
    grid-column: 4 / 6;
    grid-row: 2;
}
}

.boxed-list ul li {
  background: rgba(255,255,255,0.05);
  border: 0.3px solid #fff;
  border-radius: 15px;
  width: max-content;
  padding: 15px 25px !important;
}

@media (max-width:1024px) {
  .boxed-list ul li {
    width: 100%;
  }
}

.features-grid .item:hover svg path, .features-grid .item:hover svg rect {
  transition: 0.3s;
}

.features-grid .item:hover svg path {
  fill:#fff;
}

.features-grid .item:hover svg rect {
  fill-opacity: 1;
}

.kariera-form .forminator-row:nth-child(4) {
  margin-bottom: 10px !important;
}

.kariera-form #html-2 p {
  margin: 0 !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: var(--e-global-color-secondary)
}

.kariera-form .forminator-button-upload {
  padding: 20px 25px !important;
  font-size: 1rem !important;
  border-radius: 15px !important;
  font-weight: 300 !important;
  border:1px solid #CFCFCF !important;
  background-color:#fff !important;
  max-height: 66px;
  box-shadow: none !important;
  color: #8C8C8C !important;
}

@media (max-width:1024px) {
  .kariera-form .forminator-file-upload {
    display: flex;
    flex-direction: column;
  }

  .kariera-form .forminator-button-upload {
    width: 100% !important;
  }
}

.kariera-form .forminator-file-upload span {
  font-weight: 300 !important;
  color: #8C8C8C !important;
}

.kariera-form .forminator-row-last {
  text-align: center;
}

.kariera-form .forminator-button-submit {
  width: max-content !important ;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  padding: 15px 25px !important;
  border-radius: 20px !important;
  padding-right: 40px !important;
}

.kariera-form .forminator-button-submit::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='14' viewBox='0 0 9 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.275121 13.7258C0.640695 14.0914 1.23009 14.0914 1.59566 13.7258L7.79551 7.52598C8.08648 7.23502 8.08648 6.76499 7.79551 6.47403L1.59566 0.274181C1.23009 -0.0913936 0.640695 -0.0913936 0.275121 0.274181C-0.0904537 0.639755 -0.0904537 1.22915 0.275121 1.59473L5.67667 7.00374L0.26766 12.4127C-0.0904539 12.7709 -0.0904537 13.3677 0.275121 13.7258Z' fill='white'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ------- Kontakt ------- */
.contact-item 

.contact-item :hover svg path, .contact-item :hover svg rect {
  transition: 0.3s;
}

.contact-item :hover svg path {
  fill:#fff;
}

.contact-item :hover svg rect {
  fill-opacity: 1;
}

.company-info {
    border-collapse: collapse;
    border:none;
    margin: 0;
}

.company-info td {
    padding: 4px 12px 4px 0;
    border: none;
    width: 50%;
}

.company-info .label {
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .company-info {
        display: flex;
        justify-content: center;
    }

    .company-info tbody {
        display: flex;
        flex-direction: column;
        justify-content: center;
        row-gap: 15px;
    }

    .company-info tr {
        display: flex;
        justify-content: center;
        gap: 5px;
    }

    .company-info td {
        width: auto;
        padding: 0;
    }

}

.leaflet-popup {
	min-width:200px;
}

.leaflet-marker-icon {
	width:20px !important;
}

.marker-title h5 {
	font-size:18px !important;
}

.marker-description {
	font-size:15px !important;
}

.leaflet-control-zoom > a {
	text-decoration:none !important;
}

/* ------- Blog Archive ------- */
@media (max-width: 544px) {
    .ast-separate-container #content .ast-container {
        padding-left: 20px;
        padding-right: 20px;
    }
  }

#primary.blog-archive-page {
    padding: 0;
    margin: 0;
    width: 100%;
}

.blog-hero {
    width: 100vw;
    min-height: 350px;
    display: flex;
    align-items: center;
    background-image: url(/wp-content/uploads/2026/03/blog-hero.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

@media (max-width:1340px) {
  .blog-hero {
    padding: 0 20px;
  }
}

@media (max-width:1024px) {
  .blog-hero {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 544px) {
  .blog-hero {
    padding: 0 27.5px;
  }
}

.blog-section-inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.blog-hero__title {
    font-size: 2.8rem;
    line-height: 1.3em;
    font-weight: 700;
    color: #fff;
}

@media (max-width:1024px) {
  .blog-hero__title {
    font-size: 2.5rem;
  }
}

@media (max-width:767px) {
  .blog-hero__title {
    font-size: 2.3rem;
  }
}

.blog-hero__text {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.3em;
    color: var(--e-global-color-fc74d22);
}

@media (min-width:1025px) {
  .blog-hero__text {
    max-width: 500px;
}
}

.blog-toolbar-wrap {
    width: 100vw;
    display: flex;
    align-items: center;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: var(--e-global-color-29776bd);
    border-bottom: 1px solid var(--e-global-color-f45f49e);
}

@media (max-width:1340px) {
  .blog-toolbar-wrap {
    padding: 0 20px;
  }
}

@media (max-width: 544px) {
  .blog-toolbar-wrap {
    padding: 0 27.5px;
  }
}

.blog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 50px 0;
}

.blog-toolbar__left {
    flex: 1 1 auto;
    min-width: 0;
}

.blog-toolbar__right {
    flex: 0 0 320px;
    max-width: 320px;
    width: 100%;
}

@media (max-width:1024px) {
  .blog-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-toolbar__right {
        flex: 1 1 auto;
        max-width: none;
    }
}

.blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-filter__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 20px;
    background: rgba(233,78,36,0.10);
    color: var(--e-global-color-text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1em;
    transition: all .2s ease;
}

.blog-filter__item:hover {
    background: var(--e-global-color-primary);
    color: #fff;
}

.blog-filter__item.is-active {
    background: var(--e-global-color-primary);
    color: #fff;
    font-weight: 500;
}

.blog-search-form {
    position: relative;
    width: 100%;
}

.blog-search-form__input {
    width: 100% !important;
    height: 50px !important;
    padding: 0 20px 0 60px !important;
    border: 1px solid #E2E2E2 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: var(--e-global-color-secondary) !important;
    font-size: 1.1rem !important;
    font-weight: 300 !important;
}

.blog-search-form__input::placeholder {
    color: #E2E2E2;
}

.blog-search-form__input:focus {
    outline: none;
    border-color: var(--e-global-color-primary);
}

.blog-search-form::before {
    content: "";
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background: #E2E2E2;
}

.blog-search-form::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.5006 11.0006H11.7106L11.4306 10.7306C12.6306 9.33063 13.2506 7.42063 12.9106 5.39063C12.4406 2.61063 10.1206 0.390626 7.32063 0.0506256C3.09063 -0.469374 -0.469374 3.09063 0.0506256 7.32063C0.390626 10.1206 2.61063 12.4406 5.39063 12.9106C7.42063 13.2506 9.33063 12.6306 10.7306 11.4306L11.0006 11.7106V12.5006L15.2506 16.7506C15.6606 17.1606 16.3306 17.1606 16.7406 16.7506C17.1506 16.3406 17.1506 15.6706 16.7406 15.2606L12.5006 11.0006ZM6.50063 11.0006C4.01063 11.0006 2.00063 8.99063 2.00063 6.50063C2.00063 4.01063 4.01063 2.00063 6.50063 2.00063C8.99063 2.00063 11.0006 4.01063 11.0006 6.50063C11.0006 8.99063 8.99063 11.0006 6.50063 11.0006Z' fill='%23E2E2E2'/%3E%3C/svg%3E%0A");}

.blog-search-form__button {
    display: none;
}

.blog-listing {
    padding: 120px 0;
}

@media (max-width:1024px) {
  .blog-listing {
    padding: 80px 0;
}
}

@media (max-width:767px) {
  .blog-listing {
    padding: 60px 0;
}
}

@media (max-width:544px) {
  .blog-listing {
    padding: 60px 0;
}
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 60px 30px;
}

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

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    padding: 0 !important ;
    display: flex;
    flex-direction: column;
    gap:20px;
    border: none !important;
}

.blog-card__thumb {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 1.6 / 1;
    background: var(--e-global-color-f45f49e);
}

.blog-card__thumb img,
.blog-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.blog-card__thumb-placeholder {
    background: linear-gradient(135deg, #f0e8e4 0%, #ddd2cb 100%);
}

.blog-card__cat {
    position: absolute;
    top: 30px;
    left: 0;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 0 20px 20px 0;
    background: rgba(233,78,36,0.5);
    color: #fff;
    font-size: 0.8rem;
    line-height: 1em;
    font-weight: 400;
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 1rem;
    color: var(--e-global-color-text);
    margin-top: 10px;
}

.blog-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1em;
}

.blog-card__title {
    font-size: 1.6rem;
    line-height: 1.3em;
    font-weight: 500;
    margin: 0;
}

.blog-card__title a {
    color: var(--e-global-color-secondary);
    text-decoration: none;
}

.blog-card__title a:hover {
    color: var(--e-global-color-primary);
}

.blog-card__excerpt {
    color: var(--e-global-color-text);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.3em;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--e-global-color-primary);
    font-size: 1rem;
    font-weight: 500;
    width: max-content;
}

.blog-card__link:hover {
    color: var(--ast-global-color-1);
}

.blog-card__link:hover svg path {
    fill: var(--ast-global-color-1);
}

.blog-pagination {
    margin-top: 80px;
}

.blog-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-pagination .page-numbers li {
    margin: 0;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 56px;
    padding: 15px;
    border-radius: 12px;
    background: var(--e-global-color-29776bd);
    color: var(--e-global-color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.3rem;
}

.blog-pagination .page-numbers .current {
    background: var(--e-global-color-primary);
    color: #fff;
}

.blog-pagination .page-numbers .next, .blog-pagination .page-numbers .prev {
  background: transparent;
  font-size: 150%;
  min-width: unset;
  height: auto;
}

.blog-empty {
    text-align: center;
    padding: 40px 0 20px;
}

.blog-empty h2 {
    margin-bottom: 12px;
}

/* ------- Blog Single ------- */
body.single-post .site-primary-header-wrap, body.single-post .ast-primary-header-bar {
  background: var(--e-global-color-bd6398a);
}

body.single-post .ast-article-single {
  padding: 0;
}

#primary.blog-single-page {
    width: 100%;
    padding: 0;
    margin: 0;
}

.blog-single-inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.blog-single-head {
    padding: 50px 0;
}

@media (max-width:767px) {
  .blog-single-head {
    padding-bottom: 0;
  }
}

.blog-single-head .blog-single-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-single-back__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--e-global-color-text);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none !important;
}

.blog-single-back__link:hover {
    color: var(--e-global-color-primary);
}

.blog-single-back__link svg path {
    transition: all .2s linear;
}

.blog-single-back__link:hover svg path {
  fill: var(--e-global-color-primary);
}

.blog-single-cat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(233, 78, 36, .1);
    color: var(--e-global-color-primary);
    text-decoration: none !important;
    font-size: 1rem;
    line-height: 1em;
    font-weight: 400;
    text-transform: uppercase;
}

.blog-single-cat:hover {
  background: var(--e-global-color-primary);
  color: #fff;
}

.blog-single-title {
    margin: 0;
    font-size: 2.8rem;
    line-height: 1.3em;
    font-weight: 700;
    color: var(--e-global-color-secondary);
}

@media (max-width:1024px) {
  .blog-single-title {
    font-size: 2.5rem;
}
}

@media (max-width:767px) {
  .blog-single-title {
    font-size: 2.3rem;
}
}

.blog-single-meta-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    .blog-single-meta-share {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 0;
    }
  }

.blog-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-single-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--e-global-color-text);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1em;
}

.blog-single-share {
    display: flex;
    align-items: center;
    gap: 20px;
}

.blog-single-share__label {
    color: var(--e-global-color-text);
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: uppercase;
}

.blog-single-share .links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.blog-single-share__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.blog-single-share__link svg {
    width: 24px;
    height: 24px;
}

.blog-single-share__link:hover svg path {
    fill: var(--e-global-color-primary);
}

.blog-single-thumb {
    border-radius: 20px;
    overflow: hidden;
}

.blog-single-thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.blog-single-content-wrap {
    padding: 0 0 70px;
}

.blog-single-content {
    color: var(--e-global-color-text);
    font-size: 1.1rem;
    line-height: 1.3em;
    font-weight: 300;
}

.blog-single-content > *:first-child {
    margin-top: 0;
}

.blog-single-content p {
    margin: 0 0 1.4em;
}

.blog-single-content strong {
    color: var(--e-global-color-secondary);
    font-weight: 500;
}

.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4 {
    color: var(--e-global-color-secondary);
    font-weight: 500;
    line-height: 1.3em;
    margin-top: 1.7em;
    margin-bottom: .7em;
}

.blog-single-content h2 {
    font-size: 2rem;
}

.blog-single-content h3 {
    font-size: 1.5rem;
}

.blog-single-content h4 {
    font-size: 1.3rem;
}

.blog-single-content ul,
.blog-single-content ol {
    margin: 0 0 1.5em 0;
    padding: 0;
    list-style: none;
}

.blog-single-content ul li,
.blog-single-content ol li {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 40px;
}

.blog-single-content ul li::before,
.blog-single-content ol li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12.5' cy='12.5' r='12.5' fill='%23E94E24' fill-opacity='0.1'/%3E%3Cpath d='M11.71 15.8796L14.3 13.2896C14.69 12.8996 14.69 12.2696 14.3 11.8796L11.71 9.28957C11.08 8.66957 10 9.10957 10 9.99957V15.1696C10 16.0696 11.08 16.5096 11.71 15.8796Z' fill='%23E94E24'/%3E%3C/svg%3E");}

.blog-single-content ul li:last-child,
.blog-single-content ol li:last-child {
    margin-bottom: 0;
}

.blog-single-content a {
    color: var(--e-global-color-primary);
}

.blog-single-content a:hover {
    color: var(--ast-global-color-1);
}

.blog-single-content blockquote.wp-block-quote {
    margin: 2.2em 0;
    padding: 30px;
    background: var(--e-global-color-29776bd);
    border: 1px solid var(--e-global-color-f45f49e);
    border-left: 8px solid var(--e-global-color-primary) !important;
    border-radius: 20px;
}

.blog-single-content blockquote.wp-block-quote p:last-child {
    margin-bottom: 0;
}

.blog-single-content blockquote.wp-block-quote h3,
.blog-single-content blockquote.wp-block-quote .wp-block-heading {
    font-size: 1.2rem;
    font-style: initial !important;
}

.blog-single-content blockquote.wp-block-quote p {
  font-size: 1.1rem;
  font-style: initial;
}

.blog-single-content img {
  border-radius: 20px;
}

.blog-single-author {
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid var(--e-global-color-f45f49e);
    display: flex;
    align-items: center;
    gap: 40px;
}

@media (max-width:767px) {
  .blog-single-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
}

.blog-single-author__avatar img,
.blog-single-author__avatar .avatar {
    min-width: 120px;
    height: auto;
    border-radius: 999px;
    display: block;
    box-shadow: none;
}

@media (max-width:767px) {
  .blog-single-author__avatar img,
.blog-single-author__avatar .avatar {
    min-width: 80px;
}
}

.blog-single-author__content {
    flex: 1 1 auto;
}

.blog-single-author__eyebrow {
    margin-bottom: 20px;
    color: var(--e-global-color-primary);
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 400;
}

.blog-single-author__name {
    margin-bottom: 10px;
    color: var(--e-global-color-secondary);
    font-size: 1.4rem;
    line-height: 1.3em;
    font-weight: 500;
}

.blog-single-author__bio {
    color: var(--e-global-color-text);
    font-size: 1.1rem;
    line-height: 1.3em;
    font-weight: 300;
}

.blog-related {
    padding: 80px 0;
    background: var(--e-global-color-29776bd);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

@media (max-width:1340px) {
  .blog-related {
    padding: 80px 20px;
  }
}

@media (max-width: 767px) {
    .blog-related {
        padding: 40px 20px;
    }
  }

.blog-related .blog-section-inner {
    max-width: 1300px !important;
}

.blog-related__head {
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .blog-related__head {
    text-align: center;
}
}

.blog-related__title {
    margin: 0 0 10px;
    font-size: 2rem;
    line-height: 1.3em;
    font-weight: 500;
    color: var(--e-global-color-secondary);
}

.blog-related__text {
    color: var(--e-global-color-text);
    font-size: 1.1rem;
    line-height: 1.3em;
    font-weight: 300;
}

.blog-related .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

@media (max-width: 1024px) {
    .blog-related .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.blog-related .blog-card {
    gap: 30px;
}

.blog-related .blog-card__title {
    font-size: 1.6rem;
    line-height: 1.3em;
    font-weight: 500;
}

.blog-related .blog-card__title a {
  text-decoration: none;
}

.blog-related .blog-card__thumb {
    aspect-ratio: 1.6 / 1;
}

@media (max-width: 767px) {

    .blog-related {
        padding-top: 60px;
        padding-bottom: 70px;
    }

    .blog-related .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ------- Blog shortcode ------- */
.shortcode-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

@media (max-width: 1024px) {
    .shortcode-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .shortcode-posts-grid {
        grid-template-columns: 1fr;
    }
}

.shortcode-posts-grid .post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--e-global-color-f45f49e);
    border-radius: 20px;
    background: #fff;
    box-shadow: 5px 5px 50px 0px rgba(0, 0, 0, 0.1);
    transition: all .2s linear;
}

.shortcode-posts-grid .post-card:hover {
  border-color: var(--e-global-color-primary);
}

.shortcode-posts-grid .post-card__thumb {
    position: relative;
    aspect-ratio: 1.4 / 1;
    overflow: hidden;
    background: var(--e-global-color-bd6398a);
}

.shortcode-posts-grid .post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shortcode-posts-grid .post-card__cat {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 15px;
    border-radius: 40px;
    background: var(--e-global-color-primary);
    color: #fff;
    font-size: .9rem;
    font-weight: 300;
    line-height: 1em;
}

.shortcode-posts-grid .post-card__body {
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shortcode-posts-grid .post-card__meta {
    display: flex;
    gap: 20px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--e-global-color-text);
}

.shortcode-posts-grid .post-card__meta .post-card__meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shortcode-posts-grid .post-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3em;
    margin: 0;
}

.shortcode-posts-grid .post-card__title a {
    color: var(--e-global-color-secondary);
    text-decoration: none;
}

.shortcode-posts-grid .post-card__title a:hover {
    color: var(--e-global-color-primary);
}

.shortcode-posts-grid .post-card__excerpt {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.3em;
    color: var(--e-global-color-text);
}

.shortcode-posts-grid .post-card__link {
    color: var(--e-global-color-text);
    text-decoration: none !important;
    font-weight: 300;
    font-size: 1.1rem;
}

.shortcode-posts-grid .post-card__link span {
  text-decoration: underline;
}

.shortcode-posts-grid .post-card__link:hover {
    color: var(--e-global-color-primary);
}

.shortcode-posts-grid .post-card__link svg path {
  transition: all .2s linear;
}

.shortcode-posts-grid .post-card__link:hover svg path {
    fill: var(--e-global-color-primary);
}

/* ========================================
   404 TEMPLATE
======================================== */

.error-404-custom {
	margin: 0 !important;
    padding:0 !important;
}

.error-hero {
	position: relative;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	overflow: hidden;
	background-color: var(--ast-global-color-0);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	isolation: isolate;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.error-content {
	width: 100%;
	text-align: center;
	color: #fff;
}

.error-title {
	margin: 0 0 20px;
	color: #fff;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.3em;
}

.error-text {
	margin: 0 0 30px;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 300;
	line-height: 1.3em;
}

.error-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 22px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-size: 1.1rem;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	transition: all 0.25s ease;
}

.error-button:hover,
.error-button:focus {
	border-color: rgba(255, 255, 255, 0.9);
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	transform: translateY(-1px);
}

.error-arrow {
	display: inline-block;
	font-size: 1.1rem;
	line-height: 1;
	transform: translateY(-1px);
}