.pa-jobs-search {
    padding-bottom: 48px;
}

.pa-jobs-intro {
    background: #eef3f5;
    border-radius: 8px;
    margin-bottom: 24px;
    padding: 30px 32px;
}

.pa-jobs-intro h1 {
    margin: 4px 0 10px;
    font-size: 34px;
    font-weight: 700;
}

.pa-jobs-intro p {
    margin: 0;
    max-width: 760px;
    color: #5f6872;
    font-size: 16px;
    line-height: 1.65;
}

.pa-jobs-kicker {
    color: #777;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pa-region-panel,
.pa-job-card,
.pa-empty-state {
    background: #fff;
    border: 1px solid #e4e7ea;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.pa-region-panel {
    margin-bottom: 34px;
    padding: 24px;
}

.pa-region-heading,
.pa-section-heading,
.pa-job-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pa-region-heading {
    margin-bottom: 18px;
}

.pa-region-heading h2,
.pa-section-heading h2 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
}

.pa-region-heading p {
    margin: 0;
}

.pa-current-region {
    font-size: 12px;
    padding: 7px 10px;
}

.pa-region-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pa-region-buttons .btn {
    margin: 0;
}

.pa-job-section {
    margin-bottom: 38px;
}

.pa-section-heading {
    margin-bottom: 16px;
}

.pa-result-count {
    color: #68717b;
    font-size: 14px;
    font-weight: 600;
}

.pa-job-card {
    min-height: 285px;
    margin-bottom: 20px;
    padding: 22px;
    border-top: 3px solid #d9dde1;
}

.pa-job-card-ending {
    border-top-color: #d9232e;
}

.pa-job-card h3 {
    min-height: 48px;
    margin: 16px 0 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.pa-job-county {
    color: #68717b;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.pa-job-location {
    color: #555;
    margin-bottom: 18px;
}

.pa-job-location .fa {
    margin-right: 5px;
    color: #d9232e;
}

.pa-job-meta {
    margin: 0 0 16px;
}

.pa-job-meta > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0;
    border-top: 1px solid #edf0f2;
}

.pa-job-meta dt,
.pa-job-meta dd {
    margin: 0;
}

.pa-job-meta dt {
    color: #68717b;
    font-weight: 600;
}

.pa-job-meta dd {
    text-align: right;
    font-weight: 600;
}

.pa-job-requirement {
    margin: -3px 0 15px;
    color: #a41720;
    font-weight: 700;
}

.pa-view-vacancy {
    background: #d9232e;
    border-color: #d9232e;
    color: #fff;
    font-weight: 600;
}

.pa-view-vacancy:hover,
.pa-view-vacancy:focus {
    background: #b91d26;
    border-color: #b91d26;
    color: #fff;
}

.pa-empty-state {
    padding: 42px 24px;
    text-align: center;
    color: #68717b;
}

.pa-empty-state .fa {
    display: block;
    margin-bottom: 12px;
    color: #d9232e;
    font-size: 34px;
}

.pa-empty-state h3 {
    color: #333;
    font-size: 20px;
}

@media (max-width: 767px) {
    .pa-jobs-intro {
        padding: 24px 20px;
    }

    .pa-jobs-intro h1 {
        font-size: 28px;
    }

    .pa-region-heading,
    .pa-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .pa-region-buttons .btn {
        flex: 1 1 calc(50% - 8px);
    }

    .pa-job-card {
        min-height: 0;
    }
}


/* Integrated PA Jobs filter */
.pa-filter-panel {
    margin-bottom: 34px;
    padding: 0;
    background: #fff;
    border: 1px solid #e4e7ea;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    overflow: hidden;
}

.pa-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
}

.pa-filter-header h2 {
    margin: 2px 0 4px;
    font-size: 22px;
    font-weight: 700;
}

.pa-filter-header p {
    margin: 0;
    color: #68717b;
}

.pa-filter-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.pa-filter-count {
    color: #68717b;
    font-size: 13px;
    font-weight: 700;
}

.pa-filter-toggle {
    border-color: #d9dde1;
    font-weight: 600;
}

.pa-filter-toggle .fa {
    margin-right: 5px;
    color: #d9232e;
}

.pa-filter-form {
    padding: 24px;
    border-top: 1px solid #edf0f2;
    background: #fafbfc;
}

.pa-filter-group {
    min-width: 0;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
}

.pa-filter-group legend {
    width: auto;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    color: #343a40;
    font-size: 14px;
    font-weight: 700;
}

.pa-filter-label {
    display: block;
    margin-bottom: 7px;
    color: #555f69;
    font-size: 13px;
    font-weight: 700;
}

.pa-filter-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 10px;
    color: #4f5861;
    font-weight: 400;
    cursor: pointer;
}

.pa-filter-option input {
    width: auto;
    height: auto;
    margin: 3px 0 0;
    flex: 0 0 auto;
}

.pa-filter-subgroup {
    margin-top: 16px;
}

.pa-filter-days {
    margin-bottom: 16px;
    padding-top: 18px;
    border-top: 1px solid #e6e9ec;
}

.pa-filter-help {
    margin: -5px 0 12px;
    color: #7a838c;
    font-size: 13px;
}

.pa-day-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pa-day-option {
    margin: 0;
    cursor: pointer;
}

.pa-day-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pa-day-option span {
    display: block;
    min-width: 54px;
    padding: 8px 11px;
    border: 1px solid #d8dde2;
    border-radius: 6px;
    background: #fff;
    color: #59636d;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.pa-day-option input:checked + span {
    border-color: #d9232e;
    background: #d9232e;
    color: #fff;
}

.pa-day-option input:focus + span {
    outline: 2px solid rgba(217, 35, 46, .25);
    outline-offset: 2px;
}

.pa-filter-actions {
    margin-top: 22px;
}

.pa-filter-actions .btn {
    min-width: 150px;
    font-weight: 600;
}

.pa-filter-reset-form {
    display: inline-block;
    margin: -58px 0 22px 190px;
    vertical-align: top;
}

.pa-clear-filters {
    color: #68717b;
    font-weight: 600;
}

.pa-clear-filters:hover,
.pa-clear-filters:focus {
    color: #c41f29;
    text-decoration: none;
}

@media (max-width: 767px) {
    .pa-filter-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .pa-filter-header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .pa-filter-form {
        padding: 20px;
    }

    .pa-day-option {
        flex: 1 1 calc(25% - 8px);
    }

    .pa-day-option span {
        min-width: 0;
    }

    .pa-filter-reset-form {
        display: block;
        margin: -10px 20px 20px;
    }
}


/* August 2026 filter refinements */
.pa-jobs-search {
    padding-top: 18px;
}

.pa-jobs-intro {
    margin-top: 0;
}

/* Prevent the theme's fieldset/legend rule drawing through this heading. */
.pa-filter-days {
    border-top: 0;
    padding-top: 18px;
    position: relative;
}

.pa-filter-days::before {
    content: "";
    display: block;
    height: 1px;
    margin: 0 0 18px;
    background: #e6e9ec;
}

.pa-filter-days legend {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    border: 0;
}

/* Day buttons: white by default, Penderels red when selected. */
.pa-day-option span {
    background: #fff;
    border-color: #d8dde2;
    color: #59636d;
}

.pa-day-option input:checked + span {
    background: #d9232e;
    border-color: #d9232e;
    color: #fff;
}


.pa-days-selected {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #fbe9ea;
    color: #c41f29;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}

.pa-job-page {
    padding-top: 18px;
    padding-bottom: 48px;
}

.pa-job-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.pa-job-hero,
.pa-job-summary-card,
.pa-detail-card,
.pa-apply-card {
    background: #fff;
    border: 1px solid #e4e7ea;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.pa-job-hero {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 30px 32px;
    border-top: 4px solid #d9232e;
}

.pa-job-hero h1 {
    margin: 5px 0 10px;
    color: #4f5963;
    font-size: 34px;
    font-weight: 700;
}

.pa-jobs-kicker {
    color: #747d86;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pa-job-hero-location {
    margin: 0;
    color: #59636d;
    font-size: 17px;
}

.pa-job-hero-location .fa {
    margin-right: 6px;
    color: #d9232e;
}

.pa-equality-note {
    margin: 14px 0 0;
    color: #a41720;
    font-weight: 600;
}

.pa-job-reference {
    min-width: 205px;
    text-align: right;
}

.pa-job-reference span,
.pa-summary-item span {
    display: block;
    color: #747d86;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pa-job-reference strong {
    display: block;
    margin: 2px 0 14px;
    font-size: 17px;
}

.pa-job-summary-card {
    display: flex;
    margin: 18px 0 24px;
    overflow: hidden;
}

.pa-summary-item {
    flex: 1 1 0;
    padding: 18px 22px;
    border-right: 1px solid #edf0f2;
}

.pa-summary-item:last-child {
    border-right: 0;
}

.pa-summary-item strong {
    display: block;
    margin-top: 4px;
    color: #333;
    font-size: 17px;
}

.pa-job-content {
    display: flex;
    align-items: flex-start;
}

.pa-detail-card {
    margin-bottom: 20px;
    padding: 26px 28px;
}

.pa-detail-card h2,
.pa-apply-card h2 {
    margin: 0 0 18px;
    color: #4f5963;
    font-size: 23px;
    font-weight: 700;
}

.pa-detail-card h3 {
    margin: 24px 0 10px;
    color: #4f5963;
    font-size: 16px;
    font-weight: 700;
}

.pa-job-intro {
    margin-bottom: 20px;
    line-height: 1.7;
}

.pa-job-days {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pa-job-day {
    min-width: 110px;
    padding: 10px 12px;
    border: 1px solid #d9232e;
    border-radius: 6px;
    background: #fff;
}

.pa-job-day strong,
.pa-job-day span {
    display: block;
}

.pa-job-day strong {
    color: #c41f29;
}

.pa-job-day span {
    margin-top: 2px;
    color: #68717b;
    font-size: 13px;
}

.pa-clean-list {
    margin: 0;
    padding-left: 20px;
}

.pa-clean-list li {
    margin-bottom: 7px;
    line-height: 1.55;
}

.pa-info-note {
    margin: 18px 0;
    padding: 14px 16px;
    border-left: 3px solid #d9232e;
    background: #f7f8f9;
}

.pa-other-text {
    margin-top: 12px;
}

.pa-apply-card {
    position: sticky;
    top: 20px;
    padding: 24px;
    border-top: 4px solid #d9232e;
}

.pa-apply-card p {
    color: #68717b;
    line-height: 1.55;
}

.pa-apply-card .btn {
    margin-top: 10px;
    font-weight: 600;
}

.pa-apply-small {
    margin: 16px 0 0;
    font-size: 12px;
}

@media (max-width: 991px) {
    .pa-job-content {
        display: block;
    }

    .pa-apply-card {
        position: static;
        margin-bottom: 24px;
    }
}

@media (max-width: 767px) {
    .pa-job-hero {
        flex-direction: column;
        padding: 24px 20px;
    }

    .pa-job-hero h1 {
        font-size: 28px;
    }

    .pa-job-reference {
        min-width: 0;
        text-align: left;
    }

    .pa-job-summary-card {
        flex-wrap: wrap;
    }

    .pa-summary-item {
        flex: 1 1 50%;
        border-bottom: 1px solid #edf0f2;
    }

    .pa-detail-card {
        padding: 22px 20px;
    }
}


/* paJob approved visual refinement */
.pa-job-page {
    padding-top: 34px;
}

.pa-job-toolbar {
    margin-bottom: 34px;
}

.pa-job-toolbar .btn {
    min-width: 150px;
    padding: 10px 18px;
}

.pa-job-hero {
    padding: 34px 38px;
}

.pa-job-summary-card {
    margin-top: 26px;
}

.pa-summary-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 105px;
    padding: 20px 22px;
}

.pa-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #d9232e;
    color: #fff;
    font-size: 20px;
}

.pa-summary-item > div:last-child {
    min-width: 0;
}

.pa-summary-item small {
    display: block;
    margin-top: 3px;
    color: #68717b;
    line-height: 1.25;
}

@media (max-width: 767px) {
    .pa-job-page {
        padding-top: 24px;
    }

    .pa-job-toolbar {
        margin-bottom: 24px;
    }

    .pa-job-toolbar .btn {
        min-width: 0;
    }

    .pa-summary-item {
        min-height: 95px;
    }
}


/* Additional vacancy summary item */
.pa-job-summary-card {
    flex-wrap: wrap;
}

.pa-summary-item {
    min-width: 190px;
}


/* Final paJob visual refinements */
.pa-job-page {
    padding-top: 22px;
}

/* Equal clearance above and below the action buttons. */
.pa-job-toolbar {
    margin-top: 0;
    margin-bottom: 22px;
}

.pa-job-toolbar .btn {
    min-width: 150px;
    padding: 10px 18px;
}

.pa-section-icon {
    margin-right: 8px;
    color: #d9232e;
}

.pa-apply-card {
    background: #fff5f5;
    border-color: #f3d9db;
    border-top: 4px solid #d9232e;
}

.pa-apply-card h2 {
    display: flex;
    align-items: center;
}

.pa-apply-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 10px;
    border-radius: 50%;
    background: #d9232e;
    color: #fff;
    font-size: 16px;
}

@media (max-width: 767px) {
    .pa-job-page {
        padding-top: 18px;
    }

    .pa-job-toolbar {
        margin-bottom: 18px;
    }
}


/* Final toolbar / print / application refinements */
.pa-job-page {
    padding-top: 16px;
}

.pa-job-toolbar {
    margin-bottom: 16px;
}

.pa-job-toolbar .btn {
    min-width: 105px;
}

.pa-job-toolbar .fa {
    margin-right: 6px;
    color: #d9232e;
}

.pa-job-days {
    margin-top: 10px;
}

.pa-job-day {
    min-width: 120px;
}

.pa-apply-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
    color: #68717b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.pa-apply-divider::before,
.pa-apply-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #e6cfd2;
}

.pa-apply-card .btn-default {
    border-color: #d9232e;
    color: #c41f29;
    background: #fff;
}

.pa-apply-card .btn-default:hover,
.pa-apply-card .btn-default:focus {
    border-color: #d9232e;
    background: #fff0f1;
    color: #a91720;
}

@media print {
    header,
    .pa-job-toolbar,
    .pa-apply-card,
    footer {
        display: none !important;
    }

    .pa-job-page {
        padding-top: 0;
    }

    .pa-job-content > .col-md-8 {
        width: 100%;
    }

    .pa-job-hero,
    .pa-job-summary-card,
    .pa-detail-card {
        box-shadow: none;
    }
}


/* Toolbar clearance adjustment */
.pa-job-page {
    padding-top: 28px;
}

.pa-job-toolbar {
    margin-bottom: 18px;
}

.pa-job-toolbar .btn {
    cursor: pointer;
}


/* Back / Print controls moved into vacancy hero card */
.pa-job-page {
    padding-top: 18px;
}

.pa-job-toolbar-in-card {
    margin-top: 18px;
    margin-bottom: 0;
}

.pa-job-toolbar-in-card .btn {
    min-width: 105px;
    padding: 9px 16px;
}

@media (max-width: 767px) {
    .pa-job-toolbar-in-card {
        margin-top: 16px;
    }
}


/* In-card Apply Online button */
.pa-job-toolbar-in-card .pa-job-apply-button {
    min-width: 150px;
    color: #fff;
}

.pa-job-toolbar-in-card .pa-job-apply-button .fa {
    color: #fff;
}


/* Increase clearance above the first vacancy card */
.pa-job-page {
    padding-top: 32px;
}
