.p2-guide-page.container {
    max-width: 1200px;
    padding-block: clamp(20px, 3vw, 40px);
    color: var(--theme-color-text);
}

.p2-guide-page__breadcrumb {
    margin-bottom: 20px;
    overflow-wrap: anywhere;
}

.p2-guide-page__breadcrumb .breadcrumb { margin-bottom: 0; }

.p2-guide-page__card {
    min-width: 0;
    background: var(--theme-color-surface);
    border: 1px solid var(--theme-color-border);
    border-radius: 24px;
    box-shadow: 0 12px 36px color-mix(in srgb, var(--theme-color-text) 5%, transparent);
}

.p2-guide-page__header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: clamp(20px, 3vw, 32px);
    border-bottom: 1px solid var(--theme-color-border);
    border-radius: 24px 24px 0 0;
    background: linear-gradient(120deg, var(--theme-color-surface), var(--theme-color-surface-raised));
}

.p2-guide-page__icon {
    display: grid;
    flex: 0 0 54px;
    height: 54px;
    place-items: center;
    border-radius: 17px;
    color: var(--theme-color-primary);
    background: color-mix(in srgb, var(--theme-color-primary) 10%, var(--theme-color-surface));
    font-size: 23px;
}

.p2-guide-page__heading { min-width: 0; overflow-wrap: anywhere; }
.p2-guide-page__eyebrow { display: block; margin-bottom: 8px; font-size: 12px; }
.p2-guide-page__title { margin: 0; color: inherit; font-size: clamp(20px, 2.3vw, 28px); font-weight: 800; line-height: 1.65; }
.p2-guide-page__description { margin: 10px 0 0; line-height: 1.8; }

.p2-guide-page__content {
    min-width: 0;
    padding: clamp(18px, 3vw, 32px);
    overflow-x: auto;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.p2-guide-page__content > .size-guide-rich-content > :last-child { margin-bottom: 0; }

.p2-guide-page__footer {
    padding: 18px clamp(18px, 3vw, 32px);
    border-top: 1px solid var(--theme-color-border);
}

.p2-guide-page__return {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 82px;
    padding: 16px 20px;
    border: 1px solid var(--theme-button-primary-background);
    border-radius: 16px;
    color: var(--theme-button-primary-foreground);
    background: var(--theme-button-primary-background);
    text-decoration: none;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.p2-guide-page__return:hover,
.p2-guide-page__return:focus-visible {
    color: var(--theme-button-primary-hover-foreground);
    background: var(--theme-button-primary-hover-background);
    border-color: var(--theme-button-primary-hover-background);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--theme-color-primary) 18%, transparent);
    text-decoration: none;
}

.p2-guide-page__return:focus-visible { outline: 3px solid var(--theme-button-primary-focus-ring); outline-offset: 3px; }
.p2-guide-page__return:active { color: var(--theme-button-primary-active-foreground); background: var(--theme-button-primary-active-background); border-color: var(--theme-button-primary-active-background); }
.p2-guide-page__return-icon { display: grid; flex: 0 0 46px; height: 46px; place-items: center; border-radius: 13px; background: color-mix(in srgb, currentColor 12%, transparent); font-size: 20px; }
.p2-guide-page__return-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 5px; overflow-wrap: anywhere; line-height: 1.7; }
.p2-guide-page__return-copy strong { font-size: 16px; font-weight: 800; }
.p2-guide-page__return-copy small { font-size: 12px; }
.p2-guide-page__return-arrow { flex-shrink: 0; }

@media (max-width: 767.98px) {
    .p2-guide-page.container { padding-inline: 12px; padding-block: 18px 28px; }
    .p2-guide-page__card { border-radius: 18px; }
    .p2-guide-page__header { gap: 12px; padding: 18px 14px; border-radius: 18px 18px 0 0; }
    .p2-guide-page__icon { flex-basis: 40px; height: 40px; border-radius: 12px; font-size: 18px; }
    .p2-guide-page__content { padding: 20px 14px; }
    .p2-guide-page__footer { padding: 14px; }
    .p2-guide-page__return { gap: 12px; padding: 14px 12px; }
    .p2-guide-page__return-icon { flex-basis: 38px; height: 38px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    .p2-guide-page__return { transition: none; }
}
