*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  color: var(--color-3);
  background: #fff;
}
.container {
  width: min(1300px, 92%);
  margin: 0 auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease,
    border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
  user-select: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn.primary,
.btn.btn-primary {
  background: linear-gradient(90deg, var(--color-1), var(--color-4));
  border-color: transparent;
  color: #071014;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}
.btn.primary:hover,
.btn.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}
.btn.ghost,
.btn.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
}
.btn.ghost:hover,
.btn.btn-ghost:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}
.page-blog .btn.ghost,
.page-blog .btn.btn-ghost {
  background: var(--color-5);
}
.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 44px;
  color: var(--color-5);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      900px 520px at 18% 18%,
      rgba(0, 183, 214, 0.22),
      transparent 60%
    ),
    radial-gradient(
      700px 420px at 78% 26%,
      rgba(27, 159, 79, 0.18),
      transparent 60%
    ),
    radial-gradient(
      900px 540px at 62% 88%,
      rgba(42, 98, 172, 0.22),
      transparent 62%
    );
  filter: saturate(120%);
  pointer-events: none;
}
.blog-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-1), var(--color-4));
  opacity: 0.6;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 18px;
}
.brand-logo {
  height: 28px;
  width: auto;
  display: block;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.45));
  opacity: 0.95;
}
.kicker {
  margin: 0 0 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--color-5);
}
.blog-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.7vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-5);
}
.lead {
  margin: 0 auto 26px;
  max-width: 70ch;
  line-height: 1.75;
}
.bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
.search {
  position: relative;
  width: min(873px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.search-ic {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
}
.search-ic::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -6px;
  bottom: -4px;
  background: rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  border-radius: 2px;
}
.search input {
  width: 100%;
  height: 52px;
  padding: 0 14px 0 40px;
  border: 0;
  outline: 0;
  background: var(--color-5);
  color: rgba(255, 255, 255, 0.92);
}
.search input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-btn.active {
  background: linear-gradient(90deg, var(--color-1), var(--color-4));
  border-color: transparent;
  color: rgba(255, 255, 255, 0.95);
}
.blog-main {
  padding: 44px 0 72px;
}
.featured {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e7edf2;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.08);
  margin-bottom: 28px;
}
.featured-media {
  position: relative;
  background: linear-gradient(135deg, var(--color-5), var(--color-6));
  min-height: 280px;
}
.featured-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      520px 280px at 30% 30%,
      rgba(0, 183, 214, 0.18),
      transparent 62%
    ),
    radial-gradient(
      520px 280px at 80% 80%,
      rgba(27, 159, 79, 0.14),
      transparent 62%
    );
}
.featured-body {
  padding: 26px;
  background: #fff;
}
.meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(63, 97, 110, 0.75);
  margin-bottom: 14px;
}
.meta-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-1), var(--color-4));
}
.meta-sep {
  opacity: 0.6;
}
.featured h2 {
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  color: var(--color-3);
}
.desc {
  margin: 0 0 18px;
  color: rgba(63, 97, 110, 0.82);
  line-height: 1.75;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-2);
}
.rm-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-top: 1px;
}
.read-more:hover {
  color: var(--color-1);
}
.grid-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
.section-head h3 {
  margin: 0 0 6px;
  color: var(--color-3);
}
.section-head p {
  margin: 0 0 20px;
  color: rgba(63, 97, 110, 0.78);
  line-height: 1.7;
}
.news-group {
  gap: 18px;
}
.news-card {
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e7edf2;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  grid-template-columns: 2fr 3fr 1fr;
  display: grid;
  transition: transform 160ms ease, box-shadow 160ms ease,
    border-color 160ms ease;
  margin-bottom: 23px;
}
.news-card:hover {
  transform: translateY(-2px);
  border-color: #d7e5ee;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.1);
}
.news-card.double {
  grid-column: span 2;
  grid-template-rows: 280px auto;
}
.news-card-image {
  position: relative;
  background: linear-gradient(135deg, var(--color-5), var(--color-6));
}
.news-card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      520px 280px at 30% 30%,
      rgba(0, 183, 214, 0.18),
      transparent 62%
    ),
    radial-gradient(
      520px 280px at 80% 80%,
      rgba(27, 159, 79, 0.14),
      transparent 62%
    );
}
.news-card-content {
  padding: 20px;
}
.date-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(63, 97, 110, 0.75);
  margin-bottom: 12px;
}
.news-card-content h3 {
  margin: 0 0 12px;
  color: var(--color-3);
  letter-spacing: -0.01em;
}
.tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #fff;
  background: linear-gradient(90deg, var(--color-1), var(--color-4));
}
.tag.news-tag {
  background: linear-gradient(90deg, var(--color-2), var(--color-4));
}
.tag.opinion {
  background: linear-gradient(90deg, var(--color-3), var(--color-4));
}
.tag.c-says {
  background: linear-gradient(90deg, var(--color-1), var(--color-2));
}
.side {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
}
.side-card {
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e7edf2;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.06);
  padding: 20px;
}
.side-card h4 {
  margin: 0 0 12px;
  color: var(--color-3);
}
.muted {
  margin: 0 0 16px;
  color: rgba(63, 97, 110, 0.78);
  line-height: 1.65;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e7edf2;
  background: #fbfcfd;
  color: var(--color-3);
}
.pill:hover {
  border-color: #d7e5ee;
  background: linear-gradient(
    135deg,
    rgba(0, 183, 214, 0.1),
    rgba(27, 159, 79, 0.08)
  );
}
.side-card.glow {
  background: linear-gradient(135deg, #f5fbff, #e3f3f7);
  border: 1px solid #dce6ed;
  margin-top: 24%;
}
.tips {
  display: grid;
  gap: 12px;
}
.tip-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e7edf2;
}
.tip-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(90deg, var(--color-1), var(--color-4));
}
.pager {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 22px;
  flex-wrap: wrap;
  user-select: none;
}
.pg-btn,
.pg-num {
  height: 37px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #e7edf2;
  background: #fff;
  cursor: pointer;
  color: var(--color-3);
}
.pg-num.active,
.pg-btn:hover,
.pg-num:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 183, 214, 0.1),
    rgba(27, 159, 79, 0.08)
  );
  border-color: #d7e5ee;
}
.pg-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pg-num[aria-current="page"] {
  background: linear-gradient(
    135deg,
    rgba(0, 183, 214, 0.14),
    rgba(27, 159, 79, 0.1)
  );
  border-color: #d7e5ee;
}
a .brand-logo-bnr {
  height: 76px;
  width: auto;
  display: block;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.45));
  opacity: 0.95;
}
.back-btn {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.back-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
}
.back-btn:focus-visible {
  outline: 2px solid var(--color-4, #00b7d6);
  outline-offset: 3px;
}
.back-ic {
  font-size: 18px;
  line-height: 1;
}
.cards-grid {
  display: block;
}
body[data-filtering="1"] .cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
body[data-filtering="1"] .news-page,
body[data-filtering="1"] .news-group {
  display: contents;
}
body[data-filtering="1"] .news-card.double {
  grid-column: auto;
  grid-template-rows: 240px auto;
}
.news-page[hidden] {
  display: none !important;
}
label {
  color: rgba(255, 255, 255, 0.78);
}
.charlie-list {
  display: grid;
  gap: 12px;
}
.charlie-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e7edf2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease,
    border-color 160ms ease;
}
.charlie-item:hover {
  transform: translateY(-1px);
  border-color: #d7e5ee;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.08);
}
.charlie-num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(90deg, var(--color-1), var(--color-4));
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
}
.charlie-title {
  color: var(--color-3);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.charlie-item:hover .charlie-title {
  color: var(--color-1);
}
.muted {
  display: none;
  margin-top: 14px;
}

.filters.hero-actions:has(.filter-btn:hover)
  .filter-btn.active:not(:hover)::before {
  transform: scaleX(0) !important;
}

.filters.hero-actions:has(.filter-btn:hover) .filter-btn.active:not(:hover) {
  background: var(--color-5) !important;
  box-shadow: none !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: rgba(255, 255, 255, 0.86) !important;
}
@media (max-width: 980px) {
  .bar {
    grid-template-columns: 1fr;
  }
  .featured {
    grid-template-columns: 1fr;
  }
  .grid-wrap {
    grid-template-columns: 1fr;
  }
  .side {
    position: static;
  }
  .news-group {
    grid-template-columns: 1fr;
  }
  .news-card.double {
    grid-column: auto;
  }
  body[data-filtering="1"] .cards-grid {
    grid-template-columns: 1fr;
  }
  .blog-hero {
    padding: 64px 0 38px;
  }
  .blog-main {
    padding: 36px 0 60px;
  }
  .featured-body {
    padding: 20px;
  }
  header {
    height: 127vw;
  }
}
@media (max-width: 520px) {
  .back-btn {
    top: 12px;
    left: 12px;
    padding: 12px 14px;
  }
  .back-txt {
    display: none;
  }
  .blog-hero {
    padding: 58px 0 34px;
  }
}
