/* page-blog */
/* =========================
   Blog Page
   ========================= */

/* --- Google Ads Banner --- */
.google-ads-banner {
    padding-top: 48px;
}

.blog-ads-banner {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 48px;
}

.blog-ads-banner__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-ads-banner__label {
    position: relative;
    z-index: 1;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--orange);
}

/* --- Hero Section --- */
.blog-hero-section {
    overflow: visible;
}

/* Mobile scroll track — hidden on desktop */
.blog-hero-mobile {
    display: none;
    overflow-x: hidden;
}

.blog-hero-mobile__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 8px;
    padding: 8px var(--container-left-right-paddings) 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.blog-hero-mobile__track::-webkit-scrollbar {
    display: none;
}

.blog-hero-mobile__scrollbar {
    position: relative;
    height: 4px;
    margin: 0 16px;
}

.blog-hero-mobile__scrollbar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background: #F0F0F0;
    border-radius: 2px;
}

.blog-hero-mobile__scrollbar-thumb {
    position: absolute;
    top: 0;
    height: 4px;
    background: #F85628;
    border-radius: 2px;
    transition: left 0.1s linear;
}

.blog-hero-slide {
    flex: 0 0 calc(90vw - var(--container-left-right-paddings) * 2);
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: #fff;
    scroll-snap-align: center;
}

.blog-hero-slide__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero-slide__overlay {
    position: relative;
    z-index: 1;
    padding: 16px;
    gap: 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
}

.blog-hero-slide__cats {
    gap: 6px;
    flex-wrap: wrap;
}

.blog-hero__badge--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
}

.blog-hero-slide__title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

.blog-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 480px;
    gap: 6px;
    padding-top: 24px;
    padding-bottom: 24px;
}

/* Main big card — fade wrapper */
.blog-hero__main-container {
    position: relative;
    width: 100%;
    height: 100%;
}

@media (hover: hover) and (pointer: fine) {
    .blog-hero__main-wrapper:hover .blog-hero__main--front {
        opacity: 0;
    }

    .blog-hero__main-wrapper:hover .blog-hero__main--back {
        opacity: 1;
    }
}

.blog-hero__main {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    text-decoration: none;
    box-sizing: border-box;
}

/* Front */
.blog-hero__main--front {
    position: relative;
    opacity: 1;
    transition: opacity 0.45s ease;
    z-index: 1;
}

/* Back */
.blog-hero__main--back {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
    background: var(--orange);
    border-radius: 20px;
    padding: 32px;
    gap: 8px;
    align-items: stretch;
    justify-content: flex-end;
}

.blog-hero__main__back-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.blog-hero__main--back .blog-hero__side-card__back-footer {
    margin-top: 6px;
}

.blog-hero__main__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero__main__overlay {
    position: relative;
    z-index: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    width: 100%;
}

.blog-hero__main__categories {
    gap: 8px;
    flex-wrap: wrap;
}

.blog-hero__badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.blog-hero__main__title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.blog-hero__main__excerpt {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}

/* Side cards grid (1 wide top + 2 bottom) */
.blog-hero__side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    height: 100%;
}

/* --- Side card: fade wrapper --- */

.blog-hero__side-card-wrapper--wide {
    grid-column: 1 / -1;
}

.last-publications.last-publications--grid,
.last-publications.last-publications--author {
    padding-top: 24px;
    padding-bottom: 96px;
}

.blog-hero__side-card-container {
    position: relative;
    width: 100%;
    height: 100%;
}

@media (hover: hover) and (pointer: fine) {
    .blog-hero__side-card-wrapper:hover .blog-hero__side-card--front {
        opacity: 0;
    }

    .blog-hero__side-card-wrapper:hover .blog-hero__side-card--back {
        opacity: 1;
    }
}

.blog-hero__side-card {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    box-sizing: border-box;
}

/* Front face — image bg with overlay */
.blog-hero__side-card--front {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 1;
    transition: opacity 0.25s ease;
    z-index: 1;
}

.blog-hero__side-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero__side-card__overlay {
    position: relative;
    z-index: 1;
    padding: 16px;
    gap: 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
}

.blog-hero__side-card__meta {
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-hero__side-card__overlay .blog-hero__badge {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
}

/* Small cards (default) */
.blog-hero__side-card__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
}

/* Wide card — front title */
.blog-hero__side-card-wrapper--wide .blog-hero__side-card__title {
    font-size: 24px;
}

/* Back face */
.blog-hero__side-card--back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.45s ease;
    background: var(--orange);
    border: none;
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: 16px;
    gap: 8px;
    box-sizing: border-box;
}

.blog-hero__side-card__back-cats {
    gap: 6px;
}

.blog-hero__side-card__back-badge {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

/* Small cards (default) */
.blog-hero__side-card__back-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: #fff;
}

/* Wide card — back title */
.blog-hero__side-card-wrapper--wide .blog-hero__side-card__back-title {
    font-size: 24px;
    line-height: 1.2;
}

.blog-hero__side-card__back-footer {
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 6px;
}

.blog-hero__side-card__back-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 1;
}

.blog-hero__side-card__back-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    flex-shrink: 0;
}



/* --- Blog publications overrides (grid mode) --- */
.last-publications__text-col {
    gap: 8px;
    width: 100%;
}

.last-publications__text-col,
.last-publications__text-col .title-section {
    text-align: left;
}

/* Card hover outline */
[data-page="blog"] .blog__card,
[data-page="author"] .blog__card {
    transition: 0.3s outline;
    outline: 3px transparent solid;
}

[data-page="blog"] .blog__card:hover,
[data-page="author"] .blog__card:hover {
    outline: 3px var(--orange) solid;
}

/* Hide "Наш блог" mobile footer button on blog index and author page */
[data-page="blog"] .last-publications__content__mobile,
[data-page="author"] .last-publications__content__mobile {
    display: none !important;
}

/* --- "Показати ще" button --- */
.blog-more-wrapper {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-more-wrapper.blog-more-wrapper--mobile {
    display: none;
}

.blog-more-btn.primary-btn {
    --btn-height: 48px;
    --btn-gap: 8px;
    width: 100%;
    max-width: 330px;
    background: var(--bg);
    color: var(--orange);
    border: 1px solid #EBEDEF;
}

.blog-more-btn svg {
    width: 24px;
    height: 24px;
}

/* --- Pagination wrapper --- */
.blog-pagination-wrapper {
    padding-top: 16px;
}

.blog-pagination-wrapper.blog-pagination-wrapper--mobile {
    display: none;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 1000px) {
    .blog-hero {
        gap: 6px;
    }

    .blog-hero__side-card__title {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .google-ads-banner {
        padding: 0px;
    }

    .last-publications.last-publications--grid,
    .last-publications.last-publications--author {
        padding-bottom: 32px;
        gap: 20px;
    }

    .last-publications__text-col .text {
        font-size: 16px;
    }

    /* Banner: taller on mobile */
    .blog-ads-banner {
        border-radius: 0px;
        margin-top: 16px;
        width: 100vw;
        margin-left: -16px;
    }

    /* Hero: hide desktop grid, show mobile scroll */
    .blog-hero {
        display: none;
    }

    .blog-hero-mobile {
        display: block;
    }

    .blog-hero__main {
        min-height: 280px;
    }

    /* Pagination */
    .blog-more-wrapper {
        padding-top: 20px;
        display: none;
    }

    .blog-more-wrapper.blog-more-wrapper--mobile {
        display: flex;
    }

    .blog-pagination-wrapper {
        padding-top: 16px;
        display: none;
    }

    .blog-pagination-wrapper.blog-pagination-wrapper--mobile {
        display: block;
    }
}


/* =========================
   Blog — Author Page
   ========================= */

/* --- Hero section --- */
.author-hero-section {
    overflow: visible;
}

.author-hero {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 80px;
    align-items: flex-start;
    padding-top: 54px;
    padding-bottom: 16px;
    overflow: hidden;
}

/* Photo */
.author-hero__photo {
    position: relative;
    align-self: flex-start;
    padding: 12px 0px;
}

.author-hero__photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom;
    border-radius: 14px;
}

/* Info */
.author-hero__info {
    gap: 16px;
    padding: 12px 0;
}

.author-hero__label {
    padding: 4px 6px;
    display: inline-flex;
    border-radius: 999px;
    background: #FFE5D0;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: var(--orange);
    width: fit-content;
}

.author-hero__name {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--black);
}

.author-hero__bio {
    font-size: 16px;
    color: var(--muted);
    max-width: 600px;
}

.author-hero__bio p {
    margin: 0;
}

.author-information-section {
    padding-top: 16px;
    padding-bottom: 24px;
}

.author-information {
    max-width: 960px;
}

.author-information h2,
.author-information h3 {
    color: var(--black);
    font-weight: 700;
    line-height: 1.2;
}

.author-information h2 {
    font-size: 28px;
    margin: 16px 0;
}

.author-information h3 {
    font-size: 22px;
    margin-top: 24px;
    margin-bottom: 12px;
}

.author-information p,
.author-information li {
    font-size: 16px;
    line-height: 1.55;
    color: var(--muted);
}

.author-information p + p,
.author-information ul + p,
.author-information ol + p {
    margin-top: 12px;
}

.author-information ul,
.author-information ol {
    margin-top: 12px;
    padding-left: 24px;
}

.author-hero__socials-label {
    font-size: 16px;
    color: var(--muted);
    margin-top: 4px;
}

.author-hero .socials--author .social-item-link .info {
    margin-right: auto;
    align-items: flex-start;
    text-align: left;
}

/* --- Publications section --- */
.author-publications-section {
    padding-top: 0;
}

.author-publications__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
}

.author-publications__count {
    margin-top: 4px;
    margin-bottom: 0;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 900px) {
    .author-hero {
        grid-template-columns: 260px 1fr;
        gap: 24px;
    }

    .author-hero__name {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .author-hero {
        grid-template-columns: 1fr;
        padding-top: 48px;
    }

    .author-hero__photo {
        margin: 0 auto;
    }

    .author-hero__info {
        gap: 8px;
        padding: 24px 0 0;
    }

    .author-hero__name {
        font-size: 28px;
    }

    .author-hero__bio,
    .author-hero__socials-label {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 16px;
        margin-top: 0px;
    }

    .author-information-section {
        padding-top: 8px;
        padding-bottom: 16px;
    }

    .author-information h2 {
        font-size: 24px;
    }

    .author-information h3 {
        font-size: 20px;
    }

    .author-information p,
    .author-information li {
        font-size: 14px;
        line-height: 20px;
    }

    .socials--author {
        --soc-gtc: repeat(1, minmax(0, 1fr));
        max-width: 100%;
    }
}


/* =========================
   Blog — Article Page
   ========================= */

/* --- Article Header --- */
.article-header-section {
    padding-top: 24px;
    padding-bottom: 24px;
}

.article-header {
    gap: 16px;
    border-radius: 38px;
    padding: 24px 32px;
}

.article-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 6px;
    border-radius: 999px;
    background: #FFE5D0;
    color: var(--orange);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

.article-header__meta {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.article-header__cats {
    gap: 8px;
    flex-wrap: wrap;
}

.article-header__cats .category {
    padding: 7px 6px;
    display: inline-flex;
    border-radius: 999px;
    background: #FFE5D0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: var(--orange);
}

.article-header__cats .category--level {
    background: #D5F5E3;
    color: var(--black);
}

.article-header__cats .category--provider {
    background: #D6E4FF;
    color: var(--black);
}

.article-header__date {
    font-size: 16px;
    font-weight: 500;
    color: var(--second-gray);
    white-space: nowrap;
}

.article-title {
    font-size: 44px;
    font-weight: 600;
    line-height: 56px;
    color: var(--main-black);
    max-width: 992px;
    margin-bottom: 8px;
}

.article-header__info {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.article-author {
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.article-author__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.article-stats {
    gap: 12px;
    align-items: center;
}

.article-stat {
    align-items: center;
    gap: 4px;
}

.article-stat img {
    width: 16px;
    height: 16px;
}

.article-stat span {
    font-size: 12px;
    font-weight: 500;
    color: var(--second-gray);
    font-family: var(--font-serif);
}

/* --- Article Layout --- */
.article-body-section {
    padding-top: 40px;
    padding-bottom: 24px;
}

.article-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 16px;
    align-items: start;
}

/* --- Sidebar --- */
.article-sidebar {
    position: sticky;
    top: 112px;
    gap: 16px;
    margin-bottom: 96px;
}

.article-main-col {
    gap: 24px;
    min-width: 0;
}

.article-sidebar__label {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: var(--main-black);
}

.article-toc {
    gap: 16px;
}

.article-toc,
.article-ai-summary,
.article-share {
    border-radius: 24px;
    padding: 16px;
}

.article-ai-summary {
    gap: 16px;
}

.article-ai-summary__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.article-ai-summary__item {
    min-width: 0;
    min-height: 52px;
    padding: 8px 6px;
    border: 2px solid #F2F2F2;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--main-black);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    text-decoration: none;
    transition: border-color .25s, transform .25s;
}

.article-ai-summary__item:hover {
    border-color: #DDDDDD;
    transform: translateY(-1px);
}

.article-ai-summary__icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.article-language-switcher {
    position: relative;
    overflow: hidden;
    gap: 24px;
    padding: 14px;
    border-style: solid;
    border-color: #F2F2F2;
    border-top-width: 3px;
    border-right-width: 3px;
    border-left-width: 3px;
    border-bottom-width: 6px;
    border-radius: 24px;
    background: #fff;
}

.article-language-switcher::before {
    content: "";
    position: absolute;
    background: url('/assets/img/svg/flowers/flower-green-1.svg');
    width: 50px;
    height: 39px;
    top: 0;
    right: 0;
    background-repeat: no-repeat;
    background-size: 100%;
    pointer-events: none;
}

.article-language-switcher__title,
.article-language-switcher__list {
    position: relative;
    z-index: 1;
}

.article-language-switcher__title {
    max-width: 190px;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: var(--main-black);
}

.article-language-switcher__list {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 16px;
}

.article-language-switcher__item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 48px;
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid #DDDDDD;
    border-radius: 12px;
    background: #fff;
    color: var(--sub-black);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}

.article-language-switcher__item:hover,
.article-language-switcher__item:focus-visible {
    border-color: var(--orange);
    color: var(--orange);
}

.article-language-switcher__item[aria-current="page"] {
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
}

.article-toc__list {
    gap: 4px;
}

.article-toc__item {
    padding: 10px 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--second-gray);
    text-decoration: none;
    transition: color 0.25s, border-color 0.25s;
    border-radius: 999px;
}

.article-toc__item:hover {
    color: var(--text);
}

.article-toc__item.active {
    color: var(--bg);
    background: var(--orange);
}

.article-share {
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.article-share::before {
    content: "";
    background: url('/assets/img/svg/flowers/flower-purple.svg');
    position: absolute;
    width: 40px;
    height: 40px;
    top: 0;
    right: 0;
}

.article-share__icons {
    gap: 16px;
    flex-wrap: wrap;
}

.article-share__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F3F3F3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.article-share__icon:hover {
    background: #E5E5E5;
}

.article-share__icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* --- Article Content --- */
.article-content {
    gap: 24px;
    min-width: 0;
    padding: 32px;
    border-radius: 38px;
}

.article-content__img-wrapper {
    width: 100%;
    max-height: 642px;
    overflow: hidden;
    border-radius: 24px;
}

.article-content__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

.article-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
    margin: auto;
}

.article-text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: var(--sub-black);
}

.article-text h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: var(--main-black);
    margin-top: 8px;
    margin-bottom: 4px;
}

.article-text__img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    margin: 8px 0;
}

.article-blockquote {
    margin: 0;
    border-left: 2px solid var(--orange);
    background: var(--bg);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: var(--main-black);
    padding-left: 13px;
    margin-top: 8px;
}

/* --- Feedback --- */
.article-feedback {
    border-width: 3px;
    border-bottom-width: 6px;
    border-style: solid;
    border-color: var(--border);
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-feedback::before {
    content: "";
    position: absolute;
    background: url('/assets/img/svg/flowers/flower-author-2.svg');
    top: 0;
    left: 0;
    height: 63px;
    width: 56px;
    background-repeat: no-repeat;
}

.article-feedback::after {
    content: "";
    position: absolute;
    background: url('/assets/img/svg/flowers/flower-author-1.svg');
    top: 0;
    right: 0;
    height: 47px;
    width: 84px;
    background-repeat: no-repeat;
}

.article-feedback__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--main-black);
}

.article-feedback__actions {
    align-items: center;
    max-width: 488px;
    width: 100%;
}

.article-feedback__btn {
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid #EBEDEF;
    background: #fff;
    font-size: 16px;
    font-weight: 600;
    color: var(--main-black);
    font-family: var(--font-onest);
    cursor: pointer;
    transition: color 0.3s, border-color 0.3s;
    flex: 1;
    justify-content: center;
}

.article-feedback__actions .article-feedback__btn:first-child {
    border-radius: 100px 0 0 100px;
}

.article-feedback__actions .article-feedback__btn:last-child {
    border-radius: 0 100px 100px 0;
}

.article-feedback__btn.is-loading,
.article-feedback__btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.article-feedback__btn.is-active svg {
    color: var(--orange);
}

.article-feedback__message,
.article-new-comment__message {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.article-feedback__message.is-error,
.article-new-comment__message.is-error {
    color: #c62828;
}

.article-feedback__message.is-success,
.article-new-comment__message.is-success {
    color: #2e7d32;
}

.article-comments__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
}

.article-new-comment__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.article-new-comment__submit.is-loading,
.article-new-comment__submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

@media (hover: hover) and (pointer: fine) {
    .article-feedback__btn:hover {
        color: var(--orange-hover);
    }
}

/* --- Comments Section --- */
.article-comments-wrapper {
    padding: 22px;
    border-radius: 38px;
    background: var(--border);
}

.article-comments-wrapper__content {
    padding: 60px;
    border-radius: 38px;
    background: var(--bg);
}

.article-comments-section {
    padding-top: 0px;
    padding-bottom: 0;
}

.article-comments-header {
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.article-comments__title {
    font-size: 24px;
    font-weight: 600;
    color: var(--main-black);
}

.article-comments__add-btn {
    --btn-height: 44px;
    --btn-gap: 8px;
    --btn-font-size: 14px;
    padding: 0 20px;
}

.article-comments-list {
    gap: 16px;
}

.comment-item {
    position: relative;
    gap: 16px;
    padding: 20px;
    border: 3px solid var(--border);
    border-radius: 20px;
    transition: opacity .25s ease, transform .25s ease, filter .25s ease;
}

.comment-item.is-processing {
    pointer-events: none;
}

.comment-item__author {
    align-items: center;
    gap: 12px;
}

.comment-item__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-item__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comment-item__name {
    font-size: 16px;
    font-weight: 500;
    color: var(--main-black);
}

.comment-item__edit {
    position: relative;
    display: flex;
    margin-left: auto;
}

.comment-item__edit-icon__btn {
    width: 24px;
    height: 24px;
    border: 0;
    padding: 0;
    background: transparent;
}

.comment-item__edit-icon__btn svg,
.comment-item__edit-icon__btn img {
    width: 100%;
    height: 100%;
}

.comment-item__edit-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    padding: 16px;
    border-top: 1px solid #F2F2F2;
    border-radius: 8px;
    box-shadow: 0px 2.99px 10.47px 0px #14142B1A;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform .3s ease;
    z-index: 1;
}

.comment-item__edit-menu.show {
    transform: scaleY(1);
}

.comment-item__edit-menu .edit-menu__item {
    border: 0;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: #666667;
}

.comment-item__edit-menu .edit-menu__item svg,
.comment-item__edit-menu .edit-menu__item img {
    width: 20px;
    height: 20px;
}

.comment-item__meta {
    gap: 12px;
}

.comment-item__date {
    font-size: 14px;
    font-weight: 400;
    color: var(--second-gray);
}

.comment-item__excerpt {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: var(--dark-gray);
    text-decoration: underline;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.comment-item__text-wrap {
    overflow: hidden;
    height: auto;
    transition: height 0.35s ease;
}

.comment-item.is-collapsed .comment-item__text-wrap {
    height: 0;
}

.comment-item__excerpt {
    transition: opacity 0.2s ease;
}

.comment-item__excerpt.is-hidden {
    opacity: 0;
}

.comment-item__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: var(--gray);
    font-family: var(--font-sf-pro-display);
    overflow: hidden;
    transition: height 0.35s ease;
}

.comment-item__read-more {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    font-family: var(--font-onest);
    color: var(--orange);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-top: 4px;
}

.comment-item__read-more svg {
    flex-shrink: 0;
    color: currentColor;
    transition: transform 0.25s;
}

.comment-item__read-more[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.comment-item__read-more:hover .read-more-label {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .comment-item__excerpt {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

.comment-item.is-processing .comment-item__author,
.comment-item.is-processing .comment-item__meta,
.comment-item.is-processing .comment-item__text-wrap,
.comment-item.is-processing .comment-item__excerpt,
.comment-item.is-processing .comment-item__edit-form,
.comment-item.is-processing .comment-item__read-more {
    opacity: .55;
}

.comment-item.is-processing::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: 2px solid rgba(0, 0, 0, .15);
    border-top-color: rgba(0, 0, 0, .65);
    border-radius: 50%;
    animation: comment-spin .7s linear infinite;
    z-index: 2;
}

@keyframes comment-spin {
    to {
        transform: rotate(360deg);
    }
}

.comment-item .is-loading {
    cursor: wait;
}

/* --- New Comment Form --- */
.article-new-comment-section {
    padding-top: 24px;
    padding-bottom: 0;
}

.article-new-comment {
    background: var(--bg);
    border-radius: 20px;
    padding: 32px;
    gap: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 3px 10.5px 0px #14142B1A;
}

.article-new-comment__title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
}

.article-new-comment--guest {
    gap: 60px;
}

.article-new-comment__title--guest {
    max-width: 600px;
}

.article-new-comment__signup {
    width: max-content;
    align-self: flex-start;
}

.article-new-comment__form {
    gap: 16px;
}

.article-new-comment__row {
    gap: 8px;
}

.article-new-comment__input,
.article-new-comment__textarea,
.comment-item__edit-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #EBEDEF;
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
    font-family: var(--font-onest);
    outline: none;
    transition: border-color 0.25s;
    box-sizing: border-box;
}

.article-new-comment__input {
    border-radius: 999px;
}

.article-new-comment__input::placeholder,
.article-new-comment__textarea::placeholder,
.comment-item__edit-textarea::placeholder {
    color: #B0B0B0;
}

.article-new-comment__input:focus,
.article-new-comment__textarea:focus,
.comment-item__edit-textarea:focus {
    border-color: var(--orange);
}

.article-new-comment__textarea,
.comment-item__edit-textarea {
    resize: none;
    min-height: 128px;
}

.article-new-comment__submit {
    width: 100%;
    --btn-height: 52px;
    margin-top: 8px;
}

.comment-item__edit-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-item__edit-form[hidden] {
    display: none;
}

.comment-item__edit-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.comment-item__edit-save,
.comment-item__edit-cancel {
    --btn-height: 48px;
    transition: all .4s;
}

.comment-item__edit-cancel {
    background: var(--bg);
    border: 1px solid #EBEDEF;
    color: var(--orange);
}

/* --- Similar Articles --- */
.article-similar-section {
    padding-top: 24px;
    padding-bottom: 96px;
}

.article-similar__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
}

.article-similar__swiper .cards-swiper__wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1px;
    width: 226px;
    height: 100%;
    transition: all 0.4s;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(-90deg, #FFFFFF 26.45%, rgba(255, 255, 255, 0) 100%);
}

.article-similar__swiper .cards-swiper__wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: -1px;
    width: 226px;
    height: 100%;
    transition: all 0.4s;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, #FFFFFF 26.45%, rgba(255, 255, 255, 0) 100%);
}

.article-similar__swiper.is-end .cards-swiper__wrapper::after,
.article-similar__swiper.is-beginning .cards-swiper__wrapper::before {
    opacity: 0;
    visibility: hidden;
}

.article-similar__scrollbar {
    height: 4px;
    position: relative;
    margin-top: 16px;
}

.article-similar__scrollbar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background: #F0F0F0;
    border-radius: 2px;
}

.article-similar__scrollbar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    width: 0%;
    background: var(--orange);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.article-similar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.author-hero__photo::before {
    content: "";
    position: absolute;
    background: url('/assets/img/svg/starburst.svg');
    top: -18px;
    left: 13px;
    height: 78px;
    width: 78px;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: -1;
}

.author-hero__photo::after {
    content: "";
    position: absolute;
    background: url('/assets/img/effect-2.webp');
    bottom: -10px;
    right: -15px;
    height: 156px;
    width: 156px;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: -1;
    rotate: 15deg;
}

@media (max-width: 600px) {

    .article-similar__swiper .cards-swiper__wrapper::after,
    .article-similar__swiper .cards-swiper__wrapper::before {
        content: none;
    }
}

/* =========================
   Responsive — Article Page
   ========================= */


@media (max-width: 768px) {
    .article-header-section {
        padding-top: 16px;
        padding-bottom: 12px;
    }

    .article-header {
        padding: 16px;
        border-radius: 24px;
    }

    .article-main-col {
        gap: 12px;
    }

    .article-comments-wrapper {
        margin-top: 20px;
        margin-left: -16px;
        width: 100vw;
        padding: 16px 8px;
        border-radius: 24px;
    }

    .article-comments-header {
        align-items: stretch;
        gap: 12px;
        margin-bottom: 20px;
        flex-direction: column;
    }

    .article-comments-wrapper__content {
        padding: 24px 16px;
        border-radius: 24px;
    }

    .article-content {
        padding: 32px 16px;
        border-radius: 24px;
    }

    .article-share {
        align-items: center;
    }

    .article-title {
        font-size: 24px;
        line-height: 32px;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .article-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
        margin-bottom: 0;
    }

    .article-toc,
    .article-language-switcher,
    .article-ai-summary,
    .article-share {
        flex: 1;
        min-width: 220px;
    }

    .article-language-switcher {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px 16px;
    }

    .article-language-switcher__title {
        max-width: none;
        flex: 1 1 180px;
    }

    .article-language-switcher__list {
        display: flex;
        flex: 1 1 auto;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }

    .article-content__img-wrapper {
        border-radius: 12px;
    }

    .article-content__img {
        height: 100%;
        border-radius: 12px;
    }

    .article-text__img {
        height: 200px;
    }

    .article-feedback {
        padding: 0;
        border: 0;
        margin-top: 8px;
    }

    .article-feedback::before,
    .article-feedback::after {
        content: none;
    }

    .article-new-comment {
        padding: 24px 20px;
    }

    .article-new-comment__row {
        flex-direction: column;
    }

    .article-similar-grid {
        grid-template-columns: 1fr;
    }

    .article-similar-section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .article-new-comment__title {
        font-size: 18px;
        text-align: center;
    }

    .article-new-comment--guest {
        gap: 40px;
    }

    .article-new-comment__title--guest {
        text-align: left;
    }

    .article-new-comment__row {
        gap: 16px;
    }
}

/* component-blog-image-label */
.blog-image-label {
    position: absolute;
    right: 10px;
    bottom: 8px;
    z-index: 3;
    display: block;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.blog-image-label svg {
    display: block;
    width: 30px;
    height: 30px;
}

.blog-image-label::before {
    position: absolute;
    right: 0;
    bottom: calc(100% + 6px);
    padding: 4px 8px;
    border-radius: 5px;
    background: rgba(25, 25, 25, 0.92);
    color: #fff;
    content: attr(data-tooltip);
    font-family: var(--font-onest);
    font-size: 11px;
    font-weight: 500;
    line-height: 15px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(3px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.blog-image-label:hover::before,
.blog-image-label:focus-visible::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.blog-image-label:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.blog-ai-image-notice__dialog {
    max-width: 440px;
    background: #fff;
}

.blog-ai-image-notice__title {
    margin: 0 40px 12px 0;
    color: var(--main-black);
    font-family: var(--font-onest);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.blog-ai-image-notice__text {
    margin: 0;
    color: var(--dark-gray);
    font-family: var(--font-onest);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.article-content__img-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
}

.article-content__img-wrapper .article-content__img {
    border-radius: inherit;
}

@media screen and (max-width: 768px) {
    .blog-image-label {
        right: 8px;
        bottom: 6px;
    }

    .blog-ai-image-notice__title {
        font-size: 20px;
    }

    .article-content__img-wrapper {
        border-radius: 12px;
    }
}

/* section-blog-publications */
/* =========================
   Last Publications (component)
   ========================= */
.last-publications {
    padding-top: 72px;
    padding-bottom: 72px;
    gap: 24px;
}

.last-publications__header {
    justify-content: space-between;
}

.last-publications__header__button img,
.last-publications__footer__button img {
    width: 16px;
    height: 16px;
}

.last-publications__content { gap: 16px; }
.blog-hash-filter-tabs { gap: 12px; }

.last-publications__content__tabs {
    flex-shrink: 0;
    align-items: center;
    gap: 12px;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--container-left-right-paddings);
}

.last-publications__content__tabs::-webkit-scrollbar {
    display: none;
}

.last-publications__content__tab {
    flex-shrink: 0;
    padding: 15px;
    min-width: 109px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    border-radius: 999px;
    background: #F3F3F3;
    color: #8A8A8A;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    font-family: var(--font-onest);
    transition: all 0.4s;
    cursor: pointer;
    scroll-snap-align: start;
}

.last-publications__content__tab:hover,
.last-publications__content__tab.active {
    background: var(--black);
    color: var(--bg);
}

.blog-empty {
    text-align: center;
    padding: 40px 24px;
    background: #f3f4f6;
    border-radius: 12px;
    color: #6b7280;
    font-size: 16px;
    font-family: var(--font-onest), system-ui, -apple-system, sans-serif;
    margin: 20px 0;
}

.blog-empty p {
    margin: 0;
}

.blog-hash-filter-tabs {
    gap: 12px;
}

.last-publications__content__mobile { display: none; }

/* ---------- SLIDER MODE ---------- */
.last-publications--slider .last-publications__cards-block {
    position: relative;
    height: auto;
    transition: height .25s ease;
}

.last-publications--slider .last-publications__cards.cards-swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: max-content;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .7s ease;
}

.last-publications--slider .last-publications__cards.cards-swiper.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.last-publications--slider .last-publications__cards .cards-swiper__wrapper::after,
.last-publications--slider .last-publications__cards .cards-swiper__wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    right: -1px;
    width: 226px;
    height: 100%;
    transition: all 0.4s;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(-90deg, #FFFFFF 26.45%, rgba(255,255,255,0) 100%);
}

.last-publications--slider .last-publications__cards .cards-swiper__wrapper::before {
    right: auto;
    left: -1px;
    background: linear-gradient(90deg, #FFFFFF 26.45%, rgba(255,255,255,0) 100%);
}

.last-publications--slider .last-publications__cards.cards-swiper.is-end .cards-swiper__wrapper::after,
.last-publications--slider .last-publications__cards.cards-swiper.is-beginning .cards-swiper__wrapper::before {
    visibility: hidden;
    opacity: 0;
}

.last-publications--slider .last-publications__cards.cards-swiper.not-shadow .cards-swiper__wrapper::after,
.last-publications--slider .last-publications__cards.cards-swiper.not-shadow .cards-swiper__wrapper::before {
    display: none;
}

/* ---------- GRID MODE ---------- */
.last-publications--grid .last-publications__grid-block,
.last-publications--author .last-publications__grid-block {
    position: relative;
    opacity: 1;
    transition: opacity .4s ease;
}

.last-publications--grid .last-publications__grid-block.disabled,
.last-publications--author .last-publications__grid-block.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.last-publications--grid .last-publications__grid,
.last-publications--author .last-publications__grid {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.last-publications--grid .last-publications__grid.active,
.last-publications--author .last-publications__grid.active { display: grid; }

.last-publications--grid .last-publications__grid.last-publications__grid--mobile,
.last-publications--author .last-publications__grid.last-publications__grid--mobile { display: none; }

.last-publications--author .title-section { font-size: 28px; }

@media (max-width: 1024px) {
    .last-publications--grid .last-publications__grid,
    .last-publications--author .last-publications__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .last-publications--grid .last-publications__grid,
    .last-publications--author .last-publications__grid {
        grid-template-columns: 1fr;
    }

    .last-publications--grid .last-publications__grid:not(.last-publications__grid--mobile),
    .last-publications--author .last-publications__grid:not(.last-publications__grid--mobile) {
        display: none !important;
    }

    .last-publications--grid .last-publications__grid.last-publications__grid--mobile,
    .last-publications--author .last-publications__grid.last-publications__grid--mobile { display: grid; }
}

/* ---------- RESPONSIVE COMMON ---------- */

@media (max-width: 768px) {
    .last-publications {
        padding-top: 32px;
        padding-bottom: 32px;
        gap: 8px;
    }

    .last-publications__header__button { display: none; }
    .last-publications__header { justify-content: center; }
    .last-publications__title { text-align: center; }

    .last-publications__content {
        gap: 18px;
        padding-bottom: 10px;
    }

    .last-publications__content__tabs { gap: 8px; width: calc(100vw); padding: 0 16px; margin-left: -16px; }
    .last-publications__content__tab { padding: 10px; min-width: 83px; }
    .last-publications__content__mobile { display: flex; }
    .last-publications__footer__button { width: 100%; }

    .last-publications--slider .last-publications__cards .cards-swiper__wrapper::after,
    .last-publications--slider .last-publications__cards .cards-swiper__wrapper::before {
        display: none;
    }
}

/* component-blog-card */
/* =========================
   Blog Card
   ========================= */

.blog__card {
    padding: 12px;
    gap: 8px;
    border: 1px solid #EBEDEF;
    border-radius: 14px;
    height: 100%;
}

.blog__card .link {
    display: flex;
}

.blog__card__header {
    align-items: center;
    gap: 8px;
}

.blog__card__header__logo {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: 50%;
    border: 1px solid #DDDDDD;
    flex-shrink: 0;
}

.blog__card__header__logo span {
    font-family: var(--font-sf-pro-display);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    color: var(--orange);
}

.blog__card__header__content {
    justify-content: space-between;
    gap: 2px;
    line-height: 1;
}

.blog__card__header__content .full-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
}

.blog__card__header__content .specialty {
    font-size: 12px;
    font-weight: 400;
    color: #666667;
}

.blog__card__img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 304 / 160;
    display: flex;
    border-radius: 8px;
    overflow: hidden;
}

.blog__card__img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog__card__additional-info {
    justify-content: space-between;
    align-items: center;
}

.blog__card__additional-info .categories {
    align-items: center;
    gap: 7px;
}

.blog__card__additional-info .categories .category {
    padding: 7px 6px;
    display: inline-flex;
    border-radius: 999px;
    background: #FFE5D0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: var(--orange);
}

.blog__card__additional-info .categories .category--level {
    background: #D5F5E3;
    color: var(--black);
}

.blog__card__additional-info .categories .category--provider {
    background: #D6E4FF;
    color: var(--black);
}

.blog__card__content {
    gap: 6px;
    line-height: 100%;
}

.blog__card__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: var(--black);
}

.blog__card__excerpt {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #606060;
}

.blog__card__footer {
    margin-top: auto;
    align-items: center;
    gap: 12px;
}

.blog__card__footer__item {
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.blog__card__footer__item img {
    width: 16px;
    height: 16px;
}

.blog__card__footer__item span {
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    color: #A7A8A8;
    font-family: var(--font-serif);
}

.blog__card__footer__date {
    margin-left: auto;
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    color: #A7A8A8;
    font-family: var(--font-serif);
}

/* component-pagination */
.pagination {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 5px;
    justify-content: center;
    align-items: center;
}

.pagination-page,
.pagination-divide {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #EBEDEF;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg);
    color: var(--orange);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    transition: border-color 0.4s ease, color 0.4s ease;
    text-decoration: none;
}

.pagination-active-page {
    background-color: var(--orange);
    border-color: var(--orange);
    color: var(--bg);
}

@media (hover: hover) and (pointer: fine) {
    .pagination-page:not(.pagination-active-page):hover {
        border-color: var(--orange-hover);
        color: var(--orange-hover);
    }
}

.pagination-page svg {
    width: 24px;
    height: 24px;
}

/* component-content-html */
﻿.content-html {
    --orange-light: #F5E8E0;
    --orange-mid: #E8956B;
    --navy: #1A365D;
    --navy-mid: #2D5A8E;
    --navy-light: #EBF1F8;
    --white: #FFFFFF;
    --green: #2D7D46;
    --green-light: #E8F5EC;
    --red: #C0392B;
    --red-light: #FDEAEA;
    --shadow-sm: 0 1px 4px rgba(26,54,93,0.08);
    --shadow-md: 0 4px 16px rgba(26,54,93,0.12);
    --shadow-lg: 0 8px 32px rgba(26,54,93,0.14);
  }

  .content-html {
    font-family: var(--font-onest);
    font-size: 18px;
    line-height: 1.75;
    color: var(--main-black);
    background: var(--bg);
  }

  /* ── HEADER ── */
  .content-html .site-header {
    background: var(--main-black);
    padding: 10px 24px;
    text-align: center;
  }
  .content-html .site-header span {
    font-family: var(--font-serif);
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  /* ── HERO ── */
  .content-html .hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 64px 24px 56px;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
  }
  .content-html .hero::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205,75,10,.18) 0%, transparent 70%);
    pointer-events: none;
  }
  .content-html .hero-inner { max-width: 760px; margin: 0 auto; }
  .content-html .exam-label {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
  }
  .content-html .exam-label a {
    color: #fff;
  }
  .content-html .hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 18px;
  }
  .content-html .hero h1 em {
    font-style: normal;
    color: var(--orange-mid);
  }
  .content-html .hero-desc {
    font-size: 18px;
    color: var(--white);
    line-height: 1.5;
  }
  .content-html .hero-desc a {
    color: var(--white);
  }

  /* ── LAYOUT ── */
  .content-html .page-wrap {
	  width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px 80px;
  }
 .content-html .page-wrap p {font-size: 20px; line-height: 1.4; }
 .content-html pre {
    max-width: 820px;
	  width: 100%;
    margin-left: 20px;
	  font-style: italic;
  }
  /* ── TOC ── */
  .content-html .toc {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--navy);
    border-radius: 8px;
    padding: 28px 32px;
    margin: 40px 0 48px;
    box-shadow: var(--shadow-sm);
  }
  .content-html .toc-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
  }
  .content-html .toc ol { padding-left: 18px; }
  .content-html .toc li { margin: 6px 0; }
  .content-html .toc a {
    color: var(--navy-mid);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: color .2s;
  }
  .content-html .toc a:hover { color: var(--orange); text-decoration: underline; }

  /* ── SECTIONS ── */
  .content-html .article-section { margin-bottom: 56px; }

  .content-html .article-section:last-child { margin-bottom: 0; }

  .content-html .section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 28px;
  }
  .content-html .section-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: var(--orange);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .content-html .section-header h2 {
    font-family: var(--font-serif);
    font-size: 23px;
    font-weight: 700;
    color: var(--main-black);
  }

  .content-html .cta-link {
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .content-html p { margin-bottom: 16px; }
  .content-html p:last-child { margin-bottom: 0; }

  /* ── GRUNDREGEL BOX ── */
  .content-html .rule-box {
    background: var(--orange-light);
    border-left: 4px solid var(--orange);
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin: 24px 0;
  }
  .content-html .rule-box .rule-label {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
  }
  .content-html .rule-box p { margin: 0; font-weight: 500; }

  .content-html .tip-box {
    background: var(--navy-light);
    border-left: 4px solid var(--navy);
    border-radius: 0 8px 8px 0;
    padding: 18px 24px;
    margin: 20px 0;
  }
  .content-html .tip-box .tip-label {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--main-black);
    margin-bottom: 8px;
  }
  .content-html .tip-box p { margin: 0; font-size: 15px; }

  /* ── FALLEN OVERVIEW GRID ── */
  .content-html .fallen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 14px;
    margin-top: 8px;
  }
  .content-html .fallen-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s, transform .2s;
  }
  .content-html .fallen-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .content-html .fallen-card-title {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 8px;
  }
  .content-html .fallen-card p {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 10px;
    line-height: 1.55;
  }
  .content-html .fallen-tag {
    display: inline-block;
    background: var(--orange-light);
    color: var(--orange);
    font-size: 16px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
  }

  /* ── FALLE DETAIL BLOCK ── */
  .content-html .falle-block {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
  }
  .content-html .falle-block-header {
    background: var(--main-black);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .content-html .falle-block-header h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
  }
  .content-html .falle-badge {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 3px 9px;
    border-radius: 3px;
    margin-left: auto;
    white-space: nowrap;
  }
  .content-html .falle-block-body { padding: 24px; }

  .content-html .example-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
  }
  .content-html .example-label {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
  }
  .content-html .example-row { margin-bottom: 8px; font-size: 17px; }
  .content-html .example-row:last-child { margin-bottom: 0; }
  .content-html .example-row strong { color: var(--muted); }

  .content-html .text-highlight {
    background: linear-gradient(120deg, rgba(45,90,142,.12) 0%, rgba(45,90,142,.12) 100%);
    border-radius: 3px;
    padding: 1px 4px;
    color: var(--navy-mid);
    font-weight: 600;
  }
  .content-html .wrong {
    color: var(--red);
    text-decoration-color: var(--red);
  }
  .content-html .richtig {
    color: var(--green);
    text-decoration-color: var(--green);
  }

  /* ── SIGNAL WORDS / TABLES ── */
  .content-html .data-table {
    width: 100%;
    max-width:100%;
    border-collapse: collapse;
    font-size: 15px;
    margin: 16px 0;
  }
  .content-html .data-table th {
    background: var(--navy);
    color: #fff;
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
    font-size: 16px;
    letter-spacing: .04em;
  }
  .content-html .data-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
  }
  .content-html .data-table tr:nth-child(even) td { background: var(--bg); }
  .content-html .data-table tr:last-child td { border-bottom: none; }
  .content-html .data-table code {
    background: var(--orange-light);
    color: var(--orange);
    font-family: 'Source Sans 3', monospace;
    font-size: 16px;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
  }
  .content-html .signal-words code {
    background: var(--orange-light);
    color: var(--orange);
    font-family: 'Source Sans 3', monospace;
    font-size: 16px;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
  }
  /* .content-html .data-table td:last-child { color: var(--muted); font-size: 16px; } */

  /* ── STRATEGIES ── */
  .content-html .strategy-list { counter-reset: strat; }
  .content-html .strategy-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
  }
  .content-html .strategy-item:last-child { border-bottom: none; }
  .content-html .strategy-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: var(--orange);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .content-html .strategy-content h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--main-black);
    margin-bottom: 6px;
  }
  .content-html .strategy-content p { margin: 0; font-size: 17px; color: var(--muted); }

  /* ── ALGO TABLE ── */
  .content-html .algo-table { width: 100%; border-collapse: collapse; }
  .content-html .algo-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
  }
  .content-html .algo-table tr:last-child td { border-bottom: none; }
  .content-html .algo-table .step-num {
    width: 36px;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--orange);
    text-align: center;
  }
  .content-html .algo-table .step-action {
    font-weight: 700;
    color: var(--main-black);
    width: 200px;
    font-size: 15px;
  }
  .content-html .algo-table .step-detail { font-size: 15px; color: var(--muted); }
  .content-html .algo-table tr:nth-child(odd) td { background: var(--bg); }

  /* ── RANKING ── */
  .content-html .rank-list { list-style: none; }
  .content-html .rank-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }
  .content-html .rank-item:last-child { border-bottom: none; }
  .content-html .rank-name { flex: 1; font-weight: 600; }
  .content-html .rank-bar-wrap { flex: 2; background: var(--border); border-radius: 20px; height: 8px; overflow: hidden; }
  .content-html .rank-bar { height: 100%; border-radius: 20px; }
  .content-html .rank-bar.sehr-haeufig { width: 100%; background: var(--orange); }
  .content-html .rank-bar.haeufig { width: 78%; background: var(--orange); opacity: .8; }
  .content-html .rank-bar.regelmaessig { width: 55%; background: var(--navy-mid); }
  .content-html .rank-bar.mittel { width: 38%; background: var(--navy-mid); opacity: .7; }
  .content-html .rank-bar.selten { width: 20%; background: var(--border); filter: brightness(.85); }
  .content-html .rank-label {
    min-width: 90px;
    text-align: right;
    font-size: 15px;
    color: var(--muted);
    font-weight: 600;
  }

  /* ── SUMMARY RULES ── */
  .content-html .summary-rules { list-style: none; counter-reset: rules; }
  .content-html .summary-rule {
    counter-increment: rules;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }
  .content-html .summary-rule:last-child { border-bottom: none; }
  .content-html .summary-rule::before {
    content: counter(rules);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    background: var(--main-black);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .content-html .summary-rule p { margin: 0; font-size: 18px; }
  .content-html .summary-rule strong { color: var(--orange); }

  /* ── SIGNAL TABLE ── */
  .content-html .signal-note { font-size: 15px; color: var(--muted); font-style: italic; }

  /* ── FOOTER ── */
  .content-html .article-footer {
    background: var(--main-black);
    color: rgba(255,255,255,.65);
    text-align: center;
    padding: 28px 24px;
    font-size: 16px;
    margin-top: 48px;
  }
  .content-html .article-footer a { color: var(--orange-mid); text-decoration: none; }
  .content-html ul.article-list {
    padding-left: 22px;
    margin: 12px 0 16px 20px;
  }
  .content-html ul.article-list li {
    margin-bottom: 6px;
    font-size: 19px;
    line-height: 1.7;
  }
  .content-html ol.article-list {
    padding-left: 22px;
    margin: 12px 0 16px 20px;
  }
  .content-html ol.article-list li {
    margin-bottom: 6px;
    font-size: 19px;
    line-height: 1.7;
  }
  .content-html h3.article-h3 {
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 700;
    color: var(--main-black);
    margin: 32px 0 12px;
  }
  .content-html h4.article-h4 {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 700;
    color: var(--orange);
    margin: 24px 0 10px;
  }
  .content-html .data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 18px;
    margin: 20px 0;
  }
  .content-html .data-table th {
    background: var(--navy);
    color: #fff;
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
    font-size: 17px;
  }
  .content-html .data-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    font-size: 18px;
  }
  .content-html .data-table tr:nth-child(even) td { background: var(--bg); }
  .content-html .data-table tr:last-child td { border-bottom: none; }
  .content-html .faq-block {
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .content-html .section-header + .faq-block {
    padding-top: 0;
    border-top: 0;
  }

  .content-html .faq-block:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .content-html .faq-question {
    display: flex;
    flex-flow: row nowrap;
    gap: 12px;
    align-items: center;
    font-family: var(--font-onest);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--main-black);
    cursor: pointer;
    user-select: none;
  }

  .content-html .faq-question::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    background-color: var(--orange);
    -webkit-mask: url("/assets/img/svg/faq-arrow.svg") center / contain no-repeat;
    mask: url("/assets/img/svg/faq-arrow.svg") center / contain no-repeat;
    transform: rotate(180deg);
    transition: transform 0.4s ease;
  }

  .content-html .faq-block.open .faq-question::before {
    transform: rotate(0deg);
  }

  .content-html .faq-question h3 {
    margin: 0;
    font: inherit;
    color: inherit;
  }

  .content-html .faq-answer {
    display: none;
    padding: 12px 0 0 28px;
    font-family: var(--font-onest);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: #5E5E5E;
  }

  .content-html .faq-answer p,
  .content-html .faq-answer ul,
  .content-html .faq-answer ol {
    margin: 0;
  }

  .content-html .faq-answer p + p,
  .content-html .faq-answer p + ul,
  .content-html .faq-answer p + ol,
  .content-html .faq-answer ul + p,
  .content-html .faq-answer ol + p,
  .content-html .faq-answer ul + ul,
  .content-html .faq-answer ol + ol,
  .content-html .faq-answer ul + ol,
  .content-html .faq-answer ol + ul {
    margin-top: 12px;
  }

  .content-html .faq-answer ul,
  .content-html .faq-answer ol {
    padding-left: 20px;
  }

  .content-html .faq-answer a {
    color: inherit;
    text-decoration: underline;
  }

  .content-html .faq-block.open .faq-answer {
    display: block;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 500px) {
    .content-html .fallen-grid { grid-template-columns: 1fr; }
    .content-html .algo-table .step-action { width: auto; }
    .content-html .data-table { font-size: 15px; }
    .content-html .data-table th, .content-html .data-table td { padding: 8px 10px; }
    .content-html .fallen-grid { grid-template-columns: 1fr; }
    .content-html .algo-table .step-action { width: auto; }
    .content-html .data-table { font-size: 15px; }
    .content-html .data-table th, .content-html .data-table td { padding: 4px 5px; font-size: 14px; }
    .content-html .toc { padding: 18px 14px; }
    .content-html .toc ol { padding-left: 14px; }
    .content-html .page-wrap {
      max-width: 490px;
      width:100%;
      margin: 0 auto;
      padding: 0;
    }
    .content-html pre {
      max-width: 490px;
      width:100%;
      margin-left:20px;
      font-style: italic;
    }
  }

.content-html .modeltest-premium {
  background: linear-gradient(180deg, #f7f7f7 0%, #efefef 100%);
  padding: 32px 20px;
  border-radius: 24px;
}

.content-html .modeltest-premium-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.content-html .premium-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.content-html .premium-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 26px;
  border: 1px solid rgba(217, 92, 2, 0.12);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.07);
}

.content-html .premium-icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ff7a1a 0%, #d95c02 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 31px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(217, 92, 2, 0.28);
}

.content-html .premium-content {
  flex: 1;
}

.content-html .premium-title {
  margin: 2px 0 10px;
  font-size: 20px;
  line-height: 1.2;
  color: #d95c02;
  font-weight: 700;
}

.content-html .premium-content p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #12284a;
}

/* Tablet */
@media (max-width: 1100px) {
  .content-html .premium-title {
    font-size: 22px;
  }

  .content-html .premium-content p {
    font-size: 18px;
  }
}

/* Mobile grid */
@media (max-width: 820px) {
  .content-html .premium-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .content-html .premium-card {
    padding: 22px 18px;
    border-radius: 18px;
    gap: 14px;
  }

  .content-html .premium-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    font-size: 25px;
    border-radius: 14px;
  }

  .content-html .premium-title {
    font-size: 18px;
  }

  .content-html .premium-content p {
    font-size: 15px;
  }
}
/*NEW*/
  .content-html .aufgabe-list { list-style: none; padding: 0; margin: 12px 0; }
  .content-html .aufgabe-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 18px;
    line-height: 1.7;
  }
  .content-html .aufgabe-list li:last-child { border-bottom: none; }
  .content-html .aufgabe-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--orange);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .content-html .aufgabe-time {
    color: var(--muted);
    font-style: italic;
    font-size: 16px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .content-html .aufgabe-text { flex: 1; }

/* component-target-ui-language */
[data-language-switcher] [data-site-ui-locale] {
    color: inherit;
    cursor: pointer;
    font: inherit;
}

[data-language-switcher] [data-language-switcher-toggle] {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

[data-language-switcher] .dropdown-item > button[data-site-ui-locale] {
    background: transparent;
    border: 0;
    text-align: inherit;
    width: 100%;
}

[data-language-switcher] .language-switcher-option.is-active {
    font-weight: 700;
}

[data-language-switcher] .language-switcher-option.is-active .check-icon {
    display: inline-flex;
    opacity: 1;
}

[data-language-switcher] [data-language-switcher-toggle]:focus-visible,
[data-language-switcher] .language-switcher-option:focus-visible {
    outline: 2px solid var(--orange, #f85628);
    outline-offset: -2px;
}

[data-language-switcher] .language-option-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[data-language-switcher] .language-code {
    color: var(--orange, #f85628);
    flex: 0 0 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
}

.site-footer [data-language-switcher] .language-option {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    min-width: 0;
}

.site-footer [data-language-switcher] .language-code {
    color: inherit;
}

.site-footer [data-language-switcher] .language-option-label {
    flex: 0 0 auto;
    overflow: visible;
    text-overflow: clip;
}

/* component-cards-swiper */
.cards-swiper {
    position: relative;
}

.cards-swiper__wrapper {
    overflow: hidden;
    position: relative;
}

.swiper-slide {
    height: auto;
}

.cards-swiper__navigation {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.cards-swiper__btn {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 0;
    background: #F3F3F3;
    transition: background 0.3s, opacity 0.3s, visibility 0.3s, transform 0.3s, scale 0.3s;
    transform-origin: center;
    will-change: background, opacity, transform, scale;
    pointer-events: auto;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .cards-swiper__btn:hover {
        background: #dfdede;
    }
}

.cards-swiper__btn:active {
    background: #b9b9b9;
}

.cards-swiper__btn.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cards-swiper__btn svg {
    width: 20px;
    height: 20px;
}

.cards-swiper__btn svg path {
    transition: all 0.3s;
}

.cards-swiper--no-arrows .cards-swiper__navigation {
    display: none;
}

.cards-swiper .cards-swiper__pagination {
    position: relative;
    z-index: 2;
    margin-top: 12px;
    text-align: center;
}
