/* Product-specific adaptations. The completed summarize page does not load this file. */
.page-catalog-product .product-intro h1{white-space:normal;overflow-wrap:anywhere;font-size:clamp(24px,3.2vw,40px)}
.page-catalog-product .course-specs .spec-copy{min-height:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px;line-height:1.6;font-size:clamp(16px,2vw,26px);overflow-wrap:anywhere;text-align:center}
.page-catalog-product .product-sample-trigger{position:relative;cursor:pointer}
.page-catalog-product .product-sample-trigger:not(.product-sample-link)::after{content:'';position:absolute;left:50%;top:50%;width:72px;height:72px;transform:translate(-50%,-50%);background:url('../images/common/05bac.svg') center/contain no-repeat;pointer-events:none}
.page-catalog-product .product-sample-trigger img{object-fit:cover}
.page-catalog-product .sample-list{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;padding:0;background:none;box-shadow:none}
.page-catalog-product .sample-list>.product-sample{grid-column:auto;grid-row:auto;min-width:0;width:100%;margin:0}
.page-catalog-product .product-sample-link{display:flex;align-items:center;justify-content:center;gap:20px;background:var(--pale);color:var(--blue);padding:24px;text-align:center;font-weight:500;line-height:1.6}
.page-catalog-product .learning-points{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));align-items:stretch}
.page-catalog-product .learning-points h4{white-space:normal;overflow-wrap:anywhere;line-height:1.6}
.page-catalog-product .learning-points p{overflow-wrap:anywhere}
.page-catalog-product .learning-points .product-title-link{display:block;font-size:14px;margin-top:14px;overflow-wrap:anywhere}
.page-catalog-product .instructor+.instructor{margin-top:24px}
.page-catalog-product .instructor-photo:empty{display:none}
.page-catalog-product .instructor-photo img{width:100%;height:100%;object-fit:cover;object-position:center top;transform:none}
.page-catalog-product .instructor-name{flex-wrap:wrap}
.page-catalog-product .instructor-name h4{white-space:normal}
.page-catalog-product .instructor-body h5{font-size:18px;font-weight:500;line-height:1.6;margin:16px 0}
.page-catalog-product .technique-example{padding:16px;background:var(--pale);border-radius:4px}
.page-catalog-product .subjects dd{min-width:0;display:block}
.page-catalog-product .subjects li{white-space:normal;overflow-wrap:anywhere}
.page-catalog-product .subjects-note{font-size:14px;line-height:1.8;margin-top:15px}
.page-catalog-product .plan-list>li:only-child{grid-column:1/-1;justify-self:center;width:min(100%,540px)}
.page-catalog-product .price-pending{font-size:32px;line-height:1.5}
.page-catalog-product .purchase-summary .product-price{min-width:0}
.page-catalog-product .product-voices figcaption{min-height:42px}
.page-public_health .recommend h3{grid-row:span 2}
.page-public_health .recommend>div:nth-child(n+5){border-top:1px solid var(--border)}
@media(max-width:800px){
 .page-catalog-product .learning-points{grid-template-columns:minmax(0,1fr)}
 .page-catalog-product .learning-points .product-title-link{grid-column:2}
 .page-catalog-product .product-intro h1{font-size:clamp(23px,5.8vw,36px)}
}
@media(max-width:767px){
 .page-catalog-product .course-specs .spec-copy{min-height:65px;padding:10px 5px;font-size:14px;line-height:1.7}
 .page-catalog-product .instructor-name p{max-width:100%}
 .page-catalog-product .instructor-body h5{font-size:14px}
 .page-catalog-product .subjects ul{grid-template-columns:repeat(2,minmax(0,1fr))}
 .page-catalog-product .subjects li{font-size:12px}
 .page-public_health .recommend h3{grid-row:auto}
 .page-public_health .recommend>div:nth-child(n+5){border-top:0}
 .page-safetynet_osce .course-specs{grid-template-columns:repeat(2,minmax(0,1fr))}
 .page-safetynet_osce .course-specs>div:first-child{grid-column:1/-1}
}
.page-catalog-product .product-intro h1>span{display:inline-block;max-width:100%}
.page-catalog-product .purchase-no-set .product-price{margin-right:auto}
@media(max-width:767px){.page-catalog-product .purchase-no-set .purchase-button{grid-column:1/-1;justify-self:center;width:min(100%,300px);padding-left:30px;font-size:18px}}

/* Native horizontal scrolling keeps the OSCE samples usable without a slider library. */
.page-catalog-product .sample-carousel{min-width:0;padding:0;background:none;box-shadow:none}
.sample-carousel-viewport{position:relative;display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none}
.sample-carousel-viewport::-webkit-scrollbar{display:none}
.page-catalog-product .sample-carousel .sample-slide{flex:0 0 100%;min-width:0;max-width:none;width:100%;margin:0;scroll-snap-align:start;scroll-snap-stop:always}
.sample-carousel-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:12px}
.sample-carousel-controls button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--border);border-radius:50%;background:#fff;color:var(--blue);transition:opacity .16s ease}
.sample-carousel-controls button:disabled{cursor:default;opacity:.35;filter:none}
.sample-carousel-status{min-width:48px;margin:0;text-align:center;color:var(--ink);font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}
@media(prefers-reduced-motion:reduce){.sample-carousel-controls button{transition:none}}

.sample-carousel-prev .arrow-blue{transform:rotate(180deg)}

.sample-carousel-controls .arrow-blue{--arrow-circle:none;--arrow-glyph:url('../images/common/arrow-blue-outline-glyph.svg')}

.sample-carousel-controls .arrow-blue{width:32px;height:32px;background-size:32px 32px}

.page-safetynet_osce .course-specs>div:first-child .spec-copy{font-size:clamp(14px,1.5vw,20px)}

.page-safetynet_osce .spec-copy .spec-detail{font-size:clamp(12px,.85em,14px)}
.page-safetynet_osce .spec-copy .spec-note{font-size:clamp(12px,.7em,14px)}

/* PDF artwork and a static caption; no animated arrow. */
.page-hyojyun_kaisetsu .product-pdf-cover{display:block;aspect-ratio:16/9;min-height:0;padding:0;background:#fff;text-align:left;line-height:1.5;animation:none;transition:none}
.page-hyojyun_kaisetsu .product-pdf-cover picture,.page-hyojyun_kaisetsu .product-pdf-cover picture img{display:block;width:100%;height:auto}
.page-hyojyun_kaisetsu .pdf-sample-caption{position:absolute;right:16px;bottom:12px;display:inline-flex;flex-direction:row-reverse;align-items:center;gap:8px;max-width:calc(100% - 32px);border-radius:999px;background:var(--blue);color:#fff;padding:9px 15px;font-size:12px;font-weight:500}
.page-hyojyun_kaisetsu .pdf-sample-caption img{flex:0 0 22px;width:22px;height:22px;object-fit:contain}
.page-hyojyun_kaisetsu .product-pdf-cover:hover{filter:none;transform:none;opacity:1}
.page-hyojyun_kaisetsu .product-pdf-cover *{animation:none;transition:none}
@media(max-width:430px){.page-hyojyun_kaisetsu .pdf-sample-caption{right:10px;bottom:8px;max-width:calc(100% - 20px);padding:6px 10px;gap:6px;font-size:10px}.page-hyojyun_kaisetsu .pdf-sample-caption img{flex-basis:18px;width:18px;height:18px}}

@media (min-width: 768px) and (max-width: 999px) {
  .page-compact_naika .recommend > div:nth-child(3n+2)::before {
    display: none;
  }
}

@media (min-width: 1000px) {
  .page-compact_naika .recommend::after {
    content: "";
    grid-column: 4;
    grid-row: 3;
    border-top: 1px solid var(--border);
    background: linear-gradient(var(--border), var(--border)) left center / 1px calc(100% - 40px) no-repeat;
  }
}

.compact-book-features {
  container-type: inline-size;
}
.compact-features-figure {
  position: relative;
  aspect-ratio: 1120 / 652;
  margin-top: 24px;
}
.compact-features-cover,
.compact-features-sample {
  position: absolute;
  height: auto;
  box-shadow: 0 8px 14px #0003;
}
.compact-features-cover {
  bottom: 0;
  left: 0;
  width: 40.18%;
}
.compact-features-sample { width: 26.07%; }
.compact-features-sample-one { top: 2.15%; left: 45.54%; }
.compact-features-sample-two { bottom: 0; right: 0; }
.compact-features-callouts {
  list-style: none;
  margin: 0;
  padding: 0;
}
.compact-features-callout {
  position: absolute;
  width: 31.7%;
  right: 0;
}
.compact-features-callout-one { top: 0; }
.compact-features-callout-two { top: 14.72%; }
.compact-features-callout-three {
  width: 35.27%;
  bottom: 2.91%;
  left: 45.54%;
  right: auto;
}
.compact-features-callout > img {
  display: block;
  width: 100%;
  height: auto;
  filter: hue-rotate(190deg) saturate(.85);
}
.compact-features-caption {
  position: absolute;
  inset: 0 0 auto auto;
  width: 76.62%;
  height: 94%;
  display: flex;
  align-items: center;
  gap: 3%;
  padding-inline: 4% 1%;
  color: var(--ink);
  font:700 clamp(12px,1.78cqw,18px)/1.4 var(--sans);
}
.compact-features-caption > span:last-child { font-size: .92em; }
.compact-features-callout-three .compact-features-caption {
  inset: auto auto 0 0;
  width: 68.86%;
  height: 47.78%;
}
.compact-features-badge {
  flex: 0 0 25%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .16em;
  box-sizing: border-box;
  padding-block-start: .3em;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: .8em;
  font-weight: 600;
  line-height: 1;
}
/* Roboto license: ../fonts/Roboto-OFL.txt */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-700-digits.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+31-33;
}
.compact-features-badge strong {
  font-family: "Roboto", var(--sans);
  font-size: 1.85em;
  font-weight: 700;
}

@container (max-width: 860px) {
  .compact-features-figure { aspect-ratio: 700 / 730; }
  .compact-features-cover { display: none; }
  .compact-features-sample { width: 49%; }
  .compact-features-sample-one { left: 0; }
  .compact-features-callout { width: 56%; }
  .compact-features-callout-one,
  .compact-features-callout-two { right: 1%; }
  .compact-features-callout-one { top: .8%; }
  .compact-features-callout-two { top: 16.3%; }
  .compact-features-callout-three {
    width: 59%;
    bottom: 7%;
    left: 3.5%;
  }
  .compact-features-caption {
    font-size: clamp(9px, 2.85cqw, 20px);
  }
}
.page-hyojyun_kaisetsu .hyojyun-point-media{display:grid;gap:16px;margin:24px 0 0}
.page-hyojyun_kaisetsu .hyojyun-point-media img{display:block;width:100%;height:auto;object-fit:contain}
.page-hyojyun_kaisetsu .hyojyun-learning-points h4{font-size:18px}
@media(max-width:767px){.page-hyojyun_kaisetsu .hyojyun-point-media{grid-column:1/-1;margin-top:12px}}
