/**
 * Theme Name: Idaho Webmaster v4 - Child
 * Template: Webmaster-v4
 * Description: The theme to use and edit for making any changes to a specific site.
 * Author: White Whale Web
 * Author URI: https://whitewhaleweb.com/
 * Version: 1.0.1
 * Text Domain: webmaster-bs4

/*--------------------------------------------------------------
# 1. FONT SETUP
--------------------------------------------------------------*/
html,
body {
	background: var(--color-bg)!important;
	background-color: var(--color-bg)!important
}

:root {
  --font-family-base: 'Atkinson Hyperlegible', sans-serif !important;
}

/* Typography scale — consistent vertical rhythm */
h1, h2, h3, h4, h5, h6, p, a, li {
  font-family: var(--font-family-base);
  color: var(--color-text);
}

/* CUSTOM ICONS  */

@font-face {
  font-family: "its-icons";
  src: url("fonts/icomoon.woff") format("woff"),
       url("fonts/icomoon.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

/*--------------------------------------------------------------
# 2. COLOR PALETTE
--------------------------------------------------------------*/

:root {
  --color-sidebar: #F2F1E7;      /* Sidebar / panel backgrounds */
  --color-links: #005C8F;        /* Links / buttons / accents */
  --color-cta: #394600;          /* CTA sections (same as links) */
  --color-icons: #DDE377;        /* Icons / highlights */
  --color-meta: #B1C3F7;         /* Meta / subtext / info boxes */
  --color-misc: #A85061;         /* Decorative / miscellaneous */
  --color-white: #FFFFFF;        /* White / background */
  --color-text: #000000;         /* Primary text color */
	--color2: #394600!important; 
  --color-bg: #FFFEF1;           /* Page background */
	--color-divider: #DDE377;           /* Menu Divider background */
	  --color-text-button: #005C8F;         /* Primary text color */
}


/*--------------------------------------------------------------
# 3. GLOBAL ELEMENTS
--------------------------------------------------------------*/

.page-id-4932 #main, #primary {
	padding-top: 0em;
	background-color: var(--color-bg)!important;
}

#main {
	padding-top: 70px;
	background-color: var(--color-bg)!important;
}

body {
  font-family: var(--font-family-base);
  font-size: 16px;
  line-height: 26px;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-weight: 400;
  margin: 0;
  padding: 0;
}

.event-item, .custom-post-item {
	background-color: var(--color-bg)!important;
}

a {
  color: var(--color-links);
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: var(--color-misc);
  text-decoration: none;
}


/*--------------------------------------------------------------
# 4. HEADINGS
--------------------------------------------------------------*/

/* h1 — Bold, Large, SLIDER 60/65 */
.slider.h1, .h1 {
  font-weight: 700;
  font-size: 3.75em !important; /* 50px ÷ 16 = 3.125em */
  line-height: 1em!important;
  color: var(--color-text);
  margin-bottom: 0.5em;
}

/* h1 — Bold, Large, 60/65 */
h1, .h1 {
  font-weight: 700;
  font-size: 2.5em !important; /* 50px ÷ 16 = 3.125em */
  line-height: 1em!important;
  color: var(--color-text);
  margin-bottom: 0.5em;
}

/* h2 — Bold, 50/60 */
h2, .h2 {
  font-weight: 700;
   font-size: 2.5em !important; /* 40px ÷ 16 = 2.5em */
  line-height: 1em!important;
  color: var(--color-text);
  margin-bottom: 0.6em;
}

/* h3 — Bold, 40/50 */
h3, .h3 {
  font-weight: 700;
 font-size: 1.875em !important; /* 30px ÷ 16 = 1.875em */
 line-height: 1em!important;
  color: var(--color-text);
  margin-bottom: 0.6em;
}

/* h4 — Bold, 30/40 */
h4, .h4 {
  font-weight: 700;
   font-size: 1.25em !important; /* 20px ÷ 16 = 1.25em */
 line-height: 1em!important;
  color: var(--color-text);
  margin-bottom: 0.6em;
}

/* h5 — Bold, 20/30 */
h5, .h5 {
  font-weight: 700;
   font-size: 1.25em !important; /* 20px ÷ 16 = 1.25em */
  line-height: 1em!important;
  color: var(--color-text);
}

/* h6 — Bold, 20/30 */
h6, .h6 {
  font-weight: 700;
  font-size: 1.25em !important; /* 20px ÷ 16 = 1.25em */
  line-height: 1em!important;
  color: var(--color-text);
}


/* =======================================================
   Remove Top Margin for First Heading in Elementor Inner Containers
   ======================================================= */
.elementor-element > h1:first-child,
.elementor-element > h2:first-child,
.elementor-element > h3:first-child,
.elementor-element > h4:first-child,
.elementor-element > h5:first-child,
.elementor-element > h6:first-child {
	margin-top: 0 !important;
}

.broken_link, a.broken_link {
	text-decoration: none!important
}

/*--------------------------------------------------------------
# 5. BODY & INTRO TEXT
--------------------------------------------------------------*/

/* Paragraphs */
p, .body-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: var(--color-text);
}

/* Intro paragraphs — larger lead-in sections */
.intro, .lead {
  font-weight: 400;
  font-size: 24px;
  line-height: 30px;
  color: var(--color-text);
  margin-bottom: 1.2em;
}

/* Meta text — smaller helper or info text */
.meta {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-meta);
}


.custom-top-nav-content li:after {
	top: 8px;
	color: var(--color-divider)!important;
	right: -3px;
}

body:not(.home) h2,
body:not(.home) h3,
body:not(.home) h4,
body:not(.home) h5,
body:not(.home) h6 {
    margin-top: 0em;
}

.single-post #content, .header.entry-header {
    padding-top: 0px;
    background-color: var(--color-bg)!important;
    margin-bottom: 3em;
}

header.entry-header {
	background-color: var(--color-bg)!important;
}

.single-post .post-thumbnail.single-post-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 19 / 6;
    overflow: hidden;
    margin-bottom: 50px;
}

/* Category  */
.category .custom-blog-page>.row>div {
	background-color: var(--color-bg)!important;
}

.category #main {
	background-color: var(--color-bg)!important;
}

.custom-blog-page .row {
	background-color: var(--color-bg)!important;
}

.category header.entry-header {
    gap: 20px;
}

.single-project #content {
	background-color: #fffef1!important;
}

.category .custom-sidebar {
	background: var(--color-sidebar)!important
}

.custom-sidebar header.entry-header {
	background-color: var(--color-sidebar)!important
}

.custom-sidebar .related-articles-widget .blog-post {
	background-color: var(--color-sidebar)!important
}

.custom-sidebar .related-articles-widget .post-details a {
	color: var(--color-text)!important;
}

.custom-sidebar a {
	color: var(--color-links)!important;
}


.archive .custom-sidebar .entry-meta {
	color: var(--color-text)!important;
}

.archive .post-details .btn-secondary {
	padding: 8px 50px!important;
	background: var(--color-links)!important;
	line-height: 1.2em;
}

/* WCAG 1.4.3 – Fix insufficient contrast for entry meta */
.archive .entry-meta {
    color: #000508!important;
}

/* Category Ends */

/* HOMEPAGE */

.page-id-4932 .sidebars {
	display: none!important
}

.breadcrumb {
	margin: 10px 0px;
}

.page-id-4932 nav.breadcrumbs {
	display: none;
}

.page-id-4932 #main {
    padding-top: 0em;
}

/* FOOTER STARTS */

div[role="navigation"] a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 15px;
    background-color: var(--color-divider);
}

/* Contact Block Wrapper */
.contact-block {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-white);
    margin-bottom: 20px;
}

/* Icon Spacing */
.contact-block i {
    margin-right: 6px;
    color: var(--color-icons);
    width: 18px;
    text-align: center;
}

/* Make phone numbers clickable if wrapped in <a> */
.contact-block a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
}

.contact-block a:hover {
    text-decoration: underline;
}

/* Optional: consistent line spacing */
.contact-block br {
    line-height: 1.8;
}

div[role="navigation"] a {
    position: relative;
    color: var(--color-white); /* or adjust based on background */
    text-decoration: underline;
    font-size: 15px;
    padding: 15px;
}

.row-footer-links a {
    color: var(--color-white)!important;;
    margin: 0px;
}

.row-footer-links a:hover {
	color: #DDE377!important
}
a>i:hover, a:hover>i {
    color: #DDE377!important;
    opacity: 1;
    text-decoration: none !important;
}

.row-footer-links {
	background-color: var(--color-cta)!important;
}

#colophon {
    background-image: url("https://mws.stagenot.live/wp-content/uploads/2025/12/footer-back-scaled.png");
    background-size: cover;          /* Make image scale to full width */
    background-position: center;     /* Keep focal point centered */
    background-repeat: no-repeat;
    background-attachment: scroll;   /* Prevent weird mobile behavior */
    padding: 70px 0;                 /* Vertical spacing */
    width: 100%;
	    height: 70%;
    justify-content: center;
    display: flex;
    align-items: end;
	margin-top: 120px;
}

.site-footer {
    background-color: transparent!important;
}

.row-footer-links a:hover {
	font-style: italic!important
}

.footer-navigation a {
	text-decoration: none!important;
}

.footer-navigation h3.widget-title {
	font-size:1em!important;
	color: #fff!important
}

.footer-navigation ul {
	list-style: none!important
}

.footer-navigation a:hover {
	color: #DDE377!important;
	font-style: italic!important;
	text-decoration: underline!important;
}

@media only screen and (max-width: 991px) {
    .footer-navigation {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        text-align: left;
    }
	
	
div[role="navigation"] a {
    position: relative;
    color: var(--color-white); /* or adjust based on background */
    text-decoration: underline;
    font-size: 15px;
    padding: 5px;
}
}

/* Tablet */
@media (max-width: 1024px) {
    #colophon {
        padding: 50px 0;
        background-size: cover;
        background-position: center;
    }
	.swiper-slide-inner {
	padding: 15% !important;
	}
}

@media (max-width: 430px) {
	a.swiper-slide-inner {
	padding: 15% !important;
	}
	.elementor-slide-heading {
		width: 100%!important;
		text-align: center!important;
	}
}

/* Mobile */
@media (max-width: 768px) {
    #colophon {
        padding: 40px 0;
        background-size: cover;      /* Ensures responsive scaling */
        background-position: center;
		height: 40%;
    }
	
	.custom-top-nav-content li:after {
	top: 7px;
	color: var(--color-divider)!important;
	right: 3px;
}
}

/* Small Mobile */
@media (max-width: 480px) {
    #colophon {
        padding: 30px 0;
        background-size: cover;
        background-position: center;
    }
}

/* FOOTER ENDS */


/* ----------------------------------------
   ANNOUNCEMENT BAR – Base Styles
----------------------------------------- */
@media (max-width: 767px) {
    .idaho-announcement-bar .announcement-content {
    max-width: 1295px;
    margin: 0 auto;
    gap: 15px!important;
    display: flex;
    height: auto;
    align-items: center;
    justify-content: space-between;
    display: grid !important;
    align-items: center;
}
	.announcement-icon {
    height: 40px;
    width: 100%;
    margin-right: auto!important;
    display: inline-block;
    margin: 0 auto;
}
}

.idaho-announcement-bar {
	background-color: var(--color-misc)!important;
}

/* ----------------------------------------
   Flex wrapper
----------------------------------------- */

.idaho-bar-inner {
    max-width: 1400px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ----------------------------------------
   Icon
----------------------------------------- */

.announcement-icon {
    height: 40px;
    width: auto;
	margin-right: 40px;
    display: inline-block;
}

/* ----------------------------------------
   Text
----------------------------------------- */

.announcement-text {
    font-weight: 500;
    margin-right: auto;
	font-size: 24px;
}

/* ----------------------------------------
   Button
----------------------------------------- */

.announcement-button {
    background-color: var(--color-white)!important;
    padding: 8px 50px;
    border-radius: 4px;
    color: var(--color-text-button)!important;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: background 0.2s ease-in-out;
}

.announcement-button:hover,
.announcement-button:focus {
    background-color: var(--color-cta)!important;
	color: var(--color-white)!important;
}

/* ----------------------------------------
   Close Button
----------------------------------------- */

.announcement-close {
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.75;
    transition: opacity 0.2s ease-in-out;
}

.announcement-close:hover {
    opacity: 1;
}

/* ----------------------------------------
   TOP positioning
----------------------------------------- */

.idaho-position-top {
    position: relative;
    top: 0;
}

/* ----------------------------------------
   BOTTOM positioning (NOT sticky)
   — Appears wherever you place it in template
----------------------------------------- */

.idaho-position-bottom {
    position: relative;
    bottom: auto;
    left: auto;
	z-index: 0
}

/* ----------------------------------------
   Mobile improvements
----------------------------------------- */

@media (max-width: 600px) {
    .idaho-announcement-bar {
        padding: 30px 16px;
        font-size: 15px;
    }
    .announcement-button {
        padding: 8px 50px;
        font-size: 20px;
    }
}

.idaho-announcement-bar .announcement-close{
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  line-height: 1;
}

/* TOP NAVIGATION */

#top-navigation ul li.active a {
	color: var(--color-white)!important
}

.top-menu a span:hover {
	color: #dde377
}

.top-menu a:hover, .top-menu a span:hover, .top-navigation a:hover, .top-navigation [onclick]:hover {
	color: #dde377
}

.social>i:hover, .social:hover>i, a>.fa-search:hover, a:hover>.fa-search {
	color: #dde377
}

.top-navigation {
	background: var(--color-cta);
}

#mega-menu-wrap-primary, .navbar, #mega-menu-wrap-primary .mega-menu-toggle, #mega-menu-wrap-primary .mega-menu-toggle+#mega-menu-primary {
	background: var(--color-bg);
}

#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner, #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before, #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
	background-color: #000;
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
	color: var(--color-text);
	font-size: 20px;
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu, #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    background: #313c10;
	font-size: 18px;
}

#mega-menu-primary .mega-sub-menu a {
    color: #fff;
    text-decoration: none;
}

#mega-menu-primary .mega-sub-menu a:hover {
	color: #DDE377!important;
	text-decoration: underline;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row {
    width: 100%;
    float: left;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-menu-megamenu ul.mega-sub-menu ul.mega-sub-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
	gap: 10px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover {
	background: #394600!important;
	color: #fff!important;
}

.top-navigation nav {
    display: flex;
    padding-left: 3px;
    align-content: flex-end;
    justify-content: space-around;
    align-items: baseline;
}

.top-navigation .search-toggle:after {
        content: "|";
        color: var(--color-divider)!important;
        margin-left: 10px;
		margin-right: 0px;
        font-size: 1em;
    }

@media only screen and (min-width: 992px) {
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus {
        background-color: white;
        color: #000 !important;
        font-weight: normal;
        text-decoration: none;
        border-color: white;
    }
}
 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus {
        background-color: white;
        color: #fff !important;
        font-weight: normal;
        text-decoration: none;
        border-color: white;
    }

@media (max-width: 768px) {
    .top-navigation .search-toggle:after {
        content: "|";
        color: var(--color-divider)!important;
        margin-left: 10px;
		margin-right: 0px;
        font-size: 1em;
    }
	
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item a.mega-menu-link:before {
		display: contents;
	}
	
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-menu-megamenu ul.mega-sub-menu ul.mega-sub-menu {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 5px;
}
	
	#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu {
    width: 100%;
    max-width: 100vw;
}
	#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item {
    padding-top: 20px;
    padding-bottom: 20px;
}
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
    width: 100% !important;
}
	.topbar-custom-nav .d-none {
    display: block !important;
}
	li#menu-item-3307::after {
  content: "|";
  color: var(--color-divider);
  margin-left: 10px;
  margin-right: -10px;
  font-size: 1em;
  display: inline-block;
  vertical-align: middle;
}
	.topbar-custom-nav {
		gap: 15px;
	}
	.top-menu {
		padding-left: 0px!important;
	}
}

@media only screen and (max-width: 991px) {
    .top-menu, .custom-top-nav-content {
        padding-left: 0px;
    }
}


@media (max-width: 768px) {
    .row {
        flex-direction: row;
        align-items: center;
    }
	.custom-top-nav-content li:after {
    top: 0px;
}
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus {
	color: #000
}
	#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
		line-height: 2.4em!important
	}
}

@media (max-width: 768px) {
    .site-branding .d-flex {
        display: flex !important;
        justify-content: space-around;
        width: 100%;
        flex-direction: column;
        height: 300px;
        align-content: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .site-branding .search-bar-wrapper {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .modal-body {
        background: var(--color-sidebar);
        margin: 5% !important;
        padding: 5% 5% !important;
    }
	
	.section-title {
    font-size: 24px;
    font-weight: normal;
    color: #3C3C3C;
    margin-top: 90px;
    margin-bottom: 30px;
    text-align-last: center;
    display: block;
}
	
	.modal-title {
    font-size: 30px;
    font-weight: bold;
    color: #3C3C3C;
    margin-top: 20px !important;
    text-align-last: center;
}
	.mega-sub-menu a {
		padding-left: 0px!important;
	}
	
	#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
		align-items: center;
	}
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
    color: var(--color-text);
    display: flex;
    justify-content: space-between;
}

.row>.sidebars {
	background: var(--color-sidebar)!important
}

/* Add margin-top to ALL sidebar headings */
.sidebars .wp-block-heading {
    margin-top: 50px;
}

.row>.sidebars a {
	color:#005C8F;
	text-decoration: underline;
}

.sidebars h3.wp-block-heading {
	font-size: 20px!important
}

.sidebars .staff-member p a {
	color: #000!important
}

.sidebars .textwidget.custom-html-widget a {
	color: #000!important
}

.sidebars ul.wp-block-categories-list.wp-block-categories {
    /* display: none; */
    list-style: none !important;
    padding: 0px !important;
}

.sidebars .wp-block-button__link {
	background: var(--color-links)!important;
	margin-top:30px!important
}

.sidebars .wp-block-button__link:hover {
	background: var(--color-text)!important;
	color: white !important;
}

a.wp-block-button__link.wp-element-button {
    color: white !important;
}


/* Remove margin-top from the very first widget's heading */
.sidebars .widget:first-of-type .wp-block-heading {
    margin-top: 0;
}

#content>.row {
	background-color: var(--color-bg) !important;
	row-gap: 100px
}

.page h1.entry-title {
	line-height: 1.2em!important
}

.quote-pages p {
	color: #394600!important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
	background: none;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
	width: 300px
}

/* Contact Sidebar */
.usbwp-staff .staff-member {
    margin-bottom: 20px;
}

/* Sidebar: only the first H2 gets top padding */
.sidebars h2.wp-block-heading:first-of-type {
  padding-top: 30px;
}

.usbwp-staff .staff-member p {
    margin: 0;
    line-height: 1.4;
}

.usbwp-staff .role {
    color: #555;
}

.usbwp-staff a {
    color: #005fa3;
    text-decoration: none;
}
/* Contact Sidebar Ends */
.gform_wrapper .gform_button {
    background: #005C8F !important;
	border: none!important;
	padding: 8px 50px!important;
    color: var(--color7) !important;
    transition: color 0.3s 
ease, background-color 0.3s 
ease !important;
    font-family: 'Atkinson Hyperlegible', sans-serif !important;
    font-size: 20px !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    width: 170px !important;
    height: auto !important;
}

.gform_wrapper .gform_button:hover {
	 background: #000 !important;
	border: none!important;
}

.framed-image {
    display: inline-block;
    padding: 12px;
    background: #D9A778;           /* Frame color */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    overflow: hidden;
}

.framed-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px!important;
	  padding: 0px;
    background: #D9A778;           /* Frame color */
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

/* Tilt Left */
.framed-left {
    transform: rotate(-2deg);
}

/* Tilt Right */
.framed-right {
    transform: rotate(4deg);
}

.elementor-4932 .elementor-element.elementor-element-9537993 .swiper-pagination-bullet {
    --swiper-pagination-bullet-horizontal-gap: 10px;
    --swiper-pagination-bullet-vertical-gap: 10px;
    height: 8px!important;
    width: 50px!important;
    border-radius: 0;
}

.has-mega-menu {
  position: relative;
}

.mega-menu {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100vw;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 999;
}

.has-mega-menu:hover .mega-menu,
.has-mega-menu:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-panel .e-n-menu-title {
	display: flex!important;
	justify-content: space-between!important;
}

.menu-drop {
	width: 100%!important
}
h4.mega-block-title {
  font-size: 18px!important;
  text-align: left!important;
	text-transform: none!important;
	margin-top: 20px!important;
	font-weight: 700!important;
	color: #D7B623!important;
	margin-bottom: 10px!important
}

a.mega-block-title-link {
	color: #D7B623!important
}

a.mega-block-title-link::before {
	display: none!important
}

a.mega-block-title-link:hover {
	color: #D7B623!important;
	text-decoration: underline!important
}

/* Mega menu project links */
.mega-sub-menu a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* number of lines */
  overflow: hidden;
  text-overflow: ellipsis;

  white-space: normal; /* IMPORTANT */
  line-height: 1.35;
  max-width: 100%;
}

/* Mega menu link with left indicator */
.mega-sub-menu a {
  position: relative;
  padding-left: 14px;
}

@media (max-width: 768px) {
  ul.mega-sub-menu {
	  padding: 0px!important
}
	a.mega-menu-link {
		padding:0px 10px!important;
}
	.mega-block-title {
		padding: 0px 0px !important;
	}
	#mega-menu-primary .mega-sub-menu a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    margin: 10px;
		line-height: 1.5;
}
	.mega-sub-menu a::before {
		display: none;
	}
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row {
		padding-bottom: 5px!important;
	}
	
	.menu-stories-menu-container a {
	margin: 0px 0px!important
	}
	
	li#mega-menu-item-nav_menu-2 {
		margin: 0px!important
	}
	
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column-standard {
		padding: 10px!important
	}
	
	#mega-menu-20096-0 a{
		padding: 0px 10px!important
	}

}

.quote-pages {
	margin-bottom: 20px!important;
}

.featured-button span {
	font-size: 20px!important;
	color: #fff!important
}

/* Vertical indicator line */
.mega-sub-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 3px;
  height: calc(100% - 0.7em);
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
}

/* Hover / focus state */
.mega-sub-menu a:hover::before,
.mega-sub-menu a:focus-visible::before {
  background-color: #d2b55b; /* match your gold accent */
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row {
    width: 100%;
    float: left;
    padding-bottom: 30px;
}

/* SIMPLE CUSTOM CSS */

.bg-light { background-color: rgb(98, 132, 42) !important; }
img.homeimg { -ms-transform: rotate(-10deg); -webkit-transform: rotate(-10deg); transform: rotate(-10deg); border: 10px solid #DEB887; border-radius: 8px; margin-bottom: 30px; margin-top: 20px; }
img.homeimg2 { -ms-transform: rotate(10deg); -webkit-transform: rotate(10deg); transform: rotate(10deg); border: 10px solid #DEB887; border-radius: 8px; margin-left: 15px; margin-bottom: 10px; }
.special { color: #6094B7; }

.blockquote { font-size: 1rem;  }

.search-results #content {
    padding-top: 0px;
    background-color: transparent;
    margin-bottom: 3em;
}

img.image.wp-image-19575.attachment-medium.size-medium {
    width: 100%;
}

/* PROJECTS ARCHIVE  */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.project-card {
  border: 1px solid #ddd;
  background: #fff;
}

.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card-content {
  padding: 16px;
}

.project-meta-row,
.project-stat {
  margin-bottom: 8px;
}


.area-tab {
     display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 16px;
  font-weight: 600;
  font-size: 15px;
  color: #0f4c81;

  background-color: #ffffff;
/*   border-radius: 999px; */

  border: 1px solid #d1d5db;

/*   box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05),
    0 4px 10px rgba(0, 0, 0, 0.06); */

  cursor: pointer;
  text-decoration: none;
  transition: 
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}
  padding: 10px 16px;

}

.area-tab:first-child {
  border-left: 1px solid #d1d5db;
}

.area-tab:last-child {
  border-right: 1px solid #d1d5db;
}

.area-tab.active {
  background: #2d629a!important;
  color: #fff!important;
	border-bottom: 1px solid transparent;
}

.area-tab .count {
  margin-left: 6px;
  opacity: 0.8;
}

.swiper-slide-bg {
    background-color: rgba(0, 0, 0, 0.45)!important;
}

.elementor-4932 .elementor-element.elementor-element-9537993 .swiper-slide-inner {
	 background-color: rgba(0, 0, 0, 0.45)!important;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.project-card {
  border: 1px solid #ddd;
  background: #fff;
}

.card-content {
  padding: 12px;
}

.projects-area-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}




.area-tab .count {
  margin-left: 6px;
  opacity: 0.85;
	font-size: 18px !important;
    font-weight: 100 !important;
}

.area-section {
  display: block;
	margin-top: 50px!important;
}

.area-section[hidden] {
  display: none;
}

/* =========================
   Project Cards – Archive
========================= */

.projects-archive .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.projects-archive .project-card {
  background: #ecf6f7;
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
	border-radius:4px;
}

.projects-archive .project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.project-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* =========================
   Image
========================= */

.project-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f4f6;
	border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   Card Body
========================= */

.project-card-body {
  padding: 0px;
}

/* Category (Area) */
.project-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
    text-align: center;
    font-size: 1.25em;
    background: #1f4057;
	padding: 10px;
}

/* Project Type */
.project-type {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 8px;
}

/* Title + Year */
.project-title {
  font-size: 1rem;
  font-weight: 700!important;
  line-height: 1.35;
  color: #000!important;
	
}

.project-title .project-year {
  font-weight: 400;
  color: #000;
	font-size: 1rem;
}

h3.project-title {
	font-size: 1rem!important;
	text-align: center!important;
	margin-bottom: 0px;
	padding: 10px;
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px) {
  .project-card-body {
    padding: 14px;
  }

  .project-title {
    font-size: 0.95rem;
  }
}

/* =========================
   Single Project Layout
========================= */

/* .single-project article {
  background: #fff;
} */

/* =========================
   Header
========================= */

.single-project .project-header {
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 32px;
  padding-bottom: 16px;
}

.single-project .project-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.single-project .project-id {
  font-size: 0.95rem;
  color: #6b7280;
}

/* =========================
   Meta Grid
========================= */

.single-project .project-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.single-project .project-meta-row {
  background: #f9fafb;
  border-left: 4px solid #1e5fd8;
  padding: 12px 14px;
}

.single-project .project-meta-row strong {
  display: block;
  font-size: 0.85rem;
  color: #374151;
  margin-bottom: 4px;
}

.single-project .project-meta-row span {
  font-size: 0.95rem;
  color: #111827;
}

/* =========================
   Section Headings
========================= */

.single-project section {
  margin-bottom: 48px;
}

.single-project section h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e5e7eb;
}

/* =========================
   Metrics / Stats
========================= */

.single-project .project-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.single-project .project-stat {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 12px;
  font-size: 0.95rem;
}

.single-project .project-stat strong {
  display: block;
  font-size: 0.8rem;
  color: #374151;
  margin-bottom: 4px;
}

/* =========================
   Species Presence
========================= */

.single-project .project-species ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.single-project .project-species li {
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
  padding: 10px 12px;
  font-weight: 500;
}

/* =========================
   Funding
========================= */

.single-project .project-funding ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.single-project .project-funding li {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
}

/* =========================
   Narrative
========================= */

.single-project .project-narrative {
  max-width: 100%;
}

.single-project .project-narrative p {
  line-height: 1.6;
  margin-bottom: 16px;
}

/* =========================
   Location
========================= */

.single-project .project-location p {
  font-size: 0.95rem;
  color: #374151;
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px) {

  .single-project .project-title {
    font-size: 1.6rem;
  }
}

/* =========================
   Print
========================= */

@media print {
  .single-project {
    max-width: 100%;
    padding: 0;
  }

  .single-project section {
    page-break-inside: avoid;
  }
}

input[type=search]:focus {
	border: 1px solid #999999!important;
	box-shadow: none!important
}


/* SUCCESS STORIES */

/* === SUCCESS STORIES GRID === */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

h3.story-title {
    margin-top: 10px;
}

.story-card {
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.stories-grid .story-content h2 {
	font-size: 20px!important;
	color: #005C8F
}


.story-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.story-content {
    padding: 20px 0px;
}

.story-content p {
	margin-bottom: 2rem;
	line-height 1.2;
	color: #000!important	
}

.story-card h2,
.story-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
	font-style: normal!important
}

/* === SINGLE STORY === */
.success-story-single .story-body {
    max-width: 820px;
    margin: 0 auto;
}

/* === SUCCESS STORY BLOCKQUOTE === */

blockquote {
	border: none!important
}

.story-quote {
    background: #dfe78a;
    padding: 60px 40px;
    margin: 60px 0;
    text-align: center;
    position: relative;
}

.story-quote::before {
    content: "“";
    display: block;
    font-size: 72px;
    line-height: 1;
    color: #004a7c;
    margin-bottom: 20px;
    font-weight: 700;
}

.story-quote p {
    font-size: 24px;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 30px;
    color: #1f2a1f;
    font-weight: 500;
}

.story-quote strong {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #004a7c;
    font-weight: 700;
}

.blockquote-footer {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: .875em;
    color: #005C8F;
}

@media (max-width: 768px) {
    .story-quote {
        padding: 40px 20px;
    }

    .story-quote p {
        font-size: 1.1rem;
    }
}

/* === GALLERY === */
.story-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 0px;
}

.story-gallery figure {
    margin: 0;
}

.story-gallery img {
    width: 100%;
    border-radius: 4px;
}

.story-gallery figcaption {
    font-size: 0.85rem;
    color: #666;
    margin-top: 6px;
}

/* SUCCESS STORIES ON HOMEPAGE GRID */
/* === SUCCESS STORIES HOME GRID === */
.success-stories-home {
    padding: 20px 0;
}

.success-stories-home .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
}

.row>.sidebars {
	margin-top: 0px!important
}

.sidebars h4.project-sidebar-title {
	margin-top: 20px!important
}

.single-success_story .other-stories-inline {
    margin-top: 50px;
}

.single-success_story #content {
	background-color: transparent!important;
}


.single-success_story, .page-template-archive-success_story #content {
    padding-top: 0px;
    background-color: transparent!important;
    margin-bottom: 3em;
}

.single-success_story .story-featured-image {
	display: none
}

.success-stories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.success-story-card {
    display: flex;
    flex-direction: column;
}

.story-image img {
    width: 100%;
    height: 260px!important;
    object-fit: cover;
    border-radius: 4px!important;
}

.story-meta {
    font-size: 0.85rem;
    color: #004a7c;
    margin-top: 12px;
}

.story-title {
    font-size: 1.1rem;
}

.story-title a {
    color: #005C8F;
	font-size: 20px;
	margin: 0px!important;
    text-decoration: none;
}

.story-excerpt {
    font-size: 0.95rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.story-button {
    margin-top: auto;
    background: #005C8F;
    color: #fff;
    padding: 8px 50px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
	font-size: 20px;
	line-height: 1.2em;
    width: fit-content;
	transition: all 0.2s ease-in-out;
}

.story-button:hover {
	background: #394600;
color: #fff!important
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .success-stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .success-stories-grid {
        grid-template-columns: 1fr;
    }
}

/* === SUCCESS STORIES – REMOVE UNDERLINES === */
.success-stories-archive a,
.success-stories-archive a:hover,
.success-stories-archive a:focus,
.success-stories-archive a:visited {
    text-decoration: none;
}

/* === STORY PART 2 TWO-COLUMN LAYOUT === */
.story-part-two-columns {
    margin-top: 60px;
}

.story-part-two-columns .story-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.story-part-two-columns figure {
    margin: 0;
}

.story-part-two-columns figcaption {
    font-size: 0.85rem;
    color: #666;
    margin-top: 6px;
}

/* Mobile spacing */
@media (max-width: 767px) {
    .story-part-two-columns > div {
        margin-bottom: 40px;
    }
}

.post-type-archive-success_story  #content {
	background: transparent;
}

.post-type-archive #content {
	background: transparent;
}

/* PROJECT LIST */

.projects-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-list-card {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  overflow: hidden;
}

.project-list-link {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 0px;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

/* Mobile: single column */
@media (max-width: 768px) {
  .projects-list {
    grid-template-columns: repeat(1, minmax(0, 1fr))!important;
    gap: 16px;
  }
	.project-meta-line {
		margin-left: 20px;
	}
	h3.project-name {
    padding-bottom: 20px;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
}
	.projects-area-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    flex-direction: column;
}
}

.project-list-image img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0;
  display: block;
}

.project-list-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.project-meta-line {
  font-size: 20px;
    font-weight: 600;
    color: #1f2933;
	border-bottom: 1px solid #e7e7e7;
    display: flex;
	margin-right: 20px;
    justify-content: space-between;
}

.project-year {
  font-weight: 400;
  color: #000;

}

.project-name {
  font-size: 20px;
  font-weight: 100!important;
  margin: 0;
	font-size: 18px!important;
  color: #005389!important;

}

.screen-reader-text {
	position: fixed;
	display: none;
}



/* Hover */
.project-list-card:hover {
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 640px) {
  .project-list-link {
    grid-template-columns: 1fr;
  }

  .project-list-image img {
    height: 180px;
  }
}

.topbar-custom-nav {
  gap: 8px;
	height: 40px;
}

.topbar-custom-nav .nav-link {
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
}

/* EVENTS STYLING - all Events */

.tribe-events-l-container {
	margin: 50px auto!important;
}

.post-type-archive-tribe_events .tribe-events-calendar-latest-past__event-datetime-wrapper {
	margin-bottom: 15px!important;
}

.post-type-archive-tribe_events .tribe-events-calendar-latest-past__event-description p{
	color: #000;
}
.post-type-archive-tribe_events h3.tribe-events-calendar-latest-past__event-title.tribe-common-h6.tribe-common-h4--min-medium {
	margin-bottom: 5px!important
}
img.tribe-events-calendar-list__event-featured-image {
    border-radius: 4px;
}

@media (max-width: 767px) {
    .tribe-common .tribe-common-g-row {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
	    .tribe-events .tribe-events-calendar-list__event-date-tag {
        flex: none;
        position: relative;
        width: 150px;
        height: 150px;
    }
	header.tribe-events-calendar-list__event-header {
    text-align: center;
}
	.tribe-events .tribe-events-calendar-list-nav {
    border-top: 1px solid var(--tec-color-border-default);
    padding: 20px;
}
	.tribe-events .tribe-events-calendar-list__month-separator {
        align-items: center;
        display: flex;
        margin-top: 0;
        padding: 10px;
    }
	.tribe-events .tribe-events-calendar-list__month-separator {
        align-items: center;
        display: flex;
        margin-top: 0;
        padding: 10px;
        align-content: center;
        justify-content: center;
        flex-wrap: nowrap;
        flex-direction: column;
    }
	.tribe-events .tribe-events-header {
		margin: 0px;
	}
	.tribe-events-c-subscribe-dropdown {
    margin: 20px !important;
}
	.tribe-events .tribe-events-calendar-day__event-featured-image-link, .tribe-events .tribe-events-calendar-list__event-featured-image {
    display: block;
    width: 100%;
}
	.swiper-slide-contents.animated.fadeInUp {
   text-align: center !important;
		
}
	.swiper-slide-contents {
		 text-align: center !important;
	}
}
/* Ensure slide is a positioning context */
.swiper-slide {
  position: relative;
  overflow: hidden;
}

/* Gradient overlay */
.swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 3, 6, 0.79) 35%,
    rgba(0, 83, 137, 0) 70%
  );
  z-index: 1;
  pointer-events: none;
}

/* Ensure content is above gradient */
.swiper-slide-inner {
  position: relative;
  z-index: 2;
}

.swiper-slide-contents {
  position: relative;
  z-index: 3;
}

.ITS-subscribe-cta .its-btn-light {
	background: #fff!important;
	padding: 8px 50px;
	border-radius: 4px;
	font-size: 25px;
	line-height: 1.2em;
	font-weight: 700;
	color: #555!important;
}

.ITS-subscribe-cta .its-btn-light:hover {
	background:#005C8F!important;
	color: #fff!important;
}

.ITS-register-cta-inner a.its-btn-light {
	background: #fff!important;
	padding: 8px 50px!important;
	text-align: center;
	font-size: 25px;
	line-height: 1.2em;
	font-weight: 700;
	color: #555!important;
}

.ITS-register-cta-inner a.its-btn-light:hover {
	background:#005C8F!important;
	color: #fff!important;
}

a.its-btn-light {
    background: #005C8F!important;
    padding: 8px 50px;
	color: #fff!important;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
	border-radius: 4px!important;
	transition: all 0.2s ease-in-out;
}

a.its-btn-light:hover {
	background:#394600!important;
	color: #fff!important;
}

/* RAW HTML TABLE */
/* ===== Global Table Base ===== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: Atkinson Hyperlegible, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  color: #111;
  background: #fffef0;
}

/* ===== Header ===== */
thead th {
  background: #A85061;
  color: #ffffff;
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
  position: relative;
  white-space: nowrap;
	font-size: 20px;
}

thead th:last-child {
  border-right: none;
}

/* Sort indicators (visual only) */
/* thead th::after {
  content: "▲\A▼";
  white-space: pre;
  font-size: 9px;
  line-height: 9px;
  color: #0f2d44;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
} */

/* ===== Body Cells ===== */
tbody td {
  padding: 14px;
  border-top: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  vertical-align: middle;
}

tbody td:last-child {
  border-right: none;
}

/* ===== Zebra Striping ===== */
tbody tr:nth-child(odd) {
  background: #fff;
}

tbody tr:nth-child(even) {
  background: #fff;
}

/* ===== First Column (ID look) ===== */
tbody td:first-child {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 600;
}

/* ===== Status Column ===== */
tbody td:nth-child(5) {
  font-weight: 600;
}

tbody td:nth-child(5):contains("Available") {
  color: #1a7f37;
}

tbody td:nth-child(5):contains("Not") {
  color: #8a1c1c;
}

/* ===== Action Links ===== */
tbody td a {
  color: #0b5ed7;
  text-decoration: none;
  font-weight: 500;
}

tbody td a:hover {
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  table {
    font-size: 14px;
  }

  thead th::after {
    display: none;
  }
	.image-caption-centered img {
		height: 250px!important;
	}
	.elementor-element .swiper .elementor-swiper-button-prev {
	left: 0px!important
}
.elementor-element .swiper .elementor-swiper-button-next {
	right: 0px!important
}
}

.elementor-element .swiper .elementor-swiper-button-prev {
	left: 50px!important
}
.elementor-element .swiper .elementor-swiper-button-next {
	right: 50px!important
}

@media (max-width: 1024px) {
.swiper-slide-inner {
	padding: 10%!important;
	}
	.search-blocks {
    width: 100%;
    margin: 0 auto !important;
}
	
	.search-blocks .mb-3 {
    margin-bottom: 1.3rem !important;
}
	.elementor-element .swiper .elementor-swiper-button-prev {
	left: 0px!important
}
.elementor-element .swiper .elementor-swiper-button-next {
	right: 0px!important
}
}

.mega-menu-item-3240 a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 0px;
    height: calc(100% - 0.7em);
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
}

.image-caption-centered {
  margin: 0;
  text-align: center;
}
.image-caption-centered img {
  display: block;
  max-width: 100%;
  height: 150px;
  margin: 0 auto;
}
.image-caption-centered figcaption {
  margin-top: 5px;
  font-style: italic;
}

.tribe-events .tribe-events-header__content-title {
    align-items: center;
    display: flex;
    display: none;
}

ol.breadcrumb {
    margin-bottom: 50px;
}

tribe-events .datepicker .day.active:focus {
	outline: none!important
}

focus {
	outline: none!important
}

/* Show and style the month/year header text */
.datepicker-switch {
  display: inline-block !important;
  visibility: visible !important;
  font-weight: bold !important;
  font-size: 16px !important;
  color: #fff !important;
  background: transparent !important;
  border: none !important;
  padding: 12px 16px !important;
  pointer-events: none !important;
  cursor: default !important;
  text-align: center !important;
}

/* Style the header row containing the month/year */
.datepicker thead tr {
  background-color: #a05566 !important;
}

/* Ensure the header cell is visible */
.datepicker thead tr th[colspan="5"] {
  display: table-cell !important;
  visibility: visible !important;
  color: #fff !important;
  text-align: center !important;
  padding: 8px !important;
}

/* Style navigation arrows */
.prev,
.next {
  color: #fff !important;
  background: transparent !important;
  border: none !important;
  padding: 8px 12px !important;
  cursor: pointer !important;
}

.prev:hover,
.next:hover {
  background-color: rgba(255,255,255,0.1) !important;
  border-radius: 4px !important;
}

.datepicker.datepicker-dropdown.dropdown-menu.datepicker-orient-left.datepicker-orient-bottom {
	padding: 10px;
}

tribe-events .datepicker .prev .tribe-events-c-top-bar__datepicker-nav-icon-svg {
	height: 55px;
    margin-right: auto;
    width: 9px;
}

.datepicker th>button {
	width: 100%;
    height: 55px;
    line-height: 0;
}

.tribe-events .datepicker .next .tribe-events-c-top-bar__datepicker-nav-icon-svg path {
	fill: #fff!important
}

td, tr:focus {
	outline: none!important;
	border: none!important
}
focus {
	outline: none!important;
	border: 0px!important
}


/* Style the day of week row */
.datepicker thead tr:last-child th {
  background-color: #a05566 !important;
  color: #fff !important;
  padding: 8px 18px !important;
  font-weight: normal !important;
  font-size: 12px !important;
}

.tribe-events .datepicker .prev .tribe-events-c-top-bar__datepicker-nav-icon-svg path {
	fill: #fff!important
}

.input-group {
	border: 1px solid #000 !important;
}

.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 0.49)!important;
    background: #fff!important
}


input[type=search]:hover {
	border: 2px solid #DDE377!important;
	box-shadow: 0px 0px 2px 2px #DDE377!important;
}

.error-404.not-found h1 {
	font-size: 150px!important;
	color: #fff!important;
	margin-bottom: 40px;
}
error-404.not-found p {
    margin: 30px 0;
	color: #DDE377!important;
	font-size: 30px!important
}

.error-404.not-found h2 {
	color: #DDE377!important;
	margin-bottom: 60px;
}

.error-404.not-found p {
	color: #fff;
	margin-bottom: 20px;
}
.error-p-initial {
	color: #B1C3F7!important
}

.error-404 .card-text a {
	color: #B1C3F7!important
}

.error-404 .card-body path {
	fill: #DDE377!important
}

.error-404.not-found {
	display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    background: url(/wp-content/uploads/2026/01/404_bg.jpg) no-repeat center center;
    background-size: cover;
    color: #ffffff;
    padding: 0;
    margin: 0;
}

.search-bar-wrapper:focus-within {
    border-color: #DDE377;
    box-shadow: 0 0 0 3px rgba(221, 227, 119, 0.95);
}

.search-bar-wrapper input:focus,
.search-bar-wrapper input:focus-visible {
    outline: none;
}


/* Hover */
.search-bar-wrapper:hover {
    border-color: rgba(221, 227, 119, 0.6);
    box-shadow: 0 0 0 3px rgba(221, 227, 119, 0.95);
}

.search-bar-wrapper:focus-within:not(:hover) {
    border-color: #DDE377;
    box-shadow: 0 0 0 3px rgba(221, 227, 119, 0.95);
}

/* GRAVITY FORMS HOVER */

/* Hover */
.gform_wrapper input:focus:hover {
    border-color: rgba(221, 227, 119, 0.6)!important;
    box-shadow: 0 0 0 3px rgba(221, 227, 119, 0.95)!important;
}

.gform_wrapper input:hover {
	border-color: rgba(221, 227, 119, 0.6)!important;
    box-shadow: 0 0 0 3px rgba(221, 227, 119, 0.95)!important;
}

.gform_wrapper input:focus:focus-within:not(:hover) {
    border-color: #DDE377!important;
    box-shadow: 0 0 0 3px rgba(221, 227, 119, 0.95)!important;
}

input[type=search]:hover, input[type=search]:focus, .wpcf7 input:hover, .wpcf7 select:hover, .wpcf7 textarea:hover, .gform_wrapper input:hover, .gform_wrapper select:hover, .gform_wrapper textarea:hover, .wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus, .gform_wrapper input:focus, .gform_wrapper select:focus, .gform_wrapper textarea:focus {
	border-color: #DDE377!important;
    box-shadow: 0 0 0 3px rgba(221, 227, 119, 0.95)!important;
}

.project-featured-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin: 1.5rem 0 2rem;
}

.project-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
	border-radius: 4px;
}

/* === RANDOM STORY SIDEBAR === */
.story-random-sidebar {
    margin-bottom: 40px;
}

.story-sidebar-heading {
        font-size: 2.5em !important;
    line-height: 1em !important;
    color: #000!important;
    margin-bottom: 0.6em;
	margin-top: 20px!important;
}

.story-sidebar-heading a {
    text-decoration: none;
    color: #000!important;
    font-weight: 700;
	text-decoration: none!important;
}

.project-sidebar-title a {
	color: var(--color-links)!important
}

a.wp-block-button__link.wp-element-button {
	line-height: 1;
	font-size: 20px!important;
	border-radius: 4px!important
}

a.wp-block-button__link.wp-element-button:hover {
	background: #394600!important
}

.story-sidebar-heading a:hover {
	text-decoration: underline!important;
	color: #000!important
}

.story-sidebar-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 12px;
}

.story-sidebar-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.story-sidebar-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: #004a7c;
    text-decoration: none;
}

.story-sidebar-read-more:hover {
    text-decoration: underline;
}

/* === RANDOM CPT SIDEBAR CARD === */
.random-cpt-sidebar,
.project-random-sidebar {
    margin-bottom: 40px;
}

.random-cpt-heading,
.project-sidebar-heading {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.random-cpt-heading a,
.project-sidebar-heading a {
    text-decoration: none;
    color: #004a7c;
    font-weight: 700;
}

.random-cpt-image img,
.project-sidebar-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 12px;
}

.random-cpt-excerpt,
.project-sidebar-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.random-cpt-read-more,
.project-sidebar-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: #004a7c;
    text-decoration: none;
}

.random-cpt-read-more:hover,
.project-sidebar-read-more:hover {
    text-decoration: underline;
}

.project-sidebar-title a {
	text-decoration: none!important;
	line-height: 1.2em!important;
}

.project-sidebar-title a:hover {
	text-decoration: underline!important;
	color: #000!important
}





.vertical-links strong {
	font-weight: normal!important
}

.vertical-links .vertical-link-text {
  font-weight: 100!important;
  text-decoration: none!important;
	color: #005C8F!important
}

.project-intro p a {
	text-decoration: underline!important;
	color: #005C8F!important;
	font-weight: normal!important	
}

.project-intro p a:hover {
	text-decoration: none!important;
}

.vertical-links a:hover {
  text-decoration: none!important;
}

.e-n-accordion-item a {
	font-size: 16px!important;
}

#mini-announcement-bar span.announcement-close:hover {
	color: var(--color-icons) !important;
}

.spaced-link-list a,
.spaced-link-list strong {
  display: block;
  margin-bottom: 12px;
  line-height: 1.5;
}

.spaced-link-list a:last-child,
.spaced-link-list strong:last-child {
  margin-bottom: 0;
}

.spaced-link-list a:hover {
	color: #000!important
}

.links-list a {
	text-decoration: underline!important;
	color: #005C8F!important
}

.links-list ul {
	list-style: none;
	padding-left: 0rem;
	
}

.links-list a:hover {
	font-style: italic!important;
	color: #000!important
}

.page-id-3864 .links-list a:hover {
	color: #000!important
}

.e-n-accordion  a {
	text-decoration: underline!important;
	color: #005C8F!important
}

.e-n-accordion a:hover {
	font-style: italic!important
}

.elementor-slide-heading {
	width: 900px!important;
	width: 100%;
}



@media (max-width: 990px) {
    .elementor-slide-description {
        font-size: 16px;
        width: 600px;
    }
	
	#masthead .logo img {
		width: 100%!important
	}
	
	.site-branding .d-flex {
    display: flex !important;
    justify-content: space-between;
    width: 100%;
    gap: 50px;
    flex-direction: column;
}
	
	.modal-body {
    background: var(--color-sidebar);
    margin: 5% !important;
    padding: 5% 5% !important;
}
	
	.search-bar-wrapper {
    width: 60%;
}
	
	.elementor-slide-heading {
		width: 600px!important;
	}
	.elementor-slide-description h2 {
		font-size: 30px!important
	}
	
	.elementor-slide-heading {
        font-size: 30px;
        text-align: left;
        width: 100% !important;
        display: block;
		
    }
	.idaho-announcement-bar .announcement-content {
		align-content: center!important;
		justify-content: space-around!important;
    flex-direction: column!important;
		height: auto!important;
	}
	
	.announcement-icon {
		margin: 0px!important;
	}
	.custom-top-nav-content li:after {
    top: 0px;
    color: var(--color-divider) !important;
    right: -3px;
}
	#masthead .header-background {
		padding: 120px 0px;
	}
	
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item a.mega-menu-link:before {
		display:contents;
	}
	    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item {
        width: 100%;
        clear: both;
        display: flex;
    }
	#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu {
		width: 100%;
	}
	.mega-sub-menu a {
		padding-left: 0px;
	}
	#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item {
    padding-top: 20px;
    padding-bottom: 20px;
}
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
		width: 100%;
	}
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-menu-megamenu ul.mega-sub-menu ul.mega-sub-menu {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 5px;
}
	.elementor-4932 .elementor-element.elementor-element-667a687 {
		--container-widget-width: 900px!important;
	}
	.mega-sub-menu a::before {
		display: none;
	}
	
	.elementor-element .swiper .elementor-swiper-button-prev {
	left: 10px!important
}
.elementor-element .swiper .elementor-swiper-button-next {
	right: 10px!important
}
	
}
@media (max-width: 768px) {
li#mega-menu-20096-1-0, li#mega-menu-20096-1-1, li#mega-menu-20096-1-2, li#mega-menu-20096-1-3 {
    padding: 0px 10px !important;
	}
	h1.events-template-title, ol.breadcrumb {
    margin: 10px;
}
}

.did-you-know p{
	font-size: 24px;
	color: #fff!important;
	line-height: 1.5em
}

.did-you-know h2.elementor-heading-title.elementor-size-default {
	margin-top: 30px!important;
	margin-bottom: 20px!important;
}

@media (max-width: 430px) {
	#mega-menu-primary .mega-sub-menu a{
		margin: 0px;
	}
}


@media (max-width: 1024px) {
	.announcement-icon{
		margin-right: 0px;
	}
	.idaho-announcement-bar .announcement-content {
    max-width: 100%;
    margin: 0 auto;
    gap: 50px;
    display: flex!important;
    height: auto;
    align-items: center;
    /* justify-content: space-between; */
    width: 100%;
    text-align: center;
		        flex-direction: column;
}
	.announcement-text {
    font-weight: 500;
    margin-right: auto;
    font-size: 24px;
    width: 100%;
}
	
}


.idaho-announcement-bar .announcement-content {
		padding: 20px!important;
	}



/* Replace Elementor Swiper arrows with Font Awesome Caret icons */
.elementor-element .swiper .elementor-swiper-button-prev,
.elementor-element .swiper .elementor-swiper-button-next {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.2s ease;
    z-index: 10;
}


/* Remove default Elementor/SVG icon */
.elementor-element .swiper .elementor-swiper-button-prev i,
.elementor-element .swiper .elementor-swiper-button-next i,
.elementor-element .swiper .elementor-swiper-button-prev svg,
.elementor-element .swiper .elementor-swiper-button-next svg {
    display: none !important;
}

/* Inject Font Awesome caret icons */
.elementor-element .swiper .elementor-swiper-button-prev:before,
.elementor-element .swiper .elementor-swiper-button-next:before {
    font-family: "its-icons";
    font-weight: 900; /* use 900 if you want solid style */
    font-size: 40px;
    line-height: 1;
    color: #fff;
}


/* Caret Left */
.elementor-element .swiper .elementor-swiper-button-prev:before {
    content: "\e909";
}

/* Caret Right */
.elementor-element .swiper .elementor-swiper-button-next:before {
    content: "\e90a";
}

/* Optional positioning */
.elementor-element .swiper .elementor-swiper-button-prev {
    left: 12px;
}

.elementor-element .swiper .elementor-swiper-button-next {
    right: 12px;
}
.nav-link:focus {
	color: #dde377!important;
}
.mega-current-menu-parent a.mega-menu-link:focus {
	color: #000!important
}

.year-section a:hover {
	text-decoration: underline!important;
	color:#000!important
}

.e-n-accordion-item a:hover {
	text-decoration: underline!important;
	color:#000!important
}

.year-section {
            margin-bottom: 40px;
            padding-bottom: 30px;
            border-bottom: 2px solid #e0e0e0;
        }
        .year-section:last-child {
            border-bottom: none;
        }
        .year-section h2 {
            color: #000;
            font-size: 24px!important;
            margin-bottom: 20px;
            padding-bottom: 10px;
        }
        .year-section ul {
            list-style-type: none;
            padding-left: 0;
        }
        .year-section li {
            margin-bottom: 12px;
        }
        .year-section a {
            color: #0066cc;
            text-decoration: none;
        }
       .year-section a:hover {
            text-decoration: underline;
 }

.other-stories-inline h4 {
	font-size: 40px!important
}

.archive p {
	line-height: 1.2rem
}

.elementor-accordion {
    overflow-anchor: none;
}

.projects-hero-intro p.p1  {
	color: #fff!important;
	font-size: 20px!important;
	line-height: 1.2em!important;
	font-family: "Atkinson Hyperlegible", Sans-serif;
}

.page-id-1339 input[type="submit"] {
	display: inline-block;
    background-color: #005C8F;
    color: white;
    font-weight: 600;
    padding: 8px 50px;
    text-align: center;
	border: none!important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.25em;
    transition: background 0.3s ease;
    width: max-content;
	    line-height: 1.3em;
}

.page-id-1339 input[type="submit"]:hover {
	    background: var(--color-cta) !important;
    color: var(--color-white) !important;
    font-style: normal;
    text-decoration: none;
} 

input#pwbox-1339 {
    padding: 5px 44px;
}