/* Harborview Academy: harbor-2024 theme (Composer CMS) */
:root { --navy: #123c6d; --blue: #4281a4; --coral: #fe938c; --cream: #fff9f0; --sand: #ead2ac;
        --ink: #2d3748; --muted: #6b7280; --line: #e6d5c3; --white: #ffffff; --gold: #c9a227; }
* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; font-family: "Source Sans 3", system-ui, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.6; }
h1, h2, h3, .cms-slide-title, .cms-page-banner-title, .cms-logo strong { font-family: "Libre Baskerville", Georgia, serif; font-weight: 400; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; display: block; }
.cms-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.cms-emergency { display: flex; gap: .5rem; align-items: center; padding: .55rem 1.5rem; background: #ffedea;
                 border-bottom: 1px solid var(--coral); font-size: 14px; }
.cms-emergency.cms-dismissed { display: none; }
.cms-emergency-close { margin-left: auto; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ink); }
.cms-alert-icon { display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%;
                  background: var(--coral); color: var(--white); font-weight: 700; font-size: 12px; }

.cms-utility { display: flex; gap: 1.25rem; align-items: center; justify-content: flex-end; padding: .35rem 1.5rem;
               background: var(--navy); color: var(--white); font-size: 13px; }
.cms-utility a { color: var(--white); text-decoration: none; }
.cms-audience { display: flex; gap: 1rem; list-style: none; margin: 0 auto 0 0; padding: 0; }
.cms-search { display: flex; }
.cms-search input { padding: .2rem .5rem; border: 0; border-radius: 3px 0 0 3px; }
.cms-search button { border: 0; border-radius: 0 3px 3px 0; background: var(--gold); color: var(--navy); padding: 0 .6rem; }
.cms-utility-portal { padding: .2rem .7rem; border: 1px solid rgba(255,255,255,.5); border-radius: 3px; }

.cms-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 2rem; padding: .75rem 1.5rem;
              background: var(--white); border-bottom: 3px solid var(--sand); }
.cms-logo { display: flex; align-items: center; gap: .75rem; color: var(--navy); text-decoration: none; }
.cms-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.cms-logo strong { font-size: 1.35rem; }
.cms-logo em { font-style: normal; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cms-menu-toggle { display: none; margin-left: auto; border: 0; background: none; color: var(--navy); font-weight: 600; }
.cms-menu-toggle span { display: block; width: 20px; height: 2px; margin: 3px 0; background: var(--navy); }
.cms-mega { margin-left: auto; }
.cms-nav-l1-list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.cms-nav-l1 { position: static; }
.cms-nav-l1-link { display: block; padding: .9rem .8rem; color: var(--navy); font-weight: 600; text-decoration: none;
                   text-transform: uppercase; letter-spacing: .05em; font-size: 14px; }
.cms-dropdown { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
                border-top: 3px solid var(--gold); box-shadow: 0 16px 32px rgba(18,60,109,.12); }
.cms-nav-l1:hover .cms-dropdown, .cms-nav-l1:focus-within .cms-dropdown { display: block; }
.cms-dropdown-inner { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; max-width: 1180px; margin: 0 auto; padding: 1.5rem; }
.cms-nav-l2 { columns: 2; list-style: none; margin: 0; padding: 0; }
.cms-nav-l2 a { display: block; padding: .35rem 0; text-decoration: none; }
.cms-dropdown-feature img { border-radius: 6px; aspect-ratio: 16 / 9; object-fit: cover; }
.cms-dropdown-feature p { color: var(--muted); font-size: 14px; }
.cms-mobile-nav ul { list-style: none; margin: 0; padding: 1rem 1.5rem; background: var(--white); }

.cms-hero { position: relative; overflow: hidden; background: var(--navy); }
.cms-slide { display: none; position: relative; }
.cms-slide-active { display: block; }
.cms-slide img { width: 100%; aspect-ratio: 8 / 3; object-fit: cover; opacity: .85; }
.cms-slide-caption { position: absolute; left: 6%; bottom: 14%; max-width: 560px; color: var(--white); }
.cms-eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
.cms-slide-title { margin: .25rem 0 1rem; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.1; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.cms-button { display: inline-block; padding: .6rem 1.3rem; border-radius: 3px; background: var(--gold); color: var(--navy);
              font-weight: 600; text-decoration: none; }
.cms-hero-prev, .cms-hero-next { position: absolute; top: 45%; border: 0; background: rgba(0,0,0,.3); color: var(--white);
                                 font-size: 2rem; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.cms-hero-prev { left: 1rem; } .cms-hero-next { right: 1rem; }
.cms-hero-dots { position: absolute; bottom: 1rem; right: 1.5rem; display: flex; gap: .4rem; }
.cms-hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.6); }

.cms-quicklinks ul { display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; margin: 0; padding: 0;
                     background: var(--white); border-bottom: 1px solid var(--line); }
.cms-quicklinks a { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 1.1rem .5rem;
                    color: var(--navy); font-weight: 600; text-decoration: none; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; }
.cms-quicklinks a:hover { background: var(--cream); }
.cms-ql-icon { font-size: 1.6rem; }

.cms-page-banner { position: relative; background: var(--navy); }
.cms-page-banner img { width: 100%; height: 200px; object-fit: cover; opacity: .55; }
.cms-page-banner-title { position: absolute; left: 1.5rem; bottom: 1rem; margin: 0; color: var(--white); font-size: 2rem; }
.cms-section { max-width: 1180px; margin: 0 auto; padding: 2rem 1.5rem; }
.cms-layout-3col { display: grid; grid-template-columns: 220px minmax(0, 1fr) 240px; gap: 2.5rem; }
.cms-subnav-title { margin: 0 0 .5rem; font-size: 1.1rem; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: .3rem; }
.cms-subnav ul { list-style: none; margin: 0; padding: 0; }
.cms-subnav a { display: block; padding: .4rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.cms-subnav .cms-active a { font-weight: 600; color: var(--navy); }
.cms-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 1rem; }
.cms-content h1 { color: var(--navy); font-size: 2.1rem; line-height: 1.2; margin-top: 0; }
.cms-content h2 { color: var(--navy); border-bottom: 1px solid var(--line); padding-bottom: .2rem; }
.cms-content iframe { width: 100%; min-height: 520px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.cms-share { margin-top: 2rem; font-size: 13px; color: var(--muted); }
.cms-rail-box { padding: 1rem 1.2rem; margin-bottom: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.cms-rail-box h2 { margin: 0 0 .5rem; font-size: 1rem; color: var(--navy); }
.cms-rail-box ul { margin: 0; padding-left: 1.1rem; }

table { width: 100%; border-collapse: collapse; margin: 1rem 0; background: var(--white); font-size: 14px; }
th, td { padding: .45rem .6rem; border: 1px solid var(--line); text-align: left; }
th { background: var(--navy); color: var(--white); }
tr:nth-child(even) td { background: #fbf6ee; }
article { padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.widget { padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.widget .loading { color: #8a8a8a; font-style: italic; }
.widget li strong { color: var(--navy); }
.cms-stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1180px; margin: 0 auto; padding: 2rem 1.5rem; text-align: center; }
.cms-stats strong { display: block; font-family: "Libre Baskerville", Georgia, serif; font-size: 2.4rem; color: var(--navy); }
.cms-stats span { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--muted); }
.cms-social-feed { max-width: 1180px; margin: 0 auto 2rem; padding: 0 1.5rem; }
.cms-feed-loading { color: var(--muted); font-style: italic; }

.cms-footer { margin-top: 3rem; padding: 2.5rem 1.5rem 1rem; background: var(--navy); color: #e8edf3; font-size: 14px; }
.cms-footer a { color: #e8edf3; }
.cms-footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1180px; margin: 0 auto; }
.cms-footer-h { margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--gold); }
.cms-newsletter { display: flex; gap: .3rem; }
.cms-newsletter input { flex: 1; padding: .35rem .5rem; border: 0; border-radius: 3px; }
.cms-newsletter button { border: 0; border-radius: 3px; background: var(--gold); color: var(--navy); padding: 0 .8rem; }
.cms-social a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #e8edf3; text-decoration: none; font-size: 12px; }
.cms-legal { max-width: 1180px; margin: 2rem auto 0; font-size: 12px; opacity: .8; }
.cms-poweredby { float: right; }
.cms-cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 30; display: flex; gap: 1rem; align-items: center;
              justify-content: space-between; padding: .75rem 1rem; background: var(--white); border: 1px solid var(--line);
              border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); font-size: 14px; }
.cms-cookie.cms-dismissed { display: none; }
.cms-cookie button { padding: .4rem 1rem; border: 0; border-radius: 4px; background: var(--blue); color: var(--white); }

@media (max-width: 1000px) {
  .cms-layout-3col { grid-template-columns: minmax(0, 1fr); }
  .cms-subnav, .cms-rail { order: 2; }
  .cms-quicklinks ul { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .cms-mega, .cms-audience, .cms-translate { display: none; }
  .cms-menu-toggle { display: block; }
  .cms-utility { justify-content: space-between; }
  .cms-stats { grid-template-columns: repeat(2, 1fr); }
  .cms-slide img { aspect-ratio: 4 / 3; }
}
@media print {
  .cms-utility, .cms-header, .cms-emergency, .cms-subnav, .cms-rail, .cms-footer, .cms-cookie, .cms-page-banner { display: none; }
}
