.media {
    background: url("../assets/images/pages/media/home-bg.png") no-repeat center;
    background-size: cover;
    margin-bottom: 63px;
    padding: 116px 0 63px;
}

.media.media--hashtag,
.media.media--video {
    background: url("../assets/images/pages/media/video-bg.png") no-repeat center;
    background-size: cover;
}

.media--home {
    padding: 116px 0 165px;
}

.media__inner {
    width: 100%;
}

.media__inner .breadcrumbs {
    margin-bottom: 26px;
}

.media__title {
    color: #FFF;
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 55px;
    text-transform: uppercase;
}

.media__tabs {
    display: flex;
    position: relative;
    justify-content: space-between;
}

.media__tabs::before {
    content: '';
    height: 1px;
    width: 1300px;
    position: absolute;
    left: 50%;
    top: 59px;
    transform: translateX(-50%);
    background: rgba(255, 184, 0, 0.50);
}

.media__tabs-button {
    text-align: center;
    position: relative;
}

.media__tabs-button.media__tabs-button--active::after {
    width: 325px;
    height: 1px;
    position: absolute;
    content: '';
    background: #FFB800;
    top: 59px;
}

.media__tabs-button:nth-child(1).media__tabs-button--active::after {
    left: -77px;
}

.media__tabs-button:nth-child(2).media__tabs-button--active::after {
    left: -67px;
}

.media__tabs-button:nth-child(3).media__tabs-button--active::after {
    left: -66px;
}

.media__tabs-button:nth-child(4).media__tabs-button--active::after {
    left: -68px;
}

.media__tabs-button.media__tabs-button--active .media__tabs-button__icon {
    opacity: 1;
}

.media__tabs-button.media__tabs-button--active .media__tabs-button__name {
    color: #FFB800;
}

.media__tabs-button__icon {
    margin-bottom: 49px;
    opacity: .6;
    max-width: 30px;
}

.media__tabs-button__name {
    color: rgba(255, 184, 0, 0.50);
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    max-width: 180px;
    width: 100%;
}

.media__hashtags {
    gap: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 58px;
}

.media__hashtag {
    border-radius: 10px;
    background: #171717;
    padding: 6px 12px;
    color: #FFF;
    font-size: 12px;
    font-weight: 600;
    border: unset;
}

/* MEDIA PHOTO */
.media-photo {
    margin-bottom: 75px;
}

.media-photo__inner {
    width: 100%;
}

.media-photo__cards {
    gap: 45px 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 65px;
}

.media-photo__card {
    width: 100%;
    max-width: 558px;
}

.media-photo__card-image {
    margin-bottom: 25px;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    max-height: 302px;
    object-fit: cover;
    background-color: #fff;
}

.media-photo__card--no_title .media-photo__card-image {
    max-height: 331px;
    height: 100%;
}

.media-photo__card-image iframe {
    border-radius: 20px;
    width: 100%;
}

.media-photo__card-topic {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.media-photo__card-hashtags {
    gap: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 18px;
}

.media-photo__card-hashtag {
    color: #C4C4C4;
    font-size: 12px;
    font-weight: 600;
    text-decoration-line: underline;
}

.media-photo__card-bottom {
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.media__card-stats {
    gap: 12px;
    display: flex;
    align-items: center;
}

.media__card-stat {
    gap: 6px;
    display: flex;
    align-items: center;
}

.media__card-stat span {
    color: #DFDFDF;
    font-size: 10px;
    font-weight: 400;
}

.media-photo__card-date {
    color: #A8A8A8;
    font-size: 12px;
    font-weight: 400;
}

.media-photo__load {
    border-radius: 0 30px;
    border: 1px solid #171717;
    color: #171717;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    max-width: 264px;
    width: 100%;
    padding: 20px;
    background-color: transparent;
    cursor: pointer;
    margin: 0 auto;
    display: block;
}

.media-photo__card--tour {
    position: relative;
    background: #FFB800;
    border-radius: 20px;
    max-height: 372px;
    margin-bottom: 30px;
}

.media-photo__tour-name {
    color: #FFF;
    padding: 30px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.media-photo__tour-image {
    border-radius: 20px;
    width: 100%;
    height: 272px;
    object-fit: cover;
    display: block;
}

.media-photo__tour-buy {
    gap: 13px;
    display: flex;
    align-items: center;
    background: #FFF;
    width: fit-content;
    border-radius: 20px 31px 0 20px;
    position: absolute;
    bottom: -27px;
    left: 98px;
}

.media-photo__tour-buy__price {
    color: #FFB800;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 13px 0 13px 26px;
    border-radius: 20px;
}

.media-photo__tour-buy__price span {
    font-size: 14px;
}

.media-photo__tour-buy__button {
    padding: 22px 30px;
    border: unset;
    border-radius: 0 30px;
    box-shadow: 0 7px 37px 0 rgba(255, 138, 0, 0.30);
    background: linear-gradient(273deg, #FF8A00 10.97%, #FFC700 80.05%);
    color: #FFF;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

.media-photo__load {
    border-radius: 0 30px;
    border: 1px solid #171717;
    color: #171717;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    max-width: 264px;
    width: 100%;
    padding: 20px;
    background-color: transparent;
    cursor: pointer;
    margin: 0 auto;
    display: block;
}

/* MEDIA VIDEO */
.media-video {
    margin-bottom: 75px;
}

.media-video__inner {
    width: 100%;
}

.media-video__cards {
    gap: 45px 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 65px;
}

.media-video__card {
    width: 100%;
    max-width: 558px;
}

.media-video__card-video {
    position: relative;
    margin-bottom: 43px;
    border-radius: 20px;
    box-shadow: 0 30px 50px 0 rgba(51, 51, 51, 0.20);
    width: 100%;
    height: 284px;
    background-color: #fff;
}

.media-video__card-video iframe {
    border-radius: 20px;
    width: 100%;
    height: 100%;
}

.media-video__card-video::before {
    z-index: -1;
    position: absolute;
    content: '';
    border-radius: 20px;
    background: #FFAF00;
    width: 88%;
    height: 234px;
    left: 50%;
    transform: translate(-50%);
    bottom: -18px;
}

.media-video__card-topic {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.media-video__card-hashtags {
    gap: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 18px;
}

.media-video__card-hashtag {
    color: #C4C4C4;
    font-size: 12px;
    font-weight: 600;
    text-decoration-line: underline;
}

.media-video__card-bottom {
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.media__card-stats {
    gap: 12px;
    display: flex;
    align-items: center;
}

.media__card-stat {
    gap: 6px;
    display: flex;
    align-items: center;
}

.media__card-stat span {
    color: #DFDFDF;
    font-size: 10px;
    font-weight: 400;
}

.media-video__card-date {
    color: #A8A8A8;
    font-size: 12px;
    font-weight: 400;
}

.media-video__load {
    border-radius: 0 30px;
    border: 1px solid #171717;
    color: #171717;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    max-width: 264px;
    width: 100%;
    padding: 20px;
    background-color: transparent;
    cursor: pointer;
    margin: 0 auto;
    display: block;
}

.media-video__card--tour {
    position: relative;
    background: #FFB800;
    border-radius: 20px;
    max-height: 376px;
}

.media-video__tour-name {
    color: #FFF;
    padding: 30px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.media-video__tour-image {
    border-radius: 20px;
    width: 100%;
    height: 272px;
    object-fit: cover;
    display: block;
}

.media-video__tour-buy {
    gap: 13px;
    display: flex;
    align-items: center;
    background: #FFF;
    width: fit-content;
    border-radius: 20px 31px 0 20px;
    position: absolute;
    bottom: -27px;
    left: 98px;
}

.media-video__tour-buy__price {
    color: #FFB800;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 13px 0 13px 26px;
    border-radius: 20px;
}

.media-video__tour-buy__price span {
    font-size: 14px;
}

.media-video__tour-buy__button {
    padding: 22px 30px;
    border: unset;
    border-radius: 0 30px;
    box-shadow: 0 7px 37px 0 rgba(255, 138, 0, 0.30);
    background: linear-gradient(273deg, #FF8A00 10.97%, #FFC700 80.05%);
    color: #FFF;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

/* MEDIA HASHTAG */
.media--hashtag .media__title {
    margin-bottom: 85px;
}

.media--hashtag .media__hashtags {
    margin-top: unset;
    gap: unset;
    display: block;
}

.media__hashtags-current {
    color: #FFB800;
    font-size: 48px;
    font-weight: 300;
    width: 100%;
    margin-bottom: 23px;
}

.media__hashtags-list {
    gap: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.media__hashtags-elem {
    color: #FFF;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 10px;
    background: #171717;
    border: unset;
}

.media-hashtag__cards {
    margin-bottom: 75px;
}

.media-hashtag__card-inner {
    gap: 50px 30px;
    display: flex;
    flex-wrap: wrap;
}

.media-video__card-hashtag.media-photo__card-hashtag--active,
.media-photo__card-hashtag.media-photo__card-hashtag--active {
    color: #171717;
}

@media (max-width: 1300px) {
    .media__tabs::before {
        width: 100%;
    }

    .media__tabs-button {
        width: 25%;
    }

    .media__tabs-button__name {
        margin: 0 auto;
        padding: 0 10px;
        max-width: 200px;
    }

    .media__tabs-button.media__tabs-button--active::after {
        width: 100%;
    }

    .media__tabs-button:nth-child(1).media__tabs-button--active::after,
    .media__tabs-button:nth-child(2).media__tabs-button--active::after,
    .media__tabs-button:nth-child(3).media__tabs-button--active::after,
    .media__tabs-button:nth-child(4).media__tabs-button--active::after {
        left: 0;
     }
}

@media (max-width: 1200px) {
    .media-video__cards,
    .media-photo__cards {
        justify-content: flex-start;
    }

    .media-video__card,
    .media-photo__card {
        max-width: 450px;
    }

    .media-video__card-video,
    .media-photo__card-image {
        max-height: 244px;
    }

    .media-photo__card--no_title .media-photo__card-image {
        max-height: 275px;
    }
}

@media (max-width: 970px) {
    .media-video__tour-buy,
    .media-photo__tour-buy {
        display: block;
    }

    .media-video__card,
    .media-photo__card {
        max-width: 400px;
    }

    .media-video__tour-image,
    .media-video__card-video,
    .media-photo__tour-image,
    .media-photo__card-image {
        max-height: 216px;
    }

    .media-photo__card--no_title .media-photo__card-image {
        max-height: 247px;
    }

    .media-video__card--tour {
        max-height: 320px;
    }
}

@media (max-width: 870px) {
    .media-video__card,
    .media-photo__card {
        max-width: 350px;
    }

    .media-video__tour-image,
    .media-video__card-image,
    .media-photo__tour-image,
    .media-photo__card-image {
        max-height: 189px;
    }

    .media-photo__card--no_title .media-photo__card-image {
        max-height: 219px;
    }

    .media-video__card--tour {
        max-height: 313px;
    }
}

@media (max-width: 768px) {
    .media {
        margin-bottom: 20px;
    }

    .media__tabs-button__name {
        max-width: 115px;
        font-size: 13px;
    }

    .media-video__tour-buy,
    .media-photo__tour-buy {
        display: flex;
        bottom: 0;
        right: 0;
        left: unset;
    }

    .media-video__card,
    .media-photo__card {
        max-width: unset;
        width: 100%;
    }

    .media-video__card,
    .media-video__card--tour,
    .media-photo__card,
    .media-photo__card--tour {
        width: 100%;
        margin-bottom: unset;
    }
}

@media (max-width: 480px) {
    .media {
        padding: 100px 0 40px;
        margin-bottom: 40px;
    }

    .media__tabs::before,
    .media__tabs-button.media__tabs-button--active::after {
        content: unset;
    }

    .media__tabs-button__icon {
        margin: 0 auto;
    }

    .media__tabs {
        gap: 5px;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .media__tabs-button {
        height: 140px;
        width: 49%;
        padding: 10px;
        display: flex;
        gap: 20px;
        flex-direction: column;
        justify-content: center;
        border: 1px solid rgba(255, 184, 0, 0.50);
        border-radius: 20px;
    }

    .media__tabs-button.media__tabs-button--active {
        border-color: #FFB800;
    }

    .media__tabs-button__name {
        padding: 0 5px;
    }

    .media__title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .media__hashtags-current {
        font-size: 28px;
    }

    .media-video__tour-name,
    .media-photo__tour-name {
        padding: 15px;
        font-size: 14px;
    }

    .media-video__tour-buy,
    .media-photo__tour-buy {
        display: block;
        left: 50%;
        bottom: -10px;
        border-radius: 20px 31px 0 31px;
        transform: translateX(-50%);
    }

    .media-video__tour-buy__price,
    .media-photo__tour-buy__price {
        padding: 13px;
        font-size: 19px;
    }

    .media-video__tour-buy__button,
    .media-photo__tour-buy__button {
        padding: 22px 0;
        width: 100%;
    }
}

@media (max-width: 370px) {
    .media-photo__cards {
        gap: 75px;
        margin-bottom: 95px;
    }

    .media-photo__card--no_title .media-photo__card-image {
        max-height: 171px;
    }

    .media-video__card-video {
        max-height: 170px;
    }

    .media-video__card-video::before {
        height: 50px;
    }
}