/**
 * Screenshot-style Post Author Hint.
 *
 * The legacy child classes remain in the markup for theme compatibility, but
 * the component owns a two-column grid so every text row stays aligned beside
 * the avatar instead of wrapping underneath it.
 */
.ut-post-author-hint.author-hint {
    --ut-author-hint-accent: var(--ut-blue-600, #2563EB);
    --ut-author-hint-border: var(--border-default-primary, #CFDBF4);
    --ut-author-hint-border-start: 5px;
    --ut-author-hint-column-gap: 20px;
    --ut-author-hint-padding-inline: 40px;
    --ut-author-hint-visual-column: 67px;
    display: grid;
    grid-template-columns: var(--ut-author-hint-visual-column) minmax(0, 1fr);
    column-gap: var(--ut-author-hint-column-gap);
    align-items: start;
    box-sizing: border-box;
    width: 100%;
    min-height: 0;
    position: relative;
    margin: var(--ut-spacing-lg, 24px) 0;
    padding: 32px var(--ut-author-hint-padding-inline);
    padding-left: calc(var(--ut-author-hint-padding-inline) - var(--ut-author-hint-border-start) + 1px);
    overflow: clip;
    border: 1px solid var(--ut-author-hint-border);
    border-left: var(--ut-author-hint-border-start) solid var(--ut-author-hint-accent);
    border-radius: var(--ut-radius-lg, 10px);
    box-shadow: none;
    background: var(--background-accent-default, #F8FAFF);
    color: var(--text-primary-color, #050745);
    font-family: var(--ut-font-family, 'Poppins', sans-serif);
}

.ut-post-author-hint.author-hint::before {
    content: none;
}

.ut-post-author-hint .author-avatar {
    grid-column: 1;
    justify-self: center;
    width: 80px;
    height: 80px;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    transform: translateX(calc((var(--ut-author-hint-column-gap) - var(--ut-author-hint-padding-inline) - 1px) / 2));
}

.ut-post-author-hint .author-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.ut-post-author-hint .author-avatar img.ut-avatar-default {
    box-sizing: border-box;
    padding: 14px;
    background: var(--ut-blue-900, #050745);
    object-fit: contain;
}

.ut-post-author-hint__avatar-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: var(--ut-blue-900, #050745);
    color: #fff;
    font-size: var(--ut-font-size-xl, 24px);
    font-weight: 700;
}

.ut-post-author-hint__content {
    grid-column: 2;
    min-width: 0;
}

.ut-post-author-hint__eyebrow {
    margin: 0 0 6px;
    color: var(--ut-author-hint-accent);
    font-size: var(--ut-font-size-sm, 14px);
    font-weight: 400;
    line-height: var(--ut-line-height-md, 1.55);
    text-transform: uppercase;
}

.ut-post-author-hint .author-name {
    margin: 0 0 8px;
    padding: 0;
    color: inherit;
    font-size: var(--ut-font-size-lg, 20px);
    font-weight: 700;
    line-height: var(--ut-line-height-sm, 1.35);
}

.ut-post-author-hint .author-comment {
    min-width: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: var(--ut-font-size-sm, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--ut-line-height-lg, 1.55);
}

.ut-post-author-hint--editor .author-comment {
    min-height: 1.55em;
    cursor: text;
}

.ut-post-author-hint--editor .author-comment:focus {
    outline: 2px solid var(--ut-author-hint-accent);
    outline-offset: 4px;
}

.ut-post-author-hint .author-comment p,
.post-content .ut-post-author-hint .author-comment p {
    margin: 0 0 12px;
}

.ut-post-author-hint .author-comment p:last-child,
.post-content .ut-post-author-hint .author-comment p:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .ut-post-author-hint.author-hint {
        --ut-author-hint-border-start: 4px;
        --ut-author-hint-column-gap: 12px;
        --ut-author-hint-padding-inline: 16px;
        --ut-author-hint-visual-column: 54px;
        padding-block: 16px;
        border-radius: 8px;
    }

    .ut-post-author-hint .author-avatar {
        width: 56px;
        height: 56px;
    }

    .ut-post-author-hint__eyebrow {
        font-size: 12px;
    }

    .ut-post-author-hint .author-name {
        font-size: var(--ut-font-size-md, 16px);
    }
}
