/* Shared presentation for every page. Content remains in the HTML files. */
:root {
  color-scheme: light;
  --ink: #173b3b;
  --muted: #596d6c;
  --teal: #176f69;
  --teal-dark: #124d49;
  --line: #dce8e5;
  --surface: #f3f8f6;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 1rem/1.65 Arial, sans-serif; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { color: var(--teal-dark); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #c06327; outline-offset: 4px; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
iframe { border: 0; max-width: 100%; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { font-family: Georgia, 'Times New Roman', serif; line-height: 1.2; }
h1 { margin: 0 0 1.5rem; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 500; letter-spacing: -.035em; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.container .container { width: 100%; }
.row { display: flex; flex-wrap: wrap; margin-inline: -12px; }
[class*='col-xs-'], [class*='col-sm-'], [class*='col-md-'] { min-width: 0; padding-inline: 12px; width: 100%; }
.col-xs-6 { width: 50%; }
.clearfix { clear: both; }
.skip-link { position: absolute; left: 1rem; top: -10rem; z-index: 100; background: #fff; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { background: #fff; border-top: 5px solid var(--teal); }
.header-main { display: flex; align-items: center; gap: 32px; padding-block: 22px; }
.brand { flex-shrink: 0; }
.brand img { width: 225px; }
.header-contact { margin-left: auto; color: var(--muted); font-size: .875rem; line-height: 1.7; }
.header-contact p { margin: 0; }
.header-contact a { color: inherit; }
.catalog-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 25px; border-radius: 8px; background: var(--teal); color: #fff; font-weight: 700; text-decoration: none; }
.catalog-link:hover { background: var(--teal-dark); color: #fff; }
.navigation-bar { border-block: 1px solid var(--line); }
.navigation-inner { display: flex; gap: 24px; align-items: center; }
.main-menu, .submenu { list-style: none; padding: 0; margin: 0; }
.main-menu { display: flex; align-items: stretch; flex: 1; gap: 8px; }
.menu-item { position: relative; display: flex; align-items: center; }
.menu-link { display: flex; align-items: center; min-height: 64px; padding: 12px 14px; color: var(--ink); font-size: .9375rem; font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; }
.menu-item:first-child .menu-link { padding-left: 0; }
.menu-link:hover, .menu-link[aria-current] { color: var(--teal); border-bottom-color: var(--teal); }
.submenu-toggle { display: inline-grid; place-items: center; width: 28px; height: 36px; border: 0; border-radius: 4px; background: transparent; color: var(--teal); margin-left: -10px; }
.submenu-toggle::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.submenu-toggle[aria-expanded='true']::after { transform: translateY(2px) rotate(225deg); }
.submenu { display: none; position: absolute; z-index: 20; left: 0; top: 100%; min-width: 240px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 12px 12px; box-shadow: 0 16px 32px #173b3b15; }
.submenu a { display: block; padding: 10px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); font-size: .9375rem; }
.submenu a:hover, .submenu a[aria-current] { background: var(--surface); color: var(--teal); }
.menu-item.is-open > .submenu { display: block; }
.site-search { display: flex; width: 220px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.site-search input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 10px 12px; font-size: .875rem; color: var(--ink); border-radius: 8px; }
.site-search button { display: grid; place-items: center; width: 42px; flex-shrink: 0; border: 0; background: transparent; color: var(--teal); }
.site-search svg { width: 19px; height: 19px; }
.menu-toggle { display: none; }
#hero { padding: 28px 0 0; background: var(--surface); }
.ccm-custom-style-masthead { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.ccm-custom-style-masthead-35449 { margin: 0; }
.ccm-image-slider { overflow: hidden; border-radius: var(--radius); background: #e6f2ef; }
.rslides { list-style: none; padding: 0; margin: 0; position: relative; aspect-ratio: 4 / 1; }
.rslides > li { position: relative; width: 100%; }
.rslides.is-ready > li { display: none; }
.rslides.is-ready > li.is-active { display: block; }
.rslides > li:not(:first-child) { display: none; }
.rslides > li.is-active { display: block; }
.rslides img { width: 100%; height: auto; aspect-ratio: 4 / 1; object-fit: contain; }
.ccm-image-slider-text p { margin: 0; }
.mega-link-overlay { position: absolute; inset: 0; z-index: 1; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 0 18px; }
.slide-dot { width: 26px; height: 26px; border: 0; background: transparent; padding: 8px; border-radius: 50%; }
.slide-dot::after { content: ''; display: block; width: 10px; height: 10px; border-radius: 50%; background: #a9c5be; }
.slide-dot[aria-pressed='true']::after { background: var(--teal); }
.slider-pause { border: 1px solid #a9c5be; background: transparent; color: var(--teal-dark); border-radius: 6px; padding: 3px 10px; margin-left: 8px; font-size: .875rem; }
#main-content { padding: 48px 0 64px; }
.home-intro { padding-inline: 0; }
.home-intro h1 { text-align: left !important; max-width: 680px; }
.home-intro h1 span { color: var(--ink) !important; }
.home-intro h1 em { font-style: normal; }
.box-group { margin-top: 28px; }
.boxes { display: flex; flex-wrap: wrap; margin-inline: -10px; }
.boxes > div { padding: 0 10px 20px; }
.box-content { height: calc(100% - 20px); margin-bottom: 20px; background: #fff !important; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .18s, box-shadow .18s, transform .18s; }
.boxes .box-content { margin-bottom: 0; height: 100%; }
.box-content:has(a[href]):hover { border-color: #80afa4; box-shadow: 0 8px 24px #173b3b0a; transform: translateY(-3px); }
.box-links { display: flex; flex-direction: column-reverse; align-items: flex-start; justify-content: space-between; gap: 22px; min-height: 168px; height: 100%; padding: 24px; text-decoration: none; color: var(--ink); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.box-links .fa-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--teal); background: #e7f4ef; font-size: 1.375rem; }
.boxes:nth-child(1) > div:nth-child(2) .fa-icon, .boxes:nth-child(2) > div:nth-child(1) .fa-icon { background: #fff0e9; color: #a64d2a; }
.boxes:nth-child(1) > div:nth-child(3) .fa-icon, .boxes:nth-child(3) > div:nth-child(3) .fa-icon { background: #efedfb; color: #63549b; }
.boxes:nth-child(2) > div:nth-child(2) .fa-icon, .boxes:nth-child(3) > div:nth-child(1) .fa-icon { background: #f1f4e6; color: #637733; }
.boxes:nth-child(3) > div:nth-child(2) .fa-icon { background: #f8eaf2; color: #96547b; }
.sidebar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.sidebar > br { display: none; }
.sidebar > p { text-align: left !important; margin-bottom: 20px; }
.sidebar > p span { font-size: 1.0625rem !important; color: var(--teal) !important; }
.sidebar > a > img { width: 100%; border-radius: 8px; margin-bottom: 24px; }
.sidebar iframe { display: block; min-height: 520px !important; height: 620px !important; }
.bottom-content { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 24px; }
.ccm-layout-column-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ccm-layout-column { flex: 1; }
.ccm-layout-column img { max-height: 76px; width: auto; margin-inline: auto; object-fit: contain; }
.page-banner { padding-top: 28px; }
.page-banner img { width: 100%; height: clamp(140px, 17vw, 220px); object-fit: cover; border-radius: var(--radius); }
#page-content { padding: 40px 0 64px; min-height: 45vh; }
#main-content.about-content { padding: 0; }
#page-content article > .container { padding: 0; }
#page-content article > .container > .row > .col-sm-12 { padding: 0 12px; }
.page-title { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 30px; }
.notice-card { max-width: 860px; background: var(--surface); padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); overflow-wrap: anywhere; }
.notice-card a { overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--line); background: var(--teal-dark); color: #f5faf8; padding: 40px 0 22px; }
.footer-columns { display: grid; grid-template-columns: 1fr auto; gap: 40px; }
.site-footer p { margin: 0 0 5px; }
.site-footer a { color: inherit; }
.footer-heading { font-weight: 700; font-size: 1rem; margin-bottom: 12px !important; }
.footer-columns > div { font-size: .875rem; }
.footer-bottom { margin-top: 28px; padding-top: 24px; border-top: 1px solid #ffffff30; font-size: .875rem; color: #d6e8e3; }
.footer-copyright { margin-top: 16px !important; }
.recovery-credit { font-size: .875rem; text-align: center; padding: 14px 24px; color: var(--muted); }
.calendar-page { background: transparent; }
.calendar-page .card-body { padding: 0; }
.calendar-page table { border-collapse: collapse; width: 100%; }
.calendar-page td { padding: 15px 0; vertical-align: top; border-bottom: 1px solid var(--line) !important; }
.calendar-page [hidden] { display: none; }
.calendar-page .fe_calendar_block_mini { float: left; margin-right: 12px; }
.calendar-icon { width: 48px; text-align: center; border: 1px solid #c9ddd7; border-radius: 8px; overflow: hidden; }
.calendar-icon .month { background: var(--teal); color: #fff; font-size: .875rem; }
.calendar-icon .date { background: #fff; font-size: 1.125rem; color: var(--teal-dark); font-weight: 700; }
.fe_event_title { color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.4; }
.fe_event_date { font-size: .875rem; color: var(--muted); line-height: 1.5; margin-top: 5px; }
.calendar-page .event-link { text-decoration: none; }
.missing-image { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; width: 100%; min-height: 140px; padding: 24px; background: #e6f2ef; color: var(--teal-dark); text-align: center; border-radius: 8px; }
.rslides .missing-image { aspect-ratio: 4 / 1; min-height: 0; }
.missing-image svg { width: 40px; height: 40px; }
.missing-image span { font-size: .875rem; }
.full-calendar-button { display: block; margin-top: 18px; padding: 12px 18px; border-radius: 8px; background: var(--teal); color: white; text-align: center; font-weight: 700; text-decoration: none; }
.full-calendar-button:hover { color: white; background: var(--teal-dark); }
.calendar-pagination { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding-top: 16px; font-size: .875rem; }
.calendar-pagination button { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; color: var(--teal); }
.calendar-pagination button:disabled { opacity: .5; cursor: default; }
@media (min-width: 768px) {
  .col-sm-3 { width: 25%; }
  .col-sm-4 { width: 33.3333%; }
  .col-sm-8 { width: 66.6667%; }
  .col-sm-12 { width: 100%; }
  #main-content > .container > .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 300px); gap: 32px; margin: 0; align-items: start; }
  #main-content > .container > .row > div { width: 100%; padding: 0; }
  .sidebar { position: sticky; top: 24px; }
}
@media (min-width: 1000px) {
  .col-md-4 { width: 33.3333%; }
  .col-md-9 { width: 75%; }
  .col-md-3 { width: 25%; }
}
@media (max-width: 1050px) {
  .navigation-inner { gap: 12px; }
  .main-menu { gap: 0; }
  .menu-link { padding-inline: 8px; }
  .site-search { width: 170px; }
  .box-links { padding: 20px; }
}
@media (max-width: 850px) {
  .navigation-inner { flex-wrap: wrap; padding-block: 12px; gap: 12px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; background: #fff; color: var(--ink); font-weight: 700; }
  .menu-toggle svg { width: 20px; height: 20px; }
  .site-search { margin-left: auto; width: min(260px, calc(100% - 115px)); }
  .main-menu { flex-basis: 100%; display: flex; flex-wrap: wrap; order: 3; gap: 4px; }
  .js .main-menu { display: none; }
  .js .main-menu.is-open { display: flex; }
  .menu-item { flex-basis: 100%; flex-wrap: wrap; }
  .menu-link, .menu-item:first-child .menu-link { padding: 10px 12px; min-height: 46px; border: 0; flex: 1; }
  .menu-link[aria-current] { background: var(--surface); border-radius: 6px; }
  .submenu-toggle { width: 46px; min-height: 44px; margin: 0; }
  .submenu { position: static; flex-basis: 100%; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin-left: 12px; }
}
@media (max-width: 767px) {
  .container, .ccm-custom-style-masthead { width: calc(100% - 36px); }
  .header-main { gap: 16px; flex-wrap: wrap; padding-block: 16px; }
  .brand img { width: 170px; }
  .catalog-link { margin-left: auto; padding: 10px 18px; }
  .header-contact { order: 3; width: 100%; margin: 0; font-size: .875rem; }
  #hero { padding-top: 18px; }
  #main-content, #page-content { padding-block: 30px 40px; }
  .sidebar { margin-top: 28px; }
  .sidebar iframe { height: 500px !important; min-height: 500px !important; }
  .box-links { min-height: 155px; font-size: 1rem; padding: 18px; }
  .boxes { margin-inline: -7px; }
  .boxes > div { padding: 0 7px 14px; }
  #page-content .col-sm-3 { width: 50%; }
  .box-content { margin-bottom: 16px; }
  .footer-columns { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding-top: 30px; }
  .ccm-layout-column-wrapper { gap: 12px; }
}
@media (max-width: 380px) {
  .brand img { width: 145px; }
  .catalog-link { padding-inline: 14px; }
  .footer-columns { grid-template-columns: 1fr; }
  .box-links { padding: 14px; font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
