/* Joypurhat municipality public website: a calm, accessible civic design system. */
:root {
    --civic-ink: #123247;
    --civic-navy: #0d3042;
    --civic-deep: #082636;
    --civic-teal: #117c82;
    --civic-teal-dark: #0c626a;
    --civic-gold: #e9b65f;
    --civic-paper: #f5f7f6;
    --civic-line: #dfe8e8;
    --civic-muted: #607887;
    --civic-white: #ffffff;
    --civic-shadow: 0 16px 44px rgba(10, 47, 62, .08);
    --civic-font: "Noto Sans Bengali", "Hind Siliguri", "Nirmala UI", "Vrinda", "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body,
button,
input,
select,
textarea { font-family: var(--civic-font); }
body { color: var(--civic-ink); background: var(--civic-paper); font-size: 16px; line-height: 1.7; }
body p { line-height: 1.8; }
body h1, body h2, body h3, body h4, body h5, body h6 { font-family: var(--civic-font); color: var(--civic-ink); font-weight: 700; letter-spacing: -.015em; }
body a { color: var(--civic-teal-dark); }
body a:hover { color: var(--civic-teal); }
body :focus-visible { outline: 3px solid var(--civic-gold) !important; outline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 1000001; padding: 8px 14px; border-radius: 8px; background: var(--civic-navy); color: white; }
.skip-link:focus { top: 12px; color: white; }
.container { width: min(1280px, calc(100% - 48px)); max-width: none; }
#page { background: var(--civic-paper); }

/* Header and announcement */
#top-bar { background: var(--civic-deep); font-size: 12px; letter-spacing: .02em; }
#top-bar:after { display: none; }
#top-bar-inner { padding: 8px 0; }
#top-bar .top-bar-inner-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#top-bar .top-bar-socials, #top-bar .top-bar-content { display: block; width: auto; text-align: left; }
#top-bar .top-bar-content a { display: inline-flex; align-items: center; gap: 7px; margin-left: 24px; color: #d9e9ed; }
#top-bar .top-bar-content a:hover { color: white; }
#top-bar .top-bar-content i.fa-envelope { margin: 0; font-size: 12px; }
#top-bar .top-bar-content i.fa-phone { font-size: 13px; }
.top-bar-identity { display: inline-flex; align-items: center; gap: 8px; color: #d9e9ed; }
.top-bar-identity i { color: var(--civic-gold); }
#site-header { background: var(--civic-white); box-shadow: 0 1px 0 rgba(12, 52, 67, .07); }
#site-header-inner, #site-header.is-sticky #site-header-inner { padding-top: 14px; padding-bottom: 14px; }
#site-header-inner .wrap-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 60px; }
#site-logo { float: none; flex: 0 0 auto; }
#site-logo .main-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--civic-navy); }
#site-logo .main-logo img { width: 55px; height: 55px; object-fit: contain; flex: 0 0 auto; }
.site-brand-copy { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.site-brand-copy strong { font-size: 19px; font-weight: 800; }
.site-brand-copy small { margin-top: 6px; font-family: "Segoe UI", sans-serif; font-size: 9px; letter-spacing: .17em; font-weight: 700; color: var(--civic-muted); }
#site-header.style-1 #main-nav { position: static; transform: none; flex: 0 1 auto; }
#main-nav > ul { display: flex; align-items: center; gap: 2px; }
#main-nav > ul > li { float: none; padding: 0 8px; }
#main-nav > ul > li:first-child { padding-left: 8px; }
#main-nav > ul > li > a { color: var(--civic-ink); font-family: "Segoe UI", var(--civic-font); font-size: 12px; font-weight: 700; letter-spacing: .015em; white-space: nowrap; }
#main-nav > ul > li > a:hover, #main-nav > ul > li.is-current > a { color: var(--civic-teal-dark); }
#main-nav > ul > li.is-current > a:before { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--civic-gold); content: ""; border-radius: 3px; }
#main-nav .sub-menu { width: 240px; border-radius: 0 0 12px 12px; overflow: hidden; box-shadow: 0 18px 36px rgba(11, 45, 61, .16); }
#main-nav .sub-menu li a { padding: 12px 18px; color: var(--civic-ink); font-family: "Segoe UI", var(--civic-font); font-size: 12px; }
#main-nav .sub-menu li a:hover { color: var(--civic-teal-dark); background: #edf6f5; }
#site-header .mobile-button { flex: 0 0 auto; }
#site-header .mobile-button:before, #site-header .mobile-button:after, #site-header .mobile-button span { background: var(--civic-navy); }
#main-nav-mobi { background: var(--civic-navy); box-shadow: 0 20px 30px rgba(6, 38, 53, .22); }
#main-nav-mobi ul li { border-color: rgba(255, 255, 255, .11); }
#main-nav-mobi ul > li > a { color: #edf7f6; font-family: "Segoe UI", var(--civic-font); font-weight: 650; }
#main-nav-mobi ul > li > a:hover { color: var(--civic-gold); }
#main-nav-mobi .menu-item-has-children .arrow:before { color: #d8e8e8; }

.announcement-wrap { background: #edf4f2; border-bottom: 1px solid var(--civic-line); }
.civic-announcement { display: flex; align-items: center; gap: 18px; min-height: 52px; }
.announcement-label { display: inline-flex; align-items: center; gap: 8px; align-self: stretch; padding: 0 17px; border-radius: 0 0 7px 7px; background: var(--civic-teal); color: white; font-size: 13px; font-weight: 800; white-space: nowrap; }
.announcement-label i { font-size: 14px; }
.announcement-items { display: flex; gap: 26px; flex: 1 1 auto; min-width: 0; overflow: hidden; color: var(--civic-ink); font-size: 14px; }
.announcement-items span { flex: 1 1 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.announcement-items span + span { border-left: 1px solid #cbdcda; padding-left: 26px; }
.announcement-link { flex: 0 0 auto; font-size: 13px; font-weight: 800; white-space: nowrap; }
.announcement-link i { margin-left: 5px; font-size: 11px; }

/* Shared page treatment */
body.front-page #main-content, body.page #main-content { padding: 38px 0 88px; }
#site-content, #inner-content, .page-content { min-width: 0; }
.page-content .row > [class*="col-"] > .wprt-spacer:first-child { height: 0 !important; min-height: 0 !important; margin: 0 !important; }
.page-content .row > [class*="col-"] > h3:first-of-type { font-size: clamp(26px, 2.55vw, 36px); line-height: 1.35; margin-bottom: 10px; }
.page-content .wprt-lines.style-1.custom-3 { margin-bottom: 0; }
.page-content .wprt-lines.style-1.custom-3 .line-1 { background: var(--civic-gold); height: 4px; width: 70px; border-radius: 8px; }
.page-content .wprt-lines.style-1.custom-3 .line-2 { background: var(--civic-line); }
.page-content .row > [class*="col-"] { min-width: 0; }
.page-content .btn, .page-content input[type="submit"] { border-radius: 9px; border: 1px solid transparent; background: var(--civic-teal); color: white; font-weight: 700; box-shadow: none; }
.page-content .btn:hover, .page-content input[type="submit"]:hover { background: var(--civic-teal-dark); color: white; }
.page-content .btn-info, .page-content .btn-primary { background: var(--civic-teal); }
.page-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .page-content select, .page-content textarea { border: 1px solid #d8e3e5; border-radius: 9px; background: white; color: var(--civic-ink); }
.page-content input:focus, .page-content select:focus, .page-content textarea:focus { border-color: var(--civic-teal); box-shadow: 0 0 0 3px rgba(17, 124, 130, .1); }
.page-content .table-scroll { border: 1px solid var(--civic-line); border-radius: 14px; background: white; box-shadow: var(--civic-shadow); }
.page-content .table { margin: 0; background: white; }
.page-content .table th { background: var(--civic-navy); color: white; font-weight: 700; border-color: rgba(255, 255, 255, .1); }
.page-content .table td { color: var(--civic-ink); border-color: var(--civic-line); }
.page-content .table-striped > tbody > tr:nth-of-type(odd) { background: #f7faf9; }
.page-content .table td a:not(.btn) { color: var(--civic-teal-dark); font-weight: 650; }
.page-content .wprt-toggle .toggle-title { padding: 18px 52px 18px 54px; border: 1px solid var(--civic-line); border-radius: 11px; background: white; font-size: 17px; line-height: 1.5; box-shadow: 0 3px 10px rgba(16, 51, 68, .03); }
.page-content .wprt-toggle.active .toggle-title { background: var(--civic-navy); border-color: var(--civic-navy); }
.page-content .wprt-toggle .toggle-content { padding: 20px 24px 24px; margin: -8px 0 14px; border: 1px solid var(--civic-line); border-top: 0; border-radius: 0 0 11px 11px; background: white; }
.page-content .wprt-toggle .toggle-content a { color: var(--civic-teal-dark); }
.page-content .wprt-pagination .page-numbers a, .page-content .wprt-pagination .page-numbers span { border-radius: 8px; }
.page-content .wprt-pagination .page-numbers .current { background: var(--civic-teal); }
.page-content .rwd-table_staff { border: 1px solid var(--civic-line); border-radius: 12px; overflow: hidden; }
.page-content .rwd-table_staff thead th { background: var(--civic-navy); color: white; }
.page-content .rwd-table_staff tbody tr { background: white; border-color: var(--civic-line); }
.page-content .rwd-table_staff tbody tr:nth-child(even) { background: #f6f9f8; }
.page-content .rwd-table_staff tbody td { border-color: var(--civic-line); }
.page-content .complaint-table { border-collapse: separate; border-spacing: 0 14px; background: transparent; }
.page-content .complaint-table tr { box-shadow: var(--civic-shadow); }
.page-content .complaint-table td { background: white; border-color: var(--civic-line) !important; }
.page-content .complaint-table td:first-child { border-radius: 12px 0 0 12px; }
.page-content .complaint-table td:last-child { border-radius: 0 12px 12px 0; background: #edf6f5; color: var(--civic-teal-dark); }
.page-content .complaint-table .complaint-role { font-weight: 750; }
.page-content .contact-layout > div { min-width: 0; }
.page-content .contact-layout .wprt-information, .page-content .contact-layout > div:last-child { padding: 28px; border: 1px solid var(--civic-line); border-radius: 14px; background: white; box-shadow: var(--civic-shadow); }
.page-content .contact-map { border: 1px solid var(--civic-line); border-radius: 14px; box-shadow: var(--civic-shadow); }
.page-content .wprt-contact-form-1 input:not([type="submit"]), .page-content .wprt-contact-form-1 textarea { width: 100%; }
.page-content .contact-layout .wprt-information li { margin-bottom: 10px; }
.page-content .contact-layout .wprt-information li .hl { color: var(--civic-ink); font-weight: 700; }
.page-content .overview-tables table { border-collapse: collapse; border: 1px solid var(--civic-line); background: white; }
.page-content .overview-tables th, .page-content .overview-tables td { padding: 12px 16px; border: 1px solid var(--civic-line); }
.page-content .overview-tables tr:first-child th { background: var(--civic-navy); color: white; }
.civic-page-intro { margin: 0 0 28px; padding: 30px 36px; border: 1px solid var(--civic-line); border-radius: 16px; background: linear-gradient(115deg, #ffffff 60%, #eaf4f2); box-shadow: var(--civic-shadow); }
.civic-page-intro h1 { margin: 4px 0 7px; font-size: clamp(26px, 2.8vw, 37px); line-height: 1.38; }
.civic-page-intro p { max-width: 750px; margin: 0; color: var(--civic-muted); font-size: 15px; }
.civic-subheading { margin: 44px 0 18px; font-size: 25px; }
.civic-page-intro + .civic-subheading { margin-top: 0; }
.complaint-empty { max-width: 760px; margin: 0 auto; padding: 50px 28px; border: 1px solid var(--civic-line); border-radius: 16px; background: white; box-shadow: var(--civic-shadow); text-align: center; }
.complaint-empty-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: #e7f4f1; color: var(--civic-teal-dark); font-size: 28px; }
.complaint-empty h2 { margin: 18px 0 6px; font-size: 23px; }
.complaint-empty p { margin-bottom: 18px; color: var(--civic-muted); }
.contact-location { margin-top: 45px; }
.contact-location .section-head { margin-bottom: 17px; }
.contact-location .contact-map { margin: 0; background: #e8efed; }
.page-content .contact-layout .wprt-information li .text { overflow-wrap: anywhere; }
.page-content .contact-layout h4 { font-size: 21px; }
.page-content .contact-layout .wrap-submit input { min-height: 46px; padding: 9px 22px; }
.page-content .civic-data-table { table-layout: fixed; width: 100% !important; }
.page-content .civic-data-table th, .page-content .civic-data-table td { padding: 15px 17px; vertical-align: middle; overflow-wrap: anywhere; }
.page-content .civic-data-table thead th { border-bottom: 0; }
.page-content .civic-data-table .btn { white-space: nowrap; }
.dataTables_wrapper { padding: 16px; }
.dataTables_wrapper .dataTables_length { float: left; margin-bottom: 17px; }
.dataTables_wrapper .dataTables_filter { float: right; margin-bottom: 17px; }
.dataTables_wrapper .dataTables_length label, .dataTables_wrapper .dataTables_filter label { display: inline-flex; align-items: center; gap: 8px; margin: 0; white-space: nowrap; font-weight: 600; }
.dataTables_wrapper .dataTables_filter input, .dataTables_wrapper .dataTables_length select { display: inline-block; width: auto; min-height: 36px; margin: 0; padding: 4px 9px; }
.dataTables_wrapper .dataTables_filter input { width: min(240px, 48vw); }
.dataTables_wrapper .dataTables_length select { width: 70px; }
.dataTables_wrapper table { clear: both; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { border-color: var(--civic-teal); background: var(--civic-teal); color: white !important; }
.civic-about-slider { overflow: hidden; border-radius: 15px; background: #e3edeb; box-shadow: var(--civic-shadow); }
.civic-about-slider .cbp, .civic-about-slider .cbp-item, .civic-about-slider .item-wrap { height: 390px !important; }
.civic-about-slider .item-wrap img { display: block; width: 100%; height: 390px; object-fit: cover; object-position: center 45%; }
.civic-about-content { max-width: 920px; margin: 0 auto; padding: 0 4px; }
.civic-about-content h2 { font-size: 27px; }
.civic-richtext { color: var(--civic-ink); font-size: 16px; line-height: 1.9; }
.civic-richtext p { margin-bottom: 16px; }
.civic-richtext img { max-width: 100%; height: auto; }
.wprt-project #project-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 26px; }
.wprt-project #project-filter .cbp-filter-item { float: none; margin: 0; padding: 8px 16px; border: 1px solid var(--civic-line); border-radius: 9px; background: white; color: var(--civic-ink); font-family: var(--civic-font); font-size: 13px; font-weight: 700; }
.wprt-project #project-filter .cbp-filter-item:hover, .wprt-project #project-filter .cbp-filter-item.cbp-filter-item-active { border-color: var(--civic-teal); background: var(--civic-teal); color: white; }
.civic-gallery-card { display: block; overflow: hidden; height: 100%; border: 1px solid var(--civic-line); border-radius: 12px; background: white; box-shadow: 0 10px 25px rgba(10, 47, 62, .06); }
.civic-gallery-card img { display: block; width: 100%; height: 220px; object-fit: cover; transition: transform .25s ease; }
.civic-gallery-card:hover img { transform: scale(1.04); }
.civic-gallery-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 67px; padding: 13px 14px; color: var(--civic-ink); font-size: 13px; line-height: 1.45; }
.civic-gallery-caption i { margin-top: 3px; color: var(--civic-teal); }
.civic-person-card { overflow: hidden; width: 100%; border: 1px solid var(--civic-line); border-radius: 15px; background: white; box-shadow: var(--civic-shadow); }
.civic-person-card > .row { display: flex; align-items: stretch; margin: 0; }
.civic-person-card .specialdetailsimg { display: grid; place-items: center; min-height: 340px; padding: 28px !important; background: #edf5f3; }
.civic-person-card .specialdetailsimg img { display: block; max-width: 250px; max-height: 270px; width: auto; height: auto; border-radius: 12px; object-fit: contain; }
.civic-person-card .specialdetailscontent { display: flex; align-items: center; padding: 32px 44px !important; }
.civic-person-card .card-body { width: 100%; padding: 0; }
.civic-person-card .card-title { margin-bottom: 15px; color: var(--civic-ink); font-size: 24px; line-height: 1.4; }
.civic-person-card .card-text { margin: 0; padding: 10px 0; border-top: 1px solid var(--civic-line); overflow-wrap: anywhere; }
.civic-person-card .card-text strong { display: inline-block; min-width: 155px; color: var(--civic-ink); }
.civic-ward-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.civic-ward-card { display: flex; align-items: center; gap: 14px; min-height: 80px; padding: 17px 19px; border: 1px solid var(--civic-line); border-radius: 12px; background: white; box-shadow: 0 8px 22px rgba(10, 47, 62, .05); }
.civic-ward-card:hover { border-color: var(--civic-teal); transform: translateY(-2px); }
.civic-ward-card i:first-child { display: grid; place-items: center; flex: 0 0 37px; height: 37px; border-radius: 9px; background: #e9f4f2; }
.civic-ward-card strong { flex: 1 1 auto; color: var(--civic-ink); }
.civic-news-index { max-width: 980px; margin: 0 auto 30px; padding: 0; list-style: none; }
.civic-news-index li { display: flex; align-items: center; gap: 20px; margin-bottom: 10px; padding: 17px 22px; border: 1px solid var(--civic-line); border-radius: 11px; background: white; }
.civic-news-index li > span { flex: 0 0 100px; color: var(--civic-muted); font-size: 12px; font-weight: 700; }
.civic-news-index a { display: flex; align-items: center; justify-content: space-between; flex: 1 1 auto; gap: 18px; color: var(--civic-ink); font-weight: 700; }
.civic-news-index a i { color: var(--civic-teal); }
.civic-overview-scroll { overflow-x: auto; border: 1px solid var(--civic-line); border-radius: 13px; background: white; box-shadow: var(--civic-shadow); }
.civic-overview-scroll table { width: 100%; min-width: 590px; }
.civic-overview-scroll th { width: 50%; text-align: left; font-size: 14px; font-weight: 600; }
.civic-overview-scroll tr:first-child th { font-size: 18px; }
.civic-article { max-width: 960px; margin: 0 auto; padding: 28px; border: 1px solid var(--civic-line); border-radius: 14px; background: white; box-shadow: var(--civic-shadow); }
.civic-article figure { margin: 0 0 30px; }
.civic-article figure img { display: block; max-width: 100%; max-height: 560px; width: auto; height: auto; margin: 0 auto; border-radius: 10px; }
.civic-department-page .service-item { overflow: hidden; height: 100%; border: 1px solid var(--civic-line); border-radius: 12px; background: white; box-shadow: 0 8px 20px rgba(10, 47, 62, .05); }
.civic-department-page .service-item .thumb img { max-width: 100%; }

/* Home */
.home-page { padding-top: 3px; }
.home-hero { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); min-height: 470px; overflow: hidden; border-radius: 22px; background: var(--civic-navy); box-shadow: 0 24px 55px rgba(9, 43, 55, .17); }
.home-hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(32px, 5vw, 68px); background: radial-gradient(circle at 4% 7%, rgba(39, 150, 149, .33), transparent 43%), linear-gradient(140deg, #0c3547, #0a293b); color: white; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; color: #d7e8dc; font-size: 13px; font-weight: 750; letter-spacing: .04em; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--civic-gold); box-shadow: 0 0 0 5px rgba(233, 182, 95, .14); }
.home-hero h1 { margin: 0 0 22px; color: white; font-size: clamp(34px, 3.4vw, 53px); line-height: 1.3; font-weight: 800; }
.home-hero h1 span { color: #f5d293; }
.home-hero p { max-width: 440px; margin-bottom: 29px; color: #e2eeee; font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.civic-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: 9px; font-weight: 750; line-height: 1.3; transition: transform .2s, background .2s, border-color .2s; }
.civic-button:hover { transform: translateY(-2px); }
.civic-button-primary { background: var(--civic-gold); color: #173647; }
.civic-button-primary:hover { background: #f3c97d; color: #173647; }
.civic-button-secondary { border-color: rgba(255, 255, 255, .35); color: white; }
.civic-button-secondary:hover { border-color: white; background: rgba(255, 255, 255, .12); color: white; }
.hero-caption { margin-top: 30px; color: #bed5d8; font-size: 13px; }
.hero-caption i { margin-right: 6px; color: var(--civic-gold); }
.home-hero-media { position: relative; min-width: 0; min-height: 470px; background: #aec5c5; }
.home-hero-media .wprt-galleries-grid, .home-hero-media .cbp, .home-hero-media .cbp-item, .home-hero-media .item-wrap { height: 100%; min-height: 470px; }
.home-hero-media .bannerimage { display: block; width: 100%; height: 100% !important; max-height: none; object-fit: cover; object-position: center; }
.home-hero-media .cbp-nav-prev, .home-hero-media .cbp-nav-next { border-radius: 8px; }
.home-hero-fallback { display: grid; place-items: center; min-height: 470px; background: #e5eeee; }
.home-hero-fallback img { width: 170px; }
.hero-image-label { position: absolute; right: 22px; bottom: 22px; z-index: 3; padding: 9px 13px; border: 1px solid rgba(255, 255, 255, .65); border-radius: 8px; background: rgba(9, 45, 59, .82); color: white; font-size: 13px; font-weight: 700; backdrop-filter: blur(8px); }
.hero-image-label .fa { margin-right: 7px; }

.quick-access { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 24px 0 55px; }
.quick-access-item { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 21px 18px; border: 1px solid var(--civic-line); border-radius: 14px; background: white; box-shadow: 0 8px 25px rgba(16, 51, 68, .04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.quick-access-item:hover { transform: translateY(-4px); border-color: #bad8d6; box-shadow: var(--civic-shadow); }
.quick-icon { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: #e8f4f2; color: var(--civic-teal-dark); font-size: 18px; }
.quick-access-item > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.quick-access-item strong { color: var(--civic-ink); font-size: 15px; line-height: 1.45; }
.quick-access-item small { color: var(--civic-muted); font-size: 12px; line-height: 1.5; }
.quick-arrow { margin-left: auto; color: var(--civic-teal-dark); font-size: 12px; }
.home-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 350px); align-items: start; gap: 34px; }
.home-primary, .home-aside { min-width: 0; }
.home-section { margin-bottom: 44px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.section-kicker { color: var(--civic-teal-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.section-head h2 { margin: 5px 0 0; font-size: clamp(25px, 2vw, 30px); line-height: 1.4; }
.section-link { display: inline-flex; align-items: center; gap: 8px; color: var(--civic-teal-dark); font-size: 14px; font-weight: 800; white-space: nowrap; }
.section-link i { font-size: 12px; }
.home-notice-list, .home-news-list { overflow: hidden; border: 1px solid var(--civic-line); border-radius: 15px; background: white; box-shadow: var(--civic-shadow); }
.home-notice-item { display: flex; align-items: center; gap: 16px; min-height: 85px; padding: 14px 20px; border-bottom: 1px solid var(--civic-line); color: var(--civic-ink); }
.home-notice-item:last-child { border-bottom: 0; }
.home-notice-item:hover, .home-news-item:hover { background: #f1f8f7; }
.notice-icon { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #eaf3f1; color: var(--civic-teal-dark); }
.notice-text { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.notice-text strong { color: var(--civic-ink); font-size: 15px; line-height: 1.55; font-weight: 650; }
.notice-text small { margin-top: 5px; color: var(--civic-muted); font-size: 12px; }
.notice-link-icon { flex: 0 0 auto; color: var(--civic-teal); font-size: 12px; }
.home-news-item { display: flex; align-items: center; gap: 16px; padding: 20px; border-bottom: 1px solid var(--civic-line); color: var(--civic-ink); }
.home-news-item:last-child { border-bottom: 0; }
.home-news-item strong { flex: 1; color: var(--civic-ink); }
.news-date { flex: 0 0 90px; color: var(--civic-muted); font-size: 12px; }
.home-news-item > i { color: var(--civic-teal); transform: rotate(45deg); }
.home-service-list .wprt-toggle { margin-bottom: 10px; }
.home-service-list .wprt-toggle .toggle-title { margin-bottom: 0; }
.home-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-gallery-card { overflow: hidden; border: 1px solid var(--civic-line); border-radius: 13px; background: white; box-shadow: 0 8px 20px rgba(10, 43, 56, .05); }
.home-gallery-card img { width: 100%; height: 155px; object-fit: cover; }
.home-gallery-card > div { padding: 13px; }
.home-gallery-card h3 { margin: 0; font-size: 14px; line-height: 1.5; }
.empty-state { padding: 28px; color: var(--civic-muted); }

.home-aside { display: grid; gap: 20px; }
.official-card, .aside-card { overflow: hidden; border: 1px solid var(--civic-line); border-radius: 15px; background: white; box-shadow: var(--civic-shadow); }
.official-card-heading { padding: 22px 24px 12px; }
.official-card-heading h2 { margin: 4px 0 0; font-size: 22px; }
.official-photo { margin: 0 20px; overflow: hidden; border-radius: 11px; background: #edf4f3; }
.official-photo img { display: block; width: 100%; height: 250px; object-fit: contain; object-position: center bottom; }
.official-card-footer { display: flex; flex-direction: column; gap: 8px; padding: 16px 24px 22px; }
.official-card-footer strong { font-size: 16px; }
.official-card-footer a { font-size: 13px; font-weight: 750; }
.official-card-footer i { margin-left: 5px; }
.aside-card { padding: 22px 24px; }
.aside-card-head { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; }
.aside-card-head h2 { margin: 0; font-size: 20px; }
.aside-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #eaf3f1; color: var(--civic-teal-dark); }
.aside-link-list li { border-top: 1px solid var(--civic-line); }
.aside-link-list a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; color: var(--civic-ink); font-size: 14px; }
.aside-link-list a:hover { color: var(--civic-teal-dark); }
.aside-link-list i { margin-top: 5px; color: var(--civic-teal); font-size: 11px; }
.anthem-card audio { display: block; width: 100%; }
.calendar-card { overflow: hidden; }
.calendar-card .calendar { min-height: 0; height: auto; padding: 0; border-radius: 0; box-shadow: none; }
.calendar-card .calendar-header { padding: 10px 12px; background: var(--civic-navy); }
.calendar-card .month-picker, .calendar-card #year { color: white; }
.calendar-card .year-change { width: 28px; height: 28px; padding: 0; border: 0; background: rgba(255, 255, 255, .14); color: white; font-size: 20px; line-height: 1; }
.calendar-card .year-change:hover { background: var(--civic-teal); }
.calendar-card .calendar-body { padding: 8px 0; }
.calendar-card .calendar-week-days div { color: var(--civic-muted); height: 32px; }
.calendar-card .calendar-days div { width: auto; height: 33px; padding: 4px; }
.calendar-card .calendar-days div.current-date { border-radius: 50%; background: var(--civic-teal); }
.calendar-card .date-time-formate { position: static; min-height: 55px; height: auto; margin: 8px 0 0; font-family: var(--civic-font); font-size: 12px; }
.calendar-card .day-text-formate, .calendar-card .date-time-value { font-family: var(--civic-font); }
.calendar-card .time-formate { font-size: 14px; }
.calendar-card .month-list { top: -230px; }
.helpline-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.helpline-grid img { width: 100%; height: auto; border: 1px solid var(--civic-line); border-radius: 9px; }

/* Footer */
#footer { padding: 62px 0 54px; border: 0; background: linear-gradient(135deg, #123b4e, var(--civic-deep)); }
#footer-widgets .widget, #footer-widgets .widget.widget_information { color: #d4e1e4; }
#footer-widgets .widget .widget-title { margin-bottom: 23px; color: white; font-size: 20px; }
#footer-widgets .widget .widget-title > span:after { background: var(--civic-gold) !important; border-radius: 3px; }
#footer-widgets .textwidget { max-width: 550px; }
#footer-widgets .textwidget img { width: 60px; height: 60px; object-fit: contain; }
#footer-widgets .textwidget p { color: #cbdde0; line-height: 1.8; }
.footer-about-link, .footer-about-link:hover { color: #f3cb82; font-weight: 700; }
.footer-about-link i { margin-left: 5px; }
#footer-widgets .widget.widget_information ul.style-2 .hl, #footer-widgets .widget.widget_information ul.style-2 .text { float: none; width: auto; }
#footer-widgets .widget.widget_information ul.style-2 li { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 12px; margin-bottom: 11px; padding: 0; }
#footer-widgets .widget.widget_information ul.style-2 .hl { color: #e8f1f0; }
#footer-widgets .widget.widget_information ul.style-2 .text { color: #cbdde0; }
#footer-widgets .widget.widget_information ul.style-2 a { color: #cbdde0; }
#footer-widgets .widget.widget_information ul.style-2 a:hover { color: white; }
#footer-widgets .widget.widget_information ul.style-2:after { display: none; }
.footer-quick-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.footer-quick-links a { padding: 7px 11px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 7px; color: #e4eeee; font-size: 13px; }
.footer-quick-links a:hover { border-color: var(--civic-gold); color: white; }
#bottom { padding: 17px 0; background: #082331; color: #b7cbd0; font-family: var(--civic-font); font-size: 12px; }
#bottom a { color: #d9e6e8; }
#bottom .bottom-nav li a { color: #d9e6e8; }
#scroll-top { border-radius: 10px; background: var(--civic-teal); }

@media (max-width: 1199px) {
    #site-header.style-1 #main-nav { display: none; }
    #site-header .mobile-button { display: block; width: 30px; height: 22px; margin: 0 3px 0 auto; padding: 0; border: 0; background: transparent; }
    #main-nav-mobi { max-height: min(75vh, 550px); overflow-y: auto; }
}
@media (max-width: 991px) {
    .quick-access { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-content-grid { grid-template-columns: minmax(0, 1fr); }
    .home-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .calendar-card { grid-column: auto; }
    .civic-ward-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .container { width: calc(100% - 32px); }
    #top-bar { display: none; }
    #site-header-inner, #site-header.is-sticky #site-header-inner { padding-top: 10px; padding-bottom: 10px; }
    #site-logo .main-logo img { width: 45px; height: 45px; }
    .site-brand-copy strong { font-size: 16px; }
    .site-brand-copy small { font-size: 8px; letter-spacing: .11em; }
    .civic-announcement { min-height: 48px; gap: 10px; }
    .announcement-label { padding: 0 11px; font-size: 12px; }
    .announcement-items { font-size: 12px; }
    .announcement-items span + span { display: none; }
    .announcement-link { font-size: 0; }
    .announcement-link i { font-size: 12px; }
    body.front-page #main-content, body.page #main-content { padding: 22px 0 60px; }
    .home-hero { display: flex; flex-direction: column; min-height: 0; border-radius: 16px; }
    .home-hero-copy { padding: 28px 24px 30px; }
    .home-hero h1 { font-size: clamp(29px, 8vw, 38px); }
    .home-hero p { font-size: 14px; }
    .hero-caption { margin-top: 22px; }
    .home-hero-media, .home-hero-media .wprt-galleries-grid, .home-hero-media .cbp, .home-hero-media .cbp-item, .home-hero-media .item-wrap { min-height: 220px; height: 220px; }
    .home-hero-media .bannerimage { height: 220px !important; }
    .home-hero-fallback { min-height: 220px; }
    .hero-image-label { right: 12px; bottom: 12px; padding: 6px 9px; font-size: 11px; }
    .quick-access { gap: 9px; margin: 17px 0 38px; }
    .quick-access-item { align-items: flex-start; gap: 8px; padding: 14px 11px; border-radius: 11px; }
    .quick-icon { flex-basis: 32px; width: 32px; height: 32px; font-size: 14px; }
    .quick-access-item strong { font-size: 13px; }
    .quick-access-item small { font-size: 11px; }
    .quick-arrow { display: none; }
    .section-head { align-items: center; }
    .section-head h2 { font-size: 24px; }
    .section-link { font-size: 12px; }
    .home-section { margin-bottom: 36px; }
    .home-notice-item { gap: 11px; padding: 13px; }
    .notice-icon { flex-basis: 35px; width: 35px; height: 35px; }
    .notice-text strong { font-size: 13px; }
    .home-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-gallery-card img { height: 130px; }
    .home-aside { grid-template-columns: minmax(0, 1fr); }
    .page-content .row > [class*="col-"] > h3:first-of-type { font-size: 27px; }
    .page-content .complaint-table { border-spacing: 0; }
    .page-content .complaint-table tr { border-radius: 12px; }
    .page-content .complaint-table td:first-child { border-radius: 12px 12px 0 0; }
    .page-content .complaint-table td:last-child { border-radius: 0 0 12px 12px; }
    .page-content .contact-layout .wprt-information, .page-content .contact-layout > div:last-child { padding: 21px; }
    .civic-page-intro { margin-bottom: 20px; padding: 23px 21px; border-radius: 13px; }
    .civic-page-intro h1 { font-size: 25px; }
    .civic-page-intro p { font-size: 13px; }
    .civic-subheading { margin-top: 33px; font-size: 22px; }
    .civic-about-slider .cbp, .civic-about-slider .cbp-item, .civic-about-slider .item-wrap, .civic-about-slider .item-wrap img { height: 220px !important; }
    .civic-about-content h2 { font-size: 23px; }
    .wprt-project #project-filter { justify-content: flex-start; }
    .wprt-project #project-filter .cbp-filter-item { padding: 7px 11px; font-size: 12px; }
    .civic-gallery-card img { height: 210px; }
    .civic-person-card > .row { display: block; }
    .civic-person-card .specialdetailsimg { min-height: 0; padding: 25px !important; }
    .civic-person-card .specialdetailsimg img { max-width: 200px; max-height: 220px; }
    .civic-person-card .specialdetailscontent { padding: 22px !important; }
    .civic-person-card .card-title { font-size: 20px; }
    .civic-person-card .card-text strong { min-width: 0; margin-right: 5px; }
    .civic-ward-grid { grid-template-columns: minmax(0, 1fr); }
    .civic-news-index li { display: block; padding: 15px; }
    .civic-news-index li > span { display: block; margin-bottom: 7px; }
    .civic-article { padding: 17px; }
    .page-content .overview-tables table, .page-content .overview-tables tbody, .page-content .overview-tables tr, .page-content .overview-tables th, .page-content .overview-tables td { display: block; width: 100%; min-width: 0; }
    .page-content .overview-tables tr { border-bottom: 1px solid var(--civic-line); }
    .page-content .overview-tables th, .page-content .overview-tables td { padding: 9px 13px; border: 0; overflow-wrap: anywhere; }
    .page-content .overview-tables tr:not(:first-child) th:first-child { padding-bottom: 1px; color: var(--civic-muted); font-size: 12px; }
    .page-content .overview-tables tr:not(:first-child) th:nth-child(2) { padding-top: 1px; color: var(--civic-ink); font-size: 14px; }
    .page-content .overview-tables tr:first-child th:empty { display: none; }
    .page-content .civic-data-table thead { display: none; }
    .page-content .civic-data-table, .page-content .civic-data-table tbody, .page-content .civic-data-table tr, .page-content .civic-data-table td { display: block; width: 100% !important; }
    .page-content .civic-data-table { border: 0; background: transparent; }
    .page-content .civic-data-table tr { margin: 0 0 12px; overflow: hidden; border: 1px solid var(--civic-line); border-radius: 11px; background: white; }
    .page-content .civic-data-table td { display: flex; align-items: flex-start; gap: 12px; padding: 10px 13px; border: 0; border-top: 1px solid var(--civic-line); text-align: left; font-size: 13px; }
    .page-content .civic-data-table td:first-child { border-top: 0; }
    .page-content .civic-data-table td[data-label]:before { content: attr(data-label); flex: 0 0 80px; color: var(--civic-muted); font-weight: 800; }
    .page-content .civic-data-table td[colspan] { justify-content: center; }
    .page-content .civic-data-table td[colspan]:before { display: none; }
    .dataTables_wrapper { padding: 12px; }
    .dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_paginate { float: none; text-align: left; }
    .dataTables_wrapper .dataTables_filter { clear: both; }
    .dataTables_wrapper .dataTables_paginate { margin-top: 12px; }
    .dataTables_wrapper .dataTables_filter input { flex: 1 1 auto; min-width: 0; width: 100%; }
    .contact-location { margin-top: 34px; }
    #scroll-top { display: none; }
    #footer { padding: 45px 0 28px; }
    #footer-widgets .widget { margin-bottom: 35px; }
    #bottom .bottom-bar-inner-wrap { display: block; }
}
@media (max-width: 389px) {
    .site-brand-copy strong { font-size: 14px; }
    .site-brand-copy small { font-size: 7px; }
    .hero-actions { display: grid; width: 100%; }
    .civic-button { width: 100%; }
    .quick-access-item { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .civic-button, .quick-access-item { transition: none; }
}
