/**
 * Theme Name: Octec
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


.btn-white, .editor-styles-wrapper .gspb-buttonbox.btn-white {
	color: var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #007A6E));
	background-color: #FFFFFF;
	font-weight: bold;
	padding: 15px 25px;
	font-size: 16px;
	border-radius: 0;

}

.btn-white:hover {
	background-color: var(--wp--preset--color--palette-color-2, var(--theme-palette-color-2, #4DB6AC));
}


.btn-white-bordered, .editor-styles-wrapper .gspb-buttonbox.btn-white-bordered {
	background-color: #FFFFFF00;
	color: #FFF;
	border: 3px solid #FFF;
	font-weight: bold;
	padding: 12px 22px;
	font-size: 16px;
	border-radius: 0;

}

.btn-white-bordered:hover {
	background-color: #FFF;
	color: var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #007A6E));
	border: 3px solid #FFF;
}

.hero_eyebrow {
	color: var(--wp--preset--color--palette-color-14, var(--theme-palette-color-14, rgb(232, 165, 48)));
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16px;
}

.accent_header {
	color: var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #007A6E));
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
}

.header_description {
	font-size: 18px;
	color: var(--wp--preset--color--palette-color-3, var(--theme-palette-color-3, #757575));
}



/* Homepage */
.home_news_thumbnail {
	display: flex;
}

.home_news_secondary_description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Overrides */

#header div.ct-search-box > form > div > button {
	min-height: 44px;
}

:is(.is-layout-flow,.is-layout-constrained) :where(h1,h2,h3,h4,h5,h6), h1, h2, h3, h4, h5, h6 {
	margin-block-end: calc(var(--has-theme-content-spacing, 1)*(0.05em + 5px));
}

[data-pagination=simple] .page-numbers, [data-pagination=next_prev] .page-numbers {
	border-radius: 0 !important;
}

.hero-section .entry-header.ct-container-narrow {
	max-width: var(--theme-normal-container-max-width) !important;
	padding-left: 0;  
}

/* Inner content: capped width, left-aligned */
.hero-section .entry-header > * {
	max-width: 850px;
	margin-right: auto;
	margin-left: 0;
}

/* Page Icon */

.nav-icon-container {
  display: inline-flex;
  align-items: center;
  width: 50px;
  min-width: 50px;   /* hard floor */
  max-width: 50px;   /* hard ceiling — pins width regardless of flex */
}
.nav-icon-container svg {
  flex: 0 0 auto;   /* don't grow, don't shrink, ignore content-based basis */
}

.nav-icon-container p { 
	display: contents;
	margin-block-start: 0em;
}


/* Logo */

a.site-logo-container {
  transition: opacity 0.3s ease;
}

a.site-logo-container:hover {
	opacity: 0.5;
}
