h1 {
  color: var(--Black, #000);
  text-align: center;
  /* Title/H1 */
  font-family: Poppins;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px; /* 138.889% */
}

.page-hero__title {
  color: #000;
}

.page-hero__content .accent {
  margin-top: 10px;
  display: inline-block;
  width: 161px;
  height: 9px;
  background-image: url("../img/accents/theme/archive_theme_header.svg");
  background-repeat: no-repeat;
  background-size: contain; /* or 'cover', depending on your art */
  background-position: left center;
}

.main_container {
  width: 1240px;
  margin: 0 auto;
  padding: 100px 0;
}

/* Intro block */
.themes-archive .intro-block {
  text-align: center;
  margin: 0;
}

.themes-archive .intro-block .accent {
  margin-top: 10px;
  display: inline-block;
  width: 286px;
  height: 9px;
  background-image: url("../img/accents/theme/archive-theme.svg");
  background-repeat: no-repeat;
  background-size: contain; /* or 'cover', depending on your art */
  background-position: left center;
  margin-bottom: 32px;
}

.themes-archive .intro-block .intro-text {
  width: 560px;
  margin: 0 auto;
}

.themes-list {
  /* padding-top: 80px; */
}

/* Card */
.theme-card {
  display: flex;
  width: 100%;
  min-height: 460px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
}

/* right: media */
.theme-card__media {
  width: 50%;
  position: relative;
  min-height: 312px; /* adjust as needed */
}
.theme-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme-card__media--fallback {
  position: absolute;
  inset: 0;
  background: #FFC845; /* fallback color */
}

/* Left: body */
.theme-card__body {
  width: 50%;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f6f6f6; /* light panel like in the mock */
}
.theme-card__title {
  color: var(--Black, #000);
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 28.8px */
  letter-spacing: -0.24px;
  margin-bottom: 24px;
}

/* Button */
.ex-card__cta {
  font-family: Poppins;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 150% */
  letter-spacing: 0.16px;
  text-transform: uppercase;
}
.ex-card__cta:hover {
  text-decoration: underline;
}
.ex-card__cta-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 41px;
  background: #fa455c;
  align-items: center;
  justify-content: center;
}
.ex-card__cta-icon img {
  display: block;
  width: 24px;
  height: 24px;
}

@media (max-width: 980px) {
  .main_container {
    width: 100%;
    margin: 0;
    padding: 60px 30px;
  }

  /* Intro block */
  .themes-archive .intro-block {
    text-align: left;
    margin: 0;
  }

  .themes-archive .intro-block .accent {
    margin-top: 10px;
    display: inline-block;
    width: 286px;
    height: 9px;
    background-image: url("../img/accents/theme/archive-theme.svg");
    background-repeat: no-repeat;
    background-size: contain; /* or 'cover', depending on your art */
    background-position: left center;
    margin-bottom: 24px;
  }

  .themes-archive .intro-block .intro-text {
    width: 315px;
    gap: 24px;
    opacity: 1;
  }

  .intro-block h1 {
    color: var(--Black, #000);
    font-family: Poppins;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0px;
    text-align: left;
  }

  .intro-title {
    /* width: 266px; */
    height: 17px;
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
  }
  .intro-text p {
    width: 315px;
    height: 36px;
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 26px;
    color: #000000;
  }

  .theme-card {
    flex-direction: column-reverse; /* text on top, image below, if you prefer alter */
  }

  .theme-card__media,
  .theme-card__body {
    width: 100%;
  }

  .theme-card__media {
    min-height: 200px;
    height: 200px;
  }

  .theme-card__body {
    padding: 30px 30px;
    gap: 40px;
  }
  .theme-card__body .ex-card__cta {
    margin-top: 0 !important;
  }
  .theme-card__title {
    margin-bottom: 16px;
  }
}
