/*
Theme Name: MaestroHarmony_2999
Theme URI: https://miladena.ru
Author: Моисеева Анна
Author URI: https://miladena.ru
Description: Тема для музыкального образовательного проекта
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maestroharmony
*/

/* === Шрифты === */
@import url('/assets/sql021-fonts-13054102794c.css');

/* === Базовые переменные === */
:root {
    --mh-bg-main: #1E1E1E;
    --mh-accent-gold: #E6B422;
    --mh-accent-terracotta: #C06040;
    --mh-text-ivory: #F5F0E1;
    --mh-overlay: rgba(0, 0, 0, 0.55);
    --mh-font-heading: 'Montserrat Alternates', sans-serif;
    --mh-font-body: 'Cormorant Garamond', Georgia, serif;
    --mh-radius-btn: 4px;
    --mh-transition: 0.3s ease-out;
    --mh-card-bg: #292929;
    --mh-border-subtle: #3a3a3a;
}

/* === Сброс и базовые стили === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--mh-font-body);
    background-color: var(--mh-bg-main);
    color: var(--mh-text-ivory);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--mh-accent-gold);
    text-decoration: none;
    transition: color var(--mh-transition);
}

a:hover {
    color: var(--mh-accent-terracotta);
}

ul, ol {
    list-style-position: inside;
    padding-left: 1.2em;
}

/* === Типографика === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--mh-font-heading);
    color: var(--mh-text-ivory);
    line-height: 1.25;
    margin-bottom: 0.6em;
    margin-top: 1em;
}

h1 { font-size: 2.4rem; font-weight: 800; }
h2 { font-size: 1.9rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
    margin-bottom: 1.15em;
    font-size: 1.12rem;
}

blockquote {
    background: var(--mh-overlay);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-left: 3px solid var(--mh-accent-gold);
    padding: 1.4em 1.8em;
    margin: 1.8em 0;
    font-style: italic;
    color: var(--mh-text-ivory);
    border-radius: 0 var(--mh-radius-btn) var(--mh-radius-btn) 0;
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* === Таблицы === */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 1rem;
}

table, th, td {
    border: 1px solid var(--mh-accent-gold);
}

th {
    background: rgba(230, 180, 34, 0.15);
    color: var(--mh-accent-gold);
    font-family: var(--mh-font-heading);
    font-weight: 600;
    padding: 0.75em 1em;
    text-align: left;
}

td {
    padding: 0.65em 1em;
    color: var(--mh-text-ivory);
}

tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.03);
}

/* === Кнопки === */
.mh-btn-primary {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--mh-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--mh-accent-gold);
    background: var(--mh-bg-main);
    border: 2px solid var(--mh-accent-gold);
    border-radius: var(--mh-radius-btn);
    cursor: pointer;
    transition: all var(--mh-transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.mh-btn-primary:hover {
    background: var(--mh-accent-gold);
    color: var(--mh-bg-main);
}

.mh-btn-flat {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--mh-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--mh-accent-gold);
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color var(--mh-transition);
}

.mh-btn-flat::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 100%;
    height: 2px;
    background: var(--mh-accent-gold);
    transition: height var(--mh-transition);
    z-index: -1;
}

.mh-btn-flat:hover {
    color: var(--mh-bg-main);
}

.mh-btn-flat:hover::after {
    height: calc(100% - 8px);
    bottom: 0;
    border-radius: var(--mh-radius-btn);
}

/* === Шапка === */
.mh-site-header {
    background: #181818;
    border-bottom: 1px solid var(--mh-border-subtle);
    position: relative;
    z-index: 100;
}

.mh-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 20px;
}

.mh-logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.mh-logo-area img {
    height: 44px;
    width: auto;
}

.mh-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mh-site-title-link {
    font-family: var(--mh-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--mh-accent-gold);
    white-space: nowrap;
    line-height: 1.3;
}

.mh-site-title-link:hover {
    color: var(--mh-text-ivory);
}

.mh-site-tagline {
    font-size: 0.78rem;
    color: #b0a890;
    line-height: 1.3;
}

/* Навигация */
.mh-main-nav {
    display: flex;
    align-items: center;
}

.mh-main-nav ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mh-main-nav li {
    position: relative;
}

.mh-main-nav a {
    display: block;
    padding: 10px 16px;
    font-family: var(--mh-font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--mh-text-ivory);
    transition: color var(--mh-transition);
    position: relative;
}

.mh-main-nav a::before {
    content: '\266A';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    opacity: 0;
    font-size: 0.75rem;
    color: var(--mh-accent-gold);
    transition: all var(--mh-transition);
    pointer-events: none;
}

.mh-main-nav a:hover {
    color: var(--mh-accent-gold);
}

.mh-main-nav a:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mh-main-nav .current-menu-item a,
.mh-main-nav .current_page_item a {
    color: var(--mh-accent-gold);
}

/* Гамбургер */
.mh-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.mh-mobile-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--mh-text-ivory);
    transition: all var(--mh-transition);
}

/* === Волновой разделитель === */
.mh-wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.mh-wave-divider svg {
    display: block;
    width: 100%;
    height: 32px;
}

/* === Основной контент === */
.mh-page-body {
    flex: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px 48px;
}

.mh-layout-full .mh-content-primary {
    width: 85%;
    margin: 0 auto;
}

.mh-layout-sidebar {
    display: flex;
    gap: 4%;
}

.mh-layout-sidebar .mh-content-primary {
    width: 67%;
}

.mh-layout-sidebar .mh-sidebar-area {
    width: 27%;
    flex-shrink: 0;
}

/* === Хлебные крошки === */
.mh-breadcrumbs {
    font-size: 0.88rem;
    color: #b0a890;
    margin-bottom: 24px;
    padding: 0;
}

.mh-breadcrumbs a {
    color: var(--mh-accent-gold);
}

.mh-breadcrumbs a:hover {
    color: var(--mh-accent-terracotta);
}

.mh-breadcrumbs .mh-bc-sep {
    margin: 0 8px;
    color: #666;
}

/* === Карточки статей === */
.mh-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 16px;
}

.mh-article-card {
    background: var(--mh-card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform var(--mh-transition), box-shadow var(--mh-transition);
    display: flex;
    flex-direction: column;
}

.mh-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.mh-card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #333;
}

.mh-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mh-article-card:hover .mh-card-thumb img {
    transform: scale(1.04);
}

.mh-card-body {
    padding: 22px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mh-card-title {
    font-family: var(--mh-font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.35;
}

.mh-card-title a {
    color: var(--mh-text-ivory);
}

.mh-card-title a:hover {
    color: var(--mh-accent-gold);
}

.mh-card-meta {
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 12px;
}

.mh-card-excerpt {
    font-size: 0.98rem;
    color: #d5d0c5;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.mh-card-excerpt p {
    margin: 0 0 0.5em;
    background: none;
}

.mh-card-excerpt a {
    color: var(--mh-accent-gold);
    text-decoration: underline;
}

.mh-card-readmore {
    align-self: flex-start;
    font-family: var(--mh-font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mh-accent-gold);
    border-bottom: 1px solid transparent;
    transition: border-color var(--mh-transition);
}

.mh-card-readmore:hover {
    border-bottom-color: var(--mh-accent-gold);
}

/* === Пагинация === */
.mh-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.mh-pagination a,
.mh-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    font-family: var(--mh-font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--mh-border-subtle);
    border-radius: var(--mh-radius-btn);
    color: var(--mh-text-ivory);
    transition: all var(--mh-transition);
}

.mh-pagination a:hover {
    border-color: var(--mh-accent-gold);
    color: var(--mh-accent-gold);
}

.mh-pagination .current {
    background: var(--mh-accent-gold);
    border-color: var(--mh-accent-gold);
    color: var(--mh-bg-main);
}

/* === Одиночная запись / Страница === */
.mh-single-article {
    max-width: 800px;
    margin: 0 auto;
}

.mh-single-article .mh-entry-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.mh-single-article .mh-entry-meta {
    font-size: 0.88rem;
    color: #999;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--mh-border-subtle);
}

.mh-entry-content p {
    margin-bottom: 1.2em;
    font-size: 1.12rem;
}

.mh-entry-content h2 {
    margin-top: 1.8em;
}

.mh-entry-content h3 {
    margin-top: 1.4em;
}

.mh-entry-content ul,
.mh-entry-content ol {
    margin: 1em 0 1.2em 1.4em;
}

.mh-entry-content li {
    margin-bottom: 0.4em;
}

.mh-entry-content img {
    border-radius: 6px;
    margin: 1.5em 0;
}

.mh-featured-img {
    margin-bottom: 28px;
    border-radius: 8px;
    overflow: hidden;
}

.mh-post-navigation {
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid var(--mh-border-subtle);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.mh-post-navigation a {
    font-family: var(--mh-font-heading);
    font-size: 0.88rem;
    font-weight: 600;
}

/* === Сайдбар === */
.mh-sidebar-area .mh-widget-block {
    background: var(--mh-card-bg);
    border-radius: 8px;
    padding: 22px 24px;
    margin-bottom: 28px;
}

.mh-sidebar-area .mh-widget-heading {
    font-family: var(--mh-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--mh-accent-gold);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--mh-border-subtle);
    margin-top: 0;
}

.mh-sidebar-area ul {
    list-style: none;
    padding: 0;
}

.mh-sidebar-area li {
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mh-sidebar-area li:last-child {
    border-bottom: none;
}

.mh-sidebar-area a {
    color: var(--mh-text-ivory);
    font-size: 0.95rem;
}

.mh-sidebar-area a:hover {
    color: var(--mh-accent-gold);
}

/* === Комментарии === */
.mh-comments-section {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--mh-border-subtle);
}

.mh-comments-section h3 {
    margin-bottom: 24px;
}

.mh-comment-list {
    list-style: none;
    padding: 0;
}

.mh-comment-item {
    padding: 20px;
    background: var(--mh-card-bg);
    border-radius: 8px;
    margin-bottom: 16px;
}

.mh-comment-item .children {
    list-style: none;
    padding-left: 24px;
    margin-top: 16px;
}

.mh-comment-author {
    font-family: var(--mh-font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--mh-accent-gold);
}

.mh-comment-date {
    font-size: 0.8rem;
    color: #888;
    margin-left: 10px;
}

.mh-comment-text {
    margin-top: 10px;
    font-size: 1rem;
}

.mh-comment-form label {
    display: block;
    font-family: var(--mh-font-heading);
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--mh-text-ivory);
}

.mh-comment-form input[type="text"],
.mh-comment-form input[type="email"],
.mh-comment-form input[type="url"],
.mh-comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: #2a2a2a;
    border: 1px solid var(--mh-border-subtle);
    border-radius: var(--mh-radius-btn);
    color: var(--mh-text-ivory);
    font-family: var(--mh-font-body);
    font-size: 1rem;
    transition: border-color var(--mh-transition);
    margin-bottom: 14px;
}

.mh-comment-form input:focus,
.mh-comment-form textarea:focus {
    outline: none;
    border-color: var(--mh-accent-gold);
}

.mh-comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* === Поиск === */
.mh-search-form {
    display: flex;
    gap: 0;
}

.mh-search-field {
    flex: 1;
    padding: 12px 16px;
    background: #2a2a2a;
    border: 1px solid var(--mh-border-subtle);
    border-right: none;
    border-radius: var(--mh-radius-btn) 0 0 var(--mh-radius-btn);
    color: var(--mh-text-ivory);
    font-family: var(--mh-font-body);
    font-size: 1rem;
}

.mh-search-field:focus {
    outline: none;
    border-color: var(--mh-accent-gold);
}

.mh-search-submit {
    padding: 12px 20px;
    background: var(--mh-accent-gold);
    color: var(--mh-bg-main);
    border: 1px solid var(--mh-accent-gold);
    border-radius: 0 var(--mh-radius-btn) var(--mh-radius-btn) 0;
    font-family: var(--mh-font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background var(--mh-transition);
}

.mh-search-submit:hover {
    background: var(--mh-accent-terracotta);
    border-color: var(--mh-accent-terracotta);
}

/* === Футер === */
.mh-site-footer {
    background: #141414;
    border-top: 1px solid var(--mh-border-subtle);
    margin-top: auto;
}

.mh-footer-wave {
    width: 100%;
    line-height: 0;
}

.mh-footer-wave svg {
    display: block;
    width: 100%;
    height: 40px;
}

.mh-footer-widgets {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mh-footer-col .mh-widget-block {
    margin-bottom: 20px;
}

.mh-footer-col .mh-widget-heading {
    font-family: var(--mh-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--mh-accent-gold);
    margin-bottom: 14px;
    margin-top: 0;
}

.mh-footer-col ul {
    list-style: none;
    padding: 0;
}

.mh-footer-col li {
    padding: 5px 0;
}

.mh-footer-col a {
    color: #c5c0b5;
    font-size: 0.92rem;
}

.mh-footer-col a:hover {
    color: var(--mh-accent-gold);
}

.mh-footer-col p {
    color: #c5c0b5;
    font-size: 0.92rem;
}

.mh-copyright-bar {
    text-align: center;
    padding: 18px 24px;
    border-top: 1px solid var(--mh-border-subtle);
    font-size: 0.85rem;
    color: #888;
}

/* === Куки-баннер === */
.mh-cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--mh-border-subtle);
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 9999;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.mh-cookie-bar.mh-hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.mh-cookie-bar p {
    margin: 0;
    font-size: 0.9rem;
    color: #c5c0b5;
}

.mh-cookie-bar a {
    color: var(--mh-accent-gold);
    text-decoration: underline;
}

.mh-cookie-accept {
    padding: 10px 28px;
    background: var(--mh-accent-gold);
    color: var(--mh-bg-main);
    border: none;
    border-radius: var(--mh-radius-btn);
    font-family: var(--mh-font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background var(--mh-transition);
    white-space: nowrap;
}

.mh-cookie-accept:hover {
    background: var(--mh-accent-terracotta);
}

/* === Секции главной страницы === */
.mh-front-section {
    padding: 56px 24px;
    max-width: 1280px;
    margin: 0 auto;
    width: 85%;
}

.mh-front-section:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.mh-section-heading {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 32px;
    margin-top: 0;
}

.mh-section-text {
    font-size: 1.1rem;
    color: #d5d0c5;
    text-align: center;
    max-width: 780px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

/* Героический блок */
.mh-hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2218 100%);
    padding: 64px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mh-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 180, 34, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mh-hero-title {
    font-size: 2.6rem;
    margin-bottom: 16px;
    margin-top: 0;
    color: var(--mh-text-ivory);
}

.mh-hero-title em {
    color: var(--mh-accent-gold);
    font-style: normal;
}

.mh-hero-desc {
    font-size: 1.25rem;
    color: #c5c0b5;
    max-width: 680px;
    margin: 0 auto 32px;
}

/* Карточки направлений */
.mh-directions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mh-direction-card {
    background: var(--mh-card-bg);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: default;
}

.mh-direction-visual {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #333 0%, #1a1a1a 100%);
}

.mh-direction-visual svg {
    width: 60%;
    height: 60%;
    opacity: 0.15;
}

.mh-direction-overlay {
    position: relative;
    z-index: 2;
    background: linear-gradient(0deg, rgba(30, 30, 30, 0.95) 0%, rgba(30, 30, 30, 0.6) 60%, transparent 100%);
    padding: 28px 24px 24px;
    transition: padding var(--mh-transition);
}

.mh-direction-card:hover .mh-direction-overlay {
    padding-top: 48px;
}

.mh-direction-name {
    font-family: var(--mh-font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--mh-accent-gold);
    margin-bottom: 8px;
    margin-top: 0;
}

.mh-direction-desc {
    font-size: 0.92rem;
    color: #c5c0b5;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease;
}

.mh-direction-card:hover .mh-direction-desc {
    opacity: 1;
    max-height: 120px;
}

.mh-direction-micro {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
}

.mh-direction-micro svg {
    width: 32px;
    height: 32px;
    opacity: 0.3;
}

/* Блок преимуществ */
.mh-benefits-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 16px;
}

.mh-benefit-item {
    text-align: center;
    padding: 28px 20px;
    background: var(--mh-card-bg);
    border-radius: 10px;
    transition: transform var(--mh-transition);
}

.mh-benefit-item:hover {
    transform: translateY(-4px);
}

.mh-benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
}

.mh-benefit-icon svg {
    width: 100%;
    height: 100%;
}

.mh-benefit-name {
    font-family: var(--mh-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mh-accent-gold);
    margin-bottom: 10px;
    margin-top: 0;
}

.mh-benefit-text {
    font-size: 0.92rem;
    color: #c5c0b5;
    line-height: 1.6;
}

/* Блок с цитатой/музыкой */
.mh-music-quote {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(135deg, rgba(230, 180, 34, 0.06) 0%, rgba(192, 96, 64, 0.04) 100%);
    border-radius: 12px;
    border: 1px solid rgba(230, 180, 34, 0.12);
}

.mh-music-quote blockquote {
    background: none;
    border: none;
    padding: 0;
    margin: 0 auto;
    max-width: 640px;
    font-size: 1.35rem;
    color: var(--mh-text-ivory);
    line-height: 1.5;
}

.mh-music-quote cite {
    display: block;
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--mh-accent-gold);
    font-style: normal;
}

/* === Секция последних записей (главная) === */
.mh-recent-section {
    padding: 48px 24px;
    max-width: 1280px;
    margin: 0 auto;
    width: 85%;
}

/* === 404 === */
.mh-error-page {
    text-align: center;
    padding: 80px 24px;
}

.mh-error-page h1 {
    font-size: 5rem;
    color: var(--mh-accent-gold);
    margin-bottom: 12px;
}

.mh-error-page p {
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 28px;
}

.mh-error-search {
    max-width: 480px;
    margin: 0 auto 32px;
}

/* === Страница блога === */
.mh-blog-page-title {
    font-size: 2rem;
    margin-bottom: 24px;
    margin-top: 0;
}

/* === Адаптив === */
@media (max-width: 960px) {
    .mh-layout-full .mh-content-primary,
    .mh-front-section,
    .mh-recent-section {
        width: 100%;
    }

    .mh-layout-sidebar {
        flex-direction: column;
    }

    .mh-layout-sidebar .mh-content-primary,
    .mh-layout-sidebar .mh-sidebar-area {
        width: 100%;
    }

    .mh-directions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mh-benefits-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .mh-footer-widgets {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .mh-mobile-toggle {
        display: flex;
    }

    .mh-main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #181818;
        border-top: 1px solid var(--mh-border-subtle);
        padding: 12px 0;
        z-index: 200;
    }

    .mh-main-nav.mh-nav-open {
        display: block;
    }

    .mh-main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .mh-main-nav a {
        padding: 12px 24px;
    }

    .mh-main-nav a::before {
        display: none;
    }

    .mh-site-tagline {
        display: none;
    }

    .mh-hero-title {
        font-size: 1.8rem;
    }

    .mh-hero-desc {
        font-size: 1.05rem;
    }

    .mh-articles-grid {
        grid-template-columns: 1fr;
    }

    .mh-directions-grid {
        grid-template-columns: 1fr;
    }

    .mh-direction-card {
        aspect-ratio: 16/9;
    }

    .mh-benefits-row {
        grid-template-columns: 1fr;
    }

    .mh-footer-widgets {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .mh-cookie-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

    .mh-single-article .mh-entry-title {
        font-size: 1.6rem;
    }

    .mh-post-navigation {
        flex-direction: column;
    }

    .mh-header-inner {
        padding: 0 16px;
    }

    .mh-site-title-link {
        font-size: 1rem;
    }

    .mh-hero-title {
        font-size: 1.5rem;
    }
}

/* === Скрытие WP элементов === */
#wpadminbar ~ .mh-site-header {
    margin-top: 0;
}
