/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background-color: #f5f5f5;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: #1a5276;
    padding: 0 24px;
    height: 56px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.logo-highlight {
    color: #f0b429;
}

.logo-domain {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    margin-left: 2px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 14px;
}

.nav-links a:hover {
    color: white;
}

.nav-btn {
    background-color: #f0b429;
    color: #1a1a1a;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-btn:hover {
    background-color: #e0a820;
}

/* ===== HERO ===== */
.hero {
    background-color: #1a5276;
    padding: 56px 24px 64px;
    text-align: center;
}

.hero-container {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.hero p {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    margin-bottom: 32px;
}

/* ===== SEARCH BAR ===== */
.search-bar {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 4px 4px 4px 16px;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar i {
    color: #888;
    font-size: 18px;
    margin-right: 8px;
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background: transparent;
    padding: 10px 0;
}

.search-bar button {
    background-color: #1a5276;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.search-bar button:hover {
    background-color: #154360;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background-color: #154360;
    padding: 16px 24px;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    color: #f0b429;
    font-size: 22px;
    font-weight: 600;
}

.stat-label {
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    margin-top: 2px;
}
/* ===== SECTIONS ===== */
.section {
    padding: 40px 24px;
    background-color: #ffffff;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.section-header p {
    font-size: 14px;
    color: #888888;
}

/* ===== COUNTIES GRID ===== */
.counties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.county-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.county-card:hover {
    border-color: #1a5276;
    transform: translateY(-2px);
}

.county-card i {
    font-size: 22px;
    color: #1a5276;
    margin-bottom: 8px;
    display: block;
}

.county-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.county-meta {
    font-size: 12px;
    color: #888888;
}

.more-card {
    border: 1px dashed #cccccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.more-card i {
    color: #888888;
}

.more-card .county-name {
    color: #1a5276;
}
/* ===== SECTION GRAY ===== */
.section-gray {
    background-color: #f5f5f5;
}

/* ===== POSITIONS GRID ===== */
.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.position-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px 16px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.position-card:hover {
    border-color: #1a5276;
    transform: translateY(-2px);
}

.position-card i {
    font-size: 24px;
    color: #1a5276;
    margin-bottom: 10px;
    display: block;
}

.position-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.position-meta {
    font-size: 12px;
    color: #888888;
}

/* ===== CANDIDATES LIST ===== */
.candidates-list {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
}

.candidate-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.candidate-row:last-child {
    border-bottom: none;
}

.candidate-row:hover {
    background: #f9f9f9;
}

.candidate-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
}

.av-blue {
    background: #d6eaf8;
    color: #1a5276;
}

.av-gold {
    background: #fef9e7;
    color: #b7950b;
}

.av-purple {
    background: #e8d5f5;
    color: #6c3483;
}

.candidate-info {
    flex: 1;
}

.candidate-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a5276;
    cursor: pointer;
}

.candidate-name:hover {
    text-decoration: underline;
}

.candidate-meta {
    font-size: 12px;
    color: #888888;
    margin-top: 2px;
}

.candidate-badges {
    display: flex;
    gap: 6px;
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 99px;
    font-weight: 500;
}

.badge-incumbent {
    background: #d6eaf8;
    color: #1a5276;
}

.badge-aspirant {
    background: #fef9e7;
    color: #b7950b;
}

.badge-premium {
    background: #d5f5e3;
    color: #1e8449;
}

/* ===== VIEW BUTTON ===== */
.view-btn {
    background: none;
    border: 1px solid #1a5276;
    color: #1a5276;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.view-btn:hover {
    background: #1a5276;
    color: white;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(90deg, #1a5276, #154360);
    padding: 28px 24px;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-text h3 {
    color: white;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cta-text p {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
}

.cta-btn {
    background: #f0b429;
    color: #1a1a1a;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.cta-btn:hover {
    background: #e0a820;
}
/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px 16px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
    border-color: #1a5276;
    transform: translateY(-2px);
}

.service-card i {
    font-size: 24px;
    color: #1a5276;
    margin-bottom: 10px;
    display: block;
}

.service-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.service-desc {
    font-size: 12px;
    color: #888888;
    line-height: 1.5;
}

.services-cta {
    text-align: center;
    margin-top: 8px;
}

.services-btn {
    background: none;
    border: 1px solid #1a5276;
    color: #1a5276;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s, color 0.15s;
}

.services-btn:hover {
    background: #1a5276;
    color: white;
}

/* ===== NEWS SECTION ===== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.15s;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: #f9f9f9;
}

.news-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a5276;
    flex-shrink: 0;
    margin-top: 5px;
}

.news-title {
    font-size: 14px;
    font-weight: 500;
    color: #1a5276;
    margin-bottom: 4px;
}

.news-meta {
    font-size: 12px;
    color: #888888;
}

/* ===== FOOTER ===== */
.footer {
    background: #154360;
    padding: 40px 24px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-logo span {
    color: #f0b429;
}

.footer-domain {
    color: rgba(255,255,255,0.4) !important;
    font-size: 12px;
}

.footer-tagline {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    line-height: 1.6;
    max-width: 260px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-title {
    color: white;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-col a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    padding: 16px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: rgba(255,255,255,0.7);
}
/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 24px;
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888888;
}

.breadcrumb-inner a {
    color: #1a5276;
    text-decoration: none;
}

.breadcrumb-inner a:hover {
    text-decoration: underline;
}

.breadcrumb-inner i {
    font-size: 12px;
}

/* ===== COUNTY HERO ===== */
.county-hero {
    background: #1a5276;
    padding: 32px 24px;
}

.county-hero h1 {
    color: white;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.county-hero h1 i {
    font-size: 22px;
}

.county-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 24px;
}

.county-hero-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.county-hero-stat {
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 12px 20px;
    text-align: center;
    min-width: 80px;
}

/* ===== AD STRIP ===== */
.ad-strip {
    background: #154360;
    padding: 10px 24px;
}

.ad-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ad-strip-inner p {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ad-strip-btn {
    background: #f0b429;
    color: #1a1a1a;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

/* ===== COUNTY MAIN LAYOUT ===== */
.county-main {
    padding: 28px 24px;
    background: #f5f5f5;
}

.county-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 20px;
    align-items: start;
}

.filter-section {
    margin-bottom: 28px;
}

/* ===== FILTER BUTTONS ===== */
.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.filter-btn {
    border: 1px solid #e5e5e5;
    background: #ffffff;
    color: #888888;
    padding: 7px 16px;
    border-radius: 99px;
    font-size: 13px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.15s;
}

.filter-btn:hover {
    border-color: #1a5276;
    color: #1a5276;
}

.filter-btn.active {
    background: #1a5276;
    color: white;
    border-color: #1a5276;
}

/* ===== CONSTITUENCIES GRID ===== */
.const-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.const-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.const-card:hover {
    border-color: #1a5276;
}

.const-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a5276;
    margin-bottom: 4px;
}

.const-meta {
    font-size: 12px;
    color: #888888;
    margin-bottom: 8px;
}

.const-badges {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

/* ===== LOAD MORE ===== */
.load-more {
    padding: 14px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.load-more-btn {
    background: none;
    border: 1px solid #e5e5e5;
    color: #888888;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}

.load-more-btn:hover {
    border-color: #1a5276;
    color: #1a5276;
}

/* ===== SIDEBAR ===== */
.county-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 70px;
}

.sidebar-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
}

.sidebar-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-card-title i {
    color: #1a5276;
    font-size: 16px;
}

.sidebar-card-text {
    font-size: 12px;
    color: #888888;
    margin-bottom: 12px;
    line-height: 1.5;
}

.sidebar-primary-btn {
    background: #1a5276;
    color: white;
    border: none;
    padding: 9px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    width: 100%;
    font-family: 'Inter', sans-serif;
    margin-bottom: 8px;
}

.sidebar-secondary-btn {
    background: none;
    border: 1px solid #e5e5e5;
    color: #888888;
    padding: 8px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    width: 100%;
    font-family: 'Inter', sans-serif;
}

.sidebar-gold-btn {
    background: #f0b429;
    color: #1a1a1a;
    border: none;
    padding: 9px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    font-family: 'Inter', sans-serif;
}

/* ===== WARD PILLS ===== */
.ward-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ward-pill {
    font-size: 11px;
    border: 1px solid #e5e5e5;
    border-radius: 99px;
    padding: 4px 10px;
    color: #888888;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.15s;
}

.ward-pill:hover {
    border-color: #1a5276;
    color: #1a5276;
}

.more-pill {
    color: #1a5276;
    border-color: #1a5276;
}

/* ===== SIDEBAR SERVICES ===== */
.sidebar-services {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-service {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #888888;
    cursor: pointer;
    transition: color 0.15s;
}

.sidebar-service i {
    font-size: 15px;
    color: #1a5276;
}

.sidebar-service:hover {
    color: #1a5276;
}

/* ===== GREEN AVATAR ===== */
.av-green {
    background: #d5f5e3;
    color: #1e8449;
}
/* ===== PROFILE HERO ===== */
.profile-hero {
    background: #1a5276;
    padding: 32px 24px;
}

.profile-hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.profile-avatar-lg {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    flex-shrink: 0;
    border: 3px solid rgba(255,255,255,0.3);
}

.profile-hero-info h1 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 6px;
}

.profile-position {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-hero-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.badge-verified {
    background: #fef9e7;
    color: #7d6608;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-verified i {
    font-size: 11px;
}

.profile-hero-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s;
}

.action-btn:hover {
    background: rgba(255,255,255,0.25);
}

/* ===== PROFILE MAIN ===== */
.profile-main {
    padding: 24px;
    background: #f5f5f5;
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 20px;
    align-items: start;
}

/* ===== PROFILE STATS ROW ===== */
.profile-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.profile-stat {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.profile-stat-num {
    font-size: 20px;
    font-weight: 600;
    color: #1a5276;
}

.profile-stat-lbl {
    font-size: 11px;
    color: #888888;
    margin-top: 2px;
}

/* ===== PROFILE CARDS ===== */
.profile-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 14px;
}

.profile-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-card-title i {
    color: #1a5276;
    font-size: 16px;
}

.free-tag {
    font-size: 10px;
    background: #d5f5e3;
    color: #1e5631;
    padding: 2px 8px;
    border-radius: 99px;
    font-weight: 500;
    margin-left: 4px;
}

.premium-tag {
    font-size: 10px;
    background: #fef9e7;
    color: #7d6608;
    padding: 2px 8px;
    border-radius: 99px;
    font-weight: 500;
    margin-left: 4px;
}

/* ===== INFO TABLE ===== */
.info-table {
    display: flex;
    flex-direction: column;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #888888;
}

.info-value {
    font-weight: 500;
    text-align: right;
    color: #1a1a1a;
}

/* ===== BIO ===== */
.profile-bio {
    font-size: 14px;
    color: #555555;
    line-height: 1.7;
}

/* ===== MANIFESTO ===== */
.manifesto-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.manifesto-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    color: #444444;
    line-height: 1.5;
}

.manifesto-item:last-child {
    border-bottom: none;
}

.manifesto-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a5276;
    flex-shrink: 0;
    margin-top: 5px;
}

/* ===== PREMIUM LOCKED ===== */
.premium-locked {
    background: #fffdf0;
    border: 2px dashed #f0b429;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 14px;
    text-align: center;
}

.premium-locked-icon {
    font-size: 32px;
    color: #f0b429;
    margin-bottom: 12px;
}

.premium-locked h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.premium-locked p {
    font-size: 13px;
    color: #888888;
    margin-bottom: 16px;
    line-height: 1.6;
}

.premium-locked-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    text-align: left;
}

.premium-locked-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555555;
}

.premium-locked-item i {
    color: #1a5276;
    font-size: 15px;
    flex-shrink: 0;
}

/* ===== OTHER CANDIDATES ===== */
.other-candidates {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.other-candidate {
    display: flex;
    align-items: center;
    gap: 10px;
}

.other-candidate-info {
    flex: 1;
}

.other-candidate-name {
    font-size: 13px;
    font-weight: 500;
    color: #1a5276;
}

.other-candidate-meta {
    font-size: 12px;
    color: #888888;
}

.other-candidate-link {
    font-size: 13px;
    color: #1a5276;
    text-decoration: none;
}

.other-candidate-link:hover {
    text-decoration: underline;
}

/* ===== PROFILE SIDEBAR ===== */
.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 70px;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444444;
}

.contact-item i {
    color: #1a5276;
    font-size: 16px;
    flex-shrink: 0;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555555;
    cursor: pointer;
    transition: color 0.15s;
}

.social-link i {
    color: #1a5276;
    font-size: 16px;
}

.social-link:hover {
    color: #1a5276;
}

/* ===== EVENTS ===== */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.event-date {
    background: #1a5276;
    border-radius: 8px;
    padding: 6px 10px;
    text-align: center;
    flex-shrink: 0;
}

.event-day {
    color: white;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

.event-month {
    color: rgba(255,255,255,0.7);
    font-size: 10px;
    margin-top: 2px;
}

.event-name {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.event-meta {
    font-size: 12px;
    color: #888888;
}

/* ===== SIDEBAR AD ===== */
.sidebar-ad {
    text-align: center;
    background: #f9f9f9;
}
/* ===== PAGE HERO ===== */
.page-hero {
    background: #1a5276;
    padding: 36px 24px;
    text-align: center;
}

.page-hero h1 {
    color: white;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
}

.page-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
}

/* ===== PROGRESS BAR ===== */
.progress-wrap {
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
    padding: 16px 24px;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.done-circle {
    background: #1a5276;
    color: white;
}

.active-circle {
    background: #f0b429;
    color: #1a1a1a;
}

.pending-circle {
    background: white;
    color: #888888;
    border: 1px solid #e5e5e5;
}

.step-label {
    font-size: 12px;
    color: #888888;
}

.active-label {
    color: #1a5276;
    font-weight: 500;
}

.step-line {
    width: 40px;
    height: 1px;
    background: #e5e5e5;
    margin: 0 8px;
}

/* ===== FORM MAIN ===== */
.form-main {
    padding: 28px 24px;
    background: #f5f5f5;
}

.form-container {
    max-width: 680px;
    margin: 0 auto;
}

/* ===== LISTING TABS ===== */
.listing-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.listing-tab {
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid #e5e5e5;
    background: white;
    color: #888888;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}

.listing-tab:hover {
    border-color: #1a5276;
    color: #1a5276;
}

.active-tab {
    background: #1a5276;
    color: white;
    border-color: #1a5276;
}

/* ===== FORM CARDS ===== */
.form-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 14px;
}

.form-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-card-title i {
    color: #1a5276;
    font-size: 16px;
}

.form-card-sub {
    font-size: 12px;
    color: #888888;
    margin-bottom: 16px;
}

/* ===== FORM ELEMENTS ===== */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 500;
    color: #555555;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-size: 13px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    padding: 9px 12px;
    background: white;
    color: #1a1a1a;
    width: 100%;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1a5276;
}

.form-group textarea {
    resize: vertical;
    line-height: 1.6;
}

.char-count {
    font-size: 11px;
    color: #888888;
    text-align: right;
    margin-top: 4px;
}

/* ===== UPLOAD BOX ===== */
.upload-box {
    border: 2px dashed #e5e5e5;
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s;
    background: #fafafa;
}

.upload-box:hover {
    border-color: #1a5276;
}

.upload-box i {
    font-size: 28px;
    color: #888888;
    margin-bottom: 8px;
    display: block;
}

.upload-box p {
    font-size: 13px;
    color: #555555;
    margin-bottom: 4px;
}

.upload-box span {
    font-size: 11px;
    color: #aaaaaa;
}

/* ===== PREMIUM TEASER ===== */
.premium-teaser {
    background: #fffdf0;
    border: 1px dashed #f0b429;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.premium-teaser-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.premium-teaser-title i {
    color: #f0b429;
    font-size: 16px;
}

.premium-teaser p {
    font-size: 13px;
    color: #888888;
    margin-bottom: 14px;
    line-height: 1.6;
}

.premium-teaser-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}

.premium-teaser-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #555555;
}

.premium-teaser-item i {
    color: #1a5276;
    font-size: 14px;
    flex-shrink: 0;
}

.upgrade-teaser-btn {
    background: #f0b429;
    color: #1a1a1a;
    border: none;
    padding: 11px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.upgrade-teaser-btn:hover {
    background: #e0a820;
}

/* ===== CONSENT AND SUBMIT ===== */
.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #888888;
    line-height: 1.6;
    margin-bottom: 16px;
}

.consent-row input {
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #1a5276;
}

.consent-row label {
    cursor: pointer;
}

.submit-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.submit-btn {
    background: #1a5276;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
}

.submit-btn:hover {
    background: #154360;
}

.submit-note {
    font-size: 12px;
    color: #888888;
    line-height: 1.5;
    max-width: 300px;
}

/* ===== SUCCESS PAGE ===== */
.success-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-bottom: 16px;
}

.success-icon {
    font-size: 48px;
    color: #1e8449;
    margin-bottom: 14px;
}

.success-card h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.success-card p {
    font-size: 14px;
    color: #888888;
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.success-preview {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

/* ===== UPSELL CARD ===== */
.upsell-card {
    background: white;
    border: 2px solid #f0b429;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.upsell-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upsell-card p {
    font-size: 13px;
    color: #888888;
    margin-bottom: 16px;
    line-height: 1.6;
}

.upsell-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    margin-bottom: 20px;
}

.upsell-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444444;
}

.upsell-item i {
    color: #1a5276;
    font-size: 15px;
    flex-shrink: 0;
}

.upsell-price {
    font-size: 24px;
    font-weight: 600;
    color: #1a5276;
    margin-bottom: 16px;
}

.upsell-price span {
    font-size: 13px;
    color: #888888;
    font-weight: 400;
}

.upsell-btn {
    background: #f0b429;
    color: #1a1a1a;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    font-family: 'Inter', sans-serif;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.upsell-btn:hover {
    background: #e0a820;
}

.skip-btn {
    background: none;
    border: 1px solid #e5e5e5;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    color: #888888;
    cursor: pointer;
    width: 100%;
    font-family: 'Inter', sans-serif;
    transition: all 0.15s;
}

.skip-btn:hover {
    border-color: #888888;
    color: #555555;
}
/* ===== SERVICES HERO ===== */
.services-hero {
    background: #1a5276;
    padding: 52px 24px;
    text-align: center;
}

.services-hero h1 {
    color: white;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.services-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    margin-bottom: 28px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-primary-btn {
    background: #f0b429;
    color: #1a1a1a;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
}

.hero-primary-btn:hover {
    background: #e0a820;
}

.hero-secondary-btn {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
}

.hero-secondary-btn:hover {
    background: rgba(255,255,255,0.25);
}

/* ===== PACKAGES GRID ===== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.package-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.package-featured {
    border: 2px solid #f0b429;
}

.package-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #f0b429;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 16px;
    border-radius: 99px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.package-badge {
    font-size: 11px;
    padding: 3px 12px;
    border-radius: 99px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 14px;
    align-self: flex-start;
}

.badge-starter {
    background: #d6eaf8;
    color: #1a5276;
}

.badge-popular {
    background: #fef9e7;
    color: #7d6608;
}

.badge-premium-pkg {
    background: #d5f5e3;
    color: #1e5631;
}

.package-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.package-target {
    font-size: 13px;
    color: #888888;
    margin-bottom: 16px;
}

.package-price {
    font-size: 26px;
    font-weight: 600;
    color: #1a5276;
    margin-bottom: 4px;
}

.package-price-note {
    font-size: 12px;
    color: #888888;
    margin-bottom: 16px;
}

.package-divider {
    height: 1px;
    background: #f0f0f0;
    margin-bottom: 16px;
}

.package-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    flex: 1;
}

.package-feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #444444;
    line-height: 1.4;
}

.package-feature i {
    color: #1a5276;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}

.package-btn {
    background: #1a5276;
    color: white;
    border: none;
    padding: 11px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s;
    margin-top: auto;
}

.package-btn:hover {
    background: #154360;
}

.package-btn-gold {
    background: #f0b429;
    color: #1a1a1a;
}

.package-btn-gold:hover {
    background: #e0a820;
}

.packages-note {
    font-size: 12px;
    color: #888888;
    text-align: center;
    margin-top: 8px;
}

/* ===== INDIVIDUAL SERVICES GRID ===== */
.ind-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.ind-service-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
}

.ind-service-card:hover {
    border-color: #1a5276;
    transform: translateY(-2px);
}

.ind-service-card i {
    font-size: 26px;
    color: #1a5276;
    margin-bottom: 12px;
}

.ind-service-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.ind-service-desc {
    font-size: 12px;
    color: #888888;
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
}

.ind-service-price {
    font-size: 13px;
    font-weight: 500;
    color: #1a5276;
    margin-bottom: 12px;
}

.ind-service-btn {
    background: none;
    border: 1px solid #1a5276;
    color: #1a5276;
    padding: 7px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.15s;
    margin-top: auto;
}

.ind-service-btn:hover {
    background: #1a5276;
    color: white;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.hiw-step {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    flex: 1;
    min-width: 160px;
    max-width: 220px;
}

.hiw-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a5276;
    color: white;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.hiw-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.hiw-desc {
    font-size: 12px;
    color: #888888;
    line-height: 1.6;
}

.hiw-arrow {
    display: flex;
    align-items: center;
    padding: 0 8px;
    padding-top: 20px;
    color: #cccccc;
    font-size: 20px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.testimonial-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
}

.testimonial-stars {
    color: #f0b429;
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 13px;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

.testimonial-pos {
    font-size: 12px;
    color: #888888;
}

/* ===== CTA SECONDARY BTN ===== */
.cta-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cta-btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
}

.cta-btn-secondary:hover {
    background: rgba(255,255,255,0.25);
}
/* ===== NEWS MAIN ===== */
.news-main {
    padding: 28px 24px;
    background: #f5f5f5;
}

.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
    align-items: start;
}

.news-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===== NEWS FILTER ===== */
.news-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ===== NEWS FEATURED ===== */
.news-featured {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
    border-left: 4px solid #1a5276;
}

.news-featured-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #1a5276;
    background: #d6eaf8;
    padding: 3px 10px;
    border-radius: 99px;
    margin-bottom: 12px;
}

.news-featured-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-featured-excerpt {
    font-size: 14px;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 14px;
}

.news-featured-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.news-category-tag {
    font-size: 11px;
    background: #f0f0f0;
    color: #555555;
    padding: 3px 10px;
    border-radius: 99px;
    font-weight: 500;
}

.news-date {
    font-size: 12px;
    color: #888888;
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-read-time {
    font-size: 12px;
    color: #888888;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== NEWS ARTICLES GRID ===== */
.news-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.news-article-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 18px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s;
    display: flex;
    flex-direction: column;
}

.news-article-card:hover {
    border-color: #1a5276;
    transform: translateY(-2px);
}

.news-article-category {
    font-size: 11px;
    font-weight: 600;
    color: #1a5276;
    background: #d6eaf8;
    padding: 2px 8px;
    border-radius: 99px;
    display: inline-block;
    margin-bottom: 10px;
    align-self: flex-start;
}

.news-article-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.5;
    flex: 1;
}

.news-article-excerpt {
    font-size: 12px;
    color: #888888;
    line-height: 1.6;
    margin-bottom: 12px;
}

.news-article-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #aaaaaa;
}

.news-article-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== NEWS SIDEBAR ===== */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 70px;
}

/* ===== COUNTDOWN ===== */
.countdown-card {
    text-align: center;
    background: #1a5276 !important;
    border-color: #1a5276 !important;
}

.countdown-card .sidebar-card-title {
    color: rgba(255,255,255,0.8) !important;
    justify-content: center;
}

.countdown-card .sidebar-card-title i {
    color: #f0b429 !important;
}

.countdown-display {
    margin: 16px 0 8px;
}

.countdown-number {
    font-size: 52px;
    font-weight: 600;
    color: #f0b429;
    line-height: 1;
}

.countdown-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.countdown-date {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
}

/* ===== KEY DATES ===== */
.key-dates-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.key-date-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.key-date-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.key-date-title {
    font-size: 12px;
    color: #888888;
    margin-bottom: 2px;
}

.key-date-value {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
}

/* ===== VOTER RESOURCES ===== */
.voter-resources {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.voter-resource-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444444;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: color 0.15s;
}

.voter-resource-item:last-child {
    border-bottom: none;
}

.voter-resource-item i {
    color: #1a5276;
    font-size: 16px;
    flex-shrink: 0;
}

.voter-resource-item:hover {
    color: #1a5276;
}

/* ===== NEWS CATEGORIES ===== */
.news-categories {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    color: #444444;
    cursor: pointer;
    transition: color 0.15s;
}

.news-category-item:last-child {
    border-bottom: none;
}

.news-category-item:hover {
    color: #1a5276;
}

.category-count {
    background: #f0f0f0;
    color: #888888;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 99px;
    font-weight: 500;
}
/* ===== RESOURCES HERO ===== */
.resources-hero {
    background: #1a5276;
    padding: 48px 24px;
    text-align: center;
}

.resources-hero h1 {
    color: white;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.resources-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.resources-hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.resource-hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
}

.resource-hero-stat i {
    font-size: 18px;
    color: #f0b429;
}

/* ===== RESOURCES MAIN ===== */
.resources-main {
    padding: 28px 24px;
    background: #f5f5f5;
}

.resources-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 20px;
    align-items: start;
}

.resources-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ===== RESOURCES FILTER ===== */
.resources-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ===== RESOURCES SECTION ===== */
.resources-section {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
}

.resources-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.resources-section-title i {
    color: #1a5276;
    font-size: 18px;
}

.resources-count {
    font-size: 12px;
    background: #f0f0f0;
    color: #888888;
    padding: 2px 10px;
    border-radius: 99px;
    font-weight: 400;
    margin-left: 4px;
}

.resources-section-desc {
    font-size: 13px;
    color: #888888;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ===== VIDEOS GRID ===== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.video-card {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.video-card:hover {
    border-color: #1a5276;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 14px;
}

.video-category {
    font-size: 11px;
    font-weight: 600;
    color: #1a5276;
    background: #d6eaf8;
    padding: 2px 8px;
    border-radius: 99px;
    display: inline-block;
    margin-bottom: 8px;
}

.video-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.4;
}

.video-desc {
    font-size: 12px;
    color: #888888;
    line-height: 1.6;
    margin-bottom: 10px;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #888888;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== BOOKS GRID ===== */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.book-card {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.15s;
}

.book-card:hover {
    border-color: #1a5276;
    transform: translateY(-2px);
}

.book-cover {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: rgba(255,255,255,0.5);
}

.book-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.book-category {
    font-size: 11px;
    font-weight: 600;
    color: #1a5276;
    background: #d6eaf8;
    padding: 2px 8px;
    border-radius: 99px;
    display: inline-block;
    margin-bottom: 8px;
    align-self: flex-start;
}

.book-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
    line-height: 1.4;
}

.book-author {
    font-size: 12px;
    color: #1a5276;
    margin-bottom: 8px;
    font-weight: 500;
}

.book-desc {
    font-size: 12px;
    color: #888888;
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}

.book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f0b429;
    color: #1a1a1a;
    border: none;
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: background 0.15s;
    margin-top: auto;
}

.book-btn:hover {
    background: #e0a820;
}

/* ===== TEMPLATES GRID ===== */
.templates-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.template-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
    transition: border-color 0.2s;
}

.template-card:hover {
    border-color: #1a5276;
}

.template-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.template-info {
    flex: 1;
}

.template-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.template-desc {
    font-size: 13px;
    color: #888888;
    line-height: 1.6;
    margin-bottom: 10px;
}

.template-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.template-format {
    font-size: 11px;
    background: #f0f0f0;
    color: #555555;
    padding: 2px 8px;
    border-radius: 99px;
}

.template-btn {
    background: #1a5276;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s;
}

.template-btn:hover {
    background: #154360;
}

/* ===== LINKS GRID ===== */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.links-category-card {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
}

.links-category-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.links-category-title i {
    color: #1a5276;
    font-size: 16px;
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.link-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: #1a5276;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.15s;
}

.link-item:last-child {
    border-bottom: none;
}

.link-item:hover {
    color: #154360;
}

.link-item i {
    display: none;
}

.link-desc {
    font-size: 11px;
    color: #888888;
    font-weight: 400;
}

/* ===== RESOURCES SIDEBAR ===== */
.resources-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 70px;
}

/* ===== JUMP LINKS ===== */
.jump-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jump-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: #444444;
    font-size: 13px;
    transition: color 0.15s;
}

.jump-link:last-child {
    border-bottom: none;
}

.jump-link i {
    color: #1a5276;
    font-size: 15px;
}

.jump-link:hover {
    color: #1a5276;
}

.jump-count {
    margin-left: auto;
    background: #f0f0f0;
    color: #888888;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 99px;
}

/* ===== TOPICS ===== */
.topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.topic-tag {
    font-size: 11px;
    background: #f0f0f0;
    color: #555555;
    padding: 4px 10px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.15s;
}

.topic-tag:hover {
    background: #1a5276;
    color: white;
}

/* ===== CONTACT MAIN ===== */
.contact-main {
    padding: 28px 24px;
    background: #f5f5f5;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    align-items: start;
}

.contact-form-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 70px;
}

/* ===== QUICK CONTACT GRID ===== */
.quick-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-contact-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.quick-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.quick-contact-info {
    flex: 1;
}

.quick-contact-label {
    font-size: 11px;
    color: #888888;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quick-contact-value {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.quick-contact-note {
    font-size: 11px;
    color: #888888;
}

.quick-contact-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== CONTACT FORM CARD ===== */
.contact-form-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
}

.contact-form-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-form-title i {
    color: #1a5276;
    font-size: 17px;
}

.contact-form-sub {
    font-size: 13px;
    color: #888888;
    margin-bottom: 20px;
}

.contact-submit-btn {
    background: #1a5276;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
}

.contact-submit-btn:hover {
    background: #154360;
}

/* ===== OFFICE DETAILS ===== */
.office-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.office-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.office-item i {
    color: #1a5276;
    font-size: 17px;
    flex-shrink: 0;
    margin-top: 2px;
}

.office-item-label {
    font-size: 11px;
    color: #888888;
    margin-bottom: 2px;
}

.office-item-value {
    font-size: 13px;
    color: #1a1a1a;
    font-weight: 500;
}

/* ===== EXPECT LIST ===== */
.expect-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expect-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.expect-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a5276;
    flex-shrink: 0;
    margin-top: 5px;
}

.expect-title {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.expect-desc {
    font-size: 12px;
    color: #888888;
}

/* ===== SOCIAL FOLLOW ===== */
.social-follow-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-follow-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #444444;
    cursor: pointer;
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: color 0.15s;
}

.social-follow-item:last-child {
    border-bottom: none;
}

.social-follow-item i {
    color: #1a5276;
    font-size: 18px;
    flex-shrink: 0;
}

.social-follow-item:hover {
    color: #1a5276;
}

/* ===== QUICK LINKS ===== */
.quick-links-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #444444;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: color 0.15s;
}

.quick-link-item:last-child {
    border-bottom: none;
}

.quick-link-item i {
    color: #1a5276;
    font-size: 16px;
    flex-shrink: 0;
}

.quick-link-item:hover {
    color: #1a5276;
}

/* ===== FAQ SECTION ===== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.faq-item {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
}

.faq-question {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.faq-question i {
    color: #f0b429;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.faq-answer {
    font-size: 13px;
    color: #666666;
    line-height: 1.7;
}

/* ===== ABOUT HERO ===== */
.about-hero {
    background: #1a5276;
    padding: 48px 24px;
}

.about-hero-inner {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: center;
}

.about-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #f0b429;
    background: rgba(240,180,41,0.15);
    padding: 4px 12px;
    border-radius: 99px;
    margin-bottom: 16px;
}

.about-hero-text h1 {
    color: white;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.about-hero-text p {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.about-hero-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.about-hero-stats-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.about-hero-stat-card {
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.about-stat-num {
    color: #f0b429;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-stat-lbl {
    color: rgba(255,255,255,0.65);
    font-size: 11px;
    line-height: 1.4;
}

/* ===== MISSION ===== */
.mission-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.mission-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mission-body p {
    font-size: 14px;
    color: #555555;
    line-height: 1.8;
}

.mission-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.value-card {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
}

.value-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 10px;
}

.value-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.value-desc {
    font-size: 12px;
    color: #888888;
    line-height: 1.6;
}

/* ===== WHAT WE DO ===== */
.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.what-card {
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
    background: white;
}

.what-card-header {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.what-card-header i {
    font-size: 28px;
    color: white;
}

.what-card-header h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.what-card-body {
    padding: 20px;
}

.what-card-body p {
    font-size: 14px;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 16px;
}

.what-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.what-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444444;
}

.what-feature i {
    color: #1a5276;
    font-size: 15px;
    flex-shrink: 0;
}

.what-btn {
    background: #1a5276;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s;
}

.what-btn:hover {
    background: #154360;
}

/* ===== HOW WE ARE DIFFERENT ===== */
.difference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.difference-item {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: border-color 0.2s, transform 0.15s;
}

.difference-item:hover {
    border-color: #1a5276;
    transform: translateY(-2px);
}

.difference-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #d6eaf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #1a5276;
    margin: 0 auto 12px;
}

.difference-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.difference-desc {
    font-size: 13px;
    color: #888888;
    line-height: 1.6;
}

/* ===== TEAM ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.team-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.team-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.team-role {
    font-size: 12px;
    color: #1a5276;
    margin-bottom: 10px;
    line-height: 1.5;
}

.team-bio {
    font-size: 12px;
    color: #888888;
    line-height: 1.6;
}

/* ===== PARTNERS ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.partner-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: border-color 0.2s, transform 0.15s;
}

.partner-card:hover {
    border-color: #1a5276;
    transform: translateY(-2px);
}

.partner-card i {
    font-size: 32px;
    color: #1a5276;
    margin-bottom: 12px;
    display: block;
}

.partner-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.partner-desc {
    font-size: 13px;
    color: #888888;
    line-height: 1.6;
    margin-bottom: 16px;
}

.partner-btn {
    background: none;
    border: 1px solid #1a5276;
    color: #1a5276;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.15s;
}

.partner-btn:hover {
    background: #1a5276;
    color: white;
}

/* ===== PASSPORT PHOTO ===== */
.profile-passport-wrap {
    position: relative;
    flex-shrink: 0;
}

.profile-passport {
    width: 110px;
    height: 140px;
    border-radius: 8px;
    background: #d6eaf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 600;
    color: #1a5276;
    border: 3px solid rgba(255,255,255,0.4);
    overflow: hidden;
    flex-shrink: 0;
}

.profile-passport img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-passport-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #f0b429;
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 99px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===================================
   MOBILE RESPONSIVE STYLES
   Applies to screens under 768px
=================================== */

@media (max-width: 768px) {

    /* ===== NAVIGATION ===== */
    .navbar {
        padding: 0 16px;
        height: 52px;
    }

    .nav-links {
        display: none;
    }

    .nav-logo {
        font-size: 16px;
    }

    .nav-btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .nav-btn i {
        display: none;
    }

    /* ===== SECTION CONTAINER ===== */
    .section-container {
        padding: 0 16px;
    }

    /* ===== HERO ===== */
    .hero {
        padding: 32px 16px 40px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .hero p {
        font-size: 14px;
    }

    .search-bar {
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .search-bar input {
        font-size: 13px;
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .search-bar button {
        padding: 10px 14px;
        font-size: 13px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* ===== STATS BAR ===== */
    .stats-bar {
        gap: 20px;
        padding: 12px 16px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 18px;
    }

    .stat-label {
        font-size: 11px;
    }

    /* ===== SECTIONS ===== */
    .section {
        padding: 28px 16px;
    }

    .section-header h2 {
        font-size: 17px;
    }

    /* ===== COUNTIES GRID ===== */
    .counties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .county-card {
        padding: 12px;
    }

    .county-card i {
        font-size: 18px;
    }

    .county-name {
        font-size: 13px;
    }

    .county-meta {
        font-size: 11px;
    }

    /* ===== POSITIONS GRID ===== */
    .positions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .position-card {
        padding: 14px 12px;
    }

    /* ===== CANDIDATES LIST ===== */
    .candidate-row {
        padding: 10px 14px;
        gap: 10px;
    }

    .candidate-badges {
        display: none;
    }

    .view-btn {
        font-size: 11px;
        padding: 5px 10px;
        white-space: nowrap;
    }

    /* ===== CTA BANNER ===== */
    .cta-banner {
        padding: 20px 16px;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-text h3 {
        font-size: 15px;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }

    .cta-btns {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    /* ===== SERVICES GRID ===== */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .service-card {
        padding: 14px 12px;
    }

    /* ===== NEWS LIST ===== */
    .news-item {
        padding: 12px 14px;
    }

    .news-title {
        font-size: 13px;
    }

    /* ===== FOOTER ===== */
    .footer {
        padding: 28px 16px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .footer-tagline {
        max-width: 100%;
    }

    /* ===== BREADCRUMB ===== */
    .breadcrumb {
        padding: 8px 16px;
    }

    .breadcrumb-inner {
        font-size: 12px;
    }

    /* ===================================
       COUNTY PAGE
    =================================== */

    .county-hero {
        padding: 20px 16px;
    }

    .county-hero h1 {
        font-size: 20px;
    }

    .county-hero-stats {
        gap: 8px;
    }

    .county-hero-stat {
        padding: 8px 14px;
        min-width: 60px;
    }

    .stat-number {
        font-size: 18px;
    }

    .ad-strip {
        padding: 8px 16px;
    }

    .ad-strip-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .county-main {
        padding: 16px;
    }

    /* Stack county layout on mobile */
    .county-layout {
        grid-template-columns: 1fr;
    }

    /* Hide sidebar on mobile — content first */
    .county-sidebar {
        display: none;
    }

    .filter-buttons {
        gap: 6px;
    }

    .filter-btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .const-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .const-card {
        padding: 10px;
    }

    .const-name {
        font-size: 13px;
    }

    /* ===================================
       CANDIDATE PROFILE PAGE
    =================================== */

    .profile-hero {
        padding: 20px 16px;
    }

    .profile-hero-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .profile-passport {
        width: 90px;
        height: 114px;
    }

    .profile-hero-info h1 {
        font-size: 20px;
    }

    .profile-position {
        justify-content: center;
        font-size: 13px;
    }

    .profile-hero-badges {
        justify-content: center;
    }

    .profile-hero-actions {
        justify-content: center;
    }

    .profile-main {
        padding: 16px;
    }

    /* Stack profile layout on mobile */
    .profile-layout {
        grid-template-columns: 1fr;
    }

    /* Move sidebar below content on mobile */
    .profile-sidebar {
        position: static;
        order: 2;
    }

    .profile-content {
        order: 1;
    }

    .profile-stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .profile-stat-num {
        font-size: 16px;
    }

    .profile-card {
        padding: 14px;
    }

    .info-row {
        flex-direction: column;
        gap: 2px;
        padding: 8px 0;
    }

    .info-value {
        text-align: left;
        font-size: 13px;
    }

    .premium-locked-items {
        grid-template-columns: 1fr;
    }

    /* ===================================
       LIST FORM PAGE
    =================================== */

    .page-hero {
        padding: 24px 16px;
    }

    .page-hero h1 {
        font-size: 20px;
    }

    .progress-wrap {
        padding: 12px 16px;
        overflow-x: auto;
    }

    .progress-steps {
        min-width: 320px;
    }

    .step-line {
        width: 24px;
    }

    .step-label {
        font-size: 10px;
    }

    .form-main {
        padding: 16px;
    }

    .form-container {
        max-width: 100%;
    }

    .form-card {
        padding: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .listing-tabs {
        gap: 8px;
    }

    .listing-tab {
        font-size: 12px;
        padding: 7px 12px;
    }

    .submit-row {
        flex-direction: column;
        gap: 10px;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }

    .submit-note {
        text-align: center;
        max-width: 100%;
    }

    .premium-teaser-items {
        grid-template-columns: 1fr;
    }

    .success-card {
        padding: 20px 16px;
    }

    .success-preview {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .upsell-items {
        grid-template-columns: 1fr;
    }

    /* ===================================
       SERVICES PAGE
    =================================== */

    .services-hero {
        padding: 32px 16px;
    }

    .services-hero h1 {
        font-size: 22px;
    }

    .services-hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-primary-btn,
    .hero-secondary-btn {
        width: 100%;
        justify-content: center;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .package-card {
        padding: 20px 16px;
    }

    .ind-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .how-it-works {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hiw-arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .hiw-step {
        max-width: 100%;
        width: 100%;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* ===================================
       CONTACT PAGE
    =================================== */

    .contact-main {
        padding: 16px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-info-col {
        position: static;
    }

    .quick-contact-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .quick-contact-btn {
        width: 100%;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    /* ===================================
       NEWS PAGE
    =================================== */

    .news-main {
        padding: 16px;
    }

    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        position: static;
        display: none;
    }

    .news-filter {
        gap: 6px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .news-filter .filter-btn {
        white-space: nowrap;
        font-size: 12px;
        padding: 6px 12px;
    }

    .news-featured {
        padding: 16px;
    }

    .news-featured-title {
        font-size: 16px;
    }

    .news-articles-grid {
        grid-template-columns: 1fr;
    }

    /* ===================================
       RESOURCES PAGE
    =================================== */

    .resources-hero {
        padding: 32px 16px;
    }

    .resources-hero h1 {
        font-size: 22px;
    }

    .resources-hero-stats {
        gap: 16px;
    }

    .resource-hero-stat {
        font-size: 13px;
    }

    .resources-main {
        padding: 16px;
    }

    .resources-layout {
        grid-template-columns: 1fr;
    }

    .resources-sidebar {
        position: static;
        display: none;
    }

    .resources-filter {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .resources-filter .filter-btn {
        white-space: nowrap;
        font-size: 12px;
        padding: 6px 12px;
    }

    .resources-section {
        padding: 16px;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .book-cover {
        height: 80px;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    /* ===================================
       ABOUT PAGE
    =================================== */

    .about-hero {
        padding: 32px 16px;
    }

    .about-hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-hero-text h1 {
        font-size: 22px;
    }

    .about-hero-btns {
        flex-direction: column;
    }

    .about-hero-stats-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mission-values {
        grid-template-columns: 1fr;
    }

    .what-we-do-grid {
        grid-template-columns: 1fr;
    }

    .difference-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ===================================
       ADMIN DASHBOARD
    =================================== */

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: none;
    }

    .admin-main {
        padding: 16px;
    }

    .admin-nav {
        padding: 0 16px;
    }

    .admin-nav-user {
        display: none;
    }

    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-table th,
    .admin-table td {
        font-size: 12px;
        padding: 8px 10px;
    }

    .add-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-filters {
        flex-direction: column;
    }

    .admin-search {
        width: 100%;
    }

    /* ===================================
       MOBILE HAMBURGER MENU
    =================================== */

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: white;
        font-size: 22px;
        cursor: pointer;
        padding: 4px;
        margin-right: 8px;
    }

    .mobile-menu {
        position: fixed;
        top: 52px;
        left: 0;
        right: 0;
        background: #1a5276;
        z-index: 99;
        padding: 12px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        display: none;
    }

    .mobile-menu.open {
        display: block;
    }

    .mobile-menu a {
        display: block;
        padding: 12px 20px;
        color: rgba(255,255,255,0.85);
        text-decoration: none;
        font-size: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .mobile-menu a:hover {
        background: rgba(255,255,255,0.1);
        color: white;
    }

    .mobile-menu a:last-child {
        border-bottom: none;
    }

}

/* ===== TABLET — between 769px and 1024px ===== */
@media (min-width: 769px) and (max-width: 1024px) {

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .county-layout {
        grid-template-columns: minmax(0, 1fr) 180px;
    }

    .profile-layout {
        grid-template-columns: minmax(0, 1fr) 180px;
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1fr) 220px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

}

/* ===== DESKTOP — always show mobile menu btn as hidden ===== */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }
}

/* ===== SEARCH PAGE ===== */
.search-main {
    padding: 28px 24px;
    background: #f5f5f5;
    min-height: 50vh;
}

.search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

#resultsCount {
    font-size: 14px;
    color: #555555;
    font-weight: 500;
}

.search-filters-row {
    display: flex;
    gap: 10px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.search-result-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s;
}

.search-result-card:hover {
    border-color: #1a5276;
    transform: translateY(-2px);
}

.search-result-photo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #d6eaf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #1a5276;
    flex-shrink: 0;
    overflow: hidden;
}

.search-result-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.search-result-meta {
    font-size: 12px;
    color: #888888;
}

@media (max-width: 768px) {
    .search-main {
        padding: 16px;
    }

    .search-results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-filters-row {
        width: 100%;
        flex-direction: column;
    }

    .search-results-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PROFILE PAGE MOBILE ===== */
    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        position: static;
        order: 2;
    }

    .profile-content {
        order: 1;
    }

    .profile-hero-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .profile-passport {
        width: 80px;
        height: 102px;
    }

    .profile-hero-info h1 {
        font-size: 20px;
    }

    .profile-position {
        justify-content: center;
        font-size: 13px;
    }

    .profile-hero-badges {
        justify-content: center;
    }

    .profile-hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .profile-main {
        padding: 16px;
    }

    .profile-stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .profile-stat-num {
        font-size: 16px;
    }

    .profile-card {
        padding: 14px;
    }

    .info-row {
        flex-direction: column;
        gap: 2px;
        padding: 8px 0;
    }

    .info-value {
        text-align: left;
        font-size: 13px;
    }

    .premium-locked-items {
        grid-template-columns: 1fr;
    }

    .profile-bio {
        font-size: 13px;
    }

    .contact-item {
        font-size: 13px;
    }

    .gallery-strip-wrap {
        margin: 0 -4px;
    }

    .home-video-strip-wrap .gallery-scroll-btn {
        display: none;
    }

/* ===== ADMIN ADD CANDIDATE — LAYOUT FIXES ===== */

/* Make sure constituency/ward groups behave like the other grid items, not full-width blocks */
#addConstituencyGroup,
#addWardGroup {
    display: none;
}

#addConstituencyGroup.show,
#addWardGroup.show {
    display: flex;
}

/* Photo upload block in add form — proper spacing and full width */
.add-photo-section {
    margin-bottom: 18px;
    grid-column: 1 / -1;
}

.add-photo-label {
    font-size: 12px;
    font-weight: 500;
    color: #555555;
    display: block;
    margin-bottom: 4px;
}

.add-photo-hint {
    font-size: 12px;
    color: #888888;
    margin-bottom: 10px;
}

.add-upload-box {
    border: 2px dashed #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background: #fafafa;
    transition: border-color 0.15s;
}

.add-upload-box:hover {
    border-color: #1a5276;
}

.add-photo-preview {
    margin-top: 12px;
    text-align: center;
}

.add-photo-preview img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1a5276;
}

/* Premium info box inside add form — tighten spacing */
.add-form-grid {
    align-items: start;
}

/* ===== GALLERY STRIPS ===== */
.gallery-strip-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.gallery-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 2px;
    scrollbar-width: none;
}

.gallery-strip::-webkit-scrollbar {
    display: none;
}

.gallery-scroll-btn {
    background: white;
    border: 1px solid #e5e5e5;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 16px;
    color: #1a5276;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    z-index: 2;
}

.gallery-scroll-btn:hover {
    background: #1a5276;
    color: white;
}

.gallery-scroll-left {
    margin-right: 8px;
}

.gallery-scroll-right {
    margin-left: 8px;
}

/* Photo thumbnail cards */
.gallery-photo-thumb {
    width: 160px;
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    border: 1px solid #e5e5e5;
    transition: transform 0.15s, border-color 0.15s;
}

.gallery-photo-thumb:hover {
    transform: scale(1.03);
    border-color: #1a5276;
}

.gallery-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Video thumbnail cards */
.gallery-video-thumb {
    width: 240px;
    flex-shrink: 0;
    cursor: pointer;
}

.gallery-video-thumb-img-wrap {
    position: relative;
    width: 240px;
    height: 135px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    background: #1a1a1a;
    transition: border-color 0.15s;
}

.gallery-video-thumb:hover .gallery-video-thumb-img-wrap {
    border-color: #1a5276;
}

.gallery-video-thumb-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

/* ===== LIGHTBOX OVERLAY ===== */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.open {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    display: block;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

.lightbox-video-wrap {
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
}

.lightbox-video-wrap iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .gallery-photo-thumb {
        width: 120px;
        height: 120px;
    }
    .gallery-video-thumb,
    .gallery-video-thumb-img-wrap {
        width: 180px;
    }
    .gallery-video-thumb-img-wrap {
        height: 101px;
    }
    .lightbox-nav {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .lightbox-prev {
        left: 8px;
    }
    .lightbox-next {
        right: 8px;
    }
}

/* ===== HOME VIDEO STRIP — mobile first base styles ===== */
.home-video-strip-wrap {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.home-video-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 2px 8px;
    scrollbar-width: none;
    width: 100%;
}

.home-video-strip::-webkit-scrollbar {
    display: none;
}

.home-video-strip .gallery-video-thumb {
    width: 160px;
}

.home-video-strip .gallery-video-thumb-img-wrap {
    width: 160px;
    height: 90px;
}

.home-video-title {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 6px;
    line-height: 1.4;
    white-space: normal;
}

.home-video-category {
    font-size: 11px;
    color: #1a5276;
    margin-top: 2px;
}

/* Hide scroll arrows on mobile — natural swipe scrolling is better on touch */
.home-video-strip-wrap .gallery-scroll-btn {
    display: none;
}

/* ===== Desktop enhancement ===== */
@media (min-width: 769px) {
    .home-video-strip .gallery-video-thumb {
        width: 200px;
    }

    .home-video-strip .gallery-video-thumb-img-wrap {
        width: 200px;
        height: 112px;
    }

    .home-video-strip-wrap .gallery-scroll-btn {
        display: flex;
    }
}

/* ==========================================================================
   DYNAMIC PREMIUM PROFILE CLEANUP (MOBILE & DESKTOP)
   ========================================================================== */

/* --- 1. Prevent Horizontal Page Blowouts globally --- */
.profile-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 24px;
    box-sizing: border-box;
}

.profile-content, .profile-sidebar {
    width: 100%;
    min-width: 0; /* Important: Allows flex items to shrink below text size */
}

/* --- 2. Fix Premium Gallery Strips --- */
.gallery-strip-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.gallery-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding: 4px 0;
    /* Hide scrollbars for a clean look, using buttons/swipe instead */
    -webkit-overflow-scrolling: touch;
}
.gallery-strip::-webkit-scrollbar {
    display: none;
}

/* Force gallery items to keep a consistent responsive shape */
.gallery-strip img, 
.gallery-strip .video-thumb {
    flex-shrink: 0;
    width: 200px;
    height: 135px;
    object-fit: cover;
    border-radius: 6px;
    background-color: #f5f5f5;
}

/* --- 3. Desktop Splitting (769px and Wider) --- */
@media (min-width: 769px) {
    .profile-layout {
        flex-direction: row;
        align-items: flex-start;
    }

    .profile-content {
        flex: 1; /* Main content takes up left space dynamically */
    }

    .profile-sidebar {
        width: 320px; /* Locks your right sidebar safely */
        flex-shrink: 0;
        position: sticky;
        top: 80px; /* Dynamic stick-to-screen scrolling */
    }
}

/* --- 4. Mobile Refinements (768px and Smaller) --- */
@media (max-width: 768px) {
    /* Scale photo dimensions slightly on phone screens */
    .gallery-strip img, 
    .gallery-strip .video-thumb {
        width: 160px;
        height: 110px;
    }
    
    /* Ensure dynamic tables drop down on mobile if data strings are long */
    .info-table .info-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 10px 0;
    }
    
    /* Smooth mobile action links wrap */
    .profile-hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }
    
    .profile-hero-actions .action-btn {
        flex: 1;
        min-width: 130px;
        justify-content: center;
    }
}

.profile-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    /* FIX: This forces the browser to respect paragraphs and enters */
    white-space: pre-line; 
}

/* ==========================================================================
   CANDIDATE HERO PROFILE PHOTO EXPANSION
   ========================================================================== */

/* 1. Desktop Mode Layout (769px and Up) */
@media (min-width: 769px) {
    .profile-hero-inner {
        display: flex;
        align-items: flex-start; /* Aligns contents to top instead of center */
        gap: 40px; /* Gives plenty of breathing room between photo and text */
        padding: 24px 0;
    }

    .profile-passport-wrap {
        width: 240px; /* Drastically increased from standard thumbnail sizes */
        flex-shrink: 0; /* Prevents text from squeezing the picture size down */
    }

    .profile-passport {
        width: 240px;
        height: 240px; /* Forces a massive, perfect 1:1 crisp passport block */
        border-radius: 12px; /* Smooth professional rounded edges */
        font-size: 72px; /* Scales initials fallback text if image hasn't loaded */
        box-shadow: 0 8px 24px rgba(0,0,0,0.12); /* Lift profile card depth shadow */
    }

    .profile-hero-info {
        flex: 1;
        padding-top: 10px; /* Aligns text beautifully to the upper horizon of photo */
    }
}

/* 2. Mobile Touch Screen Optimization (768px and Below) */
@media (max-width: 768px) {
    .profile-hero-inner {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers everything neatly on handheld devices */
        text-align: center;
        gap: 20px;
    }

    .profile-passport-wrap {
        width: 180px; /* Expanded mobile size for maximum touch premium visibility */
    }

    .profile-passport {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }

    .profile-hero-badges, 
    .profile-hero-actions {
        justify-content: center; /* Keeps call-to-actions beautifully symmetrical on phone screens */
    }
}

/* ==========================================================================
   CANDIDATE HERO PROFILE EXPANSION (FIXED LAYOUT GRID)
   ========================================================================== */

/* 1. Desktop Mode Layout (769px and Up) */
@media (min-width: 769px) {
    /* Main wrapper spans the full container width within its block only */
    .profile-hero .profile-hero-inner {
        display: flex;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 40px !important;
        padding: 30px 0;
        width: 100% !important;
    }

    /* Keeps your expanded portrait photo locked cleanly on the left */
    .profile-hero .profile-passport-wrap {
        width: 240px !important;
        flex-shrink: 0 !important;
    }

    .profile-hero .profile-passport {
        width: 240px !important;
        height: 240px !important;
        border-radius: 12px !important;
        font-size: 72px !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    }

    /* Text block expands dynamically without expanding past the main container wrapper */
    .profile-hero .profile-hero-info {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        min-width: 0 !important;
    }

    /* Force badges to sit cleanly side-by-side instead of stacking */
    .profile-hero .profile-hero-badges {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin-top: 8px !important;
        margin-bottom: 16px !important;
        justify-content: flex-start !important;
    }

    /* Force action buttons to stretch across horizontally instead of stacking */
    .profile-hero .profile-hero-actions {
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        width: auto !important;
        justify-content: flex-start !important;
    }
}

/* 2. Mobile Touch Screen Optimization (768px and Below) */
@media (max-width: 768px) {
    .profile-hero .profile-hero-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
    }

    .profile-hero .profile-passport-wrap {
        width: 180px !important;
    }

    .profile-hero .profile-passport {
        width: 180px !important;
        height: 180px !important;
        margin: 0 auto !important;
    }

    .profile-hero .profile-hero-info {
        align-items: center !important;
        text-align: center !important;
    }

    .profile-hero .profile-hero-badges, 
    .profile-hero .profile-hero-actions {
        justify-content: center !important;
        flex-direction: row !important;
    }
}

/* ==========================================================================
   CANDIDATE HERO PROFILE EXPANSION (FORCE LEFT ALIGNMENT)
   ========================================================================== */

/* 1. Desktop Mode Layout (769px and Up) */
@media (min-width: 769px) {
    /* Force full layout container width and pull items to the left edge */
    .profile-hero-inner {
        display: flex;
        flex-direction: row;       /* Force a horizontal line layout */
        justify-content: flex-start; /* CRITICAL: Pushes elements to start from the far left */
        align-items: center;       /* Centers photo and text vertically with each other */
        gap: 40px;                 /* Absolute spacing gap between photo edge and text block */
        padding: 30px 0;
        width: 100%;               /* Spans full page container width */
        max-width: 100%;
    }

    /* Keeps your expanded portrait photo locked cleanly on the left */
    .profile-passport-wrap {
        width: 240px !important;
        flex-shrink: 0;            /* Safeguards photo from shrinking */
    }

    .profile-passport {
        width: 240px !important;
        height: 240px !important;  /* Locks size proportions */
        border-radius: 12px; 
        font-size: 72px; 
        box-shadow: 0 8px 24px rgba(0,0,0,0.12); 
    }

    /* Text block expands dynamically and forces content alignment to the left */
    .profile-hero-info {
        flex: 1 !important;        /* Swallows all the remaining empty space on the right */
        display: flex;
        flex-direction: column;
        align-items: flex-start !important; /* Forces internal text lines to align left */
        text-align: left !important;        /* Overrides any global text-align: center styles */
        min-width: 0;
        width: 100%;
    }

    /* Force badges to sit cleanly side-by-side instead of stacking */
    .profile-hero-badges {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 8px;
        margin-bottom: 16px;
        justify-content: flex-start;
    }

    /* Force action buttons to stretch across horizontally instead of stacking */
    .profile-hero-actions {
        display: flex;
        flex-direction: row;
        gap: 12px;
        width: auto; 
        justify-content: flex-start;
    }
}

/* 2. Mobile Touch Screen Optimization (768px and Below) */
@media (max-width: 768px) {
    .profile-hero-inner {
        display: flex;
        flex-direction: column;
        align-items: center; /* Beautiful centered structure for standard mobile phones */
        text-align: center;
        gap: 20px;
    }

    .profile-passport-wrap {
        width: 180px; 
    }

    .profile-passport {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }

    .profile-hero-info {
        align-items: center;
        text-align: center;
    }

    .profile-hero-badges, 
    .profile-hero-actions {
        justify-content: center; 
        flex-direction: row;
    }
}


/* Force gallery items to keep a consistent responsive shape and focus on faces */
.gallery-strip img, 
.gallery-strip .video-thumb {
    flex-shrink: 0;
    width: 200px;
    height: 135px;
    object-fit: cover;
    
    /* FIX: Shifts the crop window up so people's heads/bodies aren't cut off by the sky */
    object-position: center 20%; 
    
    border-radius: 6px;
    background-color: #f5f5f5;
    transition: transform 0.2s ease;
}

/* Optional: Slight lift effect when hovering over the thumbnail on desktop */
.gallery-strip img:hover {
    transform: scale(1.02);
    cursor: pointer;
}

/* ==========================================================================
   BOOKING.COM STYLE CANDIDATE CARDS (ROW LAYOUT)
   ========================================================================== */

/* The outer horizontal track */
.candidate-grid-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    overflow-x: auto; /* Enables smooth horizontal scrolling on smaller viewports */
    padding-bottom: 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbars for a cleaner look, matching our previous gallery fix */
.candidate-grid-row::-webkit-scrollbar {
    display: none;
}
.candidate-grid-row {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Individual Card Structural Box */
.booking-candidate-card {
    flex: 0 0 220px; /* Locks card width at 220px on the horizontal line */
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.booking-candidate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* The Picture Frame */
.card-img-wrapper {
    width: 100%;
    height: 180px; /* Fixed height for image uniformity */
    overflow: hidden;
    background-color: #f9f9f9;
}

.card-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Keeps focus on faces, matching our gallery fix */
}

/* Card Typography & Text Container */
.card-details {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Elegantly cuts off overly long names with dots (...) */
}

.card-position {
    font-size: 13px;
    font-weight: 600;
    color: #1a5276; /* Platform accent blue */
}

.card-location {
    font-size: 12px;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    line-height: 1.4;
}

.card-location i {
    font-size: 13px;
    flex-shrink: 0;
}

/* ==========================================================================
   SLIDER ARROWS BREAKDOWN (BOOKING.COM LOOK)
   ========================================================================== */

/* The arrow buttons layout */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    font-size: 18px;
    color: #1a1a1a;
}

.slider-arrow:hover {
    background: #f9f9f9;
    color: #1a5276; /* Brand Blue */
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.left-arrow {
    left: -20px; /* Extends slightly outside the layout frame */
}

.right-arrow {
    right: -20px;
}

/* Hide navigation arrows on touch screens because swipe gestures are superior there */
@media (max-width: 768px) {
    .slider-arrow {
        display: none !important;
    }
}


/* ==========================================================================
   BOOKING.COM STYLE CANDIDATE CARDS (CONTAINED ROW LAYOUT)
   ========================================================================== */

/* The outer horizontal wrapper container */
.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%; /* CRITICAL: Prevents the slider wrapper from growing wider than the column */
    overflow: hidden; /* Keeps the arrow buttons clipped neatly to the edges */
    box-sizing: border-box;
}

/* The horizontal card track grid */
.candidate-grid-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    max-width: 100%; /* CRITICAL: Stops the row from expanding the parent element */
    overflow-x: auto; /* Enables smooth finger-swipe/mouse-wheel scrolling */
    padding-bottom: 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

/* Hide scrollbars for a premium Booking.com look */
.candidate-grid-row::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
.candidate-grid-row {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Individual Card Structural Box */
.booking-candidate-card {
    flex: 0 0 220px; /* Securely locks card width at 220px along the row */
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.booking-candidate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Picture Frame layout adjustments */
.card-img-wrapper {
    width: 100%;
    height: 180px; 
    overflow: hidden;
    background-color: #f9f9f9;
}

.card-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; 
}

/* Card Typography formatting setup */
.card-details {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
}

.card-position {
    font-size: 13px;
    font-weight: 600;
    color: #1a5276; 
}

.card-location {
    font-size: 12px;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    line-height: 1.4;
}

.card-location i {
    font-size: 13px;
    flex-shrink: 0;
}

/* ==========================================================================
   BOOKING.COM SLIDER & ARROW SYSTEM (SIDEBAR ALIGNMENT FIX)
   ========================================================================== */

/* 1. The outer wrapper needs a safe side-margin so arrows have space to sit without getting cut */
.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100% !important;
    /* Extra padding on the left/right gives the arrows a safe home so they aren't cut in half */
    padding: 0 25px !important; 
    box-sizing: border-box !important;
}

/* 2. The horizontal scrolling row track */
.candidate-grid-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important; /* Allows scrolling inside the container boundary */
    overflow-y: hidden !important;
    padding-bottom: 12px !important;
    padding-top: 4px !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
}

/* Hide scrollbars cleanly */
.candidate-grid-row::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
.candidate-grid-row {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

/* 3. Rounded Navigation Arrows Setup */
.slider-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: #ffffff !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    cursor: pointer !important;
    z-index: 99 !important; /* Keeps them safely on top */
    transition: all 0.2s ease;
    font-size: 18px !important;
    color: #1a1a1a !important;
}

.slider-arrow:hover {
    background: #f9f9f9 !important;
    color: #1a5276 !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2) !important;
}

/* Position the buttons safely inside our 25px padding zone so they are fully visible */
.left-arrow {
    left: 0px !important; 
}

.right-arrow {
    right: 0px !important;
}

/* 4. Individual Candidate Card Setup */
.booking-candidate-card {
    flex: 0 0 220px !important; /* Strictly forces cards to stay 220px wide instead of stretching out */
    background: #ffffff !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer !important;
}

.booking-candidate-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important;
}

.card-img-wrapper {
    width: 100% !important;
    height: 180px !important;
    overflow: hidden !important;
}

.card-portrait {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 20% !important;
}

.card-details {
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.card-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.card-position {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1a5276 !important;
}

.card-location {
    font-size: 12px !important;
    color: #666666 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 2px !important;
}

/* Hide navigation arrows completely on mobile screens */
@media (max-width: 768px) {
    .slider-wrapper {
        padding: 0 !important; /* Remove padding blocks on mobile for full-bleed touch swiping */
    }
    .slider-arrow {
        display: none !important;
    }
}

/* ==========================================================================
   COMPACT CANDIDATE CARD SETUP (PREVENTS PROFILE DISTRACTION)
   ========================================================================== */

/* 4. Individual Candidate Card Setup - Scaled down from 220px to 175px */
.booking-candidate-card {
    flex: 0 0 175px !important; /* Narrower width for a more subtle profile strip */
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important; /* Slightly tighter rounded corners */
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer !important;
}

.booking-candidate-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
}

/* Photo frame drastically shrunk from 180px down to 125px */
.card-img-wrapper {
    width: 100% !important;
    height: 125px !important; 
    overflow: hidden !important;
    background-color: #f8fafc !important;
}

.card-portrait {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 20% !important;
}

/* Compact Typography padding and smaller font sizes */
.card-details {
    padding: 10px !important; /* Shrunk padding to save spatial height */
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important; /* Pull lines closer together */
}

.card-name {
    font-size: 13px !important; /* Shrunk text sizes */
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.card-position {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #1a5276 !important;
}

.card-location {
    font-size: 11px !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    margin-top: 1px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* ==========================================================================
   MOBILE-ONLY MAX COMPACT CARD SCROLL TRACK (768px and Below)
   ========================================================================== */

@media (max-width: 768px) {
    /* 1. Tighten the margins on the outer container for full edge-to-edge swiping */
    .slider-wrapper {
        padding: 0 !important; 
    }

    /* 2. Decrease the spacing gap between the cards from 16px to 10px */
    .candidate-grid-row {
        gap: 10px !important;
        padding-bottom: 8px !important;
    }

    /* 3. Drastically shrink card width down from 175px to 135px */
    .booking-candidate-card {
        flex: 0 0 135px !important; 
        border-radius: 6px !important; 
    }

    /* 4. Drop the photo portrait frame height from 125px to 95px */
    .card-img-wrapper {
        height: 95px !important; 
    }

    /* 5. Scale down text and padding so information stays neatly tucked inside */
    .card-details {
        padding: 8px !important; 
        gap: 1px !important; 
    }

    .card-name {
        font-size: 11px !important; 
    }

    .card-position {
        font-size: 10px !important; 
    }

    .card-location {
        font-size: 9px !important; 
        gap: 2px !important;
        margin-top: 0px !important;
    }
    
    .card-location i {
        font-size: 10px !important;
    }
}

/* ==========================================================================
   PURE CSS ARROW SYSTEM (GUARANTEED VISIBILITY)
   ========================================================================== */

.slider-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 36px !important; /* Slightly more compact */
    height: 36px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    cursor: pointer !important;
    z-index: 999 !important; /* Forces button above all bounding blocks */
    transition: all 0.2s ease;
}

/* Create a pure CSS left arrow character without depending on Font Libraries */
.left-arrow::before {
    content: '' !important;
    width: 8px !important;
    height: 8px !important;
    border-left: 2.5px solid #1e293b !important;
    border-bottom: 2.5px solid #1e293b !important;
    transform: rotate(45deg) !important;
    margin-left: 3px !important;
}

/* Create a pure CSS right arrow character */
.right-arrow::before {
    content: '' !important;
    width: 8px !important;
    height: 8px !important;
    border-right: 2.5px solid #1e293b !important;
    border-top: 2.5px solid #1e293b !important;
    transform: rotate(45deg) !important;
    margin-right: 3px !important;
}

/* Shift position inward slightly to ensure zero clipping against the wrapper edges */
.left-arrow {
    left: 6px !important; 
}

.right-arrow {
    right: 6px !important;
}

.slider-arrow:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18) !important;
}

/* ==========================================================================
   ULTRA-MINI MOBILE ARROW OVERRIDES (768px and Below)
   ========================================================================== */
@media (max-width: 768px) {
    .slider-arrow {
        width: 22px !important;  /* Shrunk down further from 26px */
        height: 22px !important; /* Shrunk down further from 26px */
        box-shadow: 0 2px 4px rgba(0,0,0,0.08) !important;
        border-color: #e2e8f0 !important;
    }

    /* Scale down the inner arrow wings to match the tiny housing */
    .left-arrow::before,
    .right-arrow::before {
        width: 4px !important;
        height: 4px !important;
        border-width: 1.5px !important;
    }
    
    /* Perfect center alignment balancing for micro-sizes */
    .left-arrow::before { margin-left: 2px !important; }
    .right-arrow::before { margin-right: 2px !important; }

    /* Pull them tightly against the screen edges so they sit off the text content */
    .left-arrow { left: 1px !important; }
    .right-arrow { right: 1px !important; }
}

/* ==========================================================================
   DESKTOP GRID SIDEBAR RESCUE (FIX FOR PUSHED-DOWN SIDEBARS)
   ========================================================================== */

@media (min-width: 769px) {
    /* 1. Target the left/main content column holding the slider to prevent expansion */
    /* Adjust these class names if yours are named differently (e.g., .main-content, .left-col) */
    .main-content, 
    .profile-main,
    div[class*="left"], 
    div[class*="main"] {
        min-width: 0 !important;
        /* Stops horizontal children from expanding this column container */
    }

    /* 2. Force strict block containment on the widget section itself */
    .slider-wrapper {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        clear: both !important;
        /* Tells the browser's engine to ignore child widths when sizing this block */
        contain: layout inline-size !important; 
    }
    
    .candidate-grid-row {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ==========================================================================
   KENYA CANDIDATES — MULTI-ROW CAROUSEL SYSTEM (BOOKING.COM STYLE)
   ========================================================================== */

/* 1. Structural Section Definitions */
.seat-row-section {
    margin-bottom: 32px;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.seat-row-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 14px;
    padding-left: 25px; /* Perfect linear alignment with the arrows */
}

/* 2. Outer Carousel Frame Containment Zone */
.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100% !important;
    padding: 0 25px !important; /* Safe padding indentation home for arrows */
    box-sizing: border-box !important;
}

/* 3. Horizontal Card Tracking Grid */
.candidate-grid-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important; /* Native gesture slide activation */
    overflow-y: hidden !important;
    padding-top: 4px !important;
    padding-bottom: 14px !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
}

/* Hide track scrollbars across all layout engines */
.candidate-grid-row::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
.candidate-grid-row {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

/* 4. Pure CSS Vector Arrow Controllers */
.slider-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    cursor: pointer !important;
    z-index: 99 !important; /* Layers arrows perfectly over the scrolling cards */
    transition: all 0.2s ease;
}

.slider-arrow:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18) !important;
}

.left-arrow::before {
    content: '' !important;
    width: 8px !important;
    height: 8px !important;
    border-left: 2.5px solid #1e293b !important;
    border-bottom: 2.5px solid #1e293b !important;
    transform: rotate(45deg) !important;
    margin-left: 3px !important;
}

.right-arrow::before {
    content: '' !important;
    width: 8px !important;
    height: 8px !important;
    border-right: 2.5px solid #1e293b !important;
    border-top: 2.5px solid #1e293b !important;
    transform: rotate(45deg) !important;
    margin-right: 3px !important;
}

.left-arrow { left: 6px !important; }
.right-arrow { right: 6px !important; }

/* 5. Ultra-Compact Profile Card Styling */
.booking-candidate-card {
    flex: 0 0 175px !important; /* Compact card width blueprint */
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer !important;
}

.booking-candidate-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
}

.card-img-wrapper {
    width: 100% !important;
    height: 125px !important; /* Balanced portrait frame height */
    overflow: hidden !important;
    background-color: #f8fafc !important;
}

.card-portrait {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 20% !important;
}

.card-details {
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.card-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.card-position {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #1a5276 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.card-location {
    font-size: 11px !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    margin-top: 1px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.card-location i {
    font-size: 11px !important;
    flex-shrink: 0;
}

/* ==========================================================================
   MOBILE SCREEN TARGET OPTIMIZATIONS (768px and Below)
   ========================================================================== */
@media (max-width: 768px) {
    .seat-row-section {
        margin-bottom: 24px;
    }

    .seat-row-title {
        padding-left: 10px;
        font-size: 14px;
        margin-bottom: 8px;
    }

    .slider-wrapper {
        padding: 0 !important; /* Bleeds container out directly to touch edges */
    }

    .candidate-grid-row {
        gap: 10px !important;
        padding-bottom: 8px !important;
    }

    /* Shrink buttons down into mini edge tabs */
    .slider-arrow {
        width: 22px !important;
        height: 22px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.08) !important;
        border-color: #e2e8f0 !important;
    }

    .left-arrow::before,
    .right-arrow::before {
        width: 4px !important;
        height: 4px !important;
        border-width: 1.5px !important;
    }
    
    .left-arrow::before { margin-left: 2px !important; }
    .right-arrow::before { margin-right: 2px !important; }

    .left-arrow { left: 1px !important; }
    .right-arrow { right: 1px !important; }

    /* Ultra-compact card matrix for mobile glass */
    .booking-candidate-card {
        flex: 0 0 135px !important;
        border-radius: 6px !important;
    }

    .card-img-wrapper {
        height: 95px !important;
    }

    .card-details {
        padding: 8px !important;
        gap: 1px !important;
    }

    .card-name { font-size: 11px !important; }
    .card-position { font-size: 10px !important; }
    .card-location { font-size: 9px !important; margin-top: 0px !important; }
    .card-location i { font-size: 10px !important; }
}

/* Ensure the generic grid wraps nicely on search fallback results */
#genericResultsGrid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    padding: 10px 25px !important;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    #genericResultsGrid {
        padding: 10px 0 !important; /* Bleeds cards to touch edges nicely on mobile screens */
        gap: 10px !important;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS FIXES (CONSTITUENCIES & HORIZONTAL SLIDERS)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Fix Constituencies running off-screen: Force them into clean rows/columns */
    .const-grid, #constituenciesGrid {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    /* 2. Fix Aspirants Rows running away: Isolate them into clean swipable tracks */
    .slider-wrapper {
        position: relative;
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }

    .candidate-grid-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important; /* Prevents cards from jumping onto rows below */
        overflow-x: auto !important; /* Forces momentum touch scroll on mobile devices */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch; /* Butter-smooth iOS swipe */
        padding: 4px 10px 16px 10px !important; /* Adds a bit of bottom padding for scrollbars */
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    /* Hide the desktop left/right arrow buttons on mobile to maximize touch swipe space */
    .slider-arrow {
        display: none !important;
    }
}

/* ==========================================================================
   FORCE MOBILE VIEWPORT COMPLIANCE
   ========================================================================== */
@media (max-width: 768px) {
    /* STEP 1: Constrain the root elements so the entire page cannot scroll sideways */
    html, body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        width: 100% !important;
    }

    /* STEP 2: Flatten your desktop structural grids/sidebars into single columns */
    .county-content, 
    .main-layout-grid, 
    main,
    .dashboard-container {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
        box-sizing: border-box !important;
    }

    /* STEP 3: Force the constituencies list into a clean, multi-line row wrap */
    #constituenciesGrid, 
    .constituency-list-container,
    .const-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Target the text items inside constituencies grid to keep them neat */
    #constituenciesGrid > *, 
    .const-grid > * {
        flex: 1 1 calc(50% - 8px) !important; /* Forces items into 2 neat columns per row */
        min-width: 120px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* STEP 4: Cage the rogue Aspirant slider rows */
    .slider-track,
    .slider-wrapper,
    .govSliderTrack,
    [id*="SliderTrack"],
    [id*="Track"] {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: auto !important; /* Force internal scrolling horizontally */
        overflow-y: hidden !important;
        display: flex !important;
        flex-wrap: nowrap !important; /* Stop them from wrapping vertically */
        -webkit-overflow-scrolling: touch !important; /* Smooth iOS swipe mechanics */
        padding-bottom: 12px !important;
    }

    /* Ensure candidate rows specifically drop inline */
    .candidate-grid-row,
    .aspirants-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        width: 100% !important;
        gap: 12px !important;
    }

    /* Give individual aspirant cards a definitive size boundary so they don't flatten */
    .candidate-card,
    .aspirant-card,
    .candidate-grid-row > * {
        flex: 0 0 220px !important; /* Rigid card width on mobile so they feel scrollable */
        width: 220px !important;
        max-width: 220px !important;
    }

    /* Completely hide structural desktop navigation buttons on mobile devices */
    .slider-arrow, 
    .prev-btn, 
    .next-btn {
        display: none !important;
    }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE REPAIR PATCH (FIX FOR OVERFLOWS & TEXT SQUISHING)
   ========================================================================== */
@media (max-width: 768px) {
    /* Prevent any global horizontal page scroll */
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    /* Force your desktop sidebar grid layout into a single vertical stack */
    .county-layout {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 24px !important;
    }

    .county-content, .county-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* FIX 1: Reset the Ad Strip inner flex layout so text reads normally */
    .ad-strip-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
        padding: 16px 8px !important;
    }
    
    .ad-strip-inner p {
        display: block !important;
        width: 100% !important;
        white-space: normal !important; /* Forces text to drop to next line naturally */
        margin: 0 !important;
    }

    /* FIX 2: Prevent Position Filter buttons from running off-screen */
    .filter-buttons {
        display: flex !important;
        overflow-x: auto !important; /* Allows swiping left/right through the buttons */
        white-space: nowrap !important;
        gap: 8px !important;
        padding: 4px 4px 12px 4px !important;
        -webkit-overflow-scrolling: touch;
        width: 100% !important;
    }

    .filter-btn {
        flex: 0 0 auto !important; /* Keeps buttons from crushing or changing structural width */
    }

    /* FIX 3: Force constituencies into a responsive 2-column or 1-column layout */
    .const-grid, #constituenciesGrid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
    }

    /* FIX 4: Secure the candidate cards horizontal slider tracks */
    .candidate-grid-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        gap: 16px !important;
        padding-bottom: 12px !important;
    }

    .candidate-card {
        flex: 0 0 220px !important; /* Keeps the cards at a perfectly uniform mobile size */
        width: 220px !important;
    }

    /* Hide slider navigation arrows on phone screens */
    .slider-arrow {
        display: none !important;
    }
}

/* ==========================================================================
   UPDATED ARROW NAVIGATION VISIBILITY PATCH
   ========================================================================== */

/* Ensure arrows are visible and properly layered on all screens */
.slider-arrow {
    display: flex !important; /* Forces them to stay visible */
    align-items: center;
    justify-content: center;
    z-index: 10 !important;   /* Keeps them on top of the cards */
    cursor: pointer;
}

@media (max-width: 768px) {
    /* Adjust arrow sizes slightly so they don't crowd small mobile screens */
    .slider-arrow {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }

    /* Prevent the inner track container from hiding the arrows */
    .candidate-slider-container {
        position: relative !important;
        overflow: visible !important; /* Allows absolute positioned arrows to stay in view */
    }
}

/* ==========================================================================
   MOBILE CARD FORM RECONSTRUCTION — MAKING THEM THINNER & TALLER
   ========================================================================== */
@media (max-width: 768px) {
    /* Step 1: Make the scrolling container parent track completely clean */
    .candidate-grid-row,
    [id*="SliderTrack"] {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        padding-bottom: 8px !important;
    }

    /* Step 2: Shrink the card width and lock a structural vertical height */
    .booking-candidate-card,
    .candidate-card,
    .candidate-grid-row > * {
        flex: 0 0 145px !important;   /* Thinner width blueprint (from 220px down to 145px) */
        width: 145px !important;
        max-width: 145px !important;
        height: 220px !important;     /* Taller structural box frame height boundary */
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        background: #ffffff !important;
        border-radius: 8px !important;
        border: 1px solid #e2e8f0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    /* Step 3: Shrink image profile box so it leaves plenty of room below for text details */
    .card-img-wrapper,
    .candidate-card > div:first-child,
    .booking-candidate-card .card-img-wrapper {
        width: 100% !important;
        height: 110px !important;    /* Clean, structured portrait field bounding frame */
        overflow: hidden !important;
        flex-shrink: 0 !important;
    }

    /* Force picture content elements to stay pinned inside the new wrapper dimensions */
    .card-portrait,
    .candidate-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Step 4: Format details region to stack beautifully inside the tall card */
    .card-details,
    .candidate-card h4,
    .candidate-card p {
        padding: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
        margin: 0 !important;
        text-align: left !important; /* Makes left alignments look much cleaner when narrow */
    }

    /* Control typography spacing so long names truncate gracefully without blowing layout boxes */
    .card-name,
    .candidate-card h4 {
        font-size: 12px !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .card-position,
    .candidate-card p {
        font-size: 11px !important;
        font-weight: 500 !important;
        color: #1a5276 !important;
        margin: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .card-location {
        font-size: 10px !important;
        color: #64748b !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

/* ==========================================================================
   MOBILE CARD INTERFACE RE-BALANCING — LONGER PORTRAIT / COMPACT TEXT
   ========================================================================== */
@media (max-width: 768px) {
    /* Keep total card dimensions identical but locked down */
    .booking-candidate-card,
    .candidate-card,
    .candidate-grid-row > * {
        flex: 0 0 145px !important;
        width: 145px !important;
        max-width: 145px !important;
        height: 220px !important; /* Total height frame */
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        background: #ffffff !important;
        border-radius: 8px !important;
        border: 1px solid #e2e8f0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    /* ADJUSTMENT: Increase image portrait height from 110px up to 140px */
    .card-img-wrapper,
    .candidate-card > div:first-child,
    .booking-candidate-card .card-img-wrapper {
        width: 100% !important;
        height: 140px !important; /* Taller picture area */
        overflow: hidden !important;
        flex-shrink: 0 !important;
        background-color: #f1f5f9 !important; /* Placeholder fill background */
    }

    /* Force images or vector icons to stretch nicely into the taller layout */
    .card-portrait,
    .candidate-card img,
    .candidate-card > div:first-child i {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* ADJUSTMENT: Tighten text container down to a precise 80px block */
    .card-details,
    .candidate-card h4,
    .candidate-card p {
        height: 80px !important;  /* Fits perfectly below the 140px picture (140+80=220) */
        padding: 6px 8px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* Centers text elements vertically to eliminate bottom void */
        gap: 2px !important;
        margin: 0 !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    /* Micro-adjust typography spacing */
    .card-name,
    .candidate-card h4 {
        font-size: 12px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .card-position,
    .candidate-card p {
        font-size: 11px !important;
        font-weight: 500 !important;
        color: #1a5276 !important;
        margin: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .card-location {
        font-size: 10px !important;
        color: #64748b !important;
        margin-top: 1px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}