/* Page-only styling: the homepage remains the design authority. */
.government-page .site-header { color: var(--portal-navy); padding-bottom: 32px; }
.government-page .brand-header img:last-child { filter: brightness(0) saturate(100%) invert(17%) sepia(20%) saturate(1353%) hue-rotate(182deg) brightness(98%) contrast(90%); }
.government-page .language-switch { background: var(--portal-navy); }
.government-intro { padding-top: 28px; padding-bottom: 72px; }
.government-breadcrumbs .breadcrumb { --bs-breadcrumb-divider: '—'; margin: 0 0 32px; font-size: 14px; color: var(--portal-navy); }
.government-breadcrumbs .active { color: #66776f; }
.government-breadcrumbs a:hover { text-decoration: underline; }
.government-heading { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: end; gap: 32px; margin-bottom: 40px; }
.government-heading h1 { margin: 0; font-size: 64px; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.government-heading p { max-width: 440px; margin: 0 0 4px; font-size: 20px; line-height: 1.5; }
.government-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 1fr; gap: 24px; }
.government-card { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); padding: 12px; border-radius: 32px; background: var(--portal-pale); min-width: 0; }
.government-portrait { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: 77% center; border-radius: 24px; }
.government-portrait.government-portrait--khakimov { object-position: 74% center; }
.government-portrait.government-portrait--tryalin { object-position: 60% center; }
.government-portrait.government-portrait--matyukin { object-position: 50% center; }
.government-portrait.government-portrait--lisin { object-position: 50% 15%; }
.government-portrait-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 300px; padding: 24px; border-radius: 24px; background: #e7eeeb; text-align: center; color: #78877f; font-size: 13px; line-height: 1.5; }
.government-portrait-placeholder img { filter: grayscale(1); opacity: .5; }
.government-card-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 16px 12px 12px 24px; }
.government-card h2 { margin: 0 0 10px; font-size: 23px; line-height: 1.25; font-weight: 600; color: var(--portal-navy); text-transform: none; }
.government-role { margin: 0; font-size: 13px; line-height: 1.5; color: #596f64; }
.government-card blockquote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0; font-size: 15px; line-height: 1.6; color: var(--portal-navy); }
.government-read-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: -12px; padding: 6px 0; border: 0; background: transparent; color: var(--portal-green-dark); font: inherit; font-size: 15px; font-weight: 500; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
.government-read-more:hover { color: var(--portal-navy); }
.government-read-more:focus-visible { outline: 2px solid var(--portal-green-dark); outline-offset: 4px; border-radius: 4px; }
.government-quote-modal .modal-title { font-size: clamp(22px,2vw,28px); line-height: 1.3; color: var(--portal-navy); }
.government-quote-modal .government-role { margin-bottom: 24px; font-size: 15px; }
.government-quote-modal blockquote { margin: 0; font-size: 18px; line-height: 1.65; color: var(--portal-navy); }
.government-contact { display: flex; flex-direction: column; gap: 4px; margin: auto 0 0; padding-top: 16px; border-top: 1px solid #dce9e1; font-style: normal; }
/* Without a quote, keep the identity and contact details as one centred group. */
.government-card--without-quote .government-card-copy { justify-content: center; }
.government-card--without-quote .government-contact { margin-top: 0; }
.government-contact a { display: flex; align-items: center; gap: 10px; min-height: 36px; color: var(--portal-navy); font-size: 15px; line-height: 1.4; }
.government-contact svg { width: 20px; height: 20px; flex: 0 0 20px; }
.government-contact a:hover { color: var(--portal-green-dark); }
.government-contact a:focus-visible { outline: 2px solid var(--portal-green-dark); outline-offset: 4px; border-radius: 4px; }
.government-page main { padding-bottom: 140px; }
@media (min-width:1700px) {
  .government-card-copy { padding: 24px 20px 20px 32px; gap: 20px; }
  .government-card h2 { font-size: 28px; }
  .government-card blockquote { font-size: 18px; }
  .government-role, .government-contact a { font-size: 16px; }
  .government-portrait { min-height: 400px; }
}
@media (max-width:1699.98px) { .government-page main { padding-bottom: 110px; } }
@media (min-width:768px) and (max-width:1199.98px) {
  .government-grid { grid-template-columns: 1fr; }
  .government-card { grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); }
  .government-card-copy { padding: 24px 20px 20px 28px; }
  .government-card h2 { font-size: 26px; }
  .government-card blockquote { font-size: 17px; }
}
@media (max-width:767.98px) {
  .government-page .site-header { padding-bottom: 20px; }
  .government-intro { padding-top: 16px; padding-bottom: 40px; }
  .government-breadcrumbs .breadcrumb { margin-bottom: 24px; }
  .government-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  .government-heading h1 { font-size: 40px; }
  .government-heading p { font-size: 17px; }
  .government-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 24px; }
  .government-card { grid-template-columns: 1fr; padding: 10px; border-radius: 28px; }
  .government-quote-modal blockquote { font-size: 16px; }
  .government-portrait-placeholder { min-height: 200px; border-radius: 20px; }
  .government-portrait { min-height: 0; height: auto; aspect-ratio: 1.15; object-position: 79% center; border-radius: 20px; }
  .government-card-copy { padding: 20px 12px 14px; gap: 20px; }
  .government-card h2 { font-size: 23px; }
  .government-role { font-size: 14px; }
  .government-contact a { min-height: 44px; font-size: 16px; }
  .government-page main { padding-bottom: 60px; }
}
