/*
Theme Name: Biotechnom
Theme URI: https://www.biotechnom.org
Author: Biotechnom Africa Limited
Author URI: https://www.biotechnom.org
Description: Block theme for environmental and biogas-focused organizations: full site editing, patterns, and responsive layouts. Customize content and structure in the Site Editor.
Version: 1.1.2
Requires at least: 6.2
License: GNU General Public License version 2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: biotechnom
Requires PHP: 7.4
Tested up to: 6.8
Tags: blog, news, one-column, two-columns, right-sidebar, block-styles, custom-colors, editor-style, custom-background, custom-menu, featured-images, template-editing, full-site-editing, block-patterns, threaded-comments, wide-blocks, translation-ready
Copyright (c) Biotechnom Africa Limited. Distributed under the GNU GPL.
*/
body {
	font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* Match GreenVista header: top-bar icons + logo size (icons via FA pseudo-elements — avoids Custom HTML block validation errors) */
.gv-header-fa {
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	color: #fff;
	display: flex;
	font-size: 1.1rem;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.gv-header-fa-phone::before,
.gv-header-fa-clock::before {
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	line-height: 1;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
}

.gv-header-fa-phone::before {
	content: "\f2a0";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
}

.gv-header-fa-clock::before {
	content: "\f017";
	font-family: "Font Awesome 6 Free";
	font-weight: 400;
}

.site-main-header figure.wp-block-image .logo,
.site-main-header .logo img,
.site-main-header .wp-block-site-logo .custom-logo,
.site-main-header .wp-block-site-logo img {
	height: 64px;
	width: auto;
}

.site-footer .footer-logo img,
.site-footer .wp-block-site-logo.footer-logo .custom-logo,
.site-footer .wp-block-site-logo.footer-logo img {
	height: auto;
	max-width: 220px;
	width: auto;
}

.wp-block-group.gv-welcome-badge {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 0.75rem;
}

/* GreenVista-style hero (pattern: header-banner) */
.gv-header-banner-wrap {
	position: relative;
}

.gv-hero-slider {
	position: relative;
	min-height: min(72vh, 720px);
	overflow: hidden;
	background: #1a2f14;
}

.gv-hero-slides {
	position: absolute;
	inset: 0;
}

.gv-slide {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	background-size: cover;
	background-position: center;
	opacity: 0;
	/* Crossfade timing is set by assets/js/hero-slider.js for any slide count */
	overflow: hidden;
}

.gv-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(11, 35, 19, 0.72) 0%, rgba(11, 35, 19, 0.35) 45%, rgba(11, 35, 19, 0.2) 100%);
	pointer-events: none;
	z-index: 1;
}

.gv-slide > * {
	position: relative;
	z-index: 2;
}

/* No-JS / before JS: show first slide only */
.gv-hero-slider:not(.gv-hero-js) .gv-slide:first-child {
	opacity: 1;
}

.gv-hero-slider:not(.gv-hero-js) .gv-slide:not(:first-child) {
	opacity: 0;
}

/* Site Editor: stack slides so each is editable (iframe has no hero-slider.js) */
.editor-styles-wrapper .gv-hero-slider {
	min-height: 0;
}

.editor-styles-wrapper .gv-hero-slides {
	position: relative !important;
}

.editor-styles-wrapper .gv-slide {
	position: relative !important;
	inset: auto !important;
	opacity: 1 !important;
	animation: none !important;
	min-height: min(40vh, 360px);
	margin-bottom: 1rem;
}

.editor-styles-wrapper .gv-hero-dots {
	display: none;
}

/* Legacy: single caption wrapper (older header-banner markup) */
.gv-hero-inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: min(72vh, 720px);
	padding: clamp(2rem, 5vw, 4rem) var(--wp--preset--spacing--50, 1.5rem);
	max-width: 1170px;
	margin: 0 auto;
	box-sizing: border-box;
}

.gv-slide-caption-wrap {
	width: 100%;
	max-width: 1170px;
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 4rem) var(--wp--preset--spacing--50, 1.5rem) clamp(3.25rem, 7vw, 4.5rem);
	box-sizing: border-box;
}

.gv-hero-caption,
.gv-slide-caption-wrap .gv-hero-title,
.gv-slide-caption-wrap .gv-hero-sub {
	max-width: 640px;
}

.gv-hero-title {
	font-family: var(--wp--preset--font-family--poppins, "Poppins", sans-serif);
	font-size: clamp(2rem, 5vw, 3.75rem);
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
	margin: 0 0 0.75rem;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.gv-hero-sub {
	font-family: var(--wp--preset--font-family--poppins, "Poppins", sans-serif);
	font-size: clamp(0.95rem, 2vw, 1.1rem);
	color: rgba(255, 255, 255, 0.92);
	margin: 0 0 1.75rem;
	line-height: 1.55;
}

.gv-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.gv-slide .wp-block-button.gv-hero-btn .wp-block-button__link,
a.gv-hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.85rem;
	font-family: var(--wp--preset--font-family--poppins, "Poppins", sans-serif);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 999px;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gv-slide .wp-block-button.gv-hero-btn-primary .wp-block-button__link,
a.gv-hero-btn-primary {
	background: #fff;
	color: #282828;
	border: 2px solid #fff;
}

.gv-slide .wp-block-button.gv-hero-btn-primary .wp-block-button__link:hover,
a.gv-hero-btn-primary:hover {
	background: #e8e8e8;
	border-color: #e8e8e8;
	color: #161616;
}

.gv-slide .wp-block-button.gv-hero-btn-outline .wp-block-button__link,
a.gv-hero-btn-outline {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.85);
}

.gv-slide .wp-block-button.gv-hero-btn-outline .wp-block-button__link:hover,
a.gv-hero-btn-outline:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
}

.gv-hero-dots {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 0.5rem;
}

.gv-hero-dots span {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	/* Dot timing matches slides via hero-slider.js */
}

.wp-block-navigation .wp-block-navigation-item a,
.wp-block-navigation-submenu .wp-block-navigation-item a {
	font-family: var(--wp--preset--font-family--poppins, "Poppins", sans-serif);
}

body.page-template-front .site-main-header {  
	width:100%; 
	z-index:999;
}
.site-main-header{  
	position:relative;
}
.clear{ clear:both; }

/*dropdown menu background color*/
.wp-block-navigation .has-child .wp-block-navigation__submenu-container{ 
	background-color:#ffffff;
}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container li{ 
	padding:5px 0; 
	border-bottom:1px solid #eee !important;
}
.wp-block-navigation__submenu-container.wp-block-navigation-submenu{ 
	padding-top:30px !important
}
.wp-block-navigation__submenu-container.wp-block-navigation-submenu li ul{ 
	padding-top:0 !important; 
	left:100% !important; 
	right:auto !important;
}

.header-navigation.wp-block-navigation{ 
	padding:5px 0 !important;
}


.wp-block-group.header-main-banner{ 
	position:relative;
}
.fse-sections-02{ 
	position:relative !important;
}
.welcome-wrap{ 
	position:relative !important; 
	z-index:9999;
}
.energix_about_small{ 
	margin-top:-360px !important; 
	position:relative; 
	z-index:999;
}
ul.wp-block-social-links.head-social li a{ width:35px; height:35px; border:1px solid #fff; border-radius:100%; text-align:center; vertical-align:middle; display:table-cell;}

.wp-block-columns.bt-4-column-row{ margin-top:-75px; z-index:999;}


/* = Sidebar CSS
----------------------------------------------- */
.st-widgetBX ul.wp-block-latest-posts li{ 
	margin-bottom:20px; 
	min-height:80px;
}
.st-widgetBX ul.wp-block-latest-posts li a.wp-block-latest-posts__post-title{ 
	margin-bottom:5px !important; 
	display:block; 
	line-height:20px;
}

/* = Contact Form 7 CSS
----------------------------------------------- */
.wpcf7{ 
	margin:30px 0 0;padding:0;
}
.wpcf7 input[type="text"], 
.wpcf7 input[type="tel"], 
.wpcf7 input[type="email"]{ 
	width:40%;	
	color:#797979;
	margin-bottom:0;
	border:1px solid #cccccc;
	box-shadow:inset 1px 1px 2px #ccc;
	height:40px;
	padding:0 15px;
}	
.wpcf7 textarea{
	color:#797979;
	margin-bottom:25px;
	border:1px solid #cccccc;
	box-shadow:inset 1px 1px 2px #ccc;
	padding:10px;
	width:60%;
	height:160px;
	font-size:12px;
}
.wpcf7 input[type="submit"]{
	border-radius:40px;	
	cursor:pointer;
	background-color:#60c19f;
	padding:20px 40px;
	color:#ffffff;
	font-weight:600;
	border:none;
	font-size:16px;
	width:auto;	
	text-transform:uppercase;
}
.wpcf7 input[type="submit"]:hover{
	background-color:#101010;
}



/* = Blog page Design CSS
----------------------------------------------- */
ul.blog-list-style{ 
	margin:0; 
	padding:0; 
}
ul.blog-list-style li{ 
	margin-bottom:40px; 	
	display:flow-root; 
	
}

ul.blog-list-style li a.wp-block-post-excerpt__more-link{ 
	padding:10px 20px; 
	border-radius:10px
}

ul.blog-list-style li .blog-thumbnail.wp-block-post-featured-image a,
ul.blog-list-style li .blog-thumbnail.wp-block-post-featured-image img{ 
	height:auto;
	width:auto;
	border-radius:10px;
}

ul.blog-list-style li h3.wp-block-post-title{ 
	display:flex;
}


.wp-block-group.PostStyle-1{ 
	display:flow-root;
}
.wp-block-column.fse-page-layout{
	padding:30px;
	border-radius:5px; 
	display:flow-root; 
	box-shadow:0 0 30px rgb(193 193 193/30%);
}


.wp-block-group.st-widgetBX{
	display:flow-root; 
	padding:10px !important;
	border-radius:15px;
}


/* = Footer CSS
----------------------------------------------- */
.site-footer{ 
	position:relative;
}
.site-footer h3.wp-block-heading{ 
	position:relative; 
}

.site-footer h3.wp-block-heading::after{  
	content: ''; 
	width: 30px; 
	height: 7px; 
	background-image: linear-gradient(90deg, #9cc312 55%, #7a9419 45%) !important; 
	position: absolute; 
	left: 0; 
	top: 0;
}

footer.wp-block-template-part{ 
	margin-block-start:0 !important
}

.Footer-QuickLinks{ 
	list-style:none !important; 
	padding:0 !important;
}
.Footer-QuickLinks li{ 
	list-style:none !important; 
	padding:5px 0 5px 0 !important;
}
.Footer-QuickLinks li a:hover{ 
	text-decoration:none; 
}
.footer-latest-news li{ 
	margin-bottom:10px;
}
.wp-block-social-links.footer-social li{ 
	border-radius:10px;
}
.wp-block-social-links.footer-social li a{ 
	padding:12px;
}
ul.bt-latest-posts{ 
	margin:0; 
	padding:0;
}
ul.bt-latest-posts li{ 
	list-style:none; 
	margin-bottom:15px;
}
ul.bt-latest-posts li .wp-block-latest-posts__featured-image{ 
	margin-top:6px;
}
ul.bt-latest-posts li .wp-block-latest-posts__featured-image img{ 
	border-radius:10px;
}
ul.bt-latest-posts li .wp-block-latest-posts__post-title{ 
	margin-bottom:15px; 
	display:block; 
	line-height:22px;
}
ul.bt-latest-posts li .wp-block-latest-posts__post-title:hover{ 
	color:#8cc73e;
}