/*
Theme Name: PRO KRUMLOV Modern Final
Theme URI: https://www.prokrumlov.cz/
Author: PRO KRUMLOV
Description: Vlastní responzivní šablona PRO KRUMLOV pro komunální volby 2026.
Version: 3.0.3
Text Domain: prokrumlov-modern
*/

:root {
  --navy: #082955;
  --navy-dark: #041d40;
  --navy-soft: #173b68;
  --blue: #0a4e91;
  --green: #55b748;
  --green-dark: #2d8e35;
  --yellow: #ffd400;
  --ink: #082955;
  --body: #25364a;
  --paper: #f4f6f1;
  --white: #ffffff;
  --line: #dfe5de;
  --shadow: 0 18px 48px rgba(8, 41, 85, 0.12);
  --radius: 0;
  --shell: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

body.nav-is-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
.button,
.eyebrow,
.site-nav a {
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h1 em,
h2 em {
  color: var(--green);
  font-style: normal;
}

.section-shell,
.site-header__inner,
.site-footer__inner,
.page-hero__inner,
.content-main {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.screen-reader-text,
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--navy);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(8, 41, 85, 0.08);
  transition: box-shadow 180ms ease;
}

.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(8, 41, 85, 0.12);
}

.site-header__inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 32px;
}

.site-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand-logo-svg {
  width: clamp(168px, 15vw, 220px);
  max-height: 68px;
  object-fit: contain;
}

.brand-fallback-logo {
  color: var(--navy);
  font-weight: 900;
}

.brand-fallback-logo span {
  color: var(--green);
  margin-right: 4px;
}

.site-nav {
  margin-left: auto;
}

.site-nav .menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green-dark);
}

.nav-check,
.nav-toggle {
  display: none;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow--yellow {
  color: var(--yellow);
}

.eyebrow--green {
  color: #6bd35d;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid transparent;
  background: transparent;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.button--primary:hover,
.button--primary:focus-visible {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: var(--white);
}

.button--secondary,
.button--ghost {
  border-color: var(--navy);
  color: var(--navy);
}

.button--secondary:hover,
.button--secondary:focus-visible,
.button--ghost:hover,
.button--ghost:focus-visible {
  background: var(--navy);
  color: var(--white);
}

.button--light {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

.button--light:hover,
.button--light:focus-visible {
  border-color: var(--green);
  background: var(--green);
  color: var(--navy-dark);
}

.home-hero {
  position: relative;
  min-height: clamp(550px, 66vh, 730px);
  overflow: hidden;
  background: var(--navy-dark);
}

.home-hero__image,
.home-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__image {
  object-fit: cover;
  object-position: right center;
}

.home-hero__shade {
  background:
    linear-gradient(90deg, rgba(4, 29, 64, 0.92) 0%, rgba(4, 29, 64, 0.66) 42%, rgba(4, 29, 64, 0.08) 78%),
    linear-gradient(0deg, rgba(4, 29, 64, 0.28), transparent 48%);
}

.home-hero__content {
  position: relative;
  display: flex;
  width: min(100%, var(--shell));
  min-height: clamp(550px, 66vh, 730px);
  flex-direction: column;
  justify-content: center;
  margin-inline: auto;
  padding: 60px var(--gutter) 132px;
}

.home-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(48px, 5.6vw, 82px);
  line-height: 0.93;
  text-transform: uppercase;
}

.home-hero h1 span {
  display: block;
}

.home-hero h1 em {
  color: var(--green);
}

.home-hero__slogan {
  position: absolute;
  left: var(--gutter);
  bottom: 42px;
  max-width: min(700px, calc(100% - (2 * var(--gutter))));
  margin: 0;
  padding: 13px 20px;
  border: 3px solid #1479c9;
  background: rgba(4, 29, 64, 0.8);
  color: var(--white);
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.15;
}

.intro-section,
.priorities-section,
.candidates-section,
.contact-content,
.important-links-section,
.page-editor-section,
.news-section,
.principles-section,
.semafor-section {
  padding-top: clamp(68px, 8vw, 112px);
  padding-bottom: clamp(68px, 8vw, 112px);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: start;
}

.section-heading h2,
.intro-section h2 {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(34px, 3.5vw, 52px);
}

.section-heading--center {
  max-width: 860px;
  margin: 0 auto clamp(38px, 5vw, 64px);
  text-align: center;
}

.section-heading--light h2 {
  color: var(--white);
}

.intro-copy p {
  margin-bottom: 0;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.65;
}

.work-section {
  padding: clamp(68px, 7vw, 100px) 0;
  background: var(--navy-dark);
}

.work-section .section-heading {
  margin-bottom: 40px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.work-card {
  display: flex;
  min-width: 0;
  min-height: 390px;
  flex-direction: column;
  padding: 25px 18px 28px;
  border-top: 5px solid var(--green);
  background: var(--navy-soft);
  color: var(--white);
}

.work-card__number,
.priority-grid article > span,
.principles-grid article > span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  border-radius: 50%;
  background: var(--green);
  color: var(--navy-dark);
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: 17px;
}

.work-card h3 {
  margin-bottom: 17px;
  color: var(--white);
  font-size: clamp(18px, 1.25vw, 21px);
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.work-card__line {
  display: block;
}

.work-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.55;
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.priority-grid article {
  min-height: 330px;
  padding: 30px 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(8, 41, 85, 0.06);
}

.priority-grid article > span {
  margin-bottom: 30px;
}

.priority-grid h3 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(19px, 1.45vw, 24px);
}

.priority-grid p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.55;
}

.section-action {
  margin-top: 36px;
  text-align: center;
}

.semafor-section {
  padding-top: 0;
}

.semafor-panel {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  min-height: 480px;
  overflow: hidden;
  background: var(--navy-dark);
  color: var(--white);
}

.semafor-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 72px);
}

.semafor-copy h2 {
  max-width: 500px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(34px, 3.8vw, 54px);
}

.semafor-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.semafor-copy .button {
  align-self: flex-start;
}

.traffic-light {
  position: absolute;
  z-index: 2;
  top: 36px;
  right: -24px;
  display: flex;
  width: 50px;
  flex-direction: column;
  gap: 7px;
  padding: 8px;
  border: 3px solid var(--white);
  border-radius: 24px;
  background: var(--navy-dark);
}

.traffic-light i {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #df3f40;
}

.traffic-light i:nth-child(2) {
  background: var(--yellow);
}

.traffic-light i:nth-child(3) {
  background: var(--green);
}

.semafor-visual,
.identity-visual {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

.semafor-visual img,
.identity-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.semafor-visual figcaption,
.identity-visual figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.semafor-visual figcaption span,
.identity-visual figcaption span {
  display: inline-flex;
  padding: 8px 12px;
  background: rgba(4, 29, 64, 0.9);
  color: var(--white);
  font-size: 13px;
  line-height: 1.2;
  box-shadow: inset 5px 0 0 var(--green);
}

.page-hero {
  padding: clamp(70px, 8vw, 118px) 0;
  background: var(--white);
}

.page-hero__inner {
  max-width: var(--shell);
}

.page-hero__inner > h1,
.page-hero__copy h1 {
  max-width: 1040px;
  margin-bottom: 26px;
  font-size: clamp(40px, 5vw, 64px);
  text-transform: uppercase;
}

.page-hero__inner > p:not(.eyebrow),
.page-hero__copy > p:not(.eyebrow) {
  max-width: 880px;
  margin-bottom: 0;
  font-size: clamp(18px, 1.65vw, 23px);
}

.page-hero--with-image {
  padding-bottom: 0;
}

.page-hero--with-image .page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(38px, 6vw, 90px);
  align-items: center;
}

.page-hero__copy {
  padding-bottom: clamp(70px, 8vw, 118px);
}

.page-hero__copy .button {
  margin-top: 30px;
}

.page-hero__photo {
  align-self: stretch;
  margin: 0;
}

.page-hero__photo img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.page-hero__photo--team img {
  object-position: center center;
}

.page-hero--about {
  padding: 0;
}

.page-hero--about .page-hero__inner {
  display: flex;
  max-width: var(--shell);
  flex-direction: column;
  padding-top: clamp(24px, 3vw, 40px);
}

.page-hero--about .page-hero__photo {
  width: 100%;
}

.page-hero--about .page-hero__photo img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.page-hero--about .page-hero__copy {
  max-width: 900px;
  padding: clamp(48px, 6vw, 82px) 0 clamp(64px, 8vw, 108px);
}

.candidates-hero h1 {
  font-size: clamp(38px, 4.5vw, 58px);
}

.candidates-hero h1 span {
  display: block;
}

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.candidate-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-top: 5px solid var(--green);
  background: var(--white);
  box-shadow: var(--shadow);
}

.candidate-card__top {
  position: relative;
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: #e9eee8;
}

.candidate-card__number {
  position: absolute;
  z-index: 1;
  top: 24px;
  left: 24px;
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--navy-dark);
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: 18px;
}

.candidate-card__photo {
  width: 220px;
  height: 220px;
  border: 7px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  box-shadow: 0 14px 35px rgba(8, 41, 85, 0.16);
}

.candidate-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 30px;
}

.candidate-card h2 {
  margin-bottom: 8px;
  font-size: clamp(22px, 1.8vw, 28px);
}

.candidate-card__job {
  min-height: 52px;
  margin-bottom: 22px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.candidate-card__teaser {
  margin-bottom: 26px;
  font-size: 16px;
  line-height: 1.55;
}

.candidate-details {
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.candidate-details summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding-top: 17px;
  color: var(--navy);
  cursor: pointer;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: 13px;
  list-style: none;
}

.candidate-details summary::-webkit-details-marker {
  display: none;
}

.candidate-details summary::after {
  content: "+";
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--navy-dark);
  font-size: 20px;
}

.candidate-details[open] summary::after {
  content: "−";
}

.candidate-details__less {
  display: none;
}

.candidate-details[open] .candidate-details__more {
  display: none;
}

.candidate-details[open] .candidate-details__less {
  display: inline;
}

.candidate-details__body {
  padding-top: 12px;
}

.candidate-details__body p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.58;
}

.contact-hero {
  background: var(--navy-dark);
  color: var(--white);
}

.contact-hero__inner {
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  padding-right: 0;
  align-items: stretch;
}

.contact-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(28px, 5vw, 72px) 64px 0;
}

.contact-hero h1 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(38px, 4.3vw, 58px);
}

.contact-hero__copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: start;
}

.contact-details h2,
.contact-form-card h2,
.important-links-section h2,
.principles-grid h2 {
  font-size: clamp(28px, 2.5vw, 38px);
}

.contact-details > p:last-child {
  margin-top: 24px;
  color: #667487;
}

.contact-line {
  display: block;
  padding: 22px 0;
  border-bottom: 1px solid #cbd5ce;
  color: var(--navy);
  text-decoration: none;
}

.contact-line span {
  display: block;
  margin-bottom: 3px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-line strong {
  font-size: clamp(18px, 1.8vw, 25px);
  overflow-wrap: anywhere;
}

.contact-form-card {
  padding: clamp(28px, 4vw, 48px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form-card form p {
  margin-bottom: 18px;
}

.contact-form-card label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid #cbd5ce;
  border-radius: 0;
  background: var(--white);
  color: var(--body);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(10, 78, 145, 0.15);
}

.form-status {
  margin-bottom: 20px;
  padding: 14px 16px;
  font-weight: 700;
}

.form-status--success {
  border-left: 5px solid var(--green);
  background: #e9f6e6;
}

.form-status--error {
  border-left: 5px solid #cb3535;
  background: #fdebea;
}

.important-links-section {
  padding-top: 0;
}

.important-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.important-links--social {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.important-links a {
  display: flex;
  min-height: 120px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  border-top: 5px solid var(--green);
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.important-links a:hover,
.important-links a:focus-visible {
  background: var(--green-dark);
  transform: translateY(-3px);
}

.important-links span {
  margin-bottom: 3px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.important-links strong {
  font-size: 19px;
}

.social-heading {
  margin-top: 58px;
}

.content-main {
  max-width: 1000px;
  padding-top: clamp(64px, 8vw, 110px);
  padding-bottom: clamp(64px, 8vw, 110px);
}

.content-main > h1,
.single-post > h1,
.generic-page > h1 {
  font-size: clamp(38px, 4.5vw, 56px);
}

.content-body {
  font-size: 18px;
}

.content-body > * {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

.content-body p {
  margin-bottom: 1.35em;
}

.content-body img,
.content-body figure,
.content-body .alignwide {
  max-width: 1100px;
}

.content-body .alignfull {
  max-width: none;
}

.principles-section {
  padding-top: 0;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.principles-grid article {
  padding: 32px;
  background: var(--white);
  border-top: 5px solid var(--green);
}

.principles-grid h2 {
  margin-bottom: 15px;
}

.principles-grid p {
  margin-bottom: 0;
}

.page-editor-section {
  padding-bottom: 0;
}

.wp-content > .wp-block-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
  max-width: 1100px;
  margin-top: 0;
  margin-bottom: 36px;
  align-items: start;
}

.wp-content .wp-block-column {
  min-width: 0;
}

.wp-content .wp-block-column > h3 {
  margin-bottom: 18px;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.16;
}

.wp-content .wp-block-image,
.wp-content .wp-block-video {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
}

.wp-content .wp-block-image a {
  display: block;
}

.wp-content .wp-block-image img,
.wp-content .wp-block-video video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.news-list,
.post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.post-card {
  min-width: 0;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(8, 41, 85, 0.08);
}

.post-card a {
  display: flex;
  min-height: 290px;
  height: 100%;
  flex-direction: column;
  padding: 28px;
  color: var(--body);
  text-decoration: none;
}

.post-card time {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.post-card h2 {
  margin: 18px 0 14px;
  font-size: 24px;
}

.post-card p {
  margin-bottom: 24px;
}

.post-card a > span {
  margin-top: auto;
  color: var(--navy);
  font-weight: 900;
}

.post-card a:hover h2,
.post-card a:focus-visible h2 {
  color: var(--green-dark);
}

.notice-card {
  padding: 28px;
  border-left: 5px solid var(--green);
  background: var(--white);
}

.post-date {
  display: block;
  margin-bottom: 30px;
  color: var(--green-dark);
  font-weight: 800;
}

.post-featured {
  margin: 0 0 35px;
}

.pagination-wrap {
  margin-top: 35px;
}

.site-footer {
  background: #031733;
  color: var(--white);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 38px;
  align-items: center;
  min-height: 190px;
  padding-top: 35px;
  padding-bottom: 35px;
}

.footer-logo {
  display: inline-flex;
  padding: 10px 12px;
  background: var(--white);
}

.footer-logo-svg {
  width: 180px;
  max-height: 58px;
}

.footer-copy {
  display: flex;
  flex-direction: column;
}

.footer-copy strong {
  font-size: 19px;
}

.footer-copy span {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--green);
}

@media (max-width: 1180px) {
  .work-grid,
  .priority-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-card,
  .priority-grid article {
    min-height: 330px;
  }

  .site-header__inner {
    gap: 22px;
  }

  .site-nav .menu {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .site-header__inner {
    min-height: 76px;
  }

  .brand-logo-svg {
    width: 170px;
    max-height: 54px;
  }

  .nav-toggle {
    display: flex;
    width: 46px;
    height: 46px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    padding: 10px;
    cursor: pointer;
  }

  .nav-toggle > span:not(.screen-reader-text) {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--navy);
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .nav-check:checked + .nav-toggle > span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-check:checked + .nav-toggle > span:nth-child(2) {
    opacity: 0;
  }

  .nav-check:checked + .nav-toggle > span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 0;
    display: none;
    margin: 0;
    padding: 24px var(--gutter);
    background: var(--white);
  }

  .admin-bar .site-nav {
    top: 122px;
  }

  .nav-check:checked ~ .site-nav {
    display: block;
  }

  .site-nav .menu {
    display: block;
  }

  .site-nav li {
    border-bottom: 1px solid var(--line);
  }

  .site-nav a {
    padding: 17px 0;
    font-size: 19px;
  }

  .intro-layout,
  .page-hero--with-image .page-hero__inner,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .page-hero--with-image {
    padding-bottom: 0;
  }

  .page-hero__copy {
    padding-bottom: 0;
  }

  .page-hero__photo {
    margin-top: 45px;
  }

  .page-hero--about .page-hero__photo {
    margin-top: 0;
  }

  .page-hero__photo img {
    min-height: 420px;
  }

  .candidate-grid,
  .news-list,
  .post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wp-content > .wp-block-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .semafor-panel,
  .contact-hero__inner {
    grid-template-columns: 1fr;
  }

  .contact-hero__inner {
    padding-right: var(--gutter);
  }

  .contact-hero__copy {
    padding: 64px 0 42px;
  }

  .identity-visual,
  .semafor-visual {
    min-height: 460px;
  }

  .traffic-light {
    top: auto;
    right: 26px;
    bottom: -25px;
    flex-direction: row;
    width: auto;
  }

  .traffic-light i {
    width: 28px;
    height: 28px;
  }

  .principles-grid,
  .important-links--social {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .home-hero,
  .home-hero__content {
    min-height: 570px;
  }

  .home-hero__image {
    object-position: 95% center;
  }

  .home-hero__shade {
    background:
      linear-gradient(90deg, rgba(4, 29, 64, 0.88), rgba(4, 29, 64, 0.24)),
      linear-gradient(0deg, rgba(4, 29, 64, 0.62), transparent 58%);
  }

  .home-hero__content {
    justify-content: flex-start;
    padding-top: 70px;
    padding-bottom: 112px;
  }

  .home-hero h1 {
    font-size: clamp(38px, 11.5vw, 50px);
  }

  .home-hero__slogan {
    bottom: 24px;
    padding: 11px 13px;
    font-size: 17px;
  }

  .intro-layout {
    gap: 28px;
  }

  .section-heading h2,
  .intro-section h2 {
    font-size: 32px;
  }

  .work-grid,
  .priority-grid,
  .candidate-grid,
  .news-list,
  .post-list,
  .important-links {
    grid-template-columns: 1fr;
  }

  .work-card,
  .priority-grid article {
    min-height: 0;
  }

  .work-card {
    padding: 24px;
  }

  .work-card h3 {
    font-size: 22px;
  }

  .page-hero {
    padding: 58px 0;
  }

  .page-hero__inner > h1,
  .page-hero__copy h1,
  .candidates-hero h1 {
    font-size: clamp(32px, 9.5vw, 42px);
  }

  .candidates-hero h1 span:last-child {
    white-space: nowrap;
  }

  .candidates-hero h1 em {
    display: inline;
  }

  .candidate-card__top {
    min-height: 230px;
    padding: 24px;
  }

  .candidate-card__photo {
    width: 180px;
    height: 180px;
  }

  .candidate-card__number {
    top: 18px;
    left: 18px;
    width: 46px;
    height: 46px;
  }

  .candidate-card__body {
    padding: 24px;
  }

  .candidate-card__job {
    min-height: 0;
  }

  .semafor-section {
    padding-right: 0;
    padding-left: 0;
  }

  .semafor-copy {
    padding: 44px var(--gutter) 58px;
  }

  .semafor-copy h2 {
    font-size: 34px;
  }

  .semafor-visual,
  .identity-visual {
    min-height: 300px;
  }

  .semafor-visual img,
  .identity-visual img {
    object-position: center center;
  }

  .semafor-visual figcaption,
  .identity-visual figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    gap: 8px;
  }

  .semafor-visual figcaption span,
  .identity-visual figcaption span {
    max-width: 48%;
    padding: 7px 9px;
    font-size: 10px;
  }

  .contact-hero__inner {
    padding-right: 0;
    padding-left: 0;
  }

  .contact-hero__copy {
    padding: 56px var(--gutter) 38px;
  }

  .contact-hero h1 {
    font-size: 34px;
  }

  .contact-hero__copy > p:not(.eyebrow) {
    font-size: 17px;
  }

  .contact-details h2,
  .contact-form-card h2,
  .important-links-section h2 {
    font-size: 30px;
  }

  .wp-content > .wp-block-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__inner {
    min-height: 0;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
