/*
 * Base: element defaults, design tokens, base theming, utilities, core
 * button block, cards. Loaded on every page.
 *
 * Order matters: the element defaults come first so everything after them
 * (tokens-driven theming, components, sections) wins ties.
 */

/* ==========================================================================
   1. Element defaults
   The normalize, form, button and heading defaults the site was designed on
   (formerly supplied by the parent theme), with values written out.
   ========================================================================== */

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
body {
  margin: 0;
  background: #F7FAFC;
}
main {
  display: block;
  min-width: 0;
}
a {
  background-color: transparent;
  color: #2B6CB0;
  text-underline-offset: .1em;
  transition: all .1s linear;
}
a:hover,
a:focus,
a:active {
  color: #215387;
  text-underline-offset: .25em;
}
a:hover,
a:active {
  outline: 0;
}
b,
strong {
  font-weight: bold;
}
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
code,
kbd,
tt,
var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: .8rem;
}
small {
  font-size: 80%;
}
img {
  border-style: none;
  display: block;
  height: auto;
  max-width: 100%;
}
figure {
  margin: .5em 0;
}
.wp-block-image {
  margin-bottom: 0;
}
table {
  margin: 0 0 1.5em;
  width: 100%;
}
ul,
ol {
  margin: 0 0 1.5em 1.5em;
  padding: 0;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}
li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}
[hidden] {
  display: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
  font-family: inherit;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: inherit;
  text-decoration: none;
}
h1 { font-weight: 700; font-size: 32px; line-height: 1.5; color: #1A202C; }
h2 { font-weight: 700; font-size: 28px; line-height: 1.5; color: #1A202C; }
h3 { font-weight: 700; font-size: 24px; line-height: 1.5; color: #1A202C; }
h4 { font-weight: 700; font-size: 22px; line-height: 1.5; color: #2D3748; }

/* Form controls */
button,
input,
optgroup,
select,
textarea {
  font-size: 100%;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
}
textarea {
  overflow: auto;
  width: 100%;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
body,
input,
select,
optgroup,
textarea {
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #2D3748;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"],
input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"],
input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"],
textarea {
  -webkit-appearance: none;
  appearance: none;
  color: #4A5568;
  border: 1px solid #CBD5E0;
  border-radius: 3px;
  padding: .4em .5em;
  max-width: 100%;
  background: #FFFFFF;
  box-shadow: 0 0 0 -7px rgba(0, 0, 0, 0);
}
::-webkit-input-placeholder {
  color: #718096;
}
::placeholder {
  color: #718096;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus,
input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus,
input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus,
input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus {
  color: #1A202C;
  border-color: #718096;
  outline: 0;
  box-shadow: 0 5px 15px -7px rgba(0, 0, 0, .1);
}

/* Buttons. The core button block inside .pc-home page sections takes the
   section's own button classes instead (sections/base.css). */
button,
.button,
.wp-block-button__link:where(:not(.pc-home *)),
.wp-element-button:where(:not(.pc-home *)),
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border-radius: 3px;
  background: #2B6CB0;
  color: #FFFFFF;
  padding: .4em 1em;
  border: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  display: inline-block;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
  box-shadow: 0 0 0 -7px rgba(0, 0, 0, 0);
}
button:visited,
.button:visited,
.wp-block-button__link:where(:not(.pc-home *)):visited,
.wp-element-button:where(:not(.pc-home *)):visited,
input[type="button"]:visited,
input[type="reset"]:visited,
input[type="submit"]:visited {
  background: #2B6CB0;
  color: #FFFFFF;
}
button:hover, button:focus, button:active,
.button:hover, .button:focus, .button:active,
.wp-block-button__link:where(:not(.pc-home *)):hover, .wp-block-button__link:where(:not(.pc-home *)):focus, .wp-block-button__link:where(:not(.pc-home *)):active,
.wp-element-button:where(:not(.pc-home *)):hover, .wp-element-button:where(:not(.pc-home *)):focus, .wp-element-button:where(:not(.pc-home *)):active,
input[type="button"]:hover, input[type="button"]:focus, input[type="button"]:active,
input[type="reset"]:hover, input[type="reset"]:focus, input[type="reset"]:active,
input[type="submit"]:hover, input[type="submit"]:focus, input[type="submit"]:active {
  color: #FFFFFF;
  background: #215387;
  box-shadow: 0 15px 25px -7px rgba(0, 0, 0, .1);
}
button:disabled, button.disabled,
.button:disabled, .button.disabled,
.wp-block-button__link:where(:not(.pc-home *)):disabled, .wp-block-button__link:where(:not(.pc-home *)).disabled,
.wp-element-button:where(:not(.pc-home *)):disabled, .wp-element-button:where(:not(.pc-home *)).disabled,
input[type="button"]:disabled, input[type="button"].disabled,
input[type="reset"]:disabled, input[type="reset"].disabled,
input[type="submit"]:disabled, input[type="submit"].disabled {
  cursor: not-allowed;
  opacity: .5;
}

/* Accessibility */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: .875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ==========================================================================
   1b. Site shell and content box
   Wrapper, container, content box and in-content spacing, plus the footer
   grid. They sit here, before the tokens and components, so a component rule
   of equal specificity still wins, as it always has.
   ========================================================================== */

/* Footer stays at the bottom of short pages. overflow:clip (not hidden)
   keeps position:sticky working for the header. */
#wrapper {
  overflow: hidden;
  overflow: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.admin-bar #wrapper {
  min-height: calc(100vh - 32px);
}
#inner-wrap {
  flex: 1 0 auto;
}

.site-container {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* The content box (page.php, single.php, index.php) */
.content-area {
  margin: 5rem 0;
}
@media (max-width: 1024px) {
  .content-area {
    margin: 3rem 0;
  }
}
@media (max-width: 767px) {
  .content-area {
    margin: 2rem 0;
  }
}
.site-main {
  min-width: 0;
}
.content-wrap {
  position: relative;
}
.content-bg {
  background: #FFFFFF;
}
.entry {
  box-shadow: 0 15px 25px -10px rgba(0, 0, 0, .05);
  border-radius: .25rem;
}
.entry.single-entry {
  box-shadow: 0 15px 15px -10px rgba(0, 0, 0, .05);
}
.entry-content-wrap {
  padding: 2rem;
}
@media (max-width: 767px) {
  .entry-content-wrap {
    padding: 1.5rem;
  }
}
@media screen and (max-width: 719px) {
  .content-bg:not(.loop-entry) {
    margin-left: -1rem;
    margin-right: -1rem;
    width: auto;
  }
}
.entry-content {
  word-break: break-word;
}
.entry-content table {
  word-break: normal;
}
.entry-content::after {
  display: table;
  clear: both;
  content: "";
}

/* Vertical rhythm inside post and page content. The block wrappers are left
   alone inside .pc-home page sections, which space themselves: :where()
   keeps each selector's specificity as it was. */
.single-content address, .single-content figure, .single-content hr, .single-content p,
.single-content table, .single-content pre, .single-content form,
.single-content .wp-block-buttons:where(:not(.pc-home, .pc-home *)), .single-content .wp-block-button:where(:not(.pc-home, .pc-home *)), .single-content .wp-block-media-text,
.single-content .wp-block-cover, .single-content .wp-block-group:where(:not(.pc-home, .pc-home *)), .single-content [class*="__inner-content"] {
  margin-top: 0;
  margin-bottom: 2rem;
}
.single-content li > img {
  display: inline-block;
}
.single-content h1, .single-content h2, .single-content h3,
.single-content h4, .single-content h5, .single-content h6 {
  margin: 1.5em 0 .5em;
}
.single-content h1:first-child, .single-content h2:first-child, .single-content h3:first-child,
.single-content h4:first-child, .single-content h5:first-child, .single-content h6:first-child,
.single-content h1 + *, .single-content h2 + *, .single-content h3 + *,
.single-content h4 + *, .single-content h5 + *, .single-content h6 + * {
  margin-top: 0;
}
.single-content ul,
.single-content ol {
  margin: 0 0 2rem;
  padding-left: 2em;
}
.single-content address:last-child, .single-content figure:last-child, .single-content hr:last-child,
.single-content p:last-child, .single-content table:last-child, .single-content pre:last-child,
.single-content form:last-child, .single-content .wp-block-buttons:last-child:where(:not(.pc-home, .pc-home *)), .single-content .wp-block-button:last-child:where(:not(.pc-home, .pc-home *)),
.single-content .wp-block-media-text:last-child, .single-content .wp-block-cover:last-child,
.single-content .wp-block-group:last-child:where(:not(.pc-home, .pc-home *)), .single-content h1:last-child, .single-content h2:last-child,
.single-content h3:last-child, .single-content h4:last-child, .single-content h5:last-child,
.single-content h6:last-child, .single-content ul:last-child, .single-content ol:last-child {
  margin-bottom: 0;
}
.entry-content.single-content {
  margin: 0;
}

/* Pages: their content brings its own heading and spacing, so the box sits
   flush (no title, no vertical padding). */
.page .content-area,
.page .site-main,
.page .entry-content-wrap {
  padding-block: 0;
  margin-block: 0;
}
.page .entry-content > :first-child {
  margin-top: 0;
}

/* Pattern pages (body.pc-canvas): no box at all, sections run full width. */
.pc-canvas .content-container.site-container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.pc-canvas .content-wrap,
.pc-canvas .entry-content-wrap {
  padding: 0;
  margin: 0;
}
.pc-canvas .entry-content.single-content {
  max-width: 100%;
}
.pc-canvas article.content-bg {
  background: transparent;
  box-shadow: none;
  border: 0;
}

/* Footer grid (parts/footer.html) */
#colophon {
  background: #0f172a;
}
.site-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr);
  gap: 131px;
  max-width: 1290px;
  margin: 0 auto;
  padding: 107px 1.5rem 30px;
}
@media screen and (max-width: 1024px) {
  .site-footer-main {
    grid-template-columns: minmax(0, 1fr);
  }
}
.site-footer-main > * {
  min-width: 0;
}
.site-footer li {
  line-height: 1.8;
}
.site-footer .wp-block-image {
  margin: 1rem 0 0;
}
.site-footer-bottom {
  display: flex;
  justify-content: center;
  max-width: 1290px;
  margin: 0 auto;
  padding: 30px 1.5rem;
  text-align: center;
}
.site-footer-bottom > * {
  flex: 1 1 0%;
  min-width: 0;
  margin: 1rem 0;
}

/* ==========================================================================
   2. Design tokens, 3. Base theming, 4. Utilities, 5. Buttons and cards
   ========================================================================== */

:root {
  --pc-brand: #0E9488;
  --pc-brand-2: #0A7567;
  --pc-brand-3: #4FD0B4;
  --pc-accent: #5dcaa5;
  --pc-on-brand: #ffffff;
  --pc-brand-soft: #E9F7F3;
  --pc-brand-soft-2: #D9EFE9;
  --pc-ink: #0E1A18;
  --pc-body: #485653;
  --pc-muted: #8A9B96;
  --pc-line: #E2EAE8;
  --pc-bg: #FAF9F6;
  --pc-surface: #FFFFFF;
  --pc-soft: #E9F7F3;
  --pc-soft-2: #F1F6F4;
  --pc-dark: #06302B;
  --pc-on-dark: #F2F8F6;
  --pc-on-dark-muted: #A7C6BF;
  --pc-teal-on-dark: #4FD0B4;
  --pc-warm: #EC8B5A;
  --pc-warm-soft: #FBEFE6;
  --pc-font: 'Inter var', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --pc-text-xs: 0.8125rem;
  --pc-text-sm: 0.9375rem;
  --pc-text-base: 1rem;
  --pc-text-lg: 1.125rem;
  --pc-text-xl: 1.25rem;
  --pc-h3: clamp(1.25rem, 1rem + 1.2vw, 1.5rem);
  --pc-h2: clamp(1.75rem, 1.2rem + 2.6vw, 2.375rem);
  --pc-h1: clamp(2.25rem, 1.4rem + 4.2vw, 3.625rem);
  --pc-w-normal: 400;
  --pc-w-medium: 500;
  --pc-w-semibold: 600;
  --pc-w-bold: 700;
  --pc-w-extra: 800;
  --pc-leading-tight: 1.15;
  --pc-leading-body: 1.65;
  --pc-tracking-tight: -0.02em;
  --pc-space-1: 0.25rem;
  --pc-space-2: 0.5rem;
  --pc-space-3: 0.75rem;
  --pc-space-4: 1rem;
  --pc-space-6: 1.5rem;
  --pc-space-8: 2rem;
  --pc-space-12: 3rem;
  --pc-space-16: 4rem;
  --pc-space-24: 6rem;
  --pc-radius-sm: 8px;
  --pc-radius: 16px;
  --pc-radius-lg: 24px;
  --pc-radius-pill: 999px;
  --pc-shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --pc-shadow: 0 10px 30px rgba(2,32,28,.08);
  --pc-shadow-brand: 0 6px 16px rgba(14,148,136,.28);
  --pc-grad-brand: linear-gradient(120deg, var(--pc-brand), var(--pc-brand-2));
  --pc-container: 1160px;
  --pc-gutter: clamp(16px, 4vw, 24px);
  --pc-focus: 0 0 0 3px rgba(14,148,136,.35);
}

@font-face {
  font-family: "Inter var";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable.woff2") format("woff2");
}
body {
  font-family: var(--pc-font);
  font-size: var(--pc-text-base);
  line-height: var(--pc-leading-body);
  color: var(--pc-body);
  background: var(--pc-bg);
  font-feature-settings: "cv11", "ss01";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--pc-ink);
  font-weight: var(--pc-w-bold);
  line-height: var(--pc-leading-tight);
  letter-spacing: var(--pc-tracking-tight);
}

a {
  color: var(--pc-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover {
  color: var(--pc-brand-2);
}

::selection {
  background: var(--pc-brand);
  color: var(--pc-on-brand);
}

:where(a, button, input, select, textarea, .wp-block-button__link):focus-visible {
  outline: none;
  box-shadow: var(--pc-focus);
}


.pc-section {
  padding-block: var(--pc-space-16);
}

.pc-section--soft {
  background: var(--pc-soft);
}

.pc-section--brand-soft {
  background: var(--pc-brand-soft);
}

.pc-section--dark {
  background: var(--pc-dark);
  color: var(--pc-on-dark-muted);
}

.pc-container {
  width: min(100% - 2 * var(--pc-gutter), var(--pc-container));
  margin-inline: auto;
}

.pc-eyebrow {
  display: inline-block;
  font-size: var(--pc-text-xs);
  font-weight: var(--pc-w-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pc-brand-2);
  background: var(--pc-brand-soft-2);
  padding: 4px 12px;
  border-radius: var(--pc-radius-pill);
}

.pc-page-hero {
  text-align: center;
  padding-block: var(--pc-space-16) var(--pc-space-8);
}
.pc-page-hero .pc-h1 {
  max-width: 18ch;
  margin-inline: auto;
}
.pc-page-hero__sub {
  color: var(--pc-body);
  font-size: var(--pc-text-lg);
  max-width: 56ch;
  margin: var(--pc-space-4) auto 0;
}

.pc-h1 {
  font-size: var(--pc-h1);
  font-weight: var(--pc-w-extra);
}

.pc-h2 {
  font-size: var(--pc-h2);
  font-weight: var(--pc-w-extra);
}

.pc-lead {
  font-size: var(--pc-text-lg);
  color: var(--pc-body);
}

.pc-muted {
  color: var(--pc-muted);
}

.pc-gradient-text {
  background: var(--pc-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pc-btn,
.wp-block-button__link:where(:not(.pc-home *)) {
  display: inline-flex;
  align-items: center;
  gap: var(--pc-space-2);
  font-weight: var(--pc-w-semibold);
  font-size: var(--pc-text-base);
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--pc-radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pc-btn--primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:where(:not(.pc-home *)) {
  background: var(--pc-brand);
  color: var(--pc-on-brand);
  box-shadow: var(--pc-shadow-brand);
}
.pc-btn--primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:where(:not(.pc-home *)):hover {
  background: var(--pc-brand-2);
  transform: translateY(-1px);
  color: var(--pc-on-brand);
}

.pc-btn--ghost,
.wp-block-button.is-style-outline .wp-block-button__link:where(:not(.pc-home *)) {
  background: transparent;
  color: var(--pc-ink);
  border-color: var(--pc-line);
}
.pc-btn--ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:where(:not(.pc-home *)):hover {
  border-color: var(--pc-brand);
  color: var(--pc-brand-2);
}

.pc-card {
  background: var(--pc-surface);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow-sm);
  padding: var(--pc-space-6);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pc-card--hover:hover {
  box-shadow: var(--pc-shadow);
  transform: translateY(-2px);
}

