/*
Theme Name: wolniej
Theme URI: https://wolniej.edu.pl
Author: Anna
Author URI: https://wolniej.edu.pl
Description: Motyw dla projektu „wolniej." — stoicyzm, ikigai, shinrin-yoku. Pełnoekranowy layout zgodny z brandbookiem. Paleta: szałwia, kora, pergamin, mgła, mech. Typografia: Playfair Display + Jost.
Version: 1.3.3
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wolniej
Tags: full-width-template, custom-menu, threaded-comments, translation-ready
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── BRANDBOOK PALETTE ── */
:root {
  --szalwia:  #7AAE65;
  --kora:     #2B2826;
  --pergamin: #EDE9C5;
  --mgla:     #F6F4F0;
  --mech:     #A8C89A;
}

html { scroll-behavior: smooth; }

body {
  background: var(--mgla);
  color: var(--kora);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.8;
  overflow-x: hidden;
}

/* WordPress reset — żadnych wąskich kontenerów */
.wp-site-blocks,
.entry-content,
.site-content,
#content,
#main,
.wp-block-group,
.wp-block-post-content,
main,
article {
  max-width: none !important;
  width: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

/* ─── NAV ─── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  gap: 0.6rem;
  padding: 1.2rem 3rem;
  background: rgba(246, 244, 240, 0.93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(43, 40, 38, 0.08);
}
/* Gdy zalogowany admin — odsuń od admin bar (32px desktop, 46px mobile) */
.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-nav { top: 46px; }
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.9rem;
  letter-spacing: 0;
  color: var(--kora);
  text-decoration: none;
}
.nav-logo .nav-dot { color: var(--szalwia); }

.nav-links {
  display: flex; gap: 2rem; list-style: none; align-items: center;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kora);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links .current-menu-item > a { opacity: 1; }

.nav-cta {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--kora);
  border: 1px solid var(--kora);
  padding: 0.55rem 1.4rem;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--kora); color: var(--mgla); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 6rem 6rem 6rem;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--szalwia);
  margin-bottom: 2rem;
  font-weight: 500;
}
.hero-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: 0.95;
  color: var(--kora);
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}
.hero-dot { color: var(--szalwia); }
.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.55;
  color: rgba(43, 40, 38, 0.75);
  margin-bottom: 3rem;
  max-width: 30ch;
}
.hero-actions {
  display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap;
}
.btn-primary,
.btn-ghost {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1rem 2rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}
.btn-primary {
  background: var(--kora);
  color: var(--mgla);
}
.btn-primary:hover { background: var(--szalwia); }
.btn-ghost {
  color: var(--kora);
  border-bottom: 1px solid var(--kora);
  padding: 1rem 0;
}
.btn-ghost:hover { color: var(--szalwia); border-bottom-color: var(--szalwia); }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 6rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(43, 40, 38, 0.4);
  font-weight: 500;
}

.hero-right {
  background: var(--pergamin);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-crane {
  width: 78%;
  max-width: 520px;
  opacity: 0.9;
}
.hero-crane img,
.hero-crane svg { width: 100%; height: auto; display: block; }

/* ─── DEFINITION ─── */
.definition {
  padding: 8rem 6rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: baseline;
  border-bottom: 1px solid rgba(43, 40, 38, 0.08);
}
.def-label {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--szalwia);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.def-phonetic {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  color: rgba(43, 40, 38, 0.65);
}
.def-word {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  margin-bottom: 1.5rem;
  color: var(--kora);
}
.def-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.6;
  color: rgba(43, 40, 38, 0.78);
  max-width: 52ch;
}
.def-text em {
  font-style: normal;
  font-weight: 700;
  color: var(--szalwia);
}

/* ─── PILLARS ─── */
.pillars {
  padding: 6rem 6rem;
  background: var(--pergamin);
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(43, 40, 38, 0.15);
  padding-bottom: 1.5rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--kora);
}
.section-num {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--szalwia);
  font-weight: 500;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: rgba(43, 40, 38, 0.05);
}
.pillar {
  background: var(--mgla);
  padding: 2.5rem 1.8rem;
  transition: background 0.4s, color 0.4s;
  cursor: default;
}
.pillar:hover {
  background: var(--kora);
  color: var(--mgla);
	.pillar-link { text-decoration: none; color: inherit; display: block; }
}
.pillar:hover .pillar-name,
.pillar:hover .pillar-num { color: var(--mgla); }
.pillar:hover .pillar-desc { color: rgba(246, 244, 240, 0.7); }
.pillar:hover .pillar-subtitle { color: var(--mech); }

.pillar-num {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(43, 40, 38, 0.35);
  margin-bottom: 1.5rem;
  transition: color 0.4s;
  font-weight: 500;
}
.pillar-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--kora);
  margin-bottom: 0.4rem;
  transition: color 0.4s;
  line-height: 1.2;
}
.pillar-subtitle {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--szalwia);
  margin-bottom: 1.2rem;
  transition: color 0.4s;
  font-weight: 500;
}
.pillar-desc {
  font-size: 0.88rem;
  color: rgba(43, 40, 38, 0.65);
  line-height: 1.8;
  transition: color 0.4s;
}

/* ─── MANIFESTO ─── */
.manifesto {
  padding: 10rem 6rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-pre {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--szalwia);
  margin-bottom: 3rem;
  display: block;
  font-weight: 500;
}
.manifesto-quote {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  line-height: 1.55;
  color: var(--kora);
  margin-bottom: 2rem;
}
.manifesto-quote em {
  font-style: normal;
  font-weight: 700;
  color: var(--szalwia);
}
.manifesto-source {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: rgba(43, 40, 38, 0.4);
  text-transform: uppercase;
  font-weight: 500;
}

/* ─── ESSAYS ─── */
.essays {
  padding: 4rem 6rem 8rem;
  border-top: 1px solid rgba(43, 40, 38, 0.1);
}
.essay-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2px;
  margin-top: 3rem;
}
.essay-card {
  padding: 2.5rem;
  background: var(--pergamin);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.essay-card:first-child { padding: 3rem; }
.essay-card:hover { background: #e3dfb7; }
.essay-tag {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--szalwia);
  margin-bottom: 1.5rem;
  display: block;
  font-weight: 500;
}
.essay-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--kora);
  line-height: 1.3;
  margin-bottom: 1rem;
}
.essay-card:first-child .essay-title { font-size: 1.8rem; }
.essay-excerpt {
  font-size: 0.92rem;
  color: rgba(43, 40, 38, 0.65);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.essay-meta {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(43, 40, 38, 0.4);
  font-weight: 500;
}
.essay-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.8rem;
  font-size: 1.5rem;
  color: var(--szalwia);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.essay-card:hover .essay-arrow {
  opacity: 1;
  transform: translate(-2px, 2px);
}

/* Placeholder: gdy nie ma jeszcze 3 wpisów, brakujące sloty wyglądają „cichszej" */
.essay-card--placeholder {
  background: transparent;
  border: 1px dashed rgba(43, 40, 38, 0.18);
}
.essay-card--placeholder:hover {
  background: var(--pergamin);
  border-color: transparent;
}
.essay-card--placeholder .essay-title {
  color: rgba(43, 40, 38, 0.55);
}
.essay-card--placeholder .essay-excerpt {
  color: rgba(43, 40, 38, 0.5);
}

/* ─── QUOTE BAND ─── */
.quote-band {
  padding: 7rem 6rem;
  background: var(--kora);
  color: var(--mgla);
  text-align: center;
}
.quote-band blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  line-height: 1.55;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}
.quote-band cite {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mech);
  font-weight: 500;
}

/* ─── NEWSLETTER ─── */
.newsletter {
  background: var(--kora);
  color: var(--mgla);
  padding: 8rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.newsletter-text h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--mgla);
  margin-bottom: 1.5rem;
}
.newsletter-text p {
  font-size: 1rem;
  color: rgba(246, 244, 240, 0.7);
  line-height: 1.85;
  max-width: 40ch;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.newsletter-form input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(246, 244, 240, 0.25);
  color: var(--mgla);
  padding: 0.8rem 0;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}
.newsletter-form input::placeholder { color: rgba(246, 244, 240, 0.4); }
.newsletter-form input:focus { border-bottom-color: var(--szalwia); }
.newsletter-form button {
  margin-top: 1.5rem;
  background: var(--szalwia);
  color: var(--kora);
  border: none;
  padding: 1rem 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
  align-self: flex-start;
  font-family: inherit;
}
.newsletter-form button:hover { background: var(--mech); }
.newsletter-note {
  font-size: 0.78rem;
  color: rgba(246, 244, 240, 0.4);
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin-top: 1rem;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--kora);
  color: var(--mgla);
  padding: 4rem 6rem;
  border-top: 1px solid rgba(246, 244, 240, 0.1);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--mgla);
  margin-bottom: 1rem;
}
.footer-brand .footer-dot { color: var(--szalwia); }
.footer-bio {
  font-size: 0.85rem;
  color: rgba(246, 244, 240, 0.55);
  line-height: 1.8;
  max-width: 30ch;
}
.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--szalwia);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(246, 244, 240, 0.65);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--szalwia); }
.footer-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(246, 244, 240, 0.65);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--szalwia); }
.footer-social svg { display: block; }
.footer-bottom {
  background: var(--kora);
  color: var(--mgla);
  padding: 1.8rem 6rem;
  border-top: 1px solid rgba(246, 244, 240, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.72rem; color: rgba(246, 244, 240, 0.4); }
.footer-legal {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.72rem;
}
.footer-legal a {
  color: rgba(246, 244, 240, 0.55);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-legal a:hover { color: var(--szalwia); }
.footer-legal span { color: rgba(246, 244, 240, 0.3); }

/* ─── PAGE (podstrony — Filozofia, Eseje, Oferta, RODO itd.) ─── */
.page-hero {
  padding: 12rem 6rem 5rem;
  background: var(--mgla);
  border-bottom: 1px solid rgba(43, 40, 38, 0.08);
}
.page-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.page-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--szalwia);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.page-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
  color: var(--kora);
  letter-spacing: -0.02em;
}

.page-content {
  padding: 5rem 6rem 8rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
/* Tekst w treści podstrony — wygodna do czytania */
.page-content > .entry-content {
  max-width: 75ch !important;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(43, 40, 38, 0.85);
}
.page-content h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--kora);
  margin: 3rem 0 1.2rem;
  line-height: 1.2;
}
.page-content h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--kora);
  margin: 2.2rem 0 0.8rem;
}
.page-content h4 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--szalwia);
  margin: 2rem 0 0.8rem;
  font-weight: 500;
}
.page-content p { margin-bottom: 1.4rem; }
.page-content a {
  color: var(--szalwia);
  text-decoration: none;
  border-bottom: 1px solid rgba(122, 174, 101, 0.3);
  transition: border-color 0.3s;
}
.page-content a:hover { border-bottom-color: var(--szalwia); }
.page-content blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--kora);
  padding-left: 2rem;
  border-left: 3px solid var(--szalwia);
  margin: 2.5rem 0;
}
.page-content ul,
.page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}
.page-content li { margin-bottom: 0.6rem; }
.page-content img {
  border-radius: 2px;
  margin: 2rem 0;
}
.page-content hr {
  border: none;
  border-top: 1px solid rgba(43, 40, 38, 0.1);
  margin: 3rem 0;
}

/* ─── SINGLE POST ─── */
.single-post-content {
  padding: 5rem 6rem 8rem;
  max-width: 800px;
  margin: 0 auto;
}
.post-meta {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(43, 40, 38, 0.5);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp 0.8s ease 0.2s both; }
.hero-brand   { animation: fadeUp 0.8s ease 0.4s both; }
.hero-tagline { animation: fadeUp 0.8s ease 0.6s both; }
.hero-actions { animation: fadeUp 0.8s ease 0.8s both; }
.hero-scroll  { animation: fadeUp 0.8s ease 1s both; }

@keyframes craneFadeIn {
  from { opacity: 0; transform: translateY(15px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-crane { animation: craneFadeIn 1.2s ease 0.5s both; }

/* ─── MOBILE MENU TOGGLE ─── */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--kora);
}
.menu-toggle svg { display: block; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .site-nav { padding: 1.2rem 2rem; }
  .hero-left,
  .definition,
  .pillars,
  .essays,
  .quote-band,
  .newsletter,
  .site-footer,
  .footer-bottom,
  .page-hero,
  .page-content,
  .single-post-content { padding-left: 3rem; padding-right: 3rem; }
}

@media (max-width: 900px) {
  .site-nav { padding: 1rem 1.5rem; flex-direction: row; align-items: center; gap: 0; }
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--mgla);
    padding: 2rem 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(43, 40, 38, 0.08);
  }
  .menu-toggle { display: block; }

  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 50vw; order: -1; padding: 3rem 1.5rem; }
  .hero-left { padding: 5rem 1.5rem 3rem; }
  .hero-scroll { display: none; }

  .definition { padding: 4rem 1.5rem; grid-template-columns: 1fr; gap: 1.5rem; }
  .pillars { padding: 4rem 1.5rem; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .manifesto { padding: 6rem 1.5rem; }
  .essays { padding: 4rem 1.5rem; }
  .essay-grid { grid-template-columns: 1fr; }
  .quote-band { padding: 4rem 1.5rem; }
  .newsletter { grid-template-columns: 1fr; padding: 5rem 1.5rem; gap: 3rem; }

  .site-footer { grid-template-columns: 1fr 1fr; padding: 3rem 1.5rem; gap: 2.5rem; }
  .footer-bottom {
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .page-hero { padding: 7rem 1.5rem 3rem; }
  .page-content { padding: 3rem 1.5rem 6rem; }
  .single-post-content { padding: 3rem 1.5rem 6rem; }
}

@media (max-width: 500px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .hero-brand { font-size: 4.5rem; }
}
.pillar-link {
  display: block;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
}
.pillar-link .pillar { height: 100%; }
.pillar-link h3,
.pillar-link p { text-decoration: none !important; }

/* ── NAV SOCIAL ICONS (menu główne — social row obok linków) ── */
.nav-social {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.nav-social a {
  display: inline-flex;
  align-items: center;
  opacity: 0.45;
  transition: opacity 0.3s;
  color: var(--kora);
}
.nav-social a:hover { opacity: 1; }
.nav-social svg { width: 19px; height: 19px; display: block; }

/* ── ESEJE — ARCHIWUM (siatka wszystkich esejów, dowolna liczba) ── */
.essays-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 6rem 8rem;
}
.essays-archive-empty {
  grid-column: 1 / -1;
  padding: 4rem 2.5rem;
  text-align: center;
  color: rgba(43,40,38,0.5);
  font-size: 0.95rem;
  line-height: 1.85;
}
@media (max-width: 1024px) {
  .essays-archive-grid { grid-template-columns: repeat(2, 1fr); padding: 3rem 2rem 5rem; }
}
@media (max-width: 700px) {
  .essays-archive-grid { grid-template-columns: 1fr; padding: 2.5rem 1.25rem 4rem; }
}
