/* EduZone website redesign: brand colors + typography */
:root {
    --ez-navy: #0F1E3A;
    --ez-teal: #0F8A7B;
    --ez-yellow: #F4B400;
    --ez-white: #FFFFFF;
    --ez-gray-50: #F5F7FA;
    --ez-gray-500: #6B7280;
    --ez-gray-800: #1F2937;
    --ez-shadow-soft: 0 16px 35px rgba(15, 30, 58, 0.10);
    --ez-shadow-card: 0 10px 28px rgba(15, 30, 58, 0.12);
}

html,
body {
    font-family: "Inter", sans-serif !important;
    background: var(--ez-gray-50);
    color: var(--ez-gray-800);
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
span,
button,
input,
select,
textarea,
label {
    font-family: "Inter", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--ez-navy);
    letter-spacing: -0.01em;
}

a {
    color: var(--ez-navy);
    transition: color 0.25s ease;
}

a:hover,
a:focus {
    color: var(--ez-teal);
}

/* Handle inline legacy colors used in old templates */
[style*="background-color:#4BA573"],
[style*="background-color: #4BA573"] {
    background-color: var(--ez-navy) !important;
}

[style*="color:#4BA573"],
[style*="color: #4BA573"] {
    color: var(--ez-teal) !important;
}

[style*="background-color:#34495e"],
[style*="background-color: #34495e"],
[style*="background-color:#2c3e50"],
[style*="background-color: #2c3e50"] {
    background-color: var(--ez-navy) !important;
}

/* Header */
.site-navbar-wrap.v1,
.header.transparent.scroll .site-navbar-wrap.v1 {
    background: linear-gradient(110deg, #0F1E3A 0%, #11264A 65%, #0F8A7B 145%) !important;
    box-shadow: 0 10px 24px rgba(15, 30, 58, 0.24);
    position: sticky;
    top: 0;
}

.site-navbar-wrap .site-navbar .site-navigation .site-menu > li > a {
    color: var(--ez-white) !important;
    font-weight: 600;
    transition: color 0.2s ease;
}

.site-navbar-wrap .site-navbar .site-navigation .site-menu > li > a:hover {
    color: var(--ez-yellow) !important;
}

.site-navbar-wrap .site-navbar .site-navigation .site-menu > li.active > a {
    color: var(--ez-yellow) !important;
    position: relative;
}

.site-navbar-wrap .site-navbar .site-navigation .site-menu > li.active > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--ez-yellow);
    border-radius: 2px;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown {
    border: 1px solid rgba(15, 30, 58, 0.10);
    border-radius: 10px;
    box-shadow: var(--ez-shadow-soft);
}

/* The "Explore" chevron and mobile submenu arrow use an Ionicons glyph
   (content: "\f3d0"), but ionicons.css is never linked in the layout, so
   the icon is invisible. Font Awesome is already loaded, so use that instead. */
.site-navbar-wrap .site-navbar .site-navigation .site-menu .has-children > a::before,
.site-mobile-menu .site-nav-wrap .arrow-collapse::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    content: "\f078" !important;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown > li > a {
    color: var(--ez-gray-800);
    font-weight: 500;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown > li > a:hover {
    color: var(--ez-teal) !important;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown > li.active > a {
    color: var(--ez-teal) !important;
    font-weight: 600;
}

.mobile-bar i,
.site-navbar-wrap.v1 .mobile-bar i {
    color: var(--ez-white) !important;
    font-size: 25px;
    padding: 0 10px;
    transition: color 0.2s ease;
}

.mobile-bar:hover i {
    color: var(--ez-yellow) !important;
}

/* Mobile off-canvas menu */
.site-mobile-menu-logo img {
    max-width: 130px;
}

.site-mobile-menu-close.js-menu-toggle i {
    color: #000;
    margin-right: 20px;
    font-size: 30px;
    cursor: pointer;
    transition: 0.3s all ease;
}

.site-mobile-menu-close.js-menu-toggle:hover i {
    color: var(--ez-teal);
}

.site-mobile-menu .site-nav-wrap a:hover,
.site-mobile-menu .site-nav-wrap li.active > a {
    color: var(--ez-teal) !important;
}

/* Buttons */
.btn.v1,
.btn.v3,
.btn.v8,
.btn.btn-warning,
button.btn-warning,
.submit_btn .btn {
    background: var(--ez-teal) !important;
    border-color: var(--ez-teal) !important;
    color: var(--ez-white) !important;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(15, 138, 123, 0.22);
    font-weight: 600;
}

.btn.v1:hover,
.btn.v3:hover,
.btn.v8:hover,
.btn.btn-warning:hover,
button.btn-warning:hover,
.submit_btn .btn:hover {
    background: #0B766A !important;
    border-color: #0B766A !important;
    color: var(--ez-white) !important;
    transform: translateY(-1px);
}

.add-list .btn.v8 {
    background: var(--ez-teal) !important;
    border: 1px solid var(--ez-teal) !important;
    color: var(--ez-white) !important;
    box-shadow: 0 8px 20px rgba(15, 138, 123, 0.22);
}

.add-list .btn.v8:hover {
    background: var(--ez-yellow) !important;
    border-color: var(--ez-yellow) !important;
    color: var(--ez-navy) !important;
}

/* Hero */
.hero-area.v1 {
    position: relative;
    overflow: hidden;
}

.hero-area.v1.ez-hero {
    box-shadow: 0 22px 44px rgba(9, 18, 34, 0.16);
    min-height: 0;
    margin-top: 10px;
}

.hero-area.v1::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(108deg, rgba(7, 17, 36, 0.86) 0%, rgba(11, 53, 70, 0.66) 54%, rgba(15, 138, 123, 0.46) 100%);
    z-index: 0;
}

.hero-area.v1 > .container {
    position: relative;
    z-index: 1;
}

.hero-area.v1[style*="background-color:#4BA573"],
.hero-area.v1[style*="background-color: #4BA573"] {
    background: linear-gradient(120deg, #0F1E3A 0%, #0F8A7B 100%) !important;
}

.hero-area.v1 .hero-title.v2,
.hero-area.v1 .hero-desc.v2 {
    color: var(--ez-white) !important;
}

.hero-area.v1 .hero-title.v2 {
    font-size: clamp(2rem, 4vw, 3.2rem) !important;
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.hero-area.v1 .ez-hero-row {
    min-height: 0;
    margin-top: 0;
}

.hero-area.v1 .ez-hero-copy {
    max-width: 700px;
}

.hero-area.v1 .ez-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    padding: 7px 14px;
    margin-bottom: 16px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.hero-area.v1 .ez-hero-accent {
    color: #73d7c7;
    text-shadow: 0 8px 30px rgba(12, 98, 89, 0.38);
}

.hero-area.v1 .hero-desc.v2 {
    max-width: 38ch;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92) !important;
    margin-top: 14px;
}

#changerificwordspanid {
    color: var(--ez-yellow);
}

.hero-area.v1 .hero__form.v2 {
    background: rgba(7, 17, 36, 0.32);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
}

.hero-area.v1 .ez-hero-search-wrap {
    margin-top: 22px;
}

.hero-area.v1 .ez-hero-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

.hero-area.v1 .hero__form.v2 .hero__form-input,
.hero-area.v1 .hero__form.v2 .nice-select {
    border-radius: 10px !important;
    border: 1px solid rgba(15, 30, 58, 0.18) !important;
    background: #ffffff !important;
    color: #0F1E3A !important;
}

.hero-area.v1 .hero__form.v2 .hero__form-input,
.hero-area.v1 .hero__form.v2 .nice-select,
.hero-area.v1 .hero__form.v2 .nice-select .current {
    min-height: 46px;
    line-height: 46px;
    font-size: 0.96rem;
}

.hero-area.v1 .ez-hero-search-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 700;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #0F8A7B 0%, #0b6f63 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(15, 138, 123, 0.34);
}

.hero-area.v1 .ez-hero-search-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #0c7468 0%, #095a51 100%) !important;
}

.hero-area.v1 .ez-hero-metrics {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-area.v1 .ez-hero-metrics span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 6px 12px;
    color: #ffffff;
    font-size: 0.86rem;
}

.hero-area.v1 .ez-hero-metrics b {
    color: #f4cf66;
}

/* Compact banner variant: used on interior/listing pages (e.g. Jobs) where a
   small, no-photo banner reads better than the immersive homepage hero.
   Selector repeats every class from the markup so it outranks the
   .hero-area.v1.ez-hero desktop min-height/padding rule further down. */
.hero-area.v1.ez-hero.ez-hero--compact {
    background: linear-gradient(110deg, #0F1E3A 0%, #11264A 55%, #0F8A7B 130%);
    min-height: 0;
    /* header.header is position:fixed (~83-93px tall) and out of document
       flow, so the hero needs real top padding to clear it -- the small
       margin-top on .ez-jobs-hero below isn't enough on its own, content
       would render underneath the fixed header. */
    padding-top: 108px;
    padding-bottom: 28px;
    box-shadow: 0 10px 24px rgba(9, 18, 34, 0.14);
}

.hero-area.v1.ez-hero.ez-hero--compact::before {
    background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 45%);
}

.hero-area.v1.ez-hero.ez-hero--compact .ez-hero-row {
    min-height: 0;
    margin-top: 0;
}

.hero-area.v1.ez-hero.ez-hero--compact .ez-hero-copy {
    max-width: 900px;
}

.hero-area.v1.ez-hero.ez-hero--compact .hero-title.v2 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem) !important;
    line-height: 1.15;
}

.hero-area.v1.ez-hero.ez-hero--compact .ez-hero-kicker {
    margin-bottom: 10px;
}

.hero-area.v1.ez-hero.ez-hero--compact .hero-desc.v2 {
    max-width: 60ch;
    margin-top: 8px;
    margin-bottom: 18px;
    font-size: 0.96rem;
}

.hero-area.v1.ez-hero.ez-hero--compact .ez-hero-search-wrap {
    margin-top: 0;
}

.hero-area.v1.ez-hero.ez-hero--compact .hero__form.v2 {
    padding: 12px;
}

.hero-area.v1.ez-hero.ez-hero--compact .ez-hero-metrics {
    margin-top: 16px;
}

/* Jobs page only: extra breathing room and simplified search row */
.hero-area.v1.ez-hero.ez-hero--compact.ez-jobs-hero {
    margin-top: 18px;
}

.hero-area.v1.ez-hero.ez-hero--compact.ez-jobs-hero .ez-jobs-hero-row {
    padding-top: 28px;
    padding-bottom: 14px;
}

.hero-area.v1.ez-hero.ez-hero--compact.ez-jobs-hero .ez-jobs-search-grid {
    margin-top: 4px;
}

.filter-wrapper.style1.section-padding.ez-jobs-filter {
    margin-top: 18px;
}

.ez-page-content-gap {
    margin-top: 18px;
}

@media only screen and (min-width: 992px) {
    .hero-area.v1.ez-hero.ez-hero--compact .ez-hero-row {
        min-height: 0;
        margin-top: 0;
    }

    .hero-area.v1.ez-hero.ez-hero--compact.ez-jobs-hero {
        margin-top: 24px;
    }

    .filter-wrapper.style1.section-padding.ez-jobs-filter {
        margin-top: 24px;
    }

    .ez-page-content-gap {
        margin-top: 24px;
    }
}

@media only screen and (max-width: 991px) {
    .hero-area.v1.ez-hero.ez-hero--compact.ez-jobs-hero .ez-jobs-hero-row {
        padding-top: 20px;
        padding-bottom: 12px;
    }

    .hero-area.v1.ez-hero.ez-hero--compact.ez-jobs-hero {
        margin-top: 12px;
    }

    .filter-wrapper.style1.section-padding.ez-jobs-filter {
        margin-top: 12px;
    }

    .ez-page-content-gap {
        margin-top: 12px;
    }
}

.hero-catagory.section-padding {
    position: relative;
    z-index: 3;
}

.hero-catagory-wrapper.v1.ez-home-cats {
    width: 100% !important;
    left: 0 !important;
    margin: 0 !important;
    display: grid;
    gap: 14px;
}

/* Category cards */
.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content,
.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content.v1 {
    width: auto !important;
    margin: 0 !important;
    background: var(--ez-white);
    border: 1px solid rgba(15, 30, 58, 0.08) !important;
    border-radius: 14px;
    box-shadow: var(--ez-shadow-soft);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
    min-height: 152px;
    padding: 16px 14px;
    align-items: center;
    justify-content: center;
}

.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content i,
.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content .name {
    color: var(--ez-navy) !important;
}

.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content p.d-name {
    color: var(--ez-gray-500) !important;
}

.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content i {
    font-size: 30px;
    margin-bottom: 8px;
}

.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content .name {
    font-weight: 700;
    font-size: 0.96rem;
    margin-top: 6px;
    margin-bottom: 4px;
    opacity: 1 !important;
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content p.d-name {
    font-weight: 500;
    font-size: 0.86rem;
    opacity: 1 !important;
    margin-top: 0 !important;
    background: var(--ez-gray-50);
    border-radius: 999px;
    padding: 5px 10px;
    display: inline-block;
}

.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content:hover,
.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content.v1:hover {
    background: var(--ez-white) !important;
    border-color: rgba(15, 30, 58, 0.16) !important;
    box-shadow: 0 14px 28px rgba(15, 30, 58, 0.16);
    transform: translateY(-4px);
}

.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content:hover .name,
.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content.v1:hover .name {
    opacity: 1 !important;
}

.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content:hover p.d-name,
.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content.v1:hover p.d-name {
    opacity: 1 !important;
    margin-top: 0 !important;
    color: var(--ez-gray-500) !important;
    background: var(--ez-gray-50);
}

.hero-category-content:hover i,
.hero-category-content:hover .name,
.hero-category-content:hover p.d-name,
.hero-category-content.v1:hover i,
.hero-category-content.v1:hover .name,
.hero-category-content.v1:hover p.d-name {
    color: var(--ez-navy) !important;
}

/* Content cards and sections */
.card,
.single-blog-item,
.single-team-info,
.trending-place-item .card {
    border: 1px solid rgba(15, 30, 58, 0.08);
    border-radius: 14px;
    box-shadow: var(--ez-shadow-card);
}

.card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 30, 58, 0.18);
}

.card[style*="box-shadow: 2px 2px 2px 2px #000000"] {
    box-shadow: var(--ez-shadow-card) !important;
}

.card .card-body {
    padding: 1.1rem;
}

.scholar_title {
    display: block;
    font-size: 1rem !important;
    line-height: 1.35;
    color: var(--ez-navy) !important;
    margin-bottom: 8px;
}

.scholar_university,
.scholar_level,
.scholar_country,
.scholar_deadline,
.job_location,
.job_type {
    color: var(--ez-gray-500);
    font-size: 0.93rem;
    line-height: 1.45;
}

.job_title {
    font-size: 1.02rem;
    line-height: 1.35;
    color: var(--ez-navy);
    margin-bottom: 8px;
}

.blog-posts.v1 .card img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.blog-posts.v1 .card .date {
    color: var(--ez-gray-500);
    font-size: 0.86rem;
}

.col-md-8.offset-md-2.text-center > h2.v1,
.col-md-8.offset-md-2.text-center > h2.section-title,
.trending-places h2 {
    font-size: clamp(1.5rem, 2.1vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.1rem;
}

.trending-places {
    background: linear-gradient(155deg, #0F1E3A 0%, #11284F 60%, #0F8A7B 150%) !important;
}

.trending-places h2,
.trending-places h3,
.trending-places p,
.trending-places label,
.trending-places .job_title {
    color: var(--ez-white);
}

.trending-place-item .card .card-body {
    background: #11284A;
    border-radius: 14px;
}

.trending-place-item .job_location,
.trending-place-item .job_type,
.trending-place-item .scholar_deadline {
    color: rgba(255, 255, 255, 0.88);
}

/* Home: Recent Jobs complete redesign */
.ez-home-jobs {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #0F1E3A 0%, #10284D 52%, #0B766A 130%) !important;
}

.ez-home-jobs::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 7% 14%, rgba(244, 180, 0, 0.22), transparent 34%),
        radial-gradient(circle at 88% 88%, rgba(15, 138, 123, 0.24), transparent 42%);
    pointer-events: none;
}

.ez-home-jobs::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 130px;
    background: linear-gradient(to top, rgba(11, 23, 46, 0.65), transparent);
    pointer-events: none;
}

.ez-home-jobs > .container {
    position: relative;
    z-index: 1;
}

.ez-home-jobs .trending-place-wrap {
    padding: 14px 4px 24px;
}

.ez-home-jobs .ez-job-item .card {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(4, 10, 24, 0.24);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.ez-home-jobs .ez-job-item .card .card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 286px;
    background: linear-gradient(175deg, #ffffff 0%, #f5f8ff 100%);
    border-radius: 20px;
    padding: 18px;
    border-top: 4px solid #f4b400;
}

.ez-home-jobs .ez-job-item .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(4, 10, 24, 0.30);
}

.ez-home-jobs .ez-job-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.ez-home-jobs .ez-job-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(15, 138, 123, 0.14);
    border: 1px solid rgba(15, 138, 123, 0.28);
    color: #0b6d61;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ez-home-jobs .ez-job-deadline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(244, 180, 0, 0.12);
    border: 1px solid rgba(244, 180, 0, 0.4);
    color: #7c5600 !important;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
}

.ez-home-jobs .ez-job-deadline b {
    color: #0F1E3A;
    font-size: 0.86rem;
}

.ez-home-jobs .job_title {
    color: #0F1E3A !important;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.32;
    margin: 0;
    min-height: 2.8em;
}

.ez-home-jobs .ez-job-subtitle {
    margin: 0;
    color: #5f6f86;
    font-size: 0.86rem;
    line-height: 1.35;
}

.ez-home-jobs .ez-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ez-home-jobs .ez-job-meta.ez-job-meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.ez-home-jobs .job_location,
.ez-home-jobs .job_type {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #1b365e !important;
    background: rgba(15, 30, 58, 0.05);
    border: 1px solid rgba(15, 30, 58, 0.11);
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1;
}

.ez-home-jobs .job_location i,
.ez-home-jobs .job_type i {
    color: #0F8A7B;
}

.ez-home-jobs .job_location span,
.ez-home-jobs .job_type span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ez-home-jobs .ez-job-actions {
    margin-top: auto;
}

.ez-home-jobs .ez-job-actions .btn.btn-warning,
.ez-home-jobs .ez-job-view-btn {
    width: 100%;
    min-height: 44px;
    border-radius: 11px;
    background: #0F1E3A !important;
    border: 1px solid #0F1E3A !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(15, 30, 58, 0.24);
}

.ez-home-jobs .ez-job-actions .btn.btn-warning:hover,
.ez-home-jobs .ez-job-view-btn:hover {
    background: #0b162c !important;
    border-color: #0b162c !important;
}

.ez-home-jobs .trending-pagination {
    margin-top: 14px;
}

.ez-home-jobs .trending-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 0.34) !important;
}

.ez-home-jobs .trending-pagination .swiper-pagination-bullet-active {
    background: var(--ez-yellow) !important;
    width: 24px;
    border-radius: 999px;
}

.ez-home-jobs .ez-jobs-cta {
    margin-top: 8px;
}

.ez-home-jobs .ez-browse-jobs-btn {
    min-width: 240px;
    border-radius: 999px;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.48) !important;
    color: var(--ez-white) !important;
    box-shadow: none;
}

.ez-home-jobs .ez-browse-jobs-btn:hover {
    background: var(--ez-teal) !important;
    border-color: var(--ez-teal) !important;
    color: var(--ez-white) !important;
}

/* Home: Posts card redesign */
.ez-home-posts {
    background: linear-gradient(180deg, var(--ez-gray-50) 0%, var(--ez-white) 100%);
    border-top: 1px solid rgba(15, 30, 58, 0.08);
    border-bottom: 1px solid rgba(15, 30, 58, 0.08);
}

.ez-home-posts .col-lg-4 {
    margin-bottom: 22px;
}

.ez-home-posts .ez-post-card {
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 30, 58, 0.10);
    box-shadow: 0 16px 32px rgba(15, 30, 58, 0.10);
    display: flex;
    flex-direction: column;
}

.ez-home-posts .ez-post-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ez-home-posts .ez-post-card:hover img {
    transform: scale(1.04);
}

.ez-home-posts .ez-post-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 150px;
    background: var(--ez-white);
}

.ez-home-posts .ez-post-card label {
    margin: 0;
    display: block;
}

.ez-home-posts .ez-post-card label a {
    color: var(--ez-navy) !important;
    font-size: 1.03rem;
    font-weight: 700;
    line-height: 1.35;
}

.ez-home-posts .ez-post-card label a:hover {
    color: var(--ez-teal) !important;
}

.ez-home-posts .ez-post-card .bottom-content {
    margin-top: auto;
}

.ez-home-posts .ez-post-card .date {
    margin: 0;
    color: var(--ez-gray-500);
    font-size: 0.84rem;
}

.ez-home-posts .ez-post-card .date a {
    color: var(--ez-teal) !important;
    font-weight: 600;
}

.section-title.v1::before {
    filter: hue-rotate(175deg) saturate(0.8);
}

/* Footer */
.footer-wrapper.v1 {
    background: linear-gradient(160deg, #0F1E3A 0%, #122C54 100%) !important;
}

.footer-wrapper.v1 .footer-top-area {
    border-top: 3px solid var(--ez-teal);
}

.footer-wrapper.v1 .footer-bottom-area {
    background: #0B172E;
}

.footer-wrapper.v1 .social-buttons li a {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.footer-wrapper.v1 .social-buttons li a:hover {
    background: var(--ez-teal);
    border-color: var(--ez-teal);
}

/* Form controls and badges */
.form-control:focus,
.nice-select:focus,
.hero__form-input:focus,
select:focus,
input:focus {
    border-color: var(--ez-teal) !important;
    box-shadow: 0 0 0 0.2rem rgba(15, 138, 123, 0.16) !important;
}

.badge,
.label,
.status-available {
    background: rgba(244, 180, 0, 0.14);
    color: #6B4D00;
}

/* Pagination and accents */
.trending-pagination .swiper-pagination-bullet,
.client-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.38) !important;
}

.trending-pagination .swiper-pagination-bullet-active,
.client-pagination .swiper-pagination-bullet-active,
.page-num li.active,
.page-num li:hover {
    background: var(--ez-yellow) !important;
}

.page-num li.active a,
.page-num li:hover a {
    color: var(--ez-navy) !important;
}

/* Lightweight motion */
.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content,
.card,
.btn {
    will-change: transform;
}

.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content {
    animation: ezRise 0.58s ease both;
}

.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content:nth-child(2) {
    animation-delay: 0.06s;
}

.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content:nth-child(3) {
    animation-delay: 0.12s;
}

.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content:nth-child(4) {
    animation-delay: 0.18s;
}

.hero-catagory-wrapper.v1.ez-home-cats .hero-category-content:nth-child(5) {
    animation-delay: 0.24s;
}

@keyframes ezRise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-category-content,
    .card,
    .btn {
        transition: none !important;
        transform: none !important;
    }
}

/* Responsive tuning */
@media only screen and (max-width: 991px) {
    .site-navbar-wrap.v1 {
        background: #0F1E3A !important;
    }

    .hero-area.v1 {
        min-height: auto;
    }

    .hero-area.v1.ez-hero {
        margin-top: 8px;
        padding-top: 90px;
        padding-bottom: 72px;
    }

    .hero-area.v1 .ez-hero-row {
        min-height: 0;
        margin-top: 0;
    }

    .hero-area.v1 .ez-hero-kicker {
        font-size: 0.68rem;
        padding: 5px 10px;
        margin-bottom: 10px;
    }

    .hero-area.v1 .hero-title.v2 {
        font-size: 30px !important;
        line-height: 1.14;
    }

    .hero-area.v1 .hero-desc.v2 {
        max-width: 45ch;
        font-size: 0.92rem;
        margin-bottom: 0;
    }

    .hero-area.v1 .ez-hero-search-wrap {
        margin-top: 14px;
        margin-bottom: 10px;
    }

    .hero-area.v1 .ez-hero-metrics {
        margin-top: 10px;
        gap: 8px;
    }

    .hero-area.v1 .ez-hero-metrics span {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .hero-catagory.section-padding {
        margin-top: 10px;
    }

    .hero-catagory-wrapper.v1.ez-home-cats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-category-content,
    .card {
        border-radius: 12px;
    }

    .ez-home-jobs .ez-job-item .card .card-body {
        min-height: 262px;
        padding: 14px;
    }

    .ez-home-jobs .job_title {
        font-size: 1rem;
        min-height: 2.6em;
    }

    .ez-home-jobs .ez-job-subtitle {
        font-size: 0.82rem;
    }

    .ez-home-posts .ez-post-card img {
        height: 190px;
    }
}

@media only screen and (max-width: 575px) {
    .hero-area.v1.ez-hero {
        margin-top: 8px;
        padding-top: 84px;
        padding-bottom: 58px;
    }

    .hero-area.v1 .hero-title.v2 {
        font-size: 24px !important;
        line-height: 1.15;
        letter-spacing: -0.02em;
    }

    .hero-area.v1 .ez-hero-row {
        min-height: 0;
    }

    .hero-area.v1 .hero-desc.v2 {
        font-size: 0.86rem;
        line-height: 1.4;
        margin-top: 10px;
    }

    .hero-area.v1 .hero__form.v2 {
        padding: 9px;
        border-radius: 12px;
    }

    .hero-area.v1 .ez-hero-label {
        font-size: 0.64rem;
        margin-bottom: 6px;
    }

    .hero-area.v1 .hero__form.v2 .hero__form-input,
    .hero-area.v1 .hero__form.v2 .nice-select,
    .hero-area.v1 .ez-hero-search-btn {
        min-height: 42px;
        line-height: 42px;
        font-size: 0.9rem;
    }

    .hero-area.v1 .ez-hero-metrics span {
        font-size: 0.72rem;
        width: 100%;
        justify-content: center;
        padding: 5px 9px;
    }

    .hero-catagory-wrapper.v1.ez-home-cats {
        grid-template-columns: 1fr;
    }

    .card .card-body {
        padding: 0.95rem;
    }

    .ez-home-jobs .trending-place-wrap {
        padding-top: 4px;
    }

    .ez-home-jobs .ez-job-item .card .card-body {
        min-height: 236px;
        padding: 12px;
    }

    .ez-home-jobs .ez-job-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ez-home-jobs .job_title {
        font-size: 0.94rem;
        min-height: auto;
    }

    .ez-home-jobs .ez-job-subtitle {
        font-size: 0.78rem;
    }

    .ez-home-jobs .job_location,
    .ez-home-jobs .job_type,
    .ez-home-jobs .ez-job-deadline {
        font-size: 0.78rem;
        padding: 5px 9px;
    }

    .ez-home-jobs .ez-job-actions .btn.btn-warning {
        min-height: 41px;
    }

    .ez-home-posts .ez-post-card img {
        height: 175px;
    }

    .ez-home-posts .ez-post-card label a {
        font-size: 0.96rem;
    }

    .btn.v1,
    .btn.v3,
    .btn.v8,
    .btn.btn-warning {
        min-height: 42px;
    }
}

@media only screen and (min-width: 992px) {
    .hero-area.v1.ez-hero {
        margin-top: 12px;
        min-height: 710px;
        padding-top: 110px;
        padding-bottom: 170px;
    }

    .hero-area.v1 .ez-hero-row {
        min-height: 540px;
        margin-top: 36px;
    }

    .hero-catagory.section-padding {
        margin-top: -72px;
        padding-top: 0 !important;
    }

    .hero-catagory-wrapper.v1.ez-home-cats {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* ==========================================================================
   EduZone Redesign v2 -- shared component classes
   Implements the "Eduzone redesign request" Claude Design mockup
   (EduZone Redesign.dc.html / Header / Footer). Reuses the --ez-* tokens
   defined at the top of this file.
   ========================================================================== */

.ez2-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- Header ---------- */
.ez2-header {
    background: var(--ez-navy);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
}

.ez2-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ez2-header-left {
    display: flex;
    align-items: center;
    gap: 40px;
    min-width: 0;
}

.ez2-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    flex-shrink: 0;
}

.ez2-logo-word {
    font: 700 20px/1 "Inter", sans-serif;
    color: var(--ez-white) !important;
    letter-spacing: -0.01em;
}

/* logo.jpeg is a flat JPEG with visible white padding around the navy mark
   (no transparency) -- zoom + clip it to a tight square so it reads as a
   clean icon against the navy header/footer instead of showing a white box. */
.ez2-logo-mark {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.ez2-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.55);
}

.ez2-footer-brand .ez2-logo-mark {
    width: 30px;
    height: 30px;
}

.ez2-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.ez2-nav-link {
    font: 500 15px/1 "Inter", sans-serif;
    color: rgba(255, 255, 255, 0.82) !important;
    cursor: pointer;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.ez2-nav-link:hover {
    color: var(--ez-white) !important;
}

.ez2-nav-link.active {
    font-weight: 600;
    color: var(--ez-yellow) !important;
    border-bottom-color: var(--ez-yellow);
}

.ez2-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.ez2-lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--ez-white);
    border-radius: 8px;
    padding: 9px 12px;
    font: 600 12px/1 "Inter", sans-serif;
    cursor: pointer;
}

.ez2-lang-btn:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.ez2-cta-btn {
    background: var(--ez-teal);
    color: var(--ez-white) !important;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font: 600 14px/1 "Inter", sans-serif;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none !important;
    display: inline-block;
    transition: background 0.2s ease;
}

.ez2-cta-btn:hover {
    background: #0B6C60;
    color: var(--ez-white) !important;
}

.ez2-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--ez-white);
    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .ez2-nav {
        display: none;
    }

    .ez2-mobile-toggle {
        display: inline-flex;
        align-items: center;
    }

    .ez2-header-left {
        gap: 16px;
    }
}

/* Mobile off-canvas nav (reuses existing .site-mobile-menu / js-menu-toggle / js-clone-nav JS hooks) */
.ez2-mobile-menu .site-nav-wrap a {
    font: 500 15px/1 "Inter", sans-serif;
}

/* ---------- Footer ---------- */
.ez2-footer {
    background: var(--ez-navy);
    width: 100%;
}

.ez2-footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 32px 32px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
}

.ez2-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.ez2-footer-brand-word {
    font: 700 18px/1 "Inter", sans-serif;
    color: var(--ez-white);
}

.ez2-footer-desc {
    font: 400 14px/1.6 "Inter", sans-serif;
    color: rgba(255, 255, 255, 0.65);
    max-width: 280px;
    margin: 0;
}

.ez2-footer-heading {
    font: 600 13px/1 "Inter", sans-serif;
    color: var(--ez-white);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ez2-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ez2-footer-links a {
    font: 400 14px/1 "Inter", sans-serif;
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none !important;
}

.ez2-footer-links a:hover {
    color: var(--ez-white) !important;
}

.ez2-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font: 400 14px/1.5 "Inter", sans-serif;
    color: rgba(255, 255, 255, 0.65);
}

.ez2-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 32px;
    text-align: center;
}

.ez2-footer-bottom span {
    font: 500 13px/1 "Inter", sans-serif;
    color: rgba(255, 255, 255, 0.55);
}

.ez2-footer-bottom .accent {
    font-weight: 600;
    color: var(--ez-yellow);
}

@media (max-width: 900px) {
    .ez2-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .ez2-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Home A hero ---------- */
.ez2-hero-a {
    background: var(--ez-gray-50);
    padding: 72px 32px;
}

.ez2-hero-a-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.ez2-hero-kicker {
    font: 700 13px/1 "Inter", sans-serif;
    color: var(--ez-teal);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.ez2-hero-a-title {
    font: 700 44px/1.15 "Inter", sans-serif;
    color: var(--ez-navy);
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

.ez2-hero-a-title.accent {
    color: var(--ez-teal);
    margin-bottom: 20px;
}

.ez2-hero-a-desc {
    font: 400 17px/1.6 "Inter", sans-serif;
    color: #4B5563;
    max-width: 480px;
    margin: 0 0 32px 0;
}

.ez2-hero-search {
    background: var(--ez-white);
    border: 1px solid #E5E9F0;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(15, 30, 58, 0.06);
}

.ez2-hero-search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #E5E9F0;
    border-radius: 8px;
    padding: 11px 14px;
    margin-bottom: 12px;
}

.ez2-hero-search-field input {
    border: none;
    outline: none;
    font: 400 15px/1 "Inter", sans-serif;
    color: #1F2937;
    width: 100%;
}

.ez2-hero-search-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
}

.ez2-hero-search-row select {
    border: 1px solid #E5E9F0;
    border-radius: 8px;
    padding: 10px;
    font: 500 13px/1 "Inter", sans-serif;
    color: #1F2937;
    background: var(--ez-white);
}

.ez2-hero-search-row button {
    background: var(--ez-teal);
    color: var(--ez-white);
    border: none;
    border-radius: 8px;
    padding: 0 22px;
    font: 600 14px/1 "Inter", sans-serif;
    cursor: pointer;
}

.ez2-hero-search-row button:hover {
    background: #0B6C60;
}

.ez2-hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font: 500 14px/1 "Inter", sans-serif;
    color: #4B5563;
}

.ez2-hero-a-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    height: 440px;
    background-size: cover;
    background-position: center;
    background-color: #E5E9F0;
}

@media (max-width: 991px) {
    .ez2-hero-a-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ez2-hero-a-visual {
        height: 260px;
        order: -1;
    }

    .ez2-hero-a-title {
        font-size: 32px;
    }

    .ez2-hero-search-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .ez2-hero-a {
        padding: 40px 20px;
    }
}

/* ---------- Quick-nav icon strip ---------- */
.ez2-quicknav {
    background: var(--ez-white);
    padding: 36px 32px;
    border-top: 1px solid #EEF0F3;
    border-bottom: 1px solid #EEF0F3;
}

.ez2-quicknav-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.ez2-quicknav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px;
    text-decoration: none !important;
    color: inherit;
}

.ez2-quicknav-item svg {
    color: var(--ez-navy);
}

.ez2-quicknav-item span {
    font: 500 13px/1 "Inter", sans-serif;
    color: #1F2937;
}

@media (max-width: 700px) {
    .ez2-quicknav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ---------- Ad strip ---------- */
.ez2-ad-strip {
    background: var(--ez-white);
    padding: 20px 32px;
    text-align: center;
    border-bottom: 1px solid #EEF0F3;
}

.ez2-ad-strip img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ---------- Section header pattern ---------- */
.ez2-section {
    padding: 64px 32px;
}

.ez2-section.alt {
    background: var(--ez-gray-50);
}

.ez2-section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.ez2-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.ez2-section-title {
    font: 600 26px/1 "Inter", sans-serif;
    color: var(--ez-navy);
    margin: 0;
}

.ez2-section-link {
    font: 600 14px/1 "Inter", sans-serif;
    cursor: pointer;
    text-decoration: none !important;
    color: var(--ez-teal) !important;
    white-space: nowrap;
}

@media (max-width: 560px) {
    .ez2-section {
        padding: 40px 20px;
    }
}

/* ---------- Cards ---------- */
.ez2-card {
    background: var(--ez-white);
    border: 1px solid #E5E9F0;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    display: block;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ez2-card:hover {
    box-shadow: var(--ez-shadow-card);
    transform: translateY(-2px);
}

.ez2-card-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    background: #E5E9F0;
}

.ez2-card-body {
    padding: 16px;
}

.ez2-card-title {
    font: 600 15px/1.3 "Inter", sans-serif;
    color: var(--ez-navy);
    margin-bottom: 8px;
}

.ez2-card-meta {
    font: 400 13px/1 "Inter", sans-serif;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
}

.ez2-card-link {
    font: 600 13px/1 "Inter", sans-serif;
    color: var(--ez-teal) !important;
    text-decoration: none !important;
}

.ez2-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .ez2-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .ez2-card-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Featured + side scholarship layout ---------- */
.ez2-feat-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 24px;
    align-items: stretch;
}

.ez2-feat-card {
    background: var(--ez-white);
    border: 1px solid #E5E9F0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    text-decoration: none !important;
    color: inherit;
}

.ez2-feat-card-img {
    width: 220px;
    flex-shrink: 0;
    object-fit: cover;
    background: #E5E9F0;
}

.ez2-feat-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.ez2-side-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ez2-side-card {
    background: var(--ez-white);
    border: 1px solid #E5E9F0;
    border-radius: 14px;
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    text-decoration: none !important;
    color: inherit;
}

@media (max-width: 900px) {
    .ez2-feat-grid {
        grid-template-columns: 1fr;
    }

    .ez2-feat-card {
        flex-direction: column;
    }

    .ez2-feat-card-img {
        width: 100%;
        height: 180px;
    }
}

/* ---------- Row list (jobs table-style / scholarship rows / job rows) ---------- */
.ez2-row-head {
    display: grid;
    grid-template-columns: 2.2fr 1.4fr 1fr 0.8fr;
    padding: 0 16px 12px;
    border-bottom: 1px solid #E5E9F0;
}

.ez2-row-head span {
    font: 600 11px/1 "Inter", sans-serif;
    color: #6B7280;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ez2-row-head span.right {
    text-align: right;
}

.ez2-row {
    display: grid;
    grid-template-columns: 2.2fr 1.4fr 1fr 0.8fr;
    padding: 16px;
    border-bottom: 1px solid #F0F2F5;
    align-items: center;
    text-decoration: none !important;
    color: inherit;
}

.ez2-row:hover {
    background: var(--ez-gray-50);
}

.ez2-row-title {
    font: 600 14px/1 "Inter", sans-serif;
    color: var(--ez-navy);
}

.ez2-row-text {
    font: 400 14px/1 "Inter", sans-serif;
    color: #4B5563;
}

.ez2-row-accent {
    font: 600 13px/1 "Inter", sans-serif;
    color: var(--ez-teal);
    text-align: right;
}

@media (max-width: 700px) {

    .ez2-row-head {
        display: none;
    }

    .ez2-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .ez2-row-accent {
        text-align: left;
    }
}

/* ---------- List rows (Scholarships / Jobs listing cards) ---------- */
.ez2-list-row {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--ez-white);
    border: 1px solid #E5E9F0;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 14px;
    text-decoration: none !important;
    color: inherit;
    transition: box-shadow 0.2s ease;
}

.ez2-list-row:hover {
    box-shadow: var(--ez-shadow-card);
}

.ez2-list-row-logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 10px;
    object-fit: cover;
    background: #E5E9F0;
}

.ez2-list-row-body {
    flex: 1;
    min-width: 0;
}

.ez2-list-row-title {
    font: 600 16px/1.3 "Inter", sans-serif;
    color: var(--ez-navy);
    margin-bottom: 6px;
}

.ez2-list-row-meta {
    font: 400 13px/1 "Inter", sans-serif;
    color: #6B7280;
}

.ez2-list-row-chevron {
    flex-shrink: 0;
    color: #6B7280;
}

@media (max-width: 600px) {
    .ez2-list-row {
        flex-wrap: wrap;
    }
}

/* ---------- Pills ---------- */
.ez2-pill {
    border-radius: 20px;
    padding: 5px 12px;
    font: 600 12px/1 "Inter", sans-serif;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ez2-pill-open {
    background: rgba(15, 138, 123, 0.12);
    color: var(--ez-teal);
}

.ez2-pill-closing {
    background: rgba(244, 180, 0, 0.15);
    color: #8A5A00;
}

.ez2-pill-closed {
    background: rgba(107, 114, 128, 0.12);
    color: #6B7280;
}

/* ---------- Filter chips (Scholarship level chips) ---------- */
.ez2-chip-row {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.ez2-chip {
    background: var(--ez-white);
    color: #374151;
    border: 1px solid #D8DCE3;
    border-radius: 999px;
    padding: 8px 16px;
    font: 600 13px/1 "Inter", sans-serif;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-block;
}

.ez2-chip.active {
    background: var(--ez-navy);
    color: var(--ez-white) !important;
    border-color: var(--ez-navy);
}

/* ---------- Page head banner (Institutions / Scholarships / Jobs / Learning Hacks list pages) ---------- */
.ez2-page-head {
    background: var(--ez-gray-50);
    padding: 40px 32px;
}

.ez2-page-head-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.ez2-page-title {
    font: 700 32px/1 "Inter", sans-serif;
    color: var(--ez-navy);
    margin: 0 0 8px 0;
}

.ez2-page-subtitle {
    font: 400 15px/1 "Inter", sans-serif;
    color: #6B7280;
}

/* ---------- Filter sidebar (Institutions listing) ---------- */
.ez2-listing-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

.ez2-filter-sidebar {
    background: var(--ez-white);
    border: 1px solid #E5E9F0;
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 92px;
}

.ez2-filter-title {
    font: 600 13px/1 "Inter", sans-serif;
    color: var(--ez-navy);
    margin-bottom: 14px;
}

.ez2-filter-search {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #E5E9F0;
    border-radius: 8px;
    padding: 9px 10px;
    margin-bottom: 14px;
}

.ez2-filter-search input {
    border: none;
    outline: none;
    font: 400 13px/1 "Inter", sans-serif;
    color: #1F2937;
    width: 100%;
}

.ez2-filter-label {
    font: 600 12px/1 "Inter", sans-serif;
    color: #6B7280;
    margin-bottom: 6px;
}

.ez2-filter-select {
    width: 100%;
    border: 1px solid #E5E9F0;
    border-radius: 8px;
    padding: 9px;
    font: 500 13px/1 "Inter", sans-serif;
    color: #1F2937;
    margin-bottom: 16px;
    background: var(--ez-white);
}

.ez2-filter-clear {
    font: 600 13px/1 "Inter", sans-serif;
    color: var(--ez-teal) !important;
    cursor: pointer;
    text-decoration: none !important;
}

@media (max-width: 900px) {
    .ez2-listing-grid {
        grid-template-columns: 1fr;
    }

    .ez2-filter-sidebar {
        position: static;
    }
}

/* ---------- Pagination ---------- */
.ez2-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.ez2-pagination a,
.ez2-pagination span {
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
    border-radius: 8px;
    border: 1px solid #E5E9F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 600 13px/1 "Inter", sans-serif;
    color: #1F2937;
    text-decoration: none !important;
}

.ez2-pagination a.active,
.ez2-pagination span.active {
    color: var(--ez-white);
    background: var(--ez-navy);
    border-color: var(--ez-navy);
}

/* ---------- Detail pages (Institution / Scholarship / Job) ---------- */
.ez2-detail-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 32px 64px;
}

.ez2-back-link {
    font: 600 13px/1 "Inter", sans-serif;
    cursor: pointer;
    text-decoration: none !important;
    color: var(--ez-teal) !important;
    display: inline-block;
}

.ez2-detail-cover {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
    margin-top: 16px;
    background: #E5E9F0;
}

.ez2-detail-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: -40px;
    padding: 0 8px;
    position: relative;
    flex-wrap: wrap;
    gap: 16px;
}

.ez2-detail-logo {
    width: 88px;
    height: 88px;
    border: 4px solid var(--ez-white);
    border-radius: 12px;
    object-fit: cover;
    background: var(--ez-white);
    flex-shrink: 0;
}

.ez2-detail-heading-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.ez2-detail-title-block {
    padding-bottom: 6px;
}

.ez2-detail-title {
    font: 700 26px/1 "Inter", sans-serif;
    color: var(--ez-navy);
    margin: 0;
    display: inline;
}

.ez2-detail-subtitle {
    font: 400 14px/1 "Inter", sans-serif;
    color: #6B7280;
    margin-top: 6px;
}

.ez2-detail-tabs {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid #E5E9F0;
    margin-top: 32px;
    flex-wrap: wrap;
}

.ez2-detail-tab {
    padding: 12px 0;
    cursor: pointer;
    font: 500 14px/1 "Inter", sans-serif;
    color: #6B7280;
    border-bottom: 2px solid transparent;
    text-decoration: none !important;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
}

.ez2-detail-tab.active {
    font-weight: 600;
    color: var(--ez-navy);
    border-bottom: 2px solid var(--ez-teal);
}

.ez2-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 28px;
}

.ez2-detail-main h1 {
    font: 700 28px/1.3 "Inter", sans-serif;
    color: var(--ez-navy);
    margin: 0 0 8px 0;
}

.ez2-detail-main h3 {
    font: 600 16px/1 "Inter", sans-serif;
    color: var(--ez-navy);
    margin: 24px 0 10px 0;
}

.ez2-detail-main h3:first-child {
    margin-top: 0;
}

.ez2-detail-main p {
    font: 400 15px/1.7 "Inter", sans-serif;
    color: #374151;
    margin: 0 0 24px 0;
    white-space: pre-line;
}

.ez2-detail-aside {
    background: var(--ez-gray-50);
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
}

.ez2-detail-aside-item {
    margin-bottom: 16px;
}

.ez2-detail-aside-item:last-child {
    margin-bottom: 0;
}

.ez2-detail-aside-label {
    font: 600 12px/1 "Inter", sans-serif;
    color: #6B7280;
    margin-bottom: 4px;
}

.ez2-detail-aside-value {
    font: 600 14px/1 "Inter", sans-serif;
    color: var(--ez-navy);
}

.ez2-detail-map {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    border: 1px solid #E5E9F0;
}

.ez2-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: var(--ez-gray-50);
    border-radius: 12px;
    padding: 24px;
}

.ez2-detail-info-grid div span {
    display: block;
}

@media (max-width: 900px) {
    .ez2-detail-grid {
        grid-template-columns: 1fr;
    }

    .ez2-detail-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Trust strip ---------- */
.ez2-trust-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.ez2-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 200px;
}

.ez2-trust-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--ez-teal);
}

.ez2-trust-title {
    font: 600 14px/1 "Inter", sans-serif;
    color: var(--ez-navy);
    margin-bottom: 4px;
}

.ez2-trust-desc {
    font: 400 13px/1.4 "Inter", sans-serif;
    color: #6B7280;
}

/* ---------- Article cards (Learning Hacks) ---------- */
.ez2-article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ez2-article-card {
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.ez2-article-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 10px;
    background: #E5E9F0;
    display: block;
}

.ez2-article-category {
    font: 600 12px/1 "Inter", sans-serif;
    color: var(--ez-teal);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 12px 0 6px;
}

.ez2-article-title {
    font: 600 16px/1.4 "Inter", sans-serif;
    color: var(--ez-navy);
}

.ez2-article-date {
    font: 400 13px/1 "Inter", sans-serif;
    color: #6B7280;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .ez2-article-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .ez2-article-grid {
        grid-template-columns: 1fr;
    }
}

/* Featured + list layout (Learning Hacks listing) */
.ez2-featured-article-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-bottom: 48px;
    align-items: center;
}

.ez2-featured-article-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 14px;
    background: #E5E9F0;
    display: block;
}

.ez2-article-row {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid #E5E9F0;
    text-decoration: none !important;
    color: inherit;
}

.ez2-article-row-img {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 10px;
    background: #E5E9F0;
}

@media (max-width: 700px) {
    .ez2-featured-article-grid {
        grid-template-columns: 1fr;
    }

    .ez2-featured-article-img {
        height: 220px;
    }
}

/* Bootstrap's default pagination (Paginator::useBootstrapFour()) still renders
   {{ $x->links() }} on the redesigned listing pages -- align its colors with
   the new palette instead of building a fully custom paginator. */
.ez2-section-inner .pagination,
.ez2-listing-grid .pagination,
.page-num .pagination {
    justify-content: center;
    margin-top: 24px;
}

.pagination .page-link {
    color: var(--ez-navy);
    border-color: #E5E9F0;
}

.pagination .page-link:hover {
    color: var(--ez-teal);
}

.pagination .page-item.active .page-link {
    background-color: var(--ez-navy);
    border-color: var(--ez-navy);
}
