@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --fsb-blue: #0757a5;
  --fsb-deep: #123d6c;
  --fsb-mid: #5f85b0;
  --fsb-ink: #19344d;
  --fsb-muted: #587087;
  --fsb-light: #eaf2f9;
  --fsb-paper: #f7f9fb;
  --fsb-white: #fff;
  --fsb-radius: 18px;
  --fsb-shadow: 0 16px 40px rgba(14, 57, 100, .09);
}

body.fsb-site {
  margin: 0;
  color: var(--fsb-ink);
  background: var(--fsb-paper);
  font: 400 17px/1.65 'DM Sans', 'Segoe UI', Arial, sans-serif;
  overflow-x: hidden;
}

.fsb-site *, .fsb-site *::before, .fsb-site *::after { box-sizing: border-box; }
.fsb-site img { max-width: 100%; height: auto; }
.fsb-site a { color: var(--fsb-blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.fsb-site a:hover { color: var(--fsb-deep); }
.fsb-site :where(button, a, input, textarea):focus-visible { outline: 3px solid #e1aa3b; outline-offset: 3px; }
.fsb-site h1, .fsb-site h2, .fsb-site h3, .fsb-site h4 {
  margin: 0 0 .65em;
  color: var(--fsb-deep);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -.025em;
}
.fsb-site h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); }
.fsb-site h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
.fsb-site h3 { font-size: clamp(1.45rem, 2vw, 1.9rem); }
.fsb-site p { margin: 0 0 1.15em; }
.fsb-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.fsb-skip-link { position: fixed; z-index: 10000; top: -100px; left: 16px; padding: 12px 18px; background: #fff; }
.fsb-skip-link:focus { top: 12px; }
.fsb-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.fsb-eyebrow { margin: 0 0 1.1em !important; color: var(--fsb-blue); font-size: .76rem; font-weight: 700; letter-spacing: .17em; line-height: 1.3; text-transform: uppercase; }

/* Header and editable WordPress menu. */
.fsb-header { position: relative; z-index: 100; background: #fff; box-shadow: 0 4px 22px rgba(19, 61, 108, .06); }
.fsb-header-top { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.fsb-brand { display: inline-flex; align-items: center; width: min(360px, 58vw); text-decoration: none; }
.fsb-brand img { display: block; width: 100%; height: auto; }
.fsb-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
.fsb-header-search { display: flex; align-items: center; flex: 0 1 260px; min-width: 0; height: 50px; padding: 2px 2px 2px 16px; border: 1px solid #b7cada; border-radius: 999px; background: #fff; }
.fsb-header-search:focus-within { outline: 3px solid #e1aa3b; outline-offset: 3px; }
.fsb-header-search input { flex: 1; min-width: 0; width: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--fsb-ink); font: 500 .86rem/1.4 'DM Sans', 'Segoe UI', Arial, sans-serif; }
.fsb-header-search input:focus-visible { outline: 0; }
.fsb-header-search input::placeholder { color: var(--fsb-muted); opacity: 1; }
.fsb-header-search button { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--fsb-blue); color: #fff; cursor: pointer; }
.fsb-header-search button:hover { background: var(--fsb-deep); }
.fsb-header-cta { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 12px; padding: 10px 18px; border: 1px solid var(--fsb-blue); border-radius: 999px; font-size: .86rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.fsb-header-cta:hover { background: var(--fsb-blue); color: #fff !important; }
.fsb-menu-toggle { display: none; align-items: center; gap: 8px; border: 1px solid #c3d5e5; border-radius: 8px; background: white; color: var(--fsb-deep); padding: 9px 13px; font: inherit; font-weight: 700; cursor: pointer; }
.fsb-primary-nav { min-height: 60px; display: flex; align-items: stretch; border-top: 1px solid #e5edf3; }
.fsb-primary-nav .fsb-menu, .fsb-primary-nav .fsb-menu ul { list-style: none; margin: 0; padding: 0; }
.fsb-primary-nav .fsb-menu { width: 100%; display: flex; align-items: stretch; justify-content: space-between; gap: 10px; }
.fsb-primary-nav .fsb-menu > li { position: relative; display: flex; align-items: center; }
.fsb-primary-nav .fsb-menu > li > a { display: block; padding: 18px 4px; color: var(--fsb-ink); font-size: .82rem; font-weight: 700; line-height: 1.4; text-decoration: none; white-space: nowrap; }
.fsb-primary-nav .fsb-menu > li > a:hover, .fsb-primary-nav .fsb-menu > li.current-menu-item > a, .fsb-primary-nav .fsb-menu > li.current-menu-ancestor > a { color: var(--fsb-blue); }
.fsb-primary-nav .menu-item-has-children > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; vertical-align: .18em; transform: rotate(45deg); }
.fsb-primary-nav .sub-menu { position: absolute; top: 100%; left: -18px; z-index: 30; min-width: 235px; padding: 10px !important; border: 1px solid #dce8f2; border-radius: 12px; background: white; box-shadow: var(--fsb-shadow); visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.fsb-primary-nav li:hover > .sub-menu, .fsb-primary-nav li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.fsb-primary-nav .sub-menu a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--fsb-ink); font-size: .88rem; line-height: 1.4; text-decoration: none; }
.fsb-primary-nav .sub-menu a:hover, .fsb-primary-nav .sub-menu a:focus { background: var(--fsb-light); color: var(--fsb-blue); }

/* Shared controls. */
.fsb-button, .fsb-card-button, .fsb-form button, .fsb-site .wp-block-button__link {
  display: inline-flex; justify-content: center; align-items: center; gap: 16px; border-radius: 999px; font: 700 .9rem/1.3 'DM Sans', 'Segoe UI', Arial, sans-serif; text-decoration: none; transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.fsb-button:hover, .fsb-card-button:hover, .fsb-form button:hover, .fsb-site .wp-block-button__link:hover { transform: translateY(-2px); }
.fsb-button { padding: 15px 22px; }
.fsb-button-light { background: #fff; color: var(--fsb-deep) !important; }
.fsb-button-light:hover { background: #e3effa; }
.fsb-button-outline-light { border: 1px solid rgba(255,255,255,.65); color: #fff !important; }
.fsb-button-outline-light:hover { background: rgba(255,255,255,.14); }
.fsb-button-primary, .fsb-form button, .fsb-site .wp-block-button__link { border: 1px solid var(--fsb-blue); background: var(--fsb-blue); color: #fff !important; }
.fsb-button-primary:hover, .fsb-form button:hover, .fsb-site .wp-block-button__link:hover { background: var(--fsb-deep); }
.fsb-button-secondary { border: 1px solid var(--fsb-blue); color: var(--fsb-blue) !important; }
.fsb-button-secondary:hover { background: var(--fsb-light); }
.fsb-site .wp-block-button__link { padding: 12px 20px; }
.fsb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.fsb-text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--fsb-blue); font-size: .92rem; font-weight: 700; text-decoration: none; }
.fsb-text-link:hover { gap: 17px; }

/* Front page. */
.fsb-hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(120deg, #0b4d8d, #0757a5 55%, #2977b8); color: #fff; }
.fsb-hero::before { content: ''; position: absolute; z-index: -1; top: -330px; right: -120px; width: 850px; aspect-ratio: 1; border: 2px solid rgba(255,255,255,.19); border-radius: 50%; box-shadow: 0 0 0 54px rgba(255,255,255,.045), 0 0 0 108px rgba(255,255,255,.035), 0 0 0 162px rgba(255,255,255,.025); }
.fsb-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .28; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 16px 16px; mask-image: linear-gradient(to left, black, transparent 70%); }
.fsb-hero-inner { padding-block: clamp(90px, 11vw, 150px); }
.fsb-hero .fsb-eyebrow { color: #c7e3ff; }
.fsb-hero h1 { max-width: 800px; margin-bottom: .36em; color: #fff; font-size: clamp(3.5rem, 7.2vw, 7rem); letter-spacing: -.055em; }
.fsb-hero h1 em { font-weight: 400; letter-spacing: -.06em; }
.fsb-hero-lead { max-width: 620px; color: #eef6ff; font-size: clamp(1.08rem, 1.7vw, 1.32rem); line-height: 1.65; }
.fsb-hero .fsb-actions { margin-top: 28px; }
.fsb-section { padding-block: clamp(72px, 8vw, 110px); }
.fsb-section-header { margin-bottom: 30px; }
.fsb-section-header h2 { margin-bottom: .25em; }
.fsb-section-header > p:last-child { color: var(--fsb-muted); }
.fsb-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fsb-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; border: 1px solid #e4ecf2; border-radius: var(--fsb-radius); background: #fff; box-shadow: var(--fsb-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.fsb-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(14, 57, 100, .15); }
.fsb-card-image { display: block; width: 100%; height: 195px; overflow: hidden; background: var(--fsb-light); }
.fsb-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fsb-card:hover .fsb-card-image img { transform: scale(1.035); }
.fsb-card-magazine .fsb-card-image img { object-fit: contain; padding: 12px; background: linear-gradient(135deg, #e2edf7, #c8dbee); }
.fsb-card-copy { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 22px 24px 24px; }
.fsb-card-copy h3 { font-size: clamp(1.4rem, 1.9vw, 1.7rem); }
.fsb-card-copy h3 { margin-bottom: .45em; }
.fsb-card-copy h3 a { color: inherit; text-decoration: none; }
.fsb-card-copy h3 a:hover { color: var(--fsb-blue); }
.fsb-card-copy p { flex: 1; color: var(--fsb-muted); font-size: .93rem; }
.fsb-card-button { margin-top: 10px; padding: 11px 17px; border: 1px solid #b9cde0; color: var(--fsb-blue); font-size: .82rem; }
.fsb-card-button:hover { border-color: var(--fsb-blue); background: var(--fsb-light); }
.fsb-about { background: #fff; }
.fsb-about-grid { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 90px); }
.fsb-about h2 { max-width: 450px; }
.fsb-about-text { color: var(--fsb-muted); }
.fsb-about-text p:last-child { margin-bottom: 0; }
.fsb-calendar-callout { overflow: hidden; background: var(--fsb-deep); color: #eaf5ff; }
.fsb-feature-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(200px, .8fr); align-items: center; gap: clamp(30px, 7vw, 100px); }
.fsb-calendar-callout h2 { color: #fff; }
.fsb-calendar-callout .fsb-eyebrow { color: #a9d3fa; }
.fsb-calendar-callout p:not(.fsb-eyebrow) { max-width: 590px; }
.fsb-calendar-callout .fsb-actions { margin-top: 28px; }
.fsb-calendar-panel { max-height: 580px; overflow: auto; border-radius: 14px; background: #fff; color: var(--fsb-ink); padding: 12px; box-shadow: 0 22px 55px rgba(0, 24, 52, .22); }
.fsb-calendar-panel .ai1ec-container { max-width: 100%; font-size: .9rem; }
.fsb-calendar-art { display: grid; place-content: center; width: min(100%, 350px); aspect-ratio: 1; justify-self: center; border: 2px solid rgba(255,255,255,.4); border-radius: 50%; box-shadow: 0 0 0 24px rgba(255,255,255,.06), 0 0 0 48px rgba(255,255,255,.035); transform: rotate(-12deg); }
.fsb-calendar-art span { display: block; color: #fff; font-family: Georgia, serif; font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.1; text-align: center; }
.fsb-calendar-art span:nth-child(2) { font-style: italic; }
.fsb-social { background: #eaf2f9; }
.fsb-social p:not(.fsb-eyebrow), .fsb-join p:not(.fsb-eyebrow) { max-width: 580px; }
.fsb-social .fsb-actions { margin-top: 24px; }
.fsb-join { background: #fff; }
.fsb-join-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }

/* Content pages and imported plugin output. */
.fsb-page-main { min-height: 55vh; padding-block: clamp(50px, 7vw, 90px) 100px; }
.fsb-article { margin: 0 auto; }
.fsb-page-header { max-width: 850px; margin: 0 0 44px; padding-bottom: 32px; border-bottom: 1px solid #d6e4ef; }
.fsb-page-header h1 { margin-bottom: 0; overflow-wrap: anywhere; }
.fsb-entry-content { max-width: 1100px; margin-inline: auto; }
.fsb-entry-content > :where(p, h2, h3, h4, ul, ol, blockquote) { max-width: 850px; }
.fsb-entry-content > h2, .fsb-entry-content > h3 { margin-top: 1.6em; }
.fsb-entry-content ul, .fsb-entry-content ol { padding-left: 1.4em; }
.fsb-entry-content li { margin-bottom: .4em; }
.fsb-entry-content img { border-radius: 6px; }
.fsb-entry-content .alignwide { max-width: 1100px; }
.fsb-entry-content .wp-block-image, .fsb-entry-content figure { margin-inline: 0; }
.fsb-entry-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.fsb-entry-content th, .fsb-entry-content td { border: 1px solid #dce8f2; padding: 10px 12px; }
.fsb-entry-content .ai1ec-container { max-width: 100%; }
.fsb-entry-content .ngg-galleryoverview { max-width: 100%; }
.fsb-entry-content .ngg-gallery-thumbnail img { max-width: 100%; height: auto; }
.fsb-post-list { display: grid; gap: 22px; max-width: 900px; }
.fsb-post-card { padding: 28px; border: 1px solid #e1eaf2; border-radius: 14px; background: #fff; }
.fsb-post-card h2 { font-size: 1.65rem; }

/* Forms. */
.fsb-form { display: grid; gap: 17px; max-width: 850px; margin-top: 36px; padding: clamp(22px, 4vw, 42px); border: 1px solid #dae7f1; border-radius: var(--fsb-radius); background: #fff; box-shadow: var(--fsb-shadow); }
.fsb-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.fsb-form label { display: grid; gap: 6px; color: var(--fsb-deep); font-size: .9rem; font-weight: 700; }
.fsb-form input, .fsb-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #b7cada; border-radius: 8px; background: #fff; color: var(--fsb-ink); font: inherit; font-weight: 400; }
.fsb-form textarea { resize: vertical; }
.fsb-form-help { margin: 0; color: var(--fsb-muted); font-size: .82rem; }
.fsb-form button { justify-self: start; padding: 14px 22px; cursor: pointer; }
.fsb-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fsb-form-message { max-width: 850px; padding: 14px 18px; border-left: 4px solid #2c865c; background: #e8f7ee; }
.fsb-form-error { border-left-color: #b54141; background: #fbeaea; }

/* Gutenberg pattern styles, also visible in the editor. */
.fsb-pattern-section { padding: 60px 0; }
.fsb-pattern-hero { padding: clamp(50px, 7vw, 90px); border-radius: 20px; background: var(--fsb-deep); color: #fff; }
.fsb-pattern-hero h1 { color: #fff; }
.fsb-pattern-hero .fsb-eyebrow { color: #c7e3ff; }
.fsb-pattern-section .fsb-card-grid { margin: 0 0 24px; }
.fsb-pattern-section .fsb-card { height: 100%; }

/* Footer. */
.fsb-footer { padding-top: 72px; background: #102f50; color: #dce9f3; }
.fsb-footer a { color: #e4f2ff; text-decoration: none; }
.fsb-footer a:hover { color: #fff; text-decoration: underline; }
.fsb-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 60px; }
.fsb-footer-title { display: block; margin-bottom: 18px; color: #fff; font-family: Georgia, serif; font-size: 1.65rem; line-height: 1.18; }
.fsb-footer h2 { color: #fff; font-family: 'DM Sans', sans-serif; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.fsb-footer ul { margin: 0; padding: 0; list-style: none; }
.fsb-footer li { margin-bottom: .6em; }
.fsb-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.18); font-size: .8rem; }

@media (max-width: 959px) {
  .fsb-header-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; min-height: 0; padding-block: 14px 16px; }
  .fsb-brand { grid-column: 1; grid-row: 1; width: min(310px, 100%); }
  .fsb-header-actions { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; margin-top: 14px; }
  .fsb-header-search { flex: 1 1 auto; }
  .fsb-menu-toggle { display: inline-flex; grid-column: 2; grid-row: 1; }
  .fsb-primary-nav { display: none; min-height: 0; padding-bottom: 20px; border-top: 0; }
  .fsb-primary-nav.is-open { display: block; max-height: min(70vh, 650px); overflow-y: auto; overscroll-behavior: contain; }
  .fsb-primary-nav .fsb-menu { display: block; }
  .fsb-primary-nav .fsb-menu > li { display: block; border-top: 1px solid #e6eef4; }
  .fsb-primary-nav .fsb-menu > li > a { padding: 13px 0; font-size: .95rem; }
  .fsb-primary-nav .sub-menu { position: static; min-width: 0; padding: 0 0 10px 16px !important; border: 0; border-radius: 0; box-shadow: none; visibility: visible; opacity: 1; transform: none; }
  .fsb-primary-nav .sub-menu a { padding: 7px 12px; }
}

@media (max-width: 720px) {
  .fsb-shell { width: min(100% - 32px, 1240px); }
  .fsb-hero-inner { padding-block: 80px 95px; }
  .fsb-hero h1 { font-size: clamp(3.1rem, 11vw, 5rem); }
  .fsb-card-grid, .fsb-about-grid, .fsb-feature-grid, .fsb-footer-grid { grid-template-columns: 1fr; }
  .fsb-card-image { height: 190px; }
  .fsb-calendar-art { display: none; }
  .fsb-calendar-panel { max-height: 480px; }
  .fsb-join-actions { justify-content: flex-start; }
  .fsb-form-row { grid-template-columns: 1fr; }
  .fsb-footer-grid { gap: 30px; }
  .fsb-footer-bottom { display: block; }
  .fsb-footer-bottom > * { display: block; margin-bottom: 8px; }
}

@media (max-width: 420px) {
  .fsb-header-actions { gap: 8px; }
  .fsb-header-cta { gap: 5px; padding-inline: 11px; }
  .fsb-header-search { padding-left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .fsb-site *, .fsb-site *::before, .fsb-site *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
