/* ==========================================================
   ARTICLE DIRECTORY SLC ONE STOP
========================================================== */

.slc-article-hub {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(82px, 9vw, 130px);
  background:
    radial-gradient(
      circle at 7% 18%,
      rgba(8, 120, 249, 0.13),
      transparent 26%
    ),
    radial-gradient(
      circle at 92% 83%,
      rgba(21, 151, 255, 0.09),
      transparent 24%
    ),
    linear-gradient(
      155deg,
      #020817 0%,
      #061126 50%,
      #071832 100%
    );
}

.slc-article-hub::before,
.slc-article-hub::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(70, 184, 255, 0.32),
      transparent
    );
}

.slc-article-hub::before {
  top: 0;
}

.slc-article-hub::after {
  bottom: 0;
}

.slc-article-hub__background {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.slc-article-hub__grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(
      rgba(70, 184, 255, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(70, 184, 255, 0.045) 1px,
      transparent 1px
    );
  background-size: 72px 72px;
  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      #000 18%,
      #000 82%,
      transparent
    );
  -webkit-mask-image:
    linear-gradient(
      to bottom,
      transparent,
      #000 18%,
      #000 82%,
      transparent
    );
}

.slc-article-hub__glow {
  position: absolute;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}

.slc-article-hub__glow--top {
  top: -280px;
  right: -210px;
  width: 610px;
  height: 610px;
  border: 1px solid rgba(70, 184, 255, 0.09);
  background: rgba(21, 151, 255, 0.055);
  box-shadow:
    inset 0 0 110px rgba(70, 184, 255, 0.04),
    0 0 130px rgba(8, 120, 249, 0.07);
}

.slc-article-hub__glow--bottom {
  bottom: -340px;
  left: -250px;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(21, 151, 255, 0.08);
  background: rgba(7, 87, 217, 0.045);
}

.slc-article-hub__container {
  position: relative;
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}

/* Section Header */

.slc-article-hub__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: clamp(42px, 5vw, 65px);
}

.slc-article-hub__heading {
  max-width: 780px;
}

.slc-article-hub__eyebrow {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding-inline: 14px;
  margin-bottom: 18px;
  color: #bfe6ff;
  border: 1px solid rgba(70, 184, 255, 0.22);
  border-radius: 100px;
  background: rgba(21, 151, 255, 0.09);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.slc-article-hub__title {
  margin: 0;
  color: #f5fbff;
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  font-weight: 840;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.slc-article-hub__title span {
  color: transparent;
  background:
    linear-gradient(
      100deg,
      #8bdcff,
      #1597ff 52%,
      #68caff
    );
  background-clip: text;
  -webkit-background-clip: text;
}

.slc-article-hub__description {
  max-width: 720px;
  margin: 21px 0 0;
  color: #94acc5;
  font-size: 1rem;
  line-height: 1.82;
}

.slc-article-hub__view-all {
  display: inline-flex;
  min-height: 50px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-inline: 21px;
  color: #dcedff;
  border: 1px solid rgba(92, 180, 255, 0.24);
  border-radius: 13px;
  background: rgba(10, 31, 65, 0.62);
  font-size: 0.82rem;
  font-weight: 760;
  text-decoration: none;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.slc-article-hub__view-all svg {
  width: 17px;
  height: 17px;
  transition: transform 0.25s ease;
}

.slc-article-hub__view-all:hover {
  color: #ffffff;
  border-color: rgba(70, 184, 255, 0.48);
  background: rgba(21, 151, 255, 0.14);
  transform: translateY(-2px);
}

.slc-article-hub__view-all:hover svg {
  transform: translateX(4px);
}

/* Layout */

.slc-article-hub__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 345px);
  align-items: start;
  gap: clamp(28px, 4vw, 48px);
}

.slc-article-hub__main {
  min-width: 0;
}

.slc-article-hub__grid-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

/* Article Card */

.slc-article-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(104, 180, 255, 0.14);
  border-radius: 21px;
  background:
    linear-gradient(
      155deg,
      rgba(11, 32, 67, 0.82),
      rgba(5, 19, 43, 0.92)
    );
  box-shadow:
    0 20px 48px rgba(0, 8, 27, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.slc-article-card:hover {
  border-color: rgba(70, 184, 255, 0.34);
  box-shadow:
    0 27px 58px rgba(0, 8, 27, 0.32),
    0 0 35px rgba(8, 120, 249, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transform: translateY(-5px);
}

.slc-article-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  min-height: 365px;
}

.slc-article-card__media {
  position: relative;
  display: block;
  min-height: 218px;
  overflow: hidden;
  background: #071832;
}

.slc-article-card--featured .slc-article-card__media {
  min-height: 100%;
}

.slc-article-card__image {
  display: block;
  width: 100%;
  height: 100%;
  transition:
    filter 0.45s ease,
    transform 0.55s ease;
  object-fit: cover;
}

.slc-article-card:hover .slc-article-card__image {
  filter: saturate(1.08);
  transform: scale(1.055);
}

.slc-article-card__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(2, 8, 23, 0.62),
      transparent 62%
    );
  pointer-events: none;
}

.slc-article-card--featured .slc-article-card__overlay {
  background:
    linear-gradient(
      90deg,
      transparent 45%,
      rgba(3, 12, 29, 0.36)
    ),
    linear-gradient(
      to top,
      rgba(2, 8, 23, 0.5),
      transparent 54%
    );
}

.slc-article-card__category {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 17px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding-inline: 12px;
  color: #ffffff;
  border: 1px solid rgba(149, 220, 255, 0.34);
  border-radius: 100px;
  background: rgba(5, 25, 57, 0.76);
  box-shadow: 0 7px 22px rgba(0, 8, 25, 0.24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.04em;
}

.slc-article-card__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 23px;
}

.slc-article-card--featured .slc-article-card__body {
  justify-content: center;
  padding: clamp(28px, 4vw, 44px);
}

.slc-article-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
  color: #718ba8;
  font-size: 0.67rem;
  font-weight: 650;
}

.slc-article-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.slc-article-card__meta svg {
  width: 14px;
  height: 14px;
  color: #39adff;
}

.slc-article-card__title {
  margin: 0;
  color: #edf8ff;
  font-size: 1.16rem;
  font-weight: 780;
  line-height: 1.42;
  letter-spacing: -0.018em;
}

.slc-article-card--featured .slc-article-card__title {
  font-size: clamp(1.5rem, 2.35vw, 2.15rem);
  line-height: 1.25;
}

.slc-article-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.slc-article-card__title a:hover {
  color: #65c9ff;
}

.slc-article-card__excerpt {
  margin: 13px 0 0;
  color: #8fa7c0;
  font-size: 0.88rem;
  line-height: 1.75;
}

.slc-article-card--featured .slc-article-card__excerpt {
  font-size: 0.96rem;
}

.slc-article-card__link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 21px;
  color: #5dc4ff;
  font-size: 0.76rem;
  font-weight: 760;
  text-decoration: none;
  transition: color 0.25s ease;
}

.slc-article-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.slc-article-card__link:hover {
  color: #ffffff;
}

.slc-article-card__link:hover svg {
  transform: translateX(4px);
}

/* Pagination */

.slc-article-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 34px;
}

.slc-article-pagination__item,
.slc-article-pagination__next {
  display: inline-flex;
  min-width: 43px;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  color: #9db6ce;
  border: 1px solid rgba(105, 180, 255, 0.15);
  border-radius: 11px;
  background: rgba(9, 29, 61, 0.52);
  font-size: 0.76rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.slc-article-pagination__item:hover,
.slc-article-pagination__next:hover {
  color: #ffffff;
  border-color: rgba(70, 184, 255, 0.38);
  background: rgba(21, 151, 255, 0.12);
  transform: translateY(-2px);
}

.slc-article-pagination__item.is-active {
  color: #ffffff;
  border-color: rgba(104, 202, 255, 0.42);
  background:
    linear-gradient(
      135deg,
      #1597ff,
      #0757d9
    );
  box-shadow:
    0 9px 23px rgba(8, 120, 249, 0.27),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.slc-article-pagination__next {
  gap: 8px;
  padding-inline: 16px;
}

.slc-article-pagination__next svg {
  width: 15px;
  height: 15px;
}

/* Sidebar */

.slc-article-sidebar {
  display: grid;
  gap: 22px;
}

.slc-sidebar-widget {
  overflow: hidden;
  padding: 23px;
  border: 1px solid rgba(104, 180, 255, 0.15);
  border-radius: 20px;
  background:
    linear-gradient(
      155deg,
      rgba(11, 32, 67, 0.82),
      rgba(5, 19, 43, 0.94)
    );
  box-shadow:
    0 20px 48px rgba(0, 8, 27, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.slc-sidebar-widget__header {
  display: grid;
  grid-template-columns: 43px 1fr;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(105, 180, 255, 0.11);
}

.slc-sidebar-widget__icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: #55c1ff;
  border: 1px solid rgba(70, 184, 255, 0.2);
  border-radius: 12px;
  background: rgba(21, 151, 255, 0.09);
}

.slc-sidebar-widget__icon svg {
  width: 20px;
  height: 20px;
}

.slc-sidebar-widget__label {
  display: block;
  margin-bottom: 4px;
  color: #6384a7;
  font-size: 0.59rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.slc-sidebar-widget__title {
  margin: 0;
  color: #eef8ff;
  font-size: 1rem;
  font-weight: 780;
  letter-spacing: -0.015em;
}

/* Categories */

.slc-category-list {
  display: grid;
  gap: 8px;
}

.slc-category-list > a {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  color: #cfe4f7;
  border: 1px solid transparent;
  border-radius: 13px;
  text-decoration: none;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.slc-category-list > a:hover {
  color: #ffffff;
  border-color: rgba(70, 184, 255, 0.17);
  background: rgba(21, 151, 255, 0.075);
  transform: translateX(3px);
}

.slc-category-list__content {
  display: grid;
  min-width: 0;
  grid-template-columns: 37px 1fr;
  align-items: center;
  gap: 10px;
}

.slc-category-list__initial {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  color: #72cdff;
  border: 1px solid rgba(70, 184, 255, 0.17);
  border-radius: 10px;
  background: rgba(21, 151, 255, 0.075);
  font-size: 0.72rem;
  font-weight: 840;
}

.slc-category-list__content > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.slc-category-list__content strong {
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 730;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slc-category-list__content small {
  overflow: hidden;
  color: #708aa7;
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slc-category-list__count {
  display: inline-flex;
  min-width: 28px;
  min-height: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #83cfff;
  border: 1px solid rgba(70, 184, 255, 0.13);
  border-radius: 8px;
  background: rgba(21, 151, 255, 0.065);
  font-size: 0.62rem;
  font-weight: 790;
}

/* Recent Posts */

.slc-recent-posts {
  display: grid;
}

.slc-recent-post {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-block: 13px;
  border-bottom: 1px solid rgba(105, 180, 255, 0.095);
}

.slc-recent-post:first-child {
  padding-top: 0;
}

.slc-recent-post:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.slc-recent-post__image-link {
  display: block;
  width: 76px;
  height: 67px;
  overflow: hidden;
  border: 1px solid rgba(104, 180, 255, 0.14);
  border-radius: 11px;
  background: #071832;
}

.slc-recent-post__image {
  display: block;
  width: 100%;
  height: 100%;
  transition:
    filter 0.3s ease,
    transform 0.35s ease;
  object-fit: cover;
}

.slc-recent-post:hover .slc-recent-post__image {
  filter: saturate(1.08);
  transform: scale(1.07);
}

.slc-recent-post__content {
  min-width: 0;
}

.slc-recent-post__date {
  display: block;
  margin-bottom: 6px;
  color: #6281a2;
  font-size: 0.58rem;
  font-weight: 670;
}

.slc-recent-post h4 {
  margin: 0;
  color: #dceeff;
  font-size: 0.76rem;
  font-weight: 710;
  line-height: 1.48;
}

.slc-recent-post h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.slc-recent-post h4 a:hover {
  color: #64c8ff;
}

/* Sidebar CTA */

.slc-sidebar-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 27px;
  border: 1px solid rgba(99, 195, 255, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(102, 204, 255, 0.22),
      transparent 33%
    ),
    linear-gradient(
      145deg,
      #0b59cf,
      #064094 58%,
      #082b64
    );
  box-shadow:
    0 24px 55px rgba(5, 80, 190, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.slc-sidebar-cta::after {
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -100px;
  width: 220px;
  height: 220px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
}

.slc-sidebar-cta__badge {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding-inline: 11px;
  color: #e8f7ff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  background: rgba(2, 15, 41, 0.18);
  font-size: 0.6rem;
  font-weight: 790;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.slc-sidebar-cta__title {
  margin: 17px 0 0;
  color: #ffffff;
  font-size: 1.36rem;
  font-weight: 820;
  line-height: 1.3;
  letter-spacing: -0.026em;
}

.slc-sidebar-cta__description {
  margin: 12px 0 0;
  color: #c7e8ff;
  font-size: 0.8rem;
  line-height: 1.7;
}

.slc-sidebar-cta__button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-inline: 17px;
  margin-top: 21px;
  color: #07418e;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 11px 25px rgba(0, 22, 70, 0.2);
  font-size: 0.72rem;
  font-weight: 790;
  text-decoration: none;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.slc-sidebar-cta__button svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.slc-sidebar-cta__button:hover {
  color: #052f6c;
  background: #e9f7ff;
  transform: translateY(-2px);
}

.slc-sidebar-cta__button:hover svg {
  transform: translateX(4px);
}

/* Focus Accessibility */

.slc-article-hub a:focus-visible {
  outline: 3px solid rgba(70, 184, 255, 0.4);
  outline-offset: 3px;
}

/* ==========================================================
   ARTICLE RESPONSIVE - TABLET
========================================================== */

@media (max-width: 1050px) {
  .slc-article-hub__layout {
    grid-template-columns: 1fr;
  }

  .slc-article-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slc-sidebar-cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 850px) {
  .slc-article-hub__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .slc-article-card--featured {
    display: flex;
    min-height: 0;
  }

  .slc-article-card--featured .slc-article-card__media {
    min-height: 310px;
  }

  .slc-article-card--featured .slc-article-card__overlay {
    background:
      linear-gradient(
        to top,
        rgba(2, 8, 23, 0.62),
        transparent 62%
      );
  }
}

/* ==========================================================
   ARTICLE RESPONSIVE - MOBILE
========================================================== */

@media (max-width: 720px) {
  .slc-article-hub {
    padding-block: 72px;
  }

  .slc-article-hub__container {
    width: min(100% - 28px, 1240px);
  }

  .slc-article-hub__header {
    gap: 25px;
    margin-bottom: 38px;
  }

  .slc-article-hub__title {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .slc-article-hub__description {
    font-size: 0.91rem;
    line-height: 1.75;
  }

  .slc-article-hub__view-all {
    width: 100%;
  }

  .slc-article-hub__grid-list,
  .slc-article-sidebar {
    grid-template-columns: 1fr;
  }

  .slc-article-card--featured .slc-article-card__media {
    min-height: 235px;
  }

  .slc-article-card__media {
    min-height: 215px;
  }

  .slc-article-card__body,
  .slc-article-card--featured .slc-article-card__body {
    padding: 21px;
  }

  .slc-article-card--featured .slc-article-card__title {
    font-size: 1.35rem;
  }

  .slc-sidebar-cta {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .slc-article-hub__eyebrow {
    font-size: 0.62rem;
  }

  .slc-article-card__media,
  .slc-article-card--featured .slc-article-card__media {
    min-height: 205px;
  }

  .slc-article-card__excerpt {
    font-size: 0.83rem;
  }

  .slc-article-pagination {
    display: grid;
    grid-template-columns: repeat(3, 43px) 1fr;
  }

  .slc-article-pagination__next {
    width: 100%;
  }

  .slc-sidebar-widget {
    padding: 20px;
  }

  .slc-category-list__content small {
    max-width: 155px;
  }
}

/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {
  .slc-article-card,
  .slc-article-card__image,
  .slc-article-card__link svg,
  .slc-article-hub__view-all,
  .slc-article-hub__view-all svg,
  .slc-category-list > a,
  .slc-recent-post__image,
  .slc-sidebar-cta__button,
  .slc-sidebar-cta__button svg {
    transition: none;
  }

  .slc-article-card:hover,
  .slc-article-hub__view-all:hover,
  .slc-category-list > a:hover,
  .slc-sidebar-cta__button:hover {
    transform: none;
  }
}