.nd-theme-1{
    --nd-main-red:var(--nd-primary,#990000);
    --nd-black:var(--nd-text,#111111);
    --nd-bg-local:var(--nd-bg,#f4f4f1);
    --nd-paper:var(--nd-card,#ffffff);
    --nd-line:var(--nd-border,#deded8);
    --nd-muted-local:var(--nd-muted,#6b7280);
    --nd-soft:#f8fafc;

    background:var(--nd-bg-local);
    color:var(--nd-black);
    min-height:600px;
    font-family:Arial, Helvetica, sans-serif;
}

.nd-theme1-top{
    background:var(--nd-bg-local);
    padding:18px 0 20px;
}

.nd-theme1-line{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
}

.nd-theme1-line:before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:50%;
    height:1px;
    background:#a3a3a3;
    transform:translateY(-50%);
}

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

.nd-theme1-shell{
    padding-top:20px;
    padding-bottom:48px;
}

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

.nd-theme1-main{
    min-width:0;
}

.nd-theme1-paper{
    background:var(--nd-paper);
    border:1px solid var(--nd-line);
    padding:34px;
}

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

.nd-theme1-breadcrumb a{
    color:var(--nd-black);
    font-weight:800;
}

.nd-theme1-breadcrumb em{
    font-style:normal;
    color:var(--nd-muted-local);
}

.nd-theme1-kicker-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:14px;
}

.nd-theme1-cat,
.nd-theme1-type{
    min-height:26px;
    display:inline-flex;
    align-items:center;
    padding:5px 10px;
    font-size:13px;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.nd-theme1-cat{
    background:var(--detail-cat-color,var(--nd-main-red));
    color:#fff;
}

.nd-theme1-type{
    background:#e5e7eb;
    color:#111;
}

.nd-theme1-type.video{
    background:#111827;
    color:#fff;
}

.nd-theme1-type.photo{
    background:#f59e0b;
    color:#111;
}

.nd-theme1-red-title{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:5px 12px;
    background:var(--nd-main-red);
    color:#fff;
    font-size:16px;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
    margin-bottom:14px;
}

.nd-theme1-header h1{
    margin:0;
    color:#111;
    font-size:clamp(42px,5vw,72px);
    line-height:.95;
    letter-spacing:-.045em;
    font-weight:900;
}

.nd-theme1-header h2{
    margin:18px 0 0;
    color:#374151;
    font-size:22px;
    line-height:1.35;
    font-weight:650;
}

.nd-theme1-meta-panel{
    margin-top:24px;
    display:flex;
    align-items:stretch;
    justify-content:space-between;
    gap:16px;
    border-top:3px solid #111;
    border-bottom:1px solid #d9d9d2;
    padding:13px 0;
}

.nd-theme1-meta-left{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:14px;
}

.nd-theme1-meta-left span{
    display:flex;
    flex-direction:column;
    gap:3px;
    color:#111;
    font-size:13px;
    font-weight:800;
}

.nd-theme1-meta-left span b{
    color:var(--nd-muted-local);
    font-size:10px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.nd-theme1-live{
    min-width:110px;
    background:#111;
    color:#fff;
    padding:9px 12px;
    text-align:center;
}

.nd-theme1-live span{
    display:block;
    color:rgba(255,255,255,.65);
    font-size:10px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.nd-theme1-live strong{
    display:block;
    font-size:19px;
    font-weight:950;
}

.nd-theme1-tools{
    margin-top:18px;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
}

.nd-tool-btn{
    min-height:44px;
    border:1px solid #d8d8d2;
    background:#fff;
    color:#111;
    padding:0 14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    cursor:pointer;
    font-weight:900;
    font-size:13px;
}

.nd-tool-btn:hover,
.nd-tool-btn.active{
    background:var(--nd-main-red);
    color:#fff;
    border-color:var(--nd-main-red);
}

.nd-font-slider{
    min-width:270px;
    max-width:360px;
    flex:1;
    background:#f8fafc;
    border:1px solid #d8d8d2;
    padding:10px 13px;
    display:flex;
    flex-direction:column;
    gap:8px;
}

.nd-font-slider-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.nd-font-slider-top label{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    color:#111;
    font-size:12px;
    font-weight:900;
}

.nd-font-slider-top label strong{
    color:var(--nd-main-red);
    font-size:12px;
    font-weight:950;
}

.nd-font-small{
    font-size:13px;
    font-weight:900;
    color:#64748b;
}

.nd-font-big{
    font-size:23px;
    font-weight:950;
    color:#111;
}

.nd-font-slider input[type="range"]{
    width:100%;
    height:5px;
    appearance:none;
    -webkit-appearance:none;
    background:#dbe3ef;
    outline:none;
}

.nd-font-slider input[type="range"]::-webkit-slider-thumb{
    appearance:none;
    -webkit-appearance:none;
    width:18px;
    height:18px;
    background:var(--nd-main-red);
    cursor:pointer;
    border:3px solid #fff;
    box-shadow:0 3px 10px rgba(15,23,42,.22);
}

.nd-font-slider input[type="range"]::-moz-range-thumb{
    width:18px;
    height:18px;
    background:var(--nd-main-red);
    cursor:pointer;
    border:3px solid #fff;
    box-shadow:0 3px 10px rgba(15,23,42,.22);
}

.nd-font-slider-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    font-size:10px;
    color:#64748b;
    font-weight:800;
}

.nd-font-slider-bottom button{
    border:0;
    background:transparent;
    color:var(--nd-main-red);
    font-size:11px;
    font-weight:950;
    cursor:pointer;
    padding:0;
}

.nd-theme1-media{
    margin:26px 0 0;
}

.nd-theme1-video-box video,
.nd-video-embed video,
.nd-video-embed iframe{
    width:100%;
    max-width:100%;
    min-height:420px;
    background:#000;
    display:block;
    border:0;
}

.nd-theme1-image{
    background:#111;
    margin-left:0;
    margin-right:0;
}

.nd-theme1-image img{
    width:100%;
    height:auto;
    display:block;
    padding:var(--nd-image-padding, 0px);
    border-radius:var(--nd-image-radius, 0px);
}

.nd-theme1-image figcaption{
    padding:10px 12px;
    color:#6b7280;
    background:#f8fafc;
    font-size:12px;
}

.nd-theme1-summary{
    margin-top:24px;
    padding:18px 20px;
    border-left:6px solid var(--nd-main-red);
    background:#f8fafc;
    color:#111;
    font-size:20px;
    line-height:1.55;
    font-weight:750;
}

.nd-theme1-content{
    margin-top:26px;
    color:#111;
    font-size:18px;
    line-height:1.82;
    overflow:hidden;
}

.nd-theme1-content p{
    margin:0 0 22px;
}

.nd-theme1-content h2,
.nd-theme1-content h3{
    letter-spacing:-.035em;
    line-height:1;
    margin:34px 0 14px;
    color:#111;
}

.nd-theme1-content h2{
    font-size:36px;
}

.nd-theme1-content h3{
    font-size:30px;
}

.nd-theme1-content img{
    max-width:100%;
    height:auto;
    display:block;
    margin:24px 0;
}

.nd-theme1-content iframe,
.nd-theme1-content video{
    max-width:100%;
}

.nd-theme1-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:30px;
    padding-top:20px;
    border-top:1px solid #d8d8d2;
}

.nd-theme1-tags a{
    display:inline-flex;
    min-height:30px;
    align-items:center;
    padding:4px 10px;
    background:#f1f5f9;
    color:#111;
    font-size:12px;
    font-weight:900;
}

.nd-theme1-tags a:hover{
    background:var(--nd-main-red);
    color:#fff;
}

.nd-theme1-read-total{
    margin-top:24px;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    border:1px solid #d8d8d2;
}

.nd-theme1-read-total div{
    padding:15px;
    border-right:1px solid #d8d8d2;
}

.nd-theme1-read-total div:last-child{
    border-right:0;
}

.nd-theme1-read-total span{
    display:block;
    color:#6b7280;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.nd-theme1-read-total strong{
    display:block;
    margin-top:5px;
    color:#111;
    font-size:18px;
    font-weight:950;
}

.nd-theme1-share{
    margin-top:24px;
    padding:18px;
    background:#111;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}

.nd-theme1-share strong{
    display:block;
    font-size:17px;
    font-weight:950;
}

.nd-theme1-share span{
    display:block;
    color:rgba(255,255,255,.68);
    font-size:13px;
    margin-top:3px;
}

.nd-theme1-share-buttons{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.nd-theme1-share-buttons a,
.nd-theme1-share-buttons button{
    min-height:36px;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.09);
    color:#fff;
    padding:0 11px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:12px;
    font-weight:900;
}

.nd-theme1-share-buttons a:hover,
.nd-theme1-share-buttons button:hover{
    background:var(--nd-main-red);
    border-color:var(--nd-main-red);
}

.nd-theme1-next{
    margin-top:20px;
    background:#fff;
    border:1px solid #deded8;
    padding:22px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.nd-theme1-next span{
    display:block;
    color:var(--nd-main-red);
    font-size:11px;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-bottom:6px;
}

.nd-theme1-next h3{
    margin:0;
    font-size:28px;
    line-height:1;
    letter-spacing:-.035em;
}

.nd-theme1-next a{
    color:#111;
    font-weight:950;
}

.nd-theme1-next > a{
    white-space:nowrap;
    background:var(--nd-main-red);
    color:#fff;
    padding:12px 14px;
}

.nd-theme1-related{
    margin-top:24px;
}

.nd-theme1-section-title{
    border-bottom:3px solid #111;
    padding-bottom:10px;
    margin-bottom:18px;
}

.nd-theme1-section-title h2{
    margin:0;
    font-size:34px;
    line-height:1;
    letter-spacing:-.04em;
    font-weight:900;
    text-transform:uppercase;
}

.nd-theme1-section-title p{
    margin:4px 0 0;
    color:#6b7280;
    font-size:13px;
}

.nd-theme1-related-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.nd-theme1-related-card{
    background:#fff;
    border:1px solid #deded8;
}

.nd-theme1-related-img{
    display:block;
    aspect-ratio:16/10;
    background:#111;
    overflow:hidden;
    position:relative;
}

.nd-theme1-related-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.nd-theme1-related-body{
    padding:14px;
}

.nd-theme1-related-card h3{
    margin:0;
    font-size:22px;
    line-height:1;
    letter-spacing:-.035em;
}

.nd-theme1-related-card h3 a{
    color:#111;
}

.nd-theme1-related-card span{
    display:block;
    margin-top:8px;
    color:#6b7280;
    font-size:12px;
    font-weight:800;
}

.nd-theme1-sidebar{
    position:sticky;
    top:90px;
    display:grid;
    gap:16px;
}

.nd-theme1-side-card{
    background:#fff;
    border:1px solid #deded8;
}

.nd-theme1-side-title{
    padding:14px 16px;
    background:#111;
    color:#fff;
    font-size:20px;
    line-height:1;
    font-weight:900;
    letter-spacing:.02em;
    text-transform:uppercase;
}

.nd-theme1-author-mini{
    padding:16px;
    display:grid;
    grid-template-columns:54px minmax(0,1fr);
    gap:12px;
    align-items:center;
}

.nd-theme1-author-avatar{
    width:54px;
    height:54px;
    background:var(--nd-main-red);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    font-weight:950;
}

.nd-theme1-author-mini strong{
    display:block;
    color:#111;
    font-weight:950;
}

.nd-theme1-author-mini span{
    display:block;
    color:#6b7280;
    font-size:12px;
    margin-top:3px;
}

.nd-theme1-author-posts{
    padding:0 16px 16px;
}

.nd-theme1-author-posts h4{
    margin:0 0 10px;
    color:#111;
    font-size:14px;
    font-weight:950;
}

.nd-theme1-author-posts a{
    display:block;
    padding:10px 0;
    border-top:1px solid #deded8;
}

.nd-theme1-author-posts a strong{
    display:block;
    color:#111;
    font-size:13px;
    line-height:1.35;
}

.nd-theme1-author-posts a span{
    display:block;
    color:#6b7280;
    font-size:11px;
    margin-top:4px;
}

.nd-theme1-read-info{
    display:grid;
}

.nd-theme1-read-info div{
    padding:13px 16px;
    border-bottom:1px solid #deded8;
    display:flex;
    justify-content:space-between;
    gap:12px;
}

.nd-theme1-read-info div:last-child{
    border-bottom:0;
}

.nd-theme1-read-info span{
    color:#6b7280;
    font-size:12px;
    font-weight:800;
}

.nd-theme1-read-info strong{
    color:#111;
    font-size:13px;
    font-weight:950;
    text-align:right;
}

.nd-theme1-most-list{
    display:grid;
}

.nd-theme1-most-list a{
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    gap:10px;
    padding:13px 16px;
    border-bottom:1px solid #deded8;
}

.nd-theme1-most-list a:last-child{
    border-bottom:0;
}

.nd-theme1-most-list a > span{
    width:30px;
    height:30px;
    background:var(--nd-main-red);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:950;
}

.nd-theme1-most-list strong{
    display:block;
    color:#111;
    font-size:13px;
    line-height:1.35;
}

.nd-theme1-most-list small{
    display:block;
    color:#6b7280;
    font-size:11px;
    margin-top:4px;
}

@media(max-width:1180px){
    .nd-theme1-layout{
        grid-template-columns:1fr;
    }

    .nd-theme1-sidebar{
        position:static;
    }

    .nd-theme1-related-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:760px){
    .nd-theme1-paper{
        padding:20px;
    }

    .nd-theme1-header h1{
        font-size:38px;
    }

    .nd-theme1-header h2{
        font-size:18px;
    }

    .nd-theme1-meta-panel,
    .nd-theme1-share,
    .nd-theme1-next{
        display:block;
    }

    .nd-theme1-live{
        margin-top:12px;
        text-align:left;
    }

    .nd-font-slider{
        min-width:100%;
        max-width:100%;
    }

    .nd-theme1-video-box video,
    .nd-video-embed video,
    .nd-video-embed iframe{
        min-height:240px;
    }

    .nd-theme1-read-total{
        grid-template-columns:1fr;
    }

    .nd-theme1-read-total div{
        border-right:0;
        border-bottom:1px solid #d8d8d2;
    }

    .nd-theme1-read-total div:last-child{
        border-bottom:0;
    }

    .nd-theme1-related-grid{
        grid-template-columns:1fr;
    }

    .nd-theme1-next > a{
        display:inline-flex;
        margin-top:14px;
    }
}