.article-layout-rich-profile {
    grid-template-columns: minmax(0, 1fr);
}

.article-layout-rich-profile .article-main,
.article-layout-rich-profile .article-content {
    max-width: none;
    min-width: 0;
}

.article-layout-rich-profile .article-main > h1 {
    max-width: 1080px;
    font-size: clamp(30px, 3.5vw, 44px);
}

.article-layout-rich-profile .article-main > .lead:empty {
    display: none;
}

.article-layout-rich-profile > .sidebar {
    margin-top: 24px;
}

/* =========================================================
   CRICKTIMES MS DHONI PROFILE — SCOPED CSS
========================================================= */

.ct-msd-profile{
    --ct-green:#086b43;
    --ct-green-dark:#064d32;
    --ct-green-soft:#eaf7f1;
    --ct-orange:#f7931e;
    --ct-orange-soft:#fff4e5;
    --ct-purple:#6a00d7;
    --ct-purple-soft:#f4ebff;
    --ct-red:#b42318;
    --ct-red-soft:#fff0ee;
    --ct-blue:#1769aa;
    --ct-blue-soft:#edf6ff;
    --ct-gold:#d49a17;
    --ct-dark:#171717;
    --ct-muted:#666;
    --ct-border:#e7e7e7;
    --ct-bg:#f7f8f8;
    --ct-white:#ffffff;

    font-family:
        "Noto Sans Devanagari",
        "Nirmala UI",
        "Mangal",
        Arial,
        sans-serif;

    color:var(--ct-dark);
    line-height:1.85;
    font-size:16px;
    max-width:1200px;
    margin:0 auto;
    padding:20px 14px 50px;
    box-sizing:border-box;
}

.ct-msd-profile *,
.ct-msd-profile *::before,
.ct-msd-profile *::after{
    box-sizing:border-box;
}

.ct-msd-profile img{
    max-width:100%;
    height:auto;
}

.ct-msd-profile a{
    color:var(--ct-green);
    text-decoration:none;
}

.ct-msd-profile a:hover{
    text-decoration:underline;
}

.ct-msd-profile h1,
.ct-msd-profile h2,
.ct-msd-profile h3,
.ct-msd-profile h4{
    font-family:
        "Noto Sans Devanagari",
        "Nirmala UI",
        "Mangal",
        Arial,
        sans-serif;
    line-height:1.35;
}

.ct-msd-profile h2{
    font-size:29px;
    margin:0 0 16px;
}

.ct-msd-profile h3{
    font-size:22px;
    margin:24px 0 10px;
}

.ct-msd-profile p{
    margin:0 0 15px;
}

.ct-msd-profile .ct-wrap{
    max-width:1150px;
    margin:auto;
}

/* TOP LABEL */

.ct-msd-profile .ct-top-label{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:var(--ct-green);
    color:#fff;
    padding:7px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
    letter-spacing:.2px;
    margin-bottom:12px;
}

.ct-msd-profile .ct-top-label span{
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--ct-orange);
    display:inline-block;
}

/* HERO */

.ct-msd-profile .ct-hero{
    position:relative;
    overflow:hidden;
    border-radius:28px;
    background:
        radial-gradient(circle at 85% 15%,rgba(247,147,30,.20),transparent 25%),
        radial-gradient(circle at 5% 90%,rgba(106,0,215,.12),transparent 28%),
        linear-gradient(135deg,#063f2a 0%,#08764b 54%,#0b8555 100%);
    color:#fff;
    padding:34px;
    margin-bottom:24px;
    box-shadow:0 18px 50px rgba(0,0,0,.12);
}

.ct-msd-profile .ct-hero::after{
    content:"MSD";
    position:absolute;
    right:-20px;
    bottom:-75px;
    font-family:Arial,sans-serif;
    font-size:180px;
    font-weight:900;
    color:rgba(255,255,255,.045);
    pointer-events:none;
}

.ct-msd-profile .ct-hero-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:270px 1fr;
    gap:35px;
    align-items:center;
}

.ct-msd-profile .ct-portrait{
    width:245px;
    height:245px;
    border-radius:50%;
    margin:auto;
    background:
        radial-gradient(circle at 50% 30%,#f6c987 0 13%,transparent 13.5%),
        radial-gradient(circle at 50% 35%,#161616 0 18%,transparent 18.5%),
        linear-gradient(145deg,#1c1c1c,#303030);
    border:8px solid rgba(255,255,255,.85);
    box-shadow:
        0 0 0 10px rgba(247,147,30,.18),
        0 20px 50px rgba(0,0,0,.30);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-end;
    padding-bottom:38px;
    position:relative;
    overflow:hidden;
}

.ct-msd-profile .ct-portrait::before{
    content:"";
    position:absolute;
    width:92px;
    height:115px;
    background:#173e2e;
    border-radius:48% 48% 25% 25%;
    bottom:-12px;
    left:calc(50% - 46px);
}

.ct-msd-profile .ct-portrait::after{
    content:"MSD";
    position:absolute;
    color:#fff;
    font-family:Arial,sans-serif;
    font-size:30px;
    font-weight:900;
    bottom:47px;
    letter-spacing:2px;
}

.ct-msd-profile .ct-hero-kicker{
    display:inline-block;
    color:#ffe2bb;
    font-weight:800;
    font-size:14px;
    margin-bottom:7px;
}

.ct-msd-profile .ct-hero h1{
    color:#fff;
    font-size:43px;
    margin:0 0 12px;
    font-weight:900;
}

.ct-msd-profile .ct-hero-intro{
    font-size:17px;
    color:rgba(255,255,255,.92);
    max-width:800px;
    margin-bottom:20px;
}

.ct-msd-profile .ct-badges{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.ct-msd-profile .ct-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.20);
    color:#fff;
    padding:7px 11px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
    backdrop-filter:blur(5px);
}

/* STATUS */

.ct-msd-profile .ct-status{
    margin-top:20px;
    padding:12px 15px;
    border-left:4px solid var(--ct-orange);
    background:rgba(255,255,255,.09);
    border-radius:10px;
    color:#fff;
    font-size:14px;
}

/* QUICK FACTS */

.ct-msd-profile .ct-facts{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:13px;
    margin:24px 0;
}

.ct-msd-profile .ct-fact{
    background:#fff;
    border:1px solid var(--ct-border);
    border-radius:17px;
    padding:17px;
    box-shadow:0 7px 22px rgba(0,0,0,.045);
}

.ct-msd-profile .ct-fact-label{
    color:#777;
    font-size:12px;
    font-weight:700;
    margin-bottom:4px;
}

.ct-msd-profile .ct-fact-value{
    font-size:17px;
    font-weight:900;
    color:var(--ct-green-dark);
}

/* TOC */

.ct-msd-profile .ct-toc{
    background:linear-gradient(135deg,#fff,#fbf8ff);
    border:1px solid #eadcfb;
    border-left:5px solid var(--ct-purple);
    border-radius:18px;
    padding:22px;
    margin:24px 0;
}

.ct-msd-profile .ct-toc-title{
    font-size:21px;
    font-weight:900;
    margin-bottom:12px;
    color:var(--ct-purple);
}

.ct-msd-profile .ct-toc-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:7px 18px;
}

.ct-msd-profile .ct-toc a{
    font-size:14px;
    font-weight:700;
}

/* SECTION */

.ct-msd-profile .ct-section{
    background:#fff;
    border:1px solid var(--ct-border);
    border-radius:22px;
    padding:28px;
    margin:22px 0;
    box-shadow:0 8px 28px rgba(0,0,0,.035);
}

.ct-msd-profile .ct-section-title{
    display:flex;
    align-items:center;
    gap:12px;
    border-bottom:1px solid #eee;
    padding-bottom:13px;
    margin-bottom:20px;
}

.ct-msd-profile .ct-section-number{
    min-width:38px;
    height:38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:var(--ct-green-soft);
    color:var(--ct-green);
    font-weight:900;
    font-size:14px;
}

/* INTRO HIGHLIGHT */

.ct-msd-profile .ct-highlight{
    background:
        linear-gradient(135deg,#f0fbf6,#fff7eb);
    border:1px solid #dcefe5;
    border-radius:17px;
    padding:20px;
    margin:18px 0;
}

.ct-msd-profile .ct-highlight strong{
    color:var(--ct-green-dark);
}

/* STAT CARDS */

.ct-msd-profile .ct-stat-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:13px;
    margin:20px 0;
}

.ct-msd-profile .ct-stat{
    padding:20px;
    text-align:center;
    border-radius:18px;
    background:linear-gradient(145deg,#f8fbfa,#fff);
    border:1px solid #dce8e2;
}

.ct-msd-profile .ct-stat strong{
    display:block;
    font-family:Arial,sans-serif;
    font-size:29px;
    line-height:1.1;
    color:var(--ct-green);
    margin-bottom:7px;
}

.ct-msd-profile .ct-stat span{
    font-size:13px;
    color:#666;
    font-weight:700;
}

/* TABLE */

.ct-msd-profile .ct-table-wrap{
    overflow-x:auto;
    margin:18px 0;
    border:1px solid var(--ct-border);
    border-radius:15px;
}

.ct-msd-profile table{
    width:100%;
    border-collapse:collapse;
    min-width:600px;
    background:#fff;
}

.ct-msd-profile th{
    background:var(--ct-green);
    color:#fff;
    font-weight:800;
    padding:13px;
    text-align:left;
}

.ct-msd-profile td{
    padding:12px 13px;
    border-bottom:1px solid #eee;
}

.ct-msd-profile tr:last-child td{
    border-bottom:none;
}

.ct-msd-profile tr:nth-child(even) td{
    background:#fafafa;
}

/* TIMELINE */

.ct-msd-profile .ct-timeline{
    position:relative;
    margin:20px 0;
    padding-left:24px;
}

.ct-msd-profile .ct-timeline::before{
    content:"";
    position:absolute;
    left:7px;
    top:5px;
    bottom:5px;
    width:2px;
    background:linear-gradient(var(--ct-green),var(--ct-orange),var(--ct-purple));
}

.ct-msd-profile .ct-timeline-item{
    position:relative;
    padding:0 0 25px 22px;
}

.ct-msd-profile .ct-timeline-item::before{
    content:"";
    position:absolute;
    left:-1px;
    top:5px;
    width:16px;
    height:16px;
    border-radius:50%;
    background:var(--ct-orange);
    border:3px solid #fff;
    box-shadow:0 0 0 2px var(--ct-orange);
}

.ct-msd-profile .ct-year{
    display:inline-block;
    font-weight:900;
    color:var(--ct-purple);
    margin-bottom:4px;
}

/* CONTROVERSY */

.ct-msd-profile .ct-controversy{
    border-radius:17px;
    padding:19px;
    margin:15px 0;
    border:1px solid #f0d7d3;
    background:#fffafa;
}

.ct-msd-profile .ct-controversy h3{
    margin-top:0;
    color:var(--ct-red);
}

.ct-msd-profile .ct-label{
    display:inline-block;
    border-radius:999px;
    padding:4px 9px;
    font-size:11px;
    font-weight:900;
    margin-bottom:7px;
}

.ct-msd-profile .ct-label-verified{
    background:#e8f8ef;
    color:#087443;
}

.ct-msd-profile .ct-label-reported{
    background:#fff1dc;
    color:#9a5a00;
}

.ct-msd-profile .ct-label-rumour{
    background:#f1e8ff;
    color:#6a00d7;
}

/* AWARDS */

.ct-msd-profile .ct-awards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.ct-msd-profile .ct-award{
    position:relative;
    overflow:hidden;
    padding:20px;
    border-radius:18px;
    background:linear-gradient(145deg,#fff,#fff8ed);
    border:1px solid #f0dfc5;
}

.ct-msd-profile .ct-award::after{
    content:"★";
    position:absolute;
    right:12px;
    top:5px;
    font-size:50px;
    color:rgba(212,154,23,.10);
}

.ct-msd-profile .ct-award strong{
    display:block;
    font-size:20px;
    color:#8b6200;
}

/* QUOTE */

.ct-msd-profile .ct-quote{
    border-left:5px solid var(--ct-orange);
    background:#fff8ed;
    padding:18px 20px;
    border-radius:0 15px 15px 0;
    margin:18px 0;
    font-size:18px;
    font-weight:800;
}

/* TWO COLUMN */

.ct-msd-profile .ct-two{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.ct-msd-profile .ct-mini-card{
    border:1px solid var(--ct-border);
    border-radius:17px;
    padding:20px;
    background:#fff;
}

.ct-msd-profile .ct-mini-card h3{
    margin-top:0;
}

/* FAQ */

.ct-msd-profile .ct-faq{
    border:1px solid var(--ct-border);
    border-radius:14px;
    margin:10px 0;
    background:#fff;
    overflow:hidden;
}

.ct-msd-profile .ct-faq summary{
    cursor:pointer;
    padding:16px 18px;
    font-weight:900;
    color:var(--ct-green-dark);
    list-style:none;
}

.ct-msd-profile .ct-faq summary::-webkit-details-marker{
    display:none;
}

.ct-msd-profile .ct-faq summary::after{
    content:"+";
    float:right;
    font-size:22px;
    color:var(--ct-orange);
}

.ct-msd-profile .ct-faq[open] summary::after{
    content:"−";
}

.ct-msd-profile .ct-faq-content{
    padding:0 18px 18px;
    color:#555;
}

/* SOURCE BOX */

.ct-msd-profile .ct-sources{
    background:#f6f7f7;
    border:1px solid #ddd;
    border-radius:18px;
    padding:22px;
}

.ct-msd-profile .ct-sources li{
    margin:7px 0;
}

/* DISCLAIMER */

.ct-msd-profile .ct-disclaimer{
    background:#fff8e8;
    border:1px solid #f1dfb2;
    border-radius:16px;
    padding:18px;
    font-size:13px;
    color:#5d4a1c;
}

/* FINAL */

.ct-msd-profile .ct-final{
    background:linear-gradient(135deg,var(--ct-green-dark),var(--ct-green));
    color:#fff;
    border-radius:23px;
    padding:30px;
    text-align:center;
    margin-top:25px;
}

.ct-msd-profile .ct-final h2{
    color:#fff;
}

/* RESPONSIVE */

@media(max-width:1000px){
    .ct-msd-profile .ct-facts{
        grid-template-columns:repeat(2,1fr);
    }

    .ct-msd-profile .ct-stat-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .ct-msd-profile .ct-awards{
        grid-template-columns:1fr 1fr;
    }

    .ct-msd-profile .ct-toc-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:760px){
    .ct-msd-profile{
        padding:12px 9px 35px;
        font-size:15px;
    }

    .ct-msd-profile .ct-hero{
        padding:23px 17px;
        border-radius:20px;
    }

    .ct-msd-profile .ct-hero-grid{
        grid-template-columns:1fr;
        text-align:center;
        gap:18px;
    }

    .ct-msd-profile .ct-portrait{
        width:185px;
        height:185px;
    }

    .ct-msd-profile .ct-hero h1{
        font-size:31px;
    }

    .ct-msd-profile .ct-hero-intro{
        font-size:15px;
    }

    .ct-msd-profile .ct-badges{
        justify-content:center;
    }

    .ct-msd-profile .ct-facts{
        grid-template-columns:1fr 1fr;
        gap:9px;
    }

    .ct-msd-profile .ct-stat-grid{
        grid-template-columns:1fr 1fr;
    }

    .ct-msd-profile .ct-section{
        padding:19px 15px;
        border-radius:17px;
    }

    .ct-msd-profile h2{
        font-size:24px;
    }

    .ct-msd-profile h3{
        font-size:19px;
    }

    .ct-msd-profile .ct-two{
        grid-template-columns:1fr;
    }

    .ct-msd-profile .ct-awards{
        grid-template-columns:1fr;
    }

    .ct-msd-profile .ct-toc-grid{
        grid-template-columns:1fr;
    }

    .ct-msd-profile .ct-hero::after{
        font-size:100px;
        bottom:-30px;
    }
}

@media(max-width:480px){
    .ct-msd-profile .ct-facts{
        grid-template-columns:1fr;
    }

    .ct-msd-profile .ct-stat-grid{
        grid-template-columns:1fr;
    }

    .ct-msd-profile .ct-hero h1{
        font-size:27px;
    }

    .ct-msd-profile .ct-section-title{
        align-items:flex-start;
    }
}

/* Real player portrait supplied by the site, replacing the decorative placeholder. */
.ct-msd-profile .ct-portrait {
    padding: 0;
    background: rgba(255, 255, 255, .12);
}

.ct-msd-profile .ct-portrait::before,
.ct-msd-profile .ct-portrait::after {
    content: none;
}

.ct-msd-profile .ct-portrait img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.ct-msd-profile [id] {
    scroll-margin-top: 160px;
}
