/*
Theme Name: BlogHash Child - Pristyn Care Elantis
Theme URI: https://www.pristyncare-elantis.com/blog
Description: Child theme of BlogHash for the Pristyn Care Elantis hospital blog. Customizations live here so parent theme updates never overwrite them.
Author: Pristyn Care Tech
Template: bloghash
Version: 1.0.0
Text Domain: bloghash-child
*/

/* =========================================================================
 * Brand palette (matches the ozut.com look)
 *   Accent  : #ff8300  (Pristyn orange)
 *   Navy     : #00263e  (dark secondary)
 * The accent color is also set via the Customizer so it flows through
 * Bloghash's own --bloghash-primary variable. We reassert it here as a
 * safety net.
 * ========================================================================= */
:root {
	--bloghash-primary: #ff8300;
}

/* Soft navy tint behind page headers, like ozut */
.page-header {
	background: #00263E0A !important;
}
#page .page-header .bloghash-page-header-title > .page-title {
	line-height: normal;
}

/* Logo spacing */
.bloghash-logo .logo-inner {
	margin: 0;
}

/* Single post typography + spacing tweaks */
.post .entry-header h1.entry-title {
	font-size: 3rem;
}
.single-post .entry-content {
	margin-top: 20px;
}
.single .entry-content {
	margin-bottom: 20px;
}
.single .entry-footer .last-updated {
	margin-top: 15px;
}
.post .author-box {
	padding: 15px;
	margin: 20px auto;
}

/* Orange ticker/section headings like ozut */
#ticker .bloghash-card-items .widget-title {
	background-color: #ff8300;
}

/* Dark-mode header uses the navy brand color */
[data-darkmode=dark] #bloghash-header-inner {
	background: #00263e !important;
}

/* Author box styling so the "medically reviewed by" block stands out */
.pc-author-box {
	border: 1px solid #e3e8ee;
	border-left: 4px solid #ff8300;
	border-radius: 8px;
	padding: 20px;
	margin: 30px 0;
	background: #fafbfc;
}
.pc-author-box__name {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 2px;
	color: #00263e;
}
.pc-author-box__designation {
	color: #ff8300;
	font-weight: 600;
	font-size: 0.9rem;
	margin: 0 0 10px;
}
.pc-author-box__meta {
	font-size: 0.9rem;
	color: #4a5568;
	margin: 4px 0;
}
.pc-author-box__bio {
	margin-top: 10px;
	font-size: 0.95rem;
	line-height: 1.6;
}


/* =========================================================================
 * Featured image consistency (Fix 1)
 * Force ALL post card / hero / archive images to a uniform 2:1 crop so a
 * wrongly-sized upload can never stretch a section. object-fit: cover crops
 * without distortion. This is what keeps ozut's cards uniform.
 * ========================================================================= */
.bloghash-entry-image img,
.bloghash-hero-slider .bloghash-entry-image img,
.bloghash-article .entry-media img,
.bloghash-card-item .bloghash-entry-image img,
.bloghash-blog-image-wrap .entry-media img,
#primary .bloghash-article .post-thumb img {
	aspect-ratio: 2 / 1;
	object-fit: cover;
	width: 100%;
	height: auto;
	display: block;
}

/* Hero slider: keep a fixed height so the big top card never resizes per image */
.bloghash-hero-slider .bloghash-entry-image,
.bloghash-hero-slider .swiper-slide .bloghash-entry-image img {
	aspect-ratio: 2 / 1;
	object-fit: cover;
}
