/* ============================================================
 * ACADEM — GLOBAL CSS
 * Версия 2.0
 *
 * ------------------------------------------------------------
 * ТЕКСТОВЫЕ ССЫЛКИ
 *
 * Normal:
 *   #d31d1f
 *   без подчёркивания
 *
 * Hover:
 *   #ffbd4f
 *   подчёркивание 1px #ffbd4f
 *
 * НЕ затрагивает:
 *   - основное меню
 *   - мобильное меню
 *   - Google CSE
 *   - ссылки-обёртки изображений карточек
 * ============================================================ */


/* ============================================================
 * GLOBAL TEXT LINKS
 * ============================================================ */

/*
 * Обычные текстовые блоки
 * + ссылки в карточках товаров
 * + описания страниц товаров / авторов
 */

#allrecords
.t-text a[href],
#allrecords
.t-descr a[href],
#allrecords
.t-heading a[href],
#allrecords
.t-title a[href],
#allrecords
.t-impact-text a[href],
#allrecords
.t-text-impact a[href],
#allrecords
.t-uptitle a[href],
#allrecords
.t-store__card__title a[href],
#allrecords
.t-store__card__descr a[href],
#allrecords
.t-store__card__text a[href],
#allrecords
.t-store__card__info a[href],
#allrecords
.t744__descr.t-descr a[href],
#allrecords
.t780__descr.t-descr a[href] {
    color: #d31d1f !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transition: color 0.2s ease;
}


/* ------------------------------------------------------------
 * VISITED
 *
 * Посещённая ссылка сохраняет обычный красный цвет.
 * Блок расположен отдельно, чтобы :hover имел приоритет.
 * ------------------------------------------------------------ */

#allrecords
.t-text a[href]:visited,
#allrecords
.t-descr a[href]:visited,
#allrecords
.t-heading a[href]:visited,
#allrecords
.t-title a[href]:visited,
#allrecords
.t-impact-text a[href]:visited,
#allrecords
.t-text-impact a[href]:visited,
#allrecords
.t-uptitle a[href]:visited,
#allrecords
.t-store__card__title a[href]:visited,
#allrecords
.t-store__card__descr a[href]:visited,
#allrecords
.t-store__card__text a[href]:visited,
#allrecords
.t-store__card__info a[href]:visited,
#allrecords
.t744__descr.t-descr a[href]:visited,
#allrecords
.t780__descr.t-descr a[href]:visited {
    color: #d31d1f !important;
    text-decoration: none !important;
}


/* ------------------------------------------------------------
 * HOVER
 * ------------------------------------------------------------ */

#allrecords
.t-text a[href]:hover,
#allrecords
.t-descr a[href]:hover,
#allrecords
.t-heading a[href]:hover,
#allrecords
.t-title a[href]:hover,
#allrecords
.t-impact-text a[href]:hover,
#allrecords
.t-text-impact a[href]:hover,
#allrecords
.t-uptitle a[href]:hover,
#allrecords
.t-store__card__title a[href]:hover,
#allrecords
.t-store__card__descr a[href]:hover,
#allrecords
.t-store__card__text a[href]:hover,
#allrecords
.t-store__card__info a[href]:hover,
#allrecords
.t744__descr.t-descr a[href]:hover,
#allrecords
.t780__descr.t-descr a[href]:hover {
    color: #ffbd4f !important;
    text-decoration: underline !important;
    text-decoration-color: #ffbd4f !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;
    border-bottom: none !important;
    box-shadow: none !important;
}


/* ============================================================
 * GOOGLE CSE
 *
 * Глобальные стили ссылок сюда не распространяются.
 * ============================================================ */


/* ------------------------------------------------------------
 * КОЛОНКА — полная ширина
 * ------------------------------------------------------------ */

.uc-gse-full .t-col.t-col_10.t-prefix_2 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    left: 0 !important;
    right: 0 !important;
    position: static !important;
    box-sizing: border-box !important;
}


/* ------------------------------------------------------------
 * КОНТЕЙНЕР
 * ------------------------------------------------------------ */

.uc-gse-full .t-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* ------------------------------------------------------------
 * ФОРМА ПОИСКА
 * ------------------------------------------------------------ */

.uc-gse-full .gsc-search-box {
    max-width: 1160px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}


/* ------------------------------------------------------------
 * ТАБЛИЦА
 * ------------------------------------------------------------ */

.uc-gse-full .gsc-search-box table {
    width: 100% !important;
    max-width: 100% !important;
}


/* ------------------------------------------------------------
 * INPUT
 * ------------------------------------------------------------ */

.uc-gse-full .gsc-input {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
}

.uc-gse-full .gsc-input-box,
.uc-gse-full input.gsc-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}


/* ------------------------------------------------------------
 * КНОПКА
 * ------------------------------------------------------------ */

.uc-gse-full .gsc-search-button {
    width: auto !important;
    white-space: nowrap !important;
}


/* ------------------------------------------------------------
 * ОБЁРТКИ GOOGLE CSE
 * ------------------------------------------------------------ */

.uc-gse-full .gsc-control-cse,
.uc-gse-full .gsc-control-wrapper-cse,
.uc-gse-full .gsc-results-wrapper-nooverlay,
.uc-gse-full .gsc-results-wrapper-visible,
.uc-gse-full .gsc-above-wrapper-area,
.uc-gse-full .gsc-above-wrapper-area-container,
.uc-gse-full .gsc-resultsbox-visible,
.uc-gse-full .gsc-resultsRoot,
.uc-gse-full .gsc-tabData,
.uc-gse-full .gsc-webResult,
.uc-gse-full .gsc-results,
.uc-gse-full .gsc-wrapper,
.uc-gse-full .gsc-expansionArea,
.uc-gse-full .gs-webResult,
.uc-gse-full .gs-result,
.uc-gse-full .gsc-result {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}


/* ------------------------------------------------------------
 * СЛУЖЕБНЫЕ ЭЛЕМЕНТЫ
 * ------------------------------------------------------------ */

.uc-gse-full .gsc-result-info,
.uc-gse-full .gsc-result-info-container,
.uc-gse-full .gs-per-result-labels,
.uc-gse-full .gs-per-result-labels * {
    display: none !important;
}

.uc-gse-full .gs-richsnippet-box {
    display: none !important;
}


/* ------------------------------------------------------------
 * ВКЛАДКИ / СЛУЖЕБНАЯ НАВИГАЦИЯ
 * ------------------------------------------------------------ */

.uc-gse-full .gsc-tabsAreaInvisible,
.uc-gse-full .gsc-tabHeader {
    display: none !important;
}


/* ------------------------------------------------------------
 * ЗАГОЛОВОК РЕЗУЛЬТАТА
 * ------------------------------------------------------------ */

.uc-gse-full .gsc-thumbnail-inside {
    text-align: left !important;
}

/* ============================================================
 * ACADEM — DYNAMIC AUTHOR T123
 *
 * Локальные стили динамического блока автора.
 *
 * Управление через класс записи:
 *   .uc-apagecss
 * ============================================================ */


/* ------------------------------------------------------------
 * ТИПОГРАФИКА
 * ------------------------------------------------------------ */

.uc-apagecss #author-text,
.uc-apagecss #academy-descr {
    font-family: var(--t-text-font);
}


/* ------------------------------------------------------------
 * ССЫЛКИ
 * ------------------------------------------------------------ */

.uc-apagecss #author-text a[href],
.uc-apagecss #academy-descr a[href] {
    color: #d31d1f !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transition: color 0.2s ease;
}


/* Visited */

.uc-apagecss #author-text a[href]:visited,
.uc-apagecss #academy-descr a[href]:visited {
    color: #d31d1f !important;
    text-decoration: none !important;
}


/* Hover */

.uc-apagecss #author-text a[href]:hover,
.uc-apagecss #academy-descr a[href]:hover {
    color: #ffbd4f !important;
    text-decoration: underline !important;
    text-decoration-color: #ffbd4f !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Отступы между секциями */
.uc-apagecss #author-gallery {
    margin-bottom: 45px;
}

.uc-apagecss #author-text {
    margin-bottom: 45px;
}

/* Авторская фотография */
.uc-apagecss #author-gallery {
    display: flex;
    justify-content: center;
}

.uc-apagecss #author-gallery img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* ============================================================
 * ACADEM — AUTHOR TEST
 * Scope: .uc-test-ap
 * ============================================================ */

.uc-test-ap #author-test {
    font-family: var(--t-text-font);
}


/* ------------------------------------------------------------
 * FIRST AUTHOR PHOTO
 * ------------------------------------------------------------ */

.uc-test-ap #author-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 45px;
}

.uc-test-ap #author-photo img {
    width: 200px;
    height: 200px;
    max-width: 200px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}


/* ------------------------------------------------------------
 * H1
 * ------------------------------------------------------------ */

.uc-test-ap #author-name {
    margin: 0 0 30px 0;
    padding: 0 20px;

    text-align: center;

    color: #5a3a2e !important;
}


/* ------------------------------------------------------------
 * H2
 * ------------------------------------------------------------ */

.uc-test-ap #author-description {
    width: 100%;
    box-sizing: border-box;

    margin: 0 0 45px 0;
    padding: 0 20px;

    text-align: center;

    color: #000000 !important;

    font-family: var(--t-text-font);
    font-size: 18px;
    line-height: 1.5;
}


/* ------------------------------------------------------------
 * LINKS IN H2
 * ------------------------------------------------------------ */

.uc-test-ap #author-description a[href] {
    color: #d31d1f !important;

    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;

    transition: color 0.2s ease;
}

.uc-test-ap #author-description a[href]:visited {
    color: #d31d1f !important;

    text-decoration: none !important;
}

.uc-test-ap #author-description a[href]:hover {
    color: #ffbd4f !important;

    text-decoration: underline !important;
    text-decoration-color: #ffbd4f !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;

    border-bottom: none !important;
    box-shadow: none !important;
}


/* ------------------------------------------------------------
 * REMAINING GALLERY
 * ------------------------------------------------------------ */

.uc-test-ap #author-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    margin-bottom: 45px;
}

.uc-test-ap #author-gallery img {
    width: 200px;
    height: 200px;

    object-fit: cover;
    display: block;
}


/* ------------------------------------------------------------
 * ACADEMY DESCRIPTION
 * ------------------------------------------------------------ */

.uc-test-ap #academy-description {
    margin-top: 45px;
    padding: 0 20px;
}