* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f8fa;
    color: #222222;
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(229, 9, 47, 0.35);
    outline-offset: 3px;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================================
HEADER
========================================================= */

.header,
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    position: relative;
}

.logo,
.main-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    width: auto;
    height: 52px;
    flex-shrink: 0;
    min-width: 0;
}

.logo img,
.main-logo img {
    display: block;
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo > span,
.main-logo > span,
.logo-text,
.main-logo-text {
    color: #222222;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.logo > span > span,
.main-logo > span > span,
.logo-text > span,
.main-logo-text > span {
    color: #e5092f;
}

.header nav,
.main-nav,
.main-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header nav a,
.main-nav a,
.main-navigation a {
    text-decoration: none;
    color: #444444;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.header nav a:hover,
.main-nav a:hover,
.main-navigation a:hover {
    color: #e5092f;
}

.admin-link {
    text-decoration: none;
    color: #555555;
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 1px solid #dddddd;
    border-radius: 7px;
    background: #ffffff;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
}

.mobile-menu-button span {
    display: block;
    width: 23px;
    height: 2px;
    background: #222222;
    border-radius: 2px;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.mobile-menu-button:hover {
    border-color: #e5092f;
}

.mobile-menu-button.menu-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.menu-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.menu-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
HERO
========================================================= */

.hero {
    background: #ffffff;
    padding: 75px 0;
    border-bottom: 1px solid #eeeeee;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #111111;
}

.hero h1 span {
    color: #e5092f;
}

.hero p {
    max-width: 720px;
    margin: 0 auto 30px;
    color: #666666;
    font-size: 18px;
    line-height: 1.7;
}

.hero-section {
    background: #ffffff;
    padding: 80px 0;
    border-bottom: 1px solid #eeeeee;
}

.hero-section .hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    text-align: center;
}

.hero-text {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 54px;
    line-height: 1.12;
    color: #111111;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: #e5092f;
}

.hero-text p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: #666666;
    font-size: 18px;
    line-height: 1.7;
}

.hero-badge {
    display: inline-block;
    background: #fff1f3;
    color: #e5092f;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-highlight {
    display: inline-block;
    color: #e5092f;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* =========================================================
SEARCH
========================================================= */

.search-box,
.job-search {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 750px;
    background: #ffffff;
    padding: 7px;
    border: 1px solid #dddddd;
    border-radius: 9px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.search-box {
    margin: 0 auto;
}

.job-search {
    margin: 0 auto;
}

.search-box input,
.job-search input {
    flex: 1;
    min-width: 0;
    height: 56px;
    border: none;
    outline: none;
    padding: 0 14px;
    font-size: 16px;
    font-weight: 700;
    line-height: 56px;
    color: #222222;
    background: transparent;
    box-sizing: border-box;
}

.search-box input::placeholder,
.job-search input::placeholder {
    font-size: 16px;
    font-weight: 700;
    color: #666666;
    opacity: 1;
}

.search-box button,
.job-search button {
    height: 56px;
    border: none;
    background: #e5092f;
    color: #ffffff;
    padding: 0 28px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.search-box button:hover,
.job-search button:hover {
    background: #c70829;
}

.search-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

/* =========================================================
CATEGORIES
========================================================= */

.categories,
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category,
.category-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 25px;
    text-decoration: none;
    color: #222222;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.category {
    text-align: center;
    padding: 27px 20px;
}

.category:hover,
.category-card:hover {
    transform: translateY(-4px);
    border-color: #e5092f;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.category-icon {
    font-size: 35px;
    margin-bottom: 12px;
}

.category-card .category-icon {
    font-size: 36px;
    margin-bottom: 13px;
}

.category h3,
.category-card h3 {
    line-height: 1.4;
}

.category h3 {
    font-size: 17px;
}

.category-card h3 {
    margin-bottom: 7px;
    font-size: 18px;
}

.category-card span {
    color: #e5092f;
    font-size: 14px;
    font-weight: 700;
}

.category-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.clear-filter-button {
    padding: 8px 18px;
    background: #e5092f;
    color: #ffffff !important;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.clear-filter-button:hover {
    background: #c70829;
    color: #ffffff !important;
}

/* =========================================================
SECTIONS
========================================================= */

.section {
    padding: 70px 0;
}

.section-title {
    width: 100%;
    display: block;
    text-align: center;
    margin: 0 auto 38px;
}

.section-title h2 {
    color: #111111;
    font-size: 32px;
    line-height: 1.25;
    margin: 0 auto 9px;
    text-align: center;
}

.section-title p {
    color: #777777;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto;
    text-align: center;
}

/* =========================================================
JOBS
========================================================= */

.jobs,
.jobs-grid {
    display: grid;
    gap: 22px;
    align-items: stretch;
}

.jobs {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.jobs-grid {
    grid-template-columns: repeat(3, 1fr);
    margin: 20px 0;
    align-items: stretch;
}

/* =========================================================
JOB CARD
========================================================= */

.job-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 11px;
    padding: 24px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    min-height: 420px;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.job-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 17px;
    min-height: 27px;
}

.job-category,
.job-type {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
}

.job-category {
    background: #fff1f3;
    color: #e5092f;
}

.job-type {
    background: #f1f1f1;
    color: #555555;
}

.job-card h3 {
    color: #222222;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 8px;
    min-height: 56px;
    overflow-wrap: break-word;
}

.company,
.job-company {
    color: #e5092f;
    font-weight: 600;
    margin-bottom: 14px;
    min-height: 24px;
    overflow-wrap: break-word;
}

.job-info {
    margin: 15px 0;
    color: #666666;
    line-height: 1.9;
}

.job-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #666666;
    font-size: 14px;
    margin-bottom: 17px;
    min-height: 72px;
}

.job-meta span {
    overflow-wrap: break-word;
}

.job-last-date {
    margin: 15px 0;
    padding: 11px 13px;
    background: #fff8e6;
    border-left: 4px solid #e0a800;
    border-radius: 6px;
    color: #555555;
    font-size: 13px;
    min-height: 45px;
}

.job-last-date strong {
    color: #c00000;
}

.job-last-date span {
    font-weight: 600;
}

/* =========================================================
UNIVERSAL BUTTON
========================================================= */

.job-button,
a.job-button,
a.job-button:link,
a.job-button:visited,
a.job-button:hover,
a.job-button:focus,
a.job-button:active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 190px !important;
    min-width: 190px !important;
    height: 46px !important;
    min-height: 46px !important;
    margin-top: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 20px !important;
    background: #e5092f !important;
    color: #ffffff !important;
    text-decoration: none !important;
    text-align: center !important;
    border: 0 !important;
    border-radius: 7px !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    cursor: pointer;
    opacity: 1;
    white-space: nowrap;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.job-card .job-button {
    display: flex !important;
    flex-shrink: 0;
    margin-top: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

a.job-button:hover {
    background: #c70829 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

a.job-button:focus {
    background: #e5092f !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

a.job-button:active {
    background: #b40725 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* =========================================================
NO JOBS
========================================================= */

.no-jobs {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    background: #ffffff;
    padding: 50px 25px;
    border: 1px solid #e5e5e5;
    border-radius: 11px;
}

.no-jobs h3 {
    margin-bottom: 10px;
    color: #222222;
}

.no-jobs p {
    color: #777777;
}

.no-jobs a {
    display: inline-block;
    margin-top: 12px;
    color: #e5092f;
    text-decoration: none;
    font-weight: 700;
}

.no-jobs-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.no-jobs-actions {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================================
INFORMATION PAGES
========================================================= */

.about-section {
    padding: 64px 20px 80px;
    background: #f5f6f8;
    min-height: calc(100vh - 180px);
}

.about-section .container {
    max-width: 950px;
    margin: 0 auto;
}

.about-content {
    background: #ffffff;
    padding: 50px 56px;
    border: 1px solid #e2e5e8;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.info-header {
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 32px;
    border-bottom: 1px solid #eeeeee;
}

.info-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #e5092f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.info-header h1,
.about-content h1 {
    color: #111111;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 12px;
}

.info-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #6b7077;
    font-size: 16px;
    line-height: 1.7;
}

.info-section-block {
    padding: 0 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #eeeeee;
}

.info-section-block:last-of-type {
    margin-bottom: 0;
}

.info-section-block h2,
.about-content h2 {
    color: #222222;
    font-size: 23px;
    line-height: 1.35;
    margin: 0 0 14px;
}

.info-section-block p,
.about-content p {
    color: #4f555d;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 17px;
}

.info-section-block p:last-child {
    margin-bottom: 0;
}

.about-content ul,
.about-content ol {
    margin: 12px 0 8px;
    padding-left: 27px;
}

.about-content li {
    color: #4f555d;
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 9px;
}

.about-content a:not(.job-button) {
    color: #d4082b;
    font-weight: 600;
    text-decoration: none;
}

.about-content a:not(.job-button):hover {
    text-decoration: underline;
}

.info-list {
    margin-top: 12px;
}

/* =========================================================
INFORMATION PAGE BUTTONS
========================================================= */

.info-actions {
    width: 100%;
    margin-top: 30px;
    text-align: center;
}

.info-actions a.job-button,
.info-actions a.job-button:link,
.info-actions a.job-button:visited,
.info-actions a.job-button:hover,
.info-actions a.job-button:focus,
.info-actions a.job-button:active,
.about-cta a.job-button,
.about-cta a.job-button:link,
.about-cta a.job-button:visited,
.about-cta a.job-button:hover,
.about-cta a.job-button:focus,
.about-cta a.job-button:active {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 190px !important;
    min-width: 190px !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    background: #e5092f !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: 0 !important;
    border-radius: 7px !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    cursor: pointer;
}

.info-actions a.job-button:hover,
.about-cta a.job-button:hover {
    background: #c70829 !important;
    color: #ffffff !important;
}

.info-actions a.job-button:focus,
.info-actions a.job-button:active,
.about-cta a.job-button:focus,
.about-cta a.job-button:active {
    background: #e5092f !important;
}

/* =========================================================
CONTACT
========================================================= */

.contact-box {
    margin: 30px 0;
    padding: 28px;
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    border-left: 4px solid #e5092f;
    border-radius: 9px;
}

.contact-box h2 {
    color: #222222;
    font-size: 21px;
    margin: 0 0 10px;
}

.contact-box p {
    margin-bottom: 18px;
}

.contact-details {
    display: grid;
    gap: 12px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px 17px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
}

.contact-detail strong {
    color: #333333;
    font-size: 13px;
}

.contact-detail a {
    color: #e5092f;
    font-weight: 700;
    word-break: break-word;
}

/* =========================================================
FOOTER
========================================================= */

.footer,
.main-footer {
    background: #111111;
    color: #ffffff;
}

.footer {
    padding: 52px 20px 24px;
}

.main-footer {
    padding: 48px 0 25px;
}

.footer .container,
.main-footer .container {
    max-width: 1200px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 45px;
    align-items: start;
}

.footer-brand,
.footer-navigation,
.footer-legal {
    min-width: 0;
}

.footer-logo {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-size: 27px;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-logo span {
    color: #e5092f;
}

.footer-brand p {
    max-width: 360px;
    color: #bdbdbd;
    font-size: 14px;
    line-height: 1.75;
}

.footer-navigation h3,
.footer-legal h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: none;
}

.footer-links a {
    display: inline-block;
    color: #bdbdbd;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid #2b2b2b;
    text-align: center;
}

.footer .copyright {
    color: #888888;
    font-size: 13px;
    margin: 0;
}

.footer-content h3 {
    color: #ffffff;
}

.footer-content h3 span {
    color: #e5092f;
}

.footer-content p {
    color: #aaaaaa;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
}

/* =========================================================
JOB DETAILS
========================================================= */

.job-details-section {
    padding: 35px 0 70px;
    background: #f7f8fa;
}

.job-details {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    max-width: 950px;
    margin: auto;
    border: 1px solid #e5e5e5;
}

.job-details h1 {
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.job-details h2 {
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 24px;
}

.job-description {
    color: #4f555d;
    line-height: 1.85;
    font-size: 16px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #777777;
}

.breadcrumb a {
    color: #e5092f;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb strong {
    color: #333333;
}

.job-details-header {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 35px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

.job-details-header-left {
    flex: 1;
    min-width: 0;
}

.job-details-header h1 {
    color: #111111;
    font-size: 36px;
    line-height: 1.25;
    margin: 15px 0 8px;
}

.job-details-header h2 {
    color: #666666;
    font-size: 19px;
    margin: 0 0 20px;
    font-weight: 600;
}

.job-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.job-details-meta span {
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 6px;
    color: #555555;
    font-size: 14px;
}

.job-details-header-right {
    width: 230px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.apply-button {
    display: block;
    background: #e5092f;
    color: #ffffff !important;
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
}

.apply-button:hover,
.apply-button-large:hover,
.official-button:hover {
    background: #c70829;
    color: #ffffff !important;
}

.deadline-box {
    background: #fff3f3;
    border: 1px solid #ffd5d5;
    border-radius: 8px;
    padding: 14px;
    text-align: center;
}

.deadline-box span {
    display: block;
    color: #777777;
    font-size: 12px;
    margin-bottom: 5px;
}

.deadline-box strong {
    color: #d00000;
    font-size: 16px;
}

/* =========================================================
JOB DETAILS LAYOUT
========================================================= */

.job-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 25px;
    align-items: start;
}

.job-main-content {
    min-width: 0;
}

.job-content-box {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px;
}

.job-content-box h2 {
    color: #222222;
    margin-top: 0;
    margin-bottom: 22px;
    font-size: 25px;
}

.job-content-box .job-description {
    color: #555555;
    line-height: 1.85;
    font-size: 15px;
}

/* =========================================================
OFFICIAL / NOTICE BOXES
========================================================= */

.official-box {
    margin-top: 20px;
    background: #fff5f6;
    border: 1px solid #f1c7cd;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 20px;
}

.official-icon {
    flex-shrink: 0;
    font-size: 38px;
}

.official-content {
    flex: 1;
    min-width: 0;
}

.official-content h2 {
    color: #222222;
    margin: 0 0 10px;
    font-size: 22px;
}

.official-content p {
    color: #666666;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 12px;
}

.official-button {
    display: inline-block;
    background: #e5092f;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 11px 17px;
    border-radius: 7px;
    font-weight: 700;
    margin-top: 8px;
}

.official-button:hover {
    background: #c70829;
    color: #ffffff !important;
}

.no-link {
    color: #999999 !important;
    font-style: italic;
}

/* =========================================================
APPLICATION
========================================================= */

.apply-section {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px;
    margin-top: 20px;
}

.apply-section h2 {
    color: #222222;
    margin-top: 0;
    margin-bottom: 8px;
}

.apply-section p {
    color: #666666;
}

.apply-button-large {
    display: inline-block;
    margin-top: 10px;
    padding: 14px 28px;
    background: #e5092f;
    color: #ffffff !important;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
}

.apply-button-large:hover {
    background: #c70829;
    color: #ffffff !important;
}

/* =========================================================
JOB SIDEBAR
========================================================= */

.job-sidebar {
    position: sticky;
    top: 95px;
}

.sidebar-box {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 25px;
}

.sidebar-box h3 {
    color: #222222;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
}

.info-row {
    padding: 14px 0;
    border-bottom: 1px solid #eeeeee;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span {
    display: block;
    color: #888888;
    font-size: 12px;
    margin-bottom: 5px;
}

.info-row strong {
    display: block;
    color: #333333;
    line-height: 1.4;
    word-break: break-word;
}

.deadline-text {
    color: #d00000 !important;
}

/* =========================================================
SUGGESTIONS
========================================================= */

.suggestions-section {
    margin-top: 70px;
}

.suggestions-section .section-title {
    margin-bottom: 30px;
}

/* =========================================================
QUICK FILTERS
========================================================= */

.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: center;
    margin-top: 20px;
}

.quick-filters > span {
    color: #777777;
    font-weight: 500;
}

.filter-tag {
    background: #ffffff;
    border: 1px solid #dddddd;
    color: #555555;
    padding: 7px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
}

.filter-tag:hover {
    border-color: #e5092f;
    color: #e5092f;
}

/* =========================================================
FEATURES
========================================================= */

.features-section {
    padding: 75px 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.feature-item {
    background: #ffffff;
    padding: 30px 22px;
    border: 1px solid #e5e5e5;
    border-radius: 11px;
    text-align: center;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #333333;
    font-size: 19px;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666666;
    line-height: 1.7;
}

/* =========================================================
ABOUT CTA
========================================================= */

.about-cta {
    width: 100%;
    margin-top: 30px;
    text-align: center;
}

.about-cta a.job-button,
.about-cta a.job-button:link,
.about-cta a.job-button:visited,
.about-cta a.job-button:hover,
.about-cta a.job-button:focus,
.about-cta a.job-button:active {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 190px !important;
    min-width: 190px !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    background: #e5092f !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: 0 !important;
    border-radius: 7px !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    cursor: pointer;
}

.about-cta a.job-button:hover {
    background: #c70829 !important;
    color: #ffffff !important;
}

/* =========================================================
PUBLIC STATS
========================================================= */

.stats-section {
    background: #222222;
    padding: 55px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    text-align: center;
}

.stat-item {
    color: #ffffff;
    padding: 18px;
}

.stat-item .stat-number {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 7px;
}

.stat-item .stat-label {
    color: #cccccc;
    font-size: 15px;
}

/* =========================================================
ADMIN LOGIN
========================================================= */

.admin-login {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f4f5f7;
}

.admin-login-box {
    width: 100%;
    max-width: 430px;
    margin: 0;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.admin-logo {
    display: block;
    text-align: center;
    color: #222222;
    font-size: 30px;
    font-weight: 800;
    margin: 0 auto 25px;
    text-decoration: none;
}

.admin-logo span {
    color: #e5092f;
}

.admin-login-box h1 {
    color: #222222;
    text-align: center;
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.3;
}

.admin-subtitle {
    color: #777777;
    text-align: center;
    margin: 0 0 30px;
    font-size: 15px;
    line-height: 1.6;
}

.admin-login-box label {
    display: block;
    color: #333333;
    margin-bottom: 7px;
    font-weight: 600;
    font-size: 14px;
}

.admin-login-box input {
    width: 100%;
    height: 48px;
    padding: 12px 13px;
    border: 1px solid #dcdcdc;
    border-radius: 7px;
    margin-bottom: 20px;
    font-size: 15px;
    outline: none;
    background: #ffffff;
    color: #222222;
}

.admin-login-box input:focus {
    border-color: #e5092f;
    box-shadow: 0 0 0 3px rgba(229, 9, 47, 0.08);
}

.admin-login-box button {
    width: 100%;
    height: 48px;
    padding: 12px 14px;
    border: none;
    border-radius: 7px;
    background: #e5092f;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.admin-login-box button:hover {
    background: #c70829;
}

.admin-error {
    background: #fff0f0;
    color: #c00000;
    border: 1px solid #ffd0d0;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.back-home {
    display: block;
    text-align: center;
    margin-top: 25px;
    color: #666666;
    text-decoration: none;
    font-weight: 600;
}

.back-home:hover {
    color: #e5092f;
}

/* =========================================================
ADMIN HEADER
========================================================= */

.admin-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 18px 0;
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo-small {
    text-decoration: none;
    color: #222222;
    font-size: 25px;
    font-weight: 800;
}

.admin-logo-small span {
    color: #e5092f;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #555555;
}

.admin-user a {
    text-decoration: none;
    background: #222222;
    color: #ffffff !important;
    padding: 8px 15px;
    border-radius: 5px;
}

.admin-user a:hover {
    background: #e5092f;
    color: #ffffff !important;
}

/* =========================================================
ADMIN DASHBOARD
========================================================= */

.admin-dashboard {
    padding: 45px 0;
}

.dashboard-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-title h1 {
    color: #222222;
    font-size: 32px;
    margin-bottom: 5px;
}

.dashboard-title p {
    color: #777777;
}

.add-job-button {
    display: inline-block;
    background: #e5092f;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 13px 20px;
    border-radius: 7px;
    font-weight: 700;
}

.add-job-button:hover {
    background: #c70829;
    color: #ffffff !important;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 25px;
}

.stat-card .stat-number {
    color: #e5092f;
    font-size: 30px;
    font-weight: 700;
}

.stat-card .stat-label {
    color: #777777;
    margin-top: 7px;
}

/* =========================================================
ADMIN SECTIONS
========================================================= */

.dashboard-section {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.dashboard-section h2 {
    color: #222222;
    margin-bottom: 20px;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.section-heading-row h2 {
    margin: 0;
}

.section-heading-row a {
    color: #e5092f;
    text-decoration: none;
    font-weight: 700;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.quick-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    text-decoration: none;
    color: #222222;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.quick-card:hover {
    border-color: #e5092f;
}

.quick-card span {
    font-size: 28px;
}

.quick-card strong {
    font-size: 17px;
}

.quick-card small {
    color: #777777;
}

/* =========================================================
ADMIN TABLE
========================================================= */

.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    background: #f5f5f5;
    color: #333333;
    padding: 13px;
    font-size: 14px;
    white-space: nowrap;
}

.admin-table td {
    padding: 14px 13px;
    border-top: 1px solid #eeeeee;
    color: #555555;
    font-size: 14px;
    vertical-align: middle;
}

.empty-table {
    text-align: center;
    color: #777777;
}

.table-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.table-actions a {
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

.view-action {
    background: #eeeeee;
    color: #333333 !important;
}

.edit-action {
    background: #e5092f;
    color: #ffffff !important;
}

.delete-action {
    background: #ffe1e1;
    color: #c00000 !important;
}

.back-dashboard {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: #e5092f;
    font-weight: 700;
}

/* =========================================================
ADD / EDIT JOB FORM
========================================================= */

.job-form-container {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 35px;
    max-width: 900px;
    margin: 0 auto;
}

.success-message {
    background: #e7f8ed;
    color: #187a3d;
    border: 1px solid #b7e8c7;
    padding: 14px;
    border-radius: 7px;
    margin-bottom: 25px;
}

.job-form {
    width: 100%;
}

.form-group {
    margin-bottom: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #dddddd;
    border-radius: 7px;
    font-size: 15px;
    outline: none;
    background: #ffffff;
    color: #222222;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #e5092f;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.form-group small {
    display: block;
    margin-top: 7px;
    color: #888888;
    font-size: 13px;
}

.form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
}

.cancel-button {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 7px;
    background: #eeeeee;
    color: #333333 !important;
    text-decoration: none !important;
    font-weight: 600;
}

.cancel-button:hover {
    background: #dddddd;
    color: #333333 !important;
}

.publish-button {
    border: none;
    padding: 13px 25px;
    border-radius: 7px;
    background: #e5092f;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.publish-button:hover {
    background: #c70829;
    color: #ffffff !important;
}

/* =========================================================
DELETE CONFIRMATION
========================================================= */

.delete-box {
    max-width: 600px;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.delete-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.delete-box h1 {
    color: #222222;
    margin-bottom: 10px;
}

.delete-box > p {
    color: #777777;
}

.delete-job-preview {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.delete-job-preview h2 {
    margin-bottom: 8px;
}

.delete-job-preview p {
    margin: 5px;
    color: #666666;
}

.delete-warning {
    color: #c00000 !important;
    font-weight: 600;
}

.delete-box form {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.delete-confirm-button {
    border: none;
    padding: 13px 22px;
    border-radius: 7px;
    background: #d00000;
    color: #ffffff !important;
    font-weight: 700;
    cursor: pointer;
}

.delete-confirm-button:hover {
    background: #a80000;
    color: #ffffff !important;
}

/* =========================================================
RESPONSIVE - MOBILE / PERFORMANCE OPTIMIZED
========================================================= */

@media (max-width: 700px) {

    html {
        scroll-behavior: auto;
    }

    body {
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
    }

    .container {
        width: min(92%, 1200px);
    }

    /* HEADER */

    .header-content {
        min-height: 58px;
        padding: 5px 0;
        gap: 8px;
    }

    .logo,
    .main-logo {
        height: 34px;
        gap: 7px;
        min-width: 0;
        max-width: calc(100% - 50px);
    }

    .logo img,
    .main-logo img {
        display: block;
        width: 30px !important;
        height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;
        object-fit: contain;
        flex: 0 0 30px;
    }

    .logo > span,
    .main-logo > span,
    .logo-text,
    .main-logo-text {
        font-size: 18px;
        font-weight: 800;
        line-height: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo > span > span,
    .main-logo > span > span,
    .logo-text > span,
    .main-logo-text > span {
        color: #e5092f;
    }

    .mobile-menu-button {
        display: flex;
        width: 40px;
        height: 40px;
        padding: 7px;
        border-radius: 7px;
        flex: 0 0 40px;
    }

    .mobile-menu-button span {
        width: 21px;
        height: 2px;
    }

    .header nav,
    .main-nav,
    .main-navigation {
        display: none;
    }

    .main-navigation.mobile-menu-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        padding: 4px 0;
        background: #ffffff;
        border-top: 1px solid #eeeeee;
        border-bottom: 1px solid #e5e5e5;
        box-shadow: 0 5px 14px rgba(0, 0, 0, 0.07);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        z-index: 999;
    }

    .main-navigation.mobile-menu-open a {
        display: block;
        width: 100%;
        padding: 13px 20px;
        color: #333333;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-navigation.mobile-menu-open a:last-child {
        border-bottom: none;
    }

    /* HERO */

    .hero,
    .hero-section {
        padding: 42px 0;
    }

    .hero-content,
    .hero-section .hero-content {
        min-height: auto;
    }

    .hero h1,
    .hero-text h1 {
        font-size: clamp(30px, 8vw, 37px);
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .hero p,
    .hero-text p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 22px;
    }

    .hero-badge {
        margin-bottom: 14px;
    }

    /* SEARCH */

    .search-box,
    .job-search {
        width: 100%;
        max-width: 750px;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 6px;
        gap: 6px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.045);
    }

    .search-box input,
    .job-search input {
        width: 100%;
        height: 48px;
        min-width: 0;
        padding: 12px 14px;
        line-height: 1.4;
        font-size: 16px;
    }

    .search-box button,
    .job-search button,
    .search-wrapper button {
        width: 100%;
        height: 46px;
        min-height: 46px;
        padding: 0 18px;
    }

    .search-wrapper {
        width: 100%;
        max-width: 750px;
        margin-left: auto !important;
        margin-right: auto !important;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .search-wrapper input {
        width: 100%;
        padding: 13px 15px;
    }

    .search-icon {
        display: none;
    }

    /* SECTIONS */

    .section {
        padding: 44px 0;
    }

    .section-title {
        margin: 0 auto 28px;
    }

    .section-title h2 {
        font-size: clamp(26px, 7vw, 30px);
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .section-title p {
        font-size: 14px;
        line-height: 1.55;
    }

    /* BELOW-THE-FOLD CONTENT
       Delays rendering work until these sections approach the viewport. */

    .features-section,
    .stats-section,
    .suggestions-section,
    .footer,
    .main-footer {
        content-visibility: auto;
        contain-intrinsic-size: auto 600px;
    }

    /* GRIDS */

    .categories,
    .category-grid,
    .jobs,
    .jobs-grid,
    .features-grid,
    .stats-grid,
    .dashboard-stats,
    .quick-actions {
        grid-template-columns: 1fr;
    }

    /* CATEGORIES */

    .categories,
    .category-grid {
        gap: 14px;
    }

    .category,
    .category-card {
        padding: 20px;
    }

    .category:hover,
    .category-card:hover,
    .job-card:hover,
    .feature-item:hover {
        transform: none;
        box-shadow: none;
    }

    /* JOB CARDS */

    .jobs,
    .jobs-grid {
        gap: 14px;
        margin: 16px 0;
    }

    .job-card {
        padding: 18px;
        min-height: 0;
        height: auto;
        border-radius: 10px;
        box-shadow: none;
        transition: none;
    }

    .job-card-top {
        margin-bottom: 13px;
        gap: 6px;
        min-height: 0;
    }

    .job-category,
    .job-type {
        padding: 5px 8px;
        font-size: 10px;
    }

    .job-card h3 {
        font-size: 18px;
        line-height: 1.35;
        min-height: 0;
        margin-bottom: 7px;
    }

    .company,
    .job-company {
        min-height: 0;
        margin-bottom: 12px;
        font-size: 14px;
    }

    .job-meta {
        min-height: 0;
        gap: 6px;
        margin-bottom: 12px;
        font-size: 13px;
    }

    .job-last-date {
        min-height: 0;
        margin: 12px 0;
        padding: 10px 12px;
    }

    .job-card .job-button,
    a.job-button {
        width: 100% !important;
        min-width: 0 !important;
        height: 44px !important;
        min-height: 44px !important;
        margin: 12px 0 0 !important;
        padding: 0 16px !important;
        border-radius: 7px !important;
        font-size: 14px !important;
    }

    /* QUICK FILTERS */

    .quick-filters {
        gap: 7px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 3px;
        scrollbar-width: none;
    }

    .quick-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-tag {
        flex: 0 0 auto;
        padding: 7px 12px;
    }

    /* INFORMATION PAGES */

    .about-section {
        padding: 32px 0 45px;
    }

    .about-content {
        padding: 28px 20px;
        border-radius: 10px;
        box-shadow: none;
    }

    .info-header {
        padding-bottom: 22px;
        margin-bottom: 24px;
    }

    .info-header h1,
    .about-content h1 {
        font-size: 27px;
        line-height: 1.2;
    }

    .info-section-block {
        padding-bottom: 22px;
        margin-bottom: 22px;
    }

    .info-section-block h2,
    .about-content h2 {
        font-size: 20px;
    }

    .about-content p,
    .about-content li,
    .info-section-block p {
        font-size: 14px;
        line-height: 1.7;
    }

    /* CONTACT */

    .contact-box {
        padding: 20px;
        margin: 22px 0;
    }

    .contact-detail {
        padding: 13px 14px;
    }

    /* INFORMATION BUTTONS */

    .info-actions,
    .about-cta {
        width: 100%;
        text-align: center;
    }

    .info-actions a.job-button,
    .about-cta a.job-button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 280px;
        height: 44px !important;
        min-height: 44px !important;
        margin: 0 auto !important;
    }

    /* FOOTER */

    .footer,
    .main-footer {
        padding: 38px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-navigation,
    .footer-legal {
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-bottom {
        margin-top: 25px;
    }

    /* JOB DETAILS */

    .job-details-section {
        padding: 22px 0 45px;
    }

    .breadcrumb {
        gap: 5px;
        margin-bottom: 16px;
        font-size: 12px;
        line-height: 1.45;
    }

    .job-details {
        padding: 20px;
    }

    .job-details-header {
        flex-direction: column;
        gap: 18px;
        padding: 20px;
        margin-bottom: 16px;
        border-radius: 10px;
    }

    .job-details-header h1 {
        font-size: clamp(24px, 7vw, 29px);
        line-height: 1.2;
        margin: 12px 0 7px;
    }

    .job-details-header h2 {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .job-details-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .job-details-meta span {
        padding: 7px 10px;
        font-size: 13px;
    }

    .job-details-header-right {
        width: 100%;
        gap: 10px;
    }

    .apply-button {
        width: 100%;
        padding: 13px 18px;
    }

    .deadline-box {
        padding: 12px;
    }

    .job-details-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .job-content-box {
        padding: 20px;
        border-radius: 10px;
    }

    .job-content-box h2 {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .job-content-box .job-description,
    .job-description {
        font-size: 14px;
        line-height: 1.75;
    }

    .official-box {
        flex-direction: column;
        gap: 10px;
        padding: 18px;
        margin-top: 16px;
        border-radius: 10px;
    }

    .official-icon {
        font-size: 32px;
    }

    .official-content h2 {
        font-size: 20px;
    }

    .official-content p {
        font-size: 14px;
        line-height: 1.55;
    }

    .official-button,
    .apply-button-large {
        width: 100%;
        text-align: center;
        padding: 13px 16px;
        font-size: 14px;
    }

    .apply-section {
        padding: 20px;
        margin-top: 16px;
        border-radius: 10px;
    }

    .apply-section p {
        font-size: 14px;
        line-height: 1.6;
    }

    .job-sidebar {
        position: static;
    }

    .sidebar-box {
        padding: 20px;
        border-radius: 10px;
    }

    .suggestions-section {
        margin-top: 42px;
    }

    /* FORMS */

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .job-form-container {
        padding: 24px 18px;
    }

    .form-buttons {
        flex-direction: column-reverse;
    }

    .cancel-button,
    .publish-button {
        width: 100%;
        text-align: center;
    }

    /* ADMIN DASHBOARD */

    .dashboard-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .add-job-button {
        width: 100%;
        text-align: center;
    }

    .admin-header-content {
        flex-direction: column;
        gap: 15px;
    }

    .admin-user {
        flex-direction: column;
    }

    .dashboard-section {
        padding: 20px;
    }

    /* DELETE */

    .delete-box {
        margin: 25px auto;
        padding: 25px 18px;
    }

    .delete-box form {
        flex-direction: column;
    }

    .delete-confirm-button,
    .delete-box .cancel-button {
        width: 100%;
        text-align: center;
    }

    /* CATEGORY */

    .category-actions {
        flex-direction: column;
        width: 100%;
    }

    .category-actions a {
        width: 100%;
        text-align: center;
    }

    /* ADMIN LOGIN */

    .admin-login {
        min-height: 100vh;
        padding: 24px 15px;
    }

    .admin-login-box {
        max-width: 430px;
        padding: 30px 20px;
        box-shadow: none;
    }

    .admin-logo {
        font-size: 27px;
    }

    .admin-login-box h1 {
        font-size: 25px;
    }

    .admin-subtitle {
        font-size: 14px;
    }
}

/* =========================================================
VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .container {
        width: 94%;
    }

    .header-content {
        min-height: 54px;
        padding: 4px 0;
        gap: 6px;
    }

    .logo,
    .main-logo {
        height: 30px;
        gap: 5px;
        max-width: calc(100% - 46px);
    }

    .logo img,
    .main-logo img {
        width: 26px !important;
        height: 26px !important;
        max-width: 26px !important;
        max-height: 26px !important;
        flex-basis: 26px;
    }

    .logo > span,
    .main-logo > span,
    .logo-text,
    .main-logo-text {
        font-size: 16px;
    }

    .mobile-menu-button {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        padding: 6px;
    }

    .mobile-menu-button span {
        width: 20px;
    }

    .hero,
    .hero-section {
        padding: 36px 0;
    }

    .hero h1,
    .hero-text h1 {
        font-size: 30px;
    }

    .hero p,
    .hero-text p {
        font-size: 14px;
        line-height: 1.55;
    }

    .section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .section-title p {
        font-size: 14px;
    }

    .job-card {
        padding: 16px;
    }

    .job-card h3 {
        font-size: 17px;
    }

    .job-card .job-button,
    a.job-button {
        width: 100% !important;
        min-width: 0 !important;
        height: 44px !important;
        min-height: 44px !important;
        font-size: 14px !important;
    }

    .about-content {
        padding: 24px 16px;
    }

    .info-header h1,
    .about-content h1 {
        font-size: 25px;
    }

    .info-section-block h2,
    .about-content h2 {
        font-size: 19px;
    }

    .about-content p,
    .about-content li,
    .info-section-block p {
        font-size: 14px;
    }

    .job-details-header {
        padding: 18px;
    }

    .job-details-header h1 {
        font-size: 24px;
    }

    .job-content-box {
        padding: 18px;
    }

    .official-box {
        padding: 16px;
    }

    .apply-section {
        padding: 18px;
    }

    .admin-login {
        padding: 18px 12px;
    }

    .admin-login-box {
        padding: 26px 18px;
    }
}

/* =========================================================
MOBILE MOTION / PAINT OPTIMIZATION
========================================================= */

@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {

    .header nav a,
    .main-nav a,
    .main-navigation a,
    .category,
    .category-card,
    .job-card,
    .feature-item,
    .job-button,
    .apply-button,
    .apply-button-large,
    .official-button {
        transition-duration: 0.15s;
    }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
