/*
Theme Name: Jobsgig Astra News Child
Theme URI: https://jobsgig.in/
Description: A blue-and-white, responsive job-news homepage customization for the Astra WordPress theme.
Author: Jobsgig.in
Template: astra
Version: 1.0.0
Text Domain: jobsgig-astra-child
*/

:root {
  --jobsgig-blue: #0759c7;
  --jobsgig-blue-dark: #073779;
  --jobsgig-blue-light: #eaf3ff;
  --jobsgig-ink: #152238;
  --jobsgig-muted: #64748b;
  --jobsgig-border: #dbe5f2;
  --jobsgig-surface: #ffffff;
}

body { color: var(--jobsgig-ink); background: #f6f9fe; }
a { text-underline-offset: 3px; }
.ast-primary-header-bar, .ast-mobile-header-wrap .ast-primary-header-bar { border-bottom: 3px solid var(--jobsgig-blue); }
.main-header-menu .menu-link, .ast-header-break-point .main-header-menu .menu-link { font-weight: 700; }
.main-header-menu .menu-link:hover, .main-header-menu .current-menu-item > .menu-link { color: var(--jobsgig-blue) !important; }

.jobsgig-home { max-width: 1200px; margin: 0 auto; padding: 24px 20px 48px; }
.jobsgig-breaking { display: flex; align-items: center; gap: 14px; overflow: hidden; margin-bottom: 24px; padding: 12px 16px; border-radius: 8px; background: var(--jobsgig-blue); color: #fff; }
.jobsgig-breaking-label { flex: 0 0 auto; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.jobsgig-breaking a { overflow: hidden; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.jobsgig-search { margin: 0 0 22px; }
.jobsgig-search-form { display: flex; gap: 10px; max-width: 760px; margin: 0 auto; padding: 8px; border: 1px solid var(--jobsgig-border); border-radius: 10px; background: #fff; box-shadow: 0 3px 14px rgba(21,54,96,.05); }
.jobsgig-search-form input[type="search"] { flex: 1; min-width: 0; padding: 12px 14px; border: 0; outline: none; background: transparent; font-size: 16px; }
.jobsgig-search-form button { padding: 11px 22px; border: 0; border-radius: 7px; background: var(--jobsgig-blue); color: #fff; font-weight: 700; cursor: pointer; }
.jobsgig-search-form button:hover { background: var(--jobsgig-blue-dark); }
.jobsgig-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: center; margin-bottom: 28px; padding: 32px; border: 1px solid #d6e7ff; border-radius: 14px; background: linear-gradient(120deg, #e6f2ff, #fff); }
.jobsgig-eyebrow { margin: 0 0 8px; color: var(--jobsgig-blue); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.jobsgig-hero h1 { margin: 0 0 12px; color: var(--jobsgig-blue-dark); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; }
.jobsgig-hero p { max-width: 620px; margin-bottom: 18px; color: #42536b; }
.jobsgig-button { display: inline-block; padding: 11px 18px; border-radius: 6px; background: var(--jobsgig-blue); color: #fff !important; font-weight: 700; text-decoration: none !important; }
.jobsgig-button:hover { background: var(--jobsgig-blue-dark); }
.jobsgig-hero-note { justify-self: center; color: var(--jobsgig-blue); font-size: 64px; line-height: 1; }
.jobsgig-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 32px; }
.jobsgig-category { display: block; padding: 20px; border: 1px solid var(--jobsgig-border); border-radius: 10px; background: #fff; box-shadow: 0 3px 12px rgba(21, 54, 96, .04); text-decoration: none !important; transition: transform .18s ease, box-shadow .18s ease; }
.jobsgig-category:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(21, 54, 96, .09); }
.jobsgig-category-icon { display: block; margin-bottom: 10px; color: var(--jobsgig-blue); font-size: 28px; }
.jobsgig-category strong { display: block; margin-bottom: 6px; color: var(--jobsgig-blue-dark); font-size: 17px; }
.jobsgig-category span:last-child { color: var(--jobsgig-muted); font-size: 13px; }
.jobsgig-content-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(230px, .85fr); gap: 28px; align-items: start; }
.jobsgig-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 10px 14px; border-left: 4px solid var(--jobsgig-blue); border-radius: 4px; background: #edf4ff; }
.jobsgig-section-heading h2 { margin: 0; color: var(--jobsgig-blue-dark); font-size: 23px; }
.jobsgig-section-heading a { font-size: 13px; font-weight: 700; text-decoration: none; }
.jobsgig-post-list { display: grid; gap: 12px; }
.jobsgig-post { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 18px; border: 1px solid var(--jobsgig-border); border-radius: 9px; background: #fff; }
.jobsgig-post h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.4; }
.jobsgig-post h3 a { color: var(--jobsgig-ink); text-decoration: none; }
.jobsgig-post h3 a:hover { color: var(--jobsgig-blue); }
.jobsgig-post-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; color: var(--jobsgig-muted); font-size: 12px; }
.jobsgig-tag { display: inline-block; align-self: start; padding: 4px 8px; border-radius: 4px; background: var(--jobsgig-blue-light); color: var(--jobsgig-blue-dark); font-size: 11px; font-weight: 800; }
.jobsgig-sidebar-box { margin-bottom: 18px; padding: 18px; border: 1px solid var(--jobsgig-border); border-radius: 9px; background: #fff; }
.jobsgig-sidebar-box h3 { margin: 0 0 12px; color: var(--jobsgig-blue-dark); font-size: 17px; }
.jobsgig-sidebar-box ul { margin: 0; padding-left: 18px; }
.jobsgig-sidebar-box li { margin: 0 0 9px; color: var(--jobsgig-muted); font-size: 14px; }
.jobsgig-sidebar-box a { color: var(--jobsgig-ink); text-decoration: none; }
.jobsgig-sidebar-box a:hover { color: var(--jobsgig-blue); }
.jobsgig-empty { padding: 22px; border: 1px dashed var(--jobsgig-border); border-radius: 8px; background: #fff; color: var(--jobsgig-muted); }
.jobsgig-pagination { margin-top: 24px; }
.jobsgig-pagination .page-numbers { display: inline-block; margin: 0 4px 4px 0; padding: 8px 12px; border: 1px solid var(--jobsgig-border); border-radius: 5px; background: #fff; text-decoration: none; }
.jobsgig-pagination .current { border-color: var(--jobsgig-blue); background: var(--jobsgig-blue); color: #fff; }

@media (max-width: 900px) {
  .jobsgig-home { padding: 18px 14px 36px; }
  .jobsgig-hero { grid-template-columns: 1fr; padding: 26px; }
  .jobsgig-hero-note { display: none; }
  .jobsgig-content-grid { grid-template-columns: 1fr; }
  .jobsgig-categories { gap: 10px; }
}
@media (max-width: 600px) {
  .jobsgig-search-form { gap: 4px; padding: 5px; }
  .jobsgig-search-form input[type="search"] { padding: 10px 8px; font-size: 14px; }
  .jobsgig-search-form button { padding: 10px 13px; }
  .jobsgig-breaking { gap: 9px; padding: 10px; }
  .jobsgig-breaking-label { font-size: 10px; }
  .jobsgig-breaking a { font-size: 12px; }
  .jobsgig-hero { padding: 22px 18px; }
  .jobsgig-hero h1 { font-size: 29px; }
  .jobsgig-categories { grid-template-columns: 1fr; }
  .jobsgig-category { padding: 15px; }
  .jobsgig-post { grid-template-columns: 1fr; padding: 15px; }
  .jobsgig-tag { justify-self: start; grid-row: 1; }
  .jobsgig-section-heading h2 { font-size: 20px; }
}
