/* WPOF theme — light Norwegian-red listing layout. */
:root {
	--wpof-bg: #fff5f6;
	--wpof-bg-2: #fde6e9;
	--wpof-card: #ffffff;
	--wpof-card-2: #fdf1f3;
	--wpof-text: #2a0a10;
	--wpof-muted: #84616a;
	--wpof-border: #f5d4d8;
	--wpof-header-bg-1: #b81a2b;
	--wpof-header-bg-2: #d72638;
	--wpof-header-text: #ffffff;
	--wpof-accent: #d72638;
	--wpof-accent-2: #e85767;
	--wpof-accent-3: #b81a2b;
	--wpof-paid: #d72638;
	--wpof-free: #2ecc71;
	--wpof-radius: 14px;
	--wpof-radius-sm: 8px;
	--wpof-shadow: 0 6px 24px rgba(120,20,32,.08);
	--wpof-shadow-strong: 0 10px 40px rgba(120,20,32,.16);
	--wpof-container: 1200px;
}

* { box-sizing: border-box; }

html, body {
	margin: 0; padding: 0;
	background: var(--wpof-bg);
	color: var(--wpof-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px; line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--wpof-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--wpof-text); }
.wpof-container { max-width: var(--wpof-container); margin: 0 auto; padding: 0 20px; }

/* Header */
.wpof-header {
	position: sticky; top: 0; z-index: 50;
	background: linear-gradient(180deg, var(--wpof-header-bg-1), var(--wpof-header-bg-2));
	color: var(--wpof-header-text);
	box-shadow: 0 2px 12px rgba(11,42,82,.25);
	transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}
.wpof-header::after {
	content: ""; display: block; height: 3px;
	background: linear-gradient(90deg, #fff 0%, var(--wpof-accent-2) 30%, #fff 50%, var(--wpof-accent-2) 70%, #fff 100%);
	opacity: .35;
}
.wpof-header.is-scrolled {
	background: linear-gradient(180deg, rgba(184,26,43,.96), rgba(215,38,56,.96));
	backdrop-filter: saturate(140%) blur(10px);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	box-shadow: 0 4px 18px rgba(120,20,32,.28);
}
.wpof-header.is-scrolled .wpof-header__inner { padding-top: 8px; padding-bottom: 8px; }
.wpof-header.is-scrolled .wpof-brand img,
.wpof-header.is-scrolled .wpof-brand .custom-logo,
.wpof-header.is-scrolled .wpof-header img.custom-logo { max-height: 36px !important; }
.wpof-header__inner { display: flex; align-items: center; gap: 24px; padding: 14px 20px; transition: padding .25s ease; }
.wpof-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; }
.wpof-brand__text { color: var(--wpof-header-text); font-weight: 800; font-size: 18px; letter-spacing: .2px; text-decoration: none; }
.wpof-brand .custom-logo-link,
.wpof-brand a.custom-logo-link { display: inline-block; line-height: 0; max-width: 220px; }
.wpof-brand img,
.wpof-brand .custom-logo,
.wpof-header img.custom-logo {
	max-height: 48px !important;
	max-width: 220px !important;
	width: auto !important;
	height: auto !important;
	display: block;
	object-fit: contain;
	transition: max-height .25s ease;
}
.wpof-header__flag {
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 16px; line-height: 1;
	padding: 4px 8px;
	background: rgba(255,255,255,.14);
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 999px;
	backdrop-filter: blur(4px);
}
.wpof-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.wpof-nav__list li { position: relative; }
.wpof-nav__list a {
	color: var(--wpof-header-text);
	font-weight: 600; font-size: 14px;
	letter-spacing: .2px;
	padding: 6px 2px;
	display: inline-block;
	position: relative;
	opacity: .92;
}
.wpof-nav__list a::after {
	content: ""; position: absolute; left: 50%; bottom: -2px;
	width: 0; height: 2px;
	background: #fff;
	transition: width .25s ease, left .25s ease;
	border-radius: 2px;
}
.wpof-nav__list a:hover { opacity: 1; text-decoration: none; }
.wpof-nav__list a:hover::after,
.wpof-nav__list .current-menu-item > a::after,
.wpof-nav__list .current_page_item > a::after { width: 100%; left: 0; }
.wpof-header__actions { display: flex; align-items: center; gap: 10px; }
.wpof-header__search-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px;
	border-radius: 999px;
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.22);
	color: #fff;
	transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.wpof-header__search-btn:hover { background: #fff; color: var(--wpof-accent); border-color: #fff; text-decoration: none; transform: scale(1.05); }
.wpof-burger { display: none; background: transparent; border: 0; width: 36px; height: 36px; flex-direction: column; gap: 5px; justify-content: center; cursor: pointer; }
.wpof-burger span { display: block; height: 2px; width: 22px; background: #fff; margin: 0 auto; border-radius: 2px; }

/* Hero */
.wpof-hero {
	position: relative;
	padding: 64px 0 50px;
	color: #fff;
	background:
		radial-gradient(1200px 500px at 80% -10%, rgba(255,255,255,.18), transparent 60%),
		linear-gradient(180deg, var(--wpof-header-bg-2) 0%, var(--wpof-accent) 60%, var(--wpof-accent-2) 100%);
	text-align: center;
}
.wpof-hero h1, .wpof-hero p { color: #fff; }
.wpof-hero__title { font-size: clamp(28px, 5vw, 48px); margin-bottom: 12px; }
.wpof-hero__sub { color: rgba(255,255,255,.92); max-width: 680px; margin: 0 auto 28px; font-size: 17px; }
.wpof-hero__search { display: flex; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 999px; padding: 6px; box-shadow: var(--wpof-shadow-strong); }
.wpof-hero__search input { flex: 1; background: transparent; border: 0; color: var(--wpof-text); font-size: 16px; padding: 12px 18px; outline: none; }
.wpof-hero__search button {
	background: linear-gradient(135deg, var(--wpof-accent-3), #ff7a3d);
	color: #fff; border: 0; border-radius: 999px; padding: 12px 22px;
	font-weight: 700; cursor: pointer; font-size: 14px; letter-spacing: .3px;
}
.wpof-hero__tags { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; color: rgba(255,255,255,.92); font-size: 14px; align-items: center; }
.wpof-hero__tags a { background: rgba(255,255,255,.18); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 13px; border: 1px solid rgba(255,255,255,.25); }
.wpof-hero__tags a:hover { background: #fff; color: var(--wpof-accent); text-decoration: none; }

/* Sections */
.wpof-section { padding: 50px 0; }
.wpof-section--top { padding-top: 30px; }
.wpof-section--alt { background: var(--wpof-bg-2); }
/* Breadcrumbs */
.wpof-breadcrumb { font-size: 13px; color: var(--wpof-muted); margin: 0 0 16px; }
.wpof-breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.wpof-breadcrumb li { display: inline-flex; align-items: center; gap: 4px; }
.wpof-breadcrumb a { color: var(--wpof-muted); }
.wpof-breadcrumb a:hover { color: var(--wpof-accent); text-decoration: none; }
.wpof-breadcrumb [aria-current="page"] span { color: var(--wpof-text); font-weight: 600; }
.wpof-breadcrumb__sep { color: var(--wpof-border); margin: 0 4px; }

/* Compact creator cards (Rising Stars row) */
.wpof-mini-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 10px;
}
.wpof-mini {
	display: flex; align-items: center; gap: 10px;
	background: var(--wpof-card);
	border: 1px solid var(--wpof-border);
	border-radius: var(--wpof-radius-sm);
	padding: 8px 12px 8px 8px;
	transition: border-color .2s ease, transform .2s ease;
	color: var(--wpof-text);
	min-width: 0;
}
.wpof-mini:hover { border-color: var(--wpof-accent); transform: translateY(-1px); text-decoration: none; color: var(--wpof-text); }
.wpof-mini__rank { font-weight: 800; color: var(--wpof-muted); font-size: 13px; min-width: 16px; }
.wpof-mini__media { display: block; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--wpof-bg-2); flex-shrink: 0; }
.wpof-mini__media img { width: 100%; height: 100%; object-fit: cover; }
.wpof-mini__body { display: flex; flex-direction: column; min-width: 0; gap: 0; }
.wpof-mini__name { font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wpof-mini__handle { font-size: 12px; color: var(--wpof-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Category mosaic cards (homepage + categories archive) */
.wpof-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}
.wpof-cat-card {
	position: relative; display: block;
	aspect-ratio: 1 / 1;
	border-radius: var(--wpof-radius);
	overflow: hidden;
	background: var(--wpof-card-2);
	border: 1px solid var(--wpof-border);
	color: #fff;
	box-shadow: var(--wpof-shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}
.wpof-cat-card:hover { transform: translateY(-3px); box-shadow: var(--wpof-shadow-strong); text-decoration: none; color: #fff; }
.wpof-cat-card__mosaic {
	position: absolute; inset: 0;
	display: grid;
	gap: 2px;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	background: var(--wpof-bg-2);
}
.wpof-cat-card__mosaic[data-count="1"] { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.wpof-cat-card__mosaic[data-count="2"] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.wpof-cat-card__mosaic[data-count="3"] span:first-child { grid-row: 1 / span 2; }
.wpof-cat-card__mosaic > span {
	display: block;
	background-color: var(--wpof-bg-2);
	background-size: cover;
	background-position: center;
}
.wpof-cat-card__placeholder { background: linear-gradient(135deg, var(--wpof-accent), var(--wpof-accent-2)); }
.wpof-cat-card__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(11,42,82,0) 35%, rgba(11,42,82,.85) 100%);
}
.wpof-cat-card__label {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 14px 16px;
	display: flex; align-items: center; justify-content: space-between;
	gap: 8px;
	color: #fff;
}
.wpof-cat-card__name { font-weight: 800; font-size: 16px; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.wpof-cat-card__count {
	background: rgba(255,255,255,.18);
	backdrop-filter: blur(8px);
	color: #fff;
	font-size: 12px; font-weight: 800;
	padding: 3px 9px; border-radius: 999px;
	border: 1px solid rgba(255,255,255,.25);
}

/* Blog grid (homepage) */
.wpof-blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 22px;
}
.wpof-blog-card {
	background: var(--wpof-card);
	border: 1px solid var(--wpof-border);
	border-radius: var(--wpof-radius);
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.wpof-blog-card:hover { transform: translateY(-3px); border-color: var(--wpof-accent); box-shadow: var(--wpof-shadow-strong); }
.wpof-blog-card__media { display: block; aspect-ratio: 16 / 9; background: var(--wpof-card-2); overflow: hidden; }
.wpof-blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.wpof-blog-card__body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.wpof-blog-card__date { font-size: 12px; color: var(--wpof-muted); text-transform: uppercase; letter-spacing: .4px; font-weight: 700; }
.wpof-blog-card__title { font-size: 17px; margin: 2px 0; line-height: 1.3; }
.wpof-blog-card__title a { color: var(--wpof-text); }
.wpof-blog-card__title a:hover { color: var(--wpof-accent); text-decoration: none; }
.wpof-blog-card__desc { color: var(--wpof-muted); font-size: 14px; margin: 0; }

/* Footer 4-col layout */
.wpof-footer { background: linear-gradient(180deg, var(--wpof-header-bg-2), var(--wpof-header-bg-1)); color: rgba(255,255,255,.85); padding: 50px 0 20px; margin-top: 50px; }
.wpof-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr; gap: 36px; }
.wpof-footer__col h3, .wpof-footer__col h4 { color: #fff; margin: 0 0 14px; }
.wpof-footer__col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .8px; opacity: .8; font-weight: 700; }
.wpof-footer__brand { font-size: 20px; font-weight: 800; }
.wpof-footer__tagline { color: rgba(255,255,255,.75); font-size: 14px; margin: 0 0 12px; }
.wpof-footer__instagram { display: inline-block; color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.wpof-footer__sublinks, .wpof-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.wpof-footer__sublinks a, .wpof-footer__list a { color: rgba(255,255,255,.8); font-size: 14px; }
.wpof-footer__sublinks a:hover, .wpof-footer__list a:hover { color: #fff; text-decoration: none; }
.wpof-footer__nl { color: rgba(255,255,255,.75); font-size: 13px; margin: 0 0 12px; }
.wpof-footer__form { display: flex; gap: 6px; }
.wpof-footer__form input { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font-size: 13px; }
.wpof-footer__form input::placeholder { color: rgba(255,255,255,.45); }
.wpof-footer__form button { background: var(--wpof-accent-3); color: #fff; border: 0; padding: 9px 14px; border-radius: 8px; font-weight: 700; font-size: 13px; cursor: pointer; }
.wpof-footer__regions { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; font-size: 14px; color: rgba(255,255,255,.75); }
.wpof-footer__regions a { color: rgba(255,255,255,.9); }
.wpof-footer__regions a:hover { color: #fff; text-decoration: none; }
.wpof-footer__bottom { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 10px; color: rgba(255,255,255,.65); font-size: 12px; flex-wrap: wrap; }
@media (max-width: 720px) {
	.wpof-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* Section head row keeps "See all" on the right */
.wpof-section__head { margin-bottom: 26px; }
.wpof-section__head h1, .wpof-section__head h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 6px; }
.wpof-section__head p { color: var(--wpof-muted); margin: 0; }
.wpof-section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.wpof-section__more { font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--wpof-accent); }
.wpof-section__more:hover { text-decoration: none; color: var(--wpof-accent-2); }

/* Grid — smaller cards site-wide */
.wpof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
@media (min-width: 1100px) { .wpof-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } }

/* Card */
.wpof-card {
	background: var(--wpof-card);
	border-radius: var(--wpof-radius-sm);
	overflow: hidden;
	display: flex; flex-direction: column;
	border: 1px solid var(--wpof-border);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.wpof-card:hover { transform: translateY(-2px); border-color: var(--wpof-accent); box-shadow: var(--wpof-shadow); }
.wpof-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--wpof-card-2); overflow: hidden; }
.wpof-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.wpof-card:hover .wpof-card__media img { transform: scale(1.03); }
.wpof-card__placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, var(--wpof-card-2), var(--wpof-bg-2)); }
.wpof-card__badge {
	position: absolute; top: 8px; left: 8px;
	font-size: 10px; font-weight: 800; letter-spacing: .3px;
	padding: 3px 7px; border-radius: 5px; color: #fff;
	background: var(--wpof-accent-3);
	text-transform: uppercase;
}
.wpof-card__badge--free, .wpof-card__badge--gratis { background: var(--wpof-free); }
.wpof-card__badge--paid, .wpof-card__badge--premium, .wpof-card__badge--pago { background: var(--wpof-paid); }
.wpof-card__body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.wpof-card__title { font-size: 13px; margin: 0; line-height: 1.25; }
.wpof-card__title a { color: var(--wpof-text); }
.wpof-card__title a:hover { color: var(--wpof-accent); text-decoration: none; }
.wpof-card__desc { display: none; }
.wpof-card__meta { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.wpof-card__subs { color: var(--wpof-muted); font-size: 11px; font-weight: 600; }
.wpof-card__handle { color: var(--wpof-muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wpof-card__btn { display: none; }

/* Buttons */
.wpof-btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--wpof-bg-2); color: var(--wpof-text);
	padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 700;
	border: 1px solid var(--wpof-border); cursor: pointer; text-decoration: none;
}
.wpof-btn:hover { background: var(--wpof-card-2); text-decoration: none; }
.wpof-btn--primary { background: #00aff0; border-color: transparent; color: #fff; box-shadow: 0 4px 14px rgba(0,175,240,.35); }
.wpof-btn--primary:hover { background: #0095cc; color: #fff; text-decoration: none; box-shadow: 0 6px 18px rgba(0,175,240,.45); }
.wpof-btn--lg { padding: 14px 26px; font-size: 15px; }

/* Single creator — hero with blurred photo banner */
.wpof-single__top { position: relative; padding: 0 0 24px; background: linear-gradient(180deg, var(--wpof-bg-2), var(--wpof-bg)); overflow: hidden; isolation: isolate; }
.wpof-single__top .wpof-container { position: relative; padding-top: 16px; }
.wpof-single__top.has-banner { padding-top: 0; }
.wpof-single__banner {
	position: absolute; inset: 0 0 auto 0;
	height: 220px;
	z-index: -1;
	background: linear-gradient(135deg, var(--wpof-accent-3), var(--wpof-accent-2));
}
.wpof-single__top.has-banner .wpof-single__banner {
	background-image:
		linear-gradient(180deg, rgba(184,26,43,.55), rgba(215,38,56,.85) 80%, var(--wpof-bg) 100%),
		var(--wpof-banner);
	background-size: cover;
	background-position: center;
	filter: saturate(1.1);
}
.wpof-single__top.has-banner .wpof-single__banner::after {
	content: ""; position: absolute; inset: 0;
	backdrop-filter: blur(28px) saturate(140%);
	-webkit-backdrop-filter: blur(28px) saturate(140%);
	background: linear-gradient(180deg, rgba(184,26,43,.25), rgba(184,26,43,.55));
}
.wpof-single__top.has-banner .wpof-breadcrumb { color: rgba(255,255,255,.85); padding-top: 18px; }
.wpof-single__top.has-banner .wpof-breadcrumb a,
.wpof-single__top.has-banner .wpof-breadcrumb [aria-current="page"] span { color: #fff; }
.wpof-single__top.has-banner .wpof-breadcrumb__sep { color: rgba(255,255,255,.5); }
.wpof-single__hero { position: relative; padding: 30px 0 0; color: var(--wpof-text); }
.wpof-single__hero-overlay { display: none; }
.wpof-single__hero-inner { padding: 0; display: flex; gap: 26px; align-items: flex-end; flex-wrap: wrap; width: 100%; max-width: var(--wpof-container); margin: 0 auto; }
.wpof-single__avatar-wrap { position: relative; flex-shrink: 0; }
.wpof-single__avatar { width: 156px; height: 156px; border-radius: 24px; object-fit: cover; border: 5px solid #fff; box-shadow: 0 14px 36px rgba(0,0,0,.35); display: block; }
.wpof-single__avatar-badge {
	position: absolute; right: -6px; bottom: -6px;
	width: 36px; height: 36px;
	background: linear-gradient(135deg, var(--wpof-accent), var(--wpof-accent-2));
	color: #fff; font-weight: 800; font-size: 16px;
	border: 3px solid #fff;
	border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.wpof-single__intro { flex: 1; min-width: 240px; padding-bottom: 6px; }
.wpof-single__top.has-banner .wpof-single__intro { color: #fff; }
.wpof-single__top.has-banner .wpof-single__intro h1 { color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.wpof-single__top.has-banner .wpof-single__handle { color: rgba(255,255,255,.9); }
.wpof-single__intro h1 { font-size: clamp(28px, 4.2vw, 42px); margin: 0 0 6px; color: var(--wpof-text); font-weight: 800; letter-spacing: -.02em; }
.wpof-single__handle { color: var(--wpof-muted); font-size: 15px; margin: 0 0 14px; font-weight: 500; }
.wpof-single__chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.wpof-chip { padding: 5px 11px; border-radius: 8px; font-weight: 700; font-size: 11px; letter-spacing: .3px; background: var(--wpof-bg-2); color: var(--wpof-text); text-transform: uppercase; border: 1px solid var(--wpof-border); }
.wpof-single__top.has-banner .wpof-chip { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.wpof-single__top.has-banner .wpof-chip--free,
.wpof-single__top.has-banner .wpof-chip--paid { background: rgba(255,255,255,.95); color: var(--wpof-accent); }
.wpof-chip a { color: inherit; }

/* Trust signals strip (under chips on profile hero) */
.wpof-trust { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 18px; }
.wpof-trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--wpof-text); }
.wpof-trust__icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--wpof-accent); font-size: 13px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.wpof-single__top.has-banner .wpof-trust li { color: rgba(255,255,255,.95); }
@media (max-width: 640px) {
	.wpof-single__hero-inner { align-items: flex-start; }
	.wpof-single__avatar { width: 120px; height: 120px; border-radius: 20px; border-width: 4px; }
	.wpof-single__avatar-badge { width: 30px; height: 30px; font-size: 14px; }
	.wpof-single__banner { height: 180px; }
}

/* Blog single */
.wpof-blog-single__head { padding: 8px 0 16px; }
.wpof-blog-single__date { color: var(--wpof-accent); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.wpof-blog-single__title { font-size: clamp(28px, 4.5vw, 42px); margin: 8px 0 12px; line-height: 1.2; }
.wpof-blog-single__lede { color: var(--wpof-muted); font-size: 17px; margin: 0; max-width: 760px; }
.wpof-blog-single__cover { margin: 0 0 30px; }
.wpof-blog-single__cover img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--wpof-radius); box-shadow: var(--wpof-shadow); }
.wpof-blog-single__body { max-width: 760px; padding-bottom: 60px; }
.wpof-blog-single__body .wpof-prose h2 { font-size: 26px; margin: 32px 0 12px; }
.wpof-blog-single__body .wpof-prose h3 { font-size: 21px; margin: 24px 0 10px; }
.wpof-blog-single__body .wpof-prose p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; }
.wpof-blog-single__body .wpof-prose a { color: var(--wpof-accent); text-decoration: underline; }

/* Term/category description shown above the grid */
.wpof-term-intro { color: var(--wpof-muted); font-size: 16px; line-height: 1.6; max-width: 820px; margin: -10px 0 24px; }
.wpof-chip--free { background: var(--wpof-free); color: #fff; }
.wpof-chip--paid { background: var(--wpof-paid); color: #fff; }
.wpof-single__body { padding: 30px 20px 10px; }
.wpof-single__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; max-width: var(--wpof-container); margin: 0 auto; }
.wpof-single__main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.wpof-verified { display: inline-block; background: var(--wpof-accent); color: #fff; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; font-size: 13px; margin-left: 8px; vertical-align: middle; }
.wpof-single__aside { display: flex; flex-direction: column; gap: 16px; }

/* Stats grid */
.wpof-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wpof-stat {
	position: relative; overflow: hidden;
	background: var(--wpof-card);
	border: 1px solid var(--wpof-border);
	border-radius: var(--wpof-radius);
	padding: 18px 14px 16px;
	text-align: center;
	box-shadow: var(--wpof-shadow);
	display: flex; flex-direction: column; gap: 6px;
	min-width: 0;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.wpof-stat::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
	background: linear-gradient(90deg, var(--wpof-accent), var(--wpof-accent-2));
	opacity: .9;
}
.wpof-stat:hover { transform: translateY(-2px); box-shadow: var(--wpof-shadow-strong); border-color: var(--wpof-accent-2); }
.wpof-stat__icon { font-size: 20px; line-height: 1; margin-bottom: 2px; }
.wpof-stat__value { font-size: 19px; font-weight: 800; color: var(--wpof-text); line-height: 1.15; word-break: break-word; }
.wpof-stat__label { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--wpof-muted); font-weight: 700; }
@media (max-width: 720px) { .wpof-stats { grid-template-columns: repeat(2, 1fr); } }

/* Content panels (About, Categories, Why visit) */
.wpof-panel { background: var(--wpof-card); border: 1px solid var(--wpof-border); border-radius: var(--wpof-radius); padding: 26px 28px; box-shadow: var(--wpof-shadow); }
.wpof-panel__title {
	position: relative;
	font-size: 22px; margin: 0 0 16px;
	color: var(--wpof-text);
	padding-left: 16px;
	font-weight: 800;
	letter-spacing: -.01em;
}
.wpof-panel__title::before {
	content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
	width: 4px; border-radius: 4px;
	background: linear-gradient(180deg, var(--wpof-accent), var(--wpof-accent-2));
}
.wpof-panel .wpof-prose { max-width: none; margin: 0; }
.wpof-panel .wpof-prose p { margin: 0 0 .8em; }
.wpof-panel--why { background: linear-gradient(135deg, var(--wpof-bg-2), var(--wpof-card-2)); border-color: var(--wpof-border); }

/* Tag cloud (categories on creator page) */
.wpof-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.wpof-tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; background: var(--wpof-bg-2); color: var(--wpof-text); border: 1px solid var(--wpof-border); border-radius: 999px; font-size: 13px; font-weight: 600; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.wpof-tag:hover { background: var(--wpof-accent); color: #fff; border-color: var(--wpof-accent); text-decoration: none; }
.wpof-tag__count { font-size: 11px; opacity: .7; font-weight: 800; }
.wpof-tag:hover .wpof-tag__count { opacity: 1; }

/* FAQ section */
.wpof-faq-section { background: var(--wpof-bg-2); border-top: 1px solid var(--wpof-border); }
.wpof-faq { display: flex; flex-direction: column; gap: 10px; max-width: 880px; margin: 0 auto; }
.wpof-faq__item { background: var(--wpof-card); border: 1px solid var(--wpof-border); border-radius: var(--wpof-radius-sm); padding: 0; overflow: hidden; box-shadow: var(--wpof-shadow); }
.wpof-faq__q { cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 16px; color: var(--wpof-text); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wpof-faq__q::-webkit-details-marker { display: none; }
.wpof-faq__q::after { content: '+'; font-size: 22px; font-weight: 800; color: var(--wpof-accent); line-height: 1; transition: transform .2s ease; }
.wpof-faq__item[open] .wpof-faq__q::after { content: '−'; }
.wpof-faq__a { padding: 0 20px 18px; color: var(--wpof-text); font-size: 15px; line-height: 1.6; }
.wpof-faq__a p { margin: 0; }

/* Footer popular-categories cloud */
.wpof-footer__cats { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.wpof-footer__cats h4 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .8px; opacity: .8; font-weight: 700; margin: 0 0 14px; }
.wpof-footer__cats-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.wpof-footer__cats-cloud a { background: rgba(255,255,255,.12); color: rgba(255,255,255,.92); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); }
.wpof-footer__cats-cloud a:hover { background: #fff; color: var(--wpof-accent); border-color: #fff; text-decoration: none; }

/* Checklist (Why visit) */
.wpof-checklist { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.wpof-checklist li { position: relative; padding-left: 28px; color: var(--wpof-text); font-size: 15px; line-height: 1.5; }
.wpof-checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; line-height: 20px; text-align: center; background: var(--wpof-accent); color: #fff; border-radius: 50%; font-size: 12px; font-weight: 800; }

/* Sidebar CTA card */
.wpof-cta-card { background: var(--wpof-card); border: 1px solid var(--wpof-border); border-radius: var(--wpof-radius); padding: 22px 18px; text-align: center; box-shadow: var(--wpof-shadow); position: sticky; top: 80px; }
.wpof-cta-card__avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 3px solid var(--wpof-bg-2); }
.wpof-cta-card__name { font-size: 17px; margin: 0 0 2px; color: var(--wpof-text); }
.wpof-cta-card__handle { color: var(--wpof-muted); font-size: 13px; margin: 0 0 14px; }
.wpof-cta-card__btn { width: 100%; justify-content: center; margin: 0 0 10px; }
.wpof-cta-card__note { color: var(--wpof-muted); font-size: 11px; margin: 0; line-height: 1.4; }

/* Share row */
.wpof-share { display: flex; flex-wrap: wrap; gap: 6px; }
.wpof-share a { flex: 1 1 auto; text-align: center; padding: 8px 10px; background: var(--wpof-bg-2); color: var(--wpof-text); border: 1px solid var(--wpof-border); border-radius: var(--wpof-radius-sm); font-size: 12px; font-weight: 700; }
.wpof-share a:hover { background: var(--wpof-accent); color: #fff; border-color: var(--wpof-accent); text-decoration: none; }

.wpof-card-meta { background: var(--wpof-card); border: 1px solid var(--wpof-border); border-radius: var(--wpof-radius-sm); padding: 16px; box-shadow: var(--wpof-shadow); }
.wpof-card-meta h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--wpof-muted); margin: 0 0 10px; }
.wpof-social-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.wpof-social-list a { display: inline-block; padding: 6px 0; font-weight: 600; }
.wpof-details { margin: 0; }
.wpof-details dt { font-weight: 700; color: var(--wpof-muted); font-size: 13px; }
.wpof-details dd { margin: 0 0 8px; font-size: 14px; }
.wpof-single__notes { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--wpof-border); }

/* Prose */
.wpof-prose { max-width: 880px; margin: 0 auto; color: var(--wpof-text); }
.wpof-prose h2, .wpof-prose h3 { color: var(--wpof-text); margin-top: 1.4em; }
.wpof-prose p { margin: 0 0 1em; }
.wpof-prose a { color: var(--wpof-accent); }

/* Pagination */
.wpof-pagination { margin-top: 30px; display: flex; justify-content: center; }
.wpof-pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.wpof-pagination a, .wpof-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border-radius: 8px; background: var(--wpof-card); color: var(--wpof-text); font-weight: 700; font-size: 14px; border: 1px solid var(--wpof-border); }
.wpof-pagination .current { background: var(--wpof-accent); color: #fff; border-color: var(--wpof-accent); }
.wpof-pagination a:hover { background: var(--wpof-bg-2); text-decoration: none; }

/* Bottom content area */
.wpof-bottom-content { background: var(--wpof-bg-2); padding: 50px 0; border-top: 1px solid var(--wpof-border); }

/* Term description on archives */
.wpof-term-desc { background: var(--wpof-bg-2); padding: 40px 0; border-top: 1px solid var(--wpof-border); }

/* Age gate */
.wpof-age-gate { position: fixed; inset: 0; z-index: 9999; background: rgba(11,42,82,.92); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.wpof-age-gate[hidden] { display: none; }
.wpof-age-gate__panel { background: var(--wpof-card); border-radius: var(--wpof-radius); padding: 32px; max-width: 460px; text-align: center; box-shadow: var(--wpof-shadow-strong); border: 1px solid var(--wpof-border); }
.wpof-age-gate__panel h2 { margin-bottom: 12px; }
.wpof-age-gate__panel p { color: var(--wpof-muted); margin: 0 0 20px; }
.wpof-age-gate__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Side-drawer overlay — z-index must stay below the sticky header (z-index:50)
   so the drawer (inside the header stacking context) paints above it. */
.wpof-nav-overlay {
	position: fixed; inset: 0; z-index: 40;
	background: rgba(0,0,0,.5);
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease;
}
.wpof-nav-overlay.is-visible {
	opacity: 1;
	pointer-events: auto;
}
/* Drawer close button (injected by JS) — hidden on desktop */
.wpof-nav__close { display: none; }

/* Responsive */
@media (max-width: 720px) {
	.wpof-burger { display: inline-flex; }
	.wpof-nav {
		display: block;
		position: fixed; top: 0; right: 0; bottom: 0;
		width: 280px; max-width: 85vw;
		background: #fff;
		padding: 0 0 24px;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform .3s ease;
		box-shadow: -6px 0 32px rgba(0,0,0,.22);
	}
	.wpof-nav.is-open { transform: translateX(0); }
	/* Close button */
	.wpof-nav__close {
		display: flex; align-items: center; justify-content: space-between;
		width: 100%; padding: 0 20px;
		height: 58px;
		background: linear-gradient(180deg, var(--wpof-header-bg-1), var(--wpof-header-bg-2));
		border: 0; cursor: pointer;
		font-weight: 700; font-size: 15px; color: #fff;
	}
	.wpof-nav__close::before { content: 'Menu'; }
	.wpof-nav__close::after {
		content: '\00D7';
		font-size: 26px; line-height: 1; opacity: .85;
	}
	/* Nav list */
	.wpof-nav__list { flex-direction: column; gap: 0; padding: 8px 0; }
	.wpof-nav__list li { border-bottom: 1px solid var(--wpof-border); }
	.wpof-nav__list a {
		display: block; padding: 15px 24px;
		font-size: 15px; font-weight: 600;
		color: var(--wpof-text); opacity: 1;
	}
	.wpof-nav__list a:hover { background: var(--wpof-bg); color: var(--wpof-accent); text-decoration: none; }
	.wpof-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
	.wpof-card__title { font-size: 14px; }
	.wpof-card__desc { display: none; }
	.wpof-single__hero-inner { flex-direction: column; align-items: center; text-align: center; }
	.wpof-single__avatar { width: 110px; height: 110px; }
	.wpof-single__layout { grid-template-columns: 1fr; }
}
