.hc-body .hc-block-tour {
--hc-tour-shadow: 0 20px 40px -24px rgb(14 30 61 / 40%);
display: grid;
min-width: 0;
grid-template-columns: minmax(0, 1fr);
gap: 24px;
}
.hc-body .hc-block-tour-steps {
margin: 14px 0 18px;
}
.hc-body .hc-block-tour :is(p, figure, ol) {
margin: 0;
}
.hc-body .hc-block-tour figure {
display: grid;
gap: 10px;
}
.hc-body .hc-block-tour img {
display: block;
width: 100%;
height: auto;
margin: 0;
border: 0;
border-radius: 12px;
background: var(--surface-wash);
box-shadow: 0 0 0 1px var(--line), var(--hc-tour-shadow);
}
.hc-body .hc-block-tour figcaption {
display: grid;
gap: 2px;
border: 0;
background: none;
padding: 0;
}
.hc-body .hc-block-tour .hc-tour-label {
color: var(--ink-muted);
font-size: 14px;
font-weight: 500;
line-height: 1.5;
}
.hc-body .hc-block-tour .hc-tour-title {
color: var(--hc-title);
font-size: 18px;
font-weight: 700;
line-height: 1.35;
}
.hc-body .hc-block-tour .hc-tour-sub {
color: var(--ink-soft);
font-size: 16px;
font-weight: 400;
line-height: 1.55;
}
.hc-body .hc-block-tour.is-ready {
gap: 14px;
}
.hc-body .hc-block-tour-steps.is-ready {
gap: 12px;
}
.hc-tour-head {
display: grid;
gap: 2px;
}
.hc-body .hc-tour-tabs {
display: flex;
gap: 8px;
padding: 0;
list-style: none;
}
.hc-body .hc-tour-tabs li {
min-width: 0;
flex: 1 1 auto;
margin: 0;
}
.hc-tour-tabs button {
display: flex;
width: 100%;
height: 100%;
min-height: 44px;
align-items: center;
gap: 10px;
border: 1px solid var(--line-button);
border-radius: 12px;
background: var(--surface);
color: var(--ink-soft);
cursor: pointer;
padding: 7px 12px 7px 8px;
font: 500 14px/1.3 var(--hc-font);
text-align: left;
transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.hc-tour-tabs b {
display: grid;
width: 26px;
height: 26px;
flex: none;
place-items: center;
border-radius: 50%;
background: var(--surface-wash);
box-shadow: inset 0 0 0 1px var(--line);
color: var(--ink-soft);
font-size: 13px;
font-variant-numeric: tabular-nums;
font-weight: 700;
transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.hc-tour-tabs span {
display: -webkit-box;
overflow: hidden;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.hc-tour-tabs button:hover {
border-color: var(--action);
box-shadow: var(--shadow-card);
color: var(--ink);
}
.hc-tour-tabs button:hover b {
background: var(--surface-selected);
box-shadow: none;
color: var(--action);
}
.hc-tour-tabs [aria-current="step"],
.hc-tour-tabs [aria-current="step"]:hover {
border-color: var(--action);
background: var(--surface-selected);
box-shadow: inset 0 0 0 1px var(--action);
color: var(--ink-selected);
}
.hc-tour-tabs [aria-current="step"] b {
background: var(--action);
box-shadow: none;
color: var(--on-action);
}
.hc-tour-stage {
position: relative;
display: grid;
grid-template-columns: minmax(0, 1fr);
overflow: clip;
border-radius: 12px;
background: var(--surface);
box-shadow: 0 0 0 1px var(--line), var(--hc-tour-shadow);
container-type: inline-size;
touch-action: pan-y;
}
.hc-body .hc-tour-stage > figure {
display: grid;
min-width: 0;
align-content: center;
grid-area: 1 / 1;
visibility: hidden;
opacity: 0;
transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.hc-body .hc-tour-stage > .is-current {
z-index: 1;
visibility: visible;
opacity: 1;
transition: opacity 0.25s ease;
}
.hc-body .is-uniform .hc-tour-stage > figure:not(.is-current, .is-near, .is-leaving) {
display: none;
}
.hc-body .hc-tour-stage img {
max-height: 75vh;
max-height: min(62.5cqi, 75vh);
border-radius: 0;
background: none;
box-shadow: none;
object-fit: contain;
}
.hc-body .hc-tour-stage figcaption {
display: none;
}
.hc-tour-stage .hc-arrow {
position: absolute;
top: 50%;
z-index: 2;
translate: 0 -50%;
}
.hc-tour-prev {
left: 12px;
}
.hc-tour-next {
right: 12px;
}
.hc-tour-stage .hc-arrow[aria-disabled="true"] {
visibility: hidden;
}
.hc-tour-prev::before {
transform: translate(-35%, -50%) rotate(-135deg);
}
.hc-block-tour :is(.hc-tour-tabs button, .hc-arrow):focus-visible {
outline: 2px solid var(--focus-ring);
outline-offset: 2px;
}
.hc-body .is-compact .hc-tour-tabs {
position: relative;
padding-bottom: 26px;
}
.hc-body .is-compact .hc-tour-tabs li {
flex: 0 1 48px;
}
.is-compact .hc-tour-tabs button {
justify-content: center;
padding: 6px 0;
}
.is-compact .hc-tour-tabs span {
display: none;
}
.is-compact .hc-tour-tabs .is-current span {
position: absolute;
right: 0;
bottom: 0;
left: 0;
display: block;
overflow: hidden;
color: var(--ink);
text-overflow: ellipsis;
white-space: nowrap;
}
@media (max-width: 640px) {
.hc-body .hc-block-tour {
gap: 16px;
}
.hc-body .hc-block-tour .hc-tour-sub {
font-size: 15px;
}
}
@container (max-width: 480px) {
.hc-tour-stage .hc-arrow {
width: 36px;
height: 36px;
}
.hc-tour-prev {
left: 8px;
}
.hc-tour-next {
right: 8px;
}
}
@media (prefers-reduced-motion: reduce) {
.hc-body .hc-tour-stage > figure,
.hc-tour-tabs :is(button, b) {
transition: none;
}
}
