
.Page p {
    font-size: 1.15rem;
}

.Page .border img{
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.Page .items-center {
    align-items: center !important;
}

.Page .justify {
    text-align: justify;
    text-indent: 1.5em;
}

.Page .entry-content-page {
    padding: 30px 50px;
    background-color: white;
    border-radius: 15px;
}

.Page .entry-footer {
    padding: 15px;
    text-align: center;
    margin: 20px 0px;
    color: white;
    border-radius: 20px;
}

.title-page {
    font-size: 2rem;
    text-align: center;
    color: black;
}

/* Хлебные крошки */
.breadcrumbs {
    font-size: 25px;
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 10px 0;
    color: #333;
    display: flex;
    align-items: center;
}

.breadcrumbs li {
    display: inline-block;
    margin-right: 5px;
}

.breadcrumbs li a {
    text-decoration: none;
    color: #0073E6;
    font-weight: 600;
    transition: color 0.3s ease;
}

.breadcrumbs li a:hover {color: #005bb5; }

.breadcrumbs li:after {
    content: '\203A';
    color: #0073E6;
    font-weight: bold;
    margin-right: 10px;
    margin-left: 10px;
}

.breadcrumbs li:last-child:after { content: ""; }

.breadcrumbs li:last-child a {
    color: #000;
    pointer-events: none;
    cursor: default;
    font-weight: 700;
}

.animate {
    transform: translateY(20px);
    opacity: 0; 
    animation: fadeIn 1.0s forwards;
}

@keyframes fadeIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.one-post {
    text-align: justify;
    background-color: white;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.one-post .entry-header {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.one-post .entry-header img {
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    display: block;
    margin: 10px;
}

.entry-header .meta-data {
    text-align: center;
}

.entry-header .meta-data h1{
    color: #346CCD;
    margin-bottom: 3px;
}

/* Результат поиска */
.result-conteiner {
    padding: 20px;
}

.search-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.search-title span {
    color: #0073e6;
}

/* Список результатов */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-result-item {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    padding: 15px;
}

.search-result-item:hover {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.search-result-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    width: 100%;
}

/* Изображение результата */
.search-result-image {
    flex-shrink: 0;
    margin-right: 20px;
}

.search-result-image img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

/* Контент результата */
.search-result-content {
    flex-grow: 1;
}

.search-result-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #0073e6;
}

.search-result-excerpt {
    font-size: 16px;
    color: #666;
    line-height: 1.3;
    text-align: justify;
}

/* Сообщение об отсутствии результатов */
.no-results-message {
    font-size: 18px;
    color: #333;
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
}

/* Стили для категории */
.post-category {
    display: inline-block;
    margin-left: 10px;
    background-color: #f0f0f0;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 14px;
    color: #555;
}

.category-label {
    color: #0073e6;
    font-weight: 600;
}

/* Постраничная навигация */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 5px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
    background: #1E427F;
    color: #fff;
}

.pagination .current {
    background: #0270DF;
    color: #fff;
    pointer-events: none;
}

.pagination .prev, 
.pagination .next {
    font-weight: bold;
    padding: 10px 20px;
}

.pagination .prev:hover, 
.pagination .next:hover {
    background: #0270DF;
}

.nlink {
    width: max-content;
    display: flex;    
    margin: 20px auto;
    font-size: 1.1rem;
}

/* Стили для таблиц */
.wp-block-table {
    width: 100%;
    border: none;
    margin-bottom: 20px;
}

.wp-block-table thead {
    border-bottom: none;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
}

.wp-block-table th {
    font-weight: bold;
    text-align: center;
    border: none;
    padding: 15px 10px;
    background: #0270DF;
    color: #fff;
}

.wp-block-table tr th:first-child {
    border-radius: 8px 0 0 8px;
}

.wp-block-table tr th:last-child {
    border-radius: 0 8px 8px 0;
}

.wp-block-table tbody td {
    text-align: center;
	border: none;
	padding: 15px 20px;
	vertical-align: top;
}

.wp-block-table tbody tr:nth-child(even) {
    background: #f3f3f3;
}

.wp-block-table tbody tr:nth-child(odd) {
    background: #ffffff;
}

.wp-block-table tbody tr:hover {
    background: #d0e4ff;
}

.wp-block-table tbody tr td:first-child {
    border-radius: 8px 0 0 8px;
}

.wp-block-table tbody tr td:last-child {
    border-radius: 0 8px 8px 0;
}

.wp-block-table td:empty::after {
    content: "—";
    color: #888;
}


#page-188 figure {
   display: flex;
   flex-direction: column;
}

#page-188 figcaption {
   display: block;
}

#page-188 .wp-block-group {
    margin-top: 20px;
}

#page-188 .wp-block-image {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#page-188 .wp-block-image img {
    width: 300px;
    height: 170px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

#page-188 .wp-block-image figcaption {
    color: #4B8DFF;
    font-weight: bold;
    margin-top: 8px;
}

#page-188 figure:hover img { 
    transform: scale(1.03);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 768px) {
    #page-188 .wp-block-group {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media screen and (max-width: 510px) {
    #page-188 .wp-block-group {
        grid-template-columns: 1fr !important;
    }
}