/* =========================================================
   Blog page / Single post / Search results
   Values from Figma "blog" (1372:2186) and "blog_in" (1328:1980), 1920px frames.
   Breakpoints follow responsive.css:
   1800 / 1600 / 1440 / 1200 / 1040 / 992 / 768 / 680 / 580 / 480
   ========================================================= */

.energy-blog {
	--blog-purple: #8576f5;
	--blog-red: #e61a2d;
	--blog-line: #d9d9d9;
	--blog-muted: #a9a6a7;
	--blog-shadow: -1px -1px 20px 5px rgba(0, 0, 0, 0.25);
}

/* Blog page + search results: black page, no footer curve (Figma "blog") */
body.page-template-template-blog,
body.search.energy-blog {
	background-color: #000;
}

body.page-template-template-blog footer,
body.search.energy-blog footer {
	border-radius: 0 !important;
}

/* ---------- Banner (Contact page moving banner) ---------- */
.energy-blog .blog-banner {
	height: 560px;
	padding-top: 170px;
}

.energy-blog .blog-banner:after {
	display: none !important;
}

.energy-blog .blog-banner .custom-container {
	position: relative;
	z-index: 2;
}

.energy-blog .blog-banner h1 {
	text-transform: capitalize;
	margin-bottom: 28px;
}

.energy-blog .blog-banner p {
	max-width: 1100px;
	margin: 0 auto;
	line-height: 1.2;
}

/* wave pinned to the bottom so its fill always meets the next section */
.energy-blog .blog-banner svg#wave {
	z-index: 1;
	bottom: -1px !important;
	height: 300px;
}

.energy-blog .blog-banner #waveFill {
	fill: #000;
}

.energy-blog .single-post-banner #waveFill {
	fill: #fff;
}

/* pull content into the solid part of the wave fill (below its lowest point) */
.energy-blog .blog-banner + section {
	margin-top: -90px;
	z-index: 2;
}

/* ---------- Single post banner: H1 + featured image over the wave ---------- */
.energy-blog .single-post-banner {
	height: auto;
	min-height: 520px;
	padding-top: 200px;
	padding-bottom: 0;
}

.energy-blog .single-post-banner h1 {
	font-size: 45px;
	line-height: 1.2;
	font-weight: 800;
	max-width: 1100px;
	margin: 0 auto 38px;
}

.energy-blog .single-post-banner + section {
	margin-top: 0;
}

.blog-banner-image {
	position: relative;
	z-index: 2;
	max-width: 1303px;
	margin: 0 auto;
	aspect-ratio: 1303 / 478;
	border-radius: 53px;
	overflow: hidden;
}

.blog-banner-image img,
.blog-banner-image video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---------- Listing ---------- */
.blog-listing {
	background-color: #000;
	position: relative;
	padding: 50px 0 110px;
}

.blog-listing .container-custom {
	max-width: 1394px;
}

.blog-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px 40px;
	padding-left: 15px;
	margin-bottom: 33px;
	position: relative;
	z-index: 5;
}

.blog-filter,
.blog-search {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
}

.blog-filter-label {
	font-size: 22px;
	line-height: 35px;
	font-weight: 400;
	color: #fff;
	text-transform: capitalize;
	white-space: nowrap;
	margin: 0 24px 0 0;
}

.blog-cat-dropdown {
	position: relative;
	width: 414px;
	height: 50px;
}

.blog-cat-toggle,
.blog-cat-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	font-family: "Poppins", sans-serif;
	font-size: 20px;
	line-height: 35px;
	font-weight: 400;
	color: #000;
	text-align: left;
	text-transform: capitalize;
	text-decoration: none;
}

.blog-cat-toggle {
	height: 50px;
	padding: 0 5px 0 20px;
	background-color: #fff;
	border: 1px solid var(--blog-line);
	border-radius: 12px;
	cursor: pointer;
	position: relative;
	z-index: 3;
}

.blog-cat-dropdown.is-open .blog-cat-toggle {
	border-radius: 12px 12px 0 0;
	border-bottom-color: transparent;
}

/* arrow-in-circle (Figma Group 121) */
.arrow-circle {
	width: 35px;
    height: 35px;
	border-radius: 50%;
	background-color: var(--blog-line);
	color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* arrow fills ~60% of the circle, as in Figma (Group 121) */
.arrow-circle svg,
.blog-card-more-icon svg {
	width: 62%;
	height: auto;
	display: block;
}

.blog-cat-arrow .arrow-circle {
	transition: transform 0.3s ease;
}

.blog-cat-dropdown.is-open .blog-cat-arrow .arrow-circle {
	transform: rotate(180deg);
}

.blog-cat-list {
	list-style: none;
	margin: 0;
	padding: 6px 0 14px;
	position: absolute;
	top: 49px;
	left: 0;
	right: 0;
	background-color: #fff;
	border: 1px solid var(--blog-line);
	border-top: none;
	border-radius: 0 0 12px 12px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: all 0.25s ease;
	z-index: 2;
	max-height: 70vh;
	overflow-y: auto;
}

.blog-cat-dropdown.is-open .blog-cat-list {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.blog-cat-list a {
	padding: 8px 20px;
	transition: color 0.3s ease;
}

.blog-cat-list a:hover {
	color: var(--blog-red);
}

/* the current item is shown in the toggle */
.blog-cat-list a.is-active {
	display: none;
}

/* search */
.blog-search-field {
	position: relative;
	width: 497px;
}

.blog-search input[type="search"] {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 50px;
	padding: 0 56px 0 15px;
	background-color: #fff;
	border: 1px solid var(--blog-line);
	border-radius: 12px;
	font-family: "Poppins", sans-serif;
	font-size: 20px;
	color: #000;
	-webkit-appearance: none;
	appearance: none;
}

.blog-search input[type="search"]::placeholder {
	color: var(--blog-line);
	text-transform: capitalize;
}

.blog-search input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.blog-search button {
	position: absolute;
	top: 50%;
	right: 5px;
	transform: translateY(-50%);
	border: none;
	background: none;
	padding: 0;
	cursor: pointer;
}

.blog-search button:hover .arrow-circle {
	background-color: var(--blog-red);
	color: #fff;
}

.blog-back-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	color: #fff;
	text-decoration: none;
}

.blog-back-link:hover {
	color: var(--blog-red);
}

.blog-results-count {
	font-size: 18px;
	color: var(--blog-line);
	margin: 0 0 24px 15px;
}

/* ---------- Grid ---------- */
.blog-results {
	position: relative;
	min-height: 200px;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 616px));
	justify-content: space-between;
	gap: 55px 122px;
	transition: opacity 0.3s ease;
}

.blog-listing.is-loading .blog-grid,
.blog-listing.is-loading .blog-pagination-wrap {
	opacity: 0.35;
	pointer-events: none;
}

.blog-loader {
	position: absolute;
	top: 120px;
	left: 50%;
	transform: translateX(-50%);
	color: var(--blog-red);
	display: none;
}

.blog-listing.is-loading .blog-loader {
	display: block;
}

.blog-no-results {
	grid-column: 1 / -1;
	text-align: center;
	font-size: 22px;
	color: #fff;
	padding: 60px 0;
	margin: 0;
}

/* ---------- Card (616 x 811) ---------- */
.blog-card {
	--card-color: #e2fa32;
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 811px;
	height: 100%;
	padding: 48px 52px 12px;
	background-color: #fff;
	border: 2px solid var(--card-color);
	border-radius: 35px;
	box-shadow: var(--blog-shadow);
}

/* border / accent colors repeat in the Figma order */
.blog-grid .blog-card:nth-child(4n+2) {
	--card-color: #2cb59b;
}

.blog-grid .blog-card:nth-child(4n+3) {
	--card-color: #fd7c88;
}

.blog-grid .blog-card:nth-child(4n+4) {
	--card-color: #8576f5;
}

.blog-grid .blog-card:nth-child(6n) {
	--card-color: #2cb59b;
}

.blog-card-media {
	display: block;
	position: relative;
	aspect-ratio: 511 / 358;
	margin: 0 0 0 3px;
	border-radius: 53px;
	overflow: hidden;
	background: linear-gradient(238deg, #8576f5 5.5%, #b54891 23.34%, #ce315f 32.25%, #e61a2d 41.17%, #e61a2d 53%, #8576f5 82.68%);
}

.blog-card-media video,
.blog-card-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-media video,
.blog-card:hover .blog-card-media img {
	transform: scale(1.04);
}

.blog-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding-top: 42px;
}

.blog-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 0 6px;
	height: 73px;
	/* Figma Line 1 / Line 2: both use the card colour */
	border-top: 1px solid var(--card-color);
	border-bottom: 1px solid var(--card-color);
	font-size: 18px;
	line-height: 52px;
	color: #000;
	text-transform: capitalize;
}

.blog-card-title {
	font-size: 25px;
	line-height: 35px;
	font-weight: 600;
	color: #000;
	text-transform: capitalize;
	margin: 19px 0 35px;
}

.blog-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

.blog-card-title a:hover {
	color: var(--blog-red);
}

.blog-card-excerpt {
	font-size: 18px;
	line-height: 35px;
	color: #000;
	text-transform: capitalize;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blog-card-more {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 16px;
	align-self: flex-start;
	padding-top: 10px;
	font-size: 18px;
	line-height: 52px;
	color: #000;
	text-transform: capitalize;
	text-decoration: none;
}

.blog-card-more-icon {
	width: 37px;
	height: 37px;
	border-radius: 50%;
	background-color: #000;
	color: var(--card-color);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}

.blog-card-more:hover {
	color: var(--blog-red);
}

.blog-card-more:hover .blog-card-more-icon {
	transform: translateX(4px);
}

/* ---------- Pagination (Figma Group 158) ---------- */
.blog-pagination {
	margin-top: 78px;
}

/* Figma blog: pagination (y 3267) -> "Leave your details" (y 3374) = 107px */
.blog-listing {
	padding-bottom: 0 !important;
}

.blog-listing + .blog-form-section {
	padding-top: 107px;
}

.blog-pagination ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
}

.blog-pagination .page-numbers {
	width: 32px;
	height: 38px;
	border-radius: 12px;
	border: 1px solid var(--blog-muted);
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 35px;
	color: var(--blog-muted);
	text-decoration: none;
	transition: color 0.3s ease, border-color 0.3s ease;
}

.blog-pagination a.page-numbers:hover,
.blog-pagination .page-numbers.current {
	color: #000;
	border-color: #000;
}

.blog-pagination .page-numbers.dots {
	border-color: transparent;
	background: none;
	color: #fff;
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
	width: auto;
	height: auto;
	border: none;
	background: none;
	margin: 0 8px;
}

/* not clickable at the ends, but looks the same as in the design */
.blog-pagination .page-numbers.is-disabled {
	pointer-events: none;
}

/* Figma: 26.395px light-grey circle with a small dark arrow */
.blog-pagination .page-numbers.prev .arrow-circle,
.blog-pagination .page-numbers.next .arrow-circle {
	width: 26.4px;
	height: 26.4px;
	background-color: var(--blog-line);
	color: #000;
}

.blog-pagination .page-numbers.prev .arrow-circle svg,
.blog-pagination .page-numbers.next .arrow-circle svg {
	width: 58%;
}

.blog-pagination .page-numbers.prev:hover .arrow-circle,
.blog-pagination .page-numbers.next:hover .arrow-circle {
	background-color: var(--blog-red);
	color: #fff;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---------- Single post content ---------- */
.single-post-content {
	background-color: #fff;
	position: relative;
	padding: 23px 0 0;
}

.single-post-inner {
	max-width: 1004px;
	margin: 0 auto;
}

/* Figma blog_in > Group 143: both lines #8576F5 */
.single-post-meta {
	max-width: 997px;
	margin: 0 auto;
	border-top: 1px solid var(--blog-purple);
	border-bottom: 1px solid var(--blog-purple);
	color: var(--blog-purple);
}

.single-post-text {
	font-size: 18px;
	line-height: 35px;
	color: #000;
	text-transform: capitalize;
	padding-top: 35px;
}

.single-post-text p {
	margin: 0 0 35px;
}

.single-post-text > p:first-child {
	font-weight: 500;
}

.energy-blog .single-post-text h2,
.energy-blog .single-post-text h3,
.energy-blog .single-post-text h4,
.energy-blog .single-post-text h5,
.energy-blog .single-post-text h6 {
	font-size: 25px !important;
	line-height: 35px !important;
	font-weight: 800;
	text-align: left;
	text-transform: capitalize;
	color: #000;
	padding: 0 !important;
	margin: 0 0 35px !important;
}

.single-post-text a {
	color: var(--blog-red);
}

.single-post-text strong,
.single-post-text b {
	font-weight: 700;
}

.single-post-text ul,
.single-post-text ol {
	padding-left: 24px;
	margin-bottom: 35px;
}

.single-post-text ul {
	list-style: disc;
}

.single-post-text ol {
	list-style: decimal;
}

.single-post-text li {
	font-size: inherit !important;
	line-height: inherit !important;
	color: inherit !important;
}

.single-post-text img,
.single-post-text video,
.single-post-text iframe {
	max-width: 100%;
	height: auto;
	border-radius: 35px;
}

.single-post-text iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
}

.single-post-text blockquote {
	margin: 0 0 35px;
	padding-left: 24px;
	border-left: 3px solid var(--blog-purple);
	font-weight: 500;
}

/* share (Figma Group 144 / 145) */
.single-post-share {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 997px;
	margin: 22px auto 0;
}

.single-post-share ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 73px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	border-top: 1px solid var(--blog-purple);
	border-bottom: 1px solid var(--blog-purple);
}

.single-post-share ul a,
.single-post-share ul button {
	width: 28px;
	height: 28px;
	border: none;
	border-radius: 50%;
	background: none;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.single-post-share ul svg {
	width: auto;
	max-width: 24px;
	height: 16px;
}

.single-post-share ul a:hover,
.single-post-share ul button:hover {
	opacity: 0.6;
	transform: translateY(-2px);
}

.single-post-share button.is-copied:after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	background-color: #000;
	color: #fff;
	font-size: 12px;
	line-height: 1;
	padding: 6px 10px;
	border-radius: 6px;
	white-space: nowrap;
}

.single-back-link {
	margin-top: 36px;
	font-size: 19px;
	line-height: normal;
	font-weight: 600;
	color: #000;
	text-decoration: underline;
	text-underline-offset: 4px;
	transition: color 0.3s ease;
}

.single-back-link:hover {
	color: var(--blog-red);
}

/* ---------- More articles ---------- */
.related-posts {
	background-color: #fff;
	padding: 114px 0 100px;
	overflow: hidden;
}

.related-posts h2 {
	font-size: 50px;
	line-height: normal;
	font-weight: 800;
	text-align: center;
	text-transform: none;
	color: #000;
	margin: 0 0 27px; /* + 20px extra slider padding = Figma 47px */
}

.related-swiper {
	--rs-w: 616px;
	--rs-gap: 42px;
	overflow: visible;
	/* room for the card shadow (-1px -1px 20px 5px) so it isn't clipped by .related-posts */
	padding: 30px 0;
}

.related-swiper .swiper-slide {
	width: var(--rs-w);
	height: auto;
}

/* Figma: the gap between two cards sits on the page centre (cards at x=323 / 981 of 1920) */
.related-swiper .swiper-wrapper {
	margin-left: calc((var(--rs-w) + var(--rs-gap)) / -2);
}

.related-swiper .blog-card {
	--card-color: #8576f5;
}

.related-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 40px;
}

.related-nav button {
	border: none;
	background: none;
	padding: 0;
	cursor: pointer;
}

.related-nav button .arrow-circle {
	width: 37px;
	height: 37px;
}

.related-nav button:hover .arrow-circle {
	background-color: var(--blog-red);
	color: #fff;
}

.related-nav button.swiper-button-disabled {
	opacity: 0.3;
	pointer-events: none;
}

.related-nav .swiper-button-lock {
	display: none;
}

/* arrows + dot pagination are not in the design (slider is swipe/drag) */
.related-nav,
.related-pagination {
	display: none !important;
}

/* Figma blog_in: 100px from slider cards (y 3473) to "Leave your details" (y 3573) */
.related-posts {
	padding-bottom: 0 !important;
}

.related-posts + .blog-form-section {
	padding-top: 70px; /* + 30px slider padding = 100px */
}

.related-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background-color: #000;
	opacity: 0.2;
	margin: 0 !important;
}

.related-pagination .swiper-pagination-bullet-active {
	background-color: var(--blog-purple);
	opacity: 1;
}

/* ---------- "Leave your details" form (Figma Group 163 / 148) ---------- */
.blog-form-section {
	position: relative;
	padding: 100px 0 80px;
	background-color: #000;
	color: #fff;
}

.blog-form-section.is-light {
	background-color: #fff;
	color: #000;
}

.blog-form-section .container-custom {
	max-width: 1511px;
}

.blog-form-inner {
	display: grid;
	grid-template-columns: minmax(0, 799px) minmax(0, 683px);
	justify-content: space-between;
	gap: 40px;
	align-items: start;
}

.blog-form-title {
	color: inherit;
	text-align: left;
	text-transform: capitalize;
	margin: 0;
}

.blog-form-title .title-main {
	display: block;
	font-size: 75px;
	line-height: 112px;
	font-weight: 800;
}

.blog-form-title .title-sub {
	display: block;
	font-size: 39px;
	line-height: 66px;
	font-weight: 600;
}

.blog-form-badge {
	margin-top: 10px;
	margin-left: -6px;
}

.blog-form-badge img {
	width: 124px;
	height: auto;
	display: block;
}

.blog-form-section .cotact-form {
	max-width: 100%;
	padding-top: 31px;
}

.blog-form-section .fieldsWrap {
	gap: 21px;
	margin-bottom: 18px;
	color: inherit;
}

.blog-form-section .fieldWrap {
	flex: 1;
	min-width: 0;
}

.blog-form-section .fieldWrap label {
	font-size: 18px;
	line-height: 35px;
	color: inherit;
	padding-left: 14px;
	text-transform: capitalize;
}

.blog-form-section input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.blog-form-section textarea {
	width: 100%;
	height: 50px;
	border-radius: 12px;
	border: 1px solid #fff;
	background-color: #fff;
	font-family: "Poppins", sans-serif;
	font-size: 18px;
	color: #000;
	padding: 6px 14px;
}

.blog-form-section.is-light input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.blog-form-section.is-light textarea {
	border-color: var(--blog-line);
}

.blog-form-section textarea {
	display: block;
	resize: vertical;
	min-height: 50px;
	line-height: 36px;
}

.blog-form-section .blog-form-submit {
	display: flex;
	justify-content: flex-end;
}

.blog-form-section input.contact-submit {
	width: 100%;
	max-width: 364px;
	height: 49px;
	margin: 42px 0 0 auto;
	border-radius: 12px;
	font-size: 20px;
	font-weight: 700;
	background-color: var(--blog-red);
}

.blog-form-section.is-light input.contact-submit:hover {
	background-color: #000;
}

.blog-form-section .wpcf7-response-output {
	color: inherit;
}

.page-template-template-blog .wpcf7 form.sent .wpcf7-response-output,
.page-template-template-blog .wpcf7 form.invalid .wpcf7-response-output, 
.page-template-template-blog .wpcf7 form.unaccepted .wpcf7-response-output, 
.page-template-template-blog .wpcf7 form.payment-required .wpcf7-response-output{
	padding-left: 0;
	margin-left: 0;
}

/* =========================================================
   Responsive
   ========================================================= */
/* Desktop scaling follows the theme's responsive.css steps:
   1800 (h1 95), 1600 (h1 75 / body 16 / container 1332), 1440 (h1 50 / banner p 25), 1200 */
@media (max-width: 1800px) {
	.blog-listing .container-custom {
		max-width: 1320px;
	}

	.blog-grid {
		gap: 50px 100px;
	}

	.blog-card {
		padding: 44px 48px 12px;
	}

	.blog-card-title {
		font-size: 23px;
		line-height: 33px;
	}

	.blog-card-excerpt,
	.blog-card-meta,
	.blog-card-more {
		font-size: 17px;
	}

	.blog-card-excerpt {
		line-height: 32px;
	}

	.energy-blog .single-post-banner h1 {
		font-size: 42px;
	}

	.blog-form-title .title-main {
		font-size: 68px;
		line-height: 100px;
	}

	.blog-form-title .title-sub {
		font-size: 36px;
		line-height: 58px;
	}
}

@media (max-width: 1600px) {
	/* banner (theme: header logo 80px, h1 75px, banner p 30px) */
	.energy-blog .blog-banner {
		height: 520px;
		padding-top: 150px;
	}

	.energy-blog .single-post-banner {
		height: auto;
		padding-top: 160px;
	}

	.energy-blog .single-post-banner h1 {
		font-size: 38px;
		margin-bottom: 32px;
	}

	.blog-banner-image {
		max-width: 920px;
		border-radius: 42px;
	}

	/* toolbar */
	.blog-listing .container-custom {
		max-width: 1240px;
	}

	.blog-toolbar {
		padding-left: 10px;
	}

	.blog-filter-label {
		font-size: 19px;
		margin-right: 18px;
	}

	.blog-cat-dropdown {
		width: 340px;
		height: 44px;
	}

	.blog-cat-toggle,
	.blog-search input[type="search"] {
		height: 44px;
	}

	.blog-cat-list {
		top: 43px;
	}

	.blog-cat-toggle,
	.blog-cat-list a,
	.blog-search input[type="search"] {
		font-size: 17px;
	}

	.blog-search-field {
		width: 420px;
	}

	.arrow-circle {
		width: 32px;
		height: 32px;
	}

	/* cards */
	.blog-grid {
		gap: 45px 80px;
	}

	.blog-card {
		min-height: 0;
		padding: 38px 42px 12px;
		border-radius: 32px;
	}

	.blog-card-media {
		border-radius: 44px;
	}

	.blog-card-body {
		padding-top: 32px;
	}

	.blog-card-meta {
		height: 62px;
		font-size: 16px;
		line-height: 44px;
	}

	.blog-card-title {
		font-size: 21px;
		line-height: 31px;
		margin: 16px 0 24px;
	}

	.blog-card-excerpt {
		font-size: 16px;
		line-height: 29px;
	}

	.blog-card-more {
		font-size: 16px;
		line-height: 46px;
		gap: 14px;
	}

	.blog-card-more-icon {
		width: 33px;
		height: 33px;
	}

	.blog-pagination {
		margin-top: 60px;
	}

	/* form (theme contact form at 1600: label 16px, submit 306 x 40) */
	/* align the form with the card grid (same container + same 2 columns) */
	.blog-form-section .container-custom {
		max-width: 1240px;
	}

	.blog-form-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 40px 80px;
	}

	.blog-form-title .title-main {
		font-size: 56px;
		line-height: 80px;
	}

	.blog-form-title .title-sub {
		font-size: 30px;
		line-height: 46px;
	}

	.blog-form-badge img {
		width: 110px;
	}

	.blog-form-section .fieldWrap label {
		font-size: 16px;
		line-height: 32px;
	}

	.blog-form-section input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
	.blog-form-section textarea {
		height: 44px;
		min-height: 44px;
		font-size: 16px;
	}

	.blog-form-section .fieldsWrap {
		margin-bottom: 14px;
	}

	.blog-form-section input.contact-submit {
		max-width: 306px;
		height: 40px;
		font-size: 18px;
		margin-top: 34px;
	}

	.blog-listing + .blog-form-section {
		padding-top: 90px;
	}

	.related-posts + .blog-form-section {
		padding-top: 60px;
	}

	/* single post */
	.single-post-inner,
	.single-post-meta,
	.single-post-share {
		max-width: 900px;
	}

	.single-post-meta {
		height: 62px;
		font-size: 16px;
		line-height: 44px;
	}

	.single-post-text {
		font-size: 16px;
		line-height: 31px;
		padding-top: 31px;
	}

	.single-post-text p,
	.energy-blog .single-post-text h2,
	.energy-blog .single-post-text h3,
	.energy-blog .single-post-text h4 {
		margin-bottom: 31px !important;
	}

	.energy-blog .single-post-text h2,
	.energy-blog .single-post-text h3,
	.energy-blog .single-post-text h4,
	.energy-blog .single-post-text h5,
	.energy-blog .single-post-text h6 {
		font-size: 22px !important;
		line-height: 31px !important;
	}

	.single-post-share ul {
		height: 62px;
	}

	.single-back-link {
		font-size: 17px;
	}

	.related-posts {
		padding-top: 90px;
	}

	.related-posts h2 {
		font-size: 42px;
		margin-bottom: 20px;
	}

	.related-swiper {
		--rs-w: 440px;
	}
}

@media (max-width: 1440px) {
	/* banner (theme: h1 50px, banner p 25px, padding-top 130px) */
	.energy-blog .blog-banner {
		height: 470px;
		padding-top: 130px;
	}

	.energy-blog .single-post-banner {
		height: auto;
		padding-top: 140px;
	}

	.energy-blog .single-post-banner h1 {
		font-size: 34px;
		margin-bottom: 28px;
	}

	.blog-banner-image {
		max-width: 840px;
		border-radius: 38px;
	}

	/* toolbar */
	.blog-listing .container-custom,
	.blog-form-section .container-custom {
		max-width: 1120px;
	}

	.blog-form-inner {
		gap: 40px 60px;
	}

	.blog-filter-label {
		font-size: 17px;
		margin-right: 14px;
	}

	.blog-cat-dropdown {
		width: 300px;
		height: 42px;
	}

	.blog-cat-toggle,
	.blog-search input[type="search"] {
		height: 42px;
	}

	.blog-cat-list {
		top: 41px;
	}

	.blog-cat-toggle,
	.blog-cat-list a,
	.blog-search input[type="search"] {
		font-size: 16px;
	}

	.blog-search-field {
		width: 360px;
	}

	.arrow-circle {
		width: 30px;
		height: 30px;
	}

	/* cards */
	.blog-grid {
		gap: 40px 60px;
	}

	.blog-card {
		padding: 32px 34px 10px;
		border-radius: 28px;
	}

	.blog-card-media {
		border-radius: 38px;
	}

	.blog-card-body {
		padding-top: 26px;
	}

	.blog-card-meta {
		height: 56px;
		font-size: 15px;
		line-height: 40px;
	}

	.blog-card-title {
		font-size: 19px;
		line-height: 28px;
		margin: 14px 0 20px;
	}

	.blog-card-excerpt {
		font-size: 15px;
		line-height: 27px;
	}

	.blog-card-more {
		font-size: 15px;
		line-height: 42px;
		gap: 12px;
	}

	.blog-card-more-icon {
		width: 30px;
		height: 30px;
	}

	.blog-pagination {
		margin-top: 50px;
	}

	/* form */
	.blog-form-title .title-main {
		font-size: 46px;
		line-height: 64px;
	}

	.blog-form-title .title-sub {
		font-size: 25px;
		line-height: 38px;
	}

	.blog-form-badge img {
		width: 100px;
	}

	.blog-form-section .fieldWrap label {
		font-size: 15px;
		line-height: 30px;
	}

	.blog-form-section input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
	.blog-form-section textarea {
		height: 42px;
		min-height: 42px;
		font-size: 15px;
	}

	.blog-form-section input.contact-submit {
		max-width: 280px;
		height: 40px;
		font-size: 17px;
		margin-top: 28px;
	}

	.blog-listing + .blog-form-section {
		padding-top: 80px;
	}

	.related-posts + .blog-form-section {
		padding-top: 50px;
	}

	/* single post */
	.single-post-inner,
	.single-post-meta,
	.single-post-share {
		max-width: 820px;
	}

	.single-post-meta {
		height: 56px;
		font-size: 15px;
		line-height: 40px;
	}

	.single-post-text {
		font-size: 15px;
		line-height: 29px;
		padding-top: 29px;
	}

	.single-post-text p,
	.energy-blog .single-post-text h2,
	.energy-blog .single-post-text h3,
	.energy-blog .single-post-text h4 {
		margin-bottom: 29px !important;
	}

	.energy-blog .single-post-text h2,
	.energy-blog .single-post-text h3,
	.energy-blog .single-post-text h4,
	.energy-blog .single-post-text h5,
	.energy-blog .single-post-text h6 {
		font-size: 20px !important;
		line-height: 29px !important;
	}

	.single-post-share ul {
		height: 56px;
	}

	.single-back-link {
		font-size: 16px;
	}

	.related-posts {
		padding-top: 80px;
	}

	.related-posts h2 {
		font-size: 36px;
		margin-bottom: 14px;
	}

	.related-swiper {
		--rs-w: 400px;
		--rs-gap: 30px;
	}
}

@media (max-width: 1200px) {
	.blog-toolbar {
		padding-left: 0;
	}

	.blog-cat-dropdown {
		width: 260px;
	}

	.blog-search-field {
		width: 300px;
	}

	.blog-grid {
		gap: 36px 30px;
	}

	.blog-card {
		padding: 26px 26px 10px;
		border-radius: 26px;
	}

	.blog-card-media {
		border-radius: 32px;
		margin-left: 0;
	}

	.blog-card-body {
		padding-top: 24px;
	}

	.blog-card-meta {
		margin-left: 0;
		height: 52px;
	}

	.blog-card-title {
		font-size: 18px;
		line-height: 27px;
		margin: 14px 0 18px;
	}

	.blog-card-excerpt {
		font-size: 15px;
		line-height: 26px;
	}

	.blog-banner-image {
		max-width: 760px;
		border-radius: 32px;
	}

	.blog-form-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 36px 30px;
	}

	.blog-form-title .title-main {
		font-size: 40px;
		line-height: 56px;
	}

	.blog-form-title .title-sub {
		font-size: 22px;
		line-height: 34px;
	}

	.related-swiper {
		--rs-w: 370px;
	}
}

@media (max-width: 1040px) {
	.energy-blog .blog-banner {
		height: 500px;
		padding-top: 130px;
	}

	.energy-blog .single-post-banner {
		height: auto;
	}

	.energy-blog .blog-banner svg#wave {
		height: 260px;
	}

	.energy-blog .blog-banner + section {
		margin-top: -80px;
	}

	.energy-blog .single-post-banner + section {
		margin-top: 0;
	}

	.energy-blog .single-post-banner h1 {
		font-size: 36px;
		margin-bottom: 30px;
	}

	.blog-toolbar {
		gap: 16px 24px;
	}

	.blog-filter-label {
		font-size: 18px;
		margin-right: 14px;
	}

	.blog-cat-dropdown {
		width: 260px;
	}

	.blog-search-field {
		width: 300px;
	}

	.blog-card-title {
		font-size: 19px;
		line-height: 28px;
	}

	.single-post-text {
		font-size: 17px;
		line-height: 32px;
	}

	.energy-blog .single-post-text h2,
	.energy-blog .single-post-text h3,
	.energy-blog .single-post-text h4 {
		font-size: 23px !important;
		line-height: 32px !important;
	}

	.related-posts {
		padding: 90px 0 80px;
	}

	.related-posts h2 {
		font-size: 38px;
	}

	.related-swiper {
		--rs-w: 340px;
	}
}

@media (max-width: 992px) {
	.blog-listing {
		padding: 40px 0 90px;
	}

	.blog-form-inner {
		grid-template-columns: 1fr;
	}

	.blog-form-section {
		padding: 80px 0 70px;
	}

	.blog-listing + .blog-form-section {
		padding-top: 80px;
	}

	.related-posts + .blog-form-section {
		padding-top: 50px;
	}

	.blog-form-section .cotact-form {
		padding-top: 0;
	}

	.blog-form-title .title-main {
		font-size: 44px;
		line-height: 58px;
	}
}

@media (max-width: 768px) {
	.blog-toolbar {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		margin-bottom: 30px;
	}

	.blog-filter,
	.blog-search {
		justify-content: space-between;
	}

	.blog-filter-label {
		min-width: 150px;
		font-size: 17px;
	}

	.blog-cat-dropdown,
	.blog-search-field {
		width: auto;
		flex: 1;
	}

	.blog-grid {
		grid-template-columns: minmax(0, 616px);
		justify-content: center;
		gap: 30px;
	}

	.blog-pagination {
		margin-top: 50px;
	}

	.energy-blog .single-post-banner h1 {
		font-size: 30px;
	}

	.single-post-text {
		font-size: 16px;
		line-height: 30px;
		padding-top: 28px;
	}

	.single-post-text p,
	.energy-blog .single-post-text h2,
	.energy-blog .single-post-text h3,
	.energy-blog .single-post-text h4 {
		margin-bottom: 28px;
	}

	.energy-blog .single-post-text h2,
	.energy-blog .single-post-text h3,
	.energy-blog .single-post-text h4 {
		font-size: 21px !important;
		line-height: 30px !important;
	}

	.related-posts h2 {
		font-size: 32px;
		margin-bottom: 10px;
	}

	.related-nav button {
		display: none;
	}

	/* one card centred on mobile */
	.related-swiper {
		--rs-gap: 20px;
	}

	.related-swiper .swiper-wrapper {
		margin-left: 0;
	}

	.blog-form-title .title-main {
		font-size: 38px;
		line-height: 50px;
	}

	.blog-form-title .title-sub {
		font-size: 21px;
		line-height: 32px;
	}
}

@media (max-width: 680px) {
	.energy-blog .blog-banner {
		height: 440px;
		padding-top: 120px;
	}

	/* mobile: same 20px side gutter as .container-custom for banner title + video */
	.energy-blog .blog-banner .custom-container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.energy-blog .single-post-banner {
		height: auto;
		min-height: 0;
		padding-top: 110px;
	}

	.energy-blog .blog-banner svg#wave {
		height: 200px;
	}

	.energy-blog .blog-banner + section {
		margin-top: -60px;
	}

	.energy-blog .single-post-banner + section {
		margin-top: 0;
	}

	.energy-blog .single-post-banner h1 {
		font-size: 26px;
		margin-bottom: 22px;
	}

	.blog-banner-image {
		aspect-ratio: 16 / 9;
		border-radius: 24px;
	}

	.blog-listing {
		padding: 30px 0 70px;
	}

	.blog-card {
		padding: 20px 20px 10px;
		border-radius: 24px;
	}

	.blog-card-media {
		border-radius: 28px;
	}

	.blog-card-body {
		padding-top: 22px;
	}

	.blog-card-meta {
		height: 54px;
		font-size: 15px;
	}

	.blog-card-title {
		font-size: 19px;
		line-height: 27px;
		margin: 14px 0 16px;
	}

	.blog-card-excerpt,
	.blog-card-more {
		font-size: 15px;
		line-height: 27px;
	}

	.blog-card-more {
		line-height: 44px;
	}

	.blog-card-more-icon {
		width: 32px;
		height: 32px;
	}

	.blog-cat-toggle,
	.blog-cat-list a,
	.blog-search input[type="search"] {
		font-size: 16px;
	}

	.single-post-content {
		padding-top: 18px;
	}

	.single-post-meta {
		font-size: 15px;
	}

	.single-back-link {
		font-size: 17px;
	}

	.related-posts {
		padding: 70px 0 60px;
	}

	.related-swiper {
		--rs-w: 300px;
	}

	.energy-blog .blog-form-section .fieldsWrap {
		flex-direction: column;
		gap: 14px;
	}

	.blog-form-section input.contact-submit {
		max-width: 100%;
		margin-top: 30px;
	}

	.blog-form-section {
		padding: 60px 0;
	}

	.blog-listing + .blog-form-section {
		padding-top: 60px;
	}

	.related-posts + .blog-form-section {
		padding-top: 30px;
	}
}

@media (max-width: 580px) {
	.blog-filter-label {
		min-width: 130px;
	}

	.related-posts h2 {
		font-size: 28px;
	}

	.blog-form-title .title-main {
		font-size: 32px;
		line-height: 42px;
	}

	.blog-form-title .title-sub {
		font-size: 19px;
		line-height: 28px;
	}
}

@media (max-width: 480px) {
	.blog-filter,
	.blog-search {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}

	.blog-filter-label {
		margin: 0;
	}

	.blog-cat-dropdown,
	.blog-search-field {
		width: 100%;
		flex: none;
	}

	.related-swiper {
		--rs-w: 280px;
	}

	.blog-form-badge img {
		width: 100px;
	}
}
