/*
 * 0-1125C.css - CLEANED VERSION by Claude
 * Generated: January 7, 2026
 * 
 * This version consolidates and fixes modal styles that were causing display issues.
 * 
 * Changes from previous version:
 * - Removed conflicting generic modal CSS rules (lines 578-602 in original)
 * - Consolidated all #involvementModal styles into single section at bottom
 * - Fixed modal height to extend full viewport with no bottom gap
 * - Strengthened CSS specificity with !important declarations to override Bootstrap defaults
 * - Cleaned up duplicate/conflicting max-height and overflow rules
 * 
 * Modal now properly:
 * - Extends 100% viewport height on all devices
 * - Removes bottom spacing/margin issues
 * - Allows internal scrolling for form validation errors
 * - Maintains consistent display across browsers
 */
.preload {
  display: none;
}
/* ACCESSIBILITY */
#skiptocontent a {
  padding: 6px;
  position: absolute;
  top: -40px;
  left: 0px;
  color: white;
  background: #000;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  border-bottom-right-radius: 8px;
  background: #000;
  color: white;
  -webkit-transition: top 1s ease-out, background 1s linear;
  transition: top 1s ease-out, background 1s linear;
  z-index: 10000000;
}
#skiptocontent a:focus {
  position: absolute;
  left: 0px;
  top: 0px;
  background: #000;
  color: white;
  outline: 0;
  -webkit-transition: top .1s ease-in, background .5s linear;
  transition: top .1s ease-in, background .5s linear;
}
/* BASE TYPOGRAPHY & TEXT */
body {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Open Sans', sans-serif;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
  color: #154987;
  margin-top: 5px;
  text-shadow: none;
  font-weight: 800;
  font-family: "Open Sans", sans-serif;
  line-height: 1.2 !important;
}
/* H1 */
h1, .h1 {
  font-size: 35px;
  position: relative;
  margin-bottom: 30px;
}
h1::after, .h1::after {
  left: 0;
  width: 100%;
  height: 2px;
  content: " ";
  bottom: -10px;
  background: #C92027;
  position: absolute;
}
/* H2 */
h2, .h2 {
  font-size: 30px;
}
h2.icl-bord {
  position: relative;
}
h2.icl-bord::after {
  left: 0;
  width: 100%;
  height: 2px;
  content: " ";
  bottom: -10px;
  background: #C92027;
  position: absolute;
}
.icl-content h2 {
  margin-top: 31px;
}
/* H3 */
h3, .h3 {
  font-size: 21px;
}
/* H4 */
h4, .h4 {
  font-size: 18px;
}
/* ACCENT UTILITIES */
.icl-red {
  color: #C92027;
}
.icl-com-wrap {
  border: 2px solid #154987;
  border-radius: 5px;
  padding-top: 25px;
}
p, li, li a, label {
  color: #333;
}
.bold {
  font-weight: bold;
}
/* GLOBAL LINKS */
#main-content a {
  color: #3d71b0;
}
.footer-v1 a {
  color: #fff;
  text-decoration: underline;
}
.footer-v1 a:hover {
  color: #fff;
  text-decoration: none;
}
/* LOGO & HEADER */
#logo-header {
  max-width: 275px;
  height: auto;
}
@media (max-width: 992px) {
  #logo-header {
    max-width: 260px;
    height: auto;
    z-index: 1000;
    position: relative;
  }
}
/* TOP SECTIONS & HERO IMAGERY */
.icl-top1 {
  text-align: center;
}
.icl-top2 {
  border: 0px solid red;
}
.icl-top2 img {
  max-width: 100%;
  height: auto;
}
.icl-img-top {
  width: 900px;
  position: relative;
  top: 20px;
}
/* BUTTONS - LEGACY HOVER STATE */
.btn-u:hover {
  color: #fff;
  background: #333;
}
/* MAGAZINE LAYOUT & TITLES */
.magazine-page h3, .magazine-page h3 a {
  color: #154987;
  font-size: 26px;
  line-height: 1x;
  margin-bottom: 1px;
  text-decoration: none;
}
.magazine-page aside {
  padding-right: 30px;
}
@media (max-width: 992px) {
  .magazine-page aside {
    padding-right: auto;
    padding-left: 30px;
  }
}
.magazine-posts .magazine-posts-img {
  overflow: visible;
  max-height: 205px;
  position: relative;
}
@media (max-width: 992px) {
  .magazine-posts, .magazine-sb-categories {
    text-align: center;
  }
  .magazine-posts-img {
    max-width: 300px;
    margin: 0 auto;
  }
}
.magazine-page span.magazine-badge {
  top: 0;
  left: 0;
  color: #fff;
  font-size: 14px;
  padding: 2px 8px;
  position: absolute;
  font-style: inherit;
  width: 100%;
  text-align: center;
}
/* NAVIGATION - MAIN HEADER */
.header-v4 .navbar-default .navbar-nav > li > a {
  color: #333;
  font-weight: bold;
  font-size: 16px;
}
@media (max-width: 1200px) {
  .header-v4 .navbar-default .navbar-nav > li > a {
    font-size: 12px;
    padding: 10px 20px 11px 20px;
  }
}
/* IMAGES & MEDIA */
.icl-imgR {
  float: right;
  margin: 1px 0px 10px 25px;
  padding: 6px;
  background: #f5f5f5;
  -moz-box-shadow: 0px 0px 11px rgba(0, 0, 0, .35);
  -webkit-box-shadow: 0px 0px 11px rgba(0, 0, 0, .35);
  box-shadow: 0px 0px 11px rgba(0, 0, 0, .35);
  max-width: 375px;
}
@media (max-width: 767px) {
  .icl-imgR {
    float: none;
    margin: 20px auto;
    max-width: 100%;
    width: 100%;
  }
}
.icl-img {
  padding: 6px;
  background: #f5f5f5;
  -moz-box-shadow: 0px 0px 11px rgba(0, 0, 0, .35);
  -webkit-box-shadow: 0px 0px 11px rgba(0, 0, 0, .35);
  box-shadow: 0px 0px 11px rgba(0, 0, 0, .35);
}
/* BUTTONS - PRIMARY */
.btn-u {
  background: #3d71b0;
  color: #fff !important;
  -webkit-box-shadow: 2px 2px 0px 0px rgba(156, 156, 156, 0.5);
  -moz-box-shadow: 2px 2px 0px 0px rgba(156, 156, 156, 0.5);
  box-shadow: 2px 2px 0px 0px rgba(156, 156, 156, 0.5);
}
.btn-u:hover, .btn-u:active {
  -webkit-box-shadow: 2px 2px 0px 0px rgba(156, 156, 156, 0.0);
  -moz-box-shadow: 2px 2px 0px 0px rgba(156, 156, 156, 0.0);
  box-shadow: 2px 2px 0px 0px rgba(156, 156, 156, 0.0);
}
.btn-icl-sm {
  padding: 2px 5px;
}
/* TOPBAR & SOCIAL ICONS */
.topbar-v1 .top-v1-data li {
  padding: 1px 0 1px 7px;
  margin-right: -4px;
  display: inline-block;
  border-right: solid 0px #eee;
}
.top-v1-data a, .top-v1-data a i {
  font-size: 22px !important;
}
.fb i {
  color: #4264b4 !important;
}
.t i {
  color: #1c9df4 !important;
}
.icl-blue-lt-bg {
  background: #3d71b0;
  color: #fff !important;
}
/* FOOTER */
.link-list li {
  color: #fff;
}
.icl-foot-l {
  text-align: center;
}
.icl-foot-l img {
  width: 100%;
  height: auto;
  max-width: 150px;
}
#topcontrol::after {
  top: -2px;
  left: 8.5px;
  content: "\f106";
  position: absolute;
  text-align: center;
  font-family: FontAwesome;
}
footer .headline h2, .headline h3, .headline h4 {
  margin: 0 0 -2px 0;
  padding-bottom: 5px;
  display: inline-block;
  border-bottom: 2px solid #fff;
}
.icl-rss {
  color: #f38700;
  font-size: 20px;
}
/* ASIDE IMAGES & ADS */
.icl-img-aside {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin: 0 auto;
}
.icl-ads a img {
  transition: all 0.3s ease;
  opacity: 1.0;
}
.icl-ads a img:hover {
  opacity: .8;
}
.topbar-v1 .top-v1-data li:first-child, .topbar-v1 .top-v1-data li:last-child {
  border: none;
}
#all-logo {
  margin-bottom: 100px;
  text-align: center;
}
#icl-side-logo {
  text-align: center;
  margin-bottom: 10px;
}
#icl-aside-other {
  margin-bottom: 100px;
}
@media (max-width: 992px) {
  #all-logo {
    margin-bottom: 20px;
  }
  #icl-side-logo {
    display: none;
  }
  #icl-aside-other {
    margin-bottom: 20px;
  }
  .icl-ad {
    margin-bottom: 40px;
  }
}
.icl-sub {
  padding-top: 21px;
  padding-right: 30px;
}
/* WORDPRESS */
#wp-sidebar .widgettitle {
  margin-top: 35px !important;
}
#wp-sidebar h2::first-child {
  margin-top: 0 !important;
}
.widgettitle ul li {
  margin-bottom: 10px;
}
/* END WORDPRESS */
/* ASIDE LISTS & CALLOUTS */
.icl-aside-list {
  margin-left: 20px;
}
.icl-aside-list li {
  margin-bottom: 5px;
}
.icl-mats {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 40px;
}
/* RESPONSIVE OFFSETS & HELPERS */
.oiu-offset {
  position: relative;
  bottom: 125px;
}
.oiu-offset:before {
  display: block;
  content: " ";
  height: 0px; /* Give height of your fixed element */
  margin-top: 0px; /* Give negative margin of your fixed element */
  visibility: hidden;
  position: relative;
}
.icl-end div ul li {
  white-space: nowrap;
}
.no-border::after {
  visibility: hidden !important;
}
.hr-narrow {
  margin: 10px 0;
}
/* PRIMARY ACTION BUTTONS */
.icl-action-but {
  width: auto;
  padding: 15px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .5px;
  text-decoration: none !important;
  font-style: normal;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  /*font-family: 'Open Sans', sans-serif !important;*/
  color: #fff !important;
  background: #154987;
  border: #ca2027 solid 3px !important;
}
.icl-action-but:hover {
  color: white !important;
  text-shadow: none;
  background: #333333;
  text-decoration: none !important;
  border: #ca2027 solid 3px !important;
}
.icl-action-but:focus {
  overflow: visible;
  width: auto;
  padding: 15px;
  /*font-family: 'Open Sans', sans-serif;*/
  text-decoration: none !important;
  font-style: normal;
  font-smoothing: antialiased;
  font-optical-sizing: auto;
  display: inline-block;
  position: relative;
  border: #ca2027 solid 4px !important;
  background: #ffffff !important;
  color: #000 !important;
}
/* EXTERNAL LINK ICONS */
.external-link-icon::after {
  content: "\f08e";
  font-family: 'FontAwesome';
  margin-left: 4px;
  padding-left: 0;
  text-decoration: none !important;
  color: inherit;
  display: inline;
}
/* INVOLVE SECTION */
.icl-involve-section {
  background-color: #f8f8f6;
}
.icl-involve-lead {
  max-width: 42rem;
}
.icl-involve-card {
  background-color: #ffffff;
  border: 1px solid #e2e2dd;
  border-radius: 0.75rem;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}
@media (max-width: 575.98px) {
  .icl-involve-card {
    padding: 1.5rem 1.25rem 1.25rem;
  }
}
.icl-involve-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.icl-involve-card-text {
  margin-bottom: 0.75rem;
}
.icl-involve-list {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}
.icl-involve-list li + li {
  margin-top: 0.25rem;
}
.icl-involve-list--numbered {
  list-style-type: decimal;
}
/* INVOLVE NAV BUTTONS */
.icl-involve-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.icl-involve-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 0.25rem;
  border: 1px solid #2f6db3;
  background-color: #2f6db3;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: none;
}
.icl-involve-nav-btn:hover, .icl-involve-nav-btn:focus {
  text-decoration: none;
  background-color: #255894;
  border-color: #255894;
}
.icl-involve-nav-btn:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}
/* DONATIONS & ADVERTISING */
.icl-donations-ads img {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  width: 280px;
}
.icl-donations-ads div {
  text-align: center;
}
/* QUICK LINKS GRID */
.icl-quick-links {
  margin: 20px 0;
}
.icl-quick-links .icl-quick-links-list {
  display: flex;
  flex-wrap: wrap;
  /* use padding + negative margins to collapse borders */
  padding: 2px 0 0 2px;
  margin: 0;
  list-style: none;
  background: transparent;
}
/* Each LI is a flex item; negative margins collapse adjoining borders */
.icl-quick-links .icl-quick-links-list > li {
  display: flex; /* so the button can stretch full height */
  flex: 0 0 100%;
  margin: -2px 0 0 -2px; /* collapse 2px borders between items */
  padding: 0;
  box-sizing: border-box;
}
/* Make the button fill the grid cell, center content vertically, tighten line spacing */
.icl-quick-links .icl-quick-link {
  display: flex; /* override inline-block from .icl-action-but */
  align-items: center; /* vertical centering */
  justify-content: center; /* horizontal centering */
  text-align: center;
  width: 100%;
  height: 100%;
  line-height: 1.2; /* tighter line spacing */
  margin: 0;
  border: 2px solid #ca2027; /* single 2px red border around each tile */
}
/* Keep border consistent on hover */
.icl-quick-links .icl-quick-link:hover {
  border: 2px solid #ca2027;
}
/* Focus state (you can tweak if needed) */
.icl-quick-links .icl-quick-link:focus {
  border: 4px solid #ca2027; /* stronger focus ring */
}
@media (min-width: 768px) {
  .icl-quick-links .icl-quick-links-list > li {
    flex: 0 0 50%; /* 2 columns */
  }
}
/* Breakpoint 2: medium / desktop, 4 columns, 2 rows layout */
@media (min-width: 992px) {
  .icl-quick-links .icl-quick-links-list > li {
    flex: 0 0 25%; /* 4 columns */
  }
}
/*
MachForm iframe layout

.icl-form sets shared iframe styles.
Each form must use a unique modifier class: .icl-form--{unique-form-name}
and its own min-height rule to prevent clipping.
*/
.icl-form {
  max-width: 100%;
}
.icl-form iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  height: auto !important;
  min-height: 900px;
}
.icl-form--contact iframe {
  min-height: 820px;
}
.icl-form--news iframe, .icl-form--materials iframe {
  min-height: 1350px;
}
.icl-form--get-involved iframe {
  min-height: 830px;
}
/* ============================================
   MODAL STYLES - FINAL VERSION
   Fixes: Desktop centering + Mobile submit button visibility
   ============================================ */

/* Remove all default Bootstrap modal spacing */
#involvementModal.modal {
    padding: 0 !important;
}

/* Desktop: Center the modal horizontally while keeping full height */
#involvementModal .modal-dialog {
    max-width: 800px;
    width: 100%;
    height: 100vh !important;
    max-height: 100vh !important;
    margin: 0 auto !important;
    position: relative !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

#involvementModal .modal-content {
    height: 100vh !important;
    max-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 0 !important;
    margin: 0 auto;
    max-width: 800px;
}

#involvementModal .modal-header {
    flex-shrink: 0 !important;
    padding: 20px !important;
    position: relative !important;
    border-bottom: none !important;
    background-color: #fff !important;
}

#involvementModal .modal-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 20px !important;
    padding-bottom: 40px !important;
    max-height: none !important;
    min-height: 0 !important;
}

/* Close button */
#involvementModal .close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    display: block !important;
    clip: auto !important;
    overflow: visible !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 40px !important;
    text-align: center !important;
    color: #000 !important;
    text-shadow: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid #ddd !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    z-index: 99999 !important;
    pointer-events: auto !important;
}

#involvementModal .close span {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 36px !important;
    pointer-events: none !important;
}

#involvementModal .close:hover,
#involvementModal .close:focus {
    opacity: 1 !important;
    background: #f0f0f0 !important;
    border-color: #999 !important;
    color: #000 !important;
    outline: 3px solid #3d71b0 !important;
    outline-offset: 2px !important;
}

#involvementModal .modal-header h1 {
    padding-right: 60px !important;
    margin: 0 !important;
    font-size: 28px !important;
    line-height: 1.3 !important;
}

/* Form iframe in modal */
#involvementModal .icl-form--modal iframe {
    width: 100% !important;
    border: none !important;
    display: block !important;
    min-height: 1100px !important;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    #involvementModal .modal-body {
        padding: 15px !important;
        padding-bottom: 30px !important;
    }
    
    #involvementModal .modal-header {
        padding: 15px !important;
    }
    
    #involvementModal .modal-header h1 {
        font-size: 20px !important;
        padding-right: 50px !important;
    }
    
    #involvementModal .close {
        width: 36px !important;
        height: 36px !important;
        font-size: 32px !important;
        line-height: 36px !important;
        top: 15px !important;
        right: 15px !important;
    }
    
    #involvementModal .close span {
        line-height: 32px !important;
    }
    
    /* CRITICAL: Increased height so submit button is visible on mobile */
    #involvementModal .icl-form--modal iframe {
        min-height: 1400px !important;
    }
}

/* Ensure modal animations don't interfere */
#involvementModal.modal.fade .modal-dialog {
    transform: none !important;
}
.entry-content{
	margin-top: .5em !important;
}

/* ---- Sidebar block fixes (2026-07-06) ---- */

/* Recent Posts: match Archives/Categories exactly (measured: disc outside, ml 16px, pl 20px, li margin 0) */
.wp-block-latest-posts.wp-block-latest-posts__list {
	list-style: disc outside !important;
	margin-left: 16px !important;
	padding-left: 20px !important;
}
.wp-block-latest-posts.wp-block-latest-posts__list li {
	margin-bottom: 0 !important;
}

/* Search Commentaries: match aside text (measured 16px Open Sans); trim height from 51px */
.wp-block-search__input {
	font-family: "Open Sans", sans-serif !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	padding: 6px 10px !important;
	height: auto !important;
}
.wp-block-search__button.wp-element-button {
	font-family: "Open Sans", sans-serif !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	padding: 6px 14px !important;
	height: auto !important;
}

/* Content column (icl2607C): matches the static site's sidebar pages. Text sits 30px from the container's left edge
   and 30px from the sidebar (the static site gets this from col 15px + article 15px each side). The sidebar's own
   padding, and so the space to its right, is unchanged. Desktop only. */
@media (min-width: 992px) {
	#main-content .col-md-9 {
		padding-left: 30px !important;
		padding-right: 30px !important;
	}
}


/* ============================================================
   HEADER PARITY WITH THE STATIC MARKETING SITE  (icl2607A)
   Ported from 0-1125E.css on idahochooseslife.org so the blog
   header matches the root site. All values are px on purpose -
   nothing here is rem, so root font-size cannot skew it.
   ============================================================ */

/* ---------- HEADER BANNER (logo + hero), replaces the old BS3 grid ---------- */
.icl-hdr {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 15px 0;
}
.icl-hdr-logo {
	flex-shrink: 0;
	display: block;
}
.icl-hdr-logo img {
	max-width: 275px;
	height: auto;
	display: block;
}
.icl-hdr-hero {
	flex: 1;
	min-width: 0;
}
.icl-hdr-hero img {
	width: 100%;
	max-width: 900px;
	height: auto;
	display: block;
}
@media (max-width: 991px) {
	.icl-hdr {
		flex-direction: column;
		text-align: center;
		padding: 15px 0 5px;
		gap: 15px;
	}
	.icl-hdr-logo img {
		max-width: 260px;
		margin: 0 auto;
	}
	.icl-hdr-hero {
		width: 100%;
	}
}

/* ---------- Header Contact Us link (was an inline style) ---------- */
.top-v1-data .icl-contact-link {
	font-size: 14px !important;
	color: #3d71b0;
	position: relative;
	bottom: 2px;
	font-weight: bold;
}

/* ---------- FLAT NAV: tighten padding so all 8 items + the search
     icon fit one row, and reclaim the gap left of Home. ---------- */
@media (min-width: 992px) {
	.header-v4 .navbar-default .navbar-nav.nav-flat > li > a {
		padding-left: 16px;
		padding-right: 16px;
	}
	/* First item (Home): no left divider, but keep normal padding so the
	   blue hover top-border has the same left lead-in as every other cell. */
	.header-v4 .navbar-default .navbar-nav.nav-flat > li:first-child {
		margin-left: 0;
		border-left: none;
	}
}

/* ---------- MOBILE NAV (flat, no submenus) ---------- */
@media (min-width: 992px) {
	.mobile-nav { display: none !important; }
}
@media (max-width: 991px) {
	.mobile-nav {
		list-style: none;
		padding: 0;
		margin: 0;
	}
	.mobile-nav-item {
		border-bottom: 1px solid #eee;
	}
	.mobile-nav-item > a {
		display: block;
		width: 100%;
		padding: 14px 20px;
		font-size: 16px;
		font-weight: 600;
		color: #333;
		text-decoration: none;
		text-align: left;
		background: transparent;
		border: none;
		min-height: 48px;  /* WCAG touch target */
		line-height: 1.4;
	}
	.mobile-nav-item > a:hover {
		background-color: #f8f8f8;
	}
	/* CTA button (Donate) */
	.mobile-nav-cta {
		padding: 15px 20px;
		background-color: #f5f5f5;
	}
	.mobile-nav-cta > a {
		display: block;
		text-align: center;
		color: #fff !important;
		border-radius: 4px;
		padding: 12px 20px;
		font-weight: 700;
		text-decoration: none;
		min-height: 48px;
		line-height: 1.4;
	}
}

/* ============================================================
   DONATE CTA IN THE MAIN NAV - logo red fill, banner yellow ring.
   #ca2027 is the red sampled from the logo; #F5C518 is the banner yellow.

   NOTHING HERE CHANGES THE BOX. No padding, font-size, line-height,
   min-height, width or border-WIDTH is declared - only colors and
   box-shadow, so the cell stays pixel-identical to the other nav items.

   The button spans TWO elements: the <li> supplies the 1px left/right
   divider borders, the <a> supplies the fill and a 2px top border. The
   ring is therefore built from both, uniform 3px per side:
       top    = 2px border-top (already reserved) + 1px inset
       left   = 1px li border-left  + 2px inset
       right  = 1px li border-right + 2px inset
       bottom = 3px inset
   Change one number and you must redo the others.

   The ring is an INSET box-shadow on the <a>, never an outline on the
   <li>: the <a> carries the opaque fill and paints above the <li>, so a
   ring on the <li> gets covered by the fill or clipped at the cell edge.
   And never a border - a 3px border would add 6px and shift the nav.

   Placed AFTER the .mobile-nav-cta block above deliberately; same
   specificity, so source order is what lets it override.
   ============================================================ */
@media (min-width: 992px) {
	.header-v4 .navbar-default .navbar-nav.nav-flat > li.nav-donate > a,
	.header-v4 .navbar-default .navbar-nav.nav-flat > li.nav-donate > a:visited {
		background: #ca2027;
		color: #fff;
		border-top-color: #F5C518;
		box-shadow: inset 0 1px 0 #F5C518, inset 2px 0 0 #F5C518, inset -2px 0 0 #F5C518, inset 0 -3px 0 #F5C518;
	}

	.header-v4 .navbar-default .navbar-nav.nav-flat > li.nav-donate {
		border-left-color: #F5C518;
		border-right-color: #F5C518;
	}

	/* The live hover rule sets color:#333 and a #164988 top bar; on red that
	   bar is 1.60:1 (invisible) and #333 text fails contrast. Darkened fill
	   carries the hover instead; ring stays yellow. */
	.header-v4 .navbar-default .navbar-nav.nav-flat > li.nav-donate > a:hover {
		background: #a81a20;
		color: #fff;
		border-top-color: #F5C518;
	}

	.header-v4 .navbar-default .navbar-nav.nav-flat > li.nav-donate > a:active {
		background: #8e1318;
		color: #fff;
		border-top-color: #F5C518;
	}

	/* If this item ever gets .active, the live rule forces color:#333
	   !important, which is 4.0:1 on red and fails. */
	.header-v4 .navbar-default .navbar-nav.nav-flat > li.nav-donate.active > a,
	.header-v4 .navbar-default .navbar-nav.nav-flat > li.nav-donate.active > a:hover,
	.header-v4 .navbar-default .navbar-nav.nav-flat > li.nav-donate.active > a:focus {
		background: #ca2027;
		color: #fff !important;
		border-top-color: #F5C518;
	}
}

/* Mobile CTA: the <a> IS the button here and has no top border, so one
   uniform 3px inset ring. border-radius:4px and the 48px min-height
   target are untouched. */
@media (max-width: 991px) {
	.mobile-nav-cta > a {
		background: #ca2027;
		box-shadow: inset 0 0 0 3px #F5C518;
	}

	.mobile-nav-cta > a:hover {
		background: #a81a20;
	}

	.mobile-nav-cta > a:active {
		background: #8e1318;
	}
}


/* ==========================================================================
   COMMENT FORM  (icl2607B)
   The form sits behind a "Leave a comment" button (native <details>, works
   without JavaScript and by keyboard) and uses the same inputs and button as
   the main site. Text fills the container; nothing is narrowed.
   ========================================================================== */
.comments-area { margin-top: 40px; }
.icl-comment-box { margin: 24px 0 0; }
.icl-comment-box > summary {
  list-style: none;
  cursor: pointer;
  margin: 0;
}
.icl-comment-box > summary::-webkit-details-marker { display: none; }
.icl-comment-box > summary::marker { content: ""; }
.icl-comment-box > summary::after { content: " \25BE"; }
.icl-comment-box[open] > summary { margin-bottom: 20px; }
.icl-comment-box[open] > summary::after { content: " \25B4"; }
.icl-comment-box > summary:focus-visible {
  outline: 3px solid #F5C518;
  outline-offset: 3px;
}
#respond .comment-notes,
#respond .logged-in-as { margin: 0 0 16px; }
#respond .comment-form p { margin: 0 0 16px; }
#respond label {
  display: block;
  margin: 0 0 4px;
  font-weight: 600;
}
#respond .required { color: #ca2027; }
#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #767676;
  border-radius: 0;
  background: #fff;
  color: #333;
  font: inherit;
  line-height: 1.4;
}
#respond textarea { min-height: 170px; }
#respond input[type="text"]:focus,
#respond input[type="email"]:focus,
#respond input[type="url"]:focus,
#respond textarea:focus {
  outline: 3px solid #154987;
  outline-offset: 1px;
}
#respond .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
#respond .comment-form-cookies-consent input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
}
#respond .comment-form-cookies-consent label {
  margin: 0;
  font-weight: 400;
}
#respond input[type="submit"].icl-comment-submit {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
}
/* Jetpack's "Notify me" check boxes under the form: not used on this blog. */
#respond .comment-subscription-form,
#respond .comment-form-subscribe { display: none !important; }

/* Buttons: keep the brand look after a mouse click (the site's white focus state is for keyboard focus),
   and make the submit button the same as every other site button. */
.icl-comment-box > summary.icl-action-but:focus:not(:focus-visible),
#respond input[type="submit"].icl-comment-submit {
  background: #154987;
  color: #fff !important;
  border: #ca2027 solid 3px !important;
  padding: 15px;
  line-height: 1.2;
  text-shadow: none;
  box-shadow: none;
}
#respond input[type="submit"].icl-comment-submit {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  cursor: pointer;
}
#respond input[type="submit"].icl-comment-submit:hover,
.icl-comment-box > summary.icl-action-but:hover {
  background: #333;
  color: #fff !important;
}
#respond input[type="submit"].icl-comment-submit:focus-visible {
  outline: 3px solid #F5C518;
  outline-offset: 3px;
}


/* ==========================================================================
   v1.3.1  (2026-10-04)
   ========================================================================== */

/* Sidebar lists (Recent Posts, Archives, Categories): bullets start at the same left edge as the
   headings above them; wrapped lines hang under the text. Overrides the 2026-07-06 margin fix. */
#secondary .widget ul {
  list-style: disc outside !important;
  margin-left: 0 !important;
  padding-left: 1.1em !important;
}
/* "Older posts" text link under the Archives list: not a bullet, about 20px below the last month. */
#secondary .wp-block-archives { margin-bottom: 0 !important; }
#secondary .icl-older-posts {
  margin: 20px 0 0 !important;
  padding: 0;
}

/* Links inside post text are underlined so they do not rely on color alone (underline drops on hover,
   same as the main site). Buttons are excluded. */
.entry-content a:not(.btn):not(.btn-u):not(.wp-block-button__link) { text-decoration: underline; }
.entry-content a:not(.btn):not(.btn-u):not(.wp-block-button__link):hover { text-decoration: none; }

/* Categories are not used on this blog right now: hide the "Posted in ..." link at the end of posts and lists.
   To bring it back, delete this rule. (The Categories sidebar widget is removed in Appearance, Widgets.) */
.entry-footer .cat-links,
.entry-footer .tags-links { display: none !important; }


/* Pages listing several posts (blog index, archives, search), icl2607C 1.4.1: a light grey rule between articles
   (same 1px #ddd as the static site's .icl-section-hr) and about double the space: 31px above the rule, 31px below
   (the 31px below is the entry title's top margin). Single posts have one article, so they are unaffected. */
#main-content .magazine-news > article.post { margin-bottom: 31px; }
#main-content .magazine-news > article.post:last-of-type { margin-bottom: 24px; }
#main-content .magazine-news > article.post + article.post { border-top: 1px solid #ddd; }
