/*
Theme Name: Advice Child Theme
Theme URI: https://advice.ancorathemes.com/
Description: Advice is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: AncoraThemes
Author URI: https://ancorathemes.com/
Version: 1.18.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: advisor, appointment, online booking, counseling therapy, health, psychologist, psychology, therapy, psychology counseling, psychology theme, life coach, therapist, business
Text Domain: advice
Template: advice
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

/* ===== EmoHealings International — custom styling ===== */

/* Logo sizing in header */
.sc_layouts_logo img,
.custom-logo,
.site-logo img,
.sc_layouts_logo .custom-logo-link img {
	max-height: 86px !important;
	width: auto !important;
}
.sc_layouts_row .sc_layouts_logo { padding-top: 6px; padding-bottom: 6px; }
@media (max-width: 767px){
	.sc_layouts_logo img, .custom-logo { max-height: 58px !important; }
}

/* Smooth anchor scrolling */
html { scroll-behavior: smooth; }

/* Remove the theme's default top spacing above page content so the Elementor
   hero/header band sits flush under the site header (no empty gap). */
.elementor-template-full-width .page_content_wrap,
.elementor-template-full-width .page_content_wrap > .content_wrap,
.elementor-template-full-width .content_wrap > .content,
.elementor-template-full-width .content > .elementor {
	padding-top: 0 !important;
	margin-top: 0 !important;
}
.elementor-template-full-width .content > .elementor > .elementor-section:first-child,
.elementor-template-full-width .content > .elementor > .elementor-top-section:first-child {
	margin-top: 0 !important;
}

/* ----- Contact Form 7 styling ----- */
.wpcf7 .eh-form-grid{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 22px;
}
@media (max-width: 600px){ .wpcf7 .eh-form-grid{ grid-template-columns: 1fr; } }
.wpcf7 .eh-form-grid .eh-f{ margin: 0 0 14px; }
.wpcf7 label{
	display:block; font-weight:600; font-size:14px; color:#0E2A3B;
	margin-bottom:6px; letter-spacing:.2px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea{
	width:100%; box-sizing:border-box;
	border:1.5px solid #dce5e8; border-radius:9px;
	padding:13px 15px; font-size:15px; color:#21333D;
	background:#fff; transition:border-color .2s, box-shadow .2s; font-family:inherit;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus{
	border-color:#1E8E92; box-shadow:0 0 0 3px rgba(30,142,146,.14); outline:none;
}
.wpcf7 textarea{ min-height:130px; resize:vertical; }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item{ margin:0; }
.wpcf7 .wpcf7-acceptance label{ display:flex; gap:10px; align-items:flex-start; font-weight:400; font-size:13.5px; color:#5A6B75; }
.wpcf7 input[type="submit"]{
	background:#E6B655; color:#0E2A3B; border:none; cursor:pointer;
	padding:15px 38px; border-radius:9px; font-size:15px; font-weight:700;
	letter-spacing:.3px; transition:background .2s, transform .15s; width:auto;
}
.wpcf7 input[type="submit"]:hover{ background:#1E8E92; color:#fff; transform:translateY(-2px); }
.wpcf7-response-output{ border-radius:9px !important; margin:18px 0 0 !important; font-size:14px; }

/* ----- Footer contact widget ----- */
.eh-foot-contact h5{ color:#fff; font-size:18px; margin:0 0 14px; font-weight:700; }
.eh-foot-contact p{ margin:0 0 12px; line-height:1.7; opacity:.85; }
.eh-foot-contact a{ color:inherit; }
.eh-foot-contact a:hover{ color:#E6B655; }

/* Elementor buttons: subtle lift */
.elementor-button{ transition: all .2s ease !important; font-weight:600; }
.elementor-button:hover{ transform: translateY(-2px); box-shadow:0 10px 24px rgba(14,42,59,.18); }

/* Card columns hover lift */
.elementor-widget-wrap > .elementor-element.elementor-widget-icon-box{ transition: transform .25s ease; }

/* Improve icon-box icon circle */
.elementor-widget-icon-box .elementor-icon{ transition: all .25s ease; }

/* ===== Rebrand theme accent (default scheme is purple) -> EmoHealings teal/gold ===== */
/* The theme's default scheme exposes its link/accent via this preset variable */
:root{
	--wp--preset--color--text-link: #1E8E92 !important;
	--wp--preset--color--text-hover: #E6B655 !important;
}
/* Submit button -> brand gold (high specificity to beat var-based theme rule) */
body .wpcf7 form.wpcf7-form input.wpcf7-submit[type="submit"],
body div.wpcf7 input[type="submit"]{
	background: #E6B655 !important;
	background-color: #E6B655 !important;
	color: #0E2A3B !important;
	border-color: #E6B655 !important;
}
body .wpcf7 form.wpcf7-form input.wpcf7-submit[type="submit"]:hover,
body div.wpcf7 input[type="submit"]:hover{
	background: #1E8E92 !important;
	background-color: #1E8E92 !important;
	color: #ffffff !important;
}

.post_content a:not(.theme_button):not(.sc_button),
.sc_layouts_menu_popup a:hover,
.widget a:hover { color: #1E8E92; }
.post_content a:hover:not(.theme_button):not(.sc_button){ color: #E6B655; }

/* Header navigation */
.sc_layouts_menu_nav > li > a:hover,
.sc_layouts_menu_nav > li.current-menu-item > a,
.sc_layouts_menu_nav > li.current_page_item > a,
.sc_layouts_menu_nav > li.current-menu-ancestor > a { color: #1E8E92 !important; }

/* Theme buttons & form submit -> brand gold */
.theme_button,
.sc_button,
.post_item .more-link,
input[type="submit"],
input[type="button"],
button[type="submit"],
.wpcf7 input[type="submit"],
.wpcf7-submit {
	background-color: #E6B655 !important;
	background-image: none !important;
	color: #0E2A3B !important;
	border-color: #E6B655 !important;
	box-shadow: none !important;
}
.theme_button:hover,
.sc_button:hover,
.post_item .more-link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.wpcf7 input[type="submit"]:hover,
.wpcf7-submit:hover {
	background-color: #1E8E92 !important;
	color: #ffffff !important;
	border-color: #1E8E92 !important;
}

/* Footer links */
.footer_wrap a:hover,
.sc_layouts_row_type_compact a:hover { color: #E6B655 !important; }

/* Blog / devotional read-more & post titles links */
.post_item .post_title a:hover { color: #1E8E92; }

/* ===== Gallery: borderless video grid + lightbox ===== */
.eh-video-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
@media (max-width: 1024px){ .eh-video-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .eh-video-grid{ grid-template-columns: 1fr; } }

/* Borderless thumbnail (poster frame, no native chrome) */
.eh-vthumb{
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 14px;
	overflow: hidden;
	cursor: pointer;
	background: #06161f;
	aspect-ratio: 16 / 10;
	box-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.eh-vthumb video{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
	pointer-events: none;
}
.eh-vthumb .eh-play{
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, rgba(10,34,48,.12), rgba(10,34,48,.48));
	transition: background .25s ease;
}
.eh-vthumb:hover .eh-play{ background: linear-gradient(180deg, rgba(10,34,48,.04), rgba(10,34,48,.32)); }
.eh-vthumb .eh-play i{
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(230,182,85,.92);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 20px rgba(0,0,0,.35);
	transition: transform .25s ease;
}
.eh-vthumb:hover .eh-play i{ transform: scale(1.08); }
.eh-vthumb .eh-play svg{ width: 24px; height: 24px; fill: #0E2A3B; margin-left: 3px; }

/* Near-fullscreen dark lightbox */
.eh-modal{
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 4vmin;
	background: rgba(6,16,22,.92);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.eh-modal.open{ display: flex; }
.eh-modal video{
	width: auto;
	height: auto;
	max-width: 92vw;
	max-height: 86vh;
	border: 0;
	border-radius: 12px;
	background: #000;
	box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.eh-modal .eh-close{
	position: absolute;
	top: 18px;
	right: 22px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(255,255,255,.12);
	color: #fff;
	border: 0;
	cursor: pointer;
	font-size: 26px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease, color .2s ease;
}
.eh-modal .eh-close:hover{ background: rgba(230,182,85,.95); color: #0E2A3B; }

/* Soften / blend the native control bar so it isn't stark white */
.eh-modal video::-webkit-media-controls-panel{
	background-image: linear-gradient(transparent, rgba(6,16,22,.55));
}
.eh-modal video::-webkit-media-controls-enclosure{ border-radius: 0 0 12px 12px; }

/* Basic image gallery: rounded corners + subtle hover */
.elementor-widget-image-gallery .gallery-item img{
	border-radius: 12px !important;
	transition: transform .3s ease, box-shadow .3s ease;
}
.elementor-widget-image-gallery .gallery-item img:hover{
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(14,42,59,.22);
}
.elementor-widget-image-gallery .gallery-item{ padding: 0 !important; }
