/* ============================================
   Alhena AI Blog Theme - Complete Override
   Matching alhena.ai design system
   ============================================ */

/* --- Reset old theme layout --- */
.home-main-wrapper,
.home-main.gh-canvas,
.home-main .left,
.home-main .left-sidebar,
.article-main,
.right-sidebar,
.left-sidebar {
    display: none !important;
}

/* --- Brand Colors --- */
:root {
    --ghost-accent-color: #0866FF !important;
    --font-sans: 'Basier Circle', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    --font-serif: 'Souvenir', Georgia, Times, serif !important;
    --color-primary-text: #0F172A;
    --alhena-blue: #0866FF;
    --alhena-blue-dark: #025191;
    --alhena-purple: #6F55BF;
    --alhena-lavender: #EFEBFE;
    --alhena-light-blue: #9BC9FE;
    --alhena-gray-50: #f8fafc;
    --alhena-gray-100: #f1f5f9;
    --alhena-gray-200: #e2e8f0;
    --alhena-gray-400: #94A3B8;
    --alhena-gray-500: #64748b;
    --alhena-gray-700: #334155;
    --alhena-gray-900: #0F172A;
}

/* --- Fix base font size (compiled CSS sets 62.5% making 1rem=10px) --- */
html {
    font-size: 100% !important; /* restore 1rem = 16px */
}

/* --- Force white background everywhere --- */
body,
.gh-site,
.gh-main,
.gh-outer,
.gh-inner,
.gh-canvas,
.gh-article,
.alhena-post,
.alhena-home,
main {
    background: #fff !important;
    background-color: #fff !important;
}

/* --- Typography --- */
body {
    font-family: 'Basier Circle', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: #0F172A;
    line-height: 1.6;
    background: #fff !important;
    font-size: 1rem !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Souvenir', Georgia, Times, serif !important;
    color: #0F172A;
    letter-spacing: -0.02em;
}

/* --- Navigation matching alhena.ai --- */
.header {
    background: #fff !important;
    border-bottom: none !important;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-nav-desktop {
    border-bottom: 1px solid #e2e8f0 !important;
    overflow: visible;
}

.header-nav {
    background: #fff !important;
    height: auto !important;
    padding: 0 !important;
}

.header-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    min-height: 64px;
}

.main-nav-ul li span,
.main-nav-ul li a {
    font-family: 'Basier Circle', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 15px;
    font-weight: 500;
    color: #0F172A !important;
}

.main-nav-ul li span:hover,
.main-nav-ul li a:hover {
    color: #0866FF !important;
}

.nav-chevron {
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

/* Nav items with dropdowns */
.main-nav-ul li {
    position: relative;
}

.main-nav-ul li span {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Dropdown menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    min-width: 240px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.dropdown-menu.hidden {
    display: block !important;
    opacity: 0;
    visibility: hidden;
}

.main-nav-ul li:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.main-nav-ul li:hover > span .nav-chevron {
    transform: rotate(180deg);
}

.dropdown-ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-ul .item {
    margin: 0;
    padding: 0;
}

.dropdown-ul .item-link {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    transition: background 0.1s ease;
}

.dropdown-ul .item-link:hover {
    background: #f8fafc;
}

.dropdown-ul .link-div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-ul .link-div img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.dropdown-ul .link-heading {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    color: #0F172A;
    white-space: nowrap;
}

.dropdown-ul .link-description {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 12px;
    color: #64748b;
    margin-top: 1px;
}

/* Wide dropdown with columns (integrations) */
.dropdown-menu.dropdown-menu-wide {
    min-width: 720px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 16px 0 !important;
}

.dropdown-columns {
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
    padding: 0 !important;
}

.dropdown-column {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 0 8px !important;
    display: block !important;
}

.dropdown-column + .dropdown-column {
    border-left: 1px solid #f1f5f9 !important;
}

.dropdown-column-title {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #94A3B8 !important;
    padding: 4px 16px 10px !important;
    display: block !important;
}

.dropdown-menu-wide .dropdown-ul {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}

.dropdown-menu-wide .dropdown-ul .item {
    display: block !important;
    list-style: none !important;
}

.dropdown-menu-wide .dropdown-ul .item-link {
    padding: 8px 16px !important;
    display: block !important;
}

.dropdown-menu-wide .dropdown-ul .link-div {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.dropdown-menu-wide .dropdown-ul .link-div img {
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
}

.dropdown-menu-wide .dropdown-ul .link-heading {
    font-size: 13px !important;
    font-family: 'Basier Circle', sans-serif !important;
    font-weight: 500 !important;
    color: #0F172A !important;
    white-space: nowrap !important;
}

/* Solutions dropdown - 2 columns, narrower */
#solutions-dropdown.dropdown-menu-wide {
    min-width: 480px !important;
}

/* Mobile dropdown section headers */
.dropdown-li-section {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #94A3B8 !important;
    padding: 10px 0 4px 0 !important;
    pointer-events: none !important;
    cursor: default !important;
}

.dropdown-li-section:first-child {
    padding-top: 0 !important;
}

/* Search button in header */
.alhena-search-btn {
    background: none !important;
    border: none !important;
    cursor: pointer;
    color: #0F172A;
    padding: 6px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.alhena-search-btn:hover {
    color: #0866FF;
}

.user-nav li a {
    font-family: 'Basier Circle', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 15px;
    font-weight: 500;
    color: #0F172A;
}

/* "Start for free" outline button */
.navbar-button-outline {
    display: inline-block;
    background: transparent !important;
    color: #0866FF !important;
    border: 2px solid #0866FF !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: 'Basier Circle', sans-serif !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    line-height: 1.4 !important;
}

.navbar-button-outline:hover {
    background: rgba(8, 102, 255, 0.06) !important;
}

/* "Book a demo" filled button */
.navbar-button {
    display: inline-block;
    background: #0866FF !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: 'Basier Circle', sans-serif !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease !important;
    line-height: 1.4 !important;
}

.navbar-button:hover {
    opacity: 0.9 !important;
    color: #fff !important;
}

/* ============================================
   NEW LAYOUT: Full-width, no sidebar
   ============================================ */

/* --- Container --- */
.alhena-home {
    display: block !important;
    background: #fff;
}

.alhena-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Hero Section --- */
.alhena-hero {
    text-align: center;
    padding: 60px 0 32px;
    max-width: 800px;
    margin: 0 auto;
}

.alhena-hero-title {
    font-family: 'Souvenir', Georgia, Times, serif !important;
    font-size: 2.5rem;
    font-weight: 400;
    color: #0F172A;
    margin: 0 0 12px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.alhena-hero-desc {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* --- Author page header --- */
.alhena-author-header {
    padding: 60px 0 32px;
    max-width: 800px;
    margin: 0 auto;
}

.alhena-author-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.alhena-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.alhena-author-header .alhena-hero-title {
    font-size: 2rem;
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    .alhena-author-header {
        padding: 24px 0 20px;
    }
    .alhena-author-avatar {
        width: 56px;
        height: 56px;
    }
    .alhena-author-header .alhena-hero-title {
        font-size: 1.3rem;
    }
}

/* --- Horizontal Tag Navigation --- */
.alhena-tag-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 20px 0 40px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 40px;
}

.alhena-tag-link {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.alhena-tag-link:hover,
.alhena-tag-link.active {
    color: #0866FF;
    border-color: #0866FF;
    background: rgba(8, 102, 255, 0.05);
}

/* "More" dropdown */
.alhena-tag-more-wrapper {
    position: relative;
}

.alhena-tag-more-btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.alhena-tag-more-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 50;
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
}

.alhena-tag-more-wrapper:hover .alhena-tag-more-dropdown,
.alhena-tag-more-wrapper:focus-within .alhena-tag-more-dropdown {
    display: block;
}

.alhena-tag-dropdown-link {
    display: block;
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.15s;
}

.alhena-tag-dropdown-link:hover {
    background: #f1f5f9;
    color: #0866FF;
}

/* --- Featured Carousel --- */
.alhena-carousel {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.alhena-carousel-track {
    position: relative;
    overflow: hidden;
}

.alhena-featured-card.alhena-carousel-slide {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: grid;
}

.alhena-featured-card.alhena-carousel-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.alhena-featured-image-link {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
}

.alhena-featured-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.alhena-featured-image-link:hover .alhena-featured-image {
    transform: scale(1.02);
}

.alhena-featured-content {
    padding: 8px 0;
}

.alhena-featured-date {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 0.9rem;
    color: #64748b;
    display: block;
    margin-bottom: 12px;
}

.alhena-featured-title {
    font-family: 'Souvenir', Georgia, Times, serif !important;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.alhena-featured-title a {
    color: #0F172A;
    text-decoration: none;
}

.alhena-featured-title a:hover {
    color: #0866FF;
}

.alhena-featured-excerpt {
    font-family: 'Basier Circle', sans-serif !important;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* Carousel Controls */
.alhena-carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.alhena-carousel-dots {
    display: flex;
    gap: 8px;
}

.alhena-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}

.alhena-carousel-dot.active {
    background: #0866FF;
}

.alhena-carousel-dot:hover {
    background: #94A3B8;
}

.alhena-carousel-arrows {
    display: flex;
    gap: 8px;
}

.alhena-carousel-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
    padding: 0;
}

.alhena-carousel-arrow:hover {
    border-color: #0866FF;
    color: #0866FF;
    background: rgba(8, 102, 255, 0.04);
}

/* --- Category Sections --- */
.alhena-section {
    margin-bottom: 48px;
}

.alhena-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.alhena-section-title {
    font-family: 'Souvenir', Georgia, Times, serif !important;
    font-size: 1.5rem;
    font-weight: 400;
    color: #0F172A;
    margin: 0;
}

.alhena-section-link {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0866FF;
    text-decoration: none;
    white-space: nowrap;
}

.alhena-section-link:hover {
    color: #025191;
}

/* --- Explore Topics Grid --- */
.alhena-topics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.alhena-topic-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
}

.alhena-topic-chip:hover {
    background: #0866FF;
    border-color: #0866FF;
    color: #fff;
}

.alhena-topic-chip:hover .alhena-topic-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.alhena-topic-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94A3B8;
    background: #e2e8f0;
    padding: 1px 7px;
    border-radius: 12px;
}

/* --- Post Card Grid --- */
.alhena-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 0;
}

.alhena-post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid #d0d5dd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.alhena-post-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: #b0b8c4;
}

.alhena-card-image-link {
    display: block;
    overflow: hidden;
}

.alhena-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.alhena-post-card:hover .alhena-card-image {
    transform: scale(1.03);
}

.alhena-card-content {
    padding: 14px 16px 16px;
}

.alhena-card-tag {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 11px;
    font-weight: 600;
    color: #0866FF !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 4px;
}

.alhena-card-tag:hover {
    color: #025191 !important;
}

.alhena-card-title {
    font-family: 'Souvenir', Georgia, Times, serif !important;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.alhena-card-title a {
    color: #0F172A;
    text-decoration: none;
}

.alhena-card-title a:hover {
    color: #0866FF;
}

.alhena-card-excerpt {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.alhena-card-meta {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 0.78rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alhena-card-author {
    font-weight: 500;
    color: #64748b;
}

/* --- Pagination --- */
.alhena-pagination {
    padding: 32px 0 48px;
    text-align: center;
}

.alhena-pagination .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.alhena-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.alhena-pagination .page-numbers a,
.alhena-pagination .page-numbers span {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: none;
    transition: all 0.2s;
}

.alhena-pagination .page-numbers a:hover {
    background: #f1f5f9;
    color: #0F172A;
}

.alhena-pagination .page-numbers a.current {
    background: #0866FF;
    color: #fff;
    font-weight: 600;
}

.alhena-pagination .page-numbers .paginate {
    color: #94A3B8;
}

.alhena-pagination .older-posts,
.alhena-pagination .newer-posts {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.alhena-pagination .older-posts:hover,
.alhena-pagination .newer-posts:hover {
    background: #f1f5f9;
    color: #0F172A;
}

.alhena-pagination .older-posts img,
.alhena-pagination .newer-posts img {
    display: none;
}

/* ============================================
   ARTICLE PAGE — Sierra-style 2-column layout
   ============================================ */

.alhena-post {
    display: block !important;
    background: #fff !important;
}

.alhena-post .gh-article {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    display: block !important;
}

/* Breadcrumb */
.alhena-breadcrumb {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 0.85rem;
    color: #94A3B8;
    padding: 20px 24px 24px;
    max-width: 1160px;
    margin: 0 auto;
    clear: both;
}

.alhena-breadcrumb a {
    color: #0F172A;
    text-decoration: none;
    font-weight: 500;
}

.alhena-breadcrumb a:hover {
    color: #0866FF;
}

.alhena-breadcrumb-sep {
    margin: 0 8px;
    color: #94A3B8;
}

/* Article Header (full-width title above the 2-col layout) */
.alhena-article-header {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 0 32px;
}

.alhena-article-tag {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 13px;
    font-weight: 600;
    color: #0866FF !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 12px;
}

.alhena-post .gh-article-title {
    font-family: 'Souvenir', Georgia, Times, serif !important;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.15;
    color: #0F172A;
    margin: 0;
    letter-spacing: -0.02em;
    max-width: 900px;
}

/* 2-Column Layout */
.alhena-article-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    max-width: 1160px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

/* --- Left Sidebar --- */
.alhena-article-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.alhena-sidebar-authors {
    margin-bottom: 24px;
}

.alhena-sidebar-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.alhena-sidebar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.alhena-sidebar-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alhena-sidebar-avatar-placeholder svg {
    width: 24px;
    height: 24px;
    color: #94A3B8;
}

.alhena-sidebar-author-name {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0F172A;
    text-decoration: none;
}

.alhena-sidebar-author-name:hover {
    color: #0866FF;
}

.alhena-sidebar-author-bio {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
    margin: 6px 0 16px;
}

/* Share */
.alhena-sidebar-share {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.alhena-sidebar-share-label {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 0.85rem;
    font-weight: 500;
    color: #0F172A;
    display: block;
    margin-bottom: 10px;
}

.alhena-sidebar-share-icons {
    display: flex;
    gap: 12px;
}

.alhena-sidebar-share-icons a {
    color: #64748b;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.alhena-sidebar-share-icons a:hover {
    color: #0866FF;
}

/* Date */
.alhena-sidebar-date {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 28px;
}

/* Subscribe box */
.alhena-sidebar-subscribe {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.alhena-sidebar-subscribe-title {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0F172A;
    margin: 0 0 6px;
}

.alhena-sidebar-subscribe-desc {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 0.8rem;
    color: #64748b;
    margin: 0 0 12px;
    line-height: 1.5;
}

.alhena-sidebar-email {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 0.85rem;
    outline: none;
    margin-bottom: 8px;
    background: #fff;
}

.alhena-sidebar-email:focus {
    border-color: #0866FF;
    box-shadow: 0 0 0 3px rgba(50, 128, 255, 0.1);
}

.alhena-sidebar-submit {
    width: 100%;
    padding: 10px;
    background: #0866FF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.alhena-sidebar-submit:hover {
    opacity: 0.9;
}

/* --- Main Content Column --- */
.alhena-article-content {
    min-width: 0;
}

/* Feature Image */
.alhena-feature-image {
    margin: 0 0 32px;
    padding: 0;
}

.alhena-feature-image img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.alhena-feature-image figcaption {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 0.85rem;
    color: #94A3B8;
    text-align: center;
    margin-top: 12px;
}

/* Article Content */
.alhena-article-content .gh-content {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.05rem;
}

.alhena-article-content .gh-content p,
.alhena-article-content .gh-content li,
.alhena-article-content .gh-content blockquote {
    font-family: 'Basier Circle', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: #334155;
    line-height: 1.8;
}

.alhena-article-content .gh-content h2 {
    font-family: 'Souvenir', Georgia, Times, serif !important;
    font-size: 1.7rem;
    margin-top: 2.5rem;
    color: #0F172A;
}

.alhena-article-content .gh-content h3 {
    font-family: 'Souvenir', Georgia, Times, serif !important;
    font-size: 1.3rem;
    margin-top: 2rem;
    color: #0F172A;
}

.alhena-article-content .gh-content a {
    color: #0866FF;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.alhena-article-content .gh-content a:hover {
    color: #025191;
}

/* Tags at bottom of article */
.alhena-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.alhena-footer-tag {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    padding: 4px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    transition: all 0.2s;
}

.alhena-footer-tag:hover {
    color: #0866FF;
    border-color: #0866FF;
}

/* Related Posts Section */
.alhena-related {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 0;
}

.alhena-related-title {
    font-family: 'Souvenir', Georgia, Times, serif !important;
    font-size: 1.6rem;
    font-weight: 400;
    color: #0F172A;
    margin: 0 0 32px;
    text-align: center;
}

/* ============================================
   BOTTOM CTA — matches alhena.ai
   ============================================ */
.bottom-cta-wrapper {
    background: #fff !important;
    border-top: 1px solid #e2e8f0;
    padding: 64px 16px !important;
}

.bottom-cta {
    font-family: 'Basier Circle', sans-serif !important;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 24px;
    background: linear-gradient(135deg, #f0f4ff 0%, #EFEBFE 50%, #f8fafc 100%);
    border-radius: 20px;
}

.bottom-cta-title {
    font-family: 'Souvenir', Georgia, Times, serif !important;
    font-size: 2rem;
    font-weight: 400;
    color: #0F172A;
    margin: 0 0 28px;
    letter-spacing: -0.02em;
}

.bottom-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bottom-cta-buttons .navbar-button-outline {
    padding: 12px 28px !important;
    font-size: 15px !important;
}

.bottom-cta-buttons .navbar-button {
    padding: 12px 28px !important;
    font-size: 15px !important;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    font-family: 'Basier Circle', sans-serif !important;
}

.footer a {
    color: #334155;
    transition: color 0.2s;
}

.footer a:hover {
    color: #0866FF;
}

.footer p {
    font-family: 'Basier Circle', sans-serif !important;
}

.font-basier {
    font-family: 'Basier Circle', sans-serif !important;
}

/* ============================================
   ACCENT COLOR OVERRIDES (Ghost uses this everywhere)
   ============================================ */
.gh-head-brand,
.gh-subscribe-input .gh-btn,
a[class*="accent"],
.gh-btn-accent,
button[type="submit"],
.subscribe,
.bottom-cta button,
[data-members-form] button {
    background: #0866FF !important;
    background-color: #0866FF !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Basier Circle', sans-serif !important;
}

/* Any element using var(--ghost-accent-color) */
[style*="accent"],
.gh-portal-btn {
    background-color: #0866FF !important;
}

/* ============================================
   TAG PAGE
   ============================================ */
.gh-topic-name {
    font-family: 'Souvenir', Georgia, Times, serif !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .alhena-post-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .alhena-featured-card.alhena-carousel-slide {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .alhena-featured-image {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .alhena-container {
        padding: 0 16px;
    }

    .alhena-hero {
        padding: 24px 0 20px;
    }

    .alhena-hero-title {
        font-size: 1.15rem;
    }

    .alhena-hero-desc {
        font-size: 0.8rem;
    }

    .alhena-post-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .alhena-post .gh-article-title {
        font-size: 1.6rem;
    }

    /* Featured carousel mobile */
    .alhena-featured-card {
        grid-template-columns: 1fr;
    }

    .alhena-featured-image {
        height: 200px;
    }

    .alhena-featured-title {
        font-size: 1.15rem;
    }

    .alhena-featured-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .alhena-featured-content {
        padding: 16px;
    }

    /* Section headers mobile */
    .alhena-section {
        margin-bottom: 32px;
    }

    .alhena-section-header {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .alhena-section-title {
        font-size: 1.2rem;
    }

    .alhena-section-link {
        font-size: 0.8rem;
    }

    /* Topic chips mobile */
    .alhena-topics-grid {
        gap: 8px;
    }

    .alhena-topic-chip {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .alhena-card-image {
        height: 180px;
    }

    /* Stack 2-column post layout on mobile */
    .alhena-article-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Mobile sidebar: authors + share + date stacked cleanly */
    .alhena-article-sidebar {
        position: static;
        border-top: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 0 0 12px;
        margin-bottom: 20px;
    }

    .alhena-sidebar-subscribe {
        display: none !important;
    }

    .alhena-sidebar-share {
        display: block !important;
        padding-top: 8px;
        margin: 0;
        border: none !important;
    }

    .alhena-sidebar-date {
        display: block !important;
        padding: 4px 0 0;
        margin: 0;
        font-size: 0.9rem;
        color: #64748b;
        border: none !important;
    }

    .alhena-sidebar-authors {
        display: block;
        margin-bottom: 0;
    }

    .alhena-sidebar-author {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 4px;
    }

    .alhena-sidebar-avatar {
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
    }

    .alhena-sidebar-author-name {
        font-size: 0.9rem;
        font-weight: 500;
    }

    .alhena-sidebar-author-bio {
        font-size: 0.75rem;
        margin: 0 0 20px;
        padding-bottom: 16px;
        border-bottom: 1px solid #e2e8f0;
    }

    .alhena-sidebar-author-bio:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 8px;
    }
}

/* Mobile subscribe box: hidden on desktop, shown on mobile at bottom of article */
.alhena-mobile-subscribe {
    display: none;
}

@media (max-width: 768px) {
    .alhena-mobile-subscribe {
        display: block !important;
        margin-top: 40px;
        padding: 24px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
    }
}

/* ============================================
   READING PROGRESS BAR
   ============================================ */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #0866FF, #6F55BF);
    z-index: 9999;
    transition: width 0.1s;
}

/* ============================================
   PREMIUM POLISH
   ============================================ */

/* Smooth scroll */
html {
    scroll-behavior: smooth !important;
}

/* Better link hover — no jarring opacity change */
a:hover {
    opacity: 1 !important;
}

/* Refined blockquotes in articles */
.alhena-article-content .gh-content blockquote {
    border-left: 3px solid #0866FF;
    padding: 4px 0 4px 20px;
    margin: 1.5rem 0;
    font-style: italic;
    color: #475569;
}

/* Code blocks */
.alhena-article-content .gh-content pre {
    background: #0F172A !important;
    color: #e2e8f0 !important;
    border-radius: 10px;
    padding: 20px 24px;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 1.5rem 0;
}

.alhena-article-content .gh-content code {
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 0.88em;
}

.alhena-article-content .gh-content p code,
.alhena-article-content .gh-content li code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    color: #0F172A;
    font-size: 0.88em;
}

/* Tables in articles */
.alhena-article-content .gh-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.alhena-article-content .gh-content th {
    background: #f8fafc;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid #e2e8f0;
}

.alhena-article-content .gh-content td {
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.alhena-article-content .gh-content tr:hover td {
    background: #fafbfc;
}

/* Image captions */
.alhena-article-content .gh-content figcaption {
    font-size: 0.85rem;
    color: #94A3B8;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* Wider images in content (kg-width-wide, kg-width-full) */
.alhena-article-content .kg-width-wide {
    margin-left: -80px;
    margin-right: -80px;
    max-width: calc(100% + 160px);
}

.alhena-article-content .kg-width-wide img {
    border-radius: 12px;
}

/* Featured card subtle shadow */
.alhena-featured-card {
    background: #fff;
}

/* Horizontal rule styling */
.alhena-article-content .gh-content hr {
    border: none;
    height: 1px;
    background: #e2e8f0;
    margin: 2.5rem 0;
}

/* Lists in articles — better spacing */
.alhena-article-content .gh-content ul,
.alhena-article-content .gh-content ol {
    padding-left: 1.5em;
    margin: 1rem 0;
}

.alhena-article-content .gh-content li {
    margin-bottom: 0.4em;
}

/* Smooth image loading */
.alhena-article-content .gh-content img {
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

/* Ghost bookmark cards */
.alhena-article-content .kg-bookmark-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.alhena-article-content .kg-bookmark-card:hover {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* Ghost toggle cards (FAQs) */
.kg-toggle-card,
.alhena-article-content .kg-toggle-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin: 0.75rem 0;
    background: #fff;
}

.kg-toggle-heading-text,
.alhena-article-content .kg-toggle-heading-text,
.kg-toggle-card .kg-toggle-heading-text {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #0F172A;
}

.kg-toggle-content,
.alhena-article-content .kg-toggle-content {
    font-family: 'Basier Circle', sans-serif !important;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #334155;
}

/* Selection color */
::selection {
    background: rgba(8, 102, 255, 0.15);
    color: #0F172A;
}
