/* 1. Глобальный сброс синих ссылок */
a, a:visited {
    text-decoration: none;
    color: inherit; /* Ссылка берет цвет текста родителя */
    transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
    margin: 0;
    background-color: #f8f9fa;
    color: #333;
}

/* 2. Шапка и Навигация */
.layout-header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-main {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.menu-main__link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    color: #555 !important; /* Убираем синий принудительно */
}

.menu-main__link:hover, .menu-main__link.is-active {
    color: #ff7e5f !important; /* Цвет акцента при наведении */
}

/* 3. Главный баннер (как на скриншоте) */
.home-banner {
    position: relative;
    background: #000;
    color: #fff;
    overflow: hidden;
}

.block-homebanner {
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
}

.block-inner {
    width: 100%;
    padding: 60px 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.field--name-field-title {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 10px 40px;
    letter-spacing: -1px;
}

.field--name-field-summary {
    margin: 0 0 20px 40px;
    font-size: 18px;
    opacity: 0.8;
    max-width: 700px;
}

/* 4. Сетка контента */
.view-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.view-mode-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    border: none !important;
}

.view-mode-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.node__title {
    padding: 20px;
    font-size: 18px;
    line-height: 1.4;
}

.node__title a {
    color: #222 !important;
}

.read-more__link {
    display: block;
    padding: 0 20px 20px;
    color: #ff7e5f !important;
    font-weight: bold;
    font-size: 14px;
}

/* 5. Убираем "Skip to content" и системные надписи */
.visually-hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link {
    display: none;
}