:root {
    --lseo-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- 1. ОРИГИНАЛЬНЫЕ ИНФОБЛОКИ --- */
.tds-message-box {
    margin: 15px 0;
    padding: 25px 25px 25px 70px;
    position: relative;
    font-style: normal;
    overflow: hidden;
}
.box-warning { background: #FBE9E7; color: #BF360C; }
.box-council { background: #E3F2FD; color: #0D47A1; }
.box-note { background: #E8F5E9; color: #1B5E20; }
.box-info { background: #FFF8E1; color: #de6000; }

.box-warning:before { content: "\f339"; }
.box-council:before { content: "\f130"; }
.box-note:before { content: "\f537"; }
.box-info:before { content: "\f348"; }

.box-warning:before,
.box-council:before,
.box-note:before,
.box-info:before {
    font-family: "dashicons", monospace;
    font-size: 40px;
    display: inline-block;
    opacity: .4;
    vertical-align: top;
    float: left;
    font-style: normal;
    line-height: 40px;
    margin-right: 7px;
    position: absolute;
    left: 15px;
    top: calc(50% - 20px);
}

/* Адаптивность для старых инфоблоков */
@media only screen and (max-width: 768px) {
    .tds-message-box {
        margin: 10px 0;
        padding: 25px;
    }
    .box-warning:before, 
    .box-council:before, 
    .box-note:before, 
    .box-info:before {
        display: none;
    }
}

/* --- 2. CSS GRID СЕТКА --- */
.lseo-grid {
    display: grid;
    margin: 2rem 0;
}
@media (max-width: 768px) {
    .lseo-grid { grid-template-columns: 1fr !important; }
}

/* --- 3. КНОПКИ --- */
.lseo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
    transition: var(--lseo-transition);
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.lseo-btn--primary {
    background: #333;
    color: #fff;
    border: 2px solid #333;
}
.lseo-btn--primary:hover {
    background: #fff;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* --- 4. СПОЙЛЕР --- */
.lseo-spoiler {
    filter: blur(5px);
    cursor: pointer;
    transition: var(--lseo-transition);
    border-radius: 4px;
    background: rgba(0,0,0,0.05);
}
.lseo-spoiler:hover,
.lseo-spoiler:focus {
    filter: blur(0);
    background: transparent;
}