/* header */
.nav__link {
  color: #344A5B
}

.burger {
  background: #344A5B;
}

/* hero */
.hero {
  padding: 200px 20px 100px 20px;
  height: auto;
}

.hero::before {
  display: none;
}

/* ==========================================================================
   YURON CLINIC — News Page
   ========================================================================== */
body{
    background: #F9F9F9;
}
   /* Breadcrumb */
.contacts-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contacts-breadcrumb__link {
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  color: #282828;
  text-decoration: none;
  opacity: 0.44;
}

.contacts-breadcrumb__link--active {
    color: #282828;
    opacity: 1;
}

.contacts-breadcrumb__link:hover {
  text-decoration: underline;
}

/* hero */
.header__logo, .header__nav-item--link {
    color: #282828;
}

.hero__inner {
    min-height: 0;
    gap: 50px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hidden-mobile {
    display: none;
}

.hero {
    min-height: 0;
    background: #F9F9F9;
}

.post-hero__wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-left: 50px;
    padding-right: 50px;
}

/* a <picture> so the mobile crop can swap in below 570px — the wrapper is
   inline by default, and the radius has to reach the <img> that paints it */
.hero__image,
.hero__image img {
    display: block;
    width: 100%;
    border-radius: 12px;
}

.hero__descr-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}

.hero__tags {
    display: flex;
    gap: 10px;
}

.hero-tag__dot {
    width: 13px;
    height: 13px;
    background: #344a5b;
    border-radius: 100%;
}

.hero__tag {
    background: rgba(52, 74, 91, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(52, 74, 91, 0.05);
    border-radius: 5px;
    padding: 14px;
    padding-right: 17px;
    font-weight: 400;
    font-size: 15px;
    line-height: 114%;
    letter-spacing: -0.03em;
    color: #344a5b;
}

.hero__title {
    font-weight: 400;
    font-size: 120px;
    line-height: 100%;
    letter-spacing: -0.03em;
    background: linear-gradient(100.08deg, #173145 30.16%, #3979ab 112.45%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 940px;
}

.hero__date {
  font-weight: 500;
  font-size: 18px;
  line-height: 189%;
  letter-spacing: -0.03em;
  color: #b4bcc3;
}

.hero__descr {
    margin: 0;
    font-weight: 400;
    font-size: 18px;
    line-height: 189%;
    letter-spacing: -0.03em;
    color: #344a5b;
    max-width: 730px;
}

/* ==========================================================================
   Post Intro
   ========================================================================== */

.post-intro {
  padding: 0 20px 257px 60px;
}

.post-intro__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.post-intro__left {
  flex: 0 0 46%;
  padding-top: 30px;
}

.post-intro__title {
  margin: 0;
  font-weight: 400;
  font-size: 60px;
  line-height: 92%;
  letter-spacing: -0.03em;
  color: #344a5b;
  margin-bottom: 50px;
  max-width: 690px;
}

.post-intro__tags {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
}

.post-intro__text {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.post-intro__text p {
  margin: 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 206%;
  letter-spacing: -0.03em;
  color: #344a5b;
  max-width: 747px;
}

.post-intro__right {
  flex: 1;
  min-width: 0;
}

.post-intro__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* ==========================================================================
   Post Article
   ========================================================================== */

.post-article {
  display: flex;
  align-items: center;
  padding-bottom: 190px;
}

.post-article__container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0;
}

.post-article__title {
  font-weight: 400;
  font-size: 93px;
  padding-bottom: 10px;
  line-height: 97%;
  letter-spacing: -0.03em;
  background: linear-gradient(100.08deg, #173145 34.46%, #3979ab 100.08%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 75px;
}

/* ----------------------------------------------------------------------------
   Article body — rich text from the WYSIWYG editor.
   The editor outputs BARE tags (no classes) inside .post-article__body, so all
   styling hangs off the base class via tag selectors. Vertical rhythm uses the
   owl selector so it holds for any element order the editor produces.
   -------------------------------------------------------------------------- */
.post-article__body {
  font-weight: 500;
  font-size: 30px;
  line-height: 180%;
  letter-spacing: -0.03em;
  color: #6c6c6c;
}

.post-article__body > * {
  margin: 0;
}

.post-article__body > * + * {
  margin-top: 80px;
}

.post-article__body p {
  max-width: 1023px;
  font-weight: 400;
  font-size: 30px;
  line-height: 180%;
  letter-spacing: -0.03em;
  color: rgba(52, 74, 91, 0.6);
}

.post-article__body img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.post-article__body ol,
.post-article__body ul {
  padding-left: 25px;
  margin-left: 25px;
  display: flex;
  flex-direction: column;
  gap: 80px;
  color: rgba(52, 74, 91, 0.6);
}

.post-article__body li {
  padding-left: 15px;
  color: rgba(52, 74, 91, 0.6);
}

/* An image dropped inside a list item is separated from the text above it. */
.post-article__body li img {
  margin-top: 40px;
}

.post-article__body h2,
.post-article__body h3,
.post-article__body h4 {
  font-weight: 400;
  line-height: 115%;
  letter-spacing: -0.03em;
  color: #000;
}

.post-article__body h2 {
  font-size: 56px;
}

.post-article__body h3 {
  font-size: 42px;
}

.post-article__body h4 {
  font-weight: 500;
  font-size: 32px;
}

/* A heading sits closer to the content it introduces. */
.post-article__body :is(h2, h3, h4) + * {
  margin-top: 32px;
}

.post-article__body a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-article__body strong {
  font-weight: 700;
}
/* ==========================================================================
   Insights slider
   --------------------------------------------------------------------------
   The 20px side inset comes from Swiper's slidesOffsetBefore/After, not from
   padding on .insights__slider: the track has overflow:hidden, so padding
   would let the neighbouring cards show through the gutter instead of being
   clipped at it.
   ========================================================================== */
.insights {
  padding-bottom: 145px;
}

.insights__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 45px;
  padding: 0 20px;
}

.insights__title {
  margin: 0;
  font-weight: 400;
  font-size: 35px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #183246;
}

.insights__title span {
  color: #8b8f94;
}

/* ----- Slider buttons ----- */
.insights__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.insights-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border: 1px solid transparent;
  border-radius: 50%;
  background-color: #173145;
  transition: opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.insights-btn img {
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.insights-btn--prev img {
  transform: scaleX(-1);
}

.insights-btn:hover {
  opacity: 0.75;
}

.insights-btn.swiper-button-disabled {
  cursor: default;
  opacity: 1;
  border-color: #9398a6;
  background-color: transparent;
}

.insights-btn.swiper-button-disabled img {
  filter: brightness(0);
  opacity: 0.3;
}

/* ----- Track ----- */
.insights__slider .swiper-slide {
  width: 532px;
  height: auto;
}

/* ----- Card ----- */
.insight-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.insight-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.insight-card__img {
  display: block;
  width: 100%;
  height: 438px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insight-card:hover .insight-card__img {
  transform: scale(1.04);
}

.insight-card__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #fff;
  transition: transform 0.3s ease;
}

.insight-card__arrow img {
  rotate: -45deg;
}

.insight-card:hover .insight-card__arrow {
  transform: translate(2px, -2px);
}

.insight-card__title {
  max-width: 480px;
  margin: 37px 0 0;
  font-weight: 400;
  font-size: 27px;
  line-height: 115%;
  letter-spacing: -0.03em;
  color: #183246;
  transition: opacity 0.3s ease;
}

.insight-card:hover .insight-card__title {
  opacity: 0.7;
}
