.top-session {
    position: relative;
    padding-top: 200px;
    padding-bottom: 255px;
    background-color: var(--c-bg-dark);
}

@media screen and (max-width: 768px) {
    .top-session {
        padding-top: 95px;
        padding-bottom: 220px;
    }
}

.session__inner {
    position: relative;
    background-color: var(--c-bg-light);
    padding-bottom: 70px;
}

@media screen and (max-width: 768px) {
    .session__inner {
        padding-bottom: 20px;
    }
}

.session__header {
    position: relative;
    z-index: 2;
    height: 160px;
    padding-left: 70px;
}

@media screen and (max-width: 768px) {
    .session__header {
        height: 120px;
        padding-left: 25px;
    }
}

.session__header__text-box {
    position: relative;
    z-index: 2;
    padding-top: 40px;
}

@media screen and (max-width: 768px) {
    .session__header__text-box {
        padding-top: 25px;
    }
}

.session__header__text-box__title {
    display: block;
    position: relative;
    color: var(--c-white);
    font-family: var(--font-header);
    font-size: 26px;
    line-height: 1.6;
}

.session__header__text-box__title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -102px;
    width: 74px;
    height: 4px;
    margin-top: -2px;
    z-index: 1;
    background-color: var(--c-accent);
}

@media screen and (max-width: 768px) {
    .session__header__text-box__title::before {
        width: 35px;
        height: 2px;
        top: 18px;
        left: -45px;
    }
}

.session__header__text-box__subtitle-box {
    position: relative;
    display: inline-block;
}

.session__header__text-box__subtitle-box__text {
    display: inline-block;
    margin-top: -10px;
    color: var(--c-white);
    font-family: var(--font-header);
    font-size: 46px;
}

.session__header__text-box__subtitle-box__number {
    padding: 3px 6px;
    position: absolute;
    top: -10px;
    left: 100%;
    background-color: var(--c-accent);
    color: var(--c-black);
    font-size: 13px;
    font-weight: 600;
}

.session__header__title-box {
    position: absolute;
    top: -5px;
    left: 10px;
    pointer-events: auto;
    user-select: none;
}

@media screen and (max-width: 768px) {
    .session__header__title-box {
        top: 0;
    }
}

.session__header__title-box__text {
    color: rgba(255, 255, 255, .08);
    font-family: var(--font-header);
    font-size: 159px;
    line-height: 1;
    text-transform: uppercase;
}

@media screen and (max-width: 768px) {
    .session__header__title-box__text {
        font-size: 100px;
    }
}

.session__body {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 20px;
    padding-right: 70px;
    padding-left: 70px;
}

@media screen and (max-width: 768px) {
    .session__body {
        padding-top: 0;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.session__body__title-box {
    color: var(--c-black);
    font-family: var(--font-header);
    font-size: 27px;
    line-height: calc(53 / 27);
}

.session__body__title-box__text {
    display: inline-block;
    padding: 12px 34px 12px 33px;
    background-color: var(--c-accent);
}

.session__box {
    overflow: hidden;
}

.session__item {
    display: block;
    position: relative;
    width: 20%;
    float: left;
}

@media screen and (max-width: 600px) {
    .session__item {
        width: 50%;
    }
}

.session__item:first-child {
    width: calc(40% - 1px);
}

@media screen and (max-width: 600px) {
    .session__item:first-child {
        width: 100%;
    }
}

.session__item::before {
    content: '';
    display: block;
    padding-top: var(--session-proportion-photo);
}

@media screen and (max-width: 600px) {
    .session__item--more {
        width: 100%;
    }

    .session__item--more::before {
        padding-top: calc(var(--session-proportion-photo) / 2);
    }
}

.session__item__content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.session__item__content__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform .5s ease;
}

.category__item:hover .session__item__content__img {
    transform: scale(1.05);
}

.session__item__content__hover {
    display: flex;
    align-items: flex-end;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 15px;
    background-color: rgba(165, 222, 203, .65);
    transform: scale(0);
    transition: transform .2s ease;
}

.session__item:hover .session__item__content__hover {
    transform: scale(1);
}

.session__item__content__hover__zoom {
    position: absolute;
    top: 50%;
    right: 50%;
    margin-top: -24px;
    margin-right: -24px;
    width: 48px;
    height: 48px;
}

.session__item__content__hover__text {
    color: var(--c-white);
    font-family: var(--font-header);
    font-size: 20px;
    line-height: calc(35 / 20);
}

.session__item__content__more {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 15px;
    background-color: #4a4a4a;
    transition: background-color .2s ease;
}

.session__item__content__more__text {
    color: var(--c-white);
    font-family: var(--font-header);
    font-size: 26px;
    line-height: calc(23 / 26);
    letter-spacing: -.03em;
    text-align: center;
}

.session__item:hover .session__item__content__more {
    background-color: var(--c-accent);
}

/* Overrides the .other-category rules from gallery.css on every page (both stylesheets are global). */
.other-category {
    padding-bottom: 120px;
    background-color: var(--c-bg-light);
}

@media screen and (max-width: 768px) {
    .other-category {
        padding-bottom: 40px;
    }
}

.other-category__inner {
    position: relative;
    z-index: 2;
    margin-top: -165px;
}

.other-category__header-box {
    height: 165px;
    background-color: var(--c-accent);
    padding-left: 70px;
    padding-top: 40px;
}

@media screen and (max-width: 768px) {
    .other-category__header-box {
        height: auto;
        padding-top: 15px;
        padding-left: 20px;
        padding-bottom: 60px;
    }
}

.other-category__header-box__title {
    display: block;
    position: relative;
    z-index: 2;
    color: var(--c-black);
    font-family: var(--font-header);
    font-size: 54px;
}

@media screen and (max-width: 1024px) {
    .other-category__header-box__title {
        font-size: 38px;
    }
}

@media screen and (max-width: 768px) {
    .other-category__header-box__title {
        font-size: 30px;
    }
}

.other-category__header-box__title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    width: 74px;
    height: 4px;
    margin-top: -2px;
    z-index: 1;
    background-color: var(--c-white);
}

@media screen and (max-width: 768px) {
    .other-category__header-box__title::before {
        width: 35px;
        height: 2px;
        top: 18px;
        left: -45px;
    }
}

.other-category__box {
    position: relative;
    padding-left: 70px;
    padding-bottom: 20px;
    background-color: #434343;
}

@media screen and (max-width: 768px) {
    .other-category__box {
        padding-left: 20px;
        padding-bottom: 0;
    }
}

.other-category__box__inner {
    display: flex;
    position: relative;
    top: -40px;
}

@media screen and (max-width: 1024px) {
    .other-category__box__inner {
        flex-wrap: wrap;
    }
}

.other-category__item {
    width: 100%;
    display: block;
    position: relative;
}

@media screen and (max-width: 1024px) {
    .other-category__item {
        width: 25%;
    }
}

@media screen and (max-width: 600px) {
    .other-category__item {
        width: 50%;
    }
}

.other-category__item::before {
    content: '';
    display: block;
    padding-top: var(--other-category-proportion-photo);
}

.other-category__item--title::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: -70px;
    height: 150%;
    z-index: -1;
    background-color: var(--c-accent);
}

.other-category__item__content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.other-category__item__content__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform .5s ease;
}

.other-category__item:hover .other-category__item__content__img {
    transform: scale(1.05);
}

.other-category__item__content__text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
}

.other-category__item__content__text__inner {
    position: relative;
    padding: 3px 5px;
    background-color: var(--c-white);
}

.other-category__item__content__text__title {
    color: var(--c-black);
    font-family: var(--font-header);
    font-size: 22px;
    letter-spacing: -.05em;
}

.other-category__item__content__text__number {
    position: absolute;
    top: -15px;
    right: -15px;
    padding: 5px;
    background-color: var(--c-accent);
    color: var(--c-black);
    font-family: var(--font-special);
    font-weight: 700;
    font-size: 13px;
}

.other-category__link-hld {
    margin-top: 40px;
}

.other-category__link {
    display: block;
    text-align: right;
}

.other-category__link__text {
    color: var(--c-white);
    font-family: var(--font-header);
    font-size: 19px;
    line-height: calc(35 / 19);
    transition: color .2s ease;
}

.category__link:hover .other-category__link__text {
    color: var(--c-accent);
}

.other-category__link__icon {
    position: relative;
    top: 8px;
    width: 30px;
    margin-left: 5px;
    transform: translateX(0);
    transition: transform .2s ease;
}

.category__link:hover .other-category__link__icon {
    transform: translateX(10px);
}
