.chtio_portal_public .stage281_guides_index,
.chtio_portal_public .stage281_guide_page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 32px 0 72px;
}

.stage281_guides_hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 52px;
    align-items: center;
    padding: 56px 0 64px;
}

.stage281_guides_hero h1,
.stage281_article_header h1 {
    margin: 12px 0 20px;
    max-width: 900px;
    color: #141b2a;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.03;
    letter-spacing: -.045em;
}

.stage281_guides_hero > div > p,
.stage281_article_lead {
    max-width: 760px;
    margin: 0;
    color: #536075;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.65;
}

.stage281_guides_hero .stage279_hero_actions {
    margin-top: 28px;
}

.stage281_library_visual {
    position: relative;
    min-height: 370px;
}

.stage281_library_sheet {
    position: absolute;
    right: 0;
    width: min(360px, 88%);
    min-height: 238px;
    padding: 28px;
    border: 1px solid #dce3ed;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(21, 40, 72, .09);
}

.stage281_library_sheet:nth-child(1) { top: 0; right: 48px; transform: rotate(-4deg); }
.stage281_library_sheet:nth-child(2) { top: 62px; right: 22px; transform: rotate(2deg); }
.stage281_library_sheet:nth-child(3) { top: 124px; right: 0; }
.stage281_library_sheet i { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid #bcd3f1; border-radius: 4px; color: #2678db; background: #eef5ff; font-style: normal; font-weight: 600; }
.stage281_library_sheet span, .stage281_library_sheet b, .stage281_library_sheet p { display: block; border-radius: 3px; background: #e9edf3; }
.stage281_library_sheet span { width: 72%; height: 16px; margin-top: 28px; }
.stage281_library_sheet b { width: 88%; height: 10px; margin-top: 20px; }
.stage281_library_sheet p { width: 64%; height: 10px; margin: 10px 0 0; }

.stage281_guides_intro {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin: 0 0 34px;
    padding: 28px 30px;
    border: 1px solid #dce3ed;
    border-radius: 5px;
    background: #f8fafc;
}

.stage281_intro_number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border: 1px solid #bcd3f1;
    border-radius: 5px;
    background: #eef5ff;
    color: #2678db;
    font-size: 30px;
    font-weight: 600;
}

.stage281_guides_intro h2 { margin: 0 0 8px; color: #182033; font-size: 26px; }
.stage281_guides_intro p { margin: 0; color: #5b6678; line-height: 1.7; }

.stage281_guide_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.stage281_guide_card {
    min-width: 0;
    border: 1px solid #dce3ed;
    border-radius: 5px;
    background: #fff;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.stage281_guide_card:hover {
    transform: translateY(-3px);
    border-color: #abc8ec;
    box-shadow: 0 16px 36px rgba(25, 51, 86, .08);
}

.stage281_guide_card_link {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 30px;
    color: inherit;
    text-decoration: none;
}

.stage281_guide_card_meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
}

.stage281_guide_card_meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 4px;
    background: #eef5ff;
    color: #2678db;
    font-weight: 600;
}

.stage281_guide_card_meta small { color: #718096; font-size: 13px; font-weight: 600; }
.stage281_guide_card h2 { margin: 0 0 14px; color: #172033; font-size: clamp(22px, 2.4vw, 29px); line-height: 1.22; letter-spacing: -.025em; }
.stage281_guide_card p { margin: 0 0 24px; color: #5c687b; line-height: 1.7; }
.stage281_guide_card strong { margin-top: auto; color: #2678db; font-size: 15px; }
.stage281_guides_cta { margin-top: 36px; }

.stage281_article {
    margin-top: 42px;
}

.stage281_article_header {
    max-width: 920px;
    margin: 0 auto 54px;
    text-align: center;
}

.stage281_article_header .stage279_eyebrow { justify-content: center; }
.stage281_article_header h1 { margin-right: auto; margin-left: auto; }
.stage281_article_lead { margin-right: auto; margin-left: auto; }

.stage281_article_meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
    margin-top: 24px;
    color: #718096;
    font-size: 14px;
    font-weight: 600;
}

.stage281_article_meta span + span::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 14px 3px 0;
    border-radius: 50%;
    background: #9ba9bc;
}

.stage281_article_layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 780px);
    gap: 58px;
    justify-content: center;
    align-items: start;
}

.stage281_article_toc {
    position: sticky;
    top: 96px;
    padding: 22px;
    border: 1px solid #dce3ed;
    border-radius: 5px;
    background: #fff;
}

.stage281_article_toc strong { display: block; margin-bottom: 14px; color: #172033; font-size: 15px; }
.stage281_article_toc ol { margin: 0; padding: 0; list-style: none; counter-reset: stage281toc; }
.stage281_article_toc li { counter-increment: stage281toc; }
.stage281_article_toc a { display: grid; grid-template-columns: 24px 1fr; gap: 7px; padding: 8px 0; color: #5a6678; font-size: 13px; line-height: 1.45; text-decoration: none; }
.stage281_article_toc a::before { content: counter(stage281toc, decimal-leading-zero); color: #2678db; font-size: 11px; font-weight: 600; }
.stage281_article_toc a:hover { color: #1d63b9; }

.stage281_article_body { min-width: 0; }
.stage281_summary, .stage281_checklist {
    margin-bottom: 42px;
    padding: 28px 30px;
    border: 1px solid #cddff6;
    border-radius: 5px;
    background: #f4f8fe;
}

.stage281_summary h2, .stage281_checklist h2, .stage281_examples h2, .stage281_article_faq > h2 {
    margin: 0 0 20px;
    color: #172033;
    font-size: clamp(25px, 3vw, 34px);
    letter-spacing: -.025em;
}

.stage281_summary ul, .stage281_checklist ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.stage281_summary li, .stage281_checklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; color: #425066; line-height: 1.6; }
.stage281_summary li span, .stage281_checklist li span { color: #17865d; font-weight: 600; }

.stage281_article_section {
    scroll-margin-top: 110px;
    margin: 0 0 48px;
}

.stage281_article_section h2 {
    margin: 0 0 18px;
    color: #172033;
    font-size: clamp(27px, 3.2vw, 38px);
    line-height: 1.18;
    letter-spacing: -.03em;
}

.stage281_article_section p { margin: 0 0 17px; color: #445166; font-size: 17px; line-height: 1.82; }
.stage281_article_section ul { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 0; padding: 0; list-style: none; }
.stage281_article_section li { padding: 8px 11px; border: 1px solid #dce3ed; border-radius: 4px; background: #f8fafc; color: #536075; font-size: 13px; font-weight: 600; }

.stage281_examples { scroll-margin-top: 110px; margin: 0 0 48px; }
.stage281_examples_grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stage281_examples_grid article { padding: 22px; border: 1px solid #dce3ed; border-radius: 5px; background: #fff; }
.stage281_examples_grid h3 { margin: 0 0 12px; color: #172033; font-size: 18px; }
.stage281_examples_grid blockquote { margin: 0 0 13px; padding: 14px 16px; border-left: 3px solid #2678db; background: #f5f8fc; color: #334156; font-style: normal; line-height: 1.65; }
.stage281_examples_grid p { margin: 0; color: #718096; font-size: 13px; line-height: 1.55; }

.stage281_checklist { scroll-margin-top: 110px; background: #f7fbf9; border-color: #cde8dc; }
.stage281_article_faq { scroll-margin-top: 110px; margin: 0 0 42px; }
.stage281_article_cta { margin: 0; }

.stage281_related {
    margin-top: 58px;
    padding-top: 40px;
    border-top: 1px solid #dce3ed;
}

.stage281_related_head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.stage281_related_head a { color: #2678db; font-weight: 600; text-decoration: none; }
.stage281_related_grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stage281_related_grid > a { position: relative; display: flex; min-height: 150px; flex-direction: column; padding: 22px 46px 22px 22px; border: 1px solid #dce3ed; border-radius: 5px; color: inherit; text-decoration: none; }
.stage281_related_grid strong { margin-bottom: 10px; color: #172033; line-height: 1.35; }
.stage281_related_grid span { color: #667287; font-size: 13px; line-height: 1.55; }
.stage281_related_grid b { position: absolute; right: 20px; bottom: 18px; color: #2678db; font-size: 20px; }
.stage281_related_grid > a:hover { border-color: #abc8ec; background: #f8fbff; }

.stage281_guide_card_link:focus-visible,
.stage281_article_toc a:focus-visible,
.stage281_related a:focus-visible {
    outline: 3px solid rgba(38, 120, 219, .28);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .stage281_guides_hero { grid-template-columns: 1fr; gap: 22px; }
    .stage281_library_visual { min-height: 300px; max-width: 520px; width: 100%; margin: 0 auto; }
    .stage281_article_layout { grid-template-columns: 1fr; gap: 28px; }
    .stage281_article_toc { position: static; }
    .stage281_article_toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
    .stage281_related_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .chtio_portal_public .stage281_guides_index,
    .chtio_portal_public .stage281_guide_page { width: min(100% - 28px, 1180px); padding-top: 20px; }
    .stage281_guides_hero { padding: 38px 0 48px; }
    .stage281_guide_grid { grid-template-columns: 1fr; }
    .stage281_guides_intro { grid-template-columns: 58px 1fr; padding: 22px; }
    .stage281_intro_number { width: 52px; height: 52px; font-size: 23px; }
    .stage281_article_header { margin-bottom: 36px; text-align: left; }
    .stage281_article_header .stage279_eyebrow { justify-content: flex-start; }
    .stage281_article-meta, .stage281_article_meta { justify-content: flex-start; }
    .stage281_examples_grid, .stage281_related_grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .stage281_library_visual { min-height: 246px; }
    .stage281_library_sheet { min-height: 185px; padding: 20px; }
    .stage281_library_sheet:nth-child(1) { right: 22px; }
    .stage281_library_sheet:nth-child(2) { top: 42px; right: 11px; }
    .stage281_library_sheet:nth-child(3) { top: 84px; }
    .stage281_guides_intro { grid-template-columns: 1fr; }
    .stage281_guide_card_link { padding: 23px; }
    .stage281_article_toc ol { grid-template-columns: 1fr; }
    .stage281_summary, .stage281_checklist { padding: 22px; }
    .stage281_article_section p { font-size: 16px; }
    .stage281_article-meta span + span::before, .stage281_article_meta span + span::before { display: none; }
    .stage281_article_meta { flex-direction: column; gap: 7px; }
    .stage281_related_head { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .stage281_guide_card { transition: none; }
    .stage281_guide_card:hover { transform: none; }
}
