/*
Theme Name: Freda Khoo Clinic
Theme URI: https://www.fredakhooclinic.com/
Author: Freda Khoo Clinic
Description: Standalone Gutenberg-ready theme for Freda Khoo Clinic for Women. Avada-style sidebar layout without a parent theme.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: fredakhoo-clinic
Tags: custom-menu, featured-images, full-width-template, block-styles, wide-blocks
*/

/* === Base === */
body.fredakhoo-clinic {
	font-family: "Open Sans", Arial, sans-serif;
	color: #333;
	background: #f9eff9;
	margin: 0;
}

/* .fredakhoo-footer>div {
	padding: 0px !important;
}
 */

.fredakhoo-entry-content.entry-content a:not(.fredakhoo-copyright a) {
    text-decoration: none !important;
    color: #6f2563;
    font-size: 15px;
}

.fredakhoo-footer-columns a {
	text-decoration: none !important;
}

.fredakhoo-clinic .fredakhoo-site {
	background: #f9eff9;
}

.fredakhoo-site {
	display: flex;
	min-height: 100vh;
	max-width: none;
	margin: 0;
}

.fredakhoo-entry-content {
	max-width: none;
	width: 100%;
	padding-top: 20px;
}

.fredakhoo-entry-content > .alignwide,
.fredakhoo-entry-content > .alignfull {
	max-width: none;
}

/* === Sidebar (Avada #side-header, 280px) === */
.fredakhoo-sidebar {
	position: fixed;
	left: 0;
	top: 0;
	width: 350px;
	height: 100vh;
	background: #fff;
/* 	border-right: 1px solid #e0dede; */
	box-sizing: border-box;
	z-index: 100;
	overflow-y: hidden;
}

.fredakhoo-sidebar-inner {
	padding-bottom: 20px;
}

.fredakhoo-sidebar-logo-wrap {
	text-align: center;
	padding: 21px 20px;
}

.fredakhoo-sidebar-logo-wrap img,
.fredakhoo-sidebar .fusion-standard-logo,
.fredakhoo-sidebar .custom-logo {
	max-width: 100%;
	width: auto;
	height: auto;
	display: block;
	margin: 0 auto;
}

.fredakhoo-tagline {
	text-align: center;
	color: #333;
	font-size: 0.9rem;
	margin: 0 0 1.25rem !important;
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	line-height: 1.4;
}

.fredakhoo-side-nav {
	width: 100%;
	padding: 0;
}

.fredakhoo-fusion-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.fredakhoo-fusion-menu > li {
	margin: 0;
	padding: 0;
}

.fredakhoo-fusion-menu > li > a {
	display: block;
	padding: 18.5px 20px;
	color: #333 !important;
	text-decoration: none;
	font-size: 16px;
	line-height: 1.4;
	border-bottom: 1px solid #e0dede;
	border-top: 0;
	transition: background 0.2s, color 0.2s;
}

.fredakhoo-fusion-menu > li:first-child > a {
	border-top: 1px solid #e0dede;
}

.fredakhoo-fusion-menu > li > a:hover {
	background: #6f2563;
	color: #fff !important;
}

.fredakhoo-fusion-menu > li.current-menu-item > a,
.fredakhoo-fusion-menu > li.current-menu-ancestor > a {
	background: #6f2563 !important;
	color: #fff !important;
	border-color: #e0dede;
}

.fredakhoo-fusion-menu > li.current-menu-item > a:hover,
.fredakhoo-fusion-menu > li.current-menu-ancestor > a:hover {
	background: #6f2563 !important;
	color: #fff !important;
}

.fredakhoo-fusion-menu .menu-text {
	display: inline;
}

/* === Main column === */
.fredakhoo-main-wrap {
	margin-left: 350px;
	flex: 1;
	min-width: 0;
	background: #f9eff9;
}

/* === Top phone (#topPhone) === */
.fredakhoo-topbar {
	background: #f9eff9;
	padding: 20px 30px;
	margin: 0;
}

.fredakhoo-topbar #topPhone {
	text-align: center;
	font-size: 1.2rem;
	margin: 0;
}

.fredakhoo-topbar #topPhone a {
/* 	display: inline-block; */
	border-radius: 6px;
	background: #6f2563;
	padding: 8px 12px;
	color: #fff !important;
	text-decoration: none;
/* 	font-weight: 600; */
	font-size: 19px;
}

.fredakhoo-topbar #topPhone a:hover {
	background: #8f2563;
	color: #fff !important;
}

@media only screen and (min-width: 768px) {
	.fredakhoo-topbar #topPhone {
		text-align: right;
	}
}

/* === Mobile / tablet nav toggle (<=1024px) === */
.fredakhoo-mobile-nav-bar {
	display: none;
}

.fredakhoo-mobile-nav-toggle {
	display: flex;
	align-items: stretch;
	width: 100%;
	margin-top: 0;
	padding: 0;
	border: 0;
	background: #6f2563;
	color: #fff;
	cursor: pointer;
	text-align: left;
}

.fredakhoo-hamburger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 22px;
	flex-shrink: 0;
	margin: 0 16px;
}

.fredakhoo-hamburger span {
	display: block;
	height: 2px;
	width: 100%;
	background: #fff;
	border-radius: 1px;
}

@media (max-width: 1024px) {
	.fredakhoo-site {
		flex-direction: column;
	}

	.fredakhoo-sidebar {
		top: 0px !important;
		padding: 20px 30px;
	}

	.fredakhoo-sidebar-logo-wrap {
		padding: 0px !important;
	}

	.fredakhoo-sidebar {
		position: relative;
		width: 100%;
		height: auto;
		border-right: none;
		overflow: visible;
		z-index: 200;
		display: flex;
		flex-direction: column;
	}

	.fredakhoo-sidebar-brand {
		display: block;
		order: 1;
	}

	.fredakhoo-mobile-nav-bar {
		display: block;
		width: 100%;
		order: 2;
	}

	.fredakhoo-mobile-nav-label {
		flex: 1;
		display: flex;
		align-items: center;
		padding: 14px 18px;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 12px;
		line-height: 1.2;
		color: #fff;
	}

	.fredakhoo-mobile-nav-toggle .fredakhoo-hamburger {
		border-left: 1px solid rgba(255, 255, 255, 0.28);
		padding: 14px 18px;
		margin: 0;
		width: auto;
		min-width: 56px;
		box-sizing: border-box;
	}

	.fredakhoo-mobile-nav-toggle:hover,
	.fredakhoo-mobile-nav-toggle:focus {
		background: #5a1d50;
		outline: none;
	}

	.fredakhoo-primary-nav {
		display: none;
		background: #6f2563;
		order: 3;
	}

	.fredakhoo-sidebar.is-menu-open .fredakhoo-primary-nav {
		display: block;
	}

	.fredakhoo-primary-nav .fredakhoo-fusion-menu > li > a {
		color: #fff !important;
		background: #6f2563;
		border-color: rgba(255, 255, 255, 0.22);
		font-size: 12px !important;
		padding: 12.5px !important;
	}

	.fredakhoo-primary-nav .fredakhoo-fusion-menu > li > a:hover {
		background: #5a1d50 !important;
		color: #fff !important;
	}

	.fredakhoo-primary-nav .fredakhoo-fusion-menu > li.current-menu-item > a,
	.fredakhoo-primary-nav .fredakhoo-fusion-menu > li.current-menu-ancestor > a {
		background: #f9eff9 !important;
		color: #333 !important;
	}

	.fredakhoo-main-wrap {
		margin-left: 0;
	}

	.fredakhoo-home-section {
		padding: 1rem;
	}

	.fredakhoo-home-section .wp-block-column:first-child,
	.fredakhoo-home-section .wp-block-column:last-child {
		flex-basis: 100% !important;
	}

	.fredakhoo-footer-columns {
		flex-direction: column;
	}

	.fredakhoo-sidebar {
		top: 0;
		height: auto;
	}
}

@media (min-width: 1025px) {
	.fredakhoo-sidebar {
		display: flex;
		flex-direction: column;
	}

	.fredakhoo-sidebar-brand {
		display: block;
		order: 1;
	}

	.fredakhoo-primary-nav {
		display: block;
		order: 2;
	}

	.fredakhoo-mobile-nav-bar {
		display: none;
	}
}

/* === Homepage / Gutenberg sections === */
.fredakhoo-home-section {
	padding: 10px 30px 100px;
	background: #f9eff9;
	max-width: none;
}

.fredakhoo-home-section, .fredakhoo-topbar, .fredakhoo-footer>div {
	align-items: flex-start;
	gap: 4%;
	max-width: 1170px;
	margin: 0 auto;
}

.fredakhoo-home-section .wp-block-column:first-child {
	flex-basis: 31% !important;
}

.fredakhoo-home-section .wp-block-column:last-child {
	flex-basis: 65% !important;
}

.fredakhoo-img-shadow img {
	border-radius: 10px;
	box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.3);
	width: 100%;
	height: auto;
	display: block;
}

.fredakhoo-home-section h2,
.fredakhoo-entry-content h1 {
	color: #6f2563;
	font-family: Arial;
	font-weight: 400;
	line-height: 1.2;
}

.page-id-673 .fredakhoo-entry-content>div>div:not(:first-of-type) {
    padding-bottom: 30px !important;
}

.fredakhoo-home-section h2 {
	font-size: 3rem;
	margin: 0 0 0.5rem;
}

.fredakhoo-home-section h3 {
	color: #595f6b;
	font-size: 1.15rem;
	font-weight: 400;
	margin: 0 0 1rem;
	font-family: Arial, sans-serif;
}

.fredakhoo-home-section h3 em {
	font-style: italic;
}

.fredakhoo-home-section h4 {
	color: #333;
	font-size: 1.05rem;
	font-weight: 400;
	line-height: 1.5;
	margin: 0 0 1rem;
	font-family: Arial, sans-serif;
}

.fredakhoo-gold-text,
.fredakhoo-credentials {
	color: #af8521 !important;
}

.fredakhoo-credentials {
	font-size: 17px;
	line-height: 1.5;
	margin: 0 0 1rem !important;
}

.fredakhoo-home-section .wp-block-buttons {
	margin-top: 15px;
}

.fredakhoo-home-section.fredakhoo-enquiry-section .wp-block-column:first-child {
	flex-basis: 50% !important;
}

.fredakhoo-home-section.fredakhoo-enquiry-section .wp-block-column:last-child {
	flex-basis: 50% !important;
}

.fredakhoo-enquiry-section .fredakhoo-enquiry-title {
	font-size: 2rem;
	margin-bottom: 1.25rem;
}

.fredakhoo-home-section .wp-block-button__link {
	background: #6f2563 !important;
	color: #fff !important;
	border-radius: 0;
	padding: 0.75rem 1.5rem;
	font-size: 13px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border: none;
}

.fredakhoo-home-section .wp-block-button__link:hover {
	background: #5a1d50 !important;
}

.fredakhoo-enquiry-title {
	color: #6f2563 !important;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.35rem;
	margin-bottom: 1rem;
}

/* === Services page lists (live Avada arrow bullets) === */
.fredakhoo-services-section h3 {
	color: #6f2563;
	font-weight: 500;
	font-size: 1.5rem;
	margin: 0 0 1.5rem;
	padding-bottom: 0;
	border-bottom: none;
}

.fredakhoo-services-section h3::after {
	content: "";
	display: block;
	width: 30%;
	height: 0.1px;
	background: #6f2563;
	margin-top: 0.5rem;
}

.fredakhoo-services-section .wp-block-column:first-child {
	flex-basis: 54% !important;
}

.fredakhoo-services-section .wp-block-column:last-child {
	flex-basis: 41% !important;
}

.fredakhoo-services-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fredakhoo-services-list li {
	position: relative;
	padding: 8px 0 8px calc(25px + 0.65rem);
	line-height: 1.45;
	font-size: 15px;
}

.fredakhoo-services-list li::before {
	content: "›";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 25px;
	height: 25px;
	border-radius: 50%;
	color: #fff;
	font-size: 17px;
	line-height: 1;
	text-align: center;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fredakhoo-services-list--obstetric li::before {
	background: #9c5c92;
}

.fredakhoo-services-list--gynaecology li::before {
	background: #af8521;
}

/* === News and Events grid === */
.fredakhoo-news-section h2 {
	margin-bottom: 1.5rem;
}

.fredakhoo-news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem 1.75rem;
	max-width: 1100px;
}

.fredakhoo-news-card {
	margin: 0;
}

.fredakhoo-news-card .fredakhoo-img-shadow {
	margin: 0;
}

.fredakhoo-news-card .fredakhoo-img-shadow img {
	width: 100%;
	height: auto;
/* 	aspect-ratio: auto; */
}

.fredakhoo-news-card-title {
	margin: 0.85rem 0 0 !important;
	font-size: 15px;
	line-height: 1.4;
}

.fredakhoo-news-card-title a {
	color: #6f2563;
	text-decoration: none;
}

.fredakhoo-news-card-title a:hover {
	text-decoration: underline;
}

@media (max-width: 900px) {
	.fredakhoo-news-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.fredakhoo-news-grid {
		grid-template-columns: 1fr;
	}
}

/* === Bundles of Joy slider === */
.fredakhoo-bundles-section h2 {
	margin-bottom: 1.5rem;
}

.fredakhoo-bundles-slider {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
}

.fredakhoo-bundles-slider-viewport {
	overflow: hidden;
	background: transparent;
}

.fredakhoo-bundles-slider-track {
	display: flex;
	transition: transform 0.5s ease;
}

.fredakhoo-bundles-slide {
	min-width: 100%;
	/* flex-shrink: 0; */
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1200 / 750;
}

.fredakhoo-bundles-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.fredakhoo-bundles-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 2px;
	background: rgba(60, 60, 60, 0.45);
	color: #fff;
	font-size: 22px;
	line-height: 34px;
	text-align: center;
	cursor: pointer;
	padding: 0;
	z-index: 2;
}

.fredakhoo-bundles-nav:hover,
.fredakhoo-bundles-nav:focus {
	background: rgba(40, 40, 40, 0.65);
	outline: none;
}

.fredakhoo-bundles-prev {
	left: 8px;
}

.fredakhoo-bundles-next {
	right: 8px;
}

.fredakhoo-bundles-dots {
	display: none;
}

/* === Location page === */
.fredakhoo-location-section .wp-block-column:first-child,
.fredakhoo-location-section .wp-block-column:last-child {
	flex-basis: 48% !important;
}

.fredakhoo-location-section h4 {
	color: #6f2563;
	font-weight: 600;
	font-size: 1.05rem;
	margin: 1.25rem 0 0.75rem;
}

.fredakhoo-location-section p strong {
	color: #6f2563;
}

.fredakhoo-hours-table table {
	border: 0;
	width: auto !important;
}

.fredakhoo-hours-table td {
	border: 0 !important;
	padding: 0.2rem 1rem 0.2rem 0;
	font-size: 15px;
}

.fredakhoo-location-map iframe {
	display: block;
	width: 100%;
	min-height: 360px;
	border: 0;
}

.fredakhoo-enquiry-section--solo .wpcf7 {
	max-width: 520px;
}

/* === Contact page === */
.fredakhoo-contact-section .wp-block-column:first-child {
	flex-basis: 52% !important;
}

.fredakhoo-contact-section .wp-block-column:last-child {
	flex-basis: 45% !important;
}

.fredakhoo-contact-intro {
	color: #af8521 !important;
	font-weight: 400;
	font-size: 1.05rem;
	margin: 0 0 1.25rem !important;
}

.fredakhoo-contact-intro em {
	font-style: italic;
}

.fredakhoo-contact-info h3 {
	color: #6f2563;
	font-size: 1.25rem;
	line-height: 1.4;
	margin: 0 0 1rem;
}

/* .fredakhoo-contact-info p strong {
	color: #6f2563;
} */

.fredakhoo-contact-table table {
	border: 0;
	width: fit-content !important;
}

.fredakhoo-contact-table tr>td:last-of-type {
    color: #333 !important;
}

.fredakhoo-contact-table td {
	border: 0 !important;
	padding: 0px 0.75rem 0px 0px !important;
	font-size: 15px;
	vertical-align: top;
}

.fredakhoo-contact-table td:first-child {
/* 	white-space: nowrap; */
	padding-right: 0.75rem;
	width: 40%;
}

/* === Footer === */
.fredakhoo-footer {
	background: #fff;
	margin-top: 0;
	padding: 55px 30px 40px 30px;
}

.fredakhoo-footer-logo {
	text-align: center;
	border-top: 1px solid #ccc;
	padding: 20px 1rem 0;
	margin: 0;
}

.fredakhoo-footer-logo img {
	display: inline-block;
	max-width: 250px;
	height: auto;
}

.fredakhoo-footer-widget p,
.fredakhoo-sidebar-widget p {
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	color: #333;
}

.fredakhoo-footer-widget p {
	text-align: center;
}

.fredakhoo-sidebar-widgets {
	padding: 0 20px 10px;
}

.fredakhoo-footer-band {
	background: #efcffc;
	padding: 1.5rem 2rem;
	margin: 0;
/* 	margin: 0px 30px; */
}

.fredakhoo-footer-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
}

.fredakhoo-footer-col {
	flex: 1 1 28%;
	min-width: 200px;
}

.fredakhoo-footer-band strong {
	color: #6f2463;
}

.fredakhoo-footer-band p {
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	color: #333;
}

.footer-divider {
    background: #595f6b;
    height: 5px;
    margin: 50px 0px;
}

.fredakhoo-footer-band a {
	color: #333;
}

.fredakhoo-copyright {
	font-size: 13px;
	color: #747474;
/* 	padding: 1rem 1.5rem 1.5rem; */
	margin: 50px 0 0 0 !important;
	background: #fff;
}

.page-id-14 .fredakhoo-enquiry-section, .page-id-673 .fredakhoo-enquiry-section {
    padding-bottom: 20px !IMPORTANT;
}

.page-id-673 .fredakhoo-entry-content>div:first-of-type>div:first-of-type {
    padding-bottom: 60px !IMPORTANT;
}

.fredakhoo-copyright a {
	color: #747474;
	text-decoration: none;
}

.fredakhoo-copyright a:hover {
	text-decoration: underline;
}

/* === CF7 === */
.fredakhoo-main-wrap .wpcf7 {
	max-width: 100%;
}

.fredakhoo-main-wrap .wpcf7 label {
	font-size: 13px;
	color: #333;
}

.fredakhoo-main-wrap .wpcf7 input[type="text"],
.fredakhoo-main-wrap .wpcf7 input[type="email"],
.fredakhoo-main-wrap .wpcf7 input[type="tel"],
.fredakhoo-main-wrap .wpcf7 textarea {
	width: 100%;
	border: 1px solid #ddd;
	background: #fff;
	padding: 8px 10px;
	font-size: 14px;
	box-sizing: border-box;
}

.fredakhoo-main-wrap .wpcf7 input[type="submit"] {
	background: #6f2563;
	color: #fff;
	border: none;
	padding: 10px 24px;
	text-transform: uppercase;
	font-size: 13px;
	cursor: pointer;
	border-radius: 0;
}

/* === Admin bar === */
.fredakhoo-sidebar {
	top: 0px;
	height: 100%;
}

@media (min-width: 1025px) {
	.fredakhoo-sidebar {
		top: 0px;
/* 		height: calc(100vh - 32px); */
	}
}

@media (max-width: 768px) {
	
	.fredakhoo-sidebar:not(.page-id-7 .fredakhoo-sidebar, .page-id-841 .fredakhoo-sidebar, .page-id-801 .fredakhoo-sidebar) {
    background: #f9eff9 !important;
}
	
.page-id-7 .fredakhoo-sidebar, .page-id-841 .fredakhoo-sidebar, .page-id-801 .fredakhoo-sidebar {
    background: #fff8ed !important;
}

	.fredakhoo-contact-table table {
		width: 100% !important;
	}
	
	.fredakhoo-contact-table td:first-child {
		padding: 0px !important;
	}
	
	.fredakhoo-services-section .wp-block-column:last-child {
    padding: 0px 2em !IMPORTANT;
}
	
	.fredakhoo-home-section .wp-block-column:first-child {
		flex-basis: 100% !important;
	}
	
	.fredakhoo-home-section {
			padding: 10px 30px 50px !important;
	}
	
	.fredakhoo-home-section h2 {
line-height: 3rem;
		font-size: 2.5rem !important;
	}
	
	h4.fredakhoo-contact-intro {
		margin: 20px 0px 40px 0px !important;
	}
	
	.fredakhoo-contact-table td:last-child {
    white-space: nowrap !IMPORTANT;
}
	
	.fredakhoo-contact-table tr:nth-child(2)>td:last-of-type {
    padding-top: 10px !important;
}

	.fredakhoo-home-section .wp-block-column:last-child {
		margin-top: 20px !important;
		/* margin-bottom: 50px !important; */
	}
}

/* About page — cream background on content area only */
body.fredakhoo-clinic.page-about .fredakhoo-topbar,
body.fredakhoo-clinic.page-about .fredakhoo-entry-content.entry-content, body.fredakhoo-clinic.page-about #main-content {
	background: #fff8ed;
}

body.fredakhoo-clinic.page-id-841 .fredakhoo-topbar,
body.fredakhoo-clinic.page-id-841 .fredakhoo-entry-content.entry-content,
body.fredakhoo-clinic.page-id-841 #main-content,
body.fredakhoo-clinic.page-id-801 .fredakhoo-topbar,
body.fredakhoo-clinic.page-id-801 .fredakhoo-entry-content.entry-content,
body.fredakhoo-clinic.page-id-801 #main-content {
	background: #fff8ed;
}

.fredakhoo-hours-table td {
	padding: 0px !important;
}