/* ==========================================================================
   Design System & Tokens
   ========================================================================== */

:root {
	/* Colors - From Theme Settings */
	--lucky-fg-primary: var(--lucky-setting-heading-color, #2a2a2a);
	--lucky-fg-secondary: var(--lucky-setting-text-color, #3f3f3f);

	--lucky-bg-base: var(--lucky-setting-site-background, #eeeeee);
	--lucky-bg-elevated: var(--lucky-setting-content-background, #ffffff);

	--lucky-bg-elevated-hover: var(--lucky-setting-content-hover-background, #f3f4f6);

	--lucky-brand-base: var(--lucky-setting-brand-color, #4cc9a4);
	--lucky-brand-strong: var(--lucky-setting-brand-strong, #3bb894);
	--lucky-content-link: var(--lucky-setting-content-link-color, #4cc9a4);
	--lucky-content-link-hover: var(--lucky-setting-content-link-hover-color, #3bb894);
	--lucky-border-strong: var(--lucky-setting-border-color, #e4e4e7);
	--lucky-border-subtle: var(--lucky-setting-border-color, #e4e4e7);
	--lucky-header-bg: var(--lucky-setting-header-background, #ffffff);
	--lucky-header-text: var(--lucky-setting-header-text-color, #333333);
	--lucky-header-nav: var(--lucky-setting-header-nav-color, #c45c4a);
	--lucky-header-nav-hover: var(--lucky-setting-header-nav-hover-color, #a34838);
	--lucky-header-dropdown-border: var(--lucky-setting-header-dropdown-border, #e4e4e7);
	--lucky-footer-bg: var(--lucky-setting-footer-background, #ffffff);
	--lucky-footer-text: var(--lucky-setting-footer-text-color, #555555);
	--lucky-footer-link: var(--lucky-setting-footer-link-color, #5b8fa8);
	--lucky-footer-link-hover: var(--lucky-setting-footer-link-hover-color, #3f6f86);
	--lucky-button-bg: var(--lucky-setting-button-background, #5b8fa8);
	--lucky-button-text: var(--lucky-setting-button-text-color, #ffffff);
	--lucky-button-bg-hover: var(--lucky-setting-button-hover-background, #3f6f86);
	--lucky-button-text-hover: var(--lucky-setting-button-hover-text-color, #ffffff);
	--lucky-font-sans: var(--lucky-setting-font-family-base, "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
	--lucky-font-heading: var(--lucky-setting-font-family-heading, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
	--lucky-font-weight-base: var(--lucky-setting-font-weight-base, 400);
	--lucky-base-font-size: var(--lucky-setting-font-size-base, 16px);
	--lucky-base-font-size-mobile: var(--lucky-setting-font-size-base-mobile, 15px);
	--lucky-h1-size: var(--lucky-setting-h1-size, 42px);
	--lucky-h2-size: var(--lucky-setting-h2-size, 34px);
	--lucky-h3-size: var(--lucky-setting-h3-size, 28px);
	--lucky-h4-size: var(--lucky-setting-h4-size, 24px);
	--lucky-h5-size: var(--lucky-setting-h5-size, 20px);
	--lucky-h6-size: var(--lucky-setting-h6-size, 18px);
	--lucky-base-font-size-tablet: var(--lucky-setting-font-size-base-tablet, 16px);
	--lucky-h1-size-tablet: var(--lucky-setting-h1-size-tablet, 36px);
	--lucky-h2-size-tablet: var(--lucky-setting-h2-size-tablet, 30px);
	--lucky-h3-size-tablet: var(--lucky-setting-h3-size-tablet, 24px);
	--lucky-h4-size-tablet: var(--lucky-setting-h4-size-tablet, 22px);
	--lucky-h5-size-tablet: var(--lucky-setting-h5-size-tablet, 18px);
	--lucky-h6-size-tablet: var(--lucky-setting-h6-size-tablet, 16px);
	--lucky-h1-size-mobile: var(--lucky-setting-h1-size-mobile, 32px);
	--lucky-h2-size-mobile: var(--lucky-setting-h2-size-mobile, 28px);
	--lucky-h3-size-mobile: var(--lucky-setting-h3-size-mobile, 24px);
	--lucky-h4-size-mobile: var(--lucky-setting-h4-size-mobile, 20px);
	--lucky-h5-size-mobile: var(--lucky-setting-h5-size-mobile, 18px);
	--lucky-h6-size-mobile: var(--lucky-setting-h6-size-mobile, 16px);
	--lucky-h1-weight: var(--lucky-setting-h1-weight, 700);
	--lucky-h2-weight: var(--lucky-setting-h2-weight, 700);
	--lucky-h3-weight: var(--lucky-setting-h3-weight, 700);
	--lucky-h4-weight: var(--lucky-setting-h4-weight, 700);
	--lucky-h5-weight: var(--lucky-setting-h5-weight, 700);
	--lucky-h6-weight: var(--lucky-setting-h6-weight, 700);
	--lucky-shadow-sm: 0 1px 2px 0 var(--lucky-setting-shadow-sm, rgba(75, 85, 99, 0.08));
	--lucky-shadow-md: 0 4px 6px -1px var(--lucky-setting-shadow-md, rgba(75, 85, 99, 0.14));
	--lucky-button-shadow-soft: 0 4px 6px -1px var(--lucky-setting-button-shadow-soft, rgba(59, 130, 246, 0.2));
	--lucky-button-shadow-strong: 0 10px 15px -3px var(--lucky-setting-button-shadow-strong, rgba(59, 130, 246, 0.32));

	/* Layout & Spacing - From Theme Settings */
	--lucky-container-max: var(--lucky-setting-container-width, 1200px);
	--radius-base: var(--lucky-setting-border-radius, 12px);
	--lucky-image-radius: var(--lucky-setting-image-border-radius, 8px);
	--lucky-border-soft: color-mix(in srgb, var(--lucky-border-strong) 65%, white);
	--archive-grid-cols: var(--lucky-archive-grid-cols, 2);

	/* Spacing */
	--lucky-space-1: 4px;
	--lucky-space-2: 8px;
	--lucky-space-3: 12px;
	--lucky-space-4: 16px;
	--lucky-space-5: 24px;
	--lucky-space-6: 32px;
	--lucky-space-8: 48px;
	--lucky-space-10: 64px;

	/* Layout */
	--lucky-container-padding: 24px;
	--lucky-header-height: 110px;

	/* Transitions */
	--lucky-transition-smooth: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--lucky-font-sans);
	font-size: var(--lucky-base-font-size);
	font-weight: var(--lucky-font-weight-base);
	background-color: #eeeeee;
	color: var(--lucky-fg-secondary);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--lucky-fg-primary);
	margin-top: 0;
	margin-bottom: 0;
	line-height: 1.25;
	font-family: var(--lucky-font-heading);
	letter-spacing: -0.01em;
}

h1 {
	font-size: var(--lucky-h1-size);
	font-weight: var(--lucky-h1-weight);
}

h2 {
	font-size: var(--lucky-h2-size);
	font-weight: var(--lucky-h2-weight);
}

h3 {
	font-size: var(--lucky-h3-size);
	font-weight: var(--lucky-h3-weight);
}

h4 {
	font-size: var(--lucky-h4-size);
	font-weight: var(--lucky-h4-weight);
}

h5 {
	font-size: var(--lucky-h5-size);
	font-weight: var(--lucky-h5-weight);
}

h6 {
	font-size: var(--lucky-h6-size);
	font-weight: var(--lucky-h6-weight);
}

@media screen and (max-width: 768px) {
	body {
		font-size: var(--lucky-base-font-size-mobile);
	}

	h1 {
		font-size: var(--lucky-h1-size-mobile);
	}

	h2 {
		font-size: var(--lucky-h2-size-mobile);
	}

	h3 {
		font-size: var(--lucky-h3-size-mobile);
	}

	h4 {
		font-size: var(--lucky-h4-size-mobile);
	}

	h5 {
		font-size: var(--lucky-h5-size-mobile);
	}

	h6 {
		font-size: var(--lucky-h6-size-mobile);
	}
}

a {
	color: var(--lucky-content-link);
	text-decoration: none;
	transition: color var(--lucky-transition-smooth);
}

a:hover {
	color: var(--lucky-content-link-hover);
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.button {
	background-color: var(--lucky-button-bg);
	color: var(--lucky-button-text);
	border: none;
	border-radius: 4px;
	padding: 12px 28px;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color var(--lucky-transition-smooth), color var(--lucky-transition-smooth);
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
.button:hover {
	background-color: var(--lucky-button-bg-hover);
	color: var(--lucky-button-text-hover);
}

img {
	max-width: 100%;
	height: auto;
}

/* ==========================================================================
   Layout Utils
   ========================================================================== */

.lucky-container {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 var(--lucky-container-padding);
}

.lucky-container--full {
	max-width: none;
	width: 100%;
}

.lucky-container--contained {
	max-width: var(--lucky-container-max);
}

@media screen and (max-width: 768px) {
	.lucky-container {
		padding: 0 16px;
	}
}

.lucky-screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   Header & Navigation — Crossroads Pharmacy
   ========================================================================== */

.cr-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	width: 100%;
	max-width: none;
	margin: 0;
	background: #ffffff;
	box-shadow: none;
	overflow-x: hidden;
}

.cr-site .lucky-container--contained {
	max-width: 1200px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.cr-site-content {
	flex: 1;
	background: transparent;
}

.cr-site-content > .lucky-container {
	background: #ffffff;
}

.cr-site-header {
	background: #ffffff;
	border-bottom: none;
	z-index: 100;
}

body.has-sticky-header .cr-site-header {
	position: sticky;
	top: 0;
}

.cr-header-top {
	background: #ffffff;
	border-bottom: none;
}

.cr-header-top-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 16px 20px 14px;
}

.cr-header-branding {
	display: flex;
	align-items: center;
	gap: 28px;
	min-width: 0;
	flex: 1;
}

.cr-header-logo-primary {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.cr-logo-link {
	display: block;
	line-height: 0;
	text-decoration: none;
}

.cr-logo {
	display: block;
	height: auto;
	max-width: 100%;
	object-fit: contain;
}

.cr-logo-primary {
	width: var(--lucky-setting-logo-width, 280px);
}

.cr-logo-text {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	line-height: 1;
	position: relative;
}

.cr-logo-mark {
	position: relative;
	display: flex;
	align-items: center;
	flex-shrink: 0;
	width: 56px;
	height: 56px;
}

.cr-logo-mark-svg {
	display: block;
	position: relative;
	z-index: 1;
}

.cr-logo-swoosh {
	position: absolute;
	left: 42px;
	bottom: 10px;
	width: 220px;
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(91, 130, 206, 0.85) 0%, rgba(91, 130, 206, 0.35) 45%, rgba(91, 130, 206, 0) 100%);
	pointer-events: none;
	z-index: 0;
}

.cr-logo-text-stack {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	z-index: 1;
	line-height: 1.05;
	padding-top: 2px;
}

.cr-logo-text-main {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 2.15rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #5b82ce;
	white-space: nowrap;
}

.cr-logo-text-sub {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: 0.42em;
	text-indent: 0.08em;
	color: #1e3a6e;
	margin-top: 2px;
	white-space: nowrap;
}

.cr-site-title {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	color: #5b82ce;
}

.cr-site-title a {
	color: inherit;
	text-decoration: none;
}

.cr-header-contact {
	flex-shrink: 0;
	text-align: right;
}

.cr-header-phone {
	display: block;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.35rem;
	font-weight: 700;
	color: #1e3a6e;
	text-decoration: none;
	line-height: 1.2;
}

.cr-header-phone:hover {
	color: #5b82ce;
}

.cr-header-address {
	margin: 4px 0 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8rem;
	font-weight: 400;
	color: #1e3a6e;
	line-height: 1.35;
	white-space: nowrap;
}

.cr-header-nav-bar {
	background: #ffffff;
	padding: 12px 0;
}

.cr-header-nav-inner {
	position: relative;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	width: 100%;
	max-width: none;
	margin: 0;
	min-height: 40px;
	padding: 0;
	background: #5b82ce;
}

.cr-menu-toggle.lucky-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
	z-index: 5;
	box-shadow: none;
	text-transform: none;
}

.cr-menu-toggle.lucky-menu-toggle:hover,
.cr-menu-toggle.lucky-menu-toggle:focus {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

.lucky-menu-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background-color: currentColor;
	border-radius: 1px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.lucky-menu-toggle[aria-expanded="true"] .lucky-menu-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
figure {
    display: table;
    margin: 0 auto !important;
}

.lucky-menu-toggle[aria-expanded="true"] .lucky-menu-toggle-bar:nth-child(2) {
	opacity: 0;
}

.lucky-menu-toggle[aria-expanded="true"] .lucky-menu-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.cr-main-navigation.lucky-main-navigation {
	display: flex;
}

.cr-menu-list.lucky-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	align-items: stretch;
	justify-content: stretch;
	width: 100%;
}

.cr-menu-list.lucky-menu-list li {
	position: relative;
}

.cr-menu-list.lucky-menu-list > li {
	display: flex;
	align-items: stretch;
	flex: 1 1 0;
	min-width: 0;
	border-right: 1px dotted rgba(255, 255, 255, 0.95);
}

.cr-menu-list.lucky-menu-list > li:last-child {
	border-right: none;
}

.cr-menu-list.lucky-menu-list > li::after {
	display: none;
}

.cr-menu-list.lucky-menu-list > li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	color: #ffffff;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 0.8125rem;
	letter-spacing: 0.01em;
	text-transform: none;
	padding: 11px 8px;
	text-decoration: none;
	text-align: center;
	transition: background-color 0.15s ease, color 0.15s ease;
	white-space: nowrap;
}

.cr-menu-list.lucky-menu-list > li > a:hover,
.cr-menu-list.lucky-menu-list > li > a:focus {
	color: #ffffff;
	background: rgba(0, 0, 0, 0.08);
}

.cr-menu-list.lucky-menu-list .current-menu-item > a,
.cr-menu-list.lucky-menu-list .current_page_item > a,
.cr-menu-list.lucky-menu-list .current-menu-ancestor > a {
	color: #ffffff;
	background: rgba(0, 0, 0, 0.1);
}

.cr-menu-list.lucky-menu-list li.menu-item-has-children > a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.cr-menu-list.lucky-menu-list > li.menu-item-has-children > a::after {
	content: '';
	display: block;
	width: 5px;
	height: 5px;
	flex-shrink: 0;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.65;
	margin-top: -2px;
}

.cr-menu-list.lucky-menu-list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 10px 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: #ffffff;
	border: 1px solid #d8d8d8;
	border-radius: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.14s ease, visibility 0.14s;
	z-index: 1000;
}

.cr-menu-list.lucky-menu-list > li.menu-item-has-children:hover > .sub-menu,
.cr-menu-list.lucky-menu-list > li.menu-item-has-children.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.cr-menu-list.lucky-menu-list .sub-menu a {
	display: block;
	padding: 9px 20px;
	font-size: 0.875rem;
	font-weight: 400;
	color: #333333;
	text-decoration: none;
	white-space: nowrap;
	text-align: left;
	justify-content: flex-start;
}

.cr-menu-list.lucky-menu-list .sub-menu a:hover {
	color: #5b82ce;
}

@media screen and (max-width: 991px) {
	.cr-header-top-inner {
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
		padding: 14px 16px;
	}

	.cr-header-branding {
		flex-direction: column;
		gap: 14px;
		justify-content: center;
	}

	.cr-logo-text {
		justify-content: center;
	}

	.cr-logo-swoosh {
		width: 180px;
	}

	.cr-header-contact {
		width: 100%;
		text-align: center;
	}

	.cr-header-address {
		white-space: normal;
	}

	.cr-header-nav-bar {
		padding: 8px 0;
	}

	.cr-header-nav-inner {
		justify-content: flex-start;
		align-items: center;
		min-height: 48px;
		padding: 0 12px;
	}

	.cr-menu-toggle.lucky-menu-toggle {
		display: inline-flex;
	}

	.cr-main-navigation.lucky-main-navigation {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: 100%;
		background: #872fad;
		border-top: 1px solid rgba(255, 255, 255, 0.15);
		padding: 8px 0 12px;
		z-index: 150;
	}

	.cr-site-header.is-nav-open .cr-main-navigation.lucky-main-navigation {
		display: block;
	}

	.cr-menu-list.lucky-menu-list {
		flex-direction: column;
		flex-wrap: wrap;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		padding: 0 16px;
	}

	.cr-menu-list.lucky-menu-list > li {
		width: 100%;
		flex: none;
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	}

	.cr-menu-list.lucky-menu-list > li:last-child {
		border-bottom: none;
		border-right: none;
	}

	.cr-menu-list.lucky-menu-list > li > a {
		justify-content: flex-start;
		padding: 14px 0;
		font-size: 0.95rem;
		white-space: normal;
		text-align: left;
	}

	.cr-menu-list.lucky-menu-list .sub-menu {
		position: static;
		display: none;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		box-shadow: none;
		border: none;
		background: rgba(0, 0, 0, 0.08);
		padding: 0 0 8px 14px;
	}

	.cr-menu-list.lucky-menu-list > li.menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	.cr-menu-list.lucky-menu-list .sub-menu a {
		color: #ffffff;
		padding: 10px 0;
	}

	.cr-logo-primary {
		width: var(--lucky-setting-logo-width-tablet, 220px);
	}
}

@media screen and (max-width: 767px) {
	.cr-logo-primary {
		width: var(--lucky-setting-logo-width-mobile, 180px);
	}

	.cr-logo-text-main {
		font-size: 1.65rem;
	}

	.cr-logo-text-sub {
		font-size: 0.8rem;
		letter-spacing: 0.32em;
	}

	.cr-logo-mark {
		width: 44px;
		height: 44px;
	}

	.cr-logo-mark-svg {
		width: 44px;
		height: 44px;
	}

	.cr-logo-swoosh {
		left: 34px;
		bottom: 8px;
		width: 140px;
		height: 6px;
	}

	.cr-header-phone {
		font-size: 1.15rem;
	}

	.cr-header-address {
		font-size: 0.75rem;
	}
}

.lucky-site-header {
	background-color: #ffffff;
	border-bottom: none;
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */

.lucky-site-main {
	padding-top: 0;
	padding-bottom: 0;
	max-width: 1200px;
	margin: 0 auto;
}

body.lucky-entry-width-full .lucky-entry-content,
body.lucky-entry-width-full .lucky-entry-header {
	max-width: none;
}

/* Page content sits flush in the 960px white column so author HTML/CSS can match the static site */
.cr-site .lucky-site-main > .lucky-container {
	padding-left: 0;
	padding-right: 0;
}

/* Posts and inner pages get breathing room; front page stays flush for full-bleed layouts */
body.single .lucky-site-main > .lucky-container,
body.page:not(.home):not(.front-page) .lucky-site-main > .lucky-container,
body.archive .lucky-site-main > .lucky-container,
body.search .lucky-site-main > .lucky-container,
body.error404 .lucky-site-main > .lucky-container {
	padding: 20px 24px 32px;
}

body.single .lucky-entry-header,
body.page:not(.home):not(.front-page) .lucky-entry-header {
	margin-bottom: 16px;
}

@media screen and (max-width: 768px) {
	.lucky-site-main {
		padding-top: 0;
		padding-bottom: 0;
		overflow-x: hidden;
	}
}

.lucky-post-article {
	background-color: var(--lucky-bg-elevated);
	border: 1px solid var(--lucky-border-strong);
	border-radius: var(--radius-base);
	padding: var(--lucky-space-6);
	margin-bottom: var(--lucky-space-6);
	box-shadow: var(--lucky-shadow-sm);
	transition: background var(--lucky-transition-smooth);
}

.lucky-post-article:hover {
	background: var(--lucky-setting-content-hover-background);
}

.archive .site-main>article,
.tax-category .site-main>article,
.tax-post_tag .site-main>article,
.taxonomy .site-main>article {
	background-color: var(--lucky-bg-elevated);
	border: 1px solid var(--lucky-border-strong);
	border-radius: var(--radius-base);
	padding: var(--lucky-space-5);
	margin-bottom: var(--lucky-space-5);
	transition: background var(--lucky-transition-smooth);
}

.archive .site-main>article:hover,
.tax-category .site-main>article:hover,
.tax-post_tag .site-main>article:hover,
.taxonomy .site-main>article:hover {
	background: var(--lucky-setting-content-hover-background);
}

.lucky-entry-title {
	font-size: var(--lucky-h1-size);
	font-weight: 800;
	margin-bottom: 12px;
	color: var(--lucky-fg-primary);
	letter-spacing: -0.01em;
}

/* Keep theme typography light — do not override author/inline layout CSS */
.lucky-entry-content {
	color: inherit;
	line-height: inherit;
	overflow-x: hidden;
	max-width: 100%;
}

.lucky-entry-content::after {
	content: "";
	display: table;
	clear: both;
}

.lucky-entry-content img {
	max-width: 100%;
	height: auto;
}

/* Only style Gutenberg/toplist tables — bare layout tables keep author styles */
.lucky-entry-content .wp-block-table,
.lucky-entry-content .lucky-table-scroll {
	width: 100%;
	max-width: 100%;
	margin: var(--lucky-space-5) 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--lucky-border-strong);
	border-radius: var(--radius-base);
	background: var(--lucky-bg-base);
	box-shadow: var(--lucky-shadow-sm);
}

.lucky-entry-content .wp-block-table table,
.lucky-entry-content .lucky-table-scroll table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border-spacing: 0;
	background: transparent;
}

.lucky-entry-content .wp-block-table th,
.lucky-entry-content .wp-block-table td,
.lucky-entry-content .lucky-table-scroll th,
.lucky-entry-content .lucky-table-scroll td {
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid var(--lucky-border-strong);
	text-align: left;
	vertical-align: top;
	word-break: break-word;
	background: transparent;
	font-weight: 500;
	color: var(--lucky-fg-primary);
}

.lucky-entry-content .wp-block-table th + th,
.lucky-entry-content .wp-block-table td + td,
.lucky-entry-content .lucky-table-scroll th + th,
.lucky-entry-content .lucky-table-scroll td + td {
	border-left: 1px solid color-mix(in srgb, var(--lucky-border-strong) 70%, white);
}

.lucky-entry-content .wp-block-table thead th,
.lucky-entry-content .wp-block-table thead td,
.lucky-entry-content .lucky-table-scroll thead th,
.lucky-entry-content .lucky-table-scroll thead td {
	background: color-mix(in srgb, var(--lucky-bg-elevated) 85%, white);
	color: var(--lucky-fg-primary);
	font-weight: 700;
	border-top: 0;
}

.lucky-entry-content .wp-block-table tbody tr:last-child td,
.lucky-entry-content .wp-block-table tbody tr:last-child th,
.lucky-entry-content .lucky-table-scroll tbody tr:last-child td,
.lucky-entry-content .lucky-table-scroll tbody tr:last-child th {
	border-bottom: 0;
}

@media (max-width: 768px) {
	.lucky-entry-content .wp-block-table,
	.lucky-entry-content .lucky-table-scroll {
		border-radius: 8px;
	}

	.lucky-entry-content .wp-block-table th,
	.lucky-entry-content .wp-block-table td,
	.lucky-entry-content .lucky-table-scroll th,
	.lucky-entry-content .lucky-table-scroll td {
		padding: 11px 12px;
		font-size: 0.875rem;
	}
}

/* Author & Meta Area — Game Vault byline */
.inside-article {
	width: 100%;
}

.inside-article .lucky-author-meta,
.inside-article .gv-author-meta {
	margin-top: 0;
}

.lucky-author-meta,
.gv-author-meta {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 16px;
}

.lucky-author-photo {
	display: none;
}

.lucky-author-details {
	display: contents;
}

.lucky-meta-sep {
	display: none;
}

.gv-author-meta .lucky-author-date,
.gv-author-meta .gv-author-by {
	font-weight: 400;
	font-size: 0.9375rem;
	color: #888888;
	font-family: Arial, Helvetica, sans-serif;
}

.gv-author-meta .lucky-meta-author-name {
	font-weight: 400;
	font-size: 0.9375rem;
	color: #8b4513;
	text-decoration: underline;
	text-underline-offset: 2px;
	font-family: Arial, Helvetica, sans-serif;
}

.gv-author-meta .lucky-meta-author-name:hover {
	color: #6b3410;
}

.lucky-meta-author-name {
	font-weight: 400;
	color: #8b4513;
	font-size: 0.9375rem;
	text-decoration: underline;
}

.lucky-author-date {
	font-weight: 400;
	font-size: 0.9375rem;
	color: #888888;
}

@media screen and (max-width: 768px) {
	.lucky-author-meta,
	.gv-author-meta {
		gap: 6px;
		margin-bottom: 12px;
	}

	.lucky-author-details {
		flex-direction: row;
		align-items: baseline;
		gap: 6px;
	}

	.lucky-meta-author-name {
		font-size: 0.875rem;
		line-height: 1.3;
	}

	.lucky-author-date {
		font-size: 0.875rem;
		line-height: 1.3;
	}
}

/* Show More/Less Container */
.lucky-intro-text {
	margin-bottom: 24px;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--lucky-fg-secondary);
	position: relative;
}

.lucky-intro-content.is-clamped {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-height: 6em;
	/* fallback: 4 lines × 1.5 line-height */
}

.lucky-intro-content.is-clamped+.lucky-intro-fade {
	display: block;
}

.lucky-intro-fade {
	display: none;
	height: 40px;
	margin-top: -40px;
	background: linear-gradient(to top, var(--lucky-bg-base), transparent);
	pointer-events: none;
	position: relative;
	z-index: 1;
}

.lucky-intro-content p {
	margin: 0 0 var(--lucky-space-3) 0;
	line-height: 1.5;
}

.lucky-intro-content p:last-child {
	margin-bottom: 0;
}



.lucky-expand-trigger {
	margin-top: var(--lucky-space-2);
	font-weight: 600;
	color: var(--lucky-fg-primary);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	text-transform: none;
	letter-spacing: 0;
	background: none;
	border: none;
	padding: 0;
	position: relative;
	z-index: 2;
	opacity: 0.7;
}

.lucky-expand-trigger:hover {
	background: none;
	border: none;
	color: var(--lucky-fg-primary);
	opacity: 0.7;
	text-decoration: none;
}

.lucky-expand-trigger:focus,
.lucky-expand-trigger:focus-visible {
	background: none;
	border: none;
	color: var(--lucky-fg-primary);
	text-decoration: none;
}

@media (max-width: 768px) {
	.lucky-expand-trigger {
		font-size: 12px;
	}
}

/* ==========================================================================
   Modern Listicle / Toplist (Competitor Style)
   ========================================================================== */

.lucky-toplist__wrapper {
	margin: var(--lucky-space-6) 0;
}

.lucky-toplist__offers {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.lucky-toplist__offer {
	background: var(--lucky-bg-base);
	border: 1px solid var(--lucky-border-strong);
	border-radius: var(--radius-base);
	padding: 16px 20px;
	display: grid;
	grid-template-columns: 120px 100px 1fr 180px;
	align-items: center;
	gap: 20px;
	transition: background var(--lucky-transition-smooth), transform var(--lucky-transition-smooth);
}

.lucky-toplist__offer:hover {
	background: var(--lucky-bg-elevated-hover);
}

.lucky-toplist__offer-logo-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.lucky-toplist__offer-logo img {
	width: 120px;
	height: 48px;
	object-fit: contain;
	display: block;
	border-radius: 6px;
	background-color: transparent;
}

.lucky-toplist__offer-rating {
	display: flex;
	align-items: center;
	justify-content: center;
}

.star_rating_img {
	width: 80px;
	height: 16px;
	object-fit: contain;
	margin: 0;
	padding: 0;
}

.lucky-toplist__offer-title {
	color: var(--lucky-fg-primary);
	font-size: 1.125rem;
	font-weight: 700;
}

.lucky-toplist__offer-title p {
	margin: 0;
	line-height: 1.4;
}

.lucky-toplist__offer-cta-btn {
	background-color: var(--lucky-button-bg);
	color: var(--lucky-button-text);
	font-weight: 800;
	font-size: 0.9rem;
	text-transform: uppercase;
	padding: 12px 20px;
	border-radius: 8px;
	text-align: center;
	transition: all 0.2s ease;
	box-shadow: var(--lucky-button-shadow-soft);
}

.lucky-toplist__offer-cta-btn:hover {
	background-color: var(--lucky-button-bg-hover);
	color: var(--lucky-button-text-hover);
	box-shadow: var(--lucky-button-shadow-strong);
}

/* Listicle Style 2: Circular Modern Style */
.lucky-listicle-style-2 .lucky-toplist__offers {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.lucky-listicle-style-2 .lucky-toplist__offer {
	border: none;
	background: var(--lucky-bg-elevated);
	border-radius: 40px;
	box-shadow: var(--lucky-shadow-md);
	padding: 10px 20px 10px 10px;
	grid-template-columns: 80px 100px 1fr 180px;
	gap: 16px;
	align-items: center;
}

.lucky-listicle-style-2 .lucky-toplist__offer-logo img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	border-radius: 50%;
	background-color: var(--lucky-bg-base);
	box-shadow: inset 0 0 0 1px var(--lucky-border-soft);
}

.lucky-listicle-style-2 .lucky-toplist__offer-cta-btn {
	border-radius: 50px;
}

.lucky-listicle-style-3 .lucky-toplist__offer {
	border: 1px solid var(--lucky-border-strong);
	border-bottom: 3px solid var(--lucky-border-strong);
	border-left: 4px solid var(--lucky-brand-base);
	border-radius: 4px;
	background: transparent;
	box-shadow: none;
	padding: 16px 20px;
}

.lucky-listicle-style-3 .lucky-toplist__offer:hover {
	background: var(--lucky-bg-elevated);
	border-bottom-color: var(--lucky-brand-base);
}

.lucky-listicle-style-3 .lucky-toplist__offer-rating {
	align-items: flex-start;
	justify-content: flex-start;
}

.lucky-listicle-style-3 .lucky-toplist__offer-logo img {
	border-radius: 0;
}

.lucky-listicle-style-3 .lucky-toplist__offer-cta-btn {
	border-radius: 0;
}

@media (max-width: 768px) {
	.lucky-entry-title {
		font-size: var(--lucky-h1-size-mobile);
	}

	.lucky-toplist__offer {
		grid-template-columns: 90px 1fr;
		grid-template-areas:
			"logo title"
			"rating title"
			"cta cta";
		padding: 16px;
		column-gap: 16px;
		row-gap: 8px;
		text-align: left;
		align-items: center;
	}

	.lucky-listicle-style-2 .lucky-toplist__offer {
		grid-template-columns: 70px 1fr;
		padding: 12px 16px 12px 12px;
		border-radius: 20px;
	}

	.lucky-toplist__offer-logo-wrapper {
		grid-area: logo;
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
	}

	.lucky-toplist__offer-logo img {
		width: 100%;
		max-width: 90px;
		height: 40px;
		margin-bottom: 2px;
	}

	.lucky-listicle-style-2 .lucky-toplist__offer-logo img {
		width: 56px;
		height: 56px;
	}

	.lucky-toplist__offer-rating {
		grid-area: rating;
		display: flex;
		justify-content: flex-start;
		width: 100%;
		margin-top: 0;
	}

	.lucky-toplist__offer-rating img {
		width: 70px;
		height: auto;
	}

	.lucky-toplist__offer-title {
		grid-area: title;
		align-self: center;
	}

	.lucky-toplist__offer-title p {
		font-size: 1rem;
		font-weight: 700;
		line-height: 1.3;
	}

	.lucky-toplist__offer-cta-btn {
		grid-area: cta;
		width: 100%;
		margin-top: 8px;
		padding: 12px;
		font-size: 0.9375rem;
		font-weight: 800;
	}
}

/* Refine logo shape per listicle style */
.lucky-listicle-style-1 .lucky-toplist__offer {
	grid-template-columns: 136px 100px 1fr 180px;
}

.lucky-listicle-style-1 .lucky-toplist__offer-logo {
	display: block;
	width: 132px;
	height: 56px;
	overflow: hidden;
	border-radius: 10px;
	background: var(--lucky-bg-base);
	box-shadow: inset 0 0 0 1px var(--lucky-border-soft);
}

.lucky-listicle-style-1 .lucky-toplist__offer-logo img {
	width: 100%;
	height: 100%;
	padding: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	object-fit: cover;
}

.lucky-listicle-style-3 .lucky-toplist__offer {
	grid-template-columns: 88px 100px 1fr 180px;
}

.lucky-listicle-style-3 .lucky-toplist__offer-logo img {
	width: 68px;
	height: 68px;
	border-radius: 0;
	background: var(--lucky-bg-base);
	box-shadow: inset 0 0 0 1px var(--lucky-border-soft);
}

@media (max-width: 768px) {
	.lucky-listicle-style-1 .lucky-toplist__offer,
	.lucky-listicle-style-3 .lucky-toplist__offer {
		grid-template-columns: 90px 1fr;
	}

	.lucky-listicle-style-1 .lucky-toplist__offer-logo {
		width: 104px;
		height: 48px;
	}

	.lucky-listicle-style-1 .lucky-toplist__offer-logo img {
		max-width: none;
		height: 100%;
	}

	.lucky-listicle-style-3 .lucky-toplist__offer-logo img {
		width: 56px;
		height: 56px;
	}
}

/* ==========================================================================
   Footer — Little Neck Drugstore
   ========================================================================== */

.cr-site-footer {
	background: #ffffff;
	border-top: none;
	padding: 0;
	margin-top: auto;
}

.cr-footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 48px 20px 40px;
	gap: 36px;
}

.cr-footer-navigation {
	display: flex;
	justify-content: center;
	width: 100%;
}

.cr-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0;
}

.cr-footer-menu > li {
	display: flex;
	align-items: center;
}

.cr-footer-menu > li:not(:last-child)::after {
	content: '|';
	color: #555555;
	padding: 0 0.55rem;
	font-weight: 400;
	font-size: 0.8125rem;
	line-height: 1;
}

.cr-footer-menu > li > a {
	display: block;
	color: #333333;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8125rem;
	font-weight: 400;
	text-decoration: underline;
	padding: 2px 0;
	transition: color 0.15s ease;
}

.cr-footer-menu > li > a:hover,
.cr-footer-menu > li > a:focus {
	color: #5b82ce;
}

.cr-footer-menu .current-menu-item > a,
.cr-footer-menu .current_page_item > a {
	color: #5b82ce;
}

.cr-footer-legal {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.cr-footer-copyright,
.cr-footer-powered {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.6875rem;
	font-weight: 400;
	color: #888888;
	letter-spacing: 0.01em;
	line-height: 1.4;
}

@media screen and (max-width: 767px) {
	.cr-footer-inner {
		padding: 36px 16px 32px;
		gap: 28px;
	}

	.cr-footer-menu {
		flex-direction: column;
		gap: 8px;
	}

	.cr-footer-menu > li:not(:last-child)::after {
		display: none;
	}
}

/* ==========================================================================
   Author Archive Page Redesign
   ========================================================================== */

.lucky-author-page .lucky-container--contained {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}

.lucky-author-page .lucky-breadcrumb-inner {
	justify-content: center;
	text-align: center;
}

.lucky-author-archive-wrap {
	padding-top: 12px;
}

.lucky-author-page .lucky-author-main-layout {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	max-width: 860px;
	margin: 0 auto;
}

.lucky-author-page .lucky-author-main-column,
.lucky-author-page .lucky-author-sidebar {
	width: 100%;
}

.lucky-author-page .lucky-author-profile-grid {
	justify-content: center;
	flex-direction: column;
	text-align: center;
}

.lucky-author-page .lucky-author-info-stack {
	align-items: center;
}

.lucky-author-page .lucky-author-bio-refined {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.lucky-author-page .lucky-archive-title-section {
	text-align: center;
}

.lucky-author-page .lucky-sidebar-widget-refined {
	position: static;
	text-align: center;
}

.lucky-author-page .lucky-sidebar-authors-list {
	align-items: center;
}

.lucky-author-page .lucky-sidebar-author-item {
	justify-content: center;
	text-align: left;
	max-width: 360px;
	margin: 0 auto;
}

.lucky-author-page .lucky-pagination-nav {
	justify-content: center;
}

/* Breadcrumb Styling Refined */
.lucky-breadcrumb-nav {
	margin-bottom: 24px;
	font-size: 0.9375rem;
	font-weight: 500;
}

.lucky-entry-breadcrumb {
	margin-bottom: 12px;
	font-size: 0.875rem;
	font-weight: 400;
}

.lucky-breadcrumb-inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.lucky-breadcrumb-home,
.lucky-breadcrumb-category {
	color: var(--lucky-fg-secondary);
	text-decoration: none;
}

.lucky-breadcrumb-home:hover,
.lucky-breadcrumb-category:hover {
	color: var(--lucky-brand-base);
}

.lucky-breadcrumb-separator {
	color: var(--lucky-fg-secondary);
	display: inline-flex;
	align-items: center;
	opacity: 0.7;
}

.lucky-breadcrumb-current {
	color: var(--lucky-fg-secondary);
}

/* Author Header Refined */
.lucky-author-header-refined {
	margin-bottom: 48px;
}

.lucky-author-profile-grid {
	display: flex;
	align-items: center;
	gap: 32px;
}

.lucky-author-avatar-big img {
	width: 180px;
	height: 180px;
	border-radius: 12px;
	object-fit: cover;
	background: var(--lucky-bg-elevated);
}

.lucky-author-info-stack {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.lucky-author-name {
	font-size: 2.75rem;
	font-weight: 800;
	margin: 0;
	color: var(--lucky-fg-primary);
	line-height: 1;
}

h6 {
	font-family: var(--lucky-font-heading);
	color: var(--lucky-fg-primary);
	line-height: 1.2;
	margin: 0;
}

@media screen and (max-width: 1024px) {
	body {
		font-size: var(--lucky-base-font-size-tablet);
	}

	h1 {
		font-size: var(--lucky-h1-size-tablet);
	}

	h2 {
		font-size: var(--lucky-h2-size-tablet);
	}

	h3 {
		font-size: var(--lucky-h3-size-tablet);
	}

	h4 {
		font-size: var(--lucky-h4-size-tablet);
	}

	h5 {
		font-size: var(--lucky-h5-size-tablet);
	}

	h6 {
		font-size: var(--lucky-h6-size-tablet);
	}
}

.lucky-author-role {
	font-size: 1rem;
	color: var(--lucky-fg-secondary);
	font-weight: 500;
}

.lucky-author-badge-row {
	margin-top: 4px;
}

.lucky-articles-counter {
	display: inline-flex;
	align-items: center;
	background: var(--lucky-bg-elevated);
	color: var(--lucky-fg-primary);
	font-weight: 700;
	font-size: 0.8125rem;
	padding: 6px 16px;
	border-radius: 8px;
}

.lucky-author-bio-refined {
	margin-top: 32px;
	max-width: 100%;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--lucky-fg-secondary);
}

/* Main Layout — centered single column */
.lucky-author-main-layout {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	max-width: 860px;
	margin: 0 auto;
}

@media screen and (max-width: 992px) {
	.lucky-author-main-layout {
		gap: 32px;
	}
}

.lucky-archive-title-section {
	font-size: 2.25rem;
	font-weight: 800;
	margin-top: 16px;
	margin-bottom: 32px;
	color: var(--lucky-fg-primary);
}

.lucky-toplist-title {
	margin-bottom: var(--lucky-space-5);
}

/* Article Cards Grid */
.lucky-post-cards-grid {
	display: grid;
	grid-template-columns: repeat(var(--archive-grid-cols), 1fr);
	gap: 20px;
}

.lucky-post-cards-grid.is-list-layout {
	grid-template-columns: 1fr;
}

.lucky-post-cards-grid.is-list-layout .lucky-article-card-minimal {
	padding: 28px;
}

.lucky-post-cards-grid.has-columns-1 {
	grid-template-columns: 1fr;
}

.lucky-post-cards-grid.has-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.lucky-post-cards-grid.has-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.lucky-article-card-minimal {
	display: block;
	background: var(--lucky-bg-elevated);
	border-radius: 12px;
	padding: 32px;
	height: 100%;
	text-decoration: none;
	border: 1px solid var(--lucky-border-subtle);
	transition: background 0.2s ease, border-color 0.2s ease;
}

.lucky-article-card-minimal:hover {
	background: var(--lucky-bg-elevated-hover);
}

.lucky-article-card-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.lucky-article-title {
	font-size: 1.5rem;
	font-weight: 800;
	margin: 0 0 16px 0;
	color: var(--lucky-fg-primary);
	line-height: 1.25;
}

.lucky-article-excerpt {
	font-size: 1rem;
	line-height: 1.4;
	color: var(--lucky-fg-secondary);
	margin-bottom: 24px;
	flex: 1;
}

.lucky-article-footer-meta {
	margin-top: auto;
	font-size: 0.8125rem;
	color: var(--lucky-fg-secondary);
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
}

.lucky-meta-dot {
	opacity: 0.5;
}

/* Refined Sidebar Widget */
.lucky-sidebar-widget-refined {
	position: sticky;
	top: 40px;
}

.lucky-sidebar-widget-refined .lucky-widget-title {
	font-size: 1.5rem;
	font-weight: 800;
	margin-bottom: 12px;
	color: var(--lucky-fg-primary);
}

.lucky-sidebar-authors-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.lucky-sidebar-author-item {
	display: flex;
	align-items: center;
	gap: 16px;
	text-decoration: none;
	padding: 12px;
	border-radius: 12px;
	transition: background 0.2s;
}

.lucky-sidebar-author-item:hover {
	background: var(--lucky-bg-elevated);
}

.lucky-sidebar-author-item.is-active {
	background: var(--lucky-bg-elevated);
}

.lucky-sidebar-avatar-small img {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	object-fit: cover;
	background: var(--lucky-bg-elevated);
}

.lucky-sidebar-details {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.lucky-sidebar-name {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 800;
	color: var(--lucky-fg-primary);
}

.lucky-sidebar-meta-stack {
	display: flex;
	flex-direction: column;
}

.lucky-sidebar-role-meta {
	margin: 0;
	font-size: 0.75rem;
	color: var(--lucky-fg-secondary);
	font-weight: 500;
}

.lucky-sidebar-count-meta {
	margin: 0;
	font-size: 0.75rem;
	color: var(--lucky-fg-secondary);
}

/* Pagination Refined */
.lucky-pagination-nav {
	grid-column: 1 / -1;
	margin-top: 40px;
	display: flex;
	justify-content: flex-start;
	gap: 12px;
}

.lucky-pagination-nav .page-numbers {
	padding: 8px 16px;
	background: var(--lucky-bg-elevated);
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--lucky-fg-secondary);
	text-decoration: none;
}

.lucky-pagination-nav .current {
	background: var(--lucky-fg-primary);
	color: var(--lucky-bg-base);
}

/* Responsive Author Archive */
@media screen and (max-width: 1024px) {
	.lucky-author-main-layout {
		gap: 32px;
	}

	.lucky-sidebar-widget-refined {
		position: static;
	}
}

@media screen and (max-width: 768px) {
	.lucky-post-cards-grid {
		grid-template-columns: 1fr;
	}

	.lucky-author-header-refined {
		margin-bottom: 24px;
	}

	.lucky-author-profile-grid {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 12px;
	}

	.lucky-author-avatar-big img {
		width: 80px;
		height: 80px;
		border-radius: 8px;
	}

	.lucky-author-info-stack {
		align-items: center;
		gap: 4px;
	}

	.lucky-author-name {
		font-size: 1.6rem;
		line-height: 1.05;
	}

	.lucky-author-role {
		font-size: 0.8125rem;
		line-height: 1.2;
	}

	.lucky-author-badge-row {
		margin-top: 0;
	}

	.lucky-articles-counter {
		font-size: 0.6875rem;
		padding: 4px 10px;
		border-radius: 6px;
	}

	.lucky-archive-title-section {
		font-size: 1.75rem;
		margin-top: 0;
		margin-bottom: 20px;
	}

	.lucky-author-bio-refined {
		margin-top: 14px;
		font-size: 0.9375rem;
	}
}

.lucky-error-404 {
	max-width: 760px;
	margin: 0 auto;
	padding: 72px 0 96px;
	text-align: center;
}

.lucky-error-404__eyebrow {
	margin: 0 0 12px;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lucky-brand-base);
}

.lucky-error-404__title {
	margin-bottom: 16px;
}

.lucky-error-404__text {
	max-width: 620px;
	margin: 0 auto 28px;
	font-size: 1.0625rem;
	color: var(--lucky-fg-secondary);
}

.lucky-error-404__actions {
	display: flex;
	justify-content: center;
}

.lucky-error-404__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	border-radius: 999px;
	background: var(--lucky-button-bg);
	color: var(--lucky-button-text);
	font-weight: 700;
	box-shadow: var(--lucky-button-shadow-soft);
}

.lucky-error-404__button:hover {
	background: var(--lucky-button-bg-hover);
	color: var(--lucky-button-text-hover);
	box-shadow: var(--lucky-button-shadow-strong);
}

/* ==========================================================================
   Game Vault — Header
   ========================================================================== */

.gv-site-header {
	background: #872fad;
	border-bottom: none;
}

.gv-header-bar {
	background: var(--lucky-setting-header-background, #7b2cbf);
}

.gv-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 10px 20px;
	position: relative;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

.gv-header-branding {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex-shrink: 0;
	margin-right: auto;
}

.gv-logo-link {
	display: block;
	line-height: 0;
}

.gv-logo {
	width: auto;
	max-height: 48px;
	height: auto;
	object-fit: contain;
}

.gv-logo-text {
	display: inline-block;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.35rem;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 0.02em;
	line-height: 1.2;
	white-space: nowrap;
}

.gv-site-title {
	margin: 0;
	font-size: 1rem;
	color: #ffffff;
}

.gv-site-title a {
	color: inherit;
	text-decoration: none;
}

.gv-menu-toggle.lucky-menu-toggle {
	display: none;
	color: #ffffff;
	background: transparent;
	border: none;
}

.gv-main-navigation {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-left: auto;
	flex: 0 0 auto;
}

.gv-menu-list.lucky-menu-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0;
	width: auto;
	margin-left: auto;
	list-style: none;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}

.gv-menu-list.lucky-menu-list > li {
	flex: none;
	border-right: none;
	display: block;
}

.gv-menu-list.lucky-menu-list > li > a {
	display: block;
	padding: 10px 12px;
	color: #ffffff;
	font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	background: transparent;
	width: auto;
	justify-content: center;
}

.gv-menu-list.lucky-menu-list > li > a:hover,
.gv-menu-list.lucky-menu-list > li > a:focus {
	color: #ffd91c;
	background: transparent;
}

.gv-menu-list.lucky-menu-list .current-menu-item > a,
.gv-menu-list.lucky-menu-list .current_page_item > a,
.gv-menu-list.lucky-menu-list .current-menu-ancestor > a,
.gv-menu-list.lucky-menu-list .current_page_parent > a {
	color: #ffd91c;
	background: transparent;
}

.gv-menu-list.lucky-menu-list .sub-menu {
	background: #ffffff;
	border: 1px solid #e4e4e7;
}

.gv-menu-list.lucky-menu-list .sub-menu a {
	color: #333333;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
}

.gv-menu-list.lucky-menu-list .sub-menu a:hover {
	color: #7b2cbf;
}

@media screen and (max-width: 991px) {
	.gv-header-inner {
		flex-wrap: wrap;
		padding: 10px 16px;
	}

	.gv-menu-toggle.lucky-menu-toggle {
		display: inline-flex;
		margin-left: auto;
	}

	.gv-main-navigation {
		display: none;
		width: 100%;
		margin-left: 0;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #7b2cbf;
		z-index: 150;
		padding: 8px 0 12px;
		border-top: 1px solid rgba(255, 255, 255, 0.15);
	}

	.gv-site-header.is-nav-open .gv-main-navigation {
		display: block;
	}

	.gv-menu-list.lucky-menu-list {
		flex-direction: column;
		align-items: stretch;
		padding: 0 16px;
		width: 100%;
	}

	.gv-menu-list.lucky-menu-list > li > a {
		justify-content: flex-start;
		text-align: left;
		padding: 14px 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	}
}

/* ==========================================================================
   Game Vault — Footer
   ========================================================================== */

.gv-site-footer {
	background: transparent;
	margin-top: auto;
	padding: 0;
	width: 100%;
}

.gv-footer-upper {
	background: #d3a5e9;
	padding: 36px 20px 40px;
	width: 100%;
}

.gv-footer-upper-inner {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 36px 48px;
	align-items: start;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

.gv-footer-heading {
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #4a148c;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.125rem;
	font-weight: 700;
	color: #6a1b9a;
	line-height: 1.2;
}

.gv-footer-intro-body {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.gv-footer-intro-image {
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: 2px;
	display: block;
	flex-shrink: 0;
}

.gv-footer-intro-text {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #222222;
	flex: 1 1 auto;
	min-width: 0;
}

.gv-footer-intro-text p {
	margin: 0 0 0.5em;
	font-size: 17px;
}

.gv-footer-intro-text p:last-child {
	margin-bottom: 0;
}

.gv-footer-intro-text a {
	color: #8b1a1a;
	text-decoration: underline;
}

.gv-footer-intro-text strong {
	font-weight: 700;
	color: #8b1a1a;
	text-decoration: underline;
}

.gv-footer-legal-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.gv-footer-legal-menu a {
	color: #8b1a1a;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.875rem;
	text-decoration: underline;
}

.gv-footer-legal-menu a:hover {
	color: #5c1010;
}

.gv-footer-social-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gv-footer-social-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.2;
}

.gv-footer-social-label {
	color: inherit;
}

.gv-footer-social-icon {
	width: 22px;
	height: 22px;
	object-fit: contain;
	flex-shrink: 0;
	display: block;
}

.gv-footer-social-link--facebook {
	color: #0866ff;
}

.gv-footer-social-link--instagram {
	color: #f00075;
}

.gv-footer-social-link--whatsapp {
	color: #25d366;
}

.gv-footer-social-link--linkedin {
	color: #0d66c2;
}

.gv-footer-social-link--tiktok {
	color: #000000;
}

.gv-footer-social-link:hover {
	opacity: 0.85;
}

.gv-footer-bar {
	background: #9c27b0;
	padding: 12px 20px;
	width: 100%;
}

.gv-footer-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

.gv-footer-copyright {
	margin: 0;
	color: #ffffff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8125rem;
	font-weight: 400;
	text-align: left;
}

.gv-footer-copyright a {
	color: #39ff14;
	text-decoration: underline;
}

.gv-footer-bar-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 4px 14px;
}

.gv-footer-bar-menu a {
	color: #39ff14;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.75rem;
	text-decoration: underline;
}

.gv-footer-bar-menu a:hover {
	opacity: 0.9;
}

@media screen and (max-width: 991px) {
	.gv-footer-upper-inner {
		grid-template-columns: 1fr 1fr;
	}

	.gv-footer-intro {
		grid-column: 1 / -1;
	}
}

@media screen and (max-width: 767px) {
	.gv-footer-upper {
		padding: 28px 16px 32px;
	}

	.gv-footer-upper-inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.gv-footer-intro-body {
		flex-direction: row;
	}

	.gv-footer-bar-inner {
		flex-direction: column;
		text-align: center;
	}

	.gv-footer-copyright {
		text-align: center;
	}

	.gv-footer-bar-menu {
		justify-content: center;
	}
}

/* ==========================================================================
   Game Vault — Featured image placements
   ========================================================================== */

.lucky-entry-side-layout {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 8px 0 20px;
}

.lucky-entry-side-thumb {
	flex: 0 0 180px;
	max-width: 40%;
}

.lucky-entry-side-thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 0;
}

.lucky-entry-side-title {
	flex: 1 1 auto;
	min-width: 0;
}

.lucky-entry-side-title .lucky-entry-title {
	margin: 0;
}

.lucky-entry-post-thumbnail {
	margin: 0 0 24px;
}

.lucky-entry-post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
}

@media screen and (max-width: 767px) {
	.lucky-entry-side-layout {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.lucky-entry-side-thumb {
		flex: none;
		max-width: 160px;
		width: 160px;
	}
}
