.single-blog p,
.single-blog div,
.single-blog a,
.single-blog ul li,
.single-blog ol li {
    font-weight: 400;
    line-height: 140%;
    color: #0a203e;
}

.single-blog a {
    display: block;
}

.single-blog .single-blog__content a {
    line-height: 150%;
    color: #5ac1bd;
    font-weight: 700;
    display: inline-block;
}

.single-blog a:hover {
    color: #fb5e40;
}

.single-blog h1 {
    font-size: 40px;
    line-height: 125%;
    margin-bottom: 18px;
}

.single-blog h2 {
    font-size: 28px;
    line-height: 125%;

}

.single-blog h3 {
    font-size: 22px;
    line-height: 123%;

}
.single-blog h4 {
    font-size: 20px;
    line-height: 110%;
    margin-bottom: 10px;

}
.single-blog h2,
.single-blog .single-blog__content p,
.single-blog h3,
.single-blog ul,
.single-blog ol{
    margin-bottom: 27px;
}

.single-blog .single-blog__content p {
    font-size: 18px;
}

.single-blog p.has-small-font-size{
    font-style: normal;
    font-size: 14px;
    line-height: 193%;
    text-align: center;
    margin-bottom: 27px;
}

.single-blog figure img {
    display: block;
    width: 100%;
    max-height: 416px;
    object-fit: cover;
}


.single-blog__wrapper {
    padding-top: 50px;
    padding-bottom: 64px;
}

.single-blog__block {
    background: #fff;
    border: 1px solid rgba(10, 32, 62, 0.75);
    padding: 60px 99px;
    margin-bottom: 30px;
}

.single-blog__all {
    margin-bottom: 47px;
    font-size: 18px;
    line-height: 140%;
}

.single-blog__other-header__all.single-blog__all {
    margin-bottom: 0;
}

.single-blog__top {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 14px;
    line-height: 150%;
    margin-bottom: 23px;
}

p.single-blog__top-author,
.single-blog__top-date,
.single-blog__top-read span {
    font-size: 14px;
    line-height: 150%;
    color: #000;
}

.single-blog__top-element {
    border-radius: 50%;
    width: 4px;
    height: 4px;
    background: #000;
    margin-left: 4px;
    flex-shrink: 0;
}

.single-blog__bottom-social {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 23px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.single-blog__bottom-social__btn,
.copy-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    color: #000;
}

.single-blog__bottom-social__btn:hover,
.single-blog__bottom-social__btn:focus,
.copy-link:hover,
.copy-link:focus {
    color: #fb5e40;
}

/* Для copy-кнопки — обгортка */
.copy-link-wrapper {
    position: relative;
    display: inline-block;
}

/* Тултіп Copied! */
.copy-tooltip {
    position: absolute;
    top: -36px; /* над кнопкою */
    right: -10px; /* праворуч зверху, підкорегуй */
    background: #fb5e40;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Показуємо при копіюванні (клас додає JS) */
.copy-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Маленький трикутник під тултіпом (опціонально) */
.copy-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 12px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #fb5e40;
}


.single-blog__bottom-group__views {
    display: flex;
    gap: 4px;
    align-items: center;
}

.single-blog__other-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}


.single-blog__other-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
}

.single-blog__other-posts a.blog-card {
    flex-basis: calc((100% - 68px) / 3);

}

.single-blog__other-posts .blog-card__image{
    height: 162px;
    width: 100%;
}

.single-blog__other-posts .blog-card__info-author,
.single-blog__other-posts .blog-card__info-author__group,
.single-blog__other-posts .blog-card__content-description{
    display: none;
}
.single-blog__other-posts .blog-card__content-title{
    margin-bottom: 23px;
    font-size: 18px;
    font-weight: 300;
}

@media screen and (min-width: 1100px) {
    .single-blog__container.container {
        max-width: 980px;
    }
}

@media screen and (max-width: 1099.98px) {
    .single-blog__container.container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 990.98px) {
    .single-blog__wrapper {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .single-blog__all {
        margin-bottom: 30px;
    }

    .single-blog__block {
        padding: 30px 20px;
    }
}
@media screen and (max-width: 800px){
    .single-blog__other-posts {
        gap: 20px;
    }
    .single-blog__other-posts a.blog-card {
        flex-basis: calc((100% - 40px) / 2);
        flex-grow: 1;
    }
}
@media screen and (max-width: 550px){
    .single-blog__other-posts {
       flex-direction: column;
    }
    .single-blog__other-posts a.blog-card {
        flex-basis: unset;
    }

    .single-blog__top{
        flex-direction: column;
        gap: 1px;
        align-items: start;
    }
    .single-blog__top-element{
        display: none;

    }
}