@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --container: 1180px;
  --pad: 16px;
  --border: #dbe3e8;
  --text: #172033;
  --muted: #66758a;
  --bg: #f5f8f9;
  --surface: #ffffff;
  --surface-soft: #edf4f5;
  --brand: #1f4a5f;
  --accent: #19956b;
  --sand: #d7b56d;
  --shadow: 0 16px 40px rgba(23, 32, 51, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
a:hover { color: var(--accent); }

.container { max-width: var(--container); padding: 0 var(--pad); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 227, 232, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
.site-footer {
  border-top: 1px solid var(--border);
  background: #172033;
  color: #eaf1f3;
  margin-top: 56px;
  padding: 28px 0;
}
.site-header__row,
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.site-header__row { min-height: 70px; }
.site-logo {
  color: var(--brand);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}
.menu {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.menu a {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}
.menu a:hover {
  background: var(--surface-soft);
  color: var(--brand);
}
.site-footer .menu a { color: #d8e5e8; }
.site-footer__copy { margin: 0; color: #aab9c0; }
.site-main { padding: 34px 0 0; }
body.home .site-main,
body.front-page .site-main { padding-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: 0; }
h1 { margin: 0 0 24px; font-size: clamp(32px, 5vw, 52px); }
h2 { margin: 32px 0 16px; font-size: clamp(24px, 3vw, 34px); }
h3 { margin: 0 0 10px; }

.post-card,
.base-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(23, 32, 51, 0.04);
}
.post-card { margin-bottom: 18px; }
.post-card__thumb,
.base-card__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface-soft);
}
.post-card__thumb img,
.base-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.post-card:hover img,
.base-card:hover img { transform: scale(1.035); }
.post-card__title,
.base-card__title,
.post-card__excerpt,
.base-card__excerpt,
.base-card .muted { padding-inline: 18px; }
.post-card__title,
.base-card__title { padding-top: 16px; }
.post-card__excerpt,
.base-card__excerpt { padding-bottom: 18px; color: var(--muted); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.muted { color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn:hover { border-color: var(--accent); text-decoration: none; }

.catalog-filters {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  align-items: end;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.catalog-filters label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: var(--muted); }
.catalog-filters input, .catalog-filters select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--surface-soft);
  color: var(--text);
}
.catalog-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 16px; flex-wrap: wrap; }
.spinner { display: none; }
.is-loading .spinner { display: inline-block; }
.pagination,
.js-pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.home-hero {
  position: relative;
  display: grid;
  min-height: 620px;
  place-items: center;
  overflow: hidden;
  padding: 84px 16px 64px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(23, 32, 51, 0.44), rgba(23, 32, 51, 0.78)),
    var(--hero-image) center / cover;
}
.home-hero__inner {
  width: min(820px, 100%);
}
.home-hero__eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(25, 149, 107, 0.88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-hero h1 {
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(40px, 7vw, 76px);
}
.home-hero p:not(.home-hero__eyebrow) {
  max-width: 680px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}
.home-section { padding-top: 46px; }
.home-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.home-section__head h2 { margin: 0; }
.home-section__head a { color: var(--accent); font-weight: 750; }
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border-radius: 8px;
  background: #172033;
  color: #fff;
}
.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.35s ease;
}
.feature-card:hover img { transform: scale(1.04); }
.feature-card h3 {
  position: absolute;
  left: 18px;
  bottom: 16px;
  margin: 0;
  color: #fff;
  font-size: 24px;
}
.base-single {
  max-width: 860px;
  margin: 0 auto;
}
.base-single__hero {
  overflow: hidden;
  margin: 0 0 24px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.base-single__hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.base-single__content {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 20px;
}
.entry-single {
  max-width: 860px;
  margin: 0 auto;
}
.entry-single__header {
  margin-bottom: 24px;
}
.entry-single__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.entry-single__meta a {
  color: var(--accent);
}
.entry-single__hero {
  overflow: hidden;
  margin: 0 0 28px;
  border-radius: 8px;
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}
.entry-single__hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.entry-content {
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 1px 0 rgba(23, 32, 51, 0.04);
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content p,
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.2em;
  font-size: 18px;
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.35em;
}
.entry-content li + li {
  margin-top: 0.35em;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 1.5em;
  margin-bottom: 0.65em;
}
.entry-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content blockquote {
  margin: 1.5em 0;
  border-left: 4px solid var(--accent);
  padding: 6px 0 6px 18px;
  color: #344256;
  background: linear-gradient(90deg, rgba(25, 149, 107, 0.08), transparent);
}
.entry-content figure,
.entry-content .wp-block-image {
  margin: 1.6em 0;
}
.entry-content img {
  border-radius: 8px;
}
.entry-content figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.entry-content table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}
.entry-content th,
.entry-content td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}
.entry-content th {
  background: var(--surface-soft);
}
.page-links,
.entry-single__footer {
  margin-top: 24px;
}
.entry-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.entry-tags a {
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--surface-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}
.post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.post-navigation a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 12px;
  color: var(--brand);
  font-weight: 800;
}
.term-header {
  border-radius: 8px;
  margin-bottom: 30px;
  padding: 28px;
  background: linear-gradient(135deg, #1f4a5f, #19956b);
  color: #fff;
}
.term-header .muted { color: rgba(255, 255, 255, 0.72); }

@media (max-width: 720px) {
  .site-header__row,
  .site-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-main { padding-top: 24px; }
  .catalog-filters { padding: 14px; }
  .entry-content { padding: 18px; }
  .entry-content p,
  .entry-content ul,
  .entry-content ol { font-size: 16px; }
  .post-navigation { grid-template-columns: 1fr; }
}

/* Next.js design alignment */
:root {
  --bg: #f8fafb;
  --surface-soft: #eef3f5;
  --brand: #1d354f;
  --brand-dark: #14283f;
  --accent: #15945f;
  --muted: #6f7f8d;
  --radius-card: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 0;
  background: var(--brand-dark);
  color: #fff;
  backdrop-filter: none;
}

.site-header__row {
  min-height: 56px;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 18px;
  white-space: nowrap;
}

.site-logo__mark {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.site-nav {
  flex: 1;
}

.site-header .menu {
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.site-header .menu a {
  padding: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 600;
}

.site-header .menu a:hover {
  background: transparent;
  color: #fff;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.site-header__login {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 650;
}

.btn--accent {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.site-main {
  padding-top: 56px;
}

body.home .site-main,
body.front-page .site-main {
  padding-top: 0;
}

.home-hero {
  min-height: 92vh;
  padding-top: 96px;
  padding-bottom: 40px;
  background:
    linear-gradient(to bottom, rgba(20, 40, 63, 0.74) 0%, rgba(20, 40, 63, 0.56) 60%, rgba(13, 28, 46, 0.88) 100%),
    var(--hero-image) center / cover;
}

.home-hero__inner {
  width: min(896px, 100%);
}

.home-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 800;
}

.home-hero p:not(.home-hero__eyebrow) {
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.76);
}

.home-search {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-radius: var(--radius-card);
  background: #fff;
  padding: 24px;
  color: var(--text);
  text-align: left;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.30);
}

.home-search label {
  display: grid;
  gap: 6px;
}

.home-search label > span,
.catalog-filters label > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-search select,
.home-search input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
  padding: 12px 14px;
  color: var(--text);
}

.home-search__activities {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-search__activities span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.home-search .btn {
  grid-column: 1 / -1;
  min-height: 56px;
  font-size: 16px;
}

.home-hero__stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.home-hero__stats strong {
  color: #fff;
}

.section-eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.home-section {
  padding-top: 80px;
  padding-bottom: 40px;
}

.post-card,
.base-card,
.feature-card {
  border-radius: var(--radius-card);
  box-shadow: 0 1px 3px rgba(23, 32, 51, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.post-card:hover,
.base-card:hover,
.feature-card:hover {
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.14);
}

.base-card__thumb,
.post-card__thumb {
  position: relative;
  aspect-ratio: auto;
  height: 208px;
}

.base-card__thumb::after,
.post-card__thumb::after,
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58), transparent);
  pointer-events: none;
}

.base-card__title,
.post-card__title {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 800;
}

.base-card .muted,
.post-card__excerpt,
.base-card__excerpt {
  font-size: 14px;
}

.page-hero,
.article-hero {
  background: var(--brand-dark);
  color: #fff;
}

.page-hero {
  padding: 40px 0;
}

.page-hero h1,
.article-hero h1 {
  color: #fff;
}

.page-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 40px);
}

.page-hero p,
.article-hero > .container > p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.66);
}

.breadcrumbs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.breadcrumbs a:hover {
  color: rgba(255, 255, 255, 0.84);
}

.catalog-page {
  padding-top: 32px;
}

.blog-listing {
  padding-top: 40px;
  padding-bottom: 24px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.blog-card {
  margin-bottom: 0;
}

.post-card__body {
  padding: 18px;
}

.post-card__body .post-card__title,
.post-card__body .post-card__excerpt {
  padding: 0;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.post-card__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.empty-state {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: #fff;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.catalog-filters {
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(23, 32, 51, 0.07);
}

.article-hero {
  padding: 32px 0;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.category-badge {
  display: inline-flex;
  border-radius: 4px;
  padding: 4px 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.article-hero h1 {
  max-width: 780px;
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.article-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.article-author img {
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.22);
}

.article-author strong,
.article-author span {
  display: block;
}

.article-author span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.article-image {
  margin: 0;
  height: clamp(288px, 40vw, 440px);
}

.article-image img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  padding-top: 40px;
}

.entry-single {
  max-width: none;
}

.entry-content {
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  color: #344256;
  font-size: 16px;
  line-height: 1.75;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  font-size: 16px;
}

.entry-content h2 {
  border-bottom: 2px solid rgba(21, 148, 95, 0.24);
  padding-bottom: 8px;
  font-size: 22px;
}

.entry-content h3 {
  font-size: 18px;
}

.entry-content blockquote {
  border-color: var(--brand);
  border-radius: 0 12px 12px 0;
  background: rgba(29, 53, 79, 0.06);
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  position: sticky;
  top: 76px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: #fff;
  padding: 20px;
}

.sidebar-card + .sidebar-card {
  position: static;
}

.sidebar-card__title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.sidebar-card--cta {
  background: var(--brand);
  color: #fff;
}

.sidebar-card--cta p:not(.sidebar-card__title) {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.sidebar-card--cta .sidebar-card__title {
  color: #fff;
}

.post-navigation {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.site-footer {
  background: #102037;
  padding: 48px 0 0;
}

.site-footer .container {
  display: block;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, minmax(160px, 1fr));
  gap: 40px;
}

.site-footer__brand p,
.site-footer__links a,
.site-footer .menu a,
.site-footer__bottom {
  color: rgba(216, 229, 232, 0.64);
}

.site-footer__brand p {
  max-width: 340px;
  font-size: 14px;
}

.site-footer__title {
  margin: 0 0 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer .menu,
.site-footer__links {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.site-footer__links {
  display: flex;
}

.site-footer .menu a {
  padding: 0;
  font-weight: 500;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 12px;
}

.site-footer__bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-nav,
  .site-header__actions {
    display: none;
  }
  .site-header__row {
    justify-content: space-between;
  }
  .home-search {
    grid-template-columns: 1fr;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    display: none;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header__row,
  .site-footer .container {
    align-items: center;
    flex-direction: row;
  }
  .home-hero {
    min-height: auto;
    padding-top: 96px;
  }
  .post-navigation {
    grid-template-columns: 1fr;
  }
  .site-footer__bottom {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER: 4 колонки
═══════════════════════════════════════════════════════════ */
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(140px, 1fr));
  gap: 40px;
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer__col a {
  color: rgba(216, 229, 232, 0.64);
  font-size: 14px;
  font-weight: 500;
}
.site-footer__col a:hover { color: #fff; }

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   HEADER: Dropdown + Mobile burger
═══════════════════════════════════════════════════════════ */
.menu-item-has-children { position: relative; }
.menu-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  color: rgba(255,255,255,0.76);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.menu-dropdown-toggle:hover { color: #fff; }
.dropdown-arrow { transition: transform 0.2s; }
.menu-dropdown-toggle[aria-expanded="true"] .dropdown-arrow { transform: rotate(180deg); }

.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  min-width: 200px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(23,32,51,0.15);
}
.sub-menu li a {
  display: block;
  padding: 10px 18px;
  color: var(--text) !important;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
  background: none;
}
.sub-menu li a:hover { background: var(--surface-soft); color: var(--brand) !important; }

/* Бургер */
.site-header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.site-header__burger.is-active .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__burger.is-active .burger-line:nth-child(2) { opacity: 0; }
.site-header__burger.is-active .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобильное меню */
.mobile-menu {
  background: var(--brand-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0 28px;
}
.mobile-menu .container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.mobile-menu__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.mobile-menu__list > li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu__list > li > a {
  display: block;
  padding: 14px 16px;
  color: rgba(255,255,255,0.84);
  font-size: 16px;
  font-weight: 600;
}
.mobile-menu__section { padding: 12px 16px; }
.mobile-menu__section-title {
  display: block;
  color: rgba(255,255,255,0.44);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.mobile-menu__section a {
  display: block;
  padding: 8px 0;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}
.mobile-menu__actions {
  display: flex;
  gap: 12px;
  padding: 0 16px;
}
.btn--outline {
  border-color: rgba(255,255,255,0.24);
  background: transparent;
  color: #fff;
}
.btn--outline:hover { border-color: #fff; }

@media (max-width: 900px) {
  .site-nav, .site-header__actions { display: none; }
  .site-header__burger { display: flex; }
}

/* ═══════════════════════════════════════════════════════════
   ГЛАВНАЯ: секции Reviews, Blog, CTA
═══════════════════════════════════════════════════════════ */
.home-section { padding-bottom: 64px; }

/* Карточки отзывов */
.review-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(23,32,51,0.06);
  transition: box-shadow 0.25s;
}
.review-card:hover { box-shadow: 0 12px 32px rgba(23,32,51,0.12); }
.review-card__image { height: 160px; overflow: hidden; }
.review-card__image img { width: 100%; height: 100%; object-fit: cover; }
.review-card__body { padding: 18px; }
.review-card__stars { display: flex; gap: 3px; margin-bottom: 10px; }
.star { color: #ddd; font-size: 16px; }
.star--active { color: #f59e0b; }
.star--lg { font-size: 22px; }
.review-card__title { margin: 0 0 10px; font-size: 16px; }
.review-card__title a { color: var(--text); }
.review-card__title a:hover { color: var(--accent); }
.review-card__text { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.review-card__author { display: flex; align-items: center; gap: 10px; }
.review-card__avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.review-card__author strong { display: block; font-size: 13px; }
.review-card__author time { color: var(--muted); font-size: 12px; }

/* Блог на главной */
.blog-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-featured-card { border-radius: var(--radius-card); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.blog-featured-card--main { grid-row: span 2; }
.blog-featured-card__thumb { display: block; position: relative; overflow: hidden; }
.blog-featured-card--main .blog-featured-card__thumb { height: 320px; }
.blog-featured-card:not(.blog-featured-card--main) .blog-featured-card__thumb { height: 150px; }
.blog-featured-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.blog-featured-card:hover .blog-featured-card__thumb img { transform: scale(1.04); }
.blog-featured-card__body { padding: 16px 18px 18px; }
.blog-featured-card__body h3 { margin: 0 0 6px; font-size: 16px; }
.blog-featured-card__body h3 a { color: var(--text); }
.blog-featured-card__body h3 a:hover { color: var(--accent); }
.blog-featured-card__body p { color: var(--muted); font-size: 13px; margin: 0; }

@media (max-width: 760px) {
  .blog-featured-grid { grid-template-columns: 1fr; }
  .blog-featured-card--main { grid-row: auto; }
}

/* CTA секция */
.home-cta {
  background: var(--brand-dark);
  padding: 64px 0;
  margin-top: 40px;
}
.home-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.home-cta__block { color: #fff; }
.home-cta__block .section-eyebrow { color: var(--accent); }
.home-cta__block h2 { color: #fff; margin-top: 8px; font-size: clamp(22px, 3vw, 30px); }
.home-cta__block p { color: rgba(255,255,255,0.68); font-size: 15px; margin: 12px 0 24px; }
.home-cta__block--right { border-left: 1px solid rgba(255,255,255,0.08); padding-left: 48px; }

@media (max-width: 760px) {
  .home-cta__grid { grid-template-columns: 1fr; }
  .home-cta__block--right { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); padding-left: 0; padding-top: 32px; }
}

/* Popular destinations улучшенные */
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-card { border-radius: var(--radius-card); cursor: pointer; }
.feature-card a { display: block; height: 100%; position: relative; overflow: hidden; border-radius: var(--radius-card); }
.feature-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(25,149,107,0.9);
  color: #fff;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
}
.feature-card__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.72), transparent);
}
.feature-card__footer h3 { margin: 0 0 6px; color: #fff; font-size: 22px; }
.feature-card__meta { display: flex; gap: 10px; align-items: center; }
.feature-card__rating { color: #f59e0b; font-size: 13px; font-weight: 800; }
.feature-card__count { color: rgba(255,255,255,0.72); font-size: 12px; }

@media (max-width: 760px) {
  .grid--3 { grid-template-columns: 1fr; }
}

/* Activity pills */
.activity-pill { display: inline-flex; align-items: center; cursor: pointer; }
.activity-pill__input { position: absolute; opacity: 0; width: 0; height: 0; }
.activity-pill span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.18s;
  user-select: none;
}
.activity-pill--active span,
.activity-pill__input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   КАТАЛОГ: sortbar, grid/list, pagination
═══════════════════════════════════════════════════════════ */
.catalog-sortbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.catalog-sortbar__left { display: flex; align-items: center; gap: 12px; }
.catalog-sortbar__right { display: flex; align-items: center; gap: 12px; }
.catalog-sortbar__sort-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.catalog-sortbar__sort-label select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}
.catalog-found { font-size: 14px; color: var(--muted); font-weight: 600; }
.catalog-filters__reset { color: var(--muted); font-weight: 600; }

/* View toggle */
.catalog-view-toggle { display: flex; gap: 4px; }
.view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}
.view-btn--active { border-color: var(--accent); background: var(--accent); color: #fff; }

/* List view */
[data-results][data-view="list"] { grid-template-columns: 1fr; }
[data-results][data-view="list"] .base-card { display: grid; grid-template-columns: 240px 1fr; }
[data-results][data-view="list"] .base-card__thumb { height: 100%; aspect-ratio: auto; border-radius: var(--radius-card) 0 0 var(--radius-card); }
[data-results][data-view="list"] .base-card__thumb img { height: 100%; }

/* Pagination улучшенная */
.pagination {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}
.pagination .btn { min-height: 40px; min-width: 40px; padding: 8px 12px; font-size: 14px; }
.pagination .btn--accent { border-color: var(--accent); background: var(--accent); color: #fff; }
.pagination .btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.pagination__ellipsis { padding: 8px 4px; color: var(--muted); }
.pagination__prev, .pagination__next { display: inline-flex; align-items: center; gap: 4px; }

/* ═══════════════════════════════════════════════════════════
   SINGLE BASE: двухколоночный layout
═══════════════════════════════════════════════════════════ */
.base-hero-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-height: 460px;
  overflow: hidden;
}
.base-hero-gallery__main { overflow: hidden; }
.base-hero-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.base-hero-gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.base-hero-gallery__thumb {
  display: block;
  overflow: hidden;
  position: relative;
}
.base-hero-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.base-gallery__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.54);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.base-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  padding-top: 28px;
  align-items: start;
}
.base-main { min-width: 0; }
.base-section { margin-bottom: 36px; }
.base-section h2 { font-size: 22px; margin-bottom: 18px; }

.base-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.base-title-row h1 { font-size: clamp(26px, 3.5vw, 36px); margin: 4px 0 8px; }
.base-location { color: var(--muted); font-size: 14px; }
.base-location a { color: var(--accent); }
.base-badge {
  display: inline-flex;
  border-radius: 4px;
  padding: 3px 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.base-rating-compact { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; flex-shrink: 0; }
.base-rating-compact__score { font-size: 36px; font-weight: 900; color: var(--text); line-height: 1; }
.base-rating-compact__stars { display: flex; gap: 2px; }
.base-rating-compact__count { color: var(--muted); font-size: 12px; }

/* Services grid */
.base-services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.base-service-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.base-service-item__icon { color: var(--accent); flex-shrink: 0; }

/* Fish grid */
.base-fish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; }
.base-fish-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); text-align: center; }
.base-fish-card__image { height: 90px; overflow: hidden; background: var(--surface-soft); }
.base-fish-card__image img { width: 100%; height: 100%; object-fit: cover; }
.base-fish-card__body { padding: 8px 10px; font-size: 13px; font-weight: 700; }

/* Gallery grid */
.base-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.base-gallery-grid__item { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; }
.base-gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.base-gallery-grid__item:hover img { transform: scale(1.06); }

/* Extra services table */
.base-extra-table { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.base-extra-table__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  font-size: 14px;
}
.base-extra-table__row:nth-child(even) { background: var(--surface-soft); }
.base-extra-table__price { font-weight: 800; color: var(--accent); }

/* Rating panel */
.base-rating-panel { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; }
.base-rating-panel__score { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.base-rating-panel__num { font-size: 56px; font-weight: 900; line-height: 1; color: var(--text); }
.base-rating-panel__stars { display: flex; gap: 4px; }
.base-rating-panel__bars { display: flex; flex-direction: column; gap: 12px; }
.rating-bar { display: grid; grid-template-columns: 140px 1fr 40px; align-items: center; gap: 12px; }
.rating-bar__label { font-size: 14px; font-weight: 600; color: var(--text); }
.rating-bar__track { height: 8px; background: var(--surface-soft); border-radius: 999px; overflow: hidden; }
.rating-bar__fill { height: 100%; background: var(--accent); border-radius: 999px; }
.rating-bar__val { font-size: 14px; font-weight: 800; color: var(--text); text-align: right; }

/* Sidebar */
.base-sidebar { position: sticky; top: 72px; }
.base-sidebar__card { border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); padding: 24px; display: flex; flex-direction: column; gap: 18px; }

.base-price-block { display: flex; flex-direction: column; gap: 10px; }
.base-price-block__item { display: flex; justify-content: space-between; align-items: center; }
.base-price-block__item span { color: var(--muted); font-size: 14px; }
.base-price-block__item strong { font-size: 18px; font-weight: 800; }

.btn--full { width: 100%; }

.base-contacts { display: flex; flex-direction: column; gap: 10px; }
.base-contacts__item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); }
.base-contacts__item svg { color: var(--accent); flex-shrink: 0; }

.base-socials { display: flex; gap: 8px; }
.base-socials__btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 8px; color: var(--brand); transition: all 0.2s; }
.base-socials__btn:hover { border-color: var(--accent); background: var(--accent); color: #fff; }

.base-sidebar__water { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.base-sidebar__water svg { color: var(--accent); }
.base-sidebar__water a { color: var(--accent); font-weight: 700; }

.breadcrumbs--dark { color: var(--muted); margin-top: 16px; margin-bottom: 8px; }

.base-content { color: #344256; font-size: 16px; line-height: 1.75; }

@media (max-width: 900px) {
  .base-hero-gallery { grid-template-columns: 1fr; max-height: 260px; }
  .base-hero-gallery__grid { display: none; }
  .base-layout { grid-template-columns: 1fr; }
  .base-sidebar { position: static; }
  .base-rating-panel { grid-template-columns: 1fr; }
  .rating-bar { grid-template-columns: 100px 1fr 36px; }
}

/* ═══════════════════════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__content { display: flex; flex-direction: column; align-items: center; max-width: 90vw; max-height: 90vh; }
.lightbox__img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 8px; }
.lightbox__caption { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 12px; text-align: center; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: fixed;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,0.22); }
.lightbox__counter { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 14px; }

/* ═══════════════════════════════════════════════════════════
   РЕГИОН
═══════════════════════════════════════════════════════════ */
.region-hero { background: var(--brand-dark); color: #fff; padding: 40px 0 48px; }
.region-hero .breadcrumbs { color: rgba(255,255,255,0.52); }
.region-hero .breadcrumbs a:hover { color: rgba(255,255,255,0.84); }
.region-hero__body { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; margin-top: 20px; }
.region-hero__body h1 { color: #fff; margin: 8px 0 12px; }
.region-hero__body p { color: rgba(255,255,255,0.72); }
.region-hero__capital { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.6) !important; font-size: 14px; margin-bottom: 8px !important; }
.region-hero__stats { display: flex; gap: 20px; flex-wrap: wrap; flex-shrink: 0; }
.region-stat { text-align: center; }
.region-stat__num { display: block; font-size: 32px; font-weight: 900; color: #fff; }
.region-stat__label { display: block; font-size: 12px; color: rgba(255,255,255,0.56); margin-top: 2px; }

.region-section { margin-bottom: 48px; }

/* Water table */
.water-table { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.water-table__head { display: grid; grid-template-columns: 1fr 140px 80px; gap: 16px; padding: 12px 18px; background: var(--surface-soft); font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.water-table__row { display: grid; grid-template-columns: 1fr 140px 80px; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--border); font-size: 14px; align-items: center; }
.water-table__row a { color: var(--accent); font-weight: 700; }
.water-table__row:hover { background: var(--surface-soft); }

@media (max-width: 700px) {
  .region-hero__body { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   ВОДОЁМ
═══════════════════════════════════════════════════════════ */
.page-hero--water { padding-bottom: 48px; }
.water-hero__body { display: grid; grid-template-columns: 1fr auto; gap: 40px; margin-top: 20px; align-items: start; }
.water-hero__body h1 { color: #fff; margin: 8px 0 12px; }
.water-hero__body p { color: rgba(255,255,255,0.72); }

.water-specs { display: flex; flex-direction: column; gap: 10px; min-width: 220px; background: rgba(255,255,255,0.07); border-radius: 12px; padding: 18px; }
.water-spec { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.water-spec__label { color: rgba(255,255,255,0.56); }
.water-spec__val { color: #fff; font-weight: 700; }

.water-section { margin-bottom: 48px; }

/* Gauge table */
.gauge-table { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.gauge-table__head { display: grid; grid-template-columns: 1fr 120px 80px 120px; gap: 12px; padding: 12px 18px; background: var(--surface-soft); font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.gauge-table__row { display: grid; grid-template-columns: 1fr 120px 80px 120px; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--border); font-size: 14px; align-items: center; }
.trend--up { color: #22c55e; font-weight: 800; }
.trend--down { color: #ef4444; font-weight: 800; }
.trend--stable { color: var(--muted); }

.water-fish-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.fish-tag { border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; color: var(--brand); background: var(--surface); }

@media (max-width: 700px) {
  .water-hero__body { grid-template-columns: 1fr; }
  .gauge-table__head, .gauge-table__row { grid-template-columns: 1fr 80px 60px; }
  .gauge-table__row > *:last-child, .gauge-table__head > *:last-child { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   КАТАЛОГ ВОДОЁМОВ
═══════════════════════════════════════════════════════════ */
.waters-filters {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin: 28px 0 20px;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.waters-filters__search input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  min-width: 240px;
  background: var(--surface-soft);
  color: var(--text);
}
.waters-filters__types { display: flex; gap: 8px; flex-wrap: wrap; }
.waters-filters__fish select { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; background: var(--surface-soft); color: var(--text); font-size: 13px; }

.pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill--active { border-color: var(--accent); background: var(--accent); color: #fff; }

.alpha-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.alpha-nav__letter { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--brand); font-weight: 800; font-size: 15px; }
.alpha-nav__letter:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.waters-group { margin-bottom: 40px; }
.waters-group__letter { font-size: 28px; font-weight: 900; color: var(--brand); margin: 0 0 16px; border-bottom: 2px solid var(--surface-soft); padding-bottom: 8px; }
.waters-group__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }

.water-item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.water-item:hover { border-color: var(--accent); background: #f0faf6; }
.water-item__name { font-weight: 700; color: var(--text); }
.water-item:hover .water-item__name { color: var(--accent); }
.water-item__type { font-size: 12px; color: var(--muted); }
.water-item__count { font-size: 12px; font-weight: 700; color: var(--brand); background: var(--surface-soft); padding: 2px 8px; border-radius: 999px; }

/* ═══════════════════════════════════════════════════════════
   БЛОГ: layout с sidebar + filters
═══════════════════════════════════════════════════════════ */
.blog-page { padding-top: 32px; padding-bottom: 64px; }
.blog-cat-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; }
.blog-sidebar { display: flex; flex-direction: column; gap: 20px; }
.blog-sidebar__stats { display: flex; gap: 24px; margin-top: 10px; }
.blog-sidebar__stats div { display: flex; flex-direction: column; }
.blog-sidebar__stats strong { font-size: 22px; font-weight: 900; }
.blog-sidebar__stats span { color: var(--muted); font-size: 12px; }

@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   SINGLE.PHP: TOC, feedback, read time
═══════════════════════════════════════════════════════════ */
.toc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.toc__item a { font-size: 14px; color: var(--brand); line-height: 1.4; }
.toc__item a:hover { color: var(--accent); text-decoration: underline; }
.toc__item--h3 { padding-left: 14px; }
.toc__item--h3 a { color: var(--muted); font-size: 13px; }

.entry-feedback {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.entry-feedback__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-color: var(--border);
}
.entry-feedback__btn:hover { border-color: var(--accent); color: var(--accent); }

/* ═══════════════════════════════════════════════════════════
   BASE-CARD: badge, звёздный рейтинг
═══════════════════════════════════════════════════════════ */
.base-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
}
.base-card__rating { display: flex; align-items: center; gap: 4px; padding-inline: 18px; margin: 4px 0; font-size: 13px; font-weight: 700; }
.base-card__rating .star--active { color: #f59e0b; font-size: 14px; }
.base-card__rating-num { color: var(--text); }
.base-card__rating-count { color: var(--muted); }

/* post-card: расчётное время чтения вместо захардкоженного */
.post-card__read-time { color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   PAGE-HERO DARK (регионы, водоёмы)
═══════════════════════════════════════════════════════════ */
.page-hero--dark {
  background: #1b2e3f;
  color: #fff;
}
.page-hero--dark h1,
.page-hero--dark p { color: #fff; }
.page-hero--dark .breadcrumbs a { color: rgba(255,255,255,.55); }
.page-hero--dark .breadcrumbs span { color: rgba(255,255,255,.35); }

/* ═══════════════════════════════════════════════════════════
   REGIONS PAGE
═══════════════════════════════════════════════════════════ */
.regions-hero__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.regions-hero__stats {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.regions-hero__stat {
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 10px 18px;
  text-align: center;
  min-width: 72px;
}
.regions-hero__stat strong { display: block; font-size: 22px; font-weight: 800; color: #fff; line-height: 1; }
.regions-hero__stat span { font-size: 11px; color: rgba(255,255,255,.5); }

.regions-filters {
  position: sticky;
  top: 56px;
  z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-top: 12px;
  padding-bottom: 12px;
}
.regions-filters__row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.regions-filters__search {
  position: relative;
  flex: 1 1 220px;
}
.regions-filters__search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.regions-filters__search input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: var(--surface);
  color: var(--text);
}
.regions-filters__row select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.btn-reset {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.btn-reset:hover { color: var(--accent); }

.regions-catalog { margin-top: 40px; margin-bottom: 64px; display: flex; flex-direction: column; gap: 48px; }

.regions-district__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.regions-district__head h2 { font-size: 17px; font-weight: 700; white-space: nowrap; }
.regions-district__line { flex: 1; border-top: 1px solid var(--border); }
.regions-district__count { font-size: 13px; color: var(--muted); white-space: nowrap; }

.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.region-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 20px;
  transition: border-color .18s, box-shadow .18s;
}
.region-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(25,149,107,.1);
}

.region-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.region-card__top h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  transition: color .15s;
}
.region-card:hover .region-card__top h3 { color: var(--accent); }
.region-card__arrow { color: var(--muted); flex-shrink: 0; margin-top: 4px; transition: transform .15s; }
.region-card:hover .region-card__arrow { transform: translateX(2px); color: var(--accent); }

.region-card__badge {
  display: inline-block;
  background: #2c4f6b;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 4px;
  padding: 2px 6px;
  margin-bottom: 4px;
}

.region-card__stats {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
.region-card__stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.region-card__stats svg { color: var(--accent); flex-shrink: 0; }
.region-card__stats strong { color: var(--text); }

.region-card__waters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.region-card__waters span {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--muted);
}

.region-card__fish {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.region-card__fish svg { color: var(--muted); flex-shrink: 0; }

.regions-empty-msg { text-align: center; color: var(--muted); padding: 48px 0; }

@media (max-width: 640px) {
  .regions-hero__inner { flex-direction: column; align-items: flex-start; }
  .regions-hero__stats { gap: 8px; }
  .regions-filters__row { flex-direction: column; }
  .regions-filters__search { width: 100%; }
  .regions-filters__row select { width: 100%; }
}

