/*
Theme Name: Mamica Alapteaza Theme
Author: Никита
Version: 1.0
*/

body {
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* Loading Screen Styles */
#loading-screen {
    transition: opacity 0.3s ease-out;
}

.loading-logo-wrapper {
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }
}

.loading-logo {
    animation: pulseShadow 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    filter: drop-shadow(0 0 0 rgba(36, 89, 66, 0));
}

@keyframes pulseShadow {
    0%, 100% {
        filter: drop-shadow(0 0 0 rgba(36, 89, 66, 0));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(36, 89, 66, 0.4));
    }
}

.loading-text-wrapper {
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.6;
        transform: translateY(-2px);
    }
}

/* Consultants Swiper Styles */
.consultants-swiper {
    padding: 0 50px 60px 50px;
}

.consultants-swiper .swiper-button-next,
.consultants-swiper .swiper-button-prev {
    color: #245942;
    background: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.consultants-swiper .swiper-button-next:after,
.consultants-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.consultants-swiper .swiper-button-next:hover,
.consultants-swiper .swiper-button-prev:hover {
    background: #245942;
    color: white;
    transform: scale(1.1);
}

.consultants-swiper .swiper-button-prev {
    left: 0;
}

.consultants-swiper .swiper-button-next {
    right: 0;
}

.consultants-swiper .swiper-pagination {
    bottom: 20px;
}

.consultants-swiper .swiper-pagination-bullet {
    background: #245942;
    opacity: 0.3;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.consultants-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .consultants-swiper {
        padding: 0 20px 60px 20px;
    }

    .consultants-swiper .swiper-button-next,
    .consultants-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
    }

    .consultants-swiper .swiper-button-next:after,
    .consultants-swiper .swiper-button-prev:after {
        font-size: 14px;
    }
}

.post-content {
    color: #222;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    word-wrap: break-word;
}

/* Headings */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin: 1.25rem 0 0.5rem;
    line-height: 1.25;
    font-weight: 700;
    color: inherit;
}

.post-content h1 {
    font-size: 2.25rem;
}

.post-content h2 {
    font-size: 1.85rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content h4 {
    font-size: 1.25rem;
}

.post-content h5 {
    font-size: 1.05rem;
}

.post-content h6 {
    font-size: 0.95rem;
}

/* Paragraphs */
.post-content p {
    margin: 0 0 1rem 0;
}

/* Links */
.post-content a {
    color: #245942;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.post-content a:hover,
.post-content a:focus {
    color: #163b2b;
    text-decoration: none;
}

/* Images and media */
.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
}

.post-content figure {
    margin: 1rem 0;
}

.post-content figcaption {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
}

/* Horizontal rule */
.post-content hr {
    border: none;
    height: 1px;
    background: #eee;
    margin: 2rem 0;
}

/* Lists
       - Ordered lists: numbers
       - Unordered lists: dotted (disc) and list items bold by default
    */
.post-content ol,
.post-content ul {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
}

.post-content ol {
    list-style-type: decimal;
}

.post-content ul {
    list-style-type: disc;
}

/* Make unordered list items bold as requested */
.post-content ul>li {
    font-weight: 700;
    margin: 0.35rem 0;
}

/* Ordered list items normal weight but with spacing */
.post-content ol>li {
    font-weight: 400;
    margin: 0.35rem 0;
}

/* Nested list styles */
.post-content ul ul {
    list-style-type: circle;
    margin-left: 1rem;
}

.post-content ul ul ul {
    list-style-type: square;
    margin-left: 1rem;
}

.post-content ol ol {
    list-style-type: decimal;
    margin-left: 1rem;
}

/* List item contents wrap nicely */
.post-content li {
    line-height: 1.5;
}

/* Blockquotes */
.post-content blockquote {
    border-left: 4px solid #e0e0e0;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    color: #555;
    background: #fafafa;
    font-style: italic;
}

/* Inline formatting */
.post-content strong,
.post-content b {
    font-weight: 700;
}

.post-content em,
.post-content i {
    font-style: italic;
}

/* Code and preformatted text */
.post-content code {
    font-size: 0.92em;
    background: #f5f5f5;
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
    color: #c7254e;
}

.post-content pre {
    background: #f5f5f5;
    padding: 0.75rem;
    overflow: auto;
    border-radius: 6px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

/* Tables */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    overflow: auto;
}

.post-content th,
.post-content td {
    border: 1px solid #eaeaea;
    padding: 0.6rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.post-content th {
    font-weight: 700;
    background: #fafafa;
}

/* Small text */
.post-content small {
    font-size: 0.85em;
    color: #666;
}

/* Code-friendly line breaks and word breaks */
.post-content,
.post-content p,
.post-content li,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
    word-break: break-word;
    hyphens: auto;
}

/* Accessibility focus outlines */
.post-content a:focus,
.post-content button:focus,
.post-content input:focus {
    outline: 3px solid rgba(36, 89, 66, 0.12);
    outline-offset: 2px;
}