/* Geometry and card tokens come directly from parent-course.css. */
body.page-template-campus.boluda-plugin-product .site-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.page-template-campus.boluda-plugin-product .campus-content {
  min-width: 0;
  padding: 0 32px 80px 292px;
  container: boluda-plugin-campus / inline-size;
}

body.page-template-campus.boluda-plugin-product .campus.is-collapsed .campus-content {
  padding-left: 88px;
}

body.page-template-campus.boluda-plugin-product .campus-header {
  height: 64px;
  margin: 0 0 40px;
  padding: 8px 0;
}

body.page-template-campus.boluda-plugin-product .campus-content .content-sidebar-wrap .content > .entry {
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
}

body.page-template-campus.boluda-plugin-product .campus-content .content-sidebar-wrap .content .entry-content {
  max-width: none;
  margin: 0;
}

.boluda-plugin-product .boluda-plugin-features {
  margin: 36px 0;
}

.boluda-plugin-product .boluda-plugin-features h2 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.boluda-plugin-product .boluda-plugin-features ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.boluda-plugin-product .boluda-plugin-features li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.5;
}

.boluda-plugin-product .boluda-plugin-features i {
  color: var(--color-blue);
}

.boluda-plugin-product .boluda-plugin-content {
  max-width: none;
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  text-align: left;
  overflow-wrap: break-word;
}

body.boluda-plugin-product .entry-content.boluda-plugin-content > p:first-of-type:not(:empty) {
  display: block;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-weight: 400;
}

.boluda-plugin-product .boluda-plugin-content > p {
  margin-bottom: 24px;
}

.boluda-plugin-product .boluda-plugin-content .wp-caption {
  width: 100% !important;
  max-width: 100%;
  margin: 0 auto 28px;
}

.boluda-plugin-product .boluda-plugin-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.boluda-plugin-product .boluda-plugin-content .wp-caption > img {
  width: 100%;
}

.boluda-plugin-product .boluda-plugin-content .wp-caption-text {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.5;
}

.boluda-plugin-product .edd_price_options {
  margin: 0 0 20px;
  padding: 0;
}

.boluda-plugin-product .edd_price_options ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.boluda-plugin-product .edd_price_options li {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-med-blue);
  list-style: none;
}

.boluda-plugin-product .edd_price_options label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.boluda-plugin-product .edd_price_options input {
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  accent-color: var(--color-blue);
}

.boluda-plugin-product .edd_price_options .edd_price_option_sep {
  display: none;
}

.boluda-plugin-product .edd_price_option_price {
  color: var(--color-blue);
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}

.boluda-plugin-product .boluda-plugin-fixed-price {
  margin: 0 0 16px;
  color: var(--color-blue);
  font-size: 28px;
  font-weight: 700;
}

.boluda-plugin-product .boluda-plugin-payment-note {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.5;
}

.boluda-plugin-product .boluda-plugin-support {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.6;
}

.boluda-plugin-product .boluda-plugin-cart-summary {
  margin-bottom: 20px;
}

.boluda-plugin-product .boluda-plugin-cart-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-med-blue);
  font-size: 17px;
  line-height: 1.5;
}

.boluda-plugin-product .boluda-plugin-cart-item strong {
  flex-shrink: 0;
  color: var(--color-blue);
  font-size: 22px;
}

/* The Campus menu reduces available space independently of viewport width. */
@container boluda-plugin-campus (max-width: 1024px) {
  .boluda-plugin-product article.boluda-course {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
  }

  .boluda-plugin-product .boluda-course-subscription {
    padding: 24px;
  }

  .boluda-plugin-product .edd_price_options label {
    gap: 8px;
    font-size: 16px;
  }

  .boluda-plugin-product .edd_price_option_price {
    font-size: 20px;
  }
}

@container boluda-plugin-campus (max-width: 800px) {
  .boluda-plugin-product article.boluda-course {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .boluda-plugin-product .boluda-course-main {
    display: contents;
  }

  .boluda-plugin-product .boluda-course-main > * {
    order: 0;
    width: 100%;
  }

  .boluda-plugin-product h1.boluda-course-title {
    font-size: 34px;
  }

  .boluda-plugin-product .boluda-course-rail {
    position: static;
    order: 1;
    width: 100%;
    max-width: 400px;
    margin-top: 32px;
  }

  .boluda-plugin-product .boluda-course-main > .boluda-plugin-features,
  .boluda-plugin-product .boluda-course-main > .boluda-plugin-content {
    order: 2;
    margin-top: 32px;
  }
}

@media (max-width: 1024px) and (min-width: 801px) {
  .boluda-plugin-product .edd_price_options label {
    gap: 8px;
    font-size: 16px;
  }

  .boluda-plugin-product .edd_price_option_price {
    font-size: 20px;
  }
}

@media (max-width: 800px) {
  .boluda-plugin-product .boluda-course-main > .boluda-plugin-features,
  .boluda-plugin-product .boluda-course-main > .boluda-plugin-content {
    order: 2;
    margin-top: 32px;
  }
}

@media (max-width: 768px) {
  body.page-template-campus.boluda-plugin-product .campus-content,
  body.page-template-campus.boluda-plugin-product .campus.is-collapsed .campus-content {
    padding: 84px 20px 56px;
  }
}
