/*
 Theme Name: GeneratePress Child
 Theme URI: https://generatepress.com/
 Description: A child theme for GeneratePress.
 Author: Exam Village
 Author URI: https://examvillage.com/
 Template: generatepress
 Version: 1.8 (Final Layout Sync)
*/


/* =====================================================
   SECTION A: GLOBAL LAYOUT & STRUCTURE
   -----------------------------------------------------
   - Base layout adjustments
   - Sidebar styling
   - Breadcrumbs
   - Pagination
===================================================== */

/* --- Global Content/Sidebar Layout --- */
/* === Fix container padding on mobile for hero section === */
@media (max-width: 768px) {
  .separate-containers .inside-article,
  .separate-containers .comments-area,
  .separate-containers .page-header,
  .separate-containers .paging-navigation,
  .one-container .site-content,
  .inside-page-header {
    padding: 10px !important; /* override the 30px */
  }
}
#right-sidebar {
  background: none;
  border: none;
  padding: 0;
  margin-top: 15px;
}
.sidebar .widget {
  background: #f9fafc;
  border: 1px solid #e0e4ea;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 18px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.sidebar .widget:hover {
  background: #eef5ff;
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0,115,170,.15);
}
.sidebar .widget-title {
  font-size: 16px;
  font-weight: 700;
  color: #0a1830;
  border-bottom: 3px solid #0073aa;
  padding-bottom: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.sidebar a { color: #0073aa; font-weight: 500; text-decoration: none; }
.sidebar a:hover { color: #005b8a; text-decoration: underline; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar ul li { padding: 6px 0; border-bottom: 1px dashed #ddd; }
.sidebar ul li:last-child { border-bottom: none; }

/* --- Breadcrumb Navigation --- */
.ev-breadcrumbs {
  font-size: 14px;
  color: #555;
}
.ev-breadcrumbs a {
  color: #0073aa;
  text-decoration: none;
}
.ev-breadcrumbs a:hover {
  text-decoration: underline;
}


/* --- Pagination Styles --- */
.mcq-pagination,
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 28px 0 16px;
  flex-wrap: wrap;
}
.mcq-pagination .page-numbers,
.pagination .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f4f6f8;
  color: #0073aa;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0,0,0,.05);
  transition: all .3s ease;
}
.mcq-pagination .page-numbers:hover,
.pagination .page-numbers:hover {
  background: #0073aa;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,115,170,.2);
}
.mcq-pagination .page-numbers.current,
.pagination .page-numbers.current {
  background: linear-gradient(90deg,#0073e6,#005bb5);
  color: #fff;
  font-weight: 700;
  pointer-events: none;
}

/* =====================================================
   SECTION B: ARCHIVE PAGES (LISTING VIEW)
   -----------------------------------------------------
   - Archive titles
   - MCQ cards
   - Related MCQs section
===================================================== */

/* --- Archive Page Title --- */
.archive-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  padding: 14px 18px;
  background: linear-gradient(145deg,#fff,#f9fafb);
  border-left: 6px solid #2563eb;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  position: relative;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
  margin-top:15px;
}
.archive-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg,#2563eb,#1e40af);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

/* --- Archive List Container --- */
.mcq-archive-list {
  display: grid;
  gap: 18px;
  padding-top: 12px;
}

/* --- MCQ Card (Archive Item) --- */
.mcq-item {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mcq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}
.mcq-item .mcq-header { margin: 0 0 8px; padding: 0; border: 0; }
.mcq-item .mcq-title a { font-size: 1.05rem; font-weight: 700; display: block; }
.mcq-meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6b7280;
  font-size: 12px;
  flex-wrap: wrap;
}

/* --- Related MCQs --- */
.related-mcqs-section {
  margin-top: 28px;
  background: #f9fbff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}
.related-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  padding-left: 12px;
}
.related-title::before {
  content: "";
  width: 5px;
  height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg,#0ea5e9,#3b82f6);
  position: absolute;
  left: 0;
  top: 2px;
}
.related-mcqs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.related-mcq-item {
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.05);
}
.related-mcq-item:hover { background: #eef5ff; }
.related-mcq-link {
  font-size: 15px;
  font-weight: 600;
  color: #0b69ff;
  text-decoration: none;
}
.related-mcq-link:hover { text-decoration: underline; }
.related-correct-answer,
.related-explanation {
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 4px solid #3b82f6;
  background: #f1f8ff;
  border-radius: 8px;
}
.related-correct-answer.is-visible,
.related-explanation.is-visible { display: block !important; }

/* =====================================================
   SECTION C: SINGLE MCQ PAGE
   -----------------------------------------------------
   - Main question card
   - Options styling
   - Answer/explanation reveal
   - Footer + interactivity
===================================================== */

/* --- Main Container --- */
.single-mcq {
  max-width: 100%;
  margin: 20px auto;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}
.mcq-header {
  border-bottom: 2px solid #f1f1f1;
  margin-bottom: 14px;
  padding-bottom: 8px;
}
.mcq-question {
  font-size: 20px;
  color: #111;
  font-weight: 700;
  margin-bottom: 8px;
}

/* --- Options --- */
.mcq-options li {
  list-style: none;
  background: #fafafa;
  margin: 8px 0;
  padding: 12px;
  border-radius: 8px;
  font-size: 18px;
  border: 1px dashed #d1d5db;
  color: #0f172a;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.mcq-options li:hover { background: #e8f0ff; }

/* --- Correct / Wrong Option States --- */
.mcq-icon {
  display: inline-block;
  min-width: 1.2em;
  text-align: center;
  font-weight: 700;
  font-size: 1.05em;
  line-height: 1;
  margin-left: 0.6rem;
  padding: 2px 6px;
  border-radius: 999px;
  vertical-align: middle;
}
/* red background for wrong */
.mcq-option--wrong .mcq-icon {
  background: #dc3545;
  color: #fff;
}
/* green background for correct */
.mcq-option--correct .mcq-icon {
  background: #28a745;
  color: #fff;
}
/* ✅ Correct option styles */
.mcq-option--correct { background: #d4edda !important; }
.mcq-card--answered .mcq-options li:not(.mcq-option--correct):not(.mcq-option--wrong) {
  opacity: 0.65;
  pointer-events: none;
}

/* --- Buttons --- */
.mcq-controls {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.mcq-answer-btn,
.mcq-explanation-btn {
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  padding: 9px 14px;
  transition: background .3s ease;
}
.mcq-answer-btn { background: #28a745; }
.mcq-answer-btn:hover { background: #218838; }
.mcq-explanation-btn { background: #0073e6; }
.mcq-explanation-btn:hover { background: #005bb5; }

/* --- Answer/Explanation Reveal --- */
.mcq-correct-answer {
  display: none;
  background: #e8f7e8;
  border-left: 4px solid #28a745;
  padding: 10px 12px;
  margin-top: 10px;
  font-weight: 600;
  color: #155724;
  border-radius: 6px;
}
.mcq-correct-answer.is-visible { display: block !important; }
.correct-answer-text { color: #0a1830; font-weight: 700; }
.mcq-explanation {
  display: none;
  margin-top: 12px;
  padding: 14px;
  background: #f5f7fa;
  border-left: 4px solid #0073e6;
  border-radius: 6px;
}
.mcq-explanation.is-visible { display: block !important; }
.mcq-explanation .correct-answer-text-style {
  color: #CF2E2E;
  font-weight: 700;
  display: block;
}

/* --- Footer & Interactivity --- */
.mcq-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #eaeaea;
  flex-wrap: wrap;
  gap: 10px;
}
.mcq-interactivity { display: flex; align-items: center; gap: 14px; }
.vote-up-btn,
.vote-down-btn {
  background: #f1f1f1;
  border: 1px solid #ddd;
  border-radius: 50px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.vote-up-btn:hover { background: #d4edda; border-color: #c3e6cb; color: #155724; }
.vote-down-btn:hover { background: #f8d7da; border-color: #f5c6cb; color: #721c24; }
.report-error-btn {
  color: #d9534f;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

/* --- Super Explanation Box --- */
.mcq-super-explanation {
  background: linear-gradient(180deg,#fff,#f9fbff);
  border-left: 6px solid #2563eb;
  border-radius: 10px;
  padding: 18px;
  margin-top: 18px;
  box-shadow: 0 6px 22px rgba(37,99,235,.08);
  color: #0f172a;
  line-height: 1.7;
}
.mcq-super-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 8px;
}

/* =====================================================
   SECTION D: COMMENT FORM
===================================================== */
#comments {
  margin-top: 28px;
  border-top: 2px solid #e0e0e0;
  padding-top: 20px;
}
#reply-title {
  color: #064d1e;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.comment-form {
  margin-top: 8px;
}
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form select {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 15px;
  margin-bottom: 12px;
}
.comment-form input[type="submit"],
.comment-form button.submit {
  background: #064d1e;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}
.comment-form input[type="submit"]:hover,
.comment-form button.submit:hover {
  background: #0b6623;
}

/* CAPTCHA field styling */
.comment-form .comment-form-captcha label {
    background: #ff0000;
    color: #fff;
    padding: 6px 14px;
    font-weight: 800;
    border-radius: 3px 0 0 3px;
    display: inline-block;
    margin-right: 5px;
	margin-bottom:5px;
}
/* -----------------------------------------------------
   Submit MCQ Page — styles restored & improved
   Usage: paste into child theme style.css (near other page forms)
----------------------------------------------------- */

/* Page wrapper */
.submit-mcq-page {
  max-width: 760px;              /* comfortable reading width */
  margin: 28px auto;
  background: #ffffff;
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(6,15,30,0.06);
  border: 1px solid rgba(6,15,30,0.03);
  box-sizing: border-box;
}

/* Title */
.submit-mcq-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  text-align: center;
}

/* Form layout */
.submit-mcq-form {
  display: block;
  gap: 12px;
}

/* Inputs / selects / textarea - consistent with comment form */
.submit-mcq-form input[type="text"],
.submit-mcq-form input[type="email"],
.submit-mcq-form input[type="url"],
.submit-mcq-form select,
.submit-mcq-form textarea {
  width: 100%;
  display: block;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  color: #0f172a;
  background: #fff;
  box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.submit-mcq-form textarea {
  min-height: 140px;
  line-height: 1.6;
  resize: vertical;
}

/* Focus state */
.submit-mcq-form input:focus,
.submit-mcq-form select:focus,
.submit-mcq-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 4px 18px rgba(37,99,235,0.08);
}

/* Form label */
.submit-mcq-form label {
  display: block;
  font-weight: 600;
  color: #0b1730;
  margin-bottom: 6px;
  font-size: 14px;
}

/* Options grid: two-column on desktop, single column on mobile */
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin-top: 8px;
}
@media (max-width: 720px) {
  .options-grid { grid-template-columns: 1fr; }
}

/* Individual option input group (for A/B/C/D) */
.option-field {
  display: flex;
  gap: 8px;
  align-items: center;
}
.option-field input[type="text"] {
  flex: 1;
  padding: 10px 12px;
  font-size: 14px;
}

/* Submit button — full width on mobile, consistent style */
.submit-btn {
  display: inline-block;
  background: linear-gradient(90deg,#2563eb,#1e40af);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  width: auto;
  min-width: 160px;
  box-shadow: 0 6px 18px rgba(37,99,235,0.12);
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37,99,235,0.16); }
@media (max-width: 600px) {
  .submit-btn { width: 100%; min-width: 0; text-align: center; }
}

/* Small helper text under inputs */
.form-help {
  font-size: 13px;
  color: #6b7280;
  margin-top: 6px;
}

/* Success / Error alerts */
.submit-success,
.submit-error {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}
.submit-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid rgba(6,95,70,0.08);
}
.submit-error {
  background: #fff5f5;
  color: #991b1b;
  border: 1px solid rgba(153,27,27,0.06);
}

/* Compact helper row for terms / captcha / actions */
.form-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  flex-wrap: wrap;
}
.form-row .left,
.form-row .right { display: flex; gap: 8px; align-items: center; }
@media (max-width: 600px) {
  .form-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .form-row .left,
  .form-row .right { width: 100%; justify-content: space-between; }
}

/* Accessibility focus for submit button */
.submit-btn:focus { outline: 3px solid rgba(37,99,235,0.12); outline-offset: 2px; }

/* Tiny utility to avoid form elements sticking to edges on small screens */
@media (max-width: 480px) {
  .submit-mcq-page { padding: 14px; border-radius: 10px; }
  .submit-mcq-title { font-size: 1.25rem; }
  .submit-mcq-form label { font-size: 13px; }
}
/* =====================================================
   SECTION E: RESPONSIVE ENHANCEMENTS
===================================================== */
@media (min-width: 900px) {
  /* only remove right padding on the home page primary area */
  body.home #primary {
    padding-right: 0;
  }
}
@media (min-width: 900px) {
  #right-sidebar { padding-left: 25px; margin-left: 0; }
  .inside-right-sidebar { margin-left: 0; }
  .single-mcq { max-width: 800px; margin: 30px auto; padding: 24px; }
  .mcq-question { font-size: 24px; }
  .mcq-item .mcq-title a { font-size: 1.2rem; }
}
@media (max-width: 600px) {
  .mcq-answer-btn,
  .mcq-explanation-btn { padding: 8px 12px; font-size: 14px; }
  .mcq-options li { padding: 10px; font-size: 14.5px; }
  .archive-title { font-size: 1.2rem; padding: 12px 14px; }
  .mv-breadcrumbs { font-size: 13px; }
  .mcq-item { padding: 14px; }
}
/* =====================================================
   📱 MOBILE ENHANCEMENT BLOCK (ExamVillage MCQs)
   -----------------------------------------------------
   Optimizes padding, readability, and spacing
   for mobile screens under 600px width.
===================================================== */

@media (max-width: 600px) {

  /* --- Prevent MCQ & Related Cards from touching screen edges --- */
  .single-mcq,
  .related-mcq-item {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  /* --- Compact Question Text --- */
  .mcq-question {
    font-size: 18px !important;
    line-height: 1.4;
  }

  /* --- Ensure long option text wraps gracefully --- */
  .mcq-options li {
    word-wrap: break-word;
    white-space: normal;
    padding: 10px 12px;
    font-size: 15px;
  }

  /* --- Add breathing room below the Show Answer / Explanation buttons --- */
  .mcq-controls {
    margin-bottom: 14px !important;
    gap: 8px;
  }

  /* --- Make buttons stack on very small devices --- */
  .mcq-answer-btn,
  .mcq-explanation-btn {
    flex: 1 1 100%;
    width: 100%;
    text-align: center;
    font-size: 15px;
    padding: 10px 0;
  }

  /* --- “Was this helpful?” layout cleanup --- */
  .mcq-interactivity {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    text-align: center;
  }

  /* --- Slight spacing adjustments for related section --- */
  .related-mcqs-section {
    padding: 16px;
    margin-left: 10px;
    margin-right: 10px;
  }

  /* --- Reduce side padding for submit MCQ page --- */
  .submit-mcq-page {
    padding: 14px;
    margin-left: 8px;
    margin-right: 8px;
  }

  /* --- Button adjustments for submit form --- */
  .submit-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  /* --- Adjust Archive title size on mobile --- */
  .archive-title {
    font-size: 1.1rem;
    padding: 10px 12px;
  }
}
/* ================================
   MCQ Single Post Navigation
   ================================ */

.mcq-post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 1rem;
  background: #f9fafb; /* light neutral background */
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.mcq-post-navigation div {
  flex: 1 1 48%;
  text-align: center;
  margin: 0.25rem 0;
}

.mcq-post-navigation a {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  color: #1f2937; /* text-gray-800 */
  background-color: #e5e7eb; /* gray-200 */
}

.mcq-post-navigation a:hover,
.mcq-post-navigation a:focus {
  background-color: #2563eb; /* blue-600 */
  color: #ffffff;
  transform: translateY(-1px);
}

/* Arrows adjustments */
.mcq-post-navigation .nav-previous a::before {
  content: "← ";
}
.mcq-post-navigation .nav-next a::after {
  content: " →";
}

/* Responsive design */
@media (max-width: 640px) {
  .mcq-post-navigation {
    flex-direction: column;
    text-align: center;
    padding: 0.75rem;
  }

  .mcq-post-navigation div {
    flex: 1 1 100%;
    margin-bottom: 0.5rem;
  }

  .mcq-post-navigation a {
    width: 100%;
  }
}
/* Ultra-small phones (≤360px) — fine-tune text + spacing */
@media (max-width: 360px) {
  .mcq-question {
    font-size: 17px !important;
  }
  .mcq-options li {
    font-size: 14.5px;
  }
  .submit-mcq-title {
    font-size: 1.25rem;
  }
  .submit-mcq-form label {
    font-size: 13px;
  }
}
.mcq-explanation-btn {
  background: #0073e6;
  color: #fff;
  border-radius: 6px;
  padding: 9px 14px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.mcq-explanation-btn:hover {
  background: #005bb5;
  text-decoration: none;
}
.mcq-controls {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* ===== jobs-style.css — updated (mobile-first) ===== */
/* Only affect custom job taxonomies */
.tax-companies .site-content .content-area,
.tax-education .site-content .content-area,
.tax-location .site-content .content-area,
.tax-position .site-content .content-area,
.tax-newspaper .site-content .content-area,
.tax-job_type .site-content .content-area,
.tax-job_category .site-content .content-area {
    width: 100% !important;
}


/* Variables */
:root{
  --bg:#ffffff;
  --card-bg:#ffffff;
  --muted:#64748b;
  --accent-blue:#1560ff;
  --accent-blue-2:#0f52d6;
  --danger:#d33e3e;
  --surface:#f8fafb;
  --radius-lg:12px;
  --radius-md:10px;
  --shadow-sm:0 6px 18px rgba(10,20,40,0.06);
  --max-width:1200px;
  --text:#071029;
}

/* Container */
.jobs-container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:18px;
  box-sizing:border-box;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
  color:var(--text);
  background:var(--bg);
}

/* Topbar */
.job-topbar-card{ width:100%; margin-bottom:18px; }
.job-topbar-inner{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:flex-start;
  padding:14px;
  border-radius:12px;
  background:linear-gradient(90deg,#eef8ff 0%, rgba(255,255,255,0.5) 100%);
  border:1px solid #eaf3ff;
  box-shadow:var(--shadow-sm);
}
.job-topbar-left{ display:flex; gap:14px; align-items:flex-start; width:100%; }
.job-logo-wrap{ width:64px; height:64px; flex:0 0 64px; border-radius:10px; overflow:hidden; background:#fff; border:1px solid #eef6ff; display:flex; align-items:center; justify-content:center; }
.job-logo-img{ width:100%; height:100%; object-fit:cover; }

/* title & meta */
.job-topbar-meta{ flex:1 1 auto; min-width:0; }
.job-topbar-title{ margin:0; font-size:18px; font-weight:800; line-height:1.06; word-break:break-word; }
.job-meta-row{ display:flex; gap:8px; align-items:center; color:var(--muted); font-size:13px; flex-wrap:wrap; margin-top:6px; }
.job-topbar-chips{ margin-top:8px; display:flex; gap:8px; flex-wrap:wrap; }

/* CTA (topbar) */
.job-topbar-cta{ width:100%; display:flex; gap:12px; align-items:center; justify-content:space-between; margin-top:6px; }
.btn-apply{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  width:100%; padding:12px 14px; border-radius:12px;
  background:linear-gradient(180deg,var(--accent-blue),var(--accent-blue-2));
  color:#fff; font-weight:800; font-size:15px; text-decoration:none; border:none;
  box-shadow:0 8px 20px rgba(14,56,157,0.12);
}
.btn-apply svg{ width:18px; height:18px; }
.btn-apply:hover{ transform:translateY(-2px); box-shadow:0 14px 30px rgba(14,56,157,0.12); }
.btn-apply:focus{ outline:3px solid rgba(21,96,255,0.14); outline-offset:3px; }

/* Application Ends badge (topbar) */
.application-ends-badge-wrap{ display:flex; justify-content:flex-end; align-items:center; gap:8px; width:100%; }
.application-ends-label{ color:var(--muted); font-size:13px; font-weight:700; margin-right:4px; }
.application-ends-badge{
  display:inline-flex; flex-direction:column; align-items:flex-start; gap:3px;
  padding:8px 10px; border-radius:10px; min-width:140px; max-width:240px;
  background:#fff; border:1px solid rgba(211,62,62,0.12); color:#7a0f0f; font-weight:700;
}
.application-ends-badge .app-ends-date{ font-size:14px; font-weight:900; color:#c42a2a; line-height:1; }
.application-ends-badge .app-ends-remaining{ font-size:13px; color:#7a0f0f; font-weight:700; opacity:.95; }
.application-ends-badge-wrap.urgent .application-ends-badge{ border-color: rgba(196,42,42,0.22); box-shadow:0 10px 30px rgba(196,42,42,0.06); transform:translateY(-2px); }

/* Grid layout */
.single-jobs-two-col{ display:grid; grid-template-columns:1fr; gap:20px; align-items:start; }
@media (min-width:1024px){
  .job-topbar-inner{ flex-direction:row; align-items:center; }
  .job-topbar-cta{ width:auto; justify-content:flex-end; }
  .single-jobs-two-col{ grid-template-columns:1fr 340px; gap:28px; }
  .btn-apply{ min-width:150px; width:auto; }
}

/* Cards */
.job-desc-card, .job-overview-card, .widget-card{ background:var(--card-bg); border:1px solid #eef2f6; border-radius:12px; padding:16px; box-shadow:var(--shadow-sm); box-sizing:border-box; }
.section-title{ font-size:16px; font-weight:800; margin:0 0 12px; color:var(--text); }

/* Overview */
.overview-grid{ display:grid; grid-template-columns:1fr; gap:10px; margin:0; padding:0; list-style:none; }
@media (min-width:768px){ .overview-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
.ovr-item{ display:flex; gap:12px; align-items:center; background:#fbfdff; border-radius:10px; padding:10px; border:1px solid #f0f7ff; }
.ovr-ico{ width:44px; height:44px; display:flex; align-items:center; justify-content:center; border-radius:8px; background:#eef6ff; color:var(--accent-blue); }
.ovr-label{ font-size:12px; color:var(--muted); font-weight:700; }
.ovr-value{ font-weight:800; color:#08203a; }

/* Photos and video */
.photos-grid{ display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.photo-thumb{ width:110px; height:70px; border-radius:8px; overflow:hidden; background:#f8fafc; }
.video-placeholder{ position:relative; padding-bottom:56.25%; height:0; border-radius:10px; background:#000; cursor:pointer; }

/* Chips */
.chip{ display:inline-flex; align-items:center; gap:8px; background:#eef4ff; color:#1446d6; padding:6px 10px; border-radius:999px; font-weight:700; font-size:13px; text-decoration:none; border:1px solid rgba(45,96,239,0.06); }

/* Sidebar widget headings improved */
.widget-title{ margin:0 0 10px; font-weight:900; font-size:15px; letter-spacing:0.1px; color:var(--text); }
.widget-title--accent{ color:var(--accent-blue); }

/* Recent/related job cards */
.recent-jobs-grid{ display:grid; grid-template-columns:1fr; gap:12px; }
@media (min-width:768px){ .recent-jobs-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
.recent-jobs-grid .job-card{ border:1px solid #eef6fb; border-radius:12px; padding:12px; background:#fff; box-shadow:0 6px 18px rgba(10,20,40,0.04); }
.job-card-link{ display:block; text-decoration:none; color:inherit; }
.job-card-logo{ width:56px; height:56px; border-radius:10px; overflow:hidden; background:#f3f7ff; display:flex; align-items:center; justify-content:center; flex:0 0 56px; }
.job-card-title{ margin:0; font-size:15px; font-weight:800; color:var(--text); }
.job-card-meta{ font-size:13px; color:var(--muted); margin-top:6px; }
.job-card-chips{ margin-top:8px; }

/* Archive/taxonomy cards */
.jobs-archive-grid{ display:grid; grid-template-columns:1fr; gap:14px; }
@media (min-width:768px){ .jobs-archive-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:1024px){ .jobs-archive-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
.job-archive-card{ background:#fff; border:1px solid #eef6fb; border-radius:12px; padding:12px; box-shadow:0 6px 20px rgba(8,20,40,0.03); }
.job-archive-link{ display:flex; gap:12px; text-decoration:none; color:inherit; align-items:center; }

/* Utilities */
.small-muted{ color:var(--muted); font-size:13px; }
a:focus, button:focus{ outline:3px solid rgba(21,96,255,0.12); outline-offset:3px; }

 /* Mobile sticky CTA - visible on small screens, hides topbar CTA */
.mobile-cta-bar{
  position:fixed;
  right:12px;
  left:12px;
  bottom:12px;
  display:none;
  gap:8px;
  align-items:center;
  justify-content:space-between;
  padding:10px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(10,20,40,0.12);
  z-index:1200;
}
@media (max-width:1023px){
  /* hide topbar CTA on small screens */
  .job-topbar-cta{ display:none !important; }
  .mobile-cta-bar{ display:flex; }
  .mobile-cta-bar .btn-apply{ flex:1; margin-right:8px; min-width:0; }
  .mobile-cta-bar .meta{ display:flex; flex-direction:column; align-items:flex-end; text-align:right; gap:2px; font-weight:700; color:var(--danger); }
  .mobile-cta-bar .meta .ends-date{ font-weight:900; color:var(--danger); font-size:14px; }
  .mobile-cta-bar .meta .ends-remaining{ font-size:12px; color:#7a0f0f; font-weight:700; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn-apply, .application-ends-badge { transition:none !important; transform:none !important; }
}

/* =========================================================
   JOBS HEADER + MENU + HERO + TOP CATEGORIES
   Consolidated, responsive, GeneratePress-compatible
   ========================================================= */

/* ---------- VARIABLES ---------- */
:root{
  --ev-accent: #1f7a3e;
  --ev-accent-dark: #166534;
  --ev-text: #0f172a;
  --ev-muted: #64748b;
  --ev-bg: #ffffff;
  --ev-hero-bg: linear-gradient(180deg,#cfe8f3 0%,#d8edf6 100%);
  --ev-hero-extend-bg: linear-gradient(180deg,#d8edf6 0%,#eef5f8 100%);
  --ev-radius: 12px;
  --ev-shadow: 0 6px 18px rgba(16,24,40,0.06);
  --ev-gap: 16px;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.ev-jobs-header{
  background:var(--ev-bg);
  border-bottom:1px solid rgba(0,0,0,0.04);
  box-shadow:var(--ev-shadow);
  position:relative;
  z-index:50;
}
.ev-jobs-header-inner{
  max-width:1200px;
  margin:0 auto;
  padding:12px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--ev-gap);
  flex-wrap:wrap;
}
.ev-site-branding .ev-logo img{height:44px;width:auto;display:block;}

/* header action CTA */
.ev-header-actions{display:flex;align-items:center;gap:10px}
.ev-cta-profile{padding:8px 14px;border-radius:10px;background:#e9f7ee;color:var(--ev-accent);font-weight:600;text-decoration:none}
.ev-cta-profile:hover{background:var(--ev-accent);color:#fff}

/* =========================================================
   JOBS NAV
   ========================================================= */
.ev-jobs-nav{display:flex;justify-content:center;align-items:center;flex:1 1 auto}
.ev-jobs-menu{list-style:none;display:flex;gap:22px;margin:0;padding:0;align-items:center}
.ev-jobs-menu li{position:relative}
.ev-jobs-menu li a{
  color:var(--ev-text);
  font-weight:600;
  text-decoration:none;
  padding:8px 12px;
  border-radius:10px;
  transition:all .18s ease;
  display:inline-block;
}
.ev-jobs-menu li a:hover,
.ev-jobs-menu li.current-menu-item>a,
.ev-jobs-menu li.current_page_item>a{
  background:var(--ev-accent);
  color:#fff;
}

/* dropdown */
.ev-jobs-menu li ul{
  position:absolute;top:100%;left:0;min-width:180px;background:#fff;border-radius:var(--ev-radius);
  box-shadow:var(--ev-shadow);display:none;flex-direction:column;padding:8px 0;z-index:999;
}
.ev-jobs-menu li:hover>ul{display:flex}
.ev-jobs-menu li ul li a{padding:8px 14px;font-weight:500;color:var(--ev-text)}
.ev-jobs-menu li ul li a:hover{background:#f4f8f5;color:var(--ev-accent)}

/* =========================================================
   MOBILE TOGGLE & RESPONSIVE NAV
   ========================================================= */
/* toggle hidden on desktop */
#ev-jobs-menu-toggle{
  display:none;background:transparent;border:0;color:var(--ev-text);font-size:1.4rem;cursor:pointer;padding:8px;border-radius:8px;
}
/* show only on mobile and improve tappable area */
@media (max-width:768px){
  #ev-jobs-menu-toggle{display:block}
  .ev-jobs-nav{display:none;flex-direction:column;width:100%;background:#fff;border-top:1px solid rgba(0,0,0,0.06);box-shadow:var(--ev-shadow);padding:12px 18px;gap:12px}
  .ev-jobs-nav.open{display:flex}
  .ev-jobs-menu{flex-direction:column;width:100%;gap:10px}
  .ev-jobs-menu li a{padding:12px 14px;border-radius:8px}
}

/* ensure nav visible on desktop */
@media (min-width:769px){
  .ev-jobs-nav{display:flex!important}
}



 /* =========================================================
   HERO SECTION
   ========================================================= */
.ev-hero{background:var(--ev-hero-bg);padding:64px 0 48px;text-align:center}
.ev-hero-inner{max-width:1200px;margin:0 auto;padding:0 10px;box-sizing:border-box}
.ev-hero-title{font-size:2rem;font-weight:700;color:var(--ev-text);margin-bottom:22px}
.ev-hero-search{max-width:840px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.ev-hero-input{flex:1;min-width:220px;padding:12px 14px;font-size:1rem;border:1px solid #d1d5db;border-radius:10px;background:#fff}
.ev-hero-select{flex:0 0 200px;padding:12px 14px;border:1px solid #d1d5db;border-radius:10px;background:#fff}
.ev-hero-btn{padding:12px 20px;border-radius:10px;background:var(--ev-accent);color:#fff;border:0;font-weight:700;cursor:pointer}
.ev-hero-btn:hover{background:var(--ev-accent-dark)}

/* reduce hero padding on smaller devices, make inputs stack */
@media (max-width:768px){
  .ev-hero{padding:40px 0 30px}
  .ev-hero-title{font-size:1.5rem}
  .ev-hero-search{flex-direction:column;gap:12px}
  .ev-hero-input,.ev-hero-select,.ev-hero-btn{width:100%}
}

/* =================================================
   Horizontal category rows (logo-left, text-right)
   Professional, modern, mobile-first
   Logo stays original color, title turns dark blue on hover
   ================================================= */

:root{
  --ev-bg: #fbfdff;
  --ev-accent: #2563eb;      /* primary blue */
  --ev-accent-600: #1e4ed8;
  --ev-darkblue: #0b2c84;    /* hover title color */
  --ev-text: #0f172a;
  --ev-muted: #6b7280;
  --ev-tile-bg: #ffffff;
  --ev-radius: 10px;
  --ev-gap: 18px;
}

/* Section wrapper */
.ev-top-categories {
  background: var(--ev-bg);
  padding: 40px 0 56px;
  border-bottom: 1px solid rgba(15,23,42,0.03);
}
.ev-top-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.ev-top-header { text-align: center; margin-bottom: 18px; }
.ev-section-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--ev-text);
}
.ev-section-subtitle {
  margin: 8px 0 0;
  color: var(--ev-muted);
  font-size: 0.95rem;
}

/* Grid: 3 columns on large screens, 2 on medium, 1 on mobile */
.ev-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ev-gap);
  margin-top: 22px;
}

/* Horizontal row card */
.ev-category-row {
  display: flex;
  gap: 18px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: var(--ev-tile-bg);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(15,23,42,0.04);
  box-shadow: 0 6px 18px rgba(2,6,23,0.03);
  transition: transform .18s cubic-bezier(.2,.9,.2,1), box-shadow .18s ease, border-color .18s ease;
  min-height: 104px;
  position: relative;
  overflow: hidden;
}

/* Left logo square */
.ev-logo-square {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  background: linear-gradient(180deg,#f6f9ff,#ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -6px 12px rgba(2,6,23,0.01);
  border: 1px solid rgba(15,23,42,0.03);
  flex-shrink: 0;
  overflow: hidden;
}

/* Logo image (company logo) */
.ev-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .22s ease;
}

/* initials fallback */
.ev-initials {
  display:flex;
  align-items:center;
  justify-content:center;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(180deg,#eef4ff,#ffffff);
  color: var(--ev-accent-600);
  font-weight: 700;
  font-size: 1.05rem;
}

/* Right content block */
.ev-category-row-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ev-row-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ev-text);
  transition: color .2s ease;
}
.ev-row-meta {
  margin-top: 6px;
  color: var(--ev-muted);
  font-size: 0.92rem;
}

/* Hover / focus: lift, border accent, and title color change */
.ev-category-row:hover,
.ev-category-row:focus {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.12);
  z-index: 4;
}

/* On hover, company name changes to dark blue */
.ev-category-row:hover .ev-row-title,
.ev-category-row:focus .ev-row-title {
  color: var(--ev-darkblue);
}

/* Keep logo color natural — no filter */
.ev-category-row:hover .ev-logo {
  transform: scale(1.05);
}

/* subtle left accent bar on hover */
.ev-category-row::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  bottom: 12px;
  width: 0px;
  border-radius: 8px;
  background: linear-gradient(180deg,var(--ev-accent),var(--ev-accent-600));
  transition: width .22s ease;
  opacity: 0;
}
.ev-category-row:hover::before,
.ev-category-row:focus::before {
  width: 6px;
  opacity: 1;
}

/* small corner accent (top-right) */
.ev-category-row::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-top: 3px solid rgba(37,99,235,0);
  border-right: 3px solid rgba(37,99,235,0);
  transition: border-color .22s ease;
  border-radius: 2px;
}
.ev-category-row:hover::after,
.ev-category-row:focus::after {
  border-top-color: var(--ev-accent);
  border-right-color: var(--ev-accent);
}

/* View more button */
.ev-more-link-wrap { text-align:center; margin-top: 22px; }
.ev-more-link {
  display:inline-block;
  padding: 10px 18px;
  background: var(--ev-accent);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(37,99,235,0.14);
  transition: transform .14s ease, box-shadow .14s ease;
}
.ev-more-link:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(37,99,235,0.18); }

 /* Responsive: 2 columns */
@media (max-width: 980px) {
  .ev-category-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ev-logo-square { width: 76px; height: 76px; }
}

/* Mobile: 1 column */
@media (max-width: 560px) {
  .ev-category-grid { grid-template-columns: 1fr; gap: 12px; }
  .ev-category-row { padding: 14px; min-height: 94px; }
  .ev-logo-square { width: 68px; height: 68px; }
  .ev-row-title { font-size: 1rem; }
  .ev-row-meta { font-size: 0.88rem; }
}

/* accessibility focus outline */
.ev-category-row:focus { outline: 3px solid rgba(37,99,235,0.12); outline-offset: 6px; }


/* =========================================================
   ACCESSIBILITY & FOCUS
   ========================================================= */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(31,122,62,0.18);outline-offset:3px;border-radius:8px}

/* small usability touch: larger hit area for the toggle */
#ev-jobs-menu-toggle{padding:10px;border-radius:8px}





/* =========================================================
   Jobs Card — Clean, consolidated, mobile-first responsive
   Scope: post-type archive + taxonomy archives (jobs)
   ========================================================= */

/* Theme variables */
:root {
  --ev-bg: #ffffff;
  --ev-text: #0f172a;
  --ev-muted: #6b7280;
  --ev-accent: #1f7a3e;
  --ev-accent-600: #166534;
  --ev-danger: #b91c1c;
  --ev-tag-bg: #f2f7fb;
  --ev-border: rgba(10,20,30,0.06);
  --ev-radius: 12px;
  --ev-gap: 12px;
  --ev-card-padding: 16px;
  --ev-max-width: 1200px;
  --ev-shadow-sm: 0 6px 18px rgba(17,24,39,0.04);
  --ev-shadow-md: 0 20px 50px rgba(17,24,39,0.06);
}

/* Page scope */
body.post-type-archive-jobs,
body.taxonomy-companies,
body.taxonomy-location,
body.taxonomy-job-type {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Listings container */
.post-type-archive-jobs .jobs-listings,
.taxonomy-companies .jobs-listings {
  max-width: var(--ev-max-width);
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Archive grid wrapper (if used) */
.post-type-archive-jobs .jobs-archive-wrapper,
.taxonomy-companies .jobs-archive-wrapper {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
}






/* ---------------------------
   Job archive / taxonomy cards
   --------------------------- */

/* Full width only on job taxonomy pages */
.tax-companies .site-content .content-area,
.tax-education .site-content .content-area,
.tax-location .site-content .content-area,
.tax-position .site-content .content-area,
.tax-newspaper .site-content .content-area,
.tax-job_type .site-content .content-area,
.tax-job_category .site-content .content-area,
.jobs-tax-fullwidth .site-content .content-area {
    width: 100% !important;
    max-width: none !important;
}

/* Card base */
.job-listing {
    background: #ffffff;
    border: 1px solid rgba(06,06,06,06);
    border-left: 6px solid #0073e6;
    border-radius: 6px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.03);
    margin: 18px 0;
    overflow: visible;
    transition: border-color .25s ease, box-shadow .25s ease, transform .18s ease;
}

/* Hover effect: left border green and soft lift */
.job-listing:hover,
.job-listing:focus-within {
    border-left-color: #10b981;
    box-shadow: 0 6px 22px rgba(16,24,40,0.08);
    transform: translateY(-2px);
}

/* Layout: logo | content | button aligned right center */
.job-card-inner {
    display: flex;
    align-items: center;        /* Vertically center everything */
    justify-content: space-between;
    gap: 20px;
    padding: 20px 36px 20px 22px; /* Extra right padding */
    position: relative;
}

/* Left: logo (bigger) */
.job-card-left {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
}

.company-logo.placeholder {
    width: 82px;
    height: 82px;
    background: #f3f4f6;
    border-radius: 6px;
}

/* Center: job content */
.job-card-main {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 160px; /* Make room for Apply button column */
}

/* Right: Apply button absolutely positioned on right center */
.job-actions {
    position: absolute;
    top: 50%;
    right: 36px; /* same as right padding of card */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

/* Apply Now button */
.job-actions .apply-now.button {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 28px;
    background: #6b7280;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(16,24,40,0.06);
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
    white-space: nowrap;
}

/* Hover → green + lift */
.job-actions .apply-now.button:hover,
.job-actions .apply-now.button:focus {
    background: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(16,185,129,0.18);
}

/* Quick View pill below Apply Now */
.job-actions .quick-view {
    background: #f59e0b;
    color: #111827;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

/* Focus outline accessibility */
.job-actions .apply-now.button:focus {
    box-shadow: 0 0 0 4px rgba(16,185,129,0.12);
    outline: none;
}

/* Badges, meta, and location same as before */
.job-badges-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
    font-size: 13px;
}
.new-badge {
    background: #10b981;
    color: #fff;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 12px;
}
.apply-until-badge {
    background: #ecfdf5;
    color: #065f46;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.apply-until-badge.expired {
    background: #fb0505;
    color: #ffffff;
}
.entry-title.job-title {
    font-size: 18px;
    margin: 2px 0 8px;
    line-height: 1.25;
    font-weight: 700;
}
.entry-title.job-title a {
    color: #111827;
    text-decoration: none;
}
.job-meta-row {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 8px;
    color: #4b5563;
    font-size: 15px;
}
.company-name a {
    color: #374151;
    font-weight: 600;
    text-decoration: none;
}
.job-types-inline .job-tag {
    display: inline-block;
    margin-right: 6px;
    padding: 4px 8px;
    background: #d4ede4;
    color: #0f172a;
    border-radius: 6px;
    font-size: 12px;
    text-decoration: none;
}
.job-location {
    color: #6b7280;
    font-size: 14px;
    margin-top: 4px;
}
.job-location::before {
    content: "\1F4CD";
    margin-right: 8px;
    font-size: 14px;
    vertical-align: middle;
    color: #9ca3af;
}
/* ===== ICON STYLES ===== */

/* Company icon 🧑‍💼 */
.company-name::before {
  content: "🧑‍💼";
  margin-right: 6px;
  font-size: 15px;
  vertical-align: middle;
  color: #9ca3af;
}

/* Job Type icon 🔖 */
.job-types-inline::before {
  content: "🔖";
  margin-right: 6px;
  font-size: 14px;
  vertical-align: middle;
  color: #9ca3af;
}

/* Apply-by calendar icon 📅 (red) */
.apply-until-badge::before {
  content: "📅";
  margin-right: 6px;
  font-size: 14px;
  vertical-align: middle;
  color: #ef4444;
}

/* Location icon 📍 */
.job-location::before {
  content: "📍";
  margin-right: 8px;
  font-size: 14px;
  vertical-align: middle;
  color: #9ca3af;
}
/* Responsive adjustments */
@media (max-width: 860px) {
    .job-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 20px;
    }

    .job-card-left {
        order: 1;
        margin-bottom: 10px;
    }

    .job-card-main {
        order: 2;
        flex: 1 1 100%;
        padding-right: 0;
    }

    .job-actions {
        position: static;
        transform: none;
        order: 3;
        margin-top: 12px;
        width: 100%;
        align-items: center;
    }

    .job-actions .apply-now.button {
        width: 100%;
        max-width: 420px;
    }
}






/* JOBS ARCHIVE — fix sidebar alignment */
.single-jobs-two-col {
    display: grid;
    grid-template-columns: 1fr 320px; /* main | sidebar */
    gap: 28px;
    align-items: start;
    margin-top: 24px;
}

/* Push the grid (main + sidebar) down below the archive title */
.archive .single-jobs-two-col {
    margin-top: 36px; /* increase if calendar still sits too high */
}

/* Optional: make sidebar sticky */
.jobs-sidebar {
    position: sticky;
    top: 90px; /* adjust if your site header height differs */
}

/* Widget card design consistency */
.jobs-sidebar .widget,
.jobs-sidebar .widget-card {
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.jobs-sidebar .widget-title {
    font-weight: 600;
    margin-bottom: 10px;
}
.top-positions-wrapper{ clear: both; }
/* ==========================================================================
   Top Positions - styles for template-parts/top-positions.php
   Paste into your child theme style.css
   ========================================================================== */

/* ---------- Base section ---------- */
/* Use `.gp-job-positions--stretch` on the <section> to make it visually full-width.
   Example:
   <section class="gp-job-positions gp-job-positions--stretch" ...>
*/
.gp-job-positions {
  background: transparent;
  padding: 48px 0;
  box-sizing: border-box;
  color: #222;
  font-family: inherit;
}

/* Visual breakout to full viewport width while keeping inner .grid-container centered */
/* Force Top Positions to be full-width below content and sidebar */
.gp-job-positions--stretch {
  position: relative;
  width: 100vw;          /* full viewport width */
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  clear: both;           /* ensures it drops below floated sidebars */
  background: #f7fafc;   /* your section background */
  padding: 56px 0;       /* vertical spacing */
  box-sizing: border-box;
}


 /* ---------- Inner grid container ---------- */
/* Keep inner content aligned with your theme's site column.
   If your theme uses another max-width, change --site-max to that value. */
:root {
  --gp-positions-site-max: 1200px; /* adjust to match your theme container */
  --gp-positions-gap: 18px;
  --gp-position-card-radius: 10px;
  --gp-position-card-border: 1px solid rgba(22, 24, 27, 0.06);
  --gp-position-bg: #ffffff;
  --gp-position-accent: #0b67ff; /* accent color for links/hover */
}

/* Keep the existing .grid-container behavior, but ensure it centers here */
.gp-job-positions .grid-container {
  max-width: var(--gp-positions-site-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* Inner wrapper for spacing and vertical alignment */
.gp-job-positions-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Section title */
.gp-job-positions-title {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
}

/* ---------- Positions grid (cards) ---------- */
/* Use CSS grid — responsive columns */
.gp-positions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gp-positions-gap);
  align-items: stretch;
}

/* Individual position card (link) */
.gp-position-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: var(--gp-position-bg);
  border: var(--gp-position-card-border);
  border-radius: var(--gp-position-card-radius);
  padding: 12px 14px;
  box-sizing: border-box;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  color: inherit;
  min-height: 72px;
  /* ensure card takes full height in grid row */
}

/* Card content layout */
.gp-position-icon {
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(11,103,255,0.08);
  flex: 0 0 48px;
  text-align: center;
}

/* Meta (name + count) */
.gp-position-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.gp-position-name {
  font-weight: 600;
  font-size: 15px;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gp-position-count {
  font-size: 13px;
  color: #6b7280; /* subdued */
  margin-top: 2px;
}

/* Hover / focus states for accessibility */
.gp-position-card:hover,
.gp-position-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
  border-color: rgba(11,103,255,0.16);
  outline: none;
  text-decoration: none;
}

/* Focus-visible for keyboard users */
.gp-position-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(11,103,255,0.14);
  border-color: var(--gp-position-accent);
}

/* Slight color accent for icon on hover */
.gp-position-card:hover .gp-position-icon,
.gp-position-card:focus .gp-position-icon {
  background: rgba(11,103,255,0.12);
}

/* ---------- Responsive adjustments ---------- */
@media (max-width: 1100px) {
  .gp-positions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gp-job-positions-title {
    font-size: 24px;
  }
}

@media (max-width: 800px) {
  .gp-positions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .gp-job-positions {
    padding-top: 36px;
    padding-bottom: 36px;
  }
}

@media (max-width: 480px) {
  .gp-positions-grid {
    grid-template-columns: 1fr;
  }
  .gp-position-card {
    padding: 14px 16px;
    gap: 14px;
  }
  .gp-position-icon {
    width: 40px;
    height: 40px;
  }
  .gp-job-positions-title {
    font-size: 20px;
  }
}

/* ---------- Optional: subtle divider above section ---------- */
/* Uncomment if you want a subtle divider line between content and this section */
/*
.gp-job-positions {
  border-top: 1px solid rgba(17,24,39,0.04);
  padding-top: 32px;
}
*/

/* ---------- Utilities ---------- */
/* Ensure the section clears floats so it sits below floated sidebars */
.gp-job-positions::before {
  content: "";
  display: table;
  clear: both;
}

/* If your theme has overflow hidden on parent, the 100vw trick might be clipped.
   In that case, you can alternatively use `position: relative; left: calc(-50vw + 50%); width: 100vw;`
   but the provided approach works in most themes. */

/* ---------- Print tweaks ---------- */
@media print {
  .gp-job-positions,
  .gp-position-card {
    box-shadow: none !important;
    transform: none !important;
  }
}
 /* Full-width section injected after site content */
.gp-top-positions-after-content {
  position: relative;
  width: 100vw;               /* full viewport width */
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  clear: both;
  background: #f7fafc;        /* adjust background color */
  padding: 56px 0;
  box-sizing: border-box;
  z-index: 1;
}

/* Align inner grid with your site container */
.gp-top-positions-after-content .grid-container {
  max-width: 1200px;          /* adjust to match your GeneratePress container */
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* Just in case, clear any sidebar float */
.gp-top-positions-after-content::before {
  content: "";
  display: table;
  clear: both;
}
/* =========================================================
   Companies Carousel (Refined, Responsive, Polished)
   ========================================================= */

/* Section spacing */
.gp-companies-carousel-wrapper,
.gp-top-positions-after-content + .gp-companies-carousel-wrapper {
  margin: 40px auto;
}

/* Container setup */
.gp-companies-carousel.swiper-container {
  position: relative;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 20px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
}

/* Swiper wrapper alignment */
.gp-companies-carousel .swiper-wrapper {
  align-items: center;
  box-sizing: border-box;
}

/* Each slide */
.gp-companies-carousel .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Link block */
.gp-company-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #222;
  transition: transform 0.25s ease, color 0.25s ease;
  padding: 6px 8px;
  border-radius: 10px;
}

.gp-company-link:hover {
  transform: translateY(-3px);
}

/* Logo */
.gp-company-logo img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 14px rgba(10,20,30,0.08);
  padding: 8px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gp-company-link:hover .gp-company-logo img {
  box-shadow: 0 10px 24px rgba(10,20,30,0.12);
  transform: scale(1.05);
}

/* Company name */
.gp-company-name {
  font-size: 15px;
  font-weight: 500;
  color: #111;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

/* --- Navigation arrows --- */
.gp-companies-carousel .swiper-button-prev,
.gp-companies-carousel .swiper-button-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  color: #0b67ff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.gp-companies-carousel .swiper-button-prev:hover,
.gp-companies-carousel .swiper-button-next:hover {
  background: #0b67ff;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.gp-companies-carousel .swiper-button-prev::after,
.gp-companies-carousel .swiper-button-next::after {
  font-size: 18px;
}

/* Arrow positioning */
.gp-companies-carousel .swiper-button-prev { left: 10px; }
.gp-companies-carousel .swiper-button-next { right: 10px; }

/* Pagination dots */
.gp-companies-carousel .swiper-pagination {
  margin-top: 16px;
  position: relative;
}

.gp-companies-carousel .swiper-pagination-bullet {
  background: rgba(17,24,39,0.15);
  opacity: 1;
  width: 8px;
  height: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.gp-companies-carousel .swiper-pagination-bullet-active {
  background: #0b67ff;
  transform: scale(1.3);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
  .gp-company-logo img {
    width: 88px;
    height: 88px;
  }
  .gp-company-name {
    font-size: 14px;
    max-width: 110px;
  }
  .gp-companies-carousel .swiper-button-prev,
  .gp-companies-carousel .swiper-button-next {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 768px) {
  .gp-company-logo img {
    width: 72px;
    height: 72px;
    padding: 6px;
  }
  .gp-company-name {
    font-size: 13px;
    max-width: 90px;
  }
  .gp-companies-carousel .swiper-button-prev,
  .gp-companies-carousel .swiper-button-next {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 600px) {
  .gp-companies-carousel {
    padding: 10px 8px;
  }
  .gp-companies-carousel .swiper-button-prev,
  .gp-companies-carousel .swiper-button-next {
    display: none;
  }
  .gp-companies-carousel .swiper-pagination {
    margin-top: 10px;
  }
  .gp-company-link {
    gap: 6px;
  }
}

/* Ultra-small screens (like 360px wide) */
@media (max-width: 400px) {
  .gp-company-logo img {
    width: 60px;
    height: 60px;
  }
  .gp-company-name {
    font-size: 12px;
    max-width: 70px;
  }
}



 /* =========================
   Job Card - Responsive & Polished
   Replace your existing job card CSS with this block
   ========================= */

/* Root tokens (tweak colors here) */
:root{
  --card-bg: #fff;
  --card-border: rgba(15,23,42,0.06);
  --accent: #138a3a;        /* green stripe */
  --accent-dark: #0b632d;
  --pill-bg: #e8f7ea;
  --pill-color: #0b7b33;
  --apply-bg: #1f7f4a;
  --apply-hover-bg: #146335;
  --quick-bg: #ffbe00;
  --muted: #6b7280;
  --card-radius: 12px;
  --card-padding: 18px;
}

/* Card outer */
.gp-job-card {
  display: grid;
  grid-template-columns: 6px 96px 1fr 180px; /* left-accent, logo, main, actions */
  gap: 18px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  box-shadow: 0 8px 30px rgba(12,18,25,0.03);
  transition: transform 220ms cubic-bezier(.2,.9,.3,1), box-shadow 220ms ease;
  overflow: visible;
  position: relative;
}

/* Card hover / focus (keyboard accessible) */
.gp-job-card:hover,
.gp-job-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(12,18,25,0.08);
  z-index: 3;
}

/* Left accent stripe */
.gp-job-left-accent {
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  border-top-left-radius: var(--card-radius);
  border-bottom-left-radius: var(--card-radius);
  height: 100%;
  width: 100%;
}

/* Logo column */
.gp-job-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gp-company-logo-img,
.gp-company-logo.placeholder {
  width: 84px;
  height: 84px;
  display: block;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 6px 18px rgba(10,20,30,0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

/* Logo hover pop */
.gp-job-card:hover .gp-company-logo-img,
.gp-job-card:focus-within .gp-company-logo-img {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 36px rgba(10,20,30,0.10);
}

/* Main content */
.gp-job-main {
  min-width: 0; /* allow text truncation */
}

/* Title */
.gp-job-title {
  font-size: 18px;
  margin: 0 0 8px 0;
  line-height: 1.2;
  font-weight: 700;
}
.gp-job-title a {
  color: #0f1724;
  text-decoration: none;
}

/* Subtitle row (company + pill) */
.gp-job-subrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.gp-company-name a {
  color: #1f6b44;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}

/* job-type pill */
.gp-job-type-pill {
  display: inline-block;
  background: var(--pill-bg);
  color: var(--pill-color);
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

/* location */
.gp-job-location {
  color: var(--muted);
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.4;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Actions column (desktop) */
.gp-job-actions-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  justify-content: center;
}

/* Apply button */
.gp-apply-btn {
  background: var(--apply-bg);
  color: #fff;
  padding: 10px 18px;
  border-radius: 22px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(31,127,74,0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  display: inline-block;
}
.gp-apply-btn:hover,
.gp-apply-btn:focus {
  transform: translateY(-3px);
  background: var(--apply-hover-bg);
  box-shadow: 0 16px 36px rgba(20,99,53,0.14);
  outline: none;
}

/* Quick view pill */
.gp-quick-view {
  display: inline-block;
  background: var(--quick-bg);
  color: #111;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(255,193,7,0.12);
}

/* Small badge styles (new / apply-until) — inline top of card */
.job-badges-row {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  align-items: center;
}
.new-badge {
  background: #eaf9f0;
  color: #0b7b33;
  padding: 6px 8px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
}
.apply-until-badge {
  background: #fff;
  border-radius: 12px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 12px;
  border: 1px solid rgba(0,0,0,0.04);
}

/* Responsive: tablet and mobile stacking */
@media (max-width: 960px) {

  .gp-job-card {
    grid-template-columns: 6px 72px 1fr; /* stack: left accent, logo, main + actions below */
    grid-template-rows: auto auto;
    gap: 12px 14px;
    padding: 14px;
  }

  .gp-job-actions-col {
    grid-column: 2 / -1;
    grid-row: 2 / 3;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
  }

  .gp-apply-btn {
    padding: 12px 16px;
    border-radius: 12px;
  }

  .gp-quick-view {
    padding: 8px 10px;
    border-radius: 10px;
  }

  .gp-company-logo-img { width: 72px; height: 72px; }
  .gp-company-name a { font-size: 15px; }
}

/* Mobile: small screens: actions become full width under content */
@media (max-width: 480px) {

  .gp-job-card {
    grid-template-columns: 6px 1fr;
    grid-template-rows: auto auto auto;
    padding: 12px;
    gap: 10px;
  }

  .gp-job-logo {
    grid-column: 2 / 3;
    justify-content: flex-start;
  }

  .gp-job-main {
    grid-column: 2 / 3;
  }

  .gp-job-actions-col {
    grid-column: 1 / -1;
    grid-row: 3 / 4;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 8px;
  }

  .gp-apply-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-size: 16px;
  }

  .gp-quick-view {
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
  }

  .gp-job-title { font-size: 16px; }
  .gp-company-logo-img { width: 64px; height: 64px; }
  .gp-company-name a { font-size: 14px; }
  .gp-company-name, .gp-job-location { text-align: left; }
}

/* Ensure long location text wraps nicely on small screens */
.gp-job-location a {
  color: var(--muted);
  text-decoration: none;
}

/* Accessibility: focus visible for keyboard users */
.gp-apply-btn:focus,
.gp-quick-view:focus,
.gp-job-title a:focus,
.gp-company-name a:focus {
  outline: 3px solid rgba(16,124,61,0.12);
  outline-offset: 3px;
  border-radius: 8px;
}
 /* ===========================
   Companies grid — modern card design
   =========================== */

/* ============================
   Companies grid — centered, responsive, mobile-first
   Paste into jobs-style.css or Customize → Additional CSS
   ============================ */

/* Wrapper: center the grid and limit width so layout is not full-screen */
.companies-term-grid-wrapper {
  max-width: 1200px;       /* adjust to taste (1100 / 1200) */
  margin: 0 auto;
  padding: 12px 16px 40px; /* top + horizontal + bottom */
  box-sizing: border-box;
}

/* Grid container — placed inside the wrapper */
.companies-term-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* base: 2-col mobile-first */
  gap: 16px;
  margin: 12px 0 0;
  align-items: stretch;
  box-sizing: border-box;
}

/* Responsive breakpoints */
@media (min-width: 560px) {
  .companies-term-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (min-width: 920px) {
  .companies-term-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
@media (min-width: 1400px) {
  .companies-term-grid { grid-template-columns: repeat(5, 1fr); gap: 22px; }
}

/* Card base: logo + content inline on desktop, stacked on small screens */
.company-term-item {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-left: 6px solid transparent; /* accent on hover */
  border-radius: 12px;
  min-height: 84px;            /* consistent heights */
  box-shadow: 0 6px 18px rgba(12,18,26,0.04);
  transition: transform .18s cubic-bezier(.2,.9,.2,1), box-shadow .18s ease, border-left-color .18s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-sizing: border-box;
}

/* Hover / focus */
.company-term-item:hover,
.company-term-item:focus {
  transform: translateY(-6px);
  box-shadow: 0 18px 46px rgba(16,24,40,0.10);
  border-left-color: #10b981;
  outline: none;
}

/* Decorative left glow (non-critical) */
.company-term-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.06);
  transition: box-shadow .22s ease;
}
.company-term-item:hover::before,
.company-term-item:focus::before {
  box-shadow: 0 8px 28px rgba(16,185,129,0.06);
}

/* Logo column */
.company-term-logo {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(12,18,26,0.03);
}
.company-term-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Hide empty src images that can break layout */
.company-term-logo img[src=""],
.company-term-logo img[alt=""] { display:block; }

/* Body / text column (name + count) */
.company-term-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0; /* important for ellipsis on child */
}

/* Company name styling — clamp to 2 lines */
.company-term-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  min-width: 0;
}

/* If name is anchor inside, preserve style */
.company-term-name a { color: inherit; text-decoration: none; }
.company-term-name a:hover { text-decoration: underline; color: #0b7f56; }

/* Count style to the right inside same row */
.company-term-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.company-term-count {
  margin-left: auto;
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
  white-space: nowrap;
}

/* Optional pill variant */
.company-term-count-pill {
  background: rgba(16,185,129,0.08);
  color: #065f46;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 12px;
}

/* Mobile behavior: stack logo above text */
@media (max-width: 559px) {
  .company-term-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    min-height: auto;
  }
  .company-term-logo {
    margin-bottom: 8px;
    width: 72px;
    height: 72px;
  }
  .company-term-body { align-items: center; }
  .company-term-meta { width: 100%; justify-content: center; }
  .company-term-count { margin-left: 0; }
}

/* Accessibility: focus-visible outline */
.company-term-item:focus-visible {
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12), 0 18px 46px rgba(16,24,40,0.08);
  border-left-color: rgba(59,130,246,0.35);
}

/* Utility: fallback placeholder block */
.company-term-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #f8fafb;
}

/* Small polish: ensure grid wrapper paddings don't conflict with overall site */
body.tax-companies .site-content .content-area,
body.companies-index .site-content .content-area {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* If your template uses the wrapper div, ensure it is used:
   <div class="companies-term-grid-wrapper">
     <section class="companies-term-grid"> ... </section>
   </div>
   If not, you can wrap the grid in PHP or remove the wrapper styles and let the site container limit width.
*/

/* ========= Education Taxonomy Grid ========= */

/* Wrapper — center and limit width */
.education-term-grid-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px 40px;
}

/* Responsive grid */
.education-term-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

/* Card style */
.education-term-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  color: #111827;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: all 0.2s ease;
}

/* Hover/focus effect */
.education-term-item:hover,
.education-term-item:focus {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: #10b981;
  outline: none;
}

/* Term name */
.education-term-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
  margin-bottom: 6px;
  text-transform: capitalize;
}

/* Job count */
.education-term-count {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

/* Mobile adjustments */
@media (max-width: 560px) {
  .education-term-item {
    align-items: center;
    text-align: center;
    padding: 16px;
  }
  .education-term-name {
    font-size: 16px;
  }
}



 /* =============================
   Top Locations — Complete CSS
   ============================= */

/* Container / Section */
.gp-job-locations {
	background: #f7fafc; /* pale mint background for the whole section */
	padding: 40px 0;
}

.gp-job-locations-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Title */
.gp-job-locations-title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 24px;
	text-align: center;
	color: #064d3b;
	letter-spacing: -0.2px;
}

/* Grid */
.gp-locations-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 20px;
	align-items: start;
	/* center text by default so each card's inner stack is centered */
	text-align: center;
}

/* Card (link) */
.gp-location-card {
	display: block; /* make whole card clickable */
	background: #ffffff;
	border-radius: 12px;
	padding: 10px;
	text-decoration: none;
	color: inherit;
	transition: transform 220ms cubic-bezier(.2,.9,.3,1), box-shadow 220ms ease, background-color 220ms ease;
	box-shadow: 0 2px 6px rgba(0,0,0,0.04);
	overflow: hidden;
	outline: none; /* we'll provide a visible focus below */
}

/* Card hover/focus */
.gp-location-card:hover,
.gp-location-card:focus {
	background-color: #d7f9e8; /* light green hover */
	transform: translateY(-6px);
	box-shadow: 0 10px 26px rgba(6,77,59,0.08);
}

/* Accessible focus ring (keyboard) */
.gp-location-card:focus {
	box-shadow: 0 0 0 3px rgba(11,122,102,0.14), 0 10px 26px rgba(6,77,59,0.06);
}

/* Card inner stack */
.gp-location-card-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 126px; /* ensures even card height for small content */
}

/* Logo / Icon wrapper */
.gp-location-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-bottom: 4px;
}

/* Logo image & SVG sizing */
.gp-city-icon-img,
.gp-city-icon-svg {
	width: 72px;
	height: 72px;
	object-fit: contain;
	display: block;
}

/* Optional: nicer rounded logos (uncomment if you use square logos and want rounded badges) */
/* .gp-city-icon-img { border-radius: 10%; } */

/* Slight scale of icon on card hover */
.gp-location-card:hover .gp-city-icon-img,
.gp-location-card:hover .gp-city-icon-svg,
.gp-location-card:focus .gp-city-icon-img,
.gp-location-card:focus .gp-city-icon-svg {
	transform: scale(1.06);
	transition: transform 220ms cubic-bezier(.2,.9,.3,1);
}

/* City name (centered) */
.gp-location-name {
	font-weight: 700;
	font-size: 16px;
	color: #0b3a2f;
	margin: 0;
	text-align: center;
	letter-spacing: -0.2px;
	line-height: 1.2;
}

/* Job count (centered) */
.gp-location-count {
	font-size: 13.5px;
	color: #5f6b63;
	margin-top: 4px;
	text-align: center;
	opacity: 0.95;
}

/* Footer / View All link */
/* --- Footer / View All Button --- */
.gp-locations-footer {
	text-align: center;
	margin-top: 36px;
}

.gp-locations-viewall {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 28px;
	background-color: #0b7f6a;
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(11, 127, 106, 0.25);
	transition: all 0.25s ease;
}

.gp-locations-viewall:hover,
.gp-locations-viewall:focus {
	background-color: #099169;
	box-shadow: 0 6px 14px rgba(11, 127, 106, 0.35);
	transform: translateY(-2px);
	color: #fff;
}

.gp-locations-viewall:active {
	transform: translateY(0);
	box-shadow: 0 3px 6px rgba(11, 127, 106, 0.25);
}

/* Optional: add a small icon inside the button */
.gp-locations-viewall::after {
	content: "→";
	font-size: 16px;
	line-height: 1;
	margin-left: 6px;
}


 /* Small screen adjustments */
@media (max-width: 640px) {
	.gp-locations-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
	.gp-city-icon-img,
	.gp-city-icon-svg { width: 64px; height: 64px; }
	.gp-location-card-inner { min-height: 120px; gap: 8px; }
}

/* Very small screens: single column */
@media (max-width: 360px) {
	.gp-locations-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.gp-city-icon-img, .gp-city-icon-svg { width: 56px; height: 56px; }
}

/* Optional: reduce card shadow for print */
@media print {
	.gp-location-card { box-shadow: none; transform: none; }
	.gp-job-locations { background: transparent; padding: 0; }
}


/*Homepage CSS*/
/* ==========================================================
   Exam Village — Final Responsive Hero Section
   ========================================================== */

/* === Container & Wrapper === */
.ev-hero-container {
  max-width: 1200px;
  margin: 14px auto;
  box-sizing: border-box;
}

.ev-hero-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 10px 25px rgba(10,40,10,0.06);
  border: 1px solid #ffffff;
  overflow: hidden;
}

/* === Layout: stacked on mobile === */
.ev-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ev-hero-left,
.ev-hero-right {
  width: 100%;
  min-width: 0;
}

/* === Swiper default (mobile): no crop === */
.swiper {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border-radius: 10px;
  overflow: hidden;
  background: #f4f8f4;
  position: relative;
}

.ev-slide-img,
.swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background-color: #f4f8f4;
}

/* Overlay below image on mobile */
.slide-overlay {
  position: relative;
  background: transparent;
  color: #233;
  padding: 12px 6px 18px;
  margin-top: 6px;
}

.slide-title {
  color: #10200b;
  font-size: 16px;
  margin: 0 0 6px;
  font-weight: 700;
}

.slide-excerpt {
  color: #455045;
  font-size: 13px;
  margin: 0;
  opacity: 0.95;
}

/* === Swiper Controls (shared) === */
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.swiper-button-prev { left: 10px; }
.swiper-button-next { right: 10px; }

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(0,0,0,0.45);
  transform: translateY(-50%) scale(1.05);
}

.swiper-pagination {
  position: relative !important;
  margin-top: 10px;
  bottom: auto !important;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 0.95;
}

/* === CTA (right side) === */
.ev-hero-right {
  text-align: center;
}

.ev-hero-title {
  font-size: 22px;
  color: #2d8a34;
  margin: 8px 0;
}

.ev-hero-sub {
  color: #515a50;
  font-size: 14px;
  margin: 8px 0 12px;
}

.ev-hero-note {
  margin: 0 0 16px;
  color: #455045;
  font-size: 13px;
}

.ev-hero-cta {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: #fdd835;
  color: #10200b;
  padding: 12px 16px;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(34,79,21,0.08);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.ev-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(34,79,21,0.12);
}

/* === Tablet (≥600px): enable cover mode === */
@media (min-width: 600px) {
  .swiper {
    aspect-ratio: 16 / 9;
    max-height: 360px;
  }

  .ev-slide-img,
  .swiper-slide img {
    object-fit: cover;
    object-position: center top;
    width: 100%;
    height: 100%;
  }

  .slide-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    color: #fff;
    margin: 0;
  }

  .slide-title { color: #fff; font-size: 18px; }
  .slide-excerpt { color: rgba(255,255,255,0.9); font-size: 14px; }

  .swiper-pagination {
    position: absolute !important;
    bottom: 12px !important;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
}

/* === Desktop (≥900px): fix arrow vertical centering with fixed height === */
@media (min-width: 900px) {
  .ev-hero-inner {
    flex-direction: row;
    gap: 30px;
    align-items: center;
  }

  .ev-hero-left { flex: 1.1; }
  .ev-hero-right { flex: 0.9; text-align: left; }

  /* enforce fixed height for perfect arrow alignment */
  .swiper {
    height: 340px;
    aspect-ratio: auto;
  }

  .swiper-slide img {
    height: 100%;
  }

  /* ensure arrows are vertically centered in that fixed height */
  .swiper-button-prev,
  .swiper-button-next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
  }

  .swiper-button-prev { left: 14px; }
  .swiper-button-next { right: 14px; }

  .ev-hero-title { font-size: 28px; }
  .ev-hero-sub { font-size: 15px; }
  .ev-hero-cta { width: auto; padding: 12px 24px; }
}

/* === Very Small Screens (<420px) === */
@media (max-width: 420px) {
  .swiper-button-prev,
  .swiper-button-next {
    width: 36px;
    height: 36px;
  }
}


/* ==========================================================================
   Exam Village — MCQs Section (5 per row, SEO titles, education green/yellow)
   Paste into: wp-content/themes/your-child-theme/style.css
   ========================================================================== */

/* Section wrapper */
.ev-mcqs-section {
  background: #fff;
  border-radius: 18px;
  padding: 40px 24px;
  margin: 40px auto;
  box-shadow: 0 8px 28px rgba(46,125,50,0.05);
  border: 1px solid #ffffff;
  max-width: 1300px;
}

/* Heading / intro */
.section-title {
  font-size: 26px;
  font-weight: 800;
  color: #2E7D32;
  text-align: center;
  margin-bottom: 8px;
}

.ev-intro {
  color: #5A665A;
  font-size: 15.5px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 30px;
  line-height: 1.5;
}

/* Grid layout: 5 per row on desktop */
.ev-grid.ev-mcq-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 15px;
}

/* Responsive breakpoints */
@media (max-width: 1100px) {
  .ev-grid.ev-mcq-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .ev-grid.ev-mcq-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .ev-grid.ev-mcq-grid { grid-template-columns: 1fr; }
}

/* Card styling — flex column to align button bottom */
.ev-card.ev-mcq-card {
  background: #fff;
  border: 1px solid #6b7280;
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 6px 14px rgba(46,125,50,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 260px;          /* ensures consistent visual height */
}

/* Hover elevation */
.ev-card.ev-mcq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(46,125,50,0.15);
  border-color: #cceacb;
}

/* Icon container */
.mcq-icon {
  background: #fdfef5;
  border-radius: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 6px 12px rgba(46,125,50,0.08);
  transition: background 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

/* SVG inside icon */
.mcq-icon svg {
  width: 38px;
  height: 38px;
  display: block;
  stroke: #2E7D32;
  transition: transform 0.32s ease, stroke 0.32s ease, fill 0.32s ease;
  vector-effect: non-scaling-stroke;
  fill: none;
}

/* Title and description */
.mcq-title {
  font-size: 16px;
  font-weight: 700;
  color: #233B25;
  margin: 8px 0 6px;
  line-height: 1.25;
}

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

.mcq-desc {
  font-size: 13.5px;
  color: #5A665A;
  margin-bottom: 14px;
  line-height: 1.45;
  flex: 1 1 auto; /* allow description to grow so button stays at bottom */
}

/* Actions — button pinned to bottom */
.mcq-actions {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}

.ev-apply.ev-mcq-btn {
  background: #3e3d77;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.18s ease;
  display: inline-block;
  white-space: nowrap;
}

.ev-apply.ev-mcq-btn:hover,
.ev-apply.ev-mcq-btn:focus {
  background: #256528;
  transform: translateY(-2px);
  outline: none;
}

/* secondary link */
.ev-card-link {
  color: #2E7D32;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  display: inline-block;
  align-self: center;
}
.ev-card-link:hover,
.ev-card-link:focus {
  color: #FDD835;
  text-decoration: underline;
}

/* Hover icon color pulse */
.ev-card.ev-mcq-card:hover .mcq-icon {
  background: rgba(253,216,53,0.12);
  transform: translateY(-3px);
}

.ev-card.ev-mcq-card:hover .mcq-icon svg {
  stroke: #FDD835;
  fill: #FDD835;
  transform: scale(1.08);
}

/* Accessibility: focus styles */
.ev-apply.ev-mcq-btn:focus,
.mcq-title a:focus,
.ev-card-link:focus {
  box-shadow: 0 0 0 4px rgba(45,125,50,0.12);
  outline: none;
}

/* small screens adjustments */
@media (max-width: 900px) {
  .ev-mcqs-section { padding: 26px 16px; margin: 24px 12px; border-radius: 12px; }
  .mcq-icon { width: 60px; height: 60px; }
  .mcq-icon svg { width: 34px; height: 34px; }
  .ev-card.ev-mcq-card { min-height: 200px; padding: 18px 12px; }
  .ev-grid.ev-mcq-grid { gap: 16px; }
}

/* End of MCQs section CSS */
/* ==========================================================================
   Upcoming Tests — Buttons Below (white + green/yellow theme)
   ========================================================================== */

.ev-upcoming-simple {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  margin: 32px auto;
  border: 1px solid #e5f3e8;
  box-shadow: 0 8px 20px rgba(34,90,34,0.05);
  max-width: 1200px;
}

/* Header */
.ev-upcoming-simple-head { text-align: center; margin-bottom: 18px; }
.ev-upcoming-simple-title { color: #2E7D32; font-size: 22px; font-weight:800; margin:0; }
.ev-upcoming-simple-sub { color: #5f665c; font-size:14px; margin:6px 0 0; }

/* Grid Layout */
.ev-upcoming-simple-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

/* Each Card */
.ev-up-simple-item {
  background: #fbfff9;
  border: 1px solid #e9f6eb;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 6px 12px rgba(18,70,20,0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ev-up-simple-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(18,70,20,0.06);
}

/* Header (Date + Title inline) */
.ev-up-simple-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

/* Date Badge */
.ev-up-simple-date {
  background: #fff;
  border-radius: 8px;
  width: 62px;
  text-align: center;
  padding: 6px 4px;
  border: 1px solid #e6f6e6;
  box-shadow: 0 6px 12px rgba(46,125,50,0.04);
  flex-shrink: 0;
}
.ev-up-simple-day { display:block; font-weight:800; font-size:18px; color:#233B25; line-height:1; }
.ev-up-simple-month { display:block; font-size:12px; color:#2E7D32; }

/* Title */
.ev-up-simple-body { flex: 1; min-width: 0; }
.ev-up-simple-title-item {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #133b1f;
  line-height: 1.25;
}
.ev-up-simple-title-item a { color: inherit; text-decoration: none; }
.ev-up-simple-title-item a:hover { color: #2E7D32; text-decoration: underline; }

.ev-up-simple-meta {
  font-size: 13px;
  color: #6b7a6b;
  margin-top: 4px;
}

/* Action Buttons (below title) */
.ev-up-simple-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* Syllabus Button (Yellow) */
.ev-btn-syllabus {
  background: #FFFDE7;
  color: #8B6B00;
  border: 1px solid #FFF176;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  transition: all .2s ease;
}
.ev-btn-syllabus:hover {
  background: #FFEE58;
  border-color: #FDD835;
  color: #3E3200;
}

/* MCQs Booklet Button (Green) */
.ev-btn-mcq {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  transition: all .2s ease;
}
.ev-btn-mcq:hover {
  background: #2E7D32;
  color: #fff;
  border-color: #2E7D32;
}

/* Responsive */
@media (max-width: 900px) {
  .ev-up-simple-item { padding: 14px; }
  .ev-up-simple-header { flex-direction: row; align-items: flex-start; }
  .ev-up-simple-actions { flex-direction: row; gap: 8px; }
  .ev-btn-syllabus, .ev-btn-mcq { flex: 1; text-align: center; }
}

/* Focus state */
.ev-btn-syllabus:focus,
.ev-btn-mcq:focus,
.ev-up-simple-title-item a:focus {
  box-shadow: 0 0 0 4px rgba(46,125,50,0.12);
  outline: none;
}
/* ==========================================================================
   Upcoming Tests — Refined (white + green/yellow theme)
   ========================================================================== */

/* Theme variables (quick to adjust) */
:root {
  --ev-bg: #ffffff;
  --ev-card-bg: #fbfff9;
  --ev-border: #e9f6eb;
  --ev-accent: #2E7D32;      /* primary green */
  --ev-accent-dark: #133b1f;
  --ev-yellow: #FDD835;
  --ev-yellow-200: #FFFDE7;
  --ev-muted: #6b7a6b;
  --ev-shadow: rgba(18,70,20,0.06);
}

/* Container card */
.ev-upcoming-simple {
  background: var(--ev-bg);
  border-radius: 14px;
  padding: 26px;
  margin: 30px auto;
  border: 1px solid #e5f3e8;
  box-shadow: 0 10px 24px var(--ev-shadow);
  max-width: 1200px;
}

/* Header */
.ev-upcoming-simple-head {
  text-align: center;
  margin-bottom: 20px;
}
.ev-upcoming-simple-title {
  color: var(--ev-accent);
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}
.ev-upcoming-simple-sub {
  color: #5f665c;
  font-size: 15px;
  margin: 0;
}

/* Grid layout */
.ev-upcoming-simple-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

/* Card */
.ev-up-simple-item {
  background: var(--ev-card-bg);
  border: 1px solid #3e3d77;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 6px 14px rgba(18,70,20,0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .18s ease, box-shadow .18s ease;
  min-height: 120px;
}
.ev-up-simple-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(18,70,20,0.08);
}

/* Header area (date + body) */
.ev-up-simple-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Date badge */
.ev-up-simple-date {
  background: #3e3d77;
  border-radius: 10px;
  width: 68px;
  text-align: center;
  padding: 8px 6px;
  border: 1px solid #e6f6e6;
  box-shadow: 0 6px 12px rgba(46,125,50,0.04);
  flex-shrink: 0;
}
.ev-up-simple-day {
  display:block;
  font-weight:900;
  font-size:18px;
  color: #ffffff;
  line-height:1;
}
.ev-up-simple-month {
  display:block;
  font-size:12px;
  color: #ffffff;
  margin-top: 4px;
}

/* Title & meta */
.ev-up-simple-body { flex: 1; min-width: 0; }
.ev-up-simple-title-item {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #3e3d77;
  line-height: 1.25;
}
.ev-up-simple-title-item a {
  color: inherit;
  text-decoration: none;
}
.ev-up-simple-title-item a:hover {
  color: var(--ev-accent);
  text-decoration: underline;
}
.ev-up-simple-meta {
  font-size: 13px;
  color: var(--ev-muted);
  margin-top: 6px;
}

/* Actions row (buttons) */
.ev-up-simple-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Base button style */
.ev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
}

/* Syllabus (yellow) */
.ev-btn-syllabus {
  background: #fdd835;
  color: #000000;
  border-color: #FFF176;
}
.ev-btn-syllabus:hover,
.ev-btn-syllabus:focus {
  background: var(--ev-yellow);
  color: #3E3200;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* MCQs booklet (green) */
.ev-btn-mcq {
  background: #2c8432;
  color: #ffffff;
  border-color: #C8E6C9;
}
.ev-btn-mcq:hover,
.ev-btn-mcq:focus {
  background: var(--ev-accent);
  color: #fff;
  border-color: var(--ev-accent);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* All Upcoming Tests button — centered footer */
.ev-upcoming-footer {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}
.ev-btn-all {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg,var(--ev-accent), #25692a);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 10px 30px rgba(46,125,50,0.12);
  transition: transform .14s ease, box-shadow .14s ease, opacity .14s ease;
}
.ev-btn-all:hover,
.ev-btn-all:focus {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(46,125,50,0.16);
  opacity: 0.98;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .ev-upcoming-simple { padding: 18px; margin: 20px 12px; }
  .ev-up-simple-item { padding: 12px; min-height: auto; }
  .ev-up-simple-header { align-items: flex-start; gap: 10px; }
  .ev-up-simple-date { width: 60px; padding: 6px 4px; }
  .ev-up-simple-day { font-size: 16px; }
  .ev-upcoming-simple-sub { font-size: 14px; }
  .ev-up-simple-actions { gap: 8px; margin-top: 10px; }
  .ev-btn-syllabus, .ev-btn-mcq { flex: 1; justify-content: center; }
}

/* Focus / accessibility */
.ev-btn:focus,
.ev-up-simple-title-item a:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(46,125,50,0.12);
  border-radius: 8px;
}

/* Small visual refinement for very tight widths */
@media (max-width: 420px) {
  .ev-upcoming-simple { padding: 14px; margin: 12px 8px; }
  .ev-upcoming-simple-title { font-size: 20px; }
  .ev-up-simple-title-item { font-size: 15px; }
  .ev-btn-all { padding: 10px 18px; font-size: 14px; }
}
/* ===========================================================================
   Jobs Section — Card list (no horizontal scroll)
   - Single-column on phones, two-column grid on large screens
   - Each job is a separate card, clear spacing, due date visible
   =========================================================================== */

:root{
  --ev-bg: #ffffff;
  --ev-border: #eef4ea;
  --ev-text: #1f3528;
  --ev-muted: #6b7a6b;
  --ev-link: #0b66b2;
  --ev-link-hover: #084a8a;
  --ev-accent: #2d8a34;
  --ev-shadow: rgba(20,60,20,0.04);
}

/* Section container */
.ev-jobs-section{
  background: var(--ev-bg);
  border-radius: 12px;
  padding: 22px;
  margin: 28px auto;
  border: 1px solid var(--ev-border);
  box-shadow: 0 10px 22px var(--ev-shadow);
  max-width: 1200px;
}

/* Header */
.ev-jobs-head{ margin-bottom: 12px; }
.ev-jobs-title{ color: var(--ev-text); font-size: 22px; margin:0; font-weight:800; }
.ev-jobs-sub{ color: var(--ev-muted); margin:6px 0 0; font-size:14px; }

/* Jobs list grid */
.ev-jobs-list{
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

/* Single card */
.ev-job-card{
  display: flex;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid #f0f3f0;
  padding: 14px;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(10,30,10,0.02);
  transition: transform .12s ease, box-shadow .12s ease;
  overflow: hidden; /* prevent inner overflow */
}

/* hover effect */
.ev-job-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(10,30,10,0.06);
}

/* Left date box */
.ev-job-left{ flex: 0 0 84px; display:flex; align-items:center; justify-content:center; }
.ev-job-date{
  text-align:center;
  width:64px;
  height:64px;
  border-radius:8px;
  background:#3e3d77;
  border:1px solid #eef6ee;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-shadow: 0 6px 12px rgba(10,30,10,0.02);
}
.ev-job-date-day{ font-weight:800; font-size:18px; color:#ffffff; line-height:1; }
.ev-job-date-mon{ font-size:12px; color:#ffffff; margin-top:4px; }

/* Center content */
.ev-job-center{ flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:6px; }
.ev-job-link{ color:var(--ev-link); text-decoration:none; font-weight:700; display:inline-block; }
.ev-job-link:hover, .ev-job-link:focus{ color:var(--ev-link-hover); text-decoration:underline; outline:none; }

/* Title clamp (max 2 lines) */
.ev-job-title {
  display: block;
  overflow: visible;
  text-overflow: clip;
  -webkit-line-clamp: none; /* remove clamp */
  -webkit-box-orient: initial;
  white-space: normal;      /* allow wrapping */
  font-size: 16px;
  line-height: 1.3;
}


/* Terms small label (muted) */
.ev-job-terms{ font-size:13px; color:var(--ev-muted); }

/* Posted small shown under title (subtle) */
.ev-job-posted-small{ font-size:13px; color:var(--ev-muted); }

/* Right column: due + chevron */
.ev-job-right{ flex: 0 0 140px; display:flex; flex-direction:column; align-items:flex-end; gap:8px; min-width:120px; }
.ev-job-due{ text-align:right; }
.ev-due-label{ font-size:12px; color:var(--ev-muted); font-weight:700; }
.ev-due-date{ font-size:15px; color:var(--ev-text); font-weight:800; }

/* chevron indicator */
.ev-job-chevron{ font-size:26px; color:#c8c8c8; transform: translateY(2px); }

/* Footer button */
.ev-jobs-footer{ margin-top:18px; text-align:center; }
.ev-jobs-all{
  display:inline-block;
  padding:10px 22px;
  border-radius:999px;
  background: linear-gradient(180deg,var(--ev-accent), #25692a);
  color:#fff; font-weight:800; text-decoration:none;
  box-shadow: 0 12px 30px rgba(46,125,50,0.12);
}
.ev-jobs-all:hover{ transform: translateY(-3px); box-shadow: 0 18px 44px rgba(46,125,50,0.16); }

/* Responsive: mobile stacked (single column) */
@media (max-width: 760px){
  .ev-jobs-list{ gap:12px; }
  .ev-job-card{ padding:12px; gap:12px; align-items:flex-start; }
  .ev-job-left{ flex: 0 0 72px; }
  .ev-job-center{ gap:4px; }
  .ev-job-right{ flex: 0 0 110px; align-items:flex-end; }
  .ev-job-title{ -webkit-line-clamp:3; font-size:15px; }
  .ev-job-terms{ display:block; }
}

/* Desktop: two columns for wide screens */
@media (min-width: 1100px){
  .ev-jobs-list{ grid-template-columns: 1fr 1fr; gap:18px; }
  .ev-job-right{ min-width:140px; }
}

/* Very small tweaks for tiny screens */
@media (max-width:420px){
  .ev-job-left{ flex:0 0 60px; }
  .ev-job-date{ width:56px; height:56px; }
  .ev-job-right{ flex:0 0 100px; }
}
/*
Theme Name: GeneratePress Child
Theme URI:  https://example.com/
Author:     Your Name
Template:   generatepress
Version:    1.0.0
Description: Child theme for GeneratePress with Education News section
*/

/* --------------------------
   🔹 GENERAL SECTION STYLES
--------------------------- */
.gp-section {
  padding: 48px 20px;
  margin: 0 auto 48px;
  max-width: 1200px;
  box-sizing: border-box;
  border-radius: 12px;
  background: transparent;
}

/* Header (Title + Subtitle) */
.gp-section__header {
  margin-bottom: 28px;
  text-align: left;
}
.gp-section__title {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 6px;
  font-weight: 700;
}
.gp-section__subtitle {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.5;
}

/* --------------------------
   🔹 GRID SYSTEM
--------------------------- */
.gp-section--grid .gp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gp-section--grid .gp-post {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gp-section--grid .gp-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Thumbnail */
.gp-post__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border-bottom: 1px solid #eee;
}

/* Post Body */
.gp-post__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}
.gp-post__meta {
  font-size: 13px;
  color: #777;
}
.gp-post__title {
  font-size: 16px;
  line-height: 1.35;
  margin: 0;
  font-weight: 700;
}
.gp-post__title a {
  color: #111;
  text-decoration: none;
  transition: color 0.2s ease;
}
.gp-post__title a:hover {
  color: #0073aa;
}
.gp-post__excerpt {
  font-size: 14px;
  color: #444;
  line-height: 1.55;
  margin-top: auto;
}

/* --------------------------
   🔹 EDUCATION NEWS THEME
--------------------------- */
.gp-section--education-news {
  background: #f8fafc;
  border-top: 3px solid #0073aa;
  border-radius: 12px;
  padding-top: 52px;
  padding-bottom: 52px;
}
.gp-section--education-news .gp-section__title {
  color: #0073aa;
}
.gp-section--education-news .gp-section__subtitle {
  color: #555;
}
.gp-section--education-news .gp-post__title a {
  color: #111;
}
.gp-section--education-news .gp-post__title a:hover {
  color: #0073aa;
}

/* --------------------------
   🔹 RESPONSIVE STYLES
--------------------------- */
@media (max-width: 1024px) {
  .gp-section--grid .gp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .gp-section__title {
    font-size: 24px;
  }
}

@media (max-width: 680px) {
  .gp-section--grid .gp-grid {
    grid-template-columns: 1fr;
  }
  .gp-section {
    padding: 32px 16px;
  }
  .gp-section__title {
    font-size: 22px;
  }
  .gp-section__subtitle {
    font-size: 14px;
  }
}

/* --------------------------
   🔹 HOVER & FOCUS EFFECTS
--------------------------- */
.gp-post a:focus,
.gp-post a:hover {
  text-decoration: none;
}

.gp-post:focus-within {
  outline: 2px solid #0073aa;
  outline-offset: 2px;
}

/* --------------------------
   🔹 IMAGE FALLBACK
--------------------------- */
.gp-post__thumb[style*="background-color"] {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #888;
  font-style: italic;
  background: #f1f1f1;
}

/* --------------------------
   🔹 VISUAL SMOOTHNESS
--------------------------- */
.gp-section {
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ===========================
   Education YouTube Section
   ===========================
   Paste into your child theme style.css
*/

/* --- CSS variables (easy theming) --- */
:root {
  --gp-section-bg: #ffffff;
  --gp-section-accent: #0073aa;
  --gp-text: #111111;
  --gp-muted: #6f6f6f;
  --gp-radius: 10px;
  --gp-gap: 18px;
  --gp-shadow: 0 6px 18px rgba(15, 15, 15, 0.06);
}

/* Section container */
.gp-section--education-youtube {
  background: var(--gp-section-bg);
  border-radius: var(--gp-radius);
  padding: 28px 20px;
  box-sizing: border-box;
  margin-bottom: 36px;
}

/* Header */
.gp-section--education-youtube .gp-section__header {
  margin-bottom: 18px;
}
.gp-section--education-youtube .gp-section__title {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.15;
  color: var(--gp-text);
  font-weight: 700;
}
.gp-section--education-youtube .gp-section__subtitle {
  margin: 0;
  color: var(--gp-muted);
  font-size: 14px;
}

/* Grid layout */
.gp-section--education-youtube .gp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gp-gap);
  align-items: start;
  list-style: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Each video card */
.gp-post--youtube {
  display: flex;
  flex-direction: column;
  background: transparent;
  border-radius: 8px;
  overflow: visible;
  min-height: 1px;
}

/* Clickable thumbnail wrapper */
.gp-youtube__thumb-link {
  display: block;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: block;
  border-radius: 8px;
  transition: transform .16s ease, box-shadow .16s ease;
}

/* Thumbnail image area (background image) */
.gp-post--youtube .gp-post__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  box-shadow: var(--gp-shadow);
  display: block;
  position: relative;
  transition: transform .18s ease, filter .18s ease;
  will-change: transform;
}

/* Play icon overlay */
.gp-youtube__thumb-link::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}
.gp-youtube__thumb-link .gp-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, background .18s ease;
  z-index: 3;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.gp-youtube__thumb-link .gp-play::before {
  content: "";
  display: inline-block;
  margin-left: 3px;
  width: 0;
  height: 0;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

/* Title & meta block */
.gp-post--youtube .gp-post__body {
  padding: 12px 6px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gp-post--youtube .gp-post__title {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--gp-text);
}
.gp-post--youtube .gp-post__title a {
  color: inherit;
  text-decoration: none;
  display: inline;
}
.gp-post--youtube .gp-post__title a:focus,
.gp-post--youtube .gp-post__title a:hover {
  color: var(--gp-section-accent);
  text-decoration: underline;
  outline: none;
}

/* Date/meta */
.gp-post--youtube .gp-post__meta {
  font-size: 13px;
  color: var(--gp-muted);
  margin-top: 4px;
}

/* Hover/focus effect */
.gp-youtube__thumb-link:hover .gp-post__thumb,
.gp-youtube__thumb-link:focus .gp-post__thumb {
  transform: translateY(-6px) scale(1.01);
  filter: brightness(0.98);
}
.gp-youtube__thumb-link:focus {
  box-shadow: 0 0 0 3px rgba(0,115,170,0.12);
  border-radius: 8px;
  outline: none;
}
.gp-youtube__thumb-link:hover .gp-play,
.gp-youtube__thumb-link:focus .gp-play {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(0,0,0,0.55);
}

/* If the thumbnail is a generic/placeholder grey (YouTube sometimes returns),
   add a subtle gradient and centered icon to make it look intentional */
.gp-post__thumb[style*="hqdefault.jpg"] {
  background-color: #f1f1f1;
}
.gp-post__thumb[style*="hqdefault.jpg"]:empty {
  background-image: linear-gradient(180deg, #f6f6f6 0%, #eee 100%);
}

/* Small utilities */
.gp-post--youtube a { color: inherit; }
.gp-post--youtube a img { max-width:100%; height:auto; display:block; }

/* Responsive breakpoints */
@media (max-width: 980px) {
  .gp-section--education-youtube .gp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gp-youtube__thumb-link .gp-play { width:48px; height:48px; }
  .gp-youtube__thumb-link .gp-play::before { border-left-width:13px; border-top-width:8px; border-bottom-width:8px; }
}

@media (max-width: 560px) {
  .gp-section--education-youtube {
    padding: 20px 12px;
  }
  .gp-section--education-youtube .gp-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gp-post--youtube .gp-post__body { padding-top: 10px; }
  .gp-section--education-youtube .gp-section__title { font-size: 20px; }
}

/* Accessibility: ensure focus outline is visible for keyboard users */
.gp-youtube__thumb-link:focus-visible,
.gp-post--youtube .gp-post__title a:focus-visible {
  outline: 3px solid rgba(0,115,170,0.14);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Print: hide thumbnails when printing */
@media print {
  .gp-section--education-youtube .gp-post__thumb,
  .gp-youtube__thumb-link .gp-play {
    display: none !important;
  }
}



/* ---- Custom single post styling for GeneratePress child theme ---- */

/* Hero area */
.gp-post-hero {
    position: relative;
    margin-bottom: 2.5rem;
    overflow: visible;
}

.gp-post-hero__image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(25,25,25,0.06);
}

/* inner contains title/meta and sits on top of image on wide screens */
.gp-post-hero__inner {
    max-width: 1000px;
    margin: -4.5rem auto 0; /* pulls title up over image */
    background: transparent;
    padding: 1rem 1.25rem;
}

/* Category pill */
.gp-post-cat {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-left: 4px solid #e23b3b; /* accent color */
    color: #e23b3b;
    margin-bottom: 0.75rem;
    text-decoration: none;
}

/* Title */
.entry-title {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(2rem, 5.5vw, 4.25rem); /* big headline */
    line-height: 0.95;
    margin: 0 0 0.9rem;
    font-weight: 800;
    color: #111;
}

/* Post meta row */
.gp-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.gp-post-meta__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gp-post-meta__author img {
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 4px 14px rgba(10,10,10,0.08);
}

.gp-post-meta__author-info {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.gp-author-name {
    font-weight: 700;
    display: inline-block;
}

.gp-post-date {
    font-size: 0.95rem;
    color: #666;
}

/* social small buttons */
.gp-post-meta__social { display: flex; gap: 0.5rem; align-items:center; }
.gp-social { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:4px; text-decoration:none; font-weight:700; background:#111; color:#fff; font-size:0.9rem; }
.gp-social:hover { opacity:0.85; }

/* Article content spacing */
.inside-article .entry-content {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.78;
}

/* Post footer navigation cards */
.gp-post-nav {
    display:flex;
    gap:1rem;
    margin: 2.25rem 0;
    flex-wrap:wrap;
}

.gp-post-nav__card {
    flex:1 1 45%;
    padding: 1rem;
    border-radius: 6px;
    background: #f7f7f7;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 18px rgba(20,20,20,0.03);
}

.gp-post-nav__label {
    font-size: 0.88rem;
    color:#666;
    margin-bottom:0.35rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.06em;
}

.gp-post-nav__title {
    font-weight:800;
    font-size:1.05rem;
}

/* Author box */
.gp-author-box {
    display:flex;
    gap:1rem;
    align-items:flex-start;
    margin: 1.75rem 0 2.5rem;
    padding-top:1rem;
    border-top:1px solid rgba(0,0,0,0.06);
}

.gp-author-box__avatar img { border-radius: 999px; }

.gp-author-box__name { margin:0 0 0.25rem; font-size:1.05rem; font-weight:800; }

.gp-author-box__bio { margin:0 0 0.5rem; color:#444; }

.gp-author-social {
    display:inline-block;
    margin-right:0.5rem;
    text-decoration:none;
    font-weight:700;
    color:#111;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .gp-post-hero__inner { margin: -2.5rem 1rem 0; }
    .gp-post-meta { flex-direction: row; gap: 0.5rem; }
    .gp-post-nav__card { flex:1 1 100%; }
}

/* Minor utility */
.entry-footer .page-links { margin-top: 1.25rem; }
