/* =========================================================
   AUTHOR DETAIL PAGE - KÖŞELİ GAZETE TASARIMI
   ========================================================= */

.author-detail-page{
    --author-red:#990000;
    --author-black:#111111;
    --author-bg:#f4f4f1;
    --author-card:#ffffff;
    --author-border:#deded8;
    --author-muted:#6b7280;
    --author-soft:#f8fafc;

    background:var(--author-bg);
    color:var(--author-black);
    font-family:Arial, Helvetica, sans-serif;
}

.author-detail-page *,
.author-detail-page *::before,
.author-detail-page *::after{
    box-sizing:border-box;
}

.author-detail-page a{
    text-decoration:none;
}

.author-detail-page img{
    max-width:100%;
}

/* =========================================================
   NOT FOUND / EMPTY
   ========================================================= */

.author-not-found{
    padding:60px 0;
    background:var(--author-bg);
}

.author-empty{
    background:#fff;
    border:1px solid var(--author-border);
    padding:46px 26px;
    text-align:center;
}

.author-empty.small{
    padding:42px 24px;
}

.author-empty-icon{
    font-size:46px;
    margin-bottom:12px;
}

.author-empty h1,
.author-empty h3{
    margin:0;
    color:#111;
    font-size:36px;
    line-height:1;
    font-weight:950;
    letter-spacing:-.035em;
}

.author-empty p{
    max-width:460px;
    margin:14px auto 22px;
    color:var(--author-muted);
    font-size:14px;
    line-height:1.55;
    font-weight:650;
}

.author-btn,
.author-empty a{
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 18px;
    background:var(--author-red);
    color:#fff;
    font-size:13px;
    font-weight:950;
    letter-spacing:.04em;
    text-transform:uppercase;
}

/* =========================================================
   HERO
   ========================================================= */

.author-detail-hero{
    background:var(--author-bg);
    padding:24px 0 34px;
    border-bottom:1px solid var(--author-border);
}

.author-hero-topline{
    position:relative;
    min-height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:26px;
}

.author-hero-topline::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:50%;
    height:1px;
    background:#999;
    transform:translateY(-50%);
}

.author-hero-topline span{
    position:relative;
    z-index:2;
    min-height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 34px;
    background:var(--author-red);
    color:#fff;
    font-size:22px;
    line-height:1;
    font-weight:950;
    letter-spacing:.04em;
    text-transform:uppercase;
    transform:skew(-10deg);
}

.author-detail-hero-inner{
    display:grid;
    grid-template-columns:minmax(0,1fr) 330px;
    gap:28px;
    align-items:stretch;
}

.author-profile-card{
    display:grid;
    grid-template-columns:245px minmax(0,1fr);
    background:#fff;
    border:1px solid var(--author-border);
    min-height:360px;
}

.author-profile-avatar{
    position:relative;
    background:#111;
    min-height:100%;
    overflow:hidden;
}

.author-profile-avatar::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.38));
}

.author-profile-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    filter:saturate(.95) contrast(1.05);
}

.author-profile-info{
    min-width:0;
    padding:30px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.author-breadcrumb{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    color:var(--author-muted);
    font-size:13px;
    margin-bottom:18px;
}

.author-breadcrumb a{
    color:#111;
    font-weight:900;
}

.author-breadcrumb strong{
    color:var(--author-muted);
    font-weight:800;
}

.author-profile-label{
    align-self:flex-start;
    min-height:28px;
    display:inline-flex;
    align-items:center;
    padding:5px 11px;
    background:var(--author-red);
    color:#fff;
    font-size:11px;
    font-weight:950;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin-bottom:16px;
}

.author-profile-info h1{
    margin:0;
    color:#111;
    font-family:Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
    font-size:clamp(46px,5.8vw,86px);
    line-height:.9;
    letter-spacing:-.055em;
    text-transform:uppercase;
    font-weight:900;
}

.author-profile-username{
    margin-top:12px;
    color:var(--author-red);
    font-size:15px;
    font-weight:950;
}

.author-profile-info p{
    max-width:760px;
    margin:20px 0 0;
    color:#374151;
    font-size:17px;
    line-height:1.58;
    font-weight:650;
}

.author-profile-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:20px;
}

.author-profile-meta span{
    min-height:34px;
    display:inline-flex;
    align-items:center;
    padding:6px 11px;
    background:#f8fafc;
    border:1px solid var(--author-border);
    color:#111;
    font-size:13px;
    font-weight:850;
}

/* =========================================================
   STAT BOXES
   ========================================================= */

.author-stat-grid{
    display:grid;
    grid-template-columns:1fr;
    background:#fff;
    border:1px solid var(--author-border);
}

.author-stat-box{
    padding:25px 20px;
    border-bottom:1px solid var(--author-border);
}

.author-stat-box:last-child{
    border-bottom:0;
}

.author-stat-box strong{
    display:block;
    color:#111;
    font-size:34px;
    line-height:1;
    font-weight:950;
}

.author-stat-box span{
    display:block;
    margin-top:8px;
    color:var(--author-muted);
    font-size:11px;
    font-weight:950;
    letter-spacing:.08em;
    text-transform:uppercase;
}

/* =========================================================
   CONTENT LAYOUT
   ========================================================= */

.author-detail-content{
    padding:34px 0 58px;
    background:var(--author-bg);
}

.author-detail-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 330px;
    gap:28px;
    align-items:start;
}

.author-main-col{
    min-width:0;
}

.author-side-col{
    position:sticky;
    top:90px;
    display:grid;
    gap:18px;
}

/* =========================================================
   SECTION HEAD
   ========================================================= */

.author-section-head{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:20px;
    background:#fff;
    border:1px solid var(--author-border);
    padding:25px;
    margin-bottom:24px;
}

.author-section-head span{
    min-height:26px;
    display:inline-flex;
    align-items:center;
    padding:4px 10px;
    background:#111;
    color:#fff;
    font-size:11px;
    font-weight:950;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin-bottom:10px;
}

.author-section-head h2{
    margin:0;
    color:#111;
    font-family:Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
    font-size:42px;
    line-height:.95;
    letter-spacing:-.045em;
    text-transform:uppercase;
    font-weight:900;
}

.author-section-head p{
    margin:8px 0 0;
    color:var(--author-muted);
    font-size:14px;
    font-weight:700;
}

.author-small-link{
    flex:0 0 auto;
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 15px;
    background:var(--author-red);
    color:#fff;
    font-size:13px;
    font-weight:950;
    letter-spacing:.04em;
    text-transform:uppercase;
}

/* =========================================================
   NEWS GRID
   ========================================================= */

.author-news-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
}

.author-news-card{
    display:grid;
    grid-template-columns:185px minmax(0,1fr);
    background:#fff;
    border:1px solid var(--author-border);
    min-height:240px;
    overflow:hidden;
}

.author-news-img{
    position:relative;
    display:block;
    min-height:100%;
    background:#111;
    overflow:hidden;
}

.author-news-img::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.42));
}

.author-news-img img{
    width:100%;
    height:100%;
    min-height:240px;
    object-fit:cover;
    display:block;
    transition:.25s ease;
}

.author-news-card:hover .author-news-img img{
    transform:scale(1.045);
}

.author-news-type{
    position:absolute;
    left:12px;
    top:12px;
    z-index:3;
    min-height:26px;
    display:inline-flex;
    align-items:center;
    padding:5px 9px;
    background:var(--author-red);
    color:#fff;
    font-size:10px;
    font-weight:950;
    letter-spacing:.05em;
    text-transform:uppercase;
}

.author-news-body{
    min-width:0;
    padding:18px;
    display:flex;
    flex-direction:column;
}

.author-news-cat{
    align-self:flex-start;
    min-height:25px;
    display:inline-flex;
    align-items:center;
    padding:4px 9px;
    background:var(--cat,var(--author-red));
    color:#fff;
    font-size:10px;
    font-weight:950;
    letter-spacing:.05em;
    text-transform:uppercase;
    margin-bottom:12px;
}

.author-news-body h3{
    margin:0;
    color:#111;
    font-family:Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
    font-size:27px;
    line-height:1.02;
    letter-spacing:-.035em;
    font-weight:900;
}

.author-news-body h3 a{
    color:#111;
}

.author-news-body h3 a:hover{
    color:var(--author-red);
}

.author-news-body p{
    margin:12px 0 0;
    color:#4b5563;
    font-size:13px;
    line-height:1.48;
    font-weight:600;
}

.author-news-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    flex-wrap:wrap;
    margin-top:auto;
    padding-top:14px;
    color:var(--author-muted);
    font-size:12px;
    font-weight:850;
}

/* =========================================================
   PAGER
   ========================================================= */

.author-pager{
    margin-top:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    flex-wrap:wrap;
}

.author-pager a,
.author-pager span{
    min-width:42px;
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--author-border);
    background:#fff;
    color:#111;
    padding:0 13px;
    font-size:14px;
    font-weight:950;
}

.author-pager .active{
    background:#111;
    color:#fff;
    border-color:#111;
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.author-side-card{
    background:#fff;
    border:1px solid var(--author-border);
}

.author-side-head{
    padding:15px 17px;
    background:#111;
    color:#fff;
}

.author-side-head h3{
    margin:0;
    color:#fff;
    font-family:Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
    font-size:25px;
    line-height:1;
    letter-spacing:-.035em;
    text-transform:uppercase;
}

.author-popular-list,
.other-author-list{
    display:grid;
}

.author-popular-item{
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    gap:11px;
    align-items:start;
    padding:14px 16px;
    border-bottom:1px solid var(--author-border);
    color:#111;
}

.author-popular-item:last-child{
    border-bottom:0;
}

.author-popular-item > span{
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--author-red);
    color:#fff;
    font-size:13px;
    font-weight:950;
}

.author-popular-item strong{
    display:block;
    color:#111;
    font-size:14px;
    line-height:1.3;
    font-weight:950;
}

.author-popular-item small{
    display:block;
    margin-top:4px;
    color:var(--author-muted);
    font-size:11px;
    font-weight:750;
}

.author-popular-item:hover strong{
    color:var(--author-red);
}

.other-author-item{
    display:grid;
    grid-template-columns:54px minmax(0,1fr);
    gap:12px;
    align-items:center;
    padding:14px 16px;
    border-bottom:1px solid var(--author-border);
    color:#111;
}

.other-author-item:last-child{
    border-bottom:0;
}

.other-author-item img{
    width:54px;
    height:54px;
    object-fit:cover;
    background:#111;
}

.other-author-item strong{
    display:block;
    color:#111;
    font-size:14px;
    line-height:1.25;
    font-weight:950;
}

.other-author-item small{
    display:block;
    margin-top:4px;
    color:var(--author-muted);
    font-size:11px;
    font-weight:750;
}

.other-author-item:hover strong{
    color:var(--author-red);
}

.author-back-card{
    padding:22px;
    background:#111;
    color:#fff;
    border-color:#111;
}

.author-back-card span{
    min-height:24px;
    display:inline-flex;
    align-items:center;
    padding:4px 9px;
    background:var(--author-red);
    color:#fff;
    font-size:10px;
    font-weight:950;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin-bottom:12px;
}

.author-back-card h3{
    margin:0;
    color:#fff;
    font-family:Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
    font-size:32px;
    line-height:.95;
    letter-spacing:-.035em;
    text-transform:uppercase;
}

.author-back-card p{
    margin:14px 0 18px;
    color:rgba(255,255,255,.74);
    font-size:14px;
    line-height:1.55;
    font-weight:600;
}

.author-back-card a{
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    color:#111;
    font-size:13px;
    font-weight:950;
    letter-spacing:.04em;
    text-transform:uppercase;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:1180px){
    .author-detail-hero-inner,
    .author-detail-layout{
        grid-template-columns:1fr;
    }

    .author-stat-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .author-stat-box{
        border-bottom:0;
        border-right:1px solid var(--author-border);
    }

    .author-stat-box:last-child{
        border-right:0;
    }

    .author-side-col{
        position:static;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .author-back-card{
        grid-column:1 / -1;
    }
}

@media(max-width:900px){
    .author-profile-card{
        grid-template-columns:1fr;
    }

    .author-profile-avatar{
        height:360px;
    }

    .author-news-grid{
        grid-template-columns:1fr;
    }

    .author-side-col{
        grid-template-columns:1fr;
    }
}

@media(max-width:640px){
    .author-detail-hero{
        padding-top:18px;
    }

    .author-hero-topline{
        justify-content:flex-start;
        margin-bottom:20px;
    }

    .author-hero-topline::before{
        display:none;
    }

    .author-hero-topline span{
        min-height:32px;
        padding:0 18px;
        font-size:17px;
        transform:none;
    }

    .author-profile-avatar{
        height:300px;
    }

    .author-profile-info{
        padding:22px;
    }

    .author-profile-info h1{
        font-size:52px;
    }

    .author-profile-info p{
        font-size:15px;
    }

    .author-stat-grid{
        grid-template-columns:1fr;
    }

    .author-stat-box{
        border-right:0;
        border-bottom:1px solid var(--author-border);
    }

    .author-stat-box:last-child{
        border-bottom:0;
    }

    .author-section-head{
        display:block;
        padding:22px;
    }

    .author-section-head h2{
        font-size:34px;
    }

    .author-small-link{
        margin-top:16px;
    }

    .author-news-card{
        grid-template-columns:1fr;
    }

    .author-news-img img{
        height:250px;
        min-height:250px;
    }

    .author-news-body h3{
        font-size:25px;
    }
}