#ajax-content-wrapper.loading {
position: relative;
min-height: 300px;
}
#ajax-content-wrapper.loading::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 40px;
height: 40px;
border: 3px solid rgba(77, 171, 247, 0.3);
border-top-color: var(--color-sky-base);
border-radius: 50%;
animation: spin 0.8s linear infinite;
z-index: 10;
}
#ajax-content-wrapper.loading::after {
content: 'Загрузка...';
position: absolute;
top: calc(50% + 30px);
left: 50%;
transform: translateX(-50%);
color: var(--color-text-secondary);
font-size: 0.875rem;
}
@keyframes spin {
0% { transform: translate(-50%, -50%) rotate(0deg); }
100% { transform: translate(-50%, -50%) rotate(360deg); }
} .error-message {
text-align: center;
padding: 3rem 2rem;
background-color: #fff5f5;
border-radius: 12px;
border-left: 4px solid #ff6b6b;
margin: 2rem 0;
}
.error-message h2 {
color: #e03131;
margin-bottom: 1rem;
font-size: 1.5rem;
}
.error-message p {
color: #868e96;
max-width: 500px;
margin: 0 auto;
} #ajax-content-wrapper > * {
animation: fadeInUp 0.5s ease;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
} .scroll-fade-in {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-fade-in.visible {
opacity: 1;
transform: translateY(0);
} ::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: var(--color-bg-secondary);
}
::-webkit-scrollbar-thumb {
background: var(--color-sky-base);
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--color-sky-dark);
} :focus {
outline: 2px solid var(--color-sky-base);
outline-offset: 2px;
}
:focus:not(:focus-visible) {
outline: none;
}
:focus-visible {
outline: 2px solid var(--color-sky-base);
outline-offset: 2px;
} .site-content {
animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
} .responsive-image {
width: 100%;
height: auto;
}
.image-cover {
width: 100%;
height: 100%;
object-fit: cover;
}
.image-contain {
width: 100%;
height: 100%;
object-fit: contain;
} .text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.align-center {
margin-left: auto;
margin-right: auto;
display: block;
}
.align-left {
float: left;
margin-right: 1.5rem;
margin-bottom: 1rem;
}
.align-right {
float: right;
margin-left: 1.5rem;
margin-bottom: 1rem;
}
.alignwide {
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}
.alignfull {
max-width: 100vw;
width: 100vw;
margin-left: calc(50% - 50vw);
margin-right: calc(50% - 50vw);
} .clearfix::after {
content: "";
display: table;
clear: both;
} .mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; } .grid {
display: grid;
gap: 1.5rem;
}
.grid-2 {
grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
grid-template-columns: repeat(4, 1fr);
}
.flex {
display: flex;
}
.flex-col {
flex-direction: column;
}
.items-center {
align-items: center;
}
.justify-between {
justify-content: space-between;
}
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; } .sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.hidden {
display: none !important;
}
.visually-hidden {
position: absolute !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
white-space: nowrap !important;
border: 0 !important;
} @media (hover: none) {
.religion-link:hover,
.religion-toggle:hover {
background-color: transparent;
}
.post-card:hover {
transform: none;
}
.read-more-link:hover svg {
transform: none;
}
.widget:hover {
transform: none;
}
} @media print {
.religion-sidebar,
.right-sidebar,
.site-header,
.site-footer,
.menu-toggle,
.sidebar-toggle,
.back-to-top,
.social-links,
.comment-respond,
.widget {
display: none !important;
}
.content-container {
display: block;
padding: 0;
}
.content-wrapper {
box-shadow: none;
padding: 0;
background: none;
}
.entry-content {
font-size: 12pt;
line-height: 1.6;
color: #000;
}
a {
color: #000;
text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
page-break-after: avoid;
color: #000;
}
p, h2, h3 {
orphans: 3;
widows: 3;
}
blockquote {
border-left: 2px solid #ccc;
color: #666;
}
img {
max-width: 100% !important;
page-break-inside: avoid;
}
table {
page-break-inside: avoid;
}
thead {
display: table-header-group;
}
tr {
page-break-inside: avoid;
} .no-print {
display: none !important;
} a[href^="http"]::after {
content: " (" attr(href) ")";
font-size: 90%;
color: #666;
} body::after {
content: "URL: " attr(data-url);
display: block;
margin-top: 2rem;
padding-top: 1rem;
border-top: 1px solid #ccc;
font-size: 10pt;
color: #666;
text-align: center;
}
}