/**
 * PAPO Theme — Merged Features Stylesheet
 * -----------------------------------------------------------------------
 * Styles for everything merged in from sapo.pk (Directory, Job Board,
 * Resources, Events, Members Area, and the new homepage sections).
 *
 * Intentionally reuses the theme's existing design tokens instead of
 * introducing new colors or fonts:
 *   --papo-primary-accent / --papo-secondary-accent  (set in inc/template-hooks.php
 *   from the Customizer "Colors" section, same as every other section)
 *   var(--wp--preset--color--text-primary), var(--p-border), var(--p-box-shadow)
 *   (already defined by the base theme in build/css/main.css)
 * No font-family declarations are set here on purpose, so headings/body
 * text keep inheriting the site's Montserrat/Raleway type system.
 */

/* -------------------------------------------------------------------- */
/* Shared "app page" scaffold (Directory, Job Board, Resources, Events,  */
/* Sign In, Dashboard, forms, single CPT templates)                      */
/* -------------------------------------------------------------------- */
.papo-app-page {
	padding: 2rem 0 3rem;
	width: 100%;
}
.papo-app-container {
	margin: 0 auto;
	max-width: 1180px;
	padding: 0 1rem;
	width: 100%;
}
.papo-app-page--narrow .papo-app-container {
	max-width: 720px;
}
.papo-app-page__head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}
.papo-app-subheading {
	border-top: 1px solid var(--p-border, rgba(0, 0, 0, .09));
	margin-top: 2.5rem;
	padding-top: 2rem;
}
.papo-app-subheading:first-of-type {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}
.papo-app-card {
	background: #fff;
	border: 1px solid var(--p-border, rgba(0, 0, 0, .09));
	border-radius: .75rem;
	box-shadow: var(--p-box-shadow, 0 20px 40px 0 rgba(193, 199, 212, .25));
	margin-bottom: 2rem;
	padding: 1.75rem;
}
.papo-directory-intro {
	margin: -.5rem 0 1.5rem;
	max-width: 60ch;
	opacity: .85;
}
.papo-empty-state {
	background: var(--papo-secondary-accent);
	border-radius: .5rem;
	padding: 1.5rem;
	text-align: center;
}

/* -------------------------------------------------------------------- */
/* Forms (Membership Application, Register Facility, Post a Job,         */
/* Member Dashboard profile form)                                        */
/* -------------------------------------------------------------------- */
.papo-form-row {
	margin-bottom: 1.25rem;
}
.papo-form-row--split {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
}
@media (min-width: 40rem) {
	.papo-form-row--split {
		grid-template-columns: 1fr 1fr;
	}
}
.papo-form label {
	display: block;
	font-weight: 600;
	margin-bottom: .4rem;
}
.papo-form input[type="text"],
.papo-form input[type="email"],
.papo-form input[type="date"],
.papo-form input[type="search"],
.papo-form select,
.papo-form textarea {
	background: #fff;
	border: 1px solid var(--p-border, rgba(0, 0, 0, .18));
	border-radius: .4rem;
	box-sizing: border-box;
	height: auto;
	min-height: 2.75rem;
	padding: .6rem .75rem;
	width: 100%;
}
.papo-form textarea {
	min-height: 7rem;
	resize: vertical;
}
.papo-form input:focus,
.papo-form select:focus,
.papo-form textarea:focus {
	border-color: var(--papo-primary-accent);
	outline: 2px solid var(--papo-secondary-accent);
	outline-offset: 1px;
}
.papo-form-notice {
	border-radius: .5rem;
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
}
.papo-form-notice--success {
	background: var(--papo-secondary-accent);
	border-left: 4px solid var(--papo-primary-accent);
	color: var(--wp--preset--color--text-primary, #404040);
}
.papo-form-notice--error {
	background: #fdeaea;
	border-left: 4px solid #d63638;
	color: #58151c;
}

/* Membership application: benefits card, phone field, checkboxes, "Other" input */
.papo-membership-benefits ul {
	list-style: none;
	margin: 1rem 0;
	padding: 0;
}
.papo-membership-benefits ul li {
	padding: .4rem 0 .4rem 1.6rem;
	position: relative;
}
.papo-membership-benefits ul li:before {
	color: var(--papo-primary-accent);
	content: "✓";
	font-weight: 700;
	left: 0;
	position: absolute;
}
.papo-membership-review-note {
	background: var(--papo-secondary-accent);
	border-radius: .5rem;
	color: var(--wp--preset--color--text-primary, #404040);
	font-size: .9rem;
	margin: 1rem 0 0;
	padding: 1rem 1.25rem;
}
.papo-membership-number {
	background: var(--papo-secondary-accent);
	border-radius: .4rem;
	display: inline-block;
	margin: -.5rem 0 1rem;
	padding: .4rem .9rem;
}
.papo-phone-field {
	display: flex;
	gap: .5rem;
}
.papo-phone-field select {
	flex: 0 0 auto;
	max-width: 45%;
}
.papo-phone-field input {
	flex: 1 1 auto;
}
.papo-form-other-input {
	margin-top: .6rem;
}
.papo-checkbox-row label {
	align-items: flex-start;
	display: flex;
	font-weight: 400;
	gap: .6rem;
}
.papo-checkbox-row input[type="checkbox"] {
	flex: 0 0 auto;
	margin-top: .25rem;
	min-height: auto;
	width: auto;
}

.papo-required-note {
	color: #d63638;
	font-size: .85rem;
	margin-bottom: 1.5rem;
}
.papo-required-note span { font-weight: 700; }
.papo-file-hint {
	color: var(--wp--preset--color--text-primary, #404040);
	font-size: .85rem;
	margin: -.3rem 0 .6rem;
	opacity: .75;
}
.papo-form input[type="file"] {
	background: #fff;
	border: 1px dashed var(--p-border, rgba(0, 0, 0, .25));
	border-radius: .4rem;
	min-height: auto;
	padding: .75rem;
	width: 100%;
}

/* Login page */
.papo-login-card p {
	margin-bottom: 1rem;
}
.papo-login-card form.login p {
	margin-bottom: 1.1rem;
}
.papo-login-card label {
	display: block;
	font-weight: 600;
	margin-bottom: .35rem;
}
.papo-login-card input[type="text"],
.papo-login-card input[type="password"] {
	background: #fff;
	border: 1px solid var(--p-border, rgba(0, 0, 0, .18));
	border-radius: .4rem;
	box-sizing: border-box;
	min-height: 2.75rem;
	padding: .6rem .75rem;
	width: 100%;
}
.papo-login-card .login-remember {
	align-items: center;
	display: flex;
	gap: .5rem;
}
.papo-login-card .login-remember label { display: inline; font-weight: 400; margin: 0; }
.papo-login-card .login-submit input[type="submit"],
.papo-hp-btn {
	background: var(--papo-primary-accent);
	border: 0;
	border-radius: .4rem;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-weight: 600;
	padding: .75rem 1.5rem;
	text-align: center;
	text-decoration: none;
	transition: filter .2s ease, background-color .2s ease;
}
.papo-login-card .login-submit input[type="submit"]:hover,
.papo-hp-btn:hover {
	filter: brightness(.92);
}
.papo-login-links {
	font-size: .9rem;
	margin-top: 1rem;
}

/* -------------------------------------------------------------------- */
/* Member Dashboard                                                       */
/* -------------------------------------------------------------------- */
.papo-dashboard-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}
@media (min-width: 54rem) {
	.papo-dashboard-grid {
		grid-template-columns: 2fr 1fr;
	}
}
.papo-dashboard-links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.papo-dashboard-links li {
	border-bottom: 1px solid var(--p-border, rgba(0, 0, 0, .09));
	padding: .6rem 0;
}
.papo-dashboard-links li:last-child { border-bottom: 0; }
.papo-status-pill {
	border-radius: 2rem;
	display: inline-block;
	font-size: .8rem;
	font-weight: 700;
	margin-bottom: 1rem;
	padding: .3rem 1rem;
	text-transform: uppercase;
}
.papo-status-pill--approved { background: #d9f2e3; color: #1a7a44; }
.papo-status-pill--pending { background: #fdf1d6; color: #9a6b00; }
.papo-status-pill--not_submitted { background: var(--papo-secondary-accent); color: var(--papo-primary-accent); }

/* -------------------------------------------------------------------- */
/* Directory (Find a Professional / Facility)                            */
/* -------------------------------------------------------------------- */
.papo-directory-filters,
.papo-app-page .papo-directory-filters {
	background: var(--papo-secondary-accent);
	border-radius: .75rem;
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-bottom: 2rem;
	padding: 1.25rem;
}
.papo-directory-filters input,
.papo-directory-filters select {
	background: #fff;
	border: 1px solid var(--p-border, rgba(0, 0, 0, .12));
	border-radius: .4rem;
	flex: 1 1 180px;
	min-height: 2.6rem;
	padding: .5rem .75rem;
}
.papo-directory-filters button { flex: 0 0 auto; }

.papo-directory-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	margin-bottom: 2rem;
}
.papo-directory-card {
	background: #fff;
	border: 1px solid var(--p-border, rgba(0, 0, 0, .09));
	border-radius: .75rem;
	box-shadow: var(--p-box-shadow, 0 20px 40px 0 rgba(193, 199, 212, .25));
	color: inherit;
	display: block;
	padding: 1.5rem;
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease;
}
.papo-directory-card:hover {
	box-shadow: var(--p-box-shadow-hover, 0 4px 60px 0 rgba(0, 0, 0, .2));
	transform: translateY(-3px);
}
.papo-directory-card__thumb {
	border-radius: 50%;
	display: block;
	height: 72px;
	margin-bottom: 1rem;
	overflow: hidden;
	width: 72px;
}
.papo-directory-card__thumb img { height: 100%; object-fit: cover; width: 100%; }
.papo-directory-card h3 { font-size: 1.1rem; margin: 0 0 .5rem; }
.papo-directory-card__type,
.papo-directory-card__city {
	color: var(--papo-primary-accent);
	display: inline-block;
	font-size: .85rem;
	margin-right: .5rem;
}
.papo-verified-badge {
	background: var(--papo-primary-accent);
	border-radius: 50%;
	color: #fff;
	display: inline-block;
	font-size: .7rem;
	line-height: 1.3rem;
	height: 1.3rem;
	text-align: center;
	width: 1.3rem;
}
.papo-directory-cta {
	background: var(--papo-secondary-accent);
	border-radius: .75rem;
	margin-top: 2rem;
	padding: 1.5rem;
	text-align: center;
}
.papo-directory-cta p { margin-bottom: 1rem; }

/* Single directory profile */
.papo-profile-card { text-align: left; }
.papo-profile-card__thumb {
	border-radius: 50%;
	height: 96px;
	margin-bottom: 1rem;
	overflow: hidden;
	width: 96px;
}
.papo-profile-card__thumb img { height: 100%; object-fit: cover; width: 100%; }
.papo-profile-meta {
	list-style: none;
	margin: 1rem 0 1.5rem;
	padding: 0;
}
.papo-profile-meta li {
	border-bottom: 1px solid var(--p-border, rgba(0, 0, 0, .09));
	padding: .5rem 0;
}
.papo-profile-card .papo-hp-btn { margin: .5rem .5rem .5rem 0; }

/* -------------------------------------------------------------------- */
/* Job Board                                                              */
/* -------------------------------------------------------------------- */
.papo-job-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.papo-job-item {
	align-items: center;
	background: #fff;
	border: 1px solid var(--p-border, rgba(0, 0, 0, .09));
	border-radius: .75rem;
	color: inherit;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	text-decoration: none;
	transition: box-shadow .25s ease;
}
.papo-job-item:hover { box-shadow: var(--p-box-shadow, 0 20px 40px 0 rgba(193, 199, 212, .25)); }
.papo-job-item h3 { margin: 0 0 .35rem; }
.papo-job-item__meta span {
	color: var(--papo-primary-accent);
	font-size: .875rem;
	margin-right: .75rem;
}
.papo-job-item__deadline {
	background: var(--papo-secondary-accent);
	border-radius: 2rem;
	color: var(--papo-primary-accent);
	font-size: .8rem;
	font-weight: 600;
	padding: .35rem .9rem;
	white-space: nowrap;
}

/* -------------------------------------------------------------------- */
/* Resources                                                              */
/* -------------------------------------------------------------------- */
.papo-resource-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	margin-bottom: 1.5rem;
}
.papo-resource-card {
	background: #fff;
	border: 1px solid var(--p-border, rgba(0, 0, 0, .09));
	border-radius: .75rem;
	padding: 1.5rem;
}
.papo-resource-card__tag {
	background: var(--papo-secondary-accent);
	border-radius: 2rem;
	color: var(--papo-primary-accent);
	display: inline-block;
	font-size: .75rem;
	font-weight: 700;
	margin-bottom: .75rem;
	padding: .3rem .8rem;
	text-transform: uppercase;
}
.papo-resource-card h3 { margin: 0 0 .5rem; }
.papo-resource-card p { margin-bottom: 1rem; }

/* -------------------------------------------------------------------- */
/* Events                                                                 */
/* -------------------------------------------------------------------- */
.papo-event-list {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	margin-bottom: 1rem;
}
.papo-event-card {
	background: #fff;
	border: 1px solid var(--p-border, rgba(0, 0, 0, .09));
	border-radius: .75rem;
	color: inherit;
	display: block;
	overflow: hidden;
	text-decoration: none;
	transition: box-shadow .25s ease;
}
.papo-event-card:hover { box-shadow: var(--p-box-shadow, 0 20px 40px 0 rgba(193, 199, 212, .25)); }
.papo-event-card__thumb { display: block; }
.papo-event-card__thumb img { height: 160px; object-fit: cover; width: 100%; }
.papo-event-card > div { padding: 1.25rem; }
.papo-event-card__date {
	color: var(--papo-primary-accent);
	font-size: .8rem;
	font-weight: 700;
	text-transform: uppercase;
}
.papo-event-card h3 { margin: .35rem 0; }
.papo-event-card__location { display: block; font-size: .875rem; opacity: .8; }
.papo-event-list--past { opacity: .85; }

/* -------------------------------------------------------------------- */
/* Pagination                                                             */
/* -------------------------------------------------------------------- */
.papo-pagination {
	display: flex;
	gap: .5rem;
	justify-content: center;
	margin: 1rem 0 2rem;
}
.papo-pagination .page-numbers {
	background: #fff;
	border: 1px solid var(--p-border, rgba(0, 0, 0, .12));
	border-radius: .4rem;
	display: inline-block;
	padding: .5rem .9rem;
	text-decoration: none;
}
.papo-pagination .page-numbers.current {
	background: var(--papo-primary-accent);
	border-color: var(--papo-primary-accent);
	color: #fff;
}

/* -------------------------------------------------------------------- */
/* Partner Logos: rolling/auto-scrolling marquee (request: logos were too */
/* small in a static grid — now a continuous, bigger, hover-pausable row) */
/* -------------------------------------------------------------------- */
.papo-partners-marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	padding: 1rem 0 2.5rem;
	width: 100%;
}
.papo-partners-marquee__track {
	animation: papo-marquee-scroll 28s linear infinite;
	display: flex;
	align-items: center;
	width: max-content;
}
.papo-partners-marquee:hover .papo-partners-marquee__track {
	animation-play-state: paused;
}
.papo-partners-marquee__logo {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	height: 110px;
	justify-content: center;
	margin: 0 2.25rem;
	width: 190px;
}
.papo-partners-marquee__logo img {
	height: 100%;
	max-height: 110px;
	object-fit: contain;
	transition: transform .25s ease;
	width: 100%;
}
.papo-partners-marquee__logo:hover img {
	transform: scale(1.05);
}
@keyframes papo-marquee-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (max-width: 40rem) {
	.papo-partners-marquee__logo { height: 80px; margin: 0 1.5rem; width: 130px; }
}
@media (prefers-reduced-motion: reduce) {
	.papo-partners-marquee__track { animation: none; }
	.papo-partners-marquee { overflow-x: auto; }
}

/* -------------------------------------------------------------------- */
/* Remove the empty decorative circle icons the base theme draws before  */
/* every Benefits / Services card (there's no real icon wired to them,   */
/* so they were showing as blank lavender circles).                     */
/* -------------------------------------------------------------------- */
.papo-hp-benefits__item:before,
.papo-hp-services__item:before {
	content: none !important;
	display: none !important;
	margin-bottom: 0 !important;
}


.papo-hp-eyebrow--center { display: block; text-align: center; width: fit-content; margin-left: auto; margin-right: auto; }
.papo-hp-heading--center + .papo-hp-explore__grid,
.papo-hp-explore .papo-hp-heading--center { text-align: center; }
.papo-hp-explore__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 1.5rem;
}
@media (max-width: 54rem) {
	.papo-hp-explore__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 30rem) {
	.papo-hp-explore__grid { grid-template-columns: 1fr; }
}
.papo-hp-explore__item {
	background: #fff;
	border: 1px solid var(--p-border, rgba(0, 0, 0, .09));
	border-radius: .6rem;
	color: inherit;
	display: block;
	padding: 1.1rem 1rem;
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease;
}
.papo-hp-explore__item:hover {
	box-shadow: var(--p-box-shadow-hover, 0 4px 60px 0 rgba(0, 0, 0, .2));
	transform: translateY(-3px);
}
/* Icons removed from Explore cards per request — the icon markup still
   renders in the template (harmless), this just hides it visually. */
.papo-hp-explore__icon {
	display: none !important;
}
.papo-hp-explore__item h3 { font-size: .95rem; margin: 0 0 .35rem; }
.papo-hp-explore__item p { font-size: .8rem; margin: 0 0 .5rem; opacity: .85; }
.papo-hp-explore__link {
	color: var(--papo-primary-accent);
	font-size: .8rem;
	font-weight: 600;
}

/* -------------------------------------------------------------------- */
/* Homepage: Latest News & Events                                         */
/* -------------------------------------------------------------------- */
.papo-hp-news__head {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 2rem;
}
.papo-hp-news__grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.papo-hp-news__item {
	background: #fff;
	border: 1px solid var(--p-border, rgba(0, 0, 0, .09));
	border-radius: .75rem;
	color: inherit;
	display: block;
	overflow: hidden;
	text-decoration: none;
	transition: box-shadow .25s ease;
}
.papo-hp-news__item:hover { box-shadow: var(--p-box-shadow, 0 20px 40px 0 rgba(193, 199, 212, .25)); }
.papo-hp-news__thumb { display: block; }
.papo-hp-news__thumb img { height: 170px; object-fit: cover; width: 100%; }
.papo-hp-news__item h3,
.papo-hp-news__item p,
.papo-hp-news__meta { padding-left: 1.25rem; padding-right: 1.25rem; }
.papo-hp-news__meta { align-items: center; display: flex; gap: .75rem; margin-top: 1.1rem; }
.papo-hp-news__tag {
	background: var(--papo-secondary-accent);
	border-radius: 2rem;
	color: var(--papo-primary-accent);
	font-size: .75rem;
	font-weight: 700;
	padding: .25rem .75rem;
	text-transform: uppercase;
}
.papo-hp-news__date { font-size: .8rem; opacity: .7; }
.papo-hp-news__item h3 { margin: .6rem 0 .35rem; }
.papo-hp-news__item p { margin: 0 0 1.25rem; opacity: .85; }

/* -------------------------------------------------------------------- */
/* Homepage: Be Part of PAPO (join + register facility)                  */
/* -------------------------------------------------------------------- */
.papo-hp-cta-join__card {
	background: var(--papo-primary-accent);
	border-radius: 1rem;
	color: #fff;
	padding: 3rem 2rem;
	text-align: center;
}
.papo-hp-cta-join__card h2 { color: #fff; }
.papo-hp-cta-join__card p { margin: 0 auto 1.5rem; max-width: 46ch; opacity: .92; }
.papo-hp-btn-row--center { justify-content: center; }
.papo-hp-cta-join .papo-hp-btn--primary { background: #fff; color: var(--papo-primary-accent); }
.papo-hp-cta-join .papo-hp-btn--outline { border-color: #fff; color: #fff; }
.papo-hp-cta-join .papo-hp-btn--outline:hover { background: rgba(255, 255, 255, .15); }

/* -------------------------------------------------------------------- */
/* Header: Sign In / My Account link                                     */
/* -------------------------------------------------------------------- */
.papo-account-link a {
	align-items: center;
	display: flex;
	font-weight: 600;
}
.papo-account-link svg { margin-right: .3rem; }

/* -------------------------------------------------------------------- */
/* Footer: structured Explore / Community / Contact columns               */
/* -------------------------------------------------------------------- */
.papo-footer-columns {
	border-bottom: 1px solid var(--p-line, rgba(0, 0, 0, .08));
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin: 0 auto 1.5rem;
	max-width: 1180px;
	padding-bottom: 2rem;
	width: 100%;
}
.papo-footer-column__heading {
	font-size: 1rem;
	margin-bottom: .9rem;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.papo-footer-column ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.papo-footer-column li { margin-bottom: .6rem; }
.papo-footer-column a { text-decoration: none; }
.papo-footer-column a:hover { text-decoration: underline; }

.dark-mode .papo-app-card,
.dark-mode .papo-directory-card,
.dark-mode .papo-job-item,
.dark-mode .papo-resource-card,
.dark-mode .papo-event-card,
.dark-mode .papo-hp-explore__item,
.dark-mode .papo-hp-news__item,
.dark-mode .papo-form input,
.dark-mode .papo-form select,
.dark-mode .papo-form textarea,
.dark-mode .papo-login-card input {
	background: transparent;
	color: var(--wp--preset--color--text-primary, #f7f7f7);
}

/* Remove the box-shadow behind the Year in Review card (kept for About,
   which wasn't part of this request). */
.papo-hp-year-review__card {
	box-shadow: none !important;
}
/* Remove the lavender section background that was showing through as a
   colored "shade" above/around the white card. */
.papo-hp-year-review {
	background: transparent !important;
}
/* Optional image at the top of the Year in Review text column. */
.papo-hp-year-review__image {
	margin-bottom: 1.5rem;
}
.papo-hp-year-review__image img {
	border-radius: .75rem;
	height: auto;
	max-height: 220px;
	object-fit: cover;
	width: 100%;
}

/* Members-only restricted content notice. */
.papo-restricted-notice {
	background: var(--papo-secondary-accent);
	border: 1px solid var(--p-border, rgba(0, 0, 0, .09));
	border-radius: .75rem;
	margin: 2rem auto;
	max-width: 640px;
	padding: 2rem;
	text-align: center;
}
.papo-restricted-notice h3 {
	margin-bottom: .75rem;
}
.papo-restricted-notice p {
	margin-bottom: 1.25rem;
	opacity: .9;
}
.papo-restricted-notice .papo-hp-btn-row {
	justify-content: center;
}

/* -------------------------------------------------------------------- */
/* Standard Page template — a consistent frame + typography baseline for */
/* any page content, including pasted Custom HTML blocks/widgets, so    */
/* every page using this template shares the same look.                 */
/* -------------------------------------------------------------------- */
.papo-standard-page {
	max-width: 900px;
}
.papo-standard-page .entry-title {
	margin-bottom: 1.75rem;
}
.papo-standard-page__content {
	line-height: 1.75;
}
.papo-standard-page__content > *:first-child {
	margin-top: 0;
}
.papo-standard-page__content h1,
.papo-standard-page__content h2,
.papo-standard-page__content h3,
.papo-standard-page__content h4 {
	margin: 2rem 0 1rem;
}
.papo-standard-page__content h2 { font-size: 1.6rem; }
.papo-standard-page__content h3 { font-size: 1.3rem; }
.papo-standard-page__content h4 { font-size: 1.1rem; }
.papo-standard-page__content p {
	margin-bottom: 1.25rem;
}
.papo-standard-page__content a {
	color: var(--papo-primary-accent);
}
.papo-standard-page__content ul,
.papo-standard-page__content ol {
	margin: 0 0 1.25rem 1.25rem;
	padding-left: 1rem;
}
.papo-standard-page__content li {
	margin-bottom: .5rem;
}
.papo-standard-page__content blockquote {
	border-left: 3px solid var(--papo-primary-accent);
	color: var(--wp--preset--color--text-primary, #404040);
	font-style: italic;
	margin: 1.5rem 0;
	opacity: .9;
	padding: .25rem 0 .25rem 1.25rem;
}
.papo-standard-page__content img,
.papo-standard-page__content figure {
	border-radius: .5rem;
	height: auto;
	max-width: 100%;
}
.papo-standard-page__content figcaption {
	color: var(--wp--preset--color--text-primary, #404040);
	font-size: .85rem;
	margin-top: .5rem;
	opacity: .75;
	text-align: center;
}
.papo-standard-page__content table {
	border-collapse: collapse;
	margin-bottom: 1.5rem;
	width: 100%;
}
.papo-standard-page__content table th,
.papo-standard-page__content table td {
	border: 1px solid var(--p-border, rgba(0, 0, 0, .12));
	padding: .6rem .9rem;
	text-align: left;
}
.papo-standard-page__content table th {
	background: var(--papo-secondary-accent);
}
.papo-standard-page__content hr {
	border: 0;
	border-top: 1px solid var(--p-border, rgba(0, 0, 0, .12));
	margin: 2rem 0;
}
.papo-standard-page__content code,
.papo-standard-page__content pre {
	background: var(--papo-secondary-accent);
	border-radius: .35rem;
	font-size: .9em;
	padding: .15rem .4rem;
}
.papo-standard-page__content pre {
	overflow-x: auto;
	padding: 1rem;
}
.papo-standard-page__content pre code {
	background: none;
	padding: 0;
}
