/*
Theme Name: Frost
Theme URI: https://frostwp.com/
Author: WP Engine
Author URI: https://wpengine.com/
Description: With its clean, minimal design and powerful feature set, Frost enables agencies to build stylish and sophisticated WordPress websites. Frost is a masterpiece of design and functionality. It features a range of valuable patterns, including hero and portfolio sections, prominent call-to-action buttons, and customer testimonials. Whether you’re building a website for your business, personal brand, or creative project, Frost is perfect for anyone looking to launch quickly and efficiently.
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0.16
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: frost
*/


/* Defaults
---------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
	transition: all 0.2s ease-in-out;
}

a,
a:focus,
a:hover,
a:not(.wp-element-button) {
	text-decoration-thickness: 1px;
}

b,
strong,
th {
	font-weight: var(--wp--custom--font-weight--medium);
}

mark {
	background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary) 100%);
	background-position: 0 85%;
	background-repeat: repeat-x;
	background-size: 100% 15%;
}

/* -- Forms -- */

input,
select,
textarea {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: 0;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--font-weight--light);
	line-height: var(--wp--custom--line-height--body);
	padding: 10px 20px;
	width: 100%;
}

input:focus,
textarea:focus {
	background-color: var(--wp--preset--color--neutral);
	outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
	appearance: none;
}

::placeholder {
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.5;
}

/* Blocks
---------------------------------------- */

/* -- Code -- */

*:not(.wp-block-code) > code {
	background-color: var(--wp--preset--color--neutral);
	font-size: var(--wp--preset--font-size--small);
	padding: 5px 8px;
}

/* -- Navigation & Mobile Overlay -- */

/* Hamburger Button (Mobile Only) */
.wp-block-navigation__responsive-container-open {
	background: var(--tlhd-surface);
	border: 1px solid var(--tlhd-border);
	color: var(--wp--preset--color--contrast);
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	border-radius: 10px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 600px) {
	.wp-block-navigation__responsive-container-open,
	.wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none !important;
	}
}

@media (max-width: 599px) {
	.wp-block-navigation__responsive-container-open {
		display: inline-flex !important;
	}
}

.wp-block-navigation__responsive-container-open:hover,
.wp-block-navigation__responsive-container-open:focus {
	background: var(--tlhd-surface-hover);
	border-color: var(--tlhd-accent);
	color: var(--tlhd-accent);
	transform: scale(1.05);
}

.wp-block-navigation__responsive-container-open svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
	pointer-events: none;
}

/* Fullscreen Mobile Responsive Overlay */
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open,
.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open,
.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
	background-color: var(--tlhd-bg) !important;
	color: var(--wp--preset--color--contrast) !important;
	z-index: 1000000 !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	padding: 24px 20px !important;
	box-sizing: border-box !important;
	backdrop-filter: blur(20px) !important;
	-webkit-backdrop-filter: blur(20px) !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch !important;
}

/* Close Button in Modal */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	position: fixed !important;
	top: 20px !important;
	right: 20px !important;
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	min-height: 44px !important;
	border-radius: 50% !important;
	background: var(--tlhd-surface) !important;
	border: 1px solid var(--tlhd-border) !important;
	color: var(--wp--preset--color--contrast) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	padding: 0 !important;
	z-index: 1000002 !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:hover {
	background: var(--tlhd-accent) !important;
	color: #0f172a !important;
	border-color: var(--tlhd-accent) !important;
	transform: rotate(90deg) scale(1.06) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
	width: 22px !important;
	height: 22px !important;
	fill: currentColor !important;
	pointer-events: none;
}

/* Mobile Modal Content Container */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
	width: 100% !important;
	max-width: 520px !important;
	margin: 0 auto !important;
	padding-top: 50px !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding: 0 !important;
	width: 100% !important;
}

.wp-block-navigation__responsive-container.is-menu-open ul.wp-block-navigation__container {
	display: flex !important;
	flex-direction: column !important;
	gap: 6px !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}

.wp-block-navigation__responsive-container.is-menu-open li.wp-block-navigation-item {
	width: 100% !important;
	border-bottom: 1px solid var(--tlhd-border) !important;
	padding: 0 !important;
	margin: 0 !important;
}

.wp-block-navigation__responsive-container.is-menu-open li.wp-block-navigation-item:last-child {
	border-bottom: none !important;
}

.wp-block-navigation__responsive-container.is-menu-open li.wp-block-navigation-item a.wp-block-navigation-item__content {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 16px 12px !important;
	font-size: 1.2rem !important;
	font-weight: 600 !important;
	color: var(--wp--preset--color--contrast) !important;
	text-decoration: none !important;
	border-radius: 8px !important;
	transition: all 0.18s ease !important;
}

.wp-block-navigation__responsive-container.is-menu-open li.wp-block-navigation-item a.wp-block-navigation-item__content:hover {
	background: var(--tlhd-surface) !important;
	color: var(--tlhd-accent) !important;
	padding-left: 18px !important;
}

.wp-block-navigation__responsive-container.is-menu-open li.wp-block-navigation-item a.wp-block-navigation-item__content::after {
	content: "→";
	font-size: 1.15rem;
	opacity: 0.45;
	color: inherit;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.wp-block-navigation__responsive-container.is-menu-open li.wp-block-navigation-item a.wp-block-navigation-item__content:hover::after {
	opacity: 1;
	transform: translateX(4px);
	color: var(--tlhd-accent);
}

/* -- Navigation Submenu -- */

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--contrast);
	border: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	padding: 10px;
}

.wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
	padding: 2px 10px;
}

/* Stacked Query Loop Cards Vertical Spacing */
.wp-block-post-template:not(.is-layout-grid) {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.wp-block-post-template:not(.is-layout-grid) > li.wp-block-post {
	margin-bottom: 24px !important;
	list-style: none !important;
}

.wp-block-post-template:not(.is-layout-grid) > li.wp-block-post:last-child {
	margin-bottom: 0 !important;
}

/* Utility
---------------------------------------- */

/* -- Box Shadow -- */

.is-style-shadow-light {
	box-shadow: var(--wp--preset--shadow--light);
}

.is-style-shadow-solid {
	box-shadow: var(--wp--preset--shadow--solid);
}

/* Media Queries
---------------------------------------- */

@media only screen and (max-width: 600px) {

	.site-header > .wp-block-group {
		padding: 12px 16px !important;
	}

	.tlhd-header-inner {
		gap: 10px !important;
	}

	.wp-block-site-logo img {
		width: 38px !important;
		height: 38px !important;
		border-radius: 9px !important;
	}

	.wp-block-site-title {
		font-size: 1.25rem !important;
	}

	.tlhd-header-actions {
		gap: 8px !important;
	}

	.tlhd-theme-toggle-btn,
	.wp-block-navigation__responsive-container-open {
		width: 38px !important;
		height: 38px !important;
		min-width: 38px !important;
		min-height: 38px !important;
	}

	/* Stacked post templates gap on mobile */
	.wp-block-post-template:not(.is-layout-grid) > li.wp-block-post {
		margin-bottom: 20px !important;
	}

	/* -- Utility -- */

	.is-style-hidden-mobile {
		display: none !important;
	}

}

@media only screen and (max-width: 782px) {

	/* -- Columns -- */

	.is-style-columns-reverse {
		flex-direction: column-reverse;
	}

}

/* ==========================================================================
   TechLoverHD Modern Editorial & Theme Toggle System
   ========================================================================== */

:root {
	--tlhd-bg: #0d0f17;
	--tlhd-surface: #141722;
	--tlhd-surface-hover: #1b2030;
	--tlhd-border: #222738;
	--tlhd-text: #f8fafc;
	--tlhd-text-muted: #94a3b8;
	--tlhd-accent: #38bdf8;
	--tlhd-accent-hover: #0ea5e9;
	--tlhd-tag-bg: rgba(56, 189, 248, 0.12);
	--tlhd-tag-color: #38bdf8;
	--tlhd-card-bg: rgba(20, 24, 38, 0.78);
	--tlhd-card-bg-hover: rgba(26, 32, 50, 0.95);
	--tlhd-card-border: rgba(255, 255, 255, 0.1);
	--tlhd-card-border-hover: rgba(56, 189, 248, 0.55);
	--tlhd-card-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	--tlhd-card-shadow-hover: 0 22px 44px -6px rgba(0, 0, 0, 0.55), 0 0 24px rgba(56, 189, 248, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme="light"] {
	--wp--preset--color--base: #ffffff !important;
	--wp--preset--color--contrast: #0f172a !important;
	--wp--preset--color--neutral: #f1f5f9 !important;
	--wp--preset--color--primary: #0284c7 !important;
	--tlhd-bg: #f8fafc !important;
	--tlhd-surface: #ffffff !important;
	--tlhd-surface-hover: #f1f5f9 !important;
	--tlhd-border: #e2e8f0 !important;
	--tlhd-text: #0f172a !important;
	--tlhd-text-muted: #64748b !important;
	--tlhd-accent: #0284c7 !important;
	--tlhd-accent-hover: #0369a1 !important;
	--tlhd-tag-bg: rgba(2, 132, 199, 0.1) !important;
	--tlhd-tag-color: #0284c7 !important;
	--tlhd-card-bg: rgba(255, 255, 255, 0.88);
	--tlhd-card-bg-hover: #ffffff;
	--tlhd-card-border: rgba(15, 23, 42, 0.12);
	--tlhd-card-border-hover: rgba(2, 132, 199, 0.55);
	--tlhd-card-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
	--tlhd-card-shadow-hover: 0 20px 38px -6px rgba(15, 23, 42, 0.16), 0 0 20px rgba(2, 132, 199, 0.14), inset 0 1px 0 #ffffff;
}

body {
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	transition: background-color 0.2s ease, color 0.2s ease;
}

/* Header & Theme Toggle */
.site-header {
	border-bottom: 1px solid var(--tlhd-border);
	background: var(--wp--preset--color--base);
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(12px);
}

.tlhd-header-inner {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 20px !important;
	width: 100% !important;
}

/* Site Logo & Branding */
.wp-block-site-logo {
	margin: 0;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.wp-block-site-logo img {
	width: 48px !important;
	height: 48px !important;
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.12);
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
	display: block;
}

.wp-block-site-logo:hover img {
	transform: scale(1.08);
	box-shadow: 0 0 22px rgba(56, 189, 248, 0.65), 0 4px 14px rgba(0, 0, 0, 0.4);
}

.wp-block-site-title {
	font-size: 1.45rem !important;
	font-weight: 800 !important;
	letter-spacing: -0.025em;
	margin: 0 !important;
	white-space: nowrap !important;
}

.tlhd-header-actions {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 16px !important;
	flex-shrink: 0 !important;
}

@media (min-width: 600px) {
	.tlhd-header-actions .wp-block-navigation {
		width: auto !important;
		flex: 0 1 auto !important;
	}

	.tlhd-header-actions .wp-block-navigation__responsive-container:not(.is-menu-open) {
		width: auto !important;
		display: flex !important;
		align-items: center !important;
	}

	.tlhd-header-actions ul.wp-block-navigation__container {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		gap: 18px !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.tlhd-header-actions li.wp-block-navigation-item {
		white-space: nowrap !important;
	}
}

@media (max-width: 599px) {
	.tlhd-header-actions .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.wp-block-navigation__responsive-container-open {
		display: inline-flex !important;
		position: relative !important;
		z-index: 10 !important;
		pointer-events: auto !important;
	}
}

.tlhd-theme-toggle-btn {
	background: var(--tlhd-surface);
	border: 1px solid var(--tlhd-border);
	color: var(--wp--preset--color--contrast);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	flex-shrink: 0 !important;
}

.tlhd-theme-toggle-btn:hover {
	background: var(--tlhd-accent);
	color: #ffffff;
	border-color: var(--tlhd-accent);
	transform: scale(1.06);
}

.tlhd-theme-toggle-btn svg {
	width: 20px;
	height: 20px;
}

/* Post Cards & Grid Enhancements: Modern Glassmorphic Surface & Tactile Separation */
.wp-block-post-template.is-layout-grid {
	gap: 28px !important;
}

.wp-block-post-template.is-layout-grid > li.wp-block-post,
.tlhd-hero-card {
	background: var(--tlhd-card-bg);
	border: 1px solid var(--tlhd-card-border);
	border-radius: 16px;
	box-shadow: var(--tlhd-card-shadow);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
	            box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
	            border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
	            background-color 0.28s ease;
	position: relative;
}

.wp-block-post-template.is-layout-grid > li.wp-block-post:hover,
.tlhd-hero-card:hover {
	transform: translateY(-6px);
	background: var(--tlhd-card-bg-hover);
	border-color: var(--tlhd-card-border-hover);
	box-shadow: var(--tlhd-card-shadow-hover);
}

/* Subtle glass reflection highlight along top edge */
.wp-block-post-template.is-layout-grid > li.wp-block-post::before,
.tlhd-hero-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	pointer-events: none;
	z-index: 2;
}

.wp-block-post-template.is-layout-grid > li.wp-block-post figure.wp-block-post-featured-image,
.tlhd-hero-card figure.wp-block-post-featured-image {
	margin: 0;
	overflow: hidden;
	position: relative;
	border-bottom: 1px solid var(--tlhd-card-border);
}

.wp-block-post-template.is-layout-grid > li.wp-block-post figure.wp-block-post-featured-image img,
.tlhd-hero-card figure.wp-block-post-featured-image img {
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	display: block;
	width: 100%;
	object-fit: cover;
}

.wp-block-post-template.is-layout-grid > li.wp-block-post:hover figure.wp-block-post-featured-image img,
.tlhd-hero-card:hover figure.wp-block-post-featured-image img {
	transform: scale(1.05);
}

.wp-block-post-template.is-layout-grid > li.wp-block-post > .wp-block-group {
	padding: 18px 20px 22px 20px !important;
	margin-top: 0 !important;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 10px;
}

.wp-block-post-title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	font-weight: 600;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.wp-block-post-title a:hover {
	color: var(--tlhd-accent);
}

/* Post Meta */
.post-meta,
.wp-block-post-template .has-x-small-font-size {
	color: var(--tlhd-text-muted);
	font-size: 0.85rem !important;
}

.post-meta a,
.wp-block-post-author-name a {
	color: var(--tlhd-text-muted);
	text-decoration: none;
}

.post-meta a:hover,
.wp-block-post-author-name a:hover {
	color: var(--tlhd-accent);
}

/* Category Pill Badges */
.tlhd-badge {
	display: inline-block;
	background: var(--tlhd-tag-bg);
	color: var(--tlhd-tag-color);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 10px;
	border-radius: 9999px;
	margin-bottom: 8px;
}

/* Section Dividers & Headers */
.tlhd-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 2px solid var(--tlhd-border);
	padding-bottom: 12px;
	margin-bottom: 28px;
	margin-top: 48px;
}

.tlhd-section-title {
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	margin: 0 !important;
	display: flex;
	align-items: center;
	gap: 10px;
}

.tlhd-section-title::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 1.2em;
	background: var(--tlhd-accent);
	border-radius: 2px;
}

.tlhd-section-link {
	font-size: 0.9rem;
	color: var(--tlhd-accent) !important;
	text-decoration: none !important;
	font-weight: 600;
	transition: transform 0.2s ease;
}

.tlhd-section-link:hover {
	transform: translateX(4px);
}

/* Footer Styling */
.site-footer {
	border-top: 1px solid var(--tlhd-border);
	background: var(--tlhd-surface);
	color: var(--tlhd-text-muted);
	font-size: 0.8125rem !important;
	line-height: 1.6;
}

.site-footer p,
.site-footer .has-small-font-size,
.site-footer .wp-block-paragraph {
	font-size: 0.8125rem !important;
	line-height: 1.65 !important;
	letter-spacing: 0.01em;
}

.site-footer a {
	color: var(--tlhd-text-muted);
	text-decoration: none;
	transition: color 0.15s ease;
}

.site-footer a:hover {
	color: var(--tlhd-accent);
}

@media only screen and (max-width: 600px) {
	.site-footer,
	.site-footer p,
	.site-footer .has-small-font-size,
	.site-footer .wp-block-paragraph {
		font-size: 0.75rem !important;
		line-height: 1.6 !important;
	}
}


/* ==========================================================================
   Cookie Consent Banner & Preferences Modal (Google Consent Mode v2)
   ========================================================================== */

.tlhd-cookie-banner {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: calc(100% - 48px);
	max-width: 440px;
	background: var(--tlhd-surface);
	border: 1px solid var(--tlhd-border);
	border-radius: 16px;
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
	padding: 24px;
	z-index: 999999;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tlhd-cookie-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.tlhd-cookie-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(56, 189, 248, 0.12);
	color: var(--tlhd-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tlhd-cookie-icon svg {
	width: 20px;
	height: 20px;
}

.tlhd-cookie-title {
	font-size: 1.15rem !important;
	font-weight: 700 !important;
	margin: 0 !important;
	color: var(--wp--preset--color--contrast);
}

.tlhd-cookie-desc {
	font-size: 0.88rem !important;
	line-height: 1.55 !important;
	color: var(--tlhd-text-muted) !important;
	margin: 0 0 16px 0 !important;
}

/* Preferences Accordion */
.tlhd-cookie-prefs {
	border-top: 1px solid var(--tlhd-border);
	padding-top: 14px;
	margin-bottom: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tlhd-pref-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 8px 12px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--tlhd-border);
	border-radius: 8px;
}

.tlhd-pref-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.tlhd-pref-info strong {
	font-size: 0.85rem;
	color: var(--wp--preset--color--contrast);
}

.tlhd-pref-info span {
	font-size: 0.75rem;
	color: var(--tlhd-text-muted);
	line-height: 1.35;
}

/* Switch Toggles */
.tlhd-switch {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 22px;
	flex-shrink: 0;
}

.tlhd-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.tlhd-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--tlhd-border);
	transition: 0.25s;
	border-radius: 22px;
}

.tlhd-slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: 0.25s;
	border-radius: 50%;
}

.tlhd-switch input:checked + .tlhd-slider {
	background-color: var(--tlhd-accent);
}

.tlhd-switch input:checked + .tlhd-slider:before {
	transform: translateX(18px);
}

.tlhd-slider.disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* Action Buttons */
.tlhd-cookie-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.tlhd-btn {
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.tlhd-btn-primary {
	background: var(--tlhd-accent);
	color: #0f172a !important;
	font-weight: 700;
	flex: 1 1 auto;
}

.tlhd-btn-primary:hover {
	background: var(--tlhd-accent-hover);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.tlhd-btn-secondary {
	background: transparent;
	color: var(--wp--preset--color--contrast);
	border: 1px solid var(--tlhd-border);
	flex: 1 1 auto;
}

.tlhd-btn-secondary:hover {
	background: var(--tlhd-surface-hover);
	border-color: var(--tlhd-accent);
}

.tlhd-btn-tertiary {
	background: transparent;
	color: var(--tlhd-text-muted);
	border: 1px dashed var(--tlhd-border);
	width: 100%;
}

.tlhd-btn-tertiary:hover {
	color: var(--wp--preset--color--contrast);
	border-color: var(--tlhd-text-muted);
}

.tlhd-cookie-links {
	font-size: 0.75rem;
	color: var(--tlhd-text-muted);
	text-align: center;
}

.tlhd-cookie-links a {
	color: var(--tlhd-text-muted);
	text-decoration: underline;
}

.tlhd-cookie-links a:hover {
	color: var(--tlhd-accent);
}

@media only screen and (max-width: 600px) {
	.tlhd-cookie-banner {
		left: 12px;
		right: 12px;
		bottom: 12px;
		width: calc(100% - 24px);
		max-width: none;
		padding: 18px;
	}
}

/* ==========================================================================
   Author Bio Box (E-E-A-T Trust Signals)
   ========================================================================== */

.tlhd-author-box {
	background: var(--tlhd-surface);
	border: 1px solid var(--tlhd-border);
	border-radius: 14px;
	gap: 20px;
}

.tlhd-author-box img.avatar {
	border: 2px solid var(--tlhd-accent);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media only screen and (max-width: 600px) {
	.tlhd-author-box {
		flex-direction: column !important;
		text-align: center;
		padding: 20px 16px !important;
	}
}

/* ==========================================================================
   Article Social Share Bar (Brand Colors & Perfectly Fitted Single-Line)
   ========================================================================== */

.tlhd-share-container {
	margin: 32px 0 28px 0;
	padding: 10px 14px;
	background: var(--tlhd-surface);
	border: 1px solid var(--tlhd-border);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	overflow: hidden;
}

.tlhd-share-title {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--wp--preset--color--contrast);
	white-space: nowrap;
	flex-shrink: 0;
}

.tlhd-share-title svg {
	width: 16px;
	height: 16px;
	color: var(--tlhd-accent);
}

.tlhd-share-row {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: nowrap;
	flex: 1 1 auto;
	justify-content: flex-end;
	min-width: 0;
}

.tlhd-share-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 9px;
	border-radius: 7px;
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	border: 1px solid transparent;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.tlhd-share-item svg {
	width: 13px;
	height: 13px;
	flex-shrink: 0;
}

.tlhd-share-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	filter: brightness(1.08);
}

/* Service Provider Brand Colors */
.tlhd-share-x {
	background: #000000 !important;
	color: #ffffff !important;
	border-color: rgba(255, 255, 255, 0.22) !important;
}

.tlhd-share-x:hover {
	background: #171717 !important;
	border-color: rgba(255, 255, 255, 0.45) !important;
}

.tlhd-share-fb {
	background: #1877f2 !important;
	color: #ffffff !important;
	border-color: #1877f2 !important;
}

.tlhd-share-fb:hover {
	background: #166fe5 !important;
	border-color: #166fe5 !important;
}

.tlhd-share-wa {
	background: #25d366 !important;
	color: #ffffff !important;
	border-color: #25d366 !important;
}

.tlhd-share-wa:hover {
	background: #20bd5a !important;
	border-color: #20bd5a !important;
}

.tlhd-share-reddit {
	background: #ff4500 !important;
	color: #ffffff !important;
	border-color: #ff4500 !important;
}

.tlhd-share-reddit:hover {
	background: #e03d00 !important;
	border-color: #e03d00 !important;
}

.tlhd-share-li {
	background: #0a66c2 !important;
	color: #ffffff !important;
	border-color: #0a66c2 !important;
}

.tlhd-share-li:hover {
	background: #0856a4 !important;
	border-color: #0856a4 !important;
}

.tlhd-share-copy {
	background: #334155 !important;
	color: #f8fafc !important;
	border-color: #475569 !important;
}

.tlhd-share-copy:hover {
	background: var(--tlhd-accent) !important;
	color: #0f172a !important;
	border-color: var(--tlhd-accent) !important;
}

/* Mobile Responsive Share Grid */
@media only screen and (max-width: 680px) {
	.tlhd-share-container {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding: 12px 14px;
	}

	.tlhd-share-title {
		justify-content: flex-start;
		font-size: 0.88rem;
	}

	.tlhd-share-row {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
		width: 100%;
	}

	.tlhd-share-item {
		justify-content: center;
		padding: 9px 6px;
		font-size: 0.8rem;
		border-radius: 8px;
	}
}

@media only screen and (max-width: 380px) {
	.tlhd-share-row {
		grid-template-columns: repeat(3, 1fr);
		gap: 5px;
	}

	.tlhd-share-item {
		padding: 8px 3px;
		font-size: 0.74rem;
		gap: 3px;
	}

	.tlhd-share-item svg {
		width: 12px;
		height: 12px;
	}
}

/* ==========================================================================
   Previous / Next Story Navigation
   ========================================================================== */

.tlhd-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 36px 0;
}

.tlhd-nav-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	background: var(--tlhd-surface);
	border: 1px solid var(--tlhd-border);
	border-radius: 12px;
	text-decoration: none !important;
	transition: all 0.22s ease;
}

.tlhd-nav-item:hover {
	background: var(--tlhd-surface-hover);
	border-color: var(--tlhd-accent);
	transform: translateY(-2px);
}

.tlhd-nav-direction {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--tlhd-accent);
}

.tlhd-nav-title {
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--wp--preset--color--contrast);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tlhd-nav-next {
	text-align: right;
}

@media only screen and (max-width: 640px) {
	.tlhd-post-nav {
		grid-template-columns: 1fr;
	}
	.tlhd-nav-next {
		text-align: left;
	}
}

/* ==========================================================================
   Related Articles Grid
   ========================================================================== */

.tlhd-related-section {
	margin: 44px 0 32px 0;
}

.tlhd-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

@media only screen and (max-width: 820px) {
	.tlhd-related-grid {
		grid-template-columns: 1fr;
	}
}




