/* GA Careers — frontend styles */

/* Careers page overrides --------------------------------------------- */
/* Hide the theme-rendered page title on the Careers page */
.page-id-10320466 .entry-title,
.page-id-10320466 .post-title,
.page-id-10320466 h1.page-title,
.page-id-10320466 .et_pb_title_container h1,
.page-id-10320466 .et_pb_post_title,
.page-id-10320466 .et_post_meta_wrapper h1 {
    display: none !important;
}

/* Force the hero to break out of any constrained container and cap at 350px */
.page-id-10320466 .ga-careers-hero,
.ga-careers-hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 350px !important;
    max-height: 350px;
    overflow: hidden;
}
.ga-careers-hero .wp-block-cover__image-background {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.ga-careers-hero .wp-block-cover__inner-container {
    padding: 0 24px;
}

/* Listing section ---------------------------------------------------- */
.ga-careers-listing {
    background: #f6f7f8;
    padding: 80px 24px;
}
.ga-careers-listing__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.ga-careers-listing__heading {
    color: #003c71;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 32px;
}

/* Filters ------------------------------------------------------------ */
.ga-careers-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 40px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}
.ga-careers-filter { display: flex; flex-direction: column; gap: 6px; }
.ga-careers-filter span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #555;
}
.ga-careers-filter select,
.ga-careers-filter input[type="search"] {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    background: #fff;
}
.ga-careers-filter select:focus,
.ga-careers-filter input[type="search"]:focus {
    outline: none;
    border-color: #003c71;
    box-shadow: 0 0 0 2px rgba(0, 60, 113, 0.15);
}

@media (max-width: 768px) {
    .ga-careers-filters { grid-template-columns: 1fr; }
}

/* Grid + cards ------------------------------------------------------- */
.ga-careers-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
@media (max-width: 980px)  { .ga-careers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .ga-careers-grid { grid-template-columns: 1fr; } }

.ga-careers-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.ga-careers-card:hover {
    transform: translateY(-2px);
    border-color: #003c71;
    box-shadow: 0 6px 18px rgba(0, 60, 113, 0.08);
}
.ga-careers-card__link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    color: inherit;
    text-decoration: none;
    height: 100%;
}
.ga-careers-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ga-careers-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2f7;
    color: #003c71;
}
.ga-careers-tag--type { background: #003c71; color: #fff; }

.ga-careers-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #003c71;
    margin: 4px 0 0;
    line-height: 1.3;
}
.ga-careers-card__location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #555;
    font-size: 14px;
    margin: 0;
}
.ga-careers-card__location .dashicons { color: #00a77e; font-size: 18px; width: 18px; height: 18px; }
.ga-careers-card__summary {
    color: #444;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.ga-careers-card__closing {
    color: #888;
    font-size: 12px;
    font-style: italic;
    margin: 0;
}
.ga-careers-card__cta {
    margin-top: auto;
    font-weight: 600;
    color: #00a77e;
    font-size: 14px;
}
.ga-careers-card:hover .ga-careers-card__cta { color: #008a6a; }

/* Empty state -------------------------------------------------------- */
.ga-careers-empty,
.ga-careers-empty-state {
    text-align: center;
    background: #fff;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px 20px;
    color: #555;
    font-style: italic;
}
.ga-careers-empty a { color: #003c71; font-weight: 600; }

/* Single Job page --------------------------------------------------- */
.ga-job-single { background: #fff; }
.ga-job-hero {
    background: linear-gradient(135deg, #003c71 0%, #0b5a9e 100%);
    color: #fff;
    padding: 60px 24px 70px;
}
.ga-job-hero__inner {
    max-width: 900px;
    margin: 0 auto;
}
.ga-job-hero__back { margin: 0 0 16px; font-size: 14px; }
.ga-job-hero__back a { color: rgba(255,255,255,0.85); text-decoration: none; }
.ga-job-hero__back a:hover { color: #fff; text-decoration: underline; }
.ga-job-hero__title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 16px;
    color: #fff;
}
.ga-job-hero__summary {
    font-size: 18px;
    line-height: 1.55;
    max-width: 720px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.9);
}
.ga-job-hero__meta {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}
.ga-job-hero__meta li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
}
.ga-job-hero__meta .dashicons { font-size: 18px; width: 18px; height: 18px; color: #7cd0b2; }

.ga-job-hero__cta { margin: 0; }
.ga-job-hero__apply {
    display: inline-block;
    background: #00a77e;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
}
.ga-job-hero__apply:hover { background: #008a6a; color: #fff; }
.ga-job-hero__apply--secondary {
    background: #003c71;
}
.ga-job-hero__apply--secondary:hover { background: #0f2f4f; }

.ga-job-body {
    padding: 60px 24px 80px;
}
.ga-job-body__inner {
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
    color: #222;
}
.ga-job-body__inner h2 { color: #003c71; margin-top: 2em; }
.ga-job-body__inner h3 { color: #003c71; }
.ga-job-body__inner ul, .ga-job-body__inner ol { padding-left: 1.4em; }
.ga-job-body__inner li { margin-bottom: 0.4em; }

.ga-job-body__apply {
    margin-top: 48px;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.ga-job-back {
    color: #003c71;
    text-decoration: none;
    font-weight: 600;
}
.ga-job-back:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .ga-job-hero__title { font-size: 32px; }
    .ga-job-hero { padding: 40px 20px 50px; }
    .ga-job-body { padding: 40px 20px 60px; }
}
