/* GoDubai Jobs - style.css */
/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Montserrat', sans-serif; font-size: 14px; color: #333; background: #f0f4f7; }
a { color: #02607E; text-decoration: none; }
a:hover { color: #F56435; }
img { max-width: 100%; height: auto; }

/* Layout */
.page-wrap { max-width: 1280px; margin: 0 auto; background: #fff; padding-bottom: 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.edu-layout { display: flex; gap: 24px; padding: 20px 16px; align-items: flex-start; }
.edu-main { flex: 1; min-width: 0; }
.edu-sidebar { width: 280px; flex-shrink: 0; }
/* cat-layout aliases (same as edu-layout) */
.cat-layout { display: flex; gap: 24px; padding: 20px 16px; align-items: flex-start; }
.cat-main { flex: 1; min-width: 0; }
.cat-sidebar { width: 280px; flex-shrink: 0; }


/* Two-tier header */
.site-header-wrap { position: sticky; top: 0; z-index: 1000; }
.gd-topbar { background: #024d64; border-radius: 10px 10px 0 0; max-width: 1280px; margin: 0 auto; }
.gd-topbar-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.gd-site-logo { flex-shrink: 0; }
.gd-site-logo a { display: block; }
.gd-logo-img { height: 88px; max-height: 88px; width: auto; max-width: 280px; display: block; }
.gd-mainnav ul, #gdMainNavList { display: flex; list-style: none; gap: 0; }
.gd-mainnav ul li a, #gdMainNavList li a { display: block; padding: 10px 14px; color: #fff; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
.gd-mainnav ul li a:hover, #gdMainNavList li a:hover { background: rgba(255,255,255,0.15); }
.gd-mainnav ul li.gd-active a, #gdMainNavList li.gd-active a { background: #02607E; color: #fff; }
.nav-bar { background: #02607E; max-width: 1280px; margin: 0 auto; }
.nav-bar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-list, #mainNavList { display: flex; list-style: none; }
.nav-list li a, #mainNavList li a { display: block; padding: 8px 10px; color: #fff; font-size: 13px; font-weight: 600; text-transform: uppercase; text-decoration: none; }
.nav-list li a:hover, #mainNavList li a:hover { background: rgba(255,255,255,0.2); }
.nav-list li.active a, #mainNavList li.active a { background: rgba(255,255,255,0.2); border-bottom: 2px solid #F56435; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; z-index: 200; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }
.mobile-nav { display: none; background: #024d64; padding: 8px 0; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav ul li a { display: block; padding: 10px 20px; color: #fff; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-only-nav { border-top: 1px solid rgba(255,255,255,0.2); margin-top: 4px; }

/* Job Cards */
.job-card { background: #fff; border: 1px solid #e0e8ec; border-radius: 8px; margin-bottom: 12px; padding: 16px 20px; transition: box-shadow 0.2s; }
.job-card:hover { box-shadow: 0 4px 16px rgba(2,96,126,0.12); border-color: #b0cdd6; }
.job-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.job-title a { color: #02607E; }
.job-title a:hover { color: #F56435; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.8rem; color: #666; margin-bottom: 8px; align-items: center; }
.job-meta-company { font-weight: 600; color: #333; }
.job-badge { display: inline-block; background: #e8f4f8; color: #02607E; font-size: 0.72rem; font-weight: 600; padding: 2px 8px; border-radius: 10px; }
.job-badge-featured { background: #F56435; color: #fff; }
.job-snippet { font-size: 0.82rem; color: #555; line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: #888; }
.job-source { font-style: italic; }

/* Buttons */
.btn-more { display: inline-block; background: #F56435; color: #fff !important; padding: 6px 16px; border-radius: 4px; font-size: 0.82rem; font-weight: 600; text-decoration: none; }
.btn-more:hover { background: #d44e23; color: #fff !important; }
.btn-apply { background: #02607E; color: #fff !important; padding: 8px 20px; border-radius: 4px; font-weight: 700; font-size: 0.9rem; display: inline-block; margin-top: 8px; }
.btn-apply:hover { background: #024d64; color: #fff !important; }

/* Filter bar */
.jobs-filter-bar { background: #f7fbfd; border: 1px solid #ddeef3; border-radius: 8px; padding: 16px; margin-bottom: 20px; }
.jobs-filter-bar form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.jobs-filter-bar select, .jobs-filter-bar input[type=text] { padding: 8px 12px; border: 1px solid #b0cdd6; border-radius: 4px; font-family: Montserrat, sans-serif; font-size: 0.85rem; color: #02607E; font-weight: 600; flex: 1; min-width: 180px; }
.jobs-filter-bar select:focus, .jobs-filter-bar input:focus { border-color: #02607E; outline: none; box-shadow: 0 0 0 3px rgba(2,96,126,0.1); }
.jobs-filter-bar button { background: #F56435; color: #fff; border: none; padding: 8px 20px; border-radius: 4px; font-family: Montserrat, sans-serif; font-weight: 700; cursor: pointer; font-size: 0.85rem; }
.jobs-filter-bar button:hover { background: #d44e23; }

/* City filter */
.city-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; align-items: center; }
.city-filter span { font-size: 0.82rem; font-weight: 600; color: #666; }
.city-pill { display: inline-block; padding: 4px 14px; border-radius: 20px; border: 1px solid #02607E; color: #02607E; font-size: 0.78rem; font-weight: 600; }
.city-pill:hover { background: #02607E; color: #fff; }

/* Section headers */
.section-title {
    font-size: 1.35rem; font-weight: 700; color: #02607E;
    border-left: 5px solid #02607E; padding: 8px 12px;
    display: flex; align-items: center; gap: 10px; margin: 0;
}
.section-title .cat-count {
    background: #02607E; color: #fff;
    font-size: .75rem; font-weight: 700;
    padding: 2px 10px; border-radius: 12px;
    vertical-align: middle;
}
.section-hdr { background: #02607E; border-radius: 6px 6px 0 0; margin-bottom: 0; margin-top: 20px; display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; font-size: 1rem; font-weight: 700; color: #fff; }
.section-hdr .section-title { color: #fff; border-left: none; font-size: inherit; padding: 0; margin: 0; }

/* Widget title heading reset */
.widget-title h1, .widget-title h2, .widget-title h3,
.section-hdr h1, .section-hdr h2, .section-hdr h3 {
  font-size: inherit; font-weight: inherit; color: inherit; margin: 0; padding: 0;
}

/* Browse grids */
.browse-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 0; margin-bottom: 20px; }
.browse-grid-item a { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 4px; font-size: 0.82rem; color: #333; border: 1px solid #e0e8ec; transition: all 0.2s; }
.browse-grid-item a:hover { background: #e8f4f8; border-color: #02607E; color: #02607E; }
.browse-count { font-size: 0.75rem; background: #02607E; color: #fff; padding: 1px 7px; border-radius: 10px; font-weight: 700; margin-left: 6px; flex-shrink: 0; }

/* Sidebar */
.sidebar-widget { margin-bottom: 20px; }
.sidebar-widget .section-hdr { border-radius: 6px 6px 0 0; margin-top: 0; }
/* Side list - Education style: teal chevron + teal links */
.side-stories { list-style: none; padding: 0; margin-top: 6px; }
.side-stories li { position: relative; padding: 6px 0 6px 16px; font-size: 0.82rem; border-bottom: 1px solid #f0f4f6; overflow: hidden; }
.side-stories li::before { content: '\203A'; position: absolute; left: 2px; top: 5px; color: #02607E; font-size: 1.1rem; font-weight: 700; line-height: 1; }
.side-stories li a { color: #02607E; text-decoration: none; display: block; }
.side-stories li a:hover { color: #F56435; }
.side-stories li small { color: #888; font-size: 0.72rem; display: block; margin-top: 2px; }
.sidebar-cat-list { list-style: none; padding: 0; margin-top: 6px; }
.sidebar-cat-list li { position: relative; padding: 6px 0 6px 16px; font-size: 0.82rem; border-bottom: 1px solid #f0f4f6; display: flex; justify-content: space-between; align-items: center; overflow: hidden; }
.sidebar-cat-list li::before { content: '\203A'; position: absolute; left: 2px; top: 5px; color: #02607E; font-size: 1.1rem; font-weight: 700; line-height: 1; }
.sidebar-cat-list li a { color: #02607E; flex: 1; text-decoration: none; }
.sidebar-cat-list li a:hover { color: #F56435; }
.sidebar-cat-count { font-size: 0.72rem; background: #e8f4f8; color: #02607E; padding: 1px 6px; border-radius: 8px; font-weight: 700; flex-shrink: 0; margin-left: 4px; }

/* Search widget */
.sidebar-search { margin-top: 8px; }
.sidebar-search form { display: flex; gap: 6px; }
.sidebar-search input[type=text] { flex: 1; padding: 7px 10px; border: 1px solid #b0cdd6; border-radius: 4px; font-family: Montserrat, sans-serif; font-size: 0.82rem; }
.sidebar-search button { background: #F56435; color: #fff; border: none; padding: 7px 14px; border-radius: 4px; font-weight: 700; cursor: pointer; font-size: 0.82rem; }
.sidebar-search button:hover { background: #d44e23; }

/* Pagination */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin: 20px 0; justify-content: center; }
.pagination a, .pagination span { display: inline-block; padding: 6px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 0.82rem; color: #02607E; }
.pagination a:hover { background: #02607E; color: #fff; border-color: #02607E; }
.pagination span.current { background: #F56435; color: #fff; border-color: #F56435; font-weight: 700; }
.pagination span.dots { border: none; color: #888; }

/* Job detail */
.job-detail-header { padding: 20px 0 16px; border-bottom: 2px solid #e0e8ec; margin-bottom: 20px; }
.job-detail-title { font-size: 1.4rem; font-weight: 700; color: #02607E; margin-bottom: 10px; }
.job-detail-company { font-size: 1rem; font-weight: 600; color: #333; margin-bottom: 10px; }
.job-info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; background: #f7fbfd; border: 1px solid #ddeef3; border-radius: 8px; padding: 16px; margin-bottom: 20px; }
.job-info-item label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: #02607E; letter-spacing: 0.5px; display: block; margin-bottom: 3px; }
.job-info-item span { font-size: 0.9rem; color: #333; font-weight: 500; }
.job-description { line-height: 1.7; color: #444; font-size: 0.9rem; }
.job-description p { margin-bottom: 12px; }
.job-section-title { font-size: 1rem; font-weight: 700; color: #02607E; margin: 20px 0 10px; padding-bottom: 6px; border-bottom: 2px solid #e0e8ec; }
.job-apply-box { background: #f7fbfd; border: 1px solid #ddeef3; border-radius: 8px; padding: 16px; margin: 20px 0; text-align: center; }
.job-apply-box p { font-size: 0.85rem; color: #666; margin-bottom: 10px; }
.breadcrumb { font-size: 0.8rem; color: #888; margin-bottom: 14px; }
.breadcrumb a { color: #02607E; }
.breadcrumb a:hover { color: #F56435; }

/* Social bar */
.social-city-wrap { max-width: 1280px; margin: 0 auto; padding: 4px 20px 0; background: #fff; }
.slider-social { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 6px; padding: 8px 4px 8px; margin-bottom: 8px; }
.ss-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; color: #fff; text-decoration: none; }
.ss-btn:hover { opacity: 0.85; color: #fff; }
.ss-btn-fb { background: #1877f2; }
.ss-btn-tw { background: #000; }
.ss-btn-li { background: #0a66c2; }
.ss-btn-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.ss-btn-pi { background: #e60023; }
.ss-btn-label { display: inline; }

/* Page heading */
.page-heading { margin-bottom: 16px; }
.page-heading h1 { font-size: 1.3rem; font-weight: 700; color: #02607E; margin-bottom: 4px; }
.page-heading p { font-size: 0.85rem; color: #666; }
.results-count { font-size: 0.82rem; color: #888; margin-bottom: 12px; }

/* Footer */
.site-footer { max-width: 1280px; margin: 28px auto 0; border-radius: 0 0 10px 10px; overflow: hidden; }
.footer-top { background: #02607E; }
.footer-top .container { background: transparent; display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; flex-wrap: wrap; gap: 8px; }
.footer-copy { color: #fff; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0; }
.footer-links a { color: rgba(255,255,255,0.85); font-size: 12px; padding: 0 8px; border-right: 1px solid rgba(255,255,255,0.3); }
.footer-links a:last-child { border-right: none; }
.footer-links a:hover { color: #fff; }
.footer-network { background: #024d64; }
.footer-network .container { background: transparent; display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 20px; align-items: center; }
.footer-network-label { color: rgba(255,255,255,0.7); font-size: 11px; font-weight: 600; margin-right: 4px; }
.footer-network a { background: rgba(255,255,255,0.15); color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 12px; font-weight: 600; }
.footer-network a:hover { background: rgba(255,255,255,0.3); color: #fff; }
.footer-bottom { background: #f7fbfd; border-top: 1px solid #ddeef3; }
.footer-bottom .container { background: transparent; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; gap: 10px; }
.footer-disclaimer { font-size: 12px; color: #888; flex: 1; }
.back-to-top { position: fixed; bottom: 28px; right: 24px; z-index: 999; background: #02607E; color: #fff; border: none; border-radius: 50%; width: 40px; height: 40px; font-size: 18px; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.back-to-top:hover { background: #024d64; }

/* GDPR banner */
.gdpr-banner { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #024d64; color: #fff; padding: 12px 20px; z-index: 9999; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.gdpr-banner p { flex: 1; margin: 0; }
.gdpr-banner a { color: #F56435; }
.gdpr-btn { padding: 6px 16px; border: none; border-radius: 4px; cursor: pointer; font-weight: 700; font-size: 13px; }
.gdpr-btn-accept { background: #F56435; color: #fff; }
.gdpr-btn-reject { background: rgba(255,255,255,0.2); color: #fff; }

/* Responsive 900px */
@media (max-width: 900px) {
  .gd-logo-img { height: 66px; max-height: 66px; width: auto; max-width: 200px; }
  .gd-mainnav ul, #gdMainNavList { display: none; }
  .nav-toggle { display: flex; }

}

/* Responsive 700px */
@media (max-width: 700px) {
  .edu-layout { flex-direction: column; }
  .edu-sidebar { width: 100%; }
  .cat-layout { flex-direction: column; }
  .cat-sidebar { width: 100%; }
  .browse-grid { grid-template-columns: repeat(2, 1fr); }
  .header-ad { display: none; }
  .jobs-filter-bar form { flex-direction: column; }
  .ss-btn-label { display: none; }
  .footer-top .container, .footer-bottom .container { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* Responsive 480px */
@media (max-width: 480px) {
  .browse-grid { grid-template-columns: 1fr; }
}

/* City navigation bar */
.city-nav-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; padding: 12px 0 4px; border-bottom: 1px solid #e5eef2; }
.city-nav-label { font-size: .8rem; font-weight: 600; color: #666; white-space: nowrap; margin-right: 4px; }
.city-pill { display: inline-block; padding: 5px 13px; border-radius: 20px; background: #f0f7fa; color: #02607E; font-size: .8rem; font-weight: 600; text-decoration: none; border: 1px solid #c3dce8; transition: background .2s, color .2s; }
.city-pill:hover { background: #02607E; color: #fff; border-color: #02607E; }
.city-pill.active { background: #02607E; color: #fff; border-color: #02607E; }
@media (max-width: 700px) {
  .city-nav-bar { gap: 6px; }
  .city-pill { font-size: .75rem; padding: 4px 10px; }
}
