@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/roboto-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/roboto-latin-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("assets/fonts/roboto-condensed-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --blue: #00599f;
  --blue-dark: #004783;
  --link: #0b72ba;
  --text: #242424;
  --muted: #777;
  --line: #e5e5e5;
  --soft: #f5f7fa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #050505;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

.site-header .container {
  width: min(1100px, calc(100% - 32px));
}

.topbar {
  background: #050505;
  border-bottom: 1px solid #1f1f1f;
}

.header-row {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 210px;
  height: auto;
}

.hamburger {
  display: none;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.search {
  flex: 1;
  max-width: 260px;
  position: relative;
  margin-left: auto;
}

.search input {
  width: 100%;
  height: 44px;
  border: 1px solid #777;
  border-radius: 8px;
  background: #454545;
  padding: 0 48px 0 20px;
  font-size: 17px;
  color: #fff;
  outline: 0;
}

.search input::placeholder { color: #b7bec7; opacity: 1; }

.search button {
  position: absolute;
  top: 3px;
  right: 7px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.search button::before {
  content: "";
  position: absolute;
  inset: 8px 11px 11px 8px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.search button::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 10px;
  width: 12px;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
}

.join-plus {
  flex: 0 0 auto;
  min-width: 230px;
  height: 48px;
  border-radius: 12px;
  background: #1689dc;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  padding: 0 16px;
}

.join-plus:hover { text-decoration: none; background: #0f7ccd; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0;
  color: #fff;
  flex: 0 0 auto;
}

.header-actions a { color: #fff; font-weight: 700; }

.header-icon {
  position: relative;
  width: 42px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  border-left: 1px solid #151515;
}

.header-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-icon.has-dot::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 6px;
  width: 9px;
  height: 9px;
  background: #ff1717;
  border-radius: 50%;
}

.header-icon.kplus {
  font: 700 13px/1 "Roboto", Arial, sans-serif;
}

.header-icon.kplus::before {
  content: "";
  position: absolute;
  width: 27px;
  height: 21px;
  border: 2px solid #fff;
  border-radius: 8px;
}

.header-icon.profile {
  width: 48px;
  border: 2px solid #1db23a;
  border-radius: 50%;
  height: 48px;
}

.header-icon.profile svg { width: 30px; height: 30px; }

.navwrap {
  background: #050505;
  color: #fff;
}

.nav-row {
  display: flex;
  align-items: stretch;
  height: 46px;
  gap: 0;
}

.membership { display: none; }

.main-nav {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
  flex: 1;
}
.main-nav::-webkit-scrollbar, .subnav-scroll::-webkit-scrollbar { display: none; }
.main-nav a {
  position: relative;
  color: #fff;
  font: 700 14px/46px "Roboto Condensed", Arial, sans-serif;
  white-space: nowrap;
  padding: 0 8px;
  border-left: 1px solid #1f1f1f;
}

.main-nav a:hover { text-decoration: none; background: #0d0d0d; }
.main-nav a.active { color: #fff; }

.main-nav a.with-badge { padding-right: 17px; }
.main-nav a.with-badge span {
  position: absolute;
  top: 5px;
  right: -5px;
  background: #ff1b1b;
  color: #fff;
  border-radius: 5px;
  padding: 2px 5px;
  font: 700 9px/1 "Roboto", Arial, sans-serif;
}

.nav-more {
  width: 42px;
  border: 0;
  border-left: 1px solid #1f1f1f;
  background: #050505;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-more span {
  display: block;
  width: 15px;
  height: 2px;
  background: #fff;
}

.subnav { display: none; }
.subnav-scroll { display: flex; gap: 18px; overflow-x: auto; height: 34px; align-items: center; }
.subnav a { color: #d9e9f7; font-size: 13px; white-space: nowrap; }
.subnav a.active { color: #fff; font-weight: 700; }

.mobile-menu {
  display: none;
  position: sticky;
  top: 64px;
  z-index: 9;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 8px 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.mobile-menu a { display: block; padding: 10px 0; color: #333; border-bottom: 1px solid #f0f0f0; }
.mobile-menu.open { display: block; }

.page-grid {
  display: block;
  grid-template-columns: minmax(0, 776px) 300px;
  gap: 24px;
  align-items: start;
}

.article-card { min-width: 0; }

.premium-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  margin-bottom: 20px;
  color: #777;
  font-size: 14px;
}

.premium-strip a { font-weight: 700; }

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #999;
  font-size: 13px;
  margin-bottom: 14px;
}

.breadcrumb a { color: #777; }

h1 {
  margin: 0 0 12px;
  color: #1f1f1f;
  font: 700 42px/1.13 "Roboto Condensed", Arial, sans-serif;
  letter-spacing: -.2px;
}

.meta {
  color: #777;
  font-size: 14px;
  margin-bottom: 18px;
}

.meta a { font-weight: 700; }

.author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
  color: #333;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e9f3fb;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.author span { display: block; color: #888; font-size: 13px; }

.hero { margin: 0 0 25px; }
.hero img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; background: #ddd; }
.hero figcaption { margin-top: 8px; color: #777; font-size: 13px; line-height: 1.45; }

.article-body {
  color: #2b2b2b;
  font-size: 20px;
  line-height: 1.72;
}

.article-body p { margin: 0 0 22px; }
.article-body h2, .article-body h3 {
  margin: 32px 0 14px;
  color: #222;
  font-family: "Roboto Condensed", Arial, sans-serif;
  line-height: 1.2;
}
.article-body h2 { font-size: 30px; }
.article-body h3 { font-size: 27px; }
.article-body a { font-weight: 500; }

.faq-modern {
  margin: 42px 0 36px;
  padding: 24px;
  border: 1px solid #d9e9f7;
  border-radius: 22px;
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 52%, #eef7ff 100%);
  box-shadow: 0 18px 45px rgba(0, 89, 159, .09);
}

.faq-heading {
  margin-bottom: 18px;
}

.faq-heading span {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e6f3ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.faq-heading h2 {
  margin: 10px 0 0;
  font-size: 32px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-card {
  border: 1px solid #dce9f4;
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 22px rgba(20, 69, 110, .06);
  overflow: hidden;
}

.faq-card[open] {
  border-color: #91c6ee;
  box-shadow: 0 14px 32px rgba(0, 89, 159, .13);
}

.faq-card summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 58px 18px 20px;
  color: #101820;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.faq-card[open] summary::after {
  content: "-";
  background: #0b72ba;
}

.faq-card p {
  margin: 0;
  padding: 0 20px 20px;
  color: #4d5a66;
  font-size: 17px;
  line-height: 1.7;
}

.attention-marquee {
  margin: 42px 0 28px;
  padding: 24px 0 8px;
  overflow: hidden;
}

.attention-heading {
  margin-bottom: 18px;
}

.attention-heading span {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff4df;
  color: #b76500;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.attention-heading h2 {
  margin: 10px 0 0;
  font-size: 32px;
}

.attention-viewport {
  position: relative;
  overflow: hidden;
  padding: 4px 0 18px;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.attention-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: attention-scroll 34s linear infinite;
}

.attention-viewport:hover .attention-track {
  animation-play-state: paused;
}

.attention-card {
  flex: 0 0 265px;
  min-height: 170px;
  padding: 18px;
  border: 1px solid #e8d7b8;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #fffaf0 100%);
  box-shadow: 0 14px 30px rgba(116, 71, 9, .09);
}

.attention-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #111820;
  color: #ffca57;
  font-size: 15px;
  font-weight: 900;
}

.attention-card p {
  margin: 0;
  color: #27313b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

@keyframes attention-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 8px)); }
}

@media (prefers-reduced-motion: reduce) {
  .attention-track {
    animation: none;
  }
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 30px;
  font-size: 14px;
}

.pagination a {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  color: #444;
}

.pagination a.current { background: var(--blue); color: #fff; border-color: var(--blue); }

.latest { border-top: 6px solid #f0f0f0; padding-top: 20px; margin-bottom: 32px; }
.latest h2, .widget h2 { margin: 0 0 17px; font: 700 26px/1.15 "Roboto Condensed", Arial, sans-serif; color: #222; }

.latest ol, .popular ol { list-style: none; margin: 0; padding: 0; }
.latest li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.latest a { display: block; color: #222; font-weight: 700; font-size: 18px; line-height: 1.35; }
.latest span { display: block; color: #888; margin-top: 6px; font-size: 13px; }

.sidebar { min-width: 0; }
.widget {
  border-top: 4px solid var(--blue);
  padding-top: 15px;
  margin-bottom: 32px;
}

.popular li {
  counter-increment: pop;
  position: relative;
  padding: 0 0 17px 44px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.popular li::before {
  content: counter(pop);
  position: absolute;
  left: 0;
  top: -3px;
  color: var(--blue);
  font: 700 34px/1 "Roboto Condensed", Arial, sans-serif;
}

.popular a, .trending a { color: #252525; font-weight: 700; line-height: 1.38; }

.trending a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.app-card { text-align: center; }
.app-card .qr { width: 120px; margin: 0 auto 10px; }
.app-card p { color: #777; font-size: 13px; }
.badges { display: flex; gap: 8px; justify-content: center; align-items: center; }
.badges img { width: 120px; }

.edu a {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 11px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: #222;
  font-weight: 700;
  font-size: 14px;
}
.edu img { width: 96px; height: 96px; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; }

.site-footer {
  margin-top: 48px;
  padding: 62px 0 34px;
  background: #000;
  color: #aeb4bb;
}

.site-footer .container { width: min(1100px, calc(100% - 32px)); }

.footer-main {
  display: grid;
  grid-template-columns: 280px 1fr 160px;
  gap: 70px;
  align-items: start;
}

.footer-logo img { width: 220px; height: auto; }

.socials {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 160px;
  margin: 24px 0 24px;
}

.socials a {
  width: 40px;
  height: 40px;
  border: 1px solid #343a40;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}

.socials svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-apps {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
}

.footer-apps img { width: 108px; height: auto; }

.award-title {
  margin: 0 0 12px;
  color: #8d949b;
  font-size: 13px;
}

.awards {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 34px;
}

.awards img { width: 48px; max-height: 48px; object-fit: contain; }

.newsletter-copy {
  width: 210px;
  margin: 0 0 12px;
  color: #aeb4bb;
  font-size: 14px;
  line-height: 1.45;
}

.email-button {
  width: 190px;
  height: 50px;
  border-radius: 8px;
  background: #1689dc;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.email-button:hover { text-decoration: none; background: #0f7ccd; }
.email-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.footer-main h2 {
  margin: 4px 0 10px;
  color: #fff;
  font: 700 18px/1.2 "Roboto Condensed", Arial, sans-serif;
}

.footer-link-columns {
  display: grid;
}

.footer-main nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-main a { color: #aeb4bb; font-size: 14px; line-height: 1.62; }
.footer-main a:hover { color: #fff; }

.footer-bottom {
  position: relative;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #2c2c2c;
  text-align: center;
}

.legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}

.legal-links a { color: #aeb4bb; font-size: 13px; }
.footer-bottom p { margin: 0; color: #aeb4bb; font-size: 13px; }

@media (max-width: 1500px) {
  .site-header .container { width: min(1100px, calc(100% - 32px)); }
  .header-row { height: 78px; gap: 18px; }
  .brand img { width: 210px; }
  .search { max-width: 260px; }
  .search input { height: 44px; font-size: 17px; padding-left: 20px; }
  .search button { top: 3px; right: 7px; width: 38px; height: 38px; }
  .join-plus { min-width: 230px; height: 48px; border-radius: 12px; font-size: 16px; }
  .header-icon { width: 42px; height: 50px; }
  .header-icon svg { width: 25px; height: 25px; }
  .header-icon.kplus { font-size: 13px; }
  .header-icon.kplus::before { width: 27px; height: 21px; }
  .header-icon.profile { width: 48px; height: 48px; }
  .header-icon.profile svg { width: 30px; height: 30px; }
  .header-icon.has-dot::after { top: 8px; right: 6px; width: 9px; height: 9px; }
  .nav-row { height: 46px; }
  .main-nav a { font-size: 14px; line-height: 46px; padding: 0 8px; }
  .main-nav a.with-badge { padding-right: 17px; }
  .main-nav a.with-badge span { top: 5px; font-size: 9px; }
  .nav-more { width: 42px; }
}

@media (max-width: 1023px) {
  .container { width: min(100% - 28px, 760px); }
  .site-header .container { width: min(100% - 28px, 760px); }
  .header-row { height: auto; min-height: 78px; gap: 14px; padding: 10px 0; flex-wrap: wrap; }
  .hamburger { display: block; }
  .brand img { width: 180px; }
  .search { max-width: none; min-width: 280px; margin-left: 0; }
  .search input { height: 46px; font-size: 18px; padding-left: 18px; }
  .search button { top: 2px; right: 6px; }
  .join-plus { min-width: 220px; height: 46px; border-radius: 12px; font-size: 16px; }
  .header-actions { margin-left: auto; }
  .header-icon { width: 46px; height: 46px; }
  .header-icon svg { width: 30px; height: 30px; }
  .header-icon.profile { width: 46px; height: 46px; border-width: 1px; }
  .header-icon.profile svg { width: 31px; height: 31px; }
  .header-icon.has-dot::after { top: 8px; right: 7px; }
  .nav-row { height: 48px; }
  .main-nav a { font-size: 18px; line-height: 48px; padding: 0 13px; }
  .main-nav a.with-badge span { top: 4px; font-size: 11px; }
  .nav-more { width: 48px; }
  .page-grid { display: block; }
  .sidebar { margin-top: 30px; }
  h1 { font-size: 36px; }
  .site-header { top: 0; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-link-columns { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .footer-network nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 520px); }
  .site-header .container { width: min(100% - 24px, 520px); }
  .site-header { position: static; }
  .header-row { min-height: 56px; gap: 10px; padding: 9px 0; }
  .brand img { width: 140px; }
  .join-plus { display: none; }
  .header-actions { gap: 2px; }
  .header-icon { display: none; }
  .header-icon.profile, .header-icon.kplus { display: grid; }
  .search { order: 5; flex-basis: 100%; min-width: 0; }
  .search input { height: 38px; font-size: 14px; border-radius: 7px; }
  .search button { width: 34px; height: 34px; top: 2px; }
  .search button::before { inset: 8px 10px 10px 8px; border-width: 2px; }
  .search button::after { right: 8px; bottom: 9px; width: 10px; height: 2px; }
  .nav-row { height: 44px; }
  .main-nav a { font-size: 17px; line-height: 44px; padding: 0 12px; }
  .nav-more { width: 44px; flex: 0 0 auto; }
  .subnav-scroll { width: calc(100% - 24px); }
  .mobile-menu { top: 0; }
  .premium-strip { margin-top: 16px; font-size: 13px; }
  .breadcrumb { font-size: 12px; margin-bottom: 10px; }
  h1 { font-size: 31px; line-height: 1.14; }
  .meta { font-size: 13px; }
  .hero { margin-left: -12px; margin-right: -12px; }
  .hero figcaption { padding: 0 12px; font-size: 12px; }
  .article-body { font-size: 18px; line-height: 1.68; }
  .article-body p { margin-bottom: 20px; }
  .article-body h2 { font-size: 27px; }
  .article-body h3 { font-size: 24px; }
  .faq-modern { padding: 18px; border-radius: 18px; }
  .faq-heading h2 { font-size: 26px; }
  .faq-card summary { padding: 16px 52px 16px 16px; font-size: 16px; }
  .faq-card p { padding: 0 16px 18px; font-size: 15px; }
  .attention-marquee { margin-top: 34px; padding-top: 16px; }
  .attention-heading h2 { font-size: 26px; }
  .attention-card { flex-basis: 230px; min-height: 160px; padding: 16px; }
  .attention-card p { font-size: 15px; }
  .site-footer { padding-top: 38px; }
  .footer-logo img { width: 190px; }
  .footer-link-columns, .footer-network nav { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .footer-main a { font-size: 13px; }
  .legal-links { gap: 10px 14px; }
  .footer-bottom p { font-size: 13px; line-height: 1.5; }
}

@media (max-width: 380px) {
  .brand img { width: 120px; }
  h1 { font-size: 28px; }
  .article-body { font-size: 17px; }
  .footer-link-columns, .footer-network nav { grid-template-columns: 1fr; }
  .footer-apps { flex-wrap: wrap; gap: 10px; }
}