/* Public service shell uses the same teal, navy and orange identity as e-Baldia. */

:root {
  --ebaldia-primary: #0f5c78;
  --ebaldia-secondary: #147597;
  --ebaldia-accent: #ef8354;
  --ink: #153344;
  --body: #526574;
  /* Legacy token names remain for existing housing forms. */
  --green: var(--ebaldia-primary);
  --green-dark: #0a3d52;
  --teal: var(--ebaldia-secondary);
  --canvas: #fff;
  --line: #dce5ec;
  --mint: #eef5f9;
  --gold: var(--ebaldia-accent);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Segoe UI",Arial,sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  max-width: 100%;
}

a,summary {
  touch-action: manipulation;
}

a:focus-visible,summary:focus-visible {
  outline: 3px solid #aa6405;
  outline-offset: 5px;
  border-radius: 5px;
}

a:hover {
  text-decoration: none;
}

main:focus {
  outline: 0;
}

h1,h2,h3,p {
  margin-top: 0;
}

h1,h2,h3 {
  letter-spacing: -.04em;
  line-height: 1.13;
}

h2 {
  font-size: clamp(1.7rem,2.8vw,2.5rem);
  font-weight: 700;
}

h3 {
  font-size: 1.45rem;
}

p {
  color: var(--body);
}

.site-width {
  width: calc(100% - 112px);
  max-width: 1260px;
  margin-inline: auto;
}

.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  padding: 12px 20px;
  z-index: 20;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  top: 12px;
}

.government-bar {
  background: #0f5c78;
  border-bottom: 1px solid #0a3d52;
  font-size: 11px;
  letter-spacing: .035em;
  color: #fff;
}

.government-bar>.site-width {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.government-label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
}

.government-label .icon {
  width: 15px;
  height: 15px;
}

.government-service-label {
  font-size: 10px;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-shrink: 0;
}

.government-mark {
  width: 56px;
  height: 58px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 17px;
}

.brand-name {
  display: inline-block;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -1.6px;
  font-weight: 750;
  color: var(--ebaldia-primary);
}

.brand-name span {
  color: var(--ebaldia-accent);
}

.brand-tagline {
  font-size: 10px;
  color: var(--body);
  margin-top: 6px;
  letter-spacing: .025em;
}

.main-nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 13px 0;
}

.main-nav a[aria-current=page] {
  color: var(--green);
}

.main-nav a[aria-current=page]:after {
  content: "";
  position: absolute;
  bottom: 5px;
  height: 3px;
  inset-inline: 0;
  background: var(--green);
  border-radius: 2px;
}

.main-nav a:hover,.staff-link:hover {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 21px;
  font-size: 12px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 3px;
  background: white;
}

.language-switch a {
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.language-switch a[aria-current=true] {
  background: #eaf3f8;
  color: var(--ebaldia-primary);
  font-weight: 700;
}

.language-switch [lang=ur] {
  font-family: "Noto Nastaliq Urdu",serif;
  font-size: 11px;
}

.staff-link {
  display: flex;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
  font-weight: 600;
}

.staff-link .icon {
  width: 16px;
  height: 16px;
}

.session-strip {
  background: #fff3d8;
  font-size: 13px;
  border-bottom: 1px solid #ecd9ad;
}

.session-strip>.site-width,.session-strip>.site-width>div {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.session-strip>.site-width {
  padding-block: 11px;
}

.session-strip a {
  text-decoration: underline;
  font-weight: 600;
}

.home-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 18px;
  padding-block: 52px 48px;
  min-height: 534px;
}

.hero-copy {
  padding-block: 5px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .17em;
  margin-bottom: 19px;
  line-height: 1.7;
}

.eyebrow-line {
  width: 25px;
  height: 2px;
  background: var(--green);
}

h1 {
  font-size: clamp(3rem,5.2vw,4.55rem);
  font-weight: 750;
  letter-spacing: -.055em;
  margin-bottom: 23px;
  line-height: 1.07;
}

h1 span {
  color: var(--green);
}

.hero-intro {
  max-width: 440px;
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 14px 23px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
  border: 1px solid transparent;
  min-height: 50px;
  transition: background .2s,box-shadow .2s;
}

.button-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 5px 15px #0f5c7817;
}

.button-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 18px #0f5c782a;
}

.button .icon {
  width: 18px;
  height: 18px;
}

.button-outline {
  background: transparent;
  border-color: #9ebdcd;
  color: var(--green-dark);
}

.button-outline:hover {
  background: white;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-assurance {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #526e63;
  margin-top: 18px;
}

.hero-assurance .icon {
  width: 15px;
  height: 15px;
  stroke: var(--green);
  stroke-width: 2.2;
}

.hero-art {
  position: relative;
  margin-inline-end: -16px;
  min-width: 0;
}

.hero-art>img {
  width: 100%;
  height: auto;
}

.illustration-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10px;
  color: #58786b;
  margin-top: -10px;
}

.caption-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #38a37c;
}

.services-section {
  background: #f4f8f3;
  border-block: 1px solid #e6eee3;
  padding-block: 44px 48px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 27px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading>p {
  font-size: 12px;
  margin-bottom: 4px;
  max-width: 260px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 19px;
}

.service-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid #dbe8df;
  background: white;
  padding: 26px;
  display: flex;
  flex-direction: column;
  min-height: 276px;
  transition: box-shadow .2s,border-color .2s;
}

.service-card:hover {
  border-color: #b3d3c4;
  box-shadow: 0 9px 30px #2c665410;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #e3f4eb;
  color: #087655;
}

.service-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-category {
  font-size: 8px;
  letter-spacing: .1em;
  font-weight: 650;
  color: #527063;
  max-width: 140px;
}

.service-card h3 {
  font-size: 23px;
  letter-spacing: -.035em;
  margin-bottom: 12px;
}

.service-card>p {
  font-size: 12px;
  line-height: 1.8;
  max-width: 335px;
  margin-bottom: 24px;
}

.service-card-link {
  font-weight: 700;
  font-size: 12px;
  color: #076951;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  position: relative;
  z-index: 1;
  padding-block: 5px;
}

.service-card-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-card-link:after {
  content: "";
  position: absolute;
  inset: -230px -26px -26px;
}

.service-card-link .icon {
  width: 20px;
  height: 20px;
}

.service-housing {
  background: #edf7f5;
  border-color: #cee8e0;
}

.service-housing .service-icon {
  background: #d8eee7;
  color: #126d61;
}

.service-complaints {
  background: #fff9e9;
  border-color: #eee3c8;
}

.service-complaints .service-icon {
  background: #f8e6b8;
  color: #94681a;
}

.service-complaints .service-category {
  color: #796236;
}

.service-complaints .service-card-link {
  color: #775510;
}

.service-card-decoration {
  position: absolute;
  z-index: -1;
  width: 130px;
  height: 130px;
  border: 22px solid #e2ede580;
  bottom: -80px;
  inset-inline-end: -50px;
  border-radius: 50%;
}

.service-housing .service-card-decoration {
  border-color: #d9ece37a;
}

.service-complaints .service-card-decoration {
  border-color: #f1e4c77a;
}

.quick-services {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 70px;
  padding-block: 52px;
}

.quick-services .eyebrow {
  margin-bottom: 11px;
}

.quick-services h2 {
  font-size: 1.8rem;
  max-width: 330px;
}

.quick-links {
  display: flex;
  flex-direction: column;
}

.quick-links>a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding: 15px 3px;
}

.quick-links>a:first-child {
  padding-top: 0;
}

.quick-links>a:hover {
  color: var(--green);
}

.quick-links>a>.icon {
  color: var(--green);
  width: 20px;
  height: 20px;
}

.quick-links>a>.arrow {
  margin-inline-start: auto;
  width: 17px;
}

.help-banner {
  border: 1px solid #d9e8df;
  border-radius: 17px;
  background: #edf6ef;
  padding: 25px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 56px;
}

.help-banner-icon {
  background: white;
  border: 1px solid #ddece0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}

.help-banner h2 {
  font-size: 19px;
  letter-spacing: -.025em;
  margin-bottom: 6px;
}

.help-banner p {
  font-size: 12px;
  margin-bottom: 0;
  max-width: 650px;
}

.text-link {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.help-banner>.text-link {
  margin-inline-start: auto;
  flex-shrink: 0;
}

.text-link .icon {
  width: 18px;
  height: 18px;
}

.site-footer {
  background: #f5f8fa;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 50px;
  padding-block: 34px 28px;
}

.footer-about>.brand-name {
  font-size: 27px;
}

.footer-about>p {
  font-size: 11px;
  max-width: 310px;
  margin-block: 12px 16px;
}

.department-wordmark {
  width: 225px;
  height: 49px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.footer-main nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 5px;
  font-size: 12px;
}

.footer-main nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 17px;
  font-size: 10px;
  color: var(--body);
}

.page-masthead {
  padding-block: 24px 45px;
  background: #edf5f9;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 11px;
  color: #536e63;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-masthead .eyebrow {
  margin-bottom: 13px;
}

.page-masthead h1 {
  font-size: clamp(2.5rem,4vw,3.65rem);
  margin-bottom: 18px;
}

.page-intro {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 0;
}

.content-section {
  padding-block: 48px 55px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 25px;
}

.action-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 27px;
  background: white;
  transition: border-color .2s,box-shadow .2s;
}

.action-card:hover {
  border-color: #9ac7b3;
  box-shadow: 0 6px 20px #1c65410d;
}

.action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #e7f3eb;
  color: var(--green);
  margin-bottom: 23px;
}

.gold-icon {
  color: #8f6520;
  background: #fff0cb;
}

.blue-icon {
  color: #0c7281;
  background: #e3f2f4;
}

.action-card h3 {
  font-size: 21px;
}

.action-card p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.action-card>.text-link {
  margin-top: auto;
  font-size: 12px;
  justify-content: space-between;
}

.housing-masthead {
  background: #edf5f9;
}

.housing-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
}

.housing-title-row>div:first-child {
  max-width: 740px;
}

.authority-mark {
  text-align: center;
  min-width: 190px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 20px 0;
}

.authority-mark img {
  height: 113px;
  width: 121px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.authority-mark span {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  margin-top: 13px;
  color: #315f52;
}

.availability-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px 21px;
  margin-top: 30px;
  background: #fffdf3;
  border: 1px solid #e4dcbb;
  border-radius: 12px;
  max-width: 1000px;
}

.availability-note>.icon {
  color: #8a6c24;
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.availability-note p {
  font-size: 12px;
  margin: 0;
  line-height: 1.8;
  color: #665c3d;
}

.availability-note strong {
  font-weight: 700;
}

.journey-list {
  list-style: none;
  counter-reset: journey;
  margin: 35px 0 0;
  padding: 0;
  max-width: 1010px;
}

.journey-list>li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 24px;
  position: relative;
  padding-bottom: 33px;
}

.journey-list>li:last-child {
  padding-bottom: 0;
}

.journey-list>li:not(:last-child):before {
  content: "";
  position: absolute;
  inset-inline-start: 26px;
  top: 53px;
  bottom: 0;
  border-inline-start: 1px dashed #a6cdbb;
}

.step-number {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f4eb;
  color: var(--green);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.journey-list h3 {
  font-size: 21px;
  letter-spacing: -.025em;
  margin-block: 3px 10px;
}

.journey-list p {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 0;
  max-width: 860px;
}

.housing-checks {
  background: #f4f7ec;
  border-block: 1px solid #e4e9d8;
  padding-block: 42px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.two-column .eyebrow {
  margin-bottom: 15px;
}

.two-column h2 {
  font-size: 2.35rem;
  margin-bottom: 18px;
}

.two-column p {
  font-size: 13px;
  max-width: 420px;
  margin: 0;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 21px;
}

.check-list li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  font-size: 13px;
}

.check-list .icon {
  background: #deebd5;
  border-radius: 50%;
  padding: 4px;
  width: 26px;
  height: 26px;
  color: #367742;
}

.source-section {
  padding-block: 35px 45px;
}

.source-section h2 {
  font-size: 21px;
  letter-spacing: -.025em;
  margin-bottom: 10px;
}

.source-section p {
  font-size: 12px;
}

.source-link {
  display: inline-flex;
  gap: 15px;
  color: var(--green-dark);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.help-masthead {
  background: #fff6e5;
  border-color: #f1e4c9;
}

.help-layout {
  display: grid;
  grid-template-columns: .8fr 1.5fr;
  gap: 80px;
}

.help-sidebar-copy {
  font-size: 13px;
  max-width: 260px;
  line-height: 1.85;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 30px 22px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  list-style: none;
  line-height: 1.6;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--green);
  position: absolute;
  inset-inline-end: 2px;
  top: 17px;
}

.faq-list details[open] summary:after {
  content: "−";
}

.faq-list details>div {
  padding-bottom: 24px;
}

.faq-list details p {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 18px;
}

.faq-list .text-link {
  font-size: 12px;
}

/* Urdu uses the locally bundled font, logical spacing and readable line height. */

html[lang=ur] body {
  font-family: "Noto Nastaliq Urdu","Segoe UI",serif;
  font-size: 15px;
  line-height: 2.15;
}

html[lang=ur] h1,html[lang=ur] h2,html[lang=ur] h3 {
  letter-spacing: 0;
  line-height: 1.95;
}

html[lang=ur] h1 {
  font-size: clamp(2.3rem,3.3vw,3.25rem);
  line-height: 1.85;
}

html[lang=ur] h2 {
  font-size: 1.9rem;
}

html[lang=ur] .eyebrow,html[lang=ur] .service-category {
  letter-spacing: 0;
}

html[lang=ur] .government-bar {
  font-size: 10px;
}

html[lang=ur] .government-label {
  padding-block: 4px;
}

html[lang=ur] .brand-name {
  font-family: "Segoe UI",Arial,sans-serif;
}

html[lang=ur] .brand-tagline {
  line-height: 2.4;
  font-size: 10px;
  margin-top: 1px;
}

html[lang=ur] .main-nav,html[lang=ur] .header-actions {
  font-size: 11px;
}

html[lang=ur] .language-switch a {
  font-family: "Segoe UI",sans-serif;
}

html[lang=ur] .language-switch [lang=ur] {
  font-family: "Noto Nastaliq Urdu",serif;
}

html[lang=ur] .hero-intro {
  font-size: 14px;
  line-height: 2.4;
}

html[lang=ur] .hero-assurance {
  line-height: 2.2;
}

html[lang=ur] .home-hero {
  padding-block: 42px;
}

html[lang=ur] .hero-art {
  margin-inline-end: -10px;
}

html[lang=ur] .hero-art>img {
  transform: scaleX(-1);
}

html[lang=ur] .button {
  font-size: 12px;
  line-height: 2;
  gap: 20px;
}

html[lang=ur] .icon:has(use[href="#icon-arrow"]) {
  transform: rotate(180deg);
}

html[lang=ur] .section-heading>p {
  line-height: 2.2;
}

html[lang=ur] .service-card {
  padding: 25px;
}

html[lang=ur] .service-card h3 {
  font-size: 21px;
}

html[lang=ur] .service-card>p {
  font-size: 12px;
  line-height: 2.4;
}

html[lang=ur] .service-category {
  font-size: 9px;
  line-height: 2.2;
}

html[lang=ur] .service-card-link {
  font-size: 11px;
  line-height: 2.4;
}

html[lang=ur] .quick-links>a {
  padding-block: 16px;
  font-size: 12px;
}

html[lang=ur] .help-banner h2 {
  font-size: 17px;
}

html[lang=ur] .help-banner p {
  font-size: 11px;
  line-height: 2.3;
}

html[lang=ur] .help-banner>.text-link {
  font-size: 11px;
}

html[lang=ur] .department-wordmark {
  object-position: right center;
}

html[lang=ur] .footer-main nav {
  font-size: 11px;
  gap: 16px;
}

html[lang=ur] .footer-about>p {
  font-size: 10px;
  line-height: 2.5;
}

html[lang=ur] .page-masthead h1 {
  font-size: 2.8rem;
}

html[lang=ur] .page-intro {
  font-size: 14px;
  line-height: 2.5;
}

html[lang=ur] .availability-note p {
  font-size: 12px;
  line-height: 2.5;
}

html[lang=ur] .action-card h3 {
  font-size: 20px;
}

html[lang=ur] .action-card p {
  font-size: 12px;
  line-height: 2.5;
}

html[lang=ur] .action-card>.text-link {
  font-size: 11px;
}

html[lang=ur] .journey-list h3 {
  font-size: 21px;
}

html[lang=ur] .journey-list p {
  font-size: 12px;
  line-height: 2.5;
}

html[lang=ur] .step-number {
  font-family: "Segoe UI",sans-serif;
}

html[lang=ur] .faq-list summary {
  padding: 23px 0 23px 30px;
  font-size: 13px;
  line-height: 2.2;
}

html[lang=ur] .faq-list details p {
  font-size: 12px;
  line-height: 2.5;
}

html[lang=ur] .authority-mark span {
  font-size: 10px;
  max-width: 180px;
  line-height: 2.5;
}

@media (min-width:1440px) {
  .home-hero {
    padding-block: 60px;
  }

  .hero-art {
    margin-inline-end: -24px;
  }

  .service-card {
    padding: 30px;
  }

  .service-card>p {
    font-size: 13px;
  }

}

@media (max-width:1100px) {
  .site-width {
    width: calc(100% - 64px);
  }

  .main-nav {
    gap: 20px;
  }

  .header-inner {
    gap: 16px;
  }

  .header-actions {
    gap: 14px;
  }

  .brand {
    gap: 12px;
  }

  .brand-copy {
    padding-inline-start: 12px;
  }

  .brand-name {
    font-size: 28px;
  }

  .brand-tagline {
    font-size: 9px;
  }

  .government-mark {
    width: 48px;
    height: 51px;
  }

  .home-hero {
    padding-block: 36px;
    min-height: auto;
  }

  .hero-intro {
    font-size: 14px;
  }

  .hero-assurance {
    font-size: 9px;
  }

  .service-card {
    padding: 22px;
  }

  .service-card h3 {
    font-size: 21px;
  }

  .service-category {
    font-size: 7px;
  }

  .service-icon {
    width: 43px;
    height: 43px;
  }

  .service-card-top {
    gap: 8px;
  }

  .service-card-link {
    font-size: 11px;
  }

  .quick-services {
    gap: 40px;
  }

  .help-banner {
    padding: 23px;
    gap: 16px;
  }

  .help-banner>.text-link {
    font-size: 11px;
  }

  .two-column {
    gap: 55px;
  }

  .help-layout {
    gap: 45px;
  }

  .action-card {
    padding: 22px;
  }

  .action-card h3 {
    font-size: 19px;
  }

}

@media (max-width:860px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 16px;
    row-gap: 8px;
    min-height: 110px;
  }

  .brand {
    flex: 1;
  }

  .header-actions {
    margin-inline-start: auto;
  }

  .main-nav {
    order: 3;
    width: 100%;
    border-top: 1px solid #e8ece4;
    padding-top: 2px;
    justify-content: center;
    gap: 35px;
    font-size: 12px;
  }

  .main-nav a {
    padding-block: 9px;
  }

  .main-nav a[aria-current=page]:after {
    bottom: 1px;
  }

  .government-service-label {
    display: none;
  }

  .home-hero {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding-block: 36px;
  }

  .home-hero h1 {
    font-size: clamp(2.5rem,5.7vw,3.5rem);
  }

  .hero-intro {
    font-size: 13px;
    line-height: 1.8;
  }

  .hero-assurance {
    max-width: 230px;
    align-items: flex-start;
    font-size: 9px;
  }

  .hero-art {
    margin-inline-end: -10px;
  }

  .illustration-caption {
    font-size: 8px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: .13em;
  }

  .service-grid {
    gap: 14px;
  }

  .service-card {
    padding: 18px;
    min-height: 280px;
  }

  .service-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .service-category {
    font-size: 7px;
    max-width: none;
  }

  .service-card h3 {
    font-size: 20px;
  }

  .service-card>p {
    font-size: 11px;
  }

  .service-card-link {
    font-size: 10px;
    align-items: flex-end;
  }

  .service-card-link .icon {
    width: 17px;
    height: 17px;
  }

  .section-heading>p {
    max-width: 180px;
    font-size: 11px;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }

  .quick-services {
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
  }

  .quick-services h2 {
    font-size: 1.65rem;
  }

  .help-banner {
    flex-wrap: wrap;
  }

  .help-banner>div:nth-child(2) {
    flex: 1;
  }

  .help-banner>.text-link {
    margin-inline-start: 64px;
  }

  .footer-main {
    gap: 25px;
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .action-grid {
    gap: 15px;
  }

  .action-card {
    padding: 19px;
  }

  .action-card h3 {
    font-size: 18px;
  }

  .action-card p {
    font-size: 12px;
  }

  .action-card>.text-link {
    font-size: 11px;
    gap: 5px;
  }

  .housing-title-row {
    gap: 25px;
  }

  .authority-mark {
    min-width: 150px;
  }

  .authority-mark img {
    width: 100px;
    height: 95px;
  }

  .authority-mark span {
    font-size: 10px;
  }

  .housing-title-row h1 {
    font-size: 2.7rem;
  }

  .two-column {
    gap: 35px;
  }

  .two-column h2 {
    font-size: 2rem;
  }

  .help-layout {
    grid-template-columns: .7fr 1.4fr;
    gap: 35px;
  }

  html[lang=ur] .home-hero h1 {
    font-size: 2rem;
  }

  html[lang=ur] .hero-intro {
    font-size: 12px;
  }

  html[lang=ur] .service-card h3 {
    font-size: 18px;
  }

  html[lang=ur] .service-card>p {
    font-size: 11px;
  }

  html[lang=ur] .section-heading h2 {
    font-size: 1.6rem;
  }

  html[lang=ur] .page-masthead h1 {
    font-size: 2.2rem;
  }

}

@media (max-width:600px) {
  .site-width {
    width: calc(100% - 36px);
  }

  .government-bar>.site-width {
    min-height: 31px;
  }

  .government-bar {
    font-size: 9px;
  }

  .header-inner {
    padding-block: 13px 4px;
  }

  .brand {
    gap: 9px;
  }

  .government-mark {
    width: 39px;
    height: 42px;
  }

  .brand-copy {
    padding-inline-start: 10px;
  }

  .brand-name {
    font-size: 25px;
  }

  .brand-tagline {
    font-size: 7px;
    letter-spacing: 0;
  }

  .header-actions {
    gap: 10px;
  }

  .staff-link {
    font-size: 10px;
  }

  .staff-link .icon {
    display: none;
  }

  .language-switch {
    padding: 2px;
    gap: 2px;
  }

  .language-switch a {
    min-width: 25px;
    min-height: 29px;
    font-size: 10px;
  }

  .language-switch [lang=ur] {
    font-size: 9px;
  }

  .main-nav {
    font-size: 11px;
    gap: 40px;
    margin-top: 6px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    padding-block: 31px 29px;
    gap: 7px;
  }

  .hero-copy {
    text-align: center;
    padding: 0;
  }

  .hero-copy .eyebrow {
    justify-content: center;
    font-size: 8px;
    margin-bottom: 15px;
  }

  .home-hero h1 {
    font-size: 3.3rem;
    line-height: 1.08;
    margin-bottom: 17px;
  }

  .hero-intro {
    font-size: 13px;
    max-width: 340px;
    margin-inline: auto;
    margin-bottom: 21px;
    line-height: 1.8;
  }

  .hero-assurance {
    justify-content: center;
    max-width: none;
    font-size: 9px;
    margin-top: 14px;
  }

  .button {
    font-size: 12px;
    min-height: 47px;
    padding: 12px 20px;
  }

  .hero-art {
    margin: 0 auto;
    max-width: 380px;
    width: 100%;
  }

  .hero-art>img {
    max-height: 297px;
    width: 100%;
    object-fit: contain;
  }

  .illustration-caption {
    font-size: 8px;
    margin-top: -5px;
  }

  .services-section {
    padding-block: 29px 32px;
  }

  .section-heading {
    display: block;
    margin-bottom: 20px;
  }

  .section-heading .eyebrow {
    font-size: 8px;
    margin-bottom: 9px;
  }

  .section-heading h2 {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .section-heading>p {
    font-size: 11px;
    max-width: none;
    margin-block: 10px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    padding: 23px;
    min-height: 240px;
    border-radius: 18px;
  }

  .service-card-top {
    flex-direction: row;
    align-items: center;
    margin-bottom: 17px;
  }

  .service-category {
    font-size: 8px;
  }

  .service-icon {
    width: 45px;
    height: 45px;
  }

  .service-card h3 {
    font-size: 23px;
    margin-bottom: 10px;
  }

  .service-card>p {
    font-size: 12px;
    max-width: none;
    margin-bottom: 20px;
  }

  .service-card-link {
    font-size: 12px;
  }

  .service-card-link:after {
    inset: -200px -23px -23px;
  }

  .quick-services {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-block: 33px;
  }

  .quick-services .eyebrow {
    font-size: 8px;
  }

  .quick-services h2 {
    font-size: 1.7rem;
    max-width: 270px;
    margin-bottom: 0;
  }

  .quick-links>a {
    font-size: 12px;
    padding-block: 17px;
  }

  .quick-links>a:first-child {
    padding-top: 10px;
  }

  .help-banner {
    padding: 22px 19px;
    gap: 13px;
    margin-bottom: 34px;
    border-radius: 15px;
  }

  .help-banner-icon {
    width: 38px;
    height: 38px;
    align-self: flex-start;
  }

  .help-banner h2 {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .help-banner p {
    font-size: 11px;
    line-height: 1.8;
  }

  .help-banner>.text-link {
    margin-inline-start: 51px;
    font-size: 11px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding-block: 28px;
  }

  .footer-about {
    grid-column: 1/-1;
  }

  .footer-about>p {
    font-size: 11px;
    max-width: 340px;
  }

  .footer-main nav {
    font-size: 11px;
    gap: 14px;
  }

  .department-wordmark {
    width: 210px;
    height: 46px;
  }

  .footer-bottom {
    font-size: 8px;
    gap: 15px;
    align-items: flex-start;
  }

  .footer-bottom span:last-child {
    text-align: end;
  }

  .page-masthead {
    padding-block: 19px 28px;
  }

  .breadcrumbs {
    font-size: 10px;
    margin-bottom: 23px;
    gap: 8px;
  }

  .page-masthead .eyebrow {
    font-size: 8px;
    margin-bottom: 15px;
  }

  .page-masthead h1 {
    font-size: 2.7rem;
    line-height: 1.12;
  }

  .page-intro {
    font-size: 13px;
    line-height: 1.85;
  }

  .button-row {
    gap: 10px;
  }

  .button-row .button {
    font-size: 11px;
    gap: 15px;
  }

  .content-section {
    padding-block: 32px 37px;
  }

  .action-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .action-card {
    padding: 24px;
  }

  .action-icon {
    margin-bottom: 17px;
  }

  .action-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .action-card p {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .action-card>.text-link {
    font-size: 12px;
  }

  .housing-title-row {
    display: block;
  }

  .authority-mark {
    align-items: center;
    flex-direction: row;
    gap: 14px;
    text-align: start;
    min-width: 0;
    padding: 23px 0 0;
  }

  .authority-mark img {
    width: 65px;
    height: 62px;
  }

  .authority-mark span {
    font-size: 10px;
    margin: 0;
  }

  .authority-mark span br {
    display: none;
  }

  .authority-mark span {
    max-width: 210px;
  }

  .availability-note {
    padding: 15px;
    gap: 10px;
    margin-top: 24px;
  }

  .availability-note p {
    font-size: 11px;
  }

  .journey-list {
    margin-top: 28px;
  }

  .journey-list>li {
    grid-template-columns: 40px 1fr;
    gap: 15px;
    padding-bottom: 27px;
  }

  .step-number {
    height: 39px;
    width: 39px;
    border-radius: 11px;
    font-size: 13px;
  }

  .journey-list>li:not(:last-child):before {
    inset-inline-start: 19px;
    top: 41px;
  }

  .journey-list h3 {
    font-size: 19px;
    margin-top: 0;
    line-height: 1.3;
  }

  .journey-list p {
    font-size: 12px;
    line-height: 1.9;
  }

  .housing-checks {
    padding-block: 30px;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .two-column h2 {
    font-size: 2rem;
  }

  .two-column h2 br {
    display: none;
  }

  .two-column .eyebrow {
    font-size: 8px;
  }

  .two-column p {
    font-size: 12px;
  }

  .check-list {
    gap: 20px;
  }

  .check-list li {
    font-size: 12px;
    gap: 12px;
  }

  .source-section {
    padding-block: 28px 35px;
  }

  .source-section h2 {
    font-size: 20px;
  }

  .source-section p,.source-link {
    font-size: 11px;
  }

  .help-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .help-layout h2 br {
    display: none;
  }

  .help-sidebar-copy {
    max-width: none;
    font-size: 12px;
  }

  .faq-list summary {
    font-size: 13px;
    padding-block: 20px;
  }

  .faq-list details p {
    font-size: 12px;
  }

  .faq-list .text-link {
    font-size: 11px;
  }

  .session-strip>.site-width {
    align-items: flex-start;
    gap: 3px;
    flex-direction: column;
    padding-block: 10px;
    font-size: 11px;
  }

  .session-strip>.site-width>div {
    gap: 17px;
    flex-wrap: wrap;
  }

  html[lang=ur] .home-hero {
    padding-block: 25px;
  }

  html[lang=ur] .home-hero h1 {
    font-size: 2.35rem;
    line-height: 1.9;
  }

  html[lang=ur] .hero-intro {
    font-size: 12px;
    line-height: 2.6;
  }

  html[lang=ur] .hero-art {
    margin: 0 auto;
  }

  html[lang=ur] .main-nav,html[lang=ur] .header-actions {
    font-size: 9px;
  }

  html[lang=ur] .brand-tagline {
    font-size: 7px;
  }

  html[lang=ur] .brand-name {
    font-size: 24px;
  }

  html[lang=ur] .section-heading h2 {
    font-size: 1.6rem;
    line-height: 2;
  }

  html[lang=ur] .service-card h3 {
    font-size: 21px;
  }

  html[lang=ur] .service-card>p {
    font-size: 12px;
  }

  html[lang=ur] .quick-services h2 {
    font-size: 1.6rem;
    max-width: none;
  }

  html[lang=ur] .help-banner h2 {
    font-size: 15px;
  }

  html[lang=ur] .page-masthead h1 {
    font-size: 2rem;
    line-height: 2;
  }

  html[lang=ur] .page-intro {
    font-size: 12px;
  }

  html[lang=ur] .journey-list h3 {
    font-size: 18px;
  }

  html[lang=ur] .journey-list p {
    font-size: 11px;
  }

  html[lang=ur] .availability-note p {
    font-size: 11px;
  }

  html[lang=ur] .source-section h2 {
    font-size: 19px;
  }

  html[lang=ur] .footer-bottom {
    font-size: 7px;
    line-height: 2.5;
  }

}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }

}

@media print {
  .government-bar,.header-actions,.main-nav,.hero-art,.site-footer,.button-row,.help-banner,.session-strip {
    display: none;
  }

  .site-width {
    width: 100%;
  }

  .site-header {
    border-bottom: 1px solid #bbb;
  }

  .header-inner {
    min-height: 80px;
  }

  .home-hero,.content-section {
    padding-block: 20px;
  }

  .home-hero {
    grid-template-columns: 1fr;
  }

  .service-grid,.action-grid {
    grid-template-columns: 1fr;
  }

  .service-card,.action-card,.journey-list>li {
    break-inside: avoid;
  }

  .page-masthead {
    background: white;
  }

  body {
    font-size: 12px;
  }

  .faq-list details>div {
    display: block;
  }

  .faq-list summary:after {
    display: none;
  }

}

/* Keep public-facing copy readable and service choices close to the first fold. */

.hero-intro {
  font-size: 16px;
}

.hero-assurance {
  font-size: 12px;
}

.illustration-caption {
  font-size: 11px;
}

.service-card>p {
  font-size: 14px;
  line-height: 1.8;
}

.service-card-link {
  font-size: 14px;
}

.service-category {
  font-size: 10px;
  line-height: 1.6;
}

.quick-links>a {
  font-size: 14px;
}

.help-banner p {
  font-size: 14px;
}

.footer-about>p {
  font-size: 12px;
}

.footer-main nav {
  font-size: 13px;
}

.action-card p,.journey-list p,.availability-note p,.check-list li,.faq-list details p {
  font-size: 14px;
  line-height: 1.85;
}

@media (min-width:1101px) {
  .home-hero {
    min-height: 500px;
    padding-block: 36px;
  }

  .hero-art>img {
    max-height: 420px;
    object-fit: contain;
  }

  .main-nav,.staff-link {
    font-size: 14px;
  }

}

@media (max-width:600px) {
  .hero-intro {
    font-size: 14px;
  }

  .hero-assurance {
    font-size: 11px;
  }

  .illustration-caption {
    font-size: 10px;
  }

  .staff-link {
    font-size: 12px;
  }

  .main-nav {
    font-size: 12px;
  }

  .service-card>p,.service-card-link {
    font-size: 14px;
  }

  .service-category {
    font-size: 10px;
  }

  .quick-links>a {
    font-size: 14px;
  }

  .help-banner p {
    font-size: 13px;
  }

  .page-intro {
    font-size: 14px;
  }

  .action-card p,.journey-list p,.availability-note p,.check-list li,.faq-list details p {
    font-size: 14px;
  }

}

html[lang=ur] .hero-intro,html[lang=ur] .service-card>p,html[lang=ur] .page-intro,html[lang=ur] .action-card p,html[lang=ur] .journey-list p,html[lang=ur] .availability-note p,html[lang=ur] .faq-list details p {
  font-size: 14px;
  line-height: 2.5;
}

html[lang=ur] .service-card-link,html[lang=ur] .quick-links>a,html[lang=ur] .help-banner p {
  font-size: 13px;
}
/* Several independent workspaces may be active in the same browser. */
.session-strip>.site-width>div{flex-wrap:wrap;justify-content:flex-end;row-gap:5px}
@media(max-width:600px){.session-strip>.site-width>div{justify-content:flex-start}}

/* Keep public service choices balanced when a restricted module is hidden. */
.service-grid.service-grid-limited{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.service-grid.service-grid-limited{grid-template-columns:1fr}}


/* The home page is an account chooser, with public lookups kept secondary. */
.entry-home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.entry-home .header-inner {
  min-height: 98px;
}

.entry-home .brand-tagline {
  font-size: 11px;
}

.entry-home .header-actions {
  gap: 24px;
}

.entry-help {
  color: var(--ebaldia-primary);
  font-size: 14px;
  font-weight: 650;
  padding-block: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.entry-home main {
  flex: 1;
}

.entry-section {
  padding-block: 42px 34px;
}

.entry-intro {
  margin-bottom: 29px;
}

.entry-intro .eyebrow {
  font-size: 11px;
  letter-spacing: .12em;
  margin-bottom: 12px;
}

.entry-intro h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  letter-spacing: -.035em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.entry-intro > p:last-child {
  font-size: 17px;
  margin-bottom: 0;
}

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

.entry-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 780px;
}

.entry-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 3px solid var(--ebaldia-primary);
  border-radius: 13px;
  padding: 23px 21px 19px;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 4px 18px #15334406;
}

.entry-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ebaldia-primary);
  background: #eef5f9;
  border-radius: 12px;
  margin-bottom: 19px;
}

.entry-icon .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.65;
}

.entry-authority-icon {
  background: #fff;
  border: 1px solid var(--line);
}

.entry-authority-icon img {
  object-fit: contain;
  width: 46px;
  height: 46px;
}

.entry-card h2 {
  font-size: 22px;
  letter-spacing: -.025em;
  line-height: 1.25;
  min-height: 55px;
  margin-bottom: 11px;
}

.entry-card > p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 23px;
}

.entry-actions {
  margin-top: auto;
  min-height: 100px;
}

.entry-actions .button {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border-radius: 7px;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  text-align: start;
  box-shadow: none;
}

.entry-register {
  display: inline-block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ebaldia-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-block: 12px 0;
}

.entry-register:hover {
  text-decoration: underline;
  color: var(--green-dark);
}

.entry-public-links {
  margin-top: 28px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 13px;
}

.entry-public-links > span {
  color: var(--body);
}

.entry-public-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ebaldia-primary);
  font-weight: 600;
  padding-block: 7px;
}

.entry-public-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.entry-public-links .icon {
  width: 19px;
  height: 19px;
}

.entry-footer {
  border-top: 1px solid var(--line);
  background: #f7f9fb;
}

.entry-footer > .site-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 18px;
}

.entry-footer p {
  font-size: 12px;
  margin: 0;
}

html[lang=ur] .entry-intro h1 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1.9;
}

html[lang=ur] .entry-intro .eyebrow {
  line-height: 2;
  letter-spacing: 0;
}

html[lang=ur] .entry-card h2 {
  font-size: 19px;
  line-height: 2.1;
  min-height: 80px;
}

html[lang=ur] .entry-card > p {
  font-size: 13px;
  line-height: 2.3;
}

html[lang=ur] .entry-actions .button {
  font-size: 12px;
  line-height: 2.2;
}

html[lang=ur] .entry-register,
html[lang=ur] .entry-public-links {
  line-height: 2.2;
}

@media (max-width: 1100px) {
  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-home .header-inner {
    flex-wrap: nowrap;
  }

  .entry-card h2 {
    min-height: 0;
  }

  .entry-actions {
    min-height: 92px;
  }
}

@media (max-width: 600px) {
  .entry-home .header-inner {
    min-height: 88px;
    padding-block: 13px;
    gap: 12px;
  }

  .entry-home .government-service-label {
    display: none;
  }

  .entry-home .header-actions {
    gap: 10px;
  }

  .entry-home .brand-tagline {
    font-size: 8px;
  }

  .entry-home .entry-help {
    font-size: 12px;
  }

  .entry-section {
    padding-block: 28px;
  }

  .entry-intro {
    margin-bottom: 24px;
  }

  .entry-intro .eyebrow {
    font-size: 10px;
  }

  .entry-intro > p:last-child {
    font-size: 15px;
  }

  .entry-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .entry-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
    padding: 20px 18px 17px;
  }

  .entry-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    grid-row: span 2;
    margin: 0;
  }

  .entry-icon .icon {
    width: 27px;
    height: 27px;
  }

  .entry-authority-icon img {
    width: 38px;
    height: 38px;
  }

  .entry-card h2 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .entry-card > p {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .entry-actions {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .entry-actions .button {
    font-size: 14px;
  }

  .entry-register {
    font-size: 13px;
    padding-block: 11px 0;
  }

  .entry-public-links {
    gap: 2px 20px;
    padding-top: 20px;
    margin-top: 24px;
  }

  .entry-public-links > span {
    flex-basis: 100%;
    margin-bottom: 7px;
  }

  .entry-footer > .site-width {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-block: 20px;
  }

  .entry-footer p {
    font-size: 11px;
  }

  html[lang=ur] .entry-card h2 {
    min-height: 0;
    font-size: 17px;
  }

  html[lang=ur] .entry-card > p {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .entry-home .brand-name {
    font-size: 22px;
  }

  .entry-home .brand-tagline {
    display: none;
  }

  .entry-home .header-actions {
    gap: 8px;
  }
}
