/* Собрано из шаблонов — tools/extract_template_styles.php */


/* --- template/minimal/header.php --- */
.theme-minimal .mn-ribbon {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.82);
  font-family: Oswald, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.theme-minimal .mn-ribbon-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 7px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.theme-minimal .mn-ribbon-date {
  color: rgba(201, 162, 39, 0.95);
  font-weight: 500;
}
.theme-minimal .mn-masthead {
  background: #fff;
  border-bottom: 4px solid #c9a227;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.06);
}
.theme-minimal .mn-masthead-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.theme-minimal .mn-wordmark {
  font-family: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  font-size: clamp(2rem, 6.5vw, 3.25rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #0a0a0a;
  text-transform: uppercase;
}
.theme-minimal .mn-wordmark:hover {
  color: #1a1a1a;
}
.theme-minimal .mn-burger {
  display: none;
  font-family: Oswald, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #0a0a0a;
  color: #fff;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 2px;
}
.theme-minimal .mn-burger:hover {
  background: #c9a227;
  color: #0a0a0a;
}
.theme-minimal .mn-navbar {
  background: #141414;
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
}
.theme-minimal .mn-navbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 12px;
}
.theme-minimal .mn-navlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.theme-minimal .mn-navlist li {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.theme-minimal .mn-navlist li:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.theme-minimal .mn-navlist a {
  display: block;
  padding: 14px 20px;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  transition: background 0.15s, color 0.15s;
}
.theme-minimal .mn-navlist a:hover {
  background: rgba(201, 162, 39, 0.15);
  color: #f5e6b3;
}

@media (min-width: 901px) {
  .theme-minimal .mn-navlist > li.menu-item-has-children {
    position: relative;
  }

  .theme-minimal .mn-navlist .sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 220px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    z-index: 200;
  }

  .theme-minimal .mn-navlist .sub-menu .sub-menu {
    left: 100%;
    top: 0;
    margin-left: 2px;
  }

  .theme-minimal .mn-navlist li.menu-item-has-children:hover > .sub-menu,
  .theme-minimal .mn-navlist li.menu-item-has-children:focus-within > .sub-menu {
    display: block;
  }

  .theme-minimal .mn-navlist .sub-menu li {
    border-right: none;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .theme-minimal .mn-navlist .sub-menu li:last-child {
    border-bottom: none;
  }

  .theme-minimal .mn-navlist .sub-menu a {
    padding: 12px 18px;
    font-size: 13px;
  }

  .theme-minimal .mn-navlist .sub-menu a:hover {
    background: rgba(201, 162, 39, 0.2);
  }
}

.theme-minimal .mn-nav-empty {
  display: block;
  padding: 14px 20px;
  color: rgba(255, 255, 255, 0.45);
  font-family: Oswald, sans-serif;
  font-size: 13px;
}
@media (max-width: 900px) {
  .theme-minimal .mn-burger { display: block; }
  .theme-minimal .mn-navbar-inner { padding: 0; }
  .theme-minimal .mn-navlist {
    display: none;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .theme-minimal .mn-navlist.is-open { display: flex; }
  .theme-minimal .mn-navlist li {
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .theme-minimal .mn-navlist li:first-child { border-left: none; }

  .theme-minimal .mn-navlist .sub-menu {
    display: block;
    position: static;
    margin: 0;
    padding: 0 0 0 14px;
    list-style: none;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .theme-minimal .mn-navlist .sub-menu li {
    border-left: none;
    border-right: none;
  }

  .theme-minimal .mn-navlist .sub-menu a {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* --- template/minimal/footer.php --- */
.theme-minimal .mn-footer {
  margin-top: 64px;
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.78);
  font-family: Oswald, system-ui, sans-serif;
  position: relative;
}
.theme-minimal .mn-footer-gold {
  height: 4px;
  background: linear-gradient(90deg, #c9a227, #e8d48a, #c9a227);
}
.theme-minimal .mn-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 22px 32px;
}
.theme-minimal .mn-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.theme-minimal .mn-footer-brand {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.theme-minimal .mn-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: flex-end;
}
.theme-minimal .mn-footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.theme-minimal .mn-footer-nav a:hover {
  color: #e8d48a;
  border-bottom-color: rgba(201, 162, 39, 0.65);
}
.theme-minimal .mn-footer-contact-wrap {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.theme-minimal .mn-footer-contact-wrap .cms-foot-contact__strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
}
.theme-minimal .mn-footer-contact-wrap .cms-foot-contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.theme-minimal .mn-footer-contact-wrap .cms-foot-contact__glyph {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  background: rgba(201, 162, 39, 0.18);
  border-radius: 9px;
  color: #e8d48a;
}
.theme-minimal .mn-footer-contact-wrap .cms-foot-contact__link {
  color: #f7f2e4;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.theme-minimal .mn-footer-contact-wrap .cms-foot-contact__link:hover {
  color: #e8d48a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.theme-minimal .mn-footer-legal {
  padding-top: 22px;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 400;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .theme-minimal .mn-footer-nav ul { justify-content: flex-start; }
}

/* --- template/minimal/home.php --- */
body.theme-minimal {
  margin: 0;
  background: #ece8e0;
  color: #141414;
  font-family: Oswald, system-ui, sans-serif;
}
.theme-minimal .mn-home {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 18px 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.theme-minimal .cms-home-top-stories__inner {
  padding: 14px 16px 16px;
  background: #fff;
  border-radius: 0;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-left: 4px solid #c9a227;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.theme-minimal .cms-home-top-stories__label {
  font-family: Oswald, sans-serif;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a227;
}
.theme-minimal .cms-home-top-stories__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.theme-minimal .cms-home-top-stories__item {
  flex: 1 1 180px;
  min-width: 0;
}
.theme-minimal .cms-home-top-stories__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 12px;
  text-decoration: none;
  color: #0a0a0a;
  background: #f7f5f0;
  border: 1px solid rgba(10, 10, 10, 0.1);
  transition: border-color 0.15s, background 0.15s;
}
.theme-minimal .cms-home-top-stories__link:hover {
  border-color: #c9a227;
  background: #fff;
}
.theme-minimal .cms-home-top-stories__thumb {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  background: #ddd;
}
.theme-minimal .cms-home-top-stories__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.theme-minimal .cms-home-top-stories__title {
  font-family: Oswald, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 768px) {
  .theme-minimal .cms-home-top-stories__inner { padding: 10px 10px 12px; }
  .theme-minimal .cms-home-top-stories__list {
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: visible;
    scroll-snap-type: none;
    gap: 10px;
    padding-bottom: 0;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .theme-minimal .cms-home-top-stories__item {
    flex: none;
    width: 100%;
    max-width: none;
    scroll-snap-align: none;
  }
  .theme-minimal .cms-home-top-stories__title {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
}
.theme-minimal .mn-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #0a0a0a;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.theme-minimal .mn-hero-link {
  display: block;
  color: #fff;
  text-decoration: none;
}
.theme-minimal .mn-hero-media img {
  width: 100%;
  height: min(52vh, 480px);
  object-fit: cover;
  display: block;
}
.theme-minimal .mn-hero-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 24px 32px;
  background: linear-gradient(transparent, rgba(10, 10, 10, 0.92));
}
.theme-minimal .mn-kicker {
  display: inline-block;
  font-family: Oswald, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: #c9a227;
  padding: 6px 12px;
  margin-bottom: 12px;
}
.theme-minimal .mn-hero-title {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 900px;
}
.theme-minimal .mn-section-title {
  margin: 0 0 22px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a0a0a;
  border-bottom: 3px solid #c9a227;
  padding-bottom: 8px;
  display: inline-block;
}
.theme-minimal .mn-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.theme-minimal .mn-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.12);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 0 rgba(10, 10, 10, 0.06);
}
.theme-minimal .mn-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: #c9a227;
}
.theme-minimal .mn-card-img {
  height: 170px;
  overflow: hidden;
  background: #ccc;
}
.theme-minimal .mn-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.theme-minimal .mn-card-body {
  padding: 14px 16px 18px;
}
.theme-minimal .mn-card-body h3 {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.theme-minimal .mn-spotlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.theme-minimal .mn-spot {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid #0a0a0a;
  text-decoration: none;
  color: #fff;
}
.theme-minimal .mn-spot-img {
  position: absolute;
  inset: 0;
}
.theme-minimal .mn-spot-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.theme-minimal .mn-spot:hover .mn-spot-img img {
  transform: scale(1.06);
}
.theme-minimal .mn-spot-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 20px;
  background: linear-gradient(transparent, rgba(10, 10, 10, 0.88));
}
.theme-minimal .mn-spot-tag {
  font-family: Oswald, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #c9a227;
  color: #0a0a0a;
  padding: 4px 10px;
}
.theme-minimal .mn-spot-cap h3 {
  margin: 10px 0 0;
  font-family: Oswald, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

/* --- template/minimal/article.php --- */
body.theme-minimal {
  margin: 0;
  background: #ece8e0;
  color: #141414;
  font-family: Oswald, system-ui, sans-serif;
}
.theme-minimal .mn-article-wrap {
  max-width: 820px;
  margin: 36px auto 48px;
  background: #fff;
  padding: 40px 44px 48px;
  border: 1px solid rgba(10, 10, 10, 0.14);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}
.theme-minimal .mn-post h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0 0 16px;
}
.theme-minimal .meta {
  font-size: 14px;
  color: #5c5c5c;
  margin-bottom: 28px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.theme-minimal .meta a {
  color: #9a7b1c;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, 0.5);
}
.theme-minimal .meta a:hover {
  color: #c9a227;
}
.theme-minimal .content {
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 1.06rem;
  line-height: 1.75;
  color: #222;
}
.theme-minimal .content p { margin-bottom: 1.5em; }
.theme-minimal .content img {
  display: block;
  max-width: 100%;
  border-radius: 2px;
  margin: 28px auto;
  border: 1px solid rgba(10, 10, 10, 0.1);
}
.theme-minimal .content h2, .theme-minimal .content h3 {
  font-family: Oswald, sans-serif;
  margin-top: 1.6em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0a0a0a;
}
.theme-minimal .content a {
  color: #9a7b1c;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.theme-minimal .content a:hover { color: #c9a227; }
.theme-minimal .content blockquote {
  border-left: 4px solid #c9a227;
  margin: 1.5em 0;
  padding: 12px 0 12px 20px;
  background: #f7f5f0;
  font-style: italic;
  color: #444;
}
.theme-minimal .post-image {
  margin: 28px 0;
  text-align: center;
}
.theme-minimal .post-image img {
  max-width: 100%;
  border: 1px solid #0a0a0a;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}
.theme-minimal .mn-related {
  max-width: 1100px;
  margin: 0 auto 64px;
  padding: 0 20px;
}
.theme-minimal .mn-related h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0 0 24px;
  border-bottom: 3px solid #c9a227;
  padding-bottom: 8px;
  display: inline-block;
}
.theme-minimal .related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.theme-minimal .related-list article {
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.12);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.theme-minimal .related-list article:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  border-color: #c9a227;
}
.theme-minimal .related-list img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.theme-minimal .related-list h3 {
  margin: 0;
  padding: 14px 16px 20px;
  font-family: Oswald, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}
.theme-minimal .related-list a {
  color: #0a0a0a;
  text-decoration: none;
}
.theme-minimal .related-list a:hover {
  color: #9a7b1c;
}
@media (max-width: 768px) {
  .theme-minimal .mn-article-wrap {
    margin: 20px 12px 40px;
    padding: 28px 20px 36px;
  }
}

/* --- template/minimal/category.php --- */
body.theme-minimal {
  margin: 0;
  background: #ece8e0;
  color: #141414;
  font-family: Oswald, system-ui, sans-serif;
}
.theme-minimal .mn-cat-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 18px 48px;
}
.theme-minimal .mn-cat-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin: 8px 0 36px;
  color: #0a0a0a;
  border-bottom: 3px solid #c9a227;
  padding-bottom: 14px;
  display: block;
}
.theme-minimal .page-content {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.12);
  line-height: 1.7;
  font-size: 1.05rem;
  font-family: system-ui, sans-serif;
  word-wrap: break-word;
}
.theme-minimal .page-content h2 {
  border-left: 4px solid #c9a227;
  padding-left: 12px;
}
.theme-minimal .page-content a {
  color: #9a7b1c;
}
.theme-minimal .page-content a:hover {
  color: #c9a227;
}
.theme-minimal .mn-cat-page > ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0 auto 32px;
  padding: 0;
  max-width: 1200px;
}
.theme-minimal .mn-cat-page > ul > li {
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.theme-minimal .mn-cat-page > ul > li:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: #c9a227;
}
.theme-minimal .mn-cat-page > ul > li img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}
.theme-minimal .mn-cat-page > ul > li a {
  text-decoration: none;
  color: inherit;
}
.theme-minimal .mn-cat-page > ul > li strong {
  font-family: Oswald, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #0a0a0a;
  display: block;
  margin-bottom: 8px;
}
.theme-minimal .mn-cat-page > ul > li small {
  color: #666;
  font-size: 0.85rem;
}
.theme-minimal .post-content {
  padding: 14px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.theme-minimal .pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0 32px;
}
.theme-minimal .pagination a {
  background: #fff;
  border: 1px solid #0a0a0a;
  padding: 8px 14px;
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s, color 0.15s;
}
.theme-minimal .pagination a:hover {
  background: #c9a227;
  color: #0a0a0a;
  border-color: #c9a227;
}
.theme-minimal .pagination a[style*="font-weight:bold"] {
  background: #0a0a0a !important;
  color: #fff !important;
  border-color: #0a0a0a;
  font-weight: 600 !important;
}
@media (max-width: 768px) {
  .theme-minimal .mn-cat-page > ul > li img { height: 160px; }
}

/* --- template/minimal/page.php --- */
body.theme-minimal {
  margin: 0;
  background: #ece8e0;
  color: #141414;
  font-family: Oswald, system-ui, sans-serif;
}
.theme-minimal .mn-page-shell {
  max-width: 920px;
  margin: 32px auto 56px;
  padding: 0 18px;
}
.theme-minimal .mn-page-h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 24px;
  color: #0a0a0a;
  border-bottom: 3px solid #c9a227;
  padding-bottom: 14px;
}
.theme-minimal .mn-page-main {
  background: #fff;
  padding: 40px 44px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.7;
  font-size: 1.06rem;
}
.theme-minimal .mn-page-main p { margin: 1.2em 0; }
.theme-minimal .mn-page-main a {
  color: #9a7b1c;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.theme-minimal .mn-page-main a:hover { color: #c9a227; }
.theme-minimal .mn-page-main img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px auto;
  border: 1px solid rgba(10, 10, 10, 0.1);
}
.theme-minimal .mn-page-main blockquote {
  border-left: 4px solid #c9a227;
  margin: 1.5em 0;
  padding: 16px 20px;
  background: #f7f5f0;
}
@media (max-width: 700px) {
  .theme-minimal .mn-page-main { padding: 28px 22px; }
}

/* --- template/minimal/author.php --- */
body.theme-minimal {
  margin: 0;
  background: #ece8e0;
  color: #141414;
  font-family: Oswald, system-ui, sans-serif;
}
.theme-minimal .mn-author-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 18px 56px;
}
.theme-minimal .mn-author-h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 12px;
  color: #0a0a0a;
}
.theme-minimal .mn-author-desc {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
  font-family: system-ui, sans-serif;
  font-size: 1.02rem;
  color: #444;
  line-height: 1.65;
}
.theme-minimal .mn-author-main {
  padding: 0;
}
.theme-minimal .articles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  padding: 0;
  margin: 0;
}
.theme-minimal .article-card {
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.theme-minimal .article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: #c9a227;
}
.theme-minimal .preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ccc;
}
.theme-minimal .preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.theme-minimal .article-card:hover .preview img {
  transform: scale(1.05);
}
.theme-minimal .card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.theme-minimal .card-body h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.theme-minimal .card-body h3 a {
  text-decoration: none;
  color: #0a0a0a;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.theme-minimal .card-body h3 a:hover {
  color: #9a7b1c;
}
.theme-minimal .excerpt {
  font-size: 0.95rem;
  color: #555;
  font-family: system-ui, sans-serif;
  flex-grow: 1;
  margin-bottom: 16px;
}
.theme-minimal .read-more {
  align-self: flex-start;
  text-decoration: none;
  color: #9a7b1c;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.theme-minimal .read-more:hover {
  color: #c9a227;
}
.theme-minimal .mn-author-main > p {
  text-align: center;
  font-family: system-ui, sans-serif;
  color: #666;
}
@media (max-width: 600px) {
  .theme-minimal .mn-author-h1 { font-size: 1.85rem; }
}


/* --- 404 --- */
/* Страница 404 */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  font-family: "Inter", system-ui, sans-serif;
  text-align: center;
  background: #fafafa;
  color: #111;
  margin: 0;
}
.page-404__hero {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 280px;
  background: #e5e7eb center/contain no-repeat;
  margin-bottom: 20px;
  border-radius: 12px;
}
.page-404__hero h1 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.page-404__lead {
  margin: 0 0 16px;
  max-width: 420px;
  line-height: 1.5;
}
.page-404__btn {
  display: inline-block;
  padding: 12px 28px;
  background: #16a34a;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}
.page-404__btn:hover {
  background: #15803d;
}
