:root {
    --color-blue: #003f8f;
    --color-blue-dark: #00326c;
    --color-blue-ink: #00285d;
    --color-red: #e3222c;
    --color-red-dark: #c91620;
    --color-sky: #eaf6ff;
    --color-text: #1f365d;
    --color-muted: #63728c;
    --color-soft: #f5f9ff;
    --color-line: rgba(0, 50, 108, .14);
    --shadow: 0 16px 38px rgba(0, 50, 108, .14);
    --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--color-text);
    background: #fff;
    font-family: Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
}
a { color: var(--color-blue-dark); }
a:hover { color: var(--color-red); }
img, iframe { max-width: 100%; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.narrow { width: min(900px, calc(100% - 40px)); }
.skip-link { position: absolute; left: -999px; top: 12px; background: #fff; padding: 10px 14px; z-index: 30; }
.skip-link:focus { left: 12px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--color-line);
    box-shadow: 0 8px 24px rgba(0, 50, 108, .08);
    backdrop-filter: blur(10px);
}
.site-header::after {
    content: "";
    display: block;
    height: 5px;
    background: linear-gradient(90deg, var(--color-red) 0 16%, var(--color-blue-dark) 16% 100%);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--color-blue-dark); text-decoration: none; font-weight: 900; }
.brand-mark { display: grid; place-items: center; width: 58px; height: 42px; border: 0; border-radius: 0; background: transparent; color: var(--color-red); box-shadow: none; }
.brand-mark img { display: block; width: 58px; height: auto; }
.brand-text { font-size: 22px; }
.menu, .footer-menu { list-style: none; padding: 0; margin: 0; }
.menu { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.menu a { display: inline-flex; padding: 8px 11px; color: var(--color-blue-ink); text-decoration: none; font-weight: 900; border-radius: 999px; font-size: 15px; }
.menu a:hover, .current-menu-item > a { background: var(--color-red); color: #fff; }

.button, .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 900;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button-red, .wp-block-button__link { background: var(--color-red); color: #fff !important; }
.button-blue { background: var(--color-blue-dark); color: #fff !important; }
.button:hover, .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,50,108,.18); color: #fff; }

.home-main { background: linear-gradient(180deg, #f7fbff 0, #fff 440px); }
.top-banner { padding: 18px 0 0; }
.banner-container { max-width: 1240px; }
.top-banner-image {
    display: block;
    width: 100%;
    border: 1px solid rgba(0, 50, 108, .12);
    border-bottom: 0;
    box-shadow: 0 18px 45px rgba(0, 50, 108, .14);
    background: #fff;
}

.home-presentation { padding: 46px 0 42px; }
.presentation-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 32px; align-items: start; }
.presentation-copy {
    min-height: 100%;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: clamp(24px, 4vw, 42px);
    box-shadow: var(--shadow);
}
.presentation-copy h1 {
    margin: 0 0 16px;
    color: var(--color-blue-dark);
    font-size: clamp(28px, 3.8vw, 44px);
    line-height: 1.08;
}
.presentation-copy h2 { color: var(--color-blue-dark); font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }
.presentation-copy h3 { color: var(--color-blue-ink); }
.presentation-copy strong { color: var(--color-blue-dark); }
.presentation-copy .wp-block-columns { gap: 18px; }
.presentation-copy .wp-block-column {
    background: var(--color-soft);
    border: 1px solid var(--color-line);
    border-radius: 16px;
    padding: 20px;
}
.presentation-copy .wp-block-quote {
    border-left: 6px solid var(--color-red);
    margin-left: 0;
    padding: 18px 20px;
    background: #fff7f8;
    border-radius: 0 16px 16px 0;
    color: var(--color-blue-dark);
}
.home-side-links { display: grid; gap: 16px; }
.side-image-link {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,50,108,.13);
    background: #fff;
    border: 1px solid rgba(0,50,108,.1);
    transition: transform .18s ease, box-shadow .18s ease;
}
.side-image-link:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,50,108,.18); }
.side-image-link img { display: block; width: 100%; height: auto; }

.section-heading { margin-bottom: 22px; }
.section-heading p {
    margin: 0 0 5px;
    color: var(--color-red);
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 13px;
}
.section-heading h2 { margin: 0; color: var(--color-blue-dark); font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
.section-heading-inline { display: flex; align-items: end; justify-content: space-between; gap: 20px; }

.announcement-categories { padding: 50px 0 56px; background: #fff; }
.announcement-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.announcement-category-card {
    background: #fff;
    border: 1px solid rgba(0,50,108,.14);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,50,108,.1);
    overflow: hidden;
    min-height: 245px;
}
.category-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: linear-gradient(180deg, #fff, #edf7ff);
    border-bottom: 6px solid var(--color-blue-dark);
    position: relative;
}
.category-card-header::after {
    content: "";
    position: absolute;
    left: 50px;
    right: 18px;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-red), transparent);
    opacity: .45;
}
.category-card-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-blue-dark);
    color: #fff;
    font-size: 19px;
}
.category-card-header h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    padding-left: 8px;
    background: linear-gradient(180deg, #fff, #edf7ff);
    color: var(--color-blue-dark);
    font-size: 17px;
    line-height: 1.15;
}
.category-card-header h3 a { color: inherit; text-decoration: none; }
.category-submit-link {
    display: block;
    padding: 13px 14px 9px;
    color: var(--color-blue-ink);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.category-card-body { padding: 0 14px 16px; }
.category-post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.category-post-list li a {
    display: block;
    padding: 10px 12px 10px 36px;
    background: #f2f4f7;
    border: 1px solid #e0e6ef;
    border-radius: 5px;
    color: #344054;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}
.category-post-list li a::before {
    content: "▣";
    position: absolute;
    left: 12px;
    color: #3b83d1;
}
.category-post-list li a:hover { background: #e9f4ff; color: var(--color-blue-dark); }
.empty-category { margin: 0; color: var(--color-muted); font-size: 14px; }

.latest-posts-section { padding: 56px 0 70px; background: linear-gradient(180deg, var(--color-soft), #fff); }
.post-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card, .empty-posts-card {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.post-card-image { display: block; aspect-ratio: 16 / 9; background: var(--color-soft); overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-content { padding: 22px; }
.post-card-meta { margin: 0 0 8px; color: var(--color-red); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.post-card h3 { margin: 0 0 10px; font-size: 23px; line-height: 1.18; }
.post-card h3 a { color: var(--color-blue-dark); text-decoration: none; }
.post-card p { color: var(--color-muted); }
.empty-posts-card { padding: 26px; }

.hero { color: #fff; background: linear-gradient(135deg, var(--color-blue-dark), var(--color-blue)); }
.hero-page { border-bottom: 6px solid var(--color-red); }
.hero-content { position: relative; z-index: 1; padding: 92px 0; }
.hero-content.compact { padding: 68px 0; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(42px, 7vw, 78px); line-height: 1; letter-spacing: .01em; }
.hero-page h1 { font-size: clamp(38px, 6vw, 62px); }
.kicker { margin: 0 0 16px; color: #dff9ff; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }
.page-content { padding: 68px 0; }
.page-content h2 { color: var(--color-blue-dark); font-size: clamp(30px, 4vw, 44px); line-height: 1.15; margin-top: 0; }
.page-content h3 { color: var(--color-blue-ink); font-size: 24px; margin-top: 30px; }
.page-content .wp-block-columns { gap: 22px; }
.page-content .wp-block-column, .info-card, .wp-block-group.is-style-card {
    background: #fff;
    border: 1px solid rgba(0, 50, 108, .1);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(0, 50, 108, .1);
}
.calendar-frame { width: 100%; min-height: 680px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.notice { padding: 22px 24px; border-radius: 18px; background: #eef7ff; border: 1px solid rgba(0,63,143,.2); border-left: 6px solid var(--color-red); }

.site-footer { background: var(--color-blue-ink); color: rgba(255,255,255,.86); padding: 48px 0; border-top: 6px solid var(--color-red); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; align-items: start; }
.site-footer a { color: #fff; }
.footer-menu li + li { margin-top: 8px; }
.footer-menu a { text-decoration: none; }
.archive-list { padding: 70px 0; }
.archive-card { padding: 28px 0; border-bottom: 1px solid rgba(0,50,108,.12); }
.archive-card h2 { margin: 0 0 8px; }

@media (max-width: 1020px) {
    .presentation-grid { grid-template-columns: 1fr; }
    .home-side-links { grid-template-columns: repeat(3, 1fr); }
    .announcement-category-grid { grid-template-columns: repeat(2, 1fr); }
    .post-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
    body { font-size: 16px; }
    .header-inner { align-items: flex-start; flex-direction: column; padding: 15px 0; }
    .menu { justify-content: flex-start; }
    .home-presentation { padding-top: 30px; }
    .home-side-links { grid-template-columns: 1fr; }
    .section-heading-inline { display: block; }
    .section-heading-inline .button { margin-top: 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .calendar-frame { min-height: 520px; }
}

@media (max-width: 560px) {
    .container { width: min(100% - 24px, 1180px); }
    .top-banner { padding-top: 10px; }
    .presentation-copy { padding: 22px; }
    .announcement-category-grid, .post-card-grid { grid-template-columns: 1fr; }
}


/* Homepage designer navigation split from the original landing page artwork. */
.designer-home-nav {
    background: transparent;
}
.designer-nav-container,
.info-strip-container {
    position: relative;
    max-width: 1240px;
}
.designer-nav-image,
.info-strip-image {
    display: block;
    width: 100%;
    height: auto;
}
.designer-nav-image {
    background: var(--color-blue-dark);
    box-shadow: 0 14px 32px rgba(0, 50, 108, .12);
}
.designer-nav-links,
.info-strip-links {
    position: absolute;
    inset: 0;
    display: grid;
}
.designer-nav-links {
    grid-template-columns: repeat(8, 1fr);
}
.designer-nav-links a,
.info-strip-links a {
    display: block;
    min-width: 0;
    text-decoration: none;
    outline-offset: -4px;
}
.designer-nav-links span,
.info-strip-links span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.designer-nav-links a:hover,
.designer-nav-links a:focus-visible {
    background: rgba(255, 255, 255, .08);
}
.home-info-strip {
    padding-top: 8px;
    background: #fff;
}
.info-strip-image {
    border-bottom: 5px solid var(--color-blue-dark);
}
.info-strip-links {
    grid-template-columns: 1.1fr 1.35fr 1.35fr 1fr;
}
.info-strip-links > span {
    display: block;
}
.info-strip-links a:hover,
.info-strip-links a:focus-visible {
    background: rgba(0, 50, 108, .06);
}
.home-presentation {
    padding-top: 42px;
}

@media (max-width: 780px) {
    .top-banner { padding-top: 10px; }
    .designer-nav-container,
    .info-strip-container,
    .banner-container { width: min(100% - 16px, 1240px); }
    .designer-nav-links a:hover,
    .designer-nav-links a:focus-visible,
    .info-strip-links a:hover,
    .info-strip-links a:focus-visible { background: transparent; }
}
