/* ============================================
   СТРАНИЦА ОЛИМПИАДЫ "ПРОМЕТЕЙ" (ID 198)
   ============================================ */
 .ast-plain-container.ast-no-sidebar #primary{
    margin-top: 0px;
 }

.post-198 .site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.post-198 .ast-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.page-id-198 {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
}

/* Контентная область */
.post-198 .entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px 0px;
    border: 0px;
}

/* Заголовок страницы */
.post-198 .entry-header {
    display: none;
    text-align: center;
    padding: 40px 20px 20px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-bottom: none;
}

.post-198 .entry-title {
    display: none;
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a3a4a;
    margin: 0;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.post-198 .entry-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 4px;
}

/* ============================================
   ИЗОБРАЖЕНИЕ ЛОГОТИПА
   ============================================ */

.post-198 .wp-block-image {
    text-align: center;
    margin-top: 20px;
}

.post-198 .wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-198 .wp-block-image img:hover {
    transform: rotate(2deg) scale(1.02);
}

/* ============================================
   ТЕКСТОВЫЕ БЛОКИ
   ============================================ */

.post-198 .entry-content p {
    background: white;
    padding: 24px 30px;
    margin: 20px 0;
    border-radius: 20px;
    line-height: 1.7;
    color: #2d3e50;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid #f39c12;
}

.post-198 .entry-content p:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

/* Первый абзац (создание олимпиады) */
.post-198 .entry-content p:first-of-type {
    border-left-color: #b8c3ff;
    background: linear-gradient(135deg, #ffffff, #fffaf5);
}

/* ============================================
   КНОПКА УЧАСТИЯ
   ============================================ */

/* ============================================
   КНОПКА УЧАСТИЯ
   ============================================ */

.post-198 .entry-content p:has(a) {
    text-align: center;
    padding: 20px;
    background: transparent;
    box-shadow: none;
    border-left: none;
    margin: 0;
}

.post-198 .entry-content a {
    display: inline-block;
    background: #b8c3ff;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    line-height: 1;
}

.post-198 .entry-content a:hover {
    transform: rotate(2deg) scale(1.02);
    box-shadow: 0 8px 25px rgba(17, 125, 248, 0.4);
    background: #b8c3ff;
}

.post-198 .entry-content a:active {
    transform: scale(0.98);
}

/* ============================================
   ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ
   ============================================ */

.post-198 .entry-content {
    position: relative;
}

.post-198 .entry-content::before,
.post-198 .entry-content::after {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    pointer-events: none;
}

.post-198 .entry-content::before {
    top: 10%;
    left: 5%;
}

.post-198 .entry-content::after {
    bottom: 10%;
    right: 5%;
}

/* ============================================
   АДАПТИВ
   ============================================ */

@media (max-width: 768px) {
    .post-198 .entry-title {
        font-size: 1.8rem;
    }
    
    .post-198 .entry-content p {
        padding: 18px 22px;
        font-size: 0.95rem;
    }
    
    .post-198 .entry-content a {
        font-size: 1rem;
        padding: 12px 30px;
    }
    
    .post-198 .entry-content::before,
    .post-198 .entry-content::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .post-198 .entry-title {
        font-size: 1.5rem;
    }
    
    .post-198 .entry-content p {
        padding: 15px 18px;
    }
}