/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.12
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold */

:root {
	--expo10-blue: #0d2f55;
	--expo10-superlight-blue: #e6eaee;
	--expo-10-red: #ff2e4e;
}

/*Utilities*/
.fullwidth {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  left: 0;
  right: 0;
  max-width: 100vw;
  box-sizing: border-box;
}

.margin-bottom2rem {
	margin-block-end: 2rem;
}

/*end utilities*/

/*Fonts*/
h1, h2, h3, h4, h5, h6, #top .title_container .main-title, tr.pricing-row td, #top .portfolio-title, .callout .content-area, .avia-big-box .avia-innerbox, .av-special-font, .av-current-sort-title, .html_elegant-blog #top .minor-meta, #av-burger-menu-ul li, .av-subheading.av-subheading_below {
    font-family: 'open sans', Helvetica, Arial, sans-serif!important;
}
body .av-special-heading.classic-quote > * {
	font-style: normal!important;
}


.avia-standard-logo img {
	padding-block: 1rem;
}

.header-scrolled .avia-standard-logo img,
.header-scrolled-full .avia-standard-logo img {
  padding-block: .3rem;
}

.avia_textblock {
	max-width: 85ch;
}

.trail-before {
	display: none!important;
}

/*Mega menu*/
.avia_mega_text_block img {
	width: 150px;
	aspect-ratio: 1;
}

div:has(> .expo10-border) {
    border: 1px solid var(--expo10-superlight-blue);
    padding: .5rem 1rem;
    border-radius: .2rem;
}

/* .expo10-border {
	position: relative;
}

.expo10-border .av_textblock_section a::after {
	content: '';
	position: absolute;
	inset: 0;
}

.expo10-border .av-special-heading h3:hover {
	color: var(--expo-10-red);
} */

#top div .avia-gallery .avia-gallery-big,
#top div .avia-gallery img {
    border-width: 0;
	border-top-left-radius: .2rem;
    border-top-right-radius: .2rem;
}

.expo10-border .special-heading-border .special-heading-inner-border {
    border-top-width: 0;
}

.expo10-border .av_textblock_section {
	margin-block-end: 3rem;
}

@media (min-width: 768px) {
	.expo10-border .avia-button-wrap {
		position:absolute;
		bottom: 0;
	}
}

/*beneficii above the footer - footertop*/

/* .container:has(.footer-top-widget-area) {
  background: #f8f8f8;
} */

.beneficii-footertop {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 20px;
  background: #f8f8f8;
  border-top: 1px solid #ddd;
  gap: 20px;
}

.beneficiu {
  display: flex;
  flex-direction: column;
  flex: 1 1 22%;
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.beneficiu:hover {
  box-shadow: 2px 4px 12px rgba(0,0,0,0.3);
}

.beneficiu .iconbox_icon {
  font-family: 'entypo-fontello';
  font-size: 36px;
  line-height: 1;
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--expo10-blue);
	width: 100%;
}

/* Asigură afișarea simbolului din atributul data-av_icon */
.beneficiu .iconbox_icon::before {
  content: attr(data-av_icon);
  font-family: 'entypo-fontello';
  font-weight: normal;
  font-style: normal;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.beneficiu h4 {
  font-size: 18px;
  color: var(--expo10-blue);
}

.beneficiu p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
	margin-top: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .beneficiu {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .beneficiu {
    flex: 1 1 100%;
  }
}
/*end footertop*/

/* Universal CPT Archive Pages */
/* This CSS uses attribute selectors to target any post type with the same style structure */

/* GRID - Applies to any post type list */
[class$="-list"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-block-end: 2rem;
}

.archive-title {
  padding: 2rem 0;
}

/* CARD BASE - Uses attribute selectors to match any post type */
[class$="-archive-entry"] {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
  position: relative;
}

/* HOVER EFFECT */
[class$="-archive-entry"]:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* CHILD CARD STYLE (VISUAL DISTINCTION) */
.produs-level-child, .servicii-level-child, [class*="-level-child"] {
  background: #f9f9f9;
  border-color: #ccc;
  border-left: 4px solid #0073aa;
}

/* IMAGE */
[class$="-thumbnail"] {
  margin-bottom: 1rem;
}

[class$="-thumbnail"] img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  aspect-ratio: 1;
}

/* TITLE */
[class$="-title"] {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  color: var(--expo10-blue);
}

/* EXCERPT */
[class$="-excerpt"] {
  font-size: 0.95rem;
  color: #555;
  flex-grow: 1;
}

/* LINK WRAPPER */
[class$="-item-link"] {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* OPTIONAL BADGE FOR CHILDREN */
[class$="-badge"] {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--expo-10-red);
  color: #fff;
  font-size: 0.7rem;
  padding: 0 6px;
  border-radius: 3px;
  font-weight: 600;
}

[class$="-badge"] a {
  color: white;
}

/* Break grid row before parent with children */
.grid-row-break {
  flex-basis: 100%;
  height: 0;
  width: 100%;
  grid-column: 1 / -1;
}

/* Optional: space above the group */
.grid-row-break + [class$="-item-link"] {
  margin-top: 1rem;
}

/* Force new row */
.grid-row-break {
  grid-column: 1 / -1;
  height: 0;
}

/* Parent heading above children */
.parent-heading {
  grid-column: 1 / -1;
  margin: 1rem 0 0.5rem;
}

.parent-heading h2 {
  font-size: 1.5rem;
  color: var(--expo10-blue);
}

[class$="-badge"]:hover {
  background: var(--expo10-blue);
}

/*End CPT Archive pages */

/* Homepage Curved Slider */
.ls-curved-carousel {
  --viewport-height: 40rem;
  --viewport-height-m: 35rem;
  --perspective: 600px;
  --perspective-m: 400px;
  --block-offset: 0;
  --block-offset-m: 0;
  --fadeout: none;

  position: relative;
  width: 100%;
  height: var(--viewport-height);
  transform-style: preserve-3d;
  user-select: none;
  overflow: visible;
  z-index: 1;
  margin-block: var(--block-offset);
  -webkit-mask-image: var(--fadeout);
  mask-image: var(--fadeout);
}

.ls-curved-carousel.fadeout {
  --fadeout: linear-gradient(90deg, transparent, white 20%, white 80%, transparent 100%);
}

.ls-curved-carousel__stage {
  perspective: var(--perspective);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ls-curved-carousel__ring {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  gap: 0;
}

.ls-curved-carousel__slide {
  position: absolute;
  transform-style: preserve-3d;
  overflow: hidden;
}

.ls-curved-carousel__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.ls-curved-carousel::after {
  content: none;
}

	
.closer-bottom-slider {
  margin-bottom: -8rem !important;
	z-index: 2!important;
}

.closer-top-slider {
  margin-top: -10rem !important;
	z-index: 2!important;
}


@media (max-width: 767px) {
  .ls-curved-carousel {
    height: var(--viewport-height-m);
    margin-block: var(--block-offset-m);
  }

  .ls-curved-carousel__stage {
    perspective: var(--perspective-m);
  }
}

.av_default_container_wrap:has(.servicii-home){
	background-color: var(--expo10-superlight-blue);
}

.content:has(.servicii-home){
	padding-bottom: 0;
}

.servicii-home-tabs {
	background-color: var(--expo10-superlight-blue);
}

.servicii-home-tab .flex_column_table {
	border: 1px solid #cfd2d6!important;
    padding: .5rem 1rem;
    border-radius: .2rem;
}

.produse-home .av-special-heading-tag .heading-wrap::before,
.produse-home .av-special-heading-tag .heading-wrap::after {
	display: none;
}

.lede {
	width: 100ch;
    margin: 0 auto;
	margin-block-end: 2rem;
}

.wpforms-field-description,
.wpforms-field-sublabel {
	display: none!important;
}

#top #wrap_all .av-social-link-instagram:hover a, #top #wrap_all .av-social-link-instagram a:focus {
    color: var(--expo-10-red); 
    background-color: initial;
	text-decoration: underline!important;
}

.footer_color .social_bookmarks span {
	border-color: transparent;
    margin-inline-start: .5rem;
}