/* ============================================================
   Papo Tributário – Theme CSS
   Brand: Navy #1B263B · Orange #FB8500 · White #FFFFFF
   Fonts: Montserrat (display) · Open Sans (body)
   ============================================================ */

/* ── Reset & Base ────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: 'Open Sans', system-ui, sans-serif;
  background: #FFFFFF;
  color: #1B263B;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
::selection { background: #FB8500; color: #FFFFFF; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #d8dde3; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #b9c0c8; }

/* ── Design Tokens ───────────────────────────────────────────── */
:root {
  --navy:      #1B263B;
  --orange:    #FB8500;
  --white:     #FFFFFF;
  --gray-100:  #F8F9FA;
  --gray-500:  #6C757D;
  --petrol:    #1F5F5B;
  --navy-deep: #121A2A;
  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;
  --container: 1240px;
  --pad-x: 32px;
}

/* ── Keyframes ───────────────────────────────────────────────── */
@keyframes pt-fade { from { opacity:0; } to { opacity:1; } }
@keyframes pt-pop  {
  from { opacity:0; transform:translateY(-8px) scale(.98); }
  to   { opacity:1; transform:translateY(0)   scale(1);   }
}

/* ============================================================
   HEADER
   ============================================================ */
.pt-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
}
.pt-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.pt-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.pt-logo__bubble {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 50% 50% 50% 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pt-logo__bubble span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  color: var(--white);
  letter-spacing: -0.3px;
  line-height: 1;
}
.pt-logo__text { display: flex; flex-direction: column; line-height: 1; }
.pt-logo__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.4px;
}
.pt-logo__name em { color: var(--orange); font-style: normal; }
.pt-logo__tagline {
  font-family: var(--font-body);
  font-size: 9.5px;
  color: var(--gray-500);
  margin-top: 3px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Nav */
.pt-nav { display: flex; align-items: center; gap: 4px; }
.pt-nav__link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  position: relative;
  transition: color 140ms ease;
}
.pt-nav__link:hover { color: var(--navy); }
.pt-nav__link--active { color: var(--navy); }
.pt-nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

/* Header search button */
.pt-header__search-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
  background: var(--orange);
  color: var(--white);
  padding: 11px 18px;
  border-radius: 10px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 160ms ease;
  flex-shrink: 0;
}
.pt-header__search-btn:hover { opacity: 0.9; }

/* Mobile hamburger */
.pt-header__hamburger {
  display: none;
  background: transparent;
  border: none;
  padding: 6px;
  color: var(--navy);
}

/* Nav dropdown (Categorias) */
.pt-nav__dropdown { position: relative; }
.pt-nav__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.pt-nav__chevron { transition: transform 200ms ease; flex-shrink: 0; }
.pt-nav__dropdown-trigger[aria-expanded="true"] .pt-nav__chevron { transform: rotate(180deg); }
.pt-nav__dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(27,38,59,.12);
  padding: 12px 8px;
  min-width: 248px;
  z-index: 100;
}
.pt-nav__dropdown-panel.is-hidden { display: none; }
.pt-nav__dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
  transition: background 120ms ease;
  white-space: nowrap;
}
.pt-nav__dropdown-item:hover { background: var(--gray-100); }
.pt-nav__dropdown-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   SEARCH MODAL
   ============================================================ */
.pt-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18,26,42,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 24px 24px;
  animation: pt-fade 160ms ease;
}
.pt-search-overlay.is-hidden { display: none; }
.pt-search-box {
  width: 100%;
  max-width: 640px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(15,22,38,.35);
  overflow: hidden;
  animation: pt-pop 180ms cubic-bezier(.2,.9,.3,1.2);
}
.pt-search-box__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-100);
}
.pt-search-box__input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
  background: transparent;
}
.pt-search-box__input::placeholder { color: var(--gray-500); }
.pt-search-box__esc {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: var(--gray-500);
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
  padding: 6px 10px;
  border-radius: 6px;
  letter-spacing: 0.4px;
}
.pt-search-box__body { max-height: 52vh; overflow-y: auto; }
.pt-search-box__suggestions { padding: 24px 22px; }
.pt-search-box__suggestions-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.pt-search-box__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-search-box__tag {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--navy);
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 120ms ease;
}
.pt-search-box__tag:hover { background: #ECEEF2; }
.pt-search-box__empty {
  padding: 36px 22px;
  text-align: center;
  font-family: var(--font-body);
  color: var(--gray-500);
  font-size: 14px;
}
.pt-search-box__empty strong { color: var(--navy); }
.pt-search-result {
  display: flex;
  gap: 14px;
  padding: 14px 20px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--gray-100);
  transition: background 120ms ease;
}
.pt-search-result:hover { background: var(--gray-100); }
.pt-search-result__bar {
  width: 6px;
  align-self: stretch;
  border-radius: 3px;
  flex-shrink: 0;
}
.pt-search-result__body { flex: 1; min-width: 0; }
.pt-search-result__cat {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pt-search-result__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 4px;
}
.pt-search-result__excerpt {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.pt-hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.pt-hero__arc1 {
  position: absolute;
  right: -120px; top: -120px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251,133,0,.3) 0%, transparent 65%);
  pointer-events: none;
}
.pt-hero__arc2 {
  position: absolute;
  left: 60%; bottom: -30%;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(251,133,0,.18);
  pointer-events: none;
}
.pt-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px var(--pad-x) 64px;
  position: relative;
}
.pt-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.pt-hero__eyebrow-line {
  width: 32px; height: 2px;
  background: var(--orange);
  display: inline-block;
}
.pt-hero__eyebrow-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--orange);
}
.pt-hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.pt-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -1.2px;
  margin: 0;
  color: var(--white);
}
.pt-hero__title em {
  color: var(--orange);
  font-style: italic;
  font-weight: 700;
}
.pt-hero__stats {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 28px;
}
.pt-hero__stat-divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,.18);
}
.pt-stat__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--white);
  letter-spacing: -0.6px;
}
.pt-stat__label {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 2px;
}

/* Featured post card */
.pt-hero__card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 18px;
  text-decoration: none;
  color: var(--white);
  display: block;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 200ms ease;
}
.pt-hero__card:hover { background: rgba(255,255,255,.1); }
.pt-hero__card-thumb { margin-bottom: 16px; }
.pt-hero__card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.pt-hero__card-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--orange);
}
.pt-hero__card-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
}
.pt-hero__card-date {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,.6);
}
.pt-hero__card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin: 0 0 10px;
  color: var(--white);
}
.pt-hero__card-excerpt {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
  margin: 0;
}
.pt-hero__card-cta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.pt-hero__card-cta span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.pt-filterbar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px var(--pad-x) 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.pt-filterbar__pills { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pt-filter-pill {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-100);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 120ms ease;
}
.pt-filter-pill:hover { border-color: #CBD2D9; }
.pt-filter-pill.is-active { color: var(--white); }
.pt-filter-pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.pt-filterbar__sort { display: flex; align-items: center; gap: 10px; }
.pt-filterbar__sort-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-500);
}
.pt-sort-select {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  outline: none;
  transition: border-color 120ms ease;
}
.pt-sort-select:hover { border-color: #CBD2D9; }

/* ============================================================
   SECTION HEADER (above grid)
   ============================================================ */
.pt-section-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--pad-x) 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.pt-section-header__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.5px;
  color: var(--navy);
  margin: 0;
}
.pt-section-header__sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-500);
  margin: 4px 0 0;
}

/* ============================================================
   POST GRID & CARDS
   ============================================================ */
.pt-post-grid-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 18px 60px;
}
.pt-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pt-post-grid.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pt-post-grid.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.pt-post-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  padding: 14px;
  border-radius: 16px;
  transition: transform 180ms ease, background 180ms ease;
}
.pt-post-card:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}
.pt-post-card:hover .pt-card__title { color: var(--orange); }

.pt-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-500);
}
.pt-card__meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gray-500);
}
.pt-card__meta-read {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pt-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--navy);
  margin: 0;
  transition: color 160ms ease;
}
.pt-card__excerpt {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-500);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pt-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}
.pt-card__read-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pt-card__bookmark {
  background: transparent;
  border: none;
  color: var(--gray-500);
  padding: 4px;
  line-height: 1;
  transition: color 120ms ease;
}
.pt-card__bookmark:hover { color: var(--navy); }
.pt-card__bookmark.is-saved { color: var(--orange); }

/* Empty state */
.pt-empty-state {
  text-align: center;
  padding: 60px 20px;
  font-family: var(--font-body);
  color: var(--gray-500);
  display: none;
}
.pt-empty-state.is-visible { display: block; }

/* ============================================================
   BRANDED THUMBNAILS
   ============================================================ */
.pt-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pt-thumb--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.pt-thumb__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.08) 0, transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(0,0,0,.12) 0, transparent 50%);
}
.pt-thumb__dots {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.08;
}
.pt-thumb__icon {
  position: relative;
  color: white;
  opacity: 0.95;
}
.pt-thumb__cat-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pt-thumb__cat-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.pt-thumb__logo-mark {
  position: absolute;
  bottom: 10px; right: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: white;
  opacity: 0.85;
}
.pt-thumb__logo-icon {
  width: 16px; height: 16px;
  background: white;
  border-radius: 50% 50% 50% 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 6px;
  line-height: 1;
}
.pt-thumb__logo-mark span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.3px;
}

/* ============================================================
   LEGAL NOTE
   ============================================================ */
.pt-legal {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}
.pt-legal__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px var(--pad-x);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--gray-100);
}
.pt-legal__bar {
  width: 4px;
  align-self: stretch;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}
.pt-legal__heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--navy);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pt-legal__text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-500);
  margin: 0;
  max-width: 920px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.pt-footer {
  background: var(--navy-deep);
  color: var(--white);
}
.pt-footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px var(--pad-x) 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.pt-footer__brand p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,.6);
  margin-top: 18px;
  max-width: 320px;
}
.pt-footer__col-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.pt-footer__col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 10px;
}
.pt-footer__col a {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: color 120ms ease;
}
.pt-footer__col a:hover { color: var(--white); }
.pt-footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--pad-x);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

/* Footer logo (inverted) */
.pt-logo--inverted .pt-logo__name { color: var(--white); }
.pt-logo--inverted .pt-logo__tagline { color: rgba(255,255,255,.65); }

/* ============================================================
   SVG ICON UTILITY
   ============================================================ */
.pt-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pt-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .pt-hero__title { font-size: 42px; }
  .pt-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pt-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  :root { --pad-x: 20px; }
  .pt-nav { display: none; }
  .pt-header__hamburger { display: block; }
  /* Botão de busca: ícone apenas no mobile */
  .pt-header__search-btn {
    font-size: 0;        /* esconde o texto "Buscar artigo" */
    padding: 10px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pt-header__search-btn .pt-icon { width: 18px; height: 18px; }
  .pt-hero__title { font-size: 32px; }
  .pt-hero__inner { padding: 36px var(--pad-x) 48px; }
  .pt-post-grid { grid-template-columns: 1fr; }
  .pt-footer__grid { grid-template-columns: 1fr; }
  .pt-filterbar { flex-direction: column; align-items: flex-start; }
  .pt-hero__stats { gap: 20px; }
  .pt-hero__title { font-size: 28px; line-height: 1.1; }
}

@media (max-width: 480px) {
  .pt-filter-pill { font-size: 12px; padding: 8px 12px; }
  .pt-hero__card-title { font-size: 18px; }
}

/* ============================================================
   INSTITUTIONAL PAGES
   ============================================================ */

/* Hero */
.pt-inst-hero {
  background: var(--navy-deep);
  padding: 88px var(--pad-x) 96px;
}
.pt-inst-hero__inner { max-width: 880px; margin: 0 auto; }
.pt-inst-hero__eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.pt-inst-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 52px;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0 0 24px;
}
.pt-inst-hero__lead {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  max-width: 720px;
  margin: 0;
}
.pt-inst-hero__meta {
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,.6);
}

/* Principles */
.pt-principles { padding: 80px var(--pad-x) 100px; background: var(--white); }
.pt-principles__inner { max-width: 1080px; margin: 0 auto; }
.pt-principles__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
.pt-principles__lead {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-500);
  margin: 0 0 48px;
}
.pt-principles__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.pt-principle-card {
  display: flex;
  gap: 20px;
  padding: 28px 24px;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
}
.pt-principle-card__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--orange);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.pt-principle-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin: 0 0 8px;
}
.pt-principle-card__text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* CTA */
.pt-inst-cta { background: var(--gray-100); padding: 64px var(--pad-x); text-align: center; }
.pt-inst-cta__inner { max-width: 600px; margin: 0 auto; }
.pt-inst-cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}
.pt-inst-cta__text {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-500);
  margin: 0 0 32px;
}
.pt-inst-cta__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.pt-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 160ms ease;
  display: inline-flex;
  align-items: center;
  border: none;
  cursor: pointer;
}
.pt-btn:hover { opacity: 0.88; }
.pt-btn--orange { background: var(--orange); color: var(--white); }
.pt-btn--outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }

/* Contact page */
.pt-contact-grid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
}
.pt-contact-grid__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 24px;
}
.pt-contact-cards { display: flex; flex-direction: column; gap: 18px; }
.pt-contact-card { background: var(--gray-100); padding: 20px 22px; border-radius: 10px; }
.pt-contact-card--orange { border-left: 4px solid var(--orange); }
.pt-contact-card--warning { background: #FFF5E6; border: 1px dashed var(--orange); }
.pt-contact-card__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.pt-contact-card__eyebrow--orange { color: var(--orange); }
.pt-contact-card__eyebrow--navy   { color: var(--navy); }
.pt-contact-card__link {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.pt-contact-card__link:hover { color: var(--orange); }
.pt-contact-card__text { font-family: var(--font-body); font-size: 14px; color: var(--gray-500); line-height: 1.6; margin: 0; }

/* Contact form */
.pt-contact-form { display: flex; flex-direction: column; gap: 18px; }
.pt-contact-form__group { display: flex; flex-direction: column; gap: 6px; }
.pt-contact-form__label { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--navy); }
.pt-contact-form__required { color: var(--orange); }
.pt-contact-form__input,
.pt-contact-form__select,
.pt-contact-form__textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--navy);
  border: 1.5px solid #DDE1E9;
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 150ms;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}
.pt-contact-form__input:focus,
.pt-contact-form__select:focus,
.pt-contact-form__textarea:focus { border-color: var(--navy); }
.pt-contact-form__textarea { resize: vertical; min-height: 120px; }
.pt-contact-form__submit {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity 160ms;
}
.pt-contact-form__submit:hover { opacity: 0.9; }
.pt-contact-form__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.pt-form-success { background: var(--gray-100); border-radius: 12px; padding: 40px 36px; }
.pt-form-success__title { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--navy); margin: 0 0 12px; }
.pt-form-success__text { font-family: var(--font-body); font-size: 15px; color: var(--gray-500); margin: 0; }

/* Policy pages */
.pt-policy-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px var(--pad-x) 100px;
  display: grid;
  gap: 32px;
}
.pt-policy-block__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.3px;
  margin: 0 0 12px;
}
.pt-policy-block__text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--navy);
  margin: 0;
  white-space: pre-line;
}

/* Institutional responsive */
@media (max-width: 900px) {
  .pt-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .pt-principles__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .pt-inst-hero { padding: 56px var(--pad-x) 64px; }
  .pt-inst-hero__title { font-size: 34px; }
  .pt-inst-hero__lead { font-size: 16px; }
  .pt-policy-content { padding: 48px var(--pad-x) 64px; }
}
