/* Conference page
   Базовая структура повторяет страницу "Наставничество":
   template:12 + .container + собственный CSS страницы.
*/
.confp {font-size:24px; padding-bottom:20px;}
.conference-page {
    padding: 42px 0 90px;
    color: #262626;
    font-family: "Open Sans", Arial, sans-serif;
}

.conference-page *,
.conference-page *::before,
.conference-page *::after {
    box-sizing: border-box;
}

.conference-page img {
    display: block;
    max-width: 100%;
}

.conference-title {
    position: relative;
    max-width: 915px;
    margin: 0 0 32px;
    font-size: 28px;
    line-height: 1.135;
    font-weight: 700;
    text-transform: uppercase;
    color: #262626;
}

.conference-title::before {
    content: "";
    position: absolute;
    width: 128px;
    height: 1px;
    right: calc(100% + 35px);
    top: 18px;
    background: #262626;
}

.conference-hero {
    display: grid;
    grid-template-columns: minmax(0, 740px) 339px;
    gap: 30px;
    align-items: stretch;
}

.conference-hero__image {
    overflow: hidden;
}

.conference-hero__image img {
    width: 100%;
    height: 414px;
    object-fit: cover;
}

.conference-actions {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    gap: 28px;
}

.conference-action {
    min-height: 82px;
    padding: 14px 20px;
    border: 1px solid #0d5ae6;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #0d5ae6;
    font-size: 16px;
    line-height: 1.35;
    text-decoration: none;
    transition: .2s ease;
}

.conference-action:hover,
.conference-action:focus-visible {
    background: #0d5ae6;
    color: #fff;
}

.conference-intro {
    max-width: 1110px;
    margin-top: 42px;
}

.conference-intro p,
.conference-info p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.conference-info {
    margin-top: 40px;
}

.conference-info__block + .conference-info__block {
    margin-top: 34px;
}

.conference-info h2 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    text-transform: uppercase;
}

.conference-info h3 {
    margin: 22px 0 14px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
}

.conference-location {
    display: grid;
    grid-template-columns: minmax(0, 740px) 339px;
    gap: 30px;
    margin-top: 46px;
    align-items: stretch;
}

.conference-location__map img,
.conference-location__hotel img {
    width: 100%;
    height: 338px;
    object-fit: cover;
}

.conference-list {
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.conference-list li {
    position: relative;
    margin: 0 0 13px;
    padding-left: 38px;
    font-size: 16px;
    line-height: 1.5;
}

.conference-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 10px;
    height: 10px;
    background: #0d5ae6;
}

.conference-info--after-location {
    margin-top: 42px;
}

.conference-anchor {
    scroll-margin-top: 140px;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 1100px) {

    .conference-title::before {
        display: none;
    }

    .conference-hero,
    .conference-location {
        grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
        gap: 22px;
    }

    .conference-actions {
        gap: 18px;
    }

    .conference-action {
        min-height: 74px;
    }

    .conference-hero__image img {
        height: 380px;
    }

    .conference-location__map img,
    .conference-location__hotel img {
        height: 300px;
    }
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {
.confp {
    font-size: 20px;
    
}
    .conference-page {
        padding: 70px 0 60px;
    }

    .conference-page .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .conference-title {
        margin-bottom: 24px;
        font-size: 16px;
        line-height: 1.3;
    }

    .conference-hero {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .conference-hero__image img {
        height: auto;
        aspect-ratio: 350 / 266;
        object-fit: cover;
    }

    .conference-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .conference-action {
        min-height: 58px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .conference-intro {
        margin-top: 28px;
    }

    .conference-intro p,
    .conference-info p {
        font-size: 14px;
        line-height: 1.5;
    }

    .conference-info {
        margin-top: 26px;
    }

    .conference-info__block + .conference-info__block {
        margin-top: 20px;
    }

    .conference-info h2 {
        margin-bottom: 7px;
        font-size: 14px;
        line-height: 1.5;
    }

    .conference-info h3 {
        margin: 20px 0 12px;
        font-size: 14px;
        line-height: 1.5;
    }

    .conference-location {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 28px;
    }

    .conference-location__map img,
    .conference-location__hotel img {
        width: 100%;
        height: auto;
    }

    .conference-location__map img {
        aspect-ratio: 350 / 171;
        object-fit: cover;
    }

    .conference-location__hotel img {
        aspect-ratio: 350 / 350;
        object-fit: cover;
    }

    .conference-info--after-location {
        margin-top: 28px;
    }

    .conference-list {
        margin-top: 14px;
    }

    .conference-list li {
        margin-bottom: 10px;
        padding-left: 28px;
        font-size: 14px;
        line-height: 1.5;
    }

    .conference-list li::before {
        width: 8px;
        height: 8px;
    }
}
/* ==============================================
   КАСТОМНЫЕ МЕТКИ ЯНДЕКС-КАРТЫ
   ============================================== */

.conference-map-marker {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 40px;

    padding: 0 15px 0 11px;

    background: #0d5ae6;

    color: #fff;

    font-family: "Open Sans", Arial, sans-serif;

    font-size: 13px;
    line-height: 1;

    font-weight: 600;

    white-space: nowrap;

    cursor: pointer;

    box-shadow:
        0 3px 8px rgba(0, 0, 0, .12);
}


/*
 * Маленький треугольник вниз,
 * как указатель точки.
 */
.conference-map-marker::after {
    content: "";

    position: absolute;

    left: 18px;
    bottom: -8px;

    width: 0;
    height: 0;

    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 9px solid #0d5ae6;
}


.conference-map-marker__pin {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 18px;
    height: 22px;

    margin-right: 7px;
}


.conference-map-marker__pin svg {
    display: block;

    width: 17px;
    height: 17px;

    fill: #fff;
}


.conference-map-marker__text {
    display: block;
}



/* ==============================================
   HOVER
   ============================================== */

.conference-map-marker {
    transition:
        background-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}


.conference-map-marker:hover {
    background: #084ecb;

    box-shadow:
        0 5px 14px rgba(0, 0, 0, .16);

    transform: translateY(-1px);
}


.conference-map-marker:hover::after {
    border-top-color: #084ecb;
}



/* ==============================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ============================================== */

@media (max-width: 767px) {

    .conference-map-marker {
        min-height: 34px;

        padding:
            0 10px
            0 8px;

        font-size: 11px;
    }


    .conference-map-marker__pin {
        width: 15px;
        height: 18px;

        margin-right: 5px;
    }


    .conference-map-marker__pin svg {
        width: 14px;
        height: 14px;
    }


    .conference-map-marker::after {
        left: 14px;
        bottom: -7px;

        border-left-width: 7px;
        border-right-width: 7px;
        border-top-width: 8px;
    }

}

.conference-map {
    display: block;
    width: 100%;
    height: 338px;
    min-height: 338px;
    overflow: hidden;
    background: #eceff3;
}

@media (max-width: 767px) {
    .conference-map {
        height: 220px;
        min-height: 220px;
    }
}