/* Publication & Technology Portal Stylesheet (Emerald Obsidian Cyber Theme) */
:root {
    --pub-bg: #f8fafc;
    --pub-card-bg: #ffffff;
    --pub-primary: #090d16;
    --pub-accent: #059669;
    --pub-accent-hover: #047857;
    --pub-accent-light: #ecfdf5;
    --pub-border: #e2e8f0;
    --pub-text-dark: #0f172a;
    --pub-text-muted: #64748b;
    --pub-heading-font: 'Inter', system-ui, -apple-system, sans-serif;
    --pub-radius: 12px;
    --pub-shadow: 0 4px 20px rgba(9, 13, 22, 0.05);
    --pub-shadow-hover: 0 10px 30px rgba(9, 13, 22, 0.1);
}

html {
    scroll-behavior: smooth;
}

:target,
h1[id], h2[id], h3[id], h4[id], h5[id], h6[id] {
    scroll-margin-top: 100px !important;
}

body {
    background-color: var(--pub-bg);
    color: var(--pub-text-dark);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Skyline Section & Edge-to-Edge Right Artwork */
.hero-skyline-section {
    background-color: #f4fbf7;
    position: relative;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

.hero-edge-image-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-edge-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.hero-edge-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f4fbf7 0%, rgba(244, 251, 247, 0.85) 20%, rgba(244, 251, 247, 0.35) 45%, rgba(244, 251, 247, 0) 100%);
    pointer-events: none;
}

/* Sticky Sidebar Wrapper */
.sidebar-sticky-wrap {
    position: sticky;
    top: 90px;
    z-index: 10;
}

/* High-Contrast Corporate Credentials & Sidebar CTA Cards */
.dark-credentials-card {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.dark-credentials-card span,
.dark-credentials-card p {
    color: #cbd5e1 !important;
}

.dark-credentials-card strong {
    color: #ffffff !important;
}

.dark-cta-card {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.dark-cta-card h5,
.dark-cta-card p,
.dark-cta-card span,
.dark-cta-card div {
    color: #ffffff !important;
}

.dark-cta-card .text-slate-400 {
    color: #cbd5e1 !important;
}

.dark-cta-card .text-slate-300 {
    color: #f1f5f9 !important;
}

.hero-counter-box {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.hero-counter-box h3 {
    color: #ffffff !important;
}

.hero-counter-box span {
    color: #cbd5e1 !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
}

/* Bootstrap Global Overrides for Emerald Theme */
.btn-primary {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    border-color: #059669 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
    border-color: #047857 !important;
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45) !important;
}

.btn-outline-primary {
    color: #059669 !important;
    border-color: #059669 !important;
}

.btn-outline-primary:hover {
    background-color: #059669 !important;
    color: #ffffff !important;
}

.text-primary {
    color: #059669 !important;
}

.bg-primary {
    background-color: #059669 !important;
}

.border-primary {
    border-color: #059669 !important;
}

.badge.bg-primary-subtle,
.bg-primary-subtle {
    background-color: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
}

/* Fix Bootstrap 5 Badge Text Contrast Defaults */
.badge {
    color: #0f172a;
}

.badge.bg-light,
.badge.bg-slate-100,
.badge.bg-slate-200 {
    color: #1e293b !important;
    background-color: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
}

.badge.bg-secondary-subtle {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
}

/* Topic Tag Pills */
.topic-tag-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155 !important;
    background-color: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 50px;
    padding: 6px 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.topic-tag-pill:hover {
    color: #059669 !important;
    background-color: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
    transform: translateY(-1px);
}

/* Sidebar Category Mini Badge */
.sidebar-cat-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #059669 !important;
    background-color: #ecfdf5 !important;
    border: 1px solid #a7f3d0;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Header & Navigation */
.top-ticker-bar {
    background-color: #060911;
    color: #94a3b8;
    font-size: 0.8rem;
    padding: 6px 0;
    border-bottom: 1px solid #111827;
}

.ticker-badge {
    background-color: #059669;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pub-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--pub-border);
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    padding: 4px 0;
}

.pub-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.22rem;
    color: var(--pub-primary);
    letter-spacing: -0.4px;
    white-space: nowrap;
}

.pub-brand .logo-highlight {
    color: var(--pub-accent);
}

.pub-brand-tag {
    font-size: 0.65rem;
    font-weight: 700;
    background-color: var(--pub-accent-light);
    color: var(--pub-accent);
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    border: 1px solid #a7f3d0;
}

.pub-header .nav-link {
    font-weight: 600;
    color: #334155 !important;
    padding: 10px 14px !important;
    font-size: 0.92rem;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.pub-header .nav-link:hover,
.pub-header .nav-link.active {
    color: var(--pub-accent) !important;
}

.pub-header .dropdown-menu {
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.pub-header .dropdown-item {
    font-size: 0.86rem;
    font-weight: 500;
    border-radius: 6px;
    color: #334155;
    white-space: nowrap;
}

.pub-header .dropdown-item:hover {
    background-color: var(--pub-accent-light);
    color: var(--pub-accent);
}

/* Compact Header Search */
.header-search-input {
    width: 140px;
    font-size: 0.82rem;
    border-radius: 6px 0 0 6px !important;
    transition: width 0.3s ease;
}

.header-search-input:focus {
    width: 180px;
}

/* Header Action Button */
.btn-find-company {
    background-color: var(--pub-accent);
    color: #ffffff;
    font-weight: 700;
    border-radius: 8px;
    padding: 7px 16px;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-find-company:hover {
    background-color: var(--pub-accent-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

/* Category Quick Strip */
.category-strip {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 6px 0;
    font-size: 0.82rem;
    overflow-x: auto;
    white-space: nowrap;
}

.category-strip a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    margin-right: 16px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.category-strip a:hover {
    color: var(--pub-accent);
}

/* Publication Cards */
.pub-card {
    background-color: var(--pub-card-bg);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    padding: 24px;
    box-shadow: var(--pub-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

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

.pub-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 6px;
    background-color: var(--pub-accent-light);
    color: var(--pub-accent);
    margin-bottom: 12px;
}

.article-headline {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.article-headline a {
    color: var(--pub-text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-headline a:hover {
    color: var(--pub-accent);
}

.article-meta {
    font-size: 0.82rem;
    color: var(--pub-text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Recommended Provider Box */
.recommended-provider-card {
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
    border: 2px solid #059669;
    border-radius: var(--pub-radius);
    padding: 28px;
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.15);
    position: relative;
    overflow: hidden;
}

.recommended-provider-card::before {
    content: "RECOMMENDED PROVIDER";
    position: absolute;
    top: 14px;
    right: -35px;
    background-color: #059669;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 36px;
    transform: rotate(45deg);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.recommended-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px;
    background: #ffffff;
    padding: 6px;
    border: 1px solid #a7f3d0;
}

.disclosure-text {
    font-size: 0.78rem;
    color: #64748b;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 16px;
}

/* Top Ticker Utility Bar Styling */
.top-ticker-bar {
    background-color: #060911;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: #cbd5e1;
}

.top-ticker-bar a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.top-ticker-bar a:hover {
    color: #059669 !important;
}

.top-ticker-bar i {
    color: #059669 !important;
}

/* CSS Variables */
.comparison-table-wrapper {
    background: #ffffff;
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    overflow: hidden;
    box-shadow: var(--pub-shadow);
}

.comparison-table th {
    background-color: #090d16;
    color: #ffffff;
    font-weight: 700;
    padding: 14px 18px;
    border: none;
}

.comparison-table td {
    padding: 14px 18px;
    vertical-align: middle;
    border-bottom: 1px solid var(--pub-border);
}

/* Table of Contents */
.toc-box {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 4px solid var(--pub-accent);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.toc-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--pub-primary);
}

.toc-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.toc-list li {
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.toc-list li a {
    color: #334155;
    text-decoration: none;
    font-weight: 500;
}

.toc-list li a:hover {
    color: var(--pub-accent);
    text-decoration: underline;
}

/* Footer */
.pub-footer {
    background-color: #060911;
    color: #94a3b8;
    padding: 60px 0 30px 0;
    font-size: 0.9rem;
    border-top: 1px solid #111827;
}

.pub-footer h5 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.pub-footer ul {
    list-style: none;
    padding-left: 0;
}

.pub-footer ul li {
    margin-bottom: 10px;
}

.pub-footer ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pub-footer ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #111827;
    padding-top: 24px;
    margin-top: 40px;
    font-size: 0.84rem;
}

/* Custom Hero Section */
.hero-portal {
    background: linear-gradient(135deg, #060911 0%, #0b1329 50%, #0f172a 100%);
    border-bottom: 1px solid #111827;
    padding: 60px 0 55px 0;
    position: relative;
    overflow: hidden;
}

.hero-portal::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.2) 0%, rgba(9, 13, 22, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-portal h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: -0.8px;
    line-height: 1.2;
}

.hero-portal p,
.hero-portal .lead,
.hero-subtitle {
    color: #cbd5e1 !important;
    font-size: 1.15rem;
    line-height: 1.6;
}

.text-gradient-blue,
.text-gradient-emerald {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-search-box {
    max-width: 600px;
}

.hero-search-input {
    height: 52px;
    border-radius: 12px 0 0 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    padding-left: 18px;
    color: #0f172a;
}

.hero-search-input:focus {
    background: #ffffff;
    border-color: #059669;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.25);
}

.hero-search-btn {
    height: 52px;
    border-radius: 0 12px 12px 0 !important;
    padding: 0 26px;
    font-weight: 700;
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    border: none;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.hero-search-btn:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
}

/* Category Filter Bar */
.category-filter-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.cat-pill-btn {
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 18px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: none;
    transform: none !important;
}

.cat-pill-btn:hover {
    background: #ecfdf5;
    color: #059669;
    border-color: #a7f3d0;
    transform: none !important;
    box-shadow: none !important;
}

.cat-pill-btn.active {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35) !important;
}

.cat-pill-count {
    font-size: 0.74rem;
    padding: 2px 8px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #64748b;
}

.cat-pill-btn:hover .cat-pill-count {
    background: #a7f3d0;
    color: #047857;
}

.cat-pill-btn.active .cat-pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Modern Tech News Card Component */
.news-card-featured {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.news-card-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(9, 13, 22, 0.12);
    border-color: #059669;
}

.news-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #090d16;
    overflow: hidden;
}

.news-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card-featured:hover .news-card-img-wrap img {
    transform: scale(1.07);
}

.card-category-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(6, 9, 17, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #34d399;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(52, 211, 153, 0.3);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-featured-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-card-featured.is-featured-card {
    border-top: 3px solid #059669;
}

.news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.news-card-title {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
    min-height: 3.1rem;
}

.news-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-featured:hover .news-card-title a,
.news-card-title a:hover {
    color: #059669;
}

.news-card-excerpt {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2rem;
}

.sidebar-sticky-wrap {
    position: sticky;
    top: 90px;
    z-index: 10;
}

.news-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.link-read-more {
    color: #059669;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.news-card-featured:hover .link-read-more {
    color: #047857;
}

.news-card-featured:hover .transition-icon {
    transform: translateX(5px);
}

/* Spotlight Featured Article Hero */
.featured-hero-card {
    background: linear-gradient(135deg, #060911 0%, #0b1329 100%);
    border-radius: 22px;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 25px 50px rgba(9, 13, 22, 0.25);
    border: 1px solid rgba(52, 211, 153, 0.25);
    margin-bottom: 40px;
    position: relative;
}

.featured-hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(5, 150, 105, 0.18) 0%, transparent 60%);
    pointer-events: none;
}

.featured-hero-card .hero-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.featured-hero-card .hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.featured-hero-card:hover .hero-img-wrap img {
    transform: scale(1.05);
}

.featured-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    margin-bottom: 28px;
}

.sidebar-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

/* Article Detail Header & Meta Bar */
.article-header-section {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 40px 0 24px 0;
}

.article-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.8px;
    line-height: 1.25;
    margin-top: 14px;
    margin-bottom: 24px;
}

.author-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 30px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #059669;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.25);
}

.author-info h6 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.author-info span {
    font-size: 0.82rem;
    color: #64748b;
}

.social-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-share-btn:hover {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
    transform: translateY(-2px);
}

/* Featured Article Image Wrapper */
.featured-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    margin-bottom: 40px;
    background: #090d16;
}

.featured-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Editorial Content Box */
.editorial-article {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

/* Key Takeaways Alert Box */
.key-takeaways-box {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #a7f3d0;
    border-left: 5px solid #059669;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 34px;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.08);
}

.key-takeaways-box h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 14px;
}

.key-takeaways-box ul li {
    font-size: 0.98rem;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Table of Contents Box */
.table-of-contents {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 36px;
}

.table-of-contents h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
}

.table-of-contents ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.table-of-contents ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.table-of-contents ul li a {
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.table-of-contents ul li a:hover {
    color: #059669;
    transform: translateX(3px);
}

/* Article Body Typography */
.article-body-content {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #334155;
}

.article-body-content p {
    margin-bottom: 1.6rem;
}

.article-body-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 14px;
    margin: 1.5rem 0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    display: block;
}

.article-body-content h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 2.8rem;
    margin-bottom: 1.2rem;
    letter-spacing: -0.4px;
    border-left: 4px solid #059669;
    padding-left: 14px;
}

.article-body-content h3 {
    font-size: 1.38rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2.2rem;
    margin-bottom: 1rem;
}

.article-body-content blockquote {
    background: #f8fafc;
    border-left: 4px solid #059669;
    border-radius: 0 12px 12px 0;
    padding: 20px 26px;
    font-style: italic;
    font-size: 1.12rem;
    color: #1e293b;
    margin: 2rem 0;
}

.article-body-content ul,
.article-body-content ol {
    margin-bottom: 1.6rem;
    padding-left: 1.5rem;
}

.article-body-content li {
    margin-bottom: 0.6rem;
}

/* Author Signature Box */
.author-bio-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Reference Mockup Design Styles */
.brand-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #059669;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.25);
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.4px;
    line-height: 1.1;
    display: block;
}

.brand-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
    line-height: 1.1;
}

.hero-skyline-section {
    background: linear-gradient(180deg, #f8fafc 0%, #edfcf4 100%);
    border-bottom: 1px solid #e2e8f0;
}

.search-pill-btn {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 4px 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.search-pill-btn:hover {
    color: #059669;
    background: #ecfdf5;
    border-color: #a7f3d0;
    transform: translateY(-1px);
}

.solution-grid-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.solution-grid-card:hover {
    transform: translateY(-4px);
    border-color: #059669;
    box-shadow: 0 12px 24px rgba(5, 150, 105, 0.12);
}

.icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.solution-grid-card:hover .icon-circle {
    transform: scale(1.08);
}

.tech-grid-card {
    transition: all 0.25s ease;
}

.tech-grid-card:hover {
    transform: translateY(-4px);
    border-color: #059669 !important;
    box-shadow: 0 12px 24px rgba(5, 150, 105, 0.12) !important;
}

.cost-card-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px !important;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
}

.cost-card-box:hover {
    transform: translateY(-4px);
    border-color: #059669 !important;
    box-shadow: 0 12px 28px rgba(5, 150, 105, 0.14) !important;
}

.cost-card-img {
    height: 210px;
    width: 100%;
    overflow: hidden;
    background: #0f172a;
    border-radius: 6px 6px 0 0 !important;
}

.cost-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    border-radius: 6px 6px 0 0 !important;
}

.cost-card-box:hover .cost-card-img img {
    transform: scale(1.06);
}

.cost-card-body {
    padding: 18px 20px 22px 20px !important;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center !important;
}

.cost-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    margin-bottom: 8px;
}

.cost-card-title a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.cost-card-box:hover .cost-card-title a,
.cost-card-title a:hover {
    color: #059669 !important;
}

/* Article Card Box & Typography */
.article-card-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    padding: 16px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.article-card-box:hover {
    transform: translateY(-2px);
    border-color: #059669 !important;
    box-shadow: 0 10px 24px rgba(5, 150, 105, 0.12) !important;
}

.article-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    margin-bottom: 4px;
}

.article-card-title a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.article-card-box:hover .article-card-title a,
.article-card-title a:hover,
.hover-text-primary:hover {
    color: #059669 !important;
}

/* Trending Searches Card Widget */
.trending-search-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px !important;
    padding: 8px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.trending-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 8px !important;
    color: #0f172a !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

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

.trending-search-item:hover {
    background: #ecfdf5 !important;
    color: #059669 !important;
    transform: translateX(4px);
}

.trending-search-item i {
    color: #059669 !important;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.trending-search-item:hover i {
    transform: scale(1.15);
}

.recommended-provider-promo-box {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #a7f3d0 !important;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.08);
}

/* Footer Design Polish */
.pub-footer {
    background-color: #060911;
    color: #cbd5e1;
    padding-top: 60px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pub-footer h5 {
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.pub-footer ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.pub-footer ul li {
    margin-bottom: 9px;
}

.pub-footer ul li a {
    color: #cbd5e1 !important;
    font-size: 0.88rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: inline-block;
}

.pub-footer ul li a:hover {
    color: #059669 !important;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    margin-top: 36px;
    font-size: 0.85rem;
    color: #94a3b8;
}

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

.footer-bottom a:hover {
    color: #059669 !important;
}

.footer-badge-item {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-badge-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(5, 150, 105, 0.2) !important;
}

.social-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #111827;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #1f2937;
}

.social-icon-btn:hover {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
    transform: translateY(-2px);
}

/* Remove all unwanted scrollbars */
.popular-searches-row,
.category-strip,
.no-scrollbar {
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.popular-searches-row::-webkit-scrollbar,
.category-strip::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.lucknow-hero-monument-img {
    max-height: 350px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(5, 150, 105, 0.12);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

/* Edge-to-Edge Hero Banner Styling */
.hero-skyline-section {
    background: linear-gradient(180deg, #f4fbf7 0%, #e1f7ec 100%);
    min-height: 420px;
    border-bottom: 1px solid #e2e8f0;
}

.hero-edge-image-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-edge-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    opacity: 0.88;
}

.hero-edge-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f4fbf7 0%, rgba(244, 251, 247, 0.75) 30%, rgba(244, 251, 247, 0) 75%);
    pointer-events: none;
}

/* Custom Gap Utilities & Button Flex Spacing (Fixes sticking buttons) */
.gap-1\.5 {
    gap: 0.375rem !important;
}

.gap-2\.5 {
    gap: 0.75rem !important;
}

.gap-3\.5 {
    gap: 1.25rem !important;
}

.d-flex.flex-wrap {
    gap: 12px;
}

.d-flex.flex-wrap>.btn {
    margin-bottom: 2px;
}

/* Sidebar Table of Contents Scrollbar */
.toc-sidebar-container::-webkit-scrollbar {
    width: 4px;
}

.toc-sidebar-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.toc-sidebar-container::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 10px;
}

.toc-sidebar-container::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* Category Scrollbar Custom Styling & Mobile Responsiveness */
.category-scroll-wrapper::-webkit-scrollbar {
    height: 4px;
}
.category-scroll-wrapper::-webkit-scrollbar-track {
    background: transparent;
}
.category-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.category-scroll-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

@media (max-width: 768px) {
    .hero-search-pill {
        padding: 4px !important;
    }
    .hero-search-pill input {
        font-size: 14px !important;
    }
    .hero-search-pill button {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
    }
}

/* Header Best Web Tech Mega Menu Dropdown Styles */
.mega-menu-dropdown {
    width: 94vw !important;
    max-width: 1240px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 20px 45px rgba(9, 13, 22, 0.15) !important;
    padding: 1.5rem !important;
    background: #ffffff !important;
    margin-top: 0 !important;
}

.mega-btn-explore {
    color: #059669 !important;
    border-color: #059669 !important;
    font-size: 0.825rem;
    transition: all 0.25s ease-in-out !important;
}

.mega-btn-explore:hover,
.mega-btn-explore:focus,
.mega-btn-explore:active {
    background-color: #059669 !important;
    color: #ffffff !important;
    border-color: #047857 !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3) !important;
}

.mega-btn-explore:hover span,
.mega-btn-explore:hover i,
.mega-btn-explore:focus span,
.mega-btn-explore:focus i {
    color: #ffffff !important;
}

.mega-link {
    display: flex;
    flex-direction: column;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
}

.mega-link:hover {
    background-color: #ecfdf5;
    transform: translateX(3px);
}

.mega-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.mega-link:hover .mega-title {
    color: #059669;
}

.mega-desc {
    font-size: 0.725rem;
    color: #64748b;
    margin-top: 1px;
}

@media (min-width: 992px) {
    .dropdown-mega:hover > .dropdown-menu {
        display: block !important;
        opacity: 1;
        visibility: visible;
        margin-top: 0;
    }
    .dropdown-mega > .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
    }
}

/* Mobile Responsive Mega Menu Adjustments */
@media (max-width: 991.98px) {
    .mega-menu-dropdown {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        transform: none !important;
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        padding: 1rem !important;
        max-height: 480px;
        overflow-y: auto;
    }

    .mega-menu-col {
        margin-bottom: 0.75rem;
    }

    .mega-link {
        padding: 0.4rem 0.5rem;
    }
}

/* --------------------------------------------------------------------------
   Public Site Mobile View Dropdown Guards & Overflow Protection
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    html, body {
        overflow-x: clip !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .dropdown-menu {
        max-width: calc(100vw - 24px) !important;
        box-sizing: border-box !important;
    }

    .pub-header .dropdown-menu-end,
    .dropdown-menu-end,
    .dropdown-menu-right {
        right: 0 !important;
        left: auto !important;
    }

    .form-select, select {
        max-width: 100% !important;
    }
}