/* ================================================
   nataliapankratova.com — Notion-style
   Palette: #191919 · #FFFFFF · #F7F6F3 · #37352F
   Type: Inter (body) · Cormorant Garamond (display)
   ================================================ */

:root {
  --n-bg:     #F7F6F3;
  --n-white:  #FFFFFF;
  --n-black:  #191919;
  --n-text:   #37352F;
  --n-gray:   #9B9A97;
  --n-border: #E9E9E7;
  --n-hover:  #F1F1EF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'DM Sans', system-ui, sans-serif;
  background: var(--n-bg);
  color: var(--n-text);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Utility ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }

.section-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--n-gray);
  margin-bottom: .75rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--n-gray);
  max-width: 620px;
  margin-bottom: 3rem;
  line-height: 1.75;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--n-black);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  font-weight: 500;
  padding: .75rem 1.6rem;
  border-radius: 3px;
  border: 1px solid var(--n-black);
  transition: background .15s;
  cursor: pointer;
  letter-spacing: .01em;
}
.btn-primary:hover { background: #37352F; color: #fff; }
.btn-primary.btn-large { padding: .9rem 2rem; font-size: .95rem; }

.btn-nav {
  font-size: .84rem;
  font-weight: 500;
  color: var(--n-text);
  border: 1px solid var(--n-border);
  padding: .42rem 1rem;
  border-radius: 3px;
  transition: border-color .15s, background .15s;
}
.btn-nav:hover { background: var(--n-hover); border-color: #C9C8C5; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,246,243,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--n-border);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  color: var(--n-black);
  letter-spacing: -.01em;
}
.nav-links { list-style: none; display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { font-size: .84rem; color: var(--n-gray); transition: color .15s; }
.nav-links a:hover { color: var(--n-black); }

/* ── Hero ── */
.hero {
  min-height: calc(100vh - 58px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.eyebrow {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--n-gray);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--n-black);
  margin-bottom: 1.5rem;
  letter-spacing: -.01em;
}
.hero-title em { font-style: italic; }
.hero-sub {
  font-size: 1rem;
  color: var(--n-gray);
  max-width: 440px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}
.hero-note { margin-top: .75rem; font-size: .78rem; color: var(--n-gray); }

/* Signature element: minimal inline doc block */
.hero-visual { display: flex; justify-content: center; }
.doc-block {
  background: var(--n-white);
  border: 1px solid var(--n-border);
  border-radius: 3px;
  padding: 2rem 2rem 1.5rem;
  max-width: 380px;
  width: 100%;
}
.doc-block-label {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--n-gray);
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--n-border);
}
.doc-line {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--n-border);
  font-size: .85rem;
}
.doc-line:last-child { border-bottom: none; }
.doc-line-key { color: var(--n-gray); font-size: .78rem; min-width: 90px; flex-shrink: 0; }
.doc-line-val { color: var(--n-text); font-style: italic; }

/* ── Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--n-border);
  border: 1px solid var(--n-border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 3rem;
}
.card {
  background: var(--n-white);
  padding: 1.75rem;
  transition: background .15s;
}
.card:hover { background: var(--n-hover); }
.card-icon { font-size: 1rem; color: var(--n-gray); margin-bottom: .75rem; }
.card h3 {
  font-size: .9rem;
  font-weight: 600;
  color: var(--n-black);
  margin-bottom: .4rem;
  letter-spacing: -.01em;
}
.card p { font-size: .84rem; color: var(--n-gray); line-height: 1.65; }
.cta-center { text-align: center; }
.small-note { font-size: .78rem; color: var(--n-gray); margin-top: .65rem; }

/* ── Question list ── */
.section-questions { background: var(--n-white); border-top: 1px solid var(--n-border); border-bottom: 1px solid var(--n-border); }
.question-list { list-style: none; display: grid; gap: 0; border: 1px solid var(--n-border); border-radius: 3px; overflow: hidden; }
.question-list li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--n-border);
  background: var(--n-white);
  transition: background .15s;
}
.question-list li:last-child { border-bottom: none; }
.question-list li:hover { background: var(--n-hover); }
.q-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--n-gray);
  line-height: 1;
  flex-shrink: 0;
  padding-top: .15rem;
  min-width: 2rem;
  text-align: right;
}
.question-list strong { display: block; font-size: .9rem; color: var(--n-black); margin-bottom: .2rem; font-weight: 600; }
.question-list p { font-size: .84rem; color: var(--n-gray); }

/* ── About ── */
.section-about { background: var(--n-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
}
.photo-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 3px;
  background: var(--n-black);
  color: rgba(255,255,255,.6);
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--n-border);
}
.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--n-black);
  margin-bottom: 1rem;
  letter-spacing: -.01em;
}
.about-text p { font-size: .92rem; color: var(--n-gray); margin-bottom: .9rem; line-height: 1.8; }
.about-text p em { color: var(--n-text); font-style: italic; }
.about-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.25rem; }
.about-tags span {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--n-gray);
  border: 1px solid var(--n-border);
  padding: .25rem .7rem;
  border-radius: 3px;
  background: var(--n-white);
}

/* ── FAQ ── */
.section-faq { background: var(--n-white); border-top: 1px solid var(--n-border); }
.faq-container { max-width: 680px; }
.faq-list { border: 1px solid var(--n-border); border-radius: 3px; overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--n-border); padding: 1.35rem 1.5rem; }
.faq-item:last-child { border-bottom: none; }
.faq-item dt { font-size: .92rem; font-weight: 600; color: var(--n-black); margin-bottom: .45rem; }
.faq-item dd { font-size: .87rem; color: var(--n-gray); line-height: 1.7; }

/* ── Final CTA ── */
.section-final-cta { background: var(--n-black); color: #fff; text-align: center; }
.section-final-cta h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 300; margin-bottom: 1rem; }
.section-final-cta p { color: rgba(255,255,255,.6); margin-bottom: 2rem; line-height: 1.75; font-size: .95rem; }
.section-final-cta .btn-primary { background: #fff; color: var(--n-black); border-color: #fff; }
.section-final-cta .btn-primary:hover { background: var(--n-hover); color: var(--n-black); }

/* ── Footer ── */
.site-footer { background: var(--n-black); color: rgba(255,255,255,.4); padding: 2rem 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner { display: flex; flex-direction: column; gap: .4rem; text-align: center; }
.footer-inner strong { color: rgba(255,255,255,.7); }
.footer-links a { color: rgba(255,255,255,.5); margin: 0 .25rem; font-size: .84rem; }
.footer-links a:hover { color: rgba(255,255,255,.8); }
.footer-small { font-size: .76rem; line-height: 1.6; }

/* ════ RESEARCH FORM (on WordPress pages) ════ */
.mnr-progress-bar  { background: var(--n-border); height: 2px; width: 100%; }
.mnr-progress-fill { height: 2px; background: var(--n-black); transition: width .4s ease; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 3rem 1.5rem; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav-links li:not(:last-child) { display: none; }
}

/* ════ NEW SECTIONS ════ */

/* Credentials bar */
.cred-bar { background: var(--n-black); padding: .85rem 0; }
.cred-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: .75rem;
  font-size: .75rem; color: rgba(255,255,255,.55);
  letter-spacing: .06em; text-transform: uppercase; font-weight: 500;
}
.cred-dot { color: rgba(255,255,255,.2); }

/* Hero CTA row */
.hero-cta-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: .75rem; }
.btn-outline {
  display: inline-flex; align-items: center;
  font-size: .88rem; font-weight: 500;
  color: var(--n-text); border: 1px solid var(--n-border);
  padding: .72rem 1.5rem; border-radius: 3px;
  transition: border-color .15s, background .15s;
}
.btn-outline:hover { background: var(--n-hover); border-color: #C9C8C5; }

/* About blocks */
.about-block-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--n-border); border: 1px solid var(--n-border); border-radius: 3px; overflow: hidden; margin-top: 1.75rem; }
.about-block { background: var(--n-white); padding: 1.35rem; transition: background .15s; }
.about-block:hover { background: var(--n-hover); }
.about-block h3 { font-size: .82rem; font-weight: 600; color: var(--n-black); margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .06em; }
.about-block p { font-size: .84rem; color: var(--n-gray); line-height: 1.65; }

/* Tool section */
.section-tool { background: var(--n-bg); border-top: 1px solid var(--n-border); }
.tool-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: start; }
.tool-desc p { font-size: .92rem; color: var(--n-gray); line-height: 1.8; margin-bottom: .9rem; }
.tool-desc strong { color: var(--n-text); }
.tool-list { padding-left: 1.1rem; margin: .5rem 0 .9rem; color: var(--n-gray); font-size: .88rem; line-height: 1.85; }
.tool-list li { margin-bottom: .2rem; }
.tool-card { background: var(--n-white); border: 1px solid var(--n-border); border-radius: 3px; padding: 1.75rem; }
.tool-card-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--n-gray); font-weight: 600; margin-bottom: 1.1rem; }
.tool-card blockquote { font-style: italic; font-size: .88rem; color: var(--n-text); line-height: 1.7; padding: .85rem 0; border-bottom: 1px solid var(--n-border); margin: 0; }
.tool-card blockquote:last-child { border-bottom: none; }

/* Publications preview */
.section-pubs { background: var(--n-white); border-top: 1px solid var(--n-border); }
.pubs-list { border: 1px solid var(--n-border); border-radius: 3px; overflow: hidden; }
.pub-item { display: flex; gap: 1.5rem; align-items: baseline; padding: 1.1rem 1.35rem; border-bottom: 1px solid var(--n-border); }
.pub-item:last-child { border-bottom: none; }
.pub-year { font-size: .78rem; font-weight: 600; color: var(--n-gray); min-width: 36px; flex-shrink: 0; }
.pub-title { font-size: .9rem; font-weight: 500; color: var(--n-black); margin-bottom: .2rem; }
.pub-journal { font-size: .8rem; color: var(--n-gray); }

/* Publications page */
.pubs-section { margin-bottom: 2.5rem; }
.pubs-year-group { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--n-gray); font-weight: 600; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--n-border); }
.pub-item-full { padding: 1.5rem 0; border-bottom: 1px solid var(--n-border); }
.pub-meta { display: flex; gap: .6rem; margin-bottom: .6rem; }
.pub-type { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--n-gray); font-weight: 600; border: 1px solid var(--n-border); padding: .15rem .6rem; border-radius: 3px; }
.pub-year-tag { font-size: .7rem; color: var(--n-gray); padding: .15rem .6rem; }
.pub-title-full { font-size: 1rem; font-weight: 600; color: var(--n-black); margin-bottom: .35rem; line-height: 1.4; }
.pub-journal-full { font-size: .83rem; color: var(--n-gray); margin-bottom: .6rem; font-style: italic; }
.pub-abstract { font-size: .85rem; color: var(--n-gray); line-height: 1.7; margin-bottom: .6rem; }
.pub-link { font-size: .84rem; color: var(--n-black); font-weight: 500; text-decoration: underline; }

/* Contact form */
.section-contact { background: var(--n-bg); border-top: 1px solid var(--n-border); }
.contact-container { max-width: 680px; }
.contact-form { background: var(--n-white); border: 1px solid var(--n-border); border-radius: 3px; padding: 2rem; margin-top: 1.5rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-field { margin-bottom: 1.25rem; }
.cf-field label { display: block; font-size: .82rem; font-weight: 500; color: var(--n-text); margin-bottom: .35rem; }
.cf-field input, .cf-field select, .cf-field textarea {
  width: 100%; font-family: 'Inter', sans-serif; font-size: .88rem;
  color: var(--n-text); background: var(--n-bg);
  border: 1px solid var(--n-border); border-radius: 3px;
  padding: .62rem .85rem; outline: none; transition: border-color .15s;
}
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { border-color: var(--n-black); background: var(--n-white); }
.cf-field textarea { min-height: 140px; resize: vertical; line-height: 1.65; }
.cf-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239B9A97' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2rem; }
.form-success { background: #F0F7F0; border: 1px solid #C3DFC3; color: #2D5A2D; padding: .9rem 1.1rem; border-radius: 3px; font-size: .88rem; margin-bottom: 1rem; }
.form-error { background: #FFF5F5; border: 1px solid #F5C6C6; color: #7B2020; padding: .9rem 1.1rem; border-radius: 3px; font-size: .88rem; margin-bottom: 1rem; }

/* Inner page header */
.inner-page-header { background: var(--n-white); border-bottom: 1px solid var(--n-border); padding: 3.5rem 0 2.5rem; }
.inner-page-header h1 { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 400; color: var(--n-black); margin: .3rem 0 .5rem; }
.inner-page-desc { font-size: .95rem; color: var(--n-gray); max-width: 580px; line-height: 1.75; }

/* Blog */
.blog-list { display: grid; gap: 0; border: 1px solid var(--n-border); border-radius: 3px; overflow: hidden; }
.blog-card { padding: 1.5rem; background: var(--n-white); border-bottom: 1px solid var(--n-border); transition: background .15s; }
.blog-card:last-child { border-bottom: none; }
.blog-card:hover { background: var(--n-hover); }
.blog-card-meta { display: flex; gap: .75rem; align-items: center; margin-bottom: .6rem; font-size: .78rem; color: var(--n-gray); }
.blog-tag { background: var(--n-bg); border: 1px solid var(--n-border); padding: .15rem .6rem; border-radius: 3px; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--n-gray); }
.blog-card-title { font-size: 1.05rem; font-weight: 600; color: var(--n-black); margin-bottom: .5rem; line-height: 1.35; }
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { text-decoration: underline; }
.blog-card-excerpt { font-size: .87rem; color: var(--n-gray); line-height: 1.7; margin-bottom: .75rem; }
.blog-read-more { font-size: .83rem; font-weight: 500; color: var(--n-black); }
.blog-empty { padding: 3rem; text-align: center; background: var(--n-white); border: 1px solid var(--n-border); border-radius: 3px; color: var(--n-gray); font-size: .92rem; line-height: 1.75; }
.blog-empty a { color: var(--n-black); }

/* Post page */
.post-wrap { max-width: 680px; margin: 0 auto; padding: 2.5rem 2rem 5rem; }
.post-back { font-size: .84rem; color: var(--n-gray); display: block; margin-bottom: 1.25rem; }
.post-back:hover { color: var(--n-black); }
.post-header { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--n-border); }
.post-meta { display: flex; gap: .75rem; align-items: center; margin-bottom: .75rem; font-size: .8rem; color: var(--n-gray); }
.post-header h1 { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 400; color: var(--n-black); line-height: 1.2; }
.post-body { font-size: .95rem; color: var(--n-text); line-height: 1.85; }
.post-body p { margin-bottom: 1.1rem; }
.post-body h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--n-black); margin: 2rem 0 .75rem; }
.post-body h3 { font-size: 1rem; font-weight: 600; color: var(--n-black); margin: 1.5rem 0 .5rem; }
.post-body em { color: var(--n-text); }
.post-body strong { color: var(--n-black); }
.post-body ul, .post-body ol { padding-left: 1.25rem; margin-bottom: 1.1rem; color: var(--n-gray); }
.post-body li { margin-bottom: .3rem; line-height: 1.7; }
.post-footer { display: flex; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--n-border); flex-wrap: wrap; }

@media (max-width: 768px) {
  .cred-inner { gap: .5rem; font-size: .68rem; }
  .tool-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-block-list { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
}

/* ════ PHOTO + SOCIAL + MOBILE ════ */

/* Photo */
.about-photo-col { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.about-photo-wrap { width: 220px; flex-shrink: 0; }
.about-photo-img {
  width: 220px; height: 270px;
  object-fit: cover; object-position: center top;
  border-radius: 3px;
  border: 1px solid var(--n-border);
  display: block;
}
.photo-placeholder {
  width: 220px; height: 270px; border-radius: 3px;
  background: var(--n-black); color: rgba(255,255,255,.4);
  font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--n-border);
}

/* Social links */
.social-links { display: flex; flex-direction: column; gap: .5rem; }
.social-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: var(--n-gray); transition: color .15s;
  text-decoration: none;
}
.social-link:hover { color: var(--n-black); }
.social-link svg { flex-shrink: 0; }

/* Footer social */
.footer-social {
  display: flex; gap: 1.25rem; justify-content: center;
  margin-bottom: .4rem;
}
.footer-social a {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; color: rgba(255,255,255,.45);
  transition: color .15s;
}
.footer-social a:hover { color: rgba(255,255,255,.8); }

/* Mobile burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--n-text); transition: .2s;
}

/* ── Full mobile overhaul ── */
@media (max-width: 768px) {

  /* Nav */
  .nav-burger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 58px; left: 0; right: 0;
    background: rgba(247,246,243,.98); backdrop-filter: blur(10px);
    flex-direction: column; padding: 1.25rem 2rem 1.5rem;
    border-bottom: 1px solid var(--n-border); gap: 1rem; z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { list-style: none; }
  .nav-links a { font-size: 1rem; }
  .nav-links .btn-nav { display: inline-block; margin-top: .25rem; }
  .site-header { position: sticky; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr; min-height: auto;
    padding: 2.5rem 1.25rem 2rem; gap: 0;
  }
  .hero-visual { display: none; }
  .hero-title { font-size: 2.2rem; }
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: .75rem; }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-outline { text-align: center; justify-content: center; }

  /* Cred bar */
  .cred-inner { gap: .4rem; font-size: .65rem; flex-wrap: wrap; justify-content: center; }
  .cred-dot { display: none; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo-col { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 1rem; }
  .about-photo-wrap { width: 130px; }
  .about-photo-img { width: 130px; height: 160px; }
  .photo-placeholder { width: 130px; height: 160px; font-size: 1.5rem; }
  .social-links { gap: .4rem; }
  .about-block-list { grid-template-columns: 1fr; }

  /* Tool */
  .tool-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Contact */
  .cf-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.25rem; }

  /* Sections */
  .section { padding: 3rem 0; }
  .container { padding: 0 1.25rem; }
  .inner-page-header { padding: 2.5rem 0 1.75rem; }
  .inner-page-header h1 { font-size: 1.9rem; }

  /* Post */
  .post-wrap { padding: 2rem 1.25rem 3rem; }
  .post-header h1 { font-size: 1.7rem; }
  .post-footer { flex-direction: column; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 1.9rem; }
  .hero-sub { font-size: .92rem; }
  .section-label { font-size: .65rem; }
}

/* Publications page extras */
.pubs-page-wrap { max-width: 800px; }
.pub-title-ru {
  display: block; font-size: .78rem; font-weight: 400;
  color: var(--n-gray); font-style: italic; margin-top: .25rem;
}
.pub-title-placeholder { color: var(--n-gray) !important; font-style: italic; }

/* Pub type badges */
.pub-type-en  { background:#F0F0F0; color:var(--n-black); }
.pub-type-oa  { background:var(--n-black); color:#fff; border:none; }
.pub-links    { display:flex; gap:.75rem; flex-wrap:wrap; margin-top:.6rem; }
