:root {
    --navy:#0b172a;
    --blue:#2563eb;
    --blue2:#0ea5e9;
    --text:#475569;
    --muted:#64748b;
    --line:#e2e8f0;
    --soft:#f8fafc;
    --white:#fff;
    --radius:20px;
}

* {
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
}

body {
    margin:0;
    color:var(--text);
    background:#fff;
    font-family:Inter,Arial,sans-serif;
    line-height:1.7;
}

a {
    color:inherit;
    text-decoration:none;
}

img {
    max-width:100%;
    display:block;
}

.container {
    width:min(1180px, calc(100% - 40px));
    margin:auto;
}

.article-container {
    width:min(800px, calc(100% - 40px));
    margin:auto;
}

.site-header {
    position:sticky;
    top:0;
    z-index:100;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(14px);
    border-bottom:1px solid var(--line);
}

.nav {
    min-height:74px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.brand {
    font-family:Manrope,sans-serif;
    font-size:22px;
    font-weight:800;
    color:var(--navy);
}

.brand span {
    color:var(--blue);
}

.nav nav {
    display:flex;
    align-items:center;
    gap:24px;
    font-weight:600;
}

.nav-search input {
    width:210px;
    padding:10px 14px;
    border:1px solid var(--line);
    border-radius:50px;
    outline:none;
}

.hero {
    padding:105px 0 80px;
    background:
        radial-gradient(circle at 80% 0,
        #dbeafe 0, transparent 35%),
        linear-gradient(180deg,#f8fbff,#fff);
}

.eyebrow {
    display:inline-block;
    margin-bottom:12px;
    color:var(--blue);
    font-size:12px;
    letter-spacing:1.8px;
    font-weight:800;
}

.hero h1 {
    max-width:820px;
    color:var(--navy);
    font:800 clamp(40px,6vw,72px)/1.08 Manrope,sans-serif;
    letter-spacing:-2.8px;
    margin:0;
}

.hero h1 em {
    color:var(--blue);
    font-style:normal;
}

.hero p {
    max-width:650px;
    font-size:19px;
    margin:24px 0 0;
}

.section {
    padding:80px 0;
}

.section-heading {
    margin-bottom:35px;
}

.section h2,
.related h2 {
    color:var(--navy);
    font:800 34px/1.2 Manrope,sans-serif;
    margin:0;
}

.post-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}

.post-card {
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:var(--radius);
    background:#fff;
    transition:.25s;
}

.post-card:hover {
    transform:translateY(-5px);
    box-shadow:0 20px 45px rgba(15,23,42,.09);
}

.card-image {
    display:block;
    height:230px;
    background:#eef2f7;
    overflow:hidden;
}

.card-image img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.35s;
}

.post-card:hover .card-image img {
    transform:scale(1.035);
}

.card-content {
    padding:25px;
}

.category {
    display:inline-block;
    color:var(--blue);
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:8px;
}

.card-content h3 {
    color:var(--navy);
    font:700 21px/1.35 Manrope,sans-serif;
    margin:4px 0 12px;
}

.card-content p {
    font-size:14px;
    margin:0 0 22px;
}

.author-row {
    display:flex;
    align-items:center;
    gap:12px;
    border-top:1px solid var(--line);
    padding-top:18px;
}

.author-row img,
.avatar-placeholder {
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
}

.avatar-placeholder {
    display:grid;
    place-items:center;
    color:white;
    background:var(--blue);
    font-weight:700;
}

.author-row strong,
.author-row small {
    display:block;
}

.author-row strong {
    color:var(--navy);
    font-size:13px;
}

.author-row small {
    color:var(--muted);
    font-size:12px;
}

.pagination {
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:50px;
}

.pagination a {
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border:1px solid var(--line);
    border-radius:10px;
}

.pagination .active {
    background:var(--blue);
    color:#fff;
}

.article-header {
    text-align:center;
    padding:80px 0 45px;
}

.breadcrumb {
    margin-bottom:20px;
    color:var(--muted);
    font-size:13px;
}

.breadcrumb span {
    margin:0 8px;
}

.article-header h1 {
    color:var(--navy);
    font:800 clamp(38px,5vw,62px)/1.12 Manrope,sans-serif;
    letter-spacing:-2px;
    margin:12px 0 20px;
}

.subtitle {
    font-size:20px;
    color:var(--muted);
}

.article-author {
    justify-content:center;
    border:0;
    margin-top:30px;
}

.feature-wrap {
    margin-bottom:55px;
}

.feature-image {
    width:100%;
    max-height:650px;
    object-fit:cover;
    border-radius:24px;
}

.article-layout {
    position:relative;
    display:grid;
    grid-template-columns:80px minmax(0,780px);
    justify-content:center;
    gap:30px;
}

.share-sidebar {
    position:sticky;
    top:100px;
    align-self:start;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
}

.share-sidebar span {
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
}

.share-sidebar a,
.share-sidebar button {
    width:38px;
    height:38px;
    border:1px solid var(--line);
    background:#fff;
    border-radius:50%;
    display:grid;
    place-items:center;
    cursor:pointer;
    font-weight:700;
}

.article-content {
    color:#334155;
    font-size:17px;
    line-height:1.9;
    min-width:0;
}

.article-content h2,
.article-content h3 {
    color:var(--navy);
    font-family:Manrope,sans-serif;
    line-height:1.35;
    margin-top:45px;
}

.article-content h2 {
    font-size:30px;
}

.article-content h3 {
    font-size:23px;
}

.article-content img {
    height:auto;
    border-radius:16px;
    margin:30px auto;
}

.article-content a {
    color:var(--blue);
    text-decoration:underline;
}

.article-content blockquote {
    margin:35px 0;
    padding:20px 25px;
    border-left:4px solid var(--blue);
    background:#eff6ff;
    color:var(--navy);
}

.article-content pre {
    padding:20px;
    overflow:auto;
    border-radius:12px;
    background:#0f172a;
    color:#e2e8f0;
}

.tags {
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    padding:45px 0 25px;
}

.tags a {
    padding:7px 13px;
    background:var(--soft);
    border:1px solid var(--line);
    border-radius:50px;
    font-size:13px;
}

.author-box {
    display:flex;
    gap:24px;
    margin:35px 0 80px;
    padding:30px;
    background:var(--soft);
    border:1px solid var(--line);
    border-radius:20px;
}

.author-box img {
    width:90px;
    height:90px;
    object-fit:cover;
    border-radius:50%;
}

.author-box h3 {
    color:var(--navy);
    margin:0 0 3px;
}

.author-box p {
    margin-bottom:0;
}

.related {
    padding:70px 0;
    background:var(--soft);
}

.related h2 {
    margin-bottom:30px;
}

.archive-hero {
    padding:75px 0;
    background:var(--soft);
}

.archive-hero h1 {
    color:var(--navy);
    font:800 48px/1.2 Manrope,sans-serif;
    margin:0;
}

.archive-hero p {
    max-width:700px;
}

.empty {
    padding:50px;
    text-align:center;
    background:var(--soft);
    border-radius:18px;
}

.site-footer {
    padding:60px 0 25px;
    background:var(--navy);
    color:#94a3b8;
}

.footer-grid {
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
}

.footer-grid .brand {
    color:#fff;
}

.footer-grid div:last-child {
    display:flex;
    flex-direction:column;
    gap:9px;
}

.footer-grid strong {
    color:#fff;
}

.copyright {
    border-top:1px solid #243247;
    padding-top:25px;
    margin-top:40px;
    font-size:13px;
}

@media(max-width:900px) {
    .post-grid {
        grid-template-columns:repeat(2,1fr);
    }

    .article-layout {
        display:block;
    }

    .share-sidebar {
        position:static;
        flex-direction:row;
        justify-content:center;
        margin-bottom:30px;
    }
}

@media(max-width:650px) {
    .container,
    .article-container {
        width:min(100% - 28px,1180px);
    }

    .nav {
        min-height:65px;
    }

    .nav nav > a {
        display:none;
    }

    .nav-search input {
        width:150px;
    }

    .hero {
        padding:65px 0;
    }

    .hero h1 {
        letter-spacing:-1.5px;
    }

    .section {
        padding:55px 0;
    }

    .post-grid {
        grid-template-columns:1fr;
    }

    .article-header {
        padding:55px 0 35px;
    }

    .article-header h1 {
        letter-spacing:-1px;
    }

    .feature-wrap {
        width:100%;
    }

    .feature-image {
        border-radius:0;
    }

    .author-box {
        flex-direction:column;
    }

    .footer-grid {
        grid-template-columns:1fr;
    }
}
/* =========================================
   Social Share Buttons
========================================= */

.share-sidebar {
    position: sticky;
    top: 110px;
    align-self: start;
    width: 80px;
    text-align: center;
}

.share-label {
    display: block;
    margin-bottom: 14px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
}

.share-btn {
    width: 44px;
    height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    color: #ffffff;
    font-size: 17px;

    cursor: pointer;
    transition: all .25s ease;

    box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}

.share-btn:hover {
    color: #ffffff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .20);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.x-twitter {
    background: #000000;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.linkedin {
    background: #0a66c2;
}

.share-btn.copy-link {
    background: #64748b;
    font-family: inherit;
}

/* Copy করার পর ছোট confirmation effect */
.share-btn.copy-link.copied {
    background: #16a34a;
}

/* Mobile Share Design */
@media (max-width: 900px) {
    .share-sidebar {
        position: static;
        width: 100%;
        margin: 0 0 30px;
    }

    .share-buttons {
        flex-direction: row;
        justify-content: center;
    }
}
/* =========================================
   Justified Article Text
========================================= */

.article-content {
    color: #334155;
    font-size: 17px;
    line-height: 1.9;
}

/* মূল paragraph দুই পাশে সমান */
.article-content p {
    text-align: justify;
    text-justify: inter-word;
}

/* Heading justify হবে না */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    text-align: left;
}

/* List justify */
.article-content li {
    text-align: justify;
}

/* Quote justify হবে না */
.article-content blockquote {
    text-align: left;
}
/* =========================================
   Article Image Caption
========================================= */

.article-content figure {
    margin: 35px 0;
}

.article-content figure.image {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.article-content figure img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .10);
}

.article-content figcaption {
    max-width: 92%;
    margin: 10px auto 0;
    padding: 0 15px;

    color: #64748b;
    text-align: center;
    font-size: 13px;
    font-style: italic;
    line-height: 1.6;
}

.article-content figcaption::before {
    content: "— ";
    color: #2563eb;
    font-weight: 700;
}

/* =========================================
   Verified Author Badge
========================================= */

.verified-author-name {
    display: flex;
    align-items: center;
    gap: 7px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1d9bf0;
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
    vertical-align: middle;
    transition: transform .2s ease, color .2s ease;
}

.verified-badge:hover {
    color: #0a78c2;
    transform: scale(1.12);
}

.author-row .verified-badge {
    width: 18px;
    height: 18px;
    font-size: 16px;
}

/* =========================================
   Author Profile Design
========================================= */

.author-profile-hero {
    padding: 75px 0;
    background:
        radial-gradient(circle at top right, #dbeafe, transparent 35%),
        #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.author-profile-inner {
    display: flex;
    align-items: center;
    gap: 32px;
}

.author-profile-photo,
.author-profile-avatar {
    flex: 0 0 150px;
    width: 150px;
    height: 150px;
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .12);
}

.author-profile-photo {
    object-fit: cover;
}

.author-profile-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #fff;
    font: 800 56px/1 Manrope, sans-serif;
}

.author-profile-content h1 {
    margin: 0 0 6px;
    color: #0b172a;
    font: 800 42px/1.2 Manrope, sans-serif;
}

.author-profile-designation {
    display: block;
    margin-bottom: 14px;
    color: #2563eb;
    font-size: 15px;
}

.author-profile-content p {
    max-width: 660px;
    margin: 0;
}

/* =========================================
   Verification Popup / Modal
========================================= */

.verification-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.verification-modal.active {
    display: flex;
}

.verification-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .62);
    backdrop-filter: blur(4px);
}

.verification-modal-box {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    padding: 38px 32px 32px;
    text-align: center;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 24px 65px rgba(15, 23, 42, .30);
    animation: verification-pop .22s ease-out;
}

@keyframes verification-pop {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.verification-close {
    position: absolute;
    top: 13px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
}

.verification-icon {
    margin-bottom: 14px;
    color: #1d9bf0;
    font-size: 50px;
}

.verification-modal-box h3 {
    margin: 3px 0 12px;
    color: #0b172a;
    font: 800 28px/1.2 Manrope, sans-serif;
}

.verification-modal-box p {
    margin: 0 0 13px;
    color: #475569;
    line-height: 1.7;
}

.verification-modal-box .verification-small {
    padding-top: 13px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 650px) {
    .author-profile-inner {
        flex-direction: column;
        text-align: center;
    }

    .author-profile-content h1 {
        justify-content: center;
        font-size: 32px;
    }

    .author-profile-content p {
        text-align: center;
    }

    .author-socials {
        justify-content: center;
    }
}