/* Site chrome and editor content (the designed page sections are in blocks.css). */

/* Header */
.whx-branding { background: #fff; border-top: 4px solid #0d3b5e; }
.whx-branding-inner::before, .whx-branding-inner::after { display: none; }
.whx-branding-inner { display: flex; align-items: center; gap: 1.2em; padding-top: .9em; padding-bottom: .9em; }
.whx-logo img { height: 78px; width: auto; display: block; }
.whx-tagline { margin: 0; padding-left: 1.1em; border-left: 3px solid #8b1c1c; color: #0d3b5e; font-size: 1.05em; }
.whx-utils { margin-left: auto; display: flex; align-items: center; gap: 1.1em; }
.whx-webcam { color: #0d3b5e; font-size: .9em; font-weight: 700; text-decoration: none; white-space: nowrap; }
.whx-webcam:hover, .whx-webcam:focus { color: #8b1c1c; text-decoration: none; }
.whx-webcam .fa { color: #8b1c1c; margin-right: .3em; }
.whx-langs { display: flex; gap: .2em; margin: 0; padding: 0; list-style: none; }
.whx-langs li { margin: 0; }
.whx-langs a { display: block; padding: .2em .5em; border: 1px solid transparent; border-radius: 3px; color: #0d3b5e; font-size: .78em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.whx-langs a:hover, .whx-langs a:focus { border-color: #0d3b5e; }
.whx-langs .current-lang a { background: #0d3b5e; color: #fff; }
.whx-branding .whx-social { float: none; padding: 0; margin: 0; display: flex; gap: .3em; }
.nav_container { position: sticky; top: 0; z-index: 999; }
.admin-bar .nav_container { top: 32px; }
@media (max-width: 991px) { .whx-tagline { display: none; } }
@media (max-width: 600px) { .whx-logo img { height: 52px; } .whx-utils { gap: .6em; } .whx-webcam { font-size: .8em; } .whx-branding .whx-social { display: none; } }

/* Content pages and posts (editor content; designed pages are one wb-page block) */
.page-template-default #primary.col-md-9 { width: 100%; }
.page-template-default .widget-container.col-md-3 { display: none; }
.page:not(.home) .entry-title, .page:not(.home) #page-heading h1, .single-post .entry-title { position: relative; padding-bottom: .35em; margin-bottom: .9em; color: #0d3b5e; }
.page:not(.home) .entry-title::after, .page:not(.home) #page-heading h1::after, .single-post .entry-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 2px; background: #8b1c1c; }
.page :is(.entry-content, .entry) > p:is(:not([class]), [class*="wp-block"]):not([class*="wb-"]), .single-post :is(.entry-content, .entry) > p:is(:not([class]), [class*="wp-block"]):not([class*="wb-"]) { max-width: 50em; font-size: 1.05em; line-height: 1.7; }
.page :is(.entry-content, .entry) > h2:is(:not([class]), [class*="wp-block"]):not([class*="wb-"]), .single-post :is(.entry-content, .entry) > h2:is(:not([class]), [class*="wp-block"]):not([class*="wb-"]), .page :is(.entry-content, .entry) > h3:is(:not([class]), [class*="wp-block"]):not([class*="wb-"]), .single-post :is(.entry-content, .entry) > h3:is(:not([class]), [class*="wp-block"]):not([class*="wb-"]) { max-width: 50em; margin: 1.6em 0 .6em; padding-left: .6em; border-left: 4px solid #8b1c1c; color: #0d3b5e; line-height: 1.25; }
.page :is(.entry-content, .entry) > ul:is(:not([class]), [class*="wp-block"]):not([class*="wb-"]), .single-post :is(.entry-content, .entry) > ul:is(:not([class]), [class*="wp-block"]):not([class*="wb-"]) { list-style: none; max-width: 50em; margin: 0 0 1.2em; padding: 0; font-size: 1.05em; }
.page :is(.entry-content, .entry) > ul:is(:not([class]), [class*="wp-block"]):not([class*="wb-"]) > li, .single-post :is(.entry-content, .entry) > ul:is(:not([class]), [class*="wp-block"]):not([class*="wb-"]) > li { position: relative; padding-left: 1.7em; margin: .25em 0; break-inside: avoid; }
.page :is(.entry-content, .entry) > ul:is(:not([class]), [class*="wp-block"]):not([class*="wb-"]) > li::before, .single-post :is(.entry-content, .entry) > ul:is(:not([class]), [class*="wp-block"]):not([class*="wb-"]) > li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: .05em; color: #8b1c1c; font-size: .9em; }
@media (min-width: 768px) { .page :is(.entry-content, .entry) > ul:is(:not([class]), [class*="wp-block"]):not([class*="wb-"]), .single-post :is(.entry-content, .entry) > ul:is(:not([class]), [class*="wp-block"]):not([class*="wb-"]) { columns: 2; column-gap: 2.5em; } }
.page :is(.entry-content, .entry) table, .single-post :is(.entry-content, .entry) table { width: 100%; max-width: 50em; margin: 0 0 1.5em; border-collapse: separate; border-spacing: 0; border: 1px solid #dde3e9; border-radius: 6px; overflow: hidden; }
.page :is(.entry-content, .entry) th, .page :is(.entry-content, .entry) td, .single-post :is(.entry-content, .entry) th, .single-post :is(.entry-content, .entry) td { padding: .55em .8em; border-bottom: 1px solid #e8edf1; text-align: left; vertical-align: top; }
.page :is(.entry-content, .entry) thead :is(th, td), .page :is(.entry-content, .entry) table > tbody:first-child > tr:first-child > :is(th, td), .single-post :is(.entry-content, .entry) thead :is(th, td) { background: #0d3b5e; color: #fff !important; font-weight: 700; }
.page :is(.entry-content, .entry) tbody tr:nth-child(even) td, .single-post :is(.entry-content, .entry) tbody tr:nth-child(even) td { background: #f6f8fa; }
.page :is(.entry-content, .entry) td span, .single-post :is(.entry-content, .entry) td span { color: inherit !important; }
.page :is(.entry-content, .entry) tbody td:first-child, .single-post :is(.entry-content, .entry) tbody td:first-child { color: #0d3b5e; font-weight: 700; }
.page :is(.entry-content, .entry) tbody td:first-child[style*="background"], .single-post :is(.entry-content, .entry) tbody td:first-child[style*="background"] { background-color: #e8eef3 !important; }
.page :is(.entry-content, .entry) img:not(.wlk-illu), .single-post :is(.entry-content, .entry) img { border-radius: 6px; }

/* Flat buttons */
button, input[type=submit], input[type=button], .button, .wp-block-button__link { background-image: none !important; text-shadow: none !important; box-shadow: none !important; filter: none !important; }
.entry-content button, .entry-content input[type=submit] { padding: .7em 1.6em; border: 0; border-radius: 4px; background-color: #8b1c1c; color: #fff; font-weight: 700; cursor: pointer; }
.entry-content button:hover, .entry-content button:focus, .entry-content input[type=submit]:hover, .entry-content input[type=submit]:focus { background-color: #6e1414; color: #fff; }

/* Footer */
#colophon.whf { margin-top: 3em; padding: 0; border-top: 4px solid #8b1c1c; background: #0a2c47; color: #c9d8e4; }
.whf-grid::before, .whf-grid::after, .whf-bottom-inner::before, .whf-bottom-inner::after { display: none; }
.whf-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2em; padding-top: 2.8em; padding-bottom: 2.4em; }
@media (max-width: 991px) { .whf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .whf-grid { grid-template-columns: 1fr; gap: 1.6em; } }
.whf-col h3::before { display: none !important; }
#colophon .whf-col h3 { border: 0 !important; background: none !important; margin: 0 0 .9em; padding-bottom: .45em; color: #fff; font-size: 1.05em; letter-spacing: .06em; text-transform: uppercase; position: relative; }
.whf-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 2px; background: #c0392b; }
.whf-col p { margin: 0 0 .9em; line-height: 1.6; }
.whf-col ul { list-style: none; margin: 0; padding: 0; }
.whf-col li { margin: 0 0 .45em; }
.whf a { color: #fff; text-decoration: none; }
.whf a:hover, .whf a:focus { color: #ffb3ad; text-decoration: none; }
.whf .fa { color: #ff7b72; width: 1.1em; }
.whf-logo { height: 70px; width: auto; margin: 0 0 .8em; padding: 8px 12px; background: #fff; border-radius: 6px; }
.whf-social { display: flex; gap: .5em; }
.whf-social a { display: inline-flex; align-items: center; justify-content: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.whf-social a:hover, .whf-social a:focus { background: #8b1c1c; }
.whf-social .fa { color: #fff; width: auto; }
.whf-more { font-weight: 700; }
.whf-bottom { background: #071f33; padding: 0; }
.whf-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5em 1.5em; padding-top: 1em; padding-bottom: 1em; font-size: .85em; color: #9fb6c9; }
.whf-bottom a { color: #c9d8e4; }

/* Footer at the bottom of short pages */
#page { display: flex; flex-direction: column; min-height: 100vh; }
.admin-bar #page { min-height: calc(100vh - 32px); }
@media (max-width: 782px) { .admin-bar #page { min-height: calc(100vh - 46px); } }
#page > #content { flex: 1 0 auto; max-width: 100%; }
#page > #colophon { flex-shrink: 0; margin-bottom: 0; }

/* Home: no page title or breadcrumb */
.home .breadcrumb-container, .home #page-heading, .home .entry-title { display: none; }

/* News posts */
.single-post #primary.col-md-12 { float: none; width: 100%; }
.wnp-article { max-width: 760px; margin: 0 auto 3em; }
.wnp-label { display: inline-block; margin: 0 0 .8em; padding: .2em .75em; border-radius: 999px; background: #8b1c1c; color: #fff; font-size: .75em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.wnp-header .entry-title { margin-bottom: .6em; font-size: 2.4em; line-height: 1.15; }
.wnp-meta { margin: 0 0 1.8em; color: #777; font-size: .95em; }
.wnp-meta .fa { margin-right: .3em; color: #8b1c1c; }
.wnp-content { font-size: 1.05em; }
.single-post .entry-content.wnp-content > p:first-child:not([class*="wb-"]) { margin-bottom: 1em; color: #0d3b5e; font-size: 1.25em; line-height: 1.5; }
.single-post .wnp-content > .wb-cta { margin: 2em 0; }
.single-post .wnp-content .wp-block-image { max-width: 480px; margin: 1.8em auto; }
.single-post .wnp-content .wp-block-image img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 18px rgba(0, 0, 0, .12); }
.single-post .wnp-content .wp-block-image figcaption { color: #777; font-size: .9em; text-align: center; }
.single-post .wnp-content > .wp-block-image:has(+ .wp-block-image), .single-post .wnp-content > .wp-block-image + .wp-block-image { display: inline-block; width: calc(50% - .85em); max-width: none; margin: 1.5em 0; vertical-align: top; }
.single-post .wnp-content > .wp-block-image:has(+ .wp-block-image) { margin-right: 1em; }
.wnp-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; margin-top: 3em; padding-top: 1.5em; border-top: 1px solid #e3e7eb; }
.wnp-nav { display: flex; flex-direction: column; gap: .2em; padding: 1em 1.2em; background: #fff; border: 1px solid #dde3e9; border-radius: 8px; color: #0d3b5e; font-weight: 700; line-height: 1.35; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.wnp-nav:hover, .wnp-nav:focus { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .08); color: #0d3b5e; text-decoration: none; }
.wnp-nav span { color: #8b1c1c; font-size: .8em; letter-spacing: .05em; text-transform: uppercase; }
.wnp-nav span::before { content: "\f104"; margin-right: .4em; font-family: FontAwesome; }
.wnp-nav--next { grid-column: 2; text-align: right; }
.wnp-nav--next span::before { display: none; }
.wnp-nav--next span::after { content: "\f105"; margin-left: .4em; font-family: FontAwesome; }
.wnp-more { margin-top: 1em; }
@media (max-width: 600px) { .wnp-header .entry-title { font-size: 1.8em; } .wnp-footer { grid-template-columns: 1fr; } .wnp-nav--next { grid-column: 1; } }

