@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --bg-dark: #0b2038;
    --bg-dark-secondary: #081626;
    --bg-light: #eff4f8;
    --bg-white: #ffffff;
    
    --color-primary: #facc15;     /* Yellow */
    --color-secondary: #00860a;   /* Green */
    --color-secondary-hover: #006b08;
    --color-danger: #ff4757;       /* Red */
    
    --text-white: #ffffff;
    --text-dark: #0b2038;
    --text-muted: #64748b;
    --text-muted-dark: #cbd5e1;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

/* RESET */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.custom-landing-body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.cl-container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
}

.cl-section {
    padding: 5rem 0;
    position: relative;
}

.cl-section.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.cl-section.bg-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.cl-section.bg-white {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.cl-h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.cl-section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.cl-section-intro p {
    font-size: 1.1rem;
}

.bg-dark .cl-section-intro p {
    color: var(--text-muted-dark);
}

.bg-light .cl-section-intro p,
.bg-white .cl-section-intro p {
    color: var(--text-muted);
}

/* BUTTONS */
.cl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.cl-btn-primary {
    background-color: var(--color-primary);
    color: var(--text-dark);
}

.cl-btn-primary:hover {
    background-color: #ffffff;
    color: var(--text-dark);
    transform: scale(0.9);
}

.cl-btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.cl-btn-secondary:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
    transform: scale(0.9);
}

.cl-btn-danger {
    background-color: var(--color-danger);
    color: var(--text-white);
}

.cl-btn-danger:hover {
    background-color: #ff2a3b;
    transform: scale(0.9);
}

.cl-btn-green {
    background-color: var(--color-secondary);
    color: var(--text-white);
}

.cl-btn-green:hover {
    background-color: var(--color-secondary-hover);
    transform: scale(0.9);
}

.cl-btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.cl-btn-outline:hover {
    background-color: var(--text-white);
    color: var(--text-dark);
    border-color: var(--text-white);
    transform: scale(0.9);
}

/* HEADER */
.cl-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    color: var(--text-white);
}

/* WP Admin Bar Compatibility */
body.admin-bar .cl-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .cl-header {
        top: 46px;
    }
    body.admin-bar {
        padding-top: var(--header-height) !important;
    }
}

.cl-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.cl-logo img, a.custom-logo-link img {
    height: 30px;
    width: auto;
    display: block;
}

.cl-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.cl-nav ul.cl-nav-list, .cl-nav .menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
}

.cl-nav ul.cl-nav-list li a, .cl-nav .menu li a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-white);
    opacity: 0.85;
    transition: var(--transition);
}

.cl-nav ul.cl-nav-list li a:hover, .cl-nav .menu li a:hover,
.cl-nav ul.cl-nav-list li.current-menu-item > a,
.cl-nav ul.cl-nav-list li.current_page_item > a,
.cl-nav .menu li.current-menu-item > a,
.cl-nav .menu li.current_page_item > a {
    opacity: 1;
    color: var(--color-primary);
}

/* WordPress Submenu Dropdowns */
.cl-nav ul li {
    position: relative;
}

.cl-nav ul li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.5rem 0;
    list-style: none;
    display: none;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1020;
    flex-direction: column;
    gap: 0;
}

.cl-nav ul li:hover > .sub-menu {
    display: flex;
}

.cl-nav ul li .sub-menu li {
    width: 100%;
}

.cl-nav ul li .sub-menu li a {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-white);
    opacity: 0.85;
    white-space: nowrap;
}

.cl-nav ul li .sub-menu li a:hover {
    opacity: 1;
    color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.04);
}

/* Lang items in menu */
.cl-nav ul li.lang-item {
    font-weight: 700;
}

.cl-nav ul li.lang-item a {
    color: var(--color-primary) !important;
}



/* HERO SECTION */
.cl-hero {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: clamp(3rem, 6vh, 5rem) 0;
    position: relative;
}

.cl-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.cl-hero-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgb(0, 134, 10);
    color: rgb(0, 134, 10);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.cl-status-dot-circle {
    width: 12px;
    height: 12px;
    border: 1.5px solid rgb(0, 134, 10);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cl-status-dot-inner {
    width: 4px;
    height: 4px;
    background-color: rgb(0, 134, 10);
    border-radius: 50%;
    animation: status-pulse-inner 1.8s infinite;
}

@keyframes status-pulse-inner {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.cl-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4.2vw, 2.75rem); /* Scales fluidly, max size 44px (2.75rem) */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.cl-hero-descr {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.cl-hero-phones {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 2rem;
}

.cl-hero-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.8vw, 2.5rem);
    color: var(--color-secondary);
    transition: var(--transition);
}

.cl-hero-phone-link:hover {
    color: var(--text-dark);
    transform: scale(0.9);
}

.cl-hero-phone-link svg {
    width: clamp(28px, 3.5vw, 38px);
    height: clamp(28px, 3.5vw, 38px);
    fill: currentColor;
}

.cl-hero-metrics {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3.5vw, 3rem);
    margin-bottom: 2.25rem;
}

.cl-hero-metric-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
}

.cl-hero-metric-num {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.cl-hero-metric-label {
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    color: var(--text-muted);
    font-weight: 600;
}

.cl-hero-btn-blue {
    background-color: #2ca5e0;
    color: #fff;
}
.cl-hero-btn-blue:hover {
    background-color: #2ca5e0;
    transform: scale(0.9);
}

.cl-hero-btn-purple {
    background-color: #665cac;
    color: #fff;
}
.cl-hero-btn-purple:hover {
    background-color: #665cac;
    transform: scale(0.9);
}

.cl-hero-btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.cl-hero-btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
    border-color: var(--text-dark);
    transform: scale(0.9);
}

.cl-hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cl-hero-image-container {
    position: relative;
    width: 100%;
}

.cl-hero-car-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.cl-hero-floating-card {
    position: absolute;
    bottom: 2rem;
    left: clamp(-3rem, -3vw, -1rem);
    background-color: var(--bg-white);
    padding: clamp(0.8rem, 1.8vw, 1.25rem) clamp(1rem, 2vw, 1.5rem);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    width: clamp(260px, 25vw, 320px);
    z-index: 10;
    transition: var(--transition);
}

.cl-hero-floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.cl-hero-floating-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgb(0, 134, 10);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    margin-bottom: 0.5rem;
}

.cl-hero-floating-card-header svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.cl-hero-floating-card p {
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    color: var(--text-muted);
    line-height: 1.45;
}

/* MARQUEE TEXT TICKERS */
.cl-marquee-intersect-container {
    position: relative;
    height: 260px;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.cl-marquee-intersect-container.bg-light {
    background-color: var(--bg-light);
}

.cl-marquee-intersect-container.bg-white {
    background-color: var(--bg-white);
}

.cl-marquee-intersect-container .cl-marquee-wrapper {
    position: absolute;
    left: -10%;
    width: 120%;
    top: 50%;
}

.cl-marquee-intersect-container .text-fast-right {
    transform: translateY(-50%) rotate(2.5deg);
    z-index: 5;
    background-color: var(--color-primary);
    color: var(--text-dark);
}

.cl-marquee-intersect-container .text-fast-left {
    transform: translateY(-50%) rotate(-2.5deg);
    z-index: 4;
    background-color: var(--color-secondary);
    color: var(--text-white);
}

.cl-marquee-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    gap: 1.5rem;
}

.text-fast-left .cl-marquee-content {
    animation: marquee-scroll-right 25s linear infinite;
}

.text-fast-right .cl-marquee-content {
    animation: marquee-scroll-left 25s linear infinite;
}

.cl-marquee-content {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 0;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
}

.cl-marquee-content span {
    white-space: nowrap;
}

.cl-marquee-dot {
    width: 5px;
    height: 5px;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0.75;
}

/* "ЧТО МЫ ОТКРЫВАЕМ?" */
.cl-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.cl-service-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.cl-service-card:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px rgba(250, 204, 21, 0.05);
}

.cl-service-icon-box {
    width: 54px;
    height: 54px;
    background-color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: none;
}

.cl-service-icon-box img {
    width: 32px;
    height: 32px;
}

.cl-service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.cl-service-card p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.cl-service-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 1.25rem;
}

.cl-service-price-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
}

.cl-service-price-label {
    font-size: 0.9rem;
    color: var(--text-muted-dark);
    font-weight: 500;
}

.cl-service-price-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
}

/* "ОТЗЫВЫ КЛИЕНТОВ" */
.cl-reviews-slider-container {
    position: relative;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 3.5rem);
}

.cl-reviews-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.cl-reviews-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cl-review-card {
    position: relative;
    border-radius: var(--border-radius);
    aspect-ratio: 9/16;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    flex: 0 0 calc((100% - 32px) / 3); /* Desktop default: 3 slides */
}

.cl-review-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.cl-review-card:hover .cl-review-thumb {
    transform: scale(1.05);
}

.cl-review-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cl-review-play-btn {
    width: 64px;
    height: 64px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    box-shadow: 0 0 30px rgba(250, 204, 21, 0.3);
    transition: var(--transition);
}

.cl-review-play-btn svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.cl-review-card:hover .cl-review-play-btn {
    transform: scale(1.1);
}

/* Slider Navigation Arrows */
.cl-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background-color: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 10;
    transition: var(--transition);
}

.cl-slider-arrow svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.cl-slider-arrow:hover {
    background-color: #f1f5f9;
}

.cl-arrow-prev {
    left: 0;
}
.cl-arrow-prev svg {
    margin-right: 2px; /* Shift to visually center left chevron */
}
.cl-arrow-prev:hover svg {
    transform: translateX(-2px);
}

.cl-arrow-next {
    right: 0;
}
.cl-arrow-next svg {
    margin-left: 2px; /* Shift to visually center right chevron */
}
.cl-arrow-next:hover svg {
    transform: translateX(2px);
}

.cl-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.cl-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.cl-slider-dot.active {
    background-color: var(--color-primary);
    width: 24px;
    border-radius: 4px;
}

/* Lightbox Modal */
.cl-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cl-lightbox.active {
    display: flex;
}

.cl-lightbox-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 9/16;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
}

.cl-lightbox-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.cl-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
    transition: var(--transition);
}

.cl-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-primary);
    transform: scale(1.1);
}

/* "ОТПРАВИТЬ ФОТО ЗАМКА" */
.cl-photo-box {
    background-color: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 3.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.cl-photo-box h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.cl-photo-box p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.cl-photo-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.cl-btn-viber {
    background-color: #665cac;
    color: var(--text-white);
}

.cl-btn-viber:hover {
    background-color: #665cac;
    transform: scale(0.9);
}

.cl-btn-telegram {
    background-color: #2ca5e0;
    color: var(--text-white);
}

.cl-btn-telegram:hover {
    background-color: #2ca5e0;
    transform: scale(0.9);
}

/* "РАБОТАЕМ ПО ВСЕЙ ОДЕССЕ" */
.cl-map-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.cl-map-tab {
    background-color: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.6rem 1.25rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.cl-map-tab:hover {
    background-color: #f1f5f9;
}

.cl-map-tab.active {
    background-color: var(--bg-dark);
    color: var(--text-white);
    border-color: var(--bg-dark);
}

.cl-map-visual {
    background-color: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 0.5rem;
    display: flex;
    align-items: stretch;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    overflow: hidden;
}

.cl-map-iframe {
    width: 100%;
    height: clamp(350px, 50vh, 500px);
    min-height: 400px;
    border: none;
    border-radius: 18px;
}

/* "АКЦИИ" & "СТАТЬИ" */
.cl-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.cl-post-card {
    background-color: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.cl-post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: rgba(0, 0, 0, 0.08) 0 15px 35px 0;
}

.cl-post-img-box {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: #f1f5f9;
}

.cl-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.cl-post-card:hover .cl-post-img {
    transform: scale(1.05);
}

.cl-post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: var(--bg-white);
}

.cl-post-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-dark);
    transition: var(--transition);
}

.cl-post-card:hover .cl-post-title {
    color: var(--color-secondary-hover);
}

.cl-post-meta {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 700;
    background-color: #f1f5f9;
    padding: 0.3rem 0.75rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    margin-top: auto;
}

.cl-post-meta svg {
    flex-shrink: 0;
    stroke: currentColor;
}

/* "ПОЛЕЗНЫЕ СОВЕТЫ И FAQ" */
.cl-faq-list {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cl-faq-list details {
    background-color: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.cl-faq-list details[open] {
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.05);
}

.cl-faq-list summary {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cl-faq-list summary::-webkit-details-marker {
    display: none;
}

.cl-faq-list summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 700;
    transition: var(--transition);
}

.cl-faq-list details[open] summary::after {
    content: '−';
    color: var(--text-dark);
}

.cl-faq-list p {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* SEO SECTION (s-e-o__block scroll container) */
.cl-seo-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}

.s-e-o__block {
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Custom scrollbar for s-e-o__block */
.s-e-o__block::-webkit-scrollbar {
    width: 6px;
}
.s-e-o__block::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.03);
    border-radius: 4px;
}
.s-e-o__block::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

.s-e-o__block h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.s-e-o__block h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.s-e-o__block p {
    margin-bottom: 1.25rem;
}

.cl-seo-img-card {
    background-color: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

.cl-seo-img-card img {
    border-radius: 16px;
    width: 100%;
}

/* FOOTER */
.cl-footer {
    background-color: var(--bg-dark-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4.5rem 0 3rem;
    color: var(--text-white);
}

.cl-footer-logo-large {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 5.5rem;
    color: var(--text-white);
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 3rem;
    line-height: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 2.5rem;
}

.cl-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.25fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.cl-footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.cl-footer-col p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
}

.cl-footer-col ul {
    list-style: none;
}

.cl-footer-col ul li {
    margin-bottom: 0.75rem;
}

.cl-footer-col ul li a {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
}

.cl-footer-col ul li a:hover {
    color: var(--color-primary);
}

.cl-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted-dark);
    font-size: 0.85rem;
}

/* MOBILE CALL BAR */
.cl-mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(11, 32, 56, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1rem;
    z-index: 999;
    display: none;
}

/* KEYFRAMES & ANIMATIONS */
@keyframes status-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes marquee-scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes marquee-scroll-right {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

/* Pulse animation for key CTA button */
.pulse-animation {
    animation: cta-pulse 2s infinite;
}

@keyframes cta-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 71, 87, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
    .cl-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .cl-hero-floating-card {
        position: relative;
        left: 0;
        bottom: 0;
        width: 100%;
        margin-top: 1.5rem;
    }
    .cl-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cl-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cl-reviews-slider-container {
        padding: 0 2rem;
    }
    .cl-review-card {
        flex: 0 0 calc((100% - 16px) / 2); /* Tablet view: 2 slides */
    }
    .cl-seo-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .cl-footer-logo-large {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    body.custom-landing-body {
        padding-bottom: 80px;
    }
    .cl-container {
        width: 100%;
        padding: 0 1.25rem;
    }
    .cl-header-cta {
        display: none;
    }
    /* Hamburger Button styles */
    .cl-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1100;
    }

    .cl-hamburger-bar {
        width: 100%;
        height: 2px;
        background-color: var(--text-white);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .cl-hamburger.active .cl-hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .cl-hamburger.active .cl-hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .cl-hamburger.active .cl-hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .cl-nav {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-dark-secondary);
        border-left: none;
        padding: 6rem 1.75rem 3rem 1.75rem;
        flex-direction: column;
        gap: 2rem;
        z-index: 1050;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
    }

    .cl-nav.active {
        right: 0;
    }

    .cl-nav ul.cl-nav-list, .cl-nav .menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
    }

    .cl-nav ul.cl-nav-list li, .cl-nav .menu li {
        width: 100%;
        margin: 0;
    }

    .cl-nav ul.cl-nav-list li a, .cl-nav .menu li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 1.1rem;
        padding: 0.65rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        width: 100%;
        color: var(--text-white);
        opacity: 0.9;
    }

    .cl-nav ul.cl-nav-list li a:hover, .cl-nav .menu li a:hover {
        color: var(--color-primary);
        opacity: 1;
    }

    /* Collapsible Submenus on Mobile */
    .cl-nav ul li .sub-menu {
        position: static;
        display: flex;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.02);
        border: none;
        border-left: 2px solid var(--color-primary);
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1rem;
        margin: 0.5rem 0 0 0;
        border-radius: 0;
        min-width: unset;
        flex-direction: column;
        gap: 0.5rem;
    }

    .cl-nav ul li .sub-menu li a {
        font-size: 0.95rem;
        padding: 0.55rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.02);
        opacity: 0.8;
        white-space: normal;
        word-break: break-word;
        line-height: 1.4;
    }

    body.menu-open {
        overflow: hidden;
    }
    .cl-mobile-sticky-bar {
        display: block;
    }
    .cl-hero-title {
        font-size: 2.25rem;
    }
    .cl-h2 {
        font-size: 1.75rem;
    }
    .cl-hero-phone-link {
        font-size: 2rem;
    }
    .cl-hero-metrics {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .cl-hero-floating-card {
        position: relative;
        left: 0;
        bottom: 0;
        width: 100%;
        margin-top: 1.5rem;
    }
    .cl-services-grid {
        grid-template-columns: 1fr;
    }
    .cl-posts-grid {
        grid-template-columns: 1fr;
    }
    .cl-reviews-slider-container {
        padding: 0;
    }
    .cl-review-card {
        flex: 0 0 100%; /* Mobile view: 1 slide */
    }
    .cl-photo-box {
        padding: 2rem 1.5rem;
    }
    .cl-photo-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    .cl-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .cl-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .cl-footer-logo-large {
        font-size: calc(0.8rem + 3.5vw);
        letter-spacing: 2px;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
}

/* WP POPUPS MODAL STYLES (call-us-ru) */
.block-popup__avariyka {
    text-align: center;
    padding: 1rem 0;
}

.block-popup__avariyka .title-h3__popup {
    font-family: var(--font-heading), sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.35;
}

.block-popup__avariyka .block-social__popup {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    margin-bottom: 2rem;
}

.block-popup__avariyka .block-social__popup br {
    display: none !important;
}

.block-popup__avariyka .tel-phone {
    color: var(--color-secondary) !important; /* #00860a */
    font-family: var(--font-heading), sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.5rem) !important;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 !important;
    transition: var(--transition);
}

.block-popup__avariyka .tel-phone:hover {
    color: var(--text-dark) !important;
    transform: scale(0.95);
}

.block-popup__avariyka .tel-phone i {
    display: none !important; /* Hide broken FontAwesome square icon */
}

.block-popup__avariyka .tel-phone::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.15 15.15 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.11-.27c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.57a1 1 0 0 1-.26 1.12l-2.19 2.1z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.15 15.15 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.11-.27c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.57a1 1 0 0 1-.26 1.12l-2.19 2.1z'/%3E%3C/svg%3E") no-repeat center / contain;
    flex-shrink: 0;
}

.block-popup__avariyka .social-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 16px;
    font-family: var(--font-heading), sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff !important;
    text-decoration: none;
    margin: 0.5rem;
    min-width: 180px;
    text-align: center;
    transition: var(--transition);
}

.block-popup__avariyka .social-link i {
    display: none !important; /* Hide broken FontAwesome icon */
}

.block-popup__avariyka .social-link__telegram {
    background-color: #2ca5e0 !important;
}

.block-popup__avariyka .social-link__telegram::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.64 6.8c-.15 1.58-.8 5.42-1.13 7.19-.14.75-.42 1-.68 1.03-.58.05-1.02-.38-1.58-.75-.88-.58-1.38-.94-2.23-1.5-.99-.65-.35-1.01.22-1.59.15-.15 2.71-2.48 2.76-2.69a.2.2 0 0 0-.05-.18c-.06-.05-.14-.03-.2-.02-.08.02-1.36.86-3.84 2.53-.36.25-.69.37-.99.36-.33-.01-.97-.19-1.44-.34-.58-.19-1.04-.29-1-.62.02-.17.26-.35.72-.54 2.82-1.23 4.7-2.04 5.64-2.44 2.7-1.13 3.24-1.32 3.61-1.33.08 0 .26.02.38.12.1.08.13.19.14.28 0 .05.01.17 0 .28z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.64 6.8c-.15 1.58-.8 5.42-1.13 7.19-.14.75-.42 1-.68 1.03-.58.05-1.02-.38-1.58-.75-.88-.58-1.38-.94-2.23-1.5-.99-.65-.35-1.01.22-1.59.15-.15 2.71-2.48 2.76-2.69a.2.2 0 0 0-.05-.18c-.06-.05-.14-.03-.2-.02-.08.02-1.36.86-3.84 2.53-.36.25-.69.37-.99.36-.33-.01-.97-.19-1.44-.34-.58-.19-1.04-.29-1-.62.02-.17.26-.35.72-.54 2.82-1.23 4.7-2.04 5.64-2.44 2.7-1.13 3.24-1.32 3.61-1.33.08 0 .26.02.38.12.1.08.13.19.14.28 0 .05.01.17 0 .28z'/%3E%3C/svg%3E") no-repeat center / contain;
    flex-shrink: 0;
}

.block-popup__avariyka .social-link__viber {
    background-color: #665cac !important;
}

.block-popup__avariyka .social-link__viber::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.38 12.35c-.48-.37-1.12-.53-1.63-.44a4 4 0 0 0-1.88.94c-.46.39-.92.83-1.42.75-.46-.08-.73-.42-1.07-.69a10.9 10.9 0 0 1-2.92-3.64c-.22-.44-.1-.73.19-1.04.3-.32.65-.63 1-.95a3.86 3.86 0 0 0 .91-1.92c.07-.5-.12-1.12-.48-1.57l-1-1.25a2.12 2.12 0 0 0-3-.25c-.42.36-.83.74-1.21 1.15a5.55 5.55 0 0 0-1.4 3.42 13.9 13.9 0 0 0 3.73 8.35 15.6 15.6 0 0 0 7.74 5.37c1.33.4 2.8.21 3.86-.68.39-.33.74-.7 1.09-1.09a2.12 2.12 0 0 0-.15-3.07l-1.8-1.45z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.38 12.35c-.48-.37-1.12-.53-1.63-.44a4 4 0 0 0-1.88.94c-.46.39-.92.83-1.42.75-.46-.08-.73-.42-1.07-.69a10.9 10.9 0 0 1-2.92-3.64c-.22-.44-.1-.73.19-1.04.3-.32.65-.63 1-.95a3.86 3.86 0 0 0 .91-1.92c.07-.5-.12-1.12-.48-1.57l-1-1.25a2.12 2.12 0 0 0-3-.25c-.42.36-.83.74-1.21 1.15a5.55 5.55 0 0 0-1.4 3.42 13.9 13.9 0 0 0 3.73 8.35 15.6 15.6 0 0 0 7.74 5.37c1.33.4 2.8.21 3.86-.68.39-.33.74-.7 1.09-1.09a2.12 2.12 0 0 0-.15-3.07l-1.8-1.45z'/%3E%3C/svg%3E") no-repeat center / contain;
    flex-shrink: 0;
}

.block-popup__avariyka .social-link:hover {
    transform: scale(0.9) !important;
}

.block-popup__avariyka .text__popup {
    color: var(--color-secondary) !important; /* #00860a */
    font-family: var(--font-heading), sans-serif;
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    margin-top: 1.5rem;
}

/* Close icon styling */
.spu-box .spu-close {
    color: var(--text-dark) !important;
    font-weight: 300 !important;
    text-shadow: none !important;
    transition: var(--transition);
}

.spu-box .spu-close:hover {
    color: var(--color-primary-hover) !important;
    transform: scale(1.1);
}

/* Layout Reordering via Flexbox */
body.custom-landing-body #page {
    display: flex;
    flex-direction: column;
}

#cl-seo-section {
    order: 10;
}

.cl-footer {
    order: 20;
}

.cl-mobile-sticky-bar {
    order: 30;
}

/* Single Post and Default Page Styling */
.site-main {
    padding: 6rem 0 8rem 0;
    background-color: var(--bg-light);
    min-height: 70vh;
}

article.post, article.page {
    width: 92%;
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .site-main {
        padding: 4rem 0 6rem 0;
    }
    article.post, article.page {
        padding: 1.75rem;
        border-radius: 16px;
    }
}

.entry-header {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 1.5rem;
}

.entry-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .entry-title {
        font-size: 1.9rem;
    }
}

.entry-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.entry-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
}

.entry-content p {
    margin-bottom: 1.75rem;
}

.entry-content h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.entry-content h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 1.75rem;
    padding-left: 1.75rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 2.5rem auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    display: block;
}

.entry-content .alignleft {
    float: left;
    margin: 0.5rem 1.75rem 1.75rem 0;
}

.entry-content .alignright {
    float: right;
    margin: 0.5rem 0 1.75rem 1.75rem;
}

.entry-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.entry-content::after {
    content: "";
    clear: both;
    display: table;
}

/* Post Navigation */
.navigation.post-navigation {
    max-width: 850px;
    margin: 2.5rem auto 0 auto;
    width: 92%;
}

.navigation.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.navigation.post-navigation .nav-previous,
.navigation.post-navigation .nav-next {
    flex: 1;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s, box-shadow 0.25s;
}

.navigation.post-navigation .nav-previous:hover,
.navigation.post-navigation .nav-next:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.navigation.post-navigation a {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
}

.navigation.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.navigation.post-navigation .nav-title {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--text-dark);
}

@media (max-width: 600px) {
    .navigation.post-navigation .nav-links {
        flex-direction: column;
    }
}

/* Comments section matching the aesthetics */
#comments {
    max-width: 850px;
    margin: 3.5rem auto 0 auto;
    width: 92%;
    background: #ffffff;
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    #comments {
        padding: 1.75rem;
        border-radius: 16px;
    }
}

/* Premium Single Post Layout */
.cl-single-post-main {
    background-color: var(--bg-light);
    padding: 0 0 6rem 0;
}

/* Post Hero Header */
.cl-post-hero {
    background: linear-gradient(135deg, #111827 0%, #1a2333 100%);
    color: #ffffff;
    padding: 6rem 0 7rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cl-post-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 30% 30%, rgba(251, 192, 45, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.cl-post-hero-badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--text-dark);
    padding: 0.4rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.cl-hero-breadcrumbs-row {
    display: block;
    width: 100%;
    margin-bottom: 1.25rem;
    text-align: center;
}

.cl-post-hero-breadcrumbs-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 0.35rem 1.1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    transition: var(--transition);
}

.cl-post-hero-breadcrumbs-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.cl-breadcrumbs-ol {
    display: flex;
    align-items: center;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.cl-breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.cl-breadcrumbs-ol a {
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cl-breadcrumbs-ol a:hover {
    color: var(--color-primary) !important;
    text-decoration: underline;
}

.cl-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.45) !important;
    margin: 0 0.45rem;
    font-weight: 400;
}

.cl-post-hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
    letter-spacing: -0.02em;
    color: #ffffff;
}

@media (max-width: 768px) {
    .cl-post-hero {
        padding: 5rem 0 6rem 0;
    }
    .cl-post-hero-title {
        font-size: 1.95rem;
    }
}

.cl-post-hero-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

.cl-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cl-meta-item svg {
    color: var(--color-primary);
}

/* Post Wrap */
.cl-post-container-wrap {
    margin-top: -4.5rem; /* Overlap effect */
    position: relative;
    z-index: 10;
}

.cl-post-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .cl-post-grid {
        grid-template-columns: 1fr;
    }
    .cl-post-sidebar {
        position: static !important;
        margin-top: 2rem;
    }
}

/* Main Article Card */
.cl-post-article {
    background: #ffffff;
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
    .cl-post-article {
        padding: 1.75rem;
        border-radius: 16px;
    }
}

/* Featured Image */
.cl-post-featured-image-wrap {
    margin-bottom: 2.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.cl-post-featured-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Typography styles inside .cl-post-entry-content */
.cl-post-entry-content {
    font-size: 1.075rem;
    line-height: 1.85;
    color: #334155;
}

.cl-post-entry-content p {
    margin-bottom: 1.75rem;
}

.cl-post-entry-content h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
    border-left: 4px solid var(--color-primary);
    padding-left: 1rem;
}

.cl-post-entry-content h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* Custom Callout Box */
.cl-post-entry-content blockquote,
.cl-post-entry-content .wp-block-quote {
    border-left: 4px solid var(--color-primary);
    background-color: #fefcbf;
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
    font-style: italic;
    color: #744210;
}

.cl-post-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Sidebar Call CTA Widget */
.cl-post-sidebar {
    position: sticky;
    top: 100px;
}

.cl-sidebar-cta-card {
    background: #ffffff;
    padding: 2.25rem 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.cl-sidebar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.cl-sidebar-cta-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.cl-sidebar-cta-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.cl-sidebar-phones {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.cl-sidebar-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    border: 1px solid #e2e8f0;
}

.cl-sidebar-phone:hover {
    background: var(--text-dark);
    color: #ffffff;
    border-color: var(--text-dark);
}

.cl-sidebar-phone svg {
    color: var(--color-primary);
}

.cl-sidebar-messengers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.cl-sidebar-messenger {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.cl-sidebar-messenger:hover {
    opacity: 0.9;
}

.cl-sidebar-messenger.viber-bg {
    background-color: #7360f2;
}

.cl-sidebar-messenger.telegram-bg {
    background-color: #0088cc;
}

/* Sections for navigation and comments */
.cl-post-navigation-section {
    padding: 4rem 0 2rem 0;
}

.cl-comments-section {
    padding: 2rem 0 6rem 0;
}

/* Page Hero Section (Homepage Cousin) */
.cl-page-hero {
    background: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 7rem 0 8.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cl-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 50% 30%, rgba(251, 192, 45, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cl-page-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    animation: hero-spin 25s linear infinite;
    pointer-events: none;
}

@keyframes hero-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cl-page-hero-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    padding: 0.45rem 1.15rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cl-page-hero-title {
    font-size: 3.25rem;
    font-weight: 855;
    line-height: 1.2;
    max-width: 950px;
    margin: 0 auto 2.25rem auto;
    letter-spacing: -0.025em;
    color: #ffffff;
}

@media (max-width: 768px) {
    .cl-page-hero {
        padding: 5rem 0 6.5rem 0;
    }
    .cl-page-hero-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

/* Page Hero CTA Wrap */
.cl-page-hero-cta-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.cl-page-hero-phones {
    display: flex;
    gap: 0.75rem;
}

.cl-hero-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    padding: 0 1.75rem;
    height: 56px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.3s, border-color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cl-hero-phone-btn:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.cl-hero-phone-btn:active {
    transform: translateY(-1px);
}

.cl-hero-phone-btn svg {
    color: var(--color-primary);
}

.cl-page-hero-messengers {
    display: flex;
    gap: 0.75rem;
}

.cl-hero-messenger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 1.75rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cl-hero-messenger-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.cl-hero-messenger-btn.viber-color {
    background: linear-gradient(135deg, #7360f2 0%, #5b46e5 100%);
}

.cl-hero-messenger-btn.telegram-color {
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
}

@media (max-width: 880px) {
    .cl-page-hero-cta-wrap {
        flex-direction: column;
        width: 100%;
        max-width: 380px;
    }
    .cl-page-hero-phones,
    .cl-page-hero-messengers,
    .cl-hero-phone-btn,
    .cl-hero-messenger-btn,
    .cl-page-hero-cta-wrap .cl-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Page Content Layout Grid */
.cl-page-container-wrap {
    margin-top: -5rem;
    position: relative;
    z-index: 10;
    padding: 0 1rem;
}

.cl-page-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .cl-page-grid {
        grid-template-columns: 1fr;
    }
    .cl-page-sidebar {
        position: static !important;
        margin-top: 2rem;
    }
}

/* Main Page Content Card with Bezel */
body.custom-landing-body .cl-page-article {
    position: relative;
}

body.custom-landing-body .cl-page-article::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px dashed rgba(251, 192, 45, 0.15);
    pointer-events: none;
    border-radius: calc(24px - 8px);
}

article.post, article.page {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .cl-page-container-wrap {
        padding: 0;
    }
    article.post, article.page {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    body.custom-landing-body .cl-page-article::before {
        border-radius: calc(16px - 8px);
    }
    .cl-page-hero-status, .cl-hero-status-badge {
        display: inline-flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .cl-status-divider {
        display: none !important;
    }
    .cl-status-part-2 {
        display: block !important;
        width: 100% !important;
        margin-top: 0.15rem;
    }
}

.cl-page-sidebar {
    position: sticky;
    top: 100px;
}

/* Full-Width Page Content Card - Refined Double Bezel */
body.custom-landing-body .cl-page-article-full {
    background: #ffffff;
    padding: 4.5rem 5rem;
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.04);
    margin-bottom: 3.5rem;
    position: relative;
}

body.custom-landing-body .cl-page-article-full::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px dashed rgba(251, 192, 45, 0.15);
    pointer-events: none;
    border-radius: calc(32px - 8px);
}

@media (max-width: 768px) {
    body.custom-landing-body .cl-page-article-full {
        padding: 2.25rem 1.5rem;
        border-radius: 20px;
    }
    body.custom-landing-body .cl-page-article-full::before {
        border-radius: calc(20px - 8px);
    }
}

body.custom-landing-body .cl-page-article .entry-content,
body.custom-landing-body .cl-page-article-full .entry-content,
body.custom-landing-body .cl-post-entry-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #334155;
}

body.custom-landing-body .cl-page-article .entry-content h2,
body.custom-landing-body .cl-page-article-full .entry-content h2,
body.custom-landing-body .cl-post-entry-content h2 {
    font-size: 2.25rem;
    font-weight: 850;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin: 3.5rem 0 1.5rem 0;
    line-height: 1.35;
    border-left: 5px solid var(--color-primary);
    padding-left: 1.25rem;
}

body.custom-landing-body .cl-page-article .entry-content h3,
body.custom-landing-body .cl-page-article-full .entry-content h3,
body.custom-landing-body .cl-post-entry-content h3 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 2.5rem 0 1.25rem 0;
    line-height: 1.4;
}

body.custom-landing-body .cl-page-article .entry-content p,
body.custom-landing-body .cl-page-article-full .entry-content p,
body.custom-landing-body .cl-post-entry-content p {
    margin-bottom: 1.75rem;
    font-size: 1.125rem;
    line-height: 1.85;
    color: #475569;
}


/* Bullet list (ul) inside content */
body.custom-landing-body .cl-page-article .entry-content ul,
body.custom-landing-body .cl-page-article-full .entry-content ul,
body.custom-landing-body .cl-post-entry-content ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 2rem 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1.25rem !important;
}

body.custom-landing-body .cl-page-article .entry-content ul li,
body.custom-landing-body .cl-page-article-full .entry-content ul li,
body.custom-landing-body .cl-post-entry-content ul li {
    position: relative !important;
    padding-left: 2.25rem !important;
    font-size: 1.05rem !important;
    color: #334155 !important;
    line-height: 1.6 !important;
    font-weight: 600 !important;
}

body.custom-landing-body .cl-page-article .entry-content ul li::before,
body.custom-landing-body .cl-page-article-full .entry-content ul li::before,
body.custom-landing-body .cl-post-entry-content ul li::before {
    content: '✓' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: #10b981 !important;
    font-weight: 900 !important;
    font-size: 1.15rem !important;
    background: rgba(16, 185, 129, 0.1) !important;
    width: 26px !important;
    height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
}

/* Numbered list (ol) inside content */
body.custom-landing-body .cl-page-article .entry-content ol,
body.custom-landing-body .cl-page-article-full .entry-content ol,
body.custom-landing-body .cl-post-entry-content ol {
    margin: 2rem 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    counter-reset: custom-counter !important;
}

body.custom-landing-body .cl-page-article .entry-content ol li,
body.custom-landing-body .cl-page-article-full .entry-content ol li,
body.custom-landing-body .cl-post-entry-content ol li {
    position: relative !important;
    padding-left: 2.5rem !important;
    font-size: 1.05rem !important;
    color: #475569 !important;
    line-height: 1.7 !important;
    counter-increment: custom-counter !important;
}

body.custom-landing-body .cl-page-article .entry-content ol li::before,
body.custom-landing-body .cl-page-article-full .entry-content ol li::before,
body.custom-landing-body .cl-post-entry-content ol li::before {
    content: counter(custom-counter) !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    background: var(--color-primary) !important;
    color: var(--text-dark) !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    width: 24px !important;
    height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 6px rgba(250, 204, 21, 0.2) !important;
}

body.custom-landing-body .cl-page-article .entry-content strong,
body.custom-landing-body .cl-page-article-full .entry-content strong,
body.custom-landing-body .cl-post-entry-content strong {
    font-weight: 700;
    color: #0f172a;
}

/* Links inside content */
body.custom-landing-body .cl-page-article .entry-content a,
body.custom-landing-body .cl-page-article-full .entry-content a,
body.custom-landing-body .cl-post-entry-content a {
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    background-image: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary) 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.25em;
    background-position: 0 90%;
    transition: background-size 0.25s ease-in;
}

body.custom-landing-body .cl-page-article .entry-content a:hover,
body.custom-landing-body .cl-page-article-full .entry-content a:hover,
body.custom-landing-body .cl-post-entry-content a:hover {
    background-size: 100% 100%;
    color: #0f172a;
}

/* Images inside content */
body.custom-landing-body .cl-page-article .entry-content img,
body.custom-landing-body .cl-page-article-full .entry-content img,
body.custom-landing-body .cl-post-entry-content img {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 100% !important;
    height: auto !important;
}

body.custom-landing-body .cl-page-article .entry-content img:hover,
body.custom-landing-body .cl-page-article-full .entry-content img:hover,
body.custom-landing-body .cl-post-entry-content img:hover {
    transform: translateY(-5px);
}

body.custom-landing-body .cl-page-article .entry-content .alignleft,
body.custom-landing-body .cl-page-article-full .entry-content .alignleft,
body.custom-landing-body .cl-post-entry-content .alignleft {
    float: left;
    margin: 0.5rem 2.25rem 1.75rem 0;
}

body.custom-landing-body .cl-page-article .entry-content .alignright,
body.custom-landing-body .cl-page-article-full .entry-content .alignright,
body.custom-landing-body .cl-post-entry-content .alignright {
    float: right;
    margin: 0.5rem 0 1.75rem 2.25rem;
}

/* Custom Blockquote */
body.custom-landing-body .cl-page-article .entry-content blockquote,
body.custom-landing-body .cl-page-article-full .entry-content blockquote,
body.custom-landing-body .cl-post-entry-content blockquote,
body.custom-landing-body .cl-page-article .entry-content .wp-block-quote,
body.custom-landing-body .cl-page-article-full .entry-content .wp-block-quote,
body.custom-landing-body .cl-post-entry-content .wp-block-quote {
    border-left: 5px solid var(--color-primary) !important;
    background-color: #f8fafc !important;
    padding: 1.75rem 2.25rem !important;
    border-radius: 0 16px 16px 0 !important;
    margin: 2.5rem 0 !important;
    font-style: italic !important;
    color: #475569 !important;
    font-size: 1.15rem !important;
    line-height: 1.75 !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.02) !important;
}

/* Premium Table Styling */
body.custom-landing-body .cl-page-article .entry-content table,
body.custom-landing-body .cl-page-article-full .entry-content table,
body.custom-landing-body .cl-post-entry-content table {
    width: 100% !important;
    margin: 2.5rem 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02) !important;
    display: table;
}

body.custom-landing-body .cl-page-article .entry-content table thead th,
body.custom-landing-body .cl-page-article-full .entry-content table thead th,
body.custom-landing-body .cl-post-entry-content table thead th,
body.custom-landing-body .cl-page-article .entry-content table th,
body.custom-landing-body .cl-page-article-full .entry-content table th,
body.custom-landing-body .cl-post-entry-content table th {
    background-color: var(--bg-dark-secondary) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 1.15rem 1.5rem !important;
    text-align: left !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.5px !important;
    border-bottom: 2.5px solid var(--color-primary) !important;
}

body.custom-landing-body .cl-page-article .entry-content table th strong,
body.custom-landing-body .cl-page-article-full .entry-content table th strong,
body.custom-landing-body .cl-post-entry-content table th strong {
    color: #ffffff !important;
}

body.custom-landing-body .cl-page-article .entry-content table tbody td,
body.custom-landing-body .cl-page-article-full .entry-content table tbody td,
body.custom-landing-body .cl-post-entry-content table tbody td,
body.custom-landing-body .cl-page-article .entry-content table td,
body.custom-landing-body .cl-page-article-full .entry-content table td,
body.custom-landing-body .cl-post-entry-content table td {
    padding: 0.8rem !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    font-size: 1rem !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    transition: background-color 0.2s !important;
}

body.custom-landing-body .cl-page-article .entry-content table tr:last-child td,
body.custom-landing-body .cl-page-article-full .entry-content table tr:last-child td,
body.custom-landing-body .cl-post-entry-content table tr:last-child td {
    border-bottom: none !important;
}

body.custom-landing-body .cl-page-article .entry-content table tr:nth-child(even) td,
body.custom-landing-body .cl-page-article-full .entry-content table tr:nth-child(even) td,
body.custom-landing-body .cl-post-entry-content table tr:nth-child(even) td {
    background-color: #f8fafc !important;
}

body.custom-landing-body .cl-page-article .entry-content table tr:hover td,
body.custom-landing-body .cl-page-article-full .entry-content table tr:hover td,
body.custom-landing-body .cl-post-entry-content table tr:hover td {
    background-color: rgba(250, 204, 21, 0.04) !important;
}

body.custom-landing-body .cl-page-article .entry-content table tr td strong,
body.custom-landing-body .cl-page-article-full .entry-content table tr td strong,
body.custom-landing-body .cl-post-entry-content table tr td strong {
    color: var(--text-dark) !important;
}

body.custom-landing-body .cl-page-article .entry-content table tr td[colspan="2"],
body.custom-landing-body .cl-page-article-full .entry-content table tr td[colspan="2"],
body.custom-landing-body .cl-post-entry-content table tr td[colspan="2"] {
    background-color: #f1f5f9 !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    text-align: center !important;
}

/* Pricing column styling */
body.custom-landing-body .cl-page-article .entry-content table tr td:nth-child(2),
body.custom-landing-body .cl-page-article-full .entry-content table tr td:nth-child(2),
body.custom-landing-body .cl-post-entry-content table tr td:nth-child(2) {
    font-weight: 800 !important;
    color: var(--text-dark) !important;
}

@media (max-width: 768px) {
    body.custom-landing-body .cl-page-article .entry-content h2,
    body.custom-landing-body .cl-page-article-full .entry-content h2,
    body.custom-landing-body .cl-post-entry-content h2 {
        font-size: 1.75rem;
        margin-top: 2.5rem;
    }

    body.custom-landing-body .cl-page-article .entry-content img.alignleft,
    body.custom-landing-body .cl-page-article-full .entry-content img.alignleft,
    body.custom-landing-body .cl-post-entry-content img.alignleft,
    body.custom-landing-body .cl-page-article .entry-content img.alignright,
    body.custom-landing-body .cl-page-article-full .entry-content img.alignright,
    body.custom-landing-body .cl-post-entry-content img.alignright {
        float: none;
        margin: 1.5rem 0;
        display: block;
        width: 100% !important;
    }
    
    /* Make tables scrollable on mobile */
    body.custom-landing-body .cl-page-article .entry-content table,
    body.custom-landing-body .cl-page-article-full .entry-content table,
    body.custom-landing-body .cl-post-entry-content table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

/* Helper to hide popup triggers on desktop and show on mobile only */
@media (min-width: 769px) {
    .cl-only-mobile {
        display: none !important;
    }
}

/* ==========================================================================
   CONTACTS PAGE REDESIGN STYLES
   ========================================================================== */

.cl-contacts-main {
    background-color: var(--bg-light);
    font-family: var(--font-body);
    padding: 0 !important;
}

/* 1. Hero Section */
.cl-contacts-hero {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 7rem 0 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cl-contacts-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.cl-contacts-hero .cl-hero-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.cl-contacts-hero .cl-status-dot-circle {
    display: inline-flex;
    width: 10px;
    height: 10px;
    background-color: rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.cl-contacts-hero .cl-status-dot-inner {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    animation: cl-status-pulse 2s infinite;
}

@keyframes cl-status-pulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(0.9);
        opacity: 1;
    }
}

.cl-contacts-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    letter-spacing: -0.02em;
}

.cl-contacts-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted-dark);
    max-width: 750px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.cl-contacts-hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cl-contacts-phones {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.cl-contacts-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background-color: var(--bg-dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 2rem;
    border-radius: var(--border-radius);
    text-align: left;
    min-width: 290px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.cl-contacts-phone-btn svg {
    color: var(--color-primary);
    background: rgba(250, 204, 21, 0.1);
    padding: 0.6rem;
    box-sizing: content-box;
    border-radius: 12px;
}

.cl-contacts-phone-btn .btn-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.cl-contacts-phone-btn .btn-phone {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-white);
}

.cl-contacts-phone-btn:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    background-color: rgba(250, 204, 21, 0.02);
    box-shadow: 0 15px 30px rgba(250, 204, 21, 0.08);
}

.cl-contacts-messengers {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cl-contacts-messenger-btn {
    border-radius: 12px;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    min-width: 140px;
}

.cl-contacts-messenger-btn.telegram-color {
    background-color: #0088cc;
    color: white;
}

.cl-contacts-messenger-btn.telegram-color:hover {
    background-color: #0077b5;
    transform: scale(0.95);
}

.cl-contacts-messenger-btn.viber-color {
    background-color: #7360f2;
    color: white;
}

.cl-contacts-messenger-btn.viber-color:hover {
    background-color: #5e4cd8;
    transform: scale(0.95);
}

/* 2. Branches Interactive Grid Section */
.cl-contacts-branches-section {
    position: relative;
    z-index: 10;
    margin-top: -2rem;
    border-radius: 32px 32px 0 0;
    background-color: var(--bg-light);
}

.cl-contacts-interactive-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.cl-branches-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.cl-branch-card {
    background-color: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.cl-branch-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cl-branch-icon {
    display: inline-flex;
    background: rgba(11, 32, 56, 0.05);
    color: var(--text-dark);
    padding: 0.6rem;
    border-radius: 12px;
    transition: var(--transition);
}

.cl-branch-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.cl-branch-address {
    font-size: 1rem;
    color: #475569;
    font-weight: 500;
    margin-bottom: 0.75rem;
    min-height: 48px;
}

.cl-branch-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cl-branch-meta strong {
    color: var(--text-dark);
}

.cl-branch-map-action {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    display: inline-block;
    transition: var(--transition);
}

/* Branch Hover & Active States */
.cl-branch-card:hover, 
.cl-branch-card.active {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 12px 25px rgba(250, 204, 21, 0.12);
}

.cl-branch-card:hover .cl-branch-icon, 
.cl-branch-card.active .cl-branch-icon {
    background: rgba(250, 204, 21, 0.15);
    color: #b45309;
}

.cl-branch-card:hover .cl-branch-map-action, 
.cl-branch-card.active .cl-branch-map-action {
    color: var(--color-secondary);
    padding-left: 5px;
}

/* Map Iframe Container */
.cl-contacts-map-wrap {
    background-color: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    min-height: 450px;
    position: relative;
}

.cl-contacts-map-iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: 0;
    display: block;
}

/* 3. Coverage Areas Section */
.cl-contacts-coverage {
    padding: 5rem 0;
    background-color: var(--bg-dark-secondary);
    color: var(--text-white);
    text-align: center;
}

.cl-coverage-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    max-width: 900px;
    margin: 3rem auto 0;
}

.cl-coverage-badge {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted-dark);
    transition: var(--transition);
}

.cl-coverage-badge:hover {
    background-color: var(--color-primary);
    color: var(--text-dark);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* 4. Callback Form Section */
.cl-contacts-form-section {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.cl-contacts-form-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.cl-contacts-form-info h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.cl-contacts-form-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.cl-form-features {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.cl-form-feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.cl-form-feature-item .feature-icon {
    display: inline-flex;
    background: rgba(0, 134, 10, 0.08);
    color: var(--color-secondary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
    font-size: 0.9rem;
    margin-top: 0.15rem;
}

.cl-form-feature-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.cl-form-feature-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* CF7 Form Styles */
.cl-contacts-form-container {
    width: 100%;
}

.cl-contacts-form-card {
    background-color: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.02);
}

.cl-contacts-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

/* Form Fields Formatting */
.cl-contacts-form-card form p {
    margin-bottom: 1.25rem;
}

.cl-contacts-form-card form br {
    display: none;
}

.cl-contacts-form-card label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cl-contacts-form-card .wpcf7-form-control-wrap {
    display: block;
}

.cl-contacts-form-card input[type="text"],
.cl-contacts-form-card input[type="tel"],
.cl-contacts-form-card input[type="email"],
.cl-contacts-form-card textarea {
    width: 100%;
    background-color: var(--bg-white);
    border: 1.5px solid rgba(11, 32, 56, 0.08);
    padding: 0.9rem 1.25rem;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.cl-contacts-form-card input[type="text"]:focus,
.cl-contacts-form-card input[type="tel"]:focus,
.cl-contacts-form-card input[type="email"]:focus,
.cl-contacts-form-card textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.18);
    background-color: var(--bg-white);
}

.cl-contacts-form-card textarea {
    min-height: 100px;
    resize: vertical;
}

/* Submit Button */
.cl-contacts-form-card .wpcf7-submit {
    width: 100%;
    background-color: var(--color-primary);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(250, 204, 21, 0.2);
    transition: var(--transition);
    text-align: center;
    margin-top: 1rem;
}

.cl-contacts-form-card .wpcf7-submit:hover {
    background-color: var(--bg-dark);
    color: var(--text-white);
    box-shadow: 0 5px 15px rgba(11, 32, 56, 0.2);
    transform: translateY(-2px);
}

/* Success/Error Alerts */
.cl-contacts-form-card .wpcf7-response-output {
    margin: 1.5rem 0 0 0 !important;
    padding: 0.85rem 1.25rem !important;
    border-radius: 12px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border: 1.5px solid transparent !important;
    text-align: center !important;
}

.cl-contacts-form-card .wpcf7-mail-sent-ok {
    background: rgba(16, 185, 129, 0.08) !important;
    border-color: #10b981 !important;
    color: #065f46 !important;
}

.cl-contacts-form-card .wpcf7-validation-errors,
.cl-contacts-form-card .wpcf7-acceptance-missing {
    background: rgba(239, 68, 68, 0.08) !important;
    border-color: #ef4444 !important;
    color: #991b1b !important;
}

/* 5. Responsive Styles */
@media (max-width: 1024px) {
    .cl-contacts-interactive-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cl-contacts-map-wrap {
        order: -1; /* Move map to top on tablet/mobile */
        min-height: 340px;
    }
    
    .cl-contacts-map-iframe {
        min-height: 340px;
    }
    
    .cl-contacts-form-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* Reduce page hero padding and heights */
    .cl-contacts-hero {
        padding: 5rem 0 3.5rem 0;
    }
    
    .cl-contacts-title {
        font-size: 1.85rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }
    
    .cl-contacts-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Bento grid spacing */
    .cl-contacts-branches-section {
        padding: 3rem 0;
    }
    
    .cl-branches-bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cl-branch-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .cl-branch-address {
        min-height: unset;
        margin-bottom: 0.5rem;
    }
    
    .cl-contacts-map-wrap {
        min-height: 280px;
    }
    
    .cl-contacts-map-iframe {
        min-height: 280px;
    }
    
    /* Regional coverage spacing */
    .cl-contacts-coverage {
        padding: 3.5rem 0;
    }
    
    .cl-coverage-badges-grid {
        margin-top: 1.75rem;
        gap: 0.65rem;
    }
    
    .cl-coverage-badge {
        padding: 0.55rem 1.15rem;
        font-size: 0.85rem;
    }
    
    /* Bottom contact card spacing */
    .cl-contacts-form-section {
        padding: 3.5rem 0;
    }
    
    .cl-contacts-form-info h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .cl-contacts-form-info p {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
    }
    
    .cl-form-features {
        gap: 1.25rem;
    }
    
    .cl-contacts-form-card {
        padding: 2rem 1.25rem;
    }
    
    .cl-contacts-form-card h3 {
        font-size: 1.35rem;
        margin-bottom: 1.5rem;
    }
    
    /* Buttons */
    .cl-contacts-phone-btn {
        width: 100%;
        min-width: unset;
        padding: 1rem 1.25rem;
        gap: 1rem;
    }
    
    .cl-contacts-phone-btn .btn-phone {
        font-size: 1.1rem;
    }
    
    .cl-contacts-messengers {
        width: 100%;
    }
    
    .cl-contacts-messenger-btn {
        flex: 1;
        font-size: 0.9rem;
        padding: 0.7rem;
        min-width: unset;
    }
    
    .cl-action-phone-btn {
        font-size: 1.1rem;
        padding: 0.9rem;
    }
    
    .cl-action-messenger-btn {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
}

/* 6. Direct Contact Action Card Styles */
.cl-contacts-action-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
}

.cl-action-phones {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cl-action-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--bg-dark-secondary);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    padding: 1.1rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-white);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.cl-action-phone-btn svg {
    color: var(--color-primary);
    transition: var(--transition);
}

.cl-action-phone-btn:hover {
    transform: translateY(-2px);
    background-color: var(--bg-dark);
    border-color: var(--color-primary);
    box-shadow: 0 10px 20px rgba(250, 204, 21, 0.12);
    color: var(--text-white);
}

.cl-action-phone-btn:hover svg {
    transform: scale(1.1);
}

.cl-action-messengers {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.cl-action-messenger-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 12px;
    padding: 0.85rem;
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.cl-action-messenger-btn svg {
    flex-shrink: 0;
}

.cl-action-messenger-btn.telegram-color {
    background-color: #0088cc;
    color: white;
}

.cl-action-messenger-btn.telegram-color:hover {
    background-color: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 136, 204, 0.2);
}

.cl-action-messenger-btn.viber-color {
    background-color: #7360f2;
    color: white;
}

.cl-action-messenger-btn.viber-color:hover {
    background-color: #5e4cd8;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(115, 96, 242, 0.2);
}

/* 7. Desktop Submenu flyouts & carets */
@media (min-width: 769px) {
    /* Align wrapper and nav items to 100% height to avoid hover gaps */
    .cl-header-wrapper {
        height: 100%;
    }
    
    .cl-nav {
        height: 100%;
    }
    
    .cl-nav ul.cl-nav-list, .cl-nav .menu {
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    .cl-nav ul.cl-nav-list > li, .cl-nav .menu > li {
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    .cl-nav ul.cl-nav-list > li > a, .cl-nav .menu > li > a {
        display: flex;
        align-items: center;
        height: 100%;
    }

    /* 3rd level flyout position and hidden by default */
    .cl-nav ul li .sub-menu li .sub-menu {
        position: absolute;
        top: 0;
        left: 100%;
        margin-top: -0.5rem;
        border-radius: 8px;
        box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.25);
        display: none;
    }
    
    /* Show 3rd level flyout on hover of its parent li */
    .cl-nav ul li .sub-menu li:hover > .sub-menu {
        display: flex;
    }
    
    /* Caret indicator for desktop submenus with children */
    .cl-nav ul.cl-nav-list li.menu-item-has-children > a {
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }
    
    .cl-nav ul.cl-nav-list li.menu-item-has-children > a::after {
        content: '';
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 4px solid currentColor;
        opacity: 0.7;
        transition: transform 0.2s;
    }
    
    /* Rotate caret on hover */
    .cl-nav ul.cl-nav-list li.menu-item-has-children:hover > a::after {
        transform: rotate(-180deg);
    }

    /* Submenu caret flies out to the right */
    .cl-nav ul li .sub-menu li.menu-item-has-children > a::after {
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        border-left: 4px solid currentColor;
    }
    
    .cl-nav ul li .sub-menu li.menu-item-has-children:hover > a::after {
        transform: translateX(2.5px) rotate(0deg);
    }
    
    /* Hide hamburger on desktop */
    .cl-hamburger {
        display: none;
    }
}

/* ==========================================================================
   PROMOTIONS (АКЦИИ) ARCHIVE PAGE STYLES
   ========================================================================== */
.cl-akcii-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.cl-akcii-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.cl-akcii-card {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.cl-akcii-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.cl-akcii-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: var(--bg-dark-secondary);
}

.cl-akcii-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cl-akcii-card:hover .cl-akcii-card-image img {
    transform: scale(1.06);
}

.cl-akcii-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background-color: var(--color-primary);
    color: var(--text-dark);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(250, 204, 21, 0.25);
    z-index: 10;
}

.cl-akcii-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cl-akcii-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 850;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.5rem;
}

.cl-akcii-card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cl-akcii-card-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.cl-akcii-card-price svg {
    color: var(--color-secondary);
    flex-shrink: 0;
}

.cl-akcii-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark-secondary);
    color: var(--text-white);
    border-radius: 14px;
    padding: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    border: 1.5px solid transparent;
}

.cl-akcii-card-btn:hover {
    background-color: var(--bg-dark);
    border-color: var(--color-primary);
    color: var(--text-white);
    box-shadow: 0 10px 20px rgba(250, 204, 21, 0.1);
}

.cl-akcii-card-btn svg {
    transition: transform 0.2s;
}

.cl-akcii-card-btn:hover svg {
    transform: scale(1.1);
}

/* RESPONSIVE Overrides for Promotions page */
@media (max-width: 1024px) {
    .cl-akcii-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .cl-akcii-section {
        padding: 4rem 0;
    }
    
    .cl-akcii-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    
    .cl-akcii-card-image {
        height: 180px;
    }
    
    .cl-akcii-card-content {
        padding: 1.5rem;
    }
    
    .cl-akcii-card-title {
        font-size: 1.15rem;
        min-height: unset;
        margin-bottom: 0.65rem;
    }
    
    .cl-akcii-card-text {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
}

/* Mobile Responsive Overrides for Logo, Hero Phones, and Headers */
@media (max-width: 768px) {
    .cl-page-hero-phones {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 0.85rem !important;
    }
    
    .cl-hero-phone-btn {
        width: 100% !important;
        max-width: 290px !important;
        white-space: nowrap !important;
        justify-content: center !important;
    }

    .cl-hero-phone-link {
        font-size: clamp(1.2rem, 5.5vw, 1.8rem) !important;
        white-space: nowrap !important;
    }

    .cl-hero-title {
        font-size: clamp(1.5rem, 6.5vw, 2.25rem) !important;
        line-height: 1.15 !important;
    }

    .cl-h2 {
        font-size: clamp(1.35rem, 5.5vw, 1.75rem) !important;
        line-height: 1.2 !important;
    }

    .cl-contacts-title {
        font-size: clamp(1.5rem, 6.5vw, 2.2rem) !important;
        line-height: 1.2 !important;
    }

    .cl-post-hero-title {
        font-size: clamp(1.5rem, 6.5vw, 2.2rem) !important;
        line-height: 1.2 !important;
    }

    body.custom-landing-body .cl-page-article h2,
    body.custom-landing-body .cl-page-article-full h2,
    body.custom-landing-body .cl-post-entry-content h2 {
        font-size: clamp(1.25rem, 5vw, 1.6rem) !important;
        line-height: 1.3 !important;
    }

    body.custom-landing-body .cl-page-article h3,
    body.custom-landing-body .cl-page-article-full h3,
    body.custom-landing-body .cl-post-entry-content h3 {
        font-size: clamp(1.1rem, 4.5vw, 1.3rem) !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 576px) {
    .cl-logo img, a.custom-logo-link img {
        height: 22px !important;
    }
}

/* General Layout helpers */
.cl-section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3.5rem;
    width: 100%;
}

.cl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.25rem;
}

/* Mobile Responsive Layout and Alignment Overrides */
@media (max-width: 768px) {
    .cl-hero-metrics {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 0.5rem !important;
    }
    
    .cl-hero-metric-item {
        align-items: center !important;
        text-align: center !important;
        flex: 1 !important;
    }
    
    .cl-hero-metric-num {
        font-size: clamp(1rem, 4.2vw, 1.3rem) !important;
    }
    
    .cl-hero-metric-label {
        font-size: clamp(0.65rem, 3vw, 0.75rem) !important;
    }

    .cl-hero-actions {
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        gap: 0.85rem !important;
    }
    
    .cl-section-header-flex {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        gap: 1.5rem !important;
        margin-bottom: 2.5rem !important;
    }
    
    .cl-section-header-flex .cl-h2 {
        width: 100% !important;
        text-align: center !important;
    }
}

/* Sidebar and hero messenger gap overrides */
.cl-sidebar-messenger {
    gap: 0.5rem !important;
}

.cl-hero-messenger-btn {
    gap: 0.5rem !important;
}

/* Button Icon size normalization (20px) */
.cl-btn svg,
.cl-sidebar-messenger svg,
.cl-hero-messenger-btn svg,
.cl-action-messenger-btn svg,
.cl-contacts-messenger-btn svg {
    width: 20px !important;
    height: 20px !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

/* Blog grid, placeholder, and pagination styles */
.cl-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .cl-blog-grid {
        grid-template-columns: 1fr !important;
    }
}

.cl-post-img-placeholder {
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 220px;
    color: var(--color-primary);
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.cl-post-img-placeholder svg {
    color: var(--bg-white);
    opacity: 0.85;
}

.cl-pagination {
    margin-top: 3.5rem;
    display: flex;
    justify-content: center;
}

.cl-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.cl-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--bg-white);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cl-pagination .page-numbers.current,
.cl-pagination .page-numbers:hover {
    background-color: var(--color-primary);
    color: var(--text-dark);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.cl-pagination .page-numbers.prev,
.cl-pagination .page-numbers.next {
    width: auto;
    padding: 0 1.25rem;
}
/* Center and premium format all inline images in content blocks (no float text wrapping) */
body.custom-landing-body .entry-content img,
body.custom-landing-body .cl-post-entry-content img,
body.custom-landing-body .entry-content img.alignleft,
body.custom-landing-body .entry-content img.alignright,
body.custom-landing-body .entry-content img.aligncenter,
body.custom-landing-body .entry-content img.alignnone,
body.custom-landing-body .cl-post-entry-content img.alignleft,
body.custom-landing-body .cl-post-entry-content img.alignright,
body.custom-landing-body .cl-post-entry-content img.aligncenter,
body.custom-landing-body .cl-post-entry-content img.alignnone {
    float: none !important;
    display: block !important;
    margin: 2.5rem auto !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    max-height: 520px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
    text-align: center !important;
}

/* Ensure no inline padding or border properties from WP editor break formatting */
body.custom-landing-body .entry-content img {
    border: none !important;
    padding: 0 !important;
}

/* Yoast SEO Breadcrumbs Styling */
.cl-breadcrumbs {
    padding: 0.75rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.cl-breadcrumbs a {
    color: #ffffff !important;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}
.cl-breadcrumbs a:hover {
    color: var(--color-primary) !important;
    text-decoration: underline;
}
.cl-breadcrumbs span {
    margin: 0 0.35rem;
    color: rgba(255, 255, 255, 0.6);
}
.cl-breadcrumbs span.breadcrumb_last,
.cl-breadcrumbs span:last-child {
    color: var(--color-primary) !important;
    font-weight: 600;
}

/* Breadcrumbs on Light Background Containers */
.cl-akcii-section .cl-breadcrumbs,
.cl-page-container-wrap .cl-breadcrumbs,
.bg-light .cl-breadcrumbs,
.bg-white .cl-breadcrumbs {
    color: var(--text-muted);
}
.cl-akcii-section .cl-breadcrumbs a,
.cl-page-container-wrap .cl-breadcrumbs a,
.bg-light .cl-breadcrumbs a,
.bg-white .cl-breadcrumbs a {
    color: var(--text-dark) !important;
}
.cl-akcii-section .cl-breadcrumbs a:hover,
.cl-page-container-wrap .cl-breadcrumbs a:hover,
.bg-light .cl-breadcrumbs a:hover,
.bg-white .cl-breadcrumbs a:hover {
    color: var(--color-secondary) !important;
}
.cl-akcii-section .cl-breadcrumbs span.breadcrumb_last,
.cl-akcii-section .cl-breadcrumbs span:last-child,
.cl-page-container-wrap .cl-breadcrumbs span.breadcrumb_last,
.cl-page-container-wrap .cl-breadcrumbs span:last-child,
.bg-light .cl-breadcrumbs span.breadcrumb_last,
.bg-light .cl-breadcrumbs span:last-child,
.bg-white .cl-breadcrumbs span.breadcrumb_last,
.bg-white .cl-breadcrumbs span:last-child {
    color: var(--color-secondary) !important;
}

