.blog-page,
.article-page { background: #03101b; }

.blog-page::before,
.article-page::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 78% 8%, rgba(53, 231, 242, .12), transparent 30rem),
    radial-gradient(circle at 8% 52%, rgba(255, 146, 74, .08), transparent 34rem),
    linear-gradient(180deg, #061724, #020a12 72%);
}

.blog-hero {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  min-height: 610px;
  align-items: end;
  margin: 0 auto;
  padding: 145px 0 70px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
}

.blog-hero__copy h1 {
  max-width: 880px;
  margin: 20px 0 26px;
  font-size: clamp(4rem, 10vw, 9.2rem);
  font-weight: 750;
  letter-spacing: -.075em;
  line-height: .78;
}
.blog-hero__copy h1 em { color: #ff7e58; font-family: Georgia, serif; font-weight: 400; }
.blog-hero__copy > p:last-child { max-width: 600px; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.blog-hero__number { display: grid; min-width: 190px; padding: 24px 0 8px; border-top: 1px solid rgba(53,231,242,.35); gap: 8px; }
.blog-hero__number strong { color: var(--cyan); font-size: clamp(3.8rem, 7vw, 6.4rem); line-height: .9; }
.blog-hero__number span { color: #9eb6c5; font-size: .72rem; letter-spacing: .14em; line-height: 1.6; text-transform: uppercase; }

.blog-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 120px; }
.blog-tools { display: grid; align-items: end; margin-bottom: 36px; padding: 18px 0; border-block: 1px solid var(--line); grid-template-columns: 1fr 210px; gap: 22px; }
.blog-tools label { display: grid; gap: 8px; }
.blog-tools label > span { color: var(--muted); font-size: .68rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.blog-tools input,
.blog-tools select { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; outline: none; background: rgba(255,255,255,.045); color: #fff; }
.blog-tools select { color-scheme: dark; }
.blog-tools input:focus,
.blog-tools select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(53,231,242,.08); }

.blog-featured { min-height: 440px; margin-bottom: 100px; }
.blog-featured__link { display: grid; overflow: hidden; min-height: 440px; border: 1px solid rgba(53,231,242,.17); border-radius: 30px; background: linear-gradient(120deg, rgba(7,36,52,.92), rgba(6,19,31,.92)); color: inherit; text-decoration: none; grid-template-columns: 1.08fr .92fr; }
.blog-featured figure { overflow: hidden; margin: 0; }
.blog-featured img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.2,.75,.2,1); }
.blog-featured__link:hover img { transform: scale(1.035); }
.blog-featured__link > div { display: flex; align-items: flex-start; justify-content: center; padding: clamp(35px, 6vw, 72px); flex-direction: column; }
.blog-featured span { color: var(--cyan); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.blog-featured h2 { margin: 18px 0; font-size: clamp(2.3rem, 4.8vw, 4.6rem); letter-spacing: -.055em; line-height: .98; }
.blog-featured p { display: -webkit-box; overflow: hidden; margin: 0 0 26px; color: var(--muted); line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
.blog-featured strong { color: #fff; font-size: .78rem; }
.blog-featured strong b { margin-left: 8px; color: #ff9b61; }

.blog-list-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.blog-list-head h2 { margin: 8px 0 0; font-size: clamp(2.6rem, 5vw, 4.6rem); letter-spacing: -.055em; }
.blog-list-head > span { padding-bottom: 10px; color: var(--muted); font-size: .8rem; }
.blog-list { border-top: 1px solid rgba(255,255,255,.14); }
.blog-row { display: grid; min-height: 176px; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.11); grid-template-columns: 190px 160px minmax(0,1fr) 70px; gap: 24px; transition: background 250ms ease, padding 250ms ease; }
.blog-row:hover { padding-inline: 14px; background: rgba(53,231,242,.025); }
.blog-row__image { overflow: hidden; height: 130px; border-radius: 13px; background: #071b2a; }
.blog-row__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.blog-row:hover .blog-row__image img { transform: scale(1.04); }
.blog-row__date { display: grid; gap: 7px; }
.blog-row__date strong { color: var(--cyan); font-size: .72rem; text-transform: uppercase; }
.blog-row__date span { color: var(--muted); font-size: .7rem; }
.blog-row__copy { min-width: 0; }
.blog-row__copy h3 { margin: 0 0 10px; font-size: clamp(1.25rem, 2.2vw, 1.85rem); line-height: 1.12; }
.blog-row__copy h3 a { color: #f3f8fa; text-decoration: none; }
.blog-row__copy p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.58; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.blog-row__action { display: flex; align-items: center; justify-content: space-between; color: #718a9a; font-size: .65rem; letter-spacing: .1em; text-decoration: none; }
.blog-row__action b { color: #ff9b61; font-size: 1.1rem; }
.blog-more { display: block; margin: 34px auto 0; }
.blog-loading,
.blog-empty { display: grid; min-height: 250px; place-content: center; color: var(--muted); text-align: center; }

.article-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 150px 0 110px; }
.article-back { display: inline-block; margin-bottom: 34px; color: var(--cyan); font-size: .78rem; text-decoration: none; }
.article-header { display: grid; align-items: stretch; margin-bottom: 65px; grid-template-columns: minmax(0,1fr) minmax(320px,.78fr); gap: 50px; }
.article-header > div { display: flex; justify-content: center; flex-direction: column; }
.article-header h1 { margin: 18px 0 25px; font-size: clamp(3rem, 7vw, 7rem); letter-spacing: -.065em; line-height: .92; }
.article-header > div > p:not(.eyebrow) { max-width: 720px; color: #afc3cf; font-size: 1.05rem; line-height: 1.7; }
.article-header > div > span { margin-top: 18px; color: var(--cyan); font-size: .75rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.article-header figure { overflow: hidden; min-height: 450px; margin: 0; border: 1px solid var(--line); border-radius: 30px; background: #071a28; }
.article-header img { width: 100%; height: 100%; object-fit: cover; }
.article-body { width: min(790px, 100%); margin: 0 auto; color: #d3e0e6; font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.86; }
.article-body p { margin: 0 0 1.5em; }
.article-body h2,
.article-body h3 { margin: 2em 0 .7em; color: #fff; letter-spacing: -.03em; line-height: 1.15; }
.article-body h2 { font-size: 2.3rem; }
.article-body h3 { font-size: 1.6rem; }
.article-body a { color: var(--cyan); overflow-wrap: anywhere; }
.article-body img { display: block; width: auto; max-width: 100%; height: auto; max-height: 82svh; margin: 34px auto; border-radius: 18px; object-fit: contain; }
.article-body iframe,
.article-body video { display: block; width: 100%; min-height: 440px; margin: 34px 0; border: 0; border-radius: 18px; }
.article-body table { display: block; overflow-x: auto; max-width: 100%; }
.article-gallery-section { margin-top: 100px; padding-top: 50px; border-top: 1px solid var(--line); }
.article-gallery-head { display: grid; align-items: end; margin-bottom: 28px; grid-template-columns: 1fr auto; }
.article-gallery-head .eyebrow { grid-column: 1 / -1; }
.article-gallery-head h2 { margin: 8px 0 0; font-size: clamp(2.5rem,5vw,4.5rem); letter-spacing: -.055em; }
.article-gallery-head span { color: var(--muted); font-size: .78rem; }
.article-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.article-gallery a { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 14px; background: #071925; }
.article-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.article-gallery a:hover img { transform: scale(1.045); }
.article-gallery-more { display: block; margin: 28px auto 0; }
.article-end { display: grid; align-items: center; margin-top: 100px; grid-template-columns: 1fr auto auto; gap: 24px; }
.article-end > span { height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); }
.article-end p { color: var(--muted); }
.article-end a { color: #fff; text-decoration: none; }
.article-error,
.article-loading { display: grid; min-height: 65svh; place-content: center; text-align: center; }
.article-error p,
.article-loading { color: var(--muted); }

@media (max-width: 900px) {
  .blog-hero { min-height: 520px; grid-template-columns: 1fr; gap: 25px; }
  .blog-hero__number { grid-template-columns: auto 1fr; align-items: end; }
  .blog-featured__link { grid-template-columns: 1fr; }
  .blog-featured figure { min-height: 330px; }
  .blog-row { grid-template-columns: 150px 1fr 55px; }
  .blog-row__date { grid-column: 2; grid-row: 1; align-self: end; }
  .blog-row__copy { grid-column: 2; grid-row: 1 / 3; padding-top: 38px; }
  .blog-row__action { grid-column: 3; grid-row: 1 / 3; }
  .article-header { grid-template-columns: 1fr; }
  .article-header figure { min-height: 380px; }
}

@media (max-width: 620px) {
  .blog-hero,
  .blog-shell,
  .article-shell { width: min(100% - 28px, 1180px); }
  .blog-hero { min-height: auto; padding: 125px 0 55px; }
  .blog-hero__copy h1 { font-size: clamp(3.5rem, 20vw, 5.4rem); }
  .blog-tools { grid-template-columns: 1fr; }
  .blog-featured { min-height: 0; margin-bottom: 70px; }
  .blog-featured__link { min-height: 0; border-radius: 22px; }
  .blog-featured figure { min-height: 240px; }
  .blog-featured__link > div { padding: 28px 24px 34px; }
  .blog-row { min-height: 0; grid-template-columns: 108px 1fr; gap: 15px; }
  .blog-row__image { height: 96px; }
  .blog-row__date { grid-column: 2; grid-row: 1; align-self: start; }
  .blog-row__copy { grid-column: 1 / -1; grid-row: 2; padding-top: 0; }
  .blog-row__action { display: none; }
  .article-shell { padding-top: 125px; }
  .article-header { margin-bottom: 42px; gap: 28px; }
  .article-header h1 { font-size: clamp(2.7rem, 13vw, 4.3rem); }
  .article-header figure { min-height: 260px; }
  .article-body iframe,
  .article-body video { min-height: 220px; }
  .article-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .article-end { grid-template-columns: 1fr; }
  .article-end > span { display: none; }
}
