.viewpoint-intro {
    margin-bottom: 42px;
}

.viewpoint-byline {
    color: #6F625C;
    font-family: var(--font-headers);
    font-size: 18px;
    line-height: 1.4;
    margin: -26px 0 32px;
}

.viewpoint-byline .text-link {
    font-family: var(--font-links);
    white-space: nowrap;
}

.viewpoint-card strong,
.viewpoint-tip strong {
    color: var(--header-color);
    font-family: var(--font-links);
}

.viewpoint-card-list {
    display: grid;
    gap: 40px;
    margin: 25px 0 60px;
}

.viewpoint-card {
    display: grid;
    gap: 18px;
    scroll-margin-top: 24px;
}

.viewpoint-card-header {
    background-color: transparent;
    display: block;
    font-family: inherit;
    position: static;
    top: auto;
    width: auto;
    z-index: auto;
}

.viewpoint-title-row {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.viewpoint-card h2,
.author-name {
    font-size: 30px;
    line-height: 1.15;
    margin: 0;
    min-width: 0;
}

.viewpoint-card-header p {
    color: #6F625C;
    font-family: var(--font-headers);
    font-size: 17px;
    line-height: 1.35;
    margin: 6px 0 0;
}

.viewpoint-media-grid {
    display: block;
}

.viewpoint-photo-frame {
    border-radius: 8px;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.viewpoint-photo-meta {
    display: block;
}

.viewpoint-photo,
.viewpoint-photo-stack {
    border-radius: 8px;
    display: block;
    overflow: hidden;
}

.viewpoint-photo img,
.viewpoint-photo-stack img {
    aspect-ratio: 2 / 1;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.viewpoint-photo-stack {
    display: grid;
    gap: 8px;
}

.viewpoint-photo-stack.is-rotating {
    aspect-ratio: 2 / 1;
    display: block;
    position: relative;
}

.viewpoint-photo-stack.is-rotating img {
    height: 100%;
    inset: 0;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    position: absolute;
    transition: opacity 1400ms ease-in-out;
}

.viewpoint-photo-stack.is-rotating img.is-active {
    opacity: 1;
    z-index: 1;
}

.viewpoint-access,
.viewpoint-lens {
    background-color: rgba(255, 252, 247, 0.94);
    border-radius: 4px;
    color: var(--header-color);
    font-family: var(--font-links);
    font-size: 15px;
    line-height: 1.2;
    padding: 6px 9px;
    position: absolute;
    z-index: 2;
}

.viewpoint-access {
    left: 12px;
    top: 12px;
}

.viewpoint-paid {
    background-color: rgba(38, 38, 38, 0.92);
    color: #FFFCF7;
}

.viewpoint-lens {
    bottom: 12px;
    right: 12px;
}

.viewpoint-map-link {
    align-items: center;
    background-color: var(--background-buttons-color);
    border-radius: var(--button-border-radius, 25px);
    color: var(--text-main-color);
    display: inline-flex;
    font-family: var(--font-links);
    font-size: 16px;
    justify-content: center;
    line-height: 1.2;
    min-height: 42px;
    padding: 10px 14px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.viewpoint-map-link:hover {
    background-color: #FFFCF7;
}

.viewpoint-tip {
    background-color: var(--background-light);
    border-radius: 8px;
    font-family: var(--font-headers);
    font-size: 18px;
    line-height: 1.45;
    margin: 0;
    padding: 14px;
}

.viewpoint-faq-note {
    margin-top: 60px;
}

.author-widget {
    align-items: center;
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    margin: 70px 0 10px;
    scroll-margin-top: 100px;
}

.author-photo-frame {
    justify-self: center;
    max-width: 260px;
    width: 100%;
}

.author-photo {
    aspect-ratio: 1;
    border-radius: 50%;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.author-content {
    min-width: 0;
}

.author-role {
    color: var(--header-color);
    font-family: var(--font-headers);
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 18px;
}

.author-bio {
    color: var(--text-main-color);
    font-family: var(--font-headers);
    font-size: 18px;
    line-height: 1.45;
    margin: 0;
}

.author-social-links {
    border-top: 1px solid rgba(204, 165, 145, 0.6);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 22px;
    padding-top: 20px;
}

.author-social-links a {
    align-items: center;
    color: var(--text-main-color);
    display: inline-flex;
    font-family: var(--font-links);
    font-size: 16px;
    gap: 8px;
    line-height: 1.2;
    min-width: 0;
    text-decoration: none;
}

.author-social-links a:hover {
    color: var(--header-color);
}

.author-social-icon {
    display: block;
    flex: 0 0 auto;
    height: 30px;
    object-fit: contain;
    width: auto;
}

.author-social-links span:last-child {
    overflow-wrap: anywhere;
}

@media (max-width: 799px) {
    .viewpoint-byline {
        font-size: 17px;
        margin: -26px 0 28px;
    }

    .viewpoint-card-header .viewpoint-map-link {
        white-space: nowrap;
    }

    .viewpoint-card h2,
    .author-name {
        font-size: 24px;
    }

    .viewpoint-photo img,
    .viewpoint-photo-stack img {
        aspect-ratio: 16 / 9;
    }

    .viewpoint-photo-stack.is-rotating {
        aspect-ratio: 16 / 9;
    }

    .author-widget {
        gap: 24px;
        grid-template-columns: 1fr;
        margin-top: 58px;
    }

    .author-photo-frame {
        max-width: min(260px, 68vw);
    }

    .author-role {
        font-size: 20px;
        text-align: center;
    }

    .author-name {
        text-align: center;
    }

    .author-bio {
        font-size: 17px;
    }

    .author-social-links {
        justify-content: center;
    }
}
