:root {
  --dark: #061326;
  --dark2: #071a33;
  --orange: #ff8a3d;
  --coral: #ff5b59;
  --page: #f3f5fb;
  --text: #172238;
  --muted: #64748b;
  --border: #e6edf7;
  --card: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.public-hero {
  background:
    radial-gradient(circle at 50% 0, rgba(255, 138, 61, 0.22), transparent 35%),
    linear-gradient(135deg, var(--dark), #020b18);
  color: #fff;
}
.home-hero {
  min-height: 320px;
  padding: 28px 0 58px;
}
.compact-hero {
  padding: 22px 0 28px;
}
.public-topbar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.public-logo img {
  height: 38px;
  display: block;
}
.public-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.language-pill,
.site-button {
  border-radius: 12px;
  padding: 12px 16px;
  background: #fff;
  color: #0e1a2d;
  font-weight: 800;
}
.site-button {
  background: linear-gradient(135deg, var(--orange), var(--coral));
  color: #fff;
}
.hero-center {
  text-align: center;
  margin-top: 44px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffbd7f;
  font-weight: 900;
}
.hero-center h1 {
  font-size: 42px;
  margin: 12px 0 24px;
}
.search-wrap {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}
.search-form {
  background: #fff;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 24px 54px rgba(3, 12, 28, 0.24);
  padding: 10px 12px;
}
.search-large {
  padding: 14px;
}
.search-icon {
  font-size: 30px;
  color: #172238;
  transform: rotate(-20deg);
}
.search-form input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 18px;
  color: #172238;
}
.search-form button {
  border: 0;
  border-radius: 11px;
  padding: 12px 18px;
  background: #0d1b31;
  color: #fff;
  font-weight: 900;
}
.search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
  z-index: 20;
  overflow: hidden;
  display: none;
}
.search-results.open {
  display: block;
}
.search-results a {
  display: block;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.search-results a:last-child {
  border-bottom: 0;
}
.search-results strong {
  display: block;
}
.search-results span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}
.mini-search {
  margin-top: 22px;
}
.mini-search .search-form {
  box-shadow: none;
}
.home-sections {
  padding: 64px 0;
}
.section-block {
  margin-bottom: 58px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.section-title span {
  color: #a9bbd0;
  font-size: 32px;
}
.section-title h2 {
  font-size: 30px;
  margin: 0;
}
.article-list.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}
.article-row,
.article-card-line,
.latest-card,
.category-card,
.empty-card {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(21, 32, 56, 0.06);
  border-radius: 14px;
}
.article-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  font-weight: 850;
}
.article-row b {
  font-size: 26px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.category-card {
  display: flex;
  gap: 22px;
  padding: 28px;
  align-items: center;
  transition: 0.2s;
}
.category-card:hover,
.article-row:hover,
.latest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(21, 32, 56, 0.1);
}
.category-thumb {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #061326;
  overflow: hidden;
  flex: 0 0 auto;
}
.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-thumb span {
  font-size: 34px;
  color: #fff;
  font-weight: 900;
}
.category-thumb.large {
  width: 110px;
  height: 110px;
}
.category-card h3,
.latest-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.category-card p,
.latest-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.category-card small {
  display: inline-block;
  margin-top: 14px;
  font-weight: 900;
  color: var(--orange);
}
.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.latest-card {
  padding: 24px;
}
.public-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  background: #fff;
}
.footer-inner {
  text-align: center;
}
.footer-inner img {
  height: 30px;
}
.footer-inner p {
  color: var(--muted);
}
.footer-inner nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  text-decoration: underline;
}
.category-page {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 42px;
  padding: 52px 0;
}
.public-sidebar {
  position: sticky;
  top: 22px;
  align-self: start;
}
.back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--muted);
  font-weight: 850;
}
.side-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  color: #34415a;
  font-weight: 800;
}
.side-category.active {
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.side-category span {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #eef3fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.side-category img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-heading {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}
.category-heading p {
  margin: 0;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.category-heading h1 {
  margin: 6px 0;
  font-size: 38px;
}
.category-heading span {
  color: var(--muted);
}
.article-stack {
  display: grid;
  gap: 14px;
}
.article-card-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
}
.article-card-line h3 {
  margin: 0 0 6px;
}
.article-card-line p {
  margin: 0;
  color: var(--muted);
}
.article-card-line b {
  font-size: 28px;
  color: var(--orange);
}
.article-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 760px);
  gap: 56px;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
}
.article-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
}
.article-sidebar h4 {
  margin: 20px 0 12px;
}
.article-sidebar a {
  display: block;
  color: #34415a;
  font-weight: 750;
  margin-bottom: 12px;
}
.article-main {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 42px;
  box-shadow: 0 18px 44px rgba(21, 32, 56, 0.07);
}
.article-breadcrumb {
  color: var(--muted);
}
.article-breadcrumb a {
  color: #0b7cff;
  font-weight: 850;
}
.article-main h1 {
  font-size: 40px;
  line-height: 1.1;
  margin: 12px 0;
}
.article-excerpt {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}
.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: #233049;
}
.article-body h2 {
  font-size: 28px;
  line-height: 1.2;
  margin: 38px 0 12px;
  border-left: 4px solid var(--orange);
  padding-left: 14px;
}
.article-body h3 {
  font-size: 22px;
  margin: 28px 0 10px;
}
.article-body img {
  max-width: 100%;
  border-radius: 14px;
  display: block;
  margin: 22px auto;
}
.article-body iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: 14px;
  margin: 20px 0;
}
.article-body blockquote {
  margin: 24px 0;
  padding: 22px 24px;
  border-left: 4px solid #a8bed8;
  background: #f4f7fb;
  border-radius: 0 12px 12px 0;
}
.article-body .callout {
  padding: 18px 20px;
  border-radius: 14px;
  margin: 20px 0;
  border-left: 5px solid;
  line-height: 1.55;
}
.article-body .callout.tip {
  background: #eaffea;
  border-color: #30c45a;
}
.article-body .callout.info {
  background: #eaf4ff;
  border-color: #0b84ff;
}
.article-body .callout.warning {
  background: #fff5df;
  border-color: #ffad2f;
}
.article-body hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}
.center-page {
  padding: 80px 0;
  text-align: center;
}
.muted {
  color: var(--muted);
}
@media (max-width: 900px) {
  .article-list.two-col,
  .category-grid,
  .latest-grid {
    grid-template-columns: 1fr;
  }
  .category-page,
  .article-shell {
    grid-template-columns: 1fr;
  }
  .public-sidebar,
  .article-sidebar {
    position: static;
  }
  .public-topbar {
    align-items: flex-start;
  }
  .hero-center h1 {
    font-size: 34px;
  }
  .article-main {
    padding: 26px;
  }
  .category-card {
    align-items: flex-start;
  }
  .search-form button {
    display: none;
  }
}

/* =========================
   V3 polish: public layout
   ========================= */
html,
body {
  min-height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
.public-hero + main {
  flex: 1 0 auto;
}
.public-footer {
  margin-top: auto;
  padding: 28px 0;
  background: #ffffff;
  border-top: 1px solid #dfe7f2;
}
.footer-inner-clean {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}
.footer-inner-clean p {
  margin: 0;
  color: #64748b;
  font-weight: 700;
}
.footer-inner-clean nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.footer-inner-clean nav a {
  color: #27344d;
  font-weight: 800;
  text-decoration: none;
}
.footer-inner-clean nav a:hover {
  color: var(--orange);
}
.public-topbar-simple {
  justify-content: center;
}
.home-hero .public-topbar-simple {
  justify-content: flex-start;
}
.public-actions,
.language-pill,
.site-button {
  display: none !important;
}
.compact-hero {
  padding: 22px 0 36px;
}
.mini-search {
  max-width: 720px;
  margin-top: 24px;
}
.search-results {
  top: calc(100% + 14px);
  border-radius: 22px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  overflow: visible;
}
.search-results a {
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 18px 20px;
  margin: 4px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.search-results a::after {
  content: '›';
  color: var(--orange);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}
.search-results a:hover {
  background: #f6f9fd;
  border-color: #e1e9f3;
  transform: translateY(-1px);
}
.search-results strong {
  font-size: 17px;
  color: #142038;
}
.search-results span {
  font-size: 14px;
  max-width: 90%;
}
.no-result {
  padding: 18px 20px;
  color: var(--muted);
  font-weight: 800;
}
.home-sections {
  padding-bottom: 86px;
}
.section-title-clean span {
  width: 22px;
  height: 22px;
  display: inline-block;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--orange), var(--coral));
  box-shadow: 0 10px 24px rgba(255, 138, 61, 0.22);
}
.category-grid {
  align-items: stretch;
}
.category-card {
  min-height: 150px;
  border-radius: 24px;
  padding: 28px 30px;
  overflow: hidden;
}
.category-card .category-thumb {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: linear-gradient(135deg, #061326, #0c1d38);
}
.category-card h3 {
  font-size: 25px;
}
.category-card p {
  font-size: 16px;
}
.category-card small {
  font-size: 15px;
}
.article-layout {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 82px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1020px);
  gap: 56px;
  justify-content: center;
}
.article-main-wide {
  max-width: none;
  padding: 54px 60px;
  border-radius: 28px;
  overflow: hidden;
}
.article-main h1 {
  font-size: clamp(38px, 4vw, 60px);
  letter-spacing: -0.04em;
}
.article-excerpt {
  font-size: 20px;
}
.article-body {
  font-size: 18px;
  line-height: 1.78;
}
.article-body p {
  margin: 18px 0;
}
.article-body figure {
  margin: 30px 0;
}
.article-body figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.article-body blockquote {
  position: relative;
  margin: 28px 0;
  padding: 28px 30px 28px 34px;
  border-left: 5px solid #9fb5d0;
  background: #f2f6fb;
  color: #26344d;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px #e3ebf5;
}
.article-body blockquote::before {
  content: '“';
  position: absolute;
  top: 8px;
  left: 18px;
  font-size: 54px;
  color: #d2deea;
  font-weight: 900;
  line-height: 1;
}
.article-body blockquote p,
.article-body blockquote {
  font-weight: 700;
}
.article-body .callout {
  padding: 24px 26px;
  border-radius: 18px;
  margin: 26px 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.035);
}
.article-body .callout strong {
  display: block;
  margin-bottom: 8px;
}
.article-body .callout.tip {
  background: #eaffef;
  border-color: #22c55e;
}
.article-body .callout.info {
  background: #eaf4ff;
  border-color: #1683ff;
}
.article-body .callout.warning {
  background: #fff4dc;
  border-color: #ff9f2f;
}
.article-sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  padding-top: 8px;
}
.related-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 18px 44px rgba(21, 32, 56, 0.06);
}
.article-sidebar h4 {
  margin: 0 0 14px;
  font-size: 18px;
  color: #142038;
}
.article-sidebar .back-link {
  margin-bottom: 18px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 900;
  color: #34415a;
  transition: 0.18s;
}
.article-sidebar .back-link:hover {
  background: #fff;
  color: var(--orange);
  box-shadow: 0 10px 24px rgba(21, 32, 56, 0.06);
}
.related-link {
  padding: 12px 12px;
  border-radius: 12px;
  margin-bottom: 6px !important;
  color: #34415a !important;
  transition: 0.18s;
}
.related-link:hover {
  background: #f2f6fb;
  color: var(--orange) !important;
  transform: translateX(2px);
}
.category-page-pro {
  grid-template-columns: 300px 1fr;
  gap: 48px;
  padding-bottom: 90px;
}
.side-nav-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 18px 44px rgba(21, 32, 56, 0.06);
}
.side-category {
  transition: 0.18s;
}
.side-category:hover {
  background: #f6f9fd;
  transform: translateX(2px);
}
.side-category.active {
  background: #071326;
  color: #fff;
}
.category-heading-pro {
  border-radius: 28px;
  padding: 36px;
}
.article-stack-pro .article-card-line {
  border-radius: 20px;
  padding: 24px 28px;
}
.search-page {
  flex: 1 0 auto;
  padding: 52px 0 90px;
}
@media (max-width: 980px) {
  .footer-inner-clean {
    flex-direction: column;
    text-align: center;
  }
  .article-layout,
  .category-page-pro {
    width: min(100% - 28px, 760px);
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .article-main-wide {
    padding: 30px 24px;
  }
  .article-sidebar {
    position: static;
  }
  .home-hero .public-topbar-simple {
    justify-content: center;
  }
}

/* =========================
   V4 premium polish
   ========================= */
* {
  scrollbar-width: thin;
  scrollbar-color: #ff9f2f #e8eef7;
}
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-track {
  background: #e8eef7;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffb85f, #ff7a3d);
  border-radius: 999px;
  border: 3px solid #e8eef7;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff9f2f, #ff5b59);
}

body {
  background: radial-gradient(circle at 50% -15%, rgba(255, 159, 47, 0.1), transparent 34%), #eef3fb;
}
.premium-home-hero {
  min-height: 360px;
  padding-bottom: 74px;
  position: relative;
  overflow: hidden;
}
.premium-home-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.hero-center-premium {
  margin-top: 38px;
}
.hero-center-premium h1 {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.045em;
  margin-bottom: 12px;
}
.hero-subtitle {
  margin: 0 auto 28px;
  max-width: 680px;
  color: #b7c3d7;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}
.search-form {
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
  border: 1px solid rgba(226, 232, 240, 0.85);
}
.search-form:focus-within {
  transform: translateY(-1px);
  box-shadow:
    0 28px 60px rgba(3, 12, 28, 0.3),
    0 0 0 5px rgba(255, 159, 47, 0.14);
}
.search-form button {
  transition:
    transform 0.18s ease,
    filter 0.18s ease;
}
.search-form button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.search-results {
  transform-origin: top;
  animation: searchPop 0.18s ease both;
}
@keyframes searchPop {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.search-results a {
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.home-sections-premium {
  max-width: 1120px;
  padding-top: 70px;
  padding-bottom: 110px;
}
.section-title h2 {
  letter-spacing: -0.035em;
}
.premium-article-list .article-row,
.latest-card,
.premium-category-card {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}
.premium-article-list .article-row:hover,
.latest-card:hover,
.premium-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 159, 47, 0.42);
  box-shadow: 0 24px 46px rgba(19, 31, 53, 0.1);
}
.premium-article-list .article-row b {
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}
.premium-article-list .article-row:hover b {
  transform: translateX(4px);
  color: var(--orange);
}
.premium-category-grid {
  gap: 24px;
}
.premium-category-card {
  position: relative;
  padding: 30px;
  min-height: 170px;
  align-items: center;
}
.premium-category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgba(255, 159, 47, 0.12), transparent 36%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}
.premium-category-card:hover::before {
  opacity: 1;
}
.premium-category-card i {
  margin-left: auto;
  font-style: normal;
  color: var(--orange);
  font-size: 32px;
  font-weight: 900;
  opacity: 0;
  transform: translateX(-6px);
  transition: 0.2s ease;
}
.premium-category-card:hover i {
  opacity: 1;
  transform: translateX(0);
}
.category-card-copy {
  min-width: 0;
}
.premium-latest-grid {
  gap: 22px;
}
.latest-card {
  position: relative;
  min-height: 170px;
  display: flex;
  flex-direction: column;
}
.latest-card b {
  margin-top: auto;
  display: inline-flex;
  color: var(--orange);
  font-size: 14px;
  opacity: 0;
  transform: translateY(4px);
  transition: 0.2s ease;
}
.latest-card:hover b {
  opacity: 1;
  transform: translateY(0);
}

.public-footer-premium {
  background: linear-gradient(135deg, #071326, #0b1930);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 34px 0;
}
.public-footer-premium strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.public-footer-premium p {
  color: #93a4bc;
}
.public-footer-premium nav a {
  color: #c5d1e3;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}
.public-footer-premium nav a:hover {
  color: #ffb85f;
  transform: translateY(-1px);
}

.article-layout-premium {
  width: min(1640px, calc(100% - 56px));
  grid-template-columns: 330px minmax(0, 1160px);
  gap: 64px;
  align-items: start;
}
.article-sidebar-premium {
  padding-top: 18px;
}
.article-main-premium {
  padding: clamp(42px, 5vw, 76px);
  border-radius: 34px;
  box-shadow: 0 30px 80px rgba(19, 31, 53, 0.09);
}
.article-main-premium h1 {
  max-width: 980px;
}
.article-main-premium .article-excerpt {
  max-width: 920px;
}
.article-body {
  max-width: 100%;
}
.article-body h2 {
  border-left: 0;
  padding-left: 0;
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.article-body h2::before {
  content: '';
  width: 6px;
  min-width: 6px;
  height: 36px;
  border-radius: 99px;
  margin-top: 2px;
  background: linear-gradient(180deg, #ffb85f, #ff6d3f);
}
.article-body blockquote {
  background: linear-gradient(180deg, #f7faff, #edf3fb);
  border: 1px solid #dbe7f5;
  border-left: 6px solid #9fb5d0;
  padding: 30px 34px;
  color: #25324a;
}
.article-body blockquote::before {
  display: none;
}
.article-body blockquote p {
  margin: 0;
}
.article-body img {
  box-shadow: 0 20px 50px rgba(19, 31, 53, 0.1);
}
.article-body .callout {
  border-left-width: 6px;
}
.article-body .callout.warning {
  background: linear-gradient(180deg, #fff7e6, #fff0d3);
}
.article-body .callout.tip {
  background: linear-gradient(180deg, #effff3, #e2ffe9);
}
.article-body .callout.info {
  background: linear-gradient(180deg, #edf7ff, #e2f1ff);
}
.related-card {
  padding: 16px;
  border-radius: 24px;
}
.related-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.related-link b {
  color: var(--orange);
  opacity: 0;
  transform: translateX(-4px);
  transition: 0.18s ease;
}
.related-link:hover b {
  opacity: 1;
  transform: translateX(0);
}
.back-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.search-page .article-stack {
  margin-top: 24px;
  gap: 18px;
}
.search-page .article-card-line {
  border-radius: 22px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.search-page .article-card-line:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 159, 47, 0.36);
  box-shadow: 0 22px 44px rgba(19, 31, 53, 0.09);
}
.category-page-pro {
  width: min(1380px, calc(100% - 44px));
}
.side-nav-card {
  padding: 14px;
}
.side-category {
  border-radius: 14px;
}
.side-category:hover {
  box-shadow: inset 3px 0 0 var(--orange);
}

@media (max-width: 980px) {
  .article-layout-premium {
    width: min(100% - 28px, 860px);
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .article-main-premium {
    padding: 30px 22px;
    border-radius: 24px;
  }
  .premium-category-card i {
    display: none;
  }
}

/* v5 Ultra additions */
.breadcrumb-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid #dfe8f5;
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
  box-shadow: 0 16px 36px rgba(15, 30, 55, 0.08);
}
.breadcrumb-card a {
  color: #0d7cff;
  text-decoration: none;
  font-weight: 800;
}
.breadcrumb-card span {
  color: #94a3b8;
}
.breadcrumb-card b {
  color: #64748b;
  font-weight: 800;
}
.preview-ribbon {
  background: #101d31;
  color: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 900;
  margin-bottom: 18px;
}
.article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.article-tags span {
  border-radius: 999px;
  background: #fff1df;
  color: #e76f00;
  border: 1px solid #ffd6a6;
  padding: 7px 10px;
  font-weight: 900;
  font-size: 13px;
}
.article-actions-public {
  display: flex;
  justify-content: flex-end;
  margin: 10px 0 22px;
}
.article-actions-public button {
  border: 1px solid #dbe5f2;
  background: #fff;
  color: #14213a;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s;
}
.article-actions-public button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(15, 30, 55, 0.12);
}
.search-card-line mark,
.search-results mark {
  background: #fff1b8;
  color: #13203a;
  border-radius: 5px;
  padding: 0 2px;
}
.search-results-list small {
  display: block;
  margin-top: 10px;
  color: #ff7a35;
  font-weight: 900;
}
.search-heading {
  margin-bottom: 20px;
}
.article-body blockquote {
  background: #f5f7fb !important;
  border-left: 5px solid #b7c7dc !important;
  border-radius: 0 18px 18px 0 !important;
  margin: 28px 0 !important;
  padding: 24px 28px !important;
  color: #172238 !important;
  font-weight: 650 !important;
}
.article-body .callout {
  margin: 28px 0 !important;
  border-radius: 20px !important;
  padding: 24px 26px !important;
  box-shadow: 0 14px 32px rgba(15, 30, 55, 0.06) !important;
}
.article-body .callout.warning {
  background: #fff4dc !important;
  border: 1px solid #ffdca1 !important;
  border-left: 5px solid #ff9f2f !important;
}
.article-body .callout.tip {
  background: #eaffed !important;
  border: 1px solid #b9f3c3 !important;
  border-left: 5px solid #22c55e !important;
}
.article-body .callout.info {
  background: #e8f3ff !important;
  border: 1px solid #b9dcff !important;
  border-left: 5px solid #0d7cff !important;
}
.public-footer-premium {
  background: #07111f !important;
  color: #d8e1ef !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.public-footer-premium a {
  color: #fff !important;
}
.public-footer-premium strong {
  color: #fff;
}
.public-footer-premium p {
  color: #9fb0c8;
}
.article-main-premium {
  max-width: 1040px;
}
.article-layout-premium {
  grid-template-columns: minmax(220px, 300px) minmax(620px, 1040px);
  gap: 42px;
}
.related-link {
  transition: 0.2s;
}
.related-link:hover {
  background: #f8fafc;
  transform: translateX(4px);
}
.article-card-line,
.article-row,
.latest-card,
.premium-category-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.article-card-line:hover,
.article-row:hover,
.latest-card:hover,
.premium-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(15, 30, 55, 0.12);
  border-color: #ffb26a;
}
body::-webkit-scrollbar,
.rich-editor::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track,
.rich-editor::-webkit-scrollbar-track {
  background: #e9eef7;
}
body::-webkit-scrollbar-thumb,
.rich-editor::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffb85d, #ff6a3d);
  border-radius: 999px;
  border: 2px solid #e9eef7;
}
@media (max-width: 980px) {
  .article-layout-premium {
    grid-template-columns: 1fr;
  }
  .article-sidebar-premium {
    position: relative;
    top: auto;
  }
  .article-main-premium {
    max-width: 100%;
  }
}

/* =========================
   V6 premium visual fixes
   ========================= */
html {
  min-height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% -18%, rgba(255, 139, 61, 0.14), transparent 32%), #eef3fb;
}
body > main {
  flex: 1 0 auto;
}
.public-hero {
  flex-shrink: 0;
}
.public-footer-v6 {
  flex-shrink: 0;
}

/* Public home refinement */
.premium-home-hero {
  min-height: 390px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 139, 61, 0.22), transparent 34%),
    linear-gradient(135deg, #061326 0%, #07111f 48%, #030913 100%) !important;
}
.public-topbar-simple {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
  padding-top: 22px;
}
.public-logo img {
  transition:
    transform 0.22s ease,
    filter 0.22s ease;
}
.public-logo:hover img {
  transform: translateY(-1px);
  filter: drop-shadow(0 10px 16px rgba(255, 139, 61, 0.16));
}
.hero-center-premium {
  margin-top: 42px;
}
.hero-center-premium .eyebrow {
  color: #ffbd80;
  letter-spacing: 0.22em;
}
.hero-center-premium h1 {
  text-wrap: balance;
}
.search-wrap {
  position: relative;
  z-index: 20;
}
.search-form {
  border-radius: 22px !important;
  overflow: hidden;
  box-shadow: 0 24px 58px rgba(2, 8, 20, 0.18);
}
.search-form input {
  font-weight: 750;
}
.search-form button {
  border-radius: 16px !important;
  margin-right: 8px;
}
.search-results {
  border-radius: 22px !important;
  overflow: hidden;
  border: 1px solid #dfe7f3 !important;
  box-shadow: 0 30px 80px rgba(10, 22, 42, 0.18) !important;
}
.search-results a {
  padding: 20px 24px !important;
  display: grid !important;
  gap: 7px;
}
.search-results a:hover {
  background: linear-gradient(90deg, #fff8f2, #ffffff) !important;
  transform: none !important;
}
.search-results a strong {
  color: #13203a;
}
.search-results a span {
  color: #65748b;
  line-height: 1.45;
}

.home-sections-premium {
  width: min(1180px, calc(100% - 42px));
  padding-top: 64px;
}
.section-title {
  align-items: center;
}
.section-title span {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #adc0d6;
}
.section-title-clean span {
  background: linear-gradient(135deg, #ff7a3d, #ffb85f);
  border-radius: 7px;
  color: transparent;
}
.premium-article-list {
  gap: 18px 22px !important;
}
.premium-article-list .article-row {
  min-height: 68px;
  border-radius: 18px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.96);
}
.premium-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.premium-category-card {
  border-radius: 24px !important;
  padding: 26px !important;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(18, 28, 45, 0.07);
}
.category-thumb {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 16px 32px rgba(10, 22, 42, 0.1);
}
.premium-category-card:hover .category-thumb {
  transform: scale(1.035);
}
.category-thumb {
  transition: transform 0.22s ease;
}
.premium-latest-grid .latest-card {
  border-radius: 22px;
}

/* Article page: wider, cleaner, no huge breadcrumb card */
.article-shell {
  flex: 1;
  width: min(1540px, calc(100% - 64px));
  margin: 70px auto 86px;
  display: grid;
  grid-template-columns: 300px minmax(760px, 1120px);
  gap: 44px;
  align-items: start;
}
.article-aside {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 20px;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 16px;
  font-weight: 950;
  padding: 12px 14px;
  border-radius: 14px;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    color 0.18s ease;
}
.article-back:hover {
  background: rgba(255, 255, 255, 0.72);
  color: #0f172a;
  transform: translateX(-3px);
}
.related-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dfe8f5;
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(18, 28, 45, 0.08);
}
.related-panel-head span {
  display: block;
  color: #ff8a3d;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 950;
  margin-bottom: 6px;
}
.related-panel-head h3 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.related-panel nav {
  display: grid;
  gap: 10px;
}
.related-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: #334155;
  font-weight: 850;
  line-height: 1.25;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}
.related-pill:hover {
  background: #f8fbff;
  border-color: #e2ebf7;
  transform: translateX(4px);
  color: #071326;
}
.related-pill b {
  color: #ff7a3d;
  opacity: 0;
  transform: translateX(-4px);
  transition: 0.18s ease;
}
.related-pill:hover b {
  opacity: 1;
  transform: translateX(0);
}
.article-main-card {
  background: #fff;
  border: 1px solid #dfe8f5;
  border-radius: 34px;
  padding: clamp(42px, 4.8vw, 76px);
  box-shadow: 0 30px 90px rgba(18, 28, 45, 0.09);
  overflow: hidden;
}
.article-breadcrumb-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(180deg, #f8fbff, #fff);
  border: 1px solid #e1e9f4;
  border-radius: 18px;
  margin-bottom: 30px;
  color: #8a9ab0;
  font-weight: 900;
}
.article-breadcrumb-inline a {
  color: #0d7cff;
}
.article-breadcrumb-inline strong {
  color: #65748b;
  max-width: 100%;
}
.article-category-line {
  margin: 0 0 12px;
  color: #65748b;
  font-weight: 850;
}
.article-category-line a {
  color: #0d7cff;
}
.article-main-card h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.article-main-card .article-excerpt {
  margin: 24px 0 0;
  max-width: 920px;
  font-size: 20px;
  line-height: 1.6;
  color: #65748b;
  font-weight: 750;
}
.article-divider {
  height: 1px;
  background: #e5edf7;
  margin: 34px 0;
}
.article-tags {
  margin-top: 20px;
}
.article-body {
  font-size: 18px;
  line-height: 1.78;
  color: #1a2941;
}
.article-body p {
  margin: 0 0 22px;
}
.article-body h2 {
  margin: 44px 0 18px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.article-body h3 {
  margin: 34px 0 14px;
  font-size: 26px;
}
.article-body img {
  display: block;
  max-width: 100%;
  border-radius: 22px;
  margin: 26px auto;
  box-shadow: 0 22px 60px rgba(15, 30, 55, 0.12);
}
.article-body figure {
  margin: 30px 0;
}
.article-body figcaption {
  color: #65748b;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  margin-top: 10px;
}
.article-body iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(15, 30, 55, 0.12);
}
.article-body blockquote {
  position: relative;
  background: linear-gradient(180deg, #f7faff, #eef4fb) !important;
  border: 1px solid #d9e5f3 !important;
  border-left: 6px solid #9eb4cf !important;
  border-radius: 20px !important;
  margin: 34px 0 !important;
  padding: 28px 32px !important;
  color: #21304a !important;
  font-weight: 760 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.article-body blockquote::before {
  content: '“';
  position: absolute;
  top: 8px;
  left: 20px;
  font-size: 52px;
  color: #d1deec;
  line-height: 1;
  font-weight: 950;
}
.article-body blockquote p,
.article-body blockquote {
  padding-left: 34px !important;
}
.article-body .callout {
  margin: 32px 0 !important;
  border-radius: 24px !important;
  padding: 28px 30px !important;
  border-left-width: 7px !important;
  box-shadow: 0 18px 48px rgba(15, 30, 55, 0.07) !important;
  font-weight: 700;
}
.article-body .callout strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}
.preview-ribbon {
  border-radius: 16px;
  background: linear-gradient(135deg, #0b95e8, #1677ff);
  box-shadow: 0 16px 32px rgba(13, 124, 255, 0.18);
}

.public-footer-v6 {
  margin-top: auto;
  background: linear-gradient(135deg, #061326, #07111f 55%, #020812);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 38px 0;
}
.footer-inner-v6 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  width: min(1180px, calc(100% - 42px));
}
.footer-inner-v6 strong {
  color: #fff;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.footer-inner-v6 p {
  margin: 8px 0 0;
  color: #98a9bf;
  font-weight: 700;
}
.footer-inner-v6 nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-inner-v6 nav a {
  color: #dbe5f2 !important;
  font-weight: 900;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}
.footer-inner-v6 nav a:hover {
  color: #ffb85f !important;
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .article-shell {
    grid-template-columns: 1fr;
    width: min(900px, calc(100% - 28px));
    margin-top: 42px;
  }
  .article-aside {
    position: relative;
    top: 0;
  }
  .article-main-card {
    padding: 30px 22px;
    border-radius: 26px;
  }
  .article-main-card h1 {
    font-size: 40px;
  }
  .premium-category-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner-v6 {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   V7 final public polish
   ========================= */
.article-main-card h1 {
  font-size: clamp(34px, 3.9vw, 54px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.045em !important;
  max-width: 920px !important;
}
.article-main-card .article-excerpt {
  font-size: clamp(17px, 1.5vw, 20px) !important;
  margin-top: 20px !important;
}
.article-breadcrumb-inline {
  max-width: 100%;
  padding: 12px 14px !important;
  margin-bottom: 26px !important;
}
.article-breadcrumb-inline strong {
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}
.article-tags:not(.article-tags-bottom) {
  display: none;
}
.article-tags-bottom {
  margin-top: 44px !important;
  padding-top: 26px;
  border-top: 1px solid #e5edf7;
  display: grid !important;
  gap: 14px;
}
.article-tags-bottom p {
  margin: 0;
  color: #65748b;
  font-weight: 950;
  letter-spacing: -0.01em;
}
.article-tags-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.article-tags-bottom span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff7ec, #fff0df);
  color: #e76700;
  border: 1px solid #ffd0a0;
  padding: 8px 12px;
  font-weight: 950;
  font-size: 13px;
}
.article-body h2 {
  font-size: clamp(25px, 2.3vw, 34px) !important;
}
.article-body h3 {
  font-size: clamp(21px, 1.7vw, 26px) !important;
}
.search-page-premium {
  width: min(1120px, calc(100% - 40px));
}
.search-heading {
  max-width: 760px;
}
.empty-search-card {
  margin-top: 26px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border: 1px solid #dfe8f5;
  border-radius: 28px;
  padding: 34px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  align-items: start;
  box-shadow: 0 28px 70px rgba(18, 28, 45, 0.08);
}
.empty-search-icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff7a3d;
  background: linear-gradient(135deg, #fff1df, #ffffff);
  border: 1px solid #ffd6b4;
  font-size: 42px;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(255, 122, 61, 0.12);
}
.empty-search-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.035em;
}
.empty-search-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
  font-weight: 700;
  max-width: 760px;
}
.empty-search-card a {
  display: inline-flex;
  margin-top: 18px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a3d, #ff5b59);
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 950;
  box-shadow: 0 16px 30px rgba(255, 122, 61, 0.18);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.empty-search-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(255, 122, 61, 0.24);
}
@media (max-width: 720px) {
  .empty-search-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .empty-search-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    font-size: 34px;
  }
  .article-main-card h1 {
    font-size: 34px !important;
  }
}

/* =========================
   V9 enterprise polish
   ========================= */
html {
  scroll-behavior: smooth;
}
.article-shell-v9 {
  grid-template-columns: minmax(250px, 320px) minmax(0, 1180px);
  align-items: start;
}
.article-main-card-v9 {
  max-width: 1180px;
  padding: clamp(34px, 4vw, 70px);
}
.article-main-card-v9 h1 {
  font-size: clamp(38px, 4.1vw, 62px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.055em;
  max-width: 980px;
}
.article-main-card-v9 .article-excerpt {
  font-size: clamp(18px, 1.4vw, 24px) !important;
  max-width: 980px;
}
.article-divider-single {
  height: 1px !important;
  margin: 34px 0 !important;
  background: #dbe5f2 !important;
}
.article-body > hr:first-child {
  display: none;
}
.article-body blockquote {
  background: linear-gradient(180deg, #f7faff, #eef5ff) !important;
  border-left: 6px solid #9bb7d8 !important;
  color: #1d2a42 !important;
  padding: 22px 26px !important;
  border-radius: 0 18px 18px 0 !important;
  font-weight: 800;
}
.article-body .callout {
  border-radius: 22px !important;
  padding: 24px 28px !important;
  font-weight: 800;
}
.article-body .callout.info {
  background: #eaf4ff !important;
  border: 1px solid #9ed0ff !important;
  border-left: 7px solid #1684ff !important;
}
.article-body .callout.warning {
  background: #fff3da !important;
  border: 1px solid #ffd28a !important;
  border-left: 7px solid #ff9f2f !important;
}
.article-body .callout.tip {
  background: #eaffef !important;
  border: 1px solid #a7efb6 !important;
  border-left: 7px solid #22c55e !important;
}
.article-aside-v9 {
  position: sticky;
  top: 26px;
}
.toc-panel nav {
  display: grid;
  gap: 6px;
}
.toc-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #334155;
  font-weight: 900;
  transition: 0.18s ease;
}
.toc-panel a:hover {
  background: #f3f7fd;
  color: #0073ff;
  transform: translateX(3px);
}
.toc-panel .toc-sub {
  padding-left: 24px;
  font-size: 14px;
  color: #64748b;
}
.related-bottom {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid #dfe8f5;
}
.related-bottom span {
  color: #ff7a3d;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 950;
  font-size: 12px;
}
.related-bottom h2 {
  font-size: 30px;
  margin: 7px 0 20px;
}
.related-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.related-bottom-grid a {
  background: linear-gradient(180deg, #fff, #f9fbff);
  border: 1px solid #dfe8f5;
  border-radius: 20px;
  padding: 18px;
  transition: 0.2s ease;
  color: #172238;
}
.related-bottom-grid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(18, 28, 45, 0.1);
  border-color: #ffb071;
}
.related-bottom-grid strong {
  display: block;
  font-size: 16px;
  line-height: 1.25;
}
.related-bottom-grid small {
  display: block;
  color: #64748b;
  margin-top: 8px;
  line-height: 1.45;
}
.article-feedback {
  margin-top: 34px;
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(180deg, #fff, #f7fbff);
  border: 1px solid #dfe8f5;
}
.article-feedback h2 {
  margin: 0 0 18px;
  font-size: 26px;
}
.feedback-score {
  margin: 0 0 16px;
  color: #64748b;
  font-weight: 900;
}
.feedback-score strong {
  color: #ff7a3d;
}
.feedback-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 16px;
  align-items: start;
}
.feedback-actions form {
  margin: 0;
}
.feedback-actions button,
.support-context-box a,
.assistant-search-form button {
  border: 0;
  border-radius: 16px;
  background: #081527;
  color: #fff;
  font-weight: 950;
  padding: 15px 18px;
  cursor: pointer;
  transition: 0.18s ease;
}
.feedback-actions button:hover,
.support-context-box a:hover,
.assistant-search-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(8, 21, 39, 0.16);
}
.feedback-no {
  display: grid;
  gap: 10px;
}
.feedback-no textarea {
  border: 1px solid #dfe8f5;
  border-radius: 16px;
  padding: 14px;
  min-height: 88px;
  resize: vertical;
  font: inherit;
}
.feedback-thanks {
  padding: 18px;
  border-radius: 18px;
  background: #ecfdf3;
  border: 1px solid #b8f0c8;
  color: #15703a;
  font-weight: 950;
}
.support-context-box {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-radius: 26px;
  background: #081527;
  color: #fff;
}
.support-context-box span {
  display: block;
  color: #ffb85f;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 950;
}
.support-context-box strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}
.support-context-box a {
  background: linear-gradient(135deg, #ffb85f, #ff7a3d);
  color: #10151d;
  text-decoration: none;
  white-space: nowrap;
}
.article-tags-bottom {
  margin-top: 34px !important;
}
.empty-search-card {
  max-width: 920px;
}
.assistant-card-public {
  padding: 34px;
  border: 1px solid #dfe8f5;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(18, 28, 45, 0.08);
  margin-bottom: 26px;
}
.assistant-card-public h1 {
  margin: 8px 0 18px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.05em;
}
.assistant-search-form {
  display: flex;
  gap: 12px;
}
.assistant-search-form input {
  flex: 1;
  border: 1px solid #dfe8f5;
  border-radius: 18px;
  min-height: 58px;
  padding: 0 18px;
  font: inherit;
  font-weight: 850;
}
.public-footer {
  background: #07111f !important;
  color: #e9f0fb !important;
}
.public-footer a {
  color: #fff !important;
}
@media (max-width: 1050px) {
  .article-shell-v9 {
    grid-template-columns: 1fr;
  }
  .article-aside-v9 {
    position: relative;
    top: 0;
    order: 2;
  }
  .related-bottom-grid {
    grid-template-columns: 1fr;
  }
  .feedback-actions {
    grid-template-columns: 1fr;
  }
  .support-context-box {
    align-items: flex-start;
    flex-direction: column;
  }
  .article-main-card-v9 h1 {
    font-size: 34px !important;
  }
}
.search-results a em {
  display: block;
  margin-top: 6px;
  color: #ff7a3d;
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

/* =========================
   V10 polish: Inter, footer, responsive search, article refinement
   ========================= */
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family:
    'Inter',
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
.public-footer {
  margin-top: auto;
}
.public-footer-v10 {
  background: linear-gradient(135deg, #061326 0%, #020814 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #dbe7f7 !important;
  padding: 42px 0 !important;
}
.footer-inner-v10 {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 28px !important;
  text-align: left !important;
}
.footer-inner-v10 strong {
  display: block;
  color: #fff;
  font-size: 17px;
  margin-bottom: 10px;
}
.footer-custom {
  color: #aebbd0;
  line-height: 1.65;
  font-size: 14px;
}
.footer-custom a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-inner-v10 nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-inner-v10 nav a {
  color: #fff !important;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.section-title span {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff8a3d, #ff5b59);
  color: #fff !important;
  font-size: 18px !important;
  box-shadow: 0 12px 28px rgba(255, 122, 61, 0.22);
}
.section-title-clean span:before {
  content: '⌘';
  font-weight: 900;
}
.latest-section .section-title span:before {
  content: '↗';
}
.featured-section .section-title span:before {
  content: '★';
}
.featured-section .section-title span,
.latest-section .section-title span {
  font-size: 0 !important;
}
.premium-category-card,
.article-row,
.latest-card {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}
.premium-category-card:hover,
.article-row:hover,
.latest-card:hover {
  transform: translateY(-4px);
  border-color: #d5e1f1;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}
.premium-category-card:hover i,
.article-row:hover b {
  transform: translateX(4px);
  color: #ff7a3d;
}
.premium-category-card i,
.article-row b {
  transition: 0.2s ease;
}
.search-form {
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.search-form:focus-within {
  box-shadow:
    0 24px 64px rgba(255, 138, 61, 0.2),
    0 18px 40px rgba(3, 12, 28, 0.2);
  transform: translateY(-1px);
}
.search-results {
  max-height: min(420px, 60vh);
  overflow: auto;
}
.search-results::-webkit-scrollbar {
  width: 10px;
}
.search-results::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
  border: 3px solid #fff;
}
.search-results a:hover {
  background: #f8fbff;
}
.article-shell-v9 {
  width: min(1420px, calc(100% - 48px));
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 46px;
}
.article-main-card-v9 {
  max-width: none !important;
}
.article-main-card-v9 h1 {
  font-size: clamp(40px, 4.2vw, 66px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.055em !important;
  max-width: 1050px;
}
.article-excerpt {
  font-size: clamp(18px, 1.6vw, 24px) !important;
  line-height: 1.42;
}
.article-divider-single {
  height: 1px !important;
  border: 0 !important;
  background: #dfe8f5 !important;
  margin: 30px 0 !important;
}
.article-main-card-v9 .article-body {
  font-size: 18px;
  line-height: 1.75;
}
.article-body blockquote {
  background: #f8fbff !important;
  border: 1px solid #dbe7f4 !important;
  border-left: 6px solid #ff8a3d !important;
  border-radius: 20px !important;
  padding: 22px 26px !important;
  color: #172238 !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}
.article-body .callout {
  border-radius: 22px !important;
  padding: 24px 28px !important;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07) !important;
}
.related-panel {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.related-pill {
  border-radius: 16px !important;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    color 0.18s ease;
}
.related-pill:hover {
  background: #f6f9fd;
  transform: translateX(4px);
  color: #ff7a3d;
}
.empty-search-card {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dfe8f5;
  border-radius: 28px;
  padding: 34px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}
.empty-search-icon {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff8a3d, #ff5b59);
  color: #fff;
  font-size: 38px;
  flex: 0 0 auto;
}
.empty-search-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
}
.empty-search-card p {
  margin: 0 0 20px;
  color: #64748b;
  line-height: 1.6;
}
.empty-search-card a {
  display: inline-flex;
  border-radius: 14px;
  background: #081527;
  color: #fff;
  padding: 14px 18px;
  font-weight: 900;
}
.search-page-premium {
  min-height: 52vh;
  padding-bottom: 70px;
}
.article-tags-bottom {
  margin-top: 48px;
  border-top: 1px solid #dfe8f5;
  padding-top: 24px;
}
.article-tags-bottom p {
  font-weight: 950;
  color: #64748b;
  margin: 0 0 12px;
}
.article-tags-bottom span {
  display: inline-flex;
  margin: 0 8px 8px 0;
  border-radius: 999px;
  background: #fff4e8;
  border: 1px solid #ffd2a8;
  color: #e46b00;
  padding: 8px 12px;
  font-weight: 900;
}
.public-logo img {
  max-width: 220px;
  object-fit: contain;
}
@media (max-width: 900px) {
  .home-hero {
    min-height: auto;
    padding: 24px 0 46px;
  }
  .hero-center h1 {
    font-size: 34px;
  }
  .search-wrap {
    max-width: 100%;
    width: 100%;
  }
  .search-form {
    padding: 10px;
  }
  .search-form input {
    font-size: 16px;
    min-width: 0;
  }
  .search-form button {
    padding: 11px 14px;
  }
  .search-icon {
    font-size: 24px;
  }
  .article-list.two-col,
  .category-grid,
  .latest-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner-v10 {
    display: block !important;
    text-align: center !important;
  }
  .footer-inner-v10 nav {
    justify-content: center;
    margin-top: 22px;
  }
  .article-shell-v9 {
    width: min(100% - 28px, 760px);
    display: block;
  }
  .article-aside-v9 {
    position: relative !important;
    top: 0 !important;
    margin-bottom: 22px;
  }
  .article-main-card-v9 h1 {
    font-size: 36px !important;
  }
  .article-main-card-v9 {
    padding: 28px !important;
  }
  .empty-search-card {
    display: block;
    text-align: center;
  }
  .empty-search-icon {
    margin: 0 auto 18px;
  }
  .public-topbar {
    justify-content: center;
  }
  .public-logo img {
    height: 34px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
}
@media (max-width: 520px) {
  .container {
    width: calc(100% - 24px);
  }
  .search-form {
    border-radius: 18px;
    gap: 8px;
  }
  .search-form button {
    font-size: 14px;
    padding: 10px 12px;
  }
  .search-form input {
    font-size: 15px;
  }
  .hero-center {
    margin-top: 34px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .section-title h2 {
    font-size: 25px;
  }
  .premium-category-card {
    padding: 20px;
  }
  .category-thumb {
    width: 74px;
    height: 74px;
    border-radius: 18px;
  }
  .article-row {
    padding: 18px;
  }
  .article-main-card-v9 h1 {
    font-size: 31px !important;
  }
  .article-excerpt {
    font-size: 17px !important;
  }
  .article-breadcrumb-inline {
    font-size: 14px;
    overflow: auto;
    white-space: nowrap;
  }
  .footer-custom {
    font-size: 13px;
  }
}

/* =========================
   V12 feedback modal + article polish
   ========================= */
.article-feedback-premium {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 22px;
  padding: 30px !important;
  border-radius: 30px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%) !important;
  border: 1px solid #dfe8f5 !important;
  box-shadow: 0 22px 60px rgba(18, 28, 45, 0.08) !important;
}
.feedback-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #ff7a3d;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 950;
}
.feedback-copy h2 {
  margin: 0 0 8px !important;
  font-size: 30px !important;
  letter-spacing: -0.035em;
}
.feedback-copy p {
  margin: 0;
  color: #64748b;
  font-weight: 750;
  line-height: 1.5;
}
.feedback-copy p strong {
  color: #ff7a3d;
}
.feedback-actions-premium {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
}
.feedback-actions-premium form {
  margin: 0;
}
.feedback-yes-btn,
.feedback-no-btn {
  width: 100%;
  min-height: 96px;
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  text-align: left;
  border: 1px solid #dfe8f5 !important;
  border-radius: 22px !important;
  padding: 18px !important;
  color: #172238 !important;
  background: #fff !important;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}
.feedback-yes-btn span,
.feedback-no-btn span {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f1f5f9;
}
.feedback-yes-btn strong,
.feedback-no-btn strong {
  font-size: 16px;
  font-weight: 950;
}
.feedback-yes-btn small,
.feedback-no-btn small {
  color: #64748b;
  font-weight: 750;
  margin-top: 2px;
}
.feedback-yes-btn:hover,
.feedback-no-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(18, 28, 45, 0.12);
  border-color: rgba(255, 122, 61, 0.38) !important;
}
.feedback-yes-btn:hover span {
  background: #dcfce7;
}
.feedback-no-btn:hover span {
  background: #fff1df;
}
.feedback-thanks-premium {
  border-radius: 20px !important;
  padding: 18px 20px !important;
}
.feedback-modal[hidden] {
  display: none !important;
}
.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
}
.feedback-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 11, 24, 0.66);
  backdrop-filter: blur(8px);
}
.feedback-modal-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid #dfe8f5;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34);
  animation: feedbackModalIn 0.22s ease both;
}
@keyframes feedbackModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.feedback-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  background: #eef3f9;
  color: #172238;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.feedback-modal-kicker {
  display: block;
  color: #ff7a3d;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 8px;
}
.feedback-modal-card h2 {
  margin: 0 0 10px;
  font-size: 32px;
  letter-spacing: -0.04em;
}
.feedback-modal-card p {
  margin: 0 0 18px;
  color: #64748b;
  font-weight: 750;
  line-height: 1.55;
}
.feedback-modal-card textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  border: 1px solid #dfe8f5;
  border-radius: 20px;
  background: #fff;
  padding: 16px;
  font: inherit;
  outline: 0;
}
.feedback-modal-card textarea:focus {
  border-color: #ffb26a;
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.12);
}
.feedback-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
  margin-top: 14px;
}
.secondary-feedback-btn,
.primary-feedback-btn {
  border: 0;
  border-radius: 16px;
  padding: 15px 18px;
  font-weight: 950;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.secondary-feedback-btn {
  background: #eef3f9;
  color: #172238;
}
.primary-feedback-btn {
  background: linear-gradient(135deg, #ffb85f, #ff7a3d);
  color: #10151d;
}
.secondary-feedback-btn:hover,
.primary-feedback-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(18, 28, 45, 0.12);
}
.feedback-modal-open body {
  overflow: hidden;
}
.support-context-box-premium {
  border-radius: 28px !important;
  box-shadow: 0 24px 60px rgba(7, 17, 31, 0.16);
}

@media (max-width: 760px) {
  .article-feedback-premium {
    grid-template-columns: 1fr;
    padding: 22px !important;
  }
  .feedback-actions-premium {
    grid-template-columns: 1fr !important;
  }
  .feedback-modal-card {
    padding: 24px;
    border-radius: 24px;
  }
  .feedback-modal-actions {
    grid-template-columns: 1fr;
  }
}

/* V13 article cleanup: single separators and calmer reading */
.article-body > hr:first-child {
  display: none !important;
}
.article-body hr + hr {
  display: none !important;
}
.article-body hr {
  margin: 32px 0 !important;
  border: 0 !important;
  height: 1px !important;
  background: linear-gradient(
    90deg,
    rgba(223, 232, 245, 0),
    #dfe8f5 16%,
    #dfe8f5 84%,
    rgba(223, 232, 245, 0)
  ) !important;
}
.article-main-card-v9 .article-body {
  font-size: 18px !important;
  line-height: 1.82 !important;
  color: #20304b !important;
}
.article-body > h2:first-child,
.article-body > h3:first-child,
.article-body > p:first-child {
  margin-top: 0 !important;
}
.article-body h2 {
  margin-top: 38px !important;
  margin-bottom: 16px !important;
  font-size: clamp(24px, 2.2vw, 32px) !important;
}
.article-body h3 {
  margin-top: 28px !important;
  margin-bottom: 12px !important;
  font-size: clamp(20px, 1.6vw, 24px) !important;
}
.article-body p {
  margin-bottom: 20px !important;
}
.article-feedback-premium {
  gap: 18px !important;
}
.feedback-actions-premium {
  align-items: stretch;
}
.feedback-yes-btn,
.feedback-no-btn {
  min-height: 108px !important;
  border-radius: 24px !important;
}
.feedback-yes-btn {
  background: linear-gradient(180deg, #ffffff 0%, #f7fcf8 100%) !important;
}
.feedback-no-btn {
  background: linear-gradient(180deg, #ffffff 0%, #fff9f4 100%) !important;
}
.feedback-modal-card {
  width: min(620px, 100%) !important;
}
.feedback-modal-card textarea {
  min-height: 170px !important;
}
.support-context-box-premium {
  padding: 28px 30px !important;
}
@media (max-width: 760px) {
  .article-main-card-v9 .article-body {
    font-size: 17px !important;
    line-height: 1.75 !important;
  }
  .support-context-box-premium {
    padding: 22px !important;
  }
}

/* V14 final article/content polish */
.article-main-card-v9 {
  border-radius: 36px !important;
}
.article-main-card-v9 h1 {
  font-size: clamp(34px, 3.4vw, 52px) !important;
  max-width: 1060px !important;
}
.article-main-card-v9 .article-excerpt {
  font-size: clamp(17px, 1.35vw, 22px) !important;
  line-height: 1.52 !important;
  max-width: 1040px !important;
}
.article-divider-single {
  margin: 30px 0 34px !important;
  background: linear-gradient(90deg, #dfe8f5, rgba(223, 232, 245, 0.25)) !important;
}
.article-body {
  overflow-wrap: anywhere;
}
.article-body > h2:first-child {
  margin-top: 0 !important;
}
.article-body h2 {
  color: #1d2a42 !important;
  font-size: clamp(22px, 1.75vw, 29px) !important;
  line-height: 1.28 !important;
  letter-spacing: -0.025em !important;
}
.article-body h3 {
  color: #1d2a42 !important;
  font-size: clamp(19px, 1.35vw, 23px) !important;
}
.article-body p,
.article-body li {
  font-size: clamp(16px, 1.04vw, 18px) !important;
  color: #23314c;
}
.article-body strong {
  color: #172238;
}
.article-body a {
  color: #0d7cff;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body blockquote {
  margin: 28px 0 !important;
}
.article-body .callout {
  margin: 28px 0 !important;
}
.article-body hr {
  opacity: 1;
}
.article-body hr + p:empty,
.article-body p:empty {
  display: none !important;
}
.empty-search-card {
  border-radius: 30px !important;
}
@media (max-width: 760px) {
  .article-main-card-v9 h1 {
    font-size: 32px !important;
  }
  .article-main-card-v9 .article-excerpt {
    font-size: 17px !important;
  }
}

/* V15 public article refinements */
.toc-panel nav {
  display: grid;
  gap: 8px;
}
.toc-panel nav a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  color: #334155;
  border: 1px solid transparent;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    color 0.18s ease;
}
.toc-panel nav a span {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #eef3f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 950;
}
.toc-panel nav a strong {
  font-size: 14px;
  line-height: 1.35;
}
.toc-panel nav a:hover,
.toc-panel nav a.active {
  background: #f8fbff;
  border-color: #dfe8f5;
  color: #ff7a3d;
  transform: translateX(3px);
}
.toc-panel nav a.active span {
  background: #fff0df;
  color: #e76700;
}
.toc-panel nav a.toc-sub {
  margin-left: 12px;
  opacity: 0.92;
}
.article-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #dfe8f5;
  border-radius: 18px;
  margin: 26px 0;
  background: #fff;
}
.article-body th,
.article-body td {
  padding: 14px 16px;
  border-bottom: 1px solid #e8eef7;
  text-align: left;
}
.article-body th {
  background: #f8fbff;
  font-weight: 950;
}
.article-body tr:last-child td {
  border-bottom: 0;
}
.article-body details {
  border: 1px solid #dfe8f5;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  padding: 18px 20px;
  margin: 22px 0;
  box-shadow: 0 14px 34px rgba(18, 28, 45, 0.06);
}
.article-body details summary {
  cursor: pointer;
  font-weight: 950;
  color: #172238;
}
.article-body details p {
  margin: 14px 0 0 !important;
}
.article-body hr + hr {
  display: none !important;
}
.article-body hr:first-child {
  display: none !important;
}

/* V16 public refinements */
.search-page-premium .empty-search-card {
  margin: 28px 0 0 !important;
  max-width: 980px !important;
  align-items: center !important;
  padding: 34px 38px !important;
  border-radius: 30px !important;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%) !important;
}
.search-page-premium .empty-search-card h2 {
  font-size: 30px !important;
  letter-spacing: -0.035em !important;
}
.search-page-premium .empty-search-card p {
  max-width: 660px;
  font-weight: 750;
}
.search-page-premium .empty-search-card a {
  margin-top: 4px;
  box-shadow: 0 12px 30px rgba(8, 21, 39, 0.16);
}
.article-main-card-v9 .article-excerpt {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.article-main-card-v9 .article-divider-single {
  height: 1px !important;
  margin: 34px 0 34px !important;
  background: linear-gradient(
    90deg,
    rgba(223, 232, 245, 0),
    #dfe8f5 12%,
    #dfe8f5 88%,
    rgba(223, 232, 245, 0)
  ) !important;
}
.article-main-card-v9 .article-body > hr:first-child,
.article-main-card-v9 .article-body > p:first-child:empty {
  display: none !important;
}
.article-main-card-v9 .article-body hr + hr {
  display: none !important;
}
.article-main-card-v9 .article-body hr {
  border: 0 !important;
  height: 1px !important;
  background: linear-gradient(
    90deg,
    rgba(223, 232, 245, 0),
    #dfe8f5 12%,
    #dfe8f5 88%,
    rgba(223, 232, 245, 0)
  ) !important;
  margin: 34px 0 !important;
}
@media (max-width: 720px) {
  .search-page-premium .empty-search-card {
    display: block !important;
    text-align: left !important;
    padding: 26px !important;
  }
  .search-page-premium .empty-search-icon {
    margin: 0 0 18px !important;
  }
}

/* V19 public media blocks */
.article-body .media-embed,
.article-body figure.media-embed {
  margin: 30px 0;
}
.article-body video,
.article-body audio {
  width: 100%;
  border-radius: 22px;
  background: #081527;
  box-shadow: 0 18px 44px rgba(18, 28, 45, 0.1);
}
.article-body audio {
  padding: 12px;
  background: #f8fbff;
  border: 1px solid #dfe8f5;
}
.file-download-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-areas: 'icon title' 'icon meta';
  gap: 4px 16px;
  align-items: center;
  margin: 26px 0;
  padding: 20px;
  border: 1px solid #dfe8f5;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  text-decoration: none;
  color: #172238;
  box-shadow: 0 18px 38px rgba(18, 28, 45, 0.06);
}
.file-download-card span {
  grid-area: icon;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #081527;
  color: #ffad4d;
  font-size: 14px;
  font-weight: 950;
}
.file-download-card strong {
  grid-area: title;
  font-size: 18px;
}
.file-download-card small {
  grid-area: meta;
  color: #64748b;
  font-weight: 800;
}
.file-download-card:hover {
  transform: translateY(-2px);
  border-color: #ffbd7a;
}

/* V21: public suggestions, mobile article aside, compact search */
.empty-search-card-v21 {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
.empty-search-content {
  min-width: 0;
}
.empty-search-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.empty-search-actions button {
  display: inline-flex;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff8a3d, #ff5b59);
  color: #fff;
  padding: 14px 18px;
  font-weight: 950;
  cursor: pointer;
}
.public-suggestion-alert {
  max-width: 920px;
  margin: 0 0 18px;
  border-radius: 16px;
}
.suggest-article-card {
  max-width: 920px;
  margin: 18px 0 0;
  background: #fff;
  border: 1px solid #dfe8f5;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}
.suggest-article-card > div span {
  color: #ff7a3d;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12px;
  font-weight: 950;
}
.suggest-article-card h2 {
  margin: 8px 0 8px;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.suggest-article-card p {
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 22px;
}
.suggest-article-card form {
  display: grid;
  gap: 16px;
}
.suggest-article-card label {
  display: grid;
  gap: 8px;
  color: #172238;
  font-weight: 900;
}
.suggest-article-card textarea,
.suggest-article-card input {
  width: 100%;
  border: 1px solid #dbe6f5;
  border-radius: 18px;
  background: #f8fbff;
  padding: 15px 16px;
  font: inherit;
  color: #172238;
  outline: 0;
}
.suggest-article-card textarea {
  min-height: 130px;
  resize: vertical;
}
.suggestion-public-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.suggest-article-card button[type='submit'] {
  justify-self: start;
  border: 0;
  border-radius: 16px;
  background: #081527;
  color: #fff;
  padding: 15px 20px;
  font-weight: 950;
  cursor: pointer;
}

@media (max-width: 900px) {
  .article-aside-v9 {
    display: none !important;
  }
  .compact-hero {
    padding: 18px 0 22px !important;
  }
  .compact-hero .public-logo img {
    height: 30px !important;
  }
  .compact-hero .mini-search {
    width: min(520px, calc(100% - 28px));
    margin-top: 18px;
  }
  .compact-hero .search-form {
    min-height: 48px;
    padding: 7px 8px !important;
    border-radius: 16px !important;
  }
  .compact-hero .search-icon {
    font-size: 20px !important;
  }
  .compact-hero .search-form input {
    font-size: 14px !important;
  }
}
@media (max-width: 560px) {
  .compact-hero .mini-search {
    width: calc(100% - 22px);
  }
  .compact-hero .search-form {
    gap: 6px;
  }
  .compact-hero .search-form button {
    display: none !important;
  }
  .compact-hero .search-form input::placeholder {
    font-size: 13px;
  }
  .empty-search-card-v21 {
    padding: 24px !important;
  }
  .empty-search-actions {
    display: grid;
  }
  .empty-search-actions a,
  .empty-search-actions button {
    width: 100%;
    justify-content: center;
  }
  .suggestion-public-grid {
    grid-template-columns: 1fr;
  }
  .suggest-article-card {
    padding: 24px;
    border-radius: 24px;
  }
}

/* =========================
   V22 design responsive polish
   Ajustes finais solicitados: menos negrito, header centralizado, espaçamento menor e melhor mobile/tablet
   ========================= */
:root {
  --v22-text: #172238;
  --v22-muted: #66758d;
  --v22-soft: #eef4fb;
  --v22-border: #dfe8f5;
  --v22-dark: #061326;
  --v22-orange: #ff7a3d;
  --v22-coral: #ff5b59;
}

body {
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif !important;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Header / hero */
.public-topbar,
.public-topbar-simple,
.home-hero .public-topbar-simple {
  justify-content: center !important;
}
.public-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.public-logo img {
  height: 42px !important;
  max-width: 220px;
  object-fit: contain;
}
.home-hero.premium-home-hero {
  min-height: 0 !important;
  padding: 30px 0 64px !important;
}
.compact-hero {
  padding: 22px 0 28px !important;
}
.hero-center-premium {
  margin-top: 34px !important;
}
.hero-subtitle {
  font-weight: 500 !important;
  color: #b9c5d6 !important;
}
.search-form input {
  font-weight: 500 !important;
  letter-spacing: -0.01em;
}
.search-form input::placeholder {
  font-weight: 500 !important;
  color: #7b8796 !important;
  opacity: 0.75;
}
.search-form button,
.empty-search-actions a,
.empty-search-actions button,
.support-context-box a {
  font-weight: 650 !important;
  letter-spacing: -0.015em;
}
.search-form button:hover,
.empty-search-actions a:hover,
.empty-search-actions button:hover,
.support-context-box a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14) !important;
  filter: brightness(1.03);
}

/* Home article cards: article names less heavy */
.premium-article-list .article-row,
.article-row {
  font-weight: 500 !important;
  color: #18243a;
  min-height: 74px;
}
.premium-article-list .article-row span,
.article-row span {
  font-weight: 500 !important;
  line-height: 1.25;
}
.premium-article-list .article-row b,
.article-row b {
  font-weight: 700 !important;
}
.latest-card h3,
.article-card-line h3,
.search-card-line h3 {
  font-weight: 600 !important;
}
.latest-card p,
.article-card-line p,
.search-card-line p {
  font-weight: 500 !important;
}
.latest-card b {
  font-weight: 600 !important;
}

/* Category names less heavy */
.category-card h3,
.category-card-copy h3,
.side-category b,
.category-heading h1 {
  font-weight: 600 !important;
}
.side-category,
.side-category b {
  font-weight: 500 !important;
}
.side-category.active b {
  font-weight: 600 !important;
}
.side-category:hover {
  transform: translateX(4px) !important;
}
.side-nav-card {
  border-radius: 28px !important;
}
.category-page-pro {
  padding-top: 38px !important;
}

/* Article layout: reduce large vertical gap and make content more balanced */
.article-shell,
.article-shell-v9 {
  padding-top: 30px !important;
  padding-bottom: 80px !important;
  gap: 40px !important;
}
.article-main-card-v9 {
  padding: clamp(28px, 3.6vw, 58px) !important;
}
.article-main-card-v9 h1 {
  font-weight: 800 !important;
  font-size: clamp(34px, 3.45vw, 54px) !important;
  line-height: 1.06 !important;
}
.article-main-card-v9 .article-excerpt,
.article-excerpt {
  font-weight: 500 !important;
  color: #66758d !important;
}
.article-category-line,
.article-category-line a,
.article-breadcrumb-inline,
.article-breadcrumb-inline a,
.article-breadcrumb-inline strong {
  font-weight: 600 !important;
}
.article-breadcrumb-inline strong {
  color: #66758d !important;
}
.article-divider-single {
  margin: 28px 0 !important;
  background: #dfe8f5 !important;
}
.article-body p,
.article-body li {
  font-weight: 500 !important;
}
.article-body strong {
  font-weight: 700 !important;
}
.article-body h2,
.article-body h3 {
  font-weight: 750 !important;
}

/* Related / TOC sidebar: only section titles stronger */
.related-panel-head span,
.feedback-copy span,
.support-context-box span {
  font-weight: 650 !important;
}
.related-panel-head h3 {
  font-weight: 750 !important;
}
.related-pill span,
.related-pill,
.toc-panel nav a strong {
  font-weight: 500 !important;
}
.related-pill.active span,
.related-pill:hover span {
  font-weight: 600 !important;
}
.related-bottom-grid strong {
  font-weight: 700 !important;
}
.related-bottom-grid small {
  font-weight: 500 !important;
}

/* Feedback: only titles really bold */
.article-feedback-premium {
  align-items: stretch !important;
}
.feedback-copy h2 {
  font-weight: 800 !important;
}
.feedback-copy p {
  font-weight: 500 !important;
  color: #66758d !important;
}
.feedback-copy p strong {
  font-weight: 700 !important;
}
.feedback-yes-btn strong,
.feedback-no-btn strong {
  font-weight: 600 !important;
}
.feedback-yes-btn small,
.feedback-no-btn small {
  font-weight: 500 !important;
}
.feedback-yes-btn,
.feedback-no-btn {
  font-weight: 500 !important;
}
.support-context-box strong {
  font-weight: 750 !important;
}
.support-context-box a {
  font-size: 16px !important;
  min-height: 54px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* Search page: no eyebrow, cleaner no-result, buttons same visual weight */
.search-heading .eyebrow-light {
  display: none !important;
}
.search-heading h1 {
  font-weight: 800 !important;
}
.search-heading .muted,
.search-heading .muted span {
  font-weight: 500 !important;
}
.search-page-premium {
  padding-top: 44px !important;
}
.empty-search-card-v21,
.search-page-premium .empty-search-card {
  max-width: 1100px !important;
  margin: 26px 0 0 !important;
  grid-template-columns: 76px minmax(0, 1fr) !important;
  align-items: center !important;
  text-align: left !important;
}
.empty-search-card h2,
.search-page-premium .empty-search-card h2 {
  font-weight: 800 !important;
}
.empty-search-card p,
.empty-search-card p span,
.search-page-premium .empty-search-card p,
.search-page-premium .empty-search-card p span {
  font-weight: 500 !important;
  color: #66758d !important;
}
.empty-search-actions {
  gap: 14px !important;
}
.empty-search-actions a,
.empty-search-actions button {
  min-height: 54px !important;
  min-width: 250px !important;
  padding: 0 22px !important;
  border-radius: 16px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    background 0.2s ease !important;
}
.empty-search-actions a {
  margin-top: 0 !important;
  background: #081527 !important;
  color: #fff !important;
}
.empty-search-actions button {
  background: linear-gradient(135deg, #ff8a3d, #ff5b59) !important;
  color: #fff !important;
}
.empty-search-actions a:hover {
  background: #0f2038 !important;
}
.empty-search-actions button:hover {
  filter: brightness(1.05) !important;
}

/* General smoother hover */
.article-row,
.category-card,
.latest-card,
.article-card-line,
.related-pill,
.empty-search-actions a,
.empty-search-actions button,
.feedback-yes-btn,
.feedback-no-btn {
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease !important;
}

/* Tablet */
@media (max-width: 1100px) {
  .home-sections-premium {
    padding-top: 54px !important;
  }
  .article-shell-v9 {
    width: min(100% - 32px, 900px) !important;
    display: block !important;
    padding-top: 28px !important;
  }
  .article-aside-v9 {
    display: none !important;
  }
  .article-main-card-v9 {
    border-radius: 28px !important;
  }
  .article-feedback-premium {
    grid-template-columns: 1fr !important;
  }
  .feedback-actions-premium {
    grid-template-columns: 1fr 1fr !important;
  }
  .support-context-box-premium {
    border-radius: 26px !important;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .container {
    width: calc(100% - 24px) !important;
  }
  .public-logo img {
    height: 34px !important;
  }
  .home-hero.premium-home-hero {
    padding: 22px 0 44px !important;
  }
  .compact-hero {
    padding: 18px 0 18px !important;
  }
  .hero-center-premium {
    margin-top: 26px !important;
  }
  .hero-center-premium h1 {
    font-size: clamp(32px, 10vw, 42px) !important;
    line-height: 1.05 !important;
  }
  .hero-subtitle {
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin-bottom: 20px !important;
  }
  .search-wrap,
  .mini-search {
    width: calc(100% - 20px) !important;
    max-width: 520px !important;
  }
  .search-form {
    border-radius: 18px !important;
    min-height: 54px !important;
    padding: 8px 10px !important;
    gap: 8px !important;
  }
  .search-icon {
    font-size: 22px !important;
  }
  .search-form input {
    font-size: 15px !important;
  }
  .search-form button {
    display: none !important;
  }
  .home-sections-premium {
    padding-top: 42px !important;
    padding-bottom: 74px !important;
  }
  .section-title {
    gap: 10px !important;
    margin-bottom: 18px !important;
  }
  .section-title h2 {
    font-size: 26px !important;
    line-height: 1.15 !important;
  }
  .section-title span {
    width: 28px !important;
    height: 28px !important;
    border-radius: 9px !important;
  }
  .article-list.two-col {
    gap: 12px !important;
  }
  .article-row {
    min-height: 64px !important;
    padding: 17px 18px !important;
    border-radius: 18px !important;
  }
  .article-row span {
    font-size: 16px !important;
  }
  .category-card {
    border-radius: 22px !important;
    padding: 20px !important;
    gap: 16px !important;
  }
  .category-card .category-thumb,
  .category-thumb {
    width: 68px !important;
    height: 68px !important;
    border-radius: 18px !important;
  }
  .category-card h3 {
    font-size: 21px !important;
  }
  .category-card p {
    font-size: 14px !important;
  }
  .latest-grid {
    gap: 14px !important;
  }
  .latest-card {
    min-height: 0 !important;
    padding: 20px !important;
    border-radius: 20px !important;
  }
  .article-shell-v9 {
    width: calc(100% - 20px) !important;
    padding-top: 24px !important;
    padding-bottom: 64px !important;
  }
  .article-main-card-v9 {
    padding: 24px 20px !important;
    border-radius: 24px !important;
  }
  .article-main-card-v9 h1 {
    font-size: clamp(30px, 9vw, 38px) !important;
  }
  .article-main-card-v9 .article-excerpt {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
  .article-breadcrumb-inline {
    font-size: 14px !important;
    border-radius: 15px !important;
    margin-bottom: 22px !important;
  }
  .article-divider-single {
    margin: 22px 0 !important;
  }
  .article-body p,
  .article-body li {
    font-size: 16px !important;
  }
  .article-body h2 {
    font-size: 23px !important;
  }
  .feedback-actions-premium {
    grid-template-columns: 1fr !important;
  }
  .article-feedback-premium {
    padding: 22px !important;
    border-radius: 24px !important;
  }
  .feedback-copy h2 {
    font-size: 26px !important;
  }
  .support-context-box {
    display: grid !important;
    gap: 18px !important;
  }
  .support-context-box a {
    width: 100%;
  }
  .search-page-premium {
    width: calc(100% - 24px) !important;
    padding-top: 36px !important;
  }
  .empty-search-card-v21,
  .search-page-premium .empty-search-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    padding: 24px !important;
    border-radius: 24px !important;
  }
  .empty-search-icon {
    width: 60px !important;
    height: 60px !important;
    border-radius: 20px !important;
    font-size: 32px !important;
    margin: 0 !important;
  }
  .empty-search-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .empty-search-actions a,
  .empty-search-actions button {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 15px !important;
  }
  .category-page-pro {
    width: calc(100% - 24px) !important;
    padding-top: 34px !important;
  }
  .side-nav-card {
    padding: 12px !important;
    border-radius: 24px !important;
  }
  .side-category {
    gap: 14px !important;
    padding: 14px !important;
  }
  .side-category span {
    width: 50px !important;
    height: 50px !important;
    border-radius: 16px !important;
  }
  .side-category b {
    font-size: 18px !important;
  }
}

@media (max-width: 420px) {
  .hero-center-premium h1 {
    font-size: 31px !important;
  }
  .article-row span {
    font-size: 15px !important;
  }
  .category-card {
    display: grid !important;
    grid-template-columns: 64px 1fr !important;
  }
  .category-card i {
    display: none !important;
  }
  .empty-search-card h2 {
    font-size: 25px !important;
  }
  .empty-search-card p {
    font-size: 15px !important;
  }
}

/* =========================
   V22.1 — public lighter typography + responsive polish
   ========================= */
body,
.public-hero,
.search-form input,
.search-results,
.article-body,
.category-card,
.article-row,
.latest-card {
  font-weight: 500 !important;
}
.public-topbar-simple,
.home-hero .public-topbar-simple,
.compact-hero .public-topbar-simple {
  justify-content: center !important;
}
.public-logo {
  margin-inline: auto !important;
}
.hero-subtitle,
.search-form input,
.search-form input::placeholder {
  font-weight: 400 !important;
}
.search-form button {
  font-weight: 600 !important;
}

/* Listas públicas: links de artigos sem peso excessivo */
.article-row,
.article-row span,
.premium-article-list .article-row,
.premium-article-list .article-row span,
.article-card-line,
.article-card-line h3,
.search-card-line h3,
.latest-card h3,
.related-pill,
.related-pill span,
.side-category,
.side-category b,
.category-card,
.category-card h3,
.category-card p,
.category-card small,
.premium-category-card h3,
.premium-category-card p,
.category-card-copy h3,
.category-card-copy p,
.category-card-copy small {
  font-weight: 500 !important;
}
.article-row b,
.article-card-line b,
.related-pill b {
  font-weight: 500 !important;
}
.section-title h2,
.category-heading h1,
.article-main-card-v9 h1,
.search-heading h1,
.empty-search-card h2,
.related-panel-head h3,
.feedback-copy h2,
.support-context-box strong {
  font-weight: 720 !important;
}
.latest-card b,
.article-card-line p,
.search-card-line p,
.category-heading span,
.category-heading p,
.side-category.active b,
.article-category-line,
.article-category-line a,
.article-breadcrumb-inline,
.article-breadcrumb-inline a,
.article-breadcrumb-inline strong {
  font-weight: 500 !important;
}

/* Sidebar de artigo: recomendado com leitura mais leve */
.related-panel-head span,
.feedback-copy span,
.support-context-box span,
.article-tags-bottom p {
  font-weight: 600 !important;
}
.related-pill:hover span,
.related-pill.active span {
  font-weight: 520 !important;
}
.related-bottom-grid strong {
  font-weight: 600 !important;
}
.related-bottom-grid small {
  font-weight: 430 !important;
}

/* Feedback público: somente títulos com destaque */
.article-feedback-premium,
.feedback-actions-premium,
.feedback-yes-btn,
.feedback-no-btn {
  font-weight: 500 !important;
}
.feedback-copy p,
.feedback-copy p strong,
.feedback-yes-btn strong,
.feedback-no-btn strong,
.feedback-yes-btn small,
.feedback-no-btn small,
.support-context-box span,
.support-context-box strong,
.support-context-box a {
  font-weight: 500 !important;
}
.feedback-copy h2 {
  font-weight: 720 !important;
}
.feedback-modal-card p,
.feedback-modal-card textarea,
.feedback-modal-actions button {
  font-weight: 500 !important;
}
.feedback-modal-card h2 {
  font-weight: 700 !important;
}

/* Busca sem resultado: texto e botões mais suaves e alinhados */
.search-page-premium {
  padding-top: 38px !important;
}
.search-heading .eyebrow-light {
  display: none !important;
}
.search-heading h1 {
  font-weight: 720 !important;
}
.search-heading .muted,
.search-heading .muted span {
  font-weight: 430 !important;
}
.empty-search-card-v21,
.search-page-premium .empty-search-card {
  margin-left: 0 !important;
  margin-right: auto !important;
  align-items: center !important;
}
.empty-search-card p,
.empty-search-card p span {
  font-weight: 430 !important;
}
.empty-search-actions a,
.empty-search-actions button {
  min-height: 54px !important;
  min-width: 260px !important;
  padding: 0 22px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.22s ease,
    filter 0.22s ease,
    background 0.22s ease !important;
}
.empty-search-actions a:hover,
.empty-search-actions button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14) !important;
}

/* Header compacto: menos espaço entre hero e conteúdo */
.compact-hero {
  padding: 20px 0 24px !important;
}
.compact-hero + .article-shell,
.compact-hero + .article-shell-v9,
.compact-hero + .category-page-pro,
.compact-hero + .search-page-premium {
  margin-top: 34px !important;
  padding-top: 0 !important;
}
.article-shell,
.article-shell-v9 {
  margin-top: 34px !important;
}
.article-main-card-v9 {
  border-radius: 30px !important;
}
.article-excerpt {
  font-weight: 430 !important;
}
.article-body p,
.article-body li,
.article-body td,
.article-body th {
  font-weight: 430 !important;
}
.article-body strong {
  font-weight: 620 !important;
}
.article-body h2,
.article-body h3 {
  font-weight: 700 !important;
}

/* Categorias laterais e páginas de categoria */
.side-nav-card {
  padding: 18px !important;
}
.side-category {
  min-height: 62px !important;
  padding: 12px 14px !important;
}
.side-category.active {
  box-shadow: 0 14px 32px rgba(8, 21, 39, 0.08) !important;
}
.category-card:hover,
.article-row:hover,
.latest-card:hover,
.article-card-line:hover,
.side-category:hover,
.related-pill:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.1) !important;
}
.side-category:hover,
.related-pill:hover {
  transform: translateX(3px) !important;
}

@media (max-width: 1100px) {
  .article-shell-v9,
  .article-shell {
    margin-top: 28px !important;
    width: min(100% - 32px, 900px) !important;
  }
  .article-aside-v9 {
    display: none !important;
  }
}
@media (max-width: 720px) {
  .public-logo img {
    height: 34px !important;
  }
  .home-hero.premium-home-hero {
    padding: 22px 0 42px !important;
  }
  .compact-hero {
    padding: 18px 0 20px !important;
  }
  .compact-hero .mini-search,
  .mini-search,
  .search-wrap {
    width: calc(100% - 24px) !important;
    max-width: 520px !important;
  }
  .search-form {
    min-height: 52px !important;
    padding: 8px 10px !important;
    border-radius: 18px !important;
  }
  .search-form input {
    font-size: 15px !important;
  }
  .search-form input::placeholder {
    font-size: 14px !important;
  }
  .search-icon {
    font-size: 22px !important;
  }
  .search-form button {
    display: none !important;
  }
  .home-sections-premium {
    width: calc(100% - 24px) !important;
    padding-top: 40px !important;
  }
  .section-title h2 {
    font-size: 25px !important;
  }
  .article-list.two-col,
  .category-grid,
  .latest-grid {
    grid-template-columns: 1fr !important;
  }
  .article-row {
    padding: 17px 18px !important;
    min-height: 64px !important;
  }
  .article-row span {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }
  .category-card {
    padding: 18px !important;
    border-radius: 22px !important;
  }
  .category-card h3 {
    font-size: 20px !important;
  }
  .article-shell-v9,
  .article-shell {
    width: calc(100% - 22px) !important;
    margin-top: 24px !important;
  }
  .article-main-card-v9 {
    padding: 24px 20px !important;
    border-radius: 24px !important;
  }
  .article-main-card-v9 h1 {
    font-size: clamp(30px, 9vw, 38px) !important;
  }
  .article-feedback-premium {
    padding: 22px !important;
    border-radius: 24px !important;
  }
  .feedback-copy h2 {
    font-size: 25px !important;
  }
  .support-context-box {
    display: grid !important;
    gap: 18px !important;
  }
  .support-context-box a {
    width: 100% !important;
  }
  .empty-search-card-v21,
  .search-page-premium .empty-search-card {
    grid-template-columns: 1fr !important;
    padding: 24px !important;
    border-radius: 24px !important;
    text-align: left !important;
  }
  .empty-search-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .empty-search-actions a,
  .empty-search-actions button {
    width: 100% !important;
    min-width: 0 !important;
  }
  .category-page-pro {
    width: calc(100% - 24px) !important;
    padding-top: 28px !important;
  }
  .category-sidebar-pro {
    display: none !important;
  }
}

/* =========================
   V22.2 — ajustes de mobile, footer e pesos visuais
   ========================= */
html {
  background: #061326 !important;
  overflow-x: hidden;
}
body {
  background: radial-gradient(circle at 50% -14%, rgba(255, 159, 47, 0.08), transparent 32%), #eef3fb !important;
  overflow-x: hidden;
  font-weight: 400 !important;
}
.public-footer-v10,
.public-footer {
  background: #061326 !important;
  background-image:
    radial-gradient(circle at 50% -120%, rgba(255, 138, 61, 0.16), transparent 42%),
    linear-gradient(135deg, #061326, #020814) !important;
  color: #dbe7f7 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    0 80px 0 #061326,
    0 160px 0 #061326 !important;
}
.footer-inner-v10 strong,
.footer-info strong {
  font-weight: 650 !important;
}
.footer-custom,
.footer-custom *,
.footer-inner-v10 nav a {
  font-weight: 450 !important;
}
.footer-inner-v10 nav a:hover {
  color: #ffb85f !important;
}

/* Campo de busca sem retângulo interno no Safari/iOS */
.search-form {
  overflow: hidden !important;
  isolation: isolate;
  border: 1px solid rgba(223, 232, 245, 0.88) !important;
}
.search-form input,
.search-form input[type='search'] {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  font-weight: 400 !important;
}
.search-form input::-webkit-search-decoration,
.search-form input::-webkit-search-cancel-button,
.search-form input::-webkit-search-results-button,
.search-form input::-webkit-search-results-decoration {
  display: none !important;
}
.search-form input::placeholder {
  font-weight: 400 !important;
  color: #8b96a6 !important;
}
.compact-hero .search-form,
.home-hero .search-form {
  max-width: 100% !important;
}

/* Busca sem resultado: menos peso e botões equilibrados */
.search-heading {
  max-width: 1100px;
  margin-inline: auto;
}
.empty-search-card-v21,
.search-page-premium .empty-search-card {
  width: min(100%, 1100px) !important;
  margin: 24px auto 0 !important;
}
.empty-search-card p,
.empty-search-card p span,
.search-page-premium .empty-search-card p,
.search-page-premium .empty-search-card p span {
  font-weight: 400 !important;
}
.empty-search-actions a,
.empty-search-actions button {
  font-weight: 500 !important;
  min-height: 56px !important;
  height: 56px !important;
  min-width: 260px !important;
  border-radius: 17px !important;
}
.empty-search-actions button {
  border: 0 !important;
}
.empty-search-actions a:hover,
.empty-search-actions button:hover {
  transform: translateY(-2px) !important;
}

/* Sugestão pública mais leve */
.suggest-article-card {
  width: min(100%, 920px) !important;
  margin: 22px auto 0 !important;
}
.suggest-article-card > div span {
  font-weight: 650 !important;
}
.suggest-article-card h2 {
  font-weight: 720 !important;
}
.suggest-article-card p,
.suggest-article-card label,
.suggest-article-card input,
.suggest-article-card textarea,
.suggest-article-card button[type='submit'] {
  font-weight: 430 !important;
}
.suggest-article-card label {
  color: #172238 !important;
}
.suggest-article-card input::placeholder,
.suggest-article-card textarea::placeholder {
  font-weight: 400 !important;
  color: #9aa4b2 !important;
}
.suggest-article-card button[type='submit'] {
  font-weight: 560 !important;
}

/* Artigo: tags e continue lendo com espaçamento equilibrado */
.article-tags-bottom {
  margin-top: 36px !important;
  padding-top: 22px !important;
  margin-bottom: 34px !important;
  padding-bottom: 0 !important;
}
.article-tags-bottom p {
  font-weight: 500 !important;
  margin-bottom: 12px !important;
}
.article-tags-bottom span {
  font-weight: 500 !important;
}
.related-bottom {
  margin-top: 34px !important;
  padding-top: 30px !important;
}
.related-bottom span {
  font-weight: 600 !important;
}
.related-bottom h2 {
  font-weight: 720 !important;
}
.related-bottom-grid strong {
  font-weight: 550 !important;
}
.related-bottom-grid small {
  font-weight: 400 !important;
}

/* Feedback público: textos sem negrito excessivo e cards mais compactos */
.article-feedback-premium {
  gap: 22px !important;
}
.feedback-copy span {
  font-weight: 600 !important;
}
.feedback-copy h2 {
  font-weight: 720 !important;
}
.feedback-copy p,
.feedback-copy p strong,
.feedback-thanks,
.feedback-thanks-premium {
  font-weight: 400 !important;
}
.feedback-actions-premium {
  align-items: stretch !important;
}
.feedback-actions-premium form {
  height: 100% !important;
}
.feedback-yes-btn,
.feedback-no-btn {
  min-height: 112px !important;
  padding: 22px 24px !important;
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 18px !important;
  row-gap: 4px !important;
  align-content: center !important;
  align-items: center !important;
}
.feedback-yes-btn span,
.feedback-no-btn span {
  grid-row: 1 / span 2 !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 18px !important;
}
.feedback-yes-btn strong,
.feedback-no-btn strong {
  align-self: end !important;
  line-height: 1.15 !important;
  font-weight: 560 !important;
}
.feedback-yes-btn small,
.feedback-no-btn small {
  align-self: start !important;
  margin-top: 0 !important;
  line-height: 1.25 !important;
  font-weight: 400 !important;
}
.support-context-box span {
  font-weight: 600 !important;
}
.support-context-box strong {
  font-weight: 650 !important;
}
.support-context-box a {
  font-weight: 560 !important;
}

@media (max-width: 900px) {
  .public-footer-v10 {
    padding: 34px 0 42px !important;
  }
  .footer-inner-v10 {
    display: grid !important;
    gap: 24px !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .footer-inner-v10 nav {
    justify-content: center !important;
    gap: 18px !important;
  }
}
@media (max-width: 720px) {
  .compact-hero {
    padding: 26px 0 24px !important;
  }
  .compact-hero .public-logo img {
    height: 42px !important;
  }
  .compact-hero .mini-search,
  .mini-search,
  .search-wrap {
    width: calc(100% - 28px) !important;
  }
  .compact-hero .search-form,
  .search-form {
    min-height: 58px !important;
    border-radius: 24px !important;
    padding: 0 16px !important;
  }
  .search-icon {
    font-size: 22px !important;
    min-width: 24px;
  }
  .search-form input {
    font-size: 16px !important;
    line-height: 1.2 !important;
  }
  .search-form input::placeholder {
    font-size: 16px !important;
  }
  .search-page-premium {
    padding-top: 34px !important;
    padding-bottom: 72px !important;
  }
  .search-heading h1 {
    font-size: clamp(34px, 10vw, 52px) !important;
    line-height: 1.05 !important;
  }
  .empty-search-card-v21,
  .search-page-premium .empty-search-card {
    width: 100% !important;
    padding: 26px !important;
    gap: 18px !important;
  }
  .empty-search-card h2,
  .search-page-premium .empty-search-card h2 {
    font-size: clamp(30px, 9vw, 42px) !important;
    line-height: 1.08 !important;
  }
  .empty-search-actions {
    gap: 12px !important;
  }
  .empty-search-actions a,
  .empty-search-actions button {
    min-width: 0 !important;
    width: 100% !important;
    font-size: 15px !important;
  }
  .suggest-article-card {
    padding: 24px !important;
    border-radius: 24px !important;
  }
  .suggest-article-card h2 {
    font-size: clamp(30px, 9vw, 42px) !important;
    line-height: 1.12 !important;
  }
  .suggest-article-card p {
    font-size: 18px !important;
    line-height: 1.55 !important;
  }
  .suggest-article-card label {
    font-weight: 500 !important;
  }
  .article-tags-bottom {
    margin-bottom: 28px !important;
  }
  .related-bottom {
    margin-top: 28px !important;
  }
  .feedback-yes-btn,
  .feedback-no-btn {
    min-height: 96px !important;
    padding: 18px !important;
    grid-template-columns: 46px minmax(0, 1fr) !important;
    column-gap: 14px !important;
  }
  .feedback-yes-btn span,
  .feedback-no-btn span {
    width: 42px !important;
    height: 42px !important;
    border-radius: 15px !important;
  }
  .feedback-yes-btn strong,
  .feedback-no-btn strong {
    font-size: 18px !important;
  }
  .feedback-yes-btn small,
  .feedback-no-btn small {
    font-size: 14px !important;
  }
}
@media (max-width: 420px) {
  .compact-hero .public-logo img {
    height: 38px !important;
  }
  .search-form input::placeholder {
    font-size: 15px !important;
  }
  .empty-search-icon {
    width: 56px !important;
    height: 56px !important;
  }
}

/* =========================
   V22.3 — refinamentos finais: loader, ícones, mobile e pesos visuais
   ========================= */
.sunize-page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(255, 138, 61, 0.16), transparent 36%), #061326;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.32s ease,
    visibility 0.32s ease;
}
.sunize-page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.sunize-loader-mark {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(135deg, #ffb85f, #ff6b4a);
  box-shadow: 0 18px 55px rgba(255, 122, 61, 0.24);
}
.sunize-loader-mark::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 3px solid rgba(255, 184, 95, 0.18);
  border-top-color: #ffb85f;
  animation: sunizeSpin 0.85s linear infinite;
}
.sunize-loader-mark span {
  font-size: 46px;
  line-height: 1;
  color: #061326;
  font-weight: 700;
  font-family: Inter, system-ui, sans-serif;
  transform: translateY(-1px);
}
@keyframes sunizeSpin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sunize-loader-mark::before {
    animation: none;
  }
}

.public-footer-v10,
.public-footer {
  position: relative;
  overflow: visible !important;
}
.public-footer-v10::after,
.public-footer::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 220vh;
  background: #061326;
  pointer-events: none;
}

/* Ícones das seções com desenho real, sem ficar só um quadrado laranja */
.section-title .section-icon,
.section-title-clean .section-icon,
.featured-section .section-title .section-icon,
.latest-section .section-title .section-icon {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 14px !important;
  display: inline-grid !important;
  place-items: center !important;
  color: #fff !important;
  background: linear-gradient(135deg, #ff9f45, #ff654f) !important;
  box-shadow: 0 14px 32px rgba(255, 111, 61, 0.24) !important;
  font-size: 0 !important;
  overflow: hidden !important;
}
.section-title .section-icon::before,
.section-title-clean .section-icon::before,
.latest-section .section-title .section-icon::before,
.featured-section .section-title .section-icon::before {
  content: none !important;
  display: none !important;
}
.section-title .section-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.16));
}
.section-title h2 {
  font-weight: 720 !important;
}

/* Home: links de artigos e categorias mais leves */
.premium-article-list .article-row,
.premium-article-list .article-row span,
.article-row,
.article-row span {
  font-weight: 430 !important;
}
.premium-category-card h3,
.category-card-copy h3,
.side-category b,
.side-category {
  font-weight: 430 !important;
}
.premium-category-card:hover h3,
.article-row:hover span {
  font-weight: 500 !important;
}
.category-card-copy p,
.category-card-copy small {
  font-weight: 400 !important;
}

/* Campo de busca: remove retângulos internos do iOS/Safari e deixa responsivo */
.search-form,
.search-form * {
  -webkit-tap-highlight-color: transparent;
}
.search-form input,
.search-form input[type='search'] {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  outline: none !important;
  font-weight: 400 !important;
}
.search-form input:focus {
  background: transparent !important;
  box-shadow: none !important;
}
.search-form input::placeholder {
  font-weight: 400 !important;
  color: #8d98a8 !important;
}
.hero-subtitle {
  font-weight: 400 !important;
}

/* Artigo: tópicos, feedback e suporte com menos peso e espaçamentos menores */
.article-tags-bottom {
  margin-top: 30px !important;
  margin-bottom: 22px !important;
  padding-top: 20px !important;
}
.article-tags-bottom + .related-bottom {
  margin-top: 22px !important;
}
.article-tags-bottom p {
  font-weight: 430 !important;
  margin-bottom: 10px !important;
}
.article-tags-bottom span {
  font-weight: 430 !important;
}
.feedback-copy span {
  font-weight: 600 !important;
}
.feedback-copy p,
.feedback-thanks,
.feedback-thanks-premium {
  font-weight: 400 !important;
}
.feedback-yes-btn,
.feedback-no-btn {
  min-height: 92px !important;
  padding: 18px 22px !important;
}
.feedback-yes-btn strong,
.feedback-no-btn strong {
  font-weight: 600 !important;
  margin: 0 !important;
  align-self: end !important;
}
.feedback-yes-btn small,
.feedback-no-btn small {
  font-weight: 400 !important;
  margin: 0 !important;
  align-self: start !important;
  color: #66758d !important;
}
.support-context-box span {
  font-weight: 600 !important;
}
.support-context-box strong {
  font-weight: 650 !important;
}
.support-context-box a {
  font-weight: 560 !important;
}

/* Busca sem resultado: parágrafo e botões sem negrito pesado */
.empty-search-card p,
.empty-search-card p span {
  font-weight: 400 !important;
}
.empty-search-actions a,
.empty-search-actions button {
  font-weight: 500 !important;
}

@media (max-width: 720px) {
  .section-title .section-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 11px !important;
  }
  .section-title .section-icon svg {
    width: 17px;
    height: 17px;
  }
  .compact-hero .mini-search,
  .mini-search,
  .search-wrap {
    width: calc(100% - 28px) !important;
  }
  .search-form {
    min-height: 56px !important;
    border-radius: 24px !important;
    padding: 0 16px !important;
  }
  .search-form input {
    font-size: 16px !important;
    min-width: 0 !important;
  }
  .article-tags-bottom {
    margin-top: 24px !important;
    margin-bottom: 18px !important;
  }
  .feedback-yes-btn,
  .feedback-no-btn {
    min-height: 84px !important;
    padding: 16px !important;
  }
}

/* =========================
   V22.4 — correções finas: footer, feedback, busca sem resultado e responsividade
   ========================= */
.public-footer::after,
.public-footer-v10::after {
  content: none !important;
  display: none !important;
  height: 0 !important;
  background: transparent !important;
}
html {
  background: #f3f5fb !important;
}
body {
  background: #f3f5fb !important;
}
.public-footer-v10 {
  margin-top: auto !important;
  background: #061326 !important;
  background-image: linear-gradient(135deg, #061326 0%, #071326 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 0 !important;
  overflow: hidden !important;
}
.footer-inner-v10 {
  max-width: 1180px !important;
}

/* Cards da busca sem resultado e sugestão com a mesma largura e coluna */
.search-results-list {
  width: min(920px, 100%) !important;
  margin: 0 auto !important;
}
.search-results-list .empty-search-card-v21,
.search-results-list .suggest-article-card {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.empty-search-card-v21 {
  grid-template-columns: 76px minmax(0, 1fr) !important;
  align-items: center !important;
}
.empty-search-card-v21 .empty-search-content {
  min-width: 0 !important;
}
.empty-search-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}
.empty-search-actions a,
.empty-search-actions button {
  min-height: 50px !important;
  min-width: 230px !important;
  border: 0 !important;
  border-radius: 16px !important;
  padding: 14px 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  line-height: 1.1 !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease !important;
}
.empty-search-actions a:hover,
.empty-search-actions button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 34px rgba(18, 28, 45, 0.12) !important;
  filter: saturate(1.04) !important;
}
.empty-search-actions button {
  background: linear-gradient(135deg, #ff8a3d, #ff5b59) !important;
  color: #fff !important;
}
.empty-search-actions a {
  background: #061326 !important;
  color: #fff !important;
}

/* Feedback público alinhado e sem quebras estranhas */
.article-feedback-premium {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.15fr) !important;
  align-items: center !important;
}
.feedback-actions-premium {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 16px !important;
}
.feedback-actions-premium form {
  height: 100% !important;
  margin: 0 !important;
}
.feedback-yes-btn,
.feedback-no-btn {
  width: 100% !important;
  height: 100% !important;
  min-height: 108px !important;
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-content: center !important;
  align-items: center !important;
  justify-items: start !important;
  column-gap: 18px !important;
  row-gap: 4px !important;
  text-align: left !important;
  white-space: normal !important;
}
.feedback-yes-btn span,
.feedback-no-btn span {
  grid-row: 1 / 3 !important;
  grid-column: 1 !important;
  margin: 0 !important;
}
.feedback-yes-btn strong,
.feedback-no-btn strong {
  grid-column: 2 !important;
  grid-row: 1 !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  white-space: normal !important;
}
.feedback-yes-btn small,
.feedback-no-btn small {
  grid-column: 2 !important;
  grid-row: 2 !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  white-space: normal !important;
}
.feedback-thanks-premium {
  font-weight: 400 !important;
}

@media (max-width: 900px) {
  .search-results-list {
    width: 100% !important;
  }
  .article-feedback-premium {
    grid-template-columns: 1fr !important;
  }
  .feedback-actions-premium {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 720px) {
  .public-footer-v10 {
    padding: 30px 0 34px !important;
  }
  .empty-search-card-v21 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    text-align: left !important;
    align-items: start !important;
  }
  .empty-search-icon {
    margin: 0 0 12px 0 !important;
  }
  .empty-search-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .empty-search-actions a,
  .empty-search-actions button {
    width: 100% !important;
    min-width: 0 !important;
  }
  .suggestion-public-grid {
    grid-template-columns: 1fr !important;
  }
  .feedback-actions-premium {
    grid-template-columns: 1fr !important;
  }
  .feedback-yes-btn,
  .feedback-no-btn {
    min-height: 88px !important;
    grid-template-columns: 46px minmax(0, 1fr) !important;
    column-gap: 14px !important;
  }
}
.empty-search-card-v21 {
  display: grid !important;
}
.empty-search-actions a:focus,
.empty-search-actions button:focus {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.16) !important;
}

/* V25 — public ordering, ranking, pagination and alignment fixes */
.home-first-section {
  margin-top: 0 !important;
}
.home-sections-premium .categories-section {
  order: 1;
}
.home-sections-premium .featured-section {
  order: 2;
}
.home-sections-premium .latest-section {
  order: 3;
}
.ranked-article-list .article-row,
.article-card-line-ranked {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 180px 24px !important;
  align-items: center !important;
  gap: 22px !important;
}
.ranked-article-list .article-row {
  grid-template-columns: minmax(0, 1fr) 180px !important;
}
.article-title-with-icon,
.article-card-line-ranked h3,
.latest-card-ranked h3,
.related-bottom-grid a strong {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  min-width: 0;
}
.article-title-with-icon em,
.article-card-line-ranked h3 span,
.latest-card-ranked h3 span,
.related-bottom-grid a strong span {
  font-style: normal;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.article-book-icon {
  width: 18px;
  height: 22px;
  flex: 0 0 18px;
  margin-top: 3px;
  border-radius: 3px 6px 6px 3px;
  background: #2f66d0;
  position: relative;
  box-shadow: inset 5px 0 0 rgba(255, 255, 255, 0.32);
}
.article-book-icon::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}
.reader-rank {
  display: grid !important;
  gap: 8px;
  justify-items: start;
  align-self: center;
  color: #172238;
  font-style: normal;
  min-width: 0;
}
.reader-rank strong,
.reader-rank > b {
  font-size: 14px;
  line-height: 1.1;
  color: #172238;
  font-weight: 700 !important;
  white-space: nowrap;
}
.reader-rank span {
  display: flex !important;
  align-items: center;
  gap: 6px;
}
.reader-rank span b,
.reader-rank span i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #dbe3ed;
}
.reader-rank span b.active,
.reader-rank span i.active {
  background: #2f66d0;
}
.reader-rank-popular span b.active,
.reader-rank-popular span i.active {
  background: #2f66d0;
}
.reader-rank-some span b.active,
.reader-rank-some span i.active {
  background: #2f66d0;
}
.reader-rank-few span b.active,
.reader-rank-few span i.active {
  background: #2f66d0;
}
.latest-card-ranked {
  display: grid !important;
  gap: 14px;
  align-content: start;
}
.latest-card-ranked .reader-rank {
  margin-top: auto;
}
.article-card-line-ranked .article-arrow {
  font-size: 32px;
  color: #ff8a3d;
  justify-self: end;
}
.article-card-copy-ranked {
  min-width: 0;
}
.article-card-copy-ranked h3 {
  margin-bottom: 10px !important;
}
.article-card-copy-ranked p {
  max-width: 100%;
}
.related-bottom {
  margin-top: 32px !important;
}
.related-bottom-grid a {
  display: grid !important;
  grid-template-rows: auto auto auto;
  gap: 12px;
}
.related-bottom-grid .reader-rank {
  margin-top: 4px;
}
.related-bottom-grid .reader-rank b {
  font-size: 13px;
}
.related-bottom-grid .reader-rank span i {
  width: 8px;
  height: 8px;
}
.article-feedback-premium {
  margin-top: 34px !important;
  margin-bottom: 30px !important;
}
.article-tags-bottom + .article-feedback-premium {
  margin-top: 28px !important;
}
.search-page-v25,
.category-page-v25 {
  max-width: 1420px !important;
}
.search-heading-v25,
.search-results-list-v25,
.public-pagination-search {
  max-width: 1120px;
  margin-left: 0;
  margin-right: auto;
}
.search-results-list-v25 {
  margin-top: 28px;
}
.empty-search-card-v25,
.search-page-premium .empty-search-card-v25 {
  width: 100% !important;
  max-width: 1120px !important;
  margin: 32px 0 0 !important;
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 34px !important;
  text-align: left !important;
  padding: 48px 54px !important;
}
.empty-search-card-v25 .empty-search-icon {
  margin: 0 !important;
  width: 72px;
  height: 72px;
}
.empty-search-card-v25 h2 {
  font-size: clamp(30px, 3vw, 42px) !important;
  line-height: 1.08 !important;
}
.empty-search-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.empty-search-actions button {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff8a3d, #ff5b59);
  color: #fff;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
}
.public-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 0;
  padding: 18px;
  border: 1px solid #dfe8f5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}
.public-pagination a,
.public-pagination span,
.public-pagination strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 750;
}
.public-pagination a {
  background: #081527;
  color: #fff;
}
.public-pagination strong {
  color: #172238;
  background: #f8fbff;
  border: 1px solid #dfe8f5;
}
.public-pagination .disabled {
  color: #94a3b8;
  background: #f1f5f9;
}
.category-page-v25 .article-stack-ranked {
  display: grid;
  gap: 16px;
}
.category-page-v25 .article-card-line-ranked {
  grid-template-columns: minmax(0, 1fr) 170px 24px !important;
}
@media (max-width: 900px) {
  .ranked-article-list .article-row,
  .article-card-line-ranked,
  .category-page-v25 .article-card-line-ranked {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .reader-rank {
    justify-items: start;
  }
  .article-card-line-ranked .article-arrow {
    justify-self: start;
  }
  .empty-search-card-v25,
  .search-page-premium .empty-search-card-v25 {
    grid-template-columns: 1fr !important;
    padding: 28px !important;
    gap: 18px !important;
  }
  .empty-search-card-v25 .empty-search-icon {
    width: 64px;
    height: 64px;
  }
}
@media (max-width: 560px) {
  .article-title-with-icon,
  .article-card-line-ranked h3,
  .latest-card-ranked h3,
  .related-bottom-grid a strong {
    gap: 10px !important;
  }
  .article-book-icon {
    width: 16px;
    height: 20px;
    flex-basis: 16px;
  }
  .reader-rank strong,
  .reader-rank > b {
    font-size: 13px;
  }
  .reader-rank span b,
  .reader-rank span i {
    width: 8px;
    height: 8px;
  }
  .public-pagination {
    display: grid;
    grid-template-columns: 1fr;
  }
  .public-pagination a,
  .public-pagination span,
  .public-pagination strong {
    width: 100%;
  }
}

/* V30 — ajustes pontuais solicitados: Últimos artigos sem ícone e seta oculta só no mobile */
.latest-section .latest-card-ranked h3 {
  gap: 0 !important;
}
.latest-section .latest-card-ranked h3 .article-book-icon {
  display: none !important;
}
@media (max-width: 760px) {
  .category-page-v25 .article-card-line-ranked .article-arrow,
  .article-stack-ranked .article-card-line-ranked .article-arrow {
    display: none !important;
  }
}

/* V31 — Home compact layout refinements for categories and article sections */
.home-sections-premium {
  padding-top: 56px !important;
}

.premium-category-grid {
  gap: 18px !important;
}

.premium-category-card {
  min-height: 142px !important;
  padding: 22px !important;
  gap: 18px !important;
}

.premium-category-card .category-thumb {
  width: 76px !important;
  height: 76px !important;
  border-radius: 18px !important;
}

.premium-category-card h3 {
  margin-bottom: 6px !important;
  font-size: 20px !important;
  line-height: 1.16 !important;
}

.premium-category-card p {
  font-size: 15px !important;
  line-height: 1.36 !important;
}

.premium-category-card small {
  margin-top: 10px !important;
  font-size: 14px !important;
}

.featured-section .premium-article-list {
  gap: 14px 18px !important;
}

.featured-section .premium-article-list .article-row {
  min-height: 60px !important;
  padding: 0 18px !important;
  border-radius: 16px !important;
}

.premium-latest-grid {
  gap: 18px !important;
}

.latest-card,
.premium-latest-grid .latest-card,
.latest-card-ranked {
  min-height: 148px !important;
  padding: 20px !important;
}

.latest-card h3,
.latest-card-ranked h3 {
  margin-bottom: 7px !important;
  font-size: 20px !important;
  line-height: 1.18 !important;
}

.latest-card p {
  font-size: 15px !important;
  line-height: 1.38 !important;
}

@media (max-width: 760px) {
  .home-sections-premium {
    padding-top: 42px !important;
    padding-bottom: 72px !important;
  }

  .section-block {
    margin-bottom: 42px !important;
  }

  .section-title {
    gap: 12px !important;
    margin-bottom: 18px !important;
  }

  .section-title h2 {
    font-size: 26px !important;
    line-height: 1.08 !important;
  }

  .section-icon,
  .section-title span {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 12px !important;
  }

  .premium-category-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .premium-category-card {
    min-height: 112px !important;
    padding: 16px !important;
    gap: 14px !important;
    border-radius: 20px !important;
  }

  .premium-category-card .category-thumb {
    width: 64px !important;
    height: 64px !important;
    border-radius: 16px !important;
  }

  .premium-category-card h3 {
    margin-bottom: 4px !important;
    font-size: 18px !important;
    line-height: 1.12 !important;
  }

  .premium-category-card p {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  .premium-category-card small {
    margin-top: 8px !important;
    font-size: 13px !important;
  }

  .premium-category-card i {
    display: none !important;
  }

  .featured-section .premium-article-list .article-row:nth-child(n + 4) {
    display: none !important;
  }

  .featured-section .premium-article-list .article-row {
    min-height: 56px !important;
    padding: 14px 16px !important;
  }

  .premium-latest-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .latest-card,
  .premium-latest-grid .latest-card,
  .latest-card-ranked {
    min-height: 118px !important;
    padding: 16px !important;
    border-radius: 18px !important;
    gap: 10px !important;
  }

  .latest-card h3,
  .latest-card-ranked h3 {
    margin-bottom: 4px !important;
    font-size: 17px !important;
    line-height: 1.18 !important;
  }

  .latest-card p {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  .latest-card-ranked .reader-rank {
    margin-top: 2px !important;
  }
}

@media (min-width: 761px) {
  .featured-section .premium-article-list .article-row:nth-child(n + 5) {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .premium-category-card {
    min-height: 104px !important;
    padding: 14px !important;
  }

  .premium-category-card .category-thumb {
    width: 58px !important;
    height: 58px !important;
  }

  .premium-category-card h3 {
    font-size: 17px !important;
  }

  .section-title h2 {
    font-size: 24px !important;
  }
}


/* =========================
   V32 — category hero + compact public cards
   ========================= */
@media (min-width: 761px) {
  .premium-category-card {
    min-height: 124px !important;
    padding: 18px 20px !important;
    gap: 16px !important;
  }

  .premium-category-card .category-thumb {
    width: 68px !important;
    height: 68px !important;
    border-radius: 17px !important;
  }

  .premium-category-card h3 {
    font-size: 19px !important;
    line-height: 1.16 !important;
  }

  .premium-category-card p {
    font-size: 14px !important;
    line-height: 1.34 !important;
  }

  .premium-category-card small {
    margin-top: 8px !important;
    font-size: 13px !important;
  }

  .latest-card,
  .premium-latest-grid .latest-card,
  .latest-card-ranked {
    min-height: 132px !important;
    padding: 16px !important;
  }

  .latest-card h3,
  .latest-card-ranked h3 {
    font-size: 18px !important;
    line-height: 1.18 !important;
  }

  .latest-card p {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 760px) {
  .category-heading-pro {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: center !important;
    padding: 22px !important;
    border-radius: 26px !important;
    margin-bottom: 18px !important;
  }

  .category-heading-pro .category-thumb.large,
  .category-heading-pro .category-thumb {
    width: 72px !important;
    height: 72px !important;
    border-radius: 20px !important;
  }

  .category-heading-pro > div:last-child {
    min-width: 0 !important;
  }

  .category-heading-pro p {
    margin: 0 0 4px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    letter-spacing: 0.16em !important;
  }

  .category-heading-pro h1 {
    margin: 0 0 8px !important;
    font-size: clamp(27px, 8.6vw, 38px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.045em !important;
    text-wrap: balance;
  }

  .category-heading-pro span {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    font-size: 15px !important;
    line-height: 1.38 !important;
  }

  .premium-category-card {
    min-height: 88px !important;
    padding: 12px 14px !important;
    gap: 12px !important;
    border-radius: 18px !important;
  }

  .premium-category-card .category-thumb,
  .category-card .category-thumb,
  .category-thumb {
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
  }

  .premium-category-card h3,
  .category-card h3 {
    margin-bottom: 3px !important;
    font-size: 16px !important;
    line-height: 1.12 !important;
  }

  .premium-category-card p,
  .category-card p {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  .premium-category-card small,
  .category-card small {
    margin-top: 6px !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  .latest-card,
  .premium-latest-grid .latest-card,
  .latest-card-ranked {
    min-height: 92px !important;
    padding: 13px 14px !important;
    border-radius: 16px !important;
    gap: 8px !important;
  }

  .latest-card h3,
  .latest-card-ranked h3 {
    margin-bottom: 3px !important;
    font-size: 15.5px !important;
    line-height: 1.16 !important;
  }

  .latest-card p {
    -webkit-line-clamp: 1 !important;
    font-size: 12.5px !important;
    line-height: 1.25 !important;
  }

  .latest-card-ranked .reader-rank {
    gap: 5px !important;
    margin-top: 0 !important;
  }

  .latest-card-ranked .reader-rank strong {
    font-size: 12px !important;
  }

  .category-page-v25 .article-stack-ranked {
    gap: 12px !important;
  }

  .category-page-v25 .article-card-line-ranked {
    padding: 15px !important;
    border-radius: 18px !important;
  }

  .article-card-copy-ranked h3 {
    margin-bottom: 6px !important;
    font-size: 17px !important;
    line-height: 1.18 !important;
  }

  .article-card-copy-ranked p {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    font-size: 13px !important;
    line-height: 1.32 !important;
  }
}

@media (max-width: 420px) {
  .category-heading-pro {
    grid-template-columns: 62px minmax(0, 1fr) !important;
    gap: 13px !important;
    padding: 18px !important;
    border-radius: 24px !important;
  }

  .category-heading-pro .category-thumb.large,
  .category-heading-pro .category-thumb {
    width: 62px !important;
    height: 62px !important;
    border-radius: 18px !important;
  }

  .category-heading-pro h1 {
    font-size: clamp(24px, 8.4vw, 34px) !important;
  }

  .category-heading-pro span {
    font-size: 14px !important;
  }

  .premium-category-card {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    min-height: 82px !important;
    padding: 11px 12px !important;
  }

  .premium-category-card .category-thumb,
  .category-card .category-thumb,
  .category-thumb {
    width: 48px !important;
    height: 48px !important;
    border-radius: 13px !important;
  }
}

/* =========================
   V33 — category page hero + tighter public cards
   ========================= */
.category-heading-pro {
  position: relative !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 16% 42%, rgba(255, 138, 61, 0.1), transparent 22%),
    linear-gradient(135deg, #fff 0%, #fff 68%, #fbfdff 100%) !important;
  border: 1px solid #dce7f6 !important;
  box-shadow: 0 28px 70px rgba(12, 26, 51, 0.08) !important;
}

.category-heading-pro p {
  width: fit-content !important;
  padding: 9px 20px !important;
  border-radius: 999px !important;
  background: rgba(255, 138, 61, 0.1) !important;
  color: #ff7a3d !important;
  font-weight: 800 !important;
  letter-spacing: 0.26em !important;
}

.category-heading-pro h1 {
  max-width: 720px !important;
  color: #071637 !important;
  font-weight: 850 !important;
  letter-spacing: -0.065em !important;
  text-wrap: balance;
}

.category-heading-pro h1::after {
  content: '' !important;
  display: block !important;
  width: 96px !important;
  height: 7px !important;
  margin-top: 24px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #ff8a3d, #ff5b50) !important;
}

.category-heading-pro span {
  max-width: 540px !important;
  color: #5e6e87 !important;
  font-weight: 500 !important;
}

@media (min-width: 1101px) {
  .category-heading-pro {
    padding: 54px 62px !important;
    gap: 72px !important;
    border-radius: 42px !important;
    align-items: center !important;
  }

  .category-heading-pro .category-thumb.large,
  .category-heading-pro .category-thumb {
    width: 245px !important;
    height: 245px !important;
    border-radius: 38px !important;
    box-shadow: 0 30px 70px rgba(3, 12, 30, 0.16) !important;
  }

  .category-heading-pro h1 {
    margin: 22px 0 0 !important;
    font-size: clamp(72px, 6.2vw, 116px) !important;
    line-height: 0.9 !important;
  }

  .category-heading-pro span {
    display: block !important;
    margin-top: 28px !important;
    font-size: clamp(24px, 2vw, 34px) !important;
    line-height: 1.28 !important;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .category-heading-pro {
    padding: 38px !important;
    gap: 34px !important;
    border-radius: 36px !important;
  }

  .category-heading-pro .category-thumb.large,
  .category-heading-pro .category-thumb {
    width: 170px !important;
    height: 170px !important;
    border-radius: 32px !important;
  }

  .category-heading-pro h1 {
    margin: 16px 0 0 !important;
    font-size: clamp(54px, 6.2vw, 78px) !important;
    line-height: 0.94 !important;
  }

  .category-heading-pro h1::after {
    width: 78px !important;
    height: 6px !important;
    margin-top: 20px !important;
  }

  .category-heading-pro span {
    display: block !important;
    margin-top: 22px !important;
    font-size: 22px !important;
    line-height: 1.34 !important;
  }
}

@media (max-width: 760px) {
  .category-heading-pro {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: center !important;
    padding: 22px !important;
    border-radius: 28px !important;
    margin-bottom: 18px !important;
  }

  .category-heading-pro .category-thumb.large,
  .category-heading-pro .category-thumb {
    width: 92px !important;
    height: 92px !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 42px rgba(6, 19, 38, 0.12) !important;
  }

  .category-heading-pro p {
    margin: 0 0 8px !important;
    padding: 7px 12px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    letter-spacing: 0.2em !important;
  }

  .category-heading-pro h1 {
    margin: 0 !important;
    font-size: clamp(28px, 9.2vw, 44px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.055em !important;
  }

  .category-heading-pro h1::after {
    width: 54px !important;
    height: 4px !important;
    margin-top: 12px !important;
  }

  .category-heading-pro span {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    margin-top: 13px !important;
    font-size: 14.5px !important;
    line-height: 1.34 !important;
  }

  .premium-category-card,
  .category-card {
    min-height: 76px !important;
    padding: 10px 11px !important;
    gap: 10px !important;
    border-radius: 16px !important;
  }

  .premium-category-card .category-thumb,
  .category-card .category-thumb,
  .category-thumb {
    width: 46px !important;
    height: 46px !important;
    border-radius: 12px !important;
  }

  .premium-category-card h3,
  .category-card h3 {
    margin-bottom: 2px !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
  }

  .premium-category-card p,
  .category-card p {
    -webkit-line-clamp: 1 !important;
    font-size: 12px !important;
    line-height: 1.22 !important;
  }

  .premium-category-card small,
  .category-card small {
    margin-top: 4px !important;
    font-size: 11.5px !important;
  }

  .latest-card,
  .premium-latest-grid .latest-card,
  .latest-card-ranked {
    min-height: 78px !important;
    padding: 11px 12px !important;
    border-radius: 15px !important;
    gap: 7px !important;
  }

  .latest-card h3,
  .latest-card-ranked h3 {
    margin-bottom: 2px !important;
    font-size: 14.5px !important;
    line-height: 1.14 !important;
  }

  .latest-card p {
    -webkit-line-clamp: 1 !important;
    font-size: 12px !important;
    line-height: 1.22 !important;
  }
}

@media (max-width: 420px) {
  .category-heading-pro {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 18px !important;
    border-radius: 25px !important;
  }

  .category-heading-pro .category-thumb.large,
  .category-heading-pro .category-thumb {
    width: 76px !important;
    height: 76px !important;
    border-radius: 20px !important;
  }

  .category-heading-pro h1 {
    font-size: clamp(25px, 8.6vw, 36px) !important;
  }

  .category-heading-pro span {
    font-size: 13px !important;
  }
}

/* =========================
   V22.6 — category hero balance + article image sizes
   ========================= */
@media (min-width: 1101px) {
  .category-page-v25 .category-heading-pro {
    padding: 38px 46px !important;
    gap: 46px !important;
    border-radius: 36px !important;
    min-height: 280px !important;
  }

  .category-page-v25 .category-heading-pro .category-thumb.large,
  .category-page-v25 .category-heading-pro .category-thumb {
    width: 188px !important;
    height: 188px !important;
    border-radius: 34px !important;
    box-shadow: 0 24px 54px rgba(3, 12, 30, 0.14) !important;
  }

  .category-page-v25 .category-heading-pro p {
    width: fit-content !important;
    padding: 10px 22px !important;
    border-radius: 999px !important;
    background: #fff0e9 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    letter-spacing: 0.28em !important;
  }

  .category-page-v25 .category-heading-pro h1 {
    max-width: 620px !important;
    margin: 18px 0 0 !important;
    font-size: clamp(54px, 4.8vw, 78px) !important;
    line-height: 0.96 !important;
    font-weight: 800 !important;
    letter-spacing: -0.055em !important;
  }

  .category-page-v25 .category-heading-pro h1::after {
    width: 78px !important;
    height: 5px !important;
    margin-top: 20px !important;
  }

  .category-page-v25 .category-heading-pro span {
    max-width: 560px !important;
    margin-top: 22px !important;
    font-size: 22px !important;
    line-height: 1.34 !important;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .category-page-v25 .category-heading-pro {
    padding: 32px !important;
    gap: 30px !important;
    border-radius: 32px !important;
  }

  .category-page-v25 .category-heading-pro .category-thumb.large,
  .category-page-v25 .category-heading-pro .category-thumb {
    width: 150px !important;
    height: 150px !important;
    border-radius: 28px !important;
  }

  .category-page-v25 .category-heading-pro h1 {
    font-size: clamp(44px, 5.6vw, 62px) !important;
    line-height: 0.98 !important;
    font-weight: 790 !important;
  }

  .category-page-v25 .category-heading-pro span {
    font-size: 19px !important;
  }
}

@media (max-width: 760px) {
  .category-page-v25 .category-heading-pro {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 16px !important;
    padding: 19px !important;
  }

  .category-page-v25 .category-heading-pro .category-thumb.large,
  .category-page-v25 .category-heading-pro .category-thumb {
    width: 82px !important;
    height: 82px !important;
    border-radius: 21px !important;
  }

  .category-page-v25 .category-heading-pro h1 {
    display: block !important;
    max-width: 100% !important;
    font-size: clamp(27px, 8.4vw, 38px) !important;
    line-height: 1.02 !important;
    font-weight: 760 !important;
    letter-spacing: -0.045em !important;
    overflow-wrap: anywhere !important;
    text-wrap: balance !important;
  }

  .category-page-v25 .category-heading-pro h1::after {
    width: 50px !important;
    height: 4px !important;
    margin-top: 10px !important;
  }

  .category-page-v25 .category-heading-pro span {
    -webkit-line-clamp: 3 !important;
    margin-top: 11px !important;
    font-size: 13.5px !important;
    line-height: 1.33 !important;
  }
}

@media (max-width: 420px) {
  .category-page-v25 .category-heading-pro {
    grid-template-columns: 70px minmax(0, 1fr) !important;
    gap: 13px !important;
    padding: 16px !important;
  }

  .category-page-v25 .category-heading-pro .category-thumb.large,
  .category-page-v25 .category-heading-pro .category-thumb {
    width: 70px !important;
    height: 70px !important;
    border-radius: 18px !important;
  }

  .category-page-v25 .category-heading-pro h1 {
    font-size: clamp(24px, 8vw, 33px) !important;
  }
}

.article-body figure[data-block-type='image'],
.article-body figure.image-size-small,
.article-body figure.image-size-medium,
.article-body figure.image-size-large,
.article-body figure.image-size-full {
  text-align: center;
}

.article-body figure.image-size-small img {
  width: min(100%, 420px) !important;
}

.article-body figure.image-size-medium img {
  width: min(100%, 640px) !important;
}

.article-body figure.image-size-large img {
  width: min(100%, 860px) !important;
}

.article-body figure.image-size-full img {
  width: 100% !important;
}

/* =========================
   V22.7 — category hero desktop compact + mobile back link
   ========================= */
.mobile-back-categories {
  display: none;
}

@media (min-width: 1101px) {
  .category-page-v25 .category-heading-pro {
    padding: 30px 38px !important;
    gap: 34px !important;
    border-radius: 30px !important;
    min-height: 220px !important;
  }

  .category-page-v25 .category-heading-pro .category-thumb.large,
  .category-page-v25 .category-heading-pro .category-thumb {
    width: 150px !important;
    height: 150px !important;
    border-radius: 28px !important;
    box-shadow: 0 20px 44px rgba(3, 12, 30, 0.12) !important;
  }

  .category-page-v25 .category-heading-pro p {
    padding: 8px 18px !important;
    font-size: 12px !important;
    letter-spacing: 0.26em !important;
  }

  .category-page-v25 .category-heading-pro h1 {
    max-width: 680px !important;
    margin-top: 14px !important;
    font-size: clamp(42px, 3.85vw, 62px) !important;
    line-height: 0.98 !important;
    font-weight: 700 !important;
    letter-spacing: -0.048em !important;
  }

  .category-page-v25 .category-heading-pro h1::after {
    width: 64px !important;
    height: 4px !important;
    margin-top: 16px !important;
  }

  .category-page-v25 .category-heading-pro span {
    max-width: 560px !important;
    margin-top: 18px !important;
    font-size: 19px !important;
    line-height: 1.32 !important;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .category-page-v25 .category-heading-pro h1 {
    font-weight: 700 !important;
    letter-spacing: -0.045em !important;
  }
}

@media (max-width: 760px) {
  .mobile-back-categories {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 0 14px;
    padding: 10px 13px;
    border: 1px solid #dfe8f5;
    border-radius: 999px;
    background: #fff;
    color: #5f6f89;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  }

  .category-page-v25 .category-heading-pro h1 {
    font-weight: 680 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.04 !important;
    max-height: calc(1.04em * 3) !important;
    overflow: hidden !important;
  }
}

/* Article image custom size persisted from editor drag resize */
.article-body figure.image-size-custom,
.article-body figure[style*='--editor-image-width'] {
  width: min(100%, var(--editor-image-width, 680px));
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

.article-body figure.image-size-custom img,
.article-body figure[style*='--editor-image-width'] img {
  width: 100% !important;
  max-width: 100% !important;
}
