/*Стили, используемые только в статьях блога*/

/* оформление вида онлайн переводчика */

h1 {
    margin-top: 80px;
    margin-bottom: 40px;
}

h2,
h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

img {
    margin-bottom: 20px;
}


@media (max-width: 992px) {
    h1 {
        margin-top: 18px;
        margin-bottom: 35px;
    }
}
/* 
.translation-bg {
    background: #f1f5f5;
    padding: 1rem 1rem 2.5rem 1rem;
    margin: 1rem 0;
}



.translation-bg .service {
    padding: 1rem 0 1rem 1rem;
    margin: 0;
}

.translation-container {
    display: grid;
    grid-template-columns: 1fr;
}


.translation-container.modern {
    border-radius: 5px;
    box-shadow: 0 0.5em 1em -0.125em rgb(0 136 204 / 10%), 0 0px 0 1px rgb(0 136 204 / 2%);
    color: #4a4a4a;
    background: white;
    padding: 0 1rem;
}


.translation-container .languages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 3px solid rgba(0, 136, 204, 0.1);
    margin: 0 -1rem;
}


.translation-container .languages h5 {
    padding: 0 1rem;
    text-transform: uppercase;
    margin: 1rem 0;
    font-size: 0.8rem;
}


@media (max-width: 480px) {
    .translation-container .languages h5 {
        padding: 0 0.3rem;
    }
}

.translation-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.source,
.target {
    padding: 1rem 0;
}

.source p {
    padding-right: 1rem;
}

.target {
    background: rgba(0, 136, 204, 0.1);
    margin-right: -1rem;
}

.target p {
    padding: 0 1rem;
}

@media (max-width: 650px) {
    .translation-body {
        grid-template-columns: 1fr;
    }

    .languages {
        justify-items: center;
    }

    .target {
        margin-left: -1rem;
    }
}
 */


/* бейджи */
.badge.green {
    background: green;
    color: white;
}

.badge.red {
    background: red;
    color: white;
}

/* /бейджи */

/*Аккордеон*/
div.accordion {
    margin: 1rem 0 1rem 0;
}

div.accordion-item {
    border: none;
}

div.accordion-item h2 {
    margin: 0;
}

div.accordion button.accordion-te.collapsed,
div.accordion button.accordion-te:not(.collapsed) {
    color: var(--main-blue);
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
    border-radius: 8px;
    min-height: 20px;
    padding: 12px 20px 12px 23px;
    cursor: pointer;
    background-color: #f1f5f5;
    border-left: 3px solid #46766B;
    box-shadow: none;
}


div.accordion button.accordion-te:not(.collapsed) {
    background-color: #46766B;
    color: var(--white);
}

div.accordion .accordion-te::before {
    content: '';
    position: absolute;
    left: 5px;
    width: 10px;
    height: 12px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3cpath fill='%230088CC' d='M432 256c0 17.7-14.3 32-32 32L256 288v144c0 17.7-14.3 32-32 32s-32-14.3-32-32V288L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l144 0V112c0-17.7 14.3-32 32-32s32 14.3 32 32v112h144c17.7 0 32 14.3 32 32z' style='&%2310; fill: %2346766B;&%2310;'/%3e%3c/svg%3e");
    transition: transform 0.2s;
}

div.accordion button.accordion-te:not(.collapsed)::before {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3cpath d='M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z' style='&%2310; fill: %23fff;&%2310;'/%3e%3c/svg%3e");
}

div.accordion .accordion-te::after {
    content: '';
    position: absolute;
    right: 4px;
    width: 1rem;
    height: 1rem;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' data-name='Layer 1' id='Layer_1' viewBox='0 0 100 100' style='fill: %230088CC;'%3e%3ctitle/%3e%3cpolygon points='35 80 35 20 65 50 35 80' style='&%2310; fill: %2346766B;&%2310;'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    transition: transform 0.2s;
}

div.accordion .accordion-button:not(.collapsed)::after {
    content: none;
}

.wallpaper-article {
    margin-bottom: 6px;
}

/*/Аккордеон*/


/*Эксперт в статье*/
.expert {
    display: grid;
    grid-template-columns: 2fr 9fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 2rem;
}

.expert img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 0;
}

.expert p {
    margin: 0;
}

.expert p span {
    display: block;
}

/*/Эксперт в статье*/


/*Автор*/
.author-el {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.author-el .author-name {
    font-size: 16px;
}

.author-el img {
    margin: 0;
}


.author-el a p {
    color: var(--main-blue);
    font-size: 16px;
}

.wrapper-author-el {
    margin-bottom: 39px;
}


.wrapper-author-el p {
    margin: 0;
    color: var(--light-gray);
    font-size: 14px;
}

.mobile-authors {
    display: none;
}

@media (max-width: 992px) {
    .mobile-authors {
        display: block;
        margin-bottom: 36px;
    }

    .wrapper-author-el {
        margin-bottom: 20px;
    }
}



.wrapper-author-el .title-el,
.block-contents .title-el {
    color: var(--black);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 16px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50px;
}

.block-contents {
    background-color: var(--smoke-gray);
    padding: 20px;
    border-radius: 4px;
    margin-top: 60px;
}


div.block-contents a p {
    margin-bottom: 10px;
}

div.block-contents a:last-child p {
    margin-bottom: 0;
}


.opacity-block {
    opacity: 0.5;
}


/* Активный класс прогресс бара */
.highlighted {
    pointer-events: none; 
    color: var(--black);
}