/*
Theme Name: Clean Tannery Theme
Theme URI: https://cleantannery.com
Author: Internal
Description: Static site for Clean Tannery.
Version: 0.1.8
Text Domain: clean-tannery
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
*/

:root {
  --pf-ink: #121A18;
  --pf-muted: #62706B;
  --pf-line: #D8DFDC;
  --pf-paper: #F2F4F3;
  --pf-panel: #ffffff;
  --pf-related-surface: #F2F4F3;
  --pf-negative-surface: #121A18;
  --pf-primary: #00796B;
  --pf-primary-dark: #005E53;
  --pf-accent: #C95A19;
  --pf-content-width: 1180px;
  --pf-radius: 8px;
  --pf-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  --pf-heading: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  --pf-hero-overlay-opacity: 0.6;
  --pf-hero-min-height: clamp(520px, 70vh, 760px);
  --pf-hero-padding-y: clamp(70px, 10vw, 132px);
  --pf-hero-padding-x: clamp(18px, 5vw, 72px);
  --pf-editorial-slider-min-height: calc(var(--pf-hero-min-height) + 50px);
  --pf-editorial-slider-padding-y: calc(var(--pf-hero-padding-y) + 25px);
  --pf-page-header-top: clamp(40px, 5vw, 64px);
  --pf-page-header-bottom: 32px;
  --pf-page-content-top: clamp(40px, 5vw, 64px);
  --pf-header-height: 76px;
  --pf-card-grid-gap: clamp(20px, 3vw, 34px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--pf-ink);
  font-family: var(--pf-body);
  line-height: 1.55;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
a:hover {
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.brand:hover,
.button:hover,
.header-search-toggle:hover,
.nav-toggle:hover,
.site-search-close:hover,
.site-search-backdrop:hover,
.editorial-hero-control:hover,
.editorial-hero-dot:hover,
.news-bar-control:hover,
.category-card:hover,
.post-card-image:hover,
.article-share-icon:hover { text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 10px clamp(18px, 4.8vw, 72px);
  background: color-mix(in srgb, #fff 90%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--pf-ink) 12%, transparent);
  backdrop-filter: blur(18px);
}
.site-header.header-nav-right { justify-content: flex-start; }
.site-header.header-nav-right .main-nav { margin-left: auto; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #fff;
  color: var(--pf-ink);
  font-weight: 800;
}
.brand strong { display: block; font-size: 16px; }
.brand small { display: block; color: var(--pf-muted); font-size: 13px; }
.brand.brand-wordmark-only strong { color: var(--pf-ink); font-size: 22px; font-weight: 800; letter-spacing: var(--pf-wordmark-spacing, 0); text-transform: uppercase; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.main-nav a {
  display: inline-flex;
  padding: 8px 13px 4px;
  border-bottom: 0;
  font-weight: 720;
  text-decoration: none;
}
.main-nav a:hover { color: var(--pf-ink); }
.main-nav a:not(.nav-cta):hover,
.main-nav li.is-active > a:not(.nav-cta),
.main-nav .current-menu-item > a:not(.nav-cta),
.main-nav a.is-active:not(.nav-cta) {
  text-decoration-line: underline;
  text-decoration-color: var(--pf-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.main-nav a.nav-cta {
  margin-left: 8px;
  padding: 9px 16px;
  border: 1px solid var(--pf-ink);
  border-radius: 0;
  background: var(--pf-ink);
  color: #fff;
}
.main-nav .nav-cta-item > a {
  margin-left: 8px;
  padding: 9px 16px;
  border: 1px solid var(--pf-ink);
  border-bottom: 1px solid var(--pf-ink);
  border-radius: 0;
  background: #fff;
  color: var(--pf-ink);
}
.main-nav a.nav-cta:hover { background: var(--pf-primary-dark); border-color: var(--pf-primary-dark); color: #fff; }
.main-nav .nav-cta-item > a:hover { background: var(--pf-primary-dark); border-color: var(--pf-primary-dark); color: #fff; }
.main-nav a.nav-cta[aria-current="page"],
.main-nav .current-menu-item > a.nav-cta,
.main-nav .current-menu-item.nav-cta-item > a { box-shadow: inset 0 -2px 0 #fff; }
.header-search-toggle {
  min-height: 42px;
  margin-left: 8px;
  padding: 9px 12px;
  border: 1px solid var(--pf-line);
  border-radius: 0;
  background: #fff;
  color: var(--pf-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
}
.header-search-toggle:hover { border-color: var(--pf-ink); }
.header-search-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  min-width: 42px;
  padding: 0;
  border-color: transparent;
  background: transparent;
}
.search-icon {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
  border: 2px solid var(--pf-muted);
  border-radius: 50%;
  transition: border-color 160ms ease;
}
.search-icon::after {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  background: var(--pf-muted);
  content: "";
  transform: rotate(45deg);
  transform-origin: center;
  transition: background 160ms ease;
}
.header-search-toggle-icon:hover { border-color: transparent; }
.header-search-toggle-icon:hover .search-icon { border-color: var(--pf-ink); }
.header-search-toggle-icon:hover .search-icon::after { background: var(--pf-ink); }
.site-search-panel {
  position: relative;
  z-index: 19;
  padding: 18px clamp(18px, 4.8vw, 72px);
  border-bottom: 1px solid var(--pf-line);
  background: #fff;
}
.site-search-panel-overlay {
  position: fixed;
  top: 84px;
  right: 0;
  left: 0;
  z-index: 19;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.08);
}
.site-search-panel-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 0;
  border: 0;
  background: transparent;
}
.site-search-panel-drawer .site-search-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(0 0 0 / 0.36);
  cursor: default;
}
.site-search-panel-drawer .site-search-inner {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  align-content: start;
  gap: 34px;
  width: min(100%, 460px);
  min-height: 100dvh;
  margin: 0;
  padding: 30px;
  overflow-y: auto;
  background: #fff;
  color: var(--pf-ink);
  box-shadow: -18px 0 42px rgb(0 0 0 / 0.16);
}
.site-search-drawer-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 16px;
  color: var(--pf-ink);
  font-size: 14px;
  font-weight: 800;
}
.site-search-close {
  position: fixed;
  top: calc((var(--pf-header-height) - 36px) / 2);
  right: var(--pf-hero-padding-x);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pf-muted);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.site-search-close:hover { color: var(--pf-accent); }
.site-search-drawer-content { display: grid; gap: 34px; }
.site-search-panel-drawer .search-form { display: flex; gap: 8px; }
.site-search-panel-drawer .search-form input { width: 100%; background: #fff; color: var(--pf-ink); }
.site-search-drawer-links { display: grid; gap: 30px; }
.site-search-drawer-links section { display: grid; gap: 12px; }
.site-search-drawer-links h2 { margin: 0; color: var(--pf-muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.site-search-drawer-links nav { display: grid; border-top: 1px solid var(--pf-line); }
.site-search-drawer-links a { padding: 13px 0; border-bottom: 1px solid var(--pf-line); color: var(--pf-ink); font-size: 16px; font-weight: 700; text-decoration: none; }
.site-search-drawer-links a:hover { color: var(--pf-accent); }
.site-mobile-drawer-menu { display: none; }
body.has-site-drawer { overflow: hidden; }
.site-search-inner { width: min(720px, 100%); margin: 0 auto; }
.site-search-panel .search-form { display: flex; gap: 10px; }
.site-search-panel .search-form label { flex: 1; }
.site-search-panel .search-form input { width: 100%; }
.nav-dropdown {
  position: relative;
}
.nav-dropdown summary {
  list-style: none;
  display: inline-flex;
  padding: 8px 13px 4px;
  border-bottom: 0;
  font-weight: 720;
  cursor: pointer;
}
.nav-dropdown summary::-webkit-details-marker {
  display: none;
}
.nav-dropdown.is-active summary,
.nav-dropdown summary.is-active,
.nav-dropdown summary:hover {
  text-decoration-line: underline;
  text-decoration-color: var(--pf-ink);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  min-width: 180px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--pf-line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  z-index: 30;
}
.dropdown-panel a {
  padding: 10px 12px;
  border-radius: 6px;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--pf-line);
  background: var(--pf-panel);
  border-radius: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--pf-ink);
}

.news-bar {
  position: relative;
  z-index: 9;
  background: var(--pf-accent);
  color: #fff;
}
.news-bar-inner {
  margin-inline: var(--pf-hero-padding-x);
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}
.news-bar.has-controls .news-bar-inner {
  grid-template-columns: 34px auto minmax(0, 1fr) 34px;
}
.news-bar-label {
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.news-bar-viewport {
  position: relative;
  min-width: 0;
  min-height: 26px;
  overflow: hidden;
}
.news-bar-item {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  text-overflow: ellipsis;
  transform: translateY(20%);
  transition: opacity 240ms ease, transform 240ms ease;
  white-space: nowrap;
}
.news-bar-item.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%);
}
.news-bar-item:hover { text-decoration: underline; text-underline-offset: 3px; }
.news-bar-control,
.editorial-hero-controls > button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.news-bar-control {
  border: 0;
}
.news-bar-control:hover,
.news-bar-control:focus-visible,
.editorial-hero-controls > button:hover,
.editorial-hero-controls > button:focus-visible {
  background: #fff;
  color: var(--pf-ink);
  outline: 0;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--pf-heading);
  line-height: 1.08;
  letter-spacing: 0;
}
h1 { font-size: clamp(36px, 4.8vw, 80px); line-height: 1.06; font-weight: 300; letter-spacing: 0; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; font-weight: 300; letter-spacing: 0; }
h3 { font-size: clamp(16px, 1.9vw, 24px); line-height: 1.2; font-weight: 650; letter-spacing: 0; }
p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--pf-ink);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--pf-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.magazine-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(340px, 0.88fr);
  background: color-mix(in srgb, var(--pf-paper) 70%, #fff);
  border-bottom: 1px solid var(--pf-line);
}
.hero-standard {
  position: relative;
  min-height: var(--pf-hero-min-height);
  display: grid;
  align-content: center;
  gap: 28px;
  padding: var(--pf-hero-padding-y) var(--pf-hero-padding-x);
  overflow: hidden;
  background: var(--pf-ink);
  color: #fff;
}
.hero-standard > * {
  position: relative;
  z-index: 2;
}
.hero-standard > :not(img) {
  max-width: min(50%, 720px);
}
.hero-standard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-standard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--pf-hero-overlay-opacity));
  z-index: 1;
}
.hero-standard h1 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  font-weight: 360;
}
.hero-standard p {
  margin: 0;
  font-size: 20px;
  color: #fff;
}
.hero-standard .eyebrow {
  font-size: 12px;
  color: color-mix(in srgb, var(--pf-primary) 55%, #fff);
}
.hero-standard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.editorial-hero-slider {
  position: relative;
  min-height: var(--pf-editorial-slider-min-height);
  overflow: hidden;
  background: var(--pf-ink);
}
.editorial-hero-slides {
  position: absolute;
  inset: 0;
}
.editorial-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: var(--pf-editorial-slider-min-height);
  display: grid;
  align-content: center;
  gap: 28px;
  padding: var(--pf-editorial-slider-padding-y) var(--pf-hero-padding-x);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 420ms ease, visibility 420ms ease;
}
.editorial-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.editorial-hero-slide img {
  transform: scale(1.015);
  transition: transform 6.5s ease;
}
.editorial-hero-slide.is-active img { transform: scale(1); }
.editorial-hero-slide h2 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  font-weight: 360;
}
.hero-standard.editorial-hero-slide > h1,
.hero-standard.editorial-hero-slide > h2 {
  max-width: min(70%, 980px);
}
.editorial-hero-controls {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(24px, 4vw, 48px);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
}
.editorial-hero-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-inline: 4px;
}
.editorial-hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.editorial-hero-dots button.is-active { background: #fff; }
.editorial-hero-dots button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.catalog-cta {
  min-height: clamp(520px, 70vh, 760px);
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(70px, 10vw, 132px) clamp(18px, 5vw, 72px);
  background: #fff;
  color: var(--pf-ink);
}
.catalog-cta-inner {
  display: grid;
  gap: 20px;
  max-width: min(50%, 720px);
}
.catalog-cta h2 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  font-weight: 360;
}
.catalog-cta p {
  max-width: 680px;
  margin: 0;
  font-size: 20px;
}
.catalog-cta .eyebrow {
  font-size: 12px;
  line-height: 1.2;
}
.catalog-cta.center {
  justify-items: center;
  text-align: center;
}
.catalog-cta.center .catalog-cta-inner {
  justify-items: center;
}
.catalog-cta.left {
  justify-items: start;
  text-align: left;
}
.catalog-cta.dark {
  background: var(--pf-ink);
  color: #fff;
}
.catalog-cta.dark p {
  color: #fff;
}
.catalog-cta.dark .button {
  background: #fff;
  color: var(--pf-ink);
}
.lead-story {
  position: relative;
  min-height: min(720px, calc(96svh - 116px));
  display: flex;
  align-items: end;
  overflow: hidden;
  background: var(--pf-ink);
}
.lead-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lead-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 14, 9, 0.76), rgba(24, 14, 9, 0.38) 52%, rgba(24, 14, 9, 0.05)),
    linear-gradient(0deg, rgba(24, 14, 9, 0.68), rgba(24, 14, 9, 0.03) 58%);
}
.lead-story-content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  padding: clamp(28px, 5.4vw, 78px);
  color: #fff;
}
.lead-story-content p {
  color: #fff;
}
.top-stories {
  display: grid;
  grid-template-rows: auto repeat(3, 1fr);
  border-top: 6px solid var(--pf-primary);
  border-left: 1px solid var(--pf-line);
  background: var(--pf-paper);
}
.issue-label {
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--pf-line);
}
.top-stories article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 30px);
  border-bottom: 1px solid var(--pf-line);
  background: color-mix(in srgb, #fff 42%, transparent);
}
.top-stories h2 { font-size: clamp(19px, 1.8vw, 25px); }
.top-stories p,
.top-stories a { font-size: 14px; }
.top-stories a { color: var(--pf-primary-dark); font-weight: 800; }

.ticker {
  display: grid;
  gap: clamp(34px, 5vw, 70px);
  padding: clamp(70px, 8vw, 116px) clamp(18px, 5vw, 72px);
  background: var(--pf-ink);
  color: #fff;
}
.ticker-heading {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.ticker-heading h2,
.ticker-heading p,
.ticker-heading .eyebrow {
  color: #fff;
}
.ticker-heading h2 {
  max-width: 820px;
  margin-inline: auto;
  text-wrap: balance;
}
.ticker-heading > p:not(.eyebrow) {
  max-width: 680px;
  margin-inline: auto;
}
.ticker-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.ticker .stat-item {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding: clamp(26px, 4vw, 54px) clamp(16px, 3vw, 38px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}
.ticker .stat-item:last-child {
  border-right: 0;
}
.ticker strong {
  display: block;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1;
  font-weight: 560;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.ticker span {
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
}

.section { padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 72px); }
.section.compact { padding-top: clamp(42px, 6vw, 72px); padding-bottom: clamp(42px, 6vw, 72px); }
.section.band { background: #fff; border-top: 1px solid var(--pf-line); border-bottom: 1px solid var(--pf-line); }
.section-soft {
  background: color-mix(in srgb, #fff 64%, var(--pf-paper));
}
.section-head {
  width: min(100%, var(--pf-content-width));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(30px, 4vw, 52px);
  margin-inline: auto;
}
.section-head > div { max-width: 860px; }
.section-head p {
  max-width: 660px;
  margin: 10px 0 0;
}
.entry-lead {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: 16px;
}
.search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.search-form input {
  min-height: 44px;
  width: min(300px, 62vw);
  padding: 10px 12px;
  border: 1px solid var(--pf-line);
  border-radius: 6px;
  background: #fff;
  color: var(--pf-ink);
  font: inherit;
}
.content-grid {
  width: min(100%, var(--pf-content-width));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pf-card-grid-gap);
  margin-inline: auto;
}
.section-cta-center {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.pagination,
.posts-pagination {
  margin-top: clamp(34px, 5vw, 68px);
}
.pagination .nav-links,
.posts-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.page-numbers,
.posts-pagination a,
.posts-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--pf-line);
  background: #fff;
  color: var(--pf-ink);
  font-size: 15px;
  font-weight: 750;
}
.page-numbers.current,
.posts-pagination .current {
  background: var(--pf-ink);
  border-color: var(--pf-ink);
  color: #fff;
}
.page-numbers.prev,
.page-numbers.next,
.posts-pagination .prev,
.posts-pagination .next {
  min-width: 56px;
}
.post-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.post-card-image {
  position: relative;
  aspect-ratio: 3 / 2;
  background: color-mix(in srgb, var(--pf-primary) 10%, #fff);
}
.post-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-grid .post-card-image {
  height: auto;
  aspect-ratio: 3 / 2;
}
.post-card-kicker {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(24, 33, 31, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.post-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 18px 0 0;
}
.post-card-body .meta {
  color: var(--pf-muted);
}
.post-card-body h3 {
  margin: 0;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.08;
  font-weight: 450;
  letter-spacing: -0.01em;
}
.post-card-body p {
  margin: 0;
  color: var(--pf-ink);
  font-size: 18px;
  line-height: 1.45;
}
.post-card-link {
  align-self: flex-start;
  margin-top: auto;
  color: var(--pf-primary-dark);
  font-size: 15px;
  font-weight: 800;
}
.creative-grid {
  width: min(100%, var(--pf-content-width));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
  margin-inline: auto;
}
.creative-card {
  display: grid;
  gap: 12px;
  padding: 26px 0 0;
  border-top: 1px solid var(--pf-line);
}
.creative-service-number {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.9;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--pf-ink);
}
.creative-card h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.creative-card p {
  margin: 0;
  max-width: 38ch;
  font-size: 18px;
  line-height: 1.5;
}
.creative-card time {
  color: var(--pf-muted);
  font-size: 13px;
}
.category-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--pf-line);
  border-radius: 0;
  background: #fff;
  color: var(--pf-ink);
  text-decoration: none;
}
.category-card strong {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.08;
}
.category-card p {
  margin: 0;
  color: var(--pf-ink);
  font-size: 18px;
  line-height: 1.5;
}
.category-card-body {
  display: grid;
  gap: 12px;
}
.category-card-media {
  display: block;
  overflow: hidden;
  margin: -22px -22px 8px;
  aspect-ratio: 3 / 2;
  border-radius: 0;
}
.category-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.category-card-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  background: color-mix(in srgb, var(--pf-primary) 10%, #fff);
  color: var(--pf-primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.category-card-compact {
  background: color-mix(in srgb, var(--pf-primary) 4%, #fff);
}
.category-card-featured {
  background: var(--pf-ink);
  color: #fff;
  border-color: var(--pf-ink);
}
.category-card-featured p,
.category-card-featured strong {
  color: #fff;
}
.category-card-featured .category-card-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.category-card-solution {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 0;
  background: #fff;
}
.category-card-solution .category-card-media {
  margin: 0;
  aspect-ratio: 3 / 2;
}
.category-card-solution .category-card-body {
  flex: 1;
  grid-template-rows: auto minmax(2.1em, auto) 1fr auto;
  align-content: start;
  padding: 24px 0 0;
}
.category-card-solution strong {
  max-width: 12ch;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.03;
  font-weight: 750;
}
.category-card-solution .category-card-eyebrow {
  background: transparent;
  padding: 0;
  color: var(--pf-primary-dark);
}
.category-card-boxed {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 1px solid var(--pf-line);
  background: #fff;
}
.category-card-boxed .category-card-media {
  margin: 0;
  aspect-ratio: 3 / 2;
  border-bottom: 1px solid var(--pf-line);
}
.category-card-boxed .category-card-body {
  flex: 1;
  grid-template-rows: auto minmax(2.1em, auto) 1fr auto;
  align-content: start;
  padding: 22px;
}
.category-card-boxed strong {
  max-width: 13ch;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.08;
  font-weight: 720;
}
.category-card-boxed .category-card-eyebrow {
  background: transparent;
  padding: 0;
  color: var(--pf-primary-dark);
}
.resource-card .category-card-body { grid-template-rows: auto minmax(2.1em, auto) 1fr auto; }
.resource-card-file {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--pf-primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.resource-card-file-icon,
.resource-card-download > span {
  display: inline-grid;
  place-items: center;
}
.resource-card-file svg,
.resource-card-download svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.resource-card-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: start;
  margin-top: 10px;
  color: var(--pf-primary-dark);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.resource-card-download:hover { text-decoration: underline; }
.category-card-link {
  align-self: start;
  margin-top: 8px;
  color: var(--pf-primary-dark);
  font-size: 15px;
  font-weight: 800;
}
.category-card:hover .category-card-link { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 3px; }
.sector-grid {
  justify-content: center;
  max-width: var(--pf-content-width);
  margin: 0 auto;
}
.category-grid-section .section-head {
  justify-content: center;
  text-align: center;
}
.category-grid-section,
.category-solutions-section {
  background: #fff;
}
.category-grid-section .section-head > div,
.category-grid-section .section-head p {
  margin-left: auto;
  margin-right: auto;
}
.sector-grid.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  width: min(100%, var(--pf-content-width));
  margin-inline: auto;
}
.category-grid-action {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 46px);
}
.category-grid-action .button {
  background: var(--pf-primary);
}
.category-grid-action .button:hover {
  background: var(--pf-primary-dark);
}
.category-solutions-section .section-head {
  justify-content: center;
  text-align: center;
}
.category-solutions-section .section-head > div {
  max-width: 760px;
}
.category-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pf-card-grid-gap);
  width: min(100%, var(--pf-content-width));
  margin-inline: auto;
}
.area-explorer-section { background: #fff; }
.area-explorer-section .section-head {
  justify-content: center;
  text-align: center;
}
.area-explorer-section .section-head > div,
.area-explorer-section .section-head p {
  margin-left: auto;
  margin-right: auto;
}
.area-explorer-grid { gap: clamp(16px, 2vw, 24px); }
.category-card-explorer {
  min-height: 220px;
  padding: 24px;
  transition: border-color 160ms ease, background 160ms ease;
}
.category-card-explorer:hover {
  border-color: var(--pf-ink);
  background: var(--pf-paper);
}
.category-card-explorer strong {
  max-width: 16ch;
  font-size: clamp(20px, 1.8vw, 26px);
}
.category-card-explorer .category-card-eyebrow {
  padding: 0;
  background: transparent;
  color: var(--pf-primary-dark);
}
.category-filtered-posts {
  background: #fff;
  padding-top: clamp(40px, 5vw, 64px);
}
.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(100%, var(--pf-content-width));
  margin: 0 auto clamp(32px, 4vw, 52px);
}
.category-filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--pf-ink);
  border-radius: 0;
  background: #fff;
  color: var(--pf-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.category-filter-chip:hover,
.category-filter-chip:focus-visible,
.category-filter-chip.is-active {
  background: var(--pf-ink);
  color: #fff;
  outline: 0;
}
.category-filter-empty {
  width: min(100%, var(--pf-content-width));
  margin: 0 auto;
  color: var(--pf-muted);
}
.creative-feature {
  width: min(100%, var(--pf-content-width));
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  margin-inline: auto;
}
.creative-feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.creative-feature-copy {
  display: grid;
  gap: 16px;
}
.creative-feature-copy h3 {
  margin: 0;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.98;
  font-weight: 380;
}
.magazine-home-section .creative-feature {
  margin-bottom: clamp(42px, 6vw, 76px);
}
.magazine-home-section .creative-feature-copy h3 {
  font-size: clamp(32px, 3.8vw, 56px);
}
.magazine-home-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.newsletter-dark-section {
  background: var(--pf-primary);
  color: #fff;
}
.newsletter-dark-inner {
  display: grid;
  justify-items: center;
  gap: clamp(24px, 4vw, 42px);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-dark-copy {
  display: grid;
  gap: 16px;
}
.newsletter-dark-section h2,
.newsletter-dark-section p,
.newsletter-dark-section .eyebrow {
  color: #fff;
}
.newsletter-dark-section h2 {
  max-width: 760px;
  margin-inline: auto;
  text-wrap: balance;
}
.newsletter-dark-section .eyebrow {
  color: color-mix(in srgb, #fff 76%, var(--pf-primary));
}
.newsletter-dark-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 1fr) auto;
  gap: 10px;
  width: min(100%, 760px);
}
.newsletter-dark-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
}
.newsletter-dark-form input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}
.newsletter-closed-note {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 15px;
  font-weight: 700;
}
.creative-list {
  width: min(100%, var(--pf-content-width));
  display: grid;
  gap: 0;
  margin-inline: auto;
}
.creative-list article {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--pf-line);
}
.creative-list img {
  width: 140px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.creative-list h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.06;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--pf-muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.minimal-meta span {
  padding: 7px 10px;
  border: 1px solid var(--pf-line);
  border-radius: 999px;
  background: transparent;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--pf-primary);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}
.button.light {
  background: #fff;
  color: var(--pf-ink);
}
.button.secondary {
  border-color: color-mix(in srgb, var(--pf-ink) 18%, transparent);
  background: transparent;
  color: var(--pf-ink);
}
.hero-standard .button.secondary {
  border-color: #fff;
  background: #fff;
  color: var(--pf-ink);
}

.sector-grid,
.product-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.product-grid,
.package-grid,
.directory-section,
.resource-strip,
.events-table-section {
  width: min(100%, var(--pf-content-width));
  margin-inline: auto;
}
.feature-card,
.product-card,
.package-card,
.directory-panel,
.newsletter-panel {
  background: #fff;
  border: 0;
  border-radius: 8px;
}
.feature-card,
.product-card,
.package-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 3vw, 34px);
  min-height: 100%;
}
.feature-card strong,
.product-card strong,
.package-card strong {
  display: block;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
}
.feature-card p,
.product-card p,
.package-card p,
.directory-panel p,
.newsletter-panel p {
  margin: 0;
}
.feature-kicker {
  width: 42px;
  height: 6px;
  border-radius: 999px;
  background: var(--pf-primary);
}
.directory-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: stretch;
}
.directory-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 4vw, 36px);
}
.directory-list {
  display: grid;
  gap: 10px;
}
.directory-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--pf-line);
}
.directory-row:last-child { border-bottom: 0; }
.directory-row span,
.product-card span,
.package-card span {
  color: var(--pf-muted);
  font-size: 13px;
}
.directory-badge {
  padding: 6px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pf-primary) 12%, #fff);
  color: var(--pf-primary-dark);
  font-weight: 800;
  white-space: nowrap;
}
.events-table-section { width: 100%; }
.events-table-scroll { width: 100%; overflow-x: auto; }
.events-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  border-top: 1px solid var(--pf-line);
}
.events-table th,
.events-table td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--pf-line);
  text-align: left;
  vertical-align: top;
}
.events-table th {
  color: var(--pf-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.events-table th:first-child,
.events-table td:first-child { width: 88px; padding-left: 0; }
.events-table th:last-child,
.events-table td:last-child { padding-right: 0; text-align: right; }
.events-table time { display: grid; gap: 2px; }
.events-table time strong { font-size: 30px; line-height: 1; }
.events-table time span,
.events-table td[data-label="Formato"],
.events-table td[data-label="Luogo"] { color: var(--pf-muted); font-size: 14px; }
.events-table td[data-label="Evento"] > strong { display: block; font-size: 18px; line-height: 1.25; }
.events-table td[data-label="Evento"] p { margin: 6px 0 0; color: var(--pf-muted); font-size: 15px; line-height: 1.45; }
.events-table-action a { color: var(--pf-primary-dark); font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.events-table-action a:hover { text-decoration: underline; }
.resource-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 18px;
  align-items: stretch;
}
.visual-panel {
  min-height: 320px;
  border-radius: var(--pf-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--pf-primary) 24%, transparent), transparent 55%),
    linear-gradient(45deg, color-mix(in srgb, var(--pf-ink) 14%, transparent), transparent 62%),
    #fff;
  border: 1px solid var(--pf-line);
  overflow: hidden;
  position: relative;
}
.visual-panel::before,
.visual-panel::after {
  content: "";
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--pf-primary) 26%, transparent);
  background: color-mix(in srgb, #fff 62%, transparent);
}
.visual-panel::before {
  width: 58%;
  height: 52%;
  right: 8%;
  top: 12%;
  border-radius: 8px;
}
.visual-panel::after {
  width: 38%;
  height: 44%;
  left: 10%;
  bottom: 10%;
  border-radius: 8px;
}
.commercial-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background: var(--pf-ink);
  color: #fff;
}
.commercial-panel h2 {
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.06;
  font-weight: 300;
}
.commercial-panel > div {
  max-width: 66%;
}
.commercial-band {
  padding: 0;
  background: var(--pf-ink);
  border-top: 0;
  border-bottom: 0;
}
.commercial-band .commercial-panel {
  border-radius: 0;
  width: 100%;
}
.commercial-panel p { max-width: 100%; color: #fff; }
.commercial-panel .button {
  background: #fff;
  color: var(--pf-ink);
  align-self: center;
}
.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(42px, 6vw, 76px);
}
.newsletter-form {
  display: grid;
  gap: 10px;
  width: min(100%, 420px);
  justify-self: center;
}
.newsletter-form input,
.newsletter-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--pf-line);
  border-radius: 6px;
  background: #fff;
  color: var(--pf-ink);
  font: inherit;
}
.newsletter-form textarea {
  min-height: 110px;
  resize: vertical;
}
.footer-contact-section {
  background: var(--pf-ink);
  color: #fff;
  border-top: 0;
}
.footer-contact-section p,
.footer-contact-section h2,
.footer-contact-section .eyebrow {
  color: #fff;
}
.footer-contact-section .newsletter-panel {
  background: color-mix(in srgb, var(--pf-ink) 88%, #fff);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.text-cta-section {
  background: #fff;
  border-top: 1px solid var(--pf-line);
  border-bottom: 1px solid var(--pf-line);
}
.text-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: end;
}
.text-cta-copy {
  max-width: 980px;
}
.text-cta-copy h2 {
  max-width: 980px;
  font-size: clamp(30px, 3.8vw, 52px);
}
.text-cta-copy p {
  max-width: 760px;
  margin: 12px 0 0;
}
.text-cta-action {
  display: flex;
  justify-content: flex-start;
}
.case-study-section {
  background: var(--pf-ink);
  color: #fff;
}
.case-study-section .section-head p,
.case-study-section .meta,
.dark-card p { color: #fff; }
.case-study-section .eyebrow {
  color: color-mix(in srgb, var(--pf-primary) 68%, #fff);
}
.dark-card {
  background: color-mix(in srgb, var(--pf-ink) 84%, #fff);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.dark-card h3 {
  color: #fff;
  font-size: clamp(20px, 2vw, 28px);
}
.blog-preview-grid .post-card {
  min-height: 280px;
}
.newsletter-home-section {
  background: color-mix(in srgb, var(--pf-primary) 10%, #fff);
}
.newsletter-home-section .newsletter-panel {
  border: 0;
  box-shadow: none;
  gap: 28px;
  padding: clamp(28px, 4vw, 46px);
}
.newsletter-home-section .newsletter-panel h2 {
  margin-bottom: 18px;
}
.footer-contact-panel {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.footer-contact-form-wrap {
  width: min(100%, 760px);
}
.footer-contact-form {
  display: grid;
  gap: 10px;
  width: min(100%, 420px);
  margin: 0 auto;
}
.footer-contact-form input,
.footer-contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--pf-line);
  border-radius: 6px;
  background: #fff;
  color: var(--pf-ink);
  font: inherit;
}
.footer-contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.entry-header,
.archive-header {
  padding: var(--pf-page-header-top) max(clamp(18px, 5vw, 72px), calc((100vw - var(--pf-content-width)) / 2)) var(--pf-page-header-bottom);
  background: #fff;
  border-bottom: 1px solid var(--pf-line);
}
.page-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.page-header__content {
  position: relative;
  z-index: 1;
  width: min(var(--pf-content-width), 100%);
  margin: 0 auto;
}
.page-header--image {
  border-bottom: 0;
  background-color: var(--pf-ink);
  background-image: linear-gradient(rgb(0 0 0 / var(--pf-page-header-overlay)), rgb(0 0 0 / var(--pf-page-header-overlay))), var(--pf-page-header-image);
  background-position: center;
  background-size: cover;
  color: #fff;
}
.page-header--image .meta,
.page-header--image .entry-lead { color: #fff; }
.page-header--image .entry-lead { max-width: 760px; }
.entry-header + .section,
.archive-header + .section {
  padding-top: var(--pf-page-content-top);
}
.article-single,
.article-preview {
  background: #fff;
}
.article-reading-progress {
  position: fixed;
  top: var(--pf-header-height);
  right: 0;
  left: 0;
  z-index: 21;
  height: 3px;
  pointer-events: none;
}
.article-reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--pf-primary);
  transition: width 80ms linear;
}
body.admin-bar .article-reading-progress { top: calc(var(--pf-header-height) + 32px); }
.article-header {
  max-width: none;
  margin: 0;
  text-align: left;
  border-bottom: 0;
}
.article-header h1,
.article-header .entry-lead,
.article-header .article-byline { max-width: 980px; }
.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  width: min(var(--pf-content-width), 100%);
  margin: 0 auto;
  color: var(--pf-muted);
  font-size: 13px;
  line-height: 1.4;
}
.article-breadcrumb-band {
  padding: 15px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--pf-line);
  background: #fff;
}
.article-breadcrumbs a { color: var(--pf-ink); text-decoration: none; }
.article-breadcrumbs a:hover { text-decoration: underline; }
.article-breadcrumbs [aria-current="page"] { overflow: hidden; max-width: min(560px, 100%); text-overflow: ellipsis; white-space: nowrap; }
.article-byline {
  display: grid;
  gap: 5px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--pf-line);
  color: var(--pf-muted);
  font-size: 14px;
  line-height: 1.45;
}
.article-byline span { color: var(--pf-ink); font-weight: 700; }
.article-byline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--pf-muted);
}
.article-byline-meta span {
  color: var(--pf-muted);
  font-weight: 500;
}
.article-media {
  width: min(100%, var(--pf-content-width));
  margin-inline: auto;
  padding: 12px 0 64px;
}
.article-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--pf-line);
}
.policy-page {
  background: #fff;
}
.policy-content {
  padding-top: var(--pf-page-content-top);
}
.policy-content > * { max-width: 760px; }
.policy-content p,
.policy-content li {
  font-size: 18px;
  line-height: 1.62;
}
.policy-content p {
  margin: 0 0 24px;
}
.policy-content h2 {
  margin: clamp(36px, 5vw, 54px) 0 14px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.12;
  font-weight: 500;
}
.policy-content ul {
  display: grid;
  gap: 8px;
  margin: 0 0 28px;
  padding-left: 1.2em;
}
.text-panel {
  width: min(100%, var(--pf-content-width));
  margin-inline: auto;
}
.text-panel > * { max-width: 760px; }
.text-panel p,
.text-panel li {
  color: var(--pf-ink);
  font-size: 18px;
  line-height: 1.62;
}
.text-panel p {
  margin: 0 0 24px;
}
.text-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.2em;
}
.article-content {
  min-width: 0;
  padding: 0 0 110px;
  text-align: left;
}
.article-toc {
  margin: 0 0 30px;
  padding: 20px 0;
  border-bottom: 1px solid var(--pf-line);
}
.article-toc p {
  margin: 0 0 10px;
  color: var(--pf-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.article-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.25em;
}
.article-toc a { color: var(--pf-ink); text-decoration: none; }
.article-toc a:hover { text-decoration: underline; }
.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 34px;
}
.article-share > span {
  margin-right: 4px;
  color: var(--pf-muted);
  font-size: 13px;
  font-weight: 750;
}
.article-share a,
.article-share button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--pf-line);
  border-radius: 5px;
  background: #fff;
  color: var(--pf-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.article-share a:hover,
.article-share button:hover { border-color: var(--pf-ink); }
.article-share-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  padding: 0 !important;
}
.article-share-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.article-share-icon.is-copied { border-color: var(--pf-primary); color: var(--pf-primary); }
.article-layout {
  width: min(100%, var(--pf-content-width));
  display: grid;
  grid-template-columns: minmax(0, 860px) minmax(260px, 340px);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  margin-inline: auto;
  padding: 20px 0 0;
}
.article-sidebar {
  position: static;
  padding-bottom: 110px;
}
.article-sidebar-group + .article-sidebar-group { margin-top: 34px; }
.article-sidebar h2 {
  margin: 0 0 18px;
  font-size: 18px;
}
.article-sidebar-list {
  display: grid;
  gap: 12px;
}
.article-sidebar-card a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--pf-line);
  color: var(--pf-ink);
  text-decoration: none;
}
.article-sidebar-card img {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}
.article-sidebar-card span {
  display: block;
  min-width: 0;
}
.article-sidebar-card small {
  display: block;
  margin-bottom: 4px;
  color: var(--pf-muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article-sidebar-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}
.article-related-section {
  width: 100%;
  margin: 0;
  padding: clamp(64px, 8vw, 108px) clamp(18px, 5vw, 72px);
  background: var(--pf-related-surface);
}
.article-related-inner { width: min(100%, var(--pf-content-width)); margin: 0 auto; }
.article-related-heading { margin: 0 0 28px; }
.article-related-heading h2 { max-width: 680px; }
.article-related-grid .post-card-image {
  height: 260px;
  aspect-ratio: auto;
}
.article-related-grid .post-card-body { padding: 20px 20px 24px; }
.post-grid-negative {
  width: 100%;
  margin: 0;
  padding: clamp(64px, 8vw, 108px) clamp(18px, 5vw, 72px);
  background: var(--pf-negative-surface);
}
.post-grid-negative-inner { width: min(var(--pf-content-width), 100%); margin: 0 auto; }
.post-grid-negative-heading { margin: 0 0 28px; }
.post-grid-negative-heading .eyebrow,
.post-grid-negative-heading h2,
.post-grid-negative-heading p { color: #fff; }
.post-grid-negative-heading h2 { max-width: 680px; }
.post-grid-negative-grid .post-card { background: #fff; }
.post-grid-negative-grid .post-card-body { padding: 20px 20px 24px; }
.entry-content {
  font-size: 18px;
}
.entry-wrap:not(.article-media) {
  width: min(100%, var(--pf-content-width));
  margin-inline: auto;
  padding: var(--pf-page-content-top) 0 clamp(78px, 10vw, 140px);
}
.page-content-redazione { padding-bottom: 0; }
.page-section-redazione { padding-bottom: 0; }
.page-content-contatti {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;
  padding: var(--pf-page-content-top) max(clamp(18px, 5vw, 72px), calc((100vw - var(--pf-content-width)) / 2)) clamp(78px, 10vw, 140px) !important;
  background: var(--pf-related-surface);
}
.page-content-contatti .page-block { width: min(100%, var(--pf-content-width)); margin-inline: auto; }
.page-section-contatti { background: var(--pf-related-surface); }
.entry-content p {
  margin: 0 0 18px;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 36px 0 16px;
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.25em;
}
.entry-content li {
  font-size: 18px;
  line-height: 1.65;
}
.entry-content li + li {
  margin-top: 8px;
}
.page-block {
  display: grid;
  gap: 18px;
}
.about-editorial-section {
  width: min(100%, var(--pf-content-width));
  display: grid;
  gap: clamp(30px, 5vw, 54px);
  margin-inline: auto;
}
.about-editorial-section .section-head > div { max-width: 760px; }
.about-editorial-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.about-editorial-principles article {
  padding-top: 16px;
  border-top: 1px solid var(--pf-line);
}
.about-editorial-principles h3 {
  margin: 0 0 10px;
  font-size: 20px;
}
.about-editorial-principles p { margin: 0; }
.about-guidelines-section {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
  width: 100vw;
  margin-top: clamp(64px, 9vw, 112px);
  margin-left: calc(50% - 50vw);
  padding: clamp(64px, 8vw, 108px) max(clamp(18px, 5vw, 72px), calc((100vw - var(--pf-content-width)) / 2));
  background: var(--pf-related-surface);
}
.about-guidelines-section .section-head { width: min(100%, var(--pf-content-width)); }
.about-guidelines-section .section-head > div { max-width: 760px; }
.about-guidelines-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 34px;
  width: min(100%, var(--pf-content-width));
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guidelines;
}
.about-guidelines-list li {
  position: relative;
  padding: 0 0 0 38px;
  counter-increment: guidelines;
}
.about-guidelines-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--pf-muted);
  content: "0" counter(guidelines);
  font-size: 13px;
  font-weight: 800;
}
.about-guidelines-list h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.about-guidelines-list p { margin: 0; }
.contact-grid {
  display: grid;
  gap: 34px;
  max-width: 760px;
  margin: 0 auto;
}
.contact-intro {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
}
.contact-intro h2 {
  margin-bottom: 14px;
}
.contact-intro p {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}
.contact-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--pf-panel);
  border: 1px solid var(--pf-line);
  border-radius: var(--pf-radius);
  text-align: left;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--pf-line);
  border-radius: 6px;
  background: #fff;
  color: var(--pf-ink);
  font: inherit;
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-notes {
  display: grid;
  gap: 8px;
}
.entry-content a { color: var(--pf-primary-dark); text-decoration: underline; }
.entry-content a.category-card,
.entry-content .post-card a,
.entry-content .article-sidebar-card a,
.entry-content .button,
.entry-content .resource-card-download {
  text-decoration: none;
}
.entry-content img { border-radius: var(--pf-radius); }
.entry-content .category-card-media img { border-radius: 0; }

.section-catalog-header {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px) 28px;
  background: var(--pf-panel);
}
.section-catalog-group {
  border-top: 1px solid var(--pf-line);
}
.section-catalog-title {
  padding: clamp(30px, 5vw, 58px) clamp(18px, 5vw, 72px);
  background: var(--pf-ink);
  color: #fff;
}
.section-catalog-title p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}
.section-catalog-title .eyebrow {
  color: color-mix(in srgb, var(--pf-primary) 55%, #fff);
}
.section-catalog-demo {
  padding: clamp(26px, 5vw, 54px) 0;
  background: var(--pf-panel);
}
.section-catalog-demo > .meta {
  display: block;
  padding: 12px clamp(18px, 5vw, 72px);
  margin: 0 0 14px;
  background: var(--pf-line);
  color: var(--pf-ink);
  border-radius: 0;
}
.section-catalog-demo > .meta span {
  display: inline-flex;
  padding: 0;
  background: transparent;
}
.section-catalog-demo .archive-header,
.section-catalog-demo .entry-header {
  margin-top: 0;
}

.site-footer {
  padding: clamp(46px, 7vw, 88px) clamp(18px, 5vw, 72px) 36px;
  background: var(--pf-ink);
  color: #fff;
}
.site-footer p,
.site-footer small,
.site-footer a,
.site-footer strong,
.site-footer h2 {
  color: #fff;
}
.site-footer .brand-mark {
  background: #fff;
  color: var(--pf-ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(150px, 0.75fr));
  gap: clamp(30px, 5vw, 82px);
  align-items: start;
  padding-bottom: clamp(38px, 5vw, 64px);
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.footer-brand-block {
  display: grid;
  gap: 18px;
  max-width: 430px;
}
.footer-brand-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}
.footer-menu-column {
  display: grid;
  gap: 18px;
}
.footer-menu-column h2 {
  margin: 0;
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-menu-column ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-menu-column a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}
.footer-menu-column a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
}
.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

@media (max-width: 900px) {
  :root { --pf-header-height: 72px; }
  .entry-wrap:not(.article-media),
  .article-layout {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }
  .article-media {
    width: 100%;
    padding: 12px 18px 48px;
  }
  .article-breadcrumb-band {
    padding: 10px 18px;
    overflow: hidden;
  }
  .article-breadcrumbs {
    flex-wrap: nowrap;
    gap: 6px;
    overflow: hidden;
    font-size: 12px;
    white-space: nowrap;
  }
  .article-breadcrumbs > * { flex: 0 0 auto; }
  .article-breadcrumbs [aria-current="page"] {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }
  .site-header {
    gap: 10px;
    min-height: 72px;
    padding-right: 18px;
    padding-left: 18px;
  }
  .site-header.header-nav-right .main-nav { margin-left: 0; }
  .brand {
    min-width: 0;
    max-width: calc(100% - 54px);
    margin-right: auto;
  }
  .brand > span { min-width: 0; }
  .brand small { overflow-wrap: anywhere; }
  .brand.brand-wordmark-only strong { font-size: 18px; }
  .nav-toggle {
    display: block;
    flex: 0 0 42px;
  }
  .header-search-toggle { display: none; }
  .main-nav {
    display: none;
  }
  .site-search-panel { padding: 14px 18px; }
  .site-search-panel-overlay { top: 72px; }
  .site-search-panel-drawer { padding: 0; }
  .site-search-panel-drawer .site-search-inner { width: min(100%, 420px); padding: 26px 24px 42px; }
  .site-search-panel-drawer[data-drawer-mode="menu"] .site-search-drawer-content { display: none; }
  .site-search-panel-drawer[data-drawer-mode="menu"] .site-mobile-drawer-menu { display: grid; gap: 38px; }
  .site-mobile-drawer-menu nav ul {
    display: grid;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--pf-line);
    list-style: none;
  }
  .site-mobile-drawer-menu li { border-bottom: 1px solid var(--pf-line); }
  .site-mobile-drawer-menu a {
    display: block;
    padding: 12px 0;
    color: var(--pf-ink);
    font-size: 14px;
    font-weight: 720;
    line-height: 1.35;
    text-decoration: none;
  }
  .site-mobile-drawer-menu li.is-active a,
  .site-mobile-drawer-menu a.is-active,
  .site-mobile-drawer-menu a:hover { color: var(--pf-accent); }
  .site-mobile-drawer-menu > p {
    max-width: 28ch;
    margin: 0;
    color: var(--pf-muted);
    font-size: 15px;
    line-height: 1.5;
  }
  .news-bar-inner {
    margin-inline: var(--pf-hero-padding-x);
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .news-bar.has-controls .news-bar-inner { grid-template-columns: 30px minmax(0, 1fr) 30px; }
  .news-bar-label { display: none; }
  .news-bar-control {
    width: 30px;
    height: 30px;
  }
  .editorial-hero-slider,
  .editorial-hero-slide {
    min-height: 640px;
  }
  .editorial-hero-slide {
    padding-top: 92px;
    padding-bottom: 132px;
  }
  .editorial-hero-controls {
    right: 18px;
    bottom: 24px;
  }
  .magazine-hero,
  .creative-grid,
  .creative-feature,
  .ticker-items,
  .content-grid,
  .text-cta,
  .sector-grid,
  .category-solutions-grid,
  .product-grid,
  .package-grid,
  .directory-section,
  .resource-strip,
  .commercial-panel,
  .newsletter-panel,
  .footer-contact-panel,
  .newsletter-form,
  .newsletter-dark-form,
  .footer-contact-form,
  .contact-grid,
  .article-layout,
  .about-editorial-principles,
  .about-guidelines-list,
  .footer-grid { grid-template-columns: 1fr; }
  .text-cta-action {
    justify-content: center;
  }
  .commercial-panel > div { max-width: 100%; }
  .footer-contact-panel {
    justify-items: stretch;
    text-align: left;
  }
  .footer-grid { display: grid; }
  .article-sidebar {
    position: static;
    padding-bottom: 80px;
  }
  .top-stories { border-left: 0; }
  .ticker .stat-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
  .ticker .stat-item:last-child { border-bottom: 0; }
  .ticker,
  .area-explorer-section {
    padding-top: 56px;
    padding-bottom: 64px;
  }
  .ticker-heading,
  .area-explorer-section .section-head {
    margin-bottom: 32px;
  }
  .section-head {
    display: grid;
    min-width: 0;
    align-items: start;
  }
  .section-head > div,
  .section-head h2 {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .search-form { width: 100%; align-items: stretch; }
  .search-form input { width: 100%; }
  .hero-standard > :not(img) {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .hero-standard h1,
  .editorial-hero-slide h2,
  .hero-standard p { max-width: 100%; }
  .editorial-hero-slide h1,
  .editorial-hero-slide h2 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.04;
  }
  .editorial-hero-slide > p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.45;
  }
  .catalog-cta-inner {
    max-width: 100%;
  }
  .creative-list article {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .creative-list time {
    grid-column: 2;
  }
  .creative-list img {
    width: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-bar-item,
  .editorial-hero-slide,
  .editorial-hero-slide img {
    transition: none;
  }
}
