/* ============================================================================
CLARITY CHILD THEME STYLES
To recolor one site, copy the :root block from PART 1 into that site's Additional CSS and change it there.
Rules marked RE-CHECK restyle something a plugin or the theme generates.
============================================================================ */

/* ============================================================================
PART 1. COLORS
Brand: logo blue #2356A7 and logo orange #F58220.
============================================================================ */
:root {
/* Brand colors */
--cb-blue: #2356A7;
--cb-blue-dark: #1a4384;
--cb-blue-light: #6380BE;
--cb-tint: rgba(99, 128, 190, 0.08);
--cb-text: #444444;
--cb-border: #cccccc;
--cb-orange: #F58220; /* brand orange of the logo, kept for later use */
--cb-page-bg: #f7f8f9; /* light page background */

/* White and the dark drop shadow */
--cb-white: #FFFFFF;
--cb-shadow: rgba(0, 0, 0, 0.12);

/* Color GeneratePress reads, pointed at the palette */
--accent: var(--cb-blue); /* GeneratePress default accent */
}

/* ============================================================================
PART 2. SITE-WIDE LOOK
============================================================================ */

/* Blockquote: light blue tint */
.entry-content blockquote {
font-style: italic;
color: var(--cb-text);
background: var(--cb-tint);
border-left: 4px solid var(--cb-blue-light);
padding: 15px 20px;
margin: 10px 0 20px;
max-width: 42%;
}
.entry-content blockquote:nth-of-type(odd) {
float: right;
margin-left: 25px;
}
.entry-content blockquote:nth-of-type(even) {
float: left;
border-left: none;
border-right: 4px solid var(--cb-blue-light);
margin-right: 25px;
}
/* clear the float so later content doesn't wrap oddly */
.entry-content blockquote + p {
overflow: auto;
}
@media (max-width: 768px) {
.entry-content blockquote {
float: none;
max-width: 100%;
margin: 20px 0;
}
}

/* Reusable blue-tint background for highlighted blocks of text */
.cb-blue-block {
background: var(--cb-tint);
border: 1px solid var(--cb-blue-light);
}

/* Border to put around thumbnails that are otherwise all white */
.cb-thumb-border {
border: 1px solid var(--cb-border);
}

/* Fonts */
body,
p,
.entry-content {
font-family: "Montserrat", Arial, Helvetica, sans-serif;
font-weight: 400;
font-size: 18px;
line-height: 24px;
color: var(--cb-text);
}
h1, .entry-title {
font-family: "Merriweather", Georgia, serif;
font-weight: 700;
font-size: 48px;
line-height: 58px;
color: var(--cb-text);
}
h2 {
font-family: "Merriweather", Georgia, serif;
font-weight: 700;
font-size: 30px;
line-height: 36px;
color: var(--cb-text);
}
h3 {
font-family: "Merriweather", Georgia, serif;
font-weight: 700;
font-size: 25px;
line-height: 30px;
color: var(--cb-text);
}
h4 {
font-family: "Merriweather", Georgia, serif;
font-weight: 700;
font-size: 21px;
line-height: 25px;
color: var(--cb-text);
}

/* Header layout: push nav to the right, away from the logo */
.inside-header {
justify-content: space-between !important;
padding: 20px 0 20px 40px !important;
}
.main-navigation ul.menu {
justify-content: flex-end !important;
}

/* Navigation menu links */
.main-navigation a,
.menu-item a {
font-family: "Montserrat", Arial, Helvetica, sans-serif;
font-weight: 600;
font-size: 12px;
letter-spacing: 1px;
text-transform: uppercase !important;
color: var(--cb-blue) !important;
padding: 0 14px !important;
}
.main-navigation a:hover,
.menu-item a:hover {
color: var(--cb-blue-dark) !important;
}

/* Dropdown submenu spacing and styling. The 12px font size matches the main menu;
if the main menu size changes, change it here too. */
.main-navigation .main-nav ul ul {
min-width: 240px;
background: var(--cb-white);
box-shadow: 0 4px 12px var(--cb-shadow);
padding: 8px 0 !important;
}
.main-navigation .main-nav ul ul li a,
.main-navigation .main-nav ul li ul li[class*="current-menu-"] > a {
padding: 16px 24px !important;
line-height: 1.4 !important;
font-size: 12px !important;
}
.main-navigation .main-nav ul ul li:not(:last-child) {
border-bottom: 1px solid var(--cb-border);
}
.main-navigation .main-nav ul ul li a:hover {
background: var(--cb-tint);
}

/* Regular text links: blue to match the logo */
a {
color: var(--cb-blue);
}
a:hover {
color: var(--cb-blue-dark);
}

/* Button-style links (.cb-button-sm is the smaller variant, for buttons with longer text) */
.cb-button,
.cb-button-sm {
display: inline-block;
background-color: var(--cb-blue);
color: var(--cb-white) !important;
padding: 14px 28px;
border-radius: 6px;
text-decoration: none;
font-weight: 500;
text-transform: uppercase;
}
.cb-button-sm {
padding: 8px 16px;
font-size: 14px;
}
.cb-button:hover,
.cb-button-sm:hover {
background-color: var(--cb-blue-dark);
color: var(--cb-white) !important;
}

/* Strong Testimonials: Submit a Testimonial form (does nothing on a site without the plugin).
RE-CHECK after a Strong Testimonials update. */
.wpmtst-form .wpmtst-text,
.wpmtst-form .wpmtst-textarea,
.wpmtst-form select {
font-family: "Montserrat", Arial, Helvetica, sans-serif;
font-size: 16px;
border-radius: 6px;
padding: 12px 16px;
}
.wpmtst-form-field {
padding-top: 15px;
padding-bottom: 15px;
}
.wpmtst-form .wpmtst-after {
display: block;
font-size: 14px;
margin-top: 4px;
}
.wpmtst_submit_testimonial {
border-radius: 6px;
font-weight: 500;
text-transform: uppercase;
background-color: var(--cb-blue) !important;
color: var(--cb-white) !important;
border-color: var(--cb-blue) !important;
}
.wpmtst_submit_testimonial:hover {
background-color: var(--cb-blue-dark) !important;
border-color: var(--cb-blue-dark) !important;
}

/* Complianz legal document pages (Cookie Policy, Privacy Policy, etc.).
RE-CHECK after a Complianz update. The 800px width cap is removed so legal pages fill the content area. */
#cmplz-document,
#cmplz-document p,
#cmplz-document li {
font-size: 18px !important;
line-height: 24px !important;
}
#cmplz-document {
max-width: none !important;
width: 100% !important;
}
#cmplz-document h2 {
font-size: 30px !important;
line-height: 36px !important;
}
#cmplz-document h3 {
font-size: 25px !important;
line-height: 30px !important;
}
#cmplz-document h4 {
font-size: 21px !important;
line-height: 25px !important;
}

/* Footer links: match GeneratePress default */
.site-footer .footer-bar,
.site-footer .footer-bar p,
.site-footer .footer-bar a {
font-size: 15px !important;
line-height: 1.6 !important;
}

/* ============================================================================
PART 3. SLIM COMPLIANZ COOKIE BANNER
One reusable block for every site that uses Complianz. It only uses Complianz's own class names and
works for both banner types: the US type (Accept and the close X) and the GDPR type (Accept, Deny and
View preferences). Complianz hides the buttons a banner type does not use, so nothing here needs to
change from site to site. The accent color follows the site's brand blue (falls back to #2356A7 on a
site that has no brand-blue color). Written for the Bottom position banner. PART 4 must stay with it.
RE-CHECK after a Complianz update, and after saving banner settings in Complianz.
============================================================================ */
.cmplz-cookiebanner {
--cmplz-slim-accent: var(--cb-blue, #2356A7);
}

/* All screens: one slim strip along the bottom, flush to both edges, with only the short message,
the buttons and the policy links (the title, logo, divider and top row of links are hidden). */
.cmplz-cookiebanner.cmplz-bottom.cmplz-show:not(.cmplz-dismissed) {
display: flex !important;
align-items: center;
left: 0;
right: 0;
width: 100%;
max-width: none;
border-radius: 10px 10px 0 0;
}
.cmplz-cookiebanner.cmplz-bottom .cmplz-header {
display: contents;
}
.cmplz-cookiebanner.cmplz-bottom .cmplz-title,
.cmplz-cookiebanner.cmplz-bottom .cmplz-logo,
.cmplz-cookiebanner.cmplz-bottom .cmplz-divider,
.cmplz-cookiebanner.cmplz-bottom .cmplz-links.cmplz-information {
display: none !important;
}
.cmplz-cookiebanner.cmplz-bottom .cmplz-close {
position: absolute;
margin: 0;
}
.cmplz-cookiebanner.cmplz-bottom .cmplz-body {
display: block;
min-width: 0;
}
.cmplz-cookiebanner.cmplz-bottom .cmplz-message {
margin: 0;
}
.cmplz-cookiebanner.cmplz-bottom .cmplz-buttons {
flex: 0 0 auto;
margin: 0;
}
.cmplz-cookiebanner.cmplz-bottom .cmplz-documents {
margin: 0;
}

/* Wide screens: one row. Message on the left, the buttons, then the policy links. */
@media (min-width: 768px) {
.cmplz-cookiebanner.cmplz-bottom.cmplz-show:not(.cmplz-dismissed) {
flex-wrap: nowrap;
gap: 6px 20px;
padding: 8px 56px 8px 20px;
}
.cmplz-cookiebanner.cmplz-bottom .cmplz-close {
top: 50%;
right: 16px;
transform: translateY(-50%);
}
.cmplz-cookiebanner.cmplz-bottom .cmplz-body {
flex: 1 1 auto;
}
.cmplz-cookiebanner.cmplz-bottom .cmplz-message {
font-size: 13px;
line-height: 1.4;
}
.cmplz-cookiebanner.cmplz-bottom .cmplz-documents {
flex: 0 0 auto;
gap: 14px;
font-size: 12px;
white-space: nowrap;
}
}

/* Phones: a short box. Message first, then the buttons and the links. */
@media (max-width: 767px) {
.cmplz-cookiebanner.cmplz-bottom.cmplz-show:not(.cmplz-dismissed) {
flex-wrap: wrap;
gap: 6px 12px;
padding: 10px 44px 10px 14px;
}
.cmplz-cookiebanner.cmplz-bottom .cmplz-close {
top: 10px;
right: 12px;
}
.cmplz-cookiebanner.cmplz-bottom .cmplz-body {
flex: 1 1 100%;
}
.cmplz-cookiebanner.cmplz-bottom .cmplz-message {
font-size: 12px;
line-height: 1.35;
}
.cmplz-cookiebanner.cmplz-bottom .cmplz-documents {
flex: 1 1 auto;
gap: 12px;
font-size: 12px;
}
}

/* Banner buttons: smaller, still easy to tap, all the same size (Accept, Deny and View preferences must
look equally important on GDPR banners). Only Accept takes the accent color; the other buttons keep
the colors set in Complianz. */
.cmplz-cookiebanner.cmplz-bottom .cmplz-buttons .cmplz-btn {
width: auto;
min-width: 0;
min-height: 36px;
height: auto;
padding: 6px 20px;
font-size: 14px;
line-height: 1.2;
}
.cmplz-cookiebanner.cmplz-bottom .cmplz-buttons .cmplz-btn.cmplz-accept {
background-color: var(--cmplz-slim-accent) !important;
border-color: var(--cmplz-slim-accent) !important;
color: var(--cb-white, #FFFFFF) !important;
}

/* ============================================================================
PART 4. COOKIE BANNER: PHONE FIXES (Nov 6, 2026)
Must stay with PART 3. Tested at phone width on both banner types.
1. On phones, Complianz shifts the bottom banner sideways by half its width to center it. PART 3 pins
the banner to both edges, so that shift pushed it half a screen to the left and the message and
Accept button were off the edge of the screen. This removes the shift and the side margins.
2. GDPR banners only: the three buttons (Accept, Deny, View preferences) sit in one row instead of
stacked, so the banner stays short.
RE-CHECK after a Complianz update.
============================================================================ */
.cmplz-cookiebanner.cmplz-bottom.cmplz-show:not(.cmplz-dismissed) {
left: 0 !important;
right: 0 !important;
bottom: 0 !important;
margin: 0 !important;
transform: none !important;
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
}
@media (max-width: 767px) {
.cmplz-cookiebanner.optin.cmplz-bottom .cmplz-buttons {
flex-direction: row;
flex-wrap: wrap;
gap: 8px;
flex: 1 1 100%;
}
.cmplz-cookiebanner.optin.cmplz-bottom .cmplz-buttons .cmplz-btn {
flex: 0 0 auto;
padding: 6px 14px;
}
}

/* ============================================================================
PART 5. TOP BAR, PROJECTS, CAPTIONS, BLOG LISTS, 404
============================================================================ */
/* Top bar (small menu): 11px / 600 / 1px, blue, right-aligned in a 1200 container */
.cu-topbar{ background:var(--cb-white); position:relative; z-index:20; }
.cu-topbar-inner{
  max-width:1200px;
  margin:0 auto;
  height:51px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.cu-topbar ul{ display:flex; align-items:center; list-style:none; margin:0; padding:0; }
.cu-topbar a{
  display:block;
  font-family:'Montserrat', sans-serif;
  font-size:11px;
  font-weight:600;
  letter-spacing:1px;
  line-height:48px;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--cb-blue);
}
.cu-topbar a:hover{ color:var(--cb-text); }
.cu-topmenu-list a{ padding:0 18px; }

/* Donate menu item */
.main-navigation .main-nav ul li.donate-button a{
  background:var(--cb-blue);
  color:var(--cb-white);
  border-radius:3px;
  transition:.3s ease all;
}
.main-navigation .main-nav ul li.donate-button a:hover{
  background:var(--cb-blue-dark);
  color:var(--cb-white);
}

/* Buttons (core blocks, classic, and .button utility) */
.wp-block-button__link,
.button,
a.button{
  background:var(--cb-blue);
  color:var(--cb-white);
  text-transform:uppercase;
  letter-spacing:1px;
  font-weight:600;
  display:inline-block;
  padding:.7em 1.6em;
  border-radius:3px;
  text-decoration:none;
}
.wp-block-button__link:hover,
.button:hover,
a.button:hover{
  background:var(--cb-blue-dark);
  color:var(--cb-white);
}

/* Image captions */
.wp-block-image figcaption,
.wp-caption-text{
  font-size:13px;
  font-style:italic;
  color:var(--cb-text);
}

/* ---- Projects grid ---- */
.cu-projects-page .cu-projects-title { margin: 40px 0 19px; }
.cu-project-grid { display: flex; flex-wrap: wrap; }
.cu-project-cell { box-sizing: border-box; width: 33.3333%; padding: 10px; }
.cu-project-card { border: 1px solid var(--cb-border); height: 100%; box-sizing: border-box; }
.cu-project-img { display: block; height: 250px; overflow: hidden; background: var(--cb-page-bg); }
.cu-project-img img { display: block; width: 100%; height: 250px; object-fit: cover; }
.cu-project-card h2 { font-size: 22px; margin: 0 0 10px; padding: 10px 20px; }
.cu-project-card h2 a { color: var(--cb-text); text-decoration: none; }
.cu-project-card h2 a:hover { color: var(--cb-blue); }
.cu-project-card p { margin: 0 0 10px; padding: 0 20px; }
.cu-project-btns { padding: 20px; }
.cu-project-btns .cu-btn {
	display: inline-block; margin-right: 10px; padding: 10px 15px;
	background: var(--cb-blue); color: var(--cb-white); border-radius: 2px;
	font-size: 12px; line-height: 15px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
}
.cu-project-btns .cu-btn:hover { background: var(--cb-blue-dark); color: var(--cb-white); }
@media (max-width: 1000px) { .cu-project-cell { width: 50%; } }
@media (max-width: 640px)  { .cu-project-cell { width: 100%; } }

/* ---- Single project page ---- */
.cu-project-single .cu-project-title { margin: 40px 0 19px; }
.cu-project-single .entry-content { overflow: hidden; }
.cu-project-single .entry-content p { margin: 0 0 20px; }
.cu-project-single .wp-caption { background: var(--cb-page-bg); border: 1px solid var(--cb-page-bg); padding: 13px; max-width: 100%; box-sizing: border-box; }
.cu-project-single .wp-caption.alignleft  { float: left;  margin: 0 15px 16px 0; }
.cu-project-single .wp-caption.alignright { float: right; margin: 0 0 16px 15px; }
.cu-project-single .wp-caption img { display: block; max-width: 100%; height: auto; }
.cu-project-single .wp-caption-text { margin: 8px 0 0; font-size: 13px; font-style: italic; }
.cu-project-donate { margin: 0 0 20px; }
.cu-donate-btn {
	display: inline-block; padding: 13px 29px; border-radius: 4px;
	background: var(--cb-blue); color: var(--cb-white); font-size: 14px; font-weight: 600; text-decoration: none;
}
.cu-donate-btn:hover { background: var(--cb-blue-dark); color: var(--cb-white); }

/* DONATE NOW button height */
.cu-donate-btn{line-height:17px}

/* NextGEN thumbnails: crop portrait photos instead of squashing them */
.nextgen_pro_thumbnail_grid picture img{object-fit:cover}
/* Top bar: dropdown */
.cu-topmenu-list li{position:relative}
.cu-topmenu-list .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:160px;margin:0;padding:0;list-style:none;background:var(--cb-white);box-shadow:0 2px 6px var(--cb-shadow);z-index:1000}
.cu-topmenu-list li:hover>.sub-menu,.cu-topmenu-list li:focus-within>.sub-menu{display:block}
.cu-topmenu-list .sub-menu li{display:block;margin:0}
.cu-topmenu-list .sub-menu a{display:block;padding:12px 20px;white-space:nowrap}

/* Top bar: keep the dropdown above the header arrow on parent items */
.cu-topbar{z-index:31}
.cu-topmenu-list .menu-item-has-children>a::after{content:"";display:inline-block;width:5px;height:5px;margin-left:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg) translateY(-2px)}

/* Blog posts: clean (no featured image above the title, no byline, no next/previous links) */
.single-post .featured-image,
.single-post .entry-meta,
.single-post .post-navigation{display:none}

/* Captioned photos: grey frame and caption style (all pages and posts) */
.entry-content .wp-caption{background:var(--cb-page-bg);border:1px solid var(--cb-page-bg);padding:13px;box-sizing:border-box;margin-bottom:16px}
.entry-content .wp-caption img{display:block;padding:0;margin:0 0 20px;background:var(--cb-white);max-width:100%;height:auto}
.entry-content .wp-caption .wp-caption-text{font-size:13px;font-style:italic;color:var(--cb-text);opacity:1;padding:3px 0 0;line-height:1.5;margin:0}
.entry-content .wp-caption.alignleft{margin-right:15px}
.entry-content .wp-caption.alignright{margin-left:15px}

/* Project pages: lead image with no alignment class floats left so text wraps */
.single-cu_project .entry-content > p:first-child > img:only-child:not([class*="align"]){float:left;margin:0 15px 16px 0}

/* Mobile: top bar as one compact row */
@media (max-width:768px){
  .cu-topbar{ display:block; border-bottom:1px solid var(--cb-border); }
  .cu-topbar-inner{ height:auto; flex-wrap:wrap; justify-content:center; padding:0 6px; }
  .cu-topbar a{ line-height:38px; }
  .cu-topmenu-list{ flex-wrap:wrap; justify-content:center; }
  .cu-topmenu-list a{ padding:0 8px; }
  .cu-topmenu-list li{ display:flex; }
  .cu-topmenu-list .menu-item-has-children > a::after{ content:none; display:none; }
  .cu-topmenu-list .sub-menu{ position:static; display:flex; visibility:visible; opacity:1; box-shadow:none; background:none; min-width:0; width:auto; transform:none; padding:0; margin:0; border:0; }
  .cu-topmenu-list .sub-menu a{ padding:0 8px; line-height:38px; background:none; }
}

/* Blog + category pages: uniform thumbnails with excerpt beside; hide category/tag/comment links and author name */
:is(.blog,.archive) .site-main article .inside-article{display:grid;grid-template-columns:260px 1fr;column-gap:28px;align-items:start}
:is(.blog,.archive) .site-main article .post-image{grid-column:1;grid-row:1 / span 2;margin:0}
:is(.blog,.archive) .site-main article .post-image a{display:block}
:is(.blog,.archive) .site-main article .post-image img{display:block;width:100%;height:180px;object-fit:cover;border-radius:4px}
:is(.blog,.archive) .site-main article .entry-header{grid-column:2;grid-row:1;align-self:end}
:is(.blog,.archive) .site-main article .entry-summary{grid-column:2;grid-row:2;margin-top:.5em}
:is(.blog,.archive) .site-main article .entry-summary p{margin-bottom:0}
:is(.blog,.archive) .site-main article footer.entry-meta{display:none}
:is(.blog,.archive) .site-main article .entry-meta .byline{display:none}
:is(.blog,.archive) .site-main article .entry-title{font-size:1.4em;margin-bottom:.2em}
@media(max-width:600px){
:is(.blog,.archive) .site-main article .inside-article{grid-template-columns:1fr}
:is(.blog,.archive) .site-main article .post-image,:is(.blog,.archive) .site-main article .entry-header,:is(.blog,.archive) .site-main article .entry-summary{grid-column:1;grid-row:auto}
:is(.blog,.archive) .site-main article .post-image{margin-bottom:12px}
}
/* Posts with no image use the full width */
:is(.blog,.archive) .site-main article .inside-article:not(:has(.post-image)){grid-template-columns:1fr}
:is(.blog,.archive) .site-main article .inside-article:not(:has(.post-image)) .entry-header,
:is(.blog,.archive) .site-main article .inside-article:not(:has(.post-image)) .entry-summary{grid-column:1}
/* Long unbroken text wraps instead of widening the page */
:is(.blog,.archive) .site-main article .inside-article > *{min-width:0}
:is(.blog,.archive) .site-main article .entry-summary,
:is(.blog,.archive) .site-main article .entry-title{overflow-wrap:anywhere}

/* 404 page */
body.error404 .entry-header{display:none}
body.error404 .entry-content p{font-size:16px;margin:0 0 20px}
body.error404 .entry-content p:empty{display:none}
body.error404 .cu-404-search-title{font-family:'Merriweather',Georgia,serif;font-size:22px;font-weight:700;line-height:1.2;margin:0 0 15px;color:var(--cb-text)}

/* The site-wide menu link rules also reach the top bar, so these set the top bar's own sizes. */
.cu-topbar .menu-item a { font-size: 11px; }
@media (min-width: 769px) { .cu-topbar .sub-menu a { padding: 12px 20px !important; } }
@media (max-width: 768px) { .cu-topbar .menu-item a { padding: 0 8px !important; } }
.main-navigation .main-nav ul li.donate-button a,
.cu-topbar .menu-item.donate-button a { background: var(--cb-blue); color: var(--cb-white) !important; border-radius: 6px; }

/* ============================================================================
PART 6. MATCHING PLUGIN AND THEME COLORS. RE-CHECK after updates.
============================================================================ */
/* WPForms submit button and search button: same look as .cb-button */
div.wpforms-container-full .wpforms-form button[type="submit"].wpforms-submit,
.search-form .search-submit {
background-color: var(--cb-blue) !important;
border-color: var(--cb-blue) !important;
color: var(--cb-white) !important;
}
div.wpforms-container-full .wpforms-form button[type="submit"].wpforms-submit {
border-radius: 6px !important;
font-weight: 500 !important;
text-transform: uppercase !important;
height: auto !important;
padding: 14px 28px !important;
}
div.wpforms-container-full .wpforms-form button[type="submit"].wpforms-submit:hover,
.search-form .search-submit:hover {
background-color: var(--cb-blue-dark) !important;
border-color: var(--cb-blue-dark) !important;
}
.wpmtst-testimonial,
.wpmtst-form .selectize-input { border-color: var(--cb-border) !important; }

/* ============================================================================
PART 7. HEADER AND HEADINGS BY SCREEN WIDTH
Desktop logo size is set per site: Customizer > Site Identity > Logo Width.
============================================================================ */
.main-navigation .main-nav > ul > li > a { padding: 0 12px !important; }

@media (min-width: 769px) and (max-width: 1199px) {
.inside-header { padding-left: 20px !important; }
.site-header .header-image { max-width: 230px; }
.main-navigation .main-nav > ul > li > a { padding: 0 7px !important; letter-spacing: 0.4px; }
}

@media (max-width: 768px) {
.inside-header { padding: 12px 16px !important; flex-direction: row; flex-wrap: wrap; justify-content: space-between !important; align-items: center; }
.site-header .header-image { max-width: 230px; }
.site-header .site-logo { margin: 0; }
.inside-header .main-navigation { width: auto; margin: 0 0 0 auto; }
.inside-header .main-navigation.toggled { width: 100%; }
.main-navigation .menu-toggle,
.main-navigation .menu-toggle:hover,
.main-navigation .menu-toggle:focus { background: transparent; color: var(--cb-blue); }
h1, .entry-title { font-size: 32px; line-height: 40px; }
h2 { font-size: 25px; line-height: 31px; }
h3 { font-size: 22px; line-height: 28px; }
}

/* Wide screens: logo lines up with the left edge of the content area */
@media (min-width: 1200px) { .inside-header { padding-left: 0 !important; } }
/* No extra gap after a menu item that has a dropdown arrow */
@media (min-width: 769px) { .main-navigation .main-nav > ul > li.menu-item-has-children > a { padding-right: 0 !important; } }

/* ============================================================================
PART 8. PLUGIN FORM COLORS AND PHONE FIXES. RE-CHECK after plugin updates.
============================================================================ */
.search-form .search-field,
.wpmtst-form input.text,
.wpmtst-form textarea,
.wpforms-container .wpforms-form input,
.wpforms-container .wpforms-form select,
.wpforms-container .wpforms-form textarea,
.emailoctopus-form-wrapper input.form-control,
div:has(> .emailoctopus-form-wrapper) table,
.inline-container table { border-color: var(--cb-border) !important; }
.wpmtst-form .selectize-input { background: var(--cb-white) !important; }
.wpforms-container .wpforms-form label,
.wpforms-container .wpforms-form h3,
.wpforms-container .wpforms-form legend,
.wpforms-container .wpforms-form .wpforms-field-sublabel,
.wpforms-container .wpforms-form .wpforms-field-description,
.wpforms-container .wpforms-form label span:not(.wpforms-required-label),
.inline-container table, .inline-container table span, .inline-container table strong { color: var(--cb-text) !important; }
.simplePagerNav { display: flex; flex-wrap: wrap; justify-content: center; }
.simplePagerNav li.currentPage a { background: var(--cb-blue) !important; color: var(--cb-white) !important; }
.strong-category-list label { white-space: normal !important; }
@media (max-width: 768px) {
.entry-content blockquote:nth-of-type(odd),
.entry-content blockquote:nth-of-type(even) { float: none; max-width: 100%; margin: 20px 0; }
}
.strong-view .simplePagerList ul.simplePagerNav { width: 100% !important; max-width: 100% !important; min-width: 0; position: static !important; transform: none !important; left: auto !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0; }
div.wpforms-container-full .wpforms-form .wpforms-field-label,
div.wpforms-container-full .wpforms-form .wpforms-field-label-inline,
div.wpforms-container-full .wpforms-form .wpforms-field-sublabel { color: var(--cb-text) !important; }

/* ============================================================================
PART 9. CURRICULUM AND OLLIE PAGE LAYOUTS (only affect pages using these class names)
============================================================================ */
.cb-curriculum-intro { margin: 0 0 3rem; font-size: 1.15rem; line-height: 1.7; text-align: left; }
.cb-curriculum-list { margin: 0; display: flex; flex-direction: column; gap: 3rem; }
.cb-curriculum-item { display: flex; flex-direction: column; align-items: stretch; text-align: left; }
.cb-curriculum-item h2 { font-size: 1.6rem; margin: 0 0 1.25rem; }
.cb-curriculum-thumb-img { width: 100%; border-radius: 8px; margin-bottom: 1.25rem; display: block; }
.cb-curriculum-item p { font-size: 1.05rem; line-height: 1.7; margin: 0 0 1.25rem; }
.cb-curriculum-item a.cb-curriculum-link { font-size: 1rem; font-weight: 600; text-decoration: none; align-self: flex-start; margin-top: 1.25rem; }
.cb-curriculum-more { margin: 3rem 0 0; text-align: left; font-size: 1.05rem; line-height: 1.7; color: var(--cb-text); }
.ollie-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.ollie-col { display: flex; flex-direction: column; gap: 20px; }
.ollie-def-card { padding: 20px; text-align: center; }
.ollie-def-card .ollie-word { font-weight: bold; letter-spacing: 1px; }
.ollie-def-card .ollie-booklet { color: var(--cb-text); margin: 4px 0 12px; }
.ollie-img-frame { border: 10px solid var(--cb-border); line-height: 0; }
.ollie-img-frame img { display: block; width: 100%; height: auto; }
@media (max-width: 768px) { .ollie-gallery { grid-template-columns: 1fr; } }

/* Wide screens: logo set in slightly from the content edge, tighter menu spacing to leave room for a larger logo */
@media (min-width: 1200px) {
.inside-header { padding-left: 8px !important; }
.main-navigation .main-nav > ul > li > a { padding-left: 10px !important; padding-right: 10px !important; }
.main-navigation .main-nav > ul > li.menu-item-has-children > a { padding-right: 0 !important; }
.cu-topbar .cu-topmenu-list > li:last-child > a { padding-right: 10px !important; }
}

/* Wide screens: top menu lines up with the top of the logo, main menu with the bottom of the logo */
@media (min-width: 1200px) {
.cu-topbar { height: 0; background: transparent; }
.cu-topbar-inner { position: absolute; left: 0; right: 0; top: 22px; height: auto; align-items: flex-start; pointer-events: none; }
.cu-topbar-inner ul { pointer-events: auto; }
.cu-topbar a { line-height: 15px; }
.inside-header { align-items: flex-end !important; padding-top: 20px !important; padding-bottom: 20px !important; }
.inside-header .site-logo img { display: block; }
.inside-header .main-navigation { margin-bottom: -4px; }
.inside-header .main-navigation .main-nav > ul > li > a,
.inside-header .main-navigation .main-nav > ul > li > a .dropdown-menu-toggle { line-height: 15px; }
}
