.wiki__interesting-slider {
    overflow: hidden;
    position: relative;
}

.wiki__interesting {
    gap: 50px;
    margin: 60px 0;
    position: relative;
}

.wiki-articles {
    margin-top: 30px;
    margin-bottom: 120px;
}

.wiki-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.wiki-item {
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--white);
}

.wiki-item__content {
    gap: 25px;
    height: auto;
}

.wiki-item__img {
    height: 220px;
    display: block;
}

.wiki-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wiki-item__text {
    gap: 15px;
    padding: 30px 30px 25px 30px;
}

.wiki-item__text h6 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}

.wiki-item__description {
    color: var(--dark-gray);
    font-size: 15px;
    line-height: 22px;
}

.wiki-item__more {
    text-decoration: none;
}

.wiki-item__more-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wiki-item__more-content span {
    background-color: var(--pale-blue);
    border-radius: 100px;
    padding: 8px 10px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 400;
}

.wiki-item__date {
    gap: 10px;
    padding: 0 30px 30px 30px;
}

.wiki-image {
    border-radius: 20px;
    height: 400px;
    margin-top: 50px;
    overflow: hidden;
}

.wiki-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wiki-hero {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    align-items: stretch;
    border-bottom: 1px solid #E2E1E1;
}

.wiki-hero__media {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wiki-hero__image {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

.wiki-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wiki-hero__preview {
    flex: 1;
    height: 400px;
}

.wiki-hero__preview .wiki-variation-bage {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 40px 36px;
    border-radius: 24px;
    background-color: var(--pale-blue);
}

.wiki-hero__preview .wiki-variation-bage p {
    margin: 0;
}


.wiki-date {
    margin-top: 20px;
    padding-bottom: 20px;

}

.wiki-hero .wiki-date {
    margin-top: 20px;
}

.wiki-content {
    gap: 30px;
    margin-top: 60px;
}

.wiki-content a {
    color: #787878;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.wiki-content a:hover {
    color: #0b0b0b;
}

.wiki-content__list {
    padding-left: 25px;
}

.wiki-content__list li {
    position: relative;
    font-size: 18px;
    font-weight: 500;
    color: var(--blue);
    margin-top: 15px;
}

.wiki-content__list li::before {
    content: url(/assets/img/svg/list-icon.svg);
    position: absolute;
    left: -25px;
    top: -5px;
}

.wiki-block {
    gap: 20px;
    margin-top: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #dadada;
}

.wiki-content p {
    font-weight: 300;
    line-height: 26px;
    font-size: 16px;
}

.wiki-content p>img {
    display: block;
    margin: 0 auto;
}

/* Wiki Content Lists */
.wiki-content ul,
.wiki-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.wiki-content ul {
    list-style-type: disc;
    list-style-position: outside;
}

.wiki-content ul li {
    position: relative;
    font-size: 16px;
    line-height: 24px;
    color: var(--dark-gray);
    margin-top: 10px;
    list-style-type: disc;
    list-style-position: outside;
}

.wiki-content ul li::marker {
    color: var(--blue);
}

.wiki-content ol {
    list-style-type: decimal;
    list-style-position: outside;
}

.wiki-content ol li {
    font-size: 16px;
    line-height: 24px;
    color: var(--dark-gray);
    margin-top: 10px;
    list-style-type: decimal;
    list-style-position: outside;
}

.wiki-content ol li::marker {
    color: var(--blue);
    font-weight: 500;
}

.wiki-variation-bage {
    padding: 40px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
}

.wiki-variation-bage.white {
    background-color: white;
}

.wiki-variation-bage.pale-blue {
    background-color: var(--pale-blue);
}

.wiki-variation-bage.dark {
    background-color: var(--dark-gray);
}

@media (max-width: 768px) {
    .wiki-hero {
        flex-direction: column;
        border-bottom: none;
    }

    .wiki-hero__media {
        border-bottom: 1px solid #E2E1E1;
    }

    .wiki-hero__preview,
    .wiki-hero__image {
        height: auto;
    }

    .wiki-block {
        margin-top: 30px;
    }

    .wiki-hero__preview .wiki-variation-bage {
        height: auto;
    }

    .wiki__interesting {
        gap: 40px;
        margin: 60px 0;
    }
}

@media (max-width: 576px) {
    .wiki__interesting {
        gap: 30px;
    }

    .wiki-block {
        margin-bottom: 0px;
    }

    .wiki__interesting__prev,
    .wiki__interesting__next {
        display: none;
    }
}

/* Wiki Article Link */
.wiki-article {
    color: #787878;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
    cursor: pointer;
    position: relative;
}

.wiki-article:hover {
    color: #0b0b0b;
}

/* Wiki Tooltip Card */
.wiki-tooltip-card {
    position: absolute;
    z-index: 9999;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: auto;
}

.wiki-tooltip-card.active {
    opacity: 1;
    visibility: visible;
}

.wiki-tooltip-link {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.wiki-tooltip-image-wrapper {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    display: none;
}

.wiki-tooltip-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wiki-tooltip-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wiki-tooltip-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #252525;
    margin: 0;
}

.wiki-tooltip-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #a9a8b0;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
