/* Perfil de autor: contraste y jerarquia visual sobre el fondo Habililab. */
.habililab-page .author-hero {
    padding: 84px 0 38px;
}

.habililab-page .author-hero__grid {
    gap: 38px;
}

.habililab-page .author-hero__photo {
    background: #01091e;
    border: 2px solid rgba(0, 224, 255, 0.62);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(1, 9, 30, 0.34), 0 0 0 7px rgba(0, 224, 255, 0.08);
    color: #fafafa;
}

.habililab-page .author-hero .breadcrumb {
    color: rgba(219, 232, 243, 0.74);
    margin: 0 0 22px;
}

.habililab-page .author-hero .eyebrow {
    color: #00e0ff;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.habililab-page .author-hero h1 {
    color: #fafafa;
    font-family: Quicksand, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    text-shadow: 0 2px 18px rgba(1, 9, 30, 0.32);
}

.habililab-page .author-hero .lead {
    color: #dbe8f3;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.58;
    margin: 18px 0 0;
    max-width: 900px;
}

.habililab-page .author-social-links a {
    background: rgba(1, 9, 30, 0.45);
    border-color: rgba(0, 224, 255, 0.44);
    color: #fafafa;
}

.habililab-page .author-social-links a:hover {
    background: #00e0ff;
    border-color: #00e0ff;
    color: #003b73;
}

.habililab-page .author-content-section {
    padding-top: 26px;
}

.habililab-page .author-content-section .content-layout {
    align-items: start;
    gap: 28px;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.7fr);
}

.habililab-page .author-bio,
.habililab-page .author-content-section .sidebar .panel {
    background: rgba(1, 9, 30, 0.78);
    border: 1px solid rgba(0, 224, 255, 0.26);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(1, 9, 30, 0.2);
}

.habililab-page .author-bio {
    color: #dbe8f3;
    font-size: 18px;
    line-height: 1.76;
    padding: clamp(26px, 4vw, 42px);
}

.habililab-page .author-bio h2,
.habililab-page .author-content-section .sidebar h2 {
    color: #fafafa;
    font-family: Quicksand, Arial, sans-serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.15;
}

.habililab-page .author-bio h2 {
    border-left: 4px solid #00e0ff;
    margin-bottom: 18px;
    padding-left: 14px;
}

.habililab-page .author-bio p {
    color: #dbe8f3;
}

.habililab-page .author-content-section .sidebar .panel {
    border-top: 3px solid #00a7a0;
    padding: 26px;
}

.habililab-page .author-content-section .sidebar h2 {
    font-size: 22px;
    margin: 0 0 10px;
}

.habililab-page .author-content-section .sidebar p {
    color: #c8d8e3;
    line-height: 1.55;
    margin: 0;
}

.habililab-page .author-posts-section {
    padding-top: 24px;
}

.habililab-page .author-posts-section .section-title {
    align-items: center;
    border-bottom: 1px solid rgba(0, 224, 255, 0.25);
    margin-bottom: 26px;
    padding-bottom: 18px;
}

.habililab-page .author-posts-section .section-title h2 {
    color: #fafafa;
    font-family: Quicksand, Arial, sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
}

.habililab-page .author-posts-section .section-title a {
    color: #00e0ff;
    font-weight: 700;
}

.habililab-page .author-posts-section .empty-public {
    background: rgba(1, 9, 30, 0.72);
    border: 1px solid rgba(0, 224, 255, 0.22);
    border-radius: 14px;
    color: #dbe8f3;
}

.habililab-page .author-posts-section .empty-public h2 {
    color: #fafafa;
}

@media (max-width: 820px) {
    .habililab-page .author-hero {
        padding: 54px 0 26px;
    }

    .habililab-page .author-content-section .content-layout {
        grid-template-columns: 1fr;
    }

    .habililab-page .author-bio {
        font-size: 17px;
        padding: 26px 22px;
    }
}
