/*
 * MyPC theme refresh — November 2026
 * Source: Figma "MyPearlCity — Design" › Home (Desktop 1440 / Mobile 390).
 *
 * Sitewide: utility bar, header, footer, button shape.
 * Homepage only (body.home): hero, story-category strip, Featured Tenants,
 * Upcoming Events, Latest Stories, About.
 *
 * Colors come from the Divi global colors (gcid-mypc-*) so the Divi editor and
 * this sheet share one palette. Fallbacks match the Figma variables.
 */

:root {
	--mypc-plum: var(--gcid-mypc-purple, #471D6A);
	--mypc-plum-dark: var(--gcid-mypc-purple-dark, #3D1A5B);
	--mypc-lilac: var(--gcid-mypc-purple-lt, #D4AFD2);
	--mypc-sky: var(--gcid-mypc-sky, #7CC0CC);
	--mypc-deep-teal: var(--gcid-mypc-ink, #0E3A49);
	--mypc-teal: var(--gcid-mypc-action, #1E6F7E);
	--mypc-cream: var(--gcid-mypc-canvas, #F4F1EB);
	--mypc-sand: var(--gcid-mypc-band, #E4DED3);
	--mypc-ink: var(--gcid-mypc-ink-body, #1C2126);
	--mypc-muted: var(--gcid-mypc-ink-2, #4A4F55);
	--mypc-chip-border: var(--gcid-mypc-chip-border, #B9B0A2);
	--mypc-footer-rule: var(--gcid-mypc-footer-rule, #3A4148);
	--mypc-strip-rule: #4A96A4;
	--mypc-serif: 'Roboto Slab', Georgia, 'Times New Roman', serif;
	--mypc-sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mypc-card-shadow: 0 1px 3px rgba(28, 33, 38, 0.08);
	--mypc-radius: 6px;
}

/* ---------------------------------------------------------------------------
 * Shared pieces
 * ------------------------------------------------------------------------ */

/* Eyebrow: rule + uppercase label above section headings. */
#page-container .mypc-eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 14px !important;
	padding: 0 !important;
	font: 700 14px/1.2 var(--mypc-sans) !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mypc-teal) !important;
}

#page-container .mypc-eyebrow::before {
	content: "";
	flex: none;
	width: 40px;
	height: 2px;
	background: currentColor;
}

#page-container .mypc-eyebrow--sky {
	color: var(--mypc-sky) !important;
}

#page-container .mypc-eyebrow--plum {
	color: var(--mypc-plum) !important;
}

/* Arrow on primary CTAs. The arrow is decorative, so it gets empty alt text.
   Divi hides button ::after with body #page-container .et_pb_section .et_pb_button_N:after,
   so this selector has to outrank it. */
body #page-container .et_pb_section :is(.et_pb_button.mypc-btn--arrow, .mypc-btn--arrow .et_pb_button, .mypc-featured__cta, .mypc-events__cta, .mypc-stories__cta)::after {
	content: "\2192" !important;
	content: "\2192" / "" !important;
	position: static !important;
	display: inline-block !important;
	margin: 0 0 0 10px !important;
	opacity: 1 !important;
	transform: none !important;
	font: inherit !important;
	line-height: 1 !important;
	color: inherit !important;
}

/* Button shape is a sitewide token: 6px radius. */
#page-container :is(.et_pb_button, .mypc-directory-button, .mypc-featured__cta, .mypc-events__cta, .mypc-stories__cta) {
	border-radius: var(--mypc-radius) !important;
}

/* Homepage CTAs follow the Figma Button style: Figtree Bold 17, 48px tall. */
body.home #page-container :is(.mypc-hero .et_pb_button, .mypc-featured__cta, .mypc-events__cta, .mypc-stories__cta, .mypc-gather-section .et_pb_button) {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center;
	width: auto !important;
	white-space: nowrap;
	min-height: 48px;
	padding: 12px 24px !important;
	font: 700 17px/1.2 var(--mypc-sans) !important;
	letter-spacing: 0;
	border-width: 0;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* ---------------------------------------------------------------------------
 * Utility bar + header (sitewide)
 * ------------------------------------------------------------------------ */

#page-container .et-l--header .mypc-tb-topbar.et_pb_section {
	background-color: var(--mypc-plum-dark) !important;
}

#page-container .et-l--header :is(.mypc-tb-address, .mypc-tb-hours) :is(.et_pb_text_inner, a) {
	font-family: var(--mypc-sans) !important;
	font-size: 14px !important;
	letter-spacing: 0 !important;
	color: var(--mypc-cream) !important;
}

#page-container .et-l--header .mypc-tb-hours a {
	font-weight: 600;
}

#page-container .et-l--header .mypc-tb-menu .et-menu > li > a {
	font-family: var(--mypc-sans) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: var(--mypc-ink) !important;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 3px;
	text-underline-offset: 8px;
	transition: text-decoration-color 0.15s ease;
}

#page-container .et-l--header .mypc-tb-menu .et-menu > li > a:is(:hover, :focus-visible) {
	color: var(--mypc-ink) !important;
	text-decoration-color: var(--mypc-plum);
}

/* Current section: plum text + underline (the menu module's active link color is plum too). */
#page-container .et-l--header .mypc-tb-menu .et-menu > li:is(.current-menu-item, .current-menu-ancestor, .current_page_item) > a {
	color: var(--mypc-plum) !important;
	text-decoration-color: var(--mypc-plum);
}

#page-container .et-l--header .mypc-search__toggle {
	width: 44px;
	height: 44px;
	border: 1px solid var(--mypc-plum);
	color: var(--mypc-plum);
}

#page-container .et-l--header .mypc-search.is-open .mypc-search__toggle,
#page-container .et-l--header .mypc-search__toggle:hover {
	border-color: var(--mypc-plum-dark);
	background: var(--mypc-plum);
	color: #fff;
}

/* ---------------------------------------------------------------------------
 * Hero (homepage)
 * The hero photo stays an editable Divi Image module (class mypc-hero__bg);
 * CSS turns it into the faded band behind the copy.
 * The right-hand "community board" (next event + latest story) is not built yet.
 * ------------------------------------------------------------------------ */

body.home #page-container .mypc-hero.et_pb_section {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background-color: var(--mypc-deep-teal) !important;
}

/* Divi columns are flex items with z-index: 2, which would trap the photo's
   z-index: -1 above the copy. Reset it so the photo layers within the section. */
body.home #page-container .mypc-hero .et_pb_row,
body.home #page-container .mypc-hero .et_pb_column:has(.mypc-hero__bg) {
	position: static;
	z-index: auto !important;
}

body.home #page-container .mypc-hero .et_pb_column:first-child {
	position: relative;
	z-index: 1;
	column-gap: 14px !important;
	row-gap: 14px !important;
}

body.home #page-container .mypc-hero .mypc-hero__bg {
	position: absolute !important;
	inset: 0;
	z-index: -1;
	width: 100% !important;
	max-width: none !important;
	height: 100%;
	margin: 0 !important;
	pointer-events: none;
}

body.home #page-container .mypc-hero .mypc-hero__bg .et_pb_image_wrap {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 0;
	box-shadow: none;
}

body.home #page-container .mypc-hero .mypc-hero__bg img {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto !important;
	object-fit: cover;
	object-position: center bottom;
	opacity: 0.25;
	border-radius: 0 !important;
}

body.home #page-container .mypc-hero .mypc-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to left, rgba(14, 58, 73, 0) 37%, var(--mypc-deep-teal) 62.7%);
}

body.home #page-container .mypc-hero .mypc-hero__copy .mypc-eyebrow {
	gap: 12px;
	margin-bottom: 28px !important;
}

body.home #page-container .mypc-hero h1 {
	max-width: 572px;
	margin: 0 0 28px !important;
	padding: 0;
	white-space: normal !important;
	font-family: var(--mypc-serif) !important;
	font-size: clamp(42px, 3.2vw + 24px, 70px) !important;
	font-weight: 700 !important;
	line-height: 1.02 !important;
	letter-spacing: -0.02em;
	color: #fff !important;
}

body.home #page-container .mypc-hero h1 .mypc-accent {
	color: var(--mypc-sky);
}

body.home #page-container .mypc-hero .mypc-hero__lead {
	max-width: 520px;
	margin: 0 !important;
	padding: 0;
	font: 400 20px/1.6 var(--mypc-sans) !important;
	color: var(--mypc-cream) !important;
}

body.home #page-container .mypc-hero .et_pb_column:first-child .et_pb_text {
	margin-bottom: 28px !important;
}

/* The column is already a wrapping flex row with a 14px gap. */
body.home #page-container .mypc-hero .et_pb_button_module_wrapper {
	margin: 0 !important;
}

body.home #page-container .mypc-hero .et_pb_button.mypc-btn--sky,
body.home #page-container .mypc-hero .mypc-btn--sky .et_pb_button {
	background-color: var(--mypc-sky) !important;
	color: var(--mypc-deep-teal) !important;
	border: 0 !important;
}

body.home #page-container .mypc-hero .et_pb_button.mypc-btn--outline,
body.home #page-container .mypc-hero .mypc-btn--outline .et_pb_button {
	background-color: transparent !important;
	color: var(--mypc-cream) !important;
	border: 2px solid var(--mypc-cream) !important;
}

body.home #page-container .mypc-hero :is(.et_pb_button.mypc-btn--sky, .mypc-btn--sky .et_pb_button, .et_pb_button.mypc-btn--outline, .mypc-btn--outline .et_pb_button):is(:hover, :focus-visible) {
	background-color: var(--mypc-cream) !important;
	border-color: var(--mypc-cream) !important;
	color: var(--mypc-deep-teal) !important;
}

/* ---------------------------------------------------------------------------
 * Story-category strip (homepage, new)
 * ------------------------------------------------------------------------ */

body.home #page-container .et_pb_section.mypc-story-nav-section {
	padding: 0 !important;
	background-color: var(--mypc-teal) !important;
	border-top: 4px solid var(--mypc-strip-rule);
}

body.home #page-container .mypc-story-nav-section .et_pb_row {
	padding-top: 16px !important;
	padding-bottom: 16px !important;
}

#page-container .mypc-story-nav ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

#page-container .mypc-story-nav li {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

#page-container .mypc-story-nav li + li::before {
	content: "";
	flex: none;
	width: 1px;
	height: 16px;
	margin: 0 22px;
	background: var(--mypc-sky);
}

#page-container .mypc-story-nav a {
	display: inline-block;
	padding: 2px 0;
	white-space: nowrap;
	font: 600 18px/1.3 var(--mypc-serif);
	color: var(--mypc-cream);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
	transition: text-decoration-color 0.15s ease;
}

#page-container .mypc-story-nav a:is(:hover, :focus-visible) {
	color: #fff;
	text-decoration-color: var(--mypc-sky);
}

#page-container .mypc-story-nav a:focus-visible {
	outline: 2px solid var(--mypc-cream);
	outline-offset: 4px;
	border-radius: 2px;
}

#page-container .mypc-story-nav a[aria-current="true"] {
	text-decoration-color: var(--mypc-sky);
}

/* ---------------------------------------------------------------------------
 * Section rhythm (homepage)
 * ------------------------------------------------------------------------ */

body.home #page-container :is(.mypc-featured-section, .mypc-events-section, .mypc-stories-section, .mypc-gather-section).et_pb_section {
	border-top: 0 !important;
	border-bottom: 0 !important;
}

body.home #page-container :is(.mypc-featured-section, .mypc-events-section, .mypc-stories-section, .mypc-gather-section) > .et_pb_row {
	padding-top: 96px !important;
	padding-bottom: 96px !important;
}

body.home #page-container .mypc-featured-section.et_pb_section,
body.home #page-container .mypc-gather-section.et_pb_section {
	background-color: var(--mypc-cream) !important;
}

body.home #page-container .mypc-events-section.et_pb_section {
	background-color: var(--mypc-deep-teal) !important;
}

body.home #page-container .mypc-stories-section.et_pb_section {
	background-color: var(--mypc-sand) !important;
}

#latest-stories {
	scroll-margin-top: 16px;
}

/* Section H2s */
body.home #page-container :is(.mypc-featured__title, .mypc-stories__title, .mypc-events-native-heading h2) {
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--mypc-serif) !important;
	font-size: clamp(34px, 1.6vw + 24px, 48px) !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	letter-spacing: 0 !important;
	color: var(--mypc-plum) !important;
}

body.home #page-container .mypc-events-native-heading h2 {
	color: #fff !important;
}

/* Shared homepage card + tag styles */
body.home #page-container :is(.mypc-featured__cat, .mypc-story-badge) {
	display: inline-block;
	align-self: flex-start;
	margin: 0;
	padding: 5px 12px;
	border-radius: var(--mypc-radius);
	background: var(--mypc-plum) !important;
	color: #fff !important;
	font: 700 13px/1.2 var(--mypc-sans) !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.home #page-container :is(.mypc-featured__cat--dining, .mypc-story-badge--sports) {
	background: var(--mypc-teal) !important;
}

/* ---------------------------------------------------------------------------
 * Featured Tenants (homepage)
 * ------------------------------------------------------------------------ */

body.home #page-container .mypc-featured .mypc-featured__title {
	margin-bottom: 44px !important;
}

body.home #page-container .mypc-featured .pt-cv-page {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin: 0 !important;
}

body.home #page-container .mypc-featured .pt-cv-content-item {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.home #page-container .mypc-featured .pt-cv-ifield {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
	margin: 0;
	padding: 0 0 26px;
	overflow: hidden;
	border: 0 !important;
	border-radius: var(--mypc-radius);
	background: #fff;
	box-shadow: var(--mypc-card-shadow);
	transition: box-shadow 0.15s ease;
}

body.home #page-container .mypc-featured .pt-cv-ifield:hover {
	box-shadow: 0 6px 18px rgba(28, 33, 38, 0.14);
}

body.home #page-container .mypc-featured .pt-cv-href-thumbnail {
	display: block;
	height: 220px;
	margin: 0 0 12px;
	aspect-ratio: auto !important;
	background: #fff !important;
	overflow: hidden;
}

body.home #page-container .mypc-featured .pt-cv-thumbnail {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	margin: 0 !important;
	object-fit: cover;
	border-radius: 0 !important;
}

/* Some tenants only have a logo, not a storefront photo; keep logos whole. */
body.home #page-container .mypc-featured .pt-cv-thumbnail:is([alt*="logo" i], [src*="Logo"], [src*="logo"]) {
	object-fit: contain;
	padding: 28px 32px;
}

body.home #page-container .mypc-featured :is(.mypc-featured__cat, .pt-cv-title, .pt-cv-ctf-list) {
	margin-left: 24px !important;
	margin-right: 24px !important;
}

body.home #page-container .mypc-featured .pt-cv-title {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
	font: 600 24px/1.25 var(--mypc-serif) !important;
}

body.home #page-container .mypc-featured .pt-cv-title a {
	color: var(--mypc-deep-teal) !important;
	text-decoration: none;
}

/* The title link covers the whole card, so the card is one target. */
body.home #page-container .mypc-featured .pt-cv-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

body.home #page-container .mypc-featured .pt-cv-title a:focus-visible {
	outline: none;
}

body.home #page-container .mypc-featured .pt-cv-ifield:focus-within {
	outline: 3px solid var(--mypc-teal);
	outline-offset: 2px;
}

body.home #page-container .mypc-featured .pt-cv-ifield:hover .pt-cv-title a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.home #page-container .mypc-featured .pt-cv-ctf-list,
body.home #page-container .mypc-featured .pt-cv-ctf-column {
	float: none;
	width: auto;
	margin: 0;
	padding: 0 !important;
}

body.home #page-container .mypc-featured .pt-cv-ctf-value {
	margin: 0;
	font: 400 16px/1.55 var(--mypc-sans) !important;
	color: var(--mypc-muted) !important;
}

body.home #page-container .mypc-featured .pt-cv-ifield::after {
	content: "Read More \2192";
	content: "Read More \2192" / "";
	margin: auto 24px 0;
	font: 600 15px/1.55 var(--mypc-sans);
	color: var(--mypc-teal);
}

body.home #page-container .mypc-featured__cta-wrap,
body.home #page-container .mypc-events__cta-wrap,
body.home #page-container .mypc-stories__cta-wrap {
	display: flex;
	justify-content: center;
	margin-top: 44px !important;
}

body.home #page-container .mypc-featured__cta {
	background: var(--mypc-teal) !important;
	color: #fff !important;
}

body.home #page-container .mypc-featured__cta:is(:hover, :focus-visible) {
	background: var(--mypc-deep-teal) !important;
}

/* ---------------------------------------------------------------------------
 * Upcoming Events (homepage, deep-teal band)
 * The heading (Divi module) and the shortcode's legend share one header row:
 * the column becomes a grid and the shortcode wrappers use display: contents.
 * ------------------------------------------------------------------------ */

body.home #page-container .mypc-events-section .et_pb_column {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	column-gap: 24px;
}

body.home #page-container .mypc-events-section .et_pb_column > .et_pb_module:not(.mypc-events-native-heading),
body.home #page-container .mypc-events-section .et_pb_column > .et_pb_module:not(.mypc-events-native-heading) > .et_pb_text_inner,
body.home #page-container .mypc-events-section .mypc-events {
	display: contents;
}

body.home #page-container .mypc-events-section .mypc-events-native-heading {
	grid-column: 1;
	margin: 0 !important;
}

body.home #page-container .mypc-events-section .mypc-events__legend {
	grid-column: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0 !important;
	padding: 0 0 4px;
}

body.home #page-container .mypc-events-section .mypc-events__legend > span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font: 600 15px/1.2 var(--mypc-sans);
	color: var(--mypc-cream) !important;
}

body.home #page-container .mypc-events-section .mypc-events__swatch {
	display: inline-block;
	flex: none;
	width: 14px;
	height: 14px;
	border: 2px solid var(--mypc-cream);
	border-radius: 2px;
	background: var(--mypc-lilac);
}

body.home #page-container .mypc-events-section .mypc-events__swatch--pcsc {
	background: var(--mypc-teal);
}

body.home #page-container .mypc-events-section :is(.mypc-events-cv, .mypc-events__cta-wrap) {
	grid-column: 1 / -1;
}

body.home #page-container .mypc-events-section .mypc-events-cv {
	margin-top: 40px;
}

body.home #page-container .mypc-events-section .pt-cv-page {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0 !important;
}

body.home #page-container .mypc-events-section .pt-cv-content-item {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.home #page-container .mypc-events-section .mypc-events__card {
	height: 100%;
	min-height: 150px;
	overflow: hidden;
	border: 0 !important;
	border-radius: var(--mypc-radius);
	background: #fff !important;
	box-shadow: none;
}

body.home #page-container .mypc-events-section .mypc-events__link {
	display: flex !important;
	align-items: stretch;
	height: 100%;
	min-height: 150px;
	text-decoration: none;
	color: inherit;
}

body.home #page-container .mypc-events-section .mypc-events__link:focus-visible {
	outline: 3px solid var(--mypc-sky);
	outline-offset: 3px;
}

body.home #page-container .mypc-events-section .mypc-events__date {
	display: flex !important;
	flex: 0 0 84px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 84px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 10px 0 !important;
	border-radius: 0 !important;
	background: var(--mypc-lilac) !important;
	color: var(--mypc-plum) !important;
}

body.home #page-container .mypc-events-section .mypc-events__card--pcsc .mypc-events__date {
	background: var(--mypc-teal) !important;
	color: #fff !important;
}

body.home #page-container .mypc-events-section .mypc-events__month {
	font: 700 14px/1.2 var(--mypc-sans) !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: inherit !important;
}

body.home #page-container .mypc-events-section .mypc-events__day {
	font: 700 38px/1 var(--mypc-serif) !important;
	color: inherit !important;
}

body.home #page-container .mypc-events-section .mypc-events__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: 18px !important;
}

body.home #page-container .mypc-events-section .mypc-events__kicker {
	margin: 0;
	font: 700 13px/1.25 var(--mypc-sans) !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mypc-muted) !important;
}

body.home #page-container .mypc-events-section .mypc-events__name {
	margin: 0 !important;
	padding: 0 !important;
	font: 600 20px/1.25 var(--mypc-serif) !important;
	color: var(--mypc-plum) !important;
}

body.home #page-container .mypc-events-section .mypc-events__card:hover .mypc-events__name {
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.home #page-container .mypc-events-section .mypc-events__cta-wrap {
	margin-top: 40px !important;
}

body.home #page-container .mypc-events-section .mypc-events__cta {
	background: var(--mypc-sky) !important;
	color: var(--mypc-deep-teal) !important;
	border: 0 !important;
}

body.home #page-container .mypc-events-section .mypc-events__cta:is(:hover, :focus-visible) {
	background: var(--mypc-cream) !important;
	color: var(--mypc-deep-teal) !important;
}

body.home #page-container .mypc-events-section .mypc-events__cta:focus-visible {
	outline: 2px solid var(--mypc-cream);
	outline-offset: 3px;
}

/* ---------------------------------------------------------------------------
 * Latest Stories (homepage, sand band)
 * ------------------------------------------------------------------------ */

body.home #page-container .mypc-stories .mypc-stories__title {
	margin-bottom: 36px !important;
}

/* The category strip moves focus here programmatically; the heading is not interactive. */
body.home #page-container .mypc-stories .mypc-stories__title[tabindex="-1"]:focus {
	outline: none;
}

body.home #page-container .mypc-stories .cvp-live-filter.cvp-button {
	display: flex !important;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 36px !important;
	padding: 0 !important;
	border: 0 !important;
}

body.home #page-container .mypc-stories .cvp-live-filter.cvp-button .btn {
	position: relative;
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

/* "Category" names the chip group for screen readers only, as in Figma. */
body.home #page-container .mypc-stories .cvp-live-filter.cvp-button > .cvp-label {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Content Views styles the <label> as the chip; restyle it and flatten the inner div. */
body.home #page-container .mypc-stories .cvp-live-filter.cvp-button .btn label {
	display: flex !important;
	align-items: center;
	height: 44px;
	margin: 0 !important;
	padding: 0 20px !important;
	border: 2px solid var(--mypc-chip-border) !important;
	border-radius: var(--mypc-radius) !important;
	background: var(--mypc-cream) !important;
	color: var(--mypc-ink) !important;
	font: 600 15px/1 var(--mypc-sans) !important;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

body.home #page-container .mypc-stories .cvp-live-filter.cvp-button .btn label > div {
	display: block !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: inherit !important;
	font: inherit !important;
}

body.home #page-container .mypc-stories .cvp-live-filter.cvp-button .btn label:hover {
	border-color: var(--mypc-plum) !important;
}

body.home #page-container .mypc-stories .cvp-live-filter.cvp-button .btn label:has(input:checked) {
	border-color: var(--mypc-plum) !important;
	background: var(--mypc-plum) !important;
	color: #fff !important;
}

body.home #page-container .mypc-stories .cvp-live-filter.cvp-button .btn label:has(input:focus-visible) {
	outline: 3px solid var(--mypc-teal);
	outline-offset: 2px;
}

/* Grid: featured story across the top, four cards below. */
body.home #page-container .mypc-stories .pt-cv-page {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	grid-template-areas: "lead lead lead lead" "s1 s2 s3 s4" !important;
	gap: 36px 24px !important;
	margin: 0 !important;
}

body.home #page-container .mypc-stories .pt-cv-content-item:nth-child(1) { grid-area: lead !important; }
body.home #page-container .mypc-stories .pt-cv-content-item:nth-child(2) { grid-area: s1 !important; }
body.home #page-container .mypc-stories .pt-cv-content-item:nth-child(3) { grid-area: s2 !important; }
body.home #page-container .mypc-stories .pt-cv-content-item:nth-child(4) { grid-area: s3 !important; }
body.home #page-container .mypc-stories .pt-cv-content-item:nth-child(5) { grid-area: s4 !important; }

/* A filtered View can return fewer than five stories; let those flow normally. */
body.home #page-container .mypc-stories .pt-cv-page:not(:has(> .pt-cv-content-item:nth-child(5))) {
	grid-template-areas: none !important;
}

body.home #page-container .mypc-stories .pt-cv-page:not(:has(> .pt-cv-content-item:nth-child(5))) > .pt-cv-content-item {
	grid-area: auto !important;
}

body.home #page-container .mypc-stories .pt-cv-page:not(:has(> .pt-cv-content-item:nth-child(5))) > .pt-cv-content-item:first-child {
	grid-column: 1 / -1 !important;
}

body.home #page-container .mypc-stories .pt-cv-content-item {
	float: none !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
}

body.home #page-container .mypc-stories .mypc-story-card {
	height: 100%;
	overflow: hidden;
	border: 0 !important;
	border-radius: var(--mypc-radius);
	background: #fff !important;
	box-shadow: var(--mypc-card-shadow);
	transition: box-shadow 0.15s ease;
}

body.home #page-container .mypc-stories .mypc-story-card:is(:hover, :focus-within) {
	box-shadow: 0 6px 18px rgba(28, 33, 38, 0.14);
}

body.home #page-container .mypc-stories .mypc-story-card:focus-within {
	outline: 3px solid var(--mypc-teal);
	outline-offset: 2px;
}

body.home #page-container .mypc-stories .mypc-story-link {
	display: flex !important;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

body.home #page-container .mypc-stories .mypc-story-link:focus-visible {
	outline: none;
}

body.home #page-container .mypc-stories .mypc-story-image {
	flex: none;
	height: 190px;
	min-height: 0 !important;
	aspect-ratio: auto !important;
	overflow: hidden;
	background: var(--mypc-sand);
}

body.home #page-container .mypc-stories .mypc-story-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.home #page-container .mypc-stories .mypc-story-copy {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 20px 22px 24px !important;
}

body.home #page-container .mypc-stories .mypc-story-copy h3 {
	order: 1;
	margin: 0 !important;
	padding: 0 !important;
	font: 600 19px/1.3 var(--mypc-serif) !important;
	color: var(--mypc-deep-teal) !important;
}

body.home #page-container .mypc-stories .mypc-story-copy time {
	order: 2;
	margin: 0 !important;
	font: 600 14px/1.2 var(--mypc-sans) !important;
	color: var(--mypc-muted) !important;
}

body.home #page-container .mypc-stories .mypc-story-copy .pt-cv-content {
	order: 3;
	margin: 0 !important;
	padding: 0 !important;
	font: 400 15px/1.55 var(--mypc-sans) !important;
	color: var(--mypc-muted) !important;
}

body.home #page-container .mypc-stories .mypc-story-copy::after {
	content: "Read More \2192";
	content: "Read More \2192" / "";
	order: 4;
	margin-top: auto;
	font: 600 15px/1.55 var(--mypc-sans);
	color: var(--mypc-teal);
}

body.home #page-container .mypc-stories .mypc-story-card:hover h3 {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Featured (first) story: image left with a 10px inset, copy right. */
body.home #page-container .mypc-stories .pt-cv-content-item:first-child .mypc-story-link {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
	grid-template-rows: none !important;
	flex-direction: row;
	min-height: 380px;
}

body.home #page-container .mypc-stories .pt-cv-content-item:first-child .mypc-story-image {
	height: auto;
	min-height: 360px !important;
	margin: 10px 0 10px 10px;
	border-radius: 0;
}

body.home #page-container .mypc-stories .pt-cv-content-item:first-child .mypc-story-copy {
	justify-content: center;
	gap: 16px;
	padding: 44px 40px !important;
}

body.home #page-container .mypc-stories .pt-cv-content-item:first-child .mypc-story-badge::after {
	content: "Featured story";
	position: absolute;
	left: calc(100% + 12px);
	top: 50%;
	transform: translateY(-50%);
	white-space: nowrap;
	font: 700 13px/1.2 var(--mypc-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mypc-muted);
}

body.home #page-container .mypc-stories .pt-cv-content-item:first-child .mypc-story-badge {
	position: relative;
}

body.home #page-container .mypc-stories .pt-cv-content-item:first-child .mypc-story-copy h3 {
	font: 700 30px/1.2 var(--mypc-serif) !important;
}

body.home #page-container .mypc-stories .pt-cv-content-item:first-child .mypc-story-copy :is(time, .pt-cv-content) {
	font: 400 17px/1.6 var(--mypc-sans) !important;
}

body.home #page-container .mypc-stories .pt-cv-content-item:first-child .mypc-story-copy::after {
	margin-top: 0;
}

body.home #page-container .mypc-stories__cta {
	background: var(--mypc-plum) !important;
	color: #fff !important;
	border: 0 !important;
}

body.home #page-container .mypc-stories__cta:is(:hover, :focus-visible) {
	background: var(--mypc-plum-dark) !important;
}

/* ---------------------------------------------------------------------------
 * About (homepage)
 * ------------------------------------------------------------------------ */

body.home #page-container .mypc-gather-section .et_pb_row_inner {
	border: 0 !important;
	border-radius: var(--mypc-radius);
	background: #fff !important;
	box-shadow: var(--mypc-card-shadow);
}

body.home #page-container .mypc-gather-section .mypc-map {
	position: relative;
	height: 100%;
	min-height: 380px;
	background: var(--mypc-sand);
}

/* Google's embed draws its own place card in the top-left corner, under the
   Open in Maps button. Shift the map up so that card sits outside the frame;
   Google's attribution along the bottom stays visible. */
body.home #page-container .mypc-gather-section .mypc-map {
	overflow: hidden;
}

body.home #page-container .mypc-gather-section .mypc-map iframe {
	position: absolute;
	top: -96px;
	left: 0;
	display: block;
	width: 100%;
	height: calc(100% + 96px);
	border: 0;
}

body.home #page-container .mypc-gather-section .mypc-map__open {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border-radius: var(--mypc-radius);
	background: #fff;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
	font: 700 15px/1.2 var(--mypc-sans);
	color: var(--mypc-plum) !important;
	text-decoration: none !important;
}

body.home #page-container .mypc-gather-section .mypc-map__open:is(:hover, :focus-visible) {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

body.home #page-container .mypc-gather-section .mypc-map__open:focus-visible {
	outline: 3px solid var(--mypc-teal);
	outline-offset: 2px;
}

body.home #page-container .mypc-gather-section .mypc-map__label {
	position: absolute;
	bottom: 16px;
	left: 16px;
	z-index: 1;
	padding: 8px 14px;
	border-radius: var(--mypc-radius);
	background: var(--mypc-deep-teal);
	font: 700 13px/1.2 var(--mypc-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
}

body.home #page-container .mypc-gather-section .mypc-gather-copy {
	padding: 40px 36px !important;
}

body.home #page-container .mypc-gather-section .mypc-gather-copy h2 {
	margin: 0 0 22px !important;
	padding: 0 !important;
	font: 700 36px/1.15 var(--mypc-serif) !important;
	color: var(--mypc-plum) !important;
}

body.home #page-container .mypc-gather-section .mypc-gather-copy p {
	margin: 0 0 22px !important;
	padding: 0 !important;
	font: 400 17px/1.6 var(--mypc-sans) !important;
	color: var(--mypc-muted) !important;
}

body.home #page-container .mypc-gather-section .mypc-stats {
	display: grid;
	gap: 16px;
	margin: 0 0 22px;
	padding: 0;
}

body.home #page-container .mypc-gather-section .mypc-stat {
	display: flex;
	flex-direction: column-reverse;
	gap: 6px;
	padding: 16px 18px;
	border-radius: var(--mypc-radius);
	background: var(--mypc-cream);
}

body.home #page-container .mypc-gather-section .mypc-stat dd {
	margin: 0;
	padding: 0;
	font: 700 40px/1 var(--mypc-serif);
	color: var(--mypc-plum);
}

body.home #page-container .mypc-gather-section .mypc-stat dt {
	margin: 0;
	padding: 0;
	font: 700 13px/1.2 var(--mypc-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mypc-muted);
}

body.home #page-container .mypc-gather-section .et_pb_button {
	background: var(--mypc-teal) !important;
	color: #fff !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.home #page-container .mypc-gather-section .et_pb_button:is(:hover, :focus-visible) {
	background: var(--mypc-deep-teal) !important;
}

/* Meet Barry card */
body.home #page-container .mypc-gather-section .mypc-gather-spot {
	overflow: hidden;
	border: 0 !important;
	border-radius: var(--mypc-radius);
	background: var(--mypc-plum) !important;
	box-shadow: var(--mypc-card-shadow);
}

body.home #page-container .mypc-gather-section .mypc-gather-spot {
	justify-content: flex-start !important;
}

body.home #page-container .mypc-gather-section .mypc-gather-photo,
body.home #page-container .mypc-gather-section .mypc-gather-photo .et_pb_image_wrap {
	display: block;
	flex: none !important;
	width: 100%;
	margin: 0 !important;
}

body.home #page-container .mypc-gather-section .mypc-gather-photo img {
	display: block;
	width: 100%;
	height: 340px;
	object-fit: cover;
	object-position: center 30%;
}

body.home #page-container .mypc-gather-section .mypc-gather-spot .et_pb_text {
	padding: 26px 28px 30px !important;
	background: transparent !important;
}

body.home #page-container .mypc-gather-section .mypc-gather-spot h3 {
	margin: 0 0 12px !important;
	padding: 0 !important;
	font: 700 24px/1.25 var(--mypc-serif) !important;
	color: #fff !important;
}

body.home #page-container .mypc-gather-section .mypc-gather-spot p {
	margin: 0 0 12px !important;
	padding: 0 !important;
	font: 400 16px/1.55 var(--mypc-sans) !important;
	color: #fff !important;
}

body.home #page-container .mypc-gather-section .mypc-gather-spot a {
	font: 700 17px/1.3 var(--mypc-sans) !important;
	color: var(--mypc-lilac) !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

body.home #page-container .mypc-gather-section .mypc-gather-spot a:is(:hover, :focus-visible) {
	color: #fff !important;
}

body.home #page-container .mypc-gather-section .mypc-gather-spot a:focus-visible {
	outline: 2px solid var(--mypc-lilac);
	outline-offset: 3px;
}

/* ---------------------------------------------------------------------------
 * Footer (sitewide)
 * ------------------------------------------------------------------------ */

#page-container .et-l--footer .mypc-tb-footer.et_pb_section {
	border-top: 4px solid var(--mypc-plum);
}

#page-container .et-l--footer .mypc-footer-heading {
	margin: 0 0 12px !important;
	padding: 0 !important;
	font: 700 14px/1.2 var(--mypc-serif) !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase;
	color: var(--mypc-lilac) !important;
}

#page-container .et-l--footer .mypc-footer-links {
	gap: 12px;
}

#page-container .et-l--footer .mypc-footer-links a {
	font: 400 15px/1.55 var(--mypc-sans) !important;
	color: var(--mypc-cream) !important;
}

#page-container .et-l--footer .mypc-footer-links a:hover,
#page-container .et-l--footer .mypc-footer-legal a:hover {
	color: #fff !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#page-container .et-l--footer .mypc-footer-brand,
#page-container .et-l--footer .mypc-footer-brand a {
	font-size: 15px !important;
	line-height: 1.55 !important;
	color: var(--mypc-cream) !important;
}

#page-container .et-l--footer .mypc-footer-brand strong {
	font-weight: 600;
	color: var(--mypc-cream);
}

#page-container .et-l--footer .mypc-footer-brand a {
	font-weight: 600;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

#page-container .et-l--footer .mypc-tb-footer-copy {
	border-top: 1px solid var(--mypc-footer-rule) !important;
}

#page-container .et-l--footer .mypc-tb-footer-copy :is(.et_pb_text_inner, p) {
	font: 400 14px/1.5 var(--mypc-sans) !important;
	color: var(--mypc-cream) !important;
}

#page-container .et-l--footer .mypc-footer-legal a {
	font: 600 15px/1.2 var(--mypc-sans) !important;
	color: var(--mypc-cream) !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

/* ---------------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------------ */

@media (max-width: 1100px) {
	body.home #page-container .mypc-events-section .pt-cv-page {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.home #page-container .mypc-stories .pt-cv-page {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-areas: "lead lead" "s1 s2" "s3 s4" !important;
	}
}

@media (max-width: 980px) {
	body.home #page-container .mypc-hero .mypc-hero__bg::after {
		background: linear-gradient(to top, rgba(14, 58, 73, 0.55), var(--mypc-deep-teal) 70%);
	}

	body.home #page-container .mypc-featured .pt-cv-page {
		grid-template-columns: 1fr;
	}

	body.home #page-container .mypc-events-section .et_pb_column {
		grid-template-columns: minmax(0, 1fr);
	}

	body.home #page-container .mypc-events-section .mypc-events__legend {
		grid-column: 1;
		margin-top: 24px !important;
	}

	body.home #page-container .mypc-stories .pt-cv-content-item:first-child .mypc-story-link {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.home #page-container .mypc-stories .pt-cv-content-item:first-child .mypc-story-image {
		height: 240px;
		min-height: 0 !important;
		margin: 0;
	}

	body.home #page-container .mypc-stories .pt-cv-content-item:first-child .mypc-story-copy {
		padding: 28px 24px !important;
	}

	body.home #page-container .mypc-stories .pt-cv-content-item:first-child .mypc-story-copy h3 {
		font-size: 24px !important;
	}

	body.home #page-container .mypc-gather-section .mypc-map {
		min-height: 300px;
	}
}

@media (max-width: 767px) {
	body.home #page-container :is(.mypc-featured-section, .mypc-events-section, .mypc-stories-section, .mypc-gather-section) > .et_pb_row {
		padding-top: 72px !important;
		padding-bottom: 72px !important;
	}

	body.home #page-container .mypc-events-section .pt-cv-page,
	body.home #page-container .mypc-stories .pt-cv-page {
		grid-template-columns: minmax(0, 1fr) !important;
		grid-template-areas: none !important;
		gap: 20px !important;
	}

	body.home #page-container .mypc-stories .pt-cv-content-item {
		grid-area: auto !important;
	}

	/* Two links per row with a divider between them. */
	#page-container .mypc-story-nav ul {
		display: grid;
		grid-template-columns: auto auto;
		justify-content: center;
		gap: 10px 0;
	}

	#page-container .mypc-story-nav li + li::before {
		content: none;
	}

	#page-container .mypc-story-nav li:nth-child(odd) {
		justify-self: end;
	}

	#page-container .mypc-story-nav li:nth-child(even) {
		justify-self: start;
	}

	#page-container .mypc-story-nav li:nth-child(odd):not(:last-child)::after {
		content: "";
		flex: none;
		width: 1px;
		height: 16px;
		margin: 0 22px;
		background: var(--mypc-sky);
	}

	body.home #page-container .mypc-hero .mypc-hero__lead {
		font-size: 18px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	#page-container .mypc-story-nav a,
	body.home #page-container :is(.mypc-story-card, .pt-cv-ifield, .et_pb_button, .mypc-featured__cta, .mypc-events__cta, .mypc-stories__cta) {
		transition: none !important;
	}
}
