
:root,body{
--bp-text:var(--theme-color-text,#1f2933);
--bp-muted:var(--theme-color-muted,#6b7785);
--bp-primary:var(--theme-color-primary,#2563eb);
--bp-bg:var(--theme-color-background,#ffffff);
--bp-surface:var(--theme-color-surface,#f6f8fa);
--bp-border:var(--theme-color-border,#e3e8ee);
--bp-radius:var(--theme-space-radius,10px);
--bp-gap:var(--theme-space-gap,20px);
--bp-section:var(--theme-space-section,56px);
--bp-width:var(--theme-max-width,1080px);
--bp-body-font:var(--theme-font-body,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif);
--bp-heading-font:var(--theme-font-heading,var(--bp-body-font));
}

.bp-heading{font-family:var(--bp-heading-font);line-height:1.25;margin:0 0 .5em;font-weight:700}
.bp-text{margin:0 0 1em}
.bp-divider{border:0;border-top:1px solid var(--bp-border);margin:var(--bp-gap) 0}
.bp-spacer{width:100%}
.bp-html{white-space:pre-wrap}

.bp-image{margin:0 0 var(--bp-gap)}
.bp-image img{display:block;border-radius:var(--bp-radius)}
.bp-image figcaption{margin-top:8px;color:var(--bp-muted);font-size:14px}

.bp-button{display:inline-block;padding:11px 20px;border-radius:var(--bp-radius);font-weight:600;text-decoration:none;line-height:1.2;border:1px solid transparent}
.bp-button--primary{background:var(--bp-primary);color:#fff}
.bp-button--secondary{background:var(--bp-surface);color:var(--bp-text);border-color:var(--bp-border)}
.bp-button--ghost{background:transparent;color:var(--bp-primary);border-color:currentColor}

.bp-section{padding:var(--bp-section) 20px}
.bp-section__inner{max-width:var(--bp-width);margin:0 auto}
.bp-container{max-width:var(--bp-width);margin:0 auto;padding:0 20px}
.bp-columns{display:flex;flex-wrap:wrap;align-items:flex-start}
.bp-columns--none{gap:0}
.bp-columns--small{gap:12px}
.bp-columns--medium{gap:var(--bp-gap)}
.bp-columns--large{gap:40px}
.bp-column{flex:1 1 0;min-width:0}
.bp-grid{display:grid;gap:var(--bp-gap)}
.bp-grid--1{grid-template-columns:1fr}
.bp-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.bp-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.bp-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.bp-grid--5{grid-template-columns:repeat(5,minmax(0,1fr))}
.bp-grid--6{grid-template-columns:repeat(6,minmax(0,1fr))}

.bp-hero{position:relative;padding:72px 24px;text-align:center;background:var(--bp-surface);border-radius:var(--bp-radius);overflow:hidden}
.bp-hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.28}
.bp-hero__body{position:relative;max-width:720px;margin:0 auto}
.bp-hero__title{font-family:var(--bp-heading-font);font-size:clamp(30px,4vw,46px);line-height:1.15;margin:0 0 12px}
.bp-hero__subtitle{color:var(--bp-muted);font-size:19px;margin:0 0 22px}
.bp-hero__cta{display:inline-block;padding:12px 24px;border-radius:var(--bp-radius);background:var(--bp-primary);color:#fff;text-decoration:none;font-weight:600}

.bp-card{background:var(--bp-bg);border:1px solid var(--bp-border);border-radius:var(--bp-radius);overflow:hidden;display:flex;flex-direction:column}
.bp-card__image{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.bp-card__body{padding:18px}
.bp-card__title{font-family:var(--bp-heading-font);font-size:19px;margin:0 0 8px}
.bp-card__text{color:var(--bp-muted);margin:0 0 12px}
.bp-card__link{font-weight:600;text-decoration:none}

.bp-faq{border-bottom:1px solid var(--bp-border);padding:14px 0}
.bp-faq__question{cursor:pointer;font-weight:600}
.bp-faq__answer{padding-top:10px;color:var(--bp-muted)}

.bp-cta{background:var(--bp-surface);border-radius:var(--bp-radius);padding:32px;text-align:center}
.bp-cta__title{font-family:var(--bp-heading-font);margin:0 0 10px}
.bp-cta__text{color:var(--bp-muted);margin:0 0 18px}
.bp-cta__button{display:inline-block;padding:12px 24px;border-radius:var(--bp-radius);background:var(--bp-primary);color:#fff;text-decoration:none;font-weight:600}

.bp-quote{margin:0 0 var(--bp-gap);padding:4px 0 4px 20px;border-left:3px solid var(--bp-primary);font-size:19px}
.bp-quote p{margin:0 0 8px}
.bp-quote cite{color:var(--bp-muted);font-size:15px;font-style:normal}

.bp-post-title{font-family:var(--bp-heading-font);font-size:clamp(28px,3.4vw,40px);line-height:1.2;margin:0 0 14px}
.bp-post-meta{display:flex;flex-wrap:wrap;gap:14px;color:var(--bp-muted);font-size:15px;margin-bottom:18px}
.bp-post-category{display:inline-block;padding:4px 11px;border-radius:999px;background:var(--bp-surface);color:var(--bp-text);font-size:13px;text-decoration:none}
.bp-post-content{font-size:18px}
.bp-post-content img{border-radius:var(--bp-radius)}
.bp-post-content h2,.bp-post-content h3{font-family:var(--bp-heading-font);line-height:1.3;margin:1.6em 0 .5em}
.bp-post-content p{margin:0 0 1.1em}
.bp-post-content blockquote{margin:0 0 1.1em;padding-left:18px;border-left:3px solid var(--bp-border);color:var(--bp-muted)}
.bp-post-author{margin-top:28px;padding:18px;border:1px solid var(--bp-border);border-radius:var(--bp-radius)}
.bp-post-author__name{font-weight:600}
.bp-post-author__bio{color:var(--bp-muted);margin:6px 0 0}
.bp-featured{margin:0 0 22px}
.bp-featured img{width:100%;border-radius:var(--bp-radius);display:block}

.bp-related{margin-top:40px}
.bp-related__title{font-family:var(--bp-heading-font);font-size:21px;margin:0 0 16px}
.bp-related__list{list-style:none;margin:0;padding:0;display:grid;gap:var(--bp-gap);grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.bp-related__image{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--bp-radius);display:block;margin-bottom:8px}
.bp-related__link{font-weight:600;text-decoration:none;color:var(--bp-text)}

.bp-cards{margin:32px 0}
.bp-cards__title{font-family:var(--bp-heading-font);font-size:21px;margin:0 0 16px}
.bp-cards__list{list-style:none;margin:0;padding:0;display:grid;gap:var(--bp-gap);grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.bp-cards__item{background:var(--bp-surface);border:1px solid var(--bp-border);border-radius:var(--bp-radius);overflow:hidden}
.bp-cards__link{display:block;color:inherit;text-decoration:none;height:100%}
.bp-cards__image{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.bp-cards__heading{font-family:var(--bp-heading-font);font-size:17px;line-height:1.35;margin:12px 14px 0}
.bp-cards__desc{margin:6px 14px 14px;font-size:14px;line-height:1.5;color:var(--bp-muted)}

.bp-recent{margin:32px 0}
.bp-recent__title{font-family:var(--bp-heading-font);font-size:21px;margin:0 0 16px}
.bp-recent__list{list-style:none;margin:0;padding:0;display:grid;gap:var(--bp-gap);grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.bp-recent__item{background:var(--bp-surface);border:1px solid var(--bp-border);border-radius:var(--bp-radius);overflow:hidden}
.bp-recent__link{display:block;color:inherit;text-decoration:none;height:100%}
.bp-recent__image{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.bp-recent__heading{font-family:var(--bp-heading-font);font-size:17px;line-height:1.35;margin:12px 14px 0}
.bp-recent__desc{margin:6px 14px 14px;font-size:14px;line-height:1.5;color:var(--bp-muted)}
/* Load more, with no script: the checkbox is the state, the label is the
   button, and the overflow items are hidden until it is checked. */
.bp-recent__toggle{position:absolute;width:1px;height:1px;opacity:0;margin:0}
.bp-recent__item.is-extra{display:none}
.bp-recent__toggle:checked~.bp-recent__list .bp-recent__item.is-extra{display:block}
.bp-recent__toggle:checked~.bp-recent__more{display:none}
.bp-recent__more{display:inline-block;margin-top:18px;padding:10px 20px;border:1px solid var(--bp-border);border-radius:var(--bp-radius);background:var(--bp-surface);color:var(--bp-text);font-weight:600;cursor:pointer}
.bp-recent__empty{color:var(--bp-muted)}
.bp-recent__date{margin:0 14px 14px;font-size:13px;color:var(--bp-muted)}
.bp-recent__more:hover{border-color:var(--bp-primary);color:var(--bp-primary)}
.bp-recent__toggle:focus-visible~.bp-recent__more{outline:2px solid var(--bp-primary);outline-offset:2px}

.bp-breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;color:var(--bp-muted);font-size:14px;margin-bottom:16px}
.bp-breadcrumbs a{color:var(--bp-muted);text-decoration:none}
.bp-site-nav{padding:16px 0}
.bp-site-nav__home{font-weight:700;text-decoration:none;color:var(--bp-text)}

/* --- menus ------------------------------------------------------------- */
.bp-menu{font-family:var(--bp-heading-font)}
.bp-menu__list,.bp-menu__submenu{list-style:none;margin:0;padding:0}
.bp-menu__list{display:flex;gap:4px}
.bp-menu__item{position:relative}
.bp-menu__link{display:block;padding:9px 14px;color:var(--bp-text);text-decoration:none;border-radius:var(--bp-radius);font-weight:500;line-height:1.3}
.bp-menu__link:hover,.bp-menu__link:focus{background:var(--bp-surface);color:var(--bp-primary)}
.bp-menu__item.is-active>.bp-menu__link{color:var(--bp-primary);font-weight:700}
.bp-menu--bar{background:var(--bp-surface);border-radius:var(--bp-radius);padding:6px 10px}
.bp-menu--bordered{border-bottom:1px solid var(--bp-border)}
.bp-menu__title{margin:0 0 8px;padding:0 14px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--bp-muted)}
.bp-menu__subitem.is-active>.bp-menu__link{color:var(--bp-primary);font-weight:700}
.bp-menu--vertical.bp-menu--bar{background:var(--bp-surface);border-radius:var(--bp-radius);padding:14px 8px}

.bp-menu--horizontal .bp-menu__list{flex-direction:row;flex-wrap:wrap;align-items:center}
.bp-menu--vertical .bp-menu__list{flex-direction:column;gap:2px}
.bp-menu--vertical .bp-menu__submenu{margin:2px 0 6px 14px;border-left:2px solid var(--bp-border);padding-left:8px}
.bp-menu--align-start .bp-menu__list{justify-content:flex-start}
.bp-menu--align-center .bp-menu__list{justify-content:center}
.bp-menu--align-end .bp-menu__list{justify-content:flex-end}

/*
 * The dropdown opens on hover AND on focus-within, so it is reachable by
 * keyboard with no script at all. visibility+opacity rather than display so
 * the transition runs and so the submenu keeps its layout box for hit-testing
 * on the way down.
 */
.bp-menu--dropdown .bp-menu__item--has-children>.bp-menu__link::after{content:"";display:inline-block;margin-left:7px;border:4px solid transparent;border-top-color:currentColor;transform:translateY(2px)}
.bp-menu--dropdown .bp-menu__submenu{position:absolute;top:100%;left:0;z-index:40;min-width:200px;padding:6px;background:var(--bp-bg);border:1px solid var(--bp-border);border-radius:var(--bp-radius);box-shadow:0 12px 28px rgba(16,24,40,.12);visibility:hidden;opacity:0;transition:opacity .14s ease}
.bp-menu--dropdown .bp-menu__item--has-children:hover>.bp-menu__submenu,
.bp-menu--dropdown .bp-menu__item--has-children:focus-within>.bp-menu__submenu{visibility:visible;opacity:1}
.bp-menu--dropdown .bp-menu__link--sub{padding:8px 12px;font-weight:500}

@media (max-width:1024px){
.bp-grid--4,.bp-grid--5,.bp-grid--6{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
.bp-section{padding:36px 16px}
.bp-columns{flex-direction:column}
.bp-column{width:100%;flex:1 1 auto}
.bp-grid--2,.bp-grid--3,.bp-grid--4,.bp-grid--5,.bp-grid--6{grid-template-columns:1fr}
.bp-hero{padding:48px 18px}
/*
 * A hover-only dropdown is unusable on touch, so below the phone breakpoint
 * the submenu stops being a popover and becomes an indented list that is
 * always visible. Nothing is hidden behind an interaction the device cannot
 * perform.
 */
.bp-menu--dropdown .bp-menu__submenu{position:static;visibility:visible;opacity:1;border:0;box-shadow:none;padding:0 0 0 14px;border-left:2px solid var(--bp-border);border-radius:0;min-width:0}
.bp-menu--dropdown .bp-menu__item--has-children>.bp-menu__link::after{display:none}
.bp-menu--horizontal .bp-menu__list{flex-direction:column;align-items:stretch}
}
