:root {
    --aajo-purple: #4b2c82;
    --aajo-purple-dark: #2d1a4a;
    --aajo-purple-light: #6b3fa8;
    --aajo-orange: #ff8c42;
    --aajo-orange-hover: #f07830;
    --aajo-bg: #f4f5f7;
    --aajo-text: #1a1a2e;
    --aajo-muted: #6b7280;
    --aajo-border: #e8eaed;
    --aajo-white: #ffffff;
    --aajo-radius: 16px;
    --aajo-shadow: 0 4px 24px rgba(75, 44, 130, 0.08);
    --aajo-container: 1200px;
}

body.aayojob-home,
body.aayojob-home-page {
    background: var(--aajo-bg);
    color: var(--aajo-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body.aayojob-home .header,
body.aayojob-home .rt-site-footer,
body.aayojob-home .n-header,
body.aayojob-home .top-fixed,
body.aayojob-home-page .header,
body.aayojob-home-page .rt-site-footer,
body.aayojob-home-page .n-header,
body.aayojob-home-page .top-fixed {
    display: none !important;
}

.aajo-wrap {
    overflow-x: hidden;
}

.aajo-container {
    width: min(100% - 48px, var(--aajo-container));
    margin: 0 auto;
}

/* Header */
.aajo-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 20px 0;
}

.aajo-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.aajo-logo {
    color: var(--aajo-white);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-decoration: none;
    justify-self: start;
    display: inline-flex;
    align-items: center;
}

.aajo-logo__img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.aajo-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-self: center;
}

.aajo-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.aajo-nav a:hover,
.aajo-nav a.active {
    color: var(--aajo-white);
}

.aajo-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    justify-self: end;
}

.aajo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
    padding: 10px 20px;
    line-height: 1.2;
}

.aajo-btn--ghost-white {
    background: transparent;
    color: var(--aajo-white);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.aajo-btn--ghost-white:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--aajo-white);
}

.aajo-btn--white {
    background: var(--aajo-white);
    color: var(--aajo-purple);
}

.aajo-btn--white:hover {
    background: #f8f8f8;
    color: var(--aajo-purple-dark);
}

.aajo-btn--orange {
    background: var(--aajo-orange);
    color: var(--aajo-white);
}

.aajo-btn--orange:hover {
    background: var(--aajo-orange-hover);
    color: var(--aajo-white);
}

.aajo-btn--purple {
    background: var(--aajo-purple);
    color: var(--aajo-white);
    padding: 14px 32px;
    border-radius: 12px;
}

.aajo-btn--purple:hover {
    background: var(--aajo-purple-dark);
    color: var(--aajo-white);
}

.aajo-btn--outline-purple {
    background: var(--aajo-white);
    color: var(--aajo-purple);
    border: 1.5px solid var(--aajo-purple);
}

/* Hero */
.aajo-hero {
    background: linear-gradient(160deg, #4b2c82 0%, #5a358f 50%, #4b2c82 100%);
    padding: 88px 0 0;
    position: relative;
    overflow: hidden;
}

.aajo-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 75% 40%, rgba(255, 255, 255, 0.06), transparent);
    pointer-events: none;
}

.aajo-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%23000000' fill-opacity='0.12' d='M0,80 L50,70 L120,85 L200,60 L280,75 L360,55 L440,70 L520,50 L600,65 L680,45 L760,60 L840,50 L920,65 L1000,55 L1080,70 L1200,60 L1200,120 L0,120 Z'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
    pointer-events: none;
}

.aajo-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: end;
    position: relative;
    z-index: 2;
    padding-bottom: 20px;
}

.aajo-hero__content {
    padding-bottom: 12px;
}

.aajo-hero__title {
    color: var(--aajo-white);
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.12;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.aajo-hero__title span {
    display: block;
}

.aajo-hero__subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 18px;
    max-width: 460px;
}

.aajo-search {
    background: var(--aajo-white);
    border-radius: 14px;
    padding: 8px 8px 8px 0;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    margin-bottom: 14px;
    max-width: 560px;
}

.aajo-search__field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    flex: 1;
    border-right: 1px solid var(--aajo-border);
}

.aajo-search__field:last-of-type {
    border-right: none;
}

.aajo-search__field input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: var(--aajo-text);
    background: transparent;
}

.aajo-search__field input::placeholder {
    color: #9ca3af;
}

.aajo-search__field svg {
    flex-shrink: 0;
    color: #9ca3af;
}

.aajo-search .aajo-btn--orange {
    padding: 11px 22px;
    border-radius: 10px;
    white-space: nowrap;
    margin-left: 4px;
    flex-shrink: 0;
}

.aajo-trending {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.aajo-trending > span {
    font-weight: 500;
}

.aajo-trending a {
    color: var(--aajo-white);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 13px;
    transition: 0.2s;
}

.aajo-trending a:hover {
    background: rgba(255, 255, 255, 0.18);
}

.aajo-hero__visual {
    position: relative;
    height: 360px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: -12px;
}

.aajo-hero__image {
    max-height: 320px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    transform: translateY(16px);
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.12));
}

.aajo-hero__badge {
    position: absolute;
    background: var(--aajo-white);
    border-radius: 10px;
    padding: 8px 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--aajo-text);
    white-space: nowrap;
    z-index: 3;
    pointer-events: none;
}

/* Upper-left — clear of faces */
.aajo-hero__badge--top {
    top: 0;
    left: 0;
    right: auto;
}

/* Lower-right — clear of faces */
.aajo-hero__badge--bottom {
    bottom: 10%;
    right: 0;
    left: auto;
}

.aajo-hero__badge-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f0e6fa;
    color: var(--aajo-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* Sections */
.aajo-section {
    padding: 52px 0;
}

.aajo-section--white {
    background: var(--aajo-white);
}

.aajo-section--gray {
    background: var(--aajo-bg);
}

.aajo-section__head {
    text-align: center;
    margin-bottom: 28px;
}

.aajo-section__head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
    gap: 16px;
    margin-bottom: 24px;
}

.aajo-section__title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--aajo-text);
    letter-spacing: -0.3px;
}

.aajo-section__subtitle {
    margin: 0;
    color: var(--aajo-muted);
    font-size: 15px;
}

.aajo-link {
    color: var(--aajo-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}

.aajo-link:hover {
    color: var(--aajo-purple-dark);
}

/* Homepage: tighter vertical rhythm */
body.aayojob-home-page .aajo-section:first-of-type {
    padding-top: 40px;
}

body.aayojob-home-page .aajo-section--gray + .aajo-section--white,
body.aayojob-home-page .aajo-section--white + .aajo-section--gray {
    padding-top: 44px;
}

body.aayojob-home-page .aajo-section--white + .aajo-stats {
    padding-top: 36px;
}

body.aayojob-home-page .aajo-cta-grid {
    gap: 16px;
}

body.aayojob-home-page .aajo-cat-grid {
    gap: 14px;
}

body.aayojob-home-page .aajo-job-card {
    padding: 16px;
}

body.aayojob-home-page .aajo-cat-card {
    padding: 18px 16px;
}

/* Category cards */
.aajo-cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.aajo-cat-card {
    background: var(--aajo-white);
    border: 1px solid var(--aajo-border);
    border-radius: var(--aajo-radius);
    padding: 22px 18px;
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

.aajo-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--aajo-shadow);
    border-color: transparent;
    color: inherit;
}

.aajo-cat-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f0e6fa;
    color: var(--aajo-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.aajo-cat-card__title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.3;
}

.aajo-cat-card__count {
    color: var(--aajo-muted);
    font-size: 13px;
    margin: 0 0 12px;
}

.aajo-cat-card__link {
    color: var(--aajo-purple);
    font-weight: 600;
    font-size: 13px;
}

.aajo-center-cta {
    text-align: center;
    margin-top: 24px;
}

/* Job cards */
.aajo-jobs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.aajo-job-card {
    background: var(--aajo-white);
    border: 1px solid var(--aajo-border);
    border-radius: var(--aajo-radius);
    padding: 20px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: 0.2s ease;
}

.aajo-job-card:hover {
    box-shadow: var(--aajo-shadow);
    transform: translateY(-3px);
    border-color: transparent;
    color: inherit;
}

.aajo-job-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.aajo-job-card__logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    background: #f3f4f6;
    border: 1px solid var(--aajo-border);
}

.aajo-job-card__logo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--aajo-muted);
    font-size: 16px;
}

.aajo-job-card__time {
    font-size: 12px;
    color: var(--aajo-muted);
}

.aajo-job-card__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.35;
    color: var(--aajo-text);
}

.aajo-job-card__company {
    color: var(--aajo-muted);
    font-size: 13px;
    margin: 0 0 4px;
}

.aajo-job-card__location {
    color: var(--aajo-muted);
    font-size: 13px;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.aajo-job-card__location i {
    font-size: 11px;
    color: #9ca3af;
}

.aajo-job-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.aajo-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.aajo-tag--fulltime {
    background: #f0e6fa;
    color: #4b2c82;
}

.aajo-tag--onsite {
    background: #ffedd5;
    color: #c2410c;
}

.aajo-tag--remote {
    background: #fef9c3;
    color: #a16207;
}

.aajo-tag--hybrid {
    background: #ffedd5;
    color: #c2410c;
}

/* CTA split */
.aajo-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.aajo-cta-card {
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 240px;
}

.aajo-cta-card--seeker {
    background: linear-gradient(135deg, #4b2c82 0%, #6b3fa8 55%, #5a3494 100%);
    color: var(--aajo-white);
}

.aajo-cta-card--seeker .aajo-cta-card__title,
.aajo-cta-card--seeker .aajo-cta-card__text {
    color: var(--aajo-white);
}

.aajo-cta-card--employer {
    background: linear-gradient(135deg, #fff7f0 0%, #f5f0fa 100%);
    color: var(--aajo-text);
    border: 1px solid #e8dff3;
}

.aajo-cta-card--employer .aajo-cta-card__title {
    color: var(--aajo-text);
}

.aajo-cta-card__content {
    padding: 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aajo-cta-card__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
}

.aajo-cta-card__text {
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 18px;
    opacity: 0.88;
}

.aajo-cta-card__image-wrap {
    overflow: hidden;
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: stretch;
}

.aajo-cta-card--seeker .aajo-cta-card__image-wrap {
    background: #3d2268;
}

.aajo-cta-card--employer .aajo-cta-card__image-wrap {
    background: #ede6f5;
}

.aajo-cta-card__image {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Stats */
.aajo-stats {
    background: var(--aajo-bg);
    padding: 36px 0 28px;
}

.aajo-stats--inner {
    margin-top: 0;
    border-top: none;
}

.aajo-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 24px;
    align-items: center;
    background: var(--aajo-white);
    border: 1px solid var(--aajo-border);
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 2px 12px rgba(75, 44, 130, 0.04);
}

.aajo-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: flex-start;
    min-width: 0;
}

.aajo-stat__content {
    min-width: 0;
}

.aajo-stat__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f0e6fa;
    color: var(--aajo-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.aajo-stat__value {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    color: var(--aajo-purple);
    line-height: 1.15;
}

.aajo-stat__label {
    font-size: 13px;
    font-weight: 500;
    color: #5b6472;
    margin: 2px 0 0;
    line-height: 1.35;
}

/* Blog */
.aajo-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.aajo-blog-card {
    background: var(--aajo-white);
    border: 1px solid var(--aajo-border);
    border-radius: var(--aajo-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: 0.2s;
}

.aajo-blog-card:hover {
    box-shadow: var(--aajo-shadow);
    color: inherit;
}

.aajo-blog-card__image-wrap {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.aajo-blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aajo-blog-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--aajo-purple);
    color: var(--aajo-white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
}

.aajo-blog-card__body {
    padding: 20px;
}

.aajo-blog-card__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.4;
}

.aajo-blog-card__excerpt {
    color: var(--aajo-muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 14px;
}

.aajo-blog-card__meta {
    font-size: 12px;
    color: var(--aajo-muted);
}

/* Newsletter */
.aajo-newsletter-wrap {
    padding: 17px 0 53px;
    background: var(--aajo-bg);
}

.aajo-newsletter {
    background: linear-gradient(135deg, #4b2c82 0%, #5a358f 100%);
    border-radius: 25px;
    padding: 33px 37px;
    width: 100%;
}

.aajo-newsletter__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.aajo-newsletter__text {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--aajo-white);
    flex: 1;
    min-width: 0;
}

.aajo-newsletter__text .aajo-hero__badge-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--aajo-white);
    flex-shrink: 0;
}

.aajo-newsletter__text h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: var(--aajo-white);
    line-height: 1.3;
}

.aajo-newsletter__text p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}

.aajo-newsletter__form {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    min-width: 380px;
}

.aajo-newsletter__form input {
    flex: 1;
    border: none;
    border-radius: 15px;
    padding: 14px 18px;
    font-size: 14px;
    min-width: 200px;
}

.aajo-newsletter__form .aajo-btn--orange {
    padding: 14px 28px;
    white-space: nowrap;
}

/* Footer */
.aajo-footer {
    width: 100%;
    background: var(--aajo-purple-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 48px 0 24px;
}

.aajo-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
    gap: 28px;
    margin-bottom: 32px;
}

.aajo-footer__logo {
    color: var(--aajo-white);
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 16px;
}

.aajo-footer__logo-img {
    height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

.aajo-footer__about {
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.65);
}

.aajo-footer__social {
    display: flex;
    gap: 10px;
}

.aajo-footer__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--aajo-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.aajo-footer__social a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.aajo-footer h4 {
    color: var(--aajo-white);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 18px;
}

.aajo-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aajo-footer li {
    margin-bottom: 10px;
}

.aajo-footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 13px;
    transition: 0.2s;
}

.aajo-footer a:hover {
    color: var(--aajo-white);
}

.aajo-footer__contact p {
    margin: 0 0 12px;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.aajo-footer__contact i {
    margin-top: 3px;
    width: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.aajo-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.aajo-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
}

@media (max-width: 1100px) {
    .aajo-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 1024px) {
    .aajo-header__inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        position: relative;
    }

    .aajo-nav {
        display: none;
    }

    .aajo-header__actions .aajo-btn {
        display: none;
    }

    .aajo-mobile-toggle {
        display: block;
    }

    .aajo-header.nav-open .aajo-nav {
        display: flex;
        flex-direction: column;
        gap: 14px;
        order: 10;
        width: 100%;
        position: static;
        background: transparent;
        padding: 16px 0 0;
        margin-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 0;
    }

    .aajo-header.nav-open .aajo-header__actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        order: 11;
        width: 100%;
        position: static;
        background: transparent;
        padding: 12px 0 0;
        border-radius: 0;
    }

    .aajo-header.nav-open .aajo-header__actions .aajo-btn {
        display: inline-flex !important;
        width: 100%;
        justify-content: center;
    }

    .aajo-header.nav-open {
        padding-bottom: 20px;
    }

    .aajo-hero__grid {
        grid-template-columns: 1fr;
    }

    .aajo-hero__visual {
        height: auto;
        min-height: 0;
        margin-bottom: 0;
        padding-top: 0;
        justify-content: center;
    }

    .aajo-hero__image {
        max-height: 240px;
        transform: translateY(0);
        margin: 0 auto;
    }

    /* Stats section already shows these numbers — hide overlapping hero badges on tablet/mobile */
    .aajo-hero__badge {
        display: none;
    }

    .aajo-cta-grid,
    .aajo-blog-grid {
        grid-template-columns: 1fr;
    }

    .aajo-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aajo-stats {
        padding: 28px 0 20px;
    }

    .aajo-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 18px;
        gap: 16px 20px;
    }

    .aajo-stat {
        justify-content: flex-start;
    }

    .aajo-stat__value {
        font-size: 22px;
    }

    .aajo-cta-card {
        grid-template-columns: 1fr;
    }

    .aajo-cta-card__image-wrap,
    .aajo-cta-card__image {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .aajo-container {
        width: min(100% - 32px, var(--aajo-container));
    }

    .aajo-hero {
        padding-top: 72px;
    }

    .aajo-search {
        flex-direction: column;
        padding: 12px;
        align-items: stretch;
    }

    .aajo-search__field {
        border-right: none;
        border-bottom: 1px solid var(--aajo-border);
        min-width: 0;
    }

    .aajo-search .aajo-btn--orange {
        width: 100%;
        margin-left: 0;
        margin-top: 4px;
    }

    .aajo-trending {
        font-size: 12px;
        gap: 6px;
    }

    .aajo-cat-grid,
    .aajo-jobs-grid,
    .aajo-blog-grid,
    .aajo-stats__grid,
    .aajo-footer__grid {
        grid-template-columns: 1fr;
    }

    .aajo-stats {
        padding: 24px 0 16px;
    }

    .aajo-stats__grid {
        grid-template-columns: 1fr;
        padding: 18px 16px;
        gap: 14px;
    }

    .aajo-stat {
        justify-content: flex-start;
    }

    .aajo-stat__value {
        font-size: 22px;
    }

    .aajo-section__head--row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .aajo-section {
        padding: 36px 0;
    }

    .aajo-newsletter-wrap {
        padding: 12px 0 40px;
    }

    .aajo-newsletter {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .aajo-newsletter__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .aajo-newsletter__text h3 {
        font-size: 18px;
    }

    .aajo-newsletter__form {
        width: 100%;
        min-width: 0;
        flex-direction: column;
    }

    .aajo-newsletter__form input,
    .aajo-newsletter__form .aajo-btn--orange {
        width: 100%;
    }

    .aajo-footer {
        padding: 36px 0 20px;
    }

    .aajo-footer__grid {
        gap: 24px;
    }

    .aajo-cta-card__content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .aajo-container {
        width: min(100% - 24px, var(--aajo-container));
    }

    .aajo-logo {
        font-size: 22px;
    }

    .aajo-hero__title {
        font-size: 28px;
    }

    .aajo-section__title {
        font-size: 22px;
    }

    .aajo-btn {
        min-height: 44px;
    }
}

/* Homepage ad bands — full-width slots between sections (see admin ad layout) */
.aajo-ad-band {
    padding: 20px 0;
    background: #fff;
}

.aajo-ad-band--gray {
    background: #f5f6f8;
}

.aajo-ad-band--stats {
    padding: 12px 0;
    background: #fff;
}

.aajo-ad-slot {
    margin: 0 auto;
    max-width: 100%;
    min-height: 90px;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aajo-ad-slot iframe,
.aajo-ad-slot ins,
.aajo-ad-slot img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.aajo-ad-band .aajo-container.aajo-ad-slot {
    width: 100%;
}
