/* Site theme. Fonts are self-hosted woff2 with font-display:optional. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-700.woff2") format("woff2");
}

html.hp-html-preview {
  scroll-behavior: smooth;
}

html.hp-html-preview.hp-jump-main {
  scroll-behavior: auto;
}

#hp-main {
  scroll-margin-top: 64px;
}

.hp-preview {
  --hp-blue: #1a73e8;
  --hp-blue-dark: #1558b0;
  --hp-blue-deep: #0b57d0;
  --hp-blue-soft: #e8f0fe;
  --hp-green: #188038;
  --hp-yellow: #fbbc04;
  --hp-yellow-soft: #fff3c4;
  --hp-text: #202124;
  --hp-muted: #5f6368;
  --hp-line: #dadce0;
  --hp-bg: #f1f3f4;
  --hp-white: #ffffff;
  --hp-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
  --hp-shadow-hover: 0 4px 8px 3px rgba(60, 64, 67, 0.15), 0 1px 3px rgba(60, 64, 67, 0.3);
  --hp-radius: 12px;
  --hp-ad-h: 100px;
  --hp-font: "Plus Jakarta Sans", "Segoe UI", Roboto, Arial, sans-serif;
  font-family: var(--hp-font);
  color: var(--hp-text);
  background: var(--hp-bg);
  min-height: 100vh;
  line-height: 1.5;
}

.hp-preview *,
.hp-preview *::before,
.hp-preview *::after {
  box-sizing: border-box;
}

body.hp-preview {
  margin: 0;
  background: var(--hp-bg);
}

.hp-preview a { color: var(--hp-blue); }

.hp-preview img {
  max-width: 100%;
  height: auto;
}

.hp-wrap {
  width: min(1180px, calc(100% - 20px));
  margin: 0 auto;
}

.hp-official-note {
  margin: 8px auto 0;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #3c4043;
  background: #e8f0fe;
  border: 1px solid #d2e3fc;
  border-radius: 8px;
}

.hp-official-note-inline {
  margin: 10px 0 0;
  text-indent: 0;
}

.hp-official-note a {
  font-weight: 700;
}

.hp-preview-banner {
  background: #111827;
  color: #f9fafb;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  padding: 8px 12px;
  min-height: 36px;
}

.hp-preview-banner strong { color: var(--hp-yellow); }

/* Header — compact and always usable on phones */
.hp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--hp-white);
  border-bottom: 1px solid var(--hp-line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.hp-header-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 56px;
  padding: 6px 0;
}

.hp-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.hp-menu-btn span,
.hp-menu-btn span::before,
.hp-menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--hp-text);
  border-radius: 2px;
  position: relative;
}

.hp-menu-btn span::before,
.hp-menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}

.hp-menu-btn span::before { top: -6px; }
.hp-menu-btn span::after { top: 6px; }

.hp-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--hp-text);
  min-width: 0;
  flex: 1;
}

.hp-brand img {
  width: 36px;
  height: 36px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.hp-brand-name {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hp-brand-name em {
  font-style: normal;
  color: var(--hp-green);
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--hp-blue);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  border-radius: 8px;
  padding: 10px 12px;
  border: 0;
  cursor: pointer;
  min-height: 44px;
}

.hp-btn:hover { background: var(--hp-blue-dark); }

.hp-btn-dark {
  background: #202124;
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 16px;
  width: 100%;
}

.hp-btn-dark:hover { background: #000; }

.hp-catnav {
  display: none;
  width: 100%;
  order: 8;
  background: var(--hp-white);
}

.hp-catnav.show { display: block; }

.hp-catnav-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 4px 0 8px;
}

.hp-catnav-list a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--hp-text);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 4px;
  min-height: 44px;
  border-bottom: 1px solid var(--hp-line);
}

.hp-catnav-list a:hover,
.hp-catnav-list a.is-active {
  color: var(--hp-blue);
}

.hp-nav-cta { display: none; }

/* Hero */
.hp-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 14px 0 6px;
}

.hp-hero h1 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.hp-hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 10px;
  background: var(--hp-blue);
  border-radius: 4px;
}

.hp-hero-copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: #3c4043;
  text-indent: 1.5em;
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.hp-hero h1 + p {
  text-indent: 0;
}

.hp-hero-banner {
  position: relative;
  min-height: 168px;
  border-radius: 16px;
  padding: 20px 18px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, #1a73e8 0%, #0b57d0 55%, #174ea6 100%);
  box-shadow: var(--hp-shadow);
}

.hp-hero-banner::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.hp-year-pill {
  display: inline-block;
  background: var(--hp-yellow);
  color: #202124;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.hp-banner-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hp-banner-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.hp-banner-sub {
  margin: 0 0 14px;
  font-size: 14px;
  opacity: 0.92;
}

.hp-hero-banner .hp-btn {
  background: #fff;
  color: var(--hp-blue-deep) !important;
  position: relative;
  z-index: 1;
}

.hp-hero-banner .hp-btn:hover { background: var(--hp-yellow-soft); }

.hp-notice {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  background: var(--hp-yellow);
  color: #202124;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 14px 0 8px;
  font-weight: 700;
  min-height: 52px;
}

.hp-notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.hp-ad-row {
  width: 100%;
}

/* Ads: sit inside the page container, reserved height for CLS */
.hp-preview .ad-slot {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #eef1f4;
  border-radius: 8px;
  margin: 12px 0;
}

.hp-preview .ad-slot-top {
  width: 100%;
  height: var(--hp-ad-h);
  min-height: var(--hp-ad-h);
  max-height: var(--hp-ad-h);
  contain: size layout paint;
}

.hp-preview .ad-slot-top ins.adsbygoogle {
  display: block;
  width: 100%;
  height: var(--hp-ad-h);
  max-height: var(--hp-ad-h);
  overflow: hidden;
}

.hp-preview ins.adsbygoogle[data-ad-status="unfilled"] {
  min-height: var(--hp-ad-h);
  height: var(--hp-ad-h);
}

/* Free study materials hub — links to section pages, not in-page jumps */
.hp-quick {
  margin: 8px 0 4px;
}

.hp-quick-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-muted);
}

.hp-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hp-quick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  min-height: 108px;
  padding: 14px 12px;
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--hp-text);
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
}

.hp-quick-card:hover,
.hp-quick-card.is-active {
  border-color: var(--hp-blue);
  box-shadow: var(--hp-shadow-hover);
}

.hp-qicon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: 0 auto;
}

.hp-c-blue { background: #1a73e8; }
.hp-c-teal { background: #0d9488; }
.hp-c-navy { background: #1e3a5f; }
.hp-c-gold { background: #d97706; }
.hp-c-coral { background: #e11d48; }

.hp-quick-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--hp-text);
}

.hp-quick-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--hp-muted);
  font-weight: 400;
}

/* Content sections */
.hp-section {
  background: var(--hp-white);
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow);
  padding: 16px;
  margin: 14px 0;
  scroll-margin-top: 72px;
}

.hp-section h2 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}

.hp-section h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.hp-section > p {
  margin: 0 0 1.05em;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: #3c4043;
  text-indent: 1.5em;
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.hp-section h2 + p,
.hp-section h4 + p,
.hp-cta-close h4 + p {
  text-indent: 0;
}

.hp-section ul,
.hp-section ol {
  margin: 0 0 1.1em;
  padding-left: 1.35em;
  color: #3c4043;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.hp-section li { margin-bottom: 0.55em; }
.hp-section li p {
  margin: 0;
  text-indent: 0;
  line-height: 1.75;
}

.hp-faq > p,
.hp-cta-close p {
  text-indent: 0;
}

.hp-class-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
}

.hp-class-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
  color: var(--hp-text);
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 72px;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
}

.hp-class-card:hover {
  border-color: var(--hp-blue);
  box-shadow: var(--hp-shadow-hover);
}

.hp-class-card h4 {
  color: var(--hp-blue-deep);
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.hp-class-sub {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--hp-muted);
}

.hp-faq p strong {
  display: block;
  color: var(--hp-text);
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: 0;
  text-indent: 0;
}

.hp-cta-close {
  background: var(--hp-blue-soft);
  border-radius: 12px;
  padding: 14px;
  margin-top: 8px;
}

.hp-cta-close h4 {
  color: var(--hp-blue-deep);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hp-crumb {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--hp-muted);
  min-height: 20px;
}

.hp-crumb ol {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.hp-crumb a {
  text-decoration: none;
  font-weight: 700;
}

.hp-crumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--hp-muted);
}

.hp-share-title {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #5f6368;
}

/* Share with brand icons */
.hp-share {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 4px;
}

.hp-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  gap: 4px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  border-radius: 6px;
  padding: 7px 6px;
  min-height: 34px;
  white-space: nowrap;
}

.hp-share svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  fill: currentColor;
}

.hp-share-fb { background: #1877f2; }
.hp-share-x { background: #0f1419; }
.hp-share-wa { background: #25d366; }

.hp-footer {
  margin-top: 24px;
  background: #1c2331;
  color: #e8eaed;
}

.hp-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 28px 0 22px;
}

.hp-footer h6 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hp-footer h6::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--hp-blue);
  margin-top: 8px;
}

.hp-footer p,
.hp-footer a {
  color: #c5c9d1;
  font-size: 14px;
  line-height: 1.6;
}

.hp-footer a { text-decoration: none; }
.hp-footer a:hover { color: #fff; }

.hp-copy {
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
  padding: 14px;
  font-size: 13px;
}

.hp-copy a {
  color: #fff;
  text-decoration: none;
}

.hp-ico {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  background-color: currentColor;
  -webkit-mask: var(--fa) center / contain no-repeat;
  mask: var(--fa) center / contain no-repeat;
}
.hp-ico-home { --fa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.2 3 11h2v9h6v-6h2v6h6v-9h2L12 3.2z'/%3E%3C/svg%3E"); }
.hp-ico-search { --fa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 3a7 7 0 1 1 0 14 7 7 0 0 1 0-14zm0 2a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm8.3 12.6-3.1-3.1 1.4-1.4 3.1 3.1-1.4 1.4z'/%3E%3C/svg%3E"); }

@media (min-width: 480px) {
  .hp-class-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-brand-name { font-size: 0.95rem; }
}

@media (min-width: 768px) {
  .hp-preview { --hp-ad-h: 250px; }
  .hp-wrap { width: min(1180px, calc(100% - 32px)); }
  .hp-header-row {
    gap: 16px;
    min-height: 64px;
    flex-wrap: nowrap;
  }
  .hp-menu-btn { display: none; }
  .hp-brand img { width: 40px; height: 40px; }
  .hp-brand-name { font-size: 1.05rem; }
  .hp-brand { flex: 0 1 auto; }
  .hp-catnav,
  .hp-catnav.show {
    display: flex !important;
    width: auto;
    flex: 1;
    order: 0;
  }
  .hp-catnav-list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    padding: 0;
    width: 100%;
  }
  .hp-catnav-list a {
    font-size: 13px;
    padding: 8px 10px;
    min-height: 40px;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
  }
  .hp-catnav-list a:hover,
  .hp-catnav-list a.is-active {
    border-bottom-color: var(--hp-blue);
  }
  .hp-nav-cta {
    display: list-item;
    margin-left: 8px;
  }
  .hp-nav-cta .hp-btn {
    border-bottom: 0;
    min-height: 40px;
    padding: 8px 14px;
  }
  .hp-nav-cta .hp-btn:hover,
  .hp-nav-cta .hp-btn.is-active {
    border-bottom: 0;
    color: #fff;
  }
  .hp-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px;
    align-items: center;
    padding: 28px 0 8px;
  }
  .hp-hero h1 { font-size: clamp(1.45rem, 2.4vw, 2.05rem); }
  .hp-hero-banner { min-height: 220px; padding: 28px 26px; }
  .hp-banner-title { font-size: clamp(1.4rem, 2vw, 1.85rem); }
  .hp-notice {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .hp-btn-dark { width: auto; }
  .hp-quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-class-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-section { padding: 22px 24px 24px; scroll-margin-top: 80px; }
  .hp-section h2 { font-size: 1.35rem; }
  .hp-hero-copy,
  .hp-section > p {
    font-size: 1.0625rem;
    line-height: 1.9;
    text-align: justify;
    text-justify: inter-word;
  }
  .hp-faq > p,
  .hp-cta-close p {
    text-align: left;
  }
  .hp-footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 36px 0 28px;
  }
  .hp-share a { font-size: 13px; padding: 8px 10px; }
}

@media (min-width: 1100px) {
  .hp-quick-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hp-class-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hp-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
}

/* Inner pages: Bootstrap-free layout that keeps existing markup */
.hp-preview .container {
  width: min(1180px, calc(100% - 20px));
  margin: 0 auto;
  padding-bottom: 8px;
}

.hp-preview .container > .row.shadow {
  display: block;
  background: var(--hp-white);
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow);
  padding: 16px !important;
  margin: 14px auto !important;
  width: 100%;
}

.hp-preview .container > .row.mt-1 {
  background: transparent !important;
  box-shadow: none !important;
  padding: 10px 0 !important;
  margin: 0 auto 4px !important;
}

.hp-preview .breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--hp-muted);
}

.hp-preview .breadcrumb-item {
  display: flex;
  align-items: center;
}

.hp-preview .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin: 0 8px;
  color: var(--hp-muted);
  font-weight: 400;
}

.hp-preview .breadcrumb a {
  text-decoration: none;
  font-weight: 700;
  color: var(--hp-blue);
}

.hp-preview .breadcrumb-item.active,
.hp-preview .breadcrumb-item.active a {
  color: var(--hp-muted);
  font-weight: 500;
}

.hp-preview .card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hp-preview .card-body {
  padding: 0;
}

.hp-preview .card-body > h1,
.hp-preview .card-body h1,
.hp-preview .card-body > .card-title,
.hp-preview h1.card-title {
  margin: 0 0 12px;
  font-size: clamp(1.28rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--hp-text);
}

.hp-preview .card-body h2 {
  margin: 1.1em 0 0.55em;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}

.hp-preview .card-body h3,
.hp-preview .card-body h4 {
  margin: 1em 0 0.45em;
  font-weight: 700;
  line-height: 1.35;
}

.hp-preview .hp-class-card h4,
.hp-preview .card-body .hp-class-card h4 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--hp-blue-deep);
}

.hp-preview .hp-class-sub {
  text-indent: 0;
}

.hp-preview .card-body p,
.hp-preview .card-text > p,
.hp-preview .card-text p {
  margin: 0 0 1.05em;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: #3c4043;
  text-indent: 1.5em;
}

.hp-preview .card-body h1 + p,
.hp-preview .card-body h2 + p,
.hp-preview .card-body h3 + p,
.hp-preview .card-body h4 + p,
.hp-preview .card-body h1 + .card-text,
.hp-preview .card-title + p,
.hp-preview .card-title + .card-text {
  text-indent: 0;
}

.hp-preview .card-body ul,
.hp-preview .card-body ol,
.hp-preview .card-text ul,
.hp-preview .card-text ol {
  margin: 0 0 1.1em;
  padding-left: 1.35em;
  color: #3c4043;
  line-height: 1.8;
}

.hp-preview .card-body li { margin-bottom: 0.55em; }
.hp-preview .card-body li p { margin: 0; text-indent: 0; }

.hp-preview .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -5px;
  margin-right: -5px;
}

.hp-preview .col,
.hp-preview .col-md-2,
.hp-preview .col-md-3,
.hp-preview .col-md-6 {
  width: 100%;
  padding-left: 5px;
  padding-right: 5px;
}

.hp-preview .row-cols-1 > *,
.hp-preview .row-cols-2 > *,
.hp-preview .row-cols-md-3 > *,
.hp-preview .row-cols-md-4 > * {
  padding-left: 5px;
  padding-right: 5px;
}

.hp-preview .row-cols-1 > * { width: 100%; }
.hp-preview .row-cols-2 > * { width: 50%; }

.hp-preview .g-2 { row-gap: 10px; }

.hp-preview a .card.border-danger,
.hp-preview a > .card.border-primary,
.hp-preview a > .card.border-light {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  background: var(--hp-white);
  border: 1px solid var(--hp-line) !important;
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 72px;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
}

.hp-preview a .card.border-danger:hover,
.hp-preview a > .card.border-primary:hover,
.hp-preview a > .card.border-light:hover {
  border-color: var(--hp-blue) !important;
  box-shadow: var(--hp-shadow-hover);
}

.hp-preview a .card.border-danger .card-title,
.hp-preview a .card.border-danger .text-danger,
.hp-preview a .card.border-danger p,
.hp-preview a .card.border-danger span,
.hp-preview a > .card.border-primary .card-title,
.hp-preview a.text-danger {
  color: var(--hp-blue-deep) !important;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  text-indent: 0;
}

.hp-preview .card.border-danger,
.hp-preview .card.border-primary {
  background: var(--hp-white);
  border: 1px solid var(--hp-line) !important;
  border-radius: 12px;
  box-shadow: none;
  padding: 12px 14px;
  margin: 14px 0;
}

.hp-preview .card.border-primary .card-title,
.hp-preview .card.border-primary h4 {
  color: var(--hp-blue-deep);
  margin: 0;
}

.hp-preview a > .card.bg-primary,
.hp-preview a > .card.bg-danger {
  background: var(--hp-blue) !important;
  border: 0 !important;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0;
  min-height: 56px;
  box-shadow: var(--hp-shadow);
}

.hp-preview a > .card.bg-danger {
  background: #1e3a5f !important;
}

.hp-preview a > .card.bg-primary .card-title,
.hp-preview a > .card.bg-danger .card-title,
.hp-preview a > .card.bg-primary p,
.hp-preview a > .card.bg-danger p {
  color: #fff !important;
  margin: 0;
  text-indent: 0;
  font-weight: 700;
}

.hp-preview .bg-primary.text-white.rounded {
  background: var(--hp-blue-soft) !important;
  color: var(--hp-text) !important;
  border-radius: 12px;
  padding: 16px !important;
  margin-top: 18px;
}

.hp-preview .bg-primary.text-white.rounded h2,
.hp-preview .bg-primary.text-white.rounded p,
.hp-preview .bg-primary.text-white.rounded a,
.hp-preview .bg-primary.text-white.rounded .card-title {
  color: var(--hp-text) !important;
}

.hp-preview .bg-primary .card.border-light,
.hp-preview .bg-primary .card.bg-transparent {
  background: var(--hp-white) !important;
  border: 1px solid var(--hp-line) !important;
  border-radius: 12px;
  min-height: 64px;
  padding: 12px 14px;
}

.hp-preview .bg-primary .card-title.text-white {
  color: var(--hp-blue-deep) !important;
  margin: 0;
}

.hp-preview .table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 0;
}

.hp-preview .table td {
  padding: 10px 12px;
  border: 1px solid var(--hp-line);
  text-indent: 0;
}

.hp-preview .table-primary td,
.hp-preview .table tr.table-primary td {
  background: var(--hp-blue-soft);
  font-weight: 700;
  color: var(--hp-blue-deep);
}

.hp-preview .table a { font-weight: 600; text-decoration: none; }

.hp-preview .blurred-img {
  position: relative;
  overflow: hidden;
  margin: 0 0 8px;
}

.hp-preview .contentimg,
.hp-preview img.contentimg {
  display: block;
  width: 100%;
  height: auto;
}

.hp-preview blockquote {
  margin: 14px 0;
  padding: 12px 14px;
  background: var(--hp-blue-soft);
  border-radius: 12px;
  color: #3c4043;
  text-indent: 0;
}

.hp-preview hr {
  border: 0;
  border-top: 1px solid var(--hp-line);
  margin: 16px 0;
}

.hp-preview .text-decoration-none { text-decoration: none; }
.hp-preview .text-primary { color: var(--hp-blue) !important; }
.hp-preview .text-white { color: #fff; }
.hp-preview .mb-1 { margin-bottom: 4px; }
.hp-preview .mb-2 { margin-bottom: 8px; }
.hp-preview .mb-3 { margin-bottom: 12px; }
.hp-preview .mb-5 { margin-bottom: 28px; }
.hp-preview .mt-2 { margin-top: 8px; }
.hp-preview .mt-3 { margin-top: 12px; }
.hp-preview .mt-4 { margin-top: 16px; }
.hp-preview .p-1 { padding: 4px; }
.hp-preview .p-2 { padding: 8px; }
.hp-preview .p-3 { padding: 12px; }
.hp-preview .rounded { border-radius: 12px; }
.hp-preview .h-100 { height: 100%; }
.hp-preview .shadow,
.hp-preview .shadow-sm { box-shadow: none; }

@media (min-width: 768px) {
  .hp-preview .container { width: min(1180px, calc(100% - 32px)); }
  .hp-preview .col-md-2 { width: 16.66%; }
  .hp-preview .col-md-3 { width: 25%; }
  .hp-preview .col-md-6 { width: 50%; }
  .hp-preview .row-cols-md-3 > * { width: 33.33%; }
  .hp-preview .row-cols-md-4 > * { width: 25%; }
  .hp-preview .card-body p,
  .hp-preview .card-text > p,
  .hp-preview .card-text p {
    font-size: 1.0625rem;
    line-height: 1.9;
    text-align: justify;
    text-justify: inter-word;
  }
}

@media (min-width: 992px) {
  .hp-preview .row-cols-lg-5 > * { width: 20%; }
}

