/*
Theme Name: Jobsgovt Theme
Version: 1.0
Author: Manish
Description: Custom job portal theme
*/

/* =================================================
   GLOBAL BASE
   ================================================= */
html,
body {
    margin: 0;
    padding: 0;
    background-color: #f8fafc !important;
    color: #111827;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* =================================================
   UTILITIES
   ================================================= */
.container {
    max-width: 1220px;
    margin: auto;
    padding: 0 15px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 10px; }
.mb-1 { margin-bottom: 10px; }
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }

.hidden { display: none; }
.visible { display: block; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =================================================
   NOTICE BAR
   ================================================= */
.site-notice {
    background: linear-gradient(135deg, #0d7c8b 0%, #14b8a6 100%);
    color: white;
    padding: 14px 20px;
    margin: 20px auto 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(13, 124, 139, 0.15);
    font-size: 14px;
    position: relative;
    overflow: hidden;
    max-width: 1220px;
}

.site-notice::before {
    content: "⚠️";
    margin-right: 10px;
    font-size: 16px;
}

.site-notice strong {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    margin: 0 3px;
}

/* =================================================
   CATEGORY NAV
   ================================================= */
.category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
    background: white;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-bar a {
    background: linear-gradient(135deg, #0d7c8b 0%, #14b8a6 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(13, 124, 139, 0.2);
}

.category-bar a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 124, 139, 0.3);
}

/* =================================================
   SOCIAL BAR
   ================================================= */
.home-social {
    margin: 25px 0 35px;
    text-align: center;
}

.home-social a {
    color: white;
    padding: 11px 24px;
    margin: 0 5px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    min-width: 110px;
}

.home-social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.home-social a::before {
    margin-right: 8px;
    font-size: 16px;
}

.home-social a.whatsapp-btn { background: #25D366; }
.home-social a.telegram-btn { background: #0088cc; }
.home-social a.facebook-btn { background: #1877F2; }
.home-social a.youtube-btn { background: #FF0000; }

.home-social a.whatsapp-btn::before { content: "💬"; }
.home-social a.telegram-btn::before { content: "📢"; }
.home-social a.facebook-btn::before { content: "👍"; }
.home-social a.youtube-btn::before { content: "▶️"; }

/* =================================================
   HOME LAYOUT
   ================================================= */
.home-layout {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-top: 20px;
}

.home-main {
    flex: 72%;
}

.home-sidebar {
    flex: 28%;
}

/* =================================================
   JOB TABLE
   ================================================= */
.table-wrap {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

.job-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.job-table thead {
    background: linear-gradient(135deg, #0d7c8b 0%, #14b8a6 100%);
}

.job-table th {
    color: white;
    padding: 18px 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    letter-spacing: 0.5px;
}

.job-table th:first-child {
    border-radius: 12px 0 0 0;
}

.job-table th:last-child {
    border-radius: 0 12px 0 0;
}

.job-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.job-table tbody tr:last-child {
    border-bottom: none;
}

.job-table tbody tr:hover {
    background: #f0f9ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(13, 124, 139, 0.1);
}

.job-table td {
    padding: 16px 20px;
    vertical-align: middle;
}

.job-table td:first-child {
    color: #6b7280;
    font-size: 13.5px;
    font-weight: 500;
}

.job-title {
    color: #111827;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    display: block;
    transition: color 0.2s ease;
}

.job-title:hover {
    color: #0d7c8b;
    text-decoration: underline;
}

/* =================================================
   GET DETAILS BUTTON
   ================================================= */
.job-link a {
    background: linear-gradient(135deg, #0d7c8b 0%, #14b8a6 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(13, 124, 139, 0.2);
}

.job-link a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 124, 139, 0.3);
}

.job-link a::after {
    content: "→";
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.job-link a:hover::after {
    transform: translateX(3px);
}

/* =================================================
   PAGINATION
   ================================================= */
.pagination-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 3px;
    padding: 0 14px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-numbers:hover {
    border-color: #0d7c8b;
    color: #0d7c8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 124, 139, 0.1);
}

.page-numbers.current {
    background: linear-gradient(135deg, #0d7c8b 0%, #14b8a6 100%);
    color: white;
    border-color: transparent;
}

.page-numbers.dots {
    border: none;
    background: transparent;
    color: #9ca3af;
}

/* =================================================
   SIDEBAR WIDGETS
   ================================================= */
.home-sidebar .widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.home-sidebar .widget-title {
    color: #0d7c8b;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f9ff;
}

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

.home-sidebar ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.home-sidebar ul li:last-child {
    border-bottom: none;
}

.home-sidebar ul li a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 14px;
}

.home-sidebar ul li a:hover {
    color: #0d7c8b;
    padding-left: 5px;
}

/* =================================================
   COMPACT HEADER
   ================================================= */
.compact-header {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #0d7c8b 0%, #095c66 100%);
    color: white;
    padding: 8px 0;
    box-shadow: 0 2px 10px rgba(13, 124, 139, 0.2);
    position: relative;
    width: 100%;
}

.compact-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #14b8a6, #0d7c8b, #14b8a6);
    background-size: 200% 100%;
    animation: gradientFlow 4s linear infinite;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.top-bar {
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.social-link:hover {
    transform: translateY(-1px);
}

.social-link.whatsapp:hover { background: #25D366; }
.social-link.telegram:hover { background: #0088cc; }
.social-link.facebook:hover { background: #1877F2; }
.social-link.youtube:hover { background: #FF0000; }

.social-icon {
    font-size: 14px;
}

.social-text {
    display: inline;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 8px;
}

.logo-section {
    flex: 1;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.logo-link:hover {
    opacity: 0.9;
}

.logo-icon {
    font-size: 28px;
    background: rgba(255, 255, 255, 0.15);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.compact-header .site-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.compact-header .site-tagline {
    font-size: 11px;
    color: #a5f3fc;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.3px;
}

.compact-stats {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
}

.stat-number {
    font-size: 16px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 9px;
    color: #e0f2fe;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
}

.features-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 6px 15px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #e0f2fe;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.feature-icon {
    font-size: 12px;
}

/* =================================================
   MODERN FOOTER
   ================================================= */
.modern-footer {
    background: linear-gradient(135deg, #0d7c8b 0%, #095c66 100%);
    color: white;
    padding: 30px 0 20px;
    margin-top: 40px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    animation: fadeInUp 0.6s ease-out;
}

.modern-footer::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #14b8a6, #0d7c8b, #14b8a6);
    margin-bottom: 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
}

.footer-link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-link-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.link-icon {
    font-size: 18px;
}

.link-separator {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
}

.footer-branding {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo-section {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 40px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.footer-logo-section .logo-icon {
    font-size: 36px;
}

.footer-logo-section .logo-text {
    text-align: left;
}

.footer-logo-section .site-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 5px 0;
    background: linear-gradient(to right, #fff, #e0f2fe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-logo-section .site-tagline {
    color: #a5f3fc;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.footer-features .feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-features .feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-features .feature-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 5px;
}

.footer-features .feature-content h4 {
    color: white;
    font-size: 18px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.footer-features .feature-content p {
    color: #e0f2fe;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.disclaimer-box {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.disclaimer-icon {
    font-size: 24px;
}

.disclaimer-header h4 {
    color: #ffc107;
    margin: 0;
    font-size: 18px;
}

.disclaimer-content p {
    color: #fef3c7;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.disclaimer-note {
    font-size: 13px;
    color: #fbbf24;
    font-style: italic;
    padding-left: 15px;
    border-left: 2px solid #fbbf24;
    margin-top: 10px;
}

.footer-bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-section {
    flex: 1;
    min-width: 300px;
}

.copyright-text {
    color: white;
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 5px 0;
}

.made-with-text {
    color: #a5f3fc;
    font-size: 14px;
    margin: 0;
}

.social-links-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.follow-text {
    color: #a5f3fc;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

.whatsapp-icon:hover { background: #25D366; }
.telegram-icon:hover { background: #0088cc; }
.facebook-icon:hover { background: #1877F2; }
.youtube-icon:hover { background: #FF0000; }

/* =================================================
   SINGLE POST STYLES
   ================================================= */
.single-post-container {
    margin: 25px auto;
}

.single-layout {
    display: flex;
    gap: 25px;
    margin-top: 20px;
}

.single-content-area {
    flex: 0 0 70%;
    max-width: 70%;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    float: none;
}

.single-widget-area {
    flex: 0 0 30%;
    max-width: 30%;
    float: none;
}

.single-article {
    margin-bottom: 30px;
}

.single-entry-title {
    font-size: 26px;
    color: #111827;
    margin: 0 0 15px 0;
    font-weight: 700;
    line-height: 1.3;
}

.single-entry-meta {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-icon {
    font-size: 16px;
}

.single-entry-content {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
}

.single-entry-content p {
    margin-bottom: 20px;
}

.single-entry-content ul,
.single-entry-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.single-entry-content li {
    margin-bottom: 8px;
}

.single-entry-content h2,
.single-entry-content h3,
.single-entry-content h4 {
    color: #0d7c8b;
    margin: 25px 0 15px 0;
}

.single-entry-content h2 {
    font-size: 22px;
}

.single-entry-content h3 {
    font-size: 20px;
}

.single-entry-content h4 {
    font-size: 18px;
}

/* =================================================
   COMPACT SOCIAL SECTION
   ================================================= */
.compact-social-section {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.compact-social-panel {
    flex: 1;
    min-width: 200px;
    background: #f8fafc;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.compact-panel-title {
    color: #0d7c8b;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compact-social-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.compact-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.compact-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.compact-btn-icon {
    font-size: 18px;
}

/* Button Colors */
.compact-social-btn.whatsapp-btn {
    background: #25d366;
    color: white;
    border-color: #1da851;
}

.compact-social-btn.telegram-btn {
    background: #0088cc;
    color: white;
    border-color: #0077b3;
}

.compact-social-btn.facebook-btn {
    background: #1877f2;
    color: white;
    border-color: #0d66d0;
}

.compact-social-btn.youtube-btn {
    background: #FF0000;
    color: white;
    border-color: #cc0000;
}

/* Hover Effects */
.compact-social-btn.whatsapp-btn:hover {
    background: #1da851;
}

.compact-social-btn.telegram-btn:hover {
    background: #0077b3;
}

.compact-social-btn.facebook-btn:hover {
    background: #0d66d0;
}

.compact-social-btn.youtube-btn:hover {
    background: #cc0000;
}

/* Tooltip on hover */
.compact-social-btn::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 100;
    margin-bottom: 8px;
}

.compact-social-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

/* =================================================
   MOBILE STICKY SHARE BAR
   ================================================= */
.mobile-share-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    border-top: 1px solid #e5e7eb;
    overflow: hidden;
}

.mobile-share-container {
    display: flex;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
}

.msb-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 5px;
    text-decoration: none;
    gap: 6px;
    min-width: 0;
    box-sizing: border-box;
    font-size: 12px;
    transition: all 0.2s ease;
    height: 48px;
    border: none;
    border-radius: 0;
}

.msb-btn.whatsapp-btn {
    background: #25d366;
    color: white;
}

.msb-btn.telegram-btn {
    background: #0088cc;
    color: white;
}

.msb-btn:active {
    opacity: 0.9;
    transform: scale(0.98);
}

.msb-icon {
    font-size: 16px;
    display: block;
    flex-shrink: 0;
}

.msb-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

/* Only show on mobile */
@media (max-width: 768px) {
    .mobile-share-bar {
        display: flex;
    }
    
    body {
        padding-bottom: 48px;
    }
}

/* Hide on desktop */
@media (min-width: 769px) {
    .mobile-share-bar {
        display: none !important;
    }
    
    body {
        padding-bottom: 0 !important;
    }
}

/* =================================================
   CATEGORY PAGE STYLES
   ================================================= */
.category-container {
    margin: 25px auto;
}

.category-header {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.category-title-section {
    flex: 1;
}

.category-title {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.category-description {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.5;
    max-width: 800px;
}

.category-meta {
    flex-shrink: 0;
}

.category-count {
    background: linear-gradient(135deg, #0d7c8b 0%, #14b8a6 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.date-badge {
    background: #f0f9ff;
    color: #0d7c8b;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    min-width: 90px;
}

.job-excerpt {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.details-btn {
    background: linear-gradient(135deg, #0d7c8b 0%, #14b8a6 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(13, 124, 139, 0.2);
    text-align: center;
    min-width: 100px;
}

.details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 124, 139, 0.3);
}

.no-jobs-message {
    text-align: center;
    padding: 40px 20px !important;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.empty-state h3 {
    color: #111827;
    font-size: 20px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.empty-state p {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 20px;
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0d7c8b;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.back-home-btn:hover {
    background: #095c66;
    transform: translateX(-3px);
}

/* =================================================
   SIDEBAR WIDGET STYLES
   ================================================= */
.sidebar-widget {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.sidebar-widget-header {
    background: linear-gradient(135deg, #0d7c8b 0%, #14b8a6 100%);
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-widget-title {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-widget-title::before {
    font-size: 16px;
}

.sidebar-widget-content {
    padding: 16px 18px;
}

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

.sidebar-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

.sidebar-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-list li:first-child {
    padding-top: 0;
}

.sidebar-list li:hover {
    padding-left: 5px;
    background: #f8fafc;
    margin: 0 -10px;
    padding-left: 15px;
}

.sidebar-list li a {
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.sidebar-list li a::before {
    content: "→";
    color: #0d7c8b;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sidebar-list li:hover a {
    color: #0d7c8b;
    font-weight: 600;
}

.sidebar-list li:hover a::before {
    opacity: 1;
}

.sidebar-view-all {
    text-align: center;
    padding: 12px 18px;
    border-top: 1px solid #e5e7eb;
    margin-top: 8px;
}

.sidebar-view-all a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #0d7c8b 0%, #14b8a6 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(13, 124, 139, 0.2);
}

.sidebar-view-all a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 124, 139, 0.3);
}

.sidebar-view-all a::after {
    content: "→";
    font-size: 14px;
    transition: transform 0.3s ease;
}

.sidebar-view-all a:hover::after {
    transform: translateX(3px);
}

/* =================================================
   SIDE JOIN BUTTONS
   ================================================= */
.side-join-buttons {
    position: fixed;
    top: 45%;
    right: 0;
    transform: translateY(-50%);
    z-index: 9998;
    display: flex;
    flex-direction: column;
}

.side-btn {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 12px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
    border-radius: 6px 0 0 6px;
    margin: 4px 0;
}

.side-btn.whatsapp {
    background: #25d366;
}

.side-btn.telegram {
    background: #0088cc;
}

.side-btn:hover {
    opacity: 0.9;
}

/* =================================================
   ANIMATIONS
   ================================================= */
@keyframes gradientFlow {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================================================
   ACCESSIBILITY & ENHANCEMENTS
   ================================================= */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #0d7c8b;
    outline-offset: 2px;
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0d7c8b;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #095c66;
}

::selection {
    background-color: rgba(13, 124, 139, 0.3);
    color: #111827;
}

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

/* =================================================
   RESPONSIVE DESIGN
   ================================================= */
@media (max-width: 992px) {
    .home-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .home-main,
    .home-sidebar {
        width: 100%;
        flex: none;
    }
    
    .single-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .single-content-area,
    .single-widget-area {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    
    .single-content-area {
        margin-bottom: 0;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        align-items: stretch;
    }
    
    .category-title {
        font-size: 24px;
    }
    
    .category-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }
    
    /* Category Bar */
    .category-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px;
    }
    
    .category-bar a {
        padding: 10px 12px;
        font-size: 13px;
        text-align: center;
    }
    
    /* Social Bar */
    .home-social {
        margin: 20px 0 25px;
    }
    
    .home-social a {
        margin: 5px;
        padding: 10px 15px;
        min-width: 90px;
        font-size: 13px;
    }
    
    /* Job Table */
    .table-wrap {
        border-radius: 8px;
        overflow: hidden;
    }
    
    .job-table {
        display: block;
        width: 100%;
    }
    
    .job-table thead {
        display: none;
    }
    
    .job-table tbody,
    .job-table tr {
        display: block;
        width: 100%;
    }
    
    .job-table tbody tr {
        margin-bottom: 15px;
        padding: 20px;
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    .job-table td {
        display: flex;
        width: 100%;
        padding: 8px 0;
        border: none;
        text-align: left;
        justify-content: space-between;
        align-items: center;
    }
    
    .job-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #0d7c8b;
        font-size: 13px;
        margin-right: 10px;
        flex-shrink: 0;
    }
    
    .job-title {
        font-size: 14.5px;
        text-align: right;
        flex-grow: 1;
    }
    
    .job-link a {
        padding: 6px 14px;
        font-size: 12.5px;
    }
    
    .page-numbers {
        min-width: 35px;
        height: 35px;
        margin: 0 2px;
        font-size: 13px;
    }
    
    /* Header */
    .header-container {
        padding: 0 10px;
    }
    
    .main-header {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .logo-link {
        justify-content: center;
        text-align: center;
    }
    
    .logo-text {
        text-align: center;
    }
    
    .compact-stats {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-text {
        display: none;
    }
    
    .social-link {
        padding: 5px;
        width: 32px;
        height: 32px;
        justify-content: center;
    }
    
    .social-icon {
        font-size: 16px;
        margin: 0;
    }
    
    /* Footer */
    .footer-links-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .link-separator {
        display: none;
    }
    
    .footer-link-item {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .footer-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-features .feature-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-features .feature-icon {
        margin-bottom: 10px;
    }
    
    .footer-bottom-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .copyright-section {
        min-width: auto;
    }
    
    .social-links-section {
        justify-content: center;
    }
    
    /* Single Post */
    .single-content-area {
        padding: 20px;
    }
    
    .single-entry-title {
        font-size: 22px;
    }
    
    /* Category Page */
    .category-header {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .category-title {
        font-size: 22px;
    }
    
    .category-count {
        align-self: center;
    }
    
    .date-badge {
        min-width: 80px;
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .job-excerpt {
        font-size: 13.5px;
        -webkit-line-clamp: 3;
    }
    
    .details-btn {
        padding: 7px 15px;
        font-size: 12.5px;
        min-width: 90px;
    }
    
    /* Compact Social Section */
    .compact-social-section {
        gap: 12px;
        margin: 20px 0;
    }
    
    .compact-social-panel {
        min-width: 160px;
        padding: 12px;
    }
    
    .compact-social-btn {
        width: 40px;
        height: 40px;
    }
    
    .compact-btn-icon {
        font-size: 16px;
    }
    
    /* Sidebar Widgets */
    .sidebar-widget {
        margin-bottom: 15px;
    }
    
    .sidebar-widget-header {
        padding: 12px 15px;
    }
    
    .sidebar-widget-title {
        font-size: 14px;
    }
    
    .sidebar-widget-content {
        padding: 14px 15px;
    }
    
    .sidebar-list li {
        padding: 8px 0;
    }
    
    .sidebar-list li a {
        font-size: 13.5px;
    }
    
    /* Mobile sticky bar */
    .msb-btn {
        padding: 8px 10px;
        height: 50px;
    }
    
    .msb-icon {
        font-size: 18px;
    }
    
    .msb-text {
        font-size: 13px;
    }
    
    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    /* Category Bar */
    .category-bar {
        grid-template-columns: 1fr;
    }
    
    /* Social Bar */
    .home-social {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .home-social a {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        min-width: auto;
    }
    
    /* Job Table */
    .job-table td {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-table td::before {
        margin-bottom: 5px;
    }
    
    .job-title {
        text-align: left;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .job-link a {
        align-self: flex-start;
        margin-top: 5px;
    }
    
    /* Header */
    .compact-header {
        padding: 6px 0;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    
    .compact-header .site-title {
        font-size: 16px;
    }
    
    .compact-header .site-tagline {
        font-size: 10px;
    }
    
    .compact-stats {
        padding: 4px 8px;
    }
    
    .stat-item {
        padding: 0 6px;
    }
    
    .stat-number {
        font-size: 14px;
    }
    
    .stat-label {
        font-size: 8px;
    }
    
    .features-bar {
        gap: 10px;
        padding: 5px 10px;
    }
    
    .feature-item {
        font-size: 11px;
        gap: 3px;
    }
    
    /* Footer */
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-logo-section {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
    }
    
    .footer-logo-section .logo-text {
        text-align: center;
    }
    
    .footer-logo-section .site-title {
        font-size: 24px;
    }
    
    .footer-features .feature-card {
        padding: 20px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    /* Single Post */
    .single-content-area {
        padding: 15px;
        border-radius: 8px;
    }
    
    .single-entry-title {
        font-size: 20px;
    }
    
    .single-entry-meta {
        font-size: 13px;
    }
    
    .single-entry-content {
        font-size: 15px;
    }
    
    /* Category Page */
    .category-header {
        padding: 15px;
        border-radius: 10px;
    }
    
    .category-title {
        font-size: 20px;
    }
    
    .category-count {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .empty-state {
        padding: 20px;
    }
    
    .empty-icon {
        font-size: 36px;
    }
    
    .empty-state h3 {
        font-size: 18px;
    }
    
    .empty-state p {
        font-size: 15px;
    }
    
    .back-home-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    /* Compact Social Section */
    .compact-social-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .compact-social-panel {
        width: 100%;
        min-width: auto;
    }
    
    .compact-social-buttons {
        gap: 8px;
    }
    
    .compact-social-btn {
        width: 38px;
        height: 38px;
        border-radius: 6px;
    }
    
    .compact-btn-icon {
        font-size: 15px;
    }
    
    /* Sidebar Widgets */
    .sidebar-widget {
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    .sidebar-widget-header {
        padding: 10px 12px;
    }
    
    .sidebar-widget-title {
        font-size: 13.5px;
    }
    
    .sidebar-widget-content {
        padding: 12px 12px;
    }
    
    .sidebar-list li {
        padding: 7px 0;
    }
    
    .sidebar-list li a {
        font-size: 13px;
    }
    
    /* Mobile sticky bar */
    .msb-btn {
        padding: 7px 5px;
        height: 46px;
    }
    
    .msb-icon {
        font-size: 16px;
    }
    
    .msb-text {
        font-size: 12px;
    }
}

@media (max-width: 375px) {
    .msb-btn {
        padding: 6px 3px;
        height: 44px;
        gap: 4px;
    }
    
    .msb-icon {
        font-size: 15px;
    }
    
    .msb-text {
        font-size: 11px;
    }
}

@media (max-width: 320px) {
    .msb-btn {
        padding: 5px 2px;
        height: 42px;
        gap: 3px;
    }
    
    .msb-icon {
        font-size: 14px;
    }
    
    .msb-text {
        font-size: 10px;
    }
}

/* =================================================
   PRINT STYLES
   ================================================= */
@media print {
    .compact-header,
    .modern-footer,
    .home-social,
    .side-join-buttons,
    .mobile-share-bar,
    .compact-social-section {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
}

/* =================================================
   DARK MODE SUPPORT
   ================================================= */
@media (prefers-color-scheme: dark) {
    .dark-mode-only {
        display: block;
    }
    
    .light-mode-only {
        display: none;
    }
}

@media (prefers-color-scheme: light) {
    .dark-mode-only {
        display: none;
    }
    
    .light-mode-only {
        display: block;
    }
}


/* =================================================
   SIDEBAR SEARCH FORM
   ================================================= */

.sidebar-search-form {
    margin-bottom: 10px;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: #0d7c8b;
    box-shadow: 0 0 0 3px rgba(13, 124, 139, 0.1);
}

.search-field {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 14px;
    color: #374151;
    background: transparent;
    outline: none;
}

.search-field::placeholder {
    color: #9ca3af;
}

.search-submit {
    background: #0d7c8b;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    background: #095c66;
}

.search-icon {
    font-size: 16px;
    color: white;
}

/* =================================================
   SIDEBAR RECENT POSTS
   ================================================= */

.sidebar-recent-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-post-item {
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-item:first-child {
    padding-top: 0;
}

.recent-post-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #4b5563;
    transition: all 0.2s ease;
    padding: 8px 0;
}

.recent-post-link:hover {
    color: #0d7c8b;
    padding-left: 5px;
}

.recent-post-title {
    flex: 1;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.4;
    margin-right: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-date {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    background: #f3f4f6;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* =================================================
   SIDEBAR RECENT COMMENTS
   ================================================= */

.sidebar-recent-comments {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-comment-item {
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.recent-comment-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-comment-item:first-child {
    padding-top: 0;
}

.recent-comment-link {
    text-decoration: none;
    color: #4b5563;
    display: block;
    transition: all 0.2s ease;
    padding: 5px 0;
}

.recent-comment-link:hover {
    padding-left: 5px;
    color: #0d7c8b;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.comment-author-avatar {
    font-size: 14px;
    color: #6b7280;
}

.comment-author-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
}

.recent-comment-link:hover .comment-author-name {
    color: #0d7c8b;
}

.comment-excerpt {
    font-size: 12.5px;
    line-height: 1.4;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-comments {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    padding: 15px 0;
    font-style: italic;
}

/* =================================================
   SIDEBAR ARCHIVES
   ================================================= */

.sidebar-archives {
    list-style: none;
    margin: 0;
    padding: 0;
}

.archive-item {
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.archive-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.archive-item:first-child {
    padding-top: 0;
}

.archive-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #4b5563;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 8px 0;
}

.archive-item a:hover {
    color: #0d7c8b;
    padding-left: 5px;
}

.archive-item a::after {
    content: attr(title);
    font-size: 11px;
    color: white;
    background: #0d7c8b;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

/* =================================================
   SIDEBAR WIDGET TITLE ICONS
   ================================================= */

.sidebar-widget:nth-child(1) .sidebar-widget-title::before { content: "🔍 "; }
.sidebar-widget:nth-child(2) .sidebar-widget-title::before { content: "📢 "; }
.sidebar-widget:nth-child(3) .sidebar-widget-title::before { content: "🎓 "; }
.sidebar-widget:nth-child(4) .sidebar-widget-title::before { content: "📍 "; }
.sidebar-widget:nth-child(5) .sidebar-widget-title::before { content: "📰 "; }
.sidebar-widget:nth-child(6) .sidebar-widget-title::before { content: "🎫 "; }
.sidebar-widget:nth-child(7) .sidebar-widget-title::before { content: "📊 "; }
.sidebar-widget:nth-child(8) .sidebar-widget-title::before { content: "💬 "; }
.sidebar-widget:nth-child(9) .sidebar-widget-title::before { content: "📅 "; }

/* =================================================
   RESPONSIVE STYLES FOR SIDEBAR
   ================================================= */

@media (max-width: 992px) {
    .search-field {
        padding: 10px 12px;
        font-size: 13.5px;
    }
    
    .search-submit {
        padding: 10px 12px;
    }
    
    .recent-post-title {
        font-size: 13px;
    }
    
    .recent-post-date {
        font-size: 11px;
        padding: 2px 6px;
    }
    
    .comment-excerpt {
        font-size: 12px;
    }
    
    .archive-item a {
        font-size: 13px;
    }
    
    .archive-item a::after {
        font-size: 10px;
        padding: 1px 5px;
    }
}

@media (max-width: 768px) {
    .sidebar-widget {
        margin-bottom: 15px;
    }
    
    .sidebar-widget-header {
        padding: 12px 15px;
    }
    
    .sidebar-widget-title {
        font-size: 14px;
    }
    
    .sidebar-widget-content {
        padding: 14px 15px;
    }
    
    .search-field {
        padding: 9px 12px;
    }
    
    .search-submit {
        padding: 9px 12px;
    }
    
    .recent-post-link,
    .recent-comment-link,
    .archive-item a {
        padding: 6px 0;
    }
    
    .sidebar-list li {
        padding: 7px 0;
    }
    
    .sidebar-list li a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .sidebar-widget {
        margin-bottom: 12px;
    }
    
    .sidebar-widget-header {
        padding: 10px 12px;
    }
    
    .sidebar-widget-title {
        font-size: 13.5px;
    }
    
    .sidebar-widget-content {
        padding: 12px 12px;
    }
    
    .search-field {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .search-submit {
        padding: 8px 10px;
    }
    
    .sidebar-list li {
        padding: 6px 0;
    }
    
    .sidebar-list li a {
        font-size: 12.5px;
    }
    
    .recent-post-title {
        font-size: 12.5px;
    }
    
    .recent-post-date {
        font-size: 10px;
    }
    
    .comment-excerpt {
        font-size: 11.5px;
    }
    
    .archive-item a {
        font-size: 12.5px;
    }
}




/* =================================================
   SEARCH RESULTS PAGE
   ================================================= */

.search-container {
    margin: 25px auto;
}

.search-header {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    text-align: center;
}

.search-title {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.search-stats {
    color: #0d7c8b;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    padding: 8px 16px;
    background: #f0f9ff;
    border-radius: 20px;
    display: inline-block;
}

/* Search Form */
.search-page-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    background: white;
    border: 2px solid #0d7c8b;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(13, 124, 139, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 16px;
    color: #374151;
    outline: none;
    background: transparent;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-submit-btn {
    background: linear-gradient(135deg, #0d7c8b 0%, #14b8a6 100%);
    border: none;
    padding: 0 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
    font-size: 15px;
}

.search-submit-btn:hover {
    background: linear-gradient(135deg, #095c66 0%, #0d7c8b 100%);
}

.search-btn-icon {
    font-size: 18px;
}

.search-btn-text {
    display: inline-block;
}

/* Search Results Grid */
.search-results-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.search-results-grid {
    flex: 70%;
}

.search-sidebar {
    flex: 30%;
}

.search-result-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #0d7c8b;
}

.result-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
}

.result-date {
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.result-date::before {
    content: "📅";
    font-size: 12px;
}

.result-category {
    background: #f0f9ff;
    color: #0d7c8b;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.result-title {
    color: #111827;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.result-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.result-title a:hover {
    color: #0d7c8b;
    text-decoration: underline;
}

.result-excerpt {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.result-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
}

.meta-icon {
    font-size: 14px;
}

.result-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #0d7c8b 0%, #14b8a6 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(13, 124, 139, 0.2);
}

.result-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 124, 139, 0.3);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 50px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.no-results-icon {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results h3 {
    color: #111827;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.no-results p {
    color: #6b7280;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.search-suggestions {
    background: #f9fafb;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-suggestions h4 {
    color: #111827;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.search-suggestions li {
    color: #6b7280;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.search-suggestions li::before {
    content: "•";
    color: #0d7c8b;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.search-suggestions a {
    color: #0d7c8b;
    text-decoration: none;
    font-weight: 600;
}

.search-suggestions a:hover {
    text-decoration: underline;
}

.popular-searches {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.popular-searches h4 {
    color: #111827;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: #f0f9ff;
    color: #0d7c8b;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tag:hover {
    background: #0d7c8b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 124, 139, 0.2);
}

/* Search Pagination */
.search-pagination {
    margin-top: 40px;
    text-align: center;
}

.search-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.search-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 18px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #374151;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.search-pagination .page-numbers:hover {
    border-color: #0d7c8b;
    color: #0d7c8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 124, 139, 0.1);
}

.search-pagination .page-numbers.current {
    background: linear-gradient(135deg, #0d7c8b 0%, #14b8a6 100%);
    color: white;
    border-color: transparent;
}

.search-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    color: #9ca3af;
}

/* =================================================
   RESPONSIVE STYLES FOR SEARCH PAGE
   ================================================= */

@media (max-width: 992px) {
    .search-results-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-results-grid,
    .search-sidebar {
        flex: 100%;
        width: 100%;
    }
    
    .search-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .search-header {
        padding: 25px 20px;
    }
    
    .search-title {
        font-size: 22px;
    }
    
    .search-input {
        padding: 14px 18px;
        font-size: 15px;
    }
    
    .search-submit-btn {
        padding: 0 20px;
    }
    
    .search-btn-text {
        display: none;
    }
    
    .search-result-item {
        padding: 20px;
    }
    
    .result-title {
        font-size: 18px;
    }
    
    .result-excerpt {
        font-size: 14px;
    }
    
    .popular-tags {
        justify-content: center;
    }
    
    .search-pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .search-header {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .search-title {
        font-size: 20px;
    }
    
    .search-stats {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .search-input-wrapper {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .search-input {
        padding: 12px 15px;
        border-bottom: 1px solid #e5e7eb;
        border-radius: 8px 8px 0 0;
    }
    
    .search-submit-btn {
        padding: 12px 15px;
        justify-content: center;
        border-radius: 0 0 8px 8px;
    }
    
    .search-btn-text {
        display: inline-block;
    }
    
    .search-result-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .result-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .result-title {
        font-size: 17px;
    }
    
    .result-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .no-results {
        padding: 30px 15px;
    }
    
    .no-results h3 {
        font-size: 20px;
    }
    
    .no-results p {
        font-size: 15px;
    }
    
    .search-suggestions {
        padding: 20px;
    }
}

/* =================================================
   FINAL FIX FOR SEARCH RESULTS LAYOUT
   ================================================= */

/* Override any conflicting styles for search results */
.search-results-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
    margin-top: 20px !important;
    align-items: flex-start !important;
}

/* Main content area - left side */
.search-results-grid {
    flex: 1 !important;
    width: 70% !important;
    max-width: 70% !important;
    float: none !important;
}

/* Pagination inside search results grid */
.search-results-grid .search-pagination {
    width: 100% !important;
    margin: 30px 0 0 0 !important;
    padding-top: 20px !important;
    border-top: 1px solid #e5e7eb !important;
    text-align: center !important;
    clear: both !important;
}

/* Sidebar - right side */
.search-sidebar {
    width: 30% !important;
    max-width: 300px !important;
    flex-shrink: 0 !important;
    float: none !important;
}

/* Mobile responsive */
@media (max-width: 992px) {
    .search-results-wrapper {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .search-results-grid {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    
    .search-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        order: 2 !important;
        margin-top: 20px !important;
    }
    
    .search-results-grid .search-pagination {
        margin: 30px 0 !important;
    }
}