/* ==========================================================================
   Peplogy — main stylesheet
   1. Fonts   2. Tokens   3. Base   4. Backgrounds   5. Buttons
   6. Top bars   7. Masthead   8. Category bar   9. Drawers   10. Footer
   11. Fallback content   12. WordPress core classes   13. Responsive
   Values are taken from the approved designs (1440px artboards).
   ========================================================================== */

/* 1. Fonts (self-hosted, SIL OFL 1.1) ------------------------------------ */
@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/figtree-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 500 600;
	font-display: swap;
	src: url("../fonts/fraunces-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 500 600;
	font-display: swap;
	src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
	/* Brand palette (brief §2) */
	--pl-navy: #0b2a5b;
	--pl-deep-navy: #0b1a33;
	--pl-blue: #1668c7;
	--pl-sky: #4da3f5;
	--pl-ink: #0b1f3f;
	--pl-muted: #4a5b75;
	--pl-page: #eef5fc;
	--pl-line: #d5e3f3;
	--pl-white: #fff;

	/* Supporting tones used in the designs */
	--pl-line-soft: #e4edf7;
	--pl-ticker: #0f1d36;
	--pl-ticker-text: #d8e6f7;
	--pl-tagline: #4a77b4;
	--pl-on-dark: #b8c6db;
	--pl-on-dark-soft: #93a4be;
	--pl-on-dark-strong: #d8e2f0;
	--pl-dark-line: #22375a;
	--pl-dark-control: #3a5580;
	--pl-tint: #e3f0fd;

	/* Type */
	--pl-serif: "Fraunces", georgia, serif;
	--pl-sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Layout */
	--pl-gutter: clamp(16px, 4.45vw, 64px);
	--pl-gutter-wide: clamp(16px, 7.8vw, 112px);
	--pl-radius-pill: 999px;
	--pl-radius: 12px;
	--pl-header-h: 76px;
	--pl-sticky-top: 0px;
}

/* 3. Base ----------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--pl-sticky-top) + var(--pl-header-h) + 12px);
}

body {
	margin: 0;
	background: var(--pl-page);
	color: var(--pl-ink);
	font-family: var(--pl-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--pl-blue);
}

a:hover {
	color: var(--pl-navy);
}

h1,
h2,
h3,
h4 {
	font-family: var(--pl-serif);
	font-weight: 600;
	line-height: 1.15;
	color: var(--pl-ink);
}

.site-main:focus {
	outline: none;
}

.container {
	width: 100%;
	max-width: 1216px;
	margin-inline: auto;
	padding-inline: var(--pl-gutter);
}

/* Reveal effects must never hide content when JavaScript is unavailable. */
.no-js [data-reveal],
.no-js .pm-word > span {
	opacity: 1;
	transform: none;
	filter: none;
}

/* 4. Backgrounds (from the design <helmet>) -------------------------------- */
.mesh-dark {
	background-color: #0b2a5b;
	background-image:
		linear-gradient(180deg, #0b2a5b 0, rgba(11, 42, 91, 0) 110px),
		linear-gradient(0deg, #0b2a5b 0, rgba(11, 42, 91, 0) 110px),
		radial-gradient(640px 420px at 88% 40%, rgba(77, 163, 245, 0.26), transparent 70%),
		radial-gradient(560px 460px at 6% 60%, rgba(22, 104, 199, 0.24), transparent 70%),
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(135deg, #0a1b3a 0%, #0e2a57 50%, #123a74 100%);
	background-size: auto, auto, auto, auto, 36px 36px, 36px 36px, auto;
}

.mesh-light {
	background-color: #eef5fc;
	background-image:
		radial-gradient(720px 440px at 92% 0%, rgba(77, 163, 245, 0.22), transparent 70%),
		radial-gradient(620px 440px at 0% 100%, rgba(22, 104, 199, 0.12), transparent 70%),
		linear-gradient(180deg, #f5f9fe 0%, #e4effb 100%);
}

.mesh-white {
	background-color: #fff;
	background-image:
		radial-gradient(700px 420px at 8% 0%, rgba(77, 163, 245, 0.16), transparent 70%),
		linear-gradient(180deg, #fff 0%, #f1f7fe 100%);
}

.grad-dark {
	background-color: #0b1a33;
	background-image:
		radial-gradient(640px 420px at 88% 16%, rgba(77, 163, 245, 0.28), transparent 70%),
		radial-gradient(560px 460px at 6% 96%, rgba(22, 104, 199, 0.26), transparent 70%),
		linear-gradient(135deg, #0a1830 0%, #0e2a57 55%, #143f7e 100%);
}

/* 5. Buttons ---------------------------------------------------------------- */
.icon-btn {
	width: 40px;
	height: 40px;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: var(--pl-radius-pill);
	border: 1px solid var(--pl-line);
	background: var(--pl-white);
	color: var(--pl-ink);
	text-decoration: none;
	transition: border-color 0.2s, background-color 0.2s;
}

.icon-btn:hover {
	border-color: var(--pl-sky);
	background: var(--pl-tint);
	color: var(--pl-ink);
}

.btn-outline {
	height: 40px;
	padding: 0 16px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: var(--pl-radius-pill);
	border: 1.5px solid var(--pl-sky);
	background: transparent;
	color: var(--pl-blue);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.btn-outline:hover {
	color: var(--pl-navy);
}

.btn-ghost {
	align-self: flex-start;
	height: 36px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	border-radius: var(--pl-radius-pill);
	border: 1px solid var(--pl-dark-control);
	color: var(--pl-white);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.btn-ghost:hover {
	color: var(--pl-white);
	border-color: var(--pl-sky);
}

/* Breadcrumbs, section eyebrows and pill buttons (shared by every template) */
.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--pl-muted);
}

.breadcrumbs li + li::before {
	content: "/";
	margin-right: 4px;
}

.breadcrumbs a {
	color: var(--pl-muted);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--pl-blue);
}

.breadcrumbs [aria-current="page"] {
	color: var(--pl-ink);
}

.home-eyebrow {
	margin: 0;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	color: var(--pl-blue);
	text-transform: uppercase;
}

.home-eyebrow--sky,
.home-head--dark .home-eyebrow {
	color: var(--pl-sky);
}

.home-title {
	margin: 0;
	max-width: 900px;
	font-size: clamp(32px, 3.6vw, 44px);
	font-weight: 500;
	line-height: 1.1;
	color: var(--pl-ink);
}

.home-head--dark .home-title {
	color: var(--pl-white);
}

.home-intro {
	max-width: 640px;
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--pl-muted);
}

.home-accent {
	color: var(--pl-sky);
}

.home-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.home-buttons--center {
	justify-content: center;
}

.home-btn {
	height: 52px;
	padding: 0 26px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: var(--pl-radius-pill);
	border: 1.5px solid transparent;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.home-buttons--hero .home-btn {
	padding: 0 28px;
	font-size: 16px;
}

.home-buttons--sm .home-btn {
	height: 48px;
	padding: 0 22px;
	font-size: 14px;
}

.home-btn--sky,
.home-btn--sky:hover {
	background: var(--pl-sky);
	color: var(--pl-ink);
}

.home-btn--ghost,
.home-btn--ghost:hover {
	border-color: var(--pl-dark-control);
	background: transparent;
	color: var(--pl-white);
}

.home-btn--navy,
.home-btn--navy:hover {
	background: var(--pl-navy);
	color: var(--pl-white);
}

.home-btn--dark,
.home-btn--dark:hover {
	background: var(--pl-deep-navy);
	color: var(--pl-white);
}

/* Pill buttons for templates and editor content (.btn, .btn--primary …) */
.btn {
	height: 48px;
	padding: 0 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1.5px solid transparent;
	border-radius: var(--pl-radius-pill);
	font-family: var(--pl-sans);
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}

.btn--primary,
.btn--primary:hover {
	background: var(--pl-blue);
	color: var(--pl-white);
}

.btn--primary:hover {
	background: #125bb0;
}

.btn--navy,
.btn--navy:hover {
	background: var(--pl-navy);
	color: var(--pl-white);
}

.btn--navy:hover {
	background: var(--pl-deep-navy);
}

.btn--outline,
.btn--secondary {
	border-color: var(--pl-navy);
	background: transparent;
	color: var(--pl-navy);
}

.btn--outline:hover,
.btn--secondary:hover {
	background: var(--pl-navy);
	color: var(--pl-white);
}

.btn--sm {
	height: 44px;
	padding: 0 20px;
	font-size: 14px;
}

.btn--lg {
	height: 52px;
	font-size: 16px;
}

.btn--block {
	width: 100%;
}

.btn[disabled],
.btn.is-busy {
	opacity: 0.6;
	cursor: progress;
}

/* 6. Top bars --------------------------------------------------------------- */
.topbar {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.topbar__text {
	margin: 0;
}

.topbar--announce {
	min-height: 38px;
	padding: 6px var(--pl-gutter);
	background: var(--pl-navy);
	color: var(--pl-white);
	font-size: 13px;
	font-weight: 600;
}

.topbar__link {
	color: inherit;
	text-decoration: none;
}

.topbar__link:hover {
	color: inherit;
	text-decoration: underline;
}

.topbar--ticker {
	height: 34px;
	background: var(--pl-ticker);
	color: var(--pl-ticker-text);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.topbar--ticker .pm-marquee {
	width: 100%;
}

.topbar--ticker .pm-marquee__track {
	gap: 26px;
	padding-right: 26px;
	align-items: center;
}

.ticker__sep {
	color: var(--pl-sky);
	font-size: 11px;
}

.topbar--ruo {
	min-height: 30px;
	padding: 5px var(--pl-gutter);
	background: var(--pl-sky);
	color: var(--pl-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* 7. Masthead --------------------------------------------------------------- */
.masthead {
	top: var(--pl-sticky-top);
	background: var(--pl-white);
}

.admin-bar {
	--pl-sticky-top: 32px;
}

.masthead__inner {
	height: var(--pl-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 var(--pl-gutter);
}

.masthead__start {
	display: flex;
	align-items: center;
	gap: 40px;
	min-width: 0;
}

.masthead__menu-toggle {
	display: none;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
	color: var(--pl-navy);
	text-decoration: none;
}

.brand:hover {
	color: var(--pl-navy);
}

.brand__mark {
	flex: none;
}

.brand__logo {
	display: block;
	width: auto;
	height: var(--pl-logo-h, 56px);
	max-width: min(440px, 45vw);
	object-fit: contain;
	object-position: left center;
}

/* Logo on dark sections: the white logo as is, or the main logo on a white badge. */
.logo-on-dark {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

.logo-on-dark__img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 60px;
	object-fit: contain;
}

.logo-on-dark--badge {
	padding: 10px 18px;
	border-radius: 14px;
	background: var(--pl-white);
	box-shadow: 0 10px 30px rgba(3, 10, 25, 0.35);
}

.logo-on-dark--badge .logo-on-dark__img {
	height: 48px;
}

.drawer .brand__logo,
.pm-drawer .brand__logo {
	height: 36px;
}

.co-header .brand__logo {
	height: min(var(--pl-logo-h, 56px), 64px);
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.brand__name {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-transform: lowercase;
}

.brand__tagline {
	margin-top: 1px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	color: var(--pl-tagline);
	text-transform: uppercase;
}

.primary-nav__list {
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	font-weight: 600;
}

.primary-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 0;
	color: var(--pl-ink);
	white-space: nowrap;
}

.primary-nav__link:hover,
.primary-nav__link[aria-current="page"] {
	color: var(--pl-blue);
}

.menu-badge {
	display: inline-block;
	padding: 3px 6px;
	border-radius: 4px;
	background: var(--pl-sky);
	color: var(--pl-ink);
	font-size: 10px;
	font-weight: 800;
	line-height: 1.1;
}

.masthead__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.cart-btn {
	height: 40px;
	padding: 0 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: var(--pl-radius-pill);
	background: var(--pl-navy);
	color: var(--pl-white);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.cart-btn:hover {
	color: var(--pl-white);
}

.cart-btn__count {
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--pl-radius-pill);
	background: var(--pl-sky);
	color: var(--pl-ink);
	font-size: 11px;
}

/* 8. Category bar ------------------------------------------------------------ */
.catbar {
	background: var(--pl-white);
	border-top: 1px solid var(--pl-line-soft);
	border-bottom: 1px solid var(--pl-line);
}

.catbar__list {
	height: 56px;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0 var(--pl-gutter);
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.catbar__list::-webkit-scrollbar {
	display: none;
}

.catbar__list > li {
	flex: none;
}

.pill {
	height: 34px;
	padding: 0 14px;
	display: flex;
	align-items: center;
	border-radius: var(--pl-radius-pill);
	border: 1px solid var(--pl-line);
	background: var(--pl-white);
	color: var(--pl-ink);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.pill:hover {
	border-color: var(--pl-sky);
	background: var(--pl-tint);
	color: var(--pl-ink);
}

.pill[aria-current="page"] {
	border-color: var(--pl-navy);
	background: var(--pl-navy);
	color: var(--pl-white);
}

/* 9. Drawers (motion kit) ----------------------------------------------------- */
.drawer-root .pm-drawer {
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	visibility: hidden;
	transition: transform 0.45s var(--pm-ease), visibility 0s linear 0.45s;
}

.drawer-root.is-open .pm-drawer {
	visibility: visible;
	transition: transform 0.45s var(--pm-ease), visibility 0s;
}

.drawer:focus {
	outline: none;
}

.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--pl-line);
}

.drawer__title {
	margin: 0;
	font-family: var(--pl-serif);
	font-size: 22px;
	font-weight: 600;
}

.drawer__body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px 20px 28px;
}

.drawer__label {
	margin: 10px 0 0;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--pl-blue);
	text-transform: uppercase;
}

.drawer-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

.drawer-nav__link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 0;
	border-bottom: 1px solid var(--pl-line-soft);
	color: var(--pl-ink);
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
}

.drawer-nav__link:hover,
.drawer-nav__link[aria-current="page"] {
	color: var(--pl-blue);
}

.drawer-nav--compact .drawer-nav__link {
	padding: 10px 0;
	font-size: 15px;
	font-weight: 600;
}

.drawer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 8px;
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form__field {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--pl-line);
	border-radius: var(--pl-radius-pill);
	background: var(--pl-white);
	font-size: 15px;
}

.search-form__field:focus {
	border-color: var(--pl-sky);
}

.search-form__submit {
	height: 48px;
	padding: 0 20px;
	border: none;
	border-radius: var(--pl-radius-pill);
	background: var(--pl-navy);
	color: var(--pl-white);
	font-size: 14px;
	font-weight: 800;
}

/* 10. Footer ------------------------------------------------------------------ */
.site-footer {
	color: var(--pl-on-dark);
}

.site-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 40px var(--pl-gutter-wide) 36px;
}

.site-footer a {
	color: var(--pl-on-dark);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--pl-white);
}

.footer-badges {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0 0 28px;
	list-style: none;
	border-bottom: 1px solid var(--pl-dark-line);
}

.footer-badge {
	display: flex;
	align-items: center;
	gap: 12px;
}

.footer-badge__icon {
	display: flex;
	color: var(--pl-sky);
}

.footer-badge__text {
	display: flex;
	flex-direction: column;
}

.footer-badge__title {
	font-size: 14px;
	font-weight: 800;
	color: var(--pl-white);
}

.footer-badge__subtitle {
	font-size: 12px;
}

.footer-newsletter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--pl-dark-line);
}

.footer-newsletter__heading {
	margin: 0;
	font-family: var(--pl-serif);
	font-size: 22px;
	font-weight: 600;
	color: var(--pl-white);
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* White logo from Theme Options → Business → "Logo for dark backgrounds". */
.footer-brand__logo {
	display: inline-block;
	align-self: flex-start;
	line-height: 0;
}

.footer-brand__logo img {
	display: block;
	width: 150px;
	height: auto;
}

.site-footer .footer-brand__name {
	font-size: 22px;
	font-weight: 800;
	color: var(--pl-white);
	text-transform: lowercase;
}

.footer-brand__about {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 13px;
}

.footer-col__heading {
	margin: 0;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--pl-white);
	text-transform: uppercase;
}

.footer-col__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-col__list a {
	line-height: 1.3;
}

.footer-legal {
	margin: 0;
	padding-top: 22px;
	border-top: 1px solid var(--pl-dark-line);
	font-size: 12px;
	line-height: 1.6;
	color: var(--pl-on-dark-soft);
}

.footer-legal strong,
.footer-legal b {
	color: var(--pl-on-dark-strong);
}

.site-footer .footer-legal a {
	color: inherit;
}

.site-footer .footer-legal a:hover {
	color: var(--pl-white);
}

/* 11. Fallback content (index.php until page templates land) ------------------ */
.content-area {
	padding-block: 56px 80px;
}

.page-header {
	margin-bottom: 32px;
}

.page-title {
	margin: 0;
	font-size: clamp(32px, 4vw, 48px);
}

.entry {
	max-width: 760px;
	margin-bottom: 48px;
}

.entry-title {
	margin: 0 0 16px;
	font-size: clamp(26px, 3vw, 36px);
}

.entry-title a {
	color: inherit;
	text-decoration: none;
}

.entry-content {
	font-size: 17px;
	line-height: 1.7;
}

.entry-summary {
	color: var(--pl-muted);
}

.nav-links {
	display: flex;
	gap: 8px;
}

/* 12. WordPress core classes -------------------------------------------------- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus,
.skip-link:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	top: 8px;
	left: 8px;
	z-index: 100000;
	padding: 12px 18px;
	border-radius: 8px;
	background: var(--pl-white);
	color: var(--pl-navy);
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(11, 42, 91, 0.2);
}

.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}

.alignright {
	float: right;
	margin: 0 0 16px 24px;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	font-size: 13px;
	color: var(--pl-muted);
}

.sticky,
.bypostauthor {
	position: relative;
}

/* 13. Responsive -------------------------------------------------------------- */
@media (max-width: 1280px) {
	.masthead__start {
		gap: 28px;
	}

	.primary-nav__list {
		gap: 18px;
		font-size: 14px;
	}
}

@media (max-width: 1100px) {
	.primary-nav,
	.masthead__support {
		display: none;
	}

	.masthead__menu-toggle {
		display: inline-flex;
	}

	.masthead__start {
		gap: 12px;
	}

	.footer-badges,
	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 32px;
	}
}

@media (max-width: 782px) {
	.admin-bar {
		--pl-sticky-top: 46px;
	}
}

@media (max-width: 600px) {
	:root {
		--pl-header-h: 64px;
	}

	/* The admin bar scrolls away on small screens. */
	.admin-bar {
		--pl-sticky-top: 0px;
	}

	.masthead__inner {
		gap: 8px;
	}

	.masthead__actions {
		gap: 6px;
	}

	.brand__mark {
		width: 32px;
		height: 32px;
	}

	.brand__logo {
		height: var(--pl-logo-h-mobile, 40px);
		max-width: min(52vw, calc(100vw - 220px)); /* leave room for the menu, search, account and cart buttons */
	}

	.co-header .brand__logo {
		height: var(--pl-logo-h-mobile, 40px);
	}

	.brand__name {
		font-size: 20px;
	}

	.brand__tagline {
		font-size: 9px;
		letter-spacing: 0.12em;
	}

	.cart-btn {
		padding: 0 12px;
	}

	.topbar--announce {
		font-size: 12px;
	}

	.topbar--ruo {
		font-size: 11px;
		letter-spacing: 0.02em;
	}

	.catbar__list {
		height: 52px;
	}

	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-footer__inner {
		padding-block: 36px 32px;
	}
}

@media (max-width: 380px) {
	.masthead__account,
	.brand__tagline {
		display: none;
	}
}
