/* ============================================
   СТРАНИЦА МЕТОДИЧЕСКИХ УКАЗАНИЙ (POST-196)
   ============================================ */

body.page-id-196 {
    background: linear-gradient(135deg, #b8c3ff 0%, #a0ade8 100%);
}

.post-196 .entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ============================================
   ЗАГОЛОВОК СТРАНИЦЫ
   ============================================ */

.post-196 .entry-header {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
}

.post-196 .entry-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    position: relative;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
    background: rgba(0, 0, 0, 0.06);
    padding: 4px 18px;
    border-radius: 40px;
    backdrop-filter: blur(2px);
    letter-spacing: -0.5px;
}

.post-196 .entry-title::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 30px;
    right: 30px;
    height: 4px;
    background: linear-gradient(90deg, #b8c3ff, #4a6fa5);
    border-radius: 2px;
}

.post-196 .entry-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #fff;
    border-radius: 4px;
    opacity: 0.6;
}

/* ============================================
   ЗАГОЛОВКИ РАЗДЕЛОВ
   ============================================ */

.post-196 .entry-content > p {
    position: relative;
    margin: 50px 0 25px 0;
    padding: 18px 25px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.post-196 .entry-content > p:first-of-type {
    margin-top: 0;
}

.post-196 .entry-content > p:contains("бакалавриат")::before,
.post-196 .entry-content > p:contains("Бакалавриат")::before {
    content: "🎓";
    margin-right: 12px;
    font-size: 1.8rem;
}

.post-196 .entry-content > p:contains("магистратура")::before,
.post-196 .entry-content > p:contains("Магистратура")::before {
    content: "📚";
    margin-right: 12px;
    font-size: 1.8rem;
}

/* ============================================
   АККОРДЕОНЫ (ИСПРАВЛЕНО)
   ============================================ */

.post-196 .wp-block-accordion {
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.post-196 .wp-block-accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.post-196 .wp-block-accordion-item:last-child {
    border-bottom: none;
}

/* Кнопка аккордеона */
.post-196 .wp-block-accordion-heading__toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.post-196 .wp-block-accordion-heading__toggle:hover {
    background: rgba(0, 0, 0, 0.03);
    color: #4a6fa5;
}

.post-196 .wp-block-accordion-heading__toggle-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-196 .wp-block-accordion-heading__toggle-title::before {
    content: "📘";
    font-size: 1.3rem;
}

.post-196 .wp-block-accordion-heading__toggle-icon {
    font-size: 1.4rem;
    color: #4a6fa5;
    transition: transform 0.3s ease;
    width: 30px;
    text-align: center;
}

.post-196 .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon {
    transform: rotate(45deg);
}

/* Панель с контентом - СКРЫТА ПО УМОЛЧАНИЮ */
.post-196 .wp-block-accordion-panel {
    background: rgba(248, 250, 252, 0.9);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 25px 28px;
    display: none;
}

/* Когда аккордеон открыт - ПОКАЗЫВАЕМ */
.post-196 .wp-block-accordion-item.is-open .wp-block-accordion-panel {
    display: block;
    animation: fadeSlideDown 0.3s ease;
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Изображения в аккордеоне - идут подряд */
.post-196 .wp-block-accordion-panel .wp-block-image {
    margin: 0 0 20px 0;
    border-radius: 12px;
    overflow: hidden;
}

.post-196 .wp-block-accordion-panel .wp-block-image img {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    display: block;
}

.post-196 .wp-block-accordion-panel .wp-block-image:last-child {
    margin-bottom: 0;
}

/* ============================================
   ФАЙЛЫ
   ============================================ */

.post-196 .wp-block-file {
    margin: 15px 0 !important;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.post-196 .wp-block-file:hover {
    transform: translateX(5px);
    border-color: #4a6fa5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-196 .wp-block-file a:not(.wp-block-file__button) {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    gap: 12px;
}

.post-196 .wp-block-file a:not(.wp-block-file__button)::before {
    content: "📄";
    font-size: 22px;
}

.post-196 .wp-block-file a[href$=".pdf"]:not(.wp-block-file__button)::before {
    content: "📕";
}

.post-196 .wp-block-file a[href$=".doc"]:not(.wp-block-file__button)::before,
.post-196 .wp-block-file a[href$=".docx"]:not(.wp-block-file__button)::before {
    content: "📘";
}

/* ============================================
   ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ
   ============================================ */

.post-196 .wp-block-accordion-item.is-open {
    position: relative;
}

.post-196 .wp-block-accordion-item.is-open::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #4a6fa5, #6c8fc7);
}

/* ============================================
   АДАПТИВ
   ============================================ */

@media (max-width: 768px) {
    .post-196 .entry-title {
        font-size: 1.8rem;
    }
    
    .post-196 .entry-content > p {
        font-size: 1.2rem;
        padding: 14px 18px;
        margin: 35px 0 20px 0;
    }
    
    .post-196 .wp-block-accordion-heading__toggle {
        padding: 15px 20px;
    }
    
    .post-196 .wp-block-accordion-heading__toggle-title {
        font-size: 0.95rem;
    }
    
    .post-196 .wp-block-accordion-panel {
        padding: 18px 20px;
    }
    
    .post-196 .wp-block-file a:not(.wp-block-file__button) {
        padding: 12px 16px;
    }
}