.obc-bot-help { flex-shrink:0; font-size:.875rem; white-space:nowrap; background:#0758d9; color:#fff; border:0; border-radius:.6rem; padding:.8rem 1rem; cursor:pointer; }
.obc-bot-help:hover { background:#0648b1; color:#fff; }
#obc-bot-dialog { box-sizing:border-box; width:min(36rem,calc(100% - 2rem)); max-height:calc(100dvh - 2rem); overflow:auto; border:0; border-radius:1.25rem; padding:2.5rem 1.5rem 1.5rem; color:#111c34; background:#fff; box-shadow:0 20px 70px #13295655; }
#obc-bot-dialog::backdrop { background:#07173399; }
#obc-bot-dialog h2 { font-size:clamp(1.35rem,3vw,1.8rem); line-height:1.25; margin-top:0; }
.obc-bot-close { position:absolute; top:.25rem; right:.5rem; width:44px; height:44px; padding:0; font-size:1.8rem; background:#eef4ff; color:#123b92; border:0; border-radius:50%; cursor:pointer; }
.obc-bot-channels { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.obc-bot-channel { display:inline-flex; align-items:center; justify-content:center; gap:.5rem; padding:1rem; border:1px solid #b8cbea; border-radius:.75rem; background:#fff; color:#1747a3; text-decoration:none; font-size:1rem; line-height:1.4; }
.obc-bot-channel--disabled { background:#edf2f8; color:#45546b; }
.obc-bot-help:focus-visible,.obc-bot-close:focus-visible,.obc-bot-channel:focus-visible,.obc-catalog-search :focus-visible { outline:3px solid #e88b0a; outline-offset:3px; }
.obc-catalog .obc-catalog-hero { box-sizing:border-box; width:100%; max-width:80rem!important; margin-inline:auto!important; min-height:26rem; padding:clamp(1.5rem,3vw,3rem); border-radius:1.5rem; overflow:hidden; color:#111c34; }
.obc-catalog-hero__content { box-sizing:border-box; max-width:54%; width:100%; }
.obc-catalog-hero h1 { margin:0; font-size:clamp(2rem,3.3vw,3rem); line-height:1.08; color:#111c34; }
.obc-catalog-hero p { color:#45546b; }
.obc-catalog-hero::before { content:''; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(90deg,#fff 0%,#fffffff5 35%,#ffffffa8 50%,transparent 65%); }
.obc-catalog-hero .wp-block-cover__inner-container { position:relative; z-index:2; }
.obc-catalog-search { margin-top:1.5rem; }
.obc-catalog-search .wp-block-search__inside-wrapper { display:flex; gap:.4rem; padding:.35rem; background:#fff; border:1px solid #c9d5e5; border-radius:.75rem; }
.obc-catalog-search input { box-sizing:border-box; min-width:0; flex:1; width:100%; border:0; background:transparent; padding:.75rem; font:inherit; font-size:.9rem; color:#111c34; }
.obc-catalog-search button { flex-shrink:0; margin:0; padding:.75rem 1rem; background:#0758d9; color:#fff; border:0; border-radius:.5rem; font:inherit; font-size:.875rem; cursor:pointer; }
.obc-catalog-hero .obc-catalog-search .wp-block-search__input { border-radius:.5rem; }
.obc-catalog-hero .obc-catalog-search .wp-block-search__input:focus { outline:2px solid var(--obc-primary); outline-offset:-2px; }
.obc-catalog-examples { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; margin-top:.75rem; font-size:.75rem; color:#45546b; }
.obc-catalog-examples a { padding:.45rem .65rem; border-radius:.5rem; color:#1648a5; background:#e8f1ff; text-decoration:none; }
.obc-catalog-directions { margin-block:0; }
.obc-catalog-directions > .obc-section-lead { margin-inline:0!important; }
@media(max-width:960px) { .obc-bot-help { margin-left:auto; } .obc-site-header__inner { flex-wrap:wrap; } .obc-catalog-hero__content { max-width:60%; } }
@media(max-width:700px) { .obc-catalog .obc-catalog-hero { padding-bottom:19rem; background:#fff; } .obc-catalog-hero .wp-block-cover__image-background { top:auto; bottom:0; height:18rem; object-position:right; } .obc-catalog-hero::before { background:linear-gradient(180deg,#fff 0%,#fff 50%,transparent 80%); } .obc-catalog-hero__content { max-width:100%; } }
@media(max-width:540px) { .obc-bot-help { font-size:.75rem; padding:.6rem .7rem; } .obc-site-header__inner { gap:.5rem; } .obc-bot-channels { grid-template-columns:1fr; } .obc-catalog-search .wp-block-search__inside-wrapper { flex-wrap:wrap; } .obc-catalog-search input { flex-basis:100%; } .obc-catalog-search button { width:100%; } }
@media(prefers-reduced-motion:reduce) { #obc-bot-dialog,#obc-bot-dialog * { scroll-behavior:auto; animation:none; transition:none; } }

/* TXT 18.10: reuse the deployed course-card visual states, not link semantics. */
.obc-home .obc-search-form,
.obc-catalog-search .wp-block-search__inside-wrapper { align-items:center; gap:.4rem; min-height:0; padding:.35rem; border:1px solid #c9d5e5; border-radius:.75rem; background:#fff; box-shadow:none; }
.obc-home .obc-search-form input,
.obc-catalog-hero .obc-catalog-search .wp-block-search__input { box-sizing:border-box; min-height:3rem; border:0; border-radius:.5rem; padding:.75rem; font:inherit; font-size:.9rem; line-height:1.4; color:#111c34; }
.obc-home .obc-search-form:focus-within { border-color:#c9d5e5; box-shadow:none; }
.obc-home .obc-search-form input:focus,
.obc-catalog-hero .obc-catalog-search .wp-block-search__input:focus { outline:2px solid var(--obc-primary); outline-offset:-2px; }
.obc-home .obc-search-form button,
.obc-catalog-search .wp-block-search__button { min-height:3rem; padding:.75rem 1rem; font:inherit; font-size:.9375rem; font-weight:700; line-height:1.4; }
.obc-home .obc-search-form button,
.obc-catalog-search .wp-block-search__button,
.obc-site-header .obc-bot-help { background:linear-gradient(135deg,var(--obc-primary) 0%,#173693 100%); color:#fff; border-radius:.75rem; transition:transform .2s ease,box-shadow .2s ease,background .2s ease; }
.obc-home .obc-search-form button:hover,
.obc-catalog-search .wp-block-search__button:hover,
.obc-site-header .obc-bot-help:hover { background:linear-gradient(135deg,var(--obc-primary-hover) 0%,#112870 100%); transform:translateY(-1px); box-shadow:0 4px 12px rgba(28,63,170,.25); }
.obc-home .obc-search-form button:focus-visible,
.obc-catalog-search .wp-block-search__button:focus-visible,
.obc-site-header .obc-bot-help:focus-visible { outline:2px solid var(--obc-primary); outline-offset:2px; }
@media(min-width:541px) { .obc-home .obc-search-form { flex-wrap:nowrap; } .obc-home .obc-search-form input { flex-basis:0; } .obc-home .obc-search-form button { width:auto; } }
@media(max-width:540px) { .obc-home .obc-search-form { flex-wrap:wrap; } .obc-home .obc-search-form input { flex-basis:calc(100% - 3rem); } .obc-home .obc-search-form button { width:100%; } }
@media(prefers-reduced-motion:reduce) { .obc-home .obc-search-form button,.obc-catalog-search .wp-block-search__button,.obc-site-header .obc-bot-help { transition:none!important; } }
