.drakon-recent-news {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    max-width: 100%;
}

.drakon-recent-news__main {
    flex: 0 0 50%;
    background: #383A3F;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.drakon-recent-news__main-image {
    height: 250px;
    overflow: hidden;
}

.drakon-recent-news__main-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    min-width: 100% !important;
    min-height: 100% !important;
    display: block;
    transition: transform 0.3s ease;
}

.drakon-recent-news__main-link:hover .drakon-recent-news__main-image img {
    transform: scale(1.05);
}

.drakon-recent-news__main-link:hover .drakon-recent-news__main-title {
    color: var(--e-global-color-primary);
}

.drakon-recent-news__main-content {
    padding: 15px 20px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.drakon-recent-news__main-title {
    margin: 0 0 8px 0;
    font-size: 24px;
    line-height: 1.3;
    color: #E2E2E2;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.15s ease-in-out;
}

.drakon-recent-news__main-date {
    color: #E2E2E2;
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.7;
}

.drakon-recent-news__main-excerpt {
    color: #E2E2E2;
    line-height: 1.6;
    opacity: 0.8;
}

.drakon-recent-news__sidebar {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: flex-start;
}

.drakon-recent-news__sidebar-item {
    display: flex;
    background: #383A3F;
    border-radius: 8px;
    overflow: hidden;
    height: 120px;
    transition: transform 0.3s ease;
    margin-bottom: 15px;
}

.drakon-recent-news__sidebar-item:last-child {
    margin-bottom: 0;
}

.drakon-recent-news__sidebar-image {
    flex: 0 0 120px;
    overflow: hidden;
}

.drakon-recent-news__sidebar-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    min-width: 100% !important;
    min-height: 100% !important;
    display: block;
    transition: transform 0.3s ease;
}

.drakon-recent-news__sidebar-link:hover .drakon-recent-news__sidebar-image img {
    transform: scale(1.05);
}

.drakon-recent-news__sidebar-link:hover .drakon-recent-news__sidebar-title {
    color: var(--e-global-color-primary);
}

.drakon-recent-news__sidebar-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.drakon-recent-news__sidebar-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    line-height: 1.3;
    color: #E2E2E2;
    font-weight: 600;
    transition: color 0.15s ease-in-out;
}

.drakon-recent-news__sidebar-date {
    color: #E2E2E2;
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.drakon-recent-news__sidebar-excerpt {
    color: #E2E2E2;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.8;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.drakon-recent-news__view-all {
    text-align: right;
    margin-top: 15px;
    padding: 15px;
    display: flex;
    justify-content: flex-end;
}

.drakon-recent-news__view-all-btn {
    color: #E2E2E2 !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    border: none !important;
    outline: none !important;
    background: none !important;
}

.drakon-recent-news__view-all-btn:hover,
.drakon-recent-news__view-all-btn:active {
    color: var(--e-global-color-primary) !important;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    background: none !important;
}

.drakon-recent-news__view-all-btn svg {
    transition: fill 0.3s ease;
}

.drakon-recent-news__view-all-btn svg path {
    fill: currentColor;
}

@media (max-width: 768px) {
    .drakon-recent-news {
        flex-direction: column;
    }
    
    .drakon-recent-news__main,
    .drakon-recent-news__sidebar {
        flex: 0 0 100%;
    }
    
    .drakon-recent-news__main-image img {
        height: 200px;
    }
    
    .drakon-recent-news__sidebar-item {
        height: 100px;
    }
    
    .drakon-recent-news__sidebar-image {
        flex: 0 0 100px;
    }

    .drakon-recent-news__sidebar-date {
        margin-bottom: 0;
    }

    .drakon-recent-news__sidebar-excerpt {
        display: none;
    }
}

@media (max-width: 480px) {
    .drakon-recent-news__main-content {
        padding: 15px;
    }
    
    .drakon-recent-news__main-title {
        font-size: 20px;
    }
    
    .drakon-recent-news__sidebar-item {
        height: 80px;
    }
    
    .drakon-recent-news__sidebar-image {
        flex: 0 0 80px;
    }
    
    .drakon-recent-news__sidebar-content {
        padding: 10px;
    }
    
    .drakon-recent-news__sidebar-title {
        font-size: 14px;
    }
}

.drakon-post-title-wrapper {
    width: 100%;
}

.drakon-post-title {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    word-wrap: break-word;
    word-break: break-word;
}

.drakon-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.drakon-post-title a:hover {
    color: inherit;
}

.drakon-post-content {
    width: 100%;
    line-height: 1.6;
    word-wrap: break-word;
    word-break: break-word;
}

.drakon-post-content p {
    margin-bottom: 1em;
}

.drakon-post-content p:last-child {
    margin-bottom: 0;
}

.drakon-post-content .read-more-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.drakon-post-content .read-more-link:hover {
    color: inherit;
}

.drakon-post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em 0;
}

.drakon-post-content img.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}

.drakon-post-content img.alignright {
    float: right;
    margin: 0 0 1em 1em;
}

.drakon-post-content img.aligncenter {
    display: block;
    margin: 1em auto;
}

.drakon-post-content ul,
.drakon-post-content ol {
    margin: 1em 0;
    padding-left: 2em;
}

.drakon-post-content li {
    margin-bottom: 0.5em;
}

.drakon-post-content blockquote {
    margin: 1em 0;
    padding: 1em;
    border-left: 4px solid #ccc;
    background: #f9f9f9;
    font-style: italic;
}

@media (max-width: 768px) {
    .drakon-post-content img.alignleft,
    .drakon-post-content img.alignright {
        float: none;
        display: block;
        margin: 1em auto;
    }
}

@media (max-width: 480px) {
    .drakon-post-content ul,
    .drakon-post-content ol {
        padding-left: 1.5em;
    }
}

.drakon-post-info {
    width: 100%;
    line-height: 1.4;
    word-wrap: break-word;
    word-break: break-word;
}

.drakon-post-info .post-date {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}


.elementor-widget-drakon_post_info .drakon-post-info .post-icon,
.elementor-widget-drakon_post_info .drakon-post-info .post-icon i,
.elementor-widget-drakon_post_info .drakon-post-info .post-icon svg {
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    font-size: 1em !important;
    color: var(--e-global-color-text, #333) !important;
    width: 1em !important;
    height: 1em !important;
    max-width: 1em !important;
    max-height: 1em !important;
    min-width: 1em !important;
    min-height: 1em !important;
}

.elementor-widget-drakon_post_info .drakon-post-info .post-icon svg {
    fill: var(--e-global-color-text, #333) !important;
    stroke: var(--e-global-color-text, #333) !important;
}

.elementor-widget-drakon_post_info .drakon-post-info .post-date .post-icon {
    color: inherit !important;
}

.elementor-widget-drakon_post_info .drakon-post-info .post-date .post-icon svg {
    fill: inherit !important;
    stroke: inherit !important;
}

.elementor-widget-drakon_post_info .drakon-post-info .post-date {
    color: inherit !important;
}

.elementor-widget-drakon_post_info .drakon-post-info .post-date * {
    color: inherit !important;
}

.elementor-widget-drakon_post_info .drakon-post-info .post-date * svg {
    fill: inherit !important;
    stroke: inherit !important;
}

.elementor-widget-drakon_post_info .drakon-post-info .post-icon,
.elementor-widget-drakon_post_info .drakon-post-info .post-icon i,
.elementor-widget-drakon_post_info .drakon-post-info .post-icon svg,
.elementor-widget-drakon_post_info .drakon-post-info .post-date .post-icon,
.elementor-widget-drakon_post_info .drakon-post-info .post-date .post-icon i,
.elementor-widget-drakon_post_info .drakon-post-info .post-date .post-icon svg {
    color: currentColor !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}

.elementor-widget-drakon_post_info .drakon-post-info .post-icon svg path,
.elementor-widget-drakon_post_info .drakon-post-info .post-date .post-icon svg path {
    fill: currentColor !important;
    stroke: currentColor !important;
}

@media (max-width: 768px) {
    .drakon-post-info {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .drakon-post-info {
        font-size: 0.9em;
    }
}

/* Стили для виджета "Все новости" */
/* Стили для виджета "Все новости" */
/* Стили для виджета "Все новости" */
/* Стили для виджета "Все новости" */
/* Стили для виджета "Все новости" */
.drakon-all-news {
    width: 100%;
    max-width: 100%;
}

.drakon-all-news__featured {
    background: #383A3F;
    border-radius: 12px;
    transition: transform 0.3s ease;
    grid-column: span 2;
    height: 500px;
    overflow: hidden;
}

.drakon-all-news__featured-link {
    height: inherit;
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.drakon-all-news__featured-image {
    flex: 0 0 300px;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.drakon-all-news__featured-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.drakon-all-news__featured:hover .drakon-all-news__featured-image img {
    transform: scale(1.05);
}

.drakon-all-news__featured-image .no-image {
    width: 100%;
    height: 100%;
    background: #404040;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E2E2E2;
    font-size: 18px;
}

.drakon-all-news__featured-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    padding: 20px 20px 0;
    margin-bottom: 20px;
    overflow: hidden;
    min-height: 0;
}

.drakon-all-news__featured-header {
    margin-bottom: 15px;
}

.drakon-all-news__featured-title {
    margin: 0 0 5px 0;
    font-size: 18px;
    line-height: 1.3;
    color: #E2E2E2;
    font-weight: 700;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.drakon-all-news__featured:hover .drakon-all-news__featured-title {
    color: var(--e-global-color-primary);
}

.drakon-all-news__featured-date {
    color: #E2E2E2;
    font-size: 12px;
    margin: 0;
    opacity: 0.7;
}

.drakon-all-news__featured-excerpt {
    color: #E2E2E2;
    line-height: 1.4;
    opacity: 0.8;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.drakon-all-news__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.drakon-all-news__item {
    background: #383A3F;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 500px;
}

/* Убираем эффект подпрыгивания для обычных новостей */

.drakon-all-news__item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.drakon-all-news__item-image {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.drakon-all-news__item-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: optimize-quality;
}

.drakon-all-news__item:hover .drakon-all-news__item-image img {
    transform: scale(1.05);
}

.drakon-all-news__item-image .no-image {
    width: 100%;
    height: 100%;
    background: #404040;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E2E2E2;
    font-size: 12px;
}

.drakon-all-news__item-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    min-height: 0;
}

.drakon-all-news__item-header {
    margin-bottom: 10px;
}

.drakon-all-news__item-title {
    margin: 0 0 5px 0;
    font-size: 18px;
    line-height: 1.3;
    color: #E2E2E2;
    font-weight: 600;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.drakon-all-news__item:hover .drakon-all-news__item-title {
    color: var(--e-global-color-primary);
}

.drakon-all-news__item-date {
    color: #E2E2E2;
    font-size: 12px;
    opacity: 0.7;
    margin: 0;
}

.drakon-all-news__item-excerpt {
    color: #E2E2E2;
    font-size: 16px;
    line-height: 1.4;
    opacity: 0.8;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.drakon-all-news__pagination {
    text-align: center;
    margin-top: 30px;
}

.drakon-all-news__pagination .page-numbers {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.drakon-all-news__pagination .page-numbers li {
    margin: 0;
}

.drakon-all-news__pagination .page-numbers a,
.drakon-all-news__pagination .page-numbers span {
    display: inline-block;
    padding: 10px 15px;
    background: #383A3F;
    color: #E2E2E2;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.drakon-all-news__pagination .page-numbers a:hover {
    background: var(--e-global-color-primary);
    color: #fff;
}

.drakon-all-news__pagination .page-numbers .current {
    background: var(--e-global-color-primary);
    color: #fff;
}

.drakon-all-news__no-posts {
    text-align: center;
    padding: 40px 20px;
    background: #383A3F;
    border-radius: 8px;
    color: #E2E2E2;
}

.drakon-all-news__no-posts h3 {
    margin: 0 0 15px 0;
    color: #E2E2E2;
}

.drakon-all-news__no-posts p {
    margin: 0;
    opacity: 0.8;
}

/* Адаптивные стили для виджета "Все новости" */
@media (max-width: 1200px) {
    .drakon-all-news__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .drakon-all-news__featured {
        grid-column: span 2;
        height: 450px;
    }

    .drakon-all-news__featured-excerpt {
        -webkit-line-clamp: 2;
    }
    
    .drakon-all-news__featured-image {
        height: 290px;
        min-height: 290px;
        max-height: 290px;
    }
    
    .drakon-all-news__featured-content {
        padding: 15px;
    }
    
    .drakon-all-news__featured-title {
        font-size: 16px;
    }
    
    .drakon-all-news__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .drakon-all-news__item {
        height: 450px;
    }
    
    .drakon-all-news__item-image {
        height: 270px;
        min-height: 270px;
        max-height: 270px;
    }
    
    .drakon-all-news__item-content {
        padding: 12px;
    }
    
    .drakon-all-news__item-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .drakon-all-news__featured {
        grid-column: span 1;
        height: 400px;
    }
    
    .drakon-all-news__featured-image {
        height: 260px;
        min-height: 260px;
        max-height: 260px;
    }
    
    .drakon-all-news__featured-content {
        padding: 12px;
    }
    
    .drakon-all-news__featured-title {
        font-size: 14px;
    }
    
    .drakon-all-news__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .drakon-all-news__item {
        height: 400px;
    }
    
    .drakon-all-news__item-image {
        height: 240px;
        min-height: 240px;
        max-height: 240px;
    }
    
    .drakon-all-news__item-content {
        padding: 10px;
    }
    
    .drakon-all-news__item-title {
        font-size: 14px;
    }
    
    .drakon-all-news__pagination .page-numbers a,
    .drakon-all-news__pagination .page-numbers span {
        padding: 8px 12px;
        font-size: 14px;
    }
}
