/* ==========================================================================
   Providenthiv — archive-inspired, mobile-first theme styles
   ========================================================================== */

   :root {
	--ph-orange: var(--lucky-setting-brand-color, #ff6600);
	--ph-orange-strong: var(--lucky-setting-brand-strong, #e65c00);
	--ph-ink: var(--lucky-setting-text-color, #000000);
	--ph-heading: var(--lucky-setting-heading-color, #ff6600);
	--ph-page-bg: var(--lucky-setting-site-background, #fff7f0);
	--ph-panel: #ffffff;
	--ph-tab-bg: #ffffe1;
	--ph-tab-active: #e2eec2;
	--ph-green-line: #e2eec2;
	--ph-header-peach: #ffcc99;
	--ph-tab-border: #d4c9a0;
	--ph-link: var(--lucky-setting-content-link-color, #000000);
	--ph-link-hover: var(--lucky-setting-content-link-hover-color, #ff6600);
	--ph-button-bg: var(--lucky-setting-button-background, #ff6600);
	--ph-button-text: var(--lucky-setting-button-text-color, #ffffff);
	--ph-button-bg-hover: var(--lucky-setting-button-hover-background, #e65c00);
	--ph-button-text-hover: var(--lucky-setting-button-hover-text-color, #ffffff);
	--ph-header-bg: var(--lucky-setting-header-background, #ffffff);
	--ph-footer-bg: var(--lucky-setting-footer-background, #ffffff);
	--ph-footer-text: var(--lucky-setting-footer-text-color, #333333);
	--ph-footer-link: var(--lucky-setting-footer-link-color, #ff6600);
	--ph-border: var(--lucky-setting-border-color, #d8d0c4);
	--ph-elevated: var(--lucky-setting-content-background, #fffaf5);
	--ph-elevated-hover: var(--lucky-setting-content-hover-background, #fff3e8);
	--ph-font: var(--lucky-setting-font-family-base, Arial, Helvetica, sans-serif);
	--ph-font-heading: var(--lucky-setting-font-family-heading, Arial, Helvetica, sans-serif);
	--ph-font-weight: var(--lucky-setting-font-weight-base, 400);
	--ph-font-size: var(--lucky-setting-font-size-base, 14px);
	--ph-font-size-tablet: var(--lucky-setting-font-size-base-tablet, 14px);
	--ph-font-size-mobile: var(--lucky-setting-font-size-base-mobile, 14px);
	--ph-shell-max: var(--lucky-setting-container-width, 1024px);
	--ph-radius: var(--lucky-setting-border-radius, 4px);
	--ph-image-radius: var(--lucky-setting-image-border-radius, 0px);
	--ph-logo-w: var(--lucky-setting-logo-width, 280px);
	--ph-logo-w-tablet: var(--lucky-setting-logo-width-tablet, 220px);
	--ph-logo-w-mobile: var(--lucky-setting-logo-width-mobile, 180px);
	--archive-grid-cols: var(--lucky-archive-grid-cols, 2);

	--lucky-fg-primary: var(--ph-heading);
	--lucky-fg-secondary: var(--ph-ink);
	--lucky-bg-base: var(--ph-page-bg);
	--lucky-bg-elevated: var(--ph-elevated);
	--lucky-bg-elevated-hover: var(--ph-elevated-hover);
	--lucky-brand-base: var(--ph-orange);
	--lucky-brand-strong: var(--ph-orange-strong);
	--lucky-content-link: var(--ph-link);
	--lucky-content-link-hover: var(--ph-link-hover);
	--lucky-border-strong: var(--ph-border);
	--lucky-font-sans: var(--ph-font);
	--lucky-font-heading: var(--ph-font-heading);
	--lucky-container-max: var(--ph-shell-max);
	--lucky-image-radius: var(--ph-image-radius);
	--radius-base: var(--ph-radius);

	--lucky-h1-size: var(--lucky-setting-h1-size, 36px);
	--lucky-h2-size: var(--lucky-setting-h2-size, 28px);
	--lucky-h3-size: var(--lucky-setting-h3-size, 22px);
	--lucky-h4-size: var(--lucky-setting-h4-size, 18px);
	--lucky-h5-size: var(--lucky-setting-h5-size, 16px);
	--lucky-h6-size: var(--lucky-setting-h6-size, 14px);
	--lucky-h1-size-tablet: var(--lucky-setting-h1-size-tablet, 32px);
	--lucky-h2-size-tablet: var(--lucky-setting-h2-size-tablet, 26px);
	--lucky-h3-size-tablet: var(--lucky-setting-h3-size-tablet, 20px);
	--lucky-h4-size-tablet: var(--lucky-setting-h4-size-tablet, 18px);
	--lucky-h5-size-tablet: var(--lucky-setting-h5-size-tablet, 16px);
	--lucky-h6-size-tablet: var(--lucky-setting-h6-size-tablet, 14px);
	--lucky-h1-size-mobile: var(--lucky-setting-h1-size-mobile, 28px);
	--lucky-h2-size-mobile: var(--lucky-setting-h2-size-mobile, 24px);
	--lucky-h3-size-mobile: var(--lucky-setting-h3-size-mobile, 20px);
	--lucky-h4-size-mobile: var(--lucky-setting-h4-size-mobile, 17px);
	--lucky-h5-size-mobile: var(--lucky-setting-h5-size-mobile, 15px);
	--lucky-h6-size-mobile: var(--lucky-setting-h6-size-mobile, 14px);
	--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);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--ph-font);
	font-size: var(--ph-font-size);
	font-weight: var(--ph-font-weight);
	color: var(--ph-ink);
	line-height: 1.55;
	background-color: var(--ph-page-bg);
	background-image:
		linear-gradient(180deg, #f4a574 0%, #f8c9a8 28%, #fdf0e6 62%, #ffffff 100%);
	background-repeat: no-repeat;
	background-size: 100% 720px;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ph-font-heading);
	color: var(--ph-heading);
	margin: 0 0 0.6em;
	line-height: 1.25;
}

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

p { margin: 0 0 1em; }

a {
	color: var(--ph-link);
	text-decoration: none;
}

a:hover,
a:focus-visible {
	color: var(--ph-link-hover);
	font-weight: 700;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: var(--ph-image-radius);
}

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

.lucky-skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 9999;
	width: auto;
	height: auto;
	margin: 0;
	clip: auto;
	padding: 10px 14px;
	background: #fff;
	color: #000;
	border: 2px solid var(--ph-orange);
}

/* ==========================================================================
   Shell
   ========================================================================== */

.ph-page {
	padding: 28px 12px 48px;
}

.ph-shell {
	max-width: var(--ph-shell-max);
	margin: 0 auto;
	background: transparent;
	
	overflow: hidden;
}

.ph-site-content {
	background: var(--ph-panel);
}

.lucky-container {
	max-width: 100%;
	margin: 0 auto;
	padding: 20px 28px 36px;
}

.lucky-container--full {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.ph-layout-full-width .lucky-container {
	padding-left: 0;
	padding-right: 0;
}

/* ==========================================================================
   Header / Tabs
   ========================================================================== */

.ph-site-header {
	background: var(--ph-header-peach, #ffcc99);
}

body.has-sticky-header .ph-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
}

.ph-tab-navigation {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	background: transparent;
}

.ph-menu-toggle {
	display: none;
	appearance: none;
	-webkit-appearance: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 40px;
	margin: 10px 12px;
	padding: 0;
	border: 1px solid var(--ph-tab-border, #d4c9a0);
	border-radius: 6px;
	background: var(--ph-tab-bg, #ffffe1) !important;
	color: #000 !important;
	cursor: pointer;
	box-shadow: none !important;
	line-height: 1;
	flex-shrink: 0;
}

.ph-menu-toggle:hover,
.ph-menu-toggle:focus,
.ph-menu-toggle:focus-visible {
	background: var(--ph-tab-bg, #ffffe1) !important;
	color: #000 !important;
	border-color: var(--ph-tab-border, #d4c9a0);
	outline: 2px solid var(--ph-green-line, #e2eec2);
	outline-offset: 2px;
}

.ph-menu-toggle__icon {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 22px;
	height: 16px;
	pointer-events: none;
}

.ph-menu-toggle__icon span {
	display: block;
	width: 100%;
	height: 2px;
	background: #000;
	border-radius: 1px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.ph-tab-navigation.is-toggled .ph-menu-toggle__icon span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.ph-tab-navigation.is-toggled .ph-menu-toggle__icon span:nth-child(2) {
	opacity: 0;
}

.ph-tab-navigation.is-toggled .ph-menu-toggle__icon span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.ph-tab-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 3px 2px;
	list-style: none;
	margin: 0;
	padding: 10px 10px 0;
	justify-content: flex-start;
	align-items: flex-end;
	flex: 1 1 auto;
}

.ph-tab-menu > li {
	flex: 1 1 0;
	min-width: 0;
	max-width: 11%;
	position: relative;
}

.ph-tab-menu > li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 50px;
	padding: 6px 4px;
	font-size: 11px;
	line-height: 1.25;
	font-weight: 400;
	color: #000 !important;
	background: var(--ph-tab-bg);
	border: 1px solid var(--ph-tab-border);
	border-bottom: none;
	border-radius: 6px 6px 0 0;
	transition: background 0.15s ease, font-weight 0.15s ease;
}

.ph-tab-menu > li > a:hover {
	font-weight: 700;
	color: #000 !important;
	background: var(--ph-tab-bg);
}

.ph-tab-menu > li.current-menu-item > a,
.ph-tab-menu > li.current_page_item > a,
.ph-tab-menu > li.current-menu-ancestor > a {
	font-weight: 700;
	background: var(--ph-tab-active);
	border-color: var(--ph-tab-active);
}

.ph-tab-menu .sub-menu {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 40;
	min-width: 180px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #fffdf5;
	border: 1px solid var(--ph-tab-border);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.ph-tab-menu > li:hover > .sub-menu,
.ph-tab-menu > li:focus-within > .sub-menu {
	display: block;
}

.ph-tab-menu .sub-menu a {
	display: block;
	padding: 8px 12px;
	font-size: 12px;
	color: #000;
	white-space: nowrap;
}

.ph-tab-menu .sub-menu a:hover {
	background: #f6e9b2;
	font-weight: 700;
}

.ph-tab-menu > li:last-child {
	flex: 0 0 auto;
	max-width: none;
	margin-left: auto;
}

.ph-tab-menu > li:last-child > a {
	min-width: 85px;
	padding-left: 10px;
	padding-right: 10px;
}

.ph-header-rule {
	display: block;
	width: 100%;
	height: 4px;
	background: var(--ph-green-line);
	line-height: 0;
}

.ph-branding {
	padding: 14px 28px 10px;
	background: #fff;
}

.ph-branding .custom-logo-link,
.ph-branding .custom-logo {
	display: block;
	max-width: min(100%, var(--ph-logo-w));
	width: auto;
	height: auto;
}

.ph-branding-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e2eec2;
	text-decoration: none !important;
	color: inherit !important;
}

.ph-branding-banner:hover,
.ph-branding-banner:focus-visible {
	font-weight: inherit;
	opacity: 0.95;
}

.ph-branding-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ph-branding-eyebrow {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	color: #ff6600;
}

.ph-branding-title {
	margin: 0;
	font-size: clamp(26px, 3.6vw, 40px);
	font-weight: 800;
	line-height: 1.1;
	color: #ff6600;
}

.ph-branding-kente {
	display: block;
	flex: 0 0 clamp(120px, 28%, 280px);
	height: 52px;
	background-repeat: repeat;
	background-size: auto 100%;
	border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Content / entries
   ========================================================================== */

.lucky-site-main {
	background: #fff;
}

.lucky-entry-header {
	margin-bottom: 18px;
}

.lucky-entry-title {
	color: var(--ph-heading);
	margin-bottom: 10px;
}

.lucky-entry-content,
.ph-entry-content {
	color: var(--ph-ink);
	font-size: 14px;
}

/* Archive .style1 — orange section labels / links */
.style1,
a.style1,
.lucky-entry-content .style1,
.lucky-entry-content a.style1 {
	font-size: 14px;
	font-weight: bold;
	color: #ff6600 !important;
	text-decoration: none;
}

.lucky-entry-content h2,
.lucky-entry-content h3,
.lucky-entry-content .wp-block-heading {
	font-size: 14px;
	font-weight: 700;
	color: #ff6600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin: 0 0 10px;
}

.lucky-entry-content > *:first-child {
	margin-top: 0;
}

.lucky-entry-content img,
.lucky-entry-content .wp-block-image img {
	margin: 0 0 14px;
	width: 100%;
	height: auto;
}

.lucky-entry-content strong {
	font-weight: 700;
}

.lucky-entry-content ul,
.lucky-entry-content ol {
	padding-left: 1.25em;
}

/* Table-like Gutenberg columns (archive page grids) */
.lucky-entry-content .wp-block-columns {
	display: flex;
	gap: 28px;
	margin: 0 0 18px;
	align-items: flex-start;
}

.lucky-entry-content .wp-block-column {
	margin: 0;
}

.lucky-entry-content .wp-block-column > *:last-child {
	margin-bottom: 0;
}

/* Classic HTML tables from migrated pages */
.lucky-entry-content table,
.ph-content-table {
	width: 100%;
	border-collapse: collapse;
	border: 0;
	margin: 0 0 18px;
}

.lucky-entry-content table td,
.ph-content-table td {
	border: 0;
	vertical-align: top;
	padding: 8px 14px;
	font-size: 14px;
	color: #000;
}

.lucky-entry-content table td:first-child,
.ph-content-table td:first-child {
	padding-left: 0;
}

.lucky-entry-content table td:last-child,
.ph-content-table td:last-child {
	padding-right: 0;
}

/* Mid-content kente divider */
.ph-inline-pattern,
.lucky-entry-content .ph-inline-pattern,
.wp-block-group.ph-inline-pattern {
	display: block;
	width: 100%;
	height: 28px;
	margin: 14px 0 18px;
	padding: 0 !important;
	background-color: #8b4513;
	background-image: url("../img/patterns/bar.svg");
	background-repeat: repeat-x;
	background-size: auto 100%;
	border: 0;
}

.ph-support-list .wp-block-group,
.ph-support-item {
	text-align: center;
	margin: 0 0 16px;
}

.ph-support-item strong,
.ph-support-item .style1 {
	display: block;
	margin-bottom: 4px;
}

.lucky-table-scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1em 0;
}

.lucky-author-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
	color: #333;
}

.lucky-author-photo img,
.lucky-author-photo .avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.lucky-meta-author-name {
	display: block;
	font-weight: 700;
	color: #000;
}

.lucky-author-date {
	display: block;
	font-size: 12px;
	color: #555;
}

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

/* ==========================================================================
   Archives / cards
   ========================================================================== */

.lucky-page-header {
	margin-bottom: 20px;
}

.lucky-page-title {
	color: var(--ph-heading);
}

.lucky-archive-description {
	color: #333;
}

.lucky-post-cards-grid {
	display: grid;
	grid-template-columns: repeat(var(--archive-grid-cols), minmax(0, 1fr));
	gap: 16px;
}

.lucky-post-cards-grid.is-list-layout {
	grid-template-columns: 1fr;
}

.lucky-article-card-minimal {
	display: block;
	padding: 18px;
	background: var(--ph-elevated);
	border: 1px solid var(--ph-border);
	border-radius: var(--ph-radius);
	color: inherit;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.lucky-article-card-minimal:hover {
	background: var(--ph-elevated-hover);
	border-color: var(--ph-orange);
	font-weight: inherit;
	color: inherit;
}

.lucky-article-title {
	margin: 0 0 8px;
	font-size: 1.15rem;
	color: var(--ph-heading);
}

.lucky-article-excerpt {
	color: #222;
	font-size: 13px;
	margin-bottom: 10px;
}

.lucky-article-footer-meta {
	font-size: 12px;
	color: #555;
}

.lucky-meta-dot {
	margin: 0 6px;
}

.lucky-pagination-nav {
	margin-top: 28px;
}

.lucky-pagination-nav .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.lucky-pagination-nav a,
.lucky-pagination-nav .current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	padding: 6px 10px;
	border: 1px solid var(--ph-border);
	background: #fff;
	color: #000;
}

.lucky-pagination-nav .current,
.lucky-pagination-nav a:hover {
	background: var(--ph-tab-bg);
	font-weight: 700;
}

/* ==========================================================================
   Author archive
   ========================================================================== */

.lucky-breadcrumb-nav {
	margin-bottom: 18px;
	font-size: 12px;
}

.lucky-breadcrumb-home,
.lucky-breadcrumb-current {
	color: #333;
}

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

.lucky-author-header-refined {
	margin-bottom: 28px;
	padding: 20px;
	background: var(--ph-elevated);
	border: 1px solid var(--ph-border);
}

.lucky-author-profile-grid {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 20px;
	align-items: start;
}

.lucky-author-avatar-big img,
.lucky-author-avatar-big .avatar {
	width: 140px;
	height: 140px;
	border-radius: 4px;
	object-fit: cover;
}

.lucky-author-name {
	margin-bottom: 6px;
}

.lucky-author-role,
.lucky-author-stats {
	color: #444;
	font-size: 13px;
}

.lucky-author-bio {
	margin-top: 12px;
	color: #222;
}

.lucky-author-articles-title {
	margin: 0 0 16px;
	color: var(--ph-heading);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.ph-site-footer {
	background: transparent;
}

.ph-footer-rules {
	display: block;
	width: 100%;
	line-height: 0;
}

.ph-footer-rule {
	display: block;
	width: 100%;
}

.ph-footer-rule--green {
	height: 3px;
	background: var(--ph-green-line);
}

.ph-footer-rule--orange {
	height: 6px;
	background: #ff6600;
}

.ph-footer-band {
	background: #fde9d9;
	padding: 22px 28px 28px;
}

.ph-footer-brand {
	margin: 0;
	font-size: clamp(22px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.2;
	color: #ff6600;
}

.ph-footer-navigation {
	margin-top: 12px;
}

.ph-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ph-footer-menu a {
	color: #333;
	font-size: 12px;
}

.ph-footer-meta {
	margin-top: 12px;
}

.ph-site-info {
	margin: 0;
	color: #555;
	font-size: 12px;
}

.ph-footer-extra {
	color: #555;
	font-size: 12px;
}

.ph-footer-extra p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   404
   ========================================================================== */

.lucky-error-404 {
	padding: 40px 12px;
	text-align: center;
}

.lucky-error-404__eyebrow {
	color: var(--ph-orange);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.lucky-error-404__title {
	margin-bottom: 12px;
}

.lucky-error-404__button {
	display: inline-block;
	margin-top: 16px;
	padding: 10px 18px;
	background: var(--ph-button-bg);
	color: var(--ph-button-text) !important;
	border-radius: var(--ph-radius);
	font-weight: 700;
}

.lucky-error-404__button:hover {
	background: var(--ph-button-bg-hover);
	color: var(--ph-button-text-hover) !important;
}

/* ==========================================================================
   Gutenberg alignment helpers
   ========================================================================== */

.alignwide,
.alignfull {
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
}

.wp-block-buttons .wp-block-button__link {
	background: var(--ph-button-bg);
	color: var(--ph-button-text);
	border-radius: var(--ph-radius);
}

.wp-block-buttons .wp-block-button__link:hover {
	background: var(--ph-button-bg-hover);
	color: var(--ph-button-text-hover);
	font-weight: 700;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media screen and (max-width: 1024px) {
	.ph-tab-menu > li > a {
		font-size: 10px;
		min-height: 46px;
		padding: 5px 3px;
	}
}

@media screen and (max-width: 900px) {
	.ph-page {
		padding: 12px 0 24px;
	}

	.ph-shell {
		border-left: none;
		border-right: none;
		border-radius: 0;
		box-shadow: none;
	}

	.ph-menu-toggle {
		display: inline-flex !important;
	}

	.ph-tab-menu {
		display: none !important;
		flex-direction: column;
		width: 100%;
		padding: 0 12px 12px;
		gap: 6px;
	}

	.ph-tab-navigation.is-toggled .ph-tab-menu {
		display: flex !important;
	}

	.ph-tab-menu > li {
		flex: none;
		width: 100%;
		max-width: none;
	}

	.ph-tab-menu > li > a {
		border-radius: 6px;
		border: 1px solid var(--ph-tab-border);
		justify-content: flex-start;
		text-align: left;
		padding: 12px 14px;
		font-size: 14px;
		min-height: 0;
		background: var(--ph-tab-bg);
	}

	.ph-tab-menu > li.current-menu-item > a,
	.ph-tab-menu > li.current_page_item > a,
	.ph-tab-menu > li.current-menu-ancestor > a {
		background: var(--ph-tab-active);
		border-color: var(--ph-tab-active);
	}

	.ph-tab-menu .sub-menu {
		position: static;
		display: none;
		box-shadow: none;
		border: none;
		padding: 4px 0 4px 12px;
		background: transparent;
	}

	.ph-tab-menu > li.is-open > .sub-menu {
		display: block;
	}

	.ph-tab-menu > li:last-child {
		margin-left: 0;
	}

	.ph-tab-menu > li:last-child > a {
		min-width: 0;
	}

	.lucky-container {
		padding: 16px 16px 28px;
	}

	.lucky-post-cards-grid {
		grid-template-columns: 1fr;
	}

	.lucky-author-profile-grid {
		grid-template-columns: 1fr;
		justify-items: start;
	}

	.ph-footer-band {
		padding: 18px 16px 22px;
	}

	.lucky-entry-content .wp-block-columns {
		flex-direction: column !important;
		gap: 18px;
	}

	.lucky-entry-content table,
	.lucky-entry-content table tbody,
	.lucky-entry-content table tr,
	.lucky-entry-content table td {
		display: block;
		width: 100% !important;
	}

	.lucky-entry-content table td {
		padding: 8px 0;
	}
}

@media screen and (max-width: 600px) {
	body {
		font-size: var(--ph-font-size-mobile);
		background-size: 100% 480px;
	}

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

	.ph-branding-eyebrow {
		font-size: 15px;
	}

	.ph-branding .custom-logo {
		max-width: var(--ph-logo-w-mobile);
	}
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
	body {
		font-size: var(--ph-font-size-tablet);
	}

	h1 { font-size: var(--lucky-h1-size-tablet); }
	h2 { font-size: var(--lucky-h2-size-tablet); }
	h3 { font-size: var(--luckhwy-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); }
}
