/*================================================================================================
    Premium Home Page
===================================================================================================*/
.fso-home-shell {
  position: relative;
  overflow: hidden;
}

.fso-home-shell::before,
.fso-home-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.fso-home-shell::before {
  width: 260px;
  height: 260px;
  top: -120px;
  right: -80px;
  background: rgba(14, 165, 233, 0.14);
}

.fso-home-shell::after {
  width: 220px;
  height: 220px;
  left: -100px;
  top: 260px;
  background: rgba(249, 115, 22, 0.12);
}

.fso-home-shell > * {
  position: relative;
  z-index: 1;
}

.fso-page-grid {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
}

.fso-section {
  padding: 28px 0 8px;
}

.fso-section--wide {
  padding-top: 34px;
}

.fso-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.fso-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fso-section__title {
  margin: 0;
  color: #081325;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 900;
  line-height: 1.1;
}

.fso-section__note {
  max-width: 460px;
  color: #64748b;
  line-height: 1.75;
}

.fso-section__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.fso-section__link:hover {
  color: #0f766e;
}

.fso-home-panel {
  padding: 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.fso-feature-strip {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(20, 184, 166, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.08);
}

.fso-feature-strip + .fso-feature-strip {
  margin-top: 12px;
}

.fso-feature-strip__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fso-feature-strip__pill--vacancy {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}

.fso-feature-strip__pill--update {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.fso-feature-strip__body {
  min-width: 0;
}

.fso-feature-strip__body strong {
  display: block;
  color: #081325;
  font-size: 15px;
  line-height: 1.45;
  margin-bottom: 3px;
}

.fso-feature-strip__body span {
  display: block;
  color: #64748b;
  font-size: 13px;
}

.fso-card-grid {
  display: grid;
  gap: 24px;
}

.fso-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.fso-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
  border-color: rgba(59, 130, 246, 0.18);
}

.fso-card__media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #edf5ff 0%, #fff 100%);
}

.fso-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fso-card--ebook .fso-card__media,
.fso-card--course .fso-card__media,
.fso-card--resource .fso-card__media,
.fso-card--blog .fso-card__media {
  aspect-ratio: 16 / 10;
}

.fso-card--alert .fso-card__media,
.fso-card--update .fso-card__media {
  aspect-ratio: 16 / 10;
}

.fso-card__badge,
.fso-card__flag {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fso-card__badge {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.94), rgba(124, 58, 237, 0.94));
}

.fso-card__flag {
  top: auto;
  bottom: 14px;
  background: linear-gradient(135deg, #d97706, #f59e0b);
}

.fso-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 18px;
}

.fso-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.fso-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.fso-card__title {
  margin: 0;
  color: #081325;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.fso-card__text {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.75;
}

.fso-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.fso-meta {
  padding: 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.04);
}

.fso-meta span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.fso-meta strong {
  display: block;
  color: #081325;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.fso-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.fso-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.fso-price__current {
  color: #0f172a !important;
  font-size: 20px !important;
  font-weight: 900;
}

.fso-price__old {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: line-through;
}

.fso-price__discount {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.fso-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed 58%, #14b8a6);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.fso-card__cta:hover {
  color: #fff;
}

.fso-list-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.fso-list-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.16);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.fso-list-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.fso-list-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.fso-list-card__date {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.fso-list-card__title {
  margin: 0;
  color: #081325;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}

.fso-list-card__text {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.fso-list-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.fso-list-card__meta {
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.fso-list-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.fso-blog-card .fso-card__media {
  aspect-ratio: 16 / 11;
}

.fso-blog-card .fso-card__body {
  padding-top: 16px;
}

@media (max-width: 1199.98px) {
  .fso-page-grid {
    width: min(1320px, calc(100% - 32px));
  }
}

@media (max-width: 991.98px) {
  .fso-section__head {
    display: block;
  }

  .fso-section__note {
    margin-top: 10px;
    max-width: none;
  }

  .fso-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .fso-page-grid {
    width: calc(100% - 20px);
  }

  .fso-home-panel {
    padding: 16px;
    border-radius: 22px;
  }

  .fso-section {
    padding: 20px 0 6px;
  }

  .fso-card__body,
  .fso-list-card {
    padding: 14px;
  }

  .fso-card__title,
  .fso-list-card__title {
    font-size: 16px;
  }

  .fso-card__text,
  .fso-list-card__text {
    font-size: 13px;
  }

  .fso-card__meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .fso-page-grid {
    width: calc(100% - 16px);
  }

  .fso-feature-strip {
    padding: 14px;
  }

  .fso-card,
  .fso-list-card {
    border-radius: 20px;
  }

  .fso-card__media,
  .fso-blog-card .fso-card__media {
    aspect-ratio: 4 / 4.5;
  }
}

/*================================================================================================
    End Premium Home Page
===================================================================================================*/
