/*
 Theme Name:   UNIVEN Library & Information Services
 Description:  BeTheme child theme for UNIVEN Library & Information Services.
 Author:       UNIVEN ICT / Earlybirds Corporation
 Template:     betheme
 Version:      3.5.0
*/

/* ── Variables ───────────────────────────────────────────── */
:root {
  --navy:    #1E3A6E;
  --navy2:   #152d56;
  --navy-lt: #EEF2F9;
  --gold:    #B8962E;
  --gold-lt: #F5EDD0;
  --red:     #CC4F3D;
  --red-lt:  #FBEEEC;
  --bg:      #F5F5F5;
  --white:   #fff;
  --tx:      #1a1a1a;
  --txm:     #444;
  --txmu:    #888;
  --border:  #E0E0E0;
  --radius:  12px;
}

/* ── Base ────────────────────────────────────────────────── */
.lib-wrap *, .lib-wrap *::before, .lib-wrap *::after { box-sizing: border-box; }
.lib-wrap { font-family: 'Open Sans', sans-serif; color: var(--tx); }
.lib-wrap a { text-decoration: none; color: inherit; }
.lib-content-block a:not(.lib-btn-navy):not(.lib-btn-outline),
.lib-infobox a:not(.lib-btn-navy):not(.lib-btn-outline),
.lib-service-desc a:not(.lib-btn-navy):not(.lib-btn-outline) { color: var(--navy) !important; font-weight: 600; text-decoration: underline; }
.lib-content-block a:hover:not(.lib-btn-navy):not(.lib-btn-outline),
.lib-infobox a:hover:not(.lib-btn-navy):not(.lib-btn-outline),
.lib-service-desc a:hover:not(.lib-btn-navy):not(.lib-btn-outline) { color: var(--gold) !important; }

/* ── Suppress BeTheme chrome ─────────────────────────────── */
#Header, #Top_bar, .mfn-fixed-nav, #Intro,
.header-placeholder, #Footer, #Footer_builder,
.footer-copy { display: none !important; }
.admin-bar .lib-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .lib-nav { top: 46px; } }

/* ══════════════════════════════════════════
   TOP BAR
══════════════════════════════════════════ */
.lib-topbar { background: var(--navy); }
.lib-topbar-in { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: stretch; height: 48px; }
.lib-topbar-left { display: flex; align-items: center; gap: 16px; flex: 1; }
.lib-topbar-social { display: flex; align-items: center; gap: 12px; }
.lib-topbar-social a { color: rgba(255,255,255,.7); display: flex; align-items: center; transition: color .15s; }
.lib-topbar-social a:hover { color: #fff; }
.lib-topbar-social svg { width: 16px; height: 16px; fill: currentColor; }
.lib-topbar-name { font-size: 16px; text-transform: uppercase; letter-spacing: .03em; color: rgba(255,255,255,.75); font-weight: 600; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.2); }
.lib-topbar-right { display: flex; align-items: stretch; }
.lib-topbar-right a { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); padding: 0 16px; border-left: 1px solid rgba(255,255,255,.1); transition: background .15s; white-space: nowrap; }
.lib-topbar-right a:hover { background: rgba(255,255,255,.1); color: #fff; }
.lib-topbar-right a svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.lib-account { background: var(--gold) !important; color: #fff !important; }
.lib-account:hover { background: #9a7a1f !important; }

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
.lib-nav { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; box-shadow: 0 1px 6px rgba(0,0,0,.07); }
.lib-nav-in { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; height: 110px; position: relative; }
.lib-nav-brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; margin-right: 32px; }
.lib-nav-logo { height: 80px !important; width: auto; display: block; }
.lib-hamburger { display: none; background: none; border: none; padding: 8px; cursor: pointer; margin-left: auto; flex-direction: column; justify-content: center; gap: 5px; }
.lib-hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .25s; }
.lib-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lib-hamburger.open span:nth-child(2) { opacity: 0; }
.lib-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.lib-nav-links { display: flex; align-items: stretch; margin-left: auto; }
.lib-ni { position: relative; }
.lib-nl { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--txm); padding: 0 14px; height: 110px; white-space: nowrap; transition: color .15s; cursor: pointer; }
.lib-nl:hover { color: var(--navy); }
.lib-caret { font-size: 9px; opacity: .5; }
.lib-ni:hover > .lib-drop { display: block; }
.lib-drop { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid #ccc; border-top: 3px solid var(--navy); box-shadow: 0 4px 16px rgba(0,0,0,.1); z-index: 300; padding: 16px 20px; min-width: 200px; }
.lib-drop a { display: block; font-size: 14px; color: var(--txm); padding: 7px 0; border-bottom: 1px solid #f5f5f5; transition: color .15s; }
.lib-drop-group { padding: 7px 0; border-bottom: 1px solid #f5f5f5; }
.lib-drop-group-label { display: block; font-size: 14px; color: var(--txm); }
.lib-drop-sublinks { display: block; margin-top: 4px; }
.lib-drop-sublinks a { display: inline; font-size: 13px; padding: 0; border-bottom: 0; color: var(--navy); }
.lib-drop-sep { color: #ccc; margin: 0 6px; font-size: 12px; }
.lib-drop a:hover { color: var(--navy); }

/* Mega menu: Services & Facilities (grouped, wide) */
.lib-mega {
  left: 0; right: auto; display: none;
  min-width: 820px; max-width: 90vw;
  padding: 22px 26px;
}
.lib-ni--mega:hover > .lib-mega { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.lib-mega-col { padding: 0; }
.lib-mega-col + .lib-mega-col { border-left: 1px solid #eee; padding-left: 28px; }
.lib-mega-heading {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--gold); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--gold);
  white-space: nowrap;
}
.lib-mega-col a { padding: 8px 0; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.lib-hero { position: relative; height: 550px; overflow: hidden; }
.lib-hero-slider { position: absolute; inset: 0; }
.lib-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center 25%; opacity: 0; transition: opacity 1.4s ease; }
.lib-hero-slide.active { opacity: 1; }
.lib-hero-ov { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,18,50,.55) 0%, rgba(10,18,50,.15) 55%, rgba(10,18,50,.05) 100%); }
.lib-hero-cnt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 44px 40px 0; text-align: center; }
.lib-hero-h1 { font-size: clamp(20px,3vw,34px); font-weight: 700; color: #fff; margin-bottom: 6px; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.lib-hero-sub { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 28px; }

/* Search sits below the hero photo, only slightly overlapping its bottom edge (floor area, never faces) */
.lib-search-below { position: relative; margin-top: -126px; z-index: 20; padding: 0; }

/* ══════════════════════════════════════════
   UNIFIED SEARCH WIDGET
══════════════════════════════════════════ */
.lib-search-wrap { background: var(--white); border-radius: 14px; box-shadow: 0 12px 48px rgba(0,0,0,.36); width: 85%; max-width: 1400px; margin: 0 auto; }
.lib-stabs { display: flex; gap: 5px; justify-content: center; scrollbar-width: none; background: transparent; border-bottom: none; border-radius: 0; overflow-x: auto; margin: 20px 20px 0 20px; padding-top: 12px; }
.lib-stabs::-webkit-scrollbar { display: none; }
.lib-stab { flex-shrink: 0; border: none; font-family: 'Open Sans', sans-serif; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); padding: 14px 20px; white-space: nowrap; cursor: pointer; border-radius: 10px 10px 0 0; margin-bottom: 0; transition: opacity .15s, transform .15s; opacity: .78; display: inline-flex; align-items: center; gap: 7px; }
.lib-stab svg { width: 15px; height: 15px; flex-shrink: 0; }
.lib-stab:nth-child(odd)  { background: var(--navy); }
.lib-stab:nth-child(even) { background: var(--gold); }
.lib-stab:hover { opacity: 1; }
.lib-stab.active { opacity: 1; color: #fff; box-shadow: inset 0 -3px 0 rgba(255,255,255,.85); }
.lib-sbody { padding: 20px 20px 24px; }
.lib-srow { display: flex; gap: 6px; align-items: stretch; }
.lib-sfield { flex: 0 0 100px; height: 50px; font-family: 'Open Sans', sans-serif; font-size: 13px; color: var(--txm); border: 1px solid var(--border); border-radius: 12px !important; padding: 0 26px 0 10px; background: var(--white); cursor: pointer; outline: none; box-sizing: border-box; appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23444' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.lib-sfield:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,58,110,.08); }
.lib-sinput-wrap { flex: 1 1 auto !important; position: relative; min-width: 0; }
.lib-sinput { width: 100% !important; height: 50px; border: 1px solid var(--border); border-radius: 12px !important; padding: 0 52px 0 18px; font-size: 15px; font-family: 'Open Sans', sans-serif; color: var(--tx); outline: none; box-sizing: border-box; }
.lib-sinput:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,58,110,.08); }
.lib-sinput::placeholder { color: #bbb; }
.lib-sclear { display: none; position: absolute; right: 0; top: 0; bottom: 0; height: 100%; width: 44px; border: none; background: var(--red); color: #fff; opacity: 1; border-radius: 0 12px 12px 0; font-size: 18px; line-height: 1; cursor: pointer; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.lib-sclear.show { display: flex; height: 49px; background-color: var(--red); }
.lib-sclear:hover { background: var(--red-lt); color: var(--red); }
.lib-sbtn { flex-shrink: 0; height: 50px; padding: 0 24px; background: var(--navy); color: #fff; border: none; border-radius: 12px !important; cursor: pointer; font-size: 13px; font-weight: 600; font-family: 'Open Sans', sans-serif; display: flex; align-items: center; gap: 7px; transition: background .15s; white-space: nowrap; }
.lib-sbtn:hover { background: var(--navy2); }
.lib-sbtn svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; }
.lib-sdivider { height: 1px; background: var(--border); margin: 14px 0; }
.lib-shint { font-size: 12px; color: var(--txmu); margin-top: 10px; }
.lib-shint a { color: var(--gold); font-weight: 600; }
.lib-spanel-links { text-align: center; margin-top: 14px; font-size: 12px; }
.lib-spanel-links a { color: var(--navy); font-weight: 600; }
.lib-spanel-links a:hover { color: var(--gold); }
.lib-spanel-links-sep { color: var(--border); margin: 0 8px; }
.lib-alpha { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.lib-alpha a { font-size: 11px; font-weight: 600; color: var(--navy); padding: 3px 8px; border-radius: 5px; border: 1px solid var(--border); background: var(--bg); transition: background .12s; text-decoration: none; }
.lib-alpha a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.lib-spanel { display: none; }
.lib-spanel.active { display: block; }

/* ══════════════════════════════════════════
   SECTION HEADINGS
══════════════════════════════════════════ */
.lib-sec-hd h2 { font-size: clamp(22px,2.4vw,28px); font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.lib-sec-hd-line { width: 48px; height: 3px; background: var(--gold); border-radius: 2px; }

/* ══════════════════════════════════════════
   QUICK ACCESS
══════════════════════════════════════════ */
.lib-qa-wrap { background: var(--white); padding: 52px 0; }
.lib-qa-in { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.lib-qa-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 28px; }
.lib-qacard { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: block; transition: box-shadow .18s, transform .18s; }
.lib-qacard:hover { box-shadow: 0 6px 24px rgba(30,58,110,.12); transform: translateY(-3px); }
.lib-qacard-img { height: 120px; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; justify-content: flex-start; }
.lib-qacard-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,40,.1) 0%, rgba(10,20,40,.6) 100%); }
.lib-qacard-img svg { position: relative; z-index: 1; width: 26px; height: 26px; margin: 12px; stroke: rgba(255,255,255,.95); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lib-qacard-body { padding: 14px 16px; }
.lib-qacard-name { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.lib-pc1 { background-color: #1a3a6e; }
.lib-pc2 { background-color: #145a32; }
.lib-pc3 { background-color: #6e2f1a; }
.lib-pc4 { background-color: #4a235a; }
.lib-pc5 { background-color: #1b4f72; }
.lib-pc6 { background-color: #7d6608; }
.lib-pc7 { background-color: #1c2833; }
.lib-pc8 { background-color: #1e3a6e; }

/* ══════════════════════════════════════════
   NEWS & EVENTS
══════════════════════════════════════════ */
.lib-ne-wrap { background: var(--bg); padding: 52px 0; }
.lib-ne-in { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 360px; gap: 40px; }
.lib-news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.lib-libcal-frame { margin-top: 28px; }
.lib-ncard { background: var(--white); border-radius: var(--radius); overflow: hidden; display: block; border: 1px solid var(--border); transition: box-shadow .18s; }
.lib-ncard:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.lib-ncard-img { height: 150px; background-size: cover; background-position: center; position: relative; }
.lib-ncard-body { padding: 14px 16px; }
.lib-ncard-date { font-size: 11px; color: var(--txmu); margin-bottom: 4px; }
.lib-ncard-title { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.lib-ncard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.lib-ncard-read { font-size: 12px; color: var(--gold); font-weight: 600; }
.lib-ncard-cat { flex-shrink: 0; background: var(--gold); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: .04em; }
.lib-cal-meta { font-size: 12px; color: var(--txmu); margin-top: 2px; }
.lib-cal-badge { flex-shrink: 0; display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; text-transform: uppercase; letter-spacing: .04em; }
.lib-cal-badge.online   { background: var(--navy-lt); color: var(--navy); }
.lib-cal-badge.inperson { background: var(--gold-lt); color: #7d6608; }
.lib-event-list { margin-top: 28px; }
.lib-event-item { background: var(--white); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; border: 1px solid var(--border); display: flex; transition: box-shadow .18s; }
.lib-event-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.lib-event-date { background: var(--navy); color: #fff; min-width: 68px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 8px; flex-shrink: 0; }
.lib-event-date .day { font-size: 24px; font-weight: 700; line-height: 1; }
.lib-event-date .mon { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.lib-event-body { padding: 12px 16px; }
.lib-event-title { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.lib-event-meta { font-size: 11px; color: var(--txmu); margin-top: 3px; }

/* ══════════════════════════════════════════
   TRAINING CALENDAR
══════════════════════════════════════════ */
.lib-cal-wrap { background: var(--white); padding: 52px 0; }
.lib-cal-in { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.lib-cal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 28px; }
.lib-cal-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.lib-cal-cta { margin-top: 28px; display: flex; align-items: center; gap: 12px; }
.lib-btn-navy { display: inline-flex !important; align-items: center; gap: 6px; background: var(--navy) !important; color: #fff !important; font-size: 13px; font-weight: 700; padding: 11px 24px; border-radius: 6px; border: none !important; transition: background .15s; text-decoration: none !important; }
.lib-btn-navy:hover { background: var(--navy2) !important; color: #fff !important; }
.lib-btn-outline { display: inline-flex !important; align-items: center; gap: 6px; background: transparent !important; color: var(--navy) !important; font-size: 13px; font-weight: 700; padding: 10px 22px; border-radius: 6px; border: 2px solid var(--navy) !important; transition: background .15s, color .15s; text-decoration: none !important; }
.lib-btn-outline:hover { background: var(--navy-lt) !important; color: var(--navy) !important; }
.lib-btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.lib-btn-row-center { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; justify-content: center; }
.lib-btn-lab { display: inline-flex; align-items: center; gap: 6px; background: var(--navy-lt); color: var(--navy) !important; font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 6px; border: 1.5px solid var(--navy-lt); transition: background .15s, border-color .15s; text-decoration: none !important; }
.lib-btn-lab:hover { background: #fff; border-color: var(--navy); }

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.lib-about-wrap { padding: 52px 0; background: var(--bg); }
.lib-about-in { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.lib-about-img-wrap { border-radius: var(--radius); overflow: hidden; height: 360px; position: relative; }
.lib-about-img { position: absolute; inset: 0; background-size: cover; background-position: center top; }
.lib-about-eyebrow { font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.lib-about-h2 { font-size: clamp(22px,2.5vw,30px); font-weight: 700; color: var(--navy); margin-bottom: 14px; line-height: 1.25; }
.lib-about-p { font-size: 14px; color: var(--txm); line-height: 1.8; margin-bottom: 12px; }
.lib-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 24px 0; padding: 20px; background: var(--white); border-radius: 8px; }
.lib-fact-icon { width: 30px; height: 30px; color: var(--gold); display: block; margin: 0 auto 8px; }
.lib-fact-n { font-size: 36px; font-weight: 700; color: var(--navy); line-height: 1; text-align: center; }
.lib-fact-l { font-size: 11px; color: var(--txmu); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; text-align: center; }

/* ══════════════════════════════════════════
   SUPPORT WIDGET
══════════════════════════════════════════ */
.lib-support-bar { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 500; display: flex; flex-direction: column; gap: 2px; }

/* ── LibAnswers combo widget — defensive override ─────────
   The Springshare "combo" embed sometimes renders its expanded
   panel inline in normal document flow instead of as a floating
   modal. Force any of its known container patterns to behave as
   a proper full-viewport overlay above everything else. */
[id*="lg-widget"], [class*="s-libchat"], [id*="s-lc-"], [class*="springy"],
[id^="libanswers-"], [class*="libanswers-widget"] {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  z-index: 999999 !important;
  margin: 0 !important;
}
.lib-support-btn { background: var(--navy); color: #fff; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; border-radius: 4px 0 0 4px; transition: background .15s; position: relative; text-decoration: none; }
.lib-support-btn:hover { background: var(--gold); }
.lib-support-btn:hover .lib-support-label { opacity: 1; }
.lib-support-label { position: absolute; right: 52px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 4px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.lib-support-btn svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lib-support-btn.lib-wa { background: #25D366; }
.lib-support-btn.lib-wa:hover { background: #1da851; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.lib-footer { background: var(--navy); padding: 48px 24px 20px; }
.lib-footer-in { max-width: 1280px; margin: 0 auto; }
.lib-footer-grid { display: grid; grid-template-columns: 220px 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.lib-footer-p { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.7; }
.lib-footer-social { display: flex; gap: 10px; margin-top: 16px; }
.lib-footer-social a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); transition: background .15s, color .15s; }
.lib-footer-social a:hover { background: var(--gold); color: #fff; }
.lib-footer-social svg { width: 15px; height: 15px; }
.lib-footer-col h4 { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
.lib-footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 8px; transition: color .15s; }
.lib-footer-col a:hover { color: #fff; }
.lib-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.4); }
.lib-footer-bottom a { color: rgba(255,255,255,.4); }

/* ══════════════════════════════════════════
   INNER PAGES
══════════════════════════════════════════ */
.lib-page-hero { background: var(--navy); background-size: cover; background-position: center; padding: 56px 24px 48px; position: relative; overflow: hidden; }
.lib-page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(184,150,46,.18) 0%,transparent 60%); pointer-events: none; }
.lib-page-hero-ov { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(10,20,45,.92) 0%, rgba(10,20,45,.7) 55%, rgba(10,20,45,.5) 100%); }
.lib-page-hero-in { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.lib-page-eyebrow { font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.lib-page-h1 { font-size: clamp(26px,3vw,40px); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 14px; }
.lib-page-lead { font-size: 16px; color: rgba(255,255,255,.75); max-width: 640px; line-height: 1.7; }
.lib-page-body { max-width: 1280px; margin: 0 auto; padding: 52px 24px; }
.lib-page-grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.lib-page-grid.no-sidebar { grid-template-columns: 1fr; }
.lib-sidebar { position: sticky; top: 130px; }
.lib-sidebar-nav { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.lib-sidebar-nav h3 { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; padding: 14px 18px; background: var(--navy-lt); border-bottom: 1px solid var(--border); margin: 0; }
.lib-sidebar-nav a { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--txm); padding: 11px 18px; border-bottom: 1px solid var(--border); transition: background .15s, color .15s; text-decoration: none; }
.lib-sidebar-nav a:last-child { border-bottom: none; }
.lib-sidebar-nav a:hover, .lib-sidebar-nav a.active { background: var(--navy-lt); color: var(--navy); font-weight: 600; }
.lib-sidebar-nav a::before { content: '›'; color: var(--gold); font-weight: 700; }
.lib-content h2 { font-size: clamp(20px,2.2vw,26px); font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.lib-content-line { width: 40px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 20px; }
.lib-content p { font-size: 14px; color: var(--txm); line-height: 1.85; margin-bottom: 14px; }
.lib-content a { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lib-content ul { margin: 0 0 16px 20px; }
.lib-content ul li { font-size: 14px; color: var(--txm); line-height: 1.85; }
.lib-content-block { margin-bottom: 48px; }
.lib-bullet-list { margin: 12px 0 16px 20px; padding: 0; }
.lib-bullet-list li { margin-bottom: 8px; line-height: 1.6; color: var(--tx); }
.lib-video-embed { position: relative; width: 100%; padding-top: 56.25%; margin-top: 16px; border-radius: var(--radius); overflow: hidden; background: #000; }
.lib-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lib-service-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 20px; }
.lib-service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; transition: box-shadow .18s, transform .18s; text-decoration: none; }
.lib-service-card:hover { box-shadow: 0 4px 20px rgba(30,58,110,.1); transform: translateY(-2px); }
.lib-service-icon { width: 44px; height: 44px; border-radius: 8px; background: var(--navy-lt); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lib-service-icon svg { width: 22px; height: 22px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lib-service-name { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.lib-service-desc { font-size: 13px; color: var(--txm); line-height: 1.6; }
.lib-staff-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 20px; }
.lib-staff-subhead { font-size: 15px; font-weight: 600; color: var(--navy); margin: 28px 0 4px; opacity: .85; }
.lib-staff-card--vacant { opacity: .6; }
.lib-staff-pending { font-size: 11px; color: var(--txmu); font-style: italic; margin-top: 4px; }
.lib-staff-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-align: center; }
.lib-staff-photo { height: 140px; background: var(--navy-lt); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lib-staff-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.lib-staff-photo svg { width: 56px; height: 56px; stroke: #aab3c6; fill: none; stroke-width: 1.2; }
.lib-staff-info { padding: 16px; }
.lib-staff-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.lib-staff-role { font-size: 12px; color: var(--txmu); margin-top: 3px; }
.lib-staff-office { font-size: 11px; color: var(--txmu); margin-top: 4px; }
.lib-staff-tel { font-size: 12px; color: var(--txm); margin-top: 4px; }
.lib-staff-tel a { color: var(--txm); text-decoration: none; }
.lib-staff-email { font-size: 12px; color: var(--gold); margin-top: 6px; display: block; text-decoration: none; }
.lib-infobox { background: var(--navy-lt); border-left: 4px solid var(--navy); border-radius: 6px; padding: 16px 20px; margin-bottom: 20px; }
.lib-infobox p { margin: 0; font-size: 14px; }
.lib-infobox.gold { background: var(--gold-lt); border-color: var(--gold); }
.lib-infobox a { color: var(--navy) !important; text-decoration: underline; }
.lib-infobox.gold a { color: var(--navy) !important; text-decoration: underline; }
.lib-hours-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.lib-hours-table th { background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 10px 16px; text-align: left; }
.lib-hours-table td { padding: 10px 16px; font-size: 14px; border-bottom: 1px solid var(--border); }
.lib-hours-table tr:last-child td { border-bottom: none; }
.lib-hours-table tr:nth-child(even) td { background: var(--bg); }
.lib-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); margin-top: 16px; background: #000; }
.lib-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .lib-mega { min-width: 640px; left: 0; right: auto; }
  .lib-about-in { grid-template-columns: 1fr; }
  .lib-about-img-wrap { height: 260px; }
  .lib-footer-grid { grid-template-columns: 1fr 1fr; }
  .lib-cal-grid { grid-template-columns: 1fr 1fr; }
  .lib-page-grid { grid-template-columns: 1fr; }
  .lib-sidebar { position: static; }
  .lib-staff-grid { grid-template-columns: repeat(2,1fr); }
  .lib-ne-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lib-topbar-social, .lib-topbar-name { display: none; }
  .lib-topbar-right a:not(.lib-account) { display: none; }
  .lib-nav-in { padding: 0 16px; height: 80px; }
  .lib-nav-logo { height: 64px; }
  .lib-nav-links { display: none; margin-left: 0; }
  .lib-nav-links.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 80px; left: 0; right: 0; background: var(--white); z-index: 400; box-shadow: 0 8px 24px rgba(0,0,0,.15); border-top: 3px solid var(--navy); max-height: 80vh; overflow-y: auto; }
  .lib-nav-links.open .lib-ni { border-bottom: 1px solid var(--border); }
  .lib-nav-links.open .lib-nl { height: auto; padding: 14px 20px; justify-content: space-between; }
  .lib-nav-links.open .lib-drop { display: block; position: static; border: none; border-top: 1px solid var(--border); box-shadow: none; border-radius: 0; padding: 8px 20px 12px 32px; }
  .lib-nav-links.open .lib-mega { display: block !important; grid-template-columns: 1fr; min-width: 0; max-width: none; padding: 8px 20px 12px 32px; }
  .lib-nav-links.open .lib-mega-col + .lib-mega-col { border-left: none; padding-left: 0; margin-top: 14px; }
  .lib-nav-links.open .lib-mega-heading { margin-top: 4px; }
  .lib-hamburger { display: flex; }
  .lib-hero { height: 260px; min-height: 260px; }
  .lib-hero-cnt { position: absolute; padding: 24px 16px 0; justify-content: flex-start; }
  .lib-search-below { margin-top: -24px; }
  .lib-hero-h1 { font-size: 22px; }
  /* Mobile search tabs → dropdown */
  .lib-stabs { flex-wrap: wrap; justify-content: center; border-radius: 8px 8px 0 0; }
  .lib-stab { padding: 10px 14px; font-size: 11px; flex: 1 1 auto; text-align: center; border-bottom: 2px solid transparent; }
  .lib-sbody { padding: 16px; }
  .lib-srow { flex-direction: column; gap: 10px; }
  .lib-sfield { flex: none; width: 100%; }
  .lib-sinput { width: 100%; }
  .lib-sbtn { width: 100%; justify-content: center; }
  .lib-qa-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .lib-news-grid { grid-template-columns: 1fr; }
  .lib-footer-grid { grid-template-columns: 1fr; }
  .lib-support-bar { bottom: 0; top: auto; right: 0; transform: none; flex-direction: row; }
  .lib-support-btn { border-radius: 4px 4px 0 0; width: 44px; height: 44px; }
  .lib-cal-grid { grid-template-columns: 1fr; }
  .lib-facts { grid-template-columns: 1fr 1fr; }
  .lib-service-grid { grid-template-columns: 1fr; }
  .lib-staff-grid { grid-template-columns: 1fr 1fr; }
  .lib-page-hero { padding: 36px 16px 28px; }
  .lib-page-body { padding: 28px 16px; }
  .lib-hours-table th, .lib-hours-table td { font-size: 12px; padding: 8px 10px; }
}

/* LibAnswers combo widget — dialog position (confirmed working value) */
la-combo-widget-body { margin: 130px !important; }

