/* Explain: Styles for UI components, animations, and article typography. */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

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

@media (max-width: 640px) {
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        width: 38px;
        height: 38px;
    }

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

.testimonials-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.wpc-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.wpc-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Section Split Image Animation */
.split-image-container .split-right {
    transform: translateX(100%);
}
.split-image-container .split-left {
    transform: translateX(-100%);
}
.split-image-container.is-visible .split-right,
.split-image-container.is-visible .split-left {
    transform: translateX(0);
}

/* Blog Article Content Typography */
.article-content h1, 
.article-content h2, 
.article-content h3, 
.article-content h4 {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}
.article-content h2 { font-size: 1.75rem; }
.article-content h3 { font-size: 1.5rem; }
.article-content p {
    margin-bottom: 1.75rem;
    color: var(--text-color);
    line-height: 2.1;
    font-size: 1.125rem;
}
.article-content ul, 
.article-content ol {
    margin-bottom: 1.5rem;
    padding-inline-start: 1.5rem;
    font-size: 1.125rem;
}
.article-content li {
    margin-bottom: 0.75rem;
}
.article-content ul { list-style-type: disc; }
.article-content ol { list-style-type: decimal; }
.article-content a {
    color: var(--primary-color);
    text-decoration: underline;
}
.article-content a:hover {
    color: var(--primary-hover);
}
.article-content .article-backlink {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    background: var(--secondary-color);
    padding: 0 3px;
    border-radius: 3px;
    transition: background 0.2s ease, color 0.2s ease;
}
.article-content .article-backlink:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* Door Preview Tool */
#dp-door-overlay {
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
}