/* ==========================================================================
   ПОДКЛЮЧЕНИЕ ШРИФТОВ (assets/fonts/)
   ========================================================================== */

/* Cormorant Garamond */
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Montserrat */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Совместимость со старыми классами шаблона */
@font-face {
    font-family: 'Montserrat-Regular';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat-SemiBold';
    src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Базовые семейства */
body, input, textarea, button, select {
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.main_title,
.cta_frame_title,
.about_frame__in {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* ==========================================================================
   ИСПРАВЛЕНИЯ И ТОЧЕЧНЫЕ ФИКСЫ
   ========================================================================== */

/* Заголовок в шапке */
.main_title--head h1 {
    color: #fff;
    background: none;
    -webkit-text-fill-color: initial;
}

/* Пропорции слайдера галереи */
.gallery_slide_side.left {
    width: 65%;
}

.gallery_slide_side.right {
    width: 35%;
}

/* Рамка с акцентными уголками в галерее */
.gal_text_content {
    position: relative;
    border: 1px solid #fff;
    padding: 3rem 4rem;
}

.gal_text_content:before,
.gal_text_content:after {
    content: '';
    display: block;
    width: 3.6rem;
    height: 3.6rem;
    position: absolute;
}

.gal_text_content:before {
    left: -1px;
    top: -1px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}

.gal_text_content:after {
    bottom: -1px;
    right: -1px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

/* Кнопки соцсетей (Share) */
.share-list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-list__link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem;
    text-align: center;
    padding: 0;
    height: 4.5rem;
    width: 4.5rem;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
}

.share-list__link path {
    fill: #fff;
}

.share-list__link.fb { background: #4464a3; }
.share-list__link.tw { background: #55acee; }
.share-list__link.ln { background: #0077b5; }
.share-list__link.share-list__link--copy { background: #333; }
