/* supplier-v1: the user-approved collection design. Scope never includes header/footer. */
.jcc-main, .jcc-main * { box-sizing: border-box; letter-spacing: 0; }
.jcc-main { color: #333; }
.jcc-main :is([class$="-wrap"], .cc-container) { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.jcc-main :is([class$="-hero-grid"], .cc-hero-grid) { display: grid; grid-template-columns: minmax(0, 1fr) 300px; max-width: none; gap: 28px; align-items: start; }
.jcc-main :is([class$="-hero-grid"], .cc-hero-grid) > :only-child { grid-column: 1 / -1; max-width: 900px; }
.jcc-main :is([class$="-hero-grid"], .cc-hero-grid) > :first-child { min-width: 0; }
.jcc-main h1 { max-width: 900px; margin: 0; font-size: 38px; line-height: 1.35; font-weight: 700; overflow-wrap: anywhere; }
.jcc-main :is([class$="-hero-grid"], .cc-hero-grid) > :first-child > p:not([class*="eyebrow"], [class*="kicker"]) { max-width: none; margin: 22px 0 0; color: #3f4347; font-size: 17px; line-height: 1.9; }
.jcc-main :is([class$="-hero-aside"], [class$="-hero-guide"], .cc-side-card) { padding: 20px; border: 1px solid #dedfe1; border-radius: 6px; background: #fff; }
.jcc-main :is([class$="-hero-aside"], [class$="-hero-guide"], .cc-side-card) h2 { margin: 0 0 12px; font-size: 18px; line-height: 1.4; }
.jcc-main :is([class$="-hero-aside"], [class$="-hero-guide"], .cc-side-card) dl { margin: 0; }
.jcc-main :is([class$="-hero-aside"], [class$="-hero-guide"], .cc-side-card) dl > div { padding: 10px 0; border-top: 1px solid #eceeef; }
.jcc-main :is([class$="-hero-aside"], [class$="-hero-guide"], .cc-side-card) dt { color: #777; font-size: 12px; }
.jcc-main :is([class$="-hero-aside"], [class$="-hero-guide"], .cc-side-card) dd { margin: 3px 0 0; color: #2f3337; font-size: 14px; line-height: 1.65; }
.jcc-main :is([class$="-section-head"], .cc-section-heading) { display: block; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid #e6e7e9; }
.jcc-main :is([class$="-section-head"], .cc-section-heading) h2 { margin: 0; font-size: 24px; line-height: 1.4; }
.jcc-main :is([class$="-section-head"], .cc-section-heading) > p { max-width: none; margin: 14px 0 0; font-size: 14px; line-height: 1.8; text-align: left; }
.jcc-main :is([class$="-scenario-grid"], .cc-fit-grid) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.jcc-main :is([class$="-scenario-card"], .cc-fit-card) { min-width: 0; min-height: 0; padding: 22px; border: 1px solid #dedfe1; border-radius: 6px; background: #fff; }
.jcc-main :is([class$="-scenario-card"], .cc-fit-card) h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.5; }
.jcc-main :is([class$="-scenario-card"], .cc-fit-card) p { font-size: 14px; line-height: 1.8; }
.jcc-main .jcc-course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 1140px); max-width: 1140px; margin-inline: auto; gap: 24px; align-items: start; }
.jcc-main article.jcc-course-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 28px minmax(176px, auto) 32px; min-width: 0; min-height: 272px; height: auto; margin: 0; padding: 8px 2px; gap: 8px; border: 2px solid transparent; border-radius: 15px; background: linear-gradient(116.1638deg, rgba(255, 171, 123, .2666666667) .6275%, rgba(255, 235, 192, .3058823529) 45.3451%, rgba(255, 206, 199, .3607843137) 100%) border-box; box-shadow: none; overflow: visible; }
.jcc-main article.jcc-course-card::before { position: absolute; inset: -2px; padding: 1px; border-radius: inherit; background: linear-gradient(116.1355deg, rgba(255, 162, 156, .2666666667) 0%, rgba(255, 163, 150, .3607843137) 110.0097%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; content: ''; }
.jcc-main article.jcc-course-card:has(:focus-visible) { box-shadow: 0 0 0 3px rgba(173, 8, 0, .08); }
.jcc-main article.jcc-course-card[data-compact-facts="true"] { grid-template-rows: 28px auto 32px; min-height: 0; }
.jcc-main .jcc-course-title { min-width: 0; margin: 0 12px 0 0; overflow: hidden; color: #333; font-size: 20px; font-weight: 650; line-height: 28px; text-overflow: ellipsis; white-space: nowrap; }
.jcc-main .jcc-course-title a { color: #333; font-size: inherit; font-weight: inherit; text-decoration: none; }
.jcc-main .jcc-course-title a:hover, .jcc-main .jcc-course-expert a:hover { color: #ad0800; text-decoration: underline; }
.jcc-main .jcc-course-panel { min-width: 0; padding: 10px 10px 9px; border-radius: 14px; background: rgba(254, 254, 255, .8); }
.jcc-main .jcc-course-summary { display: -webkit-box; min-height: 42px; margin: 0; overflow: hidden; color: #333; font-size: 15px; line-height: 21px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.jcc-main .jcc-course-facts { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 9px; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid #ffe4db; background: transparent; }
.jcc-main .jcc-course-facts > div { min-width: 0; padding: 0; border: 0; line-height: 20px; overflow-wrap: anywhere; }
.jcc-main .jcc-course-facts dt, .jcc-main .jcc-course-facts dd { display: inline; margin: 0; color: #333; font-size: 14px; font-weight: 400; line-height: 20px; }
.jcc-main .jcc-course-facts dt::after { content: '：'; }
.jcc-main .jcc-course-footer { display: flex; min-width: 0; align-items: center; margin: 0; padding: 0; border: 0; background: transparent; }
.jcc-main .jcc-course-expert { display: flex; min-width: 0; align-items: center; gap: 0; }
.jcc-main .jcc-course-expert img { display: block; width: 30px; height: 30px; flex: 0 0 30px; margin-right: 9px; border-radius: 8px; object-fit: cover; }
.jcc-main .jcc-course-expert strong { position: relative; top: .5px; flex-shrink: 0; margin-right: 8px; color: #000; font-size: 15px; font-weight: 500; line-height: 1.4; }
.jcc-main .jcc-course-expert a { color: inherit; text-decoration: none; }
.jcc-main .jcc-course-expert span { position: relative; top: .8px; min-width: 0; overflow: hidden; color: #626262; font-size: 14px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.jcc-main .jcc-course-consult { display: inline-flex; width: 148px; height: 32px; flex: 0 0 148px; align-items: center; justify-content: center; margin-left: auto; border: 0; border-radius: 10px; color: #fff; background: #000; font-size: 15px; line-height: 1; text-decoration: none; }
.jcc-main .jcc-course-consult:hover { color: #fff; background: #262626; }
.jcc-main .jcc-course-card[hidden] { display: none !important; }
.jcc-main .jcc-course-title a:focus-visible, .jcc-main .jcc-course-expert a:focus-visible, .jcc-main .jcc-course-consult:focus-visible { outline: 2px solid #ad0800; outline-offset: 2px; }
.jcc-main :is([class$="-expert-grid"]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.jcc-main :is([class$="-expert-card"]) { min-width: 0; border: 1px solid #dedfe1; border-radius: 6px; background: #fff; }
.jcc-main :is([class$="-expert-head"]) img { border-radius: 8px; object-fit: cover; }
@media (max-width: 900px) {
    .jcc-main :is([class$="-hero-grid"], .cc-hero-grid), .jcc-main :is([class$="-scenario-grid"], .cc-fit-grid), .jcc-main :is([class$="-expert-grid"]) { grid-template-columns: minmax(0, 1fr); }
    .jcc-main .jcc-course-grid { grid-template-columns: minmax(0, 1fr); width: min(100%, 558px); }
}
@media (max-width: 640px) {
    .jcc-main :is([class$="-wrap"], .cc-container) { width: calc(100% - 32px); }
    .jcc-main h1 { font-size: 28px; line-height: 1.4; }
    .jcc-main article.jcc-course-card, .jcc-main article.jcc-course-card[data-compact-facts="true"] { grid-template-rows: auto auto 32px; min-height: 0; }
    .jcc-main .jcc-course-title { margin-right: 0; overflow: visible; font-size: 19px; line-height: 1.4; overflow-wrap: anywhere; text-overflow: clip; white-space: normal; }
    .jcc-main .jcc-course-panel { padding: 10px 10px 9px; }
    .jcc-main .jcc-course-summary { display: block; min-height: 0; overflow: visible; font-size: 14px; }
    .jcc-main .jcc-course-expert span { white-space: nowrap; }
    .jcc-main .jcc-course-consult { width: 108px; flex-basis: 108px; }
    .jcc-main :is([class$="-section-head"], .cc-section-heading) h2 { font-size: 22px; }
}
