/* Radial Authors minimal styles
   WCAG 2.2 AA minded; neutral, theme-friendly.
   v1.0.1: smaller avatar, visible heading, float clearing. */

.c-insight-author,
.c-insight-author-bio {
    display: block;
    clear: both;
    margin-left: auto;
    margin-right: auto;
    max-width: 940px;
    padding: 0 16px;
}

.c-insight-author {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.c-insight-author-bio {
    margin-top: 64px !important;
    margin-bottom: 64px !important;
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
    .c-insight-author,
    .c-insight-author-bio {
        padding: 0 32px;
    }
}

@media screen and (min-width: 1024px) {
    .c-insight-author,
    .c-insight-author-bio {
        padding: 0;
    }
}

@media screen and (min-width: 1920px) {
    .c-insight-author,
    .c-insight-author-bio {
        max-width: 1121px;
    }
}

.c-insight-author__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.c-insight-author__item {
    display: block;
}

/* Constrain avatar strongly and keep it square regardless of source ratio */
.c-insight-author__avatar {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    object-fit: cover;
}

.c-insight-author__text {
    display: flex;
    flex-direction: column;
}

.c-insight-author__name {
    color: #2B2872;
    font-family: Karla, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

.c-insight-author__title {
    font-size: 0.9375rem;
    line-height: 1.4;
}

.c-insight-author-bio__heading {
    margin: 0 0 0.75rem 0;
    font-weight: 600;
    line-height: 1.3;
}

.c-insight-author-bio__entry {
    display: grid;
    grid-template-columns: 176px 1fr;
    gap: 28px;
    align-items: start;
    border-top: 2px solid #EFF1F5;
    padding-top: 30px;
}

.c-insight-author-bio__entry+.c-insight-author-bio__entry {
    margin-top: 30px;
}

.c-insight-author-bio__image {
    width: 176px;
    height: 228px;
    overflow: visible;
    position: relative;
}

.c-insight-author-bio__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.c-insight-author-bio__image::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 100px;
    width: 75px;
    height: 82px;
    border-top: 4px solid #B9C0D4;
    border-right: 4px solid #B9C0D4;
    pointer-events: none;
}

.c-insight-author-bio__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.c-insight-author-bio__header {
    display: flex;
    flex-direction: column;
}

.c-insight-author-bio__name {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 32px;
    color: #171F27;
}

.c-insight-author-bio__title {
    margin: 0;
    font-family: Karla, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    color: #171F27;
}

.c-insight-author-bio__text p{
    font-family: Karla, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
}

.c-insight-author-bio__text p {
    margin: 0;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Avatar styles kept for bio section usage */
@media (min-width: 640px) {
    .c-insight-author__avatar {
        width: 64px;
        height: 64px;
    }
}

@media (min-width: 960px) {
    .c-insight-author__avatar {
        width: 72px;
        height: 72px;
    }
}

/* Responsive bio section */
@media (max-width: 767px) {
    .c-insight-author-bio__entry {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 24px;
    }

    .c-insight-author-bio__image {
        width: 100%;
        height: auto;
        max-width: 200px;
    }

    .c-insight-author-bio__image img {
        aspect-ratio: 176 / 228;
    }

    .c-insight-author-bio__image::after {
        left: calc(100% - 75px - 4px);
    }
}

/* Utility: screen-reader-text (kept for compatibility if used elsewhere) */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}

.screen-reader-text:focus {
    position: static !important;
    clip: auto !important;
    height: auto !important;
    width: auto !important;
}