/* === CATEGORY HERO === */
.ukr-category-hero {
    background: linear-gradient(135deg, #0057B7 0%, #003d82 100%);
    color: #ffffff;
    padding: 50px 20px 40px;
    text-align: center;
    margin: -20px -20px 30px;
    width: calc(100% + 40px);
}
.ukr-category-hero__inner {
    max-width: 800px;
    margin: 0 auto;
}
.ukr-category-hero__flag {
    font-size: 64px;
    display: block;
    margin-bottom: 12px;
}
.ukr-category-hero__title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #ffffff;
}
.ukr-category-hero__count {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 12px;
}
.ukr-category-hero__desc {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}
.ukr-category-hero__intro {
    max-width: 720px;
    margin: 18px auto 0;
    color: rgba(255,255,255,0.92);
    font-size: 15px;
    line-height: 1.6;
}
.ukr-category-hero__intro p {
    margin: 0;
}
.ukr-category-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}
.ukr-category-hero__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #ffffff;
    color: #003d82 !important;
    text-decoration: none !important;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 900;
}
.ukr-category-hero__actions a:nth-child(2) {
    background: #ffd700;
    color: #1a1a2e !important;
}
.ukr-category-hero__actions a:nth-child(3) {
    background: rgba(255,255,255,0.14);
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.36);
}

/* Subcategory tags */
.ukr-subcats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}
.ukr-subcat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.2);
}
.ukr-subcat-tag:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.4);
}
.ukr-subcat-tag__icon {
    font-size: 16px;
}
.ukr-subcat-tag__count {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

/* Hide default archive header */
.category .ast-archive-description,
.category .page-header {
    display: none !important;
}

/* Fix Astra grid — proper column widths */
.category #primary.ast-grid-3.ast-blog-layout-4-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px !important;
}
.category #primary.ast-grid-3 > .ukr-category-hero {
    width: 100% !important;
    flex-basis: 100% !important;
}
.category #primary.ast-grid-3 > .ast-pagination {
    width: 100% !important;
    flex-basis: 100% !important;
}
.category #primary.ast-grid-3 > .ast-article-post {
    width: calc(33.333% - 16px) !important;
    max-width: calc(33.333% - 16px) !important;
    flex: 0 0 calc(33.333% - 16px) !important;
    margin: 0 !important;
}
@media (max-width: 768px) {
    .ukr-category-hero__actions a {
        flex: 1 1 150px;
    }

    .category #primary.ast-grid-3 > .ast-article-post {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .category #primary.ast-grid-3 > .ast-article-post {
        width: calc(50% - 12px) !important;
        max-width: calc(50% - 12px) !important;
        flex: 0 0 calc(50% - 12px) !important;
    }
}

/* Category page — no sidebar, full width */
.category .ast-container {
    max-width: 1240px !important;
}
.category .ast-col-md-12,
.category .ast-col-md-8,
.category .site-content > .ast-container > .ast-row > .ast-col-md-8 {
    width: 100% !important;
    max-width: 100% !important;
}
.category .site-content .widget-area {
    display: none !important;
}

/* Post cards in category */
.category .ast-article-post {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.category .ast-article-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.category .ast-article-post .post-thumb-img-content img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Card content padding */
.category .ast-article-post .entry-content,
.category .ast-article-post .ast-blog-single-element {
    padding: 0 16px;
}
.category .ast-article-post .entry-header {
    padding: 16px 16px 0;
}

/* Card title */
.category .ast-article-post .entry-title {
    font-family: 'Georgia', serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #1a1a2e;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.category .ast-article-post .entry-title a {
    color: inherit;
    text-decoration: none;
}

/* Hide author "marat", show only date */
body.category .posted-by,
body.category .byline,
body.category span.posted-by.vcard.author {
    display: none !important;
}
body.category .entry-meta {
    font-size: 0;
    color: #999;
    font-family: 'Helvetica Neue', sans-serif;
    padding: 0 16px 12px;
}
body.category .entry-meta .published,
body.category .entry-meta time,
body.category .entry-meta .ast-date-meta {
    font-size: 12px;
}

/* Category badges on cards — max 2 visible */
.category .ast-article-post .ast-blog-single-element.ast-taxonomy-container {
    padding: 12px 16px 4px;
    max-height: 36px;
    overflow: hidden;
}
.category .ast-article-post .ast-blog-single-element.ast-taxonomy-container a {
    display: inline-block;
    background: #0057B7;
    color: #fff !important;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.3px;
    font-family: 'Helvetica Neue', sans-serif;
}

/* Excerpt styling */
.category .ast-article-post .ast-excerpt-container {
    padding: 0 16px 16px;
    font-size: 13px;
    line-height: 1.55;
    color: #666;
    font-family: 'Helvetica Neue', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read more link */
.category .ast-article-post .read-more a,
.category .ast-article-post .ast-read-more-container a {
    display: inline-block;
    color: #0057B7;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Helvetica Neue', sans-serif;
    padding: 0 16px 16px;
}
.category .ast-article-post .read-more a:hover,
.category .ast-article-post .ast-read-more-container a:hover {
    color: #004a99;
    text-decoration: underline;
}

/* Pagination styling */
.ast-pagination,
.pagination {
    text-align: center;
    margin: 40px 0 20px;
    grid-column: 1 / -1;
}
.ast-pagination .page-numbers,
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0 4px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    background: #f5f5f5;
    color: #1a1a1a;
}
.ast-pagination .page-numbers.current,
.pagination .page-numbers.current {
    background: #0057B7;
    color: #fff;
}
.ast-pagination .page-numbers:hover,
.pagination .page-numbers:hover {
    background: #0057B7;
    color: #fff;
}

/* Hide legacy mu-plugin filter form until CPT listing is populated */
.ukr-filters-wrap {
    display: none !important;
}

/* ===== Cross-filter (country × topic) ===== */
.ukr-filter {
    max-width: 1100px;
    margin: 24px auto 0;
    padding: 0 16px;
}
.ukr-filter__label {
    font-size: 13px;
    color: #555;
    font-family: 'Helvetica Neue', sans-serif;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}
.ukr-filter__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ukr-filter__tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1.5px solid #e8e4dc;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 13.5px;
    font-weight: 500;
    color: #1a1a2e !important;
    text-decoration: none !important;
    font-family: 'Helvetica Neue', sans-serif;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
    line-height: 1.1;
    min-height: 36px;
}
.ukr-filter__tag:hover {
    border-color: #0057B7;
    color: #0057B7 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,87,183,.12);
}
.ukr-filter__tag.is-active {
    background: #0057B7;
    border-color: #0057B7;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0,87,183,.30);
}
.ukr-filter__tag.is-active::before {
    content: '✓';
    display: inline-block;
    font-size: 12px;
    margin-right: 2px;
    color: #FFD700;
    font-weight: 700;
}
.ukr-filter__tag.is-active .ukr-filter__cnt {
    background: rgba(255,255,255,0.22);
    color: #fff;
}
.ukr-filter__tag.is-empty {
    opacity: 0.55;
    border-style: dashed;
    cursor: pointer;
    color: #777 !important;
}
.ukr-filter__tag.is-empty:hover {
    opacity: 1;
    border-color: #FFD700;
    color: #1a1a2e !important;
    background: #fffdf3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255,215,0,0.25);
}
.ukr-filter__ico { font-size: 14px; }
.ukr-filter__cnt {
    display: inline-block;
    background: #f0ede5;
    color: #666;
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 10px;
    margin-left: 2px;
    font-weight: 600;
}

/* === BONUS: "Скоро з'явиться" landing === */
body.ukr-soon .no-results,
body.ukr-soon .ast-pagination,
body.ukr-soon .search-no-results,
body.ukr-soon .ast-search-form,
body.ukr-soon .page-header { display: none !important; }

.ukr-soon-landing {
    max-width: 900px;
    margin: 0 auto;
    padding: 16px 16px 56px;
}
.ukr-soon-hero {
    background: linear-gradient(135deg, #fffdf3 0%, #fff8e0 100%);
    border: 2px dashed #FFD700;
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    margin-bottom: 32px;
}
.ukr-soon-icons {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.ukr-soon-flag { font-size: 48px; }
.ukr-soon-title {
    font-family: 'Georgia', serif;
    font-size: 30px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
    line-height: 1.25;
}
.ukr-soon-sub {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    max-width: 560px;
    margin: 0 auto 28px;
}
.ukr-soon-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.ukr-soon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    transition: transform .15s, box-shadow .15s;
    min-height: 44px;
}
.ukr-soon-btn--primary {
    background: #0057B7;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0,87,183,0.25);
}
.ukr-soon-btn--primary:hover {
    background: #003d82;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,87,183,0.35);
}
.ukr-soon-btn--ghost {
    background: transparent;
    color: #1a1a2e !important;
    border: 1px solid #1a1a2e;
}
.ukr-soon-btn--ghost:hover {
    background: #1a1a2e;
    color: #fff !important;
}
.ukr-soon-cross {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.ukr-soon-col {
    background: #fff;
    border: 1px solid #e8e4dc;
    border-radius: 12px;
    padding: 20px 22px;
}
.ukr-soon-col-title {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #555;
    margin: 0 0 14px;
}
.ukr-soon-col-ico { margin-right: 6px; }
.ukr-soon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ukr-soon-list li {
    border-top: 1px solid #f0ede5;
    padding: 10px 0;
}
.ukr-soon-list li:first-child { border-top: none; padding-top: 0; }
.ukr-soon-list a {
    font-family: 'Georgia', serif;
    font-size: 15px;
    line-height: 1.4;
    color: #1a1a2e !important;
    text-decoration: none;
    display: block;
}
.ukr-soon-list a:hover { color: #0057B7 !important; }

@media (max-width: 700px) {
    .ukr-soon-hero { padding: 32px 18px; }
    .ukr-soon-title { font-size: 24px; }
    .ukr-soon-sub { font-size: 15px; }
    .ukr-soon-cta { flex-direction: column; align-items: stretch; }
    .ukr-soon-btn { width: 100%; justify-content: center; }
    .ukr-soon-cross { grid-template-columns: 1fr; gap: 16px; }
}

/* Mobile hero */
@media (max-width: 768px) {
    .ukr-category-hero {
        padding: 30px 16px;
    }
    .ukr-category-hero__flag {
        font-size: 48px;
    }
    .ukr-category-hero__title {
        font-size: 26px;
    }
    .ukr-subcats {
        gap: 8px;
    }
    .ukr-subcat-tag {
        padding: 6px 12px;
        font-size: 13px;
    }
    .ukr-filter__tag {
        padding: 6px 12px;
        font-size: 12px;
    }
    .ukr-filter__label {
        font-size: 12px;
    }
}

/* ===== Breadcrumbs (для підкатегорій) ===== */
.ukr-breadcrumbs {
    margin-top: 18px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    text-align: center;
    letter-spacing: 0.2px;
}
.ukr-breadcrumbs a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    border-bottom: 1px dotted rgba(255,255,255,0.4);
    padding-bottom: 1px;
}
.ukr-breadcrumbs a:hover {
    color: #FFD700;
    border-bottom-color: #FFD700;
}
.ukr-breadcrumbs .sep {
    margin: 0 6px;
    color: rgba(255,255,255,0.5);
}
.ukr-breadcrumbs .current {
    color: #fff;
    font-weight: 600;
}

/* Підкатегорії v3 на topic-сторінках (під country filter) */
.ukr-subcats--topic {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.18);
    justify-content: center;
}
.ukr-subcats--topic::before {
    content: 'Підкатегорії:';
    display: block;
    width: 100%;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
    text-align: center;
}

/* Sibling chips (інші підкатегорії на сторінці однієї підкатегорії) */
.ukr-subcats--siblings {
    margin-top: 14px;
    justify-content: center;
}
.ukr-subcats--siblings::before {
    content: 'Інші підкатегорії:';
    display: block;
    width: 100%;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
    text-align: center;
}

@media (max-width: 768px) {
    .ukr-breadcrumbs { font-size: 12px; }
    .ukr-breadcrumbs .sep { margin: 0 4px; }
}

/* ===== Category pages as catalog: profiles first, articles below ===== */
.category #primary.ast-grid-3 > .up-category-profiles-section,
.category #primary.ast-grid-3 > .ukr-category-articles-head {
    width: 100% !important;
    max-width: 1200px !important;
    flex: 0 0 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.up-category-profiles-section {
    padding: 4px 20px 26px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.up-category-profiles-inner {
    background: #f8f7f2;
    border: 1px solid #e2e8f2;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 34px rgba(0, 50, 120, 0.07);
}

.up-category-profiles-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 18px;
    align-items: end;
    margin-bottom: 22px;
}

.up-category-profiles-head span {
    grid-column: 1 / -1;
    justify-self: start;
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e8f2ff;
    color: #0057B7;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.up-category-profiles-head h2 {
    margin: 0;
    color: #002C5E;
    font-family: 'Georgia', serif;
    font-size: 30px;
    line-height: 1.18;
}

.up-category-profiles-head p {
    grid-column: 1 / 2;
    margin: 0;
    color: #52627a;
    font-size: 15px;
    line-height: 1.6;
}

.up-category-profiles-head strong {
    grid-column: 2 / 3;
    grid-row: 2 / span 2;
    align-self: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: #FFD700;
    color: #1a1a2e;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.up-category-profiles-head__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.up-category-profiles-head__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 15px;
    border-radius: 999px;
    background: #005bbb;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 900;
}

.up-category-profiles-head__actions a:nth-child(2) {
    background: #ffd700;
    color: #1a1a2e !important;
}

.up-category-profiles-head__actions a:nth-child(3) {
    background: #ffffff;
    color: #005bbb !important;
    border: 1px solid #d7e5f6;
}

.up-category-profiles-section .up-profiles-list-page {
    padding: 0 !important;
    background: transparent !important;
}

.up-category-profiles-section .up-profiles-list-container {
    width: 100% !important;
    max-width: 100% !important;
}

.up-category-profiles-section .up-profiles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    justify-content: start;
}

.up-profiles-city-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 12px;
    border: 1px solid #e0ebf8;
    border-radius: 16px;
    background: #f8fbff;
}

.up-profiles-city-filter__label {
    color: #7084a3;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.up-profiles-city-filter__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 13px;
    border: 1px solid #d7e5f6;
    border-radius: 999px;
    background: #ffffff;
    color: #183456 !important;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.1;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 50, 120, 0.04);
}

.up-profiles-city-filter__item:hover {
    border-color: #b8d2ef;
    color: #0057B7 !important;
}

.up-profiles-city-filter__item.is-active {
    border-color: #0057B7;
    background: #0057B7;
    color: #ffffff !important;
    box-shadow: 0 7px 16px rgba(0, 87, 183, 0.18);
}

.up-category-profiles-section .up-profiles-empty {
    max-width: none;
    padding: 26px 22px;
    border-style: dashed;
    box-shadow: none;
    text-align: center;
    background: #ffffff;
}

.up-category-profiles-section .up-profiles-empty h2 {
    margin: 0 0 8px;
    color: #002C5E;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 900;
}

.up-category-profiles-section .up-profiles-empty p {
    max-width: 540px;
    margin: 0 auto;
    color: #52627a;
    font-size: 15px;
    line-height: 1.6;
}

.up-profiles-empty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.up-profiles-empty__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 18px;
    border: 1px solid #d7e4f4;
    border-radius: 999px;
    background: #ffffff;
    color: #0057B7 !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
}

.up-profiles-empty__btn--primary {
    border-color: #0057B7;
    background: #0057B7;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(0, 87, 183, 0.18);
}

.up-category-profiles-cta {
    margin-top: 18px;
    text-align: center;
}

.up-category-profiles-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #0057B7;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(0, 87, 183, 0.18);
}

.up-category-profiles-cta a:hover {
    background: #003d82;
}

.up-catalog-request {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    padding: 18px 20px;
    border: 1px solid #dbe8f7;
    border-radius: 16px;
    background: linear-gradient(100deg, #eef6ff 0%, #ffffff 100%);
}

.up-catalog-request__body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.up-catalog-request__body span {
    color: #0057B7;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.up-catalog-request__body strong {
    color: #002C5E;
    font-size: 18px;
    line-height: 1.28;
    font-weight: 900;
}

.up-catalog-request__body p {
    margin: 0;
    color: #52627a;
    font-size: 14px;
    line-height: 1.5;
}

.up-catalog-request__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.up-catalog-request__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 16px;
    border: 1px solid #d7e4f4;
    border-radius: 999px;
    background: #ffffff;
    color: #0057B7 !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
}

.up-catalog-request__btn--primary {
    border-color: #FFD700;
    background: #FFD700;
    color: #1a1a2e !important;
    box-shadow: 0 8px 18px rgba(255, 215, 0, 0.22);
}

.ukr-category-articles-head {
    padding: 0 20px 18px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.ukr-category-articles-head span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff8d8;
    color: #846400;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ukr-category-articles-head h2 {
    margin: 0 0 6px;
    color: #1a1a2e;
    font-family: 'Georgia', serif;
    font-size: 25px;
    line-height: 1.25;
}

.ukr-category-articles-head p {
    max-width: 760px;
    margin: 0;
    color: #52627a;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .up-category-profiles-section {
        padding: 0 14px 22px;
    }

    .up-category-profiles-inner {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .up-category-profiles-head {
        grid-template-columns: 1fr;
    }

    .up-category-profiles-head h2 {
        font-size: 24px;
    }

    .up-category-profiles-head p,
    .up-category-profiles-head strong {
        grid-column: auto;
        grid-row: auto;
    }

    .up-category-profiles-head strong {
        justify-self: start;
    }

    .up-category-profiles-section .up-profiles-grid {
        grid-template-columns: 1fr;
    }

    .up-profiles-city-filter {
        gap: 7px;
        padding: 10px;
        margin-bottom: 16px;
    }

    .up-profiles-city-filter__label {
        width: 100%;
    }

    .up-profiles-city-filter__item {
        min-height: 36px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .ukr-category-articles-head {
        padding: 0 14px 16px;
    }
}

/* ===== Category polish v2: compact catalog pages ===== */
body.category {
    background: #f8f7f2 !important;
}

.category #primary.ast-grid-3.ast-blog-layout-4-grid {
    gap: 18px !important;
    padding: 18px 20px 44px !important;
}

.category #primary.ast-grid-3 > .ukr-category-hero {
    max-width: 1160px !important;
}

.ukr-category-hero {
    width: min(1160px, calc(100vw - 48px)) !important;
    margin: 0 auto 6px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #141c2e !important;
    text-align: left !important;
}

.ukr-category-hero__inner {
    position: relative;
    max-width: none !important;
    padding: 30px 32px 32px !important;
    border-radius: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 215, 0, 0.24), transparent 26%),
        linear-gradient(135deg, #005BBB 0%, #003f8a 55%, #002f6c 100%);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 18px 46px rgba(0, 62, 138, 0.18);
}

.ukr-category-hero__inner::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -95px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.ukr-category-hero__flag {
    position: relative;
    z-index: 1;
    display: grid !important;
    width: 62px;
    height: 48px;
    place-items: center;
    margin: 0 auto 14px !important;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    font-size: 36px !important;
}

.ukr-category-hero__title {
    position: relative;
    z-index: 1;
    margin: 0 0 8px !important;
    color: #ffffff !important;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(30px, 3.2vw, 42px) !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

.ukr-category-hero__count {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    margin: 2px auto 0 !important;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 14px !important;
    font-weight: 800;
}

.ukr-category-hero__desc {
    position: relative;
    z-index: 1;
    max-width: 680px !important;
    margin: 12px auto 0 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.ukr-category-hero > .ukr-filter,
.ukr-category-hero > .ukr-subcats {
    max-width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 16px 18px !important;
    border: 1px solid #e2e8f2;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 50, 120, 0.07);
}

.ukr-category-hero > .ukr-filter + .ukr-subcats {
    margin-top: 10px !important;
}

.ukr-filter__label,
.ukr-subcats--topic::before,
.ukr-subcats--siblings::before {
    margin: 0 0 10px !important;
    color: #7d90aa !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    text-align: left !important;
}

.ukr-filter__tags,
.ukr-subcats {
    justify-content: flex-start !important;
    gap: 8px !important;
}

.ukr-filter__tag,
.ukr-subcat-tag {
    min-height: 34px !important;
    padding: 7px 12px !important;
    border: 1px solid #dce5f1 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #24324a !important;
    font-family: 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    box-shadow: 0 3px 10px rgba(0, 50, 120, 0.04);
}

.ukr-filter__tag:hover,
.ukr-subcat-tag:hover {
    border-color: rgba(0, 91, 187, 0.34) !important;
    background: #f4f8ff !important;
    color: #0057B7 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 7px 18px rgba(0, 50, 120, 0.09) !important;
}

.ukr-filter__tag.is-active {
    border-color: #0057B7 !important;
    background: #0057B7 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(0, 87, 183, 0.22) !important;
}

.ukr-filter__tag.is-active::before {
    color: #FFD700 !important;
}

.ukr-filter__tag.is-empty {
    opacity: 0.54 !important;
    border-style: dashed !important;
    background: #f6f8fb !important;
}

.ukr-filter__cnt,
.ukr-subcat-tag__count {
    display: inline-flex;
    min-width: 20px;
    justify-content: center;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    background: #edf1f6 !important;
    color: #52627a !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

.ukr-filter__tag.is-active .ukr-filter__cnt {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.ukr-subcats--topic,
.ukr-subcats--siblings {
    border-top: 0 !important;
}

.ukr-breadcrumbs {
    margin: 14px 0 0 !important;
    color: #52627a !important;
    text-align: left !important;
}

.ukr-breadcrumbs a,
.ukr-breadcrumbs .current {
    color: #0057B7 !important;
}

.up-category-profiles-section {
    padding: 0 !important;
}

.up-category-profiles-inner {
    background: #ffffff !important;
    border-color: #dfe8f4 !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 42px rgba(0, 50, 120, 0.08) !important;
}

.up-category-profiles-head {
    align-items: center !important;
    margin-bottom: 18px !important;
}

.up-category-profiles-head h2 {
    color: #002C5E !important;
    font-size: clamp(26px, 2.6vw, 34px) !important;
    letter-spacing: 0 !important;
}

.up-category-profiles-head strong {
    box-shadow: 0 8px 18px rgba(255, 215, 0, 0.25);
}

.up-category-profiles-section .up-profile-list-card {
    border-radius: 18px !important;
    box-shadow: 0 10px 28px rgba(0, 50, 120, 0.08) !important;
}

.up-category-profiles-section .up-profile-list-card__media {
    height: 180px !important;
}

.up-category-profiles-section .up-profile-list-card__media.has-initials {
    height: auto !important;
    min-height: 0 !important;
}

.up-category-profiles-section .up-profile-list-card__body {
    padding: 18px !important;
}

.ukr-category-articles-head {
    margin-top: 6px !important;
    padding: 18px 20px 4px !important;
    border-top: 1px solid #e5ebf4;
}

@media (max-width: 900px) {
    .ukr-category-hero {
        width: min(100% - 28px, 760px) !important;
    }

    .ukr-category-hero__inner {
        padding: 24px 18px 26px !important;
    }

    .ukr-category-hero__flag {
        width: 54px;
        height: 42px;
        font-size: 30px !important;
    }

    .ukr-category-hero > .ukr-filter,
    .ukr-category-hero > .ukr-subcats {
        padding: 14px !important;
    }

    .ukr-filter__tags,
    .ukr-category-hero > .ukr-subcats {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .ukr-category-hero > .ukr-subcats::before {
        flex: 0 0 auto;
        width: auto !important;
        margin: 0 8px 0 0 !important;
        align-self: center;
    }

    .ukr-filter__tags::-webkit-scrollbar,
    .ukr-category-hero > .ukr-subcats::-webkit-scrollbar {
        display: none;
    }

    .ukr-filter__tag,
    .ukr-subcat-tag {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .up-category-profiles-inner {
        padding: 20px 16px !important;
    }

    .up-category-profiles-head {
        grid-template-columns: 1fr !important;
    }

    .up-category-profiles-head strong {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        justify-self: start !important;
    }

    .up-category-profiles-head__actions {
        justify-content: stretch;
    }

    .up-category-profiles-head__actions a {
        flex: 1 1 150px;
    }

    .up-catalog-request {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .up-catalog-request__actions,
    .up-profiles-empty__actions {
        justify-content: stretch;
    }

    .up-catalog-request__btn,
    .up-profiles-empty__btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .category #primary.ast-grid-3.ast-blog-layout-4-grid {
        padding: 12px 0 34px !important;
    }

    .ukr-category-hero__title {
        font-size: 28px !important;
    }

    .ukr-category-hero__count {
        font-size: 13px !important;
    }

    .up-category-profiles-head h2 {
        font-size: 24px !important;
    }
}

/* ===== Collapsible subcategories ===== */
.ukr-category-hero > .ukr-subcats-panel {
    max-width: 100% !important;
    margin: 14px 0 0 !important;
    border: 1px solid #e2e8f2;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 50, 120, 0.07);
    overflow: hidden;
}

.ukr-category-hero > .ukr-filter + .ukr-subcats-panel,
.ukr-category-hero > .ukr-subcats-panel + .ukr-subcats-panel {
    margin-top: 10px !important;
}

.ukr-subcats-panel__summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 13px 18px 10px;
    cursor: pointer;
    list-style: none;
    color: #24324a;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    user-select: none;
}

.ukr-subcats-panel__summary::-webkit-details-marker {
    display: none;
}

.ukr-subcats-panel__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
    color: #7d90aa;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ukr-subcats-panel[open] .ukr-subcats-panel__summary {
    padding-bottom: 8px;
}

.ukr-subcats-panel__count {
    min-width: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #edf1f6;
    color: #52627a;
    font-size: 11px;
    letter-spacing: 0;
    text-align: center;
}

.ukr-subcats-panel__hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 6px 10px 6px 12px;
    border: 1px solid #d9e5f4;
    border-radius: 999px;
    background: #f4f8ff;
    color: #0057B7;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.ukr-subcats-panel__hint::after {
    content: "⌄";
    display: inline-grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    background: #0057B7;
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    transition: transform 0.18s ease;
}

.ukr-subcats-panel__summary:hover .ukr-subcats-panel__hint {
    border-color: rgba(0, 91, 187, 0.28);
    background: #e8f2ff;
}

.ukr-subcats-panel__hide {
    display: none;
}

.ukr-subcats-panel[open] .ukr-subcats-panel__show {
    display: none;
}

.ukr-subcats-panel[open] .ukr-subcats-panel__hide {
    display: inline;
}

.ukr-subcats-panel__arrow {
    display: none;
}

.ukr-subcats-panel[open] .ukr-subcats-panel__hint::after {
    transform: rotate(180deg);
}

.ukr-subcats-panel .ukr-subcats {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 4px 18px 18px !important;
}

.ukr-subcats-panel .ukr-subcats--topic,
.ukr-subcats-panel .ukr-subcats--siblings {
    border-top: 0 !important;
}

.ukr-subcats-panel .ukr-subcats--topic::before,
.ukr-subcats-panel .ukr-subcats--siblings::before {
    display: none !important;
    content: none !important;
}

@media (max-width: 900px) {
    .ukr-category-hero > .ukr-subcats-panel {
        margin-top: 10px !important;
    }

    .ukr-subcats-panel__summary {
        min-height: 46px;
        padding: 11px 14px;
    }

    .ukr-subcats-panel__hint {
        display: inline-flex;
        min-width: 30px;
        padding: 6px;
    }

    .ukr-subcats-panel__hint .ukr-subcats-panel__show,
    .ukr-subcats-panel__hint .ukr-subcats-panel__hide {
        display: none !important;
    }

    .ukr-subcats-panel .ukr-subcats {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        padding: 0 14px 14px !important;
        scrollbar-width: none;
    }

    .ukr-subcats-panel .ukr-subcats::-webkit-scrollbar {
        display: none;
    }

    .ukr-subcats-panel .ukr-subcat-tag {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

/* ===== Country city tiles ===== */
.category #primary.ast-grid-3 > .ukr-country-cities-section {
    width: 100% !important;
    flex-basis: 100% !important;
    max-width: 1200px !important;
    margin: -6px auto 0 !important;
}

.ukr-country-cities-section {
    padding: 0 !important;
}

.ukr-country-cities {
    padding: 20px;
    border: 1px solid #dce8f6;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,251,255,0.98) 100%),
        #ffffff;
    box-shadow: 0 12px 32px rgba(0, 50, 120, 0.07);
}

.ukr-country-cities__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.ukr-country-cities__copy {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.ukr-country-cities__head span {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #0057B7;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.ukr-country-cities__head h2 {
    margin: 0;
    color: #002C5E;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 900;
}

.ukr-country-cities__head p {
    max-width: 520px;
    margin: 0;
    color: #52627a;
    font-size: 14px;
    line-height: 1.5;
}

.ukr-country-cities__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.ukr-country-city-tile {
    display: grid;
    gap: 6px;
    min-height: 88px;
    padding: 16px;
    border: 1px solid #dbe8f7;
    border-radius: 16px;
    background: #ffffff;
    color: #0f2544 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(0, 50, 120, 0.05);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.ukr-country-city-tile:hover {
    transform: translateY(-2px);
    border-color: #b8d2ef;
    box-shadow: 0 12px 26px rgba(0, 50, 120, 0.09);
}

.ukr-country-city-tile strong {
    color: #002C5E;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
}

.ukr-country-city-tile span {
    color: #6a7d99;
    font-size: 13px;
    font-weight: 800;
}

/* ===== Country editable info + partner article ===== */
.category #primary.ast-grid-3 > .ukr-country-info-section {
    width: 100% !important;
    flex-basis: 100% !important;
    max-width: 1200px !important;
    margin: -6px auto 0 !important;
}

.ukr-country-info-section {
    padding: 0 !important;
}

.ukr-country-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 18px;
}

.ukr-country-info-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid #dce8f6;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 32px rgba(0, 50, 120, 0.07);
}

.ukr-country-info-card__kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #0057B7;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.ukr-country-info-card h2 {
    margin: 0 0 10px;
    color: #002C5E;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
}

.ukr-country-info-card h2 a {
    color: inherit;
    text-decoration: none;
}

.ukr-country-info-card h2 a:hover {
    color: #0057B7;
}

.ukr-country-info-card__text {
    color: #425572;
    font-size: 15px;
    line-height: 1.65;
}

.ukr-country-info-card__text p {
    margin: 0 0 10px;
}

.ukr-country-info-card__text p:last-child {
    margin-bottom: 0;
}

.ukr-country-info-card__partner {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.ukr-country-info-card__thumb {
    display: block;
    overflow: hidden;
    width: 130px;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    background: #eef5fd;
}

.ukr-country-info-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ukr-country-info-card__partner-body {
    min-width: 0;
}

.ukr-country-info-card__partner-body p {
    margin: 0 0 14px;
    color: #52627a;
    font-size: 14px;
    line-height: 1.55;
}

.ukr-country-info-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 15px;
    border-radius: 999px;
    background: #FFD700;
    color: #11213a !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(255, 215, 0, 0.22);
}

@media (max-width: 760px) {
    .category #primary.ast-grid-3 > .ukr-country-cities-section {
        margin-top: -4px !important;
    }

    .ukr-country-cities {
        padding: 16px;
        border-radius: 16px;
    }

    .ukr-country-cities__head {
        display: grid;
        gap: 8px;
        margin-bottom: 14px;
    }

    .ukr-country-cities__copy {
        gap: 8px;
    }

    .ukr-country-cities__head h2 {
        font-size: 22px;
    }

    .ukr-country-cities__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .ukr-country-city-tile {
        min-height: 78px;
        padding: 13px;
    }

    .ukr-country-city-tile strong {
        font-size: 15px;
    }

    .category #primary.ast-grid-3 > .ukr-country-info-section {
        margin-top: -4px !important;
    }

    .ukr-country-info-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ukr-country-info-card {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .ukr-country-info-card h2 {
        font-size: 21px;
    }

    .ukr-country-info-card__partner {
        grid-template-columns: 1fr;
    }

    .ukr-country-info-card__thumb {
        width: 100%;
        max-height: 190px;
    }
}

/* ===== Country announcements preview ===== */
.category #primary.ast-grid-3 > .ukr-country-ann-section {
    width: 100% !important;
    flex-basis: 100% !important;
    max-width: 1200px !important;
    margin: -6px auto 0 !important;
}

.ukr-country-ann-section {
    padding: 0 !important;
}

.ukr-country-ann {
    padding: 22px;
    border: 1.5px dashed rgba(164, 113, 33, 0.28);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 253, 246, 0.98) 0%, rgba(255, 248, 225, 0.96) 100%),
        #fff8e1;
    box-shadow: 0 12px 32px rgba(126, 86, 26, 0.08);
}

.ukr-country-ann__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.ukr-country-ann__copy {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.ukr-country-ann__copy > span {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff0bd;
    color: #8a5a05;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.ukr-country-ann__copy h2 {
    margin: 0;
    color: #002C5E;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 900;
}

.ukr-country-ann__copy p {
    max-width: 720px;
    margin: 0;
    color: #5f5560;
    font-size: 14px;
    line-height: 1.55;
}

.ukr-country-ann__head > strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #FFD700;
    color: #141c2e;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(255, 215, 0, 0.22);
}

.ukr-country-ann__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ukr-country-ann-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(164, 113, 33, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 22px rgba(126, 86, 26, 0.06);
}

.ukr-country-ann-card__media {
    display: grid;
    overflow: hidden;
    width: 76px;
    height: 76px;
    place-items: center;
    border-radius: 14px;
    background: #fff3ce;
    color: #0057B7 !important;
    text-decoration: none !important;
}

.ukr-country-ann-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ukr-country-ann-card__media span {
    font-size: 28px;
    line-height: 1;
}

.ukr-country-ann-card__body {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
}

.ukr-country-ann-card__badge {
    justify-self: start;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef5ff;
    color: #0057B7;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ukr-country-ann-card h3 {
    margin: 0;
    color: #141c2e;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.ukr-country-ann-card h3 a {
    color: inherit;
    text-decoration: none;
}

.ukr-country-ann-card h3 a:hover {
    color: #0057B7;
}

.ukr-country-ann-card p {
    margin: 0;
    color: #5f6678;
    font-size: 13px;
    line-height: 1.45;
}

.ukr-country-ann-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #758197;
    font-size: 11px;
    font-weight: 800;
}

.ukr-country-ann-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f6f8fb;
}

.ukr-country-ann__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.ukr-country-ann__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 18px;
    border-radius: 999px;
    background: #0057B7;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: 0 10px 22px rgba(0, 87, 183, 0.18);
}

.ukr-country-ann__btn--ghost {
    border: 1px solid #cfdced;
    background: #ffffff;
    color: #002C5E !important;
    box-shadow: none;
}

.ukr-country-ann__empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 28px 18px;
    border: 1px dashed rgba(164, 113, 33, 0.28);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.ukr-country-ann__empty > span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 16px;
    background: #fff0bd;
    font-size: 26px;
}

.ukr-country-ann__empty strong {
    color: #002C5E;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
}

.ukr-country-ann__empty p {
    max-width: 560px;
    margin: 0;
    color: #5f5560;
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .ukr-country-ann__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .category #primary.ast-grid-3 > .ukr-country-ann-section {
        max-width: min(100% - 28px, 760px) !important;
        margin-top: -4px !important;
    }

    .ukr-country-ann {
        padding: 16px;
        border-radius: 16px;
    }

    .ukr-country-ann__head {
        display: grid;
        gap: 12px;
        margin-bottom: 14px;
    }

    .ukr-country-ann__copy h2 {
        font-size: 22px;
    }

    .ukr-country-ann__head > strong {
        justify-self: start;
        min-height: 36px;
        padding: 8px 13px;
    }

    .ukr-country-ann-card {
        grid-template-columns: 64px minmax(0, 1fr);
        padding: 12px;
    }

    .ukr-country-ann-card__media {
        width: 64px;
        height: 64px;
    }

    .ukr-country-ann-card h3 {
        font-size: 15px;
    }

    .ukr-country-ann__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ukr-country-ann__btn {
        width: 100%;
    }
}

/* ===== Small native ad banner ===== */
.category #primary.ast-grid-3 > .ukr-context-ad-section {
    width: 100% !important;
    max-width: 1160px !important;
    flex: 0 0 100% !important;
    margin: 0 auto !important;
}

.ukr-context-ad-section {
    padding: 0 !important;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.ukr-context-ad {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 86px;
    padding: 18px 22px;
    border: 1.5px dashed rgba(164, 113, 33, 0.34);
    border-radius: 18px;
    background:
        linear-gradient(100deg, rgba(255, 248, 225, 0.96) 0%, rgba(255, 237, 213, 0.92) 100%),
        #fff8e1;
    color: #1a1a2e !important;
    text-decoration: none !important;
    box-shadow: 0 12px 30px rgba(126, 86, 26, 0.08);
    overflow: visible;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.ukr-context-ad:hover {
    transform: translateY(-2px);
    border-color: rgba(164, 113, 33, 0.5);
    box-shadow: 0 16px 38px rgba(126, 86, 26, 0.12);
}

.ukr-context-ad__label {
    position: absolute;
    left: 20px;
    top: -13px;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    max-width: calc(100% - 40px);
    padding: 5px 11px;
    border-radius: 999px;
    background: #2f2f3a;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ukr-context-ad__icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: #0057B7;
    font-size: 25px;
    box-shadow: inset 0 0 0 1px rgba(164, 113, 33, 0.08);
}

.ukr-context-ad__body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.ukr-context-ad__body strong {
    color: #141c2e;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
}

.ukr-context-ad__body span {
    color: #5f5560;
    font-size: 14px;
    line-height: 1.45;
}

.ukr-context-ad__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #FFD700;
    color: #1a1a2e;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(255, 215, 0, 0.22);
}

@media (max-width: 760px) {
    .category #primary.ast-grid-3 > .ukr-context-ad-section {
        max-width: min(100% - 28px, 760px) !important;
    }

    .ukr-context-ad {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 13px;
        min-height: 0;
        padding: 20px 16px 16px;
    }

    .ukr-context-ad__label {
        left: 16px;
        max-width: calc(100% - 32px);
    }

    .ukr-context-ad__icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .ukr-context-ad__body strong {
        font-size: 16px;
    }

    .ukr-context-ad__body span {
        font-size: 13px;
    }

    .ukr-context-ad__cta {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 38px;
    }
}

/* ===== Social follow block ===== */
.category #primary.ast-grid-3 > .ukr-category-social-section {
    width: 100% !important;
    max-width: 1160px !important;
    flex: 0 0 100% !important;
    margin: 0 auto 24px !important;
}

.ukr-social-follow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid #dce7f5;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 50, 120, 0.07);
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.ukr-social-follow__body {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.ukr-social-follow__kicker {
    color: #0057B7;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ukr-social-follow h2 {
    margin: 0;
    color: #002C5E;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
}

.ukr-social-follow p {
    max-width: 720px;
    margin: 0;
    color: #52627a;
    font-size: 14px;
    line-height: 1.55;
}

.ukr-social-follow__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.ukr-social-follow__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 11px 18px;
    border: 1px solid #d7e4f4;
    border-radius: 999px;
    background: #f8fbff;
    color: #0057B7 !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
}

.ukr-social-follow__icon,
.ukr-social-follow__icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.ukr-social-follow__link--instagram {
    border-color: rgba(255, 215, 0, 0.5);
    background: #fff8d8;
    color: #4a3a00 !important;
}

.ukr-social-follow__link--tiktok {
    border-color: rgba(0, 87, 183, 0.2);
    background: #0057B7;
    color: #ffffff !important;
}

.ukr-social-follow__link--facebook {
    border-color: rgba(24, 119, 242, 0.25);
    background: #1877F2;
    color: #ffffff !important;
}

@media (max-width: 760px) {
    .category #primary.ast-grid-3 > .ukr-category-social-section {
        max-width: min(100% - 28px, 760px) !important;
    }

    .ukr-social-follow {
        grid-template-columns: 1fr;
        padding: 18px 16px;
    }

    .ukr-social-follow__links {
        justify-content: stretch;
    }

    .ukr-social-follow__link {
        flex: 1 1 140px;
    }
}
