/* Portal visual system (editorial tone, warm contrast, geometric motif). */
.path-local-pcl-portals {
  --pcl-bg: #f5f1e8;
  --pcl-surface: #fffdfa;
  --pcl-ink: #172028;
  --pcl-muted: #485564;
  --pcl-accent: #0a6c74;
  --pcl-accent-strong: #084f55;
  --pcl-highlight: #f4b53f;
  --pcl-outline: rgba(23, 32, 40, 0.12);
  --pcl-shadow: 0 18px 36px rgba(16, 40, 58, 0.14);
}

.path-local-pcl-portals .pcl-portal-shell {
  position: relative;
  padding: 1.5rem 0.75rem 2.5rem;
  background: linear-gradient(165deg, var(--pcl-bg) 0%, #f9f7ef 48%, #f1f6f7 100%);
  overflow: hidden;
}

.path-local-pcl-portals .pcl-portal-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.path-local-pcl-portals .pcl-portal-orb {
  position: absolute;
  border-radius: 999px;
  opacity: 0.45;
  filter: blur(1px);
  animation: pclPortalFloat 7s ease-in-out infinite;
}

.path-local-pcl-portals .pcl-portal-orb--one {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -70px;
  background: radial-gradient(circle at 35% 35%, #f9d88e 0%, #f1b243 55%, rgba(241, 178, 67, 0) 100%);
}

.path-local-pcl-portals .pcl-portal-orb--two {
  width: 280px;
  height: 280px;
  bottom: -100px;
  left: -60px;
  background: radial-gradient(circle at 30% 30%, #9ad3d7 0%, #4f98a2 58%, rgba(79, 152, 162, 0) 100%);
  animation-delay: 1.4s;
}

.path-local-pcl-portals .pcl-portal-header,
.path-local-pcl-portals .pcl-portal-main {
  position: relative;
  z-index: 1;
}

.path-local-pcl-portals .pcl-portal-branding,
.path-local-pcl-portals .pcl-portal-main {
  width: min(1120px, 100%);
  margin: 0 auto;
}

@media (min-width: 992px) {
  body.path-local-pcl-portals:not(.pcl-sidebar-collapsed) .pcl-portal-branding,
  body.path-local-pcl-portals:not(.pcl-sidebar-collapsed) .pcl-portal-main,
  body.path-local-pcl_portals:not(.pcl-sidebar-collapsed) .pcl-portal-branding,
  body.path-local-pcl_portals:not(.pcl-sidebar-collapsed) .pcl-portal-main {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}

.path-local-pcl-portals .pcl-portal-header-card {
  border-radius: 1.25rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(140deg, rgba(255, 253, 248, 0.95) 0%, rgba(249, 243, 232, 0.95) 100%);
  box-shadow: var(--pcl-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.path-local-pcl-portals .pcl-portal-eyebrow {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pcl-accent-strong);
}

.path-local-pcl-portals .pcl-portal-header-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.path-local-pcl-portals .pcl-portal-logo {
  flex: 0 0 auto;
  max-width: 180px;
}

.path-local-pcl-portals .pcl-portal-logo img {
  display: block;
  width: 100%;
  max-height: 96px;
  object-fit: contain;
}

.path-local-pcl-portals .pcl-portal-title {
  margin: 0;
  color: var(--pcl-ink);
  font-family: "Merriweather", "Georgia", "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1.15;
  text-wrap: balance;
}

.path-local-pcl-portals .pcl-portal-main {
  margin-top: 1.4rem;
}

.path-local-pcl-portals .pcl-portal-section {
  margin-bottom: 1.5rem;
}

.path-local-pcl-portals .pcl-portal-section-title {
  margin: 0 0 0.95rem;
  color: var(--pcl-ink);
  font-family: "Merriweather", "Georgia", "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.3;
}

.path-local-pcl-portals .pcl-section-body,
.path-local-pcl-portals .pcl-scoreboard {
  border-radius: 1rem;
  border: 1px solid var(--pcl-outline);
  background: var(--pcl-surface);
  box-shadow: 0 6px 14px rgba(17, 39, 56, 0.08);
  padding: 1rem 1.05rem;
}

.path-local-pcl-portals .pcl-custom-card-grid {
  display: grid;
  gap: 1rem;
}

.path-local-pcl-portals .pcl-custom-card {
  display: grid;
  grid-template-columns: minmax(160px, 230px) 1fr;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--pcl-outline);
  border-radius: 1.15rem;
  background: var(--pcl-surface);
  box-shadow: 0 8px 20px rgba(17, 39, 56, 0.1);
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.path-local-pcl-portals .pcl-custom-card:nth-child(even) {
  grid-template-columns: 1fr minmax(160px, 230px);
}

.path-local-pcl-portals .pcl-custom-card:nth-child(even) .pcl-custom-card-left {
  order: 2;
}

.path-local-pcl-portals .pcl-custom-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(17, 39, 56, 0.13);
  border-color: rgba(10, 108, 116, 0.3);
}

.path-local-pcl-portals .pcl-card-figure {
  width: 100%;
  min-height: 130px;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, #f4efe3 0%, #e9f1f2 100%);
  border: 1px solid rgba(17, 39, 56, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
}

.path-local-pcl-portals .pcl-card-figure .pcl-card-image {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.path-local-pcl-portals .pcl-card-kicker {
  margin: 0 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--pcl-accent-strong);
}

.path-local-pcl-portals .pcl-card-title {
  margin: 0 0 0.4rem;
  font-family: "Merriweather", "Georgia", "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.7vw, 1.7rem);
  font-weight: 700;
  color: var(--pcl-ink);
  line-height: 1.25;
}

.path-local-pcl-portals .pcl-card-description {
  margin: 0 0 0.85rem;
  color: var(--pcl-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 64ch;
}

.path-local-pcl-portals .pcl-card-btn {
  align-self: flex-start;
  min-height: 44px;
  border: none;
  border-radius: 999px;
  padding: 0.58rem 1.05rem;
  background: linear-gradient(120deg, var(--pcl-accent) 0%, #0f8e93 100%);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.path-local-pcl-portals .pcl-card-btn:hover,
.path-local-pcl-portals .pcl-card-btn:focus {
  color: #ffffff;
  background: linear-gradient(120deg, var(--pcl-accent-strong) 0%, #0a6c74 100%);
  text-decoration: none;
}

.path-local-pcl-portals .pcl-card-btn:focus-visible {
  outline: 3px solid var(--pcl-highlight);
  outline-offset: 2px;
}

.path-local-pcl-portals .pcl-card-btn-icon {
  display: inline-block;
  font-size: 1.02em;
  transform: translateX(0);
  transition: transform 0.18s ease;
}

.path-local-pcl-portals .pcl-card-btn:hover .pcl-card-btn-icon,
.path-local-pcl-portals .pcl-card-btn:focus .pcl-card-btn-icon {
  transform: translateX(2px);
}

.path-local-pcl-portals .pcl-portal-empty-state {
  border-radius: 1rem;
  border: 1px dashed rgba(10, 108, 116, 0.4);
  background: rgba(255, 255, 255, 0.7);
  padding: 1.4rem;
  color: var(--pcl-muted);
  text-align: center;
}

.path-local-pcl-portals .pcl-cw-page {
  width: min(1000px, 100%);
  margin: 1rem auto 2rem;
  padding: 0.35rem;
}

.path-local-pcl-portals .pcl-cw-hero,
.path-local-pcl-portals .pcl-cw-panel {
  border-radius: 1rem;
  border: 1px solid var(--pcl-outline);
  background: var(--pcl-surface);
  box-shadow: 0 8px 20px rgba(17, 39, 56, 0.08);
  padding: 1rem 1.1rem;
}

.path-local-pcl-portals .pcl-cw-hero {
  margin-bottom: 0.95rem;
}

.path-local-pcl-portals .pcl-cw-eyebrow {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--pcl-accent-strong);
  font-weight: 700;
}

.path-local-pcl-portals .pcl-cw-hero h2,
.path-local-pcl-portals .pcl-cw-panel h2 {
  margin: 0 0 0.45rem;
  font-family: "Merriweather", "Georgia", "Times New Roman", serif;
  color: var(--pcl-ink);
}

.path-local-pcl-portals .pcl-cw-lead,
.path-local-pcl-portals .pcl-cw-panel p {
  margin: 0;
  color: var(--pcl-muted);
}

.path-local-pcl-portals .pcl-cw-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}

.path-local-pcl-portals .pcl-cw-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(10, 108, 116, 0.25);
  background: rgba(255, 255, 255, 0.82);
  color: var(--pcl-accent-strong);
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  text-decoration: none;
}

.path-local-pcl-portals .pcl-cw-nav-link:hover,
.path-local-pcl-portals .pcl-cw-nav-link:focus {
  text-decoration: none;
  color: var(--pcl-accent-strong);
  background: rgba(244, 181, 63, 0.2);
}

.path-local-pcl-portals .pcl-cw-nav-link.is-current {
  background: linear-gradient(120deg, var(--pcl-accent) 0%, #0f8e93 100%);
  color: #ffffff;
  border-color: transparent;
}

.path-local-pcl-portals .pcl-cw-nav-link:focus-visible {
  outline: 3px solid var(--pcl-highlight);
  outline-offset: 2px;
}

.path-local-pcl-portals .pcl-cw-card-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.path-local-pcl-portals .pcl-cw-card {
  border-radius: 1rem;
  border: 1px solid var(--pcl-outline);
  background: var(--pcl-surface);
  padding: 0.95rem;
  box-shadow: 0 6px 16px rgba(17, 39, 56, 0.08);
}

.path-local-pcl-portals .pcl-cw-card h3 {
  margin: 0 0 0.4rem;
  font-family: "Merriweather", "Georgia", "Times New Roman", serif;
  color: var(--pcl-ink);
  font-size: 1.1rem;
}

.path-local-pcl-portals .pcl-cw-card p {
  margin: 0 0 0.65rem;
  color: var(--pcl-muted);
}

.path-local-pcl-portals .pcl-cw-card a {
  color: var(--pcl-accent-strong);
  font-weight: 700;
}

.path-local-pcl-portals .pcl-cw-panel--locked {
  border-style: dashed;
}

.path-local-pcl-portals .pcl-cw-metrics {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 0.95rem;
  margin-bottom: 0.95rem;
}

.path-local-pcl-portals .pcl-cw-metric {
  border: 1px solid var(--pcl-outline);
  border-radius: 0.8rem;
  background: #f8fcfc;
  padding: 0.7rem 0.8rem;
}

.path-local-pcl-portals .pcl-cw-metric-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pcl-accent-strong);
}

.path-local-pcl-portals .pcl-cw-metric-value {
  display: block;
  margin-top: 0.15rem;
  color: var(--pcl-ink);
  font-size: 1.05rem;
}

.path-local-pcl-portals .pcl-cw-table-wrap {
  overflow-x: auto;
}

.path-local-pcl-portals .pcl-cw-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--pcl-outline);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #ffffff;
}

.path-local-pcl-portals .pcl-cw-table th,
.path-local-pcl-portals .pcl-cw-table td {
  padding: 0.62rem 0.72rem;
  border-bottom: 1px solid rgba(23, 32, 40, 0.08);
}

.path-local-pcl-portals .pcl-cw-table th {
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pcl-accent-strong);
  background: #f1f8f9;
}

.path-local-pcl-portals .pcl-cw-table tr:last-child td {
  border-bottom: none;
}

.path-local-pcl-portals .pcl-cw-table a {
  color: var(--pcl-accent-strong);
  font-weight: 700;
}

.path-local-pcl-portals .pcl-cw-table-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.path-local-pcl-portals .pcl-cw-empty {
  margin: 0.8rem 0 0;
  color: var(--pcl-muted);
}

.path-local-pcl-portals.pcl-creative-writing-route,
.path-local-pcl-portals.pcl-creative-writing-route #page {
  --ziggurat: #aecfdade;
  --jellybean: #6090a7;
  --tussock: #d8b276c8;
  --mahogany: #c33632;
  --ziggurat-light: #d4e7e9;
  --jellybean-light: #8ab3c1;
  --tussock-light: #e6cfae;
  --mahogany-light: #e57371;
  background: linear-gradient(180deg, var(--ziggurat), var(--jellybean));
  background-attachment: fixed;
  font-family: "Nunito", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

.path-local-pcl-portals.pcl-creative-writing-route html,
.path-local-pcl-portals.pcl-creative-writing-route body,
.path-local-pcl_portals.pcl-creative-writing-route html,
.path-local-pcl_portals.pcl-creative-writing-route body {
  overflow-x: hidden;
}

.path-local-pcl-portals.pcl-creative-writing-route #page-header,
.path-local-pcl-portals.pcl-creative-writing-route footer#page-footer {
  display: none;
}

.path-local-pcl-portals.pcl-creative-writing-route #region-main,
.path-local-pcl-portals.pcl-creative-writing-route #page-content,
.path-local-pcl-portals.pcl-creative-writing-route #region-main-box {
  background: transparent;
  padding: 0;
  overflow-x: hidden;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-page--home {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 0 0;
}

@media (min-width: 992px) {
  body.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-page,
  body.path-local-pcl_portals.pcl-creative-writing-route .pcl-cw-page {
    width: calc(100vw - var(--pcl-sidebar-width, 285px)) !important;
    max-width: calc(100vw - var(--pcl-sidebar-width, 285px)) !important;
    margin: 58px 0 2rem var(--pcl-sidebar-width, 285px) !important;
    padding: 0 1.6rem 1.2rem 0.9rem !important;
    box-sizing: border-box !important;
  }

  body.path-local-pcl-portals.pcl-sidebar-collapsed.pcl-creative-writing-route .pcl-cw-page,
  body.path-local-pcl_portals.pcl-sidebar-collapsed.pcl-creative-writing-route .pcl-cw-page {
    width: calc(100vw - var(--pcl-sidebar-collapsed-width, 84px)) !important;
    max-width: calc(100vw - var(--pcl-sidebar-collapsed-width, 84px)) !important;
    margin-left: var(--pcl-sidebar-collapsed-width, 84px) !important;
    margin-top: 58px !important;
  }

  body.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-page--home,
  body.path-local-pcl_portals.pcl-creative-writing-route .pcl-cw-page--home {
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 991.98px) {
  body.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-page,
  body.path-local-pcl_portals.pcl-creative-writing-route .pcl-cw-page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 58px auto 2rem !important;
    padding: 0.35rem 0.35rem 0 !important;
  }
}

.path-local-pcl-portals.pcl-creative-writing-route .header-block {
  width: 100%;
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.path-local-pcl-portals.pcl-creative-writing-route .header-block img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.path-local-pcl-portals.pcl-creative-writing-route .footer-block {
  width: 100%;
  padding: 0;
  overflow: visible;
}

.path-local-pcl-portals.pcl-creative-writing-route .footer-block img {
  display: block;
  width: 100%;
  height: auto;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: 0;
  box-shadow: none;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-home-grid {
  margin-top: 0;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-home-link {
  display: block;
  text-decoration: none;
}

.path-local-pcl-portals.pcl-creative-writing-route .feature-card {
  padding: 30px;
  border-radius: 35px;
  background: linear-gradient(145deg, var(--ziggurat-light), var(--jellybean-light), var(--tussock-light), var(--mahogany-light));
  background-size: 300% 300%;
  animation: bubbleGradient 6s ease infinite;
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 140px;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-home-link:hover .feature-card {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.path-local-pcl-portals.pcl-creative-writing-route .feature-card::before,
.path-local-pcl-portals.pcl-creative-writing-route .feature-card::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  z-index: 0;
  animation: floaty 6s ease-in-out infinite;
}

.path-local-pcl-portals.pcl-creative-writing-route .feature-card::before {
  width: 90px;
  height: 90px;
  top: -20px;
  left: -20px;
}

.path-local-pcl-portals.pcl-creative-writing-route .feature-card::after {
  width: 120px;
  height: 120px;
  bottom: -30px;
  right: -30px;
}

.path-local-pcl-portals.pcl-creative-writing-route .feature-card--cta {
  padding-top: 24px;
  padding-bottom: 24px;
}

.path-local-pcl-portals.pcl-creative-writing-route .feature-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.15;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.path-local-pcl-portals.pcl-creative-writing-route .feature-text {
  position: relative;
  z-index: 1;
  margin: 0.35rem auto 0;
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.55;
  color: #000000;
}

.path-local-pcl-portals.pcl-creative-writing-route .feature-card .btn-warning {
  position: relative;
  z-index: 1;
  border: 0;
  background: #f0ad4e;
  color: #1e1e1e;
  font-weight: 700;
  box-shadow: none;
}

.path-local-pcl-portals.pcl-creative-writing-route .feature-card .btn-warning:hover,
.path-local-pcl-portals.pcl-creative-writing-route .feature-card .btn-warning:focus {
  background: #e19c35;
  color: #1e1e1e;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-flow-parent-page--creative-writing {
  display: grid;
  gap: 0.75rem;
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: 0.35rem 0 0;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-nav {
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-hero,
.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-footer {
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ziggurat), var(--tussock));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-banner {
  display: block;
  width: 100%;
  height: auto;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-grid {
  display: grid;
  gap: 0.85rem;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card {
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(233, 242, 246, 0.34) 42%, rgba(211, 228, 236, 0.28) 100%);
  background-size: 300% 300%;
  animation: bubbleGradient 8s ease infinite;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(10, 47, 73, 0.12);
  position: relative;
  overflow: hidden;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(120px, 170px);
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card:nth-child(even) .pcl-cw-feature-card__media {
  order: 2;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card__media {
  position: relative;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card__media img {
  display: block;
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card__body {
  position: relative;
  z-index: 1;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card h2 {
  margin: 0 0 0.25rem;
  font-family: "Nunito", sans-serif;
  color: #ffffff;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.1;
  font-weight: 900;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card p {
  margin: 0 0 0.65rem;
  color: #000000;
  font-size: 0.96rem;
  line-height: 1.5;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card .pcl-cw-eyebrow {
  margin: 0 0 0.35rem;
  color: #ffffff;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card .pcl-flow-card__button {
  margin-top: 0;
  min-height: 38px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card::before,
.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  z-index: 0;
  animation: floaty 6s ease-in-out infinite;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card::before {
  width: 90px;
  height: 90px;
  top: -20px;
  left: -20px;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card::after {
  width: 120px;
  height: 120px;
  bottom: -30px;
  right: -30px;
}

.path-local-pcl-portals.pcl-creative-writing-route .new-firework {
  position: absolute;
  top: 18px;
  left: -32px;
  z-index: 5;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-flow-parent-page--creative-writing .pcl-cw-panel {
  padding: 0.9rem 1rem;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-flow-parent-page--creative-writing .pcl-cw-panel h2 {
  margin-bottom: 0.3rem;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-flow-parent-page--creative-writing .pcl-cw-panel p {
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-flow-parent-page--creative-writing .pcl-cw-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 0.65rem;
  margin: 0.75rem 0 0.85rem;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-flow-parent-page--creative-writing .pcl-cw-metric {
  padding: 0.7rem 0.8rem;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-flow-parent-page--creative-writing .pcl-cw-metric-label {
  display: block;
  margin-bottom: 0.18rem;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-flow-parent-page--creative-writing .pcl-cw-metric-value {
  line-height: 1.1;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-flow-parent-page--creative-writing .pcl-cw-table-wrap {
  margin-top: 0.7rem;
  overflow: hidden;
  border-radius: 0.85rem;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-flow-parent-page--creative-writing .pcl-cw-table {
  width: 100%;
  border-collapse: collapse;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-flow-parent-page--creative-writing .pcl-cw-table th,
.path-local-pcl-portals.pcl-creative-writing-route .pcl-flow-parent-page--creative-writing .pcl-cw-table td {
  padding: 0.55rem 0.7rem;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-flow-parent-page--creative-writing .pcl-cw-table th {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  font-size: 0.9rem;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-flow-parent-page--creative-writing .pcl-cw-table td {
  font-size: 0.95rem;
  line-height: 1.35;
}

.path-local-pcl-portals.pcl-creative-writing-route .pcl-flow-parent-page--creative-writing .pcl-cw-empty {
  margin-top: 0.75rem;
}

@keyframes bubbleGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 767.98px) {
  .path-local-pcl-portals .pcl-portal-shell {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  .path-local-pcl-portals .pcl-portal-header-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .path-local-pcl-portals .pcl-portal-logo {
    max-width: 150px;
  }

  .path-local-pcl-portals .pcl-custom-card,
  .path-local-pcl-portals .pcl-custom-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .path-local-pcl-portals .pcl-custom-card:nth-child(even) .pcl-custom-card-left {
    order: 0;
  }

  .path-local-pcl-portals .pcl-card-btn {
    width: 100%;
    justify-content: center;
  }

  .path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card,
  .path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-feature-card:nth-child(even) .pcl-cw-feature-card__media {
    order: 0;
  }

  .path-local-pcl-portals.pcl-creative-writing-route .pcl-cw-page--home .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .path-local-pcl-portals.pcl-creative-writing-route .feature-card {
    min-height: 120px;
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .path-local-pcl-portals .pcl-portal-orb,
  .path-local-pcl-portals .pcl-custom-card,
  .path-local-pcl-portals .pcl-card-btn-icon {
    animation: none;
    transition: none;
  }

  .path-local-pcl-portals.pcl-creative-writing-route .feature-card,
  .path-local-pcl-portals.pcl-creative-writing-route .feature-card::before,
  .path-local-pcl-portals.pcl-creative-writing-route .feature-card::after {
    animation: none;
  }
}

@keyframes pclPortalFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* ── Shared video lightbox (replaces FancyBox on 3.10) ──────────────── */
.pcl-video-lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.pcl-video-lb.is-open {
  display: flex !important;
}

.pcl-video-lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.pcl-video-lb__wrap {
  position: relative;
  z-index: 1;
  width: min(900px, 96vw);
  aspect-ratio: 16 / 9;
}

.pcl-video-lb__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  opacity: 0.85;
}

.pcl-video-lb__close:hover {
  opacity: 1;
}

.pcl-video-lb__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
