:root {
  --oc-blue: #0b4aa2;
  --oc-blue-dark: #07306f;
  --oc-blue-soft: #eaf3ff;
  --oc-yellow: #f8b932;
  --oc-yellow-soft: #fff5d8;
  --oc-ink: #172033;
  --oc-muted: #5d6b82;
  --oc-line: #d8e0ed;
  --oc-bg: #f6f9fd;
  --oc-white: #ffffff;
  --oc-font: "Be Vietnam Pro", "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
}

body.onchinese-single-shell,
body.onchinese-single-shell button,
body.onchinese-single-shell input,
body.onchinese-single-shell select,
body.onchinese-single-shell textarea {
  font-family: var(--oc-font) !important;
  letter-spacing: 0 !important;
}

.oc-single,
.oc-single * {
  box-sizing: border-box;
}

.oc-single {
  min-height: 100vh;
  background: var(--oc-white);
  color: var(--oc-ink);
  font-family: var(--oc-font);
  overflow-x: hidden;
}

.oc-single :where(h1, h2, h3, h4, h5, h6, p, a, span, strong, button, input, select, textarea, summary, li) {
  font-family: var(--oc-font) !important;
}

.oc-single-container {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.oc-single a {
  color: inherit;
  text-decoration: none;
}

.oc-single h1,
.oc-single h2,
.oc-single h3,
.oc-single h4,
.oc-single p,
.oc-single strong,
.oc-single span,
.oc-single a {
  overflow-wrap: break-word;
}

.oc-product-hero__grid > *,
.oc-product-detail-grid > *,
.oc-product-faq-grid > *,
.oc-blog-hero__grid > *,
.oc-blog-layout > *,
.oc-blog-content-wrap,
.oc-blog-sidebar {
  min-width: 0;
}

.oc-single-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--oc-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.oc-single-breadcrumb a {
  color: var(--oc-blue);
}

.oc-single-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.oc-single-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(11, 74, 162, 0.16);
  border-radius: 999px;
  background: var(--oc-blue-soft);
  color: var(--oc-blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.oc-single-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--oc-blue);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.oc-single .oc-single-btn--primary {
  background: linear-gradient(135deg, var(--oc-blue), #0d61c8 52%, var(--oc-blue-dark));
  color: #fff;
  box-shadow: 0 14px 30px rgba(11, 74, 162, 0.22), inset 0 -4px 0 rgba(248, 185, 50, 0.24);
}

.oc-single .oc-single-btn--yellow {
  border-color: #e1a41f;
  background: linear-gradient(135deg, var(--oc-yellow), #ffd769 55%, #fff4cf);
  color: #13213a;
  box-shadow: 0 14px 30px rgba(248, 185, 50, 0.24), inset 0 -4px 0 rgba(11, 74, 162, 0.12);
}

.oc-single .oc-single-btn--outline {
  background: #fff;
  color: var(--oc-blue-dark);
  box-shadow: 0 10px 22px rgba(11, 74, 162, 0.1);
}

@media (hover: hover) {
  .oc-single a:hover {
    color: var(--oc-blue);
  }

  .oc-single-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(11, 74, 162, 0.24), 0 0 0 4px rgba(248, 185, 50, 0.16);
  }

  .oc-single .oc-single-btn--yellow:hover {
    color: #10213d;
    background: linear-gradient(135deg, #ffd96b, var(--oc-yellow) 55%, #f0a91d);
  }
}

.oc-single-btn:active {
  transform: translateY(0) scale(0.985);
}

.oc-single-section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.oc-single-section-head > span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--oc-blue);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.oc-single-section-head h2 {
  margin: 0;
  color: var(--oc-ink);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
}

.oc-rich-content {
  color: #26344e;
  font-size: 17px;
  line-height: 1.82;
}

.oc-rich-content > *:first-child {
  margin-top: 0;
}

.oc-rich-content p,
.oc-rich-content ul,
.oc-rich-content ol {
  margin: 0 0 20px;
}

.oc-rich-content h2,
.oc-rich-content h3,
.oc-rich-content h4 {
  margin: 34px 0 14px;
  color: var(--oc-blue-dark);
  font-weight: 900;
  line-height: 1.25;
}

.oc-rich-content h2 {
  padding-bottom: 10px;
  border-bottom: 3px solid rgba(248, 185, 50, 0.5);
  font-size: 28px;
}

.oc-rich-content h3 {
  font-size: 23px;
}

.oc-rich-content blockquote {
  margin: 28px 0;
  padding: 22px;
  border-left: 5px solid var(--oc-yellow);
  border-radius: 8px;
  background: var(--oc-yellow-soft);
  color: #27344c;
  font-weight: 700;
}

.oc-rich-content table {
  width: 100%;
  margin: 26px 0;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--oc-line);
  border-radius: 8px;
  font-size: 15px;
}

.oc-rich-content th,
.oc-rich-content td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--oc-line);
  text-align: left;
}

.oc-rich-content th {
  background: var(--oc-blue-soft);
  color: var(--oc-blue-dark);
  font-weight: 900;
}

.oc-rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Product */
.oc-product-hero {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-bottom: 1px solid var(--oc-line);
}

.oc-product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 38px;
  align-items: start;
}

.oc-product-hero__copy h1 {
  display: block;
  max-width: 760px;
  margin: 0;
  color: var(--oc-ink);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.08;
  overflow-wrap: anywhere;
  white-space: normal !important;
  text-wrap: balance;
}

.oc-product-hero__excerpt {
  display: block;
  max-width: 720px;
  margin: 20px 0 26px;
  color: #40506a;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75;
  overflow-wrap: anywhere;
  white-space: normal !important;
}

.oc-product-hero__excerpt p {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  white-space: normal !important;
}

.oc-product-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.oc-product-facts div {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(11, 74, 162, 0.13);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 39, 74, 0.06);
}

.oc-product-facts span,
.oc-product-price span,
.oc-product-teacher-card > span {
  display: block;
  margin-bottom: 6px;
  color: var(--oc-muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.oc-product-facts strong {
  display: block;
  color: var(--oc-blue-dark);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.oc-product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.oc-product-enroll-card {
  position: sticky;
  top: 118px;
  padding: 16px;
  border: 1px solid rgba(11, 74, 162, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(18, 39, 74, 0.16);
}

.oc-product-enroll-card__media {
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--oc-blue-soft);
}

.oc-product-enroll-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}

.oc-product-enroll-card__fallback {
  display: grid;
  place-items: center;
  min-height: 230px;
  background: linear-gradient(135deg, var(--oc-blue), #0d61c8);
  color: #fff;
}

.oc-product-enroll-card__fallback span,
.oc-blog-hero__fallback span {
  display: block;
  color: var(--oc-yellow);
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
}

.oc-product-enroll-card__fallback strong,
.oc-blog-hero__fallback strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 900;
}

.oc-product-price {
  padding: 0 4px 16px;
  border-bottom: 1px solid var(--oc-line);
}

.oc-product-price strong {
  display: block;
  color: var(--oc-blue-dark);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.15;
}

.oc-product-buybox {
  padding: 18px 4px;
}

.oc-product-buybox form.cart {
  display: grid;
  gap: 12px;
  margin: 0;
}

.oc-product-buybox .quantity {
  display: flex;
  width: 100%;
}

.oc-product-buybox .quantity input.qty {
  width: 100%;
  height: 46px;
  border: 1px solid var(--oc-line);
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.oc-product-buybox button.single_add_to_cart_button,
.oc-product-buybox .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  min-height: 50px !important;
  padding: 0 18px !important;
  border: 2px solid var(--oc-blue) !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, var(--oc-blue), #0d61c8 52%, var(--oc-blue-dark)) !important;
  color: #fff !important;
  font-family: var(--oc-font) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-align: center !important;
  text-transform: none !important;
}

.oc-product-assurance {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px 4px 2px 24px;
  color: #40506a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.oc-product-section {
  padding: 68px 0;
}

.oc-product-section--white {
  background: #fff;
}

.oc-product-section--tint,
.oc-product-related {
  background: var(--oc-bg);
}

.oc-product-outcomes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.oc-product-outcomes div,
.oc-product-flow div {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--oc-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(18, 39, 74, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.oc-product-outcomes span,
.oc-product-flow span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--oc-yellow);
  color: #13213a;
  font-size: 13px;
  font-weight: 900;
}

.oc-product-outcomes strong,
.oc-product-flow strong {
  display: block;
  color: var(--oc-blue-dark);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}

.oc-product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 34px;
  align-items: start;
}

.oc-product-timeline {
  display: grid;
  gap: 14px;
}

.oc-product-timeline > div {
  position: relative;
  padding: 22px 22px 22px 28px;
  border: 1px solid var(--oc-line);
  border-radius: 8px;
  background: #fff;
}

.oc-product-timeline > div::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 0;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--oc-blue), var(--oc-yellow));
}

.oc-product-timeline span {
  display: block;
  margin-bottom: 6px;
  color: var(--oc-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.oc-product-timeline strong {
  display: block;
  color: var(--oc-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.oc-product-timeline p,
.oc-product-flow p,
.oc-product-teacher-card p,
.oc-product-faq p {
  margin: 8px 0 0;
  color: #4a5871;
  font-size: 15px;
  line-height: 1.7;
}

.oc-product-description {
  margin-top: 28px;
  padding: 26px;
  border: 1px solid var(--oc-line);
  border-radius: 8px;
  background: #fff;
}

.oc-product-teacher-card {
  position: sticky;
  top: 118px;
  padding: 24px;
  border: 1px solid rgba(11, 74, 162, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(18, 39, 74, 0.12);
}

.oc-product-teacher-card strong {
  display: block;
  color: var(--oc-blue-dark);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

.oc-product-teacher-card .oc-single-btn {
  width: 100%;
  margin-top: 18px;
}

.oc-product-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.oc-product-faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
}

.oc-product-faq {
  display: grid;
  gap: 12px;
}

.oc-product-faq details {
  border: 1px solid var(--oc-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 39, 74, 0.06);
}

.oc-product-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 16px 18px;
  color: var(--oc-blue-dark);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
}

.oc-product-faq details p {
  padding: 0 18px 18px;
}

.oc-product-related {
  padding: 68px 0;
}

.oc-product-mobile-cta {
  display: none;
}

/* Tutor course single */
.oc-course-hero {
  position: relative;
  overflow: hidden;
}

.oc-course-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 74, 162, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 74, 162, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.68), transparent 78%);
}

.oc-course-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--oc-blue), var(--oc-yellow), #2fb6b6, var(--oc-blue));
}

.oc-course-hero .oc-single-container {
  position: relative;
  z-index: 1;
}

.oc-course-notices:empty {
  display: none;
}

.oc-course-notices .woocommerce-message,
.oc-course-notices .woocommerce-error,
.oc-course-notices .woocommerce-info,
.oc-course-notices .tutor-alert {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(11, 74, 162, 0.16);
  border-radius: 8px;
  background: var(--oc-blue-soft);
  color: var(--oc-blue-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.oc-course-buybox .oc-single-btn,
.oc-course-enrolled-actions .oc-single-btn,
.oc-course-purchase-form button {
  width: 100%;
}

.oc-course-purchase-form {
  display: grid;
  gap: 12px;
  margin: 0;
}

.oc-course-purchase-actions {
  display: grid;
  gap: 12px;
}

.oc-course-purchase-note,
.oc-course-purchase-alert {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.oc-course-purchase-note {
  color: var(--oc-muted);
}

.oc-course-purchase-alert {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(248, 185, 50, 0.42);
  border-radius: 8px;
  background: #fff8e6;
  color: #6b4a00;
}

.oc-course-purchase-alert strong {
  color: #5f4100;
  font-size: 14px;
  font-weight: 900;
}

.oc-course-purchase-alert span {
  color: #6b4a00;
}

.oc-course-progress {
  display: grid;
  gap: 9px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--oc-line);
  border-radius: 8px;
  background: var(--oc-blue-soft);
}

.oc-course-progress > span {
  color: var(--oc-muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.oc-course-progress strong {
  color: var(--oc-blue-dark);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.oc-course-progress > div {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #d8e7fb;
}

.oc-course-progress i {
  display: block;
  width: var(--oc-course-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--oc-blue), var(--oc-yellow));
}

.oc-course-enrolled-actions {
  display: grid;
  gap: 10px;
}

.oc-course-small-link {
  display: block;
  color: var(--oc-blue);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
}

.oc-course-topics-panel {
  padding: 22px;
  border: 1px solid var(--oc-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(18, 39, 74, 0.08);
}

.oc-course-topics-panel .tutor-mt-40,
.oc-course-topics-panel .tutor-mt-24 {
  margin-top: 0 !important;
}

.oc-course-topics-panel .tutor-course-content-title {
  display: none;
}

.oc-course-topics-panel .tutor-accordion {
  display: grid;
  gap: 12px;
}

.oc-course-topics-panel .tutor-accordion-item {
  overflow: hidden;
  border: 1px solid var(--oc-line);
  border-radius: 8px;
  background: #fff;
}

.oc-course-topics-panel .tutor-accordion-item-header {
  margin: 0;
  padding: 16px 18px;
  background: var(--oc-blue-soft);
  color: var(--oc-blue-dark);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.oc-course-topics-panel .tutor-accordion-item-body-content {
  padding: 0;
}

.oc-course-topics-panel .tutor-course-content-list {
  display: grid;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.oc-course-topics-panel .tutor-course-content-list-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 14px 18px;
  border-top: 1px solid var(--oc-line);
  color: #40506a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.oc-course-topics-panel .tutor-course-content-list-item-title {
  margin: 0;
  color: var(--oc-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.oc-course-topics-panel .tutor-course-content-list-item-title a {
  color: var(--oc-blue);
}

.oc-course-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.oc-course-support-grid > div {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--oc-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(18, 39, 74, 0.08);
}

.oc-course-support-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--oc-blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.oc-course-support-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: #40506a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.oc-course-system-card .oc-course-meta-list {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.oc-course-meta-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--oc-line);
  border-radius: 8px;
  background: var(--oc-blue-soft);
  color: var(--oc-blue-dark);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.oc-course-meta-list a::after {
  content: ">";
  color: var(--oc-yellow);
  font-weight: 900;
}

.oc-course-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.oc-course-related-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--oc-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(18, 39, 74, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.oc-course-related-card__media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(248, 185, 50, 0.25), transparent 28%),
    linear-gradient(135deg, var(--oc-blue), #0d61c8);
  color: var(--oc-yellow);
  text-decoration: none;
}

.oc-course-related-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oc-course-related-card__media span {
  color: var(--oc-yellow) !important;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.oc-course-related-card__body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.oc-course-related-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.oc-course-related-card__top span,
.oc-course-related-card__top small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.oc-course-related-card__top span {
  border: 1px solid rgba(11, 74, 162, 0.16);
  background: var(--oc-blue-soft);
  color: var(--oc-blue);
}

.oc-course-related-card__top small {
  background: var(--oc-yellow);
  color: #172033;
}

.oc-course-related-card h3 {
  margin: 0;
  color: var(--oc-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.oc-course-related-card h3 a {
  color: inherit;
  text-decoration: none;
}

.oc-course-related-card__meta {
  color: var(--oc-muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
}

.oc-course-related-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(11, 74, 162, 0.18);
  border-radius: 6px;
  background: #fff;
  color: var(--oc-blue) !important;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

/* Blog */
.oc-blog-hero {
  padding: 56px 0 58px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-bottom: 1px solid var(--oc-line);
}

.oc-blog-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 42px;
  align-items: center;
}

.oc-blog-hero__copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--oc-ink);
  font-size: 46px;
  font-weight: 900;
  line-height: 1.12;
}

.oc-blog-hero__excerpt {
  max-width: 720px;
  margin: 18px 0 22px;
  color: #40506a;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75;
}

.oc-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--oc-muted);
  font-size: 14px;
  font-weight: 800;
}

.oc-blog-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--oc-line);
  border-radius: 999px;
  background: #fff;
}

.oc-blog-hero__media {
  margin: 0;
}

.oc-blog-hero__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(18, 39, 74, 0.16);
}

.oc-blog-hero__fallback {
  display: grid;
  place-items: center;
  min-height: 320px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--oc-blue), #0d61c8);
  color: #fff;
  box-shadow: 0 22px 50px rgba(18, 39, 74, 0.16);
}

.oc-blog-body-section {
  padding: 58px 0 70px;
  background: #fff;
}

.oc-blog-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.oc-blog-sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 16px;
}

.oc-blog-toc,
.oc-blog-side-cta,
.oc-blog-inline-cta,
.oc-blog-author,
.oc-blog-final-cta {
  border: 1px solid var(--oc-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(18, 39, 74, 0.08);
}

.oc-blog-toc {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.oc-blog-toc p {
  margin: 0 0 8px;
  color: var(--oc-blue-dark);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.oc-blog-toc a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: #43516a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.oc-blog-toc a.is-level-3 {
  padding-left: 20px;
  color: #657086;
}

.oc-blog-toc a:hover {
  background: var(--oc-blue-soft);
}

.oc-blog-side-cta {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.oc-blog-side-cta span,
.oc-blog-inline-cta span,
.oc-blog-author span,
.oc-blog-final-cta span {
  color: var(--oc-blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.oc-blog-side-cta strong,
.oc-blog-inline-cta strong,
.oc-blog-author strong,
.oc-blog-final-cta strong {
  display: block;
  color: var(--oc-blue-dark);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}

.oc-blog-side-cta--blue {
  background: var(--oc-blue-dark);
  color: #fff;
}

.oc-blog-side-cta--blue span,
.oc-blog-side-cta--blue strong {
  color: #fff;
}

.oc-blog-content-wrap {
  min-width: 0;
  max-width: 820px;
}

.oc-blog-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding: 20px;
  background: linear-gradient(90deg, #fff 0%, var(--oc-blue-soft) 58%, var(--oc-yellow-soft) 100%);
}

.oc-blog-after {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.oc-blog-author {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
}

.oc-blog-author__avatar img {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 8px;
}

.oc-blog-author p {
  margin: 6px 0 0;
  color: #526078;
  font-size: 14px;
  line-height: 1.65;
}

.oc-blog-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  background: var(--oc-blue-dark);
  color: #fff;
}

.oc-blog-final-cta span,
.oc-blog-final-cta strong {
  color: #fff;
}

.oc-blog-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.oc-blog-related {
  padding: 64px 0;
  background: var(--oc-bg);
}

.oc-blog-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.oc-related-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--oc-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(18, 39, 74, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.oc-related-card img,
.oc-related-card__fallback {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  background: var(--oc-blue-soft);
}

.oc-related-card__fallback {
  display: grid;
  place-items: center;
  color: var(--oc-blue);
  font-size: 44px;
  font-weight: 900;
}

.oc-related-card span {
  color: var(--oc-muted);
  font-size: 12px;
  font-weight: 800;
}

.oc-related-card strong {
  color: var(--oc-ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.oc-blog-comments {
  padding: 56px 0;
  background: #fff;
}

@media (hover: hover) {
  .oc-product-outcomes div:hover,
  .oc-product-flow div:hover,
  .oc-course-related-card:hover,
  .oc-related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(11, 74, 162, 0.22);
    box-shadow: 0 20px 42px rgba(18, 39, 74, 0.14);
  }
}

@media (max-width: 1080px) {
  .oc-product-hero__grid,
  .oc-blog-hero__grid,
  .oc-product-detail-grid,
  .oc-product-faq-grid,
  .oc-blog-layout {
    grid-template-columns: 1fr;
  }

  .oc-product-enroll-card,
  .oc-product-teacher-card,
  .oc-blog-sidebar {
    position: static;
  }

  .oc-product-outcomes,
  .oc-product-flow,
  .oc-blog-related__grid,
  .oc-course-related-grid,
  .oc-product-related .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oc-blog-content-wrap {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .oc-single-container {
    width: calc(100% - 24px);
  }

  .oc-product-hero,
  .oc-blog-hero {
    padding: 36px 0 42px;
  }

  .oc-product-hero__copy h1,
  .oc-blog-hero__copy h1 {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.16;
    text-wrap: wrap;
  }

  .oc-product-hero__excerpt,
  .oc-blog-hero__excerpt {
    font-size: 16px;
    line-height: 1.7;
  }

  .oc-product-facts,
  .oc-product-outcomes,
  .oc-product-flow,
  .oc-blog-related__grid,
  .oc-course-related-grid,
  .oc-course-support-grid,
  .oc-product-related .products {
    grid-template-columns: 1fr;
  }

  .oc-product-section,
  .oc-product-related,
  .oc-blog-body-section,
  .oc-blog-related {
    padding: 42px 0;
  }

  .oc-single-section-head h2 {
    font-size: 27px;
    line-height: 1.2;
  }

  .oc-product-hero__actions,
  .oc-blog-final-cta,
  .oc-blog-inline-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .oc-single-btn,
  .oc-product-buybox button.single_add_to_cart_button,
  .oc-product-buybox .button {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    font-size: 15px;
  }

  .oc-rich-content {
    font-size: 16px;
    line-height: 1.78;
  }

  .oc-rich-content h2 {
    font-size: 24px;
  }

  .oc-rich-content h3 {
    font-size: 20px;
  }

  .oc-product-single {
    padding-bottom: 88px;
  }

  .oc-product-mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99980;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-top: 1px solid var(--oc-line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -12px 30px rgba(18, 39, 74, 0.16);
    backdrop-filter: blur(12px);
  }

  .oc-product-mobile-cta span {
    display: block;
    color: var(--oc-muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
  }

  .oc-product-mobile-cta strong {
    display: block;
    color: var(--oc-blue-dark);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
  }

  .oc-product-mobile-cta .oc-single-btn {
    width: auto;
    min-width: 116px;
    min-height: 46px;
    padding: 0 16px;
    white-space: nowrap;
  }

  .oc-blog-sidebar {
    gap: 12px;
  }

  .oc-blog-toc {
    max-height: 280px;
    overflow: auto;
  }

  .oc-blog-author {
    grid-template-columns: 1fr;
  }

  .oc-blog-final-cta__actions {
    display: grid;
  }
}

@media (max-width: 380px) {
  .oc-product-hero__copy h1,
  .oc-blog-hero__copy h1 {
    font-size: 26px;
  }

  .oc-product-mobile-cta {
    grid-template-columns: 1fr;
  }

  .oc-product-mobile-cta .oc-single-btn {
    width: 100%;
  }
}

/* Single course mobile refinement. */
@media (max-width: 760px) {
  .oc-single,
  .oc-product-single,
  .oc-product-hero,
  .oc-product-section,
  .oc-product-related,
  .oc-blog-body-section,
  .oc-blog-related {
    max-width: 100%;
    overflow-x: clip;
  }

  .oc-single-container {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    min-width: 0;
  }

  .oc-product-hero__grid,
  .oc-product-detail-grid,
  .oc-product-faq-grid,
  .oc-course-related-grid,
  .oc-product-outcomes,
  .oc-product-flow {
    gap: 14px;
  }

  .oc-product-hero {
    padding: 30px 0 36px;
  }

  .oc-product-hero__copy h1 {
    font-size: 27px;
    line-height: 1.18;
  }

  .oc-product-hero__excerpt {
    margin: 16px 0 20px;
    font-size: 15px;
  }

  .oc-product-facts div,
  .oc-product-outcomes div,
  .oc-product-flow div,
  .oc-product-timeline > div,
  .oc-product-description,
  .oc-product-teacher-card,
  .oc-product-faq details {
    padding: 16px;
  }

  .oc-product-description {
    margin-top: 18px;
  }

  .oc-product-section,
  .oc-product-related {
    padding: 36px 0;
  }

  .oc-course-related-card__media {
    aspect-ratio: 16 / 8;
  }

  .oc-course-related-card__body {
    padding: 14px;
  }

  .oc-course-related-card__top {
    flex-wrap: wrap;
  }

  .oc-course-related-card__link {
    width: 100%;
  }

  .oc-product-single {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .oc-product-mobile-cta {
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .oc-product-mobile-cta {
    gap: 8px;
  }
}
