/* make room for menu link on mobile #17607800-hc */
@media only screen and (max-width:680px) {
	.site-header-wrapper .site-branding {
		margin-top: 40px;
	}
}

/* make menu and logo sticky on mobile  / 17647126-hc bk */
@media only screen and (max-width:560px) {
	#masthead {
		position: fixed;
		z-index: 9999;
		padding-top: 10px;
		padding-bottom: 4px;
	}
	
	.site-main {
		padding-top: 30px;
	}
	
	#masthead .site-header-wrapper .site-branding {
		margin: 0;
	}
}	
	/* set max logo size on desktop */
	#masthead .site-header-wrapper .site-branding .site-logo img {
		max-width: 180;
	}

/* set max logo size on mobile */
	@media only screen and (max-width: 600px) {
	#masthead .site-header-wrapper .site-branding .site-logo img {
		max-width: 200px;
	}
	}

/* Force smaller logo on desktop */
@media only screen and (min-width: 601px) {
	.site-logo, 
	.site-logo img,
	.site-branding img {
		max-width: 190px !important;
		width: 100% !important;
		height: auto !important;
	}
}

/* change footer text colors  / 17647126-hc bk */
.site-footer h2,
.site-footer a {
	color: #FFF;
}

/* set max width for footer logo / 17647126-hc bk */
#media_image-3 {
	max-width: 210px;
}

/* make footer menu horizontal  / 17647126-hc bk */
.menu-primary-nav-container ul {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	padding-left: 0;
}

/* footer nav lines and spacing  / 17647126-hc bk */
.menu-primary-nav-container a {
	margin-right: 8px;
	padding-right: 8px;
	border-right: 2px solid #FFF;
	font-size: 12px;
}

/* remove existing credit  / 17647126-hc bk */
.site-info a {
	display: none;
}

/* add footer credit  / 17647126-hc bk */
.site-footer .widget-area:after {
	display: block;
	margin-top: 30px;
	color: #FFFFFF;
	white-space: pre-line;
	content: '© 2025 Disruptable Ltd. CRN: 16255343 \A All Rights Reserved.';
}

/* change footer widget title size  / 17647126-hc bk */
.site-footer .widget-area .widget-title {
	color: #FFFFFF;
	font-size: 12px;
}

/* hide footer submenus  / 17647126-hc bk */
.menu-primary-nav-container .sub-menu {
	display: none;
}

/* Style contact us link as a button in footer HC-17647126-AM */
#text-3 a {
	background-color: #242423;
/* Green, choose a new color here: https://www.w3schools.com/colors/colors_picker.asp */
	border: 1px solid white;
	color: white;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 12px;
}

.widget-area #media_image-3 {
	height: 40px;
	width: 200px;
}

/*decrease the size of the copyright text in the footer 17647126-HC*/
.site-footer .widget-area::after {
	font-size: 12px;
}

/* square mobile button - 17668958-HC */
#site-navigation .button, .main-navigation #toggle:focus+#toggle-menu {
	border-radius: 2px;
}

/* square submit button - 17668958-HC */
}

/* square submit button - 17668958-HC */
.has-background-color[class] {
	border-radius: 2px;
}

/* Change logos size - 17668958-HC */
.wp-block-coblocks-logos__row>div {
	padding-top: 0;
	padding-right: 4.9em;
	padding-bottom: 0;
	padding-left: 4.9em;
}


@media only screen and (max-width: 600px) {
	.wp-block-coblocks-logos__row>div {
		padding-top: 0;
		padding-right: 1.25em;
		padding-bottom: 0;
		padding-left: 1.25em;
	}
}

/* Remove padding between main and footer */
.site-main {
	padding-bottom: 0;
}

/* last vertical strike in footer */
.menu-primary-nav-container li:last-child a {
	border-right: none;
}

/* mobile menu tweaks */
label#toggle-menu {
	padding-right: .5px;
}

.main-navigation>div>ul li {
	text-align: right;
}

.site-menu .menu-primary-nav-container a {
	padding-right: unset;
}

#masthead .site-header-wrapper .main-navigation ul li.current-menu-item>a, #masthead .site-header-wrapper .main-navigation ul li a:after {
	border-color: #817e82;
	color: #817e82;
}

a:hover {
	color: #817e82 !important;
}

/* change #primary margin-top | KW-17824253-hc */
#primary {
  margin-top: 0px !important;
}

/* METASLIDER CAPTION TEXT SIZE, BOLD AND OPACITY */

.metaslider .caption {
    font-size: 1.3em !important;
}
div.caption-wrap .caption {
    font-weight: bold;
}

.metaslider .caption-wrap {
    opacity: 1 !important;
}

/* Class for blocks: Reduce margin | JC-18049162-hc */
.reduce-top-margin {
  margin-top: 0px !important;
}
/* Class for blocks: Reduce margin | JC-18049162-hc */
.reduce-bottom-margin {
  margin-bottom: 4px !important;
}

/* Moves entry title above category links in posts on the homepage newspack block */
.wp-block-newspack-blocks-homepage-articles .entry-wrapper {
    display: flex;
    flex-direction: column;
}
.entry-title {
    order: 1;
}
.cat-links {
    order: 2;
}
.entry-meta {
    order: 3;
}

/* Reduces margin between featured image and post title on the homepage newspack block */
.wp-block-newspack-blocks-homepage-articles.image-aligntop .post-thumbnail {
    margin-bottom: 0;
}

/* Reduce header on monile of casestudies */

.page #main {
  padding-top:0
}

/* Less padding below recent posts on home pahe | HC-20900985-JG */

.home .wp-block-newspack-blocks-homepage-articles {
  margin-bottom:0;
}

/* Make Blog Posts block match default button stylle. | HC-20900985-JG */

.wp-block-newspack-blocks-homepage-articles button {
  border-radius:0;
  background:#242423;
}

/* Add padding to post titles so they appear | HC-20900985-JG */
@media (min-width:559px){
.single-post .post {
  padding-top:150px;
}
}

@media (max-width:559px){
.single-post .post {
  padding-top:50px;
}
}

/* Adjust Post Title Text Size On Mobile */

@media (max-width:559px){
.single-post .post .entry-title {
  font-size: 32px
}
}

/* Masthead / 21443159-HC (MI) */

#masthead {
	background: #ffffff;
}

/* Main menu links & sub menu / 21443159-HC (MI) */

.main-navigation a:link, .main-navigation a:visited {
	color: #242423;
}

@media only screen and (min-width: 560px) {
	#site-navigation > div > ul > li > .sub-menu {
		background: #ffffff;
	}
}

/* Mobile menu / 21443159-HC (MI) */

#site-navigation > div {
	background: #ffffff;
	border-top-color: #ffffff;
	box-shadow: none;
}

/* hide mobile menu text  | 21443159-hc bk */
#toggle-menu.button {
  visibility: hidden;
}

/* change mobile menu color - closed  | 21443159-hc bk */
#site-navigation #toggle-menu:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z'/%3E%3C/svg%3E");
}

/* change mobile menu color - open | 21443159-hc bk */
#site-navigation #toggle:checked + #toggle-menu:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'%3E%3C/path%3E%3C/svg%3E");
}

/* change mobile menu sze | 21443159-hc bk */
#site-navigation #toggle-menu:after,
#site-navigation #toggle:checked + #toggle-menu:after {
	visibility: visible;
	background-size: cover;
	padding: 20px;
}

/* add border to bottom of header  | 21443159-hc bk */
.site-header {
  border-bottom: 1px solid #E0E0E0;
}

/* add background to footer  | 21443159-hc bk */
.site-footer {
  background-color: #242423;
}

/* Set foooter widgets in a single column | HC-21443159-JG */
#colophon section {
  width:100%;
  float:none;
}
/* Increase widget area padding on mobile / #21443159-HC JB */

.widget-area:before {
    margin-bottom: 64px;
}
/* Remove Widget nav borders / #21443159-HC JB */
.widget_nav_menu ul, .widget_nav_menu ul li {
    border-top: unset;
    border-bottom: unset;
}
/* Removed the underline from links in the footer / #21443159-HC JB */
.widget-area a {
	text-decoration: unset;
}
/*  hide dots from menu -- 21443159-hc (DOC) */
#site-navigation > div > ul > li:not(:first-child):before {
  display: none;
} 
/*   -- 21443159-hc (DOC) */
@media only screen and (max-width: 560px) {
#masthead {
  padding-right: 0;
  }
}
/*  remove inner border from buttons -- 21443159-hc (DOC) */
button, input[type="submit"] {
  outline-width: 0;  
}
.wp-block-button__link:before {
  border: none;
}

/* hide WP action bar #17607800-hc */
#actionbar {
	display: none;
}

/* set width for single post header and footer for screens < 640px | #21782033-hc eD */
.single-post .hentry .entry-header,
.single-post .hentry .entry-footer {
	width: calc( 560px - 32px);
}

/* set width for single post header and footer for screens > 782px | #21782033-hc eD */
@media screen and (min-width: 782px) {
	.single-post .hentry .entry-header,
	.single-post .hentry .entry-footer {
		width: calc( 782px - 32px);
	}
}
/* set text alignment for single post header and footer | #21782033-hc eD */
.single-post .hentry .entry-header,
.single-post .hentry .entry-footer {
	text-align: left;
}
/* make single post page entry use display flex to reorder items | #21782033-hc eD */
.single-post .hentry {
	display: flex;
	flex-direction: column;
}
/* keep entry title at the top of the post, reduce bottom margin | #21782033-hc eD */
.single-post .hentry .entry-header {
	order: -2;
	margin-bottom: 8px;
}
/* move entry footer to below the header, remove top margin | #21782033-hc eD */
.single-post .hentry .entry-footer {
	order: -1;
	margin-top: 0;
}

/*Remove white line above widget area - 23011894-hc*/
.widget-area:before {
	background-color: #242423;
}

/* adjust style of button in coblocks author block | #23011894-hc eD */
.wp-block-coblocks-author .wp-block-button .wp-block-button__link {
	background: #242423 !important;
	color: #ffffff !important;
	text-transform: uppercase;
}

/* Style the Contact menu item using its visible text */
.main-navigation a[href*="contact"] {
    background-color: #242423; /* Dark background */
    color: #ffffff !important; /* White text */
    padding: 8px 16px; /* Initial padding */
    border-radius: 100px;
    font-weight: bold;
    display: inline-block; /* Makes the link behave like a block-level element */
    text-align: center; /* Center the text horizontally */
    line-height: 1; /* Aligns text vertically within the button */
}

/* Optional: add hover state */
.main-navigation a[href*="contact"]:hover {
    background-color: #7e7e7e;
}

/* Media query for desktop (screens wider than 768px) */
@media (min-width: 768px) {
    /* Increase the padding and size of the button box on desktop */
    .main-navigation a[href*="contact"] {
        padding: 12px 2px; /* Increase padding for a bigger button */
        min-width: 100px; /* Set a minimum width for the button to make it larger */
    }
}
/* Keep the "Contact" button bold */
.main-navigation a[href*="contact"] {
    font-weight: bold; /* Make the "Contact" button bold */
}

/* Remove boldness from all other menu items */
.main-navigation a {
    font-weight: normal; /* Remove bold from all other menu items */
}