/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
    --navy:       #0f2444;
    --navy-mid:   #1a365d;
    --navy-light: #2c5282;
    --orange:     #e07b2a;
    --orange-lt:  #f6ad55;
    --teal:       #2b7a78;
    --green:      #276749;
    --red:        #c53030;
    --white:      #ffffff;
    --off-white:  #f7fafc;
    --gray-100:   #f0f4f8;
    --gray-200:   #e2e8f0;
    --gray-400:   #a0aec0;
    --gray-600:   #718096;
    --gray-800:   #2d3748;
    --gray-900:   #1a202c;
    --shadow-s:   0 1px 4px rgba(0,0,0,.08);
    --shadow-m:   0 4px 12px rgba(0,0,0,.1);
    --shadow-l:   0 12px 32px rgba(0,0,0,.14);
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 24px;
    --ease: cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: var(--off-white);
    color: var(--gray-900);
    line-height: 1.8;
    font-size: 15px;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--gray-900) 100%);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    gap: 1rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.header-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: var(--r-sm);
    background: #fff;
    padding: 3px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

.logo-sub {
    font-size: 0.72rem;
    color: rgba(255,255,255,.65);
    line-height: 1.4;
}

.site-nav {
    display: flex;
    gap: 0.25rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,.8);
    padding: 0.5rem 1rem;
    border-radius: var(--r-md);
    font-weight: 500;
    font-size: 0.9rem;
    transition: background .2s var(--ease), color .2s var(--ease);
    cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255,255,255,.14);
    color: var(--white);
}

.nav-item.active {
    background: var(--orange);
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: rgba(255,255,255,.12);
    border: none;
    color: white;
    font-size: 1.4rem;
    padding: 0.4rem 0.6rem;
    border-radius: var(--r-sm);
    cursor: pointer;
}

/* ============================================================
   PAGE SYSTEM
   ============================================================ */
.page {
    display: none;
}

.page.active-page {
    display: block;
}

/* ============================================================
   HERO (HOME)
   ============================================================ */
.hero {
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 60%, var(--gray-900) 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: .06;
    background: white;
}
.shape.s1 { width: 400px; height: 400px; top: -120px; left: -80px; }
.shape.s2 { width: 250px; height: 250px; bottom: -60px; right: 10%; }
.shape.s3 { width: 160px; height: 160px; top: 30%; right: 5%; }

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: rgba(224,123,42,.25);
    border: 1px solid rgba(224,123,42,.5);
    color: var(--orange-lt);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: .05em;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 1.05rem;
    opacity: .85;
    max-width: 560px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-hero-primary {
    background: var(--orange);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: var(--r-md);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background .25s var(--ease), transform .2s;
}
.btn-hero-primary:hover {
    background: var(--orange-lt);
    transform: translateY(-2px);
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.4);
    padding: 0.8rem 2rem;
    border-radius: var(--r-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: border-color .25s var(--ease), background .25s var(--ease);
}
.btn-hero-outline:hover {
    border-color: rgba(255,255,255,.8);
    background: rgba(255,255,255,.08);
}

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange-lt);
}
.stat-label {
    font-size: 0.8rem;
    opacity: .75;
}

/* ============================================================
   MAIN WRAP (blog + sidebar)
   ============================================================ */
.main-wrap { padding: 3rem 0; }

/* Section label */
.section-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.section-label span {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    padding-bottom: 0.35rem;
    border-bottom: 3px solid var(--orange);
}

/* ============================================================
   POST CARDS
   ============================================================ */
.post-card {
    background: var(--white);
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-s);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.post-card:hover {
    box-shadow: var(--shadow-m);
    transform: translateY(-3px);
}

.post-card-head {
    padding: 1.5rem 2rem 1.25rem;
    background: linear-gradient(to bottom, var(--gray-100), var(--white));
    border-bottom: 1px solid var(--gray-200);
}

.cat-tag {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: var(--r-sm);
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: .04em;
}
.cat-bridge { background: var(--navy-light); color: #fff; }
.cat-building { background: var(--orange); color: #fff; }

.post-meta-row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 0.6rem;
}
.post-meta-row span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.post-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
}

.post-card-body {
    padding: 1.75rem 2rem;
}
.post-card-body p {
    margin-bottom: 1rem;
    color: var(--gray-800);
    line-height: 1.9;
}
.post-card-body strong { color: var(--navy-mid); }

.sec-h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-mid);
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--orange);
}
.sec-h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 1.25rem 0 0.6rem;
}

/* Info / Highlight / Warning boxes */
.info-box {
    background: #eef3fa;
    border-right: 4px solid var(--navy-mid);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    padding: 1rem 1.25rem;
    margin: 0.85rem 0;
}
.info-box h5 {
    color: var(--navy-mid);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.info-box p { margin: 0; font-size: 0.9rem; }

.highlight-box {
    background: #fffbf0;
    border: 1px solid var(--orange-lt);
    border-radius: var(--r-md);
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0;
}
.highlight-box h4 {
    color: var(--orange);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.highlight-box h5 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0.75rem 0 0.3rem;
}

.two-col-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.75rem;
}

.warning-box {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: var(--r-md);
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0;
}
.warning-box h4 {
    color: var(--red);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.warning-box h5 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0.75rem 0 0.3rem;
}

/* Custom list */
.c-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}
.c-list li {
    padding: 0.35rem 0 0.35rem 1.25rem;
    position: relative;
    color: var(--gray-800);
    font-size: 0.9rem;
}
.c-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-size: 0.6rem;
    top: 0.55rem;
}

/* Methods grid */
.methods-grid { display: grid; gap: 0.75rem; margin: 0.75rem 0; }
.method-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--gray-100);
    border-radius: var(--r-md);
    padding: 0.85rem 1rem;
    transition: background .2s;
}
.method-item:hover { background: var(--gray-200); }
.method-item i { color: var(--green); font-size: 1.1rem; margin-top: 2px; }
.method-item span { font-size: 0.9rem; color: var(--gray-800); }

/* Steps */
.steps-wrap { position: relative; }
.step {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    position: relative;
}
.step::after {
    content: '';
    position: absolute;
    right: 19px;
    top: 44px;
    bottom: -20px;
    width: 2px;
    background: var(--gray-200);
}
.step:last-child::after { display: none; }
.step-dot {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-m);
}
.step-dot span { color: #fff; font-weight: 700; font-size: 0.95rem; }
.step-body {
    flex: 1;
    background: var(--gray-100);
    border-radius: var(--r-md);
    padding: 1rem 1.25rem;
}
.step-body h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy-mid); margin-bottom: 0.4rem; }
.step-body p { font-size: 0.88rem; color: var(--gray-600); margin: 0; line-height: 1.7; }

/* Post image */
.post-img-wrap { margin-bottom: 1.25rem; border-radius: var(--r-md); overflow: hidden; }
.post-img { width: 100%; height: 240px; object-fit: cover; }

/* Post footer */
.post-card-foot {
    padding: 1rem 2rem;
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.read-more-btn {
    color: var(--navy-mid);
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color .2s;
}
.read-more-btn:hover { color: var(--orange); }
.tag-row { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.p-tag {
    background: var(--gray-200);
    color: var(--gray-600);
    padding: 0.2rem 0.6rem;
    border-radius: var(--r-sm);
    font-size: 0.72rem;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-sticky { position: sticky; top: 88px; }

.widget {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 1.35rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-s);
}

.widget-head {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--orange);
}

/* Mini Profile widget */
.mini-profile-widget { border-top: 3px solid var(--navy-mid); }
.mini-profile-top {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 0.85rem;
}
.mini-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: var(--r-sm);
    border: 1px solid var(--gray-200);
    background: #fff;
    padding: 3px;
    flex-shrink: 0;
}
.mini-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
}
.mini-role {
    font-size: 0.78rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-top: 0.2rem;
}
.mini-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.82rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--gray-200);
    direction: ltr;
    text-align: right;
    justify-content: flex-end;
}
.mini-info-row:last-of-type { border-bottom: none; }
.mini-info-row i { color: var(--navy-mid); margin-top: 2px; }
.mini-profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
    background: var(--navy-mid);
    color: #fff;
    border-radius: var(--r-md);
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background .2s;
}
.mini-profile-btn:hover { background: var(--navy); }

/* Category list */
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list li { border-bottom: 1px solid var(--gray-200); }
.cat-list li:last-child { border-bottom: none; }
.cat-list a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0;
    color: var(--gray-800);
    font-size: 0.88rem;
    transition: color .2s;
}
.cat-list a:hover { color: var(--orange); }
.cat-list a i { color: var(--orange); font-size: 0.7rem; }
.cnt {
    margin-right: auto;
    background: var(--gray-200);
    color: var(--gray-600);
    padding: 0.1rem 0.45rem;
    border-radius: 50px;
    font-size: 0.72rem;
}

/* Recent list */
.recent-list { list-style: none; padding: 0; margin: 0; }
.recent-list li {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--gray-200);
}
.recent-list li:last-child { border-bottom: none; }
.recent-list a {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-900);
    transition: color .2s;
    margin-bottom: 0.2rem;
}
.recent-list a:hover { color: var(--orange); }
.recent-list time { font-size: 0.75rem; color: var(--gray-400); }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cloud-tag {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.78rem;
    transition: background .2s, color .2s;
}
.cloud-tag:hover { background: var(--navy-mid); color: #fff; }

/* ============================================================
   PAGE: ARTICLES
   ============================================================ */
.page-hero-mini {
    background: linear-gradient(135deg, var(--navy-mid), var(--navy));
    padding: 2.5rem 0;
    color: #fff;
}
.page-hero-mini h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.25rem; }
.page-hero-mini p { opacity: .75; }

.articles-list { display: flex; flex-direction: column; gap: 1.25rem; }
.article-row {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: var(--shadow-s);
    transition: box-shadow .2s, transform .2s;
}
.article-row:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.article-row .cat-tag { flex-shrink: 0; margin-top: 0.2rem; }
.article-row-content { flex: 1; }
.article-row-content h5 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.article-row-content h5 a { color: var(--navy); }
.article-row-content h5 a:hover { color: var(--orange); }
.article-row-content p { font-size: 0.88rem; color: var(--gray-600); margin-bottom: 0.5rem; line-height: 1.7; }
.article-meta { font-size: 0.78rem; color: var(--gray-400); display: flex; gap: 0.5rem; align-items: center; }

/* ============================================================
   PAGE: PROFILE
   ============================================================ */
.profile-page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 3.5rem 0;
    color: #fff;
}
.profile-hero-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.profile-page-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: var(--r-lg);
    background: #fff;
    padding: 8px;
    box-shadow: var(--shadow-l);
}
.profile-page-badge {
    display: inline-block;
    background: rgba(224,123,42,.3);
    color: var(--orange-lt);
    border: 1px solid rgba(224,123,42,.5);
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: .06em;
}
.profile-page-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}
.profile-page-title {
    opacity: .8;
    font-size: 0.95rem;
}

/* Profile body */
.profile-page-body { padding: 3rem 0 4rem; }

/* Profile table card */
.profile-table-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-s);
    margin-bottom: 1.5rem;
}
.profile-table-head {
    background: var(--navy);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
}
.profile-table tr:nth-child(odd)  { background: var(--white); }
.profile-table tr:nth-child(even) { background: var(--gray-100); }
.profile-table td { padding: 0.7rem 1rem; font-size: 0.88rem; border-bottom: 1px solid var(--gray-200); vertical-align: top; }
.profile-table tr:last-child td { border-bottom: none; }
.pl {
    font-weight: 700;
    color: var(--navy-mid);
    white-space: nowrap;
    width: 110px;
    border-left: 1px solid var(--gray-200);
}
.pv { color: var(--gray-800); }
.pv-ltr { direction: ltr; font-family: 'Courier New', monospace; font-size: 0.82rem; }

/* Skills card */
.skills-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-s);
}
.skill-bar-wrap { padding: 1.5rem; }
.skill-bar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.skill-bar-item:last-child { margin-bottom: 0; }
.sb-label { width: 170px; font-size: 0.85rem; font-weight: 600; color: var(--gray-800); flex-shrink: 0; }
.sb-track {
    flex: 1;
    background: var(--gray-200);
    border-radius: 50px;
    height: 8px;
    overflow: hidden;
}
.sb-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--navy-mid), var(--orange));
    border-radius: 50px;
    width: 0%;
    transition: width 1.2s var(--ease);
}
.sb-pct { font-size: 0.78rem; font-weight: 700; color: var(--orange); width: 36px; text-align: left; flex-shrink: 0; }

/* Profile info card (right column) */
.profile-info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-s);
    overflow: hidden;
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
    position: sticky;
    top: 88px;
}
.pic-holder {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--gray-100);
    border: 3px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px;
}
.pic-logo { width: 100%; height: 100%; object-fit: contain; border-radius: 38px;}
.pic-name { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 0.25rem; }
.pic-role { font-size: 0.8rem; color: var(--gray-600); margin-bottom: 1.25rem; line-height: 1.5; }
.contact-pills { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1.25rem; }
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--navy-mid);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background .2s;
}
.pill:hover { background: var(--orange); }
.info-divider { height: 1px; background: var(--gray-200); margin: 1rem 0; }
.ic-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--gray-700);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    text-align: right;
}
.ic-row:last-child { border-bottom: none; }
.ic-row i { color: var(--orange); font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: linear-gradient(135deg, var(--gray-900), var(--navy));
    color: rgba(255,255,255,.6);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.88rem;
    margin-top: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .sidebar-sticky { position: static; }
    .profile-info-card { position: static; }
}

@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; }
    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 0.5rem 0 1rem;
    }
    .site-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .hero-title { font-size: 2rem; }
    .hero-stats { gap: 2rem; }
    .post-card-head, .post-card-body, .post-card-foot { padding: 1.1rem 1.25rem; }
    .post-card-title { font-size: 1.2rem; }
    .profile-hero-inner { flex-direction: column; text-align: center; }
    .profile-page-name { font-size: 1.6rem; }
    .profile-table td { padding: 0.55rem 0.75rem; }
    .two-col-list { grid-template-columns: 1fr; }
    .sb-label { width: 130px; }
    .step { flex-direction: column; gap: 0.75rem; }
    .step::after { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.6rem; }
    .logo-sub { display: none; }
    .logo-title { font-size: 0.9rem; }
}
