/* это правила для HERO блока */
.sm-hero {
    position: relative;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.sm-hero-inner {
    max-width: 900px;
    width: 100%;
}

.sm-hero-title {
    font-family: system-ui, Arial, sans-serif;
    font-size: clamp(2rem, 3vw + 1rem, 3.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    color: #fff;
}

.sm-hero-subtitle {
    font-family: system-ui, Arial, sans-serif;
    font-size: clamp(1rem, 1vw + 0.7rem, 1.25rem);
    margin-bottom: 32px;
    line-height: 1.5;
    color: #f3f3f3;
}

.sm-hero-button {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #221100;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: system-ui, Arial, sans-serif;
}

.sm-hero-button:hover,
.sm-hero-button:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.sm-hero-button:active {
    transform: translateY(0);
    box-shadow: none;
}

@media (max-width: 600px) {
    .sm-hero {
        padding: 32px 16px;
        text-align: center;
    }
}

/* === СТИЛИ ДЛЯ ТАБЛИЦ В КОНТЕНТЕ === */
/* Эти стили применяются к таблицам, вставленным через TinyMCE */

table {
    max-width: 100%;
    overflow-x: auto;
}

/* Удаляем фиксированные ширины колонок из TinyMCE */
table col[width] {
    width: auto !important;
}

table th,
table td {
    min-width: 80px; /* минимальная ширина ячейки */
    max-width: 300px; /* максимальная ширина для переноса */
}

/* конец */

/* Generated dynamic styles */
.sm-hero-button { background-color: #EB4976; }
.sm-hero-button { color: #ffffff; }
