div#top_bar_row {
    display: none;
}


.ihsg-section {
  width: 100%;
  margin: 16px 0;
}

.ihsg-container {
  width: min(100%, var(--ihsg-max-width));
  margin: 0 auto;
  box-sizing: border-box;
}

.ihsg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.11fr) minmax(0, 1fr);
  gap: var(--ihsg-gap);
  align-items: stretch;
}

.ihsg-slider,
.ihsg-tile {
  position: relative;
  overflow: hidden;
  background: #f3f5f8;
}

.ihsg-slider {
  aspect-ratio: 1.8 / 1;
  min-width: 0;
}

.ihsg-slider-viewport,
.ihsg-slider-track,
.ihsg-slide,
.ihsg-media-link,
.ihsg-slide picture,
.ihsg-tile picture {
  width: 100%;
  height: 100%;
}

.ihsg-slider-viewport {
  overflow: hidden;
}

.ihsg-slider-track {
  display: flex;
  transform: translate3d(0, 0, 0);
  transition: transform .45s ease;
  will-change: transform;
}

.ihsg-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
}

.ihsg-media-link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.ihsg-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ihsg-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: clamp(20px, 4vw, 56px);
  color: var(--ihsg-text-color, #fff);
  pointer-events: none;
}

.ihsg-caption--left {
  align-items: flex-start;
  text-align: left;
}

.ihsg-caption--center {
  align-items: center;
  text-align: center;
}

.ihsg-caption--right {
  align-items: flex-end;
  text-align: right;
}

.ihsg-title {
  max-width: 64%;
  margin: 0;
  color: inherit;
  font-size: clamp(22px, 1.65vw, 32px);
  font-weight: 600;
  line-height: 1.10;
  
}

.ihsg-subtitle {
  max-width: 60%;
  font-size: clamp(14px, .95vw, 18px);
  line-height: 1.30;
  
}

.ihsg-subtitle p {
  margin: 0;
}

.ihsg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 8px;
  padding: 10px 20px;
  background: #fff;
  color: #1d3666;
  font-size: var(--ihsg-button-font-size, 14px);
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .16);
}


/* Aliniere precisa continut slider */
.ihsg-slider .ihsg-caption {
  display: grid;

  /* IMPORTANT: coloana ocupa mereu toata latimea disponibila */
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;

  width: 100%;
  box-sizing: border-box;

  align-items: start;
  justify-items: start;
  justify-content: stretch;

  padding-top: 62px;
  padding-bottom: 70px;
  padding-left: clamp(30px, 4vw, 56px);
  padding-right: clamp(30px, 4vw, 56px);

  gap: 0;
}

.ihsg-slider .ihsg-caption--left {
  text-align: left;
}

/* TITLU */
.ihsg-slider .ihsg-title {
  grid-row: 1;
  justify-self: start;

  width: 56%;
  max-width: 56%;
  margin: 0;

  font-size: var(--ihsg-title-font-size, clamp(26px, 1.85vw, 33px));
  line-height: 1.06;
  font-weight: 600;

  color: #ffffff !important;
  text-shadow: none;
  text-transform: uppercase;
}

/* SUBTITLU */
.ihsg-slider .ihsg-subtitle {
  grid-row: 2;

  justify-self: start;
  align-self: center;

  width: 56%;
  max-width: 56%;
  margin: 0;

  font-size: var(--ihsg-subtitle-font-size, clamp(14px, .95vw, 18px));
  line-height: 1.3;

  color: #ffffff !important;
  text-shadow: none;
}


/* Lista cu icon check din subtitlu */
.ihsg-slider .ihsg-subtitle ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ihsg-slider .ihsg-subtitle li {
  position: relative;
  margin: 0 0 6px 0;
  padding-left: 28px;
  line-height: 1.3;
}

.ihsg-slider .ihsg-subtitle li:last-child {
  margin-bottom: 0;
}

.ihsg-slider .ihsg-subtitle li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;

  width: 18px;
  height: 18px;

  background-image: url("../img/icon-check.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  transform: translateY(-50%);
}



.ihsg-slider .ihsg-subtitle p {
  margin: 0;
}

/* BUTON */
.ihsg-slider .ihsg-button {
  grid-row: 3;

  justify-self: start;
  align-self: end;

  margin: 0;
}

.ihsg-slider .ihsg-caption--left,
.ihsg-slider .ihsg-caption--center,
.ihsg-slider .ihsg-caption--right {
  align-items: start !important;
  justify-items: start !important;
  text-align: left !important;
}

.ihsg-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .78);
  color: #2b5dbf;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.ihsg-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.ihsg-arrow span {
  margin-top: -3px;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
}

.ihsg-arrow--prev {
  left: 6px;
}

.ihsg-arrow--next {
  right:6px;
}

.ihsg-dots {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.ihsg-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 1px 5px rgba(0, 0, 0, .24);
  cursor: pointer;
  transition: width .2s ease, border-radius .2s ease, background .2s ease;
}

.ihsg-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: #fff;
}

.ihsg-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: var(--ihsg-gap);
  min-width: 0;
}

.ihsg-tiles--full {
  grid-column: 1 / -1;
  min-height: 420px;
}

.ihsg-tile--1 {
  grid-column: 1 / -1;
}

.ihsg-title--tile {
  max-width: 94%;
  font-size: var(--ihsg-title-font-size, clamp(18px, 1.55vw, 30px));
}

.ihsg-subtitle--tile {
  max-width: 92%;
  font-size: var(--ihsg-subtitle-font-size, clamp(12px, .95vw, 16px));
}

.ihsg-button--tile {
  min-height: 42px;
  padding: 10px 20px;

  background: #ffffff;
  color: #1d3666;

  font-size: var(--ihsg-button-font-size, 14px);
  font-weight: 800;
  line-height: 1;

  font-family: inherit;
}


/* Distanta textului fata de marginile bannerelor */
.ihsg-tile .ihsg-caption {
  padding-left: 16px !important;
  padding-right: 16px !important;
}


/* Aliniere la stanga pentru toate bannerele */
.ihsg-tile .ihsg-caption--left,
.ihsg-tile .ihsg-caption--center,
.ihsg-tile .ihsg-caption--right {
  align-items: flex-start !important;
  text-align: left !important;
}

/* Titlu banner */
.ihsg-tile .ihsg-title {
  align-self: flex-start;
  text-align: left !important;
  margin-left: 0;
  margin-right: 0;
}

/* Subtitlu banner */
.ihsg-tile .ihsg-subtitle {
  align-self: flex-start;
  text-align: left !important;
  margin-left: 0;
  margin-right: 0;
}

/* Buton banner */
.ihsg-tile .ihsg-button {
  align-self: flex-start;
  margin-left: 0;
  margin-right: 0;
}


@media (max-width: 1023px) {
  .ihsg-layout {
    grid-template-columns: 1fr;
  }

  .ihsg-slider {
    aspect-ratio: 1.8 / 1;
  }

  .ihsg-tiles {
    min-height: clamp(360px, 74vw, 620px);
  }
}




@media (max-width: 575px) {
  .ihsg-tiles {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .ihsg-tile,
  .ihsg-tile--1 {
    grid-column: 1;
    aspect-ratio: 1.75 / 1;
  }

  .ihsg-arrow {
    width: 34px;
    height: 34px;
  }

  .ihsg-arrow--prev {
    left: 10px;
  }

  .ihsg-arrow--next {
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ihsg-slider-track,
  .ihsg-arrow,
  .ihsg-dot {
    transition: none !important;
  }
}

/* v1.3.0 - vizibilitate separată desktop / mobil */
@media (min-width: 768px) {
  .ihsg-slide[data-active-desktop="0"],
  .ihsg-tile[data-active-desktop="0"],
  .ihsg-dot[data-active-desktop="0"] {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .ihsg-slide[data-active-mobile="0"],
  .ihsg-tile[data-active-mobile="0"],
  .ihsg-dot[data-active-mobile="0"] {
    display: none !important;
  }
}

.ihsg-layout--no-slider,
.ihsg-layout--no-tiles {
  grid-template-columns: minmax(0, 1fr);
}

.ihsg-layout--no-slider .ihsg-tiles,
.ihsg-layout--no-tiles .ihsg-slider {
  grid-column: 1 / -1;
}

.ihsg-slider--full {
  aspect-ratio: 2.2 / 1;
}

.ihsg-tiles--no-top {
  grid-template-rows: minmax(0, 1fr);
}

.ihsg-tiles--only-top {
  grid-template-rows: minmax(0, 1fr);
}

.ihsg-tiles--only-top .ihsg-tile--1 {
  grid-row: 1;
}

.ihsg-tiles--single-bottom .ihsg-tile:not([hidden]) {
  grid-column: 1 / -1;
}

.ihsg-section[hidden],
.ihsg-slider[hidden],
.ihsg-tiles[hidden],
.ihsg-slide[hidden],
.ihsg-tile[hidden],
.ihsg-dot[hidden],
.ihsg-arrow[hidden],
.ihsg-dots[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .ihsg-slider--full {
    aspect-ratio: 1.45 / 1;
  }
}


/* Icon sageata - doar bannerul 2 "Expertiza Noastra" */
.ihsg-tile--2 .ihsg-subtitle--tile::after {
  content: "";
  display: block;

  width: 48px;
  height: 48px;

  margin-top: 14px;

  background-image: url("../img/buton-sageata.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}


 /* ===== Box-uri informative sub slider (sloturile 4-7) ===== */

.ihsg-info-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  background: transparent;
  border: 0;
}

.ihsg-info-box {
  position: relative;
  min-width: 0;
  background: transparent;
}

.ihsg-info-box:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 50%;
  background: #d8dee7;
  transform: translateY(-50%);
}

.ihsg-info-box__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.ihsg-info-box__link:hover,
.ihsg-info-box__link:focus {
  color: inherit;
  text-decoration: none;
}

.ihsg-info-box__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 110px;
  padding: 12px 18px;
  box-sizing: border-box;
}

/* primul sa inceapa fix din stanga */
.ihsg-info-box:first-child .ihsg-info-box__inner {
  padding-left: 0;
}

/* ultimul sa se termine fix in dreapta */
.ihsg-info-box:last-child .ihsg-info-box__inner {
  padding-right: 0;
}

.ihsg-info-box__icon {
  flex: 0 0 58px;
  width: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ihsg-info-box__icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: 70px;
  max-height: 64px;
  object-fit: contain;
}

.ihsg-info-box__content {
  min-width: 0;
  flex: 1;
}

.ihsg-info-box__title {
  margin: 0 0 5px;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.18;
}

.ihsg-info-box__subtitle {
  margin: 0;
  color: #617086;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.42;
}

.ihsg-info-box__subtitle p {
  margin: 0;
}


/* TABLETA */
@media (max-width: 1023px) {
  .ihsg-info-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.ihsg-info-box::after {
  display: none;
}

.ihsg-info-box:nth-child(odd)::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 50%;
  background: #d8dee7;
  transform: translateY(-50%);
}

.ihsg-info-box:nth-child(2n)::after {
  display: none;
}

.ihsg-info-box:nth-child(n+3) {
  border-top: 1px solid #d8dee7;
}

  .ihsg-info-box__inner {
    min-height: 105px;
    padding: 12px 16px;
  }

  .ihsg-info-box:first-child .ihsg-info-box__inner,
  .ihsg-info-box:last-child .ihsg-info-box__inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}


/* MOBIL */
@media (max-width: 575px) {
  .ihsg-info-row {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .ihsg-info-box {
    border-right: 0;
    border-bottom: 1px solid #d8dee7;
  }

  .ihsg-info-box:last-child {
    border-bottom: 0;
  }

  .ihsg-info-box__inner {
    min-height: 94px;
    padding: 12px 0;
    gap: 14px;
  }

  .ihsg-info-box:first-child .ihsg-info-box__inner,
  .ihsg-info-box:last-child .ihsg-info-box__inner {
    padding-left: 0;
    padding-right: 0;
  }

  .ihsg-info-box__icon {
    flex-basis: 55px;
    width: 55px;
  }

  .ihsg-info-box__icon img {
    max-width: 55px;
    max-height: 58px;
  }

  .ihsg-info-box__title {
    font-size: 15px;
  }

  .ihsg-info-box__subtitle {
    font-size: 12.5px;
  }
}


/* Vizibilitate desktop / mobil */
@media (min-width: 768px) {
  .ihsg-info-box[data-active-desktop="0"] {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .ihsg-info-box[data-active-mobile="0"] {
    display: none !important;
  }
}

.ihsg-info-row[hidden],
.ihsg-info-box[hidden] {
  display: none !important;
}









@media (max-width: 767px) {

  .ihsg-section {
    margin: 12px 0;
  }

  .ihsg-container {
    padding: 0 12px;
  }

  .ihsg-layout,
  .ihsg-tiles {
    gap: 12px;
  }

  .ihsg-slider {
    aspect-ratio: 1.45 / 1;
  }


  /* =========================
     SLIDER MOBILE
     ========================= */

  /* Scoatem sagetile stanga / dreapta */
  .ihsg-slider .ihsg-arrow {
    display: none !important;
  }


  /* Mutam tot continutul mai spre stanga */
  .ihsg-slider .ihsg-caption {
    padding-top: 24px !important;
    padding-right: 16px !important;
    padding-bottom: 30px !important;
    padding-left: 12px !important;
  }


  /* Titlu */
  .ihsg-slider .ihsg-title {
    width: 64% !important;
    max-width: 64% !important;

    font-size: 17px !important;
    line-height: 1.02 !important;

    margin: 0 0 6px 0 !important;
  }


  /* Subtitlu */
  .ihsg-slider .ihsg-subtitle {
    width: 58% !important;
    max-width: 58% !important;

    font-size: 11px !important;
    line-height: 1.18 !important;

    margin: 0 0 8px 0 !important;
  }


  /* Buton */
  .ihsg-slider .ihsg-button {
    font-size: 11px !important;
    line-height: 1 !important;

    min-height: 30px !important;
    padding: 7px 11px !important;
  }


  /* Bulinele raman jos */
  .ihsg-slider .ihsg-dots {
    bottom: 10px !important;
  }
}
