/* ===== KOLRS Studio — Blog: stylesheet condiviso (listing + articoli) ===== */
:root {
  --ink: #191919;
  --muted: #6f746f;
  --paper: #ffffff;
  --soft: #f1f2ef;
  --line: #dfdfdc;
  --mint: #b4ef00;
  --blue: #7687a9;
  --peach: #f2b7a0;
  --green: #50d7a4;
  --lavender: #c8b1df;
  --yellow: #f0d58a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ----- Corner nav (coerente col resto del sito) ----- */
.corner {
  position: fixed;
  z-index: 80;
  font-weight: 600;
  font-size: 19.8px;
  line-height: .94;
  color: var(--corner, #191919);
  transition: color .5s ease, opacity .5s ease;
}
.corner-logo { top: 28px; left: 32px; }
.corner-logo .row { display: flex; }
.corner-logo .row:first-child { transform: scaleX(1.06); transform-origin: left center; }
.corner-more { top: 28px; right: 32px; }
.corner-home { bottom: 28px; left: 32px; }
.corner-contact { bottom: 28px; right: 32px; }
.corner-link:hover { opacity: .6; }

.panel {
  position: fixed;
  z-index: 70;
  left: 0;
  right: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s ease, transform .55s cubic-bezier(.22,1,.36,1);
}
.more-panel {
  top: 0;
  min-height: 260px;
  padding: 82px 32px 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateY(-100%);
  border-bottom: 1px solid var(--line);
}
.contact-panel {
  bottom: 0;
  padding: 42px 32px 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  transform: translateY(100%);
  border-top: 1px solid var(--line);
}
.panel.open { pointer-events: auto; opacity: 1; transform: translateY(0); }
.panel-label {
  margin-bottom: 18px;
  color: #a9aaa6;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.more-panel a {
  display: block;
  width: fit-content;
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 600;
  line-height: 1.25;
}
.more-panel .right { justify-self: end; text-align: right; }
.more-panel .right a { margin-left: auto; font-size: clamp(14px, 1.3vw, 17px); line-height: 1.7; }
.contact-panel small {
  display: block;
  margin-bottom: 10px;
  color: #9a9a96;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.contact-panel a { font-weight: 600; font-size: clamp(13px, 1.3vw, 17px); }

.burger {
  display: none;
  position: fixed;
  top: 24px;
  right: 26px;
  z-index: 90;
  width: 30px;
  height: 22px;
  border: 0;
  padding: 0;
  background: transparent;
}
.burger i {
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background: #191919;
  transition: transform .4s ease, opacity .25s ease;
}
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 10px; }
.burger i:nth-child(3) { top: 20px; }
.burger.open i:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.burger.open i:nth-child(2) { opacity: 0; }
.burger.open i:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 75;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a, .mobile-menu button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #191919;
  font: 600 28px/1.1 "Inter", sans-serif;
}
.mobile-sub { display: none; text-align: center; }
.mobile-sub.open { display: grid; gap: 10px; }
.mobile-sub a { color: #777; font-size: 18px; }

@media (max-width: 760px) {
  .corner-more, .corner-home, .corner-contact { display: none; }
  .more-panel, .contact-panel { display: none; }
  .burger { display: block; }
  .mobile-menu { display: flex; }
}

/* ----- Breadcrumb ----- */
.bc {
  padding: clamp(96px, 12vw, 150px) clamp(24px, 8vw, 90px) 0;
  max-width: 980px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--muted);
}
.bc a { color: var(--muted); }
.bc a:hover { color: var(--ink); }

/* ----- Blog listing ----- */
.blog-hero {
  padding: clamp(96px, 14vw, 150px) clamp(24px, 8vw, 90px) clamp(40px, 6vw, 70px);
  max-width: 980px;
  margin: 0 auto;
}
.blog-hero h1 {
  margin: 0 0 16px;
  font-weight: 600;
  font-size: clamp(38px, 6.4vw, 72px);
  line-height: .98;
  letter-spacing: -0.01em;
}
.blog-hero p {
  margin: 0;
  max-width: 560px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  color: var(--muted);
}
.post-list {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 clamp(24px, 8vw, 90px) 120px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.post-card {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: clamp(16px, 3vw, 36px);
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity .25s ease;
}
.post-card:hover { opacity: .6; }
.post-card time {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .02em;
}
.post-card .post-main h2 {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.15;
}
.post-card .post-main p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 560px;
}
.post-card .post-tag {
  justify-self: end;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .post-card { grid-template-columns: 1fr; gap: 8px; }
  .post-card .post-tag { justify-self: start; }
}

/* ----- Articolo ----- */
.article-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 10px clamp(24px, 8vw, 90px) clamp(36px, 5vw, 56px);
}
.article-hero .kicker {
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.article-hero h1 {
  margin: 0 0 20px;
  font-weight: 600;
  font-size: clamp(32px, 5.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.article-hero .dek {
  margin: 0 0 22px;
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 640px;
}
.article-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.article-cover {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(24px, 8vw, 90px) clamp(40px, 6vw, 60px);
}
.article-cover .cover-box {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.article-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 clamp(24px, 8vw, 90px) 40px;
  font-size: clamp(17px, 1.75vw, 19px);
  line-height: 1.75;
  color: #2b2b2b;
}
.article-body h2 {
  margin: 48px 0 18px;
  font-weight: 600;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.article-body h3 {
  margin: 34px 0 12px;
  font-weight: 600;
  font-size: clamp(19px, 2.2vw, 23px);
  color: var(--ink);
}
.article-body p { margin: 0 0 22px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 22px; }
.article-body li { margin-bottom: 10px; }
.article-body strong { font-weight: 600; color: var(--ink); }
.article-body em.accent {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 500;
}
.article-body a.inline-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
}
.article-body a.inline-link:hover { text-decoration-color: var(--ink); }
.pull-quote {
  margin: 44px 0;
  padding: 26px 0 26px 26px;
  border-left: 3px solid var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.35;
}
.article-cta {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px clamp(24px, 8vw, 90px) 0;
  border-top: 1px solid var(--line);
}
.article-cta p {
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--muted);
}
.article-cta a.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
.article-cta a.btn:hover { opacity: .85; }

.related {
  max-width: 980px;
  margin: 70px auto 0;
  padding: 40px clamp(24px, 8vw, 90px) 120px;
  border-top: 1px solid var(--line);
}
.related h2 {
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-grid a {
  display: block;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.related-grid a h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}
.related-grid a:hover h3 { opacity: .6; }
@media (max-width: 760px) {
  .related-grid { grid-template-columns: 1fr; }
}

footer.site-footer {
  max-width: 980px;
  margin: 0 auto;
  padding: 30px clamp(24px, 8vw, 90px) 60px;
  font-size: 12px;
  color: #a9aaa6;
}
