/*
 * Notification archive and single, ReelHot single, team member single.
 * Notifications copy staging's hello-elementor theme (.site-main widths
 * 1140 / 800 / 600 / 500, browser-default headings and links); the ReelHot
 * page copies the single-post template 2821 (612px column).
 */

/* hello-elementor .site-main */
.rm-site-main {
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 575px) {
    .rm-site-main {
        padding: 0 10px;
    }
}

@media (min-width: 576px) {
    .rm-site-main {
        max-width: 500px;
    }
}

@media (min-width: 768px) {
    .rm-site-main {
        max-width: 600px;
    }
}

@media (min-width: 992px) {
    .rm-site-main {
        max-width: 800px;
    }
}

@media (min-width: 1200px) {
    .rm-site-main {
        max-width: 1140px;
    }
}

.rm-site-main {
    line-height: 22.88px;
}

.rm-page-content {
    display: flow-root;
}

.rm-page-content a {
    text-decoration: underline;
}

.rm-page-content p,
.rm-page-content ul,
.rm-page-content ol {
    margin: 1em 0;
}

.rm-page-content ul,
.rm-page-content ol {
    padding-left: 40px;
}

.rm-page-content h3 {
    margin: 1em 0;
    font-size: 1.17em;
    font-weight: 700;
}

.rm-page-content img {
    max-width: 100%;
    height: auto;
}

.rm-pagination {
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
}

/* ReelHot */
.rm-reelhot {
    padding: 0 var(--rm-gutter);
}

.rm-reelhot__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 612px;
    margin: 0 auto;
    padding: 10px 0;
}

.rm-reelhot__image,
.rm-reelhot__image img {
    display: block;
    width: 100%;
}

.rm-reelhot__title {
    margin: 0;
    font-size: var(--rm-type-28);
    font-weight: 400;
    line-height: 1.05;
}

.rm-reelhot__button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 30px;
    background: var(--rm-black);
    color: var(--rm-white);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: background-color .4s;
}

.rm-reelhot__button:hover,
.rm-reelhot__button:focus-visible {
    background: var(--rm-grey);
}

.rm-reelhot__button svg {
    flex: none;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Team member */
.rm-member {
    padding: 40px var(--rm-gutter) 80px;
}

.rm-member__card {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: var(--rm-content);
    margin: 0 auto;
}

.rm-member__photo {
    flex: 0 0 400px;
    height: 460px;
    overflow: hidden;
    border-radius: 40px;
    background: var(--rm-grey-medium);
}

.rm-member__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rm-member__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.rm-member__name {
    margin: 0;
    font-size: var(--rm-type-80);
    font-weight: 400;
    line-height: 1.05;
}

.rm-member__role {
    margin: 0 0 24px;
    color: var(--rm-grey);
    font-size: var(--rm-type-20l);
    font-weight: 300;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .rm-member {
        padding: 20px var(--rm-gutter) 60px;
    }

    .rm-member__card {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .rm-member__photo {
        flex-basis: auto;
        height: 420px;
        border-radius: 25px;
    }
}
