/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 */
/* Hallmark · genre: editorial · tone: practical-warm · anchor: green · macrostructure: user-supplied portal-v2 · theme: studied-DNA (source: user-supplied design package) */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--green);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.section-shell {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  border-radius: 0.25rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
  gap: 1.5rem;
}

.site-brand,
.footer-brand {
  color: var(--ink);
  font-size: 1.625rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-brand span {
  color: var(--green);
}

.header-search {
  width: min(36%, 28.75rem);
  margin-left: auto;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.75rem;
  border-radius: var(--pill);
  background: var(--surface);
}

.search-form__icon,
.search-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-form__icon {
  position: absolute;
  left: 1rem;
  color: var(--muted);
}

.search-form__icon::after,
.search-icon::after {
  content: "";
  position: absolute;
  width: 0.4rem;
  height: 2px;
  transform: translate(0.65rem, 0.68rem) rotate(45deg);
  background: currentColor;
}

.search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0.7rem 1rem 0.7rem 2.75rem;
  background: transparent;
  color: var(--ink);
  font-size: 0.9375rem;
}

.search-form button {
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 0;
  border-radius: var(--pill);
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.header-search .search-form button {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

.header-newsletter {
  padding: 0.7rem 1.15rem;
  border-radius: var(--pill);
  background: var(--green);
  color: var(--white);
}

.header-newsletter:hover {
  background: var(--green-dark);
  color: var(--white);
}

.header-mobile-actions,
.mobile-search,
.mobile-menu {
  display: none;
}

.department-nav {
  border-top: 1px solid var(--line);
}

.department-nav__inner {
  display: flex;
  gap: 1.625rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.department-nav__inner::-webkit-scrollbar {
  display: none;
}

.department-nav a {
  flex: 0 0 auto;
  padding: 0.875rem 0 0.75rem;
  border-bottom: 3px solid transparent;
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
}

.department-nav a.is-active {
  border-color: var(--green);
}

.site-content {
  min-height: 50vh;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-heading h2,
.hub-chapters h2,
.hub-featured h2,
.hub-topics h2,
.related-guides > h2,
.faq-section h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.section-heading > a {
  color: var(--green);
  font-size: 0.9375rem;
  font-weight: 700;
}

.section-heading--stack {
  display: block;
}

.section-heading--stack p,
.section-heading--light p,
.hub-chapters header p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

.home-section {
  padding-block: 0 4rem;
}

.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr);
  gap: 2rem;
  padding-block: 2rem 3.5rem;
}

.portal-hero__lead {
  position: relative;
  min-height: 35rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--img-bg);
}

.portal-hero__image {
  position: absolute;
  inset: 0;
}

.portal-hero__overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 6rem 2.25rem 2.25rem;
  background: linear-gradient(to top, rgba(10, 14, 13, 0.84), rgba(10, 14, 13, 0));
  color: var(--white);
  pointer-events: none;
}

.portal-hero__overlay a {
  pointer-events: auto;
}

.portal-hero__overlay > span,
.portal-hero__side > article > span,
.story-card__meta > span,
.inspiration-lead > span,
.guide-teaser > div > span,
.content-label,
.category-feature > div > span {
  display: inline-block;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-hero__overlay > span {
  padding: 0.4rem 0.65rem;
  border-radius: 0.2rem;
  background: var(--white);
}

.portal-hero__overlay h1 {
  max-width: 47.5rem;
  margin: 0.875rem 0 0.75rem;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

.portal-hero__overlay p {
  max-width: 38.75rem;
  margin: 0;
  color: #e4e9e7;
  font-size: 1.1875rem;
  line-height: 1.5;
}

.portal-hero__side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.portal-hero__side article {
  min-width: 0;
}

.portal-hero__side-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 0.875rem;
  border-radius: var(--radius);
  background: var(--img-bg);
}

.portal-hero__side h2 {
  margin: 0.35rem 0 0;
  font-size: 1.375rem;
  font-weight: 900;
  line-height: 1.25;
  text-wrap: pretty;
}

.portal-hero--full {
  width: 100%;
  max-width: none;
  display: block;
  padding: 0 0 4rem;
}

.portal-hero--full .portal-hero__lead {
  min-height: 38.75rem;
  border-radius: 0;
}

.portal-hero--full .portal-hero__overlay {
  padding-inline: max(2rem, calc((100vw - var(--container)) / 2));
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.story-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--img-bg);
}

.story-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.875rem;
}

.story-card__meta em {
  padding: 0.15rem 0.45rem;
  border-radius: 0.2rem;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 700;
}

.story-card h3 {
  margin: 0.35rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: pretty;
}

.departments-section {
  margin-bottom: 4rem;
  padding-block: 3.5rem 4rem;
  background: var(--surface);
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.department-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow 160ms ease;
}

.department-card:hover {
  color: var(--ink);
  box-shadow: 0 6px 24px rgba(15, 40, 32, 0.1);
}

.department-card__image {
  display: block;
  aspect-ratio: 3 / 2;
  background: var(--img-bg);
}

.department-card strong {
  display: block;
  padding: 0.875rem 1rem 1rem;
  font-size: 1.0625rem;
  font-weight: 900;
}

.inspirations-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(24rem, 1fr);
  gap: 1.5rem;
}

.inspiration-lead__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  margin-bottom: 0.875rem;
  border-radius: var(--radius);
}

.inspiration-lead h3 {
  margin: 0.35rem 0 0.25rem;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.08;
}

.inspiration-lead p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.inspirations-small {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
}

.story-card--inspiration .story-card__media {
  aspect-ratio: 1;
}

.story-card--inspiration h3 {
  font-size: 1.0625rem;
}

.knowledge-section {
  margin-bottom: 4rem;
  padding-block: 3.5rem 4rem;
  background: var(--green);
  color: var(--white);
}

.section-heading--light {
  align-items: end;
}

.section-heading--light p {
  color: #cfe6dd;
}

.section-heading--light > a {
  padding: 0.6rem 1rem;
  border: 1px solid #a7d5c5;
  border-radius: var(--pill);
  color: var(--white);
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.knowledge-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.knowledge-card:hover {
  color: var(--ink);
}

.knowledge-card__image {
  display: block;
  aspect-ratio: 4 / 3;
}

.knowledge-card__copy {
  display: block;
  padding: 1rem;
}

.knowledge-card strong,
.knowledge-card small,
.knowledge-card em {
  display: block;
}

.knowledge-card strong {
  font-size: 1.125rem;
  font-weight: 900;
}

.knowledge-card small {
  min-height: 2.6em;
  margin-top: 0.3rem;
  color: var(--muted);
  line-height: 1.35;
}

.knowledge-card em {
  margin-top: 0.75rem;
  color: var(--green);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
}

.guides-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3rem;
}

.guide-teaser {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line);
}

.guide-teaser__image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 0.375rem;
}

.guide-teaser h3 {
  margin: 0.25rem 0 0.2rem;
  font-size: 1.0625rem;
  line-height: 1.28;
}

.guide-teaser small {
  color: var(--muted);
}

.newsletter-section {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(24rem, 1.25fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
  padding: 2rem;
  border-radius: 0.75rem;
  background: var(--mint);
  color: var(--green-dark);
}

.newsletter-section h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 900;
}

.newsletter-section p {
  margin: 0.4rem 0 0;
}

.newsletter-section .tnp-subscription-minimal,
.newsletter-section .tnp-subscription-minimal form {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.newsletter-section .tnp-subscription-minimal form {
  display: flex !important;
  align-items: stretch !important;
  padding: 0.25rem !important;
  border-radius: var(--pill) !important;
  background: var(--white) !important;
}

.newsletter-section .tnp-subscription-minimal input.tnp-email {
  box-sizing: border-box !important;
  min-width: 0 !important;
  flex: 1 !important;
  height: 3rem !important;
  margin: 0 !important;
  padding: 0 1rem !important;
  border: 0 !important;
  border-radius: var(--pill) !important;
  background: transparent !important;
  color: var(--ink) !important;
}

.newsletter-section .tnp-subscription-minimal input.tnp-submit {
  box-sizing: border-box !important;
  width: auto !important;
  height: 3rem !important;
  min-height: 3rem !important;
  margin: 0 !important;
  padding: 0 1.5rem !important;
  border: 0 !important;
  border-radius: var(--pill) !important;
  background: var(--raspberry) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
}

.breadcrumbs {
  padding-block: 1.25rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.35rem;
}

.category-header {
  padding-bottom: 1.5rem;
}

.category-header h1 {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
}

.category-header > p {
  max-width: 55rem;
  margin: 1rem 0;
  color: var(--text-2);
  font-size: 1.125rem;
  line-height: 1.55;
}

.topic-chips,
.filter-pills {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.topic-chips a,
.filter-pills a {
  flex: 0 0 auto;
  padding: 0.65rem 0.9rem;
  border-radius: var(--pill);
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.topic-chips a[aria-current="page"],
.filter-pills a.is-active {
  background: var(--green);
  color: var(--white);
}

.category-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(20rem, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding-block: 1rem 3rem;
}

.category-feature__image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
}

.category-feature h2 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.category-feature p {
  margin: 0;
  color: var(--text-2);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.category-listing {
  padding-bottom: 4rem;
}

.category-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  border-block: 1px solid var(--line);
}

.category-tools > span {
  color: var(--muted);
  font-size: 0.8125rem;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
  padding-top: 2rem;
}

@media (min-width: 48.0625rem) {
  .archive-grid--with-feature > .story-card:first-child {
    display: none;
  }
}

.archive-pagination {
  margin-top: 3rem;
}

.archive-pagination ul,
.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.archive-pagination a,
.archive-pagination span,
.pagination a,
.pagination span {
  display: grid;
  min-width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  padding: 0 0.7rem;
  border-radius: var(--pill);
  background: var(--surface);
  font-weight: 700;
}

.archive-pagination .current,
.pagination .current {
  background: var(--green);
  color: var(--white);
}

.load-more {
  display: none;
}

.empty-results {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--surface);
}

.category-about {
  padding-block: 3.5rem;
  background: var(--surface);
}

.category-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 1fr);
  gap: 4rem;
}

.category-about h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 900;
}

.category-about p {
  color: var(--text-2);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.category-about ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.category-about li {
  border-bottom: 1px solid var(--line);
}

.category-about a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 700;
}

.article-header {
  max-width: 82.5rem;
  padding-bottom: 1.75rem;
}

.article-header .breadcrumbs {
  padding-bottom: 1.25rem;
}

.article-header h1 {
  max-width: 60rem;
  margin: 0.75rem 0 1.125rem;
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

.article-header__lead {
  max-width: 50rem;
  margin: 0;
  color: var(--text-2);
  font-size: 1.1875rem;
  font-weight: 300;
  line-height: 1.55;
}

.article-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.article-meta span + span::before {
  content: "·";
  margin-right: 1rem;
}

.article-hero {
  overflow: hidden;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  background: var(--img-bg);
}

.mobile-toc {
  display: none;
}

.article-layout {
  display: grid;
  grid-template-columns: 13.75rem minmax(0, 43.75rem) 17.5rem;
  gap: 2rem;
  justify-content: center;
  align-items: start;
  padding-block: 2.5rem 3.5rem;
}

.article-toc-side,
.article-sidebar {
  position: sticky;
  top: 1.5rem;
}

.article-toc-side > strong,
.side-related h2 {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 900;
}

.article-toc-side nav {
  border-left: 1px solid var(--line);
}

.article-toc-side a {
  display: block;
  padding: 0.45rem 0.75rem;
  border-left: 3px solid transparent;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.article-toc-side a.is-active {
  margin-left: -1px;
  border-color: var(--green);
  color: var(--green);
  font-weight: 700;
}

.article-content {
  min-width: 0;
  color: #2a312e;
  font-size: 1.1875rem;
  line-height: 1.75;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content p {
  margin: 0 0 1.4rem;
}

.article-content h2 {
  scroll-margin-top: 2rem;
  margin: 2.25rem 0 0.75rem;
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.2;
}

.article-content h3 {
  margin: 1.5rem 0 0.5rem;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.3;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.5rem;
  padding-left: 1.3rem;
}

.article-content li + li {
  margin-top: 0.35rem;
}

.article-content .article-answer {
  margin: 0 0 2rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--green-dark);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.article-content .article-answer::before {
  content: "W skrócie";
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 900;
}

.check-first,
.article-checklist {
  margin: 0 0 2rem;
  padding: 1.25rem;
  border: 2px solid var(--green);
  border-radius: var(--radius);
}

.check-first h2,
.article-checklist h2 {
  margin-top: 0;
  color: var(--green);
  font-size: 1rem;
}

.article-figure {
  margin: 2rem 0;
}

.article-figure__image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
}

.article-figure figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.decision-table-wrap {
  margin: 2rem 0;
  overflow-x: auto;
}

.decision-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.decision-table caption {
  margin-bottom: 0.65rem;
  text-align: left;
  color: var(--ink);
  font-weight: 900;
}

.decision-table th,
.decision-table td {
  padding: 0.8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.decision-table th {
  background: var(--surface);
  color: var(--ink);
}

.hub-card {
  display: block;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
}

.hub-card:hover {
  color: var(--white);
}

.hub-card small,
.hub-card strong,
.hub-card span {
  display: block;
}

.hub-card small {
  color: #cfe6dd;
}

.hub-card strong {
  margin-top: 0.35rem;
  font-size: 1.35rem;
  font-weight: 900;
}

.hub-card span {
  width: fit-content;
  margin-top: 0.8rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid #9acdbc;
  border-radius: var(--pill);
  font-size: 0.75rem;
  font-weight: 700;
}

.side-related {
  margin-top: 1.5rem;
}

.side-related a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
}

.faq-section {
  padding-block: 3.5rem;
  background: var(--surface);
}

.faq-section__inner {
  max-width: 62rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 3.5rem;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.faq-item__sign {
  color: var(--green);
  font-size: 1.25rem;
}

.faq-item__answer {
  padding: 0 1rem 1rem;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.faq-item__answer p {
  margin: 0;
}

.related-guides {
  padding-block: 3.5rem 4rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.story-card--related h3,
.story-card--hub h3 {
  font-size: 1.0625rem;
}

.hub-hero {
  position: relative;
  min-height: 32.5rem;
  overflow: hidden;
  background: var(--green);
  color: var(--white);
}

.hub-hero__image,
.hub-hero__overlay {
  position: absolute;
  inset: 0;
}

.hub-hero__overlay {
  z-index: 1;
  background: linear-gradient(90deg, rgba(15, 92, 74, 1) 0%, rgba(15, 92, 74, 0.9) 42%, rgba(15, 92, 74, 0.05) 76%);
}

.hub-hero__copy {
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
}

.hub-hero .breadcrumbs,
.hub-hero .breadcrumbs a {
  color: #cfe6dd;
}

.hub-hero .content-label {
  padding: 0.4rem 0.65rem;
  border-radius: 0.2rem;
  background: var(--white);
}

.hub-hero h1 {
  max-width: 42rem;
  margin: 0.8rem 0 1rem;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.hub-hero__copy > p:not(.content-label) {
  max-width: 39rem;
  color: #e1efea;
  font-size: 1.125rem;
  line-height: 1.55;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.125rem;
  margin-top: 1rem;
  padding: 0 1.5rem;
  border-radius: var(--pill);
  background: var(--raspberry);
  color: var(--white);
  font-weight: 700;
}

.primary-cta:hover {
  color: var(--white);
}

.hub-chapters,
.hub-featured {
  padding-block: 3.5rem;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.chapter-card {
  display: flex;
  min-height: 16rem;
  flex-direction: column;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
}

.chapter-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.25;
}

.chapter-card p {
  margin: 0.65rem 0 1rem;
  color: var(--text-2);
  line-height: 1.5;
}

.chapter-card a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid #dce1df;
  font-weight: 700;
}

.hub-featured {
  padding-top: 0;
}

.hub-featured__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.hub-topics {
  padding-block: 3.5rem;
  background: var(--surface);
}

.hub-topics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.hub-topics__grid a {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
}

.hub-topics__grid strong,
.hub-topics__grid span {
  display: block;
}

.hub-topics__grid strong {
  color: var(--green);
  font-weight: 900;
  line-height: 1.25;
}

.hub-topics__grid span {
  margin-top: 0.5rem;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.standard-page,
.listing-header,
.listing,
.error-page {
  padding-block: 2rem 4rem;
}

.standard-page header,
.listing-header,
.error-page {
  max-width: 62rem;
}

.standard-page h1,
.listing-header h1,
.error-page h1 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.standard-page__content {
  max-width: 46rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.standard-page__content > *:first-child {
  margin-top: 0;
}

.standard-page__content p {
  margin: 0 0 1.35rem;
}

.standard-page__content h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.2;
}

.standard-page__content ul,
.standard-page__content ol {
  margin: 0 0 1.5rem;
  padding-left: 1.3rem;
}

.standard-page__content li + li {
  margin-top: 0.35rem;
}

.standard-page__content a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

.site-footer {
  background: var(--ink);
  color: #d9dedc;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 2.2fr);
  gap: 3.5rem;
  padding-block: 3.5rem 2.5rem;
  border-bottom: 1px solid #2e3431;
}

.footer-brand {
  color: var(--white);
  font-size: 1.75rem;
}

.footer-brand span {
  color: var(--footer-accent);
}

.footer-intro p {
  max-width: 21rem;
  margin: 0.75rem 0 0;
  color: #a9b2ae;
  line-height: 1.6;
}

.footer-navigation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-content: start;
  font-size: 0.9375rem;
}

.footer-group__title {
  display: block;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 900;
}

.footer-group__links {
  display: grid;
  gap: 0.75rem;
}

.footer-navigation a:hover,
.footer-meta a:hover {
  color: var(--footer-accent);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem 1.75rem;
  color: #a9b2ae;
  font-size: 0.8125rem;
}

.footer-meta nav {
  display: flex;
  gap: 1.25rem;
}

@media (max-width: 64rem) {
  .header-main {
    gap: 1rem;
  }

  .header-search {
    width: 34%;
  }

  .portal-hero {
    grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 1fr);
  }

  .latest-grid,
  .knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .article-layout {
    grid-template-columns: 11rem minmax(0, 43.75rem);
  }

  .article-sidebar {
    position: static;
    grid-column: 2;
  }

  .chapter-grid,
  .hub-topics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 48rem) {
  html {
    scroll-behavior: auto;
  }

  .header-main {
    min-height: 3.5rem;
  }

  .site-brand {
    font-size: 1.3125rem;
  }

  .header-search--desktop,
  .header-actions {
    display: none;
  }

  .header-mobile-actions {
    display: flex;
    gap: 0.1rem;
    margin-left: auto;
  }

  .icon-button {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .search-icon {
    position: relative;
  }

  .menu-icon {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }

  .menu-icon i {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: currentColor;
  }

  .department-nav__inner {
    gap: 1.25rem;
  }

  .department-nav a {
    padding-block: 0.75rem 0.65rem;
    font-size: 0.875rem;
  }

  .mobile-search[hidden],
  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-search {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: block;
    padding-top: 4rem;
    background: var(--white);
  }

  .mobile-search__inner {
    display: grid;
    gap: 1rem;
  }

  .mobile-search__close {
    min-height: 2.75rem;
    border: 0;
    background: transparent;
    color: var(--green);
    font-weight: 700;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 310;
    display: block;
    overflow-y: auto;
    padding: 1rem 1.25rem 2.5rem;
    background: var(--white);
  }

  .mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
  }

  .mobile-menu__top strong {
    font-size: 1.375rem;
    font-weight: 900;
  }

  .mobile-menu__close {
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    font-size: 1.5rem;
  }

  .mobile-menu nav > a {
    display: block;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.1875rem;
    font-weight: 700;
  }

  .mobile-menu nav > a.mobile-menu__hubs {
    margin-top: 1.5rem;
    padding: 1rem;
    border: 0;
    border-radius: var(--pill);
    background: var(--green);
    color: var(--white);
    text-align: center;
    font-size: 1rem;
  }

  .portal-hero,
  .portal-hero--full {
    display: block;
    width: min(100% - 2rem, var(--container));
    padding-block: 1rem 1.75rem;
  }

  .portal-hero__lead,
  .portal-hero--full .portal-hero__lead {
    min-height: 0;
    overflow: visible;
    background: transparent;
  }

  .portal-hero__image {
    position: static;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    background: var(--img-bg);
  }

  .portal-hero__overlay {
    position: static;
    padding: 0.875rem 0 0;
    background: transparent;
    color: var(--ink);
  }

  .portal-hero__overlay > span {
    padding: 0;
    background: transparent;
    font-size: 0.6875rem;
  }

  .portal-hero__overlay h1 {
    margin: 0.35rem 0 0.5rem;
    font-size: 1.875rem;
    line-height: 1.1;
  }

  .portal-hero__overlay p {
    color: var(--text-2);
    font-size: 1rem;
  }

  .portal-hero__side {
    display: none;
  }

  .home-section {
    padding-bottom: 2rem;
  }

  .section-heading {
    margin-bottom: 0.25rem;
  }

  .section-heading h2,
  .hub-chapters h2,
  .hub-featured h2,
  .hub-topics h2,
  .related-guides > h2,
  .faq-section h2 {
    font-size: 1.375rem;
  }

  .section-heading > a {
    display: none;
  }

  .latest-grid {
    display: block;
  }

  .story-card--latest {
    display: grid;
    grid-template-columns: 6rem 1fr;
    gap: 0.875rem;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--line);
  }

  .story-card--latest .story-card__media {
    aspect-ratio: 1;
    border-radius: 0.375rem;
  }

  .story-card--latest .story-card__meta {
    margin-top: 0;
  }

  .story-card--latest h3 {
    font-size: 1rem;
  }

  .departments-section {
    display: none;
  }

  .inspirations-section {
    width: 100%;
  }

  .inspirations-section .section-heading {
    width: calc(100% - 2rem);
    margin-inline: auto;
  }

  .inspirations-layout {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .inspiration-lead,
  .inspirations-small .story-card {
    flex: 0 0 15rem;
    scroll-snap-align: start;
  }

  .inspiration-lead__image,
  .story-card--inspiration .story-card__media {
    aspect-ratio: 4 / 5;
  }

  .inspiration-lead h3,
  .story-card--inspiration h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .inspiration-lead p,
  .inspiration-lead > span,
  .story-card--inspiration .story-card__meta {
    display: none;
  }

  .inspirations-small {
    display: contents;
  }

  .knowledge-section {
    margin-bottom: 2rem;
    padding-block: 1.75rem;
  }

  .section-heading--light {
    display: block;
    margin-bottom: 1rem;
  }

  .section-heading--light p {
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .knowledge-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .knowledge-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
  }

  .knowledge-card__image {
    display: none;
  }

  .knowledge-card__copy {
    padding: 0;
  }

  .knowledge-card small {
    display: none;
  }

  .knowledge-card strong {
    font-size: 1.0625rem;
  }

  .knowledge-card em {
    margin-top: 0.2rem;
  }

  .guides-list {
    display: block;
  }

  .guide-teaser {
    display: block;
    padding-block: 0.75rem;
  }

  .guide-teaser__image,
  .guide-teaser small {
    display: none;
  }

  .guide-teaser h3 {
    margin-top: 0.2rem;
  }

  .newsletter-section {
    display: block;
    width: calc(100% - 2rem);
    margin-bottom: 1.75rem;
    padding: 1.4rem;
  }

  .newsletter-section h2 {
    font-size: 1.375rem;
  }

  .newsletter-section p {
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .newsletter-section__form {
    margin-top: 1rem;
  }

  .newsletter-section .tnp-subscription-minimal form {
    display: grid !important;
    gap: 0.5rem !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .newsletter-section .tnp-subscription-minimal input.tnp-email,
  .newsletter-section .tnp-subscription-minimal input.tnp-submit {
    width: 100% !important;
    background: var(--white) !important;
  }

  .newsletter-section .tnp-subscription-minimal input.tnp-submit {
    background: var(--raspberry) !important;
  }

  .breadcrumbs {
    padding-block: 0.875rem;
  }

  .category-header h1 {
    font-size: 2.375rem;
  }

  .category-header > p {
    font-size: 1rem;
  }

  .topic-chips {
    width: calc(100% + 2rem);
    margin-left: -1rem;
    padding-inline: 1rem;
  }

  .category-feature {
    display: none;
  }

  .category-listing {
    width: 100%;
    padding-bottom: 2rem;
  }

  .category-tools {
    padding-inline: 1rem;
  }

  .filter-pills {
    width: 100%;
  }

  .filter-pills a {
    flex: 1;
    min-height: 2.75rem;
    display: grid;
    place-items: center;
    padding-inline: 0.5rem;
    text-align: center;
  }

  .category-tools > span {
    display: none;
  }

  .archive-grid {
    display: block;
    padding: 0 1rem;
  }

  .story-card--archive {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }

  .story-card--archive .story-card__media {
    aspect-ratio: 16 / 10;
  }

  .story-card--archive h3 {
    font-size: 1.1875rem;
    font-weight: 900;
  }

  .archive-pagination {
    display: none;
  }

  .load-more {
    display: flex;
    width: calc(100% - 2rem);
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    margin: 1.25rem auto 0;
    border: 0;
    border-radius: var(--pill);
    background: var(--surface);
    color: var(--ink);
    font-weight: 700;
  }

  .category-about {
    padding-block: 2rem;
  }

  .category-about__grid {
    display: block;
  }

  .category-about__grid > div + div {
    margin-top: 2rem;
  }

  .article-header h1 {
    font-size: 1.875rem;
    line-height: 1.12;
  }

  .article-header__lead {
    font-size: 1.0625rem;
  }

  .article-meta {
    flex-wrap: wrap;
    gap: 0.3rem 0.75rem;
  }

  .article-meta span + span::before {
    margin-right: 0.75rem;
  }

  .article-hero {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 0;
  }

  .mobile-toc {
    display: block;
    margin-top: 1.25rem;
    border-radius: var(--radius);
    background: var(--surface);
  }

  .mobile-toc > button {
    display: flex;
    width: 100%;
    min-height: 3.25rem;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 900;
  }

  .mobile-toc nav {
    padding: 0 1rem 0.65rem;
  }

  .mobile-toc nav a {
    display: block;
    padding: 0.7rem 0;
    border-top: 1px solid #dce1df;
    font-size: 0.9375rem;
    font-weight: 700;
  }

  .article-layout {
    display: flex;
    flex-direction: column;
    padding-block: 1.5rem 2rem;
  }

  .article-toc-side {
    display: none;
  }

  .article-content {
    width: 100%;
    font-size: 1.0625rem;
    line-height: 1.7;
  }

  .article-content h2 {
    font-size: 1.5rem;
  }

  .article-sidebar {
    width: 100%;
  }

  .faq-section {
    padding-block: 1.75rem;
  }

  .related-guides {
    padding-block: 1.75rem;
  }

  .related-grid {
    display: block;
    margin-top: 0.5rem;
  }

  .story-card--related {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .story-card--related .story-card__media {
    aspect-ratio: 1;
    border-radius: 0.375rem;
  }

  .story-card--related .story-card__meta {
    display: none;
  }

  .story-card--related h3 {
    margin: 0;
    font-size: 1rem;
  }

  .hub-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .hub-hero__image {
    position: static;
    aspect-ratio: 4 / 3;
    order: 1;
  }

  .hub-hero__overlay {
    display: none;
  }

  .hub-hero__copy {
    width: 100%;
    order: 2;
    padding: 1.25rem 1rem 1.75rem;
    background: var(--green);
  }

  .hub-hero__copy .breadcrumbs {
    padding-top: 0;
  }

  .hub-hero h1 {
    font-size: 2.125rem;
    line-height: 1.05;
  }

  .primary-cta {
    width: 100%;
  }

  .hub-chapters,
  .hub-featured,
  .hub-topics {
    padding-block: 1.75rem;
  }

  .chapter-grid,
  .hub-featured__grid,
  .hub-topics__grid {
    display: block;
    margin-top: 1rem;
  }

  .chapter-card,
  .hub-topics__grid a {
    min-height: 0;
    margin-bottom: 0.625rem;
    padding: 1.125rem;
  }

  .story-card--hub {
    margin-bottom: 1.25rem;
  }

  .footer-main {
    display: block;
    padding-block: 1.75rem 1.25rem;
  }

  .footer-brand {
    font-size: 1.375rem;
  }

  .footer-intro p {
    font-size: 0.875rem;
  }


  .footer-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.25rem;
    gap: 1.5rem 1rem;
    font-size: 0.875rem;
  }

  .footer-group:last-child {
    grid-column: 1 / -1;
  }

  .footer-group:last-child .footer-group__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-meta {
    display: block;
  }

  .footer-meta nav {
    flex-wrap: wrap;
    margin-top: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

