/* Homepage section layout v169: text and heading tags remain unchanged. */
.att-home-source .kf-home-chapter{margin:18px 0;border:1px solid #45474b;border-radius:17px;background:#2b2d30;overflow:hidden;color:#e9e8e2}
.att-home-source .kf-chapter-heading{list-style:none;display:flex;align-items:center;gap:14px;padding:22px 26px;cursor:pointer;user-select:none}
.att-home-source .kf-chapter-heading::-webkit-details-marker{display:none}
.att-home-source .kf-chapter-heading:after{content:'+';flex:0 0 34px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #595b60;border-radius:9px;color:#e2b714;font-size:22px;line-height:1}
.att-home-source .kf-home-chapter[open]>.kf-chapter-heading:after{content:'−'}
.att-home-source .kf-chapter-heading h2{flex:1;min-width:0;margin:0!important;padding:0!important;border:0!important;font-size:clamp(22px,2.6vw,31px)!important;line-height:1.3!important;letter-spacing:-.025em!important;color:#f5f3ed!important}
.att-home-source .kf-chapter-heading h2:before{display:none!important}
.att-home-source .kf-chapter-body{border-top:1px solid #45474b;padding:20px 24px 26px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.att-home-source .kf-chapter-body>p,.att-home-source .kf-chapter-body>ul,.att-home-source .kf-chapter-body>ol,.att-home-source .kf-chapter-body>table{grid-column:1/-1;margin:0 0 8px!important}
.att-home-source .kf-home-topic{min-width:0;padding:19px 20px;border:1px solid #44464a;border-radius:13px;background:#323437}
.att-home-source .kf-home-topic h3,.att-home-source .kf-home-topic h4,.att-home-source .kf-home-topic h5,.att-home-source .kf-home-topic h6{display:block!important;margin:0 0 10px!important;padding:0!important;color:#f2f0e9!important;line-height:1.35!important;font-weight:750!important;letter-spacing:-.01em!important}
.att-home-source .kf-home-topic h3{font-size:20px!important}.att-home-source .kf-home-topic h4{font-size:18px!important}.att-home-source .kf-home-topic h5,.att-home-source .kf-home-topic h6{font-size:17px!important}
.att-home-source .kf-home-topic h3:before{display:none!important}
.att-home-source .kf-home-topic p{margin:0 0 9px!important;color:#bcbdbb!important;font-size:14px!important;line-height:1.65!important}
.att-home-source .kf-home-topic p:last-child{margin-bottom:0!important}
.att-home-source .kf-chapter-heading:focus-visible{outline:2px solid #e2b714;outline-offset:-3px}
body.att-light .att-home-source .kf-home-chapter{background:#f3f1ea;border-color:#d4d1c8}
body.att-light .att-home-source .kf-chapter-heading h2{color:#292b2d!important}
body.att-light .att-home-source .kf-chapter-body{border-color:#d4d1c8}
body.att-light .att-home-source .kf-home-topic{background:#fff;border-color:#dedbd3}
body.att-light .att-home-source .kf-home-topic h3,body.att-light .att-home-source .kf-home-topic h4,body.att-light .att-home-source .kf-home-topic h5,body.att-light .att-home-source .kf-home-topic h6{color:#292b2d!important}
body.att-light .att-home-source .kf-home-topic p{color:#606266!important}
@media(max-width:740px){.att-home-source .kf-chapter-body{grid-template-columns:1fr;padding:13px;gap:11px}.att-home-source .kf-chapter-heading{padding:17px 15px}.att-home-source .kf-chapter-heading h2{font-size:21px!important}.att-home-source .kf-home-topic{padding:16px}.att-home-source .kf-home-topic h3{font-size:19px!important}.att-home-source .kf-home-topic h4{font-size:18px!important}}

/* v170: masonry-style flow prevents empty vertical gaps beside taller topics. */
@media(min-width:741px){
 .att-home-source .kf-chapter-body{display:block!important;columns:2;column-gap:14px;}
 .att-home-source .kf-chapter-body>.kf-home-topic{display:inline-block;vertical-align:top;width:100%;box-sizing:border-box;break-inside:avoid;page-break-inside:avoid;margin:0 0 14px!important;}
 .att-home-source .kf-chapter-body>p,.att-home-source .kf-chapter-body>ul,.att-home-source .kf-chapter-body>ol,.att-home-source .kf-chapter-body>table{break-inside:avoid;margin:0 0 14px!important;}
}
@media(max-width:740px){.att-home-source .kf-chapter-body{display:flex!important;flex-direction:column;gap:10px!important}.att-home-source .kf-chapter-body>.kf-home-topic{width:100%;box-sizing:border-box;margin:0!important}}

/* v171: refined typography, balanced independent columns and yellow section descriptions */
.att-home-source .kf-home-chapter{margin:12px 0!important;border-radius:15px!important;background:#292b2e!important;border-color:#45464a!important}
.att-home-source .kf-chapter-heading{padding:17px 22px!important;gap:12px!important;background:#303236!important}
.att-home-source .kf-chapter-heading h2{font-size:clamp(19px,2vw,25px)!important;line-height:1.35!important;overflow-wrap:anywhere!important;word-break:normal!important;letter-spacing:-.02em!important}
.att-home-source .kf-home-chapter[open]>.kf-chapter-heading{background:#353638!important;border-bottom:2px solid #e2b714!important}
.att-home-source .kf-chapter-heading:after{flex-shrink:0!important;background:#e2b714!important;color:#222!important;border:0!important;border-radius:10px!important;font-weight:700!important}
.att-home-source .kf-chapter-body{display:block!important;columns:auto!important;padding:20px 22px 24px!important}
.att-home-source .kf-chapter-body>p{display:block!important;width:100%!important;max-width:none!important;color:#e2b714!important;font-size:16px!important;line-height:1.8!important;margin:0 0 18px!important;column-span:all!important}
.att-home-source .kf-topic-stacks{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.att-home-source .kf-topic-stack{display:flex;flex-direction:column;gap:12px;min-width:0}
.att-home-source .kf-topic-stack>.kf-home-topic{display:block!important;width:100%!important;margin:0!important;break-inside:avoid!important;min-width:0!important;background:#303235!important;border:1px solid #4a4b4e!important;border-left:3px solid #e2b714!important;border-radius:11px!important;padding:17px 19px!important;transition:border-color .15s,background .15s}
.att-home-source .kf-topic-stack>.kf-home-topic:hover{border-color:#e2b714!important;background:#35373a!important}
.att-home-source .kf-home-topic :is(h3,h4,h5,h6){font-size:clamp(17px,1.35vw,19px)!important;line-height:1.4!important;overflow-wrap:anywhere!important;margin:0 0 9px!important}
.att-home-source .kf-home-topic p{font-size:14px!important;line-height:1.7!important}
.att-home-source .kf-start-test-btn{display:inline-flex;align-items:center;justify-content:center;background:#e2b714;color:#202124!important;text-decoration:none!important;border-radius:10px;padding:13px 24px;font-weight:800;margin-top:8px}
.att-home-source .kf-start-test-btn:hover{background:#f1c72d}
body.att-light .att-home-source .kf-home-chapter{background:#f6f4ee!important;border-color:#d6d1c6!important}
body.att-light .att-home-source .kf-chapter-heading,body.att-light .att-home-source .kf-home-chapter[open]>.kf-chapter-heading{background:#f1eee5!important}
body.att-light .att-home-source .kf-chapter-body>p{color:#926b24!important}
body.att-light .att-home-source .kf-topic-stack>.kf-home-topic{background:#fff!important;border-color:#dedbd3!important;border-left-color:#b58c18!important}
@media(max-width:740px){.att-home-source .kf-topic-stacks{grid-template-columns:1fr!important}.att-home-source .kf-chapter-heading{padding:15px!important}.att-home-source .kf-chapter-heading h2{font-size:19px!important}.att-home-source .kf-chapter-body{padding:15px!important}.att-home-source .kf-chapter-body>p{font-size:15px!important}}
