/* ==========================================================================
   Design System & Tokens
   ========================================================================== */

:root {
	/* Colors - From Theme Settings */
	--lucky-fg-primary: var(--lucky-setting-heading-color, #111827);
	--lucky-fg-secondary: var(--lucky-setting-text-color, #4b5563);

	--lucky-bg-base: var(--lucky-setting-site-background, #ffffff);
	--lucky-bg-elevated: var(--lucky-setting-content-background, #f9fafb);

	--lucky-bg-elevated-hover: var(--lucky-setting-content-hover-background, #f3f4f6);

	--lucky-brand-base: var(--lucky-setting-brand-color, #3b82f6);
	--lucky-brand-strong: var(--lucky-setting-brand-strong, #1d4ed8);
	--lucky-content-link: var(--lucky-setting-content-link-color, #2563eb);
	--lucky-content-link-hover: var(--lucky-setting-content-link-hover-color, #1d4ed8);
	--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, #f9fafb);
	--lucky-header-text: var(--lucky-setting-header-text-color, #111827);
	--lucky-header-nav: var(--lucky-setting-header-nav-color, #4b5563);
	--lucky-header-nav-hover: var(--lucky-setting-header-nav-hover-color, #111827);
	--lucky-header-dropdown-border: var(--lucky-setting-header-dropdown-border, #e4e4e7);
	--lucky-footer-bg: var(--lucky-setting-footer-background, #f9fafb);
	--lucky-footer-text: var(--lucky-setting-footer-text-color, #4b5563);
	--lucky-footer-link: var(--lucky-setting-footer-link-color, #3b82f6);
	--lucky-footer-link-hover: var(--lucky-setting-footer-link-hover-color, #1d4ed8);
	--lucky-button-bg: var(--lucky-setting-button-background, #3b82f6);
	--lucky-button-text: var(--lucky-setting-button-text-color, #ffffff);
	--lucky-button-bg-hover: var(--lucky-setting-button-hover-background, #1d4ed8);
	--lucky-button-text-hover: var(--lucky-setting-button-hover-text-color, #ffffff);
	--lucky-font-sans: var(--lucky-setting-font-family-base, 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: 80px;

	/* 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: #fff;
	background-color: var(--lucky-bg-base, #fff);
	color: var(--lucky-fg-secondary);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--lucky-fg-primary);
	margin-top: 0;
	margin-bottom: 0;
	line-height: 1.2;
	font-family: var(--lucky-font-heading);
}

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: 1px solid var(--lucky-border-strong);
	border-radius: calc(var(--radius-base) - 2px);
}

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;
	display: block;
}

/* ==========================================================================
   Layout Utils
   ========================================================================== */

.lucky-container {
	max-width: var(--lucky-container-max);
	margin: 0 auto;
	padding: 0 var(--lucky-container-padding);
}

@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
   ========================================================================== */

.lucky-site-header {
	background-color: var(--lucky-header-bg);
	border-bottom: 1px solid var(--lucky-border-strong);
	z-index: 100;
}

body.has-sticky-header .lucky-site-header {
	position: sticky;
	top: 0;
}

.lucky-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--lucky-header-height);
}

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

.custom-logo-link {
	display: block;
	line-height: 0;
}

.custom-logo {
	display: block;
	width: var(--lucky-setting-logo-width, 200px);
	height: auto;
}

@media (max-width: 991px) {
	.custom-logo {
		width: var(--lucky-setting-logo-width-tablet, 150px);
	}
}

@media (max-width: 767px) {
	.custom-logo {
		width: var(--lucky-setting-logo-width-mobile, 120px);
	}
}

.lucky-site-title {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.025em;
}

.lucky-site-title a {
	color: var(--lucky-header-text);
}

.lucky-site-title a:hover {
	color: var(--lucky-header-nav-hover);
}

.lucky-site-description {
	margin: 0;
	font-size: 0.875rem;
	color: var(--lucky-fg-secondary);
}

/* Main Navigation */

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

.lucky-menu-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--lucky-header-nav);
	padding: 4px;
	cursor: pointer;
	transition: color var(--lucky-transition-smooth);
	line-height: 0;
}

.lucky-menu-toggle:hover {
	color: var(--lucky-header-nav-hover);
	background: none;
}

.lucky-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: var(--lucky-space-5);
	align-items: center;
}

.lucky-menu-list li {
	position: relative;
}

.lucky-menu-list a {
	display: block;
	color: var(--lucky-header-nav);
	font-weight: 500;
	font-size: 17px;
	padding: var(--lucky-space-2) 0;
}

.lucky-menu-list a:hover,
.lucky-menu-list .current-menu-item>a {
	color: var(--lucky-header-nav-hover);
}

/* ---- Dropdown / Sub-menu (Desktop) ---- */

/* Flex on parent link so chevron stays vertically centered */
.lucky-menu-list li.menu-item-has-children>a {
	display: flex;
	align-items: center;
	gap: 5px;
}

/* Static chevron — no animation */
.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.45;
	margin-top: -2px;
}

/* Dropdown panel — styled as one card */
.lucky-menu-list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 6px;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	margin-top: 8px;
	background: var(--lucky-setting-header-dropdown-bg, var(--lucky-bg-elevated));
	border: 1px solid var(--lucky-header-dropdown-border);
	border-radius: var(--radius-base);
	box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.13);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.14s ease, visibility 0.14s;
	z-index: 1000;
}





/* Invisible hover bridge — fills the margin gap above the panel */
.lucky-menu-list .sub-menu::before {
	content: '';
	position: absolute;
	top: -10px;
	left: 0;
	right: 0;
	height: 10px;
}

/* Show on hover — parent li hover keeps sub-menu alive */
.lucky-menu-list li.menu-item-has-children:hover>.sub-menu,
.lucky-menu-list li.menu-item-has-children.is-open>.sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Right-align last items to prevent overflow */
.lucky-menu-list li:last-child>.sub-menu,
.lucky-menu-list li:nth-last-child(2)>.sub-menu {
	left: auto;
	right: 0;
}

/* Sub-menu links — border-radius clips hover bg inside panel */
.lucky-menu-list .sub-menu a {
	display: block;
	padding: 9px 14px;
	font-size: 15px;
	font-weight: 400;
	color: var(--lucky-setting-header-dropdown-text, var(--lucky-header-nav));
	white-space: nowrap;
	border-radius: calc(var(--radius-base) - 3px);
	transition: background 0.1s ease, color 0.1s ease;
}

.lucky-menu-list .sub-menu a:hover {
	background: var(--lucky-setting-header-dropdown-hover-bg, var(--lucky-bg-elevated-hover));
	color: var(--lucky-setting-header-dropdown-hover-text, var(--lucky-header-nav-hover));
}

/* No inherited chevron on sub-items */
.lucky-menu-list .sub-menu li>a {
	display: block;
}

.lucky-menu-list .sub-menu li>a::after {
	display: none;
}

/* Mega menu panel */
.lucky-menu-list li.mega-menu>.sub-menu {
	min-width: 400px;
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
	padding: 10px;
}

.lucky-menu-list li:last-child.mega-menu>.sub-menu {
	left: auto;
	right: 0;
}

.lucky-menu-list li.mega-menu .sub-menu a {
	white-space: normal;
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
	.lucky-site-header {
		position: relative;
		--lucky-header-height: 60px;
	}

	.lucky-menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		position: relative;
		z-index: 10000;
	}

	.lucky-main-navigation .lucky-menu-list {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background-color: var(--lucky-header-bg);
		flex-direction: column;
		align-items: stretch;
		/* ensures all items stretch full width */
		justify-content: flex-start;
		padding: 80px var(--lucky-container-padding) var(--lucky-space-5);
		gap: 0;
		z-index: 9999;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.lucky-main-navigation.is-toggled .lucky-menu-list {
		display: flex;
	}

	/* ALL li items — full width, left aligned */
	.lucky-menu-list li {
		width: 100%;
		text-align: left;
	}

	/* ALL top-level nav links in mobile overlay */
	.lucky-menu-list>li>a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 15px 0;
		border-bottom: 1px solid rgba(128, 128, 128, 0.15);
		font-size: 17px;
		font-weight: 500;
		color: var(--lucky-header-nav);
		border-radius: 0;
		text-align: left;
	}

	.lucky-menu-list>li:last-child>a {
		border-bottom: none;
	}

	/* Chevron — bigger, flex-aligned */
	.lucky-menu-list li.menu-item-has-children>a::after {
		width: 8px;
		height: 8px;
		margin-top: 0;
		flex-shrink: 0;
		opacity: 0.45;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
	}

	/* Sub-menu — clean accordion, no desktop card styles */
	.lucky-menu-list .sub-menu {
		position: static;
		margin-top: 0;
		left: auto;
		box-shadow: none;
		border: none;
		border-radius: 0;
		background: transparent;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		display: none;
		padding: 0 0 0 12px;
		min-width: 0;
	}

	.lucky-menu-list .sub-menu::before {
		display: none;
	}

	.lucky-menu-list li.is-open>.sub-menu {
		display: block;
	}

	/* Sub-menu links */
	.lucky-menu-list .sub-menu>li>a {
		display: block;
		font-size: 15px;
		font-weight: 400;
		padding: 11px 0;
		border-radius: 0;
		border-bottom: 1px solid rgba(128, 128, 128, 0.12);
		background: transparent !important;
		color: var(--lucky-header-nav);
		white-space: normal;
		text-align: left;
		justify-content: flex-start;
		opacity: 0.85;
	}

	.lucky-menu-list .sub-menu>li:last-child>a {
		border-bottom: none;
	}

	/* Mega menu reset on mobile */
	.lucky-menu-list li.mega-menu>.sub-menu {
		display: block !important;
		min-width: 0;
		padding: 0 0 0 12px;
	}
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */

.lucky-site-main {
	padding-top: var(--lucky-space-6);
	padding-bottom: var(--lucky-space-6);
}

@media screen and (max-width: 768px) {
	.lucky-site-main {
		padding-top: var(--lucky-space-4);
		padding-bottom: var(--lucky-space-4);
		overflow-x: hidden;
		/* contain table scroll — prevents page from growing wide */
	}
}

.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);
}

.lucky-entry-content a {
	color: var(--lucky-content-link);
}

.lucky-entry-content a:hover {
	color: var(--lucky-content-link-hover);
}

/* Typography Elements (Lists, Quotes, Tables, Images) */
.lucky-entry-content h1,
.lucky-entry-content h2,
.lucky-entry-content h3,
.lucky-entry-content h4,
.lucky-entry-content h5,
.lucky-entry-content h6 {
	margin-top: 20px;
	margin-bottom: 20px;
	line-height: 1.3;
}

.lucky-entry-content ul,
.lucky-entry-content ol {
	margin: 0 0 var(--lucky-space-5) 24px;
	padding: 0;
}

.lucky-entry-content li {
	margin-bottom: var(--lucky-space-2);
}

.lucky-entry-content li:last-child {
	margin-bottom: 0;
}

.lucky-entry-content blockquote {
	margin: var(--lucky-space-5) 0;
	padding: var(--lucky-space-4) var(--lucky-space-5);
	background: var(--lucky-bg-elevated);
	border-left: 4px solid var(--lucky-brand-base);
	border-radius: 0 var(--radius-base) var(--radius-base) 0;
	font-style: italic;
	color: var(--lucky-fg-secondary);
}

.lucky-entry-content blockquote p {
	margin-bottom: 0;
}

.lucky-entry-content blockquote p:last-child {
	margin-bottom: 0;
}

/* ---- Tables ---- */

/* Block editor table: the figure IS the scroll container */
.lucky-entry-content .wp-block-table {
	display: block;
	/* enables overflow to work on a figure element */
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: var(--lucky-space-5) 0;
	border-radius: var(--radius-base);
	box-shadow: var(--lucky-shadow-sm);
}

/* Table base */
.lucky-entry-content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0;
}

/* Cells — no background, just borders */
.lucky-entry-content th,
.lucky-entry-content td {
	padding: 12px 16px;
	border-right: 1px solid var(--lucky-border-strong);
	border-bottom: 1px solid var(--lucky-border-strong);
	text-align: left;
	vertical-align: middle;
	word-break: break-word;
	background: transparent;
}

/* First column left border */
.lucky-entry-content th:first-child,
.lucky-entry-content td:first-child {
	border-left: 1px solid var(--lucky-border-strong);
}

/* First row top border */
.lucky-entry-content tr:first-child th,
.lucky-entry-content tr:first-child td {
	border-top: 1px solid var(--lucky-border-strong);
}

/* Header row — only this gets a background */
.lucky-entry-content thead th,
.lucky-entry-content thead td,
.lucky-entry-content table:not(:has(thead)) > tbody > tr:first-child > th,
.lucky-entry-content table:not(:has(thead)) > tbody > tr:first-child > td {
	background: var(--lucky-bg-elevated);
	font-weight: 700;
	color: var(--lucky-fg-primary);
}

/* Classic bare <table> (not inside .wp-block-table figure) */
.lucky-entry-content>table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: var(--radius-base);
	box-shadow: var(--lucky-shadow-sm);
}

/* Mobile: prevent text from wrapping inside cells so the table
   keeps its natural width and the wrapper scrolls horizontally */
@media (max-width: 768px) {

	.lucky-entry-content th,
	.lucky-entry-content td {
		padding: 10px 12px;
		font-size: 0.875rem;
		white-space: nowrap;
		/* forces table to stay wide → wrapper scrolls */
	}

	.lucky-entry-content .wp-block-table {
		border-radius: 8px;
	}

	.lucky-entry-content>table {
		border-radius: 8px;
	}
}




.lucky-entry-content>img,
.lucky-entry-content p>img,
.lucky-entry-content figure>img {
	max-width: 100%;
	height: auto;
	border-radius: var(--lucky-image-radius, 8px);
	margin: var(--lucky-space-5) 0;
	display: block;
}

/* Clean responsive table override */
.lucky-entry-content .wp-block-table,
.lucky-entry-content>table {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: var(--lucky-space-5) 0;
	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>table {
	width: 100%;
	min-width: 640px;
	display: table;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0;
	background: transparent;
}

.lucky-entry-content th,
.lucky-entry-content td {
	padding: 14px 16px;
	border-top: 0;
	border-right: 0;
	border-left: 0;
	border-bottom: 1px solid var(--lucky-border-strong);
	text-align: left;
	vertical-align: middle;
	word-break: normal;
	background: transparent;
}

.lucky-entry-content th:first-child,
.lucky-entry-content td:first-child {
	border-left: 0;
}

.lucky-entry-content th+th,
.lucky-entry-content td+td {
	border-left: 1px solid color-mix(in srgb, var(--lucky-border-strong) 70%, white);
}

.lucky-entry-content thead th,
.lucky-entry-content thead td,
.lucky-entry-content table:not(:has(thead)) > tbody > tr:first-child > th,
.lucky-entry-content table:not(:has(thead)) > tbody > tr:first-child > td {
	border-top: 0;
	background: var(--lucky-bg-elevated);
	font-weight: 700;
	color: var(--lucky-fg-primary);
}

.lucky-entry-content tbody tr:nth-child(even) td {
	background: color-mix(in srgb, var(--lucky-bg-elevated) 55%, white);
}

.lucky-entry-content tbody tr:last-child td,
.lucky-entry-content tbody tr:last-child th,
.lucky-entry-content table tr:last-child td,
.lucky-entry-content table tr:last-child th {
	border-bottom: none;
}

@media (max-width: 768px) {
	.lucky-entry-content .wp-block-table,
	.lucky-entry-content>table {
		border-radius: 8px;
	}

	.lucky-entry-content .wp-block-table table,
	.lucky-entry-content>table {
		min-width: 560px;
		table-layout: auto;
	}

	.lucky-entry-content th,
	.lucky-entry-content td {
		padding: 11px 12px;
		font-size: 0.875rem;
		white-space: nowrap;
	}
}

/* Final table system */
.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%;
	min-width: 720px;
	margin: 0;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	table-layout: fixed;
	background: transparent;
}

.lucky-entry-content .wp-block-table tbody,
.lucky-entry-content .lucky-table-scroll tbody {
	background: color-mix(in srgb, var(--lucky-bg-base) 92%, var(--lucky-bg-elevated));
}

.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 !important;
	border-bottom: 1px solid var(--lucky-border-strong) !important;
	text-align: left;
	vertical-align: top;
	word-break: break-word;
	overflow-wrap: anywhere;
	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) !important;
}

.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 !important;
}

.lucky-entry-content .wp-block-table table:has(thead) tbody tr:first-child th,
.lucky-entry-content .wp-block-table table:has(thead) tbody tr:first-child td,
.lucky-entry-content .lucky-table-scroll table:has(thead) tbody tr:first-child th,
.lucky-entry-content .lucky-table-scroll table:has(thead) tbody tr:first-child td {
	background: transparent !important;
	font-weight: 500 !important;
	color: var(--lucky-fg-primary) !important;
}

.lucky-entry-content .wp-block-table table:not(:has(thead)) tbody tr:first-child td,
.lucky-entry-content .lucky-table-scroll table:not(:has(thead)) tbody tr:first-child td {
	background: color-mix(in srgb, var(--lucky-bg-elevated) 85%, white) !important;
	font-weight: 700 !important;
}

.lucky-entry-content .wp-block-table tbody tr:nth-child(even) td,
.lucky-entry-content .lucky-table-scroll tbody tr:nth-child(even) td {
	background: color-mix(in srgb, var(--lucky-bg-base) 96%, var(--lucky-bg-elevated));
}

.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 !important;
}

@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 table,
	.lucky-entry-content .lucky-table-scroll table {
		min-width: 560px;
		table-layout: auto;
	}

	.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;
		white-space: nowrap;
	}
}

/* Author & Meta Area */
.lucky-author-meta {
	display: flex !important;
	/* Force flex to prevent stacking */
	flex-direction: row;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.lucky-author-photo img,
.lucky-author-photo .avatar {
	width: 42px !important;
	height: 42px !important;
	border-radius: 50% !important;
	object-fit: cover;
	display: block;
}

.lucky-author-details {
	display: flex;
	align-items: center;
	gap: 8px;
}

.lucky-meta-author-name {
	font-weight: 600;
	color: var(--lucky-fg-secondary);
	font-size: 1rem;
	text-decoration: none;
}

.lucky-meta-sep {
	width: 3px;
	height: 3px;
	background: var(--lucky-border-strong);
	border-radius: 50%;
	flex-shrink: 0;
}

.lucky-author-date {
	font-weight: 600;
	font-size: 1rem;
	color: var(--lucky-fg-secondary);
}

@media screen and (max-width: 768px) {
	.lucky-author-meta {
		gap: 12px;
		margin-bottom: 16px;
	}

	.lucky-author-photo img,
	.lucky-author-photo .avatar {
		width: 42px !important;
		height: 42px !important;
	}

	.lucky-author-details {
		flex-direction: column;
		align-items: flex-start;
		gap: 1px;
	}

	.lucky-meta-sep {
		display: none;
	}

	.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 !important;
	padding: 0 !important;
}

.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) !important;
	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) !important;
	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
   ========================================================================== */

.lucky-site-footer {
	background-color: var(--lucky-footer-bg);
	border-top: 1px solid var(--lucky-border-strong);
	padding: var(--lucky-space-5) 0;
	margin-top: auto;
}

.lucky-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.lucky-site-info {
	color: var(--lucky-footer-text);
	font-size: 0.875rem;
}

.lucky-site-footer a {
	color: var(--lucky-footer-link);
}

.lucky-site-footer a:hover {
	color: var(--lucky-footer-link-hover);
}

.lucky-site-footer .lucky-site-title a {
	color: var(--lucky-footer-link);
}

.lucky-site-footer .lucky-site-title a:hover {
	color: var(--lucky-footer-link-hover);
}

/* ==========================================================================
   Author Archive Page Redesign
   ========================================================================== */

.lucky-author-archive-wrap {
	padding-top: 12px;
}

/* Breadcrumb Styling Refined */
.lucky-breadcrumb-nav {
	margin-bottom: 24px;
	font-size: 0.9375rem;
	font-weight: 500;
}

.lucky-breadcrumb-inner {
	display: flex;
	align-items: center;
	gap: 8px;
}

.lucky-breadcrumb-home {
	color: var(--lucky-fg-secondary);
	text-decoration: none;
}

.lucky-breadcrumb-separator {
	color: var(--lucky-fg-secondary);
	display: flex;
	align-items: center;
}

.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 Grid */
.lucky-author-main-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 60px;
}

@media screen and (max-width: 992px) {
	.lucky-author-main-layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

.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 {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.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: row;
		align-items: flex-start;
		text-align: left;
		gap: 12px;
	}

	.lucky-author-avatar-big img {
		width: 80px;
		height: 80px;
		border-radius: 8px;
	}

	.lucky-author-info-stack {
		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) !important;
	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) !important;
	box-shadow: var(--lucky-button-shadow-strong);
}

/* ==========================================================================
   10OnlineCasinos Theme Layer
   ========================================================================== */

:root {
	--bw-page-bg: #f6f1eb;
	--bw-surface: #ffffff;
	--bw-surface-alt: #fbfaf8;
	--bw-ink: #171717;
	--bw-muted: #6c665f;
	--bw-border: #e7ddd1;
	--bw-accent: #135a47;
	--bw-accent-strong: #0d4637;
	--bw-accent-soft: #edf7f2;
	--bw-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
	--bw-radius-lg: 26px;
	--bw-radius-md: 18px;
}

body {
	background:
		radial-gradient(circle at top left, rgba(19, 90, 71, 0.08), transparent 30%),
		linear-gradient(180deg, #f8f4ef 0%, #f3ede6 100%);
	color: var(--bw-muted);
}

.bw-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}

.bw-site-header {
	position: sticky;
	top: 0;
	z-index: 120;
	backdrop-filter: blur(18px);
	background: rgba(248, 244, 239, 0.92);
	border-bottom: 1px solid rgba(231, 221, 209, 0.9);
}

.bw-midbar {
	padding: 18px 0;
}

.bw-nav-row {
	display: flex;
	align-items: center;
	gap: 24px;
}

.bw-logo-col {
	flex: 0 0 auto;
}

.bw-logo-link {
	display: inline-flex;
	align-items: center;
}

.bw-logo-img {
	max-width: 220px;
	height: auto;
}

.bw-logo-text {
	color: var(--bw-ink);
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.04em;
}

.bw-main-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.bw-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 28px;
}

.bw-menu-list a {
	color: var(--bw-ink);
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.bw-menu-list a:hover,
.bw-menu-list .current-menu-item > a,
.bw-menu-list .current_page_item > a {
	color: var(--bw-accent);
}

.bw-header-right {
	display: flex;
	align-items: center;
	margin-left: auto;
}

.bw-search-wrap {
	position: relative;
}

.bw-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--bw-border);
	border-radius: 999px;
	background: var(--bw-surface);
	color: var(--bw-ink);
	box-shadow: 0 10px 24px rgba(23, 23, 23, 0.06);
}

.bw-search-toggle:hover {
	background: var(--bw-accent);
	color: #fff;
	border-color: var(--bw-accent);
}

.bw-search-dropdown {
	position: absolute;
	top: calc(100% + 14px);
	right: 0;
	min-width: 320px;
	padding: 14px;
	background: var(--bw-surface);
	border: 1px solid var(--bw-border);
	border-radius: var(--bw-radius-md);
	box-shadow: var(--bw-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.bw-search-wrap.is-open .bw-search-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.bw-search-form,
.bw-sidebar-search-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bw-search-input,
.bw-sidebar-search-input {
	width: 100%;
	min-width: 0;
	padding: 14px 16px;
	border: 1px solid var(--bw-border);
	border-radius: 999px;
	background: #fff;
	color: var(--bw-ink);
	font: inherit;
}

.bw-search-input:focus,
.bw-sidebar-search-input:focus {
	outline: none;
	border-color: var(--bw-accent);
	box-shadow: 0 0 0 4px rgba(19, 90, 71, 0.1);
}

.bw-search-submit,
.bw-sidebar-search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 18px;
	border: none;
	border-radius: 999px;
	background: var(--bw-accent);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.bw-search-submit:hover,
.bw-sidebar-search-btn:hover,
.bw-read-more:hover {
	background: var(--bw-accent-strong);
	color: #fff;
}

.bw-menu-toggle {
	display: none;
}

.bw-site-main {
	padding: 36px 0 64px;
}

.bw-content-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 30px;
	align-items: start;
}

.bw-primary {
	min-width: 0;
}

.bw-featured-wrap {
	margin-bottom: 28px;
}

.bw-post-featured,
.bw-post-card,
.bw-widget,
.bw-single-article,
.bw-author-box,
.bw-related-card,
.bw-archive-header {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--bw-border);
	border-radius: var(--bw-radius-lg);
	box-shadow: var(--bw-shadow);
}

.bw-post-featured {
	display: grid;
	grid-template-columns: minmax(260px, 1.15fr) minmax(0, 1fr);
	overflow: hidden;
}

.bw-post-card {
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bw-post-card:hover,
.bw-post-featured:hover,
.bw-related-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 56px rgba(17, 24, 39, 0.12);
	border-color: #dcccb9;
}

.bw-post-thumb {
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #dcefe6, #f6eee4);
	overflow: hidden;
}

.bw-post-thumb--featured {
	height: 100%;
	aspect-ratio: auto;
	min-height: 100%;
}

.bw-post-img,
.bw-single-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bw-thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 220px;
	background: linear-gradient(135deg, #0f4d3d, #2e8a6a);
}

.bw-placeholder-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: -0.06em;
}

.bw-post-body,
.bw-single-header,
.bw-entry-content,
.bw-single-footer,
.bw-author-box,
.bw-archive-header {
	padding: 28px;
}

.bw-post-cat,
.bw-single-cat {
	margin-bottom: 14px;
}

.bw-cat-badge {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--bw-accent-soft);
	color: var(--bw-accent);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.bw-post-title,
.bw-single-title,
.bw-archive-title,
.bw-related-post-title a,
.bw-widget-title {
	color: var(--bw-ink);
}

.bw-post-title {
	margin: 0 0 14px;
	font-size: clamp(1.5rem, 2vw, 2.35rem);
	line-height: 1.15;
	letter-spacing: -0.04em;
}

.bw-post-title--small {
	font-size: 1.18rem;
}

.bw-post-title a,
.bw-single-title a,
.bw-related-post-title a {
	color: inherit;
}

.bw-post-meta,
.bw-single-meta,
.bw-single-meta-info {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.bw-post-meta,
.bw-single-meta-info,
.bw-breadcrumb,
.bw-post-excerpt,
.bw-archive-desc,
.bw-author-box-bio,
.bw-related-date,
.bw-no-items,
.bw-footer-copy {
	color: var(--bw-muted);
}

.bw-meta-author,
.bw-meta-date,
.bw-single-author-name,
.bw-single-date {
	font-size: 0.95rem;
}

.bw-by {
	margin-right: 4px;
	text-transform: lowercase;
}

.bw-posts-grid,
.bw-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.bw-archive-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bw-post-excerpt {
	margin: 0 0 16px;
}

.bw-read-more {
	display: inline-flex;
	align-items: center;
	margin-top: 6px;
	padding: 11px 16px;
	border-radius: 999px;
	background: var(--bw-accent);
	color: #fff;
	font-weight: 700;
}

.bw-sidebar {
	display: grid;
	gap: 20px;
	position: sticky;
	top: 104px;
}

.bw-widget {
	padding: 24px;
}

.bw-widget-title {
	margin: 0 0 16px;
	font-size: 1.15rem;
	letter-spacing: -0.03em;
}

.bw-recent-posts,
.bw-recent-comments,
.bw-cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.bw-recent-posts li,
.bw-recent-comments li,
.bw-cat-list li {
	padding-bottom: 14px;
	border-bottom: 1px solid var(--bw-border);
}

.bw-recent-posts li:last-child,
.bw-recent-comments li:last-child,
.bw-cat-list li:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.bw-cat-list a,
.bw-recent-posts a,
.bw-recent-comments a {
	color: var(--bw-ink);
}

.bw-cat-count {
	color: var(--bw-muted);
}

.bw-current-cat a {
	color: var(--bw-accent);
	font-weight: 700;
}

.bw-pagination {
	margin-top: 28px;
}

.bw-pagination .nav-links,
.bw-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bw-pagination a,
.bw-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--bw-border);
	border-radius: 999px;
	background: var(--bw-surface);
	color: var(--bw-ink);
	font-weight: 700;
}

.bw-pagination .current {
	background: var(--bw-accent);
	border-color: var(--bw-accent);
	color: #fff;
}

.bw-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
	font-size: 0.92rem;
}

.bw-breadcrumb a,
.bw-single-author-name {
	color: var(--bw-accent);
	font-weight: 700;
}

.bw-breadcrumb-current {
	color: var(--bw-ink);
}

.bw-archive-header {
	margin-bottom: 24px;
}

.bw-archive-title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1;
	letter-spacing: -0.05em;
}

.bw-archive-desc > *:last-child {
	margin-bottom: 0;
}

.bw-single-wrap {
	grid-template-columns: minmax(0, 1fr) 320px;
}

.bw-single-article {
	overflow: hidden;
}

.bw-single-title {
	margin: 0 0 18px;
	font-size: clamp(2.2rem, 5vw, 3.7rem);
	line-height: 0.98;
	letter-spacing: -0.06em;
}

.bw-single-meta {
	margin-top: 10px;
}

.bw-single-avatar img,
.bw-author-box-avatar img {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	object-fit: cover;
}

.bw-single-thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: linear-gradient(135deg, #dcefe6, #f6eee4);
}

.bw-entry-content {
	color: var(--bw-ink);
}

.bw-entry-content p {
	margin-top: 0;
	margin-bottom: 18px;
}

.bw-entry-content h2,
.bw-entry-content h3,
.bw-entry-content h4 {
	color: var(--bw-ink);
	letter-spacing: -0.03em;
}

.bw-page-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
	font-weight: 700;
}

.bw-page-links .post-page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--bw-surface-alt);
	border: 1px solid var(--bw-border);
}

.bw-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bw-tags-label {
	color: var(--bw-muted);
	font-weight: 700;
}

.bw-tag-badge {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: var(--bw-surface-alt);
	border: 1px solid var(--bw-border);
	color: var(--bw-ink);
	font-weight: 700;
}

.bw-author-box {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	margin-top: 26px;
}

.bw-author-box-name {
	margin: 0 0 8px;
	font-size: 1.2rem;
	letter-spacing: -0.03em;
}

.bw-related {
	margin-top: 30px;
}

.bw-related-title {
	margin: 0 0 18px;
	color: var(--bw-ink);
	font-size: 1.6rem;
	letter-spacing: -0.04em;
}

.bw-related-card {
	overflow: hidden;
}

.bw-related-thumb {
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #dcefe6, #f6eee4);
	overflow: hidden;
}

.bw-related-body {
	padding: 18px;
}

.bw-related-post-title {
	margin: 0 0 8px;
	font-size: 1rem;
	line-height: 1.3;
}

.bw-site-footer {
	padding: 0 0 34px;
}

.bw-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 28px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid var(--bw-border);
	border-radius: var(--bw-radius-lg);
	box-shadow: var(--bw-shadow);
}

.bw-footer-logo {
	max-width: 180px;
}

@media screen and (max-width: 1100px) {
	.bw-posts-grid,
	.bw-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bw-post-featured {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 900px) {
	.bw-container {
		padding: 0 18px;
	}

	.bw-nav-row {
		flex-wrap: wrap;
	}

	.bw-main-nav {
		order: 3;
		flex: 1 1 100%;
		justify-content: flex-start;
	}

	.bw-content-wrap,
	.bw-single-wrap {
		grid-template-columns: 1fr;
	}

	.bw-sidebar {
		position: static;
	}

	.bw-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 768px) {
	.bw-midbar {
		padding: 14px 0;
	}

	.bw-nav-row {
		gap: 14px;
	}

	.bw-logo-img {
		max-width: 164px;
	}

	.bw-main-nav {
		flex: 0 0 auto;
		margin-left: auto;
		order: 2;
	}

	.bw-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		padding: 0;
		border: 1px solid var(--bw-border);
		border-radius: 999px;
		background: var(--bw-surface);
		color: var(--bw-ink);
	}

	.bw-main-nav .bw-menu-list {
		display: none;
		position: fixed;
		top: 78px;
		left: 16px;
		right: 16px;
		padding: 18px;
		background: rgba(255, 255, 255, 0.98);
		border: 1px solid var(--bw-border);
		border-radius: 24px;
		box-shadow: var(--bw-shadow);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-height: calc(100vh - 110px);
		overflow-y: auto;
	}

	.bw-main-nav.is-toggled .bw-menu-list {
		display: flex;
	}

	.bw-menu-list li {
		width: 100%;
	}

	.bw-menu-list a {
		display: block;
		padding: 14px 0;
		border-bottom: 1px solid var(--bw-border);
	}

	.bw-menu-list li:last-child a {
		border-bottom: none;
	}

	.bw-header-right {
		order: 1;
		margin-left: 0;
	}

	.bw-search-dropdown {
		right: -8px;
		min-width: min(320px, calc(100vw - 36px));
	}

	.bw-site-main {
		padding: 24px 0 40px;
	}

	.bw-posts-grid,
	.bw-archive-grid,
	.bw-related-grid {
		grid-template-columns: 1fr;
	}

	.bw-post-body,
	.bw-single-header,
	.bw-entry-content,
	.bw-single-footer,
	.bw-author-box,
	.bw-archive-header,
	.bw-widget,
	.bw-related-body {
		padding: 20px;
	}

	.bw-search-form,
	.bw-sidebar-search-row,
	.bw-footer-inner,
	.bw-author-box {
		flex-direction: column;
		align-items: stretch;
	}

	.bw-search-submit,
	.bw-sidebar-search-btn {
		width: 100%;
	}

		.bw-single-title {
		font-size: 2.25rem;
	}
}

/* ==========================================================================
   Screenshot Layout Overrides
   ========================================================================== */

:root {
	--bw-page-bg: #ffffff;
	--bw-surface: #ffffff;
	--bw-surface-alt: #ffffff;
	--bw-ink: #202020;
	--bw-muted: #8b8b8b;
	--bw-border: #ebebeb;
	--bw-accent: #5b4fc0;
	--bw-accent-strong: #4d42aa;
	--bw-shadow: none;
	--bw-radius-lg: 0;
	--bw-radius-md: 0;
}

body {
	background: #fff;
	color: var(--bw-muted);
}

.bw-site-header {
	background: var(--bw-accent);
	border-bottom: none;
	backdrop-filter: none;
}

.bw-midbar {
	padding: 22px 0;
}

.bw-logo-img {
	max-width: 250px;
}

.bw-menu-list a,
.bw-search-toggle {
	color: #fff;
}

.bw-menu-list a:hover,
.bw-menu-list .current-menu-item > a,
.bw-menu-list .current_page_item > a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 10px;
	text-decoration-thickness: 2px;
}

.bw-search-toggle {
	background: transparent;
	border: none;
	box-shadow: none;
	width: auto;
	height: auto;
}

.bw-mobile-drawer-head {
	display: none;
}

.screen-reader-text,
.bw-pagination .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.bw-site-main {
	padding: 60px 0 80px;
}

.bw-home-wrap {
	display: block;
}

.bw-home-wrap .bw-primary {
	width: 100%;
}

.bw-posts-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 42px 28px;
}

.bw-post-card,
.bw-archive-item,
.bw-single-article,
.bw-widget,
.bw-archive-header,
.bw-author-box {
	background: transparent;
	border: none;
	box-shadow: none;
	border-radius: 0;
}

.bw-post-thumb,
.bw-archive-thumb,
.bw-single-thumb,
.bw-related-thumb {
	background: #f3f3f3;
	border-radius: 0;
}

.bw-post-body,
.bw-archive-body,
.bw-single-header,
.bw-entry-content,
.bw-single-footer,
.bw-widget,
.bw-archive-header,
.bw-author-box {
	padding: 0;
}

.bw-post-cat,
.bw-single-cat {
	margin: 12px 0 10px;
}

.bw-cat-badge {
	padding: 0;
	background: transparent;
	color: #ff2b2b;
	font-size: 0.86rem;
	font-weight: 500;
	letter-spacing: 0.06em;
}

.bw-post-title {
	font-size: 1.05rem;
	line-height: 1.35;
	letter-spacing: 0;
	margin-bottom: 10px;
}

.bw-post-title--small {
	font-size: 1rem;
}

.bw-post-meta,
.bw-single-meta-info {
	gap: 8px;
	font-size: 0.82rem;
}

.bw-meta-author a {
	color: #ff2b2b;
	text-transform: uppercase;
	font-size: 0.82rem;
}

.bw-meta-date,
.bw-post-meta,
.bw-single-date {
	color: #9d9d9d;
}

.bw-pagination {
	display: flex;
	justify-content: center;
	margin-top: 46px;
}

.bw-pagination a,
.bw-pagination span {
	min-width: 32px;
	height: 32px;
	border: 1px solid #ececec;
	border-radius: 0;
	background: #fff;
	font-size: 0.92rem;
}

.bw-pagination .current {
	background: #ff1e31;
	border-color: #ff1e31;
}

.bw-content-wrap {
	grid-template-columns: minmax(0, 1fr) 344px;
	gap: 56px;
}

.bw-archive-header {
	margin-bottom: 32px;
}

.bw-breadcrumb {
	margin-bottom: 18px;
	font-size: 0.9rem;
}

.bw-breadcrumb a {
	color: #7b7b7b;
	font-weight: 400;
}

.bw-breadcrumb-current,
.bw-archive-title,
.bw-single-title,
.bw-widget-title {
	color: var(--bw-ink);
}

.bw-archive-title {
	font-size: 3rem;
	letter-spacing: 0;
}

.bw-archive-list {
	display: grid;
	gap: 30px;
}

.bw-archive-item {
	display: grid;
	grid-template-columns: 360px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}

.bw-archive-thumb {
	aspect-ratio: 16 / 11;
	position: relative;
}

.bw-archive-body .bw-post-title {
	font-size: 1.1rem;
	line-height: 1.35;
}

.bw-post-excerpt {
	margin-bottom: 16px;
	color: #666;
	line-height: 1.7;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	max-width: 34ch;
}

.bw-archive-thumb-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	background: #ff1e31;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
}

.bw-read-more {
	padding: 10px 18px;
	border: 1px solid #dcdcdc;
	border-radius: 0;
	background: #fff;
	color: #555;
	font-size: 0.84rem;
	font-weight: 500;
}

.bw-sidebar {
	position: static;
	gap: 36px;
}

.bw-widget-title {
	font-size: 1.2rem;
	font-weight: 500;
	margin-bottom: 14px;
}

.bw-sidebar-search-input {
	border-radius: 0;
	padding: 10px 12px;
}

.bw-sidebar-search-btn {
	border-radius: 0;
	padding: 10px 16px;
	background: #f2f2f2;
	color: #202020;
}

.bw-sidebar-search-btn:hover {
	background: #e8e8e8;
	color: #202020;
}

.bw-recent-posts li,
.bw-recent-comments li,
.bw-cat-list li {
	padding-bottom: 0;
	border-bottom: none;
}

.bw-recent-posts a,
.bw-recent-comments a,
.bw-cat-list a {
	color: #ff2b2b;
	line-height: 1.6;
}

.bw-cat-list {
	gap: 18px;
}

.bw-cat-list a {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	font-size: 1.05rem;
}

.bw-cat-list .bw-cat-count {
	color: #8e8e8e;
}

.bw-single-title {
	font-size: 2rem;
	line-height: 1.2;
	letter-spacing: 0;
}

.bw-single-thumb {
	margin: 18px 0 22px;
}

.bw-entry-content {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #3b3b3b;
}

.bw-entry-content img {
	margin: 18px 0;
}

.bw-author-box {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #ececec;
}

.bw-site-footer {
	padding: 0;
	background: #232323;
}

.bw-footer-inner {
	padding: 34px 0;
	background: transparent;
	border: none;
	box-shadow: none;
	border-radius: 0;
}

.bw-footer-copy {
	color: #c8c8c8;
}

@media screen and (max-width: 1024px) {
	html,
	body {
		overflow-x: hidden;
	}

	.bw-nav-row {
		flex-wrap: nowrap;
		gap: 12px;
	}

	.bw-main-nav {
		order: 1;
		flex: 0 0 44px;
		margin-left: 0;
		justify-content: flex-start;
	}

	.bw-logo-col {
		order: 2;
		flex: 1 1 auto;
		display: flex;
		justify-content: center;
	}

	.bw-header-right {
		order: 3;
		flex: 0 0 44px;
		margin-left: 0;
		display: flex;
		justify-content: flex-end;
		position: static;
	}

	.bw-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: none;
		background: transparent;
		color: #fff;
	}

	.bw-main-nav .bw-menu-list {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: auto;
		width: min(320px, 86vw);
		height: 100vh;
		padding: 86px 22px 24px;
		background: #fff;
		border: none;
		border-radius: 0;
		box-shadow: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		overflow-y: auto;
		z-index: 10001;
	}

	.bw-main-nav.is-toggled .bw-menu-list {
		display: flex;
	}

	.bw-main-nav.is-toggled::before {
		content: "";
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.45);
		z-index: 10000;
	}

	.bw-menu-list li {
		width: 100%;
	}

	.bw-main-nav .bw-menu-list a {
		color: #202020;
		text-decoration: none;
		display: block;
		padding: 14px 0;
		border-bottom: 1px solid #ececec;
	}

	.bw-menu-list li:last-child a {
		border-bottom: none;
	}

	.bw-search-wrap {
		position: static;
	}

	.bw-site-header .bw-search-dropdown {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: 100%;
		max-width: none;
		min-width: 0;
		padding: 16px;
		background: #fff;
		border: 1px solid #e7e7e7;
		border-left: 0;
		border-right: 0;
		border-radius: 0;
		box-shadow: none;
		box-sizing: border-box;
		opacity: 0;
		visibility: hidden;
		transform: translateY(10px);
		z-index: 10005;
	}

	.bw-search-wrap.is-open .bw-search-dropdown {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.bw-search-form {
		position: relative;
		display: block;
	}

	.bw-search-input {
		padding: 13px 46px 13px 16px;
		border: 1px solid #dcdcdc;
		border-radius: 0;
		color: #6f6f6f;
		background: #fff;
	}

	.bw-search-input:focus {
		border-color: #cfcfcf;
		box-shadow: none;
	}

	.bw-search-submit {
		position: absolute;
		top: 50%;
		right: 14px;
		transform: translateY(-50%);
		padding: 0;
		border: none;
		background: transparent;
		color: #8a8a8a;
		width: auto;
		height: auto;
	}

	.bw-search-submit:hover {
		background: transparent;
		color: #6f6f6f;
	}

	.bw-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bw-content-wrap {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.bw-archive-item {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media screen and (max-width: 768px) {
	.bw-midbar {
		padding: 16px 0;
	}

	.bw-logo-img {
		max-width: 170px;
	}

	.bw-posts-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.bw-site-main {
		padding: 28px 0 42px;
	}

	.bw-archive-title,
	.bw-single-title {
		font-size: 1.7rem;
	}
}

/* ==========================================================================
   Author Archive
   ========================================================================== */

.bw-author-page,
.bw-author-page * {
	font-family: "Times New Roman", Times, serif;
}

.bw-author-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: 64px;
	align-items: start;
}

.bw-author-hero {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 42px;
	align-items: center;
	margin: 38px 0 54px;
}

.bw-author-hero-avatar img,
.bw-author-side-avatar img {
	width: 100%;
	height: auto;
	display: block;
	background: #f0f0f0;
}

.bw-author-title {
	margin: 0 0 14px;
	color: #162238;
	font-size: clamp(3.2rem, 5vw, 4.4rem);
	line-height: 1;
	letter-spacing: -0.03em;
	font-weight: 700;
}

.bw-author-role-label,
.bw-author-description,
.bw-author-side-role,
.bw-author-side-count {
	color: #667085;
}

.bw-author-role-label {
	margin: 0 0 18px;
	font-size: 1.2rem;
}

.bw-author-pill {
	display: inline-flex;
	align-items: center;
	padding: 12px 20px;
	border-radius: 14px;
	background: #f6f7fb;
	color: #162238;
	font-size: 1.05rem;
	font-weight: 700;
}

.bw-author-description {
	margin-top: 22px;
	max-width: 62ch;
	font-size: 1.02rem;
	line-height: 1.8;
}

.bw-author-section-title,
.bw-author-side-title {
	margin: 0 0 28px;
	color: #162238;
	font-size: clamp(2.4rem, 4vw, 3.2rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
	font-weight: 700;
}

.bw-author-post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px;
}

.bw-author-post-card {
	border: 1px solid #e3e6ef;
	background: #fbfcff;
}

.bw-author-post-card-link {
	display: block;
	padding: 34px 30px;
	color: inherit;
}

.bw-author-post-card-title {
	margin: 0 0 22px;
	color: #162238;
	font-size: clamp(2rem, 2.8vw, 3rem);
	line-height: 1.1;
	letter-spacing: -0.03em;
	font-weight: 700;
}

.bw-author-post-card-excerpt {
	margin: 0;
	color: #667085;
	font-size: 1rem;
	line-height: 1.75;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bw-author-side-widget {
	padding-top: 44px;
}

.bw-author-side-list {
	display: grid;
	gap: 30px;
}

.bw-author-side-item {
	display: grid;
	grid-template-columns: 70px minmax(0, 1fr);
	gap: 22px;
	align-items: center;
	color: inherit;
}

.bw-author-side-avatar {
	width: 70px;
}

.bw-author-side-name {
	margin: 0 0 6px;
	color: #162238;
	font-size: 1.12rem;
	font-weight: 700;
}

.bw-author-side-role,
.bw-author-side-count {
	margin: 0;
	font-size: 1rem;
	line-height: 1.45;
}

@media screen and (max-width: 1180px) {
	.bw-author-layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.bw-author-side-widget {
		padding-top: 0;
	}
}

@media screen and (max-width: 768px) {
	.bw-author-hero {
		grid-template-columns: 1fr;
		gap: 26px;
		margin: 26px 0 38px;
	}

	.bw-author-hero-avatar {
		max-width: 240px;
	}

	.bw-author-post-grid {
		grid-template-columns: 1fr;
	}

	.bw-author-title,
	.bw-author-section-title,
	.bw-author-side-title {
		font-size: 2.2rem;
	}

	.bw-author-post-card-title {
		font-size: 2rem;
	}
}
