:root {
    --sky-50:  #f0f9ff;
    --sky-100: #e0f4ff;
    --sky-200: #b9e6fe;
    --sky-300: #7dd3fc;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --sky-600: #0078d4;
    --sky-700: #0369a1;
    --sky-800: #075985;
    --white:   #ffffff;
    --gray-50: #f8fafc;
    --gray-100:#f1f5f9;
    --gray-200:#e2e8f0;
    --gray-300:#cbd5e1;
    --gray-400:#94a3b8;
    --gray-500:#64748b;
    --gray-600:#475569;
    --gray-700:#334155;
    --gray-800:#1e293b;
    --success: #107c10;
    --danger:  #d13438;
    --warning: #ffb900;
    --shadow-sm: 0 1px 2px rgba(0, 120, 212, 0.06);
    --shadow:    0 4px 12px rgba(0, 120, 212, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 120, 212, 0.12);
    --radius:    8px;
    --radius-lg: 12px;
    --sidebar-w: 260px;
    --header-h:  64px;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font);
    background: linear-gradient(135deg, var(--sky-50) 0%, var(--white) 40%, var(--sky-100) 100%);
    color: var(--gray-800);
    min-height: 100vh;
    line-height: 1.5;
}

a { color: var(--sky-600); text-decoration: none; }
a:hover { color: var(--sky-700); }

/* ── Login Page ── */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(160deg, var(--sky-100) 0%, var(--white) 50%, var(--sky-200) 100%);
}

.login-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    border: 1px solid var(--sky-200);
}

.login-header {
    background: linear-gradient(135deg, var(--sky-600), var(--sky-400));
    color: var(--white);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
}

.login-header .logo-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.95;
}

.login-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.login-header p {
    font-size: 0.875rem;
    opacity: 0.85;
}

.login-body { padding: 2rem; }

.login-footer {
    text-align: center;
    padding: 1rem 2rem 1.5rem;
    font-size: 0.8rem;
    color: var(--gray-500);
    border-top: 1px solid var(--gray-100);
}

/* ── Layout ── */
.app-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-w);
    background: var(--white);
    border-right: 1px solid var(--sky-200);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.sidebar-brand {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--sky-100);
    background: linear-gradient(135deg, var(--sky-600), var(--sky-500));
    color: var(--white);
}

.sidebar-brand i { font-size: 1.5rem; }
.sidebar-brand span { font-size: 1.1rem; font-weight: 600; }

.sidebar-nav {
    flex: 1;
    padding: 1rem 0.75rem;
    overflow-y: auto;
}

.nav-section {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    padding: 0.75rem 0.75rem 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius);
    color: var(--gray-600);
    font-size: 0.9rem;
    transition: all 0.15s ease;
    margin-bottom: 2px;
}

.nav-link i { width: 20px; text-align: center; font-size: 0.95rem; }

.nav-link:hover {
    background: var(--sky-50);
    color: var(--sky-600);
}

.nav-link.active {
    background: var(--sky-100);
    color: var(--sky-600);
    font-weight: 600;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid var(--gray-100);
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-w);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.topbar {
    height: var(--header-h);
    background: var(--white);
    border-bottom: 1px solid var(--sky-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.topbar-title h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.15s;
}

.user-menu:hover { background: var(--sky-50); }

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.user-info { line-height: 1.3; }
.user-info .name { font-size: 0.875rem; font-weight: 600; color: var(--gray-800); }
.user-info .role { font-size: 0.75rem; color: var(--gray-500); }

.page-content {
    padding: 1.5rem 2rem 2rem;
    flex: 1;
}

/* ── Cards ── */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--sky-200);
    box-shadow: var(--shadow-sm);
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-header h3 i { color: var(--sky-600); }

.card-body { padding: 1.5rem; }

/* ── Stats Grid ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--sky-200);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, box-shadow 0.15s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-icon.blue   { background: var(--sky-100); color: var(--sky-600); }
.stat-icon.green  { background: #dcfce7; color: var(--success); }
.stat-icon.gray   { background: var(--gray-100); color: var(--gray-500); }
.stat-icon.red    { background: #fee2e2; color: var(--danger); }

.stat-info h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1;
}

.stat-info p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-control:focus {
    outline: none;
    border-color: var(--sky-400);
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.15);
}

.form-control.is-invalid { border-color: var(--danger); }

.form-error {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-hint {
    font-size: 0.78rem;
    color: var(--gray-400);
    margin-top: 0.3rem;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
}

.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 0.9rem;
}

.input-group .form-control { padding-left: 2.5rem; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--sky-600);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--sky-700);
    color: var(--white);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}
.btn-secondary:hover { background: var(--gray-200); color: var(--gray-800); }

.btn-danger {
    background: var(--danger);
    color: var(--white);
}
.btn-danger:hover { background: #b02a2e; color: var(--white); }

.btn-sm { padding: 0.4rem 0.75rem; font-size: 0.8rem; }

.btn-icon {
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
    border-radius: var(--radius);
}

.btn-block { width: 100%; justify-content: center; }

/* ── Alerts ── */
.alert {
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info    { background: var(--sky-50); color: var(--sky-800); border: 1px solid var(--sky-200); }

/* ── Table ── */
.table-responsive { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

thead th {
    background: var(--sky-50);
    color: var(--gray-600);
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid var(--sky-200);
    white-space: nowrap;
}

tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}

tbody tr:hover { background: var(--sky-50); }

.user-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-cell .avatar-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky-400), var(--sky-600));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.user-cell .details .name { font-weight: 600; color: var(--gray-800); }
.user-cell .details .email { font-size: 0.8rem; color: var(--gray-500); }

/* News CMS Table Thumbnails */
.news-title-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-thumb-link {
    display: block;
    flex-shrink: 0;
    text-decoration: none;
    border-radius: 6px;
}

.news-thumb {
    width: 60px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
    display: block;
    border: 1px solid var(--gray-200);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.news-thumb-link:hover .news-thumb {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.news-thumb-placeholder {
    width: 60px;
    height: 45px;
    border-radius: 6px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    font-size: 1.1rem;
}

/* ── Badges ── */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success   { background: #dcfce7; color: #166534; }
.badge-secondary { background: var(--gray-100); color: var(--gray-600); }
.badge-danger    { background: #fee2e2; color: #991b1b; }
.badge-admin     { background: var(--sky-100); color: var(--sky-700); }
.badge-moderator { background: #fef3c7; color: #92400e; }
.badge-user      { background: var(--gray-100); color: var(--gray-600); }

/* ── Filters ── */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1.25rem;
}

.filters-bar .form-group { margin-bottom: 0; flex: 1; min-width: 160px; }
.filters-bar .form-group.search { flex: 2; min-width: 220px; }

/* ── Pagination ── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.25rem 0 0.5rem;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
}

.pagination a {
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
}
.pagination a:hover { background: var(--sky-50); border-color: var(--sky-300); color: var(--sky-600); }

.pagination .active {
    background: var(--sky-600);
    color: var(--white);
    border: 1px solid var(--sky-600);
}

.pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ── Action buttons in table ── */
.action-btns { display: flex; gap: 0.35rem; }

/* ── Activity list ── */
.activity-list { list-style: none; }

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.activity-item:last-child { border-bottom: none; }

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--sky-100);
    color: var(--sky-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.activity-text { font-size: 0.85rem; }
.activity-text strong { color: var(--gray-800); }
.activity-time { font-size: 0.75rem; color: var(--gray-400); margin-top: 0.15rem; }

/* ── Grid layouts ── */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* ── Empty state ── */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-400);
}

.empty-state i { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

/* ── Modal confirm ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show { display: flex; }

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 420px;
    padding: 1.5rem;
}

.modal h4 { margin-bottom: 0.5rem; }
.modal p  { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 1.25rem; }
.modal-actions { display: flex; gap: 0.75rem; justify-content: flex-end; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .main-content { margin-left: 0; }
    .form-row, .grid-2 { grid-template-columns: 1fr; }
    .page-content { padding: 1rem; }
    .topbar { padding: 0 1rem; }
}

/* ── Google Fonts & Public Layout ── */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

.public-layout {
    font-family: 'Hind Siliguri', 'Segoe UI', system-ui, sans-serif;
    color: var(--gray-800);
}

.public-navbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.public-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.public-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0e5e3a;
    text-decoration: none;
}

.public-brand i {
    font-size: 1.5rem;
    color: #d4972c;
}

.public-nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
}

.public-nav-links a {
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.public-nav-links a:hover,
.public-nav-links a.active {
    color: #0e5e3a;
}

.public-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* ── Hero Banners ── */
.nsd-hero {
    background: linear-gradient(135deg, #0e5e3a 0%, #164e63 100%);
    color: var(--white);
    padding: 3rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.nsd-hero.explore {
    background: linear-gradient(135deg, #1e3a8a 0%, #0e5e3a 100%);
}

.nsd-hero.news {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
}

.nsd-hero.emergency {
    background: linear-gradient(135deg, #7f1d1d 0%, #0f172a 100%);
}

.nsd-hero.submit-business {
    background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
}

.nsd-hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #fef08a;
    padding: 4px 14px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.nsd-hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
    line-height: 1.25;
}

.nsd-hero p {
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto 1.75rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* Hero Action Buttons & Feature Tags */
.nsd-hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-hero-cta {
    background: #ef4444;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 22px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
    transition: all 0.2s ease;
}

.btn-hero-cta:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.45);
}

.btn-hero-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.btn-hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.nsd-hero-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.nsd-hero-features span {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #f1f5f9;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
    .nsd-hero {
        padding: 2.2rem 1.25rem;
    }
    .nsd-hero h1 {
        font-size: 1.75rem;
    }
    .nsd-hero p {
        font-size: 0.98rem;
        margin-bottom: 1.25rem;
    }
}

/* ── Search and Filter Bar ── */
.nsd-search-bar {
    max-width: 860px;
    margin: 0 auto;
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.nsd-search-bar input[type="text"] {
    flex: 1 1 240px;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.95rem;
    outline: none;
    font-family: inherit;
}

.nsd-search-bar select {
    flex: 1 1 160px;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.9rem;
    background: var(--gray-50);
    outline: none;
    font-family: inherit;
}

.nsd-search-bar button {
    background: #d4972c;
    color: #0f172a;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.nsd-search-bar button:hover {
    background: #b87f1f;
    color: var(--white);
}

/* ── Upazila Quick Filter Pills ── */
.nsd-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 1.5rem 0 2rem;
}

.nsd-pill {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.nsd-pill:hover, .nsd-pill.active {
    background: #0e5e3a;
    color: var(--white);
    border-color: #0e5e3a;
    transform: translateY(-2px);
}

/* ── Category Quick Grid ── */
.nsd-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 2.5rem;
}

.nsd-cat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 14px 10px;
    text-align: center;
    text-decoration: none;
    color: var(--gray-800);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.nsd-cat-card:hover, .nsd-cat-card.active {
    border-color: #0e5e3a;
    background: #f0fdf4;
    color: #0e5e3a;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.nsd-cat-card i {
    font-size: 1.6rem;
    color: #0e5e3a;
}

.nsd-cat-card span {
    font-size: 0.85rem;
    font-weight: 600;
}

/* ── Cards Grid ── */
.nsd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.nsd-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.nsd-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

.nsd-card-thumb {
    height: 180px;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.nsd-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.nsd-card:hover .nsd-card-thumb img {
    transform: scale(1.05);
}

.nsd-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.nsd-cat-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.8);
    color: var(--white);
    padding: 3px 10px;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
}

.nsd-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nsd-card-loc {
    font-size: 0.85rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.nsd-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.nsd-card-title a {
    color: var(--gray-800);
}

.nsd-card-title a:hover {
    color: #0e5e3a;
}

.nsd-card-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.55;
    margin-bottom: 1rem;
    flex: 1;
}

.nsd-card-services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1rem;
}

.nsd-card-services span {
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
}

.nsd-card-footer {
    border-top: 1px solid var(--gray-100);
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ── Profile Page ── */
.nsd-profile-header {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.nsd-cover {
    height: 280px;
    background: linear-gradient(135deg, #0e5e3a, #164e63);
    position: relative;
}

.nsd-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nsd-profile-bar {
    padding: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* ── Business Profile Hero & Logo ── */
.profile-info-wrap {
    display: flex;
    align-items: center; /* Vertically centered side-by-side with title block */
    gap: 1.5rem;
    flex: 1;
    min-width: 0;
}

.profile-logo-box {
    width: 110px;
    height: 110px;
    min-width: 110px;
    max-width: 110px;
    border-radius: 16px;
    background: #ffffff;
    border: 3px solid #e2e8f0; /* Clean defined border */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-shrink: 0;
    overflow: hidden;
    transition: all 0.25s ease;
}

.profile-logo-box:hover {
    border-color: #0e5e3a;
    box-shadow: 0 6px 20px rgba(14, 94, 58, 0.16);
    transform: translateY(-2px);
}

.profile-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.profile-title-block {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.profile-badges-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.profile-badges-row .cat-pill {
    background: #f1f5f9;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.profile-main-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.profile-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #64748b;
}

.profile-meta-row .meta-dot {
    color: #cbd5e1;
}

.profile-quick-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-action-primary {
    background: #0e5e3a;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(14, 94, 58, 0.25);
    transition: all 0.2s ease;
}

.btn-action-primary:hover {
    background: #166534;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(14, 94, 58, 0.35);
}

.btn-action-wa {
    background: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    transition: all 0.2s ease;
}

.btn-action-wa:hover {
    background: #20ba5a;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.btn-action-secondary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 9px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action-secondary:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-1px);
}

@media (max-width: 800px) {
    .nsd-profile-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
        gap: 1.25rem;
    }
    .profile-info-wrap {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    .profile-logo-box {
        width: 85px;
        height: 85px;
        min-width: 85px;
    }
    .profile-main-title {
        font-size: 1.45rem;
    }
    .profile-quick-actions {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .profile-info-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

.nsd-profile-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.nsd-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.nsd-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.nsd-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}

.nsd-contact-item:last-child { border-bottom: none; }
.nsd-contact-item i { color: #0e5e3a; font-size: 1.1rem; margin-top: 3px; min-width: 18px; }

@media (max-width: 900px) {
    .nsd-profile-layout { grid-template-columns: 1fr; }
    .public-nav-links { display: none; }
}

/* ══════════════════════════════════════════════════════════════════
   PRODUCTS & SERVICES (Business Profile View)
   ══════════════════════════════════════════════════════════════════ */
.services-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin-top: 1rem;
}

.service-item-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item-card:hover {
    background: #ffffff;
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
    transform: translateY(-2px);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    max-width: 32px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #0e5e3a;
    border: 1.5px solid #a7f3d0;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.service-icon i {
    font-size: 0.95rem;
    color: #0e5e3a;
    line-height: 1;
}

.service-item-card:hover .service-icon {
    background: #0e5e3a;
    border-color: #0e5e3a;
}

.service-item-card:hover .service-icon i {
    color: #ffffff;
}

.service-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-details h4,
.service-title {
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    word-break: break-word;
}

.service-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0e5e3a;
    background: rgba(14, 94, 58, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 4px;
    width: fit-content;
}

@media (max-width: 600px) {
    .services-list-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════════
   PHOTO GALLERY & INTERACTIVE LIGHTBOX VIEWER
   ══════════════════════════════════════════════════════════════════ */
.nsd-gallery-section {
    position: relative;
    margin-bottom: 2rem;
}
.gallery-header-row {
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-100);
}
.gallery-section-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.35rem 0;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
.gallery-count-badge {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.15rem 0.65rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}
.gallery-subtitle {
    font-size: 0.88rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.5;
}

/* Gallery Grid */
.profile-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}
@media (max-width: 640px) {
    .profile-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Gallery Card */
.gallery-photo-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    aspect-ratio: 16 / 10;
    min-height: 220px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
    cursor: pointer;
    user-select: none;
    outline: none;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 0.3s ease;
}
.gallery-photo-item:hover,
.gallery-photo-item:focus-visible {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(14, 94, 58, 0.2), 0 4px 10px rgba(0, 0, 0, 0.08);
    border-color: rgba(14, 94, 58, 0.4);
}
.gallery-img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    inset: 0;
}
.gallery-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.4s ease;
}
.gallery-photo-item:hover .gallery-thumb-img,
.gallery-photo-item:focus-visible .gallery-thumb-img {
    transform: scale(1.08);
    filter: brightness(1.05) contrast(1.02);
}

/* Floating Zoom Badge */
.gallery-zoom-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    transform: scale(0.75) rotate(-10deg);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.gallery-photo-item:hover .gallery-zoom-badge,
.gallery-photo-item:focus-visible .gallery-zoom-badge {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    background: rgba(14, 94, 58, 0.9);
    border-color: rgba(255, 255, 255, 0.45);
}

/* Short Description Overlay Over Photo Bottom */
.gallery-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 2.75rem 1.15rem 0.95rem 1.15rem;
    background: linear-gradient(
        to top,
        rgba(8, 14, 26, 0.96) 0%,
        rgba(8, 14, 26, 0.78) 55%,
        rgba(8, 14, 26, 0.3) 82%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                background 0.35s ease;
}
.gallery-photo-item:hover .gallery-caption-overlay,
.gallery-photo-item:focus-visible .gallery-caption-overlay {
    transform: translateY(-2px);
    background: linear-gradient(
        to top,
        rgba(8, 14, 26, 0.98) 0%,
        rgba(8, 14, 26, 0.86) 60%,
        rgba(8, 14, 26, 0.4) 86%,
        transparent 100%
    );
}
.gallery-meta-tag {
    margin-bottom: 0.35rem;
}
.gallery-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #a7f3d0;
    background: rgba(14, 94, 58, 0.5);
    border: 1px solid rgba(167, 243, 208, 0.35);
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.2px;
}
.gallery-caption-text {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}
.gallery-photo-item:hover .gallery-caption-text {
    color: #f1f5f9;
}
.gallery-hover-hint {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(6px);
    transition: opacity 0.3s ease, max-height 0.3s ease, transform 0.3s ease;
    font-size: 0.76rem;
    color: #93c5fd;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}
.gallery-photo-item:hover .gallery-hover-hint,
.gallery-photo-item:focus-visible .gallery-hover-hint {
    opacity: 1;
    max-height: 24px;
    transform: translateY(0);
    margin-top: 0.35rem;
}

/* ── Lightbox Modal Viewer ── */
body.nsd-lb-open {
    overflow: hidden !important;
}
.nsd-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
                visibility 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nsd-lightbox-modal.is-active {
    opacity: 1;
    visibility: visible;
}
.nsd-lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 11, 20, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.nsd-lb-dialog {
    position: relative;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    box-sizing: border-box;
    transform: scale(0.97);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nsd-lightbox-modal.is-active .nsd-lb-dialog {
    transform: scale(1);
}
.nsd-lb-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    flex-shrink: 0;
}
.nsd-lb-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nsd-lb-place-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
}
.nsd-lb-counter {
    background: #0e5e3a;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.15rem 0.65rem;
    border-radius: 9999px;
    letter-spacing: 0.3px;
}
.nsd-lb-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nsd-lb-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}
.nsd-lb-action-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: scale(1.05);
}
.nsd-lb-close-btn:hover {
    background: #dc2626;
    border-color: #dc2626;
    transform: rotate(90deg) scale(1.05);
}
.nsd-lb-stage {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin: 0.75rem 0;
    touch-action: pan-y;
}
.nsd-lb-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.nsd-lb-nav-btn:hover {
    background: #0e5e3a;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}
.nsd-lb-prev { left: 0.5rem; }
.nsd-lb-next { right: 0.5rem; }
.nsd-lb-media-wrap {
    position: relative;
    max-width: 90vw;
    max-height: 68vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nsd-lb-img {
    max-width: 90vw;
    max-height: 68vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nsd-lb-img.is-switching {
    opacity: 0;
    transform: scale(0.96);
}
.nsd-lb-loader {
    position: absolute;
    font-size: 2rem;
    color: #10b981;
    display: none;
}
.nsd-lb-loader.is-loading {
    display: block;
}
.nsd-lb-bottombar {
    flex-shrink: 0;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}
.nsd-lb-caption-content {
    max-width: 780px;
}
.nsd-lb-caption-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.2rem 0;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
.nsd-lb-subtext {
    font-size: 0.8rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nsd-lb-thumbs-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    max-width: 100%;
    padding: 4px 0;
}
.nsd-lb-thumb {
    width: 48px;
    height: 34px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.55;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.nsd-lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nsd-lb-thumb:hover {
    opacity: 0.85;
    transform: scale(1.06);
}
.nsd-lb-thumb.is-active {
    opacity: 1;
    border-color: #10b981;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}


/* ══════════════════════════════════════════════════════════════════
   PORTAL HOME PAGE STYLES (Modeled after localhost/narsingdi/)
   ══════════════════════════════════════════════════════════════════ */

/* ── Breaking / Latest News Ticker ── */
.portal-ticker-wrap {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 8px 0;
    font-size: 0.88rem;
}

.portal-ticker-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.portal-ticker-badge {
    background: #e11d48;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.portal-ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--gray-700);
}

.portal-ticker-content a {
    color: var(--gray-800);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.portal-ticker-content a:hover {
    color: #e11d48;
}

.portal-ticker-date {
    color: var(--gray-500);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* ── Hero Magazine News Grid ── */
.portal-hero-section {
    padding: 2rem 0;
}

.portal-hero-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr 1fr;
    gap: 1.5rem;
}

/* Lead Big News Card */
.portal-lead-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-lead-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.portal-lead-media {
    position: relative;
    height: 280px;
    background: #1e293b;
    overflow: hidden;
}

.portal-lead-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portal-lead-card:hover .portal-lead-media img {
    transform: scale(1.04);
}

.portal-cat-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #e11d48;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}

.portal-lead-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.portal-meta {
    font-size: 0.8rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.portal-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.portal-lead-title {
    font-size: 1.35rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.5rem 0;
}

.portal-lead-title a {
    color: inherit;
    text-decoration: none;
}

.portal-lead-title a:hover {
    color: #e11d48;
}

.portal-lead-excerpt {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin: 0 0 0.5rem 0;
    flex: none;
}

/* Secondary Feature Card */
.portal-sublead-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-sublead-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.portal-sublead-media {
    position: relative;
    height: 190px;
    background: #1e293b;
    overflow: hidden;
}

.portal-sublead-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portal-sublead-card:hover .portal-sublead-media img {
    transform: scale(1.04);
}

.portal-sublead-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portal-sublead-title {
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.5rem 0;
}

.portal-sublead-title a {
    color: inherit;
    text-decoration: none;
}

.portal-sublead-title a:hover {
    color: #e11d48;
}

/* Editor's Pick Column */
.portal-editor-pick {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.portal-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--gray-100);
    position: relative;
}

.portal-block-header::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 45px;
    height: 2px;
    background: #e11d48;
}

.portal-block-header h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portal-view-all {
    font-size: 0.78rem;
    font-weight: 700;
    color: #e11d48;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.portal-view-all:hover {
    text-decoration: underline;
}

.portal-pick-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portal-pick-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.portal-pick-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.portal-pick-thumb {
    width: 72px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--gray-200);
}

.portal-pick-info h5 {
    font-size: 0.88rem;
    line-height: 1.35;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--gray-800);
}

.portal-pick-info h5 a {
    color: inherit;
    text-decoration: none;
}

.portal-pick-info h5 a:hover {
    color: #e11d48;
}

.portal-pick-date {
    font-size: 0.75rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Section Dividers & Banners ── */
.portal-section {
    padding: 2.5rem 0;
}

.portal-section.bg-light {
    background: #f8fafc;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

/* ── Themed 2-Column Categories (Tech, Politics, Sports, Health) ── */
.portal-themed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.portal-theme-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.portal-theme-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.portal-theme-item {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.portal-theme-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.portal-theme-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 6px 0;
}

.portal-theme-item h4 a {
    color: var(--gray-800);
    text-decoration: none;
}

.portal-theme-item h4 a:hover {
    color: #e11d48;
}

.portal-theme-item p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0 0 6px 0;
}

/* ── Business Directory Spotlight Section ── */
.portal-biz-hub {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
    border-top: 1px solid #bbf7d0;
    border-bottom: 1px solid #bbf7d0;
    padding: 3rem 0;
}

.portal-biz-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2rem auto;
}

.portal-biz-header .badge {
    background: #dcfce7;
    color: #166534;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    display: inline-block;
}

.portal-biz-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #064e3b;
    margin: 0 0 8px 0;
}

.portal-biz-header p {
    color: #065f46;
    font-size: 1rem;
    margin: 0;
}

.portal-search-bar {
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    background: #fff;
    border: 2px solid #0e5e3a;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 4px 14px rgba(14, 94, 58, 0.12);
}

.portal-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 18px;
    font-size: 0.95rem;
    background: transparent;
    font-family: inherit;
}

.portal-search-bar button {
    background: #0e5e3a;
    color: #fff;
    border: none;
    outline: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease;
}

.portal-search-bar button:hover {
    background: #093824;
}

.portal-cat-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2.25rem;
}

.portal-cat-chip {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: var(--gray-700);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.portal-cat-chip:hover {
    background: #0e5e3a;
    border-color: #0e5e3a;
    color: #fff;
    transform: translateY(-1px);
}

/* ── Explore Narsingdi Spotlight ── */
.portal-explore-hub {
    padding: 3rem 0;
    background: #ffffff;
}

.portal-explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* ── Newsletter Subscribe CTA ── */
.portal-newsletter {
    background: linear-gradient(135deg, #093824 0%, #0e5e3a 50%, #1e3a8a 100%);
    color: #fff;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 10px 25px rgba(14, 94, 58, 0.2);
}

.portal-newsletter h2 {
    font-size: 1.85rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #fff;
}

.portal-newsletter p {
    font-size: 1rem;
    color: rgba(255,255,255,0.88);
    max-width: 540px;
    margin: 0 auto 1.75rem auto;
}

.portal-newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.portal-newsletter-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-family: inherit;
}

.portal-newsletter-form button {
    background: #e11d48;
    color: #fff;
    border: none;
    outline: none;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease;
}

.portal-newsletter-form button:hover {
    background: #be123c;
}

/* ── Responsive adjustments ── */
@media (max-width: 1024px) {
    .portal-hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    .portal-editor-pick {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .portal-hero-grid {
        grid-template-columns: 1fr;
    }
    .portal-editor-pick {
        grid-column: span 1;
    }
    .portal-lead-media {
        height: 220px;
    }
    .portal-lead-title {
        font-size: 1.2rem;
    }
    .portal-ticker-inner {
        flex-wrap: wrap;
    }
    .portal-newsletter-form {
        flex-direction: column;
        border-radius: 12px;
        padding: 8px;
    }
    .portal-newsletter-form button {
        border-radius: 8px;
        margin-top: 6px;
    }
}

/* ══════════════════════════════════════════════════════════════════
   TOP LOGO HEADER & HERO BANNER (Dedicated 3-Section Layout)
   ══════════════════════════════════════════════════════════════════ */

/* ── Top Logo Branding (Logo on Top) ── */
.public-logo-header {
    background: #ffffff;
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem 0;
}

.logo-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo-header-date {
    font-size: 0.82rem;
    color: var(--gray-600);
    line-height: 1.4;
}

.portal-main-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    text-align: center;
}

.portal-main-logo .brand-logo-circle {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0e5e3a 0%, #166534 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 14px rgba(14, 94, 58, 0.25);
    transition: transform 0.3s ease;
}

.portal-main-logo:hover .brand-logo-circle {
    transform: rotate(15deg) scale(1.05);
}

.portal-main-logo .brand-title {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.1;
    color: #064e3b;
    letter-spacing: -0.02em;
}

.portal-main-logo .brand-domain {
    color: #e11d48;
}

.portal-main-logo .brand-tagline {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
    display: block;
    margin-top: 3px;
}

.btn-top-cta {
    background: #0e5e3a;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(14, 94, 58, 0.2);
    transition: background 0.15s ease, transform 0.15s ease;
}

.btn-top-cta:hover {
    background: #093824;
    color: #fff;
    transform: translateY(-2px);
}

/* ── Full Width Menu Bar with Official Logo & Brand ── */
.public-menu-bar {
    background: #0e5e3a;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.16);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.public-menu-bar .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 60px;
    gap: 1rem;
}

/* Nav Brand & Logo */
.nav-brand-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-nav-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 4px 0;
}

.portal-nav-logo {
    height: 38px;
    width: auto;
    max-width: 175px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-nav-brand:hover .portal-nav-logo {
    transform: scale(1.04);
}

/* Mobile Toggle Button */
.mobile-nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Public Nav Links */
.public-nav {
    display: flex;
    align-items: center;
}

.public-menu-bar .public-nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.public-menu-bar .public-nav-links a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.public-menu-bar .public-nav-links a i {
    font-size: 0.85rem;
    opacity: 0.9;
}

.public-menu-bar .public-nav-links a:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.public-menu-bar .public-nav-links a.active {
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Right Actions & CTA */
.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    color: #0e5e3a !important;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 7px 16px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-nav-cta:hover {
    background: #fef08a;
    color: #713f12 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

/* Mobile Responsiveness for Navigation */
@media (max-width: 980px) {
    .mobile-nav-toggle {
        display: inline-flex;
    }
    .public-menu-bar .public-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0e5e3a;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        padding: 12px 16px 16px;
        z-index: 999;
    }
    .public-menu-bar .public-nav.open {
        display: block;
    }
    .public-menu-bar .public-nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .public-menu-bar .public-nav-links a {
        padding: 11px 14px;
        font-size: 0.96rem;
    }
}

@media (max-width: 600px) {
    .btn-nav-cta {
        display: none;
    }
    .portal-nav-logo {
        height: 32px;
        max-width: 140px;
    }
}

/* ── District Hero Banner ── */
.portal-hero-banner {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%),
                url('https://images.unsplash.com/photo-1579783900882-c0d3dad7b119?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: #fff;
    padding: 3.5rem 1rem;
    text-align: center;
    border: none;
    border-bottom: none;
    position: relative;
}

.portal-banner-badge {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.portal-hero-banner h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    color: #ffffff;
    line-height: 1.25;
}

.portal-hero-banner p {
    font-size: 1.12rem;
    color: rgba(255,255,255,0.9);
    max-width: 720px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

/* 3 Core Section Shortcut Jump Pills */
.portal-banner-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.portal-jump-pill {
    background: #ffffff;
    color: #0e5e3a;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

.portal-jump-pill:hover {
    background: #e11d48;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.3);
}

/* ── Section Title Badges ── */
.portal-main-section-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 1rem;
    position: relative;
}

.portal-main-section-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #e11d48;
}

.portal-main-section-title h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-main-section-title p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.95rem;
}

/* ── Video News Card Components ── */
.portal-video-thumb-wrap {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    cursor: pointer;
}

.portal-video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
}

.portal-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(225, 29, 72, 0.9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 3;
    pointer-events: none;
}

.portal-video-thumb-wrap:hover .portal-play-overlay {
    transform: translate(-50%, -50%) scale(1.15);
    background: #be123c;
}

/* Video Showcase 4-Column Grid */
.portal-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.portal-video-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.portal-video-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.portal-video-card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portal-video-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.4;
    margin: 0 0 6px 0;
}

.portal-video-card-title a {
    color: inherit;
    text-decoration: none;
}

.portal-video-card-title a:hover {
    color: #e11d48;
}

/* ── Interactive Video Modal ── */
.portal-video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 15, 30, 0.88);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.portal-video-modal-overlay.open {
    display: flex;
    opacity: 1;
}

.portal-video-modal-box {
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    width: 100%;
    max-width: 860px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7);
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portal-video-modal-overlay.open .portal-video-modal-box {
    transform: scale(1);
}

.portal-video-modal-header {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111827;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 12px;
}

.portal-video-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.portal-video-modal-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.portal-video-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.portal-video-modal-close:hover {
    background: #e11d48;
    border-color: #e11d48;
    transform: rotate(90deg);
}

.portal-video-iframe-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.portal-video-iframe-wrap iframe,
.portal-video-iframe-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.portal-video-modal-footer {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: #111827;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Video card cursor */
[data-video-modal="true"] {
    cursor: pointer;
}


/* Responsive adjustments */
@media (max-width: 800px) {
    .logo-header-inner {
        flex-direction: column;
        text-align: center;
    }
    .logo-header-date, .logo-header-action {
        display: none;
    }
    .portal-hero-banner h1 {
        font-size: 1.85rem;
    }
    .portal-hero-banner p {
        font-size: 0.98rem;
    }
}

/* ══════════════════════════════════════════════════════════════════
   PUBLIC FOOTER (3-COLUMN LAYOUT & SINGLE ROW COPYRIGHT)
   ══════════════════════════════════════════════════════════════════ */
.public-footer {
    background: linear-gradient(180deg, #072216 0%, #03140c 100%);
    border-top: 3px solid #0e5e3a;
    color: #e2e8f0;
    padding: 3.5rem 0 0 0;
    margin-top: 3rem;
    position: relative;
}

.public-footer::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0e5e3a 0%, #10b981 35%, #d4972c 70%, #e11d48 100%);
}

.public-footer .public-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 3-Column Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-col-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.25rem 0;
    padding-bottom: 12px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.2px;
}

.footer-col-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #d4972c);
    border-radius: 2px;
}

.footer-col-title i {
    color: #10b981;
    font-size: 1.1rem;
}

/* Links Columns */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links li a {
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links li a i {
    color: #10b981;
    font-size: 0.72rem;
    transition: transform 0.2s ease;
    opacity: 0.8;
}

.footer-links li a:hover {
    color: #ffffff;
    transform: translateX(6px);
}

.footer-links li a:hover i {
    transform: translateX(3px);
    opacity: 1;
    color: #34d399;
}

/* Contact Details Column */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.25rem;
}

.footer-contact p {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.footer-contact p i {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.82rem;
    margin-top: 2px;
}

.footer-contact p a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact p a:hover {
    color: #34d399;
    text-decoration: underline;
}

/* Social Media Icons */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-socials a:hover {
    transform: translateY(-3px) scale(1.08);
    color: #ffffff;
}

.footer-socials a[aria-label="Facebook"]:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.45);
}

.footer-socials a[aria-label="YouTube"]:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.45);
}

.footer-socials a[aria-label="WhatsApp"]:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);
}

.footer-socials a[aria-label="LinkedIn"]:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.45);
}

/* CTA Wrap & Button */
.footer-cta-wrap {
    margin-top: 0.5rem;
}

.footer-badge-cta {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff;
    padding: 9px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
    transition: all 0.25s ease;
}

.footer-badge-cta:hover {
    background: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.5);
    color: #ffffff;
}

/* Copyright in a Single Row */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.32);
    padding: 1.25rem 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    margin: 0;
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.5;
}

.footer-copyright strong {
    color: #f1f5f9;
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #34d399;
}

.footer-bottom-links .sep {
    color: #475569;
}

/* Mobile Bottom Bar Navigation */
.mobile-bottom-bar {
    display: none;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 0.75rem;
    }
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body.public-body {
        padding-bottom: 60px;
    }
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 58px;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
        align-items: center;
        justify-content: space-around;
        padding: 4px 0;
    }
    .mobile-bottom-bar a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #64748b;
        font-size: 0.72rem;
        text-decoration: none;
        font-weight: 600;
        flex: 1;
        transition: color 0.15s ease;
    }
    .mobile-bottom-bar a i {
        font-size: 1.05rem;
    }
    .mobile-bottom-bar a:hover,
    .mobile-bottom-bar a.active {
        color: #0e5e3a;
    }
    .mobile-bottom-bar .mobile-cta-btn {
        background: linear-gradient(135deg, #0e5e3a 0%, #166534 100%);
        color: #ffffff !important;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        margin-top: -18px;
        box-shadow: 0 4px 10px rgba(14, 94, 58, 0.35);
        flex: none;
    }
    .mobile-bottom-bar .mobile-cta-btn span {
        display: none;
    }
    .mobile-bottom-bar .mobile-cta-btn i {
        font-size: 1.25rem;
    }
}

/* ══════════════════════════════════════════════════════════════════
   BRANDED DEFAULT IMAGE & PLACEHOLDER BACKGROUNDS (Narsingdi.com)
   ══════════════════════════════════════════════════════════════════ */
.thumb-placeholder,
.nsd-card-placeholder,
.featured-placeholder,
.default-cover-pattern,
.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(6, 46, 30, 0.94) 0%, rgba(4, 18, 11, 0.96) 100%),
                url('../images/default-placeholder.svg') center/cover no-repeat !important;
    color: #ffffff;
    text-align: center;
    user-select: none;
}

/* Watermark badge on placeholders */
.thumb-placeholder::after,
.nsd-card-placeholder::after,
.featured-placeholder::after {
    content: "narsingdi.com";
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(52, 211, 153, 0.75);
    background: rgba(0, 0, 0, 0.45);
    padding: 2px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 2;
    text-transform: lowercase;
}

/* Cover Banners Pattern */
.default-cover-pattern {
    min-height: 240px;
    background: linear-gradient(135deg, rgba(6, 46, 30, 0.88) 0%, rgba(15, 23, 42, 0.9) 100%),
                url('../images/default-cover.svg') center/cover no-repeat !important;
}

.default-cover-pattern::after {
    content: "Narsingdi.com — নরসিংদী জেলা বাতায়ন";
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(0, 0, 0, 0.55);
    padding: 4px 14px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

/* Logo Placeholders (Square) */
.logo-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    background: linear-gradient(135deg, #062e1e 0%, #04120b 100%),
                url('../images/default-logo.svg') center/cover no-repeat !important;
    border: 2px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* Icons inside placeholders */
.thumb-placeholder i,
.nsd-card-placeholder i,
.featured-placeholder i {
    font-size: 2.2rem;
    color: #10b981;
    margin-bottom: 6px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.nsd-card:hover .thumb-placeholder i,
.portal-biz-card:hover .nsd-card-placeholder i,
.portal-explore-card:hover .nsd-card-placeholder i {
    transform: scale(1.15);
    color: #34d399;
}

/* Brand Text inside placeholder */
.placeholder-brand-label {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    color: #e2e8f0;
    letter-spacing: 1px;
    display: block;
    margin-top: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Image Fallback Handler Styling */
img.img-fallback-applied {
    object-fit: cover !important;
    background: #062e1e;
}

/* YouTube Style Video Placeholder Styles */
.yt-thumb-box {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    cursor: pointer;
}

.portal-lead-media.yt-thumb-box,
.yt-thumb-box.square-thumb {
    width: 100% !important;
    height: 400px !important;
    max-height: 400px !important;
    aspect-ratio: auto !important;
}

.yt-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.yt-thumb-box:hover img {
    transform: scale(1.05);
}

.yt-thumb-box .yt-play-button {
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.yt-thumb-box:hover .yt-play-button {
    background: #ff0000 !important;
    transform: translate(-50%, -50%) scale(1.12) !important;
    box-shadow: 0 6px 18px rgba(255, 0, 0, 0.5) !important;
}

@media (max-width: 860px) {
    .portal-hero-news-grid {
        grid-template-columns: 1fr !important;
    }
    .portal-lead-media.yt-thumb-box,
    .yt-thumb-box.square-thumb {
        height: 260px !important;
        max-height: 260px !important;
    }
    .portal-secondary-news-col {
        grid-template-rows: auto auto !important;
        height: auto !important;
    }
}

/* ══════════════════════════════════════════════════════════════════
   VIDEO NEWS & INTERVIEW STYLES
   ══════════════════════════════════════════════════════════════════ */
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.play-btn-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(225, 29, 72, 0.92);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(225, 29, 72, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.35);
    font-size: 1.25rem;
    padding-left: 3px;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.play-btn-circle.sm {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
    box-shadow: 0 3px 14px rgba(225, 29, 72, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.3);
    padding-left: 2px;
}

.play-btn-circle.lg {
    width: 68px;
    height: 68px;
    font-size: 1.6rem;
    padding-left: 4px;
    box-shadow: 0 6px 25px rgba(225, 29, 72, 0.6), 0 0 0 5px rgba(255, 255, 255, 0.4);
}

/* Hover state on cards */
article:hover .video-play-overlay,
.nsd-card:hover .video-play-overlay,
.portal-sublead-card:hover .video-play-overlay,
.portal-lead-media:hover .video-play-overlay {
    transform: translate(-50%, -50%) scale(1.14);
}

article:hover .play-btn-circle,
.nsd-card:hover .play-btn-circle,
.portal-sublead-card:hover .play-btn-circle,
.portal-lead-media:hover .play-btn-circle {
    background: #dc2626;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.7), 0 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Video Badge Pills */
.badge-video {
    background: #e11d48 !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 3px 9px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35);
}

.video-duration-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.82);
    color: #f8fafc;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 4;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* In-place Video Actions & Overlay */
.video-play-actions {
    display: flex;
    align-items: center;
    gap: 6px;
/* In-place Video Container inside cards */
.nsd-inplace-player-box {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 10;
    border-radius: inherit;
    overflow: hidden;
}

.nsd-inplace-player-box iframe,
.nsd-inplace-player-box video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: contain;
}

.nsd-inplace-player-toolbar {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 25;
    display: flex;
    align-items: center;
}

.btn-inplace-close {
    background: rgba(225, 29, 72, 0.92);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.2;
}

.btn-inplace-close:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* Responsive Video Player Container (Article View) */
.news-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #090d16;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    border: 1px solid var(--gray-200);
}

.news-video-wrapper iframe,
.news-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none;
}




