/* Desktop readability and public editorial cards. No header or crest rules. */
.welcome-page .welcome-hero-image{justify-content:flex-start;overflow:hidden;border:1px solid #d5d6c7;border-radius:16px;background:#fffdf7;align-self:start}
.welcome-page .welcome-hero-image img{display:block;border-radius:0;aspect-ratio:4/3;max-height:420px}
.welcome-page .welcome-hero-image figcaption{margin:0;padding:22px 24px;color:#344c3f;font:400 16px/1.65 system-ui}
.welcome-page .welcome-hero-image figcaption h2{font:600 28px/1.2 Georgia,serif;margin:8px 0 12px;letter-spacing:-.02em}
.welcome-page .welcome-hero-image figcaption p{white-space:pre-wrap;margin:0;overflow-wrap:anywhere}
.welcome-page .welcome-eyebrow{color:#56664e}
.welcome-page .welcome-small-links{padding-top:26px;margin-top:28px;border-top:1px solid #d3d9cd}
.welcome-page .welcome-small-links h3{margin:0 0 6px;font:600 23px/1.3 Georgia,serif}
.welcome-page .welcome-small-links p{margin:0 0 14px;color:#52634f}
.welcome-small-links nav{display:flex;flex-wrap:wrap;gap:10px}
.welcome-page .welcome-small-links nav a{display:inline-flex;align-items:center;gap:20px;justify-content:space-between;min-height:46px;padding:10px 16px;background:#fffdf7;border:1px solid #aebca7;border-radius:8px;color:#214535;font:650 14px/1.4 system-ui;text-decoration:none}
.welcome-small-links nav a:hover{background:#e7eedf;border-color:#647d59}
.welcome-public-stories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.welcome-public-stories>article{min-width:0;padding:24px;border:1px solid #cdd3c4;border-radius:12px;background:#fffdf7}
.welcome-public-stories>article a{font-weight:650;text-decoration:underline;text-underline-offset:4px}
.welcome-public-stories>article h3{font:600 23px/1.3 Georgia,serif}
.welcome-public-stories>p{grid-column:1/-1;background:#fffdf7;border:1px solid #d5dacd;padding:24px;border-radius:12px;margin:0;max-width:none}
/* A dark feature can contain light announcement cards. Give each its own ink. */
.bk-learning-panel .bk-study-competition .bk-latest-medals :is(h3,p,a){color:#fff9e8}
.bk-latest-medals [data-learning-showcase]>article>a{text-decoration:underline;text-underline-offset:4px;display:inline-flex;align-items:center;min-height:44px}

.hopworts-feature .hw-announcement :is(h3,h4,p,a,small),.bk-study-roundtable .hw-announcement :is(h3,h4,p,a,small){color:#214535!important}
.hopworts-feature .hw-next-session :is(p,a),.bk-study-roundtable .hw-next-session :is(p,a){color:#fff9e8!important}
.bk-learning-panel .bk-study-roundtable .bk-spotlight-copy>h2,.bk-learning-panel .bk-study-roundtable .bk-spotlight-copy>p,.bk-learning-panel .bk-study-roundtable .hw-empty{color:#fff9e8!important}
.bk-learning-panel .bk-study-roundtable .bk-study-kicker{color:#d2e9ad!important}
.homepage-editor textarea{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:12px;border:1px solid #aab6a0;border-radius:8px;background:#fffdf7;color:#214535;font:400 16px/1.65 system-ui;resize:vertical}
.homepage-editor small{display:block;font:400 14px/1.5 system-ui;color:#53664c;margin-top:8px}
.homepage-story-preview{padding:20px;background:#fffdf7;border:1px solid #d0c9b5;border-radius:12px;max-width:480px;box-sizing:border-box}
.homepage-story-preview>span{font:650 11px/1.5 system-ui;letter-spacing:.1em;color:#53664c}
.homepage-story-preview h3{font:600 26px/1.2 Georgia,serif;margin:10px 0}
.homepage-story-preview p{white-space:pre-wrap;overflow-wrap:anywhere}
@media screen and (min-width:768px){
 html.bk-desktop-active .welcome-main{max-width:1320px;padding-inline:40px}
 html.bk-desktop-active .welcome-hero{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:52px;align-items:start;padding-block:34px 46px}
 html.bk-desktop-active .welcome-hero h1{font-size:clamp(42px,4vw,64px);max-width:12ch}
 html.bk-desktop-active .welcome-hero-copy>p{max-width:58ch}
 html.bk-desktop-active .welcome-hero .welcome-actions{gap:12px;margin-block:26px 18px}
 html.bk-desktop-active .welcome-actions .button{font:650 15px/1.45 system-ui;padding:12px 18px;border-width:1px}
 html.bk-desktop-active .welcome-page .welcome-jumps a{padding:8px 14px;border:1px solid #b6c1ad;border-radius:8px;background:#fffdf7;text-decoration:none;color:#214535}
 html.bk-desktop-active .welcome-page .welcome-jumps{gap:10px}
 html.bk-desktop-active .welcome-paths>a{padding:28px;gap:4px;border-color:#b7c4ac}
 html.bk-desktop-active .welcome-page .welcome-paths .welcome-link{padding:8px 12px;border:1px solid #b7c4ac;border-radius:7px;background:#f4f6ed;text-decoration:none}
 html.bk-desktop-active .welcome-page .welcome-club-links>a{padding:20px;border:1px solid #c9d1bf;border-radius:10px;background:#fffdf7}
 html.bk-desktop-active .welcome-note,html.bk-desktop-active .welcome-club-links span{color:#52634f}
 html.bk-desktop-active .welcome-page .hopworts-feature :is(.welcome-note,.welcome-eyebrow){color:#d2e9ad}
 html.bk-desktop-active .bk-learning-panel .bk-study-spotlights{align-items:start;gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 html.bk-desktop-active .bk-learning-panel .bk-study-competition{display:block;background:#fffdf7;color:#214535;border-color:#bcc8af;box-shadow:none;padding:26px}
 html.bk-desktop-active .bk-learning-panel .bk-study-competition .bk-spotlight-copy>h2{font:600 28px/1.2 Georgia,serif;color:#214535!important}
 html.bk-desktop-active .bk-learning-panel .bk-study-competition :is(p,a,h3,.bk-study-kicker){color:#344d39!important}
 html.bk-desktop-active .bk-learning-panel .bk-study-competition .bk-study-kicker{font-size:11px;color:#596947!important}
 html.bk-desktop-active .bk-learning-panel .bk-study-competition .bk-competition-cta{background:#214535;color:#fff9e8!important;padding:11px 16px;border-radius:8px;text-decoration:none}
 html.bk-desktop-active .bk-latest-medals{border-top:1px solid #c9d1bf;margin-top:24px;padding-top:20px}
 html.bk-desktop-active .bk-latest-medals>h3{font:650 18px/1.4 system-ui}
 html.bk-desktop-active .bk-latest-medals [data-learning-showcase]>article{border-bottom:1px solid #d6ddce;padding:16px 0;overflow:auto}
 html.bk-desktop-active .bk-latest-medals [data-learning-showcase]>article h3{font:650 19px/1.3 Georgia,serif;margin:8px 0}
 html.bk-desktop-active .bk-latest-medals [data-learning-showcase]>article p{margin:6px 0;font-size:14px!important}
 html.bk-desktop-active .bk-latest-medals .bk-result-portrait{float:right;margin:0 0 10px 10px}
 html.bk-desktop-active .bk-learning-panel .bk-study-roundtable{padding:26px;box-shadow:none;gap:24px}
 html.bk-desktop-active .bk-study-roundtable>.hopworts-crest{width:140px}
 html.bk-desktop-active .dc-right-rail{align-content:start}
 html.bk-desktop-active .dc-right-rail .dc-club-spotlight{padding:0!important;overflow:hidden}
 html.bk-desktop-active .dc-club-spotlight>img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
 html.bk-desktop-active .dc-club-spotlight>div{padding:20px}
 html.bk-desktop-active .dc-club-spotlight>div>p{white-space:pre-wrap;overflow-wrap:anywhere}
 html.bk-desktop-active .dc-right-rail .home-sponsor-window{margin:0;width:100%;max-width:none;box-sizing:border-box}
 html.bk-desktop-active .dc-right-rail .home-sponsor-window h2{font:650 18px/1.4 system-ui}
 html.bk-desktop-active .dc-right-rail .home-sponsor-window [data-sponsor-preview]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;overflow:visible;margin:20px 0 0}
 html.bk-desktop-active .dc-right-rail .home-sponsor-window [data-sponsor-preview]>a{min-width:0;font-size:13px!important;line-height:1.4}
 html.bk-desktop-active .dc-right-rail .hs-logo{width:100%;max-width:92px;height:66px;background:#fff}
 html.bk-desktop-active .dc-public-feed-note{color:#53654e;font:16px/1.65 system-ui;margin-bottom:24px}
 /* Social buttons keep their shared dark-on-cream colors and interaction states. */
 html.bk-desktop-active .dc-card :is(a.dc-text-link,.dc-actions>a,.dc-actions>button){min-height:44px}
 html.bk-desktop-active .member-main .bk-recent-winners .small{color:#53664c}
}
@media screen and (min-width:768px) and (max-width:1000px){html.bk-desktop-active .welcome-hero{gap:30px}.welcome-public-stories{grid-template-columns:1fr 1fr}}
@media(max-width:767px){.welcome-public-stories{grid-template-columns:1fr}.welcome-page .welcome-hero-image figcaption{padding:20px}.welcome-page .welcome-hero-image figcaption h2{font-size:25px}.welcome-small-links nav{gap:8px}}
@media(prefers-reduced-motion:no-preference){.welcome-small-links nav a{transition:background .15s,border-color .15s}}

@media screen and (min-width:768px) and (max-width:1199px){html.bk-desktop-active .bk-learning-panel .bk-study-spotlights{grid-template-columns:1fr}}

@media screen and (min-width:768px){html.bk-desktop-active .dc-club-spotlight>div>p:not(.dc-kicker){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}}
/* Screenshot follow-up: light-card labels and the dark HopWorts hero have separate ink. */
html body .bk-learning-panel .bk-journey-grid .bk-study-kicker{color:#526844;font-size:12px;letter-spacing:.1em}
html body .scroll-sheet .page-intro.hopworts-hero h1{color:#fff9e8!important}
html body .bk-learning-panel #member-learning.content-section{padding-top:28px!important;margin-top:32px!important}
/* Replace the old timber footer with the shared forest-and-cream palette. */
html body .footer,html body .home-bottom{background:#183d2d!important;background-image:none!important;color:#fff8e7;border-top:1px solid #b9a369;border-bottom:0;box-shadow:none!important}
html body .footer{padding:36px max(24px,4vw);margin:0;max-width:none}
html body .footer .footer-brand{color:#fff8e7;font-weight:600}
html body .footer p{color:#f0eddf}
html body .footer small{color:#e2cea0;font:400 14px/1.6 system-ui;margin-top:24px}
html body .footer .footer-links{gap:12px 22px;align-items:center;margin-top:18px}
html body .footer .footer-links>a:not(.social-link),html body .home-bottom a:not(.social-link){color:#fff8e7;display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:5px;text-decoration-color:#a9bb9e}
html body .footer .footer-links>a:not(.social-link):hover,html body .home-bottom a:not(.social-link):hover{color:#f3d78c;text-decoration-color:currentColor}
html body .footer a:focus-visible,html body .home-bottom a:focus-visible{outline:3px solid #f3d78c;outline-offset:4px}
@media(max-width:767px){html body .footer{padding:28px 20px 100px}html body .footer .footer-links{gap:10px 16px}html body .footer .footer-brand{font-size:1.6rem}}
