/* =====================================================
   JOBKAKA CHILD THEME - COMPLETE CSS
   Version: 1.0
===================================================== */

/* =====================================================
   1. HEADER & LOGO
===================================================== */

.gp-job-header {
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.gp-logo-area {
    padding: 10px 0;
}

.gp-logo-area img {
    max-width: 160px;
    height: auto;
}

@media (max-width: 768px) {
    .gp-logo-area img {
        max-width: 120px;
    }
}

/* =====================================================
   2. NAVIGATION MENU
===================================================== */

.gp-job-navigation {
    background: #0b5ed7;
}

.main-navigation {
    display: block !important;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
}

.main-navigation ul::-webkit-scrollbar {
    display: none;
}

.main-navigation li {
    margin: 0 8px;
    float: none !important;
    flex: 0 0 auto !important;
}

.main-navigation .menu-item > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 6px;
    font-weight: 700;
    font-size: clamp(12px, 2.8vw, 16px);
    line-height: 1.2;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap !important;
}

.main-navigation .menu-item > a:hover,
.main-navigation .current-menu-item > a {
    color: #000000;
}
@media (max-width: 768px){

  .main-navigation ul{
    justify-content: flex-start !important; /* scroll ke liye */
    padding: 0 12px !important;
  }

  .main-navigation{
    text-align: center !important;
  }
}

/* =====================================================
   3. MENU ICONS (DASHICONS)
===================================================== */

.main-navigation .menu-item > a::before {
    font-family: dashicons;
    font-size: 28px;
    line-height: 1;
    color: currentColor;
}

.menu-home > a::before { content: "\f102"; }
.menu-trending > a::before { content: "\f185"; }
.menu-qualification > a::before { content: "\f118"; }
.menu-job-type > a::before { content: "\f203"; }
.menu-get-app > a::before { content: "\f470"; }

@media (max-width: 768px) {
    .main-navigation .menu-item > a {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .main-navigation .menu-item > a::before {
        font-size: 20px;
    }
}

/* =====================================================
   4. DISABLE MOBILE TOGGLE
===================================================== */

.menu-toggle,
.mobile-menu,
.slideout-navigation {
    display: none !important;
}

/* =====================================================
   5. SEARCH BAR
===================================================== */

.job-search-strip {
    background: #f8f6f6;
    padding: 16px 12px;
    text-align: center;
}

.job-search-form {
    max-width: 380px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap !important;
}

.job-search-form input[type="search"] {
    flex: 1 1 auto;
    min-width: 0 !important;
    height: 36px;
    padding: 0 10px;
    border: 2px solid #c62828;
    border-right: none;
    border-radius: 18px 0 0 18px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    outline: none;
}

.job-search-form button {
    flex: 0 0 40px;
    height: 36px;
    border: 2px solid #c62828;
    border-left: none;
    background: #c62828;
    color: #ffffff;
    border-radius: 0 18px 18px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-search-form .dashicons {
    font-size: 18px;
}

.job-search-div {
    border-bottom: 2px dashed #000;
}

@media (max-width: 480px) {
    .job-search-form {
        max-width: 300px;
    }
}

/* =====================================================
   6. HEADING STRIPS
===================================================== */

.top-selected-strip {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    padding: 6px;
    text-align: center;
    font-size: clamp(14px, 4vw, 20px);
    font-weight: 700;
    letter-spacing: 0.5px;
    background: #b71c1c;
    color: #ffffff;
    box-sizing: border-box;
}

.kaka-main-heading {
    background-color: #b71c1c;
    color: white;
    padding: 6px;
    margin: 20px 0 10px 0;
    text-align: center;
}

.kaka-main-heading h1,
.kaka-main-heading h2 {
    font-size: 20px;
    font-weight: bold;
    margin: 6px 0;
}

/* =====================================================
   7. JOB CARDS GRID - MAIN STYLING
===================================================== */

.articles {
    display: grid !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 30px auto !important;
    padding: 0 16px !important;
    box-sizing: border-box;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.articles > * {
    min-width: 0;
}

.content_link {
    background: #ffffff;
    border: 2px solid #333333;
    border-radius: 6px;
    padding: 18px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: block;
    text-decoration: none;
    color: #444444;
    transition: all 0.3s ease;
    height: 100%;
}

.content_link:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.content_link .entry-title {
    display: block !important;
    visibility: visible !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #b71c1c !important;
    text-align: center !important;
    line-height: 1.6 !important;
    letter-spacing: 0.5px !important;
    margin: 0 0 10px 0 !important;
    border-bottom: 1px solid #95979d !important;
    padding: 5px 5px 10px 5px !important;
}

.content_link .bfooter {
    padding: 10px;
}

.content_link .entry-job-liner-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-size: 12px;
    clear: both;
    overflow: hidden;
}

.content_link .entry-job-date {
    float: left;
    color: #444444;
    font-weight: 400;
}

.content_link .entry-job-date-details {
    float: right;
    font-weight: 700;
    color: #000000;
}

/* =====================================================
   8. OLD JOB CARDS (Optional)
===================================================== */

.trending-jobs-row,
.latest-jobs-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 20px 0;
}

.job-card {
    border: 2px solid #333;
    border-radius: 6px;
    padding: 18px;
    background: #fff;
    box-sizing: border-box;
}

.job-title {
    font-size: 15px;
    font-weight: 700;
    color: #c62828;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 10px;
}

.job-title a {
    color: inherit;
    text-decoration: none;
}

.job-meta {
    border-top: 1px solid #999;
    padding-top: 8px;
    font-size: 13px;
}

.job-meta div {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

.job-meta span {
    font-weight: 700;
}

.job-actions {
    text-align: center;
    margin-top: 10px;
}

.job-view-btn {
    display: inline-block;
    padding: 8px 14px;
    background: #c62828;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
}

.job-view-btn:hover {
    background: #a01818;
}

/* =====================================================
   9. PAGINATION + VIEW MORE BUTTON
===================================================== */

/* ===============================
   PAGINATION (Numbers)
================================ */

.archive-pagination{
    text-align:center;
    margin: 25px 0;
}

/* all page links */
.archive-pagination .page-numbers{
    display:inline-block;
    min-width:40px;
    padding:10px 14px;
    margin:0 4px;
    border:1px solid #cfcfcf;
    background:#b71c1c;
    color:#fff !important;
    text-decoration:none !important;
    font-weight:700;
    border-radius:3px;
}

/* current active page */
.archive-pagination .page-numbers.current{
    background:black;
    color:#fff !important;
    border-color:#0b5ed7;
}

/* hover */
.archive-pagination .page-numbers:hover{
    background:#b71c1c;
}

/* next/prev buttons */
.archive-pagination .page-numbers.next,
.archive-pagination .page-numbers.prev{
    padding:10px 16px;
}

/* View More Button (Trending) */
.view-more-wrap{
    text-align:center;
    margin: 18px 0;
}

.view-more-trending{
    display:inline-block;      /* 🔥 strip nahi banega */
    width:auto;               /* 🔥 auto width */
    max-width:none;
    background:#b71c1c;
    color:#fff !important;
    padding:8px 16px;         /* ✅ chhota size */
    font-weight:700;
    font-size:14px;
    text-decoration:none;
    border:2px solid #b71c1c;
    border-radius:4px;
}

.view-more-trending:hover{
    background:#b71c1c;
    color:#fff;
}

/* =====================================================
   11. TAG/ARCHIVE/CATEGORY PAGES
===================================================== */

.tag-archive-wrapper {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.tag-archive-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin: 12px 0;
    padding: 0 16px;
}

.tag-strip {
    width: 100%;
    margin: 12px 0;
    padding: 6px;
    background: #b71c1c;
    color: #fff;
    text-align: center;
    font-weight: 700;
    box-sizing: border-box;
}

/* =====================================================
   12. QUALIFICATION BUTTONS
===================================================== */

.qualification-buttons-wrapper {
    max-width: 1240px;
    margin: 30px auto;
    padding: 0 70px;
}

.qualification-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qual-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 70px;
    background: linear-gradient(135deg, #0033ff 0%, #0066ff 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 27px;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 51, 255, 0.3);
}

.qual-btn::before {
    content: "▶";
    font-size: 20px;
    margin-right: 10px;
}

.qual-btn::after {
    content: "→";
    font-size: 24px;
    margin-left: 10px;
}

.qual-btn:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* =====================================================
   13. GUTENBERG BUTTON STYLING
===================================================== */

.wp-block-button__link {
    display: inline-block;
    padding: 21px 30px !important;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 27px;
    line-height: 1.5;
    text-align: center;
    transition: all 0.3s ease;
    margin: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.wp-block-button__link:hover {
    background-color: #ffe5e5;
    color: #000000;
    border: 2px solid #c62828;
    box-shadow: 0 5px 15px rgba(198, 40, 40, 0.25);
    transform: translateY(-2px);
}

.wp-block-button__link::before {
    content: "⇒ ";
    margin-right: 8px;
    display: inline-block;
}

/* =====================================================
   14. SINGLE POST STYLING
===================================================== */

.job-single-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    margin: 12px 0;
}

.job-single-meta-strip {
    background: #b71c1c;
    color: #fff;
    text-align: center;
    padding: 6px 8px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    font-weight: 600;
}

.job-single-meta-strip .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-single-meta-strip .dashicons {
    font-size: 16px;
}

/* Single Post Content */
.job-single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.job-single-content table th {
    background: #b71c1c;
    color: #fff;
    padding: 10px;
    text-align: center;
    border: 1px solid #000;
    font-weight: 700;
}

.job-single-content table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #000;
    background: #fff;
}

/* Post Headings */
.job-single-content h2,
.job-single-content h3,
.job-single-content h4,
.job-single-content h5 {
    text-align: center;
    font-weight: 800;
    margin: 32px 0 18px;
    position: relative;
    color: #000;
}

.job-single-content h2 { font-size: 20px; }
.job-single-content h3 { font-size: 18px; }
.job-single-content h4 { font-size: 16px; }
.job-single-content h5 { font-size: 15px; }

.job-single-content h2::before,
.job-single-content h2::after,
.job-single-content h3::before,
.job-single-content h3::after,
.job-single-content h4::before,
.job-single-content h4::after,
.job-single-content h5::before,
.job-single-content h5::after {
    content: "";
    display: block;
    width: 120px;
    height: 1px;
    background: #b71c1c;
    margin: 6px auto;
}

/* =====================================================
   15. FOOTER
===================================================== */

.legal-footer-strip {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    padding: 8px 4px;
    background: #000;
    box-sizing: border-box;
}

.legal-footer-menu {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(2px, 1.5vw, 8px);
}

.legal-footer-menu a {
    color: #b71c1c;
    font-weight: 600;
    font-size: clamp(10px, 2.4vw, 14px);
    text-decoration: none;
    line-height: 1.2;
}

.legal-footer-menu .sep {
    color: #b71c1c;
    font-weight: 600;
    font-size: clamp(10px, 2.4vw, 14px);
}

.legal-footer-menu a:hover {
    text-decoration: underline;
}

/* =====================================================
   16. FULL WIDTH OVERRIDES
===================================================== */

body.tag *,
body.page *,
body.category * {
    max-width: 100% !important;
}

body.tag .site-content,
body.tag .content-area,
body.tag .site-main,
body.tag .inside-article,
body.tag article,
body.tag .grid-container,
body.tag main,
body.category .site-content,
body.category .content-area,
body.category .site-main,
body.category .inside-article,
body.category article,
body.category .grid-container,
body.category main,
body.page .site-content,
body.page .content-area,
body.page .site-main,
body.page .inside-article,
body.page article,
body.page .grid-container,
body.page main {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.tag .sidebar,
.archive .sidebar,
.category .sidebar {
    display: none !important;
}

/* =====================================================
   17. HIDE POST/PAGE TITLES
===================================================== */

.single article.post > .entry-header .entry-title,
.page article.page > .entry-header .page-title {
    display: none !important;
}

a.content_link .entry-title {
    display: block !important;
    visibility: visible !important;
}

/* =====================================================
   18. UTILITY CLASSES
===================================================== */

.full-width-section {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    padding: 20px 0;
}

.list-main-bt {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 2px dashed #000;
}

/* =====================================================
   19. RESPONSIVE - TABLET
===================================================== */

@media (max-width: 1024px) {
    .articles {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }

    .trending-jobs-row,
    .latest-jobs-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   20. RESPONSIVE - MOBILE
===================================================== */

@media (max-width: 768px) {
    .articles {
        grid-template-columns: 1fr !important;
        padding: 0 12px !important;
    }

    .trending-jobs-row,
    .latest-jobs-row {
        display: block;
    }

    .job-card,
    .content_link {
        width: 100%;
        margin-bottom: 16px;
        padding: 14px;
    }

    .content_link .entry-title {
        font-size: 14px !important;
    }

    .single .entry-content {
        padding: 12px !important;
        margin: 0 10px !important;
    }

    .single .entry-content p,
    .single .entry-content h1,
    .single .entry-content h2,
    .single .entry-content h3 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 360px) {
    .legal-footer-menu a,
    .legal-footer-menu .sep {
        font-size: 10px;
    }
}

/* =====================================================
   END OF STYLESHEET
===================================================== */
