:root {
  --brand-dark: #0f4ea0;
  --brand-soft-accent: #60a5fa;
  --brand-accent: #1565c0;
  --paper: #f4f8fd;
  --ink: #0f172a;
  --muted: #64748b;
  --primary-text: #424242;
  --line: #dbe6f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font:
    16px/1.6 "Poppins",
    sans-serif;
}

body, body *:not(i[class*="bx"]) {
  font-family: "Poppins", sans-serif !important;
}

i[class*="bx"]::before {
  font-family: boxicons !important;
}

a {
  color: inherit;
  text-decoration: none;
}

.pub-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.pub-top {
  height: 36px;
  background: var(--brand-dark);
  color: #eaf3ff;
  font-size: 12px;
}

.pub-top .pub-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pub-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pub-socials a {
  display: inline-flex;
  width: 20px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: color .15s ease, transform .15s ease;
}

.pub-socials a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.pub-socials svg {
  display: block;
  width: 16px;
  height: 16px;
  color: #fff !important;
  fill: #fff !important;
  stroke: #fff !important;
}

.pub-socials svg path {
  fill: #fff !important;
  stroke: none !important;
}

.pub-socials svg rect,
.pub-socials svg circle {
  fill: none !important;
}

.pub-socials svg circle:last-child {
  fill: #fff !important;
  stroke: none !important;
}

.pub-socials svg rect,
.pub-socials svg circle {
  stroke: #fff !important;
}

.pub-top a,
.pub-top span {
  color: white;
  font-weight: 500;
}

.pub-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.pub-nav .pub-wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pub-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-dark);
  font:
    800 17px Poppins,
    sans-serif;
}

.pub-mark {
  height: 36px;
  width: 36px;
  display: grid;
  place-items: center;
  background: var(--brand-dark);
  color: white;
  border-radius: 4px 12px 4px 12px;
  font-size: 20px;
}

.pub-logo {
  display: block;
  width: 178px;
  height: auto;
}

.pub-brand small {
  display: block;
  font:
    700 8px "Poppins",
    sans-serif;
  color: #64748b;
}

.pub-links {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.pub-links a:hover {
  color: var(--brand-accent);
}

.pub-cta {
  display: inline-flex;
  padding: 10px 16px;
  background: var(--brand-accent);
  color: white;
  font-size: 12px;
  font-weight: 800;
}

a.pub-cta:hover {
  color: white !important;
}

.pub-footer {
  background: #0a2b4f;
  color: #fff;
  padding: 46px 0 20px;
  margin-top: 34px;
}

.pub-footer a {
  color: #cfdeed;
  text-decoration: none;
}

.pub-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pub-footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(115px, 1fr));
  gap: 26px;
  padding-bottom: 30px;
}

.pub-footer-brand img {
  display: block;
  width: 164px;
  height: auto;
}

.pub-footer-brand p {
  max-width: 290px;
  margin: 15px 0;
  color: #c4d5e7;
  font-size: 12px;
  line-height: 1.7;
}

.pub-footer-social {
  display: flex;
  gap: 9px;
}

.pub-footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff35;
  border-radius: 50%;
  color: #dbeafe;
}

.pub-footer-social a:hover {
  background: #1565c0;
}

.pub-footer-social svg {
  width: 15px;
  height: 15px;
  fill: #fff;
  color: #fff;
}

.pub-footer-social svg rect,
.pub-footer-social svg circle {
  fill: none;
  stroke: #fff;
}

.pub-footer-social svg circle:last-child {
  fill: #fff;
  stroke: none;
}

.pub-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.pub-footer-col strong {
  margin: 2px 0 5px;
  color: #92bde8;
  font:
    800 10px Poppins,
    sans-serif;
}

.pub-footer-col a,
.pub-footer-col span {
  font-size: 11px;
  line-height: 1.6;
}

.pub-footer-col p {
  max-width: 200px;
  margin: 0 0 3px;
  color: #cfdeed;
  font-size: 11px;
  line-height: 1.6;
}

.pub-store-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 5px 9px;
  border: 1px solid #ffffff55;
  border-radius: 5px;
  color: #fff !important;
}

.pub-store-link:hover {
  background: #ffffff12;
  text-decoration: none !important;
}

.pub-store-icon {
  font-size: 18px;
  color: #93c5fd;
}

.pub-store-link small,
.pub-store-link b {
  display: block;
  line-height: 1.15;
}

.pub-store-link small {
  font-size: 7px;
  color: #c4d5e7;
}

.pub-store-link b {
  font-size: 12px;
  color: #fff;
}

.pub-app-info {
  font-size: 10px !important;
  color: #b7cee5 !important;
}

.pub-copyright {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-top: 16px;
  border-top: 1px solid #ffffff22;
  color: #a9bdd2;
  font-size: 10px;
}

.pub-hero {
  background: var(--brand-dark);
  color: white;
  padding: 54px 0 62px;
}

.pub-eyebrow {
  color: var(--brand-soft-accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.pub-hero h1 {
  font:
    800 clamp(36px, 5vw, 56px)/1.12 Poppins, sans-serif;
  margin: 12px 0;
  max-width: 760px;
}

.pub-hero p {
  color: #dbeafe;
  max-width: 620px;
  margin: 0;
}

.pub-main {
  padding: 42px 0 4px;
}

.pub-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}

.pub-filter select {
  border: 1px solid var(--line);
  background: #fff;
  padding: 11px 14px;
  font: inherit;
  font-size: 13px;
}

.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pub-card {
  border: 1px solid var(--line);
  background: #fff;
  transition: 0.2s;
}

.pub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 17px 35px #1d342411;
}

.pub-image {
  height: 170px;
  background: linear-gradient(140deg, #eaf3ff, #dbeafe);
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  font-size: 37px;
  overflow: hidden;
}

.pub-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pub-card-body {
  padding: 20px;
}

.pub-meta {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
}

.pub-card h2 {
  font:
    800 19px/1.3 Poppins,
    sans-serif;
  color: var(--brand-dark);
  margin: 9px 0;
}

.pub-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 17px;
}

.pub-read {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-accent);
}

.pub-empty {
  background: var(--paper);
  padding: 28px;
  color: var(--muted);
  grid-column: 1/-1;
}

.pub-article {
  max-width: 820px;
  margin: 0 auto;
}

.pub-article-image {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  margin-bottom: 26px;
}

.pub-article h1 {
  font:
    800 clamp(35px, 5vw, 54px)/1.12 Poppins,
    sans-serif;
  color: var(--brand-dark);
  margin: 12px 0;
}

.pub-summary {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.6;
}

.pub-body {
  margin-top: 28px;
  white-space: pre-line;
  line-height: 1.9;
}

.pub-video {
  display: inline-flex;
  margin-top: 22px;
  padding: 13px 18px;
  background: var(--brand-soft-accent);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 13px;
}

@media (max-width: 700px) {
  .pub-wrap {
    width: calc(100% - 32px);
  }

  .pub-nav .pub-wrap {
    height: 68px;
  }

  .pub-logo {
    width: 150px;
  }

  .pub-links {
    gap: 13px;
    font-size: 11px;
  }

  .pub-links .hide-mobile {
    display: none;
  }

  .pub-grid {
    grid-template-columns: 1fr;
  }

  .pub-filter {
    align-items: flex-start;
    flex-direction: column;
  }

  .pub-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 25px 18px;
  }

  .pub-footer-brand,
  .pub-footer-app {
    grid-column: 1/-1;
  }

  .pub-copyright {
    align-items: flex-start;
    flex-direction: column;
  }

  .pub-hero {
    padding: 43px 0 48px;
  }

  .pub-main {
    padding-top: 28px;
  }

  .pub-image {
    height: 145px;
  }
}

.pub-sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.pub-top {
  background: #0f4ea0;
}

.pub-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.pub-links {
  color: #0f172a;
}

.pub-links a:hover {
  color: #1565c0;
}

.pub-cta {
  background: #1565c0;
  color: #fff;
  border-radius: 56px;
}

.pub-brand {
  color: #0f4ea0;
}

.pub-footer {
  background: #0f4ea0;
}

.pub-logo {
  width: 178px;
}

/* Styles moved from list.html */

.blog-hero {
  background: #f3f7fc;
  border-bottom: 1px solid #dfe8f2;
  padding: 15px 0;
}
.blog-hero .pub-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.blog-label {
  display: none;
}
.blog-hero h1 {
  max-width: 670px;
  margin: 0;
  color: #123b6a;
  font:
    800 27px/1.15 Poppins,
    sans-serif;
}
.blog-hero p {
  max-width: 470px;
  margin: 0;
  color: #53677f;
  font-size: 12px;
  line-height: 1.5;
}
.blog-count {
  max-width: 390px;
  padding: 2px 0 2px 15px;
  border-left: 2px solid #9bbde0;
  color: #53677f;
  font-size: 12px;
  line-height: 1.5;
}
.blog-count strong {
  display: none;
}
.blog-main {
  padding: 38px 0 76px;
}
.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.blog-toolbar-title {
  color: #63758a;
  font-size: 12px;
  font-weight: 600;
}
.blog-filter {
  display: flex;
  align-items: center;
  gap: 9px;
}
.blog-filter label {
  color: #52677e;
  font-size: 12px;
  font-weight: 700;
}
.blog-filter select {
  min-width: 185px;
  padding: 10px 36px 10px 13px;
  border: 1px solid #d7e2ee;
  border-radius: 5px;
  background: #fff;
  color: #253e5b;
  font:
    600 12px "Poppins",
    sans-serif;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0e8f0;
  border-radius: 6px;
  background: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: #c8d8e9;
  box-shadow: 0 14px 34px rgba(20, 55, 91, 0.1);
}
.blog-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
}
.blog-cover {
  position: relative;
  height: 188px;
  overflow: hidden;
  background: linear-gradient(140deg, #dceaf8, #edf3f9);
  color: #174e88;
}
.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.blog-card:hover .blog-cover img {
  transform: scale(1.035);
}
.blog-cover-placeholder {
  display: flex;
  height: 100%;
  align-items: flex-end;
  justify-content: space-between;
  padding: 18px;
  background:
    radial-gradient(
      circle at 78% 23%,
      rgba(255, 255, 255, 0.7),
      transparent 25%
    ),
    linear-gradient(135deg, #dceafb, #f1f6fb);
}
.blog-cover-placeholder span:first-child {
  font:
    700 11px Poppins, sans-serif;
  text-transform: uppercase;
}
.blog-cover-placeholder span:last-child {
  font:
    800 30px Poppins,
    sans-serif;
  color: rgba(21, 101, 192, 0.32);
}
.blog-type {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 6px 9px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.94);
  color: #28577f;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 19px 20px 20px;
}
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #65788d;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.blog-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #8ba2ba;
}
.blog-card h2 {
  margin: 11px 0 8px;
  color: #143d68;
  font: 700 19px/1.3 Poppins, sans-serif;
}
.blog-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 20px;
  color: #5b6e82;
  font-size: 13px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.blog-read {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid #edf1f5;
  color: #1565c0;
  font-size: 11px;
  font-weight: 800;
}
.blog-read span {
  font-size: 16px;
  transition: transform 0.2s ease;
}
.blog-card:hover .blog-read span {
  transform: translateX(3px);
}
.blog-empty {
  grid-column: 1/-1;
  padding: 52px 25px;
  border: 1px dashed #cbd9e7;
  border-radius: 6px;
  background: #f8fafc;
  text-align: center;
}
.blog-empty strong {
  color: #143d68;
  font:
    700 18px Poppins,
    sans-serif;
}
.blog-empty p {
  margin: 8px 0 0;
  color: #61748a;
  font-size: 13px;
}
@media (max-width: 850px) {
  .blog-hero .pub-wrap {
    gap: 18px;
  }
  .blog-count {
    max-width: 330px;
  }
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .blog-hero {
    padding: 13px 0;
  }
  .blog-hero .pub-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .blog-hero h1 {
    font-size: 24px;
  }
  .blog-hero p {
    font-size: 11px;
  }
  .blog-count {
    max-width: none;
    padding: 0;
    border: 0;
    font-size: 11px;
  }
  .blog-main {
    padding: 26px 0 55px;
  }
  .blog-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .blog-filter {
    width: 100%;
    justify-content: space-between;
  }
  .blog-filter select {
    min-width: 0;
    flex: 1;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .blog-cover {
    height: 185px;
  }
  .blog-card-body {
    padding: 17px;
  }
  .blog-empty {
    padding: 38px 18px;
  }
}

/* Styles moved from detail.html */

.detail-strip {
  padding: 20px 0 22px;
  background: #f3f7fc;
  border-bottom: 1px solid #dfe8f2;
}
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 11px;
  color: #315b82;
  font-size: 11px;
  font-weight: 700;
}
.detail-back:hover {
  color: #1565c0;
}
.detail-back span {
  font-size: 15px;
  line-height: 1;
}
.detail-heading {
  width: 100%;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: #5d7187;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}
.detail-meta .tag {
  padding: 3px 7px;
  border-radius: 3px;
  background: #e1edf9;
  color: #245789;
}
.detail-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #91a6bb;
}
.detail-heading h1 {
  width: 100%;
  margin: 0;
  color: #123b6a;
  font: 800 clamp(20px, 2.8vw, 28px)/1.23 Poppins,
    sans-serif;
}
.detail-summary {
  width: 100%;
  margin: 9px 0 0;
  color: #53677f;
  font-size: 14px;
  line-height: 1.65;
}
.detail-share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  color: #53677f;
  font-size: 11px;
  font-weight: 700;
}
.detail-share a,
.detail-share button {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd9e8;
  border-radius: 50%;
  background: #fff;
  color: #315b82;
  font-size: 16px;
  line-height: 1;
  transition: 0.15s;
}
.detail-share i {
  display: block;
  font-size: 16px;
  line-height: 1;
}
.detail-share a:hover,
.detail-share button:hover,
.detail-share a:focus-visible,
.detail-share button:focus-visible {
  border-color: #9bbde0;
  background: #eaf3fc;
  color: #1565c0;
}
.detail-main {
  padding: 28px 0 64px;
}
.detail-article {
  max-width: 820px;
  margin: 0 auto;
}
.detail-cover {
  display: block;
  width: 100%;
  max-height: 390px;
  object-fit: cover;
  margin: 0 0 27px;
  border-radius: 5px;
  background: #e8f0f8;
}
.detail-video {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 10px 14px;
  border: 1px solid #c8d9eb;
  border-radius: 4px;
  background: #f4f8fc;
  color: #15569a;
  font-size: 12px;
  font-weight: 800;
}
.detail-video:hover {
  background: #eaf3fc;
}
.detail-body {
  color: #33475b;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.detail-body > *:first-child {
  margin-top: 0;
}
.detail-body p {
  margin: 0 0 1.2em;
}
.detail-body h1,
.detail-body h2,
.detail-body h3,
.detail-body h4,
.detail-body h5,
.detail-body h6 {
  margin: 1.5em 0 0.55em;
  color: #143d68;
  font-family: Poppins, sans-serif;
  line-height: 1.3;
}
.detail-body h1 {
  font-size: 1.9em;
}
.detail-body h2 {
  font-size: 1.65em;
}
.detail-body h3 {
  font-size: 1.35em;
}
.detail-body h4 {
  font-size: 1.15em;
}
.detail-body ul,
.detail-body ol {
  margin: 0 0 1.2em;
  padding-left: 1.6em;
}
.detail-body ul {
  list-style: disc;
}
.detail-body ol {
  list-style: decimal;
}
.detail-body blockquote {
  margin: 1.5em 0;
  padding: 12px 18px;
  border-left: 3px solid #7eaddb;
  background: #f4f8fc;
  color: #4d647b;
}
.detail-body a {
  color: #1565c0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.detail-body img,
.detail-body video {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.detail-body figure {
  margin: 1.5em 0;
}
.detail-body figcaption {
  margin-top: 7px;
  color: #718198;
  font-size: 12px;
}
.detail-body table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  font-size: 14px;
}
.detail-body th,
.detail-body td {
  padding: 9px 11px;
  border: 1px solid #dbe5ef;
  text-align: left;
}
.detail-body th {
  background: #f3f7fc;
  color: #244563;
  font-weight: 700;
}
.detail-body hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid #dfe8f2;
}
.detail-more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 17px;
  border-top: 1px solid #e4ebf2;
}
.detail-more a {
  color: #1565c0;
  font-size: 12px;
  font-weight: 600;
}
@media (max-width: 600px) {
  .detail-strip {
    padding: 16px 0 18px;
  }
  .detail-heading h1 {
    font-size: 23px;
  }
  .detail-summary {
    font-size: 13px;
  }
  .detail-main {
    padding: 20px 0 48px;
  }
  .detail-cover {
    margin-bottom: 20px;
  }
  .detail-body {
    font-size: 15px;
  }
  .detail-body table {
    display: block;
    overflow-x: auto;
  }
}
