/* ===== Дневник театрала — дизайн-система публичной части ===== */
:root {
  --bg: #faf7f2;
  --bg-soft: #f3ede3;
  --ink: #1c1614;
  --ink-soft: #4a403c;
  --muted: #8a7d76;
  --accent: #7a1f2b;
  --accent-dark: #5b1620;
  --gold: #b08d57;
  --gold-soft: #d4b98c;
  --line: #e5dccf;
  --card: #ffffff;
  --shadow: 0 10px 40px rgba(28, 22, 20, .08);
  --shadow-hover: 0 18px 60px rgba(28, 22, 20, .14);
  --radius: 14px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: .01em; }

/* ===== Шапка ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.brand-tagline { font-size: 11px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }

.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 14px; font-size: 14px; color: var(--ink-soft);
  border-radius: 999px; transition: all .25s; letter-spacing: .02em;
}
.nav a:hover, .nav a.active { color: var(--accent); background: rgba(122, 31, 43, .07); }

.search-trigger {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted);
  padding: 9px 16px; border-radius: 999px; font-size: 14px; transition: all .25s; width: 220px;
}
.search-trigger:hover { border-color: var(--gold); color: var(--ink); }
.burger { display: none; background: none; border: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; padding: 12px 24px 20px; gap: 2px; border-top: 1px solid var(--line); }
.mobile-nav a { padding: 12px 8px; font-size: 16px; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: flex; animation: slideDown .3s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px);} to { opacity: 1; transform: none;} }

/* ===== Герой-слайдер ===== */
.hero { position: relative; height: min(78vh, 640px); min-height: 420px; overflow: hidden; background: #22100f; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  display: flex; align-items: flex-end;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide .bg { position: absolute; inset: 0; }
.hero-slide .bg img, .hero-slide .bg svg { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,8,10,.15) 0%, rgba(20,8,10,.25) 45%, rgba(20,8,10,.82) 100%);
}
.hero-content { position: relative; z-index: 3; width: 100%; padding: 80px 0 64px; }
.hero-kicker {
  display: inline-block; color: var(--gold-soft); font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  margin-bottom: 16px; border-bottom: 1px solid rgba(212, 185, 140, .5); padding-bottom: 8px;
}
.hero-title { color: #fff; font-size: clamp(34px, 5.5vw, 64px); max-width: 820px; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.hero-subtitle { color: rgba(255,255,255,.85); font-size: clamp(15px, 1.8vw, 19px); max-width: 640px; margin-top: 14px; font-weight: 300; }
.hero-btn {
  display: inline-block; margin-top: 26px; padding: 14px 34px;
  background: var(--gold); color: #fff; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 999px; transition: all .3s; box-shadow: 0 8px 24px rgba(176, 141, 87, .4);
}
.hero-btn:hover { background: var(--accent); transform: translateY(-2px); }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px);
  color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.hero-arrow:hover { background: rgba(255,255,255,.25); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 4px; border-radius: 4px; border: none; background: rgba(255,255,255,.3); transition: all .3s; }
.hero-dots button.active { background: var(--gold); }

/* ===== Бегущая строка ===== */
.ticker { background: var(--accent); color: #f7e8d5; overflow: hidden; white-space: nowrap; position: relative; }
.ticker-track { display: inline-flex; gap: 0; will-change: transform; }
.ticker-item { display: inline-flex; align-items: center; padding: 12px 0; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; }
.ticker-item a { color: inherit; transition: color .2s; }
.ticker-item a:hover { color: var(--gold-soft); }
.ticker-sep { margin: 0 26px; color: var(--gold-soft); font-size: 10px; }

/* ===== Общие блоки главной ===== */
.section { padding: 64px 0 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-title { font-size: clamp(28px, 3.6vw, 40px); position: relative; display: inline-block; padding-bottom: 12px; }
.section-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--gold); border-radius: 2px; }
.section-more { font-size: 14px; color: var(--accent); letter-spacing: .04em; border-bottom: 1px solid transparent; transition: all .25s; }
.section-more:hover { border-color: var(--accent); }

/* ===== Карточки ===== */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.card-cat {
  color: var(--accent); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
}
.card-date { color: var(--muted); }
.card-title { font-size: 21px; margin-bottom: 8px; font-weight: 600; line-height: 1.3; }
.card-title a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card-excerpt { font-size: 14px; color: var(--ink-soft); flex: 1; }
.card-footer { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.card-btn {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; transition: gap .25s;
}
.card:hover .card-btn { gap: 10px; }

.rating { color: var(--gold); font-size: 15px; letter-spacing: 2px; }
.rating-num { font-size: 13px; color: var(--gold); font-weight: 700; }

/* Афиша-карточка */
.event-when { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.event-date-badge {
  background: var(--accent); color: #fff; border-radius: 10px; padding: 8px 12px; text-align: center; line-height: 1.1; min-width: 56px;
}
.event-date-badge .d { font-size: 20px; font-weight: 700; display: block; font-family: var(--font-display); }
.event-date-badge .m { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.event-place { font-size: 13px; color: var(--ink-soft); }
.event-time { color: var(--gold); font-weight: 600; font-size: 13px; }

/* ===== Фильтры ===== */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 36px; box-shadow: var(--shadow);
}
.filters label { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-right: -4px; }
.filters select, .filters input[type="text"], .filters input[type="search"] {
  font-family: inherit; font-size: 14px; padding: 9px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); outline: none; transition: border .25s;
}
.filters select:focus, .filters input:focus { border-color: var(--gold); }
.filters .submit {
  background: var(--accent); color: #fff; border: none; padding: 10px 22px; border-radius: 10px; font-size: 14px;
  transition: background .25s;
}
.filters .submit:hover { background: var(--accent-dark); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 18px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink-soft); transition: all .25s;
}
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== Пагинация ===== */
.pagination { display: flex; gap: 8px; justify-content: center; margin: 44px 0 12px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--line); font-size: 14px; color: var(--ink-soft);
  background: var(--card); transition: all .25s; padding: 0 10px;
}
.pagination a:hover { border-color: var(--gold); }
.pagination .cur { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== Страница материала ===== */
.post-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; background: #22100f; }
.post-hero .bg { position: absolute; inset: 0; }
.post-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.post-hero .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,8,10,.1), rgba(20,8,10,.8)); }
.post-hero .container { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 46px; }
.post-hero .kicker { color: var(--gold-soft); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.post-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 56px); max-width: 900px; text-shadow: 0 4px 30px rgba(0,0,0,.45); }
.post-hero .excerpt { color: rgba(255,255,255,.85); max-width: 680px; margin-top: 14px; font-size: 17px; font-weight: 300; }

.post-meta-bar {
  display: flex; flex-wrap: wrap; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line);
  margin: 26px 0 34px; font-size: 13.5px; color: var(--ink-soft);
}
.post-meta-bar b { color: var(--ink); }
.post-meta-bar .sep { color: var(--gold); }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.post-content { font-size: 17px; line-height: 1.8; color: var(--ink-soft); }
.post-content h2 { font-family: var(--font-display); color: var(--ink); margin: 38px 0 14px; font-size: 27px; }
.post-content h3 { font-family: var(--font-display); color: var(--ink); margin: 28px 0 10px; font-size: 21px; }
.post-content p { margin-bottom: 18px; }
.post-content blockquote {
  border-left: 3px solid var(--gold); margin: 26px 0; padding: 6px 0 6px 26px;
  font-family: var(--font-display); font-size: 22px; font-style: italic; color: var(--ink); line-height: 1.5;
}
.post-content img { border-radius: var(--radius); margin: 26px 0; }
.post-content ul, .post-content ol { margin: 0 0 18px 26px; }
.post-content a { color: var(--accent); border-bottom: 1px solid var(--gold-soft); }
.post-content hr { border: none; height: 1px; background: var(--line); margin: 34px 0; }

.post-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }
.info-card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); padding: 24px; box-shadow: var(--shadow); }
.info-card h3 { font-size: 17px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.info-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 13.5px; }
.info-card dt { color: var(--muted); }
.info-card dd { color: var(--ink); text-align: right; }
.info-card .ext-link { display: block; margin-top: 12px; text-align: center; padding: 11px; border-radius: 10px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; transition: all .25s; }
.info-card .ext-link.tickets { background: var(--accent); color: #fff; }
.info-card .ext-link.tickets:hover { background: var(--accent-dark); }
.info-card .ext-link.site { border: 1px solid var(--gold); color: var(--gold); margin-top: 8px; }
.info-card .ext-link.site:hover { background: var(--gold); color: #fff; }

.sidebar-post { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sidebar-post img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.sidebar-post .t { font-size: 14.5px; font-family: var(--font-display); line-height: 1.35; }
.sidebar-post .m { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ===== Фотогалерея ===== */
.gallery { margin: 40px 0; }
.gallery-title { font-size: 26px; margin-bottom: 20px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; background: var(--bg-soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: 12.5px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .cap { opacity: 1; }

/* Лайтбокс */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(12, 6, 8, .95); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; animation: lbIn .3s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 6px; box-shadow: 0 30px 90px rgba(0,0,0,.6); animation: lbZoom .35s ease; }
@keyframes lbZoom { from { transform: scale(.96); opacity: .4; } to { transform: none; opacity: 1; } }
.lightbox .cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: 14px; letter-spacing: .04em; }
.lightbox .counter { position: absolute; top: 22px; left: 26px; color: rgba(255,255,255,.5); font-size: 13px; letter-spacing: .2em; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: #fff;
  width: 52px; height: 52px; border-radius: 50%; font-size: 20px; transition: background .25s; display: flex; align-items: center; justify-content: center;
}
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox .lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-close { top: 18px; right: 22px; }

/* ===== Об авторе ===== */
.about-hero { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: center; padding: 70px 0; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); aspect-ratio: 4/5; background: var(--bg-soft); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text h1 { font-size: clamp(32px, 4vw, 48px); margin: 10px 0 6px; }
.about-prof { color: var(--gold); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; }
.about-bio { margin-top: 18px; font-size: 16.5px; color: var(--ink-soft); }
.socials { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.socials a {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold);
  font-size: 13px; letter-spacing: .08em; transition: all .25s;
}
.socials a:hover { background: var(--gold); color: #fff; }

/* ===== Поиск ===== */
.search-page-hero { padding: 56px 0 8px; }
.search-big { display: flex; max-width: 720px; margin: 26px auto 0; }
.search-big input { flex: 1; padding: 16px 22px; font-size: 16px; border: 1px solid var(--line); border-radius: 12px 0 0 12px; outline: none; font-family: inherit; background: #fff; }
.search-big input:focus { border-color: var(--gold); }
.search-big button { padding: 16px 28px; background: var(--accent); color: #fff; border: none; border-radius: 0 12px 12px 0; font-size: 15px; }
.type-tabs { display: flex; gap: 8px; justify-content: center; margin: 24px 0 34px; flex-wrap: wrap; }

/* ===== Модальный поиск (шапка) ===== */
.search-modal { position: fixed; inset: 0; z-index: 900; background: rgba(250, 247, 242, .97); backdrop-filter: blur(8px); display: none; align-items: flex-start; justify-content: center; padding: 100px 24px 40px; }
.search-modal.open { display: flex; animation: lbIn .25s ease; }
.search-modal .inner { width: 100%; max-width: 680px; }
.search-modal input {
  width: 100%; padding: 18px 24px; font-size: 19px; border-radius: 14px; border: 1px solid var(--gold);
  outline: none; font-family: var(--font-display); background: #fff;
}
.search-modal .hint { margin-top: 14px; color: var(--muted); font-size: 13.5px; text-align: center; }
.search-modal .close-x { position: absolute; top: 26px; right: 30px; background: none; border: none; font-size: 26px; color: var(--ink); }

/* ===== Футер ===== */
.footer { background: #1c1213; color: #cfc4bd; margin-top: 80px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 40px; }
.footer .brand-name { color: #fff; }
.footer .brand-tagline { color: #9b8e88; }
.footer h4 { color: #fff; font-family: var(--font-display); font-size: 17px; margin-bottom: 18px; letter-spacing: .04em; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: #cfc4bd; font-size: 14px; transition: color .2s; }
.footer a:hover { color: var(--gold-soft); }
.footer .contacts { font-size: 14px; line-height: 1.8; white-space: pre-line; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; justify-content: space-between; gap: 14px; font-size: 13px; color: #9b8e88; flex-wrap: wrap; }

/* ===== Пустые состояния ===== */
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty .icon { font-size: 44px; margin-bottom: 14px; color: var(--gold); }
.empty h3 { color: var(--ink); font-size: 22px; margin-bottom: 8px; font-family: var(--font-display); }

/* ===== Утилиты ===== */
.lazy { opacity: 0; transition: opacity .5s; }
.lazy.loaded { opacity: 1; }
.tag-pill { display: inline-block; padding: 4px 12px; background: var(--bg-soft); border-radius: 999px; font-size: 12px; color: var(--ink-soft); margin: 2px 4px 2px 0; }
.tag-pill:hover { background: var(--gold-soft); }

/* ===== Адаптив ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .about-hero { grid-template-columns: 1fr; padding: 44px 0; }
  .about-photo { max-width: 420px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav, .search-trigger { display: none; }
  .burger { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero {
    min-height: 300px;
    height: auto;
  }
  .hero-slide { position: absolute; inset: 0; }
  .hero-slide .bg img, .hero-slide .bg svg {
    width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
  }
  .hero-content { padding: 56px 0 44px; }
  .hero-title { font-size: clamp(26px, 7.5vw, 34px); }
  .hero-subtitle { font-size: 14.5px; }
  .hero-btn { padding: 9px 18px; font-size: 11.5px; letter-spacing: .1em; margin-top: 14px; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 14px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .filters { gap: 8px; padding: 14px 16px; }
  .filters select, .filters input { max-width: 100%; }
  .section { padding: 44px 0 28px; }
  .section-head { margin-bottom: 22px; }
  .section-title { font-size: 26px; }
  .ticker-item { font-size: 11.5px; letter-spacing: .16em; }
  .ticker-sep { margin: 0 16px; }
  .header-inner { height: 62px; }
  .brand-name { font-size: 21px; }
  .brand-tagline { font-size: 9.5px; letter-spacing: .1em; }
  .card-title { font-size: 18px; }
  .post-hero .container { padding-top: 48px; padding-bottom: 32px; }
  .post-hero h1 { font-size: clamp(24px, 6vw, 32px); }
  .post-content { font-size: 15.5px; }
  .info-card { padding: 18px; }
  .search-big input { padding: 13px 16px; font-size: 15px; }
  .search-big button { padding: 13px 18px; }
  .pagination { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 260px; }
  .hero-content { padding: 44px 0 36px; }
  .hero-title { font-size: 25px; }
  .hero-kicker { font-size: 10px; letter-spacing: .2em; margin-bottom: 10px; }
  .hero-subtitle { font-size: 13.5px; margin-top: 10px; }
  .hero-btn { padding: 8px 16px; font-size: 10.5px; letter-spacing: .09em; }
  .hero-dots button { width: 24px; }
  .about-hero { padding: 28px 0; gap: 28px; }
  .ticker-item { font-size: 10.5px; }
  .card-body { padding: 16px; }
  .card-excerpt { font-size: 13.5px; }
  .container { padding: 0 16px; }
  .section-title::after { width: 40px; }
}
