.home-hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  padding: 150px 0 70px;
  background: #161616;
  isolation: isolate;
  overflow: hidden;
}

.home-hero > .container {
  width: 100%;
}

.home-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 190px;
  background: linear-gradient(transparent, #161616);
  z-index: -1;
  pointer-events: none;
}

.home-hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 22, 22, 0.97), rgba(22, 22, 22, 0.84)),
    url("../../imgs/pattern-bg.webp") center / cover;
  z-index: -3;
}

.home-hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, #161616 100%);
  pointer-events: none;
}

.home-hero__glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.12;
  z-index: -2;
  pointer-events: none;
}

.home-hero__glow--primary {
  top: 100px;
  right: -170px;
  background: #ddf160;
}

.home-hero__glow--secondary {
  bottom: 20px;
  left: -150px;
  background: #9f8be7;
}

.home-hero__grid {
  row-gap: 60px;
}

.home-hero__content {
  max-width: 720px;
}

.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 7px 13px;
  border: 1px solid rgba(221, 241, 96, 0.22);
  border-radius: 999px;
  background: rgba(221, 241, 96, 0.05);
  color: #ddf160;
  font-size: 12px;
  font-weight: 500;
}

.home-hero__status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddf160;
  box-shadow: 0 0 0 4px rgba(221, 241, 96, 0.1);
}

.home-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -1.5px;
}

.home-hero h1 span {
  display: block;
  color: rgba(255, 255, 255, 0.43);
}

.home-hero__description {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  line-height: 1.95;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.home-hero__primary-action,
.home-hero__secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.home-hero__primary-action {
  padding: 5px 18px 5px 5px;
  background: #ddf160;
  color: #111;
}

.home-hero__primary-action:hover {
  color: #111;
  transform: translateY(-2px);
}

.home-hero__action-icon {
  display: grid;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #161616;
  color: #fff;
  place-items: center;
}

.home-hero__action-icon svg {
  width: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  transform: scaleX(-1);
}

.home-hero__secondary-action {
  padding: 5px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
}

.home-hero__secondary-action:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

.home-hero__secondary-action i {
  font-size: 10px;
}

.home-hero__topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-top: 4px;
}

.home-hero__topics a {
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 500;
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
}

.home-hero__topics a:hover {
  border-color: rgba(221, 241, 96, 0.38);
  background: rgba(221, 241, 96, 0.08);
  color: #ddf160;
  transform: translateY(-2px);
}

.home-hero__visual {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  max-width: 360px;
  margin-right: auto;
}

.home-hero__visual-meta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.35);
  direction: ltr;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.home-hero__compass {
  position: relative;
  display: grid;
  width: 240px;
  height: 240px;
  color: #fff;
  place-items: center;
}

.home-hero__compass::before,
.home-hero__compass::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.home-hero__compass::before {
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-hero__compass::after {
  inset: 52px;
  border: 1px dashed rgba(221, 241, 96, 0.22);
}

.home-hero__compass-ring {
  position: absolute;
  inset: 0;
  animation: home-hero-spin 24s linear infinite;
}

.home-hero__compass-ring svg {
  width: 100%;
  height: 100%;
  fill: rgba(255, 255, 255, 0.58);
  font-family: "Vazirmatn", sans-serif;
  font-size: 25px;
  letter-spacing: 1px;
}

.home-hero__compass-center {
  position: relative;
  z-index: 1;
  display: grid;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  place-items: center;
}

.home-hero__compass-center img {
  width: 54px;
  height: 64px;
  object-fit: contain;
}

.home-hero__visual-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding-top: 4px;
}

.home-hero__visual-note > span {
  width: 30px;
  height: 1px;
  margin-top: 11px;
  background: rgba(221, 241, 96, 0.6);
  flex: 0 0 auto;
}

.home-hero__visual-note p {
  max-width: 280px;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  line-height: 1.9;
}

body.light .home-hero::after {
  display: block;
  height: 150px;
  background: linear-gradient(to bottom, transparent, #fff);
}

body.light .home-hero__backdrop {
  background: linear-gradient(
    90deg,
    #e7e6df 0,
    #e7e6df 41.666%,
    #f7f6f1 41.666%,
    #f7f6f1 100%
  );
}

body.light .home-hero {
  background: #f7f6f1;
}

body.light .home-hero__backdrop::after {
  display: none;
}

body.light .home-hero__content {
  padding-left: clamp(20px, 3vw, 52px);
}

body.light .home-hero + .hr-sec {
  position: relative;
  z-index: 2;
  padding-top: 20px !important;
  background: #fff;
}

body.light .home-hero h1 span,
body.light .home-hero__description,
body.light .home-hero__topics a,
body.light .home-hero__secondary-action,
body.light .home-hero__visual-meta,
body.light .home-hero__visual-note p {
  color: rgba(17, 16, 18, 0.58);
}

body.light .home-hero__topics a,
body.light .home-hero__secondary-action,
body.light .home-hero__compass::before,
body.light .home-hero__compass-center,
body.light .home-hero__visual-meta {
  border-color: rgba(0, 0, 0, 0.1);
}

body.light .home-hero__compass-ring svg {
  fill: rgba(17, 16, 18, 0.55);
}

body.light .home-hero__eyebrow {
  border-color: rgba(104, 119, 0, 0.26);
  background: rgba(104, 119, 0, 0.08);
  color: #687700;
}

body.light .home-hero__status {
  background: #687700;
  box-shadow: 0 0 0 4px rgba(104, 119, 0, 0.1);
}

body.light .home-hero__primary-action {
  background: #d1e548;
}

body.light .home-hero__topics a:hover {
  border-color: rgba(104, 119, 0, 0.32);
  background: rgba(104, 119, 0, 0.08);
  color: #687700;
}

body.light .home-hero__visual-note > span {
  background: rgba(104, 119, 0, 0.68);
}

body.light .home-hero__compass::after {
  border-color: rgba(104, 119, 0, 0.24);
}

@keyframes home-hero-spin {
  to {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 1199px) {
  .home-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 160px;
  }

  .home-hero__visual {
    max-width: 350px;
  }
}

@media screen and (max-width: 991px) {
  .home-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 145px 0 70px;
  }

  .home-hero__content {
    max-width: 700px;
  }

  .home-hero__visual {
    margin: 0 auto;
  }

  body.light .home-hero__backdrop {
    background: #f7f6f1;
  }

  body.light .home-hero__content {
    padding-left: 0;
  }

  body.light .home-hero__visual {
    padding: 30px;
    border: 1px solid rgba(17, 16, 18, 0.08);
    border-radius: 26px;
    background: #e7e6df;
  }

}

@media screen and (max-width: 767px) {
  .home-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 125px 0 60px;
  }

  .home-hero > .container {
    max-width: none;
    padding-right: 20px;
    padding-left: 20px;
  }

  .home-hero__grid {
    margin-right: 0;
    margin-left: 0;
    row-gap: 45px;
  }

  .home-hero__grid > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }

  .home-hero__content,
  .home-hero__visual {
    width: 100%;
    max-width: none;
  }

  .home-hero__eyebrow {
    margin-bottom: 20px;
  }

  .home-hero h1 {
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.5px;
  }

  .home-hero__description {
    margin-top: 20px;
    font-size: 15px;
  }

  .home-hero__actions {
    display: grid;
    align-items: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 26px;
  }

  .home-hero__primary-action,
  .home-hero__secondary-action {
    width: 100%;
    min-height: 48px;
    gap: 7px;
    padding-right: 10px;
    padding-left: 6px;
    font-size: 11px;
    white-space: nowrap;
  }

  .home-hero__secondary-action {
    padding-right: 8px;
    padding-left: 8px;
  }

  .home-hero__action-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .home-hero__compass {
    width: 210px;
    height: 210px;
  }

  .home-hero__compass-center {
    width: 90px;
    height: 90px;
  }

  body.light .home-hero__visual {
    padding: 24px 20px;
    border-radius: 20px;
  }
}

@media screen and (max-width: 420px) {
  .home-hero > .container {
    padding-right: 18px;
    padding-left: 18px;
  }

  .home-hero__primary-action,
  .home-hero__secondary-action {
    font-size: 10px;
  }
}

@media screen and (max-width: 767px) {
  #about > .container,
  #courses > .container,
  #start-here > .container,
  .numbers > .container,
  #free-videos > .container,
  #free-videos .brand-style1 > .container,
  #knowledge-base > .container,
  #blog > .container,
  .footer-style1 > .container {
    width: 100%;
    max-width: none;
    padding-right: 18px;
    padding-left: 18px;
  }

  #about,
  #courses,
  #start-here,
  .numbers,
  #free-videos,
  #knowledge-base,
  #blog {
    padding-top: 76px !important;
    padding-bottom: 76px !important;
  }

  .sec-head.bord {
    margin-bottom: 38px !important;
  }

  .sec-head.bord > .row,
  #start-here .sec-head .row {
    margin-right: 0;
    margin-left: 0;
  }

  #about {
    padding-top: 54px !important;
  }

  #about .row {
    margin-right: 0;
    margin-left: 0;
  }

  #about [class*="col-"] {
    padding: 0;
  }

  #about .sec-head {
    position: relative;
    padding: 32px 24px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: #1c1c1c;
    text-align: right !important;
  }

  #about .sec-head::before {
    content: "01";
    display: block;
    margin-bottom: 24px;
    color: #ddf160;
    direction: ltr;
    font-family: monospace;
    font-size: 11px;
  }

  #about .sec-head h6 {
    margin-bottom: 15px !important;
    color: rgba(255, 255, 255, 0.52);
    font-size: 11px;
  }

  #about .sec-head h2 {
    font-size: 23px;
    line-height: 1.8;
  }

  #about .shape-top-right {
    width: 150px !important;
    opacity: 0.08 !important;
  }

  body.light #about .sec-head {
    border-color: rgba(0, 0, 0, 0.08);
    background: #ecebe5;
  }

  body.light #about .sec-head h6 {
    color: rgba(17, 16, 18, 0.5);
  }

  #courses .sec-head .col-lg-4 {
    margin-bottom: 12px;
  }

  #courses .sec-head h5.fs-30 {
    font-size: 25px !important;
    line-height: 1.55;
  }

  #courses .sec-head .sm-hide {
    display: none;
  }

  .main-marq.xlrg {
    padding: 18px 0;
  }

  .main-marq.xlrg .item h4 {
    font-size: 28px;
  }

  .main-marq.xlrg .w-70px {
    width: 38px !important;
  }

  #start-here .sec-head {
    margin-bottom: 36px !important;
  }

  #start-here .sec-head .row {
    margin-bottom: 0 !important;
  }

  #start-here .sec-head [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }

  #start-here .sec-head h5 {
    margin-bottom: 22px !important;
    font-size: 12px;
  }

  #start-here .user-imgs {
    margin-bottom: 28px;
  }

  #start-here .sec-head h2 {
    font-size: 28px !important;
    line-height: 1.55;
  }

  #start-here > .container > .row:last-child {
    margin-right: 0;
    margin-left: 0;
  }

  #start-here > .container > .row:last-child > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }

  #start-here > .container > .row:last-child > [class*="col-"] + [class*="col-"] {
    margin-top: 12px;
  }

  #start-here .item {
    min-height: 360px;
    border-radius: 24px !important;
  }

  #start-here .item.sub-bg {
    padding: 30px 26px !important;
  }

  #start-here .item.sub-bg .mb-80px {
    width: 66px !important;
    margin-bottom: 55px !important;
  }

  #start-here .item h4 {
    font-size: 24px !important;
    line-height: 1.65;
  }

  #start-here .item.bg-img {
    min-height: 390px;
    padding: 22px !important;
  }

  #free-videos {
    border-radius: 0 0 38px 38px;
  }

  #free-videos .sec-head h6 {
    font-size: 13px;
  }

  #free-videos .testim-sliders {
    padding-bottom: 0 !important;
  }

  #free-videos .testim-sliders > .row {
    margin-right: 0;
    margin-left: 0;
  }

  #free-videos .testim-sliders > .row > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }

  #free-videos .main-slider .swiper-slide .row {
    margin-right: 0;
    margin-left: 0;
  }

  #free-videos .main-slider .swiper-slide [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }

  #free-videos .main-slider .img {
    height: 245px !important;
    margin-bottom: 24px !important;
    border-radius: 22px;
  }

  #free-videos .main-slider svg.w-90px {
    width: 42px !important;
    margin-bottom: 14px !important;
  }

  #free-videos .main-slider p.fs-28 {
    font-size: 20px !important;
    line-height: 1.75;
  }

  #free-videos .info-text {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  #free-videos .info-text h6 {
    margin-right: 0 !important;
    font-size: 14px !important;
  }

  #free-videos .info-text p {
    font-size: 11px;
  }

  #free-videos .thumb-side {
    margin-top: 24px;
    text-align: right;
  }

  #free-videos .swiper-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 0 !important;
  }

  #free-videos .thumb-side .swiper-button-prev,
  #free-videos .thumb-side .swiper-button-next {
    width: 44px;
    height: 44px;
    margin: 0;
    line-height: 44px;
  }

  #knowledge-base .row.justify-content-center {
    margin-right: 0;
    margin-left: 0;
  }

  #knowledge-base .row.justify-content-center > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }

  #knowledge-base .item-row {
    padding: 22px 20px;
    margin: 10px 0;
    border-radius: 22px;
    cursor: default;
  }

  #knowledge-base .item-row > .row {
    margin-right: 0;
    margin-left: 0;
  }

  #knowledge-base .item-row [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }

  #knowledge-base .award-year {
    display: block;
    min-width: 0 !important;
    margin-bottom: 8px !important;
    color: #ddf160;
    font-size: 10px !important;
  }

  #knowledge-base .award-text {
    display: block;
    font-size: 17px !important;
    line-height: 1.65;
  }

  #knowledge-base .col-lg-4 > .d-flex {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  #knowledge-base .award-position {
    margin-top: 0 !important;
    font-size: 12px !important;
  }

  #knowledge-base .award-reveal-img {
    display: none;
  }

  body.light #knowledge-base .award-year {
    color: #7c8d0d;
  }

  body.light #knowledge-base .col-lg-4 > .d-flex {
    border-color: rgba(0, 0, 0, 0.08);
  }

  #blog .sec-head {
    margin-bottom: 38px !important;
  }

  #blog .sec-head .row {
    margin-right: 0;
    margin-left: 0;
  }

  #blog .sec-head [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }

  #blog .sec-head h2 {
    margin-top: 10px;
    font-size: 28px !important;
    line-height: 1.5;
  }

  #blog .swiper-container {
    overflow: visible;
  }

  #blog .swiper-slide {
    height: auto;
  }

  #blog .item .fit-img {
    height: 255px !important;
    border-radius: 22px;
  }

  #blog .item .text {
    margin-top: 20px !important;
  }

  #blog .item h5 {
    font-size: 18px;
    line-height: 1.75;
  }

  .footer-style1 {
    padding-top: 58px;
    padding-bottom: 1rem;
  }

  .footer-style1 .row.sm-marg {
    margin-right: 0;
    margin-left: 0;
    row-gap: 1rem;
  }

  .footer-style1 .row.sm-marg > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }

  .footer-style1 .fo-box-left,
  .footer-style1 .fo-box-right {
    min-height: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding: 28px 22px;
    border-radius: 22px;
  }

  .footer-style1 .fo-box-left h2 {
    font-size: 28px;
  }

  .footer-style1 .fo-box-left .tags {
    margin-top: 28px;
    text-align: right !important;
  }

  .footer-style1 .fo-box-left .tags a {
    padding: 8px 13px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__compass-ring {
    animation: none;
  }

  .home-hero__primary-action,
  .home-hero__secondary-action {
    transition: none;
  }
}

/* Free videos */
.free-videos-section {
  position: relative;
  padding: 130px 0 118px;
  background: #111;
  color: #fff;
  overflow: hidden;
}

.free-videos-section::before {
  position: absolute;
  top: -220px;
  left: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(221, 241, 96, 0.08);
  content: "";
  filter: blur(70px);
  pointer-events: none;
}

.free-videos-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.free-videos-section__eyebrow,
.free-videos-featured__meta,
.free-video-card__category {
  color: #ddf160;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.free-videos-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.free-videos-section__eyebrow > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(221, 241, 96, 0.1);
}

.free-videos-section__heading h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 28px);
  font-weight: 500;
  line-height: 1.35;
}

.free-videos-section__heading h2 em {
  color: rgba(255, 255, 255, 0.42);
  font-style: normal;
}

.free-videos-section__heading > p {
  max-width: 375px;
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 2;
}

.free-videos-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: 460px;
  margin-top: 46px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.free-videos-featured__visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.free-videos-featured__visual img,
.free-video-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.free-videos-featured:hover .free-videos-featured__visual img,
.free-video-card:hover .free-video-card__image img {
  transform: scale(1.045);
}

.free-videos-featured__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.58));
}

.free-videos-featured__tag,
.free-videos-featured__duration,
.free-video-card__duration {
  position: absolute;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.42);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 10px;
}

.free-videos-featured__tag {
  top: 20px;
  right: 20px;
  color: #ddf160;
}

.free-videos-featured__duration {
  bottom: 20px;
  right: 20px;
}

.free-videos-play,
.free-video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  place-items: center;
  transform: translate(-50%, -50%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.free-videos-play:hover,
.free-video-card__play:hover {
  background: #ddf160;
  color: #161616;
  transform: translate(-50%, -50%) scale(1.08);
}

.free-videos-play i,
.free-video-card__play i {
  margin-right: 2px;
  font-size: 14px;
}

.free-videos-featured__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(30px, 4vw, 58px);
}

.free-videos-featured__meta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.free-videos-featured__meta span + span::before {
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.35);
  content: "•";
}

.free-videos-featured__content h3 {
  margin: 22px 0 20px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.62;
}

.free-videos-featured__content > p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 2.1;
}

.free-videos-featured__footer {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.44);
  font-size: 11px;
}

.free-videos-featured__footer > span i {
  margin-left: 5px;
  color: #ddf160;
}

.free-videos-text-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.free-videos-text-button i {
  color: #ddf160;
  font-size: 11px;
  transition: transform 0.25s ease;
}

.free-videos-text-button:hover i {
  transform: translateX(-5px);
}

.free-videos-section__list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 62px;
  margin-bottom: 25px;
}

.free-videos-section__list-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.free-videos-section__list-head span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

.free-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.free-video-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.free-video-card:hover {
  border-color: rgba(221, 241, 96, 0.38);
  transform: translateY(-5px);
}

.free-video-card__image {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #242424;
}

.free-video-card__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.34), transparent 55%);
  content: "";
}

.free-video-card__image--code {
  display: grid;
  background: linear-gradient(135deg, #303629, #1f211e 55%, #171717);
  place-items: center;
}

.free-video-card__image--code::before {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(221, 241, 96, 0.18);
  border-radius: 12px;
  content: "";
}

.free-video-card__code {
  position: relative;
  z-index: 1;
  color: #ddf160;
  direction: ltr;
  font-family: monospace;
  font-size: 56px;
  font-weight: 300;
}

.free-video-card__duration {
  z-index: 2;
  right: 14px;
  bottom: 14px;
}

.free-video-card__play {
  z-index: 2;
  width: 50px;
  height: 50px;
  opacity: 0;
}

.free-video-card:hover .free-video-card__play {
  opacity: 1;
}

.free-video-card__body {
  padding: 21px 21px 19px;
}

.free-video-card__category {
  display: block;
  margin-bottom: 11px;
}

.free-video-card__body h4 {
  min-height: 58px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.free-video-card__body > div {
  display: flex;
  gap: 8px;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

body.light .free-videos-section {
  background: #f3f2ed;
  color: #151515;
}

body.light .free-videos-section::before {
  background: rgba(184, 204, 50, 0.15);
}

body.light .free-videos-section__heading,
body.light .free-videos-featured__footer {
  border-color: rgba(0, 0, 0, 0.11);
}

body.light .free-videos-section__heading h2 em,
body.light .free-videos-section__heading > p,
body.light .free-videos-featured__content > p,
body.light .free-videos-featured__footer,
body.light .free-videos-section__list-head span,
body.light .free-video-card__body > div {
  color: rgba(21, 21, 21, 0.53);
}

body.light .free-videos-featured,
body.light .free-video-card {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.62);
}

body.light .free-videos-featured__content h3,
body.light .free-video-card__body h4,
body.light .free-videos-text-button {
  color: #151515;
}

body.light .free-video-card:hover {
  border-color: rgba(104, 119, 0, 0.45);
}

@media screen and (max-width: 991px) {
  .free-videos-featured {
    grid-template-columns: 1fr;
  }

  .free-videos-featured__visual {
    min-height: 390px;
  }
}

@media screen and (max-width: 767px) {
  .free-videos-section {
    padding: 76px 0;
  }

  .free-videos-section .container {
    width: 100%;
    max-width: none;
    padding-right: 18px;
    padding-left: 18px;
  }

  .free-videos-section__heading {
    display: block;
    padding-bottom: 32px;
  }

  .free-videos-section__heading h2 {
    font-size: 28px;
    line-height: 1.48;
  }

  .free-videos-section__heading > p {
    margin-top: 18px;
    font-size: 13px;
  }

  .free-videos-featured {
    min-height: 0;
    margin-top: 30px;
    border-radius: 20px;
  }

  .free-videos-featured__visual {
    min-height: 255px;
  }

  .free-videos-featured__tag {
    top: 14px;
    right: 14px;
  }

  .free-videos-featured__duration {
    right: 14px;
    bottom: 14px;
  }

  .free-videos-play {
    width: 60px;
    height: 60px;
  }

  .free-videos-featured__content {
    padding: 27px 22px 23px;
  }

  .free-videos-featured__content h3 {
    margin: 16px 0;
    font-size: 22px;
  }

  .free-videos-featured__footer {
    margin-top: 25px;
    padding-top: 20px;
  }

  .free-videos-section__list-head {
    margin-top: 42px;
    margin-bottom: 19px;
  }

  .free-videos-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .free-video-card {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    border-radius: 15px;
  }

  .free-video-card__image {
    height: 100%;
    min-height: 152px;
  }

  .free-video-card__code {
    font-size: 36px;
  }

  .free-video-card__play {
    width: 42px;
    height: 42px;
    opacity: 1;
  }

  .free-video-card__body {
    padding: 18px 16px;
  }

  .free-video-card__category {
    margin-bottom: 7px;
    font-size: 9px;
  }

  .free-video-card__body h4 {
    min-height: 0;
    font-size: 14px;
    line-height: 1.75;
  }

  .free-video-card__body > div {
    margin-top: 10px;
  }
}
