/* =====================================================================
   Porto Liberal flagship layer
   New components use the pl-* namespace. Shared shell overrides are scoped
   to .pl-flagship so legacy templates remain stable while they are migrated.
   ===================================================================== */

:root {
  --pl-blue: #005287;
  --pl-blue-deep: #032b4d;
  --pl-cyan: #00aeef;
  --pl-cyan-text: #0078a6;
  --pl-red: #ed1c24;
  --pl-red-surface: #d91b23;
  --pl-yellow: #fff200;
  --pl-magenta: #ec008e;
  --pl-ink: #071d34;
  --pl-ink-soft: #39546a;
  --pl-paper: #ffffff;
  --pl-mist: #f2f7fa;
  --pl-line: #dce8ef;
  --pl-display: Montserrat, system-ui, sans-serif;
  --pl-editorial: "Zilla Slab", Georgia, serif;
  --pl-max: 1240px;
  --pl-gutter: 24px;
  --pl-header-height: 74px;
  --pl-admin-bar-offset: 0px;
  --pl-ease: cubic-bezier(.22, 1, .36, 1);
}

html {
	scroll-padding-top: calc(var(--pl-header-height) + 24px);
}

body.admin-bar {
	--pl-admin-bar-offset: 32px;
}

.pl-flagship {
  background: var(--pl-paper);
  color: var(--pl-ink);
  font-family: var(--pl-display);
  -webkit-tap-highlight-color: rgba(0, 174, 239, .2);
}

.pl-flagship .container {
  width: min(100%, calc(var(--pl-max) + var(--pl-gutter) + var(--pl-gutter)));
  max-width: none;
  padding-inline: var(--pl-gutter);
}

.pl-flagship h1,
.pl-flagship h2,
.pl-flagship h3,
.pl-flagship h4 {
  color: inherit;
  font-family: var(--pl-display);
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.pl-flagship a,
.pl-flagship button {
  touch-action: manipulation;
}

.pl-flagship :focus-visible {
  outline: 3px solid var(--pl-cyan);
  outline-offset: 4px;
}

/* ---------- Shared shell ---------- */

.pl-flagship .site-header {
	position: fixed;
	top: var(--pl-admin-bar-offset);
	right: 0;
	left: 0;
	width: 100%;
  z-index: 500;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(3, 29, 53, .97);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.pl-flagship .site-main {
	padding-top: var(--pl-header-height);
}

/* The flagship home hero owns the first viewport, so the header can sit over it. */
.pl-flagship.home .site-main,
.pl-flagship.page-template-front-page .site-main {
	padding-top: 0;
}

.pl-flagship.home .site-header:not(.is-scrolled),
.pl-flagship.page-template-front-page .site-header:not(.is-scrolled) {
	border-bottom-color: transparent;
	background: transparent;
	box-shadow: none;
}

.pl-flagship .site-header.is-scrolled {
  background: rgba(3, 29, 53, .99);
  box-shadow: 0 10px 30px rgba(3, 22, 39, .2);
}

.pl-flagship .site-header__inner {
  min-height: 74px;
  max-width: none;
  padding-block: 8px;
  gap: 20px;
  justify-content: flex-start;
}

.pl-flagship .site-brand {
  flex: 0 0 auto;
  margin-right: auto;
}

.pl-flagship .site-brand__link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pl-flagship .site-brand__mark,
.pl-flagship .custom-logo {
  width: 118px;
  height: auto;
  border-radius: 0;
}

.pl-flagship .site-brand__tagline {
  max-width: 148px;
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.pl-flagship .site-nav {
  margin-left: 0;
}

.pl-flagship .site-nav__menu {
  gap: 18px;
}

.pl-flagship .site-nav__menu > li > a,
.pl-flagship .site-nav__dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 0 11px;
  border-radius: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.pl-flagship .site-nav__menu > li > a::after,
.pl-flagship .site-nav__dropdown-toggle::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--pl-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s var(--pl-ease);
}

.pl-flagship .site-nav__menu > li > a:hover,
.pl-flagship .site-nav__dropdown-toggle:hover {
  color: var(--pl-cyan);
  background: transparent;
  text-decoration: none;
}

.pl-flagship .site-nav__menu > li > a:hover::after,
.pl-flagship .site-nav__dropdown-toggle:hover::after,
.pl-flagship .site-nav__menu > .current-menu-item > a::after,
.pl-flagship .site-nav__menu > .current_page_item > a::after,
.pl-flagship .site-nav__menu > .current-menu-ancestor > .site-nav__dropdown-toggle::after {
  transform: scaleX(1);
}

.pl-flagship .site-nav__menu .current-menu-item > a,
.pl-flagship .site-nav__menu .current_page_item > a,
.pl-flagship .site-nav__menu > .current-menu-ancestor > .site-nav__dropdown-toggle {
  color: var(--pl-cyan);
  background: transparent;
  box-shadow: none;
}

.pl-flagship .site-nav__dropdown-icon {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .25s var(--pl-ease);
}

.pl-flagship .menu-item-has-children:hover > .site-nav__dropdown-toggle .site-nav__dropdown-icon,
.pl-flagship .menu-item-has-children:focus-within > .site-nav__dropdown-toggle .site-nav__dropdown-icon,
.pl-flagship .menu-item-has-children.is-open > .site-nav__dropdown-toggle .site-nav__dropdown-icon {
	transform: translateY(2px) rotate(225deg);
}

.pl-flagship .site-nav__menu .sub-menu {
	top: calc(100% - 1px);
	min-width: 230px;
	padding: 10px 12px 12px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-top: 2px solid var(--pl-cyan);
	border-radius: 0 0 4px 4px;
	background: #052f50;
	box-shadow: 0 24px 60px rgba(3, 22, 39, .3);
}

.pl-flagship .site-nav__menu .sub-menu a {
	padding: 10px 12px;
	border-radius: 2px;
	color: rgba(255, 255, 255, .82);
	font-size: 13px;
	font-weight: 650;
}

.pl-flagship .site-nav__menu .sub-menu a:hover,
.pl-flagship .site-nav__menu .sub-menu .current-menu-item > a {
	background: rgba(0, 174, 239, .12);
	color: #fff;
	text-decoration: none;
}

.pl-flagship .site-header__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: 4px;
  padding: 10px 0 11px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.pl-flagship .site-header__cta > .pl-link-arrow {
	transition: transform .24s var(--pl-ease);
}

.pl-flagship .site-header__cta:hover > .pl-link-arrow {
	transform: translateX(3px);
}

.pl-flagship .site-header__cta::after {
  right: 0;
  bottom: 4px;
  left: 0;
  background: var(--pl-cyan);
}

.pl-flagship .site-header__cta:hover {
  color: var(--pl-cyan);
  background: transparent;
  transform: none;
}

.pl-flagship .site-header__cta[aria-current="page"]::after {
  transform: scaleX(1);
}

.pl-flagship .site-nav__mobile-cta {
  display: none;
}

.pl-civic-line {
  position: fixed;
	top: var(--pl-admin-bar-offset);
  right: 0;
  left: 0;
  z-index: 900;
  height: 3px;
  pointer-events: none;
}

.pl-civic-line span {
  display: block;
  width: calc(var(--pl-scroll-progress, 0) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--pl-cyan) 0 52%, var(--pl-yellow) 52% 68%, var(--pl-magenta) 68% 84%, var(--pl-red) 84% 100%);
  transform-origin: left;
}

/* ---------- Interior page hero: preserve the successful direction ---------- */

.pl-flagship .hero:not(.hero--home) {
  position: relative;
  isolation: isolate;
	padding-block: 58px 60px;
	padding-inline: 0;
  border: 0;
  background: var(--pl-blue);
}

.pl-flagship .hero:not(.hero--home)::before {
  content: "PORTO";
  position: absolute;
  right: max(24px, calc((100vw - var(--pl-max)) / 2));
  bottom: -22px;
  z-index: -1;
  color: rgba(255, 255, 255, .07);
  font-size: 168px;
  font-weight: 900;
  line-height: .82;
  pointer-events: none;
}

.pl-flagship .hero:not(.hero--home)::after {
  height: 5px;
}

.pl-flagship .hero:not(.hero--home) .hero__inner {
  gap: 14px;
}

.pl-flagship .hero:not(.hero--home) .hero__eyebrow {
  color: #7edcff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
}

.pl-flagship .pl-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .01em;
  line-height: 1.4;
}

.pl-flagship .pl-breadcrumbs a {
  color: #fff;
  text-decoration: none;
  transition: color .2s ease;
}

.pl-flagship .pl-breadcrumbs a:hover,
.pl-flagship .pl-breadcrumbs a:focus-visible {
  color: var(--pl-yellow);
}

.pl-flagship .pl-breadcrumbs__home {
	display: inline-grid;
	width: 17px;
	height: 17px;
	place-items: center;
	color: var(--pl-cyan);
	text-decoration: none;
	transition: color .2s ease, transform .25s var(--pl-ease);
}

.pl-flagship .pl-breadcrumbs__home:hover,
.pl-flagship .pl-breadcrumbs__home:focus-visible {
	color: var(--pl-yellow);
	transform: translateY(-2px) rotate(-4deg);
}

.pl-flagship .pl-breadcrumbs__home svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.pl-flagship .pl-breadcrumbs__separator {
  color: rgba(255, 255, 255, .42);
}

.pl-flagship .hero:not(.hero--home) .hero__title {
  max-width: 920px;
  color: #fff;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.02;
}

.pl-flagship .hero:not(.hero--home) .hero__subtitle {
  max-width: 720px;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 1.6;
}

.pl-utility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pl-utility-nav {
  border-bottom: 1px solid var(--pl-line);
  background: var(--pl-mist);
}

.pl-utility-nav p {
  margin: 0;
}

.pl-utility-nav a {
  color: var(--pl-blue);
  font-size: 13px;
  font-weight: 750;
  text-underline-offset: 4px;
}

/* ---------- Home hero ---------- */

.pl-hero {
  position: relative;
  isolation: isolate;
  height: min(820px, 100svh);
  min-height: 670px;
  overflow: hidden;
  background: var(--pl-blue-deep);
  color: #fff;
}

.pl-hero__media,
.pl-hero__shade {
  position: absolute;
  inset: 0;
}

.pl-hero__media {
  z-index: 0;
  background-color: var(--pl-blue-deep);
  background-image: url("../img/porto-cmp-hero-axis.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.02) translate3d(0, var(--pl-hero-shift, 0), 0);
  transform-origin: center;
  will-change: transform;
}

.pl-hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 22, 39, .96) 0%, rgba(3, 30, 53, .82) 38%, rgba(3, 38, 66, .28) 68%, rgba(3, 38, 66, .06) 100%),
    linear-gradient(0deg, rgba(3, 30, 53, .78) 0%, transparent 34%);
}

.pl-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 5px;
  background: linear-gradient(90deg, var(--pl-cyan) 0 54%, var(--pl-yellow) 54% 70%, var(--pl-magenta) 70% 86%, var(--pl-red) 86% 100%);
}

.pl-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100%;
  align-items: center;
}

.pl-hero__copy {
  width: min(760px, 68%);
  padding-block: 70px 116px;
}

.pl-kicker,
.pl-label {
  margin: 0;
  color: var(--pl-cyan);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pl-label {
  color: var(--pl-cyan-text);
}

.pl-now .pl-kicker,
.pl-people .pl-kicker,
.pl-news .pl-kicker {
  color: var(--pl-cyan-text);
}

.pl-hero__title {
  max-width: 780px;
  margin: 22px 0 28px;
  color: #fff;
  font-size: 86px;
  line-height: .92;
}

.pl-hero__lead {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-family: var(--pl-editorial);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.42;
}

.pl-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 36px;
}

.pl-hero__secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.pl-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s var(--pl-ease);
}

.pl-action:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.pl-action span {
  font-size: 18px;
  font-weight: 500;
}

.pl-action--solid {
  background: var(--pl-cyan);
  color: var(--pl-ink);
}

.pl-action--solid:hover {
  background: #fff;
  color: var(--pl-ink);
}

.pl-action--line {
  padding-inline: 0;
  border-bottom-color: rgba(255, 255, 255, .55);
  color: #fff;
  border-radius: 0;
}

.pl-action--line:hover {
  border-bottom-color: var(--pl-cyan);
  color: var(--pl-cyan);
}

.pl-hero__signal {
  position: absolute;
  right: 24px;
  bottom: 96px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: right bottom;
}

.pl-hero__signal i {
  display: block;
  width: 72px;
  height: 1px;
  background: rgba(255, 255, 255, .48);
}

.pl-hero__foot {
  position: absolute;
  right: max(var(--pl-gutter), calc((100vw - var(--pl-max)) / 2 + var(--pl-gutter)));
  bottom: 26px;
  left: max(var(--pl-gutter), calc((100vw - var(--pl-max)) / 2 + var(--pl-gutter)));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 650;
}

.pl-hero__foot p {
  margin: 0;
}

.pl-hero__foot a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

/* ---------- Shared flagship sections ---------- */

.pl-section {
  position: relative;
  padding-block: 118px;
}

.pl-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .6fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 58px;
}

.pl-section-head h2 {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--pl-ink);
  font-size: 58px;
  line-height: .98;
}

.pl-section-head > p {
  max-width: 520px;
  margin: 0;
  color: var(--pl-ink-soft);
  font-family: var(--pl-editorial);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
}

.pl-section-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: flex-end;
}

.pl-text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--pl-blue);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.pl-text-link:hover {
  color: var(--pl-red);
  text-decoration: none;
}

.pl-text-link i {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
}

.pl-link-arrow {
	position: relative;
	display: inline-block;
	width: 16px;
	height: 12px;
	flex: 0 0 16px;
	color: inherit;
	font-size: 0;
	transition: transform .24s var(--pl-ease);
}

.pl-link-arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 1px;
	left: 1px;
	height: 1.5px;
	background: currentColor;
	transform: translateY(-50%);
}

.pl-link-arrow::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1px;
	width: 6px;
	height: 6px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
}

.pl-link-arrow--left {
	transform: rotate(180deg);
}

.pl-action:hover .pl-link-arrow,
.pl-text-link:hover .pl-link-arrow,
.site-header__cta:hover .pl-link-arrow,
.social-links__link:hover .pl-link-arrow,
.person-card:hover .pl-link-arrow,
.freguesia-person:hover .pl-link-arrow {
	transform: translateX(3px);
}

.pagination .prev:hover .pl-link-arrow--left,
.post-nav__prev a:hover .pl-link-arrow--left {
	transform: rotate(180deg) translateX(3px);
}

/* ---------- Now ---------- */

.pl-now {
  background: #fff;
  padding-block: 88px;
}

.pl-now .pl-section-head {
  margin-bottom: 36px;
}

.pl-now__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, .8fr);
  gap: 0;
  align-items: stretch;
  height: 680px;
  border: 1px solid var(--pl-line);
}

.pl-event-feature {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  border-right: 1px solid var(--pl-line);
  color: inherit;
  background: #fff;
  text-decoration: none;
}

.pl-event-feature:hover {
  text-decoration: none;
}

.pl-event-feature__media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--pl-blue-deep);
}

.pl-event-feature__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--pl-ease), filter .4s ease;
}

.pl-event-feature:hover .pl-event-feature__image {
  transform: scale(1.025);
  filter: saturate(1.06);
}

.pl-event-feature__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  background:
    linear-gradient(135deg, transparent 0 52%, rgba(0, 174, 239, .22) 52% 70%, transparent 70%),
    var(--pl-blue);
}

.pl-event-feature__placeholder::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 28px;
  width: 96px;
  height: 96px;
  border: 22px solid var(--pl-red);
  border-radius: 50%;
  opacity: .85;
}

.pl-event-feature__placeholder span {
  color: #fff;
  font-size: 44px;
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
}

.pl-event-feature__date {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  min-width: 92px;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 14px 16px 12px;
  background: var(--pl-red);
  color: #fff;
}

.pl-event-feature__date strong {
  font-size: 34px;
  font-weight: 900;
  line-height: .95;
}

.pl-event-feature__date span {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.pl-event-feature__body {
  padding: 30px 34px 34px;
}

.pl-event-feature__body h3 {
  max-width: 760px;
  margin: 12px 0 10px;
  color: var(--pl-ink);
  font-size: 34px;
  line-height: 1.04;
}

.pl-event-feature__body > p:not(.pl-label) {
  margin: 0 0 20px;
  color: var(--pl-ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.pl-iniciatives-feature {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 34px;
  background: var(--pl-red-surface);
  color: #fff;
}

.pl-iniciatives-feature__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pl-iniciatives-feature .pl-label {
  color: #fff;
}

.pl-iniciatives-feature h3 {
  position: relative;
  z-index: 1;
  margin: auto 0 18px;
  font-size: 45px;
  line-height: .98;
}

.pl-iniciatives-feature > p {
  position: relative;
  z-index: 1;
  max-width: 34ch;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .82);
  font-family: var(--pl-editorial);
  font-size: 18px;
  line-height: 1.45;
}

.pl-iniciatives-feature .pl-text-link {
  position: relative;
  z-index: 1;
  color: #fff;
}

.pl-iniciatives-feature .pl-text-link:hover {
  color: var(--pl-yellow);
}

.pl-iniciatives-feature__mark {
  position: absolute;
  right: -36px;
  bottom: -62px;
  color: rgba(255, 255, 255, .1);
  font-size: 220px;
  font-weight: 900;
  line-height: 1;
}

/* ---------- Topics ---------- */

.pl-topics {
  overflow: hidden;
  background: var(--pl-ink);
  color: #fff;
}

.pl-topics::before {
  content: "PORTO";
  position: absolute;
  top: 74px;
  right: -32px;
  color: rgba(255, 255, 255, .035);
  font-size: 250px;
  font-weight: 900;
  line-height: .8;
}

.pl-section-head--dark h2 {
  color: #fff;
}

.pl-section-head--dark > p {
  color: rgba(255, 255, 255, .68);
}

.pl-topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pl-topic {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(160px, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 150px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  transition: border-color .25s ease;
}

.pl-topic:nth-last-child(-n + 2) {
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.pl-topic::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pl-cyan);
  transition: width .45s var(--pl-ease);
}

.pl-topic:hover::after {
  width: 100%;
}

.pl-topic h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.05;
}

.pl-topic p {
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-family: var(--pl-editorial);
  font-size: 16px;
  line-height: 1.45;
}

.pl-editorial-note {
  margin: 56px 0 -12px;
  color: #fff;
  font-family: var(--pl-editorial);
  font-size: 58px;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
  text-align: right;
}

.pl-editorial-note__word {
  display: inline-block;
  margin-left: .16em;
  margin-right: 0;
  text-align: left;
  white-space: nowrap;
}

.js .pl-editorial-note__word::after {
  display: inline-block;
  width: 2px;
  height: .82em;
  margin-left: .08em;
  background: currentColor;
  content: "";
  vertical-align: -.04em;
  animation: pl-typewriter-caret 1s steps(1, end) infinite;
}

@keyframes pl-typewriter-caret {
  50% { opacity: 0; }
}

/* ---------- People ---------- */

.pl-people {
  background: #fff;
}

.pl-person-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 18px;
	align-items: start;
}

.pl-person-gallery__item {
	display: flex;
	align-self: start;
	min-width: 0;
}

.pl-person-gallery .person-card--list {
	display: flex;
	width: 100%;
	min-height: 0;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	overflow: hidden;
	padding: 0;
	border: 0;
	border-top: 3px solid var(--pl-cyan);
	border-radius: 0;
	background: transparent;
	color: inherit;
	text-align: left;
	text-decoration: none;
	transition: border-color .25s ease, transform .35s var(--pl-ease);
}

.pl-person-gallery .person-card--list::before {
	display: none;
}

.pl-person-gallery .person-card--list:hover {
	border-color: var(--pl-red);
	box-shadow: none;
	transform: translateY(-4px);
}

.pl-person-gallery .person-card__photo-wrap {
	width: 100%;
	height: auto;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--pl-mist);
}

.pl-person-gallery .person-card__photo {
	width: 100%;
	height: 100%;
	border-radius: 0;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center top;
	transition: transform .65s var(--pl-ease);
}

.pl-person-gallery .person-card__photo--ph {
	background: var(--pl-mist);
}

.pl-person-gallery .person-card__photo--ph::after {
	display: none;
}

.pl-person-gallery .person-card:hover .person-card__photo {
	transform: scale(1.025);
}

.pl-person-gallery .person-card__info {
	display: flex;
	min-width: 0;
	min-height: 0;
	flex: none;
	flex-direction: column;
	align-self: stretch;
	padding: 7px 2px 0;
}

.pl-person-gallery .person-card__name {
	margin: 0 0 6px;
	font-size: 18px;
	line-height: 1.1;
}

.pl-person-gallery .person-card__role {
	display: -webkit-box;
	min-height: 2.8em;
	overflow: hidden;
	margin: 0;
	color: var(--pl-ink-soft);
	font-size: 13px;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.pl-person-gallery .person-card__group {
	display: none;
}

.pl-person-gallery .person-card__bio,
.pl-person-gallery .person-card__note {
	display: -webkit-box;
	min-height: 2.8em;
	overflow: hidden;
	margin: 11px 0 0;
	color: #60798c;
	font-family: var(--pl-editorial);
	font-size: 13px;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.pl-person-gallery .person-card__action {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	padding: 15px 0 3px;
	border-top: 1px solid var(--pl-line);
	background: transparent;
	color: var(--pl-blue);
	font-size: 12px;
	font-weight: 800;
}

.pl-person-gallery__more {
	position: relative;
	display: flex;
	align-self: stretch;
	min-height: 0;
	flex-direction: column;
	overflow: hidden;
	padding: 30px;
	border-top: 3px solid var(--pl-cyan);
	background:
		linear-gradient(142deg, rgba(255, 255, 255, .06) 0 34%, transparent 34%),
		var(--pl-blue);
	color: #fff;
}

@media (min-width: 921px) {
	.pl-person-gallery__more {
		grid-column: span 3;
		padding: 44px;
	}

	.pl-person-gallery__more h3 {
		max-width: 680px;
		font-size: 52px;
	}

	.pl-person-gallery__more > p:not(.pl-kicker) {
		max-width: 620px;
	}

	.pl-person-gallery__more-links {
		width: min(100%, 520px);
		margin-left: auto;
	}
}

.pl-person-gallery__more .pl-kicker {
	color: var(--pl-cyan);
}

.pl-person-gallery__more h3 {
	margin: 14px 0 16px;
	font-size: 34px;
	line-height: 1.02;
}

.pl-person-gallery__more > p:not(.pl-kicker) {
	margin: 0;
	color: rgba(255, 255, 255, .72);
	font-family: var(--pl-editorial);
	font-size: 16px;
	line-height: 1.55;
}

.pl-person-gallery__more-links {
	display: grid;
	gap: 0;
	margin-top: auto;
	padding-top: 28px;
}

.pl-person-gallery__more-links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 15px;
	border-top: 1px solid rgba(255, 255, 255, .24);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.pl-flagship .contact-landing__links a:hover,
.pl-flagship .contact-landing__links a:focus-visible {
	border-top-color: var(--pl-cyan);
	color: var(--pl-cyan);
}

.pl-flagship .contact-landing__links a span {
	transition: transform .24s var(--pl-ease);
}

.pl-flagship .contact-landing__links a:hover span,
.pl-flagship .contact-landing__links a:focus-visible span {
	transform: translateX(4px);
}

.pl-person-gallery__more-links a:hover {
	color: var(--pl-cyan);
}

/* ---------- News ---------- */

.pl-news {
  background: var(--pl-mist);
}

.pl-news .pl-section-head {
  grid-template-columns: minmax(0, 1fr) auto;
}

.pl-news__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(300px, .62fr);
	gap: 32px;
	align-items: stretch;
	max-width: none;
}

.pl-news-featured {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.pl-news-lead {
	display: grid;
	grid-template-rows: auto 1fr;
	overflow: hidden;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: transform .35s var(--pl-ease), box-shadow .35s ease;
}

.pl-news-lead:hover {
	box-shadow: 0 18px 40px rgba(3, 43, 77, .1);
	text-decoration: none;
	transform: translateY(-3px);
}

.pl-news-lead__media {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--pl-blue);
}

.pl-news-lead__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--pl-ease);
}

.pl-news-lead:hover .pl-news-lead__image {
  transform: scale(1.025);
}

.pl-news-lead__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 32px;
  background: var(--pl-blue);
}

.pl-news-lead__placeholder::before,
.pl-news-lead__placeholder::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.pl-news-lead__placeholder::before {
  top: -150px;
  right: -100px;
  width: 430px;
  height: 430px;
  border: 100px solid rgba(0, 174, 239, .35);
}

.pl-news-lead__placeholder::after {
  right: 120px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border: 64px solid rgba(237, 28, 36, .82);
}

.pl-news-lead__placeholder span {
  position: relative;
  z-index: 1;
  color: #fff;
	font-size: 50px;
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
}

.pl-news-lead__body {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 24px 24px 26px;
}

.pl-news-lead__body h3 {
  margin: 10px 0 12px;
	font-size: 24px;
	line-height: 1.04;
}

.pl-news-lead__body > p:not(.pl-label) {
  margin: 0 0 18px;
  color: var(--pl-ink-soft);
  font-family: var(--pl-editorial);
  font-size: 17px;
  line-height: 1.5;
}

.pl-news-lead__body > span {
	margin-top: auto;
  color: #6a8192;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.pl-news-list {
	display: grid;
	grid-template-rows: repeat(4, minmax(0, 1fr));
	border-top: 1px solid #bdcdd7;
}

.pl-news-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
	grid-template-rows: auto 1fr auto;
	gap: 7px 14px;
	padding: 20px 4px;
  border-bottom: 1px solid #bdcdd7;
  color: var(--pl-ink);
  text-decoration: none;
  transition: padding-left .3s var(--pl-ease), color .25s ease;
}

.pl-news-row:hover {
  padding-left: 12px;
  color: var(--pl-blue);
  text-decoration: none;
}

.pl-news-row .pl-label {
  color: var(--pl-blue);
}

.pl-news-row h3 {
  margin: 0;
	font-size: 19px;
  line-height: 1.08;
}

.pl-news-row__date {
  color: #6a8192;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.pl-news-row i,
.pl-news-row > .pl-link-arrow {
	grid-column: 2;
	grid-row: 1 / span 3;
	align-self: center;
	font-style: normal;
}

.pl-empty {
  padding: 48px;
  border: 1px solid var(--pl-line);
  background: #fff;
}

.pl-empty h3 {
  max-width: 760px;
  margin: 12px 0 28px;
  font-size: 38px;
}

/* ---------- Participation ---------- */

.pl-participate {
  position: relative;
  overflow: hidden;
  padding-block: 108px;
  background: var(--pl-blue);
  color: #fff;
}

.pl-participate::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--pl-cyan) 0 56%, var(--pl-yellow) 56% 70%, var(--pl-magenta) 70% 86%, var(--pl-red) 86% 100%);
}

.pl-participate__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 72px;
  align-items: end;
}

.pl-participate .pl-kicker {
  color: #8be2ff;
}

.pl-participate h2 {
  max-width: 780px;
  margin: 14px 0 22px;
  font-size: 72px;
  line-height: .94;
}

.pl-participate__copy > p:last-child {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-family: var(--pl-editorial);
  font-size: 20px;
  line-height: 1.5;
}

.pl-participate__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.pl-action--light {
  background: #fff;
  color: var(--pl-blue);
}

.pl-action--light:hover {
  background: var(--pl-cyan);
  color: var(--pl-ink);
}

.pl-action--line-light {
  border-color: rgba(255, 255, 255, .46);
  color: #fff;
}

.pl-action--line-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.pl-participate__mark {
  position: absolute;
  right: -32px;
  bottom: -78px;
  width: 430px;
  height: auto;
  opacity: .08;
  pointer-events: none;
}

/* ---------- Footer ---------- */

.pl-join-strip {
  position: relative;
  overflow: hidden;
  padding-block: 58px;
  background: var(--pl-blue);
  color: #fff;
}

.pl-join-strip::after {
  content: "P.";
  position: absolute;
  right: -22px;
  bottom: -72px;
  color: rgba(255, 255, 255, .08);
  font-family: var(--pl-display);
  font-size: 220px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.pl-join-strip__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(260px, .8fr) auto;
  gap: 46px;
	align-items: center;
}

.pl-join-strip .pl-kicker {
  margin-bottom: 14px;
  color: var(--pl-yellow);
}

.pl-join-strip h2 {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-size: 38px;
  line-height: 1.02;
}

.pl-join-strip__inner > p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-family: var(--pl-editorial);
  font-size: 18px;
  line-height: 1.48;
}

.pl-join-strip .pl-action {
	min-width: 190px;
	align-self: center;
	white-space: nowrap;
}

.pl-flagship .site-footer__identity {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-top: 1px solid rgba(255, 255, 255, .18);
	background: var(--pl-blue);
	color: #fff;
}

.pl-flagship .site-footer__identity::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(132deg, transparent 0 54%, rgba(255, 255, 255, .05) 54% 72%, transparent 72%),
		linear-gradient(90deg, #005287 0%, #00699d 58%, #064876 100%);
}

.pl-flagship .site-footer__identity-inner {
	position: relative;
	z-index: 2;
	display: grid;
	min-height: 290px;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 72px;
	align-items: center;
	padding-block: 54px;
}

.pl-flagship .site-footer__porto-lockup {
	position: relative;
	display: block;
	width: fit-content;
	color: #fff;
	text-decoration: none;
}

.pl-flagship .site-footer__porto-lockup > span,
.pl-flagship .site-footer__national-lockup > p {
	margin: 0;
	color: rgba(255, 255, 255, .66);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.pl-flagship .site-footer__porto-lockup > span {
	position: absolute;
	bottom: calc(100% + 14px);
	left: 0;
	white-space: nowrap;
}

.pl-flagship .site-footer__porto-lockup img {
	display: block;
	height: 76px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.pl-flagship .site-footer__national-lockup {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 12px;
	justify-items: end;
}

.pl-flagship .site-footer__national-lockup a {
	display: block;
	padding: 0;
	transition: opacity .25s ease, transform .25s var(--pl-ease);
}

.pl-flagship .site-footer__national-lockup a:hover {
	opacity: .82;
	transform: translateY(-2px);
}

.pl-flagship .site-footer__national-lockup img {
	display: block;
	height: 76px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.pl-flagship .site-footer {
  margin-top: 0;
  background: #031d35;
  color: #fff;
}

.pl-flagship .site-footer__cols {
	max-width: none;
	padding-block: 72px 56px;
	grid-template-columns: minmax(320px, 1.3fr) minmax(190px, .55fr) minmax(280px, .9fr);
	gap: 64px;
}

.pl-flagship .site-footer__mark {
  width: 180px;
  height: auto;
  margin-bottom: 24px;
}

.pl-flagship .site-footer__col p {
  max-width: 480px;
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  line-height: 1.55;
}

.pl-flagship .site-footer__eyebrow {
	margin: 0 0 14px;
	color: var(--pl-cyan) !important;
	font-size: 11px !important;
	font-weight: 850;
	text-transform: uppercase;
}

.pl-flagship .site-footer__statement {
	max-width: 520px;
	margin: 0 0 22px;
	color: #fff;
	font-size: 42px;
	line-height: .98;
}

.pl-flagship .site-footer__email {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
	padding-bottom: 4px;
	border-bottom: 1px solid rgba(255, 255, 255, .46);
	color: #fff !important;
	font-weight: 800;
}

.pl-flagship .site-footer__col--brand > p:nth-of-type(2) {
  margin-top: 24px;
}

.pl-flagship .site-footer__motto {
  color: #fff;
  font-family: var(--pl-editorial);
  font-size: 17px;
  font-style: italic;
}

.pl-flagship .site-footer__heading,
.pl-flagship .site-footer__col h2,
.pl-flagship .site-footer__col h3,
.pl-flagship .site-footer__col h4 {
  margin-bottom: 20px;
  color: var(--pl-cyan);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
}

.pl-flagship .site-footer__nav li {
	margin: 0;
}

.pl-flagship .site-footer__nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 18px;
	padding: 0;
}

.pl-flagship .site-footer__col a {
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  text-decoration: none;
}

.pl-flagship .site-footer__col a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--pl-cyan);
  text-underline-offset: 4px;
}

.pl-flagship .social-links {
  display: grid;
  gap: 0;
  margin: 0;
}

.pl-flagship .social-links__item {
  border-top: 1px solid var(--pl-line);
}

.pl-flagship .social-links__item:last-child {
  border-bottom: 1px solid var(--pl-line);
}

.pl-flagship .social-links__link {
	display: grid;
	grid-template-columns: 24px minmax(76px, auto) minmax(0, 1fr) 16px;
	gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-radius: 0;
  background: transparent;
}

.pl-flagship .social-links__icon {
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	color: var(--pl-blue);
}

.pl-flagship .social-links__icon svg {
	width: 19px;
	height: 19px;
}

.pl-flagship .social-links__label {
  color: var(--pl-ink);
  font-weight: 750;
}

.pl-flagship .social-links__handle {
  overflow: hidden;
  color: var(--pl-ink-soft);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pl-flagship .social-links__arrow {
	color: var(--pl-cyan);
	text-align: right;
}

.pl-flagship .social-links__link:hover {
  background: transparent;
  text-decoration: none;
}

/* Home social rail: a compact bridge between the hero and the editorial feed. */
.pl-flagship .pl-home-social {
	padding-block: 0;
	border-bottom: 1px solid var(--pl-line);
	background: var(--pl-paper);
}

.pl-flagship .pl-home-social .social-links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
}

.pl-flagship .pl-home-social .social-links__item {
	border-top: 0;
	border-bottom: 0;
	border-left: 1px solid var(--pl-line);
}

.pl-flagship .pl-home-social .social-links__item:first-child {
	border-left: 0;
}

.pl-flagship .pl-home-social .social-links__link {
	grid-template-columns: 24px minmax(0, auto) minmax(0, 1fr) 16px;
	min-height: 66px;
	padding: 12px 20px;
}

.pl-flagship .pl-home-social .social-links__icon {
	color: var(--pl-cyan-text);
}

.pl-flagship .site-footer .social-links__item {
  border-color: rgba(255, 255, 255, .14);
}

.pl-flagship .site-footer .social-links__label {
  color: #fff;
}

.pl-flagship .site-footer .social-links__handle {
	color: rgba(255, 255, 255, .48);
}

.pl-flagship .site-footer .social-links__icon {
	color: var(--pl-cyan);
}

.pl-flagship .site-footer__bottom {
  max-width: none;
  padding: 0;
  border: 0;
  background: #031d35;
}

.pl-flagship .site-footer__bottom .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 22px 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.pl-flagship .site-footer__legal {
	display: flex;
	gap: 20px;
}

.pl-flagship .site-footer__legal .pl-cookie-settings {
  font-size: 11px;
  padding: 4px 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 4px;
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s, color .2s, border-color .2s;
}
.pl-flagship .site-footer__legal .pl-cookie-settings::before {
  content: "⚙";
  font-size: 10px;
  opacity: .7;
}
.pl-flagship .site-footer__legal .pl-cookie-settings:hover {
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .95);
  border-color: rgba(255, 255, 255, .35);
  text-decoration: none;
}

.pl-flagship .site-footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, .48);
  font-size: 11px;
}
.pl-flagship .site-footer__bottom .site-footer__legal-copy {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 20px;
}
.pl-flagship .site-footer__bottom .site-footer__legal-copy a {
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
  text-underline-offset: 4px;
}
.pl-flagship .site-footer__bottom .site-footer__legal-copy a:hover {
  color: rgba(255, 255, 255, .85);
}

/* ---------- Existing content, cards and rosters ---------- */

.pl-flagship .section {
  padding-block: 78px;
  padding-inline: 0;
}

.pl-flagship .section--light {
  background: var(--pl-mist);
}

.pl-flagship .section__head {
  max-width: 820px;
  margin-bottom: 42px;
}

.pl-flagship .section__head--left {
  margin-inline: 0;
}

.pl-flagship .section__title {
  color: var(--pl-ink);
  font-size: 38px;
  font-weight: 900;
}

.pl-flagship .section__lead {
  color: var(--pl-ink-soft);
  font-family: var(--pl-editorial);
  font-size: 17px;
  line-height: 1.55;
}

.pl-flagship .section__kicker {
  color: var(--pl-cyan-text);
  font-size: 11px;
  font-weight: 850;
}

.pl-flagship .card-grid {
  gap: 18px;
}

.pl-flagship .card,
.pl-flagship .person-card,
.pl-flagship .overview-card,
.pl-flagship .freguesia-card,
.pl-flagship .contact-card {
  border: 1px solid var(--pl-line);
  border-radius: 4px;
  box-shadow: none;
}

.pl-flagship .card::before,
.pl-flagship .person-card::before,
.pl-flagship .issue-card::before {
  height: 2px;
  background: var(--pl-cyan);
}

.pl-flagship .card:hover,
.pl-flagship .person-card:hover,
.pl-flagship .overview-card:hover,
.pl-flagship .freguesia-card:hover,
.pl-flagship .contact-card:hover {
  border-color: #b9d6e5;
  box-shadow: 0 18px 45px rgba(3, 43, 77, .09);
}

.pl-flagship .autarca-grid,
.pl-flagship .autarca-grid--people {
  grid-template-columns: repeat(auto-fill, minmax(190px, 220px));
  gap: 18px;
}

.pl-flagship .autarca-grid .person-card--list,
.pl-flagship .autarca-grid--people .person-card--list {
  padding: 10px;
}

.pl-flagship .autarca-grid .person-card__photo,
.pl-flagship .autarca-grid--people .person-card__photo {
  aspect-ratio: 4 / 5;
  border-radius: 2px;
}

.pl-flagship .person-card__name {
  font-size: 16px;
}

.pl-flagship .person-card__group {
  border-radius: 2px;
}

.pl-flagship .freguesia-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pl-flagship .freguesia-card {
  padding: 22px;
  background: #fff;
}

.pl-flagship .freguesia-card__title {
  font-size: 18px;
}

.pl-flagship .freguesia-status {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-block: 18px 6px;
  border-top: 1px solid var(--pl-line);
  color: var(--pl-ink-soft);
  font-family: var(--pl-editorial);
  font-size: 15px;
}

.pl-flagship .freguesia-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 2px solid var(--pl-cyan);
  border-radius: 50%;
}

.pl-flagship .filter-bar {
  border: 0;
  border-bottom: 1px solid var(--pl-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pl-flagship .filter-bar__btn {
  position: relative;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
}

.pl-flagship .filter-bar__btn.is-active {
  border-bottom-color: transparent;
  background: transparent;
  color: var(--pl-blue);
}

.pl-flagship .filter-bar__btn.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--pl-cyan);
}

/* ---------- Interior editorial system ---------- */

.pl-flagship .pl-post-archive {
  background: var(--pl-paper);
}

.pl-flagship .pl-post-archive .filter-bar {
  margin-bottom: 48px;
  border-bottom: 0;
}

.pl-flagship .pl-post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px 20px;
}

.pl-flagship .pl-post-grid__item {
	min-width: 0;
	display: flex;
}

.pl-flagship .pl-post-grid .card--article {
	display: flex;
	width: 100%;
	overflow: hidden;
	border: 1px solid rgba(3, 43, 77, .12);
	border-radius: 2px;
	background: #fff;
	transition: border-color .25s ease, transform .3s var(--pl-ease);
}

.pl-flagship .pl-post-grid .card--article:hover {
	border-color: rgba(0, 174, 239, .65);
	box-shadow: none;
	transform: translateY(-2px);
}

.pl-flagship .pl-post-grid .card__link {
	display: flex;
	width: 100%;
	min-width: 0;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.pl-flagship .pl-post-grid .card--article::before {
  display: none;
}

.pl-flagship .pl-post-grid .card__media-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--pl-mist);
}

.pl-flagship .pl-post-grid .card__media {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .7s var(--pl-ease);
}

.pl-flagship .pl-post-grid .card__link:hover .card__media {
  transform: scale(1.025);
}

.pl-flagship .pl-post-grid .card__body {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	padding: 18px 18px 20px;
}

.pl-flagship .pl-post-grid .card__tag {
  padding: 0;
  background: transparent;
  color: var(--pl-cyan-text);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.pl-flagship .pl-post-grid .card__title {
  margin-block: 9px 14px;
  color: var(--pl-ink);
  font-size: 18px;
  line-height: 1.16;
}

.pl-flagship .pl-post-grid .card__meta {
	margin-top: auto;
  color: #6a8192;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.pl-flagship .pl-post-grid--external {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pl-flagship .pl-post-grid--external .card--artigo {
	display: flex;
	width: 100%;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--pl-line);
	border-radius: 2px;
	background: #fff;
	box-shadow: none;
	transition: border-color .25s ease, transform .35s var(--pl-ease);
}

.pl-flagship .pl-post-grid--external .card--artigo:hover {
	border-color: var(--pl-cyan);
	box-shadow: none;
	transform: translateY(-4px);
}

.pl-flagship .pl-post-grid--external .card__media-wrap {
	aspect-ratio: 4 / 5;
}

.pl-flagship .pl-post-grid--external .card__body {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 22px;
}

.pl-flagship .pl-post-grid--external .card__title {
	margin: 0;
}

.pl-flagship .pl-post-grid--external .card__meta {
	margin-top: auto;
}

.pl-flagship .pl-post-grid--external .btn {
	align-self: flex-start;
	margin-top: 4px;
}

.pl-flagship .pl-editorial-page {
  padding-block: 82px 108px;
}

/* Keep the first interior content band close to the hero without collapsing the page rhythm. */
.pl-flagship .hero:not(.hero--home) + .section:not(.section--compact) {
	padding-top: 54px;
}

.pl-flagship .hero:not(.hero--home) + .pl-editorial-page {
	padding-top: 64px;
}

.pl-flagship .pl-editorial-page__content {
	max-width: none;
	margin-inline: auto;
  color: var(--pl-ink-soft);
  font-family: var(--pl-editorial);
  font-size: 19px;
  line-height: 1.68;
}

.pl-flagship .pl-editorial-page__content > :where(p, h2, h3, h4, ul, ol, blockquote, .wp-block-buttons, .wp-block-shortcode) {
	max-width: 1120px;
}

.pl-flagship .pl-managed-editorial {
	width: 100%;
	max-width: var(--pl-max);
	margin-inline: auto;
}

.pl-flagship .pl-managed-editorial__section {
	margin: 0;
	padding: 0;
}

.pl-flagship .pl-managed-editorial__section + .pl-managed-editorial__section {
	margin-top: 64px;
}

.pl-flagship .pl-managed-editorial__section h2 {
	margin: 0 0 24px;
	padding: 0;
	border: 0;
	color: var(--pl-ink);
	font-family: var(--pl-display);
	font-size: 38px;
	line-height: 1.04;
}

.pl-flagship .pl-managed-editorial__section p {
	max-width: none;
	margin: 0 0 22px;
}

.pl-flagship .pl-managed-editorial__section p:last-child {
	margin-bottom: 0;
}

.pl-flagship .pl-managed-editorial__section strong {
	color: var(--pl-ink);
	font-family: var(--pl-display);
	font-size: 14px;
}

.pl-flagship .pl-managed-editorial__section strong a {
	color: inherit;
	text-decoration-color: var(--pl-cyan);
	text-underline-offset: 4px;
}

.pl-flagship .pl-managed-editorial__responsibility {
	max-width: none;
	color: var(--pl-ink-soft);
	font-family: var(--pl-editorial);
	font-size: 19px;
	font-weight: 500;
	line-height: 1.68;
}

.pl-flagship .pl-managed-editorial__responsibility a {
	color: var(--pl-blue);
	font: inherit;
	font-weight: 800;
	text-decoration-color: var(--pl-cyan);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.pl-flagship .pl-managed-editorial__responsibility a:hover {
	color: var(--pl-red);
	text-decoration-color: var(--pl-red);
}

.pl-flagship .pl-managed-editorial__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 32px;
	margin: 34px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--pl-line);
}

.pl-flagship .pl-managed-editorial__list li {
	position: relative;
	padding: 18px 0 18px 24px;
	border-bottom: 1px solid var(--pl-line);
	color: var(--pl-ink);
	font-family: var(--pl-display);
	font-size: 14px;
	font-weight: 750;
}

.pl-flagship .pl-managed-editorial__list li::before {
	content: "";
	position: absolute;
	top: 24px;
	left: 2px;
	width: 8px;
	height: 8px;
	border: 2px solid var(--pl-cyan);
	border-radius: 50%;
}

.pl-flagship .pl-managed-editorial__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.pl-flagship .pl-managed-editorial--sobre .pl-action--line {
	border-bottom-color: var(--pl-cyan);
	color: var(--pl-blue);
}

.pl-flagship .pl-managed-editorial--sobre .pl-action--line:hover {
	border-bottom-color: var(--pl-red);
	color: var(--pl-red);
}

.pl-flagship .pl-managed-editorial--sobre .pl-inline-link {
	color: var(--pl-blue);
	font: inherit;
	font-weight: 800;
	text-decoration-color: var(--pl-cyan);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.pl-flagship .pl-managed-editorial--sobre .pl-inline-link:hover {
	color: var(--pl-red);
	text-decoration-color: var(--pl-red);
}

.pl-flagship .pl-managed-editorial--contactos {
	max-width: none;
}

.pl-flagship .pl-managed-editorial__social-title {
	margin: 64px 0 24px;
	color: var(--pl-ink);
	font-family: var(--pl-display);
	font-size: 38px;
	line-height: 1.04;
}

.pl-flagship .pl-managed-editorial__forms {
	display: grid;
	gap: 28px;
	margin-top: 0;
}

.pl-flagship .pl-editorial-page--sobre-nos .pl-editorial-page__content > :where(p, h2, h3, h4, ul, ol, blockquote, .wp-block-buttons, .wp-block-shortcode) {
	max-width: none;
}

.pl-flagship .pl-editorial-page__content > * + * {
  margin-top: 24px;
}

.pl-flagship .pl-editorial-page__content > h2 {
  margin-top: 76px;
  padding-top: 52px;
  border-top: 1px solid var(--pl-line);
  color: var(--pl-ink);
  font-family: var(--pl-display);
  font-size: 38px;
  line-height: 1.04;
}

.pl-flagship .pl-editorial-page__content > h2:first-child,
.pl-flagship .pl-editorial-page__content > .wp-block-heading:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.pl-flagship .pl-editorial-page__content > h3 {
  color: var(--pl-ink);
  font-family: var(--pl-display);
  font-size: 24px;
}

.pl-flagship .pl-editorial-page--sobre-nos .wp-block-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--pl-line);
}

.pl-flagship .pl-editorial-page--sobre-nos .wp-block-list li {
  position: relative;
  margin: 0;
  padding: 18px 0 18px 24px;
  border-bottom: 1px solid var(--pl-line);
  color: var(--pl-ink);
  font-family: var(--pl-display);
  font-size: 14px;
  font-weight: 750;
}

.pl-flagship .pl-editorial-page--sobre-nos .wp-block-list li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 2px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--pl-cyan);
  border-radius: 50%;
}

.pl-flagship .pl-editorial-page--sobre-nos > .pl-editorial-page__content > h2 + p strong {
  color: var(--pl-blue);
  font-family: var(--pl-display);
  font-size: 14px;
}

.pl-flagship .pl-editorial-page--contactos .contact-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
	margin-bottom: 72px;
	max-width: 1120px;
}

.pl-flagship .pl-editorial-page--contactos .contact-card {
  min-height: 270px;
  padding: 30px;
  border: 0;
  border-top: 4px solid var(--pl-cyan);
  border-radius: 0;
  background: var(--pl-mist);
  box-shadow: none;
}

.pl-flagship .pl-editorial-page--contactos .contact-card:nth-child(2) {
  border-top-color: var(--pl-yellow);
  background: var(--pl-blue);
  color: #fff;
}

.pl-flagship .pl-editorial-page--contactos .contact-card h2 {
  margin: 14px 0 18px;
  padding: 0;
  border: 0;
  color: var(--pl-ink);
  font-family: var(--pl-display);
  font-size: 28px;
  line-height: 1.05;
}

.pl-flagship .pl-editorial-page--contactos .contact-card:nth-child(2) h2,
.pl-flagship .pl-editorial-page--contactos .contact-card:nth-child(2) p {
  color: #fff;
}

.pl-flagship .pl-editorial-page--contactos .contact-info__email a {
  color: var(--pl-blue);
  font-family: var(--pl-display);
  font-size: 18px;
  font-weight: 800;
  text-underline-offset: 5px;
}

.pl-flagship .pl-editorial-page--contactos .social-links {
	display: grid;
	max-width: none;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 40px;
  font-family: var(--pl-display);
}

@media (min-width: 641px) {
	.pl-flagship .pl-editorial-page--contactos .social-links__item:nth-child(3) {
		border-bottom: 1px solid var(--pl-line);
	}
}

.pl-flagship .pl-editorial-page--contactos .pl-contact-separator {
  width: 100%;
  margin: 32px 0 0;
  border: 0;
  border-top: 1px solid var(--pl-line);
}

.pl-flagship .pl-editorial-page--contactos #sugestoes {
	border-top: 0;
	padding-top: 76px;
	scroll-margin-top: calc(var(--pl-header-height) + 1px);
}

.pl-flagship .pl-editorial-page--contactos #voluntariado {
	scroll-margin-top: calc(var(--pl-header-height) + 1px);
}

.pl-flagship .pl-editorial-page--contactos .pl-editorial-page__content > .wp-block-heading {
	max-width: none;
}

.pl-flagship .pl-editorial-page--google-form .pl-editorial-page__content > :where(p, h2, h3, h4, .wp-block-heading) {
	max-width: none;
}

.pl-flagship .pl-editorial-page__content .wp-block-button__link {
  border-radius: 3px;
  background: var(--pl-blue);
  font-family: var(--pl-display);
  font-size: 14px;
  font-weight: 800;
}

.pl-flagship .pl-editorial-page__content .plcore-form {
	max-width: 1120px;
  margin: 34px 0 0;
  padding: 28px;
  border: 0;
  border-left: 4px solid var(--pl-cyan);
  border-radius: 0;
  background: var(--pl-mist);
  box-shadow: none;
  font-family: var(--pl-display);
}

.pl-flagship .pl-editorial-page__content .plcore-form input,
.pl-flagship .pl-editorial-page__content .plcore-form textarea,
.pl-flagship .pl-editorial-page__content .plcore-form select {
  border-radius: 2px;
  background: #fff;
}

/* ---------- Contact and public forms ---------- */

.pl-flagship .pl-person-gallery .person-card--list:hover {
	border-right: 0;
	border-bottom: 0;
	border-left: 0;
	box-shadow: none;
}

.pl-flagship .pl-person-gallery .person-card--list {
	border-right: 0;
	border-bottom: 0;
	border-left: 0;
	box-shadow: none;
}

.pl-flagship .pl-editorial-page--contactos .pl-editorial-page__content,
.pl-flagship .pl-editorial-page--google-form .pl-editorial-page__content {
	width: min(100%, calc(var(--pl-max) + var(--pl-gutter) + var(--pl-gutter)));
}

.pl-flagship .contact-landing {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr);
	width: 100%;
	max-width: none;
	min-height: 330px;
	margin: 0 auto 76px;
	border-top: 4px solid var(--pl-cyan);
	background: var(--pl-blue);
	color: #fff;
}

.pl-flagship .contact-landing > div {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 42px;
}

.pl-flagship .contact-landing__primary {
	border-right: 1px solid rgba(255, 255, 255, .2);
	background: var(--pl-mist);
	color: var(--pl-ink);
}

.pl-flagship .contact-landing .section__kicker {
	color: var(--pl-cyan-text);
}

.pl-flagship .contact-landing__participate .section__kicker {
	color: var(--pl-cyan);
}

.pl-flagship .contact-landing h2 {
	max-width: 620px;
	margin: 14px 0 18px;
	font-size: clamp(30px, 3vw, 48px);
	line-height: 1.02;
}

.pl-flagship .contact-landing p:not(.section__kicker) {
	max-width: 620px;
	margin: 0;
	color: inherit;
	font-size: 17px;
	line-height: 1.55;
}

.pl-flagship .contact-landing__email {
	width: fit-content;
	margin-top: auto;
	padding: 24px 0 5px;
	border-bottom: 2px solid var(--pl-cyan);
	color: var(--pl-blue);
	font-family: var(--pl-display);
	font-size: 18px;
	font-weight: 850;
	text-decoration: none;
}

.pl-flagship .contact-landing__links {
	display: grid;
	margin-top: auto;
	padding-top: 28px;
}

.pl-flagship .contact-landing__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: 15px;
	border-top: 1px solid rgba(255, 255, 255, .24);
	color: #fff;
	font-family: var(--pl-display);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.pl-flagship .pl-contact-form-section,
.pl-flagship .pl-external-form {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr);
	gap: 0;
	width: 100%;
	margin-block: 0;
	padding-block: 76px;
	border-top: 1px solid var(--pl-line);
	scroll-margin-top: 92px;
}

.pl-flagship .pl-editorial-page--contactos .pl-contact-form-section {
	max-width: none;
	margin-inline: auto;
}

.pl-flagship .pl-editorial-page--google-form .pl-external-form {
	padding-top: 36px;
	padding-bottom: 36px;
	border-top: 0;
}

.pl-flagship .pl-editorial-page--google-form {
	padding-top: 0;
	padding-bottom: 48px;
}

.pl-flagship .pl-contact-form-section__intro,
.pl-flagship .pl-external-form__intro {
	padding: 8px 52px 24px 0;
}

.pl-flagship .pl-contact-form-section__intro h2,
.pl-flagship .pl-external-form__intro h2 {
	margin: 12px 0 20px;
	color: var(--pl-ink);
	font-size: clamp(30px, 3vw, 43px);
	line-height: 1.02;
}

.pl-flagship .pl-contact-form-section__copy,
.pl-flagship .pl-external-form__intro > p:not(.section__kicker) {
	color: var(--pl-ink-soft);
	font-family: var(--pl-editorial);
	font-size: 17px;
	line-height: 1.58;
}

.pl-flagship .pl-contact-form-section__copy p {
	margin: 0;
}

.pl-flagship .pl-external-form__privacy {
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid var(--pl-line);
	font-size: 14px !important;
}

.pl-flagship .pl-external-form__body > .plcore-form-notice {
	margin: 0 0 30px;
	padding: 22px 24px;
	border: 0;
	border-left: 4px solid #16a36a;
	border-radius: 0;
	background: #eef9f4;
	color: #08774a;
	font-family: var(--pl-display);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.45;
}

.pl-flagship .pl-external-form__body > .plcore-form-notice p {
	margin: 0;
}

.pl-flagship .pl-external-form__intro .pl-text-link {
	margin-top: 20px;
}

.pl-flagship .pl-contact-form-section__body,
.pl-flagship .pl-external-form__body {
	min-width: 0;
	padding: 38px;
	border-top: 3px solid var(--pl-cyan);
	background: var(--pl-mist);
}

.pl-flagship .pl-contact-form-section .plcore-form,
.pl-flagship .pl-external-form .plcore-form {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.pl-flagship .pl-editorial-page--contactos .pl-contact-form-section .plcore-form {
	max-width: 760px;
}

.pl-flagship .pl-editorial-page--google-form .pl-external-form .plcore-form {
	max-width: 760px;
}

.pl-flagship .pl-contact-form-section .plcore-field,
.pl-flagship .pl-external-form .plcore-field {
	margin: 0;
}

.pl-flagship .pl-contact-form-section .plcore-field label,
.pl-flagship .pl-external-form .plcore-field label,
.pl-flagship .pl-contact-form-section .plcore-fieldset legend,
.pl-flagship .pl-external-form .plcore-fieldset legend {
	color: var(--pl-ink);
	font-family: var(--pl-display);
	font-size: 13px;
	font-weight: 800;
}

.pl-flagship .pl-contact-form-section .plcore-form :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select),
.pl-flagship .pl-external-form .plcore-form :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select) {
	min-height: 50px;
}

.pl-flagship .pl-contact-form-section .plcore-form :where(input, textarea, select),
.pl-flagship .pl-external-form .plcore-form :where(input, textarea, select) {
	border: 1px solid #c7d8e2;
	border-radius: 2px;
}

.pl-flagship .pl-contact-form-section .plcore-form :where(input, textarea, select):focus,
.pl-flagship .pl-external-form .plcore-form :where(input, textarea, select):focus {
	border-color: var(--pl-cyan-text);
	box-shadow: 0 0 0 3px rgba(0, 174, 239, .14);
	outline: 0;
}

.pl-flagship .pl-contact-form-section .plcore-fieldset,
.pl-flagship .pl-external-form .plcore-fieldset {
	margin: 0;
	padding: 22px;
	border: 1px solid #c7d8e2;
	border-radius: 2px;
	background: #fff;
}

/*
 * Compact Google Forms: short fields (text/select) share a row; textareas,
 * choice fieldsets and the submit row span the full width. Scoped to every
 * Google Form via .plcore-form--external — override per form with a more
 * specific selector if a particular field/page must stay full-width.
 */
.pl-flagship .plcore-form--external {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 1.1rem;
	row-gap: 1.1rem;
}
.pl-flagship .plcore-form--external .plcore-field:has(textarea),
.pl-flagship .plcore-form--external .plcore-fieldset,
.pl-flagship .plcore-form--external .plcore-actions {
	grid-column: 1 / -1;
}
@media (max-width: 640px) {
	.pl-flagship .plcore-form--external {
		grid-template-columns: 1fr;
	}
}

.pl-flagship .plcore-choice-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

/* Google Forms "Other" option: a full-width row with a free-text input. */
.pl-flagship .plcore-choice--other {
	grid-column: 1 / -1;
}
.pl-flagship .plcore-choice--other .plcore-other-input {
	flex: 1 1 180px;
	min-width: 140px;
}
.pl-flagship .plcore-choice--other .plcore-other-input:disabled {
	opacity: .5;
}

/* Unify Google Form input/select height with the choice buttons (48px). */
.pl-flagship .pl-external-form .plcore-form :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select),
.pl-flagship .pl-contact-form-section .plcore-form :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select) {
	min-height: 48px;
}

.pl-flagship .plcore-choice-list label {
	display: flex;
	min-height: 48px;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid var(--pl-line);
	background: var(--pl-mist);
	color: var(--pl-ink);
	font-family: var(--pl-display);
	font-size: 13px;
	font-weight: 700;
}

.pl-flagship .plcore-choice-list input,
.pl-flagship .plcore-consent input {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	accent-color: var(--pl-blue);
}

.pl-flagship .pl-contact-form-section .plcore-consent,
.pl-flagship .pl-external-form .plcore-consent {
	margin: 0;
	padding: 16px;
	border: 1px solid #c7d8e2;
	border-radius: 2px;
	background: #fff;
}

.pl-flagship .pl-contact-form-section .plcore-btn,
.pl-flagship .pl-external-form .plcore-btn {
	min-height: 48px;
	padding-inline: 22px;
	border: 0;
	border-radius: 2px;
	background: var(--pl-blue);
	color: #fff;
	font-family: var(--pl-display);
	font-size: 13px;
	font-weight: 850;
}

.pl-flagship .pl-external-form .plcore-actions {
	justify-content: flex-end;
}

/* Consent checkbox + submit button on the same line. */
.pl-flagship .plcore-form .plcore-actions {
	display: flex;
	align-items: center;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 16px;
}
.pl-flagship .plcore-form .plcore-actions .plcore-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0 auto 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 12px;
	line-height: 1.4;
	color: var(--pl-ink-soft);
}
.pl-flagship .plcore-form .plcore-actions .plcore-consent__text {
	flex: 1 1 auto;
	min-width: 0;
}
.pl-flagship .plcore-form .plcore-actions .plcore-consent input {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}
.pl-flagship .plcore-form .plcore-actions .plcore-btn {
	flex: 0 0 auto;
	align-self: flex-end;
}
.pl-flagship .plcore-form .plcore-actions .plcore-btn.is-consent-pending {
	opacity: .5;
	cursor: not-allowed;
}

@media (max-width: 640px) {
	.pl-flagship .plcore-form .plcore-actions {
		align-items: flex-start;
		flex-direction: column;
	}
}

.pl-flagship .contact-membership {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr);
	gap: 0;
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 48px;
	background: var(--pl-blue-deep);
	color: #fff;
}

.pl-flagship .autarcas-team-cta {
	padding-block: 64px;
	background: var(--pl-mist);
}

.pl-flagship .autarcas-team-cta .container {
	max-width: 1160px;
}

.pl-flagship .contact-membership > div:last-child {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.pl-flagship .contact-membership--compact {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
}

.pl-flagship .contact-membership--compact > div:last-child {
	justify-content: flex-end;
}

.pl-flagship .contact-membership h2 {
	margin: 10px 0 0;
	font-size: 34px;
	line-height: 1.05;
}

.pl-flagship .contact-membership p {
	max-width: 520px;
	margin: 0;
	color: rgba(255, 255, 255, .76);
	font-size: 16px;
}

.pl-flagship .pl-google-form-fallback {
	padding: 32px;
	border-top: 3px solid var(--pl-red);
	background: var(--pl-mist);
}

.pl-flagship .pl-people-section__layout {
	display: grid;
	min-width: 0;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.pl-flagship .pl-people-section__layout > .section__head {
  margin: 0;
  min-width: 0;
}

@media (min-width: 921px) {
  .pl-flagship .pl-people-section__layout > .section__head {
    position: sticky;
    top: 112px;
  }
}

.pl-flagship .pl-people-section__layout .autarca-grid,
.pl-flagship .pl-people-section__layout .autarca-grid--people {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(178px, 210px));
	align-items: stretch;
	justify-content: start;
	margin-inline: 0;
	gap: 24px 20px;
}

.pl-flagship .pl-people-section__layout .autarca-grid__item {
	display: flex;
	min-width: 0;
}

.pl-flagship .pl-people-section__layout .section__title {
  overflow-wrap: normal;
  font-size: 36px;
  hyphens: none;
  word-break: normal;
}

/* Keep logged-in anchors below the header shifted by the responsive admin bar. */
.pl-flagship .people-section .section__kicker[id] {
	scroll-margin-top: var(--pl-admin-bar-offset);
}

.pl-flagship .pl-people-section__layout .person-card--list {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
	background: transparent;
	color: inherit;
	text-align: left;
	text-decoration: none;
}

.pl-flagship .pl-people-section__layout .person-card--list::before {
  display: none;
}

.pl-flagship .pl-people-section__layout .person-card__photo-wrap {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--pl-mist);
}

.pl-flagship .pl-people-section__layout .person-card__photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 0;
  object-fit: cover;
  transition: transform .7s var(--pl-ease);
}

.pl-flagship .pl-people-section__layout .person-card:hover .person-card__photo {
  transform: scale(1.025);
}

.pl-flagship .pl-people-section__layout .person-card__info {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	padding: 18px 10px 10px;
  text-align: left;
}

.pl-flagship .pl-people-section__layout .person-card__name {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.12;
}

.pl-flagship .pl-people-section__layout .person-card__role,
.pl-flagship .pl-people-section__layout .person-card__group {
  color: var(--pl-ink-soft);
  font-size: 12px;
  line-height: 1.35;
}

.pl-flagship .pl-people-section__layout .person-card__group {
  display: none;
}

.pl-flagship .pl-people-section__layout .person-card__bio,
.pl-flagship .pl-people-section__layout .person-card__note {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 10px;
  color: #60798c;
  font-family: var(--pl-editorial);
  font-size: 13px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.pl-flagship .pl-people-section__layout .person-card__action {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding: 13px 0 3px;
	border-top: 1px solid var(--pl-line);
	border-radius: 0;
	background: transparent;
	color: var(--pl-blue);
	font-size: 12px;
	font-weight: 800;
}

.pl-flagship .pl-people-section__layout .person-card:hover .person-card__action {
	color: var(--pl-red);
}

.pl-flagship .autarcas-overview {
	padding-block: 24px;
	border-bottom: 0;
}

.pl-flagship .autarcas-overview + .people-section {
	border-top: 0;
	padding-top: 48px;
}

.pl-flagship .autarcas-overview .filter-bar {
	margin-bottom: 0;
	border-bottom: 0;
}

.pl-flagship .overview-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 26px;
	border-top: 0;
	border-bottom: 0;
}

.pl-flagship .overview-card {
  padding: 22px 24px;
  border: 0;
  border-right: 1px solid var(--pl-line);
  border-radius: 0;
  background: transparent;
}

.pl-flagship .autarcas-overview .overview-card:hover {
	text-decoration: none;
}

.pl-flagship .overview-card:last-child {
  border-right: 0;
}

.pl-flagship .overview-card__number {
  color: var(--pl-blue);
  font-size: 36px;
  font-weight: 900;
}

.pl-flagship .overview-card__label {
  color: var(--pl-ink-soft);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.pl-flagship .pl-freguesia-section__head {
	max-width: 820px;
	margin: 0 0 32px;
}

.pl-flagship .people-section--freguesias {
	padding-bottom: 42px;
}

.pl-flagship .freguesia-directory {
	border-top: 0;
}

.pl-flagship .freguesia-panel {
	display: grid;
	grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
	gap: 64px;
	align-items: start;
	padding-block: 50px;
	border-bottom: 1px solid var(--pl-line);
}

.pl-flagship .freguesia-panel:last-child {
	border-bottom: 0;
}

.pl-flagship .freguesia-panel:first-child {
	padding-top: 0;
}

.pl-flagship .freguesia-panel:last-child {
	padding-bottom: 0;
}

.pl-flagship .freguesia-panel__head {
	display: block;
}

.pl-flagship .freguesia-panel__jurisdiction {
	max-width: 230px;
	margin: 0;
	color: var(--pl-cyan-text);
	font-family: var(--pl-display);
	font-size: 12px;
	font-weight: 650;
	line-height: 1.4;
}

.pl-flagship .freguesia-panel__title {
	margin: 9px 0 0;
	color: var(--pl-ink);
	font-size: 29px;
	line-height: 1.06;
	text-wrap: balance;
}

.pl-flagship .freguesia-panel__body {
	display: block;
	min-width: 0;
}

.pl-flagship .freguesia-panel__group {
	min-width: 0;
}

.pl-flagship .freguesia-panel__group--pending:nth-child(3) {
	grid-column: 1 / -1;
}

.pl-flagship .freguesia-panel .freguesia-col__title {
	margin: 0 0 18px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--pl-cyan);
	color: var(--pl-blue);
	font-size: 10px;
	font-weight: 850;
	text-transform: uppercase;
}

.pl-flagship .freguesia-panel__people {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(178px, 210px));
	gap: 24px 20px;
	align-items: stretch;
	justify-content: start;
}

.pl-flagship .freguesia-panel .autarca-grid__item {
	display: flex;
	align-self: stretch;
	min-width: 0;
}

.pl-flagship .freguesia-panel .person-card--list {
	display: flex;
	width: 100%;
	min-height: 100%;
	flex-direction: column;
	gap: 0;
	overflow: visible;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	text-align: left;
	text-decoration: none;
}

.pl-flagship .freguesia-panel .person-card--list::before {
	display: none;
}

.pl-flagship .freguesia-panel .person-card__photo-wrap {
	width: 100%;
	height: auto;
	margin: 0;
	overflow: hidden;
	border-radius: 2px;
	aspect-ratio: 4 / 5;
	background: var(--pl-mist);
}

.pl-flagship .freguesia-panel .person-card__photo {
	width: 100%;
	height: 100%;
	border-radius: 0;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform .65s var(--pl-ease);
}

.pl-flagship .freguesia-panel .person-card:hover .person-card__photo {
	transform: scale(1.025);
}

.pl-flagship .freguesia-panel .person-card__info {
	display: flex;
	min-width: 0;
	min-height: 164px;
	flex: 1;
	flex-direction: column;
	padding: 18px 10px 10px;
}

.pl-flagship .freguesia-panel .person-card__name {
	margin: 0 0 5px;
	font-size: 16px;
	line-height: 1.12;
}

.pl-flagship .freguesia-panel .person-card__role {
	margin: 0;
	color: var(--pl-ink-soft);
	font-size: 12px;
	line-height: 1.35;
}

.pl-flagship .freguesia-panel .person-card__group {
	display: none;
}

.pl-flagship .freguesia-panel .person-card__bio,
.pl-flagship .freguesia-panel .person-card__note {
	display: -webkit-box;
	overflow: hidden;
	margin: 10px 0 0;
	color: #60798c;
	font-family: var(--pl-editorial);
	font-size: 13px;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.pl-flagship .freguesia-panel .person-card__action {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding: 13px 0 3px;
	border-top: 1px solid var(--pl-line);
	background: transparent;
	color: var(--pl-blue);
	font-size: 12px;
	font-weight: 800;
}

.pl-flagship .freguesia-panel .person-card--placeholder {
	pointer-events: none;
}

.pl-flagship .freguesia-panel .person-card__photo--ph::after {
	display: none;
}

.pl-flagship .freguesia-panel .person-card__photo--ph {
	background: var(--pl-mist);
}

.pl-flagship .freguesia-panel__empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 28px;
	border-left: 3px solid var(--pl-cyan);
	background: var(--pl-mist);
	color: var(--pl-ink-soft);
	font-family: var(--pl-editorial);
	font-size: 16px;
	line-height: 1.55;
}

.pl-flagship .iniciativas-filters {
	padding: 28px;
  border: 0;
  border-top: 3px solid var(--pl-cyan);
  border-radius: 0;
  background: var(--pl-mist);
  box-shadow: none;
}

.pl-flagship .iniciativas-filters__primary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: end;
	padding-bottom: 24px;
	border-bottom: 1px solid #c9dae4;
}

.pl-flagship .iniciativas-filters__advanced {
	padding-top: 24px;
}

.pl-flagship .iniciativas-filters__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px 14px;
}

.pl-flagship .iniciativas-filters__field {
	display: grid;
	min-width: 0;
	gap: 7px;
}

.pl-flagship .iniciativas-filters__field > span:first-child,
.pl-flagship .iniciativas-filters__field > label,
.pl-flagship .iniciativas-filters__field > legend {
	color: var(--pl-ink);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .01em;
	text-transform: uppercase;
}

.pl-flagship .iniciativas-filters__field--date-range {
	margin: 0;
	padding: 0;
	border: 0;
}

.pl-flagship .iniciativas-filters__field--date-range > legend {
	margin: 0 0 7px;
	padding: 0;
}

.pl-flagship .iniciativas-filters__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pl-flagship .iniciativas-filters__actions .btn {
	height: 48px;
	min-height: 48px;
	box-sizing: border-box;
	align-items: center;
}

.pl-flagship .iniciativas-filters__search,
.pl-flagship .iniciativas-filters__select,
.pl-flagship .iniciativas-date-control__display {
	width: 100%;
	min-width: 0;
	height: 48px;
	min-height: 48px;
	box-sizing: border-box;
	padding-inline: 13px;
  border: 1px solid #c9dae4;
  border-radius: 2px;
  background: #fff;
	color: var(--pl-ink);
	font-family: var(--pl-display);
	font-size: 13px;
}

.pl-flagship .iniciativas-date-control {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 48px;
}

.pl-flagship .iniciativas-date-range {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
	min-width: 0;
	height: 48px;
	border: 1px solid #c9dae4;
	border-radius: 2px;
	background: #fff;
	transition: border-color .16s ease, box-shadow .16s ease;
}

.pl-flagship .iniciativas-date-range:focus-within {
	border-color: var(--pl-cyan-text);
	box-shadow: 0 0 0 3px rgba(0, 174, 239, .14);
}

.pl-flagship .iniciativas-date-range__segment {
	grid-template-columns: auto minmax(0, 1fr) 38px;
	align-items: center;
	min-width: 0;
}

.pl-flagship .iniciativas-date-range__segment > label {
	padding-left: 10px;
	color: #526b7d;
	font-family: var(--pl-display);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.pl-flagship .iniciativas-date-range__divider {
	align-self: stretch;
	background: #dbe7ed;
}

.pl-flagship .iniciativas-date-range .iniciativas-date-control__display {
	height: 46px;
	min-height: 46px;
	padding: 0 4px 0 7px;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-size: 12px;
	letter-spacing: .01em;
}

.pl-flagship .iniciativas-date-range .iniciativas-date-control__display:focus {
	box-shadow: none;
}

.pl-flagship .iniciativas-date-range .iniciativas-date-control__display::placeholder {
	color: #708797;
	opacity: 1;
}

.pl-flagship .iniciativas-date-control__button {
	width: 38px;
	height: 46px;
	color: var(--pl-navy);
}

.pl-flagship .iniciativas-date-control__button:hover {
	background: rgba(0, 174, 239, .1);
	color: var(--pl-cyan-text);
}

.pl-flagship .iniciativas-date-control__button:focus-visible {
	box-shadow: inset 0 0 0 2px var(--pl-cyan-text);
	outline: 0;
}

.pl-flagship .iniciativas-filters__search,
.pl-flagship .iniciativas-filters__select {
	width: 100%;
	min-width: 0;
	padding-inline: 13px;
	color: var(--pl-ink);
	font-family: var(--pl-display);
	font-size: 13px;
}

.pl-flagship .iniciativas-filters :where(input, select):focus {
	border-color: var(--pl-cyan-text);
	box-shadow: 0 0 0 3px rgba(0, 174, 239, .14);
	outline: 0;
}

.pl-flagship .section--iniciativas-filters {
	padding-top: 28px;
	padding-bottom: 24px;
}

.pl-flagship .section--iniciativas-results {
	padding-top: 24px;
}

.pl-flagship .pl-iniciativas-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: none;
  border-top: 1px solid #bdcdd7;
}

.pl-flagship .pl-iniciativas-list .iniciativa-card {
  border: 0;
  border-bottom: 1px solid #bdcdd7;
  border-radius: 0;
  background: transparent;
}

.pl-flagship .pl-iniciativas-list .iniciativa-card:hover {
  border-color: #bdcdd7;
  box-shadow: none;
  transform: none;
}

.pl-flagship .pl-iniciativas-list .iniciativa-card__link {
  display: grid;
  grid-template-columns: minmax(150px, .6fr) minmax(280px, 1.6fr) minmax(170px, .7fr);
  grid-template-rows: auto auto;
  gap: 10px 30px;
  min-height: 0;
  align-items: start;
  padding: 28px 4px;
  transition: padding-left .3s var(--pl-ease), color .25s ease;
}

.pl-flagship .pl-iniciativas-list .iniciativa-card__link:hover {
  padding-left: 14px;
}

.pl-flagship .pl-iniciativas-list .iniciativa-card__tags {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
}

.pl-flagship .pl-iniciativas-list .iniciativa-card__title {
  grid-column: 2;
  margin: 0;
  color: var(--pl-ink);
  font-size: 22px;
  line-height: 1.12;
}

.pl-flagship .pl-iniciativas-list .iniciativa-card__meta {
  grid-column: 3;
  grid-row: 1 / span 2;
  margin: 0;
}

.pl-flagship .pl-iniciativas-list .iniciativa-card__autores {
  grid-column: 2;
  margin: 0;
  color: #60798c;
	font-family: var(--pl-editorial);
}

.pl-flagship .pl-iniciativas-list .iniciativa-card__autores--institutional {
	color: var(--pl-blue);
	font-family: var(--pl-display);
	font-size: 12px;
	font-weight: 800;
}

.pl-flagship .entry--iniciativa .hero--iniciativa .entry-header {
	margin-inline: auto;
	padding-inline: var(--pl-gutter);
	text-align: left;
}

.pl-flagship .entry--article .hero .entry-header,
.pl-flagship .entry--artigo .hero .entry-header {
	margin-inline: auto;
	text-align: left;
}

.pl-flagship .entry--article .entry-deck {
	max-width: 880px;
	margin: 22px 0 0;
	color: rgba(255, 255, 255, .76);
	font-family: var(--pl-editorial);
	font-size: 20px;
	line-height: 1.55;
}

.pl-flagship .entry--article .entry-meta--article {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 18px 34px;
	margin: 30px 0 0;
	color: #fff;
	text-align: left;
}

.pl-flagship .entry--article .entry-meta--article > :where(span, time) {
	display: grid;
	gap: 4px;
	min-width: 130px;
	padding-left: 14px;
	border-left: 2px solid var(--pl-cyan);
	font-family: var(--pl-display);
	font-size: 13px;
	font-weight: 750;
	line-height: 1.25;
}

.pl-flagship .entry--article .entry-meta--article small {
	color: rgba(255, 255, 255, .58);
	font-size: 9px;
	font-weight: 800;
	text-transform: uppercase;
}

.pl-flagship .hero--iniciativa .entry-meta,
.pl-flagship .hero--iniciativa .entry-meta__autores {
  justify-content: flex-start;
  color: rgba(255, 255, 255, .72);
}

.pl-flagship .hero--iniciativa .entry-meta__autores a {
  color: #fff;
  text-underline-offset: 4px;
}

.pl-flagship .hero--iniciativa .entry-meta__autores--institutional {
	color: #fff;
	font-family: var(--pl-display);
	font-size: 13px;
	letter-spacing: .01em;
}

.pl-flagship .hero--iniciativa .entry-tags {
  justify-content: flex-start;
}

.pl-flagship .hero--iniciativa .badge--tipo {
  background: var(--pl-cyan);
  color: var(--pl-ink);
}

.pl-flagship .hero--iniciativa .badge--estado,
.pl-flagship .hero--iniciativa .badge--tema {
  border: 1px solid rgba(255, 255, 255, .38);
  background: transparent;
  color: #fff;
}

.pl-flagship .entry--iniciativa > .entry-content,
.pl-flagship .entry--article > .entry-content,
.pl-flagship .entry--artigo > .entry-content {
  padding-block: 76px 90px;
  color: var(--pl-ink-soft);
  font-family: var(--pl-editorial);
  font-size: 19px;
  line-height: 1.7;
}

.pl-flagship .entry--iniciativa > .entry-content,
.pl-flagship .entry--article > .entry-content,
.pl-flagship .entry--artigo > .entry-content {
	max-width: none;
}

.pl-flagship .entry--iniciativa > .entry-content > :where(p, h2, h3, h4, ul, ol, blockquote, table),
.pl-flagship .entry--article > .entry-content > :where(p, h2, h3, h4, ul, ol, blockquote, table, .article-utility, .post-nav),
.pl-flagship .entry--artigo > .entry-content > :where(p, h2, h3, h4, ul, ol, blockquote, table, .artigo-cta) {
	max-width: 1080px;
}

.pl-flagship .entry--article .entry-featured,
.pl-flagship .entry--artigo .entry-featured {
	max-width: 760px;
	margin: 0 0 58px;
  background: var(--pl-mist);
}

.pl-flagship .entry--article .entry-featured img,
.pl-flagship .entry--artigo .entry-featured img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  object-fit: contain;
}

.pl-flagship .entry--article .article-utility {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
	margin-top: 68px;
	border-top: 1px solid var(--pl-line);
	border-bottom: 1px solid var(--pl-line);
}

.pl-flagship .entry--article .post-share {
	display: block;
	max-width: none;
	margin: 0;
	padding: 30px 32px 30px 0;
	border-right: 1px solid var(--pl-line);
}

.pl-flagship .entry--article .article-utility__label,
.pl-flagship .entry--article .entry-footer :where(.entry-cats, .entry-tags) > span {
	display: block;
	margin: 0 0 15px;
	color: var(--pl-ink-soft);
	font-family: var(--pl-display);
	font-size: 9px;
	font-weight: 850;
	text-transform: uppercase;
}

.pl-flagship .entry--article .post-share__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
}

.pl-flagship .entry--article .post-share a {
	padding: 0 0 3px;
  border-radius: 0;
  background: transparent;
  color: var(--pl-blue);
  font-family: var(--pl-display);
  font-size: 12px;
  font-weight: 750;
	box-shadow: inset 0 -2px 0 var(--pl-cyan);
}

.pl-flagship .entry--article .entry-footer {
	max-width: none;
	margin: 0;
	padding: 30px 0 30px 32px;
	border: 0;
	color: var(--pl-ink-soft);
	font-size: 13px;
}

.pl-flagship .entry--article .entry-footer p {
	margin: 0;
}

.pl-flagship .entry--article .entry-footer p + p {
	margin-top: 18px;
}

.pl-flagship .entry--article .entry-footer a {
	color: var(--pl-blue);
	font-family: var(--pl-display);
	font-weight: 750;
	text-decoration-color: var(--pl-cyan);
	text-underline-offset: 4px;
}

.pl-flagship .entry--article .post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 24px 0 0;
}

.pl-flagship .entry--article .post-nav__item {
	display: grid;
	min-height: 132px;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	padding: 26px;
	border: 1px solid var(--pl-line);
	border-top: 3px solid var(--pl-cyan);
	border-radius: 2px;
	background: var(--pl-mist);
	color: var(--pl-ink);
	text-decoration: none;
	transition: border-color .25s ease, transform .3s var(--pl-ease);
}

.pl-flagship .entry--article .post-nav__item:hover {
	border-color: #9dc8dc;
	text-decoration: none;
	transform: translateY(-2px);
}

.pl-flagship .entry--article .post-nav__item span {
	display: grid;
	gap: 8px;
}

.pl-flagship .entry--article .post-nav__item small {
	color: var(--pl-cyan-text);
	font-size: 9px;
	font-weight: 850;
	text-transform: uppercase;
}

.pl-flagship .entry--article .post-nav__item strong {
	display: -webkit-box;
	overflow: hidden;
	font-family: var(--pl-display);
	font-size: 17px;
	line-height: 1.25;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* ---------- Autarquia item navigation ---------- */

.pl-flagship .iniciativa-back {
	padding-top: 28px;
}

.pl-flagship .iniciativa-back .pl-text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--pl-blue);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.pl-flagship .iniciativa-back .pl-text-link:hover {
	color: var(--pl-red);
}

.pl-flagship .entry--iniciativa > .entry-content {
	padding-top: 48px;
}

.pl-flagship .iniciativa-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	padding-top: 0;
	padding-bottom: 84px;
}

.pl-flagship .iniciativa-nav__item {
	display: grid;
	min-height: 116px;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	padding: 24px;
	border: 1px solid var(--pl-line);
	border-top: 3px solid var(--pl-cyan);
	border-radius: 2px;
	background: var(--pl-mist);
	color: var(--pl-ink);
	text-decoration: none;
	transition: border-color .25s ease, transform .3s var(--pl-ease);
}

.pl-flagship .iniciativa-nav__item--next {
	grid-template-columns: minmax(0, 1fr) 18px;
	text-align: right;
}

.pl-flagship .iniciativa-nav__item:hover {
	border-color: #9dc8dc;
	transform: translateY(-2px);
}

.pl-flagship .iniciativa-nav__item > span {
	display: grid;
	gap: 8px;
	min-width: 0;
}

.pl-flagship .iniciativa-nav__item small {
	color: var(--pl-cyan-text);
	font-size: 9px;
	font-weight: 850;
	text-transform: uppercase;
}

.pl-flagship .iniciativa-nav__item strong {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 14px;
	line-height: 1.3;
}

/* Article prose and utility blocks share the same readable measure and side rhythm. */
.pl-flagship .entry--article > .entry-content,
.pl-flagship .entry--artigo > .entry-content {
	width: min(100%, calc(var(--pl-max) + var(--pl-gutter) + var(--pl-gutter)));
	max-width: none;
	margin-inline: auto;
}

.pl-flagship .entry--article > .entry-content > :where(p, h2, h3, h4, ul, ol, blockquote, table, .article-utility, .post-nav),
.pl-flagship .entry--artigo > .entry-content > :where(p, h2, h3, h4, ul, ol, blockquote, table, .artigo-cta) {
	margin-inline: auto;
}

/* Keep article utilities on the same outer content line as the site shell. */
.pl-flagship .entry--article > .entry-content > .article-utility,
.pl-flagship .entry--article > .entry-content > .post-nav {
	width: 100%;
	max-width: none;
}

.pl-flagship .entry--article .post-nav__next {
	grid-template-columns: minmax(0, 1fr) 18px;
	grid-column: 2;
	text-align: right;
}

@media (min-width: 921px) {
	.pl-flagship .people-section--equipa .autarca-grid,
	.pl-flagship .people-section--equipa .autarca-grid--people {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.pl-flagship .tribe-common .pl-agenda-subscribe {
	display: inline-flex;
	margin-block: 8px 16px;
	padding-block: 8px 10px;
	line-height: 1.3;
}

.pl-flagship .iniciativa-outcome {
	display: grid;
	grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
	gap: 44px;
	margin-bottom: 72px;
	padding-block: 38px;
	border-top: 4px solid var(--pl-cyan);
	border-bottom: 1px solid var(--pl-line);
}

.pl-flagship .iniciativa-outcome--positive {
	border-top-color: #16a36a;
}

.pl-flagship .iniciativa-outcome--negative {
	border-top-color: var(--pl-red);
}

.pl-flagship .iniciativa-outcome--neutral {
	border-top-color: var(--pl-yellow);
}

.pl-flagship .iniciativa-outcome__summary h2 {
	margin: 9px 0 22px;
	color: var(--pl-ink);
	font-size: 34px;
	line-height: 1.05;
}

.pl-flagship .iniciativa-outcome__status {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	padding: 9px 14px;
	border: 1px solid var(--pl-line);
	background: var(--pl-mist);
	color: var(--pl-blue);
	font-size: 12px;
	font-weight: 850;
	text-transform: uppercase;
}

.pl-flagship .iniciativa-outcome--positive .iniciativa-outcome__status {
	border-color: rgba(22, 163, 106, .35);
	background: #eef9f4;
	color: #08774a;
}

.pl-flagship .iniciativa-outcome--negative .iniciativa-outcome__status {
	border-color: rgba(237, 28, 36, .3);
	background: #fff2f2;
	color: #b5151b;
}

.pl-flagship .iniciativa-vote-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.pl-flagship .iniciativa-vote {
	min-width: 0;
	padding: 22px;
	border: 1px solid var(--pl-line);
	border-top: 3px solid var(--pl-cyan);
	background: #fff;
}

.pl-flagship .iniciativa-vote--favor {
	border-top-color: #16a36a;
}

.pl-flagship .iniciativa-vote--contra {
	border-top-color: var(--pl-red);
}

.pl-flagship .iniciativa-vote--abstencao {
	border-top-color: var(--pl-yellow);
}

.pl-flagship .iniciativa-vote span {
	color: var(--pl-ink-soft);
	font-size: 10px;
	font-weight: 850;
	text-transform: uppercase;
}

.pl-flagship .iniciativa-vote p {
	margin: 12px 0 0;
	color: var(--pl-ink);
	font-family: var(--pl-editorial);
	font-size: 17px;
	line-height: 1.45;
}

.pl-flagship .iniciativa-voto__content {
	padding: 24px;
	border-left: 4px solid var(--pl-yellow);
	background: var(--pl-mist);
	color: var(--pl-ink-soft);
	font-family: var(--pl-editorial);
	font-size: 17px;
	line-height: 1.55;
}

.pl-flagship .iniciativa-vote-notes {
	grid-column: 2;
	margin-top: 16px;
	color: var(--pl-ink-soft);
	font-size: 14px;
}

.pl-flagship .iniciativa-vote-notes summary {
	width: fit-content;
	padding-bottom: 3px;
	border-bottom: 2px solid var(--pl-cyan);
	color: var(--pl-blue);
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
}

.pl-flagship .iniciativa-vote-notes > div {
	margin-top: 14px;
	font-family: var(--pl-editorial);
	line-height: 1.55;
}

.pl-flagship .iniciativa-doc-btn,
.pl-flagship .iniciativa-link-btn {
  border-radius: 3px;
}

.pl-flagship .iniciativa-doc-btn__icon {
  padding: 4px 5px;
  border: 1px solid rgba(255, 255, 255, .5);
  font-size: 10px;
  letter-spacing: .04em;
}

.pl-flagship .equipa-autarcas-section {
  padding-block: 82px;
  border-top: 1px solid var(--pl-line);
  background: #fff;
}

.pl-flagship .equipa-autarcas-box {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 64px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pl-flagship .equipa-autarcas-box__head {
  margin: 0;
  padding: 0;
  border: 0;
}

.pl-flagship .equipa-autarcas-box .autarquia-links-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #bdcdd7;
  border-bottom: 1px solid #bdcdd7;
}

.pl-flagship .equipa-autarcas-box .autarquia-link-card {
  min-height: 190px;
  padding: 28px;
  border: 0;
  border-right: 1px solid #bdcdd7;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pl-flagship .equipa-autarcas-box .autarquia-link-card:last-child {
  border-right: 0;
}

.pl-flagship .equipa-autarcas-box .autarquia-link-card:hover {
  background: rgba(0, 174, 239, .07);
  box-shadow: none;
  transform: none;
}

.pl-flagship .cta-band {
  max-width: none;
  margin: 0;
  padding: 64px 0;
  border-top: 1px solid var(--pl-line);
  border-radius: 0;
  background: #fff;
  color: var(--pl-ink);
  text-align: left;
}

.pl-flagship .cta-band__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 2fr);
  gap: 24px 42px;
  align-items: start;
}

.pl-flagship .cta-band__title {
  margin: 0;
  color: var(--pl-ink);
  font-size: 34px;
}

.pl-flagship .cta-band__text {
	width: 100%;
	max-width: none;
  margin: 0;
  color: var(--pl-ink-soft);
  font-family: var(--pl-editorial);
  font-size: 17px;
  line-height: 1.5;
}

.pl-flagship .cta-band__actions {
	grid-column: 2;
	justify-content: flex-start;
	margin-top: 0;
}

/* ---------- Person profile ---------- */

.pl-flagship .pl-person-profile__layout {
	display: grid;
	grid-template-columns: minmax(240px, 360px) minmax(0, 720px);
	gap: 72px;
	align-items: start;
}

.pl-flagship .pl-person-profile__media {
	position: sticky;
	top: 110px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border-top: 5px solid var(--pl-cyan);
	background: var(--pl-mist);
}

.pl-flagship .pl-person-profile__photo {
	width: 100%;
	height: 100%;
	background: #F4F4F4;
	object-fit: cover;
}

.pl-flagship .pl-person-profile__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	background: var(--pl-mist);
}

.pl-flagship .pl-person-profile__placeholder > span {
	width: 58px;
	height: 58px;
	border: 2px dashed rgba(0, 174, 239, .5);
	border-radius: 50%;
}

.pl-flagship .pl-person-profile__content > h2,
.pl-flagship .pl-person-profile__section h3 {
	margin: 12px 0 26px;
	font-size: 22px;
	line-height: 1.1;
}

.pl-flagship .pl-person-profile__roles {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pl-flagship .pl-person-profile__roles li {
	display: grid;
	grid-template-columns: 12px minmax(0, 1fr);
	gap: 14px;
	align-items: baseline;
	padding-block: 13px;
	border-bottom: 1px solid var(--pl-line);
	color: var(--pl-ink);
	font-size: 16px;
	font-weight: 750;
	line-height: 1.4;
}

.pl-flagship .pl-person-profile__roles li::before {
	width: 8px;
	height: 8px;
	background: var(--pl-cyan);
	content: '';
}

.pl-flagship .pl-person-profile__election {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin: 24px 0 0;
	padding-left: 14px;
	border-left: 3px solid var(--pl-yellow);
	color: var(--pl-ink-soft);
	font-family: var(--pl-editorial);
	font-size: 16px;
}

.pl-flagship .pl-person-profile__election strong {
	color: var(--pl-blue);
	font-family: var(--pl-sans);
}

.pl-flagship .pl-person-profile__meta,
.pl-flagship .pl-person-profile__bio,
.pl-flagship .pl-person-profile__notice {
	color: var(--pl-ink-soft);
	font-family: var(--pl-editorial);
	font-size: 18px;
	line-height: 1.65;
}

.pl-flagship .pl-person-profile__section {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid var(--pl-line);
}

.pl-flagship .pl-person-profile__section h3 {
	margin: 0 0 18px;
}

.pl-flagship .pl-person-profile__section--bio {
	margin-top: 32px;
	padding-top: 0;
	border-top: 0;
}

.pl-flagship .pl-person-profile__section--bio + .pl-person-profile__section {
	margin-top: 48px;
}

.pl-flagship .pl-person-profile__work {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pl-flagship .pl-person-profile__work a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-inline: -12px;
	padding: 14px 12px;
	border-bottom: 1px solid var(--pl-line);
	color: var(--pl-ink);
	font-size: 14px;
	font-weight: 750;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease;
}

.pl-flagship .pl-person-profile__work a:hover,
.pl-flagship .pl-person-profile__work a:focus-visible {
	background: rgba(0, 174, 239, .1);
	color: var(--pl-blue);
}

.pl-flagship .pl-person-profile__work a:hover .pl-link-arrow,
.pl-flagship .pl-person-profile__work a:focus-visible .pl-link-arrow {
	transform: translateX(3px);
}

.pl-flagship .pl-person-profile__back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 4px;
	border-bottom: 2px solid var(--pl-cyan);
	color: var(--pl-blue);
	font-size: 13px;
	font-weight: 800;
}

.pl-flagship .pl-person-profile__back-links {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 28px;
	margin-top: 42px;
}

/* ---------- People modal ---------- */

.pl-flagship .person-modal {
	padding: 24px;
	overscroll-behavior: contain;
}

.pl-flagship .person-modal__backdrop {
	background: rgba(3, 22, 39, .82);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.pl-flagship .person-modal__dialog {
	width: min(900px, 100%);
	max-width: none;
	max-height: min(88vh, 880px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 44px 42px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 32px 90px rgba(0, 0, 0, .34);
}

.pl-flagship .person-modal__close {
	top: 16px;
	right: 16px;
	z-index: 3;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, .42);
	border-radius: 50%;
	background: rgba(3, 29, 53, .88);
	color: #fff;
	font-size: 25px;
	line-height: 1;
}

.pl-flagship .person-modal__close:hover {
	background: var(--pl-cyan);
	color: var(--pl-ink);
}

.pl-flagship .person-modal__header {
	display: grid;
	grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
	gap: 0;
	align-items: stretch;
	margin: 0 -44px 34px;
	background: var(--pl-blue);
}

.pl-flagship .person-modal__photo {
	width: 100%;
	height: 100%;
	min-height: 340px;
	aspect-ratio: 4 / 5;
	border-radius: 0;
	object-fit: cover;
}

.pl-flagship .person-modal__info {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: flex-end;
	padding: 52px 48px 44px;
}

.pl-flagship .person-modal__eyebrow {
	margin: 0 0 14px;
	color: #8be2ff;
	font-size: 11px;
	font-weight: 850;
}

.pl-flagship .person-modal__name {
	margin: 0 0 12px;
	color: #fff;
	font-size: 42px;
	line-height: .98;
}

.pl-flagship .person-modal__role,
.pl-flagship .person-modal__freguesia {
	margin: 0 0 8px;
	color: rgba(255, 255, 255, .76);
	font-family: var(--pl-editorial);
	font-size: 17px;
}

.pl-flagship .person-modal__group {
	width: fit-content;
	margin-top: 10px;
	padding: 5px 8px;
	border: 1px solid rgba(255, 255, 255, .34);
	border-radius: 2px;
	background: transparent;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
}

.pl-flagship .person-modal__section {
	max-width: 720px;
	margin: 0 0 26px;
}

.pl-flagship .person-modal__bio {
	color: var(--pl-ink-soft);
	font-family: var(--pl-editorial);
	font-size: 17px;
	line-height: 1.62;
}

.pl-flagship .person-modal__heading {
	margin: 0 0 12px;
	padding-top: 20px;
	border-top: 1px solid var(--pl-line);
	color: var(--pl-ink);
	font-size: 18px;
}

.pl-flagship .person-modal__permalink {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 4px;
	padding-bottom: 4px;
	border-bottom: 2px solid var(--pl-cyan);
	color: var(--pl-blue);
	font-size: 13px;
	font-weight: 850;
	text-decoration: none;
}

.pl-flagship .person-modal__loading {
	position: relative;
	z-index: 1;
	width: min(420px, 100%);
	padding: 42px;
	border-top: 4px solid var(--pl-cyan);
	background: #fff;
	color: var(--pl-ink);
	font-weight: 750;
}

/* ---------- Agenda integration ---------- */

.pl-flagship.post-type-archive-tribe_events .tribe-events-before-html {
	margin: 0;
}

/* The legacy event stylesheet removes the main offset, which hides the hero eyebrow behind the fixed header.
   Only re-add the header height: WordPress already shifts the whole page down for the admin bar via its own
   `html` margin-top, so adding --pl-admin-bar-offset here again double-counts it and leaves a white gap between
   the fixed header and the hero for logged-in users. */
.pl-flagship.post-type-archive-tribe_events .site-main {
	padding-top: var(--pl-header-height) !important;
}

.pl-flagship.post-type-archive-tribe_events .tribe-common-l-container {
	padding-top: 0 !important;
}

.pl-flagship.post-type-archive-tribe_events .hero--events .hero__copy {
	max-width: 820px;
	margin-top: 12px;
}

.pl-flagship.post-type-archive-tribe_events .tribe-common .hero--events .hero__actions {
	display: flex;
	gap: 14px 28px;
	margin-top: 8px;
}

.pl-flagship.post-type-archive-tribe_events .tribe-common .hero--events .pl-action {
	display: inline-flex;
	width: auto;
	height: auto;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 13px;
	padding: 13px 18px;
	border: 1px solid transparent;
	color: var(--pl-ink);
}

.pl-flagship.post-type-archive-tribe_events .tribe-common .hero--events .pl-action--solid {
	background: var(--pl-cyan);
}

.pl-flagship.post-type-archive-tribe_events .tribe-common .hero--events .pl-action--line {
	border-color: rgba(255, 255, 255, .52);
	background: transparent;
	color: #fff;
}

.pl-flagship .tribe-common .pl-agenda-month {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	scroll-margin-top: 92px;
	padding-block: 82px;
	background: var(--pl-mist);
}

.pl-flagship .tribe-common .pl-agenda-month__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 32px;
}

.pl-agenda-month__head h2,
.pl-agenda-section-head h2 {
	margin: 10px 0 0;
	color: var(--pl-ink);
	font-size: 44px;
	line-height: 1;
}

.pl-flagship .tribe-common .pl-agenda-month__nav {
	display: flex;
	gap: 8px;
}

.pl-flagship .tribe-common .pl-agenda-month__inner {
	width: min(100%, calc(var(--pl-max) + var(--pl-gutter) + var(--pl-gutter)));
	margin-inline: auto;
	padding-inline: var(--pl-gutter);
}

.pl-agenda-month__nav-link {
	position: relative;
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 1px solid #bfd3df;
	background: #fff;
	color: var(--pl-blue);
}

.pl-agenda-month__nav-link:hover {
	border-color: var(--pl-blue);
	background: var(--pl-blue);
	color: #fff;
}

.pl-agenda-month__nav-link span {
	display: block;
	width: 9px;
	height: 9px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}

.pl-agenda-month__nav-link--prev span {
	transform: rotate(-135deg) translate(-1px, -1px);
}

.pl-agenda-month__nav-link--next span {
	transform: rotate(45deg) translate(-1px, 1px);
}

.pl-agenda-month__table-wrap {
	overflow: hidden;
	border: 1px solid #c7d9e3;
	background: #fff;
}

.pl-agenda-month__table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}

.pl-agenda-month__table th {
	height: 42px;
	padding: 8px;
	border-right: 1px solid #d7e4eb;
	background: #eef5f8;
	color: var(--pl-ink-soft);
	font-size: 10px;
	font-weight: 850;
	text-align: left;
	text-transform: uppercase;
}

.pl-agenda-month__table th:last-child,
.pl-agenda-month__table td:last-child {
	border-right: 0;
}

.pl-agenda-month__table td {
	position: relative;
	height: 124px;
	vertical-align: top;
	padding: 10px;
	border-top: 1px solid #d7e4eb;
	border-right: 1px solid #d7e4eb;
	background: #fff;
}

.pl-agenda-month__table td.is-empty {
	background: #f7fafb;
}

.pl-agenda-month__table time {
	display: grid;
	width: 26px;
	height: 26px;
	place-items: center;
	color: var(--pl-ink);
	font-size: 12px;
	font-weight: 800;
}

.pl-agenda-month__table .is-today time {
	border-radius: 50%;
	background: var(--pl-red);
	color: #fff;
}

.pl-agenda-month__events {
	display: grid;
	gap: 5px;
	margin: 7px 0 0;
	padding: 0;
	list-style: none;
}

.pl-agenda-month__events a {
	display: grid;
	grid-template-columns: 7px minmax(0, 1fr);
	gap: 7px;
	align-items: start;
	color: var(--pl-blue);
	font-size: 10px;
	line-height: 1.25;
	text-decoration: none;
}

.pl-agenda-month__events a > span {
	width: 7px;
	height: 7px;
	margin-top: 2px;
	border-radius: 50%;
	background: var(--pl-cyan);
}

.pl-agenda-month__events b {
	display: -webkit-box;
	overflow: hidden;
	font-weight: 750;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.pl-agenda-month__empty {
	clear: both;
	margin: 0;
	padding: 20px 24px;
	border-left: 3px solid var(--pl-cyan);
	background: var(--pl-mist);
	color: var(--pl-ink);
	font-family: var(--pl-display);
	font-size: 19px;
	font-weight: 750;
	line-height: 1.45;
}

.pl-agenda-month__table-wrap + .pl-agenda-month__empty {
	margin-top: 56px;
}

.pl-flagship .tribe-common .pl-agenda-upcoming,
.pl-flagship .tribe-common .pl-agenda-past {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding-block: 88px;
}

.pl-flagship .tribe-common .pl-agenda-upcoming {
	background: #fff;
}

.pl-flagship .tribe-common .pl-agenda-past {
	background:
		linear-gradient(138deg, transparent 0 58%, rgba(255, 255, 255, .035) 58% 76%, transparent 76%),
		#031d35;
	color: #fff;
}

.pl-flagship .tribe-common .pl-agenda-section__inner {
	width: min(100%, calc(var(--pl-max) + var(--pl-gutter) + var(--pl-gutter)));
	margin-inline: auto;
	padding-inline: var(--pl-gutter);
}

.pl-agenda-section-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 32px;
	align-items: end;
	margin-bottom: 38px;
}

.pl-agenda-section-head h2 {
	font-size: 48px;
}

.pl-agenda-section-head--past {
	grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
}

.pl-agenda-section-head--past h2 {
	color: #fff;
}

.pl-agenda-section-head--past > p {
	margin: 0;
	color: rgba(255, 255, 255, .66);
	font-family: var(--pl-editorial);
	font-size: 17px;
	line-height: 1.55;
}

.pl-agenda-event-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.pl-flagship .tribe-common .pl-agenda-event-card {
	position: relative;
	display: grid;
	min-width: 0;
	min-height: 250px;
	grid-template-columns: 76px minmax(0, 1fr) 22px;
	gap: 24px;
	align-items: start;
	padding: 34px;
	border: 1px solid #c9dbe5;
	border-top: 3px solid var(--pl-cyan);
	border-radius: 3px;
	background: #fff;
	color: var(--pl-ink);
	text-decoration: none;
	transition: border-color .25s ease, box-shadow .35s ease, transform .35s var(--pl-ease);
}

.pl-agenda-event-card:hover {
	border-color: #9dc8dc;
	box-shadow: 0 18px 44px rgba(3, 43, 77, .1);
	text-decoration: none;
	transform: translateY(-3px);
}

.pl-agenda-event-card__date {
	display: grid;
	min-height: 92px;
	place-items: center;
	align-content: center;
	padding: 10px 6px;
	border: 1px solid #c9dbe5;
	background: var(--pl-mist);
	color: var(--pl-blue);
	font-style: normal;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.pl-agenda-event-card__date strong {
	font-size: 30px;
	line-height: 1;
}

.pl-agenda-event-card__date span,
.pl-agenda-event-card__date small {
	font-size: 10px;
	font-weight: 850;
}

.pl-agenda-event-card__body {
	min-width: 0;
}

.pl-agenda-upcoming .pl-agenda-event-card__state {
	margin: 2px 0 12px;
	color: var(--pl-cyan-text);
	font-size: 10px;
	font-weight: 850;
	text-transform: uppercase;
}

.pl-agenda-event-card__body h3 {
	margin: 0;
	color: var(--pl-ink);
	font-size: 25px;
	line-height: 1.08;
	text-wrap: balance;
}

.pl-agenda-upcoming .pl-agenda-event-card__meta {
	margin: 12px 0 0;
	color: var(--pl-blue);
	font-size: 12px;
	font-weight: 750;
	line-height: 1.45;
}

.pl-agenda-upcoming .pl-agenda-event-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	margin: 15px 0 0;
	color: var(--pl-ink-soft);
	font-family: var(--pl-editorial);
	font-size: 15px;
	line-height: 1.52;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.pl-agenda-event-card__arrow {
	margin-top: 8px;
}

.pl-agenda-past-list {
	border-top: 1px solid rgba(255, 255, 255, .2);
}

.pl-flagship .tribe-common .pl-agenda-past .pl-agenda-event-card {
	min-height: 0;
	grid-template-columns: 68px minmax(0, 1fr) 22px;
	padding: 34px 10px;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .2);
	border-radius: 0;
	background: transparent;
	color: #fff;
	box-shadow: none;
}

.pl-agenda-past .pl-agenda-event-card:hover {
	border-color: rgba(255, 255, 255, .34);
	box-shadow: none;
	transform: translateX(6px);
}

.pl-agenda-past .pl-agenda-event-card__date {
	min-height: 78px;
	border-color: rgba(255, 255, 255, .22);
	background: rgba(255, 255, 255, .05);
	color: #fff;
}

.pl-agenda-past .pl-agenda-event-card__state,
.pl-agenda-past .pl-agenda-event-card__meta {
	color: var(--pl-cyan);
}

.pl-agenda-past .pl-agenda-event-card__body h3 {
	color: #fff;
}

.pl-agenda-past .pl-agenda-event-card__excerpt {
	max-width: 760px;
	color: rgba(255, 255, 255, .64);
}

.pl-agenda-past .pl-link-arrow {
	color: #fff;
}

.pl-flagship .tribe-common .pl-agenda-past .pl-agenda-past__more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 30px;
	border-bottom-color: var(--pl-cyan);
	color: #fff !important;
}

.pl-flagship .tribe-common .pl-agenda-past .pl-agenda-past__more:hover {
	color: var(--pl-cyan) !important;
}

.pl-agenda-empty {
	padding: 40px;
	border-left: 4px solid var(--pl-cyan);
	background: transparent;
}

.pl-agenda-upcoming .pl-agenda-empty {
	background: transparent;
}

.pl-agenda-empty h3 {
	margin: 0 0 10px;
	color: var(--pl-ink);
	font-size: 28px;
}

.pl-agenda-empty p {
	max-width: 720px;
	margin: 0;
	color: var(--pl-ink-soft);
	font-family: var(--pl-editorial);
	font-size: 16px;
	line-height: 1.55;
}

.pl-agenda-empty--past {
	border-left-color: var(--pl-red);
	background: rgba(255, 255, 255, .06);
}

.pl-agenda-empty--past h3 {
	color: #fff;
}

.pl-agenda-empty--past p {
	color: rgba(255, 255, 255, .65);
}

.pl-flagship.post-type-archive-tribe_events .tribe-events .tribe-events-l-container {
  width: min(100%, calc(var(--pl-max) + var(--pl-gutter) + var(--pl-gutter)));
  max-width: none !important;
	padding-top: 0 !important;
	padding-inline: var(--pl-gutter) !important;
	padding-bottom: 0 !important;
}

.pl-flagship.post-type-archive-tribe_events .tribe-events-calendar-list,
.pl-flagship.post-type-archive-tribe_events .tribe-events-view--latest-past,
.pl-flagship.post-type-archive-tribe_events .tribe-events-calendar-latest-past,
.pl-flagship.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__container,
.pl-flagship.post-type-archive-tribe_events .tribe-events-c-nav {
	display: none !important;
}

.pl-flagship.post-type-archive-tribe_events .tribe-events-calendar-list__event-featured-image[src*="/event-placeholders/placeholder_"] {
	opacity: 0;
}

.pl-flagship.post-type-archive-tribe_events .tribe-events-calendar-list__event-featured-image-wrapper:has(img[src*="/event-placeholders/placeholder_"]) {
	background: var(--pl-mist);
}

.pl-flagship.post-type-archive-tribe_events .tribe-events-header,
.pl-flagship.post-type-archive-tribe_events .tribe-events-c-nav {
	display: none !important;
}

.pl-flagship.post-type-archive-tribe_events .tribe-events-calendar-list__month-separator {
  margin-block: 38px 20px;
}

.pl-flagship.post-type-archive-tribe_events .tribe-events-calendar-list__event-row {
  margin: 0 0 24px !important;
}

.pl-flagship.post-type-archive-tribe_events .tribe-events-calendar-list__event-wrapper {
  padding-left: 14px !important;
}

.pl-flagship.post-type-archive-tribe_events .tribe-events-calendar-list__event {
	padding: 0 0 24px !important;
	border: 0;
	border-bottom: 1px solid #bdcdd7;
	border-radius: 0;
	background: #fff;
}

.pl-flagship.post-type-archive-tribe_events .tribe-events-calendar-list__event-featured-image-wrapper {
  width: 34% !important;
  max-width: 300px !important;
  padding-right: 20px !important;
}

.pl-flagship.post-type-archive-tribe_events .tribe-events-calendar-list__event-featured-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
	border-radius: 0;
	transition: transform .6s var(--pl-ease);
}

.pl-flagship.post-type-archive-tribe_events .tribe-events-calendar-list__event:hover .tribe-events-calendar-list__event-featured-image {
	transform: scale(1.02);
}

.pl-flagship.post-type-archive-tribe_events .tribe-events-calendar-list__event-details {
  width: auto !important;
  flex: 1;
}

.pl-flagship.post-type-archive-tribe_events .tribe-events-calendar-list__event-title {
	font-size: 28px;
	line-height: 1.1;
}

/* ---------- Event detail ---------- */

.pl-flagship.single-tribe_events #tribe-events-pg-template {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.pl-flagship.single-tribe_events .site-main {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.pl-flagship.single-tribe_events #tribe-events-content.pl-event-single {
	width: 100vw;
	max-width: none;
	margin: 0 0 0 calc(50% - 50vw);
	padding: 0;
}

.pl-flagship .pl-event-single__notice {
	padding-top: 28px;
}

.pl-flagship .pl-event-single__notice:empty {
	display: none;
}

.pl-flagship .pl-event-single__notice .tribe-events-notices {
	margin: 0;
	padding: 16px 20px;
	border: 0;
	border-left: 4px solid var(--pl-red);
	border-radius: 0;
	background: #fff3f3;
	color: #6f2024;
	font-size: 14px;
	font-weight: 750;
}

.pl-flagship .pl-event-single__notice .tribe-events-notices ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pl-flagship .pl-event-single__hero .hero__inner {
	align-items: flex-start;
}

.pl-flagship .pl-event-single__back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 42px;
	color: rgba(255, 255, 255, .82);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.pl-flagship .pl-event-single__back:hover {
	color: #fff;
}

.pl-flagship .pl-event-single__hero .hero__title {
	max-width: 980px;
}

.pl-flagship .pl-event-single__schedule {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-top: 24px;
	color: rgba(255, 255, 255, .78);
	font-family: var(--pl-editorial);
	font-size: 18px;
}

.pl-flagship .pl-event-single__when {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0 6px;
}

.pl-flagship .pl-event-single__schedule-separator {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--pl-cyan);
}

.pl-flagship .pl-event-single__body {
	display: grid;
	grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
	gap: 80px;
	align-items: start;
	padding-block: 94px 112px;
}

.pl-flagship .pl-event-single__media {
	position: sticky;
	top: 106px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border-top: 5px solid var(--pl-cyan);
	background: var(--pl-mist);
}

.pl-flagship .pl-event-single__image {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
}

.pl-flagship .pl-event-single__media--placeholder {
	display: grid;
	place-items: center;
}

.pl-flagship .pl-event-single__media--placeholder > span {
	width: 58px;
	height: 58px;
	border: 2px dashed rgba(0, 174, 239, .5);
	border-radius: 50%;
}

.pl-flagship .pl-event-single__main {
	max-width: 760px;
}

.pl-flagship .pl-event-single__main > h2 {
	margin: 10px 0 30px;
	color: var(--pl-ink);
	font-size: 46px;
	line-height: 1;
}

.pl-flagship .pl-event-single__description {
	color: var(--pl-ink-soft);
	font-family: var(--pl-editorial);
	font-size: 19px;
	line-height: 1.7;
}

.pl-flagship .pl-event-single__description > * + * {
	margin-top: 18px;
}

.pl-flagship .pl-event-single__main > .tribe-events {
	margin-top: 30px;
}

.pl-flagship .pl-event-single__main .tribe-events-c-subscribe-dropdown__container {
	width: fit-content;
}

.pl-flagship .pl-event-single__main .tribe-events-c-subscribe-dropdown__button {
	border-color: var(--pl-blue);
	border-radius: 2px;
	color: var(--pl-blue);
}

.pl-flagship .pl-event-single__main .tribe-events-c-subscribe-dropdown__button:hover {
	background: var(--pl-blue);
	color: #fff;
}

.pl-flagship .pl-event-single__details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 44px 0 0;
	border-top: 1px solid var(--pl-line);
	border-bottom: 1px solid var(--pl-line);
}

.pl-flagship .pl-event-single__details > div {
	padding: 24px 24px 24px 0;
}

.pl-flagship .pl-event-single__details > div + div {
	padding-left: 24px;
	border-left: 1px solid var(--pl-line);
}

.pl-flagship .pl-event-single__details dt {
	margin-bottom: 9px;
	color: var(--pl-cyan-text);
	font-size: 10px;
	font-weight: 850;
	text-transform: uppercase;
}

.pl-flagship .pl-event-single__details dd {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 0;
	color: var(--pl-ink);
	font-size: 14px;
	line-height: 1.45;
}

.pl-flagship .pl-event-single__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
	margin-top: 34px;
}

.pl-flagship .pl-event-single__actions .pl-action--line {
	border-color: var(--pl-blue);
	color: var(--pl-blue);
}

@media (max-width: 760px) {
	.pl-flagship .pl-event-single__back {
		margin-bottom: 30px;
	}

	.pl-flagship .pl-event-single__schedule {
		align-items: flex-start;
		flex-direction: column;
		font-size: 16px;
	}

	.pl-flagship .pl-event-single__schedule-separator {
		display: none;
	}

	.pl-flagship .pl-event-single__when {
		display: block;
	}

	.pl-flagship .pl-event-single__body {
		grid-template-columns: 1fr;
		gap: 38px;
		padding-block: 54px 72px;
	}

	.pl-flagship .pl-event-single__media {
		position: relative;
		top: auto;
		width: min(100%, 320px);
	}

	.pl-flagship .pl-event-single__main > h2 {
		font-size: 34px;
	}

	.pl-flagship .pl-event-single__description {
		font-size: 17px;
		line-height: 1.62;
	}

	.pl-flagship .pl-event-single__details {
		grid-template-columns: 1fr;
	}

	.pl-flagship .pl-event-single__details > div + div {
		padding-left: 0;
		border-top: 1px solid var(--pl-line);
		border-left: 0;
	}

	.pl-flagship .pl-event-single__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.pl-flagship .pl-event-single__actions .pl-action,
	.pl-flagship .pl-event-single__actions .pl-text-link {
		width: 100%;
		justify-content: space-between;
	}
}

/* ---------- Motion ---------- */

.js .pl-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .7s var(--pl-ease), transform .7s var(--pl-ease);
}

.js .pl-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

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

@media screen and (max-width: 782px) {
	body.admin-bar {
		--pl-admin-bar-offset: 46px;
	}
}

@media (max-width: 1120px) {
  .pl-flagship .site-brand__tagline {
    display: none;
  }

  .pl-flagship .site-nav__menu {
    gap: 16px;
  }

  .pl-hero__title {
    font-size: 72px;
  }

  .pl-section-head h2 {
    font-size: 50px;
  }

  .pl-now__grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .8fr);
  }

  .pl-iniciatives-feature h3 {
    font-size: 38px;
  }

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

  .pl-topic p {
    grid-column: 1;
  }

  .pl-flagship .pl-post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --pl-gutter: 20px;
  }

  .pl-flagship .site-nav__toggle {
    display: inline-flex;
    position: relative;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
  }

  .pl-flagship .site-nav__toggle-icon,
  .pl-flagship .site-nav__toggle span,
  .pl-flagship .site-nav__toggle span::before,
  .pl-flagship .site-nav__toggle span::after {
    background: #fff;
  }

  .pl-flagship .site-nav__menu {
    position: fixed;
		top: calc(var(--pl-admin-bar-offset) + var(--pl-header-height));
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    min-width: 0;
    width: auto;
    height: auto;
    max-height: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-top: 26px;
    padding-right: max(var(--pl-gutter), env(safe-area-inset-right));
    padding-bottom: max(46px, env(safe-area-inset-bottom));
    padding-left: max(var(--pl-gutter), env(safe-area-inset-left));
    border: 0;
    border-radius: 0;
    background: var(--pl-blue-deep);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity .28s ease, transform .35s var(--pl-ease), visibility .28s ease;
  }

  .pl-flagship .site-nav.is-open .site-nav__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .pl-flagship .site-nav__menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  .pl-flagship .site-nav__menu > li > a,
  .pl-flagship .site-nav__dropdown-toggle {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 19px;
    color: #fff;
  }

  .pl-flagship .site-nav__menu > li > a::after,
  .pl-flagship .site-nav__dropdown-toggle::after {
    display: none;
  }

  .pl-flagship .site-nav__menu .sub-menu {
    position: static;
    display: none;
    padding: 0 0 14px 18px;
    border: 0;
    border-left: 2px solid var(--pl-cyan);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

	.pl-flagship .site-nav__menu .menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	.pl-flagship .site-nav__menu .sub-menu a,
	.pl-flagship .site-nav__menu .sub-menu .current-menu-item > a {
		color: rgba(255, 255, 255, .82);
	}

  .pl-flagship .site-nav__dropdown-icon {
    margin-right: 3px;
    font-size: 20px;
  }

  .pl-flagship .site-nav__mobile-cta {
    display: block;
    margin-top: 24px;
    border: 0 !important;
  }

  .pl-flagship .site-nav__mobile-cta a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px !important;
    border-radius: 4px !important;
    background: var(--pl-cyan) !important;
    color: var(--pl-ink) !important;
  }

  .pl-flagship .site-header__cta {
    display: none;
  }

  .pl-nav-open {
    overflow: hidden;
  }

  .pl-hero {
    height: min(780px, 100svh);
    min-height: 680px;
  }

  .pl-hero__copy {
    width: min(700px, 84%);
  }

  .pl-hero__title {
    font-size: 64px;
  }

  .pl-section {
    padding-block: 92px;
  }

  .pl-now {
    padding-block: 64px;
  }

  .pl-now .pl-section-head {
    margin-bottom: 30px;
  }

  .pl-section-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 42px;
  }

  .pl-section-head__actions {
    justify-content: flex-start;
  }

  .pl-now__grid,
  .pl-news__grid,
  .pl-participate__inner {
    grid-template-columns: 1fr;
  }

  .pl-now__grid {
    height: auto;
  }

  .pl-event-feature {
    border-right: 0;
    border-bottom: 1px solid var(--pl-line);
  }

  .pl-iniciatives-feature {
    min-height: 430px;
  }

  .pl-topic-list {
    grid-template-columns: 1fr;
  }

  .pl-topic:nth-last-child(2) {
    border-bottom: 0;
  }

  .pl-topic:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .pl-editorial-note {
    font-size: 48px;
  }


	.pl-person-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pl-person-gallery__item:nth-child(n + 5) {
		display: none;
	}

	.pl-person-gallery__more {
		grid-column: 1 / -1;
	}

  .pl-news .pl-section-head {
    grid-template-columns: 1fr;
  }

	.pl-news-lead {
		max-width: none;
  }

  .pl-participate__actions {
    max-width: 480px;
  }

  .pl-flagship .pl-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pl-flagship .pl-people-section__layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

	.pl-flagship .pl-people-section__layout > .section__head {
		max-width: 680px;
	}

	.pl-flagship .pl-person-profile__layout {
		grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
		gap: 42px;
	}

  .pl-flagship .equipa-autarcas-box,
  .pl-flagship .cta-band__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pl-flagship .cta-band__actions {
    grid-column: auto;
  }

  .pl-flagship .pl-people-section__layout .autarca-grid,
  .pl-flagship .pl-people-section__layout .autarca-grid--people {
    grid-template-columns: repeat(auto-fill, minmax(170px, 210px));
  }

	.pl-flagship .freguesia-panel {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.pl-flagship .freguesia-panel__head {
		max-width: 520px;
	}

  .pl-flagship .pl-iniciativas-list .iniciativa-card__link {
    grid-template-columns: minmax(130px, .5fr) minmax(0, 1.5fr);
  }

  .pl-flagship .pl-iniciativas-list .iniciativa-card__meta {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, auto));
    justify-content: start;
  }

  .pl-flagship .pl-iniciativas-list .iniciativa-card__autores {
    grid-column: 2;
    grid-row: 3;
  }

  .pl-join-strip__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

	.pl-join-strip .pl-action {
		width: fit-content;
		align-self: start;
  }

  .pl-flagship .freguesia-card-grid {
    grid-template-columns: 1fr;
  }

  .pl-flagship .site-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }

	.pl-flagship .site-footer__col--brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
  :root {
    --pl-gutter: 18px;
		--pl-header-height: 66px;
  }

  .pl-flagship .site-header__inner {
    min-height: 66px;
    padding-block: 7px;
	align-items: center;
  }

  .pl-flagship .site-brand__mark,
  .pl-flagship .custom-logo {
    width: 128px;
  }

  .pl-flagship .site-nav__menu {
		top: calc(var(--pl-admin-bar-offset) + var(--pl-header-height));
  }

  .pl-flagship .hero:not(.hero--home) {
    padding-block: 48px 54px;
  }

	.pl-flagship .hero:not(.hero--home) + .section:not(.section--compact) {
		padding-top: 44px;
	}

	.pl-flagship .hero:not(.hero--home) + .pl-editorial-page {
		padding-top: 48px;
	}

  .pl-flagship .hero:not(.hero--home)::before {
    right: -16px;
    bottom: -10px;
    font-size: 88px;
  }

  .pl-flagship .hero:not(.hero--home) .hero__title {
    font-size: 36px;
  }

  .pl-flagship .hero:not(.hero--home) .hero__subtitle {
    font-size: 15px;
  }

  .pl-hero {
    height: min(760px, 100svh);
    min-height: 670px;
  }

  .pl-hero__media {
    background-image: url("../img/porto-cmp-hero.jpg");
    background-position: 50% 45%;
    background-size: auto 108%;
    transform-origin: 50% 45%;
  }

  .pl-hero__shade {
    background:
      linear-gradient(90deg, rgba(3, 22, 39, .93), rgba(3, 30, 53, .54)),
      linear-gradient(0deg, rgba(3, 22, 39, .86) 0%, transparent 54%);
  }

  .pl-hero__copy {
    width: 100%;
    padding-block: 54px 118px;
  }

  .pl-hero__title {
    max-width: 520px;
    margin-block: 18px 22px;
    font-size: 50px;
    line-height: .94;
  }

  .pl-hero__lead {
    max-width: 440px;
    font-size: 19px;
  }

  .pl-hero__actions {
    gap: 12px;
    margin-top: 28px;
  }

  .pl-hero__secondary-actions {
    gap: 12px 24px;
  }

  .pl-action {
    width: 100%;
  }

  .pl-action--line {
    width: fit-content;
  }

  .pl-hero__signal {
    display: none;
  }

  .pl-hero__foot {
    right: var(--pl-gutter);
    bottom: 22px;
    left: var(--pl-gutter);
  }

  .pl-section {
    padding-block: 72px;
  }

  .pl-section-head h2 {
    font-size: 39px;
  }

  .pl-section-head > p {
    font-size: 17px;
  }

  .pl-flagship .pl-editorial-page {
    padding-block: 60px 82px;
  }

	.pl-flagship .pl-home-social .social-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pl-flagship .pl-home-social .social-links__item {
		border-top: 1px solid var(--pl-line);
		border-left: 0;
	}

	.pl-flagship .pl-home-social .social-links__item:nth-child(-n + 2) {
		border-top: 0;
	}

	.pl-flagship .pl-home-social .social-links__item:nth-child(even) {
		border-left: 1px solid var(--pl-line);
	}

	.pl-flagship .pl-home-social .social-links__link {
		min-height: 58px;
		padding-inline: 10px;
	}

  .pl-flagship .pl-editorial-page__content,
  .pl-flagship .entry--iniciativa > .entry-content,
  .pl-flagship .entry--article > .entry-content,
  .pl-flagship .entry--artigo > .entry-content {
    font-size: 17px;
    line-height: 1.62;
  }

	.pl-flagship .entry--article .article-utility,
	.pl-flagship .entry--article .post-nav {
		grid-template-columns: 1fr;
	}

	.pl-flagship .entry--article .post-share {
		padding: 26px 0;
		border-right: 0;
		border-bottom: 1px solid var(--pl-line);
	}

	.pl-flagship .entry--article .entry-footer {
		padding: 26px 0;
	}

	.pl-flagship .entry--article .post-nav__next {
		grid-column: auto;
	}

	.pl-flagship .entry--article .post-nav__item {
		min-height: 112px;
		padding: 22px 20px;
	}

	.pl-flagship .iniciativa-nav {
		grid-template-columns: 1fr;
		gap: 12px;
		padding-bottom: 64px;
	}

	.pl-flagship .iniciativa-nav__item,
	.pl-flagship .iniciativa-nav__item--next {
		grid-template-columns: 18px minmax(0, 1fr);
		min-height: 96px;
		padding: 20px;
		text-align: left;
	}

	.pl-flagship .iniciativa-nav__item--next .pl-link-arrow {
		grid-column: 1;
		grid-row: 1;
	}

	.pl-flagship .iniciativa-nav__item--next > span {
		grid-column: 2;
		grid-row: 1;
	}

  .pl-flagship .pl-editorial-page__content > h2 {
    margin-top: 58px;
    padding-top: 38px;
    font-size: 31px;
  }

  .pl-flagship .pl-people-section__layout .section__title {
    font-size: 31px;
  }

  .pl-flagship .pl-people-section__layout .autarca-grid,
  .pl-flagship .pl-people-section__layout .autarca-grid--people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

	.pl-flagship .pl-editorial-page--sobre-nos .wp-block-list,
	.pl-flagship .pl-editorial-page--contactos .contact-page-grid {
		grid-template-columns: 1fr;
	}

	.pl-flagship .pl-managed-editorial__list {
		grid-template-columns: 1fr;
	}

	.pl-flagship .pl-managed-editorial__section + .pl-managed-editorial__section {
		margin-top: 48px;
	}

	.pl-flagship .pl-managed-editorial__section h2,
	.pl-flagship .pl-managed-editorial__social-title {
		font-size: 31px;
	}

  .pl-flagship .equipa-autarcas-box .autarquia-links-grid {
    grid-template-columns: 1fr;
  }

  .pl-flagship .equipa-autarcas-box .autarquia-link-card {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid #bdcdd7;
  }

  .pl-flagship .equipa-autarcas-box .autarquia-link-card:last-child {
    border-bottom: 0;
  }

  .pl-flagship .cta-band {
    margin: 0;
    padding: 52px 0;
  }

  .pl-flagship .cta-band__actions .btn {
    width: auto;
  }

  .pl-flagship .pl-editorial-page--contactos .contact-card {
    min-height: 0;
    padding: 24px;
  }

  .pl-flagship .pl-editorial-page__content .plcore-form {
    padding: 22px 18px;
  }

	.pl-flagship .filter-bar__list {
		justify-content: flex-start;
		flex-wrap: nowrap;
    overflow-x: auto;
    position: relative;
    padding-right: 48px;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }

  .pl-flagship .filter-bar__list::-webkit-scrollbar {
    display: none;
  }

	.pl-flagship .filter-bar__btn {
	    white-space: nowrap;
	  }

  .pl-flagship .filter-bar {
    position: relative;
  }

  .pl-flagship .filter-bar.has-filter-overflow::after,
  .pl-flagship .filter-bar.has-filter-overflow.is-filter-scrolled::before {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    width: 48px;
    height: 52px;
    align-items: center;
    justify-content: center;
    color: var(--pl-blue);
    font-size: 23px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
    transition: opacity .2s ease;
  }

  .pl-flagship .filter-bar.has-filter-overflow::after {
    right: 0;
    content: "→";
    background: linear-gradient(90deg, rgba(247, 249, 251, 0), var(--pl-paper) 58%);
  }

  .pl-flagship .filter-bar.has-filter-overflow.is-filter-scrolled::before {
    left: 0;
    content: "←";
    background: linear-gradient(90deg, var(--pl-paper) 42%, rgba(247, 249, 251, 0));
  }

  .pl-flagship .filter-bar.has-filter-overflow.is-filter-end::after {
    opacity: 0;
  }

  .pl-flagship .iniciativas-filters {
    padding: 18px;
  }

  .pl-flagship .iniciativas-filters__row--primary {
    display: grid;
    grid-template-columns: 1fr auto;
    margin-bottom: 0;
  }

  .pl-flagship .iniciativas-filters__row--primary .iniciativas-filters__search {
    min-width: 0;
  }

  .pl-flagship .iniciativas-filters__row--primary .btn--ghost {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .pl-flagship .iniciativas-filters__advanced {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #c9dae4;
  }

  .pl-flagship .iniciativas-filters__advanced > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--pl-blue);
    cursor: pointer;
    font-family: var(--pl-display);
    font-size: 13px;
    font-weight: 800;
    list-style: none;
  }

  .pl-flagship .iniciativas-filters__advanced > summary::after {
    content: "+";
    font-size: 18px;
    font-weight: 500;
  }

  .pl-flagship .iniciativas-filters__advanced[open] > summary::after {
    content: "\2212";
  }

  .pl-flagship .iniciativas-filters__advanced > summary::-webkit-details-marker {
    display: none;
  }

  .pl-flagship .iniciativas-filters__advanced > .iniciativas-filters__row:first-of-type {
    margin-top: 16px;
  }

  .pl-flagship .pl-iniciativas-list .iniciativa-card__link {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .pl-flagship .pl-iniciativas-list .iniciativa-card__link:hover {
    padding-left: 0;
  }

  .pl-flagship .pl-iniciativas-list .iniciativa-card__tags,
  .pl-flagship .pl-iniciativas-list .iniciativa-card__title,
  .pl-flagship .pl-iniciativas-list .iniciativa-card__meta,
  .pl-flagship .pl-iniciativas-list .iniciativa-card__autores {
    grid-column: 1;
    grid-row: auto;
  }

  .pl-flagship .pl-iniciativas-list .iniciativa-card__meta {
    grid-template-columns: 1fr;
  }

	.pl-now__grid {
    border-inline: 0;
	}

	.pl-news-featured {
		grid-template-columns: 1fr;
	}

  .pl-event-feature__media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

	.pl-event-feature__placeholder {
		align-items: flex-start;
		padding: 34px 142px 34px 24px;
	}

	.pl-event-feature__placeholder span {
		max-width: 190px;
		font-size: 30px;
		line-height: .94;
	}

  .pl-event-feature__body,
  .pl-iniciatives-feature {
    padding: 24px;
  }

  .pl-event-feature__body h3 {
    font-size: 25px;
  }

  .pl-event-feature__date {
    right: 16px;
    bottom: 16px;
  }

  .pl-iniciatives-feature {
    min-height: 370px;
  }

  .pl-iniciatives-feature h3 {
    font-size: 36px;
  }

  .pl-topics::before {
    top: 52px;
    font-size: 110px;
  }

  .pl-topic {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 24px;
  }

  .pl-topic h3 {
    font-size: 21px;
  }

  .pl-topic p {
    font-size: 15px;
  }

  .pl-editorial-note {
    margin-top: 56px;
    font-size: 38px;
    text-align: left;
  }

  .pl-editorial-note__line2 {
    display: block;
  }

	.pl-person-gallery {
		gap: 24px 10px;
	}

	.pl-person-gallery .person-card__name {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 2.2em;
		font-size: 15px;
		text-align: center;
	}

	.pl-person-gallery .person-card__info {
		min-height: 0;
	}

	.pl-person-gallery .person-card__role {
		display: -webkit-box;
		min-height: 2.8em;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.pl-person-gallery .person-card__bio,
	.pl-person-gallery .person-card__note {
		display: none;
	}

	.pl-person-gallery__more {
		padding: 22px;
	}

	.pl-person-gallery__more h3 {
		font-size: 27px;
	}

  .pl-news-lead__media {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .pl-news-lead__body {
    padding: 24px;
  }

  .pl-news-lead__body h3 {
    font-size: 28px;
  }

  .pl-news-lead__placeholder span {
    font-size: 48px;
  }

  .pl-news-row {
    grid-template-columns: minmax(0, 1fr) 16px;
    padding-block: 24px;
  }

  .pl-news-row h3 {
    font-size: 22px;
  }

  .pl-participate {
    padding-block: 78px;
  }

  .pl-participate__inner {
    gap: 38px;
  }

	.pl-join-strip__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
	}

	.pl-join-strip {
		padding-block: 48px;
	}

  .pl-join-strip__inner > p {
    max-width: 600px;
  }

  .pl-join-strip .pl-action {
    width: fit-content;
  }

  .pl-participate h2 {
    font-size: 48px;
  }

  .pl-participate__copy > p:last-child {
    font-size: 18px;
  }

  .pl-flagship .autarca-grid,
  .pl-flagship .autarca-grid--people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .pl-flagship .autarca-grid .person-card__name,
  .pl-flagship .autarca-grid--people .person-card__name {
    font-size: 14px;
  }

  .pl-flagship .autarca-grid .person-card__photo,
  .pl-flagship .autarca-grid--people .person-card__photo {
    aspect-ratio: 4 / 5;
  }

  .pl-flagship .autarca-grid .person-card__bio,
  .pl-flagship .autarca-grid--people .person-card__bio {
    display: none;
  }

	.pl-flagship .site-footer__cols {
		grid-template-columns: 1fr;
		gap: 36px;
		padding-block: 52px 38px;
	}

	.pl-flagship .site-footer__col--brand {
		grid-column: auto;
	}

	.pl-flagship .site-footer__identity-inner {
		min-height: 220px;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 24px;
		padding-block: 38px;
	}

	.pl-flagship .site-footer__porto-lockup img {
		height: 54px;
		width: auto;
		max-width: 100%;
	}

	.pl-flagship .site-footer__national-lockup img {
		height: 54px;
		width: auto;
		max-width: 100%;
	}

	.pl-flagship .site-footer__statement {
		font-size: 34px;
	}

	.pl-flagship .site-footer__bottom .container {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.pl-flagship .overview-grid {
		grid-template-columns: 1fr;
	}

	.pl-flagship .autarcas-overview {
		padding-block: 12px 0;
	}

	.pl-flagship .autarcas-overview .overview-grid {
		margin-bottom: 8px;
	}

	.pl-flagship .autarcas-overview .filter-bar--sticky {
		position: static;
		padding: 0;
		background: var(--pl-paper);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		box-shadow: none;
	}

	.pl-flagship .autarcas-overview .filter-bar__btn {
		box-shadow: none;
	}

	.pl-flagship .autarcas-overview .filter-bar__btn:focus-visible {
		outline: 2px solid var(--pl-blue);
		outline-offset: 1px;
	}

	.pl-flagship .autarcas-overview .filter-bar.has-filter-overflow::after,
	.pl-flagship .autarcas-overview .filter-bar.has-filter-overflow.is-filter-scrolled::before {
		display: none;
		background: var(--pl-paper);
		color: var(--pl-blue);
	}

	.pl-flagship .autarcas-overview .overview-grid {
		border-bottom: 0;
	}

	.pl-flagship .autarcas-overview .overview-card:last-child {
		border-bottom: 0;
	}

	.pl-flagship .autarcas-overview + .people-section {
		padding-top: 32px;
	}

	.pl-flagship .overview-card,
	.pl-flagship .overview-card:last-child {
		border-right: 0;
		border-bottom: 1px solid var(--pl-line);
	}

	.pl-flagship .overview-card:last-child {
		border-bottom: 0;
	}

	.pl-flagship .person-modal {
		align-items: flex-end;
		padding: 0;
	}

	.pl-flagship .person-modal__dialog {
		max-height: 94svh;
		padding: 0 22px 28px;
		border: 0;
		border-radius: 4px 4px 0 0;
	}

	.pl-flagship .person-modal__header {
		grid-template-columns: 1fr;
		margin: 0 -22px 26px;
	}

	.pl-flagship .person-modal__photo {
		min-height: 0;
		max-height: 46svh;
		aspect-ratio: 4 / 5;
	}

	.pl-flagship .person-modal__info {
		padding: 28px 22px 26px;
		text-align: left;
	}

	.pl-flagship .person-modal__name {
		font-size: 32px;
	}

	.pl-flagship .person-modal__role,
	.pl-flagship .person-modal__freguesia {
		font-size: 15px;
	}

	.pl-flagship .pl-person-profile__layout {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.pl-flagship .pl-person-profile__media {
		position: relative;
		top: auto;
		width: min(100%, 320px);
		margin-inline: auto;
	}

	.pl-flagship .pl-person-profile__content > h2,
	.pl-flagship .pl-person-profile__section h3 {
		font-size: 22px;
	}

	.pl-flagship .tribe-common .pl-agenda-month {
		padding-block: 54px;
	}

	.pl-agenda-month__head {
		align-items: center;
		margin-bottom: 22px;
	}

	.pl-agenda-month__head h2,
	.pl-agenda-section-head h2 {
		font-size: 32px;
	}

	.pl-agenda-month__nav-link {
		width: 40px;
		height: 40px;
	}

	.pl-agenda-month__table th {
		height: 34px;
		padding: 5px 2px;
		font-size: 9px;
		text-align: center;
	}

	.pl-agenda-month__table td {
		height: 66px;
		padding: 5px;
	}

	.pl-agenda-month__table time {
		width: 23px;
		height: 23px;
		font-size: 11px;
	}

	.pl-agenda-month__empty {
		clear: both;
		padding: 18px;
		font-size: 16px;
	}

	.pl-agenda-month__table-wrap + .pl-agenda-month__empty {
		margin-top: 40px;
	}

	.pl-agenda-month__events {
		display: flex;
		gap: 3px;
		margin-top: 4px;
	}

	.pl-agenda-month__events a {
		display: block;
		width: 9px;
		height: 9px;
	}

	.pl-agenda-month__events a > span {
		display: block;
		width: 8px;
		height: 8px;
	}

	.pl-agenda-month__events b {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.pl-flagship .tribe-common .pl-agenda-upcoming,
	.pl-flagship .tribe-common .pl-agenda-past {
		padding-block: 58px;
	}

	.pl-agenda-section-head,
	.pl-agenda-section-head--past {
		grid-template-columns: 1fr;
		gap: 18px;
		align-items: start;
	}

	.pl-agenda-event-grid {
		grid-template-columns: 1fr;
	}

	.pl-flagship .tribe-common .pl-agenda-event-card,
	.pl-flagship .tribe-common .pl-agenda-past .pl-agenda-event-card {
		grid-template-columns: 62px minmax(0, 1fr) 18px;
		gap: 16px;
		padding: 22px 18px;
	}

	.pl-agenda-event-card__date,
	.pl-agenda-past .pl-agenda-event-card__date {
		min-height: 74px;
	}

	.pl-agenda-event-card__date strong {
		font-size: 25px;
	}

	.pl-agenda-event-card__body h3 {
		font-size: 21px;
	}

	.pl-agenda-empty {
		padding: 28px 24px;
	}

	.pl-flagship .freguesia-panel {
		padding-block: 38px;
	}

	.pl-flagship .freguesia-panel__body {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.pl-flagship .freguesia-panel__people {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 12px;
	}

	.pl-flagship .freguesia-panel .person-card__name {
		font-size: 14px;
	}

	.pl-flagship .freguesia-panel__group--pending:nth-child(3) {
		grid-column: auto;
	}
}

@media (max-width: 420px) {
  .pl-hero__title {
    font-size: 44px;
  }

  .pl-hero__lead {
    font-size: 18px;
  }

  .pl-section-head h2 {
    font-size: 35px;
  }

  .pl-flagship .pl-post-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 340px) {
  .pl-flagship .autarca-grid,
  .pl-flagship .autarca-grid--people,
	.pl-flagship .freguesia-panel__people {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
	.pl-flagship .iniciativas-filters__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pl-flagship .iniciativa-outcome {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.pl-flagship .iniciativa-vote-notes {
		grid-column: auto;
	}

	.pl-flagship .contact-landing,
	.pl-flagship .pl-contact-form-section,
	.pl-flagship .pl-external-form,
	.pl-flagship .contact-membership {
		grid-template-columns: 1fr;
	}

	.pl-flagship .contact-landing__primary {
		border-right: 0;
		border-bottom: 1px solid rgba(3, 43, 77, .14);
	}

	.pl-flagship .pl-contact-form-section__intro,
	.pl-flagship .pl-external-form__intro {
		max-width: 720px;
		padding: 0 0 34px;
	}

	.pl-flagship .contact-membership {
		gap: 28px;
	}
}

@media (max-width: 640px) {
	.pl-flagship .iniciativas-filters {
		padding: 22px 18px;
	}

	.pl-flagship .iniciativas-filters__primary,
	.pl-flagship .iniciativas-filters__grid {
		grid-template-columns: 1fr;
	}

	.pl-flagship .iniciativas-filters__advanced {
		margin-top: 0;
		padding-top: 22px;
		border-top: 0;
	}

	.pl-flagship .iniciativas-filters__actions .btn {
		flex: 1;
		justify-content: center;
	}

	.pl-flagship .iniciativa-outcome {
		margin-bottom: 54px;
		padding-block: 30px;
	}

	.pl-flagship .iniciativa-vote-grid {
		grid-template-columns: 1fr;
	}

	.pl-flagship .pl-editorial-page--contactos .social-links {
		grid-template-columns: 1fr;
	}

	.pl-flagship .pl-editorial-page--contactos .pl-contact-separator {
		margin-top: 32px;
	}

	.pl-flagship .pl-editorial-page--contactos #sugestoes {
		padding-top: 58px;
	}

	.pl-flagship .pl-home-social .social-links__link {
		grid-template-columns: 24px minmax(0, 1fr) 16px;
		min-height: 64px;
		padding: 14px;
	}

	.pl-flagship .pl-home-social .social-links__label {
		display: none;
	}

	.pl-flagship .contact-landing {
		min-height: 0;
		margin-bottom: 64px;
	}

	.pl-flagship .contact-landing > div {
		min-height: 290px;
		padding: 28px 22px;
	}

	.pl-flagship .contact-landing h2 {
		font-size: 31px;
	}

	.pl-flagship .pl-contact-form-section,
	.pl-flagship .pl-external-form {
		padding-block: 58px;
	}

	.pl-flagship .pl-editorial-page--google-form .pl-external-form {
		padding-top: 24px;
		padding-bottom: 30px;
	}

	.pl-flagship .pl-editorial-page--google-form {
		padding-block: 0 40px;
	}

	.pl-flagship .pl-contact-form-section__body,
	.pl-flagship .pl-external-form__body {
		padding: 24px 18px;
	}

	.pl-flagship .plcore-choice-list,
	.pl-flagship .pl-contact-form-section .plcore-grid-2,
	.pl-flagship .pl-external-form .plcore-grid-2 {
		grid-template-columns: 1fr;
	}

	.pl-flagship .contact-membership {
		padding: 34px 22px;
	}

	.pl-flagship .contact-membership > div:last-child {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* Shared representative-card interaction across Home, Equipa and Autarcas. */
.pl-flagship .pl-person-gallery .person-card--list,
.pl-flagship .pl-people-section__layout .person-card--list,
.pl-flagship .freguesia-panel .person-card--list {
	transition: transform .35s var(--pl-ease);
}

.pl-flagship .pl-person-gallery .person-card--list:hover,
.pl-flagship .pl-people-section__layout .person-card--list:hover,
.pl-flagship .freguesia-panel .person-card--list:hover {
	box-shadow: none;
	transform: translateY(-4px);
}

.pl-flagship .pl-person-gallery .person-card--list:hover {
	border-top-color: var(--pl-cyan);
}

.pl-flagship img.person-card__photo {
	background: #F4F4F4;
	transition: transform .65s var(--pl-ease);
}

.pl-flagship .pl-person-gallery .person-card--list:hover .person-card__photo,
.pl-flagship .pl-people-section__layout .person-card--list:hover .person-card__photo,
.pl-flagship .freguesia-panel .person-card--list:hover .person-card__photo {
	transform: scale(1.025);
}

.pl-flagship .pl-person-gallery .person-card--list .person-card__action,
.pl-flagship .pl-people-section__layout .person-card--list .person-card__action,
.pl-flagship .freguesia-panel .person-card--list .person-card__action {
	transition: color .25s ease;
}

.pl-flagship .pl-person-gallery .person-card--list:hover .person-card__action,
.pl-flagship .pl-people-section__layout .person-card--list:hover .person-card__action,
.pl-flagship .freguesia-panel .person-card--list:hover .person-card__action {
	background: transparent;
	box-shadow: none;
	color: var(--pl-red);
}

/* Keep intermediate person-card copy aligned across Home, Equipa and Autarcas. */
.pl-flagship .pl-person-gallery .person-card__role {
	display: flex;
	min-height: 2.8em;
	max-height: 2.8em;
	align-items: center;
	margin: 0;
	overflow: hidden;
}

@media (min-width: 921px) {
	.pl-flagship .pl-people-section__layout .autarca-grid,
	.pl-flagship .pl-people-section__layout .autarca-grid--people,
	.pl-flagship .freguesia-panel__people {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.pl-flagship .pl-person-gallery .person-card__info {
	padding-top: 10px;
}

.pl-flagship .pl-person-gallery .person-card__name,
.pl-flagship .pl-people-section__layout .person-card__name,
.pl-flagship .freguesia-panel .person-card__name {
	display: flex;
	min-height: 2.24em;
	max-height: 2.24em;
	align-items: center;
	margin-bottom: 8px;
	overflow: hidden;
}

.pl-flagship .pl-person-gallery .person-card__name > span,
.pl-flagship .pl-people-section__layout .person-card__name > span,
.pl-flagship .freguesia-panel .person-card__name > span,
.pl-flagship .pl-person-gallery .person-card__role > span,
.pl-flagship .pl-people-section__layout .person-card__role > span,
.pl-flagship .freguesia-panel .person-card__role > span {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
}

.pl-flagship .pl-person-gallery .person-card__name > span,
.pl-flagship .pl-people-section__layout .person-card__name > span,
.pl-flagship .freguesia-panel .person-card__name > span {
	-webkit-line-clamp: 2;
}

.pl-flagship .pl-person-gallery .person-card__role > span,
.pl-flagship .pl-people-section__layout .person-card__role > span,
.pl-flagship .freguesia-panel .person-card__role > span {
	-webkit-line-clamp: 3;
}

.pl-flagship .pl-person-gallery .person-card__role,
.pl-flagship .pl-people-section__layout .person-card__role,
.pl-flagship .freguesia-panel .person-card__role {
	display: flex;
	min-height: 4.2em;
	max-height: 4.2em;
	align-items: flex-start;
	margin: 0;
	overflow: hidden;
}

.pl-flagship .pl-person-gallery .person-card__divider,
.pl-flagship .pl-people-section__layout .person-card__divider,
.pl-flagship .freguesia-panel .person-card__divider {
	width: 32px;
	height: 2px;
	flex: none;
	align-self: flex-start;
	margin: 1px 0 10px;
	background: var(--pl-cyan);
}

@media (max-width: 920px) {
	.pl-flagship .pl-person-gallery .person-card__divider {
		align-self: center;
	}
}

@media (prefers-reduced-motion: reduce) {
  .pl-hero__media,
  .pl-event-feature__image,
  .pl-person-feature__image,
  .pl-news-lead__image,
  .pl-reveal {
    transform: none !important;
    transition: none !important;
  }

  .js .pl-reveal {
    opacity: 1;
  }

  .pl-flagship .pl-person-gallery .person-card--list,
  .pl-flagship .pl-people-section__layout .person-card--list,
  .pl-flagship .freguesia-panel .person-card--list,
  .pl-flagship .pl-person-gallery .person-card__photo,
  .pl-flagship .pl-people-section__layout .person-card__photo,
  .pl-flagship .freguesia-panel .person-card__photo,
  .pl-flagship .pl-person-gallery .person-card--list .person-card__action,
  .pl-flagship .pl-people-section__layout .person-card--list .person-card__action,
  .pl-flagship .freguesia-panel .person-card--list .person-card__action {
    transition: none !important;
  }

  .pl-flagship .pl-person-gallery .person-card--list:hover,
  .pl-flagship .pl-people-section__layout .person-card--list:hover,
  .pl-flagship .freguesia-panel .person-card--list:hover,
  .pl-flagship .pl-person-gallery .person-card--list:hover .person-card__photo,
  .pl-flagship .pl-people-section__layout .person-card--list:hover .person-card__photo,
  .pl-flagship .freguesia-panel .person-card--list:hover .person-card__photo {
    transform: none !important;
  }

  .pl-flagship .pl-breadcrumbs__home {
    transform: none !important;
    transition: none !important;
  }
}

/* Keep the longer Home headline one step above its section titles. */
body.home .pl-hero__title {
  font-size: clamp(38px, calc(28px + 2.5vw), 64px);
}

/* Keep representative-card copy consistent across Home, Autarcas and Equipa. */
.pl-flagship .pl-person-gallery .person-card__info,
.pl-flagship .pl-people-section__layout .person-card__info,
.pl-flagship .autarca-grid .person-card__info,
.pl-flagship .autarca-grid--home .person-card__info,
.pl-flagship .freguesia-panel .person-card__info {
	align-items: flex-start;
	text-align: left;
}

.pl-flagship .pl-person-gallery .person-card__name,
.pl-flagship .pl-person-gallery .person-card__role,
.pl-flagship .pl-person-gallery .person-card__bio,
.pl-flagship .pl-person-gallery .person-card__note,
.pl-flagship .pl-people-section__layout .person-card__name,
.pl-flagship .pl-people-section__layout .person-card__role,
.pl-flagship .pl-people-section__layout .person-card__bio,
.pl-flagship .pl-people-section__layout .person-card__note,
.pl-flagship .autarca-grid .person-card__name,
.pl-flagship .autarca-grid .person-card__role,
.pl-flagship .autarca-grid .person-card__bio,
.pl-flagship .autarca-grid .person-card__note,
.pl-flagship .autarca-grid--home .person-card__name,
.pl-flagship .autarca-grid--home .person-card__role,
.pl-flagship .autarca-grid--home .person-card__bio,
.pl-flagship .autarca-grid--home .person-card__note,
.pl-flagship .freguesia-panel .person-card__name,
.pl-flagship .freguesia-panel .person-card__role,
.pl-flagship .freguesia-panel .person-card__bio,
.pl-flagship .freguesia-panel .person-card__note {
	text-align: left;
}

.pl-flagship .pl-person-gallery .person-card__divider,
.pl-flagship .pl-people-section__layout .person-card__divider,
.pl-flagship .autarca-grid .person-card__divider,
.pl-flagship .autarca-grid--home .person-card__divider,
.pl-flagship .freguesia-panel .person-card__divider {
	align-self: flex-start;
}

/* Keep long featured-work headlines inside the Home panel at every width. */
.pl-flagship .pl-now__grid .pl-iniciatives-feature {
	min-width: 0;
}

.pl-flagship .pl-now__grid .pl-iniciatives-feature h3 {
	max-width: 100%;
	min-width: 0;
	font-size: clamp(30px, 2.7vw, 36px);
	line-height: 1.10;
	overflow-wrap: anywhere;
}

@media (min-width: 921px) {
	.pl-flagship .pl-now__grid .pl-iniciatives-feature h3 {
		font-size: clamp(30px, 2.3vw, 32px);
	}
}
