/* Desktop logo */
.header .logo img,
#site-header-inner .logo img {
    max-height: 30px !important;
    height: auto !important;
    width: auto !important;
}

/* Mobile logo */
@media (max-width: 991px) {
    .header .logo img,
    .header .logo-mobile img,
    #site-header-inner .logo img,
    #site-header-inner .logo-mobile img {
        max-height: 25px !important;
        height: auto !important;
        width: auto !important;
    }
}
.card-box .bottom .category,
.card-box .bottom .category a {
    color: #000 !important;
}
.card-box .bottom .category img {
    filter: brightness(0) saturate(100%);
}
.innerpage-container .innerpage__content:only-child {
    width: 100%;
}
/* =========================================================
   BLOG ARTICLE — HIDE FEATURED IMAGE CORRECTLY
   ========================================================= */

/* Приховуємо головне фото, overlay та порожні хлібні крихти */
.blog-details-banner > .overlay-image,
.blog-details-banner > .image,
.blog-details-banner > .breadcrumb-wrapper {
    display: none !important;
}

/* Прибираємо стару висоту банера */
.blog-details-banner {
    display: block !important;
    position: relative !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    overflow: visible !important;
}

/* Головна причина обрізання була саме тут */
.blog-details-banner > .content {
    display: block !important;
    position: relative !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    inset: auto !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 52px 0 38px !important;

    transform: none !important;
    translate: none !important;

    background: #ffffff !important;
    overflow: visible !important;

    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1 !important;
}

/* Контейнер заголовка */
.blog-details-banner > .content > .container {
    display: block !important;
    position: relative !important;

    top: auto !important;
    left: auto !important;
    inset: auto !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 auto !important;

    transform: none !important;
    overflow: visible !important;
}

/* Заголовок статті */
.blog-details-banner > .content h1 {
    display: block !important;
    position: relative !important;

    top: auto !important;
    left: auto !important;
    inset: auto !important;

    width: 100% !important;
    max-width: 1050px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 0 20px !important;
    padding: 0 !important;

    color: #1d1d1f !important;
    font-size: clamp(38px, 4.4vw, 64px) !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;

    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    text-overflow: clip !important;

    transform: none !important;
    translate: none !important;

    opacity: 1 !important;
    visibility: visible !important;
}

/* Автор, дата та інша інформація */
.blog-details-banner > .content ul {
    display: flex !important;
    position: relative !important;
    flex-wrap: wrap !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
    overflow: visible !important;
}

.blog-details-banner > .content ul,
.blog-details-banner > .content ul li,
.blog-details-banner > .content ul a,
.blog-details-banner > .content ul span,
.blog-details-banner > .content ul time {
    color: #60646c !important;
}

/* Основний текст одразу після заголовка */
.blog-details-banner + section {
    margin-top: 0 !important;
    padding-top: 32px !important;
}

/* Планшет */
@media (max-width: 991px) {
    .blog-details-banner > .content {
        padding: 42px 0 30px !important;
    }

    .blog-details-banner > .content h1 {
        font-size: clamp(34px, 6vw, 50px) !important;
        line-height: 1.1 !important;
    }
}

/* Мобільна версія */
@media (max-width: 767px) {
    .blog-details-banner > .content {
        padding: 30px 0 24px !important;
    }

    .blog-details-banner > .content h1 {
        margin-bottom: 16px !important;
        font-size: 32px !important;
        line-height: 1.12 !important;
    }

    .blog-details-banner + section {
        padding-top: 20px !important;
    }
}


/* =========================================================
   BLOG ARTICLE — HIDE SHARE THIS POST
   ========================================================= */

.blog-detail-social {
    display: none !important;
}
/* =========================================================
   BLOG ARTICLE — REMOVE GAP BEFORE ARTICLE CONTENT
   ========================================================= */

/* Прибираємо службовий відступ 100 px після банера статті */
.blog-details-banner + section > .tf-spacing {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Зменшуємо нижній відступ блока із заголовком */
.blog-details-banner > .content {
    padding-top: 46px !important;
    padding-bottom: 24px !important;
}

/* Контейнер тексту статті */
.blog-details-banner + section .innerpage-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Планшет */
@media (max-width: 991px) {
    .blog-details-banner > .content {
        padding-top: 38px !important;
        padding-bottom: 20px !important;
    }
}

/* Мобільна версія */
@media (max-width: 767px) {
    .blog-details-banner > .content {
        padding-top: 28px !important;
        padding-bottom: 16px !important;
    }
}

/* ========================================
   VIP CAR — ARTICLE CONTENT
======================================== */

.vipcar-article {
    color: #303030;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.75;
}

.vipcar-article > *:first-child {
    margin-top: 0;
}

.vipcar-article p {
    margin: 0 0 20px;
    color: #303030;
    font-size: 17px;
    line-height: 1.75;
}

.vipcar-article p.neutral-1000 {
    margin-bottom: 22px;
    color: #171717;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.65;
}

.vipcar-article h6 {
    position: relative;
    margin: 52px 0 22px;
    padding: 0 0 15px;
    color: #151515;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.4px;
}

.vipcar-article h6::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 64px;
    height: 3px;
    border-radius: 10px;
    background: #8dbf27;
    content: "";
}

.vipcar-article ul,
.vipcar-article ol {
    margin: 22px 0 30px;
    padding-left: 28px;
}

.vipcar-article ul {
    list-style: disc;
}

.vipcar-article ol {
    list-style: decimal;
}

.vipcar-article li {
    margin-bottom: 12px;
    padding-left: 5px;
    color: #303030;
    font-size: 17px;
    line-height: 1.65;
}

.vipcar-article li::marker {
    color: #8dbf27;
    font-weight: 700;
}

.vipcar-article strong {
    color: #151515;
    font-weight: 700;
}

.vipcar-article a {
    color: #4f8d00;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(79, 141, 0, 0.35);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}

.vipcar-article a:hover {
    color: #325b00;
    text-decoration-color: #325b00;
}

.vipcar-article blockquote {
    position: relative;
    margin: 30px 0 34px;
    padding: 24px 28px 24px 32px;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #f4f6f1;
    color: #252525;
}

.vipcar-article blockquote::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5px;
    background: #8dbf27;
    content: "";
}

.vipcar-article blockquote p {
    margin: 0;
    color: #252525;
    font-size: 16px;
    line-height: 1.7;
}

.vipcar-article img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.vipcar-article figure {
    margin: 34px 0;
}

.vipcar-article hr {
    margin: 45px 0;
    border: 0;
    border-top: 1px solid #e5e5e5;
}

/* ========================================
   TWO-COLUMN INFORMATION BLOCK
======================================== */

.vipcar-article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 30px 0 38px;
}

.vipcar-article-card {
    padding: 25px;
    border: 1px solid #e4e7df;
    border-radius: 14px;
    background: #f8f9f6;
}

.vipcar-article-card strong {
    display: block;
    margin-bottom: 10px;
    color: #151515;
    font-size: 19px;
    line-height: 1.35;
}

.vipcar-article-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}

/* ========================================
   CHECKLIST BLOCK
======================================== */

.vipcar-checklist {
    margin: 30px 0 38px;
    padding: 28px 30px;
    border-radius: 14px;
    background: #f6f8f3;
}

.vipcar-checklist > strong {
    display: block;
    margin-bottom: 15px;
    font-size: 20px;
}

.vipcar-checklist ul,
.vipcar-checklist ol {
    margin-top: 0;
    margin-bottom: 0;
}

/* ========================================
   CONTENT IMAGES SHORTCODE
======================================== */

.vipcar-article .content-images,
.vipcar-article .content-image-wrapper {
    margin-top: 36px;
    margin-bottom: 42px;
}

.vipcar-article .content-images img,
.vipcar-article .content-image-wrapper img {
    width: 100%;
    border-radius: 14px;
}

/* Додатковий відступ після shortcode з фото */
.vipcar-article shortcode + h6,
.vipcar-article .content-images + h6,
.vipcar-article .content-image-wrapper + h6 {
    margin-top: 48px;
}

/* ========================================
   TABLES
======================================== */

.vipcar-article table {
    width: 100%;
    margin: 30px 0 38px;
    overflow: hidden;
    border-collapse: collapse;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
}

.vipcar-article th,
.vipcar-article td {
    padding: 15px 17px;
    border: 1px solid #e1e1e1;
    text-align: left;
    vertical-align: top;
}

.vipcar-article th {
    background: #f2f5ed;
    color: #171717;
    font-weight: 700;
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {
    .vipcar-article {
        font-size: 16px;
        line-height: 1.7;
    }

    .vipcar-article p {
        margin-bottom: 17px;
        font-size: 16px;
        line-height: 1.7;
    }

    .vipcar-article p.neutral-1000 {
        font-size: 17px;
        line-height: 1.65;
    }

    .vipcar-article h6 {
        margin-top: 40px;
        margin-bottom: 18px;
        padding-bottom: 12px;
        font-size: 23px;
        line-height: 1.35;
    }

    .vipcar-article ul,
    .vipcar-article ol {
        margin: 18px 0 25px;
        padding-left: 23px;
    }

    .vipcar-article li {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .vipcar-article blockquote {
        margin: 25px 0 28px;
        padding: 20px 20px 20px 25px;
    }

    .vipcar-article-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .vipcar-article-card {
        padding: 21px;
    }

    .vipcar-checklist {
        padding: 22px 20px;
    }
}
/* Приховати весь рядок тегів і соціальних кнопок під статтею */
.innerpage__content >
.flex.justify-between.mb-40.gap-16.md-flex-col:has(.blog-detail-tags) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Hide Sign in + Add Listing */
.header .header-button,
.header .mobile-hidden-header-button,
.header a[href*="/login"],
.header a[href*="/register"],
.header a[href*="/dashboard"],
.header a[href*="/add-listing"],
.header a[href*="/listing/create"] {
    display: none !important;
}

/* Hide search, compare, favorite */
.header .header-actions,
.header .header-search-wrapper,
.header #searchToggle,
.header a[href*="/compare"],
.header a[href*="/wishlist"],
.header a[href*="/favorites"],
.header a[aria-label="Compare"],
.header a[aria-label="Wishlist"],
.header a[aria-label="Favorite"] {
    display: none !important;
}