.article {
  display       : flex;
  flex-direction: column;
  align-items   : flex-start;
  gap           : 48px;
  box-sizing    : border-box;
  margin: 0 auto;
  margin-bottom: 45px;
}

.first-section {
  display       : flex;
  flex-direction: column;
  align-items   : flex-start;
  gap           : 24px;
  align-self    : stretch;
  box-sizing    : border-box;
}

.current-article {
  display      : flex;
  flex-wrap: wrap;
  gap          : 6px;
  align-self   : stretch;
  align-items: center;
}

.current-article a,
.current-article > span {
  font-family: Avenir;
  font-size: 20px;
  font-style: normal;
  line-height: 1.3;
  color: #969E9E;
  text-decoration: none;
}

.current-article .current-article-title {
  color: #243434;
  display: inline-block;
}

.article_banner_area {
  display       : flex;
  flex-direction: column;
  align-items   : flex-start;
  gap           : 24px;
  align-self    : stretch;
  box-sizing    : border-box;
}

.article-head {
  width: 100%;
  position: relative;
  display: block;
}

.primary-image-article {
  display: flex;
  align-items: center;
  max-width: 90%;
  width: 840px;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  background-position: center;
  background-size: cover;
  position: relative;
}

.article_title {
  display: flex;
  align-items: center;
  position: absolute;
  padding: 24px 48px;
  border-radius: 0 0 32px 0;
  font-size: 40px;
  font-weight: 700;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  max-width: 648px;
  background: var(--Extension-Yellow-200, #FFF0B6);
  color: var(--Content-Primary, #243434);
  line-height: 1.2;
  min-width: 600px;
}

.second-section {
  margin-top: 0px;
  display       : flex;
  flex-direction: column;
  align-items   : flex-start;
  gap           : 48px;
  align-self    : stretch;
}

.introduction-content-second-section {
  display       : flex;
  flex-direction: column;
  align-items   : flex-start;
  gap           : 48px;
  align-self    : stretch;
}

.introduction-article {
  align-self: stretch;
}

.introduction-article,
.introduction-article *:not(a),
.content-article-1 > *,
.content-article-1 > * *:not(a),
.content-article-2,
.content-article-2 *:not(a),
.content-article-3,
.content-article-3 *:not(a),
.conclusion-article,
.conclusion-article *:not(a),
.video-title p {
  color: var(--Content-Primary, #243434);
  font-family: Avenir;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75;
  align-self: stretch;
}

.video-title p{
  font-weight: bold;
}

.introduction-article strong,
.content-article-1 strong,
.content-article-2 strong,
.content-article-3 strong,
.conclusion-article strong {
  font-weight: bold;
}

.introduction-article ul,.introduction-article ol,
.content-article-1 ul, .content-article-1 ol,
.content-article-2 ul, .content-article-2 ol,
.content-article-3 ul, .content-article-3 ol,
.conclusion-article ul, .conclusion-article ol {
  padding-left: 50px;
}

.gallery-images {
  float: left;
  width: 427px;
  height: 256px !important;
  border-radius: 32px;
  margin-right: 30px;
  margin-bottom: 20px;
  background-position: center;
  background-size: cover;
}

.gallery-images::after{
  content: "";
  display: block;
  width: 100%;
  height: 0;
  clear: both;
}

.content-article-1 p, .content-article-2 p {
  margin-top: 0;
}

.start-from-right {
  margin-left: calc(40% + 30px);
  clear: none;
}

.content-article-2 p:first-child {
  margin-top: 0;
}

.content-article-3 {
  display        : flex;
  flex-direction : column;
  justify-content: center;
  align-self     : stretch;
}

.article-quote {
  display    : flex;
  padding    : 48px 10px;
  align-items: flex-start;
  gap        : 40px;
  align-self : stretch;
}

.left-svg,
.right-svg {
  width : 96px;
  height: 96px;
}

.citat-articol {
  display    : flex;
  align-items: flex-end;
  gap        : 40px;
  flex       : 1 0 0;
}

.content-quote {
  flex       : 1 0 0;
  color      : var(--Content-Primary, #243434);
  text-align : center;
  font-family: Avenir;
  font-size  : 38px;
  font-style : normal;
  font-weight: 700;
  line-height: 60px;
  quotes     : none;
}

.random-articles {
  display       : flex;
  flex-direction: column;
  align-items   : flex-start;
  gap           : 32px;
  width: 100%;
}

.header-random-articles {
  display      : flex;
  height       : 80px;
  padding      : 10px;
  align-items  : center;
  gap          : 10px;
  border-top   : 1px solid var(--Stroke-Opaque, #E0E0E0);
  color        : var(--Content-Primary, #243434);
  font-family  : Avenir;
  font-size    : 24px;
  font-style   : normal;
  font-weight  : 700;
  line-height  : 32px;
  width: 100%;
  margin-bottom: 0;
}

.random-articles-generated {
  display        : flex;
  align-items    : flex-start;
  gap            : 32px;
  width: 100%;
}

.random-article {
  display       : flex;
  height        : fit-content;
  flex-direction: column;
  align-items   : flex-start;
  flex-wrap: wrap;
  gap           : 32px;
  width: 100%;
  margin-bottom: 32px;
  flex-grow: 1;
  max-width: 33.33%;
}

.image-random-article {
  display       : flex;
  flex-direction: column;
  align-items   : flex-start;
  gap           : 12px;
  width: 100%;
}

.image-random-article .img {
  aspect-ratio: 16 / 9;
  height: auto;
}

.img {
  width              : 100%;
  height             : 200px;
  border-radius      : var(--Card, 12px);
  background-image   : url('../img/blog/2069aa064b20b1b332a33f62ce73a31a.png');
  background-position: center;
  background-size    : cover;
}

.title-article {
  align-self : stretch;
  color      : var(--Content-Primary, #243434);
  font-family: Avenir;
  font-size  : 24px;
  font-style : normal;
  font-weight: 700;
  line-height: 32px;
  text-decoration: none;
}

.optional-section {
  display: none;
}

.optional-section:not(:empty) {
  display: block;
}

.video-section {
  display: none;
}

.video-section {
  width: 100%;
  margin: 20px auto;
  overflow: hidden;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  width: 100%;
  margin-top: 48px;
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 32px;
}

.video-title {
  text-align: left;
  font-weight: bold;
  color: #333;
  font-size: 16px;
}

.gallery-carousel .owl-stage-outer{
  border-radius:32px;
}

.gallery-carousel .gallery-item img{
  height: 256px;
  object-fit: cover;
}

@media screen and (max-width: 992px) {
  .current-article a,
  .current-article > span {
    font-size: 12px;
  }

  .current-article svg {
    width: 16px;
    height: 16px;
  }

  .article_title {
    min-width: 450px;
  }

  .random-article {
    max-width: 50%;
  }

  .random-article:nth-child(3) {
    display: none;
  }

  .gallery-images{
    height: 256px !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .primary-image-article {
    position: relative;
  }

  .random-articles-generated {
    width: 100%;
  }

  .random-article {
    width: 48%;
    margin-bottom: 24px;
  }

  .img {
    width: 100%;
    height: 160px;
  }

  .introduction-content-second-section {
    gap: 32px;
  }

  .image-content-article {
    gap: 24px;
  }

  .gallery-images, .imagine-content-2 {
    height: 256px;
  }

  .article-quote {
    padding: 32px 10px;
    gap: 24px;
  }

  .left-svg, .right-svg {
    width: 60px;
    height: 60px;
  }

  .content-quote {
    font-size: 30px;
    line-height: 44px;
  }

  .current-article a,
  .current-article > span {
    font-size: 18px;
    line-height: 24px;
  }

  .video-container {
    margin-top: 32px;
  }

  .second-section{
    margin-top: 0px;
  }

  .random-articles {
    display       : flex;
    flex-direction: column;
    align-items   : flex-start;
    gap           : 14px;
    align-self    : stretch;
  }

  .header-random-articles {
    display    : flex;
    width: 100%;
    height     : 80px;
    padding    : 10px;
    align-items: center;
    gap        : 10px;
    align-self : stretch;
    border-top : 1px solid var(--Stroke-Opaque, #E0E0E0);
    color      : var(--Content-Primary, #243434);
    font-family: Avenir;
    font-size  : 24px;
    font-style : normal;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0px;
  }

  .random-articles-generated {
    display    : flex;
    width: 100%;
    align-items: flex-start;
    gap        : 14px;
    align-self : stretch;
    overflow:hidden;
  }

  .random-article {
    display       : flex;
    flex-direction: column;
    align-items   : flex-start;
  }

  .image-random-article {
    display       : flex;
    flex-direction: column;
    align-items   : flex-start;
    gap           : 14px;
    width: 100%;
  }

  .article_banner_area {
    display       : flex;
    flex-direction: column;
    align-items   : flex-start;
    gap           : 6px;
    align-self    : stretch;
    box-sizing    : border-box;
  }

  .primary-image-article {
    display            : flex;
    flex-direction     : column;
    width              : 100%;
    align-self         : stretch;
    background-image   : url('../img/blog/b932569b5736c5ae5dd643c2bd7cbaf8.png');
    background-position: center;
    background-size    : cover;
    position           : relative;
    border-radius      : 24px;
    max-width: 100%;
  }

  .article_title {
    width: 100%;
    color: var(--Content-Primary, #243434);
    font-family: Avenir;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    background: none;
    position: static;
    top: 0;
    transform: none;
    padding: 12px 0px;
    margin-top: 10px;
    margin-bottom: 15px;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
}


@media screen and (max-width: 767px) {
  .body-article {
    width     : 100%;
    box-sizing: border-box;
  }

  .article-head{
    position: static;
  }

  .article {
    display       : flex;
    flex-direction: column;
    align-items   : flex-start;
    gap           : 16px;
    box-sizing    : border-box;
  }

  .first-section {
    display       : flex;
    flex-direction: column;
    align-items   : flex-start;
    gap           : 12px;
    align-self    : stretch;
    box-sizing    : border-box;
  }

  .article_banner_area {
    display       : flex;
    flex-direction: column;
    align-items   : flex-start;
    gap           : 6px;
    align-self    : stretch;
    box-sizing    : border-box;
  }

  .primary-image-article {
    display            : flex;
    flex-direction     : column;
    width              : 100%;
    align-self         : stretch;
    background-image   : url('../img/blog/b932569b5736c5ae5dd643c2bd7cbaf8.png');
    background-position: center;
    background-size    : cover;
    position           : relative;
    border-radius      : 24px;
    max-width: 100%;
  }

  .article_title {
    width: 100%;
    color: var(--Content-Primary, #243434);
    text-align: center;
    font-family: Avenir;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    background: none;
    position: static;
    top: 0;
    transform: none;
    padding: 12px 0px;
    margin-top: 10px;
    margin-bottom: 15px;

  }

  .second-section {
    display       : flex;
    flex-direction: column;
    align-items   : flex-start;
    gap           : 16px;
    align-self    : stretch;
  }

  .introduction-content-second-section {
    display       : flex;
    flex-direction: column;
    align-items   : flex-start;
    align-self    : stretch;
    gap           : 20px;
  }

  .introduction-article {
    align-self: stretch;
  }

  .introduction-article,
  .content-article-1 p,
  .content-article-2 p,
  .content-article-3 p,
  .conclusion-article,
  .video-title p {
    color      : var(--Content-Primary, #243434);
    font-family: Avenir;
    font-size  : 18px;
    font-style : normal;
    font-weight: 400;
    line-height: 1.5;
  }

  .image-content-article {
    gap:0px;
    flex-direction: column;
    align-items: center;
  }

  .gallery-images, .imagine-content-2 {
    float: none;
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
    height: 256px !important;
  }

  .video-container iframe {
    border-radius: 24px;
  }

  .image-section{
    flex-direction: column;
    margin-bottom: 0px;
  }

  .content-article-3 {
    display        : flex;
    flex-direction : column;
    justify-content: center;
    align-self     : stretch;
  }

  .article-quote {
    display    : flex;
    padding    : 18px 10px;
    align-items: flex-start;
    gap        : 10px;
    align-self : stretch;
  }

  .left-svg {
    width : 24px;
    height: 24px;
  }

  .right-svg {
    width : 24px;
    height: 24px;
  }

  .citat-articol {
    display    : flex;
    align-items: flex-end;
    gap        : 10px;
    flex       : 1 0 0;
  }

  .content-quote {
    flex       : 1 0 0;
    color      : var(--Content-Primary, #243434);
    text-align : center;
    font-family: Avenir;
    font-size  : 20px;
    font-style : normal;
    font-weight: 700;
    line-height: 28px;
  }

  .random-articles {
    display       : flex;
    flex-direction: column;
    align-items   : flex-start;
    gap           : 14px;
    align-self    : stretch;
  }

  .header-random-articles {
    display    : flex;
    width: 100%;
    height     : 80px;
    padding    : 10px;
    align-items: center;
    gap        : 10px;
    align-self : stretch;
    border-top : 1px solid var(--Stroke-Opaque, #E0E0E0);
    color      : var(--Content-Primary, #243434);
    font-family: Avenir;
    font-size  : 24px;
    font-style : normal;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 0;
  }

  .random-articles-generated {
    display    : flex;
    width: 100%;
    align-items: flex-start;
    gap        : 14px;
    align-self : stretch;
    overflow:hidden;
  }

  .random-article {
    display       : flex;
    flex-direction: column;
    align-items   : flex-start;
    gap           : 14px;
  }

  .image-random-article {
    display       : flex;
    flex-direction: column;
    align-items   : flex-start;
    gap           : 14px;
    width: 100%;
  }

  .img {
    border-radius      : var(--Card, 12px);
    background-position: center;
    background-size    : cover;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .title-article {
    align-self : stretch;
    color: var(--Content-Primary, #243434);
    font-family: Avenir;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
  }

  .imagine-content {
    margin: 0 auto;
  }

  .article_title {
    min-width: inherit;
  }

  .gallery-images{
    float: none;
    width: 100%;
    height: 185px !important;
    margin-right: 0;
    margin-top: 16px;
    margin-bottom: 20px;
    border-radius: 24px;
  }

  .content-article-1, .content-article-2 {
    width: 100%;
    clear: both;
    padding: 0;
  }

  .start-from-right {
    margin-left: 0;
    clear: both;
  }

  .image-content-article {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
  }

  .gallery-item{
    max-width: 94vh;
  }

  .gallery-images{
    height: 400px;
  }

  .content-article-1,
  .content-article-2 {
    padding: 0px;
    width: 100%;
  }

  .current-article {
    gap: 3px;
  }

  .gallery-carousel{
    max-width: 94vw;
  }

  .gallery-carousel .gallery-item img{
    height: 185px;
  }
}
