/*
Theme Name: GeneratePress JobApply Child
Theme URI: https://github.com/google-deepmind
Description: A premium, fast-loading, EEAT-compliant child theme for GeneratePress designed for job portals and exam listings.
Author: Antigravity
Author URI: https://github.com/google-deepmind
Template: generatepress
Version: 1.0.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   CSS Variables & Design Tokens (Premium Slate/Electric Blue Palette)
   ========================================================================== */
:root {
    --primary-color: #2264ad;      /* Premium Careers Blue */
    --primary-hover: #1a518c;
    --secondary-color: #e11d48;    /* Alert Rose Red */
    --accent-green: #10b981;       /* Emerald Trust Green */
    --accent-orange: #f59e0b;      /* Alert Amber */
    --bg-app: #f8fafc;             /* Premium Light Slate App Background */
    --screen-bg: #ffffff;
    --text-dark: #0f172a;          /* Slate 900 */
    --text-muted: #475569;         /* Slate 600 */
    --border-color: #e2e8f0;       /* Slate 200 */
    --whatsapp-green: #22c55e;
    --telegram-blue: #0088cc;
    
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    
    --shadow-soft: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-medium: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 15px rgba(37, 99, 235, 0.15);
}

body {
    background-color: var(--bg-app);
    font-family: var(--font-primary) !important;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    overflow-x: hidden;
    color: var(--text-dark);
}

/* ==========================================================================
   Main Page Layout Container
   ========================================================================== */
.jk-container {
    background-color: var(--screen-bg);
    margin: 20px auto;
    width: calc(100% - 30px);
    min-height: 100vh;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    overflow: visible;
    box-sizing: border-box;
    max-width: 1200px;
    padding: 0;
}

/* Flex content wrapper */
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 0 20px 30px 20px;
    box-sizing: border-box;
}

.main-posts {
    flex: 7;
    min-width: 0; /* Prevents flex items from overflowing */
}

.sidebar {
    flex: 3;
    min-width: 280px;
}

/* ==========================================================================
   Header Styles (Modern White Navigation with Slide Drawer)
   ========================================================================== */
.shk-header-wrapper {
    display: block !important;
    width: 100%;
    background-color: #ffffff;
    color: var(--text-dark);
    font-family: var(--font-primary);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 99999;
    height: 60px;
}
.shk-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.shk-left-group {
    display: flex;
    align-items: center;
    gap: 15px;
}
.shk-toggle-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}
.shk-toggle-btn:hover {
    transform: scale(1.05);
}
.shk-branding {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}
.shk-branding img {
    max-height: 34px;
    width: auto;
    display: block;
}
.shk-site-title {
    color: var(--text-dark);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.shk-search-wrapper {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.shk-search-form {
    display: flex;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    height: 36px;
    width: 280px;
    transition: all 0.3s ease;
}
.shk-search-form:focus-within {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.shk-search-input {
    flex-grow: 1;
    border: none;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    color: var(--text-dark);
    background: transparent;
}
.shk-search-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 15px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s;
}
.shk-search-btn:hover {
    background-color: var(--primary-hover);
}
.shk-mobile-search-trigger {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 22px;
    cursor: pointer;
    padding: 5px;
}
.shk-mobile-close-search {
    display: none;
    background: #e2e8f0;
    border: none;
    color: var(--text-dark);
    font-size: 20px;
    padding: 0 15px;
    cursor: pointer;
}

/* Slide-out Navigation Drawer */
.shk-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}
.shk-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}
.shk-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 100001;
    box-shadow: 4px 0 20px rgba(15, 23, 42, 0.1);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}
.shk-drawer.open {
    left: 0;
}
.shk-drawer-header {
    padding: 15px 20px;
    background: var(--text-dark);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.shk-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}
.shk-drawer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.shk-drawer-nav li {
    border-bottom: 1px solid #f1f5f9;
}
.shk-drawer-nav a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s, color 0.2s;
}
.shk-drawer-nav a:hover {
    background-color: #f8fafc;
    color: var(--primary-color);
}

/* ==========================================================================
   Hero Search Banner (Homepage Welcome Area)
   ========================================================================== */
.hero-search {
    background: var(--primary-color);
    padding: 25px 20px;
    text-align: center;
    color: white;
    border-radius: 12px 12px 0 0;
    position: relative;
    overflow: hidden;
}
.hero-search h1 {
    margin: 0 0 10px 0;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.8px;
}
.hero-search p {
    font-size: 1.05rem;
    color: #94a3b8;
    margin: 0 0 25px 0;
}
.hero-search form {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    overflow: hidden;
}
.hero-search input {
    width: 78%;
    padding: 16px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-size: 1rem;
    color: var(--text-dark);
    background: #ffffff;
}
.hero-search button {
    width: 22%;
    padding: 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}
.hero-search button:hover {
    background-color: var(--primary-hover);
}

/* ==========================================================================
   Marquee News Ticker
   ========================================================================== */
.news-ticker {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.ticker-title {
    background: var(--secondary-color);
    color: white;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 800;
    margin-right: 15px;
    border-radius: 4px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
marquee a {
    color: var(--text-dark);
    text-decoration: none;
    margin-right: 35px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
marquee a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   Quick Dashboard Categories
   ========================================================================== */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    padding: 20px;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}
.grid-box {
    display: flex;
}
.grid-box a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 15px 10px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.grid-box a:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.08);
}
.grid-box i, .grid-box svg {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.grid-box h3 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ==========================================================================
   Premium Job List Cards (Replaces standard raw tables)
   ========================================================================== */
.jk-main-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 25px;
}
.jk-card-header {
    background: #2264ad; /* Custom Blue Card Header background */
    padding: 14px 20px;
    color: white;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--primary-color);
}
.jk-card-header a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: color 0.2s;
}
.jk-card-header a:hover {
    color: white;
}

/* Elegant Job List Feed Row */
.job-feed-container {
    display: flex;
    flex-direction: column;
}
.job-feed-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s;
}
.job-feed-item:last-child {
    border-bottom: none;
}
.job-feed-item:hover {
    background-color: #f8fafc;
}
.job-feed-main {
    flex: 1;
    padding-right: 15px;
}
.job-feed-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.feed-cat-tag {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    background: #eff6ff;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}
.feed-status-tag {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    background: #fef2f2;
    color: var(--secondary-color);
}
.feed-status-tag.active {
    background: #ecfdf5;
    color: var(--accent-green);
}
.feed-job-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    line-height: 1.4;
    display: block;
}
.feed-job-title:hover {
    color: var(--primary-color);
}
.job-feed-aside {
    display: flex;
    align-items: center;
    gap: 15px;
}
.feed-deadline {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.feed-action-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.feed-action-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.15);
}
.new-badge-glow {
    background: var(--secondary-color);
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    animation: shk-pulse 1.5s infinite;
}
@keyframes shk-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
    100% { transform: scale(1); opacity: 1; }
}

/* Fallback Table Styles (If tables are enqueued) */
.jk-table {
    width: 100%;
    border-collapse: collapse;
}
.jk-table th {
    background: #f8fafc;
    padding: 12px 15px;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border-color);
    font-weight: 700;
}
.jk-table td {
    padding: 14px 15px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.jk-table tr:hover {
    background-color: #f8fafc;
}
.jk-job-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    line-height: 1.4;
    display: block;
}
.jk-job-title:hover {
    color: var(--primary-color);
}
.jk-view-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    display: inline-block;
}
.jk-view-btn:hover {
    background: var(--primary-hover);
}

/* ==========================================================================
   Sidebar Widgets (glowing trust designs)
   ========================================================================== */
.sidebar-widget {
    background: white;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.section-header {
    background: var(--text-dark);
    color: white;
    padding: 12px 15px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--primary-color);
}
.sidebar-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.4;
    transition: background-color 0.2s, color 0.2s;
}
.sidebar-link:last-child {
    border-bottom: none;
}
.sidebar-link:hover {
    background-color: #f8fafc;
    color: var(--primary-color);
}
.sidebar-link svg {
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--primary-color);
}

/* Sidebar Channels Widget with subtle animations */
.whatsapp-widget {
    text-align: center;
    padding: 22px 15px;
}
.whatsapp-widget p {
    margin: 0 0 15px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}
.btn-whatsapp-join {
    background: var(--whatsapp-green);
    color: white !important;
    padding: 10px 22px;
    text-decoration: none;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
    transition: all 0.2s;
}
.btn-whatsapp-join:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(34, 197, 94, 0.35);
}

/* ==========================================================================
   EEAT Single Post Page Design
   ========================================================================== */
.post-breadcrumbs {
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.post-breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}
.post-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Trustworthiness & EEAT Advanced Verification Box */
.eeat-meta-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}
.eeat-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.eeat-author-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05);
}
.eeat-author-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}
.eeat-author-title {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
    margin-top: 1px;
}
.eeat-update-date {
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}
.eeat-trust-seal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-green);
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    border: 1px solid #a7f3d0;
}
.eeat-fact-badge {
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

/* Post Table Styles (For Job Details Tables inside Content) */
.job-details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.job-details-table th, .job-details-table td {
    padding: 12px 16px;
    text-align: left;
}
.job-details-table th {
    background-color: #f8fafc;
    color: var(--text-dark);
    font-weight: 700;
    width: 35%;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.job-details-table td {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
}
.job-details-table tr:last-child td, .job-details-table tr:last-child th {
    border-bottom: none;
}

/* EEAT Author Card (Bottom of Post) */
.author-card-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-top: 35px;
    display: flex;
    gap: 20px;
}
.author-card-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.author-card-desc h4 {
    margin: 0 0 6px 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 700;
}
.author-card-desc p {
    margin: 0 0 12px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.author-card-link {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}
.author-card-link:hover {
    text-decoration: underline;
}

/* Social Sharing Section */
.post-sharing {
    margin: 25px 0;
    padding: 15px 0;
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.post-sharing span {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-dark);
}
.share-btn {
    padding: 6px 15px;
    border-radius: 20px;
    color: white !important;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s;
}
.share-btn:hover {
    transform: translateY(-1px);
}
.share-whatsapp { background: var(--whatsapp-green); }
.share-telegram { background: var(--telegram-blue); }
.share-facebook { background: #1877f2; }

/* Related Posts Widget */
.related-posts-section {
    margin-top: 40px;
}
.related-posts-section h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.related-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: all 0.2s;
}
.related-card:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   Footer Styles (Navy Slate & Clean Borders)
   ========================================================================== */
.shk-footer-wrapper {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    background-color: #0f172a; /* Navy Dark Slate */
    color: #94a3b8;
    font-family: var(--font-primary);
    margin-top: 50px;
    padding-top: 40px;
    position: relative;
    z-index: 10;
    border-top: 4px solid var(--primary-color);
}
.shk-footer-columns {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}
.shk-col {
    flex: 1;
    min-width: 250px;
}
.footer-widget-title {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
    font-weight: 800;
}
.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 8px;
}
.widget ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}
.widget ul li a:hover {
    color: white;
}
.shk-copyright {
    background-color: #020617;
    padding: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    border-top: 1px solid rgba(255,255,255,0.03);
}

/* ==========================================================================
   Mobile Bottom Floating Navigation Panel (Traffic Booster)
   ========================================================================== */
.shk-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.08);
    z-index: 999999;
    align-items: center;
    justify-content: space-around;
}
.shk-mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 700;
    gap: 4px;
}
.shk-mobile-nav-item svg {
    font-size: 1.2rem;
    color: var(--text-muted);
}
.shk-mobile-nav-item.active, .shk-mobile-nav-item:hover {
    color: var(--primary-color);
}
.shk-mobile-nav-item.active svg {
    color: var(--primary-color);
}
.shk-mobile-nav-item.whatsapp {
    color: var(--whatsapp-green);
}
.shk-mobile-nav-item.whatsapp svg {
    color: var(--whatsapp-green);
}

/* ==========================================================================
   Responsive Adjustments (Mobile Optimization First)
   ========================================================================== */
@media (max-width: 768px) {
    /* Mobile Container Stretch */
    .jk-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 10px !important;
        box-sizing: border-box;
    }
    /* Mobile single post text sizing */
    .entry-content,
    .entry-content p,
    .entry-content li,
    .entry-content td,
    .entry-content th {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }
    .content-wrapper {
        flex-direction: column !important;
        padding-top: 15px !important;
        gap: 20px;
        padding: 0 5px 30px 5px !important;
    }
    .main-posts, .sidebar {
        width: 100% !important;
        flex: none !important;
    }
    .sidebar {
        margin-top: 20px !important;
        margin-bottom: 60px; /* Space for sticky footer */
    }

    /* Footer & Header adjustments */
    .shk-footer-columns {
        flex-direction: column;
        gap: 35px;
    }
    .shk-col {
        width: 100%;
    }
    .shk-site-title {
        font-size: 18px;
    }
    .shk-mobile-search-trigger {
        display: block;
    }
    .shk-search-form {
        display: none;
    }
    .shk-search-wrapper.active .shk-search-form {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        z-index: 200;
        padding: 12px;
        box-sizing: border-box;
    }
    .shk-search-wrapper.active .shk-mobile-close-search {
        display: block;
    }
    .shk-search-wrapper.active .shk-mobile-search-trigger {
        display: none;
    }
    .shk-search-input {
        font-size: 16px;
    }

    /* Homepage grids and welcome banner */
    .quick-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 6px !important;
        padding: 8px !important;
    }
    .grid-box a {
        padding: 10px 4px !important;
    }
    .grid-box i, .grid-box svg {
        font-size: 1.2rem !important;
    }
    .grid-box h3 {
        font-size: 0.68rem !important;
    }
    .hero-search {
        padding: 25px 10px !important;
    }
    .hero-search h1 {
        font-size: 1.4rem !important;
        letter-spacing: -0.5px;
    }
    .hero-search p {
        font-size: 0.9rem !important;
        margin-bottom: 15px;
    }
    .hero-search form {
        max-width: 100% !important;
    }
    .hero-search input {
        width: 70% !important;
        padding: 10px 15px !important;
        font-size: 0.9rem !important;
    }
    .hero-search button {
        width: 30% !important;
        padding: 10px !important;
        font-size: 0.9rem !important;
    }

    /* Mobile Job Feed Cards Layout */
    .job-feed-item {
        padding: 12px 10px !important;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }
    .job-feed-main {
        width: 100%;
        padding-right: 0;
    }
    .feed-job-title {
        font-size: 0.88rem !important;
        line-height: 1.35 !important;
    }
    .job-feed-aside {
        width: 100%;
        justify-content: space-between;
        border-top: 1px solid #f1f5f9;
        padding-top: 8px;
    }
    .feed-deadline {
        font-size: 0.72rem !important;
    }
    .feed-action-btn {
        padding: 4px 10px !important;
        font-size: 0.7rem !important;
        border-radius: 4px !important;
    }

    /* Standard tables on mobile */
    .jk-table th, .jk-table td {
        padding: 8px 6px !important;
    }
    .jk-job-title {
        font-size: 0.78rem !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
    }
    .jk-view-btn {
        padding: 4px 6px !important;
        font-size: 0.65rem !important;
        border-radius: 3px !important;
    }
    .jk-table:not(.has-details) th:nth-child(1), .jk-table:not(.has-details) td:nth-child(1) {
        width: 83% !important;
    }
    .jk-table:not(.has-details) th:nth-child(2), .jk-table:not(.has-details) td:nth-child(2) {
        width: 17% !important;
        text-align: center !important;
    }
    .jk-table.has-details th:nth-child(1), .jk-table.has-details td:nth-child(1) {
        width: 55% !important;
    }
    .jk-table.has-details th:nth-child(2), .jk-table.has-details td:nth-child(2) {
        width: 28% !important;
    }
    .jk-table.has-details th:nth-child(3), .jk-table.has-details td:nth-child(3) {
        width: 17% !important;
    }

    /* Single Post Header on Mobile */
    .entry-header-fullwidth {
        padding: 15px 10px 5px 10px !important;
    }
    .entry-title {
        font-size: 1.3rem !important;
        margin: 10px 0 15px 0 !important;
    }
    .post-breadcrumbs {
        padding: 6px 10px !important;
        margin-bottom: 12px !important;
        font-size: 0.72rem !important;
    }
    .entry-content {
        padding: 0 5px !important;
    }

    /* EEAT metadata box inline compact layout on mobile */
    .eeat-meta-box {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px 10px !important;
        padding: 10px !important;
        align-items: center !important;
        border-radius: 6px !important;
    }
    .eeat-author-info {
        gap: 8px !important;
    }
    .eeat-author-img {
        width: 28px !important;
        height: 28px !important;
    }
    .eeat-author-name {
        font-size: 0.72rem !important;
        line-height: 1.1 !important;
    }
    .eeat-author-title {
        font-size: 0.6rem !important;
        line-height: 1.1 !important;
    }
    .eeat-update-date {
        font-size: 0.72rem !important;
        margin-left: 8px !important;
        padding-left: 8px !important;
        border-left: 1px solid #ddd !important;
    }
    .eeat-fact-badge {
        font-size: 0.65rem !important;
        padding: 3px 6px !important;
        margin-left: auto !important;
    }

    /* Sharing and author cards */
    .author-card-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }
    .related-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* Enable mobile sticky footer */
    .shk-mobile-nav {
        display: flex;
    }
}

@media (max-width: 480px) {
    .quick-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* ==========================================================================
   GeneratePress Theme Element Overrides
   ========================================================================== */
/* Hide default GeneratePress header and navigation elements */
header#masthead, 
#site-navigation, 
#mobile-header,
.site-header,
.main-navigation,
footer.site-footer,
.footer-widgets {
    display: none !important;
}

/* Remove all borders and shadows from page and entry title headers */
.entry-title,
.page-title,
.entry-header,
.page-header,
.entry-header-fullwidth,
.inside-article header,
.inside-article .entry-header {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Set single post content headings to exactly 20px */
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5 {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-top: 25px !important;
    margin-bottom: 12px !important;
    color: var(--text-dark) !important;
}

/* Base desktop single post body text styling */
.entry-content,
.entry-content p,
.entry-content li,
.entry-content td,
.entry-content th {
    font-size: 15px !important;
    line-height: 1.60 !important;
}

/* ==========================================================================
   E-E-A-T Author Profile Card Styling
   ========================================================================== */
.author-profile-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-soft);
}
.author-profile-flex {
    display: flex;
    gap: 20px;
    align-items: center;
}
.author-profile-avatar {
    flex-shrink: 0;
}
.author-profile-avatar img {
    border-radius: 50% !important;
    border: 3px solid #eff6ff !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
    display: block !important;
}
.author-profile-details {
    flex: 1;
}
.author-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.author-profile-details h1 {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: var(--text-dark) !important;
    margin: 0 !important;
    display: inline-block !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    line-height: 1.2 !important;
}
.author-verify-badge {
    background: #10b981;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    vertical-align: middle;
}
.author-role-tag {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 6px 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.author-bio-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 0 15px 0;
}
.author-meta-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.author-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Mobile responsive styles for Author Card */
@media (max-width: 768px) {
    .author-profile-card {
        padding: 15px !important;
        margin-bottom: 20px !important;
    }
    .author-profile-flex {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }
    .author-title-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .author-profile-details h1 {
        font-size: 1.35rem !important;
    }
    .author-meta-badges {
        justify-content: center !important;
        gap: 12px !important;
    }
}

/* Premium Archive Header Banner Card */
.archive-header-card {
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-soft);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.archive-header-card h1.page-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: var(--text-dark) !important;
    margin: 0 !important;
    letter-spacing: -0.5px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border: none !important;
    box-shadow: none !important;
}
.archive-header-card .archive-description {
    font-size: 0.88rem !important;
    color: var(--text-muted) !important;
    margin-top: 8px !important;
    line-height: 1.45 !important;
}

/* Mobile Responsive styles for Archive Header Card */
@media (max-width: 768px) {
    .archive-header-card {
        padding: 15px !important;
        margin-bottom: 20px !important;
    }
    .archive-header-card h1.page-title {
        font-size: 1.25rem !important;
    }
}
