/*
 * Figma source: Other-pages, node 2691:8341 (Desktop 1920)
 * Desktop values below follow the supplied Figma node.
 */

:root {
    --wisery-white: #ffffff;
    --wisery-black: #0f0d12;
    --wisery-text: #140e14;
    --wisery-muted: #63636b;
    --wisery-border: #d0d0d5;
    --wisery-primary: #ffe135;
    --wisery-content-width: 1240px;
}

.wisery-author-page,
.wisery-author-page *,
.wisery-author-page *::before,
.wisery-author-page *::after,
.wisery-author-profile,
.wisery-author-profile *,
.wisery-author-profile *::before,
.wisery-author-profile *::after,
.wisery-author-articles,
.wisery-author-articles *,
.wisery-author-articles *::before,
.wisery-author-articles *::after {
    box-sizing: border-box;
}

.wisery-author-page {
    width: min(100%, var(--wisery-content-width));
    margin: 0;
}

.wisery-author-profile {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 50px;
    align-items: center;
    width: 100%;
    margin: 0;
    color: var(--wisery-text);
}

.wisery-author-profile__media {
    width: 300px;
    height: 300px;
}

.wisery-author-profile__image,
.wisery-author-profile img.sab-custom-avatar {
    display: block;
    width: 300px;
    height: 300px;
    max-width: 300px;
    object-fit: cover;
    border-radius: 30px;
}

.wisery-author-profile__content {
    min-width: 0;
}

.wisery-author-profile .wisery-author-profile__name {
    margin: 0 0 20px !important;
    color: var(--wisery-text) !important;
    font-family: "Jost", sans-serif !important;
    font-size: 50px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 45px !important;
    letter-spacing: -0.02em !important;
    text-transform: uppercase;
}

.wisery-author-profile__bio,
.wisery-author-profile__bio p {
    width: 100%;
    color: var(--wisery-text) !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 25px !important;
    letter-spacing: 0 !important;
}

.wisery-author-profile__bio > :first-child {
    margin-top: 0;
}

.wisery-author-profile__bio > :last-child {
    margin-bottom: 0;
}

.wisery-author-profile__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.wisery-author-profile__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 1px solid var(--wisery-black);
    border-radius: 50%;
    color: var(--wisery-black);
    background: transparent;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.wisery-author-profile__social svg {
    display: block;
    width: 22px;
    height: 22px;
}

.wisery-author-profile__social:hover {
    color: var(--wisery-white);
    background: var(--wisery-black);
    transform: translateY(-1px);
}

.wisery-author-profile__social:focus-visible,
.wisery-article-card__link:focus-visible,
.wisery-author-pagination a:focus-visible {
    outline: 2px solid var(--wisery-black);
    outline-offset: 3px;
}

.wisery-author-page__articles {
    margin-top: 100px;
}

.wisery-author-articles {
    width: 100%;
    margin-inline: 0;
}

.wisery-author-articles .wisery-author-articles__title {
    margin: 0 !important;
    color: var(--wisery-text) !important;
    font-family: "Jost", sans-serif !important;
    font-size: 40px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 40px !important;
    letter-spacing: 0 !important;
    text-transform: uppercase;
}

.wisery-author-articles__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.wisery-article-card {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--wisery-border);
    border-radius: 30px;
}

.wisery-article-card__link {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    padding: 20px;
    color: inherit;
    text-decoration: none;
}

.wisery-article-card__media {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 360 / 190;
    background: #f3f3f5;
}

.wisery-article-card__image,
.wisery-article-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.wisery-article-card__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 10px 5px;
}

.wisery-article-card .wisery-article-card__title {
    margin: 0 !important;
    color: var(--wisery-black) !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 30px !important;
    letter-spacing: 0 !important;
}

.wisery-article-card__date {
    margin: 0;
    color: var(--wisery-muted) !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 25px !important;
    letter-spacing: 0 !important;
}

.wisery-article-card__link:hover .wisery-article-card__image {
    transform: scale(1.015);
}

.wisery-article-card__image {
    transition: transform 180ms ease;
}

.wisery-author-articles__empty {
    margin: 40px 0 0;
    color: var(--wisery-muted);
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 25px;
}

.wisery-author-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
}

.wisery-author-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--wisery-border);
    border-radius: 999px;
    color: var(--wisery-black);
    background: var(--wisery-white);
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 20px;
    text-decoration: none;
}

.wisery-author-pagination .page-numbers.current,
.wisery-author-pagination a.page-numbers:hover {
    border-color: var(--wisery-black);
    color: var(--wisery-white);
    background: var(--wisery-black);
}

.wisery-author-profile-debug {
    overflow: auto;
    padding: 16px;
    background: #f5f5f5;
    color: #111;
    font-size: 12px;
    white-space: pre-wrap;
}

@media(max-width: 1440px) {
    .elementor-element-4089dce .e-con-inner {
        max-width: 1440px;
        padding-left: 100px;
        padding-right: 100px;
        margin: 0 auto;
        margin-top: 100px;
    }
}

@media(max-width: 1280px) {
    .elementor-element-4089dce .e-con-inner {
        max-width: 100%;
        padding-left: 40px;
        padding-right: 40px;
        margin: 0 auto;
        margin-top: 100px;
    }
}

@media (max-width: 1024px) {
    .wisery-author-profile {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 36px;
    }

    .wisery-author-profile__media,
    .wisery-author-profile__image,
    .wisery-author-profile img.sab-custom-avatar {
        width: 260px;
        height: 260px;
        max-width: 260px;
    }

    .wisery-author-articles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .wisery-author-profile .wisery-author-profile__name {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    .wisery-author-profile {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        align-items: start;
    }

    .wisery-author-profile__media,
    .wisery-author-profile__image,
    .wisery-author-profile img.sab-custom-avatar {
        width: 100%;
        height: auto;
        max-width: 100%;
        aspect-ratio: 1;
        margin-top: 100px;
    }
    
    .wisery-author-page {
        padding-left: 20px;
        padding-right: 20px;
    }

    .wisery-author-page__articles {
        margin-top: 72px;
    }

    .wisery-author-articles__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
