/* ================================
   ГЛАВНЫЕ КОНТЕНТНЫЕ КАРТОЧКИ
================================ */

.container {
    background: #ffffff !important;
    padding: 30px !important;
    max-width: 1200px;
    margin: 30px auto;
    border-radius: 14px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.10);
}

.item-page,
.blog,
.categories-list,
.category-list,
.blog-featured {
    background: #ffffff !important;
    padding: 25px !important;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}

/* ================================
   ПРАВЫЙ САЙДБАР
================================ */

#aside .module,
.span3 .module {
    background: #ffffff !important;
    padding: 20px !important;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

#aside .module h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* ================================
   КНОПКИ
================================ */

.btn,
button,
input[type="submit"] {
    background: #e8eef5 !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    transition: 0.2s;
}

.btn:hover {
    background: #d5e1ee !important;
}

/* Разделители */
hr {
    border: none;
    height: 1px;
    background: #e3e3e3;
    margin: 30px 0;
}

/* ================================
   СТАТЬЯ — ОБЩИЙ КОНТЕЙНЕР
================================ */

.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.article-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.article-intro {
    font-size: 18px;
    color: #444;
    margin-bottom: 25px;
}

.article-section {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* ================================
   ВАЖНАЯ ЦИТАТА
================================ */

.article-quote {
    background: #f7f7f7;
    border-left: 4px solid #4a90e2;
    padding: 15px 20px;
    margin: 20px 0;
    font-size: 18px;
    font-style: italic;
}

/* ================================
   СПИСКИ И УПРАЖНЕНИЯ
================================ */

.article-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.exercise-block {
    background: #eef6ff;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 18px;
}

/* Линки */
.article-container a {
    transition: 0.2s;
}
.article-container a:hover {
    color: #4a90e2;
}

/* ================================
   ИНФО-БЛОК
================================ */

.info-box,
.article-hero-info {
    background: #eef6ff;
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 4px solid #4a90e2;
}

.info-box ul,
.article-hero-info ul {
    margin: 12px 0 0;
    padding-left: 20px;
}

.info-box li,
.article-hero-info li {
    margin-bottom: 6px;
}

/* ================================
   HERO-БЛОК
================================ */

.article-hero-row {
    display: flex;
    align-items: flex-start;      /* ← исправлено */
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 35px;
}

/* универсальная высота изображения */
.article-hero-image img {
    max-width: 260px;
    height: 220px;                /* ← фиксированная высота */
    object-fit: contain;          /* ← изображение не режется */
    border-radius: 12px;
    opacity: 0.97;
    transition: 0.25s ease;
}

.article-hero-image img:hover {
    opacity: 1;
    transform: scale(1.02);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .article-hero-row {
        flex-direction: column;
        text-align: center;
    }

    .article-hero-image img {
        max-width: 200px;
        height: auto; /* авто на мобильных */
    }
}

/* ================================
   УБИТЬ READMORE
================================ */

p.readmore,
p.readmore a,
.readmore,
a.readmore {
    display: none !important;
}
