
/* ==========================================================================
   ESTILOS EDITORIALES DE LA PÁGINA DE AUTOR - DAMA BLANCA ATLAS (MINIMAL)
   ========================================================================== */
.db-author-page {
    width: 100%;
    max-width: 1280px;
    margin: calc(var(--i2-header-h, 140px) + 20px) auto 6rem;
    padding: 0 var(--i2-page-margin, clamp(2rem, 5.5vw, 6.5rem));
    box-sizing: border-box;
    font-family: 'Object Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #121210;
    background-color: #ffffff;
}

@media (max-width: 900px) {
    .db-author-page {
        margin-top: calc(var(--i2-header-h, 70px) + 20px);
        padding: 0 clamp(1.5rem, 4vw, 3rem);
    }
}

/* Migas de Pan */
.db-author-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(18, 18, 16, 0.45);
    margin-bottom: 2rem;
}

.db-author-breadcrumb a {
    color: rgba(18, 18, 16, 0.45);
    text-decoration: none;
    transition: color 0.2s ease;
}

.db-author-breadcrumb a:hover {
    color: #121210;
}

.db-author-breadcrumb .sep {
    opacity: 0.35;
    color: rgba(18, 18, 16, 0.35);
}

.db-author-breadcrumb .current {
    color: #121210;
    font-weight: 500;
}

/* Hero de Autor - Fondo neutral #f4f4f4, 0px border radius */
.db-author-hero-card {
    background: #f4f4f4;
    border: none;
    border-radius: 0 !important;
    padding: clamp(2.5rem, 4.5vw, 4rem);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: clamp(2.5rem, 4vw, 4rem);
    align-items: center;
    margin-bottom: clamp(3rem, 5vw, 4.5rem);
    box-shadow: none;
    box-sizing: border-box;
}

.db-author-avatar-wrap {
    position: relative;
    border-radius: 0 !important;
    overflow: hidden;
    width: 280px;
    height: 280px;
    background: #e5e5e5;
    box-shadow: none;
}

.db-author-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 0 !important;
}

.db-author-hero-text h1 {
    font-family: 'Object Sans', sans-serif;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: #121210;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.db-author-tagline {
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(18, 18, 16, 0.8);
    margin-bottom: 1.8rem;
    font-weight: 300;
}

/* Stats / Highlights */
.db-author-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.2rem 0;
    border-top: 1px solid rgba(18, 18, 16, 0.08);
    border-bottom: 1px solid rgba(18, 18, 16, 0.08);
}

.db-author-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.db-author-stat-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #121210;
}

.db-author-stat-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(18, 18, 16, 0.55);
}

.db-author-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.db-btn-author {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #121210;
    color: #ffffff;
    padding: 0.75rem 1.4rem;
    border-radius: 0 !important;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #121210;
    transition: all 0.2s ease;
}

.db-btn-author:hover {
    background: #333333;
    border-color: #333333;
    color: #ffffff;
}

.db-btn-author.btn-outline {
    background: transparent;
    color: #121210;
    border: 1px solid rgba(18, 18, 16, 0.2);
}

.db-btn-author.btn-outline:hover {
    background: #121210;
    color: #ffffff;
    border-color: #121210;
}

/* Sección Biografía Editorial y Sidebar */
.db-author-bio-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 5rem;
    align-items: start;
}

.db-author-bio-content h2 {
    font-family: 'Object Sans', sans-serif;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    color: #121210;
    margin: 2.5rem 0 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(18, 18, 16, 0.08);
}

.db-author-bio-content h2:first-of-type {
    margin-top: 0;
}

.db-author-bio-content p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(18, 18, 16, 0.82);
    margin-bottom: 1.3rem;
    font-weight: 300;
}

.db-author-bio-content ul {
    margin: 1rem 0 1.5rem 1.4rem;
    padding: 0;
}

.db-author-bio-content li {
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(18, 18, 16, 0.82);
    margin-bottom: 0.6rem;
    font-weight: 300;
}

.db-author-bio-content blockquote {
    margin: 1.8rem 0;
    padding: 1.4rem 2rem;
    background: #f8f8f8;
    border-left: 3px solid #121210;
    border-radius: 0 !important;
    font-style: normal;
    color: #121210;
    line-height: 1.65;
    font-weight: 400;
}

/* Sidebar Prensa & Reconocimientos */
.db-author-sidebar-box {
    background: #f8f8f8;
    border: 1px solid rgba(18, 18, 16, 0.06);
    border-radius: 0 !important;
    padding: 2rem;
    margin-bottom: 2rem;
}

.db-author-sidebar-box h3 {
    font-family: 'Object Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #121210;
    margin: 0 0 1.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(18, 18, 16, 0.08);
}

.db-press-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.db-press-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(18, 18, 16, 0.06);
    border-radius: 0 !important;
    color: #121210;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.db-press-item a:hover {
    border-color: #121210;
    background: #fafafa;
    color: #121210;
}

.db-press-item span {
    font-size: 0.68rem;
    color: rgba(18, 18, 16, 0.5);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Grid de Artículos del Autor */
.db-author-articles-section {
    margin-top: 5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(18, 18, 16, 0.08);
}

.db-author-articles-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.db-author-articles-header h2 {
    font-family: 'Object Sans', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    margin: 0;
    color: #121210;
}

.db-author-articles-count {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(18, 18, 16, 0.55);
    display: block;
    margin-bottom: 0.4rem;
}

.db-author-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.db-author-card-item {
    background: #ffffff;
    border: 1px solid rgba(18, 18, 16, 0.08);
    border-radius: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease;
    box-shadow: none;
}

.db-author-card-item:hover {
    border-color: #121210;
}

.db-author-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 0 !important;
}

.db-author-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0 !important;
}

.db-author-card-item:hover .db-author-card-img img {
    transform: scale(1.03);
}

.db-author-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.db-author-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
}

.db-author-card-meta .cat {
    color: #121210;
}

.db-author-card-meta time {
    color: rgba(18, 18, 16, 0.45);
}

.db-author-card-body h3 {
    font-family: 'Object Sans', sans-serif;
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 500;
    color: #121210;
    margin: 0 0 0.8rem;
}

.db-author-card-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.db-author-card-body h3 a:hover {
    color: rgba(18, 18, 16, 0.7);
}

.db-author-card-body p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(18, 18, 16, 0.7);
    margin: 0 0 1.5rem;
    flex-grow: 1;
    font-weight: 300;
}

.db-author-card-link {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #121210;
    text-decoration: none;
    border-bottom: 1px solid #121210;
    align-self: flex-start;
    padding-bottom: 0.2rem;
}

/* Responsividad */
@media (max-width: 960px) {
    .db-author-hero-card {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
    .db-author-avatar-wrap {
        width: 100%;
        max-width: 240px;
        height: 240px;
        margin: 0 auto;
    }
    .db-author-bio-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
