/*
Theme Name: m
Theme URI: https://refueled.net
Author: refueled
Description: A custom WordPress theme converted from the Amdesk static template
Version: 1.0.0
Text Domain: refueled
*/

body {
    font-size: 17px;
}

.blog-post ul {
    margin-bottom: 25px !important;
}

.page-id-9621 .blog-post ul {
    background: #f3f3f3;
    list-style-position: inside;
    margin: 20px 0 25px !important;
    padding: 20px;
}

.blog-post ul li {
    margin-bottom: 5px !important;
}

.main {
    overflow-x: hidden;
    overflow-y: initial;
}

p:only-child,
p:last-child {
	margin-bottom: 0;
}

.blog-post-box p:only-child,
.blog-post-box p:last-child {
	margin: 0;
}

.wp-block-separator,
hr {
	height: 0;
	margin: 24px auto;
	padding-top: 0;
	border: 1px solid #eee;
	border-width: 0 0 1px 0;
	clear: both;
	width: 100%;
}

.blog-post ul, .blog-post ol {
    margin: 20px 0  0 20px;
    padding: 0;
}

.blog-post ul li, .blog-post ol li {
    margin: 0 0 15px;
    padding: 0;
}

.blog-post ul li {
    list-style-type: square;
}

.home-container {
	margin: 0 auto;
	padding: 60px 0;
	max-width: 750px;
}

.home-container .ghostkit-button-wrapper-inner {
	margin-bottom: -10px;
	font-size: 14px;
}

.home-container h2 {
	line-height: 1.2;
	margin: 0 !important;
}

.home-container:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.single-download .edd-submit,
.single-download .btn {
    display: block;
    font-size: 16px !important;
    letter-spacing: 0 !important;
}

.cta .btn {
    margin-top: 30px;
}

.account-title {
    font-size: 20px;
    margin-top: 40px;
}

.vp-portfolio__item-wrap figure,
.portfolio-item-image,
.img-wrap {
    background: #333333 !important;
}


/*--------------------------------------------------------------
Docs
--------------------------------------------------------------*/
.documentation-wrap {
    clear: both;
    display: block;
    padding: 0 1.25rem 2.5rem;
    max-width: 75rem;
    margin: 0 auto;
    overflow: hidden;
    height: 100%;
}

.documentation-wrap a {
    color: #000;
    height: 100%;
}

.docs {
    border: 2px solid #eaeaea;
    border-radius: 0.1875rem;
    color: #000;
    margin-bottom: 1.9157088123%;
    padding: 0 1.25rem;
    transition: all .4s ease-in-out;
}

.docs:hover {
    border: 2px solid #269f92;
    cursor: pointer;
    transition: all .4s ease-in-out;
}

.docs p {
    color: #999;
}

.further-help {
    background: #f7f7f7;
    clear: both;
    padding: 2.5rem 0;
    text-align: center;
}

.further-help .button {
    border-radius: 0.1875rem;
    margin-left: 0.75rem;
}

.further-help p,
.further-help .entry-content {
    color: #999;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
}

/* Toggle icon in menu */
.nav-search {
    position: relative;
    display: inline-block;
}

.search-toggle {
    color: #e4e4e4b6;
    font-size: 18px;
    padding: 8px;
}

.search-toggle:hover {
    color: #ffffff;
    font-size: 18px;
    padding: 8px;
}

/* Full-screen overlay – hidden by default */
.search-overlay {
    position: fixed;
    inset: 0;
    background: #111;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease;
    max-width: 1200px;
    margin: 0 auto;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Tiny close button – uses HTML entity */
.search-close {
    position: absolute;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    z-index: 9999;
}

/* Minimal search bar */
.search-bar {
    position: relative;
    width: 90%;
    max-width: 520px;
}

.search-field {
    width: 100%;
    padding: 14px 60px 14px 20px;
    font-size: 18px;
    background: rgba(255,255,255,.1);
    border: none;
    border-radius: 50px;
    color: #fff;
    backdrop-filter: blur(10px);
}

.search-field::placeholder {
    color: rgba(255,255,255,.7);
}

.search-field:focus {
    outline: none;
    background: rgba(255,255,255,.18);
}

#subscribe-email input:not(button) {
    margin: 15px 0 0;
    padding: 14px;
    border-radius: 3px;
}

#subscribe-submit button {
    padding: 10px 20px !important;
    border-radius: 3px;
}

#subscribe-submit button:hover {
    opacity: .5;
}

.copyright {
    color: #6b6b6b;
    text-align: center;
    font-size: .9rem;
}

.copyright a {
    color: #c4c4c4;
}

.copyright a:hover {
    color: #fff;
}

.header {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.home .header {
    padding: 140px 0 !important;
}

.hero-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

/* If there's an image is present */
.hero-background.has-image {
    background-image: var(--hero-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Optional fallback if no image */
.hero-background.no-image {
    background: linear-gradient(135deg, #1a1a1a, #333);
}

/* Dark overlay - much cleaner than inline div */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* Ensure Jarallax still works */
.jarallax {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Optional: improve text readability */
.home-header {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.733);
}

.home-header h1 {
    font-size: 52px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .home-header h1 {
        font-size: 46px;
    }
}

.connectconnect {
    margin: 0 0 10px !important;
}

.wp-block-social-links {
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-top .nav.nav-align-right {
    margin-left: 15px;
}

.happyforms-form {
    position: relative;
    left: -6px;
}

.nav-logo {
    letter-spacing: 1px;
    z-index: 999999999 !important;
}

.blog-post ul.wp-block-social-links,
.blog-post ul.wp-block-social-links li {
    margin: 0 !important
}

.services-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.services-wrap .service {
  flex: 1 1 calc(50% - 24px); /* 2 columns */
}

/* full width on smaller screens */
@media (max-width: 768px) {
  .services-wrap .service {
    flex: 1 1 100%;
  }
}

.service {
    background: #fff;
	padding: 30px;
}

.aboutservices {
    font-size: 22px;
    line-height: 1.2;
    margin: 20px auto;
    max-width: 60%;
}

.navbar-fullscreen ul {
    text-align: center;
}

.navbar-fullscreen ul li a {
    font-size: 22px !important;
    margin-bottom: 14px !important;
}

.title-date {
    text-align: center;
}