:root {
    --primary-color: #17375e;
    --secondary-color: #f7f9fc;
    --text-color: #2f3a4a;
    --accent-color: #ff9933;
    --divider-color: rgba(23, 55, 94, 0.14);
    --default-font: "Inter", "Mukta", sans-serif;
    --accent-font: "Poppins", "Mukta", sans-serif;
    --portal-blue: #0b4f8a;
    --portal-navy: #17375e;
    --portal-red: #ff9933;
    --portal-green: #138808;
    --portal-soft: #f7f9fc;
    --portal-border: rgba(23, 55, 94, 0.14);
    --portal-shadow: 0 20px 55px rgba(23, 55, 94, 0.1);
}

.voterhub-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.voterhub-brand .brand-mark {
    position: relative;
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 21px;
}

.voterhub-brand .brand-mark img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

.voterhub-brand .brand-mark .brand-search {
    position: absolute;
    right: 7px;
    bottom: 7px;
    padding: 3px;
    border-radius: 50%;
    background: var(--portal-blue);
    color: var(--portal-red);
    font-size: 10px;
}

.voterhub-brand .brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.voterhub-brand .brand-copy strong {
    color: var(--portal-blue);
    font-family: var(--accent-font);
    font-size: 29px;
    font-weight: 800;
}

.main-header .navbar {
    padding: 16px 0;
}

.preloader {
    background-color: var(--portal-navy);
}

.preloader .loading-container,
.preloader .loading {
    width: 118px;
    height: 118px;
}

.preloader .loading {
    border-color: transparent var(--portal-red) transparent var(--portal-red);
}

.preloader #loading-icon {
    width: 78px;
    max-width: 78px;
}

.preloader #loading-icon img {
    display: block;
    width: 100%;
    border-radius: 50%;
}

.voterhub-brand .brand-copy strong span {
    color: var(--portal-red);
}

.voterhub-brand .brand-copy small {
    margin-top: 5px;
    color: var(--text-color);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.topbar-contact-info li {
    color: var(--white-color);
}

.main-menu ul li a.active {
    color: var(--accent-color);
}

.main-menu ul li.nav-item.active > a.nav-link,
.main-menu ul li > a.nav-link.active {
    color: var(--accent-color) !important;
    box-shadow: inset 0 -2px 0 var(--accent-color);
}

.slicknav_nav li.active > a,
.slicknav_nav a.active {
    background: rgba(11, 79, 138, 0.08);
    color: var(--accent-color) !important;
}

.home-page .main-header {
    position: absolute;
    z-index: 99;
    width: 100%;
}

.home-page .main-header .header-sticky:not(.active) {
    background: rgba(255, 255, 255, 0.96);
}

.header-sticky.active {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 30px rgba(3, 38, 66, 0.12);
}

.hero-slider-layout .hero-slide {
    min-height: 760px;
}

.hero-slider-layout .hero-slider-image::after {
    background: linear-gradient(90deg, rgba(23, 55, 94, 0.96) 0%, rgba(11, 79, 138, 0.78) 52%, rgba(11, 79, 138, 0.18) 100%);
}

.hero.hero-slider-layout .hero-slide::before {
    background: linear-gradient(90deg, rgba(23, 55, 94, 0.94) 22%, rgba(11, 79, 138, 0.76) 62%, rgba(11, 79, 138, 0.12) 100%);
    opacity: 1;
}

.page-header {
    background-image: url("../images/digital-service-centre-hero.png");
}

.page-header::before {
    background: linear-gradient(90deg, rgba(23, 55, 94, 0.94) 25%, rgba(11, 79, 138, 0.82) 72%, rgba(230, 126, 34, 0.72) 100%);
}

.hero-slider-layout .hero-content {
    padding-top: 165px;
}

.hero .hero-content .section-title h1 {
    max-width: 850px;
}

.hero-footer p {
    display: inline-flex;
    align-items: center;
}

.portal-card {
    position: relative;
    height: 100%;
    padding: 38px 32px;
    overflow: hidden;
    border: 1px solid var(--portal-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(3, 38, 66, 0.06);
    transition: all 0.35s ease-in-out;
}

.portal-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--portal-red);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease-in-out;
}

.portal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--portal-shadow);
}

.portal-card:hover::before {
    transform: scaleX(1);
}

.portal-card-icon,
.process-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin-bottom: 25px;
    place-items: center;
    border-radius: 18px;
    background: var(--secondary-color);
    color: var(--portal-red);
    font-size: 27px;
    transition: all 0.3s ease;
}

.portal-card:hover .portal-card-icon {
    background: var(--portal-red);
    color: #fff;
}

.portal-card h3 {
    margin-bottom: 12px;
    font-size: 24px;
}

.portal-card p {
    margin-bottom: 20px;
}

.portal-card-large {
    min-height: 310px;
    padding: 45px 38px;
}

.voterhub-services,
.latest-updates,
.voterhub-mission,
.legal-page,
.search-page,
.result-page,
.voter-detail-page,
.about-benefits {
    padding: 100px 0;
}

.how-it-works {
    padding: 100px 0;
    background: var(--portal-soft);
}

.process-card {
    position: relative;
    height: 100%;
    padding: 34px 28px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(3, 38, 66, 0.07);
}

.process-number {
    position: absolute;
    top: 24px;
    right: 26px;
    color: rgba(3, 38, 66, 0.1);
    font-family: var(--accent-font);
    font-size: 42px;
    font-weight: 800;
}

.process-card h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.process-card p {
    margin: 0;
}

.voterhub-statistics {
    padding: 100px 0;
    background: linear-gradient(rgba(23, 55, 94, 0.94), rgba(11, 79, 138, 0.92)), url("../images/polling-awareness-hero.png") center/cover;
}

.voterhub-statistics .stat-icon {
    margin-bottom: 20px;
    color: var(--portal-red);
    font-size: 46px;
}

.voterhub-statistics .supporters-counter-item {
    text-align: center;
}

.voterhub-statistics.our-supporters::before {
    background: linear-gradient(90deg, rgba(23, 55, 94, 0.92), rgba(11, 79, 138, 0.84));
}

.latest-updates {
    background: var(--portal-soft);
}

.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 50px;
    background: #fff;
    color: var(--portal-blue);
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(3, 38, 66, 0.08);
}

.notice-card {
    height: 100%;
    padding: 32px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(3, 38, 66, 0.07);
    transition: transform 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-7px);
}

.notice-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.notice-meta span {
    padding: 7px 12px;
    border-radius: 50px;
    background: var(--secondary-color);
    color: var(--portal-red);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.notice-meta time {
    font-size: 13px;
    font-weight: 600;
}

.notice-card h3 {
    margin-bottom: 12px;
    font-size: 23px;
}

.voterhub-cta {
    padding: 80px 0;
    background-color: var(--portal-blue);
}

.voterhub-cta::before {
    background: linear-gradient(90deg, rgba(11, 79, 138, 0.96), rgba(23, 55, 94, 0.88));
    opacity: 1;
}

.footer-voterhub-brand .brand-copy strong,
.footer-voterhub-brand .brand-copy small {
    color: #fff;
}

.footer-voterhub-brand .brand-copy strong span {
    color: var(--portal-red);
}

.footer-social-links {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer-social-links a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--dark-divider-color);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    border-color: var(--portal-red);
    background: var(--portal-red);
}

.footer-copyright p {
    margin-bottom: 0;
}

.technology-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.technology-tags span {
    padding: 12px 18px;
    border: 1px solid var(--portal-border);
    border-radius: 50px;
    background: #fff;
    color: var(--portal-blue);
    font-weight: 700;
}

.about-benefits {
    background: var(--portal-soft);
}

.benefit-panel {
    padding: 42px;
    border-radius: 26px;
    background: var(--portal-blue);
}

.benefit-panel h3 {
    margin-bottom: 30px;
    color: #fff;
    font-size: 30px;
}

.benefit-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.benefit-panel li {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--dark-divider-color);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.benefit-panel li:last-child {
    border-bottom: 0;
}

.benefit-panel li i {
    margin-top: 4px;
    color: var(--portal-red);
    font-size: 20px;
}

.benefit-panel li span,
.benefit-panel li strong {
    display: block;
}

.benefit-panel li strong {
    margin-bottom: 3px;
    color: #fff;
}

.search-intro {
    max-width: 850px;
    margin: 0 auto 45px;
}

.search-card,
.result-table-card,
.voter-profile-card,
.legal-card {
    border: 1px solid var(--portal-border);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--portal-shadow);
}

.search-card {
    padding: 45px;
}

.search-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--portal-border);
}

.search-card-icon {
    display: grid;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    place-items: center;
    border-radius: 18px;
    background: var(--portal-red);
    color: #fff;
    font-size: 23px;
}

.search-card-header h3 {
    margin-bottom: 5px;
    font-size: 27px;
}

.search-card-header p,
.search-security-note span,
.result-summary p,
.table-footer p {
    margin: 0;
}

.form-label {
    margin-bottom: 10px;
    color: var(--portal-blue);
    font-weight: 700;
}

.search-card .form-control,
.search-card .form-select,
.contact-form .form-control {
    min-height: 56px;
    padding: 13px 18px;
    border: 1px solid rgba(3, 38, 66, 0.16);
    border-radius: 10px;
    background-color: #fff;
    color: var(--portal-blue);
    line-height: 1.5;
}

.contact-form textarea.form-control {
    min-height: 150px;
}

.search-card .form-control:focus,
.search-card .form-select:focus,
.contact-form .form-control:focus,
.table-search .form-control:focus {
    border-color: var(--portal-red);
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.14);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 18px;
    color: var(--portal-red);
    transform: translateY(-50%);
}

.input-with-icon .form-control {
    padding-left: 48px;
}

.search-security-note {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    gap: 12px;
    padding: 12px 17px;
    border-radius: 10px;
    background: #edf8f2;
    color: var(--portal-green);
    font-size: 14px;
    font-weight: 600;
}

.search-actions {
    display: flex;
    gap: 15px;
    margin-top: 38px;
    padding-top: 30px;
    border-top: 1px solid var(--portal-border);
}

.btn-outline-theme {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border: 1px solid var(--portal-blue);
    border-radius: 100px;
    background: transparent;
    color: var(--portal-blue);
    font-family: var(--accent-font);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-theme:hover {
    border-color: var(--portal-red);
    background: var(--portal-red);
    color: #fff;
}

.search-tips {
    margin-top: 30px;
    padding: 28px 32px;
    border-left: 4px solid var(--portal-red);
    border-radius: 12px;
    background: var(--portal-soft);
}

.search-tips h3 {
    margin-bottom: 16px;
    font-size: 21px;
}

.search-tips h3 i {
    margin-right: 8px;
    color: var(--portal-red);
}

.search-tips p {
    margin: 0;
    font-size: 14px;
}

.result-page {
    background: var(--portal-soft);
}

.result-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 30px;
    padding: 25px 30px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(3, 38, 66, 0.07);
}

.result-summary > div {
    display: flex;
    align-items: center;
    gap: 18px;
}

.result-count {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 17px;
    background: var(--portal-red);
    color: #fff;
    font-family: var(--accent-font);
    font-size: 25px;
    font-weight: 800;
}

.result-summary h3 {
    margin-bottom: 4px;
    font-size: 23px;
}

.result-table-card {
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 16px 45px rgba(3, 38, 66, 0.09);
}

.table-toolbar,
.table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 25px;
}

.table-toolbar {
    border-bottom: 1px solid var(--portal-border);
}

.table-footer {
    border-top: 1px solid var(--portal-border);
}

.entries-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.entries-control .form-select {
    width: 75px;
}

.table-search {
    position: relative;
    width: min(320px, 100%);
}

.table-search i {
    position: absolute;
    top: 50%;
    left: 15px;
    color: var(--text-color);
    transform: translateY(-50%);
}

.table-search .form-control {
    min-height: 44px;
    padding-left: 42px;
    border-radius: 50px;
}

.voter-table {
    min-width: 1320px;
    margin: 0;
}

.voter-table thead th {
    padding: 18px 14px;
    border: 0;
    background: var(--portal-blue);
    color: #fff;
    font-family: var(--accent-font);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.voter-table tbody td {
    padding: 17px 14px;
    border-color: var(--portal-border);
    font-size: 13px;
    line-height: 1.5;
    white-space: nowrap;
}

.voter-table tbody tr:hover td {
    background: rgba(230, 126, 34, 0.06);
}

.voter-table .booth-cell {
    max-width: 210px;
    white-space: normal;
}

.epic-badge {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 6px;
    background: var(--secondary-color);
    color: var(--portal-red);
    font-weight: 800;
    letter-spacing: 0.4px;
}

.action-buttons {
    display: flex;
    gap: 6px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.action-btn.view { background: var(--portal-blue); }
.action-btn.print { background: #526470; }
.action-btn.pdf { background: var(--portal-red); }
.action-btn:hover { color: #fff; opacity: 0.86; }

.pagination {
    margin: 0;
}

.pagination .page-link {
    border-color: var(--portal-border);
    color: var(--portal-blue);
}

.pagination .active .page-link {
    border-color: var(--portal-red);
    background: var(--portal-red);
}

.no-table-results {
    display: none;
    padding: 35px;
    text-align: center;
}

.voter-detail-page {
    background: var(--portal-soft);
}

.voter-detail-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.voter-detail-actions > div {
    display: flex;
    gap: 12px;
}

.voter-profile-card {
    overflow: hidden;
}

.voter-profile-header {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 35px 40px;
    background: var(--portal-blue);
}

.voter-avatar {
    display: grid;
    flex: 0 0 82px;
    width: 82px;
    height: 82px;
    place-items: center;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 32px;
}

.voter-heading {
    flex: 1;
}

.voter-heading > span {
    display: inline-block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.voter-heading h2 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 32px;
}

.voter-heading p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.record-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 50px;
    background: #eaf8ef;
    color: var(--portal-green);
    font-size: 13px;
    font-weight: 800;
}

.voter-profile-body {
    padding: 15px 40px 35px;
}

.detail-section {
    padding: 32px 0;
    border-bottom: 1px solid var(--portal-border);
}

.detail-section:last-child {
    border-bottom: 0;
}

.detail-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.detail-section-title i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    background: var(--secondary-color);
    color: var(--portal-red);
}

.detail-section-title h3 {
    font-size: 23px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.detail-item {
    padding: 18px;
    border: 1px solid var(--portal-border);
    border-radius: 12px;
    background: var(--portal-soft);
}

.detail-item-wide {
    grid-column: span 2;
}

.detail-item span,
.detail-item strong {
    display: block;
}

.detail-item span {
    margin-bottom: 8px;
    color: #76838d;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.detail-item strong {
    color: var(--portal-blue);
    font-size: 15px;
    line-height: 1.5;
}

.voter-profile-footer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 22px 40px;
    background: #fff8e8;
    color: #745f2b;
}

.voter-profile-footer p {
    margin: 0;
    font-size: 13px;
}

.office-info-card {
    padding: 40px;
    border-radius: 24px;
    background: var(--portal-blue);
    color: rgba(255, 255, 255, 0.75);
}

.office-info-card > h3 {
    margin-bottom: 12px;
    color: #fff;
    font-size: 30px;
}

.office-info-list {
    margin-top: 30px;
}

.office-info-list > div {
    display: flex;
    gap: 15px;
    padding: 19px 0;
    border-bottom: 1px solid var(--dark-divider-color);
    line-height: 1.6;
}

.office-info-list > div:last-child {
    border-bottom: 0;
}

.office-info-list i {
    width: 22px;
    margin-top: 4px;
    color: var(--portal-red);
    font-size: 19px;
    text-align: center;
}

.office-info-list strong,
.office-info-list span {
    display: block;
}

.office-info-list strong {
    margin-bottom: 3px;
    color: #fff;
}

.office-info-list a {
    color: rgba(255, 255, 255, 0.8);
}

.map-placeholder {
    display: grid;
    min-height: 340px;
    margin-top: 70px;
    place-items: center;
    border: 2px dashed rgba(3, 38, 66, 0.16);
    border-radius: 24px;
    background: var(--portal-soft);
    text-align: center;
}

.map-placeholder i {
    margin-bottom: 18px;
    color: var(--portal-red);
    font-size: 50px;
}

.map-placeholder h3 {
    margin-bottom: 8px;
    font-size: 27px;
}

.map-placeholder p {
    max-width: 560px;
    margin: 0;
}

.contact-demo-message {
    display: inline-block;
    margin-left: 15px;
    color: var(--portal-green);
    font-weight: 700;
}

.legal-page {
    background: var(--portal-soft);
}

.legal-card {
    padding: 50px;
}

.legal-intro {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--portal-border);
}

.legal-intro > span {
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    border-radius: 18px;
    background: var(--portal-red);
    color: #fff;
    font-size: 27px;
}

.legal-intro h2 {
    margin-bottom: 4px;
    font-size: 31px;
}

.legal-intro p {
    margin: 0;
}

.legal-card h3 {
    margin: 32px 0 12px;
    font-size: 23px;
}

.legal-card a {
    color: var(--portal-red);
    font-weight: 700;
}

.error-page {
    padding: 120px 0;
}

.error-page-image {
    max-width: 560px;
    margin: 0 auto 35px;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
}

@media only screen and (max-width: 991px) {
    .home-page .main-header {
        position: relative;
    }

    .hero-slider-layout .hero-content {
        padding-top: 80px;
    }

    .hero-slider-layout .hero-slide {
        min-height: 680px;
    }

    .voterhub-services,
    .latest-updates,
    .voterhub-mission,
    .legal-page,
    .search-page,
    .result-page,
    .voter-detail-page,
    .about-benefits,
    .how-it-works {
        padding: 70px 0;
    }

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

    .office-info-card {
        margin-top: 10px;
    }
}

@media only screen and (max-width: 767px) {
    .voterhub-brand .brand-mark {
        width: 52px;
        height: 52px;
    }

    .voterhub-brand .brand-copy strong {
        font-size: 23px;
    }

    .hero-slider-layout .hero-slide {
        min-height: 620px;
    }

    .hero-slider-layout .hero-content {
        padding-top: 50px;
    }

    .search-card,
    .legal-card {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .search-card-header {
        align-items: flex-start;
    }

    .search-actions,
    .result-summary,
    .table-toolbar,
    .table-footer,
    .voter-detail-actions,
    .voter-detail-actions > div,
    .error-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .result-summary > div {
        align-items: flex-start;
    }

    .table-search {
        width: 100%;
    }

    .table-footer nav {
        overflow-x: auto;
    }

    .voter-profile-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

    .voter-profile-body {
        padding: 8px 22px 25px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-item-wide {
        grid-column: span 1;
    }

    .voter-profile-footer {
        padding: 20px 24px;
    }

    .legal-intro {
        align-items: flex-start;
    }

    .contact-demo-message {
        display: block;
        margin: 15px 0 0;
    }
}

@media print {
    .topbar,
    .main-header,
    .page-header,
    .main-footer,
    .voter-detail-actions,
    .voter-profile-footer,
    .action-buttons,
    .table-toolbar,
    .table-footer {
        display: none !important;
    }

    .voter-detail-page,
    .result-page {
        padding: 0;
        background: #fff;
    }

    .voter-profile-card,
    .result-table-card {
        border: 0;
        box-shadow: none;
    }

    .voter-table {
        min-width: 100%;
    }
}

/* 2026 citizen portal UI refinement */
body {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.7;
}

.portal-topbar {
    position: relative;
    z-index: 2;
    background: var(--portal-navy);
    color: #fff;
    font-size: 13px;
}

.portal-topbar-inner,
.topbar-contact,
.topbar-languages {
    display: flex;
    align-items: center;
}

.portal-topbar-inner {
    min-height: 38px;
    justify-content: space-between;
}

.topbar-contact { gap: 24px; }
.topbar-contact > a,
.topbar-contact > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}
.topbar-contact i { color: var(--accent-color); }
.topbar-languages { gap: 7px; }
.topbar-languages a { color: rgba(255, 255, 255, 0.82); font-weight: 600; }
.topbar-languages a:hover,
.topbar-languages a.active { color: #fff; }

.main-header .navbar { margin-top: 0; padding: 9px 0; }
.voterhub-brand .brand-mark { width: 68px; height: 68px; }
.voterhub-brand .brand-copy strong { font-size: 30px; }
.main-menu .nav-menu-wrapper { margin: 0 auto; }
.main-menu ul li { margin: 0 3px; }
.main-menu ul li a { font-weight: 600; }

.home-page .main-header {
    top: 0;
    border-bottom: 0;
    background: transparent;
}
.home-page .main-header .header-sticky:not(.active) {
    background: linear-gradient(180deg, rgba(10, 43, 79, 0.76), rgba(10, 43, 79, 0.16));
    box-shadow: none;
}
.home-page .main-header .header-sticky:not(.active) .brand-copy strong,
.home-page .main-header .header-sticky:not(.active) .brand-copy small,
.home-page .main-header .header-sticky:not(.active) .main-menu ul li a { color: #fff; }
.home-page .main-header .header-sticky:not(.active) .brand-copy strong span { color: var(--accent-color); }
.home-page .main-header .header-sticky:not(.active) .main-menu ul li a:hover,
.home-page .main-header .header-sticky:not(.active) .main-menu ul li a.active { color: var(--accent-color); }
.header-sticky.active { transform: translateY(0); }

.btn-default {
    min-height: 48px;
    border-radius: 9px;
    font-weight: 700;
    cursor: pointer;
}
.btn-default::before { border-radius: 9px; }
.btn-default::after { transition: transform 0.3s ease; }
.btn-default:hover::after { transform: translateX(4px); }
.btn-default.is-loading { pointer-events: none; opacity: 0.88; }
.btn-default .btn-loader {
    display: none;
    width: 18px;
    height: 18px;
    margin-left: 10px;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: portal-spin .7s linear infinite;
}
.btn-default.is-loading .btn-loader { display: inline-block; }
@keyframes portal-spin { to { transform: rotate(360deg); } }

.hero.hero-video.hero-slider-layout {
    --hero-slider-height: 720px;
    overflow: hidden;
}
.hero.hero-video.hero-slider-layout::before {
    display: none;
    content: none;
}
.hero.hero-slider-layout > .swiper {
    height: var(--hero-slider-height);
}
.hero.hero-slider-layout .swiper-wrapper,
.hero.hero-slider-layout .swiper-slide {
    height: 100%;
}
.hero.hero-slider-layout .hero-slide {
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 205px 0 105px;
}
.hero-slider-layout .hero-content { padding-top: 0; }
.hero-slider-layout .hero-slider-image::after {
    background: linear-gradient(90deg, rgba(11, 48, 86, 0.96) 0%, rgba(11, 79, 138, 0.82) 50%, rgba(11, 79, 138, 0.25) 100%);
}
.hero.hero-slider-layout .hero-slider-image {
    width: 100%;
    height: 100%;
}
.hero.hero-slider-layout .hero-slider-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.01);
    transition: transform 7s ease;
}
.hero-slider-layout .swiper-slide-active .hero-slider-image img { transform: scale(1.07); }
.hero-slider-layout .hero-content .section-title h1 { max-width: 820px; font-size: clamp(43px, 5vw, 72px); line-height: 1.08; }
.hero-slider-layout .hero-content .section-title p { max-width: 680px; font-size: 18px; }
.hero-button {
    position: absolute;
    z-index: 4;
    top: 52%;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    transition: all .3s ease;
}
.hero-button:hover { border-color: var(--accent-color); background: var(--accent-color); transform: translateY(-2px); }
.hero-button-prev { left: 28px; }
.hero-button-next { right: 28px; }
.hero.hero-slider-layout .hero-pagination {
    right: auto;
    bottom: 72px !important;
    left: 50%;
    display: flex;
    width: auto;
    padding-left: 0;
    gap: 7px;
    text-align: center;
    transform: translateX(-50%);
}
.hero.hero-slider-layout .hero-pagination .swiper-pagination-bullet { width: 10px; height: 10px; margin: 0; background: #fff; opacity: .58; }
.hero.hero-slider-layout .hero-pagination .swiper-pagination-bullet-active { width: 28px; border-radius: 10px; background: var(--accent-color); opacity: 1; }
.hero-slider-layout .hero-footer {
    margin-top: 24px;
    padding-top: 20px;
}
.hero-slider-layout .hero-footer p { font-size: 16px; }

.quick-search-section {
    position: relative;
    z-index: 5;
    margin-top: -44px;
    padding-bottom: 50px;
    background: linear-gradient(to bottom, transparent 0 44px, var(--portal-soft) 44px 100%);
}
.quick-search-card {
    padding: 30px 34px 34px;
    border: 1px solid var(--portal-border);
    border-top: 4px solid var(--portal-blue);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(23,55,94,.14);
}
.quick-search-heading { display: flex; align-items: center; gap: 17px; margin-bottom: 24px; }
.quick-search-icon {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 15px;
    background: rgba(11,79,138,.1);
    color: var(--portal-blue);
    font-size: 23px;
}
.section-kicker { color: var(--portal-blue); font-size: 12px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; }
.quick-search-heading h2 { margin: 1px 0 2px; color: var(--portal-navy); font-size: 28px; }
.quick-search-heading p { margin: 0; }
.quick-search-form label { margin-bottom: 6px; color: var(--portal-navy); font-size: 13px; font-weight: 700; }
.quick-search-form .form-control,
.quick-search-form .form-select { min-height: 49px; border: 1px solid rgba(23,55,94,.18); border-radius: 8px; background-color: var(--portal-soft); font-size: 14px; }
.quick-search-form .form-control:focus,
.quick-search-form .form-select:focus { border-color: var(--portal-blue); background: #fff; box-shadow: 0 0 0 3px rgba(11,79,138,.1); }
.quick-search-actions { display: flex; align-items: flex-end; gap: 12px; }
.quick-search-actions .btn-default { flex: 1; border: 0; }
.btn-reset { min-height: 48px; padding: 0 22px; border: 1px solid rgba(23,55,94,.25); border-radius: 9px; background: #fff; color: var(--portal-navy); font-weight: 700; transition: all .25s ease; }
.btn-reset:hover { border-color: var(--portal-blue); background: var(--portal-soft); }

.portal-trust-strip { padding: 14px 0 82px; }
.trust-item { display: flex; height: 100%; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--portal-border); border-radius: 14px; background: #fff; }
.trust-item > i { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 12px; background: rgba(11,79,138,.09); color: var(--portal-blue); font-size: 20px; }
.trust-item h3 { margin: 0 0 2px; color: var(--portal-navy); font-size: 17px; }
.trust-item p { margin: 0; font-size: 13px; line-height: 1.4; }

.about-us,
.voterhub-services,
.how-it-works,
.latest-updates { padding-top: 95px; padding-bottom: 95px; }
.about-us { padding-top: 100px; }
.about-us .section-title p { line-height: 1.8; }
.about-us-list ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 22px; }

.portal-card { cursor: pointer; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.portal-card:hover { transform: translateY(-9px); border-color: rgba(11,79,138,.28); box-shadow: 0 24px 55px rgba(23,55,94,.15); }
.portal-card-icon { transition: transform .35s ease, background-color .35s ease; }
.portal-card:hover .portal-card-icon { transform: scale(1.08); }
.portal-card .readmore-btn,
.notice-card .readmore-btn { transition: color .25s ease, letter-spacing .25s ease; }
.portal-card:hover .readmore-btn,
.notice-card:hover .readmore-btn { color: var(--portal-blue); letter-spacing: .15px; }

.process-row { position: relative; }
.process-row::before { content: ""; position: absolute; top: 75px; right: 12%; left: 12%; border-top: 2px dashed rgba(11,79,138,.24); }
.process-card { position: relative; z-index: 1; height: 100%; background: #fff; }
.process-number {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: var(--portal-navy);
    color: #fff;
    font-size: 15px;
}
.process-icon { box-shadow: 0 0 0 10px var(--portal-soft); }

.voterhub-statistics { padding: 78px 0; }
.voterhub-statistics .section-row { margin-bottom: 46px; }
.voterhub-statistics .supporters-counter-list {
    align-items: stretch;
    gap: 0;
    margin-top: 0;
    padding-top: 46px;
}
.voterhub-statistics .supporters-counter-item {
    width: 25%;
    padding: 12px 28px;
}
.voterhub-statistics .supporters-counter-item::before {
    right: 0;
    height: 72%;
}
.voterhub-statistics .supporters-counter-item .stat-icon { margin-bottom: 12px; font-size: 40px; }
.voterhub-statistics .supporters-counter-item h2 { margin: 8px 0 5px; font-size: clamp(34px, 3vw, 48px); line-height: 1.15; }
.voterhub-statistics .supporters-counter-item p { margin: 0; line-height: 1.45; }

.notice-card { height: 100%; transition: transform .3s ease, box-shadow .3s ease; }
.notice-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(23,55,94,.12); }
.notice-meta .notice-badge { padding: 5px 9px; border-radius: 5px; font-size: 10px; letter-spacing: .5px; }
.notice-meta .notice-new { background: #138808; color: #fff; }
.notice-meta .notice-notice { background: var(--portal-blue); color: #fff; }
.notice-meta .notice-important { background: #b42318; color: #fff; }
.notice-meta .notice-update { background: #6941c6; color: #fff; }

.voterhub-cta {
    overflow: hidden;
    background-color: var(--portal-blue);
    background-image:
        radial-gradient(circle at 85% 30%, rgba(255,255,255,.12) 0 2px, transparent 3px),
        radial-gradient(circle at 72% 68%, rgba(255,153,51,.22) 0 3px, transparent 4px),
        linear-gradient(120deg, transparent 0 62%, rgba(255,255,255,.04) 62% 63%, transparent 63% 100%),
        linear-gradient(135deg, #17375e 0%, #0b4f8a 62%, #146cae 100%);
    background-size: 42px 42px, 70px 70px, 100% 100%, 100% 100%;
}
.voterhub-cta::before { content: ""; position: absolute; top: -90px; right: 9%; width: 290px; height: 290px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: transparent; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.02); opacity: 1; }

.portal-footer { padding-top: 74px; background: #102d4f; }
.portal-footer .footer-main-row { padding-bottom: 58px; }
.portal-footer .about-footer p { margin: 20px 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.7; }
.footer-voterhub-brand .brand-mark { width: 58px; height: 58px; }
.footer-voterhub-brand .brand-copy strong { color: #fff; font-size: 25px; }
.footer-voterhub-brand .brand-copy small { color: rgba(255,255,255,.68); }
.portal-footer .footer-links h3 { margin-bottom: 22px; color: #fff; font-size: 17px; }
.portal-footer .footer-links ul li { margin-bottom: 10px; }
.portal-footer .footer-links ul li a { color: rgba(255,255,255,.7); font-size: 14px; }
.portal-footer .footer-links ul li a:hover { color: var(--accent-color); padding-left: 3px; }
.portal-footer .footer-contact-item { margin-bottom: 12px; }
.portal-footer .footer-contact-item .icon-box { width: 29px; color: var(--accent-color); }
.portal-footer .footer-contact-content p,
.portal-footer .footer-contact-content a { color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.55; }
.portal-footer .footer-copyright {
    margin: 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    background: transparent;
}
.portal-footer .footer-copyright p { margin: 0; color: rgba(255,255,255,.6); font-size: 12px; }

@media only screen and (max-width: 1199px) {
    .topbar-contact { gap: 14px; }
    .topbar-contact > a span,
    .topbar-contact > span span { display: none; }
    .hero-button-prev { left: 14px; }
    .hero-button-next { right: 14px; }
}

@media only screen and (max-width: 991px) {
    .portal-topbar-inner { min-height: 34px; }
    .home-page .main-header { position: relative; }
    .home-page .main-header { border-bottom: 1px solid var(--divider-color); background: #fff; }
    .home-page .main-header .header-sticky:not(.active) { background: #fff; }
    .home-page .main-header .header-sticky:not(.active) .brand-copy strong { color: var(--portal-blue); }
    .home-page .main-header .header-sticky:not(.active) .brand-copy strong span { color: var(--accent-color); }
    .home-page .main-header .header-sticky:not(.active) .brand-copy small { color: var(--text-color); }
    .home-page .main-header .header-sticky:not(.active) .main-menu ul li a { color: var(--primary-color); }
    .voterhub-brand .brand-mark { width: 59px; height: 59px; }
    .hero.hero-video.hero-slider-layout { --hero-slider-height: 640px; }
    .hero.hero-slider-layout .hero-slide { height: 100%; min-height: 0; padding: 105px 0 100px; }
    .hero-slider-layout .hero-content { padding: 0 46px 0 0; }
    .hero.hero-slider-layout .hero-pagination { bottom: 58px !important; }
    .quick-search-section { margin-top: -34px; background: linear-gradient(to bottom, transparent 0 34px, var(--portal-soft) 34px 100%); }
    .quick-search-actions { padding-top: 4px; }
    .process-row::before { display: none; }
    .portal-trust-strip { padding-bottom: 65px; }
    .about-us,
    .voterhub-services,
    .how-it-works,
    .latest-updates { padding-top: 72px; padding-bottom: 72px; }
}

@media only screen and (max-width: 767px) {
    .portal-topbar-inner { justify-content: center; }
    .topbar-contact { display: none; }
    .portal-topbar { font-size: 12px; }
    .main-header .navbar { padding: 7px 0; }
    .voterhub-brand { gap: 8px; }
    .voterhub-brand .brand-mark { width: 54px; height: 54px; }
    .voterhub-brand .brand-copy strong { font-size: 22px; }
    .voterhub-brand .brand-copy small { font-size: 8px; letter-spacing: .8px; }
    .hero.hero-video.hero-slider-layout { --hero-slider-height: 560px; }
    .hero.hero-slider-layout .hero-slide { height: 100%; min-height: 0; padding: 70px 0 92px; }
    .hero-slider-layout .hero-content { padding: 0 20px 0 0; }
    .hero-slider-layout .hero-content .section-title h1 { font-size: 37px; }
    .hero-slider-layout .hero-content .section-title p { font-size: 16px; }
    .hero-footer { display: none; }
    .hero-button { top: auto; bottom: 27px; width: 40px; height: 40px; }
    .hero-button-prev { left: 18px; }
    .hero-button-next { right: 18px; }
    .hero.hero-slider-layout .hero-pagination { bottom: 36px !important; }
    .quick-search-section { margin-top: 0; padding-top: 28px; background: var(--portal-soft); }
    .quick-search-card { padding: 25px 20px; border-radius: 14px; }
    .quick-search-heading { align-items: flex-start; }
    .quick-search-icon { width: 48px; height: 48px; flex-basis: 48px; }
    .quick-search-heading h2 { font-size: 23px; }
    .quick-search-heading p { font-size: 13px; line-height: 1.5; }
    .quick-search-actions { flex-direction: column; align-items: stretch; }
    .btn-reset { width: 100%; }
    .about-us-list ul { grid-template-columns: 1fr; }
    .trust-item { padding: 16px; }
    .voterhub-statistics { padding: 64px 0; }
    .voterhub-statistics .section-row { margin-bottom: 32px; }
    .voterhub-statistics .supporters-counter-list { padding-top: 32px; }
    .voterhub-statistics .supporters-counter-item { width: 50%; padding: 20px 10px; }
    .voterhub-statistics .supporters-counter-item:nth-child(2n)::before { display: none; }
    .voterhub-statistics .supporters-counter-item .stat-icon { font-size: 32px; }
    .voterhub-statistics .supporters-counter-item h2 { font-size: 28px; }
    .voterhub-cta { text-align: center; }
    .portal-footer { padding-top: 56px; }
    .portal-footer .footer-copyright,
    .portal-footer .footer-copyright .text-lg-center,
    .portal-footer .footer-copyright .text-lg-end { text-align: center; }
}

@media only screen and (max-width: 575px) {
    .voterhub-statistics .supporters-counter-item { width: 100%; }
    .voterhub-statistics .supporters-counter-item::before { display: none; }
}

/* Shared inner-page content and consistency pass */
.page-header {
    display: flex;
    min-height: 170px;
    align-items: center;
    overflow: hidden;
    padding: 24px 0;
    background-image: url("../images/digital-service-centre-hero.png");
    background-position: center 42%;
}

.page-header::before {
    background-image:
        radial-gradient(circle at 18% 24%, rgba(255,255,255,.10) 0 2px, transparent 3px),
        linear-gradient(120deg, transparent 0 63%, rgba(255,255,255,.05) 63% 64%, transparent 64% 100%),
        linear-gradient(90deg, rgba(23,55,94,.97), rgba(11,79,138,.90));
    background-size: 42px 42px, 100% 100%, 100% 100%;
}

.page-header::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 50%;
    right: 10%;
    width: 80px;
    height: 108px;
    background: rgba(255,255,255,.055);
    clip-path: polygon(43% 0, 62% 10%, 59% 24%, 76% 32%, 67% 44%, 79% 57%, 64% 66%, 55% 82%, 47% 100%, 37% 84%, 27% 69%, 16% 60%, 25% 46%, 15% 34%, 33% 24%, 31% 10%);
    transform: translateY(-50%) rotate(4deg);
}

.page-header-box h1 {
    display: block;
    margin: 0 0 4px;
    font-size: clamp(32px, 3vw, 42px);
    line-height: 1.15;
}

.page-header-subtitle {
    max-width: 720px;
    margin: 0 auto 9px;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.5;
}

.page-header-box .breadcrumb {
    font-size: 13px;
}

.page-header-box ol .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding-right: var(--bs-breadcrumb-item-padding-x);
}

.portal-content-section,
.portal-purpose-section,
.citizen-services-section,
.portal-technology-section,
.future-expansion-section,
.search-page,
.result-page,
.voter-detail-page,
.legal-page,
.page-contact-us {
    padding-top: 78px;
    padding-bottom: 78px;
}

.portal-purpose-section,
.portal-technology-section,
.legal-page,
.result-page {
    background: var(--portal-soft);
}

.portal-card-large {
    min-height: 280px;
    padding: 36px 32px;
}

.portal-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.portal-feature-grid > div {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 15px;
    border: 1px solid var(--portal-border);
    border-radius: 10px;
    background: #fff;
    color: var(--portal-navy);
    font-weight: 700;
}

.portal-feature-grid i { color: var(--portal-green); }
.technology-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.technology-grid span { display: grid; min-height: 62px; place-items: center; border-radius: 12px; text-align: center; }

.future-expansion-section { padding-top: 0; }
.future-expansion-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 38px 42px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--portal-navy), var(--portal-blue));
    color: rgba(255,255,255,.78);
}
.future-expansion-card h2 { margin: 4px 0 8px; color: #fff; font-size: 30px; }
.future-expansion-card p { max-width: 850px; margin: 0; }
.future-expansion-card > i { color: var(--accent-color); font-size: 54px; }

.search-page { padding-top: 58px; }
.search-card { padding: 38px; }
.search-card-header { margin-bottom: 28px; padding-bottom: 24px; }
.search-info-card {
    padding: 28px;
    border: 1px solid rgba(11,79,138,.16);
    border-left: 4px solid var(--portal-blue);
    border-radius: 16px;
    background: #eef5fb;
}
.search-tips-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.search-tips-heading > span { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 12px; background: var(--portal-blue); color: #fff; }
.search-tips-heading h3 { margin: 0 0 2px; color: var(--portal-navy); }
.search-tips-heading p { color: var(--text-color); font-size: 14px; }
.search-tip-item { height: 100%; padding: 16px; border-radius: 10px; background: #fff; }
.search-tip-item strong { display: block; margin-bottom: 6px; color: var(--portal-blue); font-size: 12px; letter-spacing: 1px; }
.search-tip-item p { line-height: 1.55; }

.portal-surface-card {
    height: 100%;
    padding: 38px;
    border: 1px solid var(--portal-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(23,55,94,.08);
}
.office-info-card { height: 100%; padding: 38px; }
.office-info-list { margin-top: 22px; }
.office-info-list > div { padding: 14px 0; }
.map-placeholder { min-height: 220px; margin-top: 42px; padding: 28px; border-radius: 18px; }
.map-placeholder i { margin-bottom: 10px; font-size: 38px; }
.map-placeholder h3 { font-size: 24px; }
.map-placeholder p { margin: 0 auto 8px; }

.contact-faq { padding-top: 72px; }
.contact-faq .section-title { max-width: 760px; margin: 0 auto 34px; }
.contact-faq-item { height: 100%; padding: 26px; border: 1px solid var(--portal-border); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(23,55,94,.06); }
.contact-faq-item h3 { margin-bottom: 10px; color: var(--portal-navy); font-size: 19px; }
.contact-faq-item p { margin: 0; font-size: 15px; line-height: 1.65; }

.legal-card { padding: 44px 48px; }
.legal-card > p { line-height: 1.8; }
.legal-card h3 { margin-top: 28px; color: var(--portal-navy); font-size: 21px; }
.legal-intro { margin-bottom: 28px; padding-bottom: 25px; }

.footer-voterhub-brand .brand-mark { width: 70px; height: 70px; }
.footer-voterhub-brand .brand-copy strong { font-size: 28px; }
.portal-footer .footer-links h3 { font-size: 18px; }
.portal-footer .footer-links ul li a { line-height: 1.55; }

@media only screen and (max-width: 991px) {
    .page-header { min-height: 165px; padding: 22px 0; }
    .portal-content-section,
    .portal-purpose-section,
    .citizen-services-section,
    .portal-technology-section,
    .future-expansion-section,
    .search-page,
    .result-page,
    .voter-detail-page,
    .legal-page,
    .page-contact-us { padding-top: 64px; padding-bottom: 64px; }
    .future-expansion-section { padding-top: 0; }
    .technology-grid { margin-top: 16px; }
    .office-info-card { margin-top: 0; }
}

@media only screen and (max-width: 767px) {
    .page-header { min-height: 160px; }
    .page-header::after { right: 3%; opacity: .7; }
    .page-header-box h1 { font-size: 30px; }
    .page-header-subtitle { max-width: 92%; font-size: 13px; }
    .portal-feature-grid,
    .technology-grid { grid-template-columns: 1fr; }
    .future-expansion-card { align-items: flex-start; padding: 28px 24px; }
    .future-expansion-card h2 { font-size: 24px; }
    .future-expansion-card > i { display: none; }
    .search-card,
    .portal-surface-card,
    .legal-card { padding: 28px 22px; }
    .search-info-card { padding: 22px; }
    .legal-intro { flex-direction: column; }
    .contact-faq { padding-top: 56px; }
}
