/*
Theme Name: Bharat Divas 24
Theme URI: https://bharatdivas24.com
Author: AdeptoWeb
Author URI: https://adeptoweb.com
Description: Modern Social News Feed Platform for Bharat Divas 24 Digital Media. Combines Facebook's social news feed with AIMA Media's compact mobile-first news presentation. Features 3-column desktop layout, continuous feed, real-time reactions (Like, Love, Care, Wow), inline comments, share popup, horizontal reporter strip, and mobile-only bottom navigation.
Version: 2.0.0
License: Proprietary
Text Domain: bharatdivas24
*/

:root {
    --bd24-navy: #071A4B;
    --bd24-navy-light: #102B70;
    --bd24-navy-dark: #040e29;
    --bd24-red: #E51E2A;
    --bd24-red-dark: #b91c1c;
    --bd24-gold: #FF9933;
    --bd24-green: #138808;
    --bd24-bg: #F2F4F7;
    --bd24-card: #FFFFFF;
    --bd24-text: #202938;
    --bd24-muted: #64748B;
    --bd24-line: #E5E7EB;
    --bd24-shadow: 0 4px 16px rgba(7, 26, 75, 0.06);
    --bd24-shadow-lg: 0 12px 32px rgba(7, 26, 75, 0.12);
    --bd24-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 15px;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bd24-bg);
    color: var(--bd24-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Devanagari", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

body.admin-bar .bd24-social-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .bd24-social-header {
        top: 46px;
    }
}

.bd24-btn-text-mobile {
    display: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font: inherit;
}

button {
    cursor: pointer;
}

/* ==========================================================================
   COMPACT STICKY HEADER
   ========================================================================== */
.bd24-social-header {
    background: #ffffff;
    border-bottom: 1px solid var(--bd24-line);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.bd24-head-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bd24-brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    text-decoration: none;
}

.bd24-brand-wrap img {
    height: 46px;
    width: auto;
}

.bd24-search-box {
    flex: 1;
    max-width: 460px;
    position: relative;
}

.bd24-search-box input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid var(--bd24-line);
    border-radius: 20px;
    padding: 9px 16px 9px 38px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
}

.bd24-search-box input:focus {
    background: #fff;
    border-color: var(--bd24-navy);
    box-shadow: 0 0 0 3px rgba(7, 26, 75, 0.08);
}

.bd24-search-box::before {
    content: "⌕";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--bd24-muted);
}

.bd24-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bd24-btn-reporter {
    background: linear-gradient(135deg, var(--bd24-red), var(--bd24-red-dark));
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 12px rgba(229, 30, 42, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.bd24-btn-reporter:hover {
    color: #fff;
    transform: translateY(-1px);
}

.bd24-btn-login {
    background: #f1f5f9;
    color: var(--bd24-navy);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 20px;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.bd24-btn-login:hover {
    background: #e2e8f0;
}

/* DESKTOP HORIZONTAL CATEGORIES BAR */
.bd24-desktop-nav {
    background: var(--bd24-navy);
    border-bottom: 2px solid var(--bd24-red);
}

.bd24-nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 18px;
}

.bd24-category-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.bd24-category-nav-list::-webkit-scrollbar {
    display: none;
}

.bd24-category-nav-list li a {
    display: block;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: background 0.15s, color 0.15s;
}

.bd24-category-nav-list li a:hover, .bd24-category-nav-list li.active a {
    background: var(--bd24-navy-light);
    color: var(--bd24-gold);
}

/* ==========================================================================
   BREAKING NEWS TICKER
   ========================================================================== */
.bd24-ticker-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--bd24-line);
    padding: 8px 0;
}

.bd24-ticker-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bd24-ticker-badge {
    background: var(--bd24-red);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.bd24-ticker-text {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--bd24-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   3-COLUMN SOCIAL NEWS FEED LAYOUT
   ========================================================================== */
.bd24-social-shell {
    max-width: 1320px;
    margin: 20px auto;
    padding: 0 18px;
}

.bd24-layout-3col {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: start;
}

.bd24-sidebar-sticky {
    position: sticky;
    top: 96px;
}

.bd24-panel {
    background: var(--bd24-card);
    border: 1px solid var(--bd24-line);
    border-radius: var(--bd24-radius);
    box-shadow: var(--bd24-shadow);
    margin-bottom: 16px;
    overflow: hidden;
}

/* LEFT SIDEBAR NAVIGATION */
.bd24-left-navlist {
    padding: 8px;
}

.bd24-nav-heading {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--bd24-muted);
    letter-spacing: 1px;
    padding: 10px 12px 4px;
}

.bd24-left-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s;
    margin-bottom: 2px;
}

.bd24-left-nav-item:hover, .bd24-left-nav-item.active {
    background: #fff0f2;
    color: var(--bd24-red);
}

.bd24-left-nav-icon {
    font-size: 16px;
    width: 22px;
    text-align: center;
}

/* LEFT JOIN BOX */
.bd24-join-box {
    padding: 18px;
    background: linear-gradient(145deg, #071A4B, #102B70);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.bd24-join-box h4 {
    margin: 0 0 6px;
    font-size: 15px;
    color: #fff;
}

.bd24-join-box p {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0 0 14px;
}

/* ==========================================================================
   CENTER FEED COMPONENTS
   ========================================================================== */
.bd24-center-feed {
    min-width: 0;
}

/* FEATURED NEWS CAROUSEL */
.bd24-featured-carousel {
    background: var(--bd24-card);
    border-radius: var(--bd24-radius);
    border: 1px solid var(--bd24-line);
    box-shadow: var(--bd24-shadow);
    margin-bottom: 18px;
    overflow: hidden;
    position: relative;
}

.bd24-carousel-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.bd24-carousel-media {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.bd24-carousel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd24-carousel-info {
    padding: 20px 24px;
}

.bd24-carousel-badge {
    background: var(--bd24-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.bd24-carousel-headline {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 8px;
    color: var(--bd24-navy);
}

.bd24-carousel-meta {
    font-size: 12px;
    color: var(--bd24-muted);
}

/* ACTIVE REPORTERS STRIP */
.bd24-reporters-strip-wrap {
    background: var(--bd24-card);
    border: 1px solid var(--bd24-line);
    border-radius: var(--bd24-radius);
    padding: 14px 18px;
    margin-bottom: 18px;
    box-shadow: var(--bd24-shadow);
}

.bd24-reporters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.bd24-reporters-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--bd24-navy);
}

.bd24-reporters-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.bd24-reporter-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    min-width: 76px;
}

.bd24-bubble-avatar-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    margin-bottom: 6px;
}

.bd24-bubble-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--bd24-red);
    background: #eef2f6;
    color: var(--bd24-navy);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 16px;
    object-fit: cover;
}

.bd24-bubble-verified {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #1877F2;
    color: #fff;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 9px;
    border: 1px solid #fff;
}

.bd24-bubble-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--bd24-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 76px;
}

.bd24-bubble-loc {
    font-size: 9px;
    color: var(--bd24-muted);
}

/* ==========================================================================
   FACEBOOK-STYLE SOCIAL NEWS FEED CARD
   ========================================================================== */
.bd24-feed-card {
    background: var(--bd24-card);
    border: 1px solid var(--bd24-line);
    border-radius: var(--bd24-radius);
    box-shadow: var(--bd24-shadow);
    margin-bottom: 16px;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bd24-feed-card:hover {
    box-shadow: 0 8px 24px rgba(7, 26, 75, 0.08);
}

.bd24-post-header {
    padding: 14px 18px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bd24-post-author-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bd24-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffe2e7;
    color: var(--bd24-red);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 18px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--bd24-line);
    flex-shrink: 0;
}

.bd24-author-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--bd24-navy);
    display: flex;
    align-items: center;
    gap: 4px;
}

.bd24-verified-tick {
    color: #1877F2;
    font-size: 13px;
}

.bd24-post-subtext {
    font-size: 11px;
    color: var(--bd24-muted);
    margin-top: 2px;
}

.bd24-post-menu-wrap {
    position: relative;
}

.bd24-post-menu-btn {
    border: none;
    background: transparent;
    color: var(--bd24-muted);
    font-size: 16px;
    padding: 6px 10px;
    border-radius: 50%;
    cursor: pointer;
}

.bd24-post-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid var(--bd24-line);
    border-radius: 8px;
    box-shadow: var(--bd24-shadow-lg);
    width: 220px;
    z-index: 100;
    padding: 6px 0;
}

.bd24-post-menu-wrap.open .bd24-post-dropdown {
    display: block;
}

.bd24-menu-item {
    width: 100%;
    padding: 8px 14px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 13px;
    color: var(--bd24-text);
    cursor: pointer;
}

.bd24-menu-item:hover {
    background: #f1f5f9;
}

.bd24-post-content {
    padding: 0 18px 12px;
}

.bd24-feed-category-pill {
    font-size: 10px;
    font-weight: 800;
    color: var(--bd24-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: inline-block;
}

.bd24-feed-headline {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 8px;
    color: var(--bd24-navy);
}

.bd24-feed-headline a:hover {
    color: var(--bd24-red);
}

.bd24-feed-body {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 12px;
}

.bd24-readmore-toggle {
    color: var(--bd24-red);
    font-weight: 700;
    cursor: pointer;
}

.bd24-feed-media {
    margin: 0 -18px 12px;
    background: #000;
}

.bd24-feed-media img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.bd24-feed-video {
    margin: 0 -18px 12px;
    background: #071A4B;
    padding: 16px;
    text-align: center;
}

.bd24-play-badge {
    background: var(--bd24-red);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 12px;
}

/* POST STATS ROW */
.bd24-post-stats {
    padding: 8px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--bd24-muted);
    border-bottom: 1px solid #f1f5f9;
}

.bd24-reaction-icon-group {
    font-size: 14px;
    margin-right: 4px;
}

.bd24-stat-links span {
    cursor: pointer;
}

/* POST ACTIONS ROW */
.bd24-post-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 4px 10px;
    border-bottom: 1px solid #f1f5f9;
}

.bd24-action-btn {
    background: transparent;
    border: none;
    padding: 9px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.15s, color 0.15s;
    width: 100%;
}

.bd24-action-btn:hover {
    background: #f1f5f9;
    color: var(--bd24-navy);
}

.bd24-action-btn.active.like {
    color: #1877F2;
}
.bd24-action-btn.active.love {
    color: #E51E2A;
}

/* REACTION FLYOUT POPUP */
.bd24-reaction-trigger-wrap {
    position: relative;
}

.bd24-reactions-flyout {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 8px;
    background: #ffffff;
    border-radius: 30px;
    padding: 6px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    border: 1px solid var(--bd24-line);
    z-index: 100;
    animation: popIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bd24-reaction-trigger-wrap:hover .bd24-reactions-flyout {
    display: flex;
    gap: 8px;
}

@keyframes popIn {
    0% { transform: scale(0.6) translateY(10px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.reaction-emoji {
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reaction-emoji:hover {
    transform: scale(1.35) translateY(-4px);
}

/* COMMENTS SECTION */
.bd24-comments-section {
    padding: 14px 18px;
    background: #f8fafc;
    border-top: 1px solid var(--bd24-line);
}

.bd24-comment-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.bd24-comment-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--bd24-navy);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}

.bd24-comment-input {
    flex: 1;
    background: #ffffff;
    border: 1px solid var(--bd24-line);
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 13px;
    outline: none;
}

.bd24-comment-input:focus {
    border-color: var(--bd24-navy);
}

.bd24-comment-send-btn {
    background: var(--bd24-red);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.bd24-comment-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.bd24-comment-bubble {
    background: #ffffff;
    border: 1px solid var(--bd24-line);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 13px;
    max-width: 85%;
}

.bd24-comment-author {
    font-weight: 800;
    color: var(--bd24-navy);
    font-size: 12px;
}

.bd24-comment-text {
    margin-top: 2px;
    color: #334155;
}

.bd24-comment-meta {
    font-size: 11px;
    color: var(--bd24-muted);
    margin-top: 4px;
    display: flex;
    gap: 10px;
}

.bd24-comment-meta span {
    cursor: pointer;
}

/* PROMO IN-FEED CARD */
.bd24-feed-promo-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff7f8 100%);
    border: 2px dashed #E51E2A;
    padding: 20px 24px;
}

.bd24-promo-badge {
    background: #FF9933;
    color: #071A4B;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

/* ==========================================================================
   RIGHT SIDEBAR
   ========================================================================== */
.bd24-right-title {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 800;
    color: var(--bd24-navy);
    border-bottom: 1px solid var(--bd24-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bd24-trending-item {
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    gap: 10px;
}

.bd24-trending-num {
    font-size: 18px;
    font-weight: 900;
    color: var(--bd24-red);
    min-width: 22px;
}

.bd24-trending-text h5 {
    margin: 0 0 2px;
    font-size: 13px;
    line-height: 1.35;
    color: var(--bd24-navy);
}

.bd24-trending-text small {
    font-size: 11px;
    color: var(--bd24-muted);
}

/* ==========================================================================
   SHARE MODAL
   ========================================================================== */
.bd24-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    place-items: center;
}

.bd24-modal-backdrop.open {
    display: grid;
}

.bd24-modal-box {
    background: #ffffff;
    border-radius: 14px;
    width: 90%;
    max-width: 440px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    position: relative;
    animation: popIn 0.2s ease-out;
}

.bd24-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--bd24-line);
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.bd24-modal-head h3 {
    margin: 0;
    color: var(--bd24-navy);
    font-size: 17px;
}

.bd24-modal-close {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--bd24-muted);
}

.bd24-share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bd24-share-channel-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.bd24-share-whatsapp { background: #25D366; }
.bd24-share-facebook { background: #1877F2; }
.bd24-share-twitter { background: #000000; }
.bd24-share-telegram { background: #0088cc; }
.bd24-share-copy { background: #475569; grid-column: span 2; justify-content: center; }

/* ==========================================================================
   CONTAINER & MAIN FOOTER
   ========================================================================== */
.bd24-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 18px;
}

.bd24-main-footer {
    background: var(--bd24-navy);
    color: #cbd5e1;
    padding: 48px 0 28px;
    margin-top: 48px;
    border-top: 3px solid var(--bd24-red);
    position: relative;
    z-index: 10;
}

.bd24-footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 36px;
    margin-bottom: 36px;
}

.bd24-footer-brand img {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    margin-bottom: 14px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.bd24-footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    color: #94a3b8;
    margin: 0 0 12px;
}

.bd24-footer-col h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 16px;
    position: relative;
    padding-bottom: 8px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--bd24-red);
    display: inline-block;
}

.bd24-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bd24-footer-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bd24-footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bd24-footer-links li a:hover {
    color: #FF9933;
    transform: translateX(4px);
}

.bd24-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #94a3b8;
    flex-wrap: wrap;
    gap: 12px;
}

.bd24-footer-bottom a {
    color: #FF9933;
    text-decoration: none;
}

.bd24-footer-bottom a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   MOBILE-ONLY FIXED BOTTOM NAVIGATION
   ========================================================================== */
.bd24-mobile-bottom-nav {
    display: none;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1080px) {
    .bd24-layout-3col {
        grid-template-columns: 200px minmax(0, 1fr);
    }
    .bd24-right-col {
        display: none;
    }
}

@media (max-width: 820px) {
    .bd24-layout-3col {
        grid-template-columns: 1fr;
    }
    .bd24-left-col {
        display: none;
    }

    /* Mobile Clean Horizontal Category Navigation */
    .bd24-desktop-nav {
        display: block !important;
        background: var(--bd24-navy);
        border-bottom: 2px solid var(--bd24-red);
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .bd24-desktop-nav::-webkit-scrollbar {
        display: none;
    }
    .bd24-nav-container {
        padding: 0 6px;
    }
    .bd24-category-nav-list {
        display: flex;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .bd24-category-nav-list li a {
        display: block;
        padding: 8px 12px;
        color: #ffffff;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        white-space: nowrap;
    }
    .bd24-category-nav-list li.active a {
        background: var(--bd24-navy-light);
        color: var(--bd24-gold);
    }

    /* Mobile Brand Header */
    .bd24-head-inner {
        padding: 8px 12px;
        gap: 8px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .bd24-brand-wrap {
        min-width: 0 !important;
        flex-shrink: 1;
        gap: 6px;
    }
    .bd24-brand-wrap img {
        height: 32px;
        max-width: 130px;
        width: auto;
        object-fit: contain;
    }
    .bd24-search-box {
        display: none;
    }
    .bd24-head-actions {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }
    .bd24-btn-reporter {
        padding: 6px 10px;
        font-size: 11px;
        border-radius: 16px;
        gap: 4px;
    }
    .bd24-btn-login {
        padding: 6px 10px;
        font-size: 11px;
        border-radius: 16px;
        gap: 4px;
    }
    .bd24-lang-btn {
        padding: 5px 8px;
        font-size: 11px;
        border-radius: 16px;
        gap: 3px;
        background: #f1f5f9;
        border: 1px solid var(--bd24-line);
        color: var(--bd24-navy);
    }
    .bd24-lang-dropdown {
        position: fixed !important;
        top: 54px !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: 380px !important;
        margin: 0 auto !important;
        max-height: calc(85vh - 60px) !important;
        border-radius: 14px !important;
        box-shadow: 0 16px 48px rgba(7, 26, 75, 0.3) !important;
        z-index: 999999 !important;
    }
    body.admin-bar .bd24-lang-dropdown {
        top: 98px !important;
    }
    .bd24-social-shell {
        padding: 0 12px;
        margin: 14px auto;
    }

    .bd24-carousel-slide {
        grid-template-columns: 1fr;
    }
    .bd24-carousel-media {
        height: 160px;
    }
    .bd24-carousel-info {
        padding: 14px;
    }
    .bd24-carousel-headline {
        font-size: 15px;
    }

    /* Mobile Feed Spacing for Bottom Bar */
    body {
        padding-bottom: 65px;
    }

    /* Mobile Fixed Bottom Navigation (Inspired by AIMA Media & Facebook) */
    .bd24-mobile-bottom-nav {
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 56px !important;
        background: #ffffff !important;
        border-top: 1px solid var(--bd24-line) !important;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.08) !important;
        z-index: 99999 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .bd24-bottom-nav-item {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        color: var(--bd24-muted) !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        gap: 2px !important;
        white-space: nowrap !important;
        height: 100% !important;
    }
    .bd24-bottom-nav-item.active {
        color: var(--bd24-red) !important;
    }
    .bd24-bottom-nav-icon {
        font-size: 18px !important;
        line-height: 1 !important;
    }

    /* Mobile Footer */
    .bd24-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 560px) {
    .bd24-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .bd24-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 520px) {
    .bd24-head-inner {
        padding: 7px 10px;
        gap: 6px;
    }
    .bd24-btn-text-desktop {
        display: none !important;
    }
    .bd24-btn-text-mobile {
        display: inline !important;
    }
    .bd24-brand-wrap img {
        height: 28px;
        max-width: 105px;
    }
    .bd24-btn-reporter {
        padding: 5px 9px;
        font-size: 11px;
        gap: 3px;
    }
    .bd24-btn-login {
        padding: 5px 9px;
        font-size: 11px;
        gap: 3px;
    }
    .bd24-lang-btn {
        padding: 5px 7px;
        font-size: 11px;
        gap: 3px;
    }
    .bd24-social-shell {
        padding: 0 10px;
        margin: 10px auto;
    }
}

@media (max-width: 380px) {
    .bd24-head-inner {
        padding: 6px 8px;
        gap: 4px;
    }
    .bd24-brand-wrap img {
        height: 24px;
        max-width: 82px;
    }
    .bd24-head-actions {
        gap: 4px;
    }
    .bd24-btn-reporter {
        padding: 4px 7px;
        font-size: 10.5px;
        gap: 2px;
    }
    .bd24-btn-login {
        padding: 4px 7px;
        font-size: 10.5px;
        gap: 2px;
    }
    .bd24-lang-btn {
        padding: 4px 6px;
        font-size: 10.5px;
        gap: 2px;
    }
    .bd24-lang-btn .bd24-lang-arrow {
        display: none;
    }
    .bd24-lang-current {
        max-width: 34px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 335px) {
    .bd24-btn-text-login {
        display: none !important;
    }
}

/* ==========================================================================
   REPORTER PROFILE CARD & DESK
   ========================================================================== */
.bd24-reporter-profile-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--bd24-line);
    box-shadow: 0 4px 20px rgba(7, 26, 75, 0.06);
    overflow: hidden;
    margin-bottom: 24px;
}

.bd24-profile-cover {
    background: linear-gradient(135deg, var(--bd24-navy) 0%, var(--bd24-navy-light) 60%, var(--bd24-red) 100%);
    height: 110px;
    position: relative;
    padding: 14px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.bd24-cover-badge {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: 20px;
}

.bd24-profile-header-body {
    padding: 0 24px;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-top: -45px;
    position: relative;
    z-index: 2;
}

.bd24-profile-avatar-large {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bd24-navy), var(--bd24-navy-light));
    color: #ffffff;
    border: 4px solid #ffffff;
    box-shadow: 0 6px 16px rgba(7, 26, 75, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 900;
    flex-shrink: 0;
    outline: 2px solid var(--bd24-gold);
}

.bd24-profile-title-area {
    flex: 1;
    padding-top: 50px;
}

.bd24-profile-name {
    font-size: 24px;
    font-weight: 900;
    color: var(--bd24-navy);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bd24-profile-designation {
    font-size: 13px;
    color: var(--bd24-muted);
    margin-bottom: 6px;
    font-weight: 600;
}

.bd24-profile-code-badge {
    display: inline-block;
    font-size: 12px;
    color: var(--bd24-navy);
    font-weight: 700;
}

.bd24-profile-code-badge code {
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--bd24-red);
    font-weight: 800;
}

.bd24-profile-bio {
    padding: 16px 24px;
    margin: 16px 24px 0;
    background: #f8fafc;
    border-left: 4px solid var(--bd24-red);
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    line-height: 1.7;
    color: #334155;
}

.bd24-profile-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 18px 24px;
    border-top: 1px solid var(--bd24-line);
    margin-top: 18px;
    background: #fafbfc;
    align-items: center;
}

.bd24-profile-stat-item {
    display: flex;
    flex-direction: column;
}

.bd24-profile-stat-item b {
    font-size: 18px;
    font-weight: 900;
    color: var(--bd24-navy);
    line-height: 1.2;
}

.bd24-profile-stat-item span {
    font-size: 11px;
    font-weight: 700;
    color: var(--bd24-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bd24-feed-section-header {
    background: #ffffff;
    border: 1px solid var(--bd24-line);
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 16px;
    border-left: 4px solid var(--bd24-red);
}

.bd24-feed-section-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--bd24-navy);
}

@media (max-width: 680px) {
    .bd24-profile-header-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .bd24-profile-title-area {
        padding-top: 10px;
    }
    .bd24-profile-name {
        justify-content: center;
    }
    .bd24-profile-stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        text-align: center;
    }
}

/* ==========================================================================
   RESPONSIVE FORM SYSTEM & RECRUITMENT PORTAL
   ========================================================================== */
.bd24-form-row {
    display: grid;
    gap: 18px;
    margin-bottom: 6px;
}

.bd24-form-row.bd24-col-2 {
    grid-template-columns: 1fr 1fr;
}

.bd24-form-row.bd24-col-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.bd24-form-card {
    background: #ffffff;
    padding: 36px;
    border-radius: 14px;
    border: 1px solid var(--bd24-line);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.bd24-recruitment-hero {
    background: linear-gradient(135deg, #071A4B, #102B70);
    color: #fff;
    padding: 36px 30px;
    border-radius: 14px;
    margin-bottom: 25px;
    border-bottom: 4px solid var(--bd24-red);
    text-align: center;
    box-shadow: 0 10px 30px rgba(7,26,75,0.12);
}

.bd24-hero-badge {
    display: inline-block;
    background: var(--bd24-gold);
    color: var(--bd24-navy);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bd24-hero-title {
    color: #fff;
    font-size: 26px;
    margin: 12px 0 8px;
    font-weight: 900;
    line-height: 1.3;
}

.bd24-hero-subtitle {
    color: #cbd5e1;
    font-size: 14px;
    margin: 0 auto;
    max-width: 650px;
    line-height: 1.5;
}

.bd24-hero-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.bd24-form-section-title {
    color: var(--bd24-navy);
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
    margin: 28px 0 18px;
    font-size: 17px;
    font-weight: 800;
}

.bd24-form-section-title:first-child {
    margin-top: 0;
}

.bd24-declaration-box {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin: 25px 0;
}

.bd24-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.6;
    cursor: pointer;
    color: var(--bd24-text);
}

.bd24-form-help {
    display: block;
    color: var(--bd24-muted);
    font-size: 11px;
    margin-top: 4px;
}

.bd24-btn-submit {
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bd24-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 30, 42, 0.4);
}

@media (max-width: 768px) {
    .bd24-portal-wrap {
        padding: 16px 10px !important;
    }

    .bd24-form-card {
        padding: 20px 14px !important;
        border-radius: 10px !important;
    }

    .bd24-recruitment-hero {
        padding: 22px 14px !important;
        border-radius: 10px !important;
        margin-bottom: 16px !important;
    }

    .bd24-hero-title {
        font-size: 19px !important;
    }

    .bd24-hero-subtitle {
        font-size: 13px !important;
    }

    .bd24-hero-actions {
        flex-direction: column !important;
        width: 100% !important;
    }

    .bd24-hero-actions .bd24-btn {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 10px 14px !important;
    }

    /* ALL FORM ROWS STACK TO SINGLE COLUMN ON MOBILE */
    .bd24-form-row.bd24-col-2,
    .bd24-form-row.bd24-col-3,
    div[style*="grid-template-columns:1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .bd24-form-group {
        margin-bottom: 14px !important;
    }

    .bd24-form-group label {
        font-size: 13px !important;
        margin-bottom: 5px !important;
    }

    .bd24-input, .bd24-select, .bd24-textarea {
        font-size: 16px !important; /* Prevents auto-zoom in iOS Safari */
        padding: 10px 12px !important;
        border-radius: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .bd24-form-section-title {
        font-size: 15px !important;
        margin: 22px 0 14px !important;
    }

    .bd24-btn-submit {
        width: 100% !important;
        padding: 13px 20px !important;
        font-size: 15px !important;
    }

    .bd24-status-form {
        flex-direction: column !important;
    }

    .bd24-status-form button {
        width: 100% !important;
    }
}

/* ==========================================================================
   RESPONSIVE FORM SYSTEM & RECRUITMENT PORTAL
   ========================================================================== */
.bd24-form-row {
    display: grid;
    gap: 18px;
    margin-bottom: 6px;
}

.bd24-form-row.bd24-col-2 {
    grid-template-columns: 1fr 1fr;
}

.bd24-form-row.bd24-col-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.bd24-form-card {
    background: #ffffff;
    padding: 36px;
    border-radius: 14px;
    border: 1px solid var(--bd24-line);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.bd24-recruitment-hero {
    background: linear-gradient(135deg, #071A4B, #102B70);
    color: #fff;
    padding: 36px 30px;
    border-radius: 14px;
    margin-bottom: 25px;
    border-bottom: 4px solid var(--bd24-red);
    text-align: center;
    box-shadow: 0 10px 30px rgba(7,26,75,0.12);
}

.bd24-hero-badge {
    display: inline-block;
    background: var(--bd24-gold);
    color: var(--bd24-navy);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bd24-hero-title {
    color: #fff;
    font-size: 26px;
    margin: 12px 0 8px;
    font-weight: 900;
    line-height: 1.3;
}

.bd24-hero-subtitle {
    color: #cbd5e1;
    font-size: 14px;
    margin: 0 auto;
    max-width: 650px;
    line-height: 1.5;
}

.bd24-hero-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.bd24-form-section-title {
    color: var(--bd24-navy);
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
    margin: 28px 0 18px;
    font-size: 17px;
    font-weight: 800;
}

.bd24-form-section-title:first-child {
    margin-top: 0;
}

.bd24-declaration-box {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin: 25px 0;
}

.bd24-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.6;
    cursor: pointer;
    color: var(--bd24-text);
}

.bd24-form-help {
    display: block;
    color: var(--bd24-muted);
    font-size: 11px;
    margin-top: 4px;
}

.bd24-btn-submit {
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bd24-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 30, 42, 0.4);
}

@media (max-width: 768px) {
    .bd24-portal-wrap {
        padding: 16px 10px !important;
    }

    .bd24-form-card {
        padding: 20px 14px !important;
        border-radius: 10px !important;
    }

    .bd24-recruitment-hero {
        padding: 22px 14px !important;
        border-radius: 10px !important;
        margin-bottom: 16px !important;
    }

    .bd24-hero-title {
        font-size: 19px !important;
    }

    .bd24-hero-subtitle {
        font-size: 13px !important;
    }

    .bd24-hero-actions {
        flex-direction: column !important;
        width: 100% !important;
    }

    .bd24-hero-actions .bd24-btn {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 10px 14px !important;
    }

    /* ALL FORM ROWS STACK TO SINGLE COLUMN ON MOBILE */
    .bd24-form-row.bd24-col-2,
    .bd24-form-row.bd24-col-3,
    div[style*="grid-template-columns:1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .bd24-form-group {
        margin-bottom: 14px !important;
    }

    .bd24-form-group label {
        font-size: 13px !important;
        margin-bottom: 5px !important;
    }

    .bd24-input, .bd24-select, .bd24-textarea {
        font-size: 16px !important; /* Prevents auto-zoom in iOS Safari */
        padding: 10px 12px !important;
        border-radius: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .bd24-form-section-title {
        font-size: 15px !important;
        margin: 22px 0 14px !important;
    }

    .bd24-btn-submit {
        width: 100% !important;
        padding: 13px 20px !important;
        font-size: 15px !important;
    }

    .bd24-status-form {
        flex-direction: column !important;
    }

    .bd24-status-form button {
        width: 100% !important;
    }
}
