/* Personal site: warm colour, clear navigation, shared portal branding. */
:root {
    --ink: #34223f;
    --text: #51445b;
    --muted: #716479;
    --blue: #8b208a;
    --blue-dark: #68156a;
    --line: #e8dfeb;
    --light: #fbf3fc;
}
.teacher-site-page { background-color: #faf2ee; }
.teacher-site-page .site-shell { box-shadow: 0 0 45px #65255f1c; }
a:hover { color: #68156a; }
a:focus-visible, button:focus-visible, summary:focus-visible {
    outline-color: #9b208e;
}

/* Full name and role replace the initials badge. */
.teacher-identity {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: block;
    padding: 28px 40px 30px;
    border: 0;
    background:
        radial-gradient(ellipse at 86% 5%, #fff0ce 0, transparent 50%),
        linear-gradient(115deg, #f3e8ff 0%, #fff0f3 55%, #ffe6ce 100%);
}
.teacher-identity::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, #9d38a0, #e86892 45%, #f3b249 72%, #37a999);
}
.teacher-heading {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: minmax(0, 1fr) 355px;
    align-items: center; gap: 36px; max-width: none;
}
.teacher-intro, .teacher-summary { min-width: 0; }
.teacher-summary { padding-left: 30px; border-left: 1px solid #d9bdd6; }
.teacher-name {
    display: inline-block;
    margin: 0 0 10px;
    color: #512456;
    font-size: clamp(34px, 3.6vw, 44px);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.08;
}
.teacher-name:hover { color: #512456; text-decoration: none; }
.teacher-role { color: #6b316b; font-size: 19px; font-weight: 700; line-height: 1.4; }
.teacher-workplace { color: #633568; font-size: 17px; font-weight: 600; line-height: 1.5; }
.teacher-facts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.teacher-facts > span {
    padding: 5px 12px;
    border: 1px solid #d7bed9;
    border-radius: 20px;
    background: #ffffffa8;
    color: #68436c;
    font-size: 12px;
    line-height: 1.5;
}
.teacher-decoration { position: absolute; z-index: 0; width: 210px; height: 170px; right: -40px; top: -25px; opacity: .35; }
.teacher-decoration span { position: absolute; display: block; }
.teacher-decoration span:nth-child(1) {
    width: 190px; height: 190px; right: 0; top: 0;
    border: 30px solid #edabcc80; border-radius: 50%;
}
.teacher-decoration span:nth-child(2) {
    width: 120px; height: 120px; left: 0; bottom: 0;
    background: #67c7b65c; border-radius: 75% 18% 75% 18%; transform: rotate(-20deg);
}
.teacher-decoration span:nth-child(3) {
    width: 63px; height: 63px; right: 25px; bottom: 18px;
    background: #f6b8489e; border-radius: 22px; transform: rotate(20deg);
}

.page-shell { grid-template-columns: 226px minmax(0, 1fr); gap: 30px; padding: 30px 30px 42px; }
.sidebar { padding-right: 0; border-right: 0; }
.sidebar nav { gap: 8px; padding: 0; border-radius: 14px; }
.sidebar nav > a {
    gap: 11px;
    min-height: 58px;
    padding: 12px;
    border: 1px solid #eee4f1;
    border-radius: 12px;
    background: #fbf7fd;
    color: #50385f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    transition: background .18s, border-color .18s, box-shadow .18s;
}
.nav-label { flex: 1; min-width: 0; }
.sidebar .nav-icon {
    flex: 0 0 32px;
    width: 32px; height: 34px;
    border-radius: 9px;
    color: #8b208a;
    background: #f0def5;
}
.sidebar .nav-icon svg { width: 21px; height: 21px; }
.sidebar .teacher-nav-methods .nav-icon { color: #9c4a08; background: #ffe9c5; }
.sidebar .teacher-nav-parents .nav-icon { color: #176c62; background: #d8f1e9; }
.sidebar .teacher-nav-awards .nav-icon { color: #a3375b; background: #ffe0ea; }
.sidebar .teacher-nav-documents .nav-icon { color: #365ca5; background: #e2eaff; }
.sidebar .teacher-nav-about .nav-icon { color: #7b429a; background: #edddf7; }
.sidebar nav > a:hover {
    background: #f3e6fa; border-color: #d8b7e3; color: #702475;
    box-shadow: 0 3px 10px #7a258214; text-decoration: none;
}
.sidebar nav > a[aria-current] {
    border-color: #95268e;
    background: linear-gradient(115deg, #84268f, #bb328f);
    color: white; box-shadow: 0 5px 13px #91298c2a;
}
.sidebar nav > a[aria-current] .nav-icon { background: #ffffff26; color: white; }
.nav-count { margin-left: 0; background: #eee0f4; color: #792582; }
.sidebar [aria-current] .nav-count { background: #ffffff2e; color: white; }

.button { border-radius: 9px; box-shadow: 0 3px 9px #7d217d1a; }
.button.secondary { border-color: #d9c2df; color: #822881; box-shadow: none; }
.button.secondary:hover { border-color: #bd8fca; color: #67206b; background: #f7edf9; }
.teacher-profile {
    gap: 27px; padding: 26px;
    background: linear-gradient(125deg, #fff5e6, #fff3f3 55%, #f8efff);
    border-color: #edd8e1; border-radius: 18px;
}
.teacher-profile > img { border-radius: 13px; box-shadow: 0 6px 18px #683b4520; }
.teacher-profile h2 { margin-bottom: 17px; color: #6c2b73; font-size: 29px; }
.teacher-profile .profile-lead { color: #593e65; }
.teacher-profile p:not(.profile-lead) { color: #66536e; }
.profile-topics > span { color: #76417e; border-color: #dcc4df; border-radius: 16px; padding: 5px 10px; }
.section-heading h2 { color: #512456; }
.content-card { border-color: #e9dceb; border-radius: 14px; box-shadow: 0 4px 14px #663d6c0a; }
.content-card:hover { border-color: #c79acf; box-shadow: 0 8px 20px #6a2c7312; }
.card-copy h3 a, .document-copy h3 a { color: #583363; }
.card-copy h3 a:hover, .document-copy h3 a:hover { color: #8b208a; }
.card-end { color: #8b208a; }
.card-meta, .document-meta, .article-meta { color: #76647e; }
.document-row { border-color: #e5d7e9; border-left-color: #a346a5; background: #fefbff; }
.pdf-icon { color: #963c94; }
.filter-list button { border-color: #dcc7e2; color: #70417e; border-radius: 20px; }
.filter-list button[aria-pressed=true] { background: #8b208a; border-color: #8b208a; }
.page-heading, .article-tools { border-color: #e8dcea; }
.article-tools, .file-panel { background: #faf3fc; border-color: #e4d3eb; }
.article-tools > strong, .article-tools a, .file-panel strong { color: #703778; }
.profile-timeline time { color: #95378e; }
.table-scroll th { background: #f5eafa; color: #65396d; }

/* Each consultation is a separate, fully clickable coloured card. */
.parent-resources { margin-top: 36px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.resource-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.resource-links > a, .resource-links > a:last-child {
    display: flex; flex-direction: column; gap: 13px;
    padding: 23px 20px 20px;
    border: 1px solid #e8c3d6;
    border-radius: 15px;
    background: linear-gradient(140deg, #ffe4ec, #fff1df);
    color: #713050;
    text-decoration: none;
    box-shadow: 0 3px 10px #6d3e5b08;
    transition: border-color .18s, box-shadow .18s;
}
.resource-links > a:nth-child(2) {
    background: linear-gradient(140deg, #d5f2e9, #e8f5ff);
    border-color: #b3d9d1; color: #205c55;
}
.resource-links > a:nth-child(3) {
    background: linear-gradient(140deg, #eadbff, #ffe8f4);
    border-color: #d7bde9; color: #613676;
}
.resource-links strong { color: inherit; font-size: 19px; line-height: 1.4; }
.resource-links span { color: #684d60; font-size: 13px; line-height: 1.8; }
.resource-links > a:nth-child(2) span { color: #3e625e; }
.resource-links > a:nth-child(3) span { color: #65516f; }
.resource-links b {
    display: grid; place-items: center; width: 34px; height: 34px;
    align-self: flex-end; margin-top: auto; border-radius: 50%;
    background: #ffffffb3; color: inherit; font-size: 22px; font-weight: 400;
}
.resource-links > a:hover { color: #713050; border-color: #c184a7; box-shadow: 0 7px 19px #87376526; text-decoration: none; }
.resource-links > a:nth-child(2):hover { color: #205c55; border-color: #619f95; box-shadow: 0 7px 19px #277a6c26; }
.resource-links > a:nth-child(3):hover { color: #613676; border-color: #b082cb; box-shadow: 0 7px 19px #763e9626; }
.resource-links > a:hover strong { text-decoration: none; }

@media (max-width: 1100px) {
    .page-shell { grid-template-columns: 205px minmax(0, 1fr); gap: 24px; padding: 25px 24px 36px; }
    .sidebar nav > a { padding: 11px 9px; font-size: 13px; gap: 9px; }
    .sidebar .nav-icon { flex-basis: 29px; width: 29px; height: 32px; }
    .teacher-heading { grid-template-columns: minmax(0, 1fr) 280px; gap: 25px; }
    .teacher-summary { padding-left: 23px; }
    .teacher-name { font-size: 38px; }
    .teacher-decoration { right: -60px; }
    .resource-links { grid-template-columns: 1fr; gap: 13px; }
    .resource-links > a { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 21px; }
    .resource-links > a > b { margin: 0; grid-column: 2; grid-row: 1 / 3; align-self: center; }
    .teacher-profile { padding: 22px; }
}
@media (max-width: 900px) {
    .page-shell { grid-template-columns: 190px minmax(0, 1fr); gap: 20px; padding-inline: 20px; }
    .sidebar nav > a { font-size: 12px; padding: 10px 8px; gap: 8px; }
    .teacher-identity { padding: 24px; }
    .teacher-heading { grid-template-columns: minmax(0, 1fr) 255px; gap: 22px; }
    .teacher-name { font-size: 34px; }
    .teacher-role { font-size: 17px; }
    .teacher-workplace { font-size: 16px; }
    .teacher-summary { padding-left: 21px; }
    .teacher-decoration { right: -70px; opacity: .25; }
    .teacher-profile h2 { font-size: 27px; }
}
@media (max-width: 720px) {




}
@media (max-width: 680px) {




    .teacher-identity { padding: 22px 20px 24px; }
    .teacher-heading { grid-template-columns: 1fr; gap: 14px; }
    .teacher-summary { padding-left: 0; border: 0; }
    .teacher-name { font-size: 32px; line-height: 1.12; margin-bottom: 9px; }
    .teacher-role { font-size: 17px; }
    .teacher-workplace { font-size: 14px; }
    .teacher-facts { gap: 7px; margin-top: 9px; }
    .teacher-facts > span { font-size: 11px; padding: 5px 10px; }
    .teacher-decoration { right: -110px; top: 50px; opacity: .2; }
    .menu-toggle { background: #f6e8f9; border-color: #e0cbe7; color: #752980; padding: 14px 20px; }
    .page-shell { display: block; padding: 23px 16px 32px; }
    .sidebar.is-open { padding: 9px; border-color: #e0cbe7; background: #fdf7ff; border-radius: 12px; }
    .sidebar nav { gap: 7px; background: transparent; }
    .sidebar nav > a { padding: 11px 8px; font-size: 12px; gap: 7px; background: white; min-height: 64px; }
    .sidebar .nav-icon { flex-basis: 25px; width: 25px; height: 29px; border-radius: 7px; }
    .sidebar .nav-icon svg { width: 18px; height: 18px; }
    .nav-count { display: none; }
    .teacher-profile { padding: 20px; border-radius: 14px; }
    .teacher-profile h2 { font-size: 28px; }
    .profile-topics { margin: 20px 0; }
    .parent-resources { padding: 0; margin-top: 30px; }
    .resource-links > a, .resource-links > a:last-child { padding: 21px 18px; }
    .resource-links strong { font-size: 20px; }
    .resource-links span { font-size: 13px; }

}
/* Achievements: portrait documents with readable results, rather than photo cards. */
.tone-gold { --award-accent: #8e641d; --award-wash: #fff5df; }
.tone-plum { --award-accent: #853884; --award-wash: #f7eaf8; }
.tone-teal { --award-accent: #24796f; --award-wash: #e9f6f2; }
.tone-coral { --award-accent: #a34d60; --award-wash: #fff0ec; }
.tone-green { --award-accent: #54783d; --award-wash: #f0f7e8; }
.tone-blue { --award-accent: #3b6094; --award-wash: #edf2fc; }
.awards-overview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 0 0 32px; }
.awards-overview > div { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid #e7d4ec; border-radius: 12px; background: linear-gradient(125deg,#fbf0fd,#fff5e8); }
.awards-overview > div:nth-child(2) { background: linear-gradient(125deg,#e6f5ef,#f4f9ec); border-color: #cbe3da; }
.awards-overview > div:nth-child(3) { background: linear-gradient(125deg,#f0e9fd,#ffeff5); }
.awards-overview strong { font-size: 35px; color: #8b388e; line-height: 1; }
.awards-overview > div:nth-child(2) strong { color: #2c7e6c; }
.awards-overview span { font-size: 13px; line-height: 1.6; color: #624b69; }
.recognition-section > h2, .practice-section > h2 { margin-bottom: 20px; color: #512456; }
.achievement-card { --award-accent: #853884; --award-wash: #f7eaf8; display: grid; grid-template-columns: 108px minmax(0,1fr); align-items: start; gap: 21px; min-width: 0; padding: 22px; border: 1px solid #e3d5e8; border-radius: 14px; background: #fff; box-shadow: 0 4px 15px #663d6c09; }
.achievement-card.tone-gold { --award-accent: #8e641d; --award-wash: #fff5df; }
.achievement-card.tone-teal { --award-accent: #24796f; --award-wash: #e9f6f2; }
.achievement-card.tone-coral { --award-accent: #a34d60; --award-wash: #fff0ec; }
.achievement-card.tone-green { --award-accent: #54783d; --award-wash: #f0f7e8; }
.achievement-card.tone-blue { --award-accent: #3b6094; --award-wash: #edf2fc; }
.achievement-preview { display: block; padding: 6px; border-radius: 6px; border: 1px solid #e6dfe7; background: #f9f5f7; box-shadow: 0 4px 11px #39233e13; }
.achievement-preview img { aspect-ratio: 210 / 297; object-fit: contain; }
.achievement-copy { min-width: 0; }
.achievement-meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 11px; color: #76677c; font-size: 11px; line-height: 1.5; }
.achievement-result { display: inline-block; padding: 5px 10px; margin-bottom: 11px; border-radius: 6px; background: var(--award-wash,#f7eaf8); color: var(--award-accent,#853884); font-size: 12px; line-height: 1.5; font-weight: 700; }
.achievement-card h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.35; }
.achievement-card h3 a { color: #583363; }
.achievement-card h3 a:hover { color: #8b208a; }
.achievement-card p { font-size: 13px; line-height: 1.8; color: #66536e; }
.achievement-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 17px; font-size: 12px; line-height: 1.5; }
.achievement-actions a { padding: 3px 0; font-weight: 600; }
.practice-section { margin-top: 36px; }
.practice-section > p { margin: -6px 0 22px; font-size: 14px; }
.practice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.practice-card { min-width: 0; padding: 23px; border: 1px solid #e5d8eb; border-radius: 13px; background: #fcf8fe; }
.practice-kind { display: block; margin-bottom: 11px; color: #856290; font-size: 11px; }
.practice-card h3 { margin-bottom: 12px; font-size: 21px; line-height: 1.4; }
.practice-card h3 a { color: #593666; }
.practice-card p { font-size: 13px; line-height: 1.8; }
.practice-link { display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 600; }
.achievement-detail { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 32px; align-items: start; margin: 30px 0; }
.achievement-document { padding: 15px; border: 1px solid #e4d7e9; border-radius: 12px; background: #f7f1f8; }
.certificate-zoom { padding: 0; border: 0; background: transparent; width: 100%; }
.achievement-document .certificate-zoom img { aspect-ratio: 210 / 297; width: 100%; object-fit: contain; max-height: none; box-shadow: 0 5px 18px #34223f20; }
.achievement-document figcaption { margin-top: 13px; color: #77677e; font-size: 11px; text-align: center; }
.achievement-description { padding-top: 5px; }
.achievement-description > .achievement-result { font-size: 16px; padding: 9px 13px; }
.achievement-facts { margin: 6px 0 25px; }
.achievement-facts > div { padding: 13px 0; border-bottom: 1px solid #e8ddeb; }
.achievement-facts dt { font-size: 12px; color: #89748f; margin-bottom: 6px; }
.achievement-facts dd { margin: 0; font-size: 15px; line-height: 1.7; color: #543d5c; }
.achievement-file-info { margin-top: 12px; font-size: 12px; color: #89748f; }
.achievement-story { max-width: 820px; }
.achievement-story section { margin: 27px 0; }
.achievement-story .linked-resources a { display: block; margin-top: 12px; font-size: 15px; }
.lightbox > img { object-fit: contain; }
@media (max-width: 1100px) {
    .catalog-awards { grid-template-columns: 1fr; }
    .achievement-card { grid-template-columns: 116px minmax(0,1fr); }
    .awards-overview { gap: 10px; }
    .awards-overview > div { padding: 15px 12px; gap: 10px; }
    .awards-overview span { font-size: 11px; }
    .awards-overview strong { font-size: 30px; }
    .two-cards > .achievement-card { grid-template-columns: 100px minmax(0,1fr); }
    .achievement-detail { gap: 23px; }
}
@media (max-width: 900px) {
    .achievement-detail { grid-template-columns: 1fr; }
    .achievement-document { max-width: 430px; width: 100%; }
    .practice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .awards-overview { gap: 8px; margin-bottom: 27px; }
    .awards-overview > div { display: block; padding: 15px 10px; }
    .awards-overview strong { display: block; font-size: 29px; margin-bottom: 9px; }
    .awards-overview span { font-size: 11px; line-height: 1.6; display: block; }
    .achievement-card, .two-cards > .achievement-card { grid-template-columns: 80px minmax(0,1fr); padding: 19px 15px; gap: 15px; }
    .achievement-preview { padding: 4px; }
    .achievement-card h3 { font-size: 21px; }
    .achievement-card p { font-size: 12px; line-height: 1.85; }
    .achievement-meta { font-size: 10px; gap: 5px; }
    .achievement-result { font-size: 11px; }
    .achievement-actions { font-size: 11px; gap: 10px; margin-top: 14px; }
    .recognition-section > h2, .practice-section > h2 { font-size: 25px; }
    .practice-card { padding: 21px 18px; }
    .practice-card h3 { font-size: 22px; }
    .practice-section > p { font-size: 13px; }
    .achievement-facts dd { font-size: 14px; }
    .achievement-document { padding: 11px; }
    .achievement-description .button { width: 100%; }
    .achievement-story .linked-resources a { font-size: 14px; }
}
@media (max-width: 370px) {
    .achievement-card, .two-cards > .achievement-card { grid-template-columns: 65px minmax(0,1fr); gap: 12px; padding-inline: 13px; }
    .achievement-card h3 { font-size: 20px; }
}
/* Long-form methods: editorial typography, tables and an in-article album. */
.editorial-article { margin-top: 27px; }
.editorial-cover { margin: 0 0 24px; }
.editorial-cover > img { aspect-ratio: 1.95; object-fit: cover; border-radius: 15px; }
.editorial-cover figcaption { margin-top: 12px; font-size: 12px; line-height: 1.7; color: #806e86; }
.editorial-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; padding: 22px 25px; margin: 0 0 27px; background: linear-gradient(110deg,#f8ecfc,#fff3e7); border: 1px solid #ead6e7; border-radius: 12px; }
.editorial-facts > div + div { border-left: 1px solid #dec7df; padding-left: 21px; }
.editorial-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #96769c; margin-bottom: 7px; }
.editorial-facts dd { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.6; color: #67346f; }
.editorial-toc { padding: 21px 25px; border: 1px solid #e4d4e9; border-radius: 12px; background: #fdf9fe; }
.editorial-toc summary { cursor: pointer; font-size: 17px; font-weight: 600; color: #6c3476; }
.editorial-toc[open] summary { padding-bottom: 15px; border-bottom: 1px solid #e9ddec; }
.editorial-toc nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 26px; margin-top: 19px; }
.editorial-toc nav a { display: flex; align-items: baseline; gap: 10px; font-size: 13px; line-height: 1.6; color: #765080; }
.editorial-toc nav a > span { flex: 0 0 20px; color: #b292ba; font-size: 11px; font-weight: bold; }
.editorial-body { max-width: 900px; margin: 0 auto; }
.rich-part { padding-top: 42px; scroll-margin-top: 25px; }
.rich-part:after { content: ''; display: block; clear: both; }
.rich-part > h2 { display: flex; align-items: baseline; gap: 15px; margin: 0 0 22px; font-size: 29px; line-height: 1.35; color: #58305e; }
.rich-section-number { flex: 0 0 27px; color: #b38fba; font-size: 15px; letter-spacing: .02em; }
.rich-part > p { margin: 0 0 18px; color: #57465e; font-size: 16px; line-height: 1.95; }
.rich-bullets { clear: both; margin: 22px 0 27px; padding: 0; list-style: none; }
.rich-bullets li { position: relative; padding: 15px 0 15px 32px; border-bottom: 1px solid #eee3f0; }
.rich-bullets li:last-child { border-bottom: 0; }
.rich-bullets li:before { content: ''; position: absolute; left: 2px; top: 23px; width: 11px; height: 11px; background: #9f54a2; border: 3px solid #f2def5; border-radius: 50%; box-shadow: 0 0 0 2px #ead7ee; }
.rich-bullets strong { display: block; margin-bottom: 6px; font-size: 16px; line-height: 1.6; color: #703c78; }
.rich-bullets span { display: block; color: #67516f; font-size: 15px; line-height: 1.9; }
.rich-steps { counter-reset: research-step; padding: 0; list-style: none; margin: 26px 0; }
.rich-steps li { counter-increment: research-step; display: grid; grid-template-columns: 39px minmax(0,1fr); gap: 5px 17px; padding: 20px; margin-bottom: 12px; border: 1px solid #e8d7ed; border-radius: 11px; background: #fcf8fe; }
.rich-steps li:before { content: counter(research-step); display: grid; place-items: center; grid-column: 1; grid-row: 1/3; width: 35px; height: 35px; border-radius: 10px; background: #ead9f0; color: #873a90; font-size: 17px; font-weight: bold; }
.rich-steps h3 { grid-column: 2; font-size: 19px; line-height: 1.5; margin: 0 0 3px; color: #6c3b76; }
.rich-steps p { grid-column: 2; font-size: 15px; line-height: 1.85; color: #67516f; }
.rich-table-wrap { max-width: 100%; overflow-x: auto; margin: 25px 0; border: 1px solid #ddc9e4; border-radius: 12px; }
.rich-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; line-height: 1.8; }
.rich-table caption { padding: 15px 18px; text-align: left; background: #fdf9fe; color: #92729a; font-size: 12px; line-height: 1.6; }
.rich-table th, .rich-table td { padding: 16px 18px; min-width: 145px; vertical-align: top; border-right: 1px solid #e6d7eb; border-bottom: 1px solid #e6d7eb; }
.rich-table tr > :last-child { border-right: 0; }
.rich-table tbody tr:last-child > * { border-bottom: 0; }
.rich-table th { background: #eee0f4; color: #6b3676; font-size: 13px; line-height: 1.6; font-weight: 600; }
.rich-table td { color: #66506d; }
.rich-table tbody tr:nth-child(even) { background: #fcf8fd; }
.rich-table tbody tr:hover { background: #faf0fc; }
.rich-figure { margin: 28px auto; }
.rich-figure img { display: block; border-radius: 12px; aspect-ratio: 1.5; object-fit: cover; }
.rich-figure figcaption { margin-top: 12px; font-size: 12px; line-height: 1.8; color: #8b758f; }
.rich-figure-aside { float: right; width: 44%; margin: 0 0 22px 29px; padding: 12px; border: 1px solid #e7d9eb; background: #fdf9fe; border-radius: 12px; }
.rich-figure-aside img { border-radius: 7px; }
.rich-figure-aside figcaption { font-size: 11px; margin-top: 10px; }
.rich-callout { clear: both; margin: 25px 0 8px; padding: 23px 26px; border: 1px solid #e0c5e7; border-left: 5px solid #a36eac; border-radius: 11px; background: #f8effb; }
.rich-callout > strong { display: block; margin-bottom: 10px; font-size: 17px; line-height: 1.6; color: #783d82; }
.rich-callout p { color: #705477; font-size: 15px; line-height: 1.9; }
.rich-callout-care { background: #eff8f2; border-color: #c6dfcf; border-left-color: #6eaa8c; }
.rich-callout-care > strong { color: #387861; }
.rich-callout-care p { color: #4e6e60; }
.rich-callout-idea { background: #fff8e9; border-color: #efdeb6; border-left-color: #d0a251; }
.rich-callout-idea > strong { color: #926727; }
.rich-callout-idea p { color: #806844; }
.rich-quote { margin: 29px 0; padding: 25px 30px; border: 0; border-left: 4px solid #d7a0b2; border-radius: 0 12px 12px 0; background: linear-gradient(110deg,#fff1f1,#fff8ed); }
.rich-quote p { margin: 0 0 14px; font: italic 23px/1.7 Georgia,serif; color: #865268; }
.rich-quote cite { font: normal 12px/1.6 Arial,sans-serif; color: #a27e8b; }
.rich-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; margin: 26px 0; }
.rich-options > div { padding: 24px; border: 1px solid #dfcae7; border-radius: 12px; background: #faf3fd; }
.rich-options > div:nth-child(2) { border-color: #cde3dc; background: #f0f9f5; }
.rich-options h3 { margin-bottom: 12px; font-size: 20px; color: #7d4488; }
.rich-options > div:nth-child(2) h3 { color: #438675; }
.rich-options p { color: #705c78; font-size: 15px; line-height: 1.85; }
.rich-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin: 27px 0; }
.rich-gallery figure { margin: 0; min-width: 0; }
.rich-gallery .zoom-image { width: 100%; padding: 0; border: 0; border-radius: 11px; overflow: hidden; background: #efe4f4; cursor: zoom-in; }
.rich-gallery img, .rich-gallery .zoom-image img { width: 100%; aspect-ratio: 1.5; object-fit: cover; transition: transform .2s; }
.rich-gallery .zoom-image:hover img { transform: scale(1.025); }
.rich-gallery figcaption { margin-top: 11px; font-size: 12px; line-height: 1.75; color: #856f8d; }
.editorial-download { margin-top: 38px; }
.editorial-related { margin-top: 30px; padding: 26px; border: 1px solid #e3d2e9; border-radius: 12px; background: #fcf8fe; }
.editorial-related h2 { font-size: 24px; color: #6c3776; margin-bottom: 17px; }
.editorial-related a { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid #e9deed; font-size: 14px; line-height: 1.7; }
.editorial-related a:last-child { border: 0; padding-bottom: 0; }
@media (max-width: 1000px) {
    .rich-figure-aside { float: none; width: 100%; max-width: none; margin: 0 0 23px; }
    .rich-figure-aside img { max-height: 360px; }
    .editorial-toc nav { grid-template-columns: 1fr; gap: 10px; }
    .editorial-facts { padding: 20px; gap: 14px; }
    .editorial-facts > div + div { padding-left: 14px; }
    .editorial-facts dd { font-size: 12px; }
    .rich-options { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .editorial-article { margin-top: 23px; }
    .editorial-cover > img { aspect-ratio: 1.4; border-radius: 10px; }
    .editorial-cover figcaption { font-size: 11px; }
    .editorial-facts { grid-template-columns: 1fr; gap: 13px; padding: 20px; }
    .editorial-facts > div + div { border-left: 0; border-top: 1px solid #dec7df; padding: 12px 0 0; }
    .editorial-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
    .editorial-facts dt { font-size: 10px; margin: 0; }
    .editorial-facts dd { max-width: 65%; font-size: 12px; text-align: right; }
    .editorial-toc { padding: 19px; }
    .editorial-toc summary { font-size: 16px; }
    .editorial-toc nav a { font-size: 12px; }
    .rich-part { padding-top: 32px; }
    .rich-part > h2 { gap: 10px; font-size: 25px; margin-bottom: 19px; }
    .rich-section-number { font-size: 12px; flex-basis: 22px; }
    .rich-part > p { font-size: 15px; line-height: 1.95; }
    .rich-bullets li { padding-left: 27px; }
    .rich-bullets strong { font-size: 16px; }
    .rich-bullets span { font-size: 14px; }
    .rich-steps li { grid-template-columns: 29px minmax(0,1fr); gap: 7px 13px; padding: 18px 15px; }
    .rich-steps li:before { width: 28px; height: 29px; font-size: 14px; border-radius: 8px; }
    .rich-steps h3 { font-size: 18px; }
    .rich-steps p { font-size: 14px; }
    .rich-table th, .rich-table td { padding: 13px; min-width: 150px; }
    .rich-table td { font-size: 13px; }
    .rich-table th { font-size: 12px; }
    .rich-table caption { padding: 13px; font-size: 11px; }
    .rich-callout { padding: 20px 18px; }
    .rich-callout > strong { font-size: 16px; }
    .rich-callout p { font-size: 14px; }
    .rich-quote { padding: 22px 20px; }
    .rich-quote p { font-size: 21px; }
    .rich-quote cite { font-size: 11px; }
    .rich-options > div { padding: 21px; }
    .rich-options p { font-size: 14px; }
    .rich-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 12px; }
    .rich-gallery figure:first-child { grid-column: 1/-1; }
    .rich-gallery figcaption { font-size: 11px; margin-top: 8px; }
    .rich-figure figcaption { font-size: 11px; }
    .editorial-related { padding: 22px 19px; }
    .editorial-related h2 { font-size: 23px; }
    .editorial-related a { font-size: 13px; }
}
@media print {
    .editorial-toc, .editorial-facts, .editorial-download, .editorial-related { display: none; }
    .rich-part { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {

}
