:root {
    --portal-ink: #172d43;
    --portal-blue: #123b66;
    --portal-blue-dark: #0c2c4d;
    --portal-orange: #f0a33a;
    --portal-muted: #657487;
    --portal-line: #e7ebf0;
    --portal-paper: #f6f8fb;
    --portal-white: #fff;
    --portal-shadow: 0 20px 60px rgba(20, 45, 70, .09);
    font-family: Arial, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--portal-ink); background: #fff; font-family: Arial, "Segoe UI", sans-serif; }
body, button, input { font-family: Arial, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--portal-blue); }
img { max-width: 100%; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid rgba(19, 48, 75, .07); }
.site-header__inner { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 28px; }
.brand, .footer-brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { display: block; width: 163px; height: auto; }
.primary-navigation { margin-left: auto; }
.primary-navigation__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-navigation__item { position: relative; }
.primary-navigation__item > a, .primary-navigation__trigger { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: #415267; font-size: 14px; font-weight: 600; white-space: nowrap; }
.primary-navigation__item > a:hover, .primary-navigation__trigger:hover, .primary-navigation__trigger[aria-expanded="true"] { background: #f1f5f9; color: var(--portal-blue); }
.primary-navigation__trigger .bi { font-size: 11px; transition: transform .2s ease; }
.primary-navigation__trigger[aria-expanded="true"] .bi { transform: rotate(180deg); }
.primary-navigation__dropdown { position: absolute; top: calc(100% + 7px); left: 0; display: none; width: 240px; margin: 0; padding: 8px; list-style: none; border: 1px solid var(--portal-line); border-radius: 12px; background: #fff; box-shadow: 0 15px 40px rgba(19, 48, 75, .14); }
.primary-navigation__dropdown.is-open { display: block; }
.primary-navigation__dropdown a { display: block; padding: 10px 12px; border-radius: 7px; color: #415267; font-size: 14px; }
.primary-navigation__dropdown a:hover, .primary-navigation__dropdown a:focus-visible { background: #f1f5f9; color: var(--portal-blue); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-account { position: relative; }
.header-member-name { display: inline-flex; min-height: 42px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid var(--portal-line); border-radius: 8px; color: var(--portal-ink); font-size: 14px; font-weight: 700; list-style: none; cursor: pointer; }
.header-member-name::-webkit-details-marker { display: none; }
.header-member-name::after { content: "\25BE"; color: var(--portal-muted); font-size: 12px; }
.header-account__menu { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; display: none; width: 220px; padding: 8px; border: 1px solid var(--portal-line); border-radius: 10px; background: #fff; box-shadow: var(--portal-shadow); }
.header-account[open] .header-account__menu { display: grid; gap: 3px; }
.header-account__name { overflow: hidden; padding: 8px 10px; color: var(--portal-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.header-account__menu > a, .header-logout-form button { display: flex; width: 100%; min-height: 40px; align-items: center; gap: 9px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: #415267; font-size: 14px; text-align: left; cursor: pointer; }
.header-account__menu > a:hover, .header-logout-form button:hover { background: #f1f5f9; color: var(--portal-blue); }
.header-logout-form { display: block; margin: 0; padding-top: 4px; border-top: 1px solid var(--portal-line); }
.header-login { display: inline-flex; align-items: center; gap: 7px; color: #415267; font-size: 14px; font-weight: 600; white-space: nowrap; }
.header-login:hover { color: var(--portal-blue); }
.header-login .bi { font-size: 17px; }
.header-home, .mobile-feed-link { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--portal-line); border-radius: 8px; background: #fff; color: var(--portal-blue); font-size: 19px; }
.header-home:hover, .mobile-feed-link:hover { background: #f1f5f9; color: var(--portal-blue-dark); }
.mobile-feed-link { display: none; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--portal-blue); color: #fff; box-shadow: 0 7px 18px rgba(18, 59, 102, .16); }
.button--primary:hover { background: var(--portal-blue-dark); color: #fff; }
.button--quiet { border-color: var(--portal-line); background: #fff; color: var(--portal-blue); }
.button--white { background: #fff; color: var(--portal-blue); }
.button--white:hover { background: #f1f5f9; color: var(--portal-blue-dark); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(240, 163, 58, .7); outline-offset: 3px; }
.mobile-nav-toggle, .mobile-nav-actions { display: none; }

.hero { position: relative; overflow: hidden; background: var(--portal-blue-dark); color: #fff; }
.home-hero-swiper, .hero-empty { position: relative; min-height: 580px; }
.hero-slide { position: relative; display: flex; min-height: 580px; align-items: center; overflow: hidden; isolation: isolate; }
.hero-slide__image { position: absolute; z-index: -2; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-slide__image[hidden] { display: none; }
.hero-slide__overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(7, 27, 47, .84) 0%, rgba(11, 38, 63, .65) 46%, rgba(13, 39, 63, .16) 100%), linear-gradient(0deg, rgba(7, 27, 47, .2), transparent 45%); }
.hero-slide__content { position: relative; z-index: 1; padding-top: 10px; padding-bottom: 60px; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: #bd7e23; font-size: 11px; font-weight: 800; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.eyebrow--light { color: #ffd28f; }
.hero-slide h3, .hero-empty h1 { max-width: 680px; margin: 0 0 16px; color: #fff; font-family: Arial, "Segoe UI", sans-serif; font-weight: 800; letter-spacing: -.045em; line-height: 1.09; }
.hero-slide p, .hero-empty p { max-width: 570px; margin: 0 0 30px; color: rgba(255,255,255,.85); font-size: 17px; line-height: 1.7; }
.hero-search { display: flex; width: min(650px, 100%); min-height: 66px; align-items: center; gap: 14px; padding: 8px 9px 8px 20px; border: 1px solid rgba(255,255,255,.7); border-radius: 10px; background: #fff; box-shadow: 0 12px 35px rgba(0,0,0,.16); }
.hero-search > .bi { color: #8290a0; font-size: 19px; }
.hero-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--portal-ink); font-size: 15px; }
.hero-search input::placeholder { color: #8b97a5; }
.hero-search input:focus-visible { outline: 0; }
.hero-search .button { min-height: 48px; }
.hero-text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 19px; color: #fff; font-size: 13px; font-weight: 700; }
.hero-links { display: flex; flex-wrap: wrap; gap: 9px 10px; margin-top: 16px; max-width: 720px; }
.hero-link { gap: 4px; }
.hero-link .flash-link__icon { width: 34px; height: 34px; font-size: 14px; box-shadow: 0 4px 12px rgba(15,42,71,.12); }
.hero-link .flash-link__label { color: #fff; font-size: 9px; max-width: 60px; }
.hero-link .flash-link__tip { top: calc(100% + 4px); padding: 4px 8px; font-size: 12px; }
.hero-link { z-index: 1; }
.hero-link:hover { z-index: 6; }
.hero-text-link:hover { color: #ffd28f; }
.hero-controls { position: absolute; z-index: 4; right: 0; bottom: 33px; left: 0; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.hero-pagination { position: static; display: flex; width: auto !important; align-items: center; gap: 7px; pointer-events: auto; }
.hero-pagination .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 !important; background: rgba(255,255,255,.68); opacity: 1; }
.hero-pagination .swiper-pagination-bullet-active { width: 24px; border-radius: 5px; background: var(--portal-orange); }
.hero-arrows { display: flex; gap: 9px; pointer-events: auto; }
.hero-arrow, .round-arrow { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 16px; cursor: pointer; transition: .2s ease; }
.hero-arrow:hover { background: #fff; color: var(--portal-blue); }
.hero-bottom-shape { position: absolute; z-index: 2; right: -3%; bottom: -39px; left: -3%; height: 64px; border-radius: 50% 50% 0 0 / 60% 60% 0 0; background: #fff; pointer-events: none; }
.hero-empty { display: flex; align-items: center; padding: 70px 0; background: linear-gradient(115deg, #102f50, #286187); }

.section { padding: 40px 0; }
.section-heading { margin-bottom: 22px; }
.section-heading--center { max-width: 650px; margin-right: auto; margin-left: auto; text-align: center; }
.section-heading h2, .ad-banner h2 { margin: 0 0 10px; color: var(--portal-ink); font-family: Arial, "Segoe UI", sans-serif; font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; letter-spacing: -.035em; line-height: 1.18; }
.section-heading p { margin: 0; color: var(--portal-muted); font-size: 15px; line-height: 1.65; }
.section-heading--row { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-heading--row .eyebrow { margin-bottom: 10px; }
.section-heading--row h2 { margin-bottom: 8px; }
.section-heading--row p { max-width: 560px; }
.districts-section { padding-top: 24px; }
.district-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: 220px; gap: 18px; }
.district-card { position: relative; display: block; overflow: hidden; min-width: 0; border-radius: 12px; background: #dce4ed; color: #fff; isolation: isolate; }
.district-card:first-child { grid-row: span 2; }
.district-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.district-card img[hidden] { display: none; }
.district-card:hover img { transform: scale(1.055); }
.district-card__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(10,28,44,.82), rgba(10,28,44,0) 72%); }
.district-card__content { position: absolute; right: 54px; bottom: 22px; left: 22px; display: flex; flex-direction: column; gap: 5px; }
.district-card__content strong { color: #fff; font-family: Arial, "Segoe UI", sans-serif; font-size: 24px; font-weight: 800; }
.district-card__content small { color: rgba(255,255,255,.83); font-size: 12px; }
.district-card__arrow { position: absolute; right: 18px; bottom: 20px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: #fff; transition: .2s ease; }
.district-card:hover .district-card__arrow { transform: translate(2px,-2px); background: #fff; color: var(--portal-blue); }
.section-action { display: flex; justify-content: center; margin-top: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--portal-blue); font-size: 14px; font-weight: 800; }
.text-link .bi { transition: transform .2s ease; }
.text-link:hover .bi { transform: translateX(3px); }

.featured-section { background: var(--portal-paper); }
.section-arrows { display: flex; gap: 9px; padding-bottom: 5px; }
.round-arrow { border-color: #dce3eb; background: #fff; color: var(--portal-blue); }
.round-arrow:hover { border-color: var(--portal-blue); background: var(--portal-blue); color: #fff; }
.featured-listings { margin-top: 24px; padding: 18px; border: 1px solid var(--portal-line); border-radius: 13px; background: #fff; }
.featured-listings__heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.featured-listings__heading .eyebrow { margin-bottom: 5px; }
.featured-listings__heading h3 { margin: 0; color: var(--portal-ink); font-size: 21px; font-weight: 800; }
.listing-card { min-height: 170px; padding: 16px; border: 1px solid var(--portal-line); border-radius: 10px; background: #fff; }
.listing-card__type { display: inline-block; padding: 5px 8px; border-radius: 20px; font-size: 10px; font-weight: 800; }
.listing-card__type--employer { background: #e9f3ff; color: #164f83; }
.listing-card__type--seeker { background: #f2edff; color: #62439a; }
.listing-card__type--buy { background: #e7f1ff; color: #084298; }
.listing-card__type--sell { background: #d1e7dd; color: #0f5132; }
.listing-card__price { margin-left: auto; color: #146c43; font-size: 12px; }
.latest-section { padding-top: 16px; padding-bottom: 0; }
.latest-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.latest-heading h2 { margin: 0; color: var(--portal-ink); font-size: 16px; font-weight: 800; }
.latest-heading .section-arrows { display: flex; gap: 6px; }
.latest-heading .round-arrow { width: 30px; height: 30px; border-color: var(--portal-line); background: #fff; color: var(--portal-ink); font-size: 12px; }
.latest-swiper { overflow: hidden; }
.latest-card { display: flex; height: auto; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--portal-line); border-radius: 10px; background: #fff; color: inherit; text-decoration: none; }
.latest-card:hover { border-color: #b9cde3; box-shadow: 0 4px 14px rgba(20,45,70,.08); }
.latest-card img { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: #e6ebf0; }
.latest-card__text { display: flex; min-width: 0; flex-direction: column; }
.latest-card__text strong { overflow: hidden; color: var(--portal-ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.latest-card__text small { overflow: hidden; color: var(--portal-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ad-swiper { position: relative; overflow: hidden; border-radius: 15px; }
.ad-swiper .ad-banner { height: 100%; }
a.ad-banner { color: inherit; text-decoration: none; }
.ad-banner--text { grid-template-columns: 1fr; }
.ad-pagination { position: absolute; z-index: 3; bottom: 12px !important; left: 0; width: 100%; text-align: center; }
.ad-pagination .swiper-pagination-bullet { background: rgba(255,255,255,.7); opacity: 1; }
.ad-pagination .swiper-pagination-bullet-active { background: var(--portal-orange); }
.listing-card h4 { overflow: hidden; margin: 10px 0 6px; font-size: 15px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.listing-card p { display: -webkit-box; overflow: hidden; min-height: 38px; margin: 0 0 12px; color: var(--portal-muted); font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.listing-card__meta { display: flex; flex-wrap: wrap; gap: 5px 14px; color: #718094; font-size: 10px; }
.listing-card__meta .bi { margin-right: 3px; }
.business-card { height: auto; overflow: hidden; border: 1px solid var(--portal-line); border-radius: 12px; background: #fff; box-shadow: 0 8px 28px rgba(20,45,70,.045); }
.business-card__image { position: relative; display: block; height: 190px; overflow: hidden; background: #e6ebf0; }
.business-card__image > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.business-card__image:hover > img { transform: scale(1.04); }
.sample-tag { position: absolute; top: 13px; right: 13px; padding: 5px 9px; border-radius: 30px; background: rgba(255,255,255,.94); color: #775821; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.business-card__logo { position: absolute; bottom: -21px; left: 17px; display: grid; width: 48px; height: 48px; place-items: center; border: 3px solid #fff; border-radius: 50%; background: #e8f0f7; color: var(--portal-blue); font-family: Arial, "Segoe UI", sans-serif; font-size: 14px; font-weight: 800; }
.business-card__body { padding: 31px 18px 17px; }
.business-card__meta { display: flex; justify-content: space-between; gap: 8px; color: var(--portal-muted); font-size: 11px; }
.business-card__meta > span:first-child { color: #8a6428; font-weight: 700; }
.business-card__meta .bi { color: #8a97a5; }
.business-card h3 { overflow: hidden; margin: 11px 0 7px; font-family: Arial, "Segoe UI", sans-serif; font-size: 18px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.business-card p { display: -webkit-box; overflow: hidden; min-height: 42px; margin: 0 0 15px; color: var(--portal-muted); font-size: 12px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.business-card__stats { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid var(--portal-line); color: #68788a; font-size: 12px; }
.business-card__stats > span:first-child .bi { color: #f0a33a; }
.business-card__stats > span:last-child .bi { color: #dc6d74; }
.business-card__stats small { color: #8793a0; font-size: 11px; }
.featured-section .section-action { margin-top: 16px; }

.ad-section { padding-top: 12px; padding-bottom: 16px; }
.ad-banner { display: grid; min-height: 310px; grid-template-columns: 1fr .92fr; overflow: hidden; border-radius: 15px; background: var(--portal-blue); box-shadow: var(--portal-shadow); }
.ad-banner__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 44px clamp(28px, 5vw, 64px); }
.ad-banner h2 { max-width: 480px; color: #fff; font-size: clamp(27px, 3vw, 36px); }
.ad-banner p { max-width: 490px; margin: 0 0 24px; color: rgba(255,255,255,.79); font-size: 14px; line-height: 1.7; }
.ad-banner__image-wrap { position: relative; min-height: 310px; background: #244a6c; }
.ad-banner__image-wrap img { display: block; width: 100%; height: 100%; min-height: 310px; object-fit: cover; }
.ad-banner__image-wrap::after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--portal-blue), transparent 42%); content: ""; pointer-events: none; }
.ad-demo-label { margin-top: 13px; color: rgba(255,255,255,.61); font-size: 10px; }

.news-section { padding-top: 24px; }
.news-all-link { margin-bottom: 6px; white-space: nowrap; }
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.news-card { min-width: 0; overflow: hidden; border: 1px solid var(--portal-line); border-radius: 11px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--portal-shadow); }
.news-card__image { position: relative; display: block; height: 174px; overflow: hidden; background: #e6ebf0; }
.news-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-card__image img { transform: scale(1.04); }
.news-card__category { position: absolute; bottom: 12px; left: 12px; padding: 6px 9px; border-radius: 5px; background: #fff; color: var(--portal-blue); font-size: 10px; font-weight: 800; }
.news-card__body { padding: 17px; }
.news-card time { color: #8793a0; font-size: 11px; }
.news-card h3 { display: -webkit-box; overflow: hidden; min-height: 48px; margin: 9px 0 8px; color: var(--portal-ink); font-family: Arial, "Segoe UI", sans-serif; font-size: 15px; font-weight: 800; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-card p { display: -webkit-box; overflow: hidden; min-height: 56px; margin: 0 0 12px; color: var(--portal-muted); font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.news-card__read { display: inline-flex; align-items: center; gap: 6px; color: var(--portal-blue); font-size: 11px; font-weight: 800; }
.empty-state { padding: 26px; border: 1px dashed #cbd5df; border-radius: 10px; color: var(--portal-muted); text-align: center; }
.home-loading, .home-error { display: flex; min-height: 430px; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; text-align: center; }
.home-loading p, .home-error p { color: var(--portal-muted); }
.loading-spinner { width: 38px; height: 38px; border: 3px solid #dce5ee; border-top-color: var(--portal-blue); border-radius: 50%; animation: portal-spin .8s linear infinite; }
@keyframes portal-spin { to { transform: rotate(360deg); } }
.home-error__icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #fff1eb; color: #ba5535; font-size: 24px; }
.home-error h1 { margin: 18px 0 4px; font-family: Arial, "Segoe UI", sans-serif; font-size: 28px; }
.home-error .button { margin-top: 10px; }

.site-footer { padding: 70px 0 20px; background: #102e4c; color: rgba(255,255,255,.72); }
.footer-main { display: grid; grid-template-columns: 1.15fr .7fr 1.15fr 1.25fr; gap: 42px; padding-bottom: 54px; }
.footer-brand img { width: 163px; height: auto; padding: 5px; border-radius: 6px; background: #fff; }
.footer-about p { max-width: 280px; margin: 18px 0 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.7; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-column h2, .footer-join h2 { margin: 0 0 5px; color: #fff; font-family: Arial, "Segoe UI", sans-serif; font-size: 15px; font-weight: 800; }
.footer-column > a { color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.55; }
.footer-column > a:hover { color: #fff; }
.footer-contact p { margin: 0; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.6; }
.footer-contact > a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact > a .bi { color: #f2bd73; }
.footer-join { padding: 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; background: rgba(255,255,255,.055); }
.footer-join h2 { margin: 4px 0 18px; font-size: 19px; line-height: 1.45; }
.footer-join .eyebrow { margin-bottom: 7px; font-size: 9px; }
.footer-join .button { min-height: 40px; padding-inline: 14px; font-size: 12px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.58); font-size: 11px; }
.footer-social, .footer-app-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-social a, .footer-app-links a { color: rgba(255,255,255,.72); }

@media (max-width: 1100px) {
    .site-header__inner { gap: 16px; }
    .primary-navigation__item > a, .primary-navigation__trigger { padding-inline: 8px; font-size: 13px; }
    .header-actions { gap: 12px; }
    .header-join { padding-inline: 13px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 35px; }
}

@media (max-width: 1000px) {
    .site-header__inner { min-height: 76px; }
    .mobile-feed-link { display: inline-flex; width: 44px; height: 44px; margin-left: auto; font-size: 22px; }
    .mobile-nav-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-left: 8px; border: 1px solid var(--portal-line); border-radius: 8px; background: #fff; color: var(--portal-blue); font-size: 22px; }
    .primary-navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; margin: 0; padding: 14px 24px 20px; border-top: 1px solid var(--portal-line); background: #fff; box-shadow: 0 14px 22px rgba(20,45,70,.1); }
    .primary-navigation.is-open { display: block; }
    .primary-navigation__list { flex-direction: column; align-items: stretch; gap: 2px; }
    .primary-navigation__item > a, .primary-navigation__trigger { width: 100%; justify-content: space-between; padding-inline: 12px; }
    .primary-navigation__dropdown { position: static; width: auto; margin: 0 0 5px 12px; padding: 3px; border: 0; border-left: 2px solid #dfe8f0; border-radius: 0; box-shadow: none; }
    .primary-navigation__dropdown a { padding: 10px 12px; }
    .mobile-nav-actions { display: flex; gap: 10px; padding-top: 13px; }
    .mobile-nav-actions .button { flex: 1; }
    .mobile-nav-actions .mobile-nav-home { flex: 0 0 46px; padding: 0; }
    .mobile-nav-actions .header-account { flex: 1; }
    .mobile-nav-actions .header-member-name { width: 100%; justify-content: center; }
    .mobile-nav-actions .header-account__menu { top: calc(100% + 6px); right: 0; width: min(260px, calc(100vw - 48px)); }
    .header-actions { display: none; }
    .home-hero-swiper, .hero-slide, .hero-empty { min-height: 530px; }
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .container { width: min(100% - 32px, 520px); }
    .site-header__inner { min-height: 68px; }
    .brand img { width: 142px; }
    .home-hero-swiper, .hero-slide, .hero-empty { min-height: 570px; }
    .hero-slide__image { object-position: 58% center; }
    .hero-slide__overlay { background: linear-gradient(90deg, rgba(7,27,47,.83), rgba(7,27,47,.52)), linear-gradient(0deg, rgba(7,27,47,.35), transparent 75%); }
    .hero-slide__content { padding-top: 0; padding-bottom: 62px; }
    .hero-slide h3, .hero-empty h1 { max-width: 430px;  }
    .hero-slide p, .hero-empty p { max-width: 440px; font-size: 14px; }
    .hero-search { min-height: 58px; flex-wrap: wrap; gap: 8px; padding: 8px; }
    .hero-search > .bi { margin-left: 7px; }
    .hero-search input { flex-basis: calc(100% - 48px); padding-right: 8px; font-size: 13px; }
    .hero-search .button { width: 100%; min-height: 44px; }
    .hero-controls { bottom: 29px; }
    .hero-arrow { width: 38px; height: 38px; }
    .section { padding: 28px 0; }
    .districts-section { padding-top: 18px; }
    .section-heading { margin-bottom: 16px; }
    .section-heading--center { text-align: left; }
    .section-heading--center h2 { font-size: 30px; }
    .section-heading p { font-size: 13px; }
    .district-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 175px; gap: 11px; }
    .district-card:first-child { grid-row: span 2; }
    .district-card__content { right: 12px; bottom: 14px; left: 14px; }
    .district-card__content strong { font-size: 19px; }
    .district-card__content small { font-size: 10px; }
    .district-card__arrow { right: 10px; bottom: 11px; width: 31px; height: 31px; }
    .section-heading--row { align-items: flex-start; }
    .section-heading--row h2 { font-size: 28px; }
    .section-arrows { gap: 6px; }
    .round-arrow { width: 36px; height: 36px; }
    .business-card__image { height: 170px; }
    .business-card__body { padding-inline: 14px; }
    .business-card h3 { font-size: 16px; }
    .featured-listings { margin-top: 18px; padding: 14px; }
    .featured-listings__heading h3 { font-size: 18px; }
    .ad-section { padding-top: 0; padding-bottom: 12px; }
    .ad-banner { grid-template-columns: 1fr; }
    .ad-banner__copy { padding: 30px 24px; }
    .ad-banner__image-wrap { min-height: 195px; }
    .ad-banner__image-wrap img { min-height: 195px; max-height: 230px; }
    .ad-banner__image-wrap::after { background: linear-gradient(0deg, var(--portal-blue), transparent 70%); }
    .news-section { padding-top: 18px; }
    .news-section .section-heading--row { flex-wrap: wrap; gap: 14px; }
    .news-all-link { margin: 0 0 3px; }
    .news-grid { grid-template-columns: 1fr; gap: 14px; }
    .news-card { display: grid; grid-template-columns: 125px minmax(0, 1fr); }
    .news-card__image { height: 100%; min-height: 180px; }
    .news-card__body { padding: 13px; }
    .news-card h3 { min-height: 0; font-size: 13px; }
    .news-card p { display: none; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
    .footer-about { grid-column: 1 / -1; }
    .footer-join { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 360px) {
    .container { width: calc(100% - 26px); }
    .brand img { width: 132px; }
    .district-grid { grid-auto-rows: 155px; gap: 8px; }
    .district-card__content strong { font-size: 16px; }
    .news-card { grid-template-columns: 105px minmax(0, 1fr); }
    .news-card__body { padding: 10px; }
    .news-card__read { font-size: 10px; }
    .footer-main { gap: 26px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Hızlı erişim çubuğu */
.flash-bar { padding: 4px 0 12px; }
.flash-bar__list { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.flash-link { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.flash-link__icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: #6cb4f5; font-size: 24px; box-shadow: 0 6px 18px rgba(15,42,71,.12); border: 1px solid #e5eaf1; transition: transform .18s, background .18s, color .18s; }
.flash-link:hover .flash-link__icon, .flash-link:focus-visible .flash-link__icon { background: #1f6feb; color: #fff; transform: translateY(-3px); }
.flash-link__label { display: none; font-size: 11px; font-weight: 700; color: #3b4a5c; text-align: center; max-width: 76px; line-height: 1.25; }
.flash-link__tip { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 5; padding: 5px 10px; border-radius: 5px; background: #5f5f5f; color: #fff; font-size: 13px; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s; }
.flash-link:hover .flash-link__tip, .flash-link:focus-visible .flash-link__tip { opacity: 1; visibility: visible; }
@media (max-width: 767px) {
    .flash-bar__list { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 14px; padding: 4px 2px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .flash-bar__list::-webkit-scrollbar { display: none; }
    .flash-link { flex: 0 0 auto; }
    .flash-link__label { display: block; }
    .flash-link__tip { display: none; }
}

/* Ticaret gündemi kaydırıcı */
.news-swiper { overflow: hidden; }
.news-swiper .news-card { display: block; height: auto; }
.news-swiper .news-card p { display: -webkit-box; }
.news-swiper .news-card h3 { min-height: 48px; font-size: 15px; }
.news-section .section-arrows { display: flex; align-items: center; gap: 10px; }

.header-member-label{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;vertical-align:bottom}
