/* Excel Útil — editorial authorship */
.avg-author-signature {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: -0.25rem 0 1.75rem;
    color: #dbeafe;
}
.avg-author-signature a { color: inherit; text-decoration: none; }
.avg-author-signature__person,
.avg-author-signature__review {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 44px;
}
.avg-author-signature__avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.8);
    box-shadow: 0 4px 16px rgba(15,23,42,.22);
}
.avg-author-signature__label {
    display: block;
    color: #bfdbfe;
    font-size: .72rem;
    line-height: 1.15;
    letter-spacing: .025em;
}
.avg-author-signature strong { display: block; color: #fff; font-size: .92rem; line-height: 1.35; }
.avg-author-signature__divider { width: 1px; height: 32px; background: rgba(255,255,255,.28); }
.avg-author-signature__check {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    color: #14532d;
    background: #bbf7d0;
    font-weight: 800;
}

.avg-author-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, .62fr);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}
.avg-author-box__person {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    padding: 1.5rem;
}
.avg-author-box__portrait { display: block; line-height: 0; }
.avg-author-box__avatar {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 999px;
}
.avg-author-box__body,
.avg-author-review__body { min-width: 0; overflow-wrap: anywhere; }
.avg-author-box__label,
.avg-author-review__label,
.avg-author-profile__kicker {
    display: block;
    color: #64748b;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .055em;
    line-height: 1.3;
    text-transform: uppercase;
}
.avg-author-box__name,
.avg-author-review__name { margin: .22rem 0 .15rem; color: #0f172a; font-weight: 700; line-height: 1.2; }
.avg-author-box__name { font-size: 1.3rem; }
.avg-author-review__name { font-size: 1rem; }
.avg-author-box__name a,
.avg-author-review__name a { color: inherit; text-decoration: none; }
.avg-author-box__role { margin: 0 0 .55rem !important; color: #2563eb !important; font-size: .88rem; font-weight: 700; }
.avg-author-box__bio { margin: 0 0 .5rem; color: #475569; font-size: .9rem; line-height: 1.55; }
.avg-author-box__link,
.avg-author-review__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #1d4ed8;
    font-size: .86rem;
    font-weight: 750;
    text-decoration: none;
}
.avg-author-review {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: .8rem;
    align-content: center;
    padding: 1.5rem;
    border-left: 1px solid #dcfce7;
    background: #f7fcf9;
}
.avg-author-review__check {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #166534;
    background: #dcfce7;
    font-weight: 800;
}
.avg-author-review__label { color: #166534; }
.avg-author-review p { margin: .5rem 0 .35rem; color: #475569; font-size: .84rem; line-height: 1.5; }

.avg-author-profile { color: #334155; background: #fff; }
.avg-author-profile__hero { padding: 4.5rem 1rem; background: linear-gradient(135deg, #0f2c5c 0%, #174ea6 70%, #1d4ed8 100%); color: #fff; }
.avg-author-profile__inner { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 2.5rem; align-items: center; max-width: 1120px; margin: 0 auto; }
.avg-author-profile__portrait img { width: 220px; height: 220px; object-fit: cover; border: 4px solid rgba(255,255,255,.88); border-radius: 1.5rem; box-shadow: 0 22px 54px rgba(15,23,42,.35); }
.avg-author-profile__hero .avg-author-profile__kicker { color: #bfdbfe; }
.avg-author-profile h1 { margin: .45rem 0 .35rem; color: #fff; font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.05; }
.avg-author-profile__role { margin: 0 0 1rem; color: #bbf7d0; font-size: 1.15rem; font-weight: 800; }
.avg-author-profile__bio { max-width: 48rem; margin: 0; color: #dbeafe; font-size: 1.05rem; line-height: 1.75; }
.avg-author-profile__disclosure { max-width: 48rem; margin: 1.15rem 0 0; padding: .85rem 1rem; border: 1px solid rgba(255,255,255,.22); border-radius: .75rem; color: #e2e8f0; background: rgba(15,23,42,.2); font-size: .82rem; line-height: 1.55; }
.avg-author-profile__method,
.avg-author-profile__work { max-width: 1120px; margin: 0 auto; padding: 3.5rem 1rem; }
.avg-author-profile__method { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; border-bottom: 1px solid #e2e8f0; }
.avg-author-profile__method h2,
.avg-author-profile__section-heading h2 { margin: .4rem 0 0; color: #0f172a; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.2; }
.avg-author-profile__method > p { margin: 0; color: #475569; font-size: 1.03rem; line-height: 1.75; }
.avg-author-profile__section-heading { margin-bottom: 1.5rem; }
.avg-author-profile__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }

@media (max-width: 900px) {
    .avg-author-box { grid-template-columns: 1fr; }
    .avg-author-review { border-top: 1px solid #dcfce7; border-left: 0; }
    .avg-author-profile__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
    .avg-author-signature { align-items: flex-start; gap: .55rem 1rem; }
    .avg-author-signature__divider { display: none; }
    .avg-author-signature__review { flex-basis: 100%; }
    .avg-author-box__person { grid-template-columns: 68px minmax(0, 1fr); gap: .9rem; padding: 1.1rem; }
    .avg-author-box__avatar { width: 68px; height: 68px; }
    .avg-author-box__bio { grid-column: 1 / -1; }
    .avg-author-review { padding: 1.1rem; }
    .avg-author-profile__hero { padding: 3rem 1rem; }
    .avg-author-profile__inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .avg-author-profile__portrait img { width: 136px; height: 136px; border-radius: 1rem; }
    .avg-author-profile__method { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .avg-author-profile__grid { grid-template-columns: 1fr; }
}
