/* ==========================================================================
   Power Humans: layout + components (child of Twenty Twenty-Five)
   Breakpoints: <768 mobile, 768–1023 tablet, >=1024 desktop.
   Tokens come from theme.json (var(--wp--preset--*) / var(--wp--custom--*)).
   ========================================================================== */

:root {
	--ph-header-h: var(--wp--custom--header-height, 72px);
	--ph-gutter: 24px;
	--ph-sidebar: var(--wp--custom--sidebar-width, 336px);
	--ph-accent: var(--wp--preset--color--accent, #E29E3A);
	--ph-meta: var(--wp--preset--color--meta, #A9AEBA);
	--ph-surface: var(--wp--preset--color--surface, #F3F3F6);
	--ph-link: var(--wp--preset--color--link, #1565C0);
	--ph-focus: #000;
}
@media (max-width: 1023px) { :root { --ph-header-h: var(--wp--custom--header-height-mobile, 90px); } }
@media (max-width: 767px) { :root { --ph-gutter: 16px; } }
@media (min-width: 1024px) { :root { --ph-gutter: var(--wp--custom--gutter, 56px); } }

html { scroll-padding-top: calc(var(--ph-header-h) + 16px); }
body { padding-top: var(--ph-header-h); -webkit-font-smoothing: antialiased; }

/* Accessibility ---------------------------------------------------------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--ph-focus);
	outline-offset: 2px;
	border-radius: 4px;
}
.wp-element-button:focus-visible { outline: 2px solid var(--ph-focus); outline-offset: 2px; }
.screen-reader-text:not(:focus) {
	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;
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Header ------------------------------------------------------------------ */
.ph-site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	background: #fff;
	box-shadow: var(--wp--preset--shadow--header, 0 4px 15px rgba(0,0,0,.05));
	transition: transform .25s ease;
}
.admin-bar .ph-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ph-site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ph-site-header { position: fixed; } }
.ph-site-header.is-hidden { transform: translateY(-110%); }
html.has-modal-open .ph-site-header { transform: none !important; }

.ph-header { padding: 0 var(--wp--style--root--padding-right, 40px) 0 var(--wp--style--root--padding-left, 40px); }
.ph-header__inner {
	max-width: var(--wp--style--global--wide-size, 1120px); margin: 0 auto;
	height: 72px;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.ph-header__inner > * { margin: 0 !important; }
.ph-header__left { gap: 24px; align-items: center; }
.ph-header__right { gap: 8px; align-items: center; justify-self: end; }

.ph-logo { margin: 0; line-height: 1; }
.ph-logo a { display: inline-flex; align-items: center; color: #000; text-decoration: none; }
.ph-logo__img { display: block; height: 40px; width: auto; }
@media (max-width: 1023px) { .ph-logo__img { height: 32px; } }

/* centred text nav */
.ph-mainnav { height: 72px; }
.ph-mainnav .wp-block-navigation__container { gap: 0; height: 100%; flex-wrap: nowrap; }
.ph-mainnav .wp-block-navigation-item { height: 100%; }
.ph-mainnav .wp-block-navigation-item__content {
	display: flex; align-items: center; height: 100%; padding: 0 12px !important;
	font-size: 14px; line-height: 14px; color: #000; position: relative; white-space: nowrap;
}
.ph-mainnav .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: #000;
	transform: scaleX(0); transition: transform .2s ease;
}
.ph-mainnav .wp-block-navigation-item__content:hover::after,
.ph-mainnav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.ph-mainnav .wp-block-navigation-item__content:hover { text-decoration: none; }

/* search: icon that expands into a pill */
.ph-header-search .wp-block-search__inside-wrapper { border: 0; background: transparent; padding: 0; }
.ph-header-search .wp-block-search__button {
	width: 40px; height: 40px; padding: 8px; margin: 0; border-radius: 50%;
	background: transparent; color: #000; border: 0;
}
.ph-header-search .wp-block-search__button:hover { background: var(--ph-surface); }
.ph-header-search .wp-block-search__button svg { width: 24px; height: 24px; fill: currentColor; }
.ph-header-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper { background: var(--ph-surface); border-radius: 20px; }
.ph-header-search .wp-block-search__input { background: transparent; border: 0; font-size: 14px; padding: 0 12px; }

/* accent circle */
.ph-circle-wrap { margin: 0; }
.ph-circle .wp-block-button__link {
	width: 40px; height: 40px; padding: 0; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: 13px; letter-spacing: .02em; line-height: 1;
}

/* burger + full-screen overlay */
.ph-burger .wp-block-navigation__responsive-container-open { padding: 0; width: 24px; height: 24px; color: #000; }
.ph-burger .wp-block-navigation__responsive-container-open svg { width: 24px; height: 24px; }
.ph-burger .wp-block-navigation__responsive-container.is-menu-open {
	padding: 72px var(--wp--style--root--padding-right, 40px) 40px;
	background: #fff; color: #000;
}
.ph-burger .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	position: fixed; top: 24px; left: max(var(--wp--style--root--padding-left, 40px), calc((100vw - var(--wp--style--global--wide-size, 1120px)) / 2)); right: auto;
	width: 24px; height: 24px; padding: 0; color: #000; z-index: 2;
}
.admin-bar .ph-burger .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { top: 56px; }
@media (max-width: 767px) { .ph-burger .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { top: 12px; left: 16px; } }
.ph-burger .is-menu-open .wp-block-navigation__responsive-dialog { margin-top: 0 !important; }
.ph-burger .is-menu-open .wp-block-navigation__submenu-container,
.ph-burger .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { margin: 0 !important; padding-left: 0 !important; padding-right: 0 !important; width: 100%; }
.ph-burger .is-menu-open .wp-block-navigation-item__content { padding: 0 !important; }
.ph-burger .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { flex-direction: column; align-items: flex-start !important; display: flex !important; }

.ph-burger .is-menu-open .wp-block-navigation__responsive-container-content {
	max-width: var(--wp--style--global--wide-size, 1120px); margin: 0 auto; padding-top: 0 !important; width: 100%;
	align-items: stretch !important;
}
.ph-burger .is-menu-open .wp-block-navigation__container {
	display: grid !important; grid-template-columns: 1fr; gap: 32px 40px !important; width: 100%;
	align-items: start !important;
}
@media (min-width: 768px) { .ph-burger .is-menu-open .wp-block-navigation__container { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ph-burger .is-menu-open .wp-block-navigation__container { grid-template-columns: repeat(4, 1fr); } }
.ph-burger .is-menu-open .ph-menu-group > .wp-block-navigation-item__content {
	font-size: 12px; font-weight: 700; line-height: 32px; text-transform: uppercase; letter-spacing: .04em; color: #000;
}
.ph-burger .is-menu-open .wp-block-navigation__submenu-container { gap: 14px !important; padding: 8px 0 0 !important; }
.ph-burger .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 14px; line-height: 21px; color: #000; padding: 0 !important; display: block;
}

.ph-burger .is-menu-open .wp-block-navigation-item__description {
	display: block; font-size: 12px; line-height: 16px; color: var(--wp--preset--color--muted, #6B7080); margin-top: 2px;
}
.ph-burger .is-menu-open .wp-block-navigation-item__content:hover .wp-block-navigation-item__label { text-decoration: underline; }
/* the last group ("Power Humans") doubles as the overlay footer band */
@media (min-width: 1024px) {
	.ph-burger .is-menu-open .ph-menu-group:last-child { grid-column: 1 / -1; background: var(--wp--preset--color--surface-2, #F5F7F9); margin: 24px calc(-1 * var(--wp--style--root--padding-left, 40px)) 0; padding: 16px var(--wp--style--root--padding-left, 40px); }
	.ph-burger .is-menu-open .ph-menu-group:last-child > .wp-block-navigation__submenu-container { flex-direction: row !important; flex-wrap: wrap; gap: 8px 24px !important; }
}

/* Mobile + tablet header: 2 rows (logo row + scrolling nav row) */
@media (max-width: 1023px) {
	.ph-header { padding: 0 var(--wp--style--root--padding-left, 16px); }
	.ph-header__inner { height: auto; grid-template-columns: 1fr auto; grid-template-areas: "left right" "nav nav"; gap: 0 8px; }
	.ph-header__left { grid-area: left; height: 48px; gap: 16px; }
	.ph-header__right { grid-area: right; height: 48px; }
	.ph-mainnav { grid-area: nav; height: 42px; margin: 0 calc(-1 * var(--wp--style--root--padding-left, 16px)) !important; border-top: 1px solid var(--ph-surface); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; justify-content: flex-start !important; }
	.ph-mainnav::-webkit-scrollbar { display: none; }
	.ph-mainnav .wp-block-navigation__container { justify-content: flex-start !important; padding: 0 8px; }
	.ph-mainnav .wp-block-navigation-item:last-child { padding-right: 8px; }
	.ph-circle .wp-block-button__link { width: 32px; height: 32px; font-size: 11px; }
	.ph-header-search:not(.wp-block-search__searchfield-hidden) { position: absolute; left: 16px; right: 16px; top: 4px; z-index: 2; background: #fff; }
}


@media (min-width: 768px) and (max-width: 1023px) {
	.ph-mainnav { margin: 0 !important; justify-content: center !important; }
	.ph-mainnav .wp-block-navigation__container { justify-content: center !important; }
}

/* Page titles + squiggle ------------------------------------------------- */
.ph-main { padding-top: 16px; padding-bottom: 56px; }
.ph-main > * { margin-block-start: 0; }
.ph-page-title { margin: 0 0 24px; font-size: var(--wp--preset--font-size--xx-large); line-height: 1.2; font-weight: 700; }
.ph-squiggle { position: relative; z-index: 0; }
.ph-squiggle::before {
	content: ""; position: absolute; z-index: -1; left: -8px; top: 50%; transform: translateY(-50%);
	width: 132px; height: 34px; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 34' fill='none'%3E%3Cpath d='M5 22c9-14 18-14 27 0s18 14 27 0 18-14 27 0 18 14 27 0 13-10 13-10' stroke='%23E29E3A' stroke-width='9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat left center / contain;
	opacity: .9;
}
@media (max-width: 767px) { .ph-squiggle::before { width: 96px; height: 26px; } }
.ph-term-description { margin: -12px 0 24px; font-size: 14px; line-height: 20px; color: #000; max-width: 1000px; }

/* Primary + sidebar layout ---------------------------------------------- */
.ph-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px var(--ph-gutter); align-items: start; }
@media (min-width: 1024px) { .ph-with-sidebar { grid-template-columns: minmax(0, 1fr) var(--ph-sidebar); } }
.ph-with-sidebar > * { margin: 0 !important; min-width: 0; }
.ph-primary > :first-child { margin-top: 0; }

/* Sections ---------------------------------------------------------------- */
.ph-section { margin: 0 0 40px; }
.ph-main > .alignwide + .alignwide, .ph-main > .ph-with-sidebar + .alignwide { margin-top: 32px; }
.ph-section-title { font-size: 24px; line-height: 28px; font-weight: 400; margin: 0 0 16px; }
.ph-section--side-trending .ph-section-title { font-weight: 700; }

/* Card grid (overrides core grid columns with spec breakpoints) */
.ph-grid .wp-block-post-template {
	display: grid !important; grid-template-columns: minmax(0, 1fr) !important;
	gap: 40px var(--ph-gutter) !important; margin: 0; padding: 0; list-style: none;
}
@media (min-width: 768px) {
	.ph-grid--2 .wp-block-post-template, .ph-grid--3 .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (min-width: 1024px) {
	.ph-grid--3 .wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
.ph-grid--1 .wp-block-post-template { grid-template-columns: minmax(0, 1fr) !important; gap: 32px !important; }

/* Card --------------------------------------------------------------------- */
.ph-card { display: flex; flex-direction: column; height: 100%; margin: 0; }
.ph-card > * { margin: 0; }
.ph-card__image { margin: 0 0 12px !important; overflow: hidden; border-radius: 16px; background: var(--ph-surface); }
.ph-card__image a, .ph-card__image img { display: block; width: 100%; border-radius: 16px; }
.ph-card__image img { transition: opacity .15s ease; }
.ph-card__image a:hover img { opacity: .92; }
.ph-card__title { font-size: 20px; line-height: 28px; font-weight: 700; margin: 0 !important; }
.ph-card__title a { color: #000; }
.ph-card__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ph-card__excerpt { margin-top: 4px !important; }
.ph-card__excerpt .wp-block-post-excerpt__excerpt {
	margin: 0; font-size: 14px; line-height: 20px; color: #000;
	display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ph-card__excerpt .wp-block-post-excerpt__more-text { display: none; }
.ph-card__meta { margin-top: auto !important; padding-top: 8px; gap: 12px; align-items: center; font-size: 14px; line-height: 20px; }
.ph-card__cat { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ph-card__cat a { color: var(--ph-link); }
.ph-card__cat a:not(:first-child), .ph-card__cat .wp-block-post-terms__separator { display: none; }
.ph-card__date, .ph-article__date { color: var(--ph-meta); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.ph-card__date::before, .ph-article__date::before {
	content: ""; width: 14px; height: 14px; flex: 0 0 14px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ph-card__readtime::before { content: "·"; margin: 0 4px 0 2px; }
.ph-noresults { color: var(--wp--preset--color--muted, #6B7080); }

/* "More …" pill */
.ph-more { margin-top: 24px !important; }
.ph-more .wp-block-button__link { height: 32px; display: inline-flex; align-items: center; padding: 0 16px; font-size: 14px; border-radius: 10px; }
@media (max-width: 767px) { .ph-more { justify-content: stretch !important; } .ph-more .wp-block-button { width: 100%; } .ph-more .wp-block-button__link { width: 100%; justify-content: center; height: 48px; } }

/* Sidebar ------------------------------------------------------------------ */
.ph-sidebar { display: flex; flex-direction: column; gap: 24px; }
.ph-sidebar > * { margin: 0 !important; }
.ph-box { border-radius: 12px; padding: 24px; color: #fff; text-align: center; }
.ph-box > * { margin-top: 0; margin-bottom: 0; }
.ph-box > * + * { margin-top: 16px !important; }
.ph-box__title { color: #fff; font-size: 26px; line-height: 32px; font-weight: 700; }
.ph-box--join .ph-box__title, .ph-box--join .ph-box__text { color: #000; }
.ph-box__text { font-size: 16px; line-height: 24px; }
.ph-box__btn .wp-block-button__link { border-radius: 10px; font-weight: 700; padding: 10px 16px; }
.ph-box__btn .wp-block-button__link:hover { background: rgba(255,255,255,.85) !important; }
.ph-box__social .wp-social-link { border-radius: 10px; }
@media (max-width: 1023px) { .ph-with-sidebar > .ph-sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; } }

/* Ad slots ----------------------------------------------------------------- */
/* Empty containers only. Collapsed on production until something is inserted. */
.ph-ad { display: none; margin: 0 auto; text-align: center; }
.ph-ad:has(ins, iframe, img, script, .adsbygoogle, [id^="div-gpt"]),
.ph-ad.has-ad,
.ph-ad-preview .ph-ad { display: block; }
.ph-ad__label { display: block; font-size: 12px; line-height: 16px; text-transform: uppercase; color: var(--ph-meta); letter-spacing: .04em; margin-bottom: 8px; }
.ph-ad__slot { margin: 0 auto; }
.ph-ad-preview .ph-ad__slot { border: 1px dashed var(--wp--preset--color--border, #CDD1DA); border-radius: 8px; background: repeating-linear-gradient(45deg, #fafafb, #fafafb 8px, #f3f3f6 8px, #f3f3f6 16px); }
.ph-ad--sidebar .ph-ad__slot { width: 300px; max-width: 100%; min-height: 250px; }
.ph-ad--leaderboard { padding: 24px 0; }
.ph-ad--leaderboard .ph-ad__slot { max-width: 970px; min-height: 90px; }
.ph-ad--inarticle, .ph-ad--article-end { margin: 24px auto; }
.ph-ad--inarticle .ph-ad__slot, .ph-ad--article-end .ph-ad__slot { width: 336px; max-width: 100%; min-height: 280px; }
.ph-ad--feed .ph-ad__slot { width: 336px; max-width: 100%; min-height: 280px; }
@media (max-width: 767px) { .ph-ad--leaderboard .ph-ad__slot { width: 320px; max-width: 100%; min-height: 100px; } }
@media (min-width: 768px) { .ph-only-mobile { display: none; } }

/* Single article ----------------------------------------------------------- */
.ph-single .ph-with-sidebar { margin-bottom: 56px !important; }
.ph-article > * { margin-top: 0; margin-bottom: 0; }
.ph-article__meta { margin-bottom: 16px !important; font-size: 14px; line-height: 20px; }
.ph-article__title { font-size: var(--wp--preset--font-size--xx-large); line-height: 1.2; font-weight: 700; margin-bottom: 16px !important; }
@media (min-width: 1024px) { .ph-article__title { line-height: 48px; } }
.ph-article__author { margin-bottom: 16px !important; align-items: center; }
.ph-article__author .wp-block-post-author__avatar { margin-right: 8px; }
.ph-article__author .wp-block-post-author__avatar img { border-radius: 50%; display: block; }
.ph-article__author .wp-block-post-author__name { font-size: 14px; margin: 0; }
.ph-article__author .wp-block-post-author__content { display: flex; align-items: center; }
.ph-article__hero { margin: 0 0 24px !important; }
@media (max-width: 767px) { .ph-article__hero { margin-left: -16px !important; margin-right: -16px !important; } }
.ph-article__hero img { width: 100%; height: auto; display: block; border-radius: 0; }
.ph-article__content { font-size: 16px; line-height: 26px; }
@media (max-width: 767px) { .ph-article__content { line-height: 24px; } }
.ph-article__content > * { margin-top: 0; margin-bottom: 16px; }
.ph-article__content h2 { font-size: 24px; line-height: 28.8px; font-weight: 700; margin: 32px 0 16px; }
.ph-article__content h3 { font-size: 20px; line-height: 28px; margin: 24px 0 12px; }
.ph-article__content img { height: auto; max-width: 100%; }
.ph-article__content figure { margin: 24px 0; }
.ph-article__content figcaption, .ph-article__content .wp-element-caption { font-size: 12px; line-height: 16px; color: var(--ph-meta); margin-top: 8px; }
@media (max-width: 767px) {
	.ph-article__content > figure.wp-block-image, .ph-article__content > .wp-block-image { margin-left: -16px; margin-right: -16px; }
}
.ph-article__content a { text-decoration: underline; text-underline-offset: 2px; }
.ph-article__tags { margin: 16px 0 0 !important; font-size: 14px; color: var(--wp--preset--color--muted); }
.ph-article__tags a { color: var(--ph-link); }

/* share row */
.ph-share { margin-top: 24px !important; padding-top: 24px; border-top: 1px solid var(--ph-surface); }
.ph-share__title { font-size: 16px; line-height: 24px; font-weight: 700; margin: 0 0 12px; }
.ph-share__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .ph-share__list { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.ph-share__btn {
	display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 8px; border: 0; width: 100%;
	font: 700 14px/1 Helvetica, Arial, "Helvetica Neue", sans-serif; color: #fff; text-decoration: none; cursor: pointer;
	transition: opacity .15s ease;
}
.ph-share__btn:hover { opacity: .9; text-decoration: none; color: #fff; }
.ph-share__btn--facebook { background: #1877F2; }
.ph-share__btn--whatsapp { background: #128C7E; }
.ph-share__btn--messenger { background: #0866FF; }
.ph-share__btn--pinterest { background: #E60023; }
.ph-share__btn--telegram { background: #1477B8; }
.ph-share__btn--copy { background: var(--wp--preset--color--border, #CDD1DA); color: #000; }
.ph-share__btn--copy:hover { color: #000; }
.ph-share__btn--copy.is-copied { background: var(--ph-accent); }

/* comments */
.ph-comments { margin-top: 40px !important; }
.ph-comments .wp-block-comments-title { font-size: 24px; line-height: 28px; font-weight: 400; }
.ph-comment { gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ph-surface); }
.ph-comment .wp-block-comment-content { font-size: 14px; line-height: 20px; }
.ph-comments .comment-respond { margin-top: 24px; padding: 24px; border: 1px solid var(--ph-surface); border-radius: 12px; }
.ph-comments textarea, .ph-comments input[type="text"], .ph-comments input[type="email"], .ph-comments input[type="url"] {
	width: 100%; border: 1px solid var(--wp--preset--color--border, #CDD1DA); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 14px; background: #fff;
}

/* Search / 404 ------------------------------------------------------------ */
.ph-search-page { max-width: 560px; margin-bottom: 32px !important; }
.ph-search-page .wp-block-search__inside-wrapper { border: 1px solid var(--wp--preset--color--border, #CDD1DA); border-radius: 20px; padding: 2px 2px 2px 12px; }
.ph-search-page .wp-block-search__input { border: 0; background: transparent; }
.ph-search-page .wp-block-search__button { border-radius: 18px; margin: 0; }
.ph-404-text { font-size: 16px; margin-bottom: 24px !important; }

/* Pagination */
.ph-pagination { margin-top: 32px !important; font-size: 14px; }
.ph-pagination .page-numbers { padding: 6px 10px; border-radius: 8px; color: #000; }
.ph-pagination .page-numbers.current { background: var(--ph-accent); }

/* Page */
.ph-page .wp-block-post-content { font-size: 16px; line-height: 26px; }

/* Footer ------------------------------------------------------------------ */
.ph-site-footer { margin-top: 0; }
.ph-footer { padding-top: 24px; padding-bottom: 24px; }
.ph-footer__inner { gap: 16px 32px; }
.ph-footer-nav { font-size: 14px; gap: 8px 24px; }
.ph-footer-nav .wp-block-navigation__container { gap: 8px 24px; }
.ph-footer-nav a { color: #000; }
.ph-copyright { margin: 0; font-size: 12px; line-height: 18px; color: var(--ph-meta); }

/* Back to top (button injected by ui.js) */
.ph-totop {
	position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 8px; border: 0;
	background: var(--ph-accent); color: #000; cursor: pointer; display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.ph-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.ph-totop:hover { background: #EBB463; }
.ph-totop svg { width: 24px; height: 24px; }
@media (max-width: 767px) { .ph-totop { right: 16px; bottom: 16px; width: 44px; height: 44px; } }
