/* ==========================================================================
   Laser Review - General Stylesheet (Desktop & Base Layout)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Announcement Bar
   -------------------------------------------------------------------------- */
.top-announcement-bar {
	background-color: #d87524;
	color: #ffffff;
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 500;
	text-align: center;
	padding: 10px 40px 10px 20px;
	position: relative;
	letter-spacing: 0.3px;
	line-height: 1.4;
}

.top-announcement-bar a {
	color: #ffffff;
	text-decoration: underline;
	font-weight: 600;
}

.top-announcement-bar a:hover {
	color: #fff3e6;
}

.top-announcement-close {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #ffffff;
	font-size: 16px;
	cursor: pointer;
	padding: 0 5px;
	opacity: 0.8;
	line-height: 1;
	transition: opacity 0.2s ease;
}

.top-announcement-close:hover {
	opacity: 1;
}

/* --------------------------------------------------------------------------
   2. Main Header & Branding
   -------------------------------------------------------------------------- */
.site-header {
	background-color: #ffffff;
	border-bottom: 1px solid #f0f0f0;
	padding: 1.5em 0;
	position: relative;
	z-index: 100;
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-branding {
	display: flex;
	align-items: center;
}

.site-branding .custom-logo-link img,
.site-branding img.site-logo {
	height: auto;
	max-height: 54px;
	width: auto;
	max-width: 320px;
	display: block;
	transition: opacity 0.2s ease;
}

.site-branding a:hover img {
	opacity: 0.9;
}

/* --------------------------------------------------------------------------
   3. Main Navigation
   -------------------------------------------------------------------------- */
.menu-toggle,
.mobile-drawer-header,
.mobile-menu-backdrop {
	display: none !important; /* Hide mobile drawer elements on desktop view */
}

.main-navigation {
	display: flex;
	align-items: center;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation > div > ul > li {
	position: relative;
	margin-left: 28px;
}

.main-navigation > div > ul > li > a {
	font-family: var(--font-heading);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #454545;
	padding: 8px 0;
	display: inline-block;
	transition: color 0.2s ease;
}

.main-navigation > div > ul > li:hover > a,
.main-navigation > div > ul > li.current-menu-item > a,
.main-navigation > div > ul > li.current-menu-ancestor > a,
.main-navigation > div > ul > li.current-page-ancestor > a {
	color: #79c7da;
}

/* Submenu Indicator (+ REVIEWS, + GUIDES) */
.main-navigation > div > ul > li.menu-item-has-children > a::before {
	content: "+ ";
	color: #79c7da;
	font-weight: 600;
	margin-right: 2px;
}

/* Header Email Contact Icon */
.header-contact-icon {
	margin-left: 24px;
	display: inline-flex;
	align-items: center;
	color: #79c7da;
	transition: color 0.2s ease;
}

.header-contact-icon:hover {
	color: #51a1b5;
}

.header-contact-icon svg {
	width: 22px;
	height: 16px;
	fill: currentColor;
	vertical-align: middle;
}

/* --------------------------------------------------------------------------
   4. Dropdown Sub-menu (Hover State & Pointer Triangle - Live Site Match)
   -------------------------------------------------------------------------- */
.main-navigation ul ul {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background-color: #ffffff;
	min-width: 180px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	border: 1px solid #e8e8e8;
	border-radius: 0;
	padding: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, margin-top 0.2s ease;
	margin-top: 14px;
	z-index: 1000;
}

/* Pointer Triangle Top Arrow */
.main-navigation ul ul::before {
	content: "";
	position: absolute;
	top: -8px;
	left: 50%;
	transform: translateX(-50%);
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid #ffffff;
	z-index: 1001;
	transition: border-bottom-color 0.2s ease;
}

/* Pointer Triangle changes to dark charcoal if first dropdown item is hovered or active */
.main-navigation ul ul li:first-child:hover ~ ::before,
.main-navigation ul ul li:first-child.current-menu-item ~ ::before {
	border-bottom-color: #363636;
}

.main-navigation ul li:hover > ul {
	opacity: 1;
	visibility: visible;
	margin-top: 4px;
}

.main-navigation ul ul li {
	width: 100%;
	margin-left: 0;
	text-align: center;
	border-bottom: 1px solid #f0f0f0;
	background-color: #ffffff;
	transition: background-color 0.2s ease;
}

.main-navigation ul ul li:last-child {
	border-bottom: none;
}

.main-navigation ul ul a {
	font-family: var(--font-heading);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #454545;
	padding: 14px 18px;
	display: block;
	transition: background-color 0.2s ease, color 0.2s ease;
}

/* Dropdown Item Hover & Active State: Dark Charcoal Background (#363636) + White Text (#ffffff) */
.main-navigation ul ul li:hover,
.main-navigation ul ul li.current-menu-item,
.main-navigation ul ul li:hover > a,
.main-navigation ul ul li.current-menu-item > a {
	background-color: #363636 !important;
	color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   5. Secondary Sub-Navigation Bar (Child Page List Under Logo)
   -------------------------------------------------------------------------- */
.secondary-subnav-bar {
	background-color: #ffffff;
	border-bottom: 1px solid #f0f0f0;
	padding: 16px 0;
	text-align: center;
}

.secondary-subnav-bar ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.secondary-subnav-bar li {
	margin: 4px 22px;
}

.secondary-subnav-bar a {
	font-family: var(--font-heading);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #454545;
	transition: color 0.2s ease;
}

.secondary-subnav-bar a:hover,
.secondary-subnav-bar li.active-subnav-item a,
.secondary-subnav-bar li.current-page-item a,
.secondary-subnav-bar li.current-menu-item a {
	color: #79c7da;
}

/* --------------------------------------------------------------------------
   6. Gutenberg Block Layout (Full-Width vs Page-Width Constraint)
   -------------------------------------------------------------------------- */
html, body {
	overflow-x: hidden;
}

#page.site {
	overflow-x: hidden;
	width: 100%;
}

.site-content {
	width: 100%;
	padding-top: 2em;
	padding-bottom: 3em;
}

.entry-content {
	width: 100%;
}

/* Default Blocks inside .entry-content: Constrained to 1200px Page Width */
.entry-content > * {
	max-width: var(--container-max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--container-padding);
	padding-right: var(--container-padding);
}

/* Full Width Blocks: ONLY DIRECT CHILDREN of .entry-content Break out to 100% Full Viewport Width */
.entry-content > .alignfull {
	max-width: 100% !important;
	width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Wide Width Blocks (.alignwide): Extend to 1320px */
.entry-content > .alignwide {
	max-width: 1320px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: var(--container-padding) !important;
	padding-right: var(--container-padding) !important;
}

/* --------------------------------------------------------------------------
   7. Pre-Footer Callout & Global Footer (Matching Live Site)
   -------------------------------------------------------------------------- */
.footer-light-callout {
	background-color: #ffffff;
	padding: 3.5em 0;
	text-align: center;
}

.footer-light-callout .callout-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.footer-light-callout .callout-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background-color: #79c7da;
	color: #ffffff;
	border-radius: 50%;
	font-family: var(--font-heading);
	font-size: 30px;
	font-weight: 700;
	margin-right: 18px;
	flex-shrink: 0;
	line-height: 1;
}

.footer-light-callout .callout-text {
	font-family: var(--font-heading);
	font-size: 16px;
	color: #454545;
	font-weight: 600;
}

.footer-light-callout .quiz-link {
	color: #79c7da;
	text-decoration: underline;
	font-weight: 600;
	margin-right: 8px;
}

.footer-light-callout .quiz-link:hover {
	color: #51a1b5;
}

/* Main Dark Footer */
.site-footer {
	background-color: #2d2d2d;
	color: #ffffff;
	padding: 2.5em 0 1.5em 0;
}

.footer-quiz-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 2.5em;
}

.quiz-banner-left {
	display: flex;
	align-items: center;
}

.quiz-banner-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 2px solid #ffffff;
	color: #ffffff;
	border-radius: 50%;
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 700;
	margin-right: 14px;
	flex-shrink: 0;
	line-height: 1;
}

.quiz-banner-text {
	font-family: var(--font-heading);
	font-size: 15px;
	color: #ffffff;
}

.quiz-banner-text .quiz-link {
	color: #79c7da;
	text-decoration: underline;
	font-weight: 600;
	margin-right: 8px;
}

.quiz-banner-text .quiz-link:hover {
	color: #83b3be;
}

.quiz-banner-text .quiz-bold-label {
	font-weight: 700;
	color: #ffffff;
}

/* Start Quiz CTA Button */
.footer-quiz-btn {
	display: inline-block;
	background-color: #79c7da;
	color: #ffffff;
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	padding: 14px 34px;
	border-radius: 0;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
	line-height: 1;
}

.footer-quiz-btn:hover {
	background-color: #51a1b5;
	color: #ffffff;
}

/* Site Info / Credits */
.site-footer .site-info {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 1.5em;
	text-align: center;
	font-family: var(--font-heading);
	font-size: 12px;
	color: #888888;
}

.site-footer .site-info a {
	color: #79c7da;
	font-weight: 600;
	text-decoration: none;
}

.site-footer .site-info a:hover {
	color: #83b3be;
	text-decoration: underline;
}
