/*
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Kadence Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Tags: translation-ready,two-columns,right-sidebar,left-sidebar,footer-widgets,blog,custom-logo,custom-background,custom-menu,rtl-language-support,editor-style,threaded-comments,custom-colors,featured-images,wide-blocks,full-width-template,theme-options,e-commerce
Version: 1.2.26.1750945157
Updated: 2025-06-26 16:39:17

*/

/* === ОСНОВНЫЕ СТИЛИ ПОСТОВ ШРИФТОВ === */

.font-post-content {
    box-sizing: border-box;
    max-width: 100%;
}

.font-post-content p {
    font-weight: 500 !important;
}

.font-post-content h2,
.font-post-content h3 {
    font-weight: 600 !important;
}

/* === СЕТКИ КОНТЕНТА === */

.main-content-grid,
.secondary-content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.content-primary {
    flex: 1 1 58%;
    min-width: 320px;
}

.content-sidebar {
    flex: 1 1 38%;
}

/* ======================================================= */
/* === СТИЛИ ДЛЯ КАРУСЕЛИ (ФИНАЛЬНАЯ ИСПРАВЛЕННАЯ ВЕРСИЯ) === */
/* ======================================================= */

.font-carousel {
    max-width: 100%;
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* Адаптивная высота */
    overflow: hidden;
    background: #f8f9fa;
}

.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    /* --- КЛЮЧЕВОЕ ИСПРАВЛЕНИЕ 1: Задаем общую ширину "поезда" --- */
    /* Если у вас 4 слайда, ширина должна быть 400% */
    width: 400%;
}

.carousel-slide {
    /* --- КЛЮЧЕВОЕ ИСПРАВЛЕНИЕ 2: Задаем ширину каждого "вагона" --- */
    /* Каждый из 4-х слайдов должен занимать четверть от общей ширины (400%) */
    width: 25%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 10px;
    box-sizing: border-box;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.carousel-radio {
    display: none;
}

/* --- КЛЮЧЕВОЕ ИСПРАВЛЕНИЕ 3: Правильная логика сдвига --- */
.font-carousel input[type="radio"]:nth-of-type(1):checked ~ .carousel-container .carousel-slides {
    transform: translateX(0%); /* Показываем 1-й слайд */
}
.font-carousel input[type="radio"]:nth-of-type(2):checked ~ .carousel-container .carousel-slides {
    transform: translateX(-25%); /* Сдвигаем на 1/4 (на один слайд) */
}
.font-carousel input[type="radio"]:nth-of-type(3):checked ~ .carousel-container .carousel-slides {
    transform: translateX(-50%); /* Сдвигаем на 2/4 (на два слайда) */
}
.font-carousel input[type="radio"]:nth-of-type(4):checked ~ .carousel-container .carousel-slides {
    transform: translateX(-75%); /* Сдвигаем на 3/4 (на три слайда) */
}


.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    user-select: none;
}

.carousel-arrow:hover {
    background: rgba(0,0,0,0.7);
}

.carousel-arrow-left {
    left: 15px;
}

.carousel-arrow-right {
    right: 15px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ced4da;
    cursor: pointer;
    transition: all 0.3s ease;
}

.font-carousel input[type="radio"]:nth-of-type(1):checked ~ .carousel-controls label:nth-of-type(1),
.font-carousel input[type="radio"]:nth-of-type(2):checked ~ .carousel-controls label:nth-of-type(2),
.font-carousel input[type="radio"]:nth-of-type(3):checked ~ .carousel-controls label:nth-of-type(3),
.font-carousel input[type="radio"]:nth-of-type(4):checked ~ .carousel-controls label:nth-of-type(4) {
    background: #667eea;
}

.carousel-thumbnails {
    display: flex;
    gap: 10px;
    padding: 10px;
    overflow-x: auto;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.carousel-thumbnail {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.font-carousel input[type="radio"]:nth-of-type(1):checked ~ .carousel-thumbnails label:nth-of-type(1),
.font-carousel input[type="radio"]:nth-of-type(2):checked ~ .carousel-thumbnails label:nth-of-type(2),
.font-carousel input[type="radio"]:nth-of-type(3):checked ~ .carousel-thumbnails label:nth-of-type(3),
.font-carousel input[type="radio"]:nth-of-type(4):checked ~ .carousel-thumbnails label:nth-of-type(4) {
    border-color: #667eea;
}

.image-counter {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 10;
}


/* === ПРИЗЫВ К ДЕЙСТВИЮ === */

.font-cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(102,126,234,0.3);
    color: white;
    text-align: center;
    margin-bottom: 25px;
}

.font-cta-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.cta-features {
    text-align: left;
    margin-bottom: 25px;
    font-size: 16px;
}

.cta-feature {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.feature-check {
    color: #69F0AE;
    font-size: 20px;
    margin-right: 10px;
}

.cta-button {
    background: linear-gradient(45deg, #28a745, #218838);
    color: white;
    padding: 16px 30px;
    text-decoration: none;
    border-radius: 50px;
    display: inline-block;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* === СОВМЕСТИМОСТЬ === */

.compatibility-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.compatibility-section h3 {
    color: #343a40;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.compatibility-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 15px;
    color: #495057;
}

.compatibility-column {
    flex: 1;
    min-width: 180px;
}

.compatibility-item {
    display: flex;
    align-items: center;
    margin: 8px 0;
    gap: 8px;
}

.compatibility-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

/* === ОПИСАНИЕ === */

.font-description-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.font-description-section h2 {
    color: #343a40;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.font-description {
    line-height: 1.7;
    color: #495057;
    font-size: 16px;
}

.font-usage-examples-section {
    margin-top: 30px; 
    padding: 25px; 
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.font-usage-examples-section h3 {
     margin-top: 0; 
     margin-bottom: 20px; 
     font-size: 1.2rem;
     border-left: 4px solid #7B68EE; 
     padding-left: 15px;
}

.font-usage-examples-section .additional-images-grid img {
    background-color: #fff;
    padding: 10px; 
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


.browse-categories-section {
    padding: 25px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.browse-categories-section h3 {
     margin-top: 0;
     margin-bottom: 20px;
     font-size: 1.2rem;
     color: #333;
     border-left: 4px solid #7B68EE;
     padding-left: 15px;
     text-align: left;
}

.browse-categories-section .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 1rem;
}

.browse-categories-section .category-link {
    display: block;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.browse-categories-section .category-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    border-color: transparent;
}


.install-guide-section {
    margin-top: 40px;
    padding: 25px;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.install-guide-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #333;
    border-left: 4px solid #7B68EE;
    padding-left: 15px;
}

.install-guide-section .install-guide-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #4B0082;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.install-guide-section .install-guide-link:hover {
    background-color: #4B0082;
    color: #fff;
    border-color: #4B0082;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(75, 0, 130, 0.2);
}

.install-guide-section .guide-icon {
    width: 48px;
    height: 48px;
}

/* === ШАРИНГ === */

.sharing-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.sharing-section h3 {
    color: #343a40;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 22px;
}

.sharing-section p {
    line-height: 1.6;
    color: #495057;
    font-size: 16px;
    margin-bottom: 20px;
}

.sharing-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-button {
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.share-button:hover {
    opacity: 0.9;
}

.share-twitter { background-color: #1DA1F2; }
.share-pinterest { background-color: #E60023; }
.share-facebook { background-color: #1877F2; }

.social-icon {
    width: 18px;
    height: 18px;
    fill: white;
}

/* === АДАПТИВНОСТЬ === */

@media (max-width: 991px) {
    
    .main-content-grid,
    .secondary-content-grid {
        flex-direction: column;
    }

    .content-primary,
    .content-sidebar {
        flex-basis: 100%;
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .browse-categories-section .categories-grid,
    .font-style-tags-section .tags-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .browse-categories-section .category-link,
    .font-style-tags-section .font-tag-link {
        padding: 10px 12px;
        font-size: 14px;
    }

    .compatibility-grid {
        flex-direction: column;
    }

    .sharing-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* === СТИЛЬ ДЛЯ БЛОКА ТЕГОВ === */
.font-style-tags-section {
    margin-top: 40px;
    padding: 25px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
}

.font-style-tags-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #333;
    border-left: 4px solid #7B68EE;
    padding-left: 15px;
    text-align: left;
}

.font-style-tags-section .tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.font-style-tags-section .font-tag-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: #e9ecef;
    border: 1px solid #ddd;
    border-radius: 50px;
    text-decoration: none;
    color: #495057;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.font-style-tags-section .font-tag-link:hover {
    background-color: #7B68EE;
    color: white;
    border-color: #7B68EE;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
	
/* === Стили для FAQ === */

.faq-section-wrapper {
    margin-top: 50px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.faq-section h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: #333;
}

.faq-container {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background-color: #e9ecef;
    padding: 1.1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    position: relative;
}

.faq-item h4, .faq-item summary {
    margin: 0 0 0.6rem 0;
    color: #212529;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0;
    border: none;
    cursor: default;
}

.faq-item p {
    margin: 0;
    color: #495057;
    line-height: 1.6;
}

.font-post-content > .sharing-section {
    margin-top: 40px;
}