/* Social sharing buttons styling */
.engagement-btn {
    border-radius: 4px;
    border: none;
    padding: 8px 12px;
    margin-right: 5px;
    color: #fff;
    cursor: pointer;
    background: #555;
    transition: background 0.3s;
}

.engagement-btn:hover {
    background: #333;
}

.engagement-btn.twitter { background: #1DA1F2; }
.engagement-btn.twitter:hover { background: #0c85d0; }

.engagement-btn.linkedin { background: #0077B5; }
.engagement-btn.linkedin:hover { background: #005a8c; }

.engagement-btn.facebook { background: #1877F2; }
.engagement-btn.facebook:hover { background: #0d5cb8; }

.engagement-btn.copy { background: #444; }
.engagement-btn.copy:hover { background: #222; }

/* Code block highlight.js mobile fixes */
pre {
    overflow-x: auto;
    max-width: 100%;
    box-sizing: border-box;
}

pre code.hljs {
    overflow-x: auto;
    white-space: pre;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px;
}
.tut-content pre { background: #1e1e24 !important; border: none !important; border-radius: 8px !important; padding: 18px 22px !important; margin: 28px 0 !important; margin-left: 0 !important; margin-right: 0 !important; overflow-x: auto !important; position: relative !important; box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important; }
.tut-content pre code { font-family: 'Fira Code', Menlo, Monaco, Consolas, 'Courier New', monospace !important; font-size: 14px !important; line-height: 1.6 !important; background: transparent !important; color: #f8f9fa !important; padding: 0 !important; }
.tut-content pre::-webkit-scrollbar { height: 8px; }
.tut-content pre::-webkit-scrollbar-track { background: #25252d; border-radius: 0 0 8px 8px; }
.tut-content pre::-webkit-scrollbar-thumb { background: #4a5568; border-radius: 4px; }
.tut-content pre .copy-code-btn { background-color: rgba(255,255,255,0.08) !important; border: 1px solid rgba(255,255,255,0.15) !important; color: #cbd5e0 !important; border-radius: 6px !important; font-weight: 500 !important; opacity: 0.8 !important; padding: 5px 10px !important; font-size: 11px !important; position: absolute !important; top: 8px !important; right: 8px !important; transition: all 0.2s ease !important; }
.tut-content pre .copy-code-btn:hover { background-color: rgba(255,255,255,0.2) !important; color: #ffffff !important; opacity: 1 !important; border-color: rgba(255,255,255,0.3) !important; }

/* --- Enterprise Homepage & Modern Feed Architecture --- */

/* Topic Filter Bar */
.homepage-topic-bar {
    margin-bottom: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.topic-bar-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.topic-bar-inner::-webkit-scrollbar {
    display: none;
}
.topic-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}
.topic-chip:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}
.topic-chip.active {
    background: linear-gradient(135deg, #770494 0%, #4a025d 100%);
    color: #ffffff !important;
    border-color: #770494;
    box-shadow: 0 3px 10px rgba(119, 4, 148, 0.25);
}

/* Modern Feed Card */
.modern-feed-card {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.04);
    margin-bottom: 22px;
    overflow: hidden;
    transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.24s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.24s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}
.modern-feed-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}
.modern-feed-img {
    flex: 0 0 36%;
    max-width: 36%;
    position: relative;
    background: #0f172a;
    overflow: hidden;
}
.modern-feed-img a {
    display: block;
    height: 100%;
    width: 100%;
}
.modern-feed-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.modern-feed-card:hover .modern-feed-img img {
    transform: scale(1.05);
}
.feed-img-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 4px;
}
.modern-feed-content {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.feed-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}
.feed-badge-topic {
    font-weight: 700;
    color: #770494;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.feed-meta-dot {
    color: #cbd5e1;
}
.feed-readtime {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.feed-date {
    color: #94a3b8;
}
.feed-title {
    margin: 0 0 8px 0;
}
.feed-title a {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none !important;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.18s ease;
}
.modern-feed-card:hover .feed-title a {
    color: #770494;
}
.feed-desc p {
    font-size: 14px;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 14px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.feed-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    margin-top: auto;
}
.feed-author-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}
.feed-author-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}
.feed-author-profile a:hover .feed-author-img {
    transform: scale(1.08);
}
.feed-author-info {
    display: flex;
    flex-direction: column;
}
.feed-author-name {
    font-weight: 700;
    font-size: 13.5px;
    color: #1e293b;
    text-decoration: none !important;
    transition: color 0.18s ease;
}
.feed-author-name:hover {
    color: #770494;
}
.feed-views {
    font-size: 11.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}
.feed-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #770494;
    text-decoration: none !important;
    padding: 6px 12px;
    border-radius: 6px;
    background: #fbf5fc;
    transition: all 0.2s ease;
}
.feed-read-btn:hover {
    background: #f4e5f7;
    color: #550269;
    gap: 9px;
}

@media (max-width: 768px) {
    .modern-feed-card {
        flex-direction: column;
    }
    .modern-feed-img {
        flex: none;
        max-width: 100%;
        height: 200px;
    }
    .modern-feed-content {
        padding: 16px;
    }
    .feed-title a {
        font-size: 17px;
    }
    .feed-read-btn {
        padding: 4px 8px;
        font-size: 12px;
    }
}

/* Left Sidebar - Trending Stories */
.sidebar-trending-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: linear-gradient(135deg, #770494 0%, #4a025d 100%);
    color: #ffffff;
    border-radius: 8px 8px 0 0;
    margin-bottom: 6px;
}
.trending-header-title {
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.trending-header-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: rgba(255,255,255,0.22);
    padding: 2px 7px;
    border-radius: 10px;
}
.trending-stories-list {
    display: flex;
    flex-direction: column;
    padding: 0;
}
.trending-story-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 8px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.18s ease;
    border-bottom: 1px solid #f1f5f9;
}
.trending-story-card:last-child {
    border-bottom: none;
}
.trending-story-card:hover {
    background: #f8fafc;
}
.trending-rank-badge {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}
.trending-rank-badge.rank-gold {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 1px solid #fcd34d;
}
.trending-rank-badge.rank-silver {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #dbeafe;
}
.trending-rank-badge.rank-neutral {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}
.trending-story-info {
    flex: 1;
    min-width: 0;
}
.trending-story-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    margin: 0 0 3px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.18s ease;
}
.trending-story-card:hover .trending-story-title {
    color: #770494;
}
.trending-story-author {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sidebar-footer-box {
    margin-top: 18px;
    padding: 12px 14px;
    border-top: 1px solid #e2e8f0;
    font-size: 11.5px;
    color: #94a3b8;
}
.sidebar-footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.18s ease;
}
.sidebar-footer-links a:hover {
    color: #770494;
}
.sidebar-footer-copy {
    margin-top: 6px;
    font-size: 11px;
    color: #94a3b8;
}

/* Right Sidebar Widgets */
.widget-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.04);
    margin-bottom: 22px;
    padding: 18px;
    border: 1px solid #e2e8f0;
}
.widget-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}
.widget-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget-action-link {
    font-size: 12px;
    font-weight: 600;
    color: #770494;
    text-decoration: none !important;
}
.channel-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}
.channel-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}
.channel-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f1f5f9;
}
.channel-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #ffffff;
}
.channel-info {
    flex: 1;
    min-width: 0;
}
.channel-name {
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
    text-decoration: none !important;
    display: block;
    transition: color 0.18s ease;
}
.channel-name:hover {
    color: #770494;
}
.channel-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    color: #10b981;
}
.channel-bell {
    color: #94a3b8;
    position: relative;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s;
}
.channel-bell:hover {
    color: #1e293b;
}
.channel-bell .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 10px;
}
.video-widget-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.video-widget-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none !important;
    transition: transform 0.2s ease;
}
.video-widget-item:hover {
    transform: translateX(4px);
}
.video-thumb-container {
    position: relative;
    width: 100px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0f172a;
}
.video-widget-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(0,0,0,0.65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 10px;
    padding-left: 2px;
    transition: transform 0.2s ease, background 0.2s ease;
}
.video-widget-item:hover .video-play-overlay {
    transform: translate(-50%, -50%) scale(1.15);
    background: #ef4444;
}
.video-widget-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.video-widget-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.18s ease;
}
.video-widget-item:hover .video-widget-title {
    color: #770494;
}
.video-widget-auth {
    font-size: 11.5px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================
   GLOBAL NAVBAR SEARCH & READING PROGRESS BAR
   ========================================================== */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    background: linear-gradient(90deg, #770494, #c026d3, #38bdf8);
    z-index: 99999;
    pointer-events: none;
    transition: width 0.08s ease-out;
}
.vg-navbar-search {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.vg-search-icon {
    position: absolute;
    left: 13px;
    color: #94a3b8;
    font-size: 13.5px;
    pointer-events: none;
    z-index: 2;
}
.vg-search-input {
    width: 280px;
    height: 36px;
    padding: 6px 42px 6px 34px;
    font-size: 13px;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    outline: none;
    transition: all 0.22s ease;
}
.vg-search-input:focus {
    width: 320px;
    background: #ffffff;
    border-color: #770494;
    box-shadow: 0 0 0 3px rgba(119, 4, 148, 0.12);
}
.vg-search-input::placeholder {
    color: #94a3b8;
}
.vg-search-kbd {
    position: absolute;
    right: 10px;
    pointer-events: none;
}
.vg-search-kbd kbd {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #64748b;
    font-size: 10.5px;
    font-family: inherit;
    padding: 2px 5px;
    border-radius: 4px;
    box-shadow: none;
}

/* ==========================================================
   SEARCH HERO & EMPTY STATES
   ========================================================== */
.search-header-hero, .category-hero-header {
    background: linear-gradient(135deg, #f8fafc 0%, #faf5ff 100%);
    border: 1px solid #f1f5f9;
    border-left: 4px solid #770494;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 22px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.search-header-badge, .category-hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #770494;
    background: #f3e8ff;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.search-header-title, .category-hero-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 4px 0 6px 0;
    line-height: 1.25;
}
.search-highlight {
    color: #770494;
    background: rgba(119, 4, 148, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
}
.search-header-subtitle, .category-hero-subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}
.modern-empty-state {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 45px 30px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.modern-empty-state .empty-state-icon {
    font-size: 44px;
    color: #94a3b8;
    margin-bottom: 14px;
}
.modern-empty-state h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}
.modern-empty-state p {
    font-size: 14px;
    color: #64748b;
    max-width: 480px;
    margin: 0 auto 18px auto;
    line-height: 1.5;
}
.empty-state-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

/* ==========================================================
   MODERN AUTHOR & CHANNEL PROFILE
   ========================================================== */
.modern-profile-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.modern-profile-cover {
    height: 130px;
    background: linear-gradient(135deg, #770494 0%, #4a044e 50%, #312e81 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}
.modern-profile-avatar-wrap {
    position: absolute;
    bottom: -38px;
    left: 28px;
}
.modern-profile-avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    object-fit: cover;
    background: #ffffff;
}
.modern-profile-body {
    padding: 48px 28px 20px 28px;
}
.modern-profile-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.modern-profile-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.modern-profile-name {
    font-size: 23px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.modern-author-verified {
    font-size: 13px;
    color: #0284c7;
    background: #e0f2fe;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}
.modern-subscriber-pill {
    display: inline-block;
    font-size: 12.5px;
    color: #64748b;
    margin-top: 4px;
}
.modern-subscribe-btn {
    border-radius: 20px !important;
    padding: 6px 18px !important;
    font-weight: 600 !important;
    background: #770494 !important;
    border-color: #770494 !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
}
.modern-subscribe-btn:hover {
    background: #5b0372 !important;
    transform: translateY(-1px);
}
.modern-profile-bio {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 8px 0 14px 0;
}
.modern-profile-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}
.cred-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #475569;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}
.modern-profile-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.social-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    text-decoration: none !important;
    transition: all 0.18s ease;
}
.social-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.social-chip.github:hover { color: #ffffff; background: #24292e; border-color: #24292e; }
.social-chip.linkedin:hover { color: #ffffff; background: #0a66c2; border-color: #0a66c2; }
.social-chip.twitter:hover { color: #ffffff; background: #1da1f2; border-color: #1da1f2; }
.social-chip.website:hover { color: #ffffff; background: #770494; border-color: #770494; }

.modern-profile-tabs {
    display: flex;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    margin-top: 12px;
}
.profile-tab-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none !important;
    transition: all 0.18s ease;
}
.profile-tab-pill:hover {
    color: #770494;
    background: #faf5ff;
    border-color: #e9d5ff;
}
.profile-tab-pill.active {
    color: #ffffff;
    background: #770494;
    border-color: #770494;
}

/* ==========================================================
   AUTHENTICATION CARDS
   ========================================================== */
.modern-auth-card {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    background: #ffffff;
    margin-top: 20px;
    margin-bottom: 30px;
}
.auth-tabs {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 14px 14px 0 0;
}
.auth-tabs > li > a {
    font-weight: 600;
    font-size: 14px;
    color: #64748b;
    padding: 14px 24px;
    border: none;
    border-bottom: 2px solid transparent;
}
.auth-tabs > li.active > a, .auth-tabs > li.active > a:focus, .auth-tabs > li.active > a:hover {
    color: #770494;
    border: none;
    border-bottom: 2px solid #770494;
    background: #ffffff;
}
.modern-input {
    border-radius: 8px !important;
    height: 42px !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    font-size: 14px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.modern-input:focus {
    border-color: #770494 !important;
    box-shadow: 0 0 0 3px rgba(119, 4, 148, 0.12) !important;
}
.modern-submit-btn {
    width: 100%;
    height: 44px;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #770494 0%, #9c27b0 100%) !important;
    border: none !important;
    transition: transform 0.15s ease, opacity 0.2s ease !important;
}
.modern-submit-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}
.modern-secondary-btn {
    width: 100%;
    height: 42px;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    transition: all 0.18s ease !important;
}
.modern-secondary-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

/* ==========================================================
   STATIC PAGES (ABOUT & CONTACT)
   ========================================================== */
.modern-static-page {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 34px 38px;
    margin-bottom: 25px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.static-page-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 22px;
    margin-bottom: 24px;
}
.static-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #770494;
    background: #faf5ff;
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid #e9d5ff;
    margin-bottom: 10px;
}
.static-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 10px 0;
}
.static-lead {
    font-size: 15.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}
.static-section-heading {
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    margin: 28px 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.editorial-checklist {
    list-style: none;
    padding: 0;
    margin: 12px 0 20px 0;
}
.editorial-checklist li {
    font-size: 14px;
    color: #334155;
    padding: 7px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 16px 0 24px 0;
}
.topic-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 18px;
}
.topic-box-title {
    font-weight: 700;
    font-size: 14.5px;
    color: #0f172a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.topic-box p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}
.about-cta-banner {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 24px 28px;
    margin-top: 24px;
    text-align: center;
}
.about-cta-banner h3 {
    font-size: 17.5px;
    font-weight: 700;
    color: #4a044e;
    margin: 0 0 6px 0;
}
.about-cta-banner p {
    font-size: 13.5px;
    color: #581c87;
    margin: 0 auto;
    max-width: 520px;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 18px 0;
}
.contact-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-card-icon {
    font-size: 22px;
    color: #770494;
    margin-bottom: 10px;
}
.contact-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}
.contact-card p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.45;
}
.contact-card-link {
    font-size: 13px;
    font-weight: 600;
    color: #770494 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.contact-card-link:hover {
    text-decoration: underline !important;
}

@media (max-width: 767px) {
    .topics-grid, .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .modern-static-page {
        padding: 22px 18px;
    }
    .modern-profile-cover {
        height: 100px;
    }
    .modern-profile-avatar {
        width: 66px;
        height: 66px;
    }
    .modern-profile-avatar-wrap {
        bottom: -30px;
        left: 18px;
    }
    .modern-profile-body {
        padding: 38px 18px 16px 18px;
    }
    .modern-profile-tabs {
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .profile-tab-pill {
        white-space: nowrap;
    }
}
