/*
Theme Name: 小田桐たかし Gardener
Theme URI: https://odagiri-takashi.com/
Author: 小田桐たかし事務所
Description: Gardener HTML templateを基礎にした、小田桐たかし公式サイト用の別テーマです。
Version: 2.1.28
Text Domain: odagiri-official
*/

:root {
  --primary: #2f6fa8;
  --secondary: #55697c;
  --light: #f3f6f9;
  --dark: #173f67;
  --odg-navy: #173f67;
  --odg-teal: #2f6fa8;
  --odg-pink: #ff526f;
  --odg-purple: #9d91c4;
  --odg-blue: #4aa2e6;
  --odg-accent-gradient: linear-gradient(90deg, #ff526f 0%, #9d91c4 56%, #4aa2e6 100%);
  --odg-border: #d9e2ea;
  --odg-muted: #667482;
  --odg-white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #2f3943;
  background: #ffffff;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
a,
button,
input,
select,
textarea,
th,
td {
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--odg-navy);
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif !important;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif !important;
}

a {
  color: var(--odg-teal);
}

a:hover,
a:focus {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

body,
button,
input,
select,
textarea {
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
}

.odg-heading-script {
  display: block;
  margin-top: 5px;
  color: #285f91;
  font-family: "Caveat", cursive;
  font-size: 0.5em;
  font-weight: 600;
  line-height: 1.15;
  opacity: 1;
  text-transform: none;
}

.page-hero .odg-heading-script {
  color: #ffffff;
  font-size: 0.46em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.consultation-panel .odg-heading-script {
  color: #ffffff;
}

.odg-consultation-cta .odg-heading-script {
  color: #285f91;
}

.odg-fa-icon {
  display: inline-block;
  line-height: 1;
}

.odg-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--odg-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.odg-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  position: fixed !important;
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  overflow: visible;
  color: #ffffff;
  background: var(--dark);
}

.btn,
.button,
button {
  min-height: 44px;
}

.btn-primary,
.button {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(57, 93, 142, 0.18);
}

.btn-primary:hover,
.btn-primary:focus,
.button:hover,
.button:focus {
  border-color: var(--dark);
  background: var(--dark);
  color: #ffffff;
}

.btn-outline-primary,
.button--secondary,
.button--quiet {
  border: 1px solid var(--primary);
  background: #ffffff;
  color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.button--secondary:hover,
.button--secondary:focus,
.button--quiet:hover,
.button--quiet:focus {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.bg-dark {
  background-color: var(--dark) !important;
}

.bg-light {
  background-color: var(--light) !important;
}

.text-light {
  color: #edf3f8 !important;
}

.text-primary {
  color: var(--odg-pink) !important;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  text-decoration: none;
  font-weight: 700;
}

.button svg,
.btn svg {
  width: 18px;
  height: 18px;
}

/* Gardener top bar and navigation */
.odg-topbar {
  min-height: 40px;
  font-size: 13px;
}

.odg-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
}

.odg-topbar p {
  margin: 0;
}

.odg-topbar__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.odg-topbar a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.odg-navbar {
  top: 0 !important;
  z-index: 1000;
  min-height: 80px;
  border-bottom: 1px solid #e3e9ef;
  transition: box-shadow 0.2s ease;
}

.odg-navbar.is-scrolled {
  box-shadow: 0 8px 24px rgba(23, 63, 103, 0.13);
}

.odg-navbar .container-fluid {
  display: flex;
  align-items: stretch;
  min-height: 80px;
}

.odg-brand {
  width: 300px;
  height: 80px !important;
  margin: 0;
  overflow: visible;
}

.odg-brand__image {
  display: block;
  width: 250px;
  max-width: none;
  height: 74px;
  object-fit: contain;
  object-position: left center;
}

.odg-navigation {
  display: flex;
  align-items: stretch;
  margin-left: auto;
}

.odg-navigation .navbar-nav {
  flex-direction: row;
  align-items: stretch;
}

.odg-navbar .navbar-nav .nav-link {
  display: flex;
  align-items: center;
  margin-right: 20px;
  padding: 24px 0;
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.odg-navbar .navbar-nav .nav-link:hover,
.odg-navbar .navbar-nav .nav-link:focus,
.odg-navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.odg-navbar .navbar-nav .nav-link.active {
  box-shadow: inset 0 -3px 0 var(--primary);
}

.odg-contact-button {
  align-items: center;
  gap: 10px;
  height: 80px !important;
  border: 0;
  white-space: nowrap;
}

.odg-contact-button svg {
  width: 18px;
  height: 18px;
}

.odg-contact-button .odg-fa-icon {
  font-size: 17px;
}

.odg-nav-toggle {
  display: none;
  width: 54px;
  height: 58px;
  padding: 7px 0 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.odg-nav-toggle__bars,
.odg-nav-toggle__bars::before,
.odg-nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0;
  background: var(--odg-navy);
  content: "";
}

.odg-nav-toggle__bars {
  position: relative;
  transition: background-color 0.25s ease;
}

.odg-nav-toggle__bars::before,
.odg-nav-toggle__bars::after {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  transition: transform 0.3s ease;
}

.odg-nav-toggle__bars::before {
  transform: translateY(-7px);
}

.odg-nav-toggle__bars::after {
  transform: translateY(7px);
}

.odg-nav-toggle__label {
  display: block;
  margin-top: 11px;
  color: var(--odg-navy);
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

/* Home hero carousel */
.odg-hero {
  position: relative;
  height: 680px;
  overflow: hidden;
  background: var(--dark);
}

.odg-hero-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.odg-hero-slides,
.odg-hero-slide {
  position: absolute;
  inset: 0;
}

.odg-hero-slides {
  z-index: 1;
}

.odg-hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.odg-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.odg-hero-slide__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.odg-hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.odg-hero-slide__content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.odg-hero-slide__content h2 {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: 58px;
  line-height: 1.25;
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

.odg-hero-slide__content p {
  max-width: 720px;
  margin: 0;
  font-size: 20px;
  line-height: 1.9;
  font-weight: 600;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.odg-hero-slide__label {
  margin-bottom: 18px !important;
  color: #e1edf7;
  font-size: 16px !important;
}

.odg-hero-slide__lead--single-line {
  max-width: none !important;
  white-space: nowrap;
}

.odg-hero-copy-line {
  --odg-copy-order: 0;
  display: block;
  opacity: 0;
  transform: translateY(16px);
}

.odg-hero-copy-line--1 { --odg-copy-order: 1; }
.odg-hero-copy-line--2 { --odg-copy-order: 2; }
.odg-hero-copy-line--3 { --odg-copy-order: 3; }
.odg-hero-copy-line--4 { --odg-copy-order: 4; }
.odg-hero-copy-line--5 { --odg-copy-order: 5; }

.odg-hero-slide.is-active .odg-hero-copy-line {
  animation: odg-hero-copy-reveal 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.06s + (var(--odg-copy-order) * 0.09s));
}

.odg-hero-slide.is-active .odg-hero-copy-line--after-brush {
  animation-delay: 0.68s;
}

@keyframes odg-hero-copy-reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.odg-hero-brush {
  display: block;
  width: min(720px, 78vw);
  max-height: 230px;
  margin: 0 0 28px;
  object-fit: contain;
  object-position: left center;
  transform-origin: left center;
}

.odg-hero-slide.is-active .odg-hero-brush {
  animation: odg-brush-reveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

@keyframes odg-brush-reveal {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateY(7px) scale(0.985);
  }

  72% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0) scale(1.018);
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0) scale(1);
  }
}

.odg-hero-control {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  transform: translateY(-50%);
  box-shadow: none;
}

.odg-hero-control:hover,
.odg-hero-control:focus {
  background: transparent;
  color: #ffffff;
  opacity: 0.72;
}

.odg-hero-control svg {
  width: 24px;
  height: 24px;
}

.odg-hero-control .odg-fa-icon {
  font-size: 30px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.odg-hero-control--prev {
  left: 24px;
}

.odg-hero-control--prev svg {
  transform: rotate(180deg);
}

.odg-hero-control--prev .odg-fa-icon {
  transform: rotate(180deg);
}

.odg-hero-control--next {
  right: 24px;
}

.odg-hero-indicators {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 30px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.odg-hero-indicators button {
  width: 34px;
  min-height: 5px;
  height: 5px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
}

.odg-hero-indicators button.is-active {
  background: #ffffff;
}

/* Home feature overlap */
.odg-feature-link {
  min-height: 160px;
  color: inherit;
  text-decoration: none;
  border-right: 1px solid #e9eef3;
}

.odg-feature-link:hover,
.odg-feature-link:focus {
  position: relative;
  z-index: 2;
  color: inherit;
  box-shadow: 0 12px 32px rgba(23, 63, 103, 0.16) !important;
}

.odg-feature-link strong,
.odg-feature-link small {
  display: block;
}

.odg-feature-link strong {
  margin-bottom: 5px;
  color: var(--odg-navy);
  font-size: 20px;
}

.odg-feature-link small {
  color: var(--odg-muted);
  line-height: 1.65;
}

.odg-feature-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  color: var(--primary);
}

.odg-feature-icon svg {
  width: 31px;
  height: 31px;
}

.odg-feature-icon .odg-fa-icon {
  font-size: 30px;
  background: var(--odg-accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.odg-about__portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--odg-border);
}

.odg-term-number {
  font-size: 68px;
  line-height: 1;
  font-weight: 700;
}

.odg-about-point__icon {
  display: block;
  margin-bottom: 14px;
  color: var(--primary);
}

.odg-about-point__icon svg {
  width: 42px;
  height: 42px;
}

.odg-about-point__icon .odg-fa-icon {
  font-size: 40px;
  background: var(--odg-accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.odg-about-point p {
  margin: 0;
  color: var(--odg-muted);
}

.odg-about-point h3 {
  color: var(--odg-pink);
}

.odg-facts {
  position: relative;
  background: var(--dark) url("assets/images/hero-slide-riverside.png") center 58% / cover no-repeat;
}

.odg-facts::before,
.odg-consultation-cta::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.62);
}

.odg-facts .container,
.odg-consultation-cta .container,
.page-hero__inner {
  position: relative;
  z-index: 1;
}

.odg-facts strong,
.odg-facts span {
  display: block;
  color: #ffffff;
}

.odg-facts strong {
  margin-bottom: 6px;
  font-size: 42px;
  line-height: 1.2;
}

.odg-facts span {
  font-size: 17px;
  font-weight: 700;
}

.odg-section-heading {
  max-width: 640px;
}

.odg-services .service-item {
  min-height: 390px;
}

.odg-services .service-text {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.odg-service-icon {
  display: grid;
  place-items: center;
  width: 86px !important;
  height: 86px !important;
  color: var(--primary);
  background: var(--light);
}

.odg-service-icon svg {
  width: 42px;
  height: 42px;
}

.odg-service-icon .odg-fa-icon {
  font-size: 39px;
  background: var(--odg-accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.odg-services .service-item:hover .service-text,
.odg-services .service-item:focus-within .service-text {
  background: rgba(0, 0, 0, 0.58);
}

.service-item .service-text .btn {
  gap: 0;
  width: 38px;
  height: 36px;
  justify-content: center;
}

.odg-services .service-item .service-text .btn {
  color: var(--primary) !important;
  background: var(--light) !important;
  border: 1px solid #d6e0e9;
  opacity: 1;
}

.service-item .service-text .btn span {
  display: block;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
}

.service-item:hover .service-text .btn,
.service-item:focus-within .service-text .btn {
  gap: 8px;
  width: 132px;
}

.odg-services .service-item:hover .service-text h3,
.odg-services .service-item:focus-within .service-text h3 {
  color: #fff !important;
}

.service-item:hover .service-text .btn span,
.service-item:focus-within .service-text .btn span {
  max-width: 76px;
  opacity: 1;
}

.service-item .service-text .btn svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.service-item .service-text .btn .odg-fa-icon {
  display: inline-block;
  flex: 0 0 16px;
  font-size: 15px;
  color: var(--primary) !important;
  opacity: 1;
  visibility: visible;
}

.odg-services .service-item:hover .service-text .btn,
.odg-services .service-item:focus-within .service-text .btn {
  color: var(--primary) !important;
  background: #fff !important;
  border-color: #fff;
}

/* Gardener project portfolio pattern for recent news */
.odg-news-project {
  min-height: 300px;
  background: var(--dark);
}

.odg-news-project > img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.odg-news-project::before,
.odg-news-project::after {
  width: 50%;
  background: rgba(0, 0, 0, 0.58);
}

.odg-news-project .portfolio-text {
  padding: 30px;
  text-align: center;
  opacity: 1;
}

.odg-news-project__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.odg-news-project__meta span {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}

.odg-news-project h3 {
  max-width: 320px;
  font-size: 22px;
  line-height: 1.65;
}

.odg-news-project .portfolio-text .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.odg-report-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.odg-report-block__header,
.odg-news__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--primary);
}

.odg-report-block__header h3 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
}

.odg-report-block__english {
  color: var(--primary);
  font-family: "Caveat", cursive;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.odg-report-block__footer {
  margin-top: auto;
  padding-top: 28px;
  text-align: center;
}

.report-row {
  display: grid;
  grid-template-columns: 130px 80px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  border-bottom: 1px solid var(--odg-border);
  color: inherit;
  text-decoration: none;
}

.report-row:hover,
.report-row:focus {
  color: var(--primary);
  background: var(--light);
}

.report-row time {
  color: var(--odg-navy);
  font-size: 16px;
  font-weight: 700;
}

.report-row__label,
.entry-category,
.post-card__category {
  display: inline-block;
  min-height: 0;
  padding: 0;
  background: transparent;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.report-row__label--council {
  background: transparent;
  color: var(--odg-navy);
}

.report-row__title {
  min-width: 0;
  font-weight: 700;
}

.report-row__arrow svg {
  width: 18px;
  height: 18px;
}

.report-list__empty,
.odg-empty {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--odg-border);
  color: var(--odg-muted);
}

.odg-consultation-cta {
  position: relative;
  background: var(--dark) url("assets/images/hero-slide-school-route.png") center / cover no-repeat;
}

.odg-consultation-cta::before {
  background: rgba(0, 0, 0, 0.5);
}

.odg-consultation-cta .bg-white {
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
}

.odg-news__header {
  align-items: end;
}

.odg-news-list {
  border-top: 1px solid var(--odg-border);
}

.odg-news-row {
  display: grid;
  grid-template-columns: 140px 90px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  padding: 10px 0;
  border-bottom: 1px solid var(--odg-border);
  color: inherit;
  text-decoration: none;
}

.odg-news-row:hover,
.odg-news-row:focus {
  color: var(--primary);
  background: var(--light);
}

.odg-news-row time {
  color: var(--odg-muted);
  font-size: 14px;
}

.odg-news-row__label {
  padding: 4px 10px;
  background: var(--odg-teal);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

/* Generic page layout, mapped from the existing theme templates */
.wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-right: 12px;
  padding-left: 12px;
}

.page-hero {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background: var(--dark) url("assets/images/hero-slide-riverside.png") center 62% / cover no-repeat;
}

.page-hero::before {
  background: rgba(0, 0, 0, 0.6);
}

.page-hero h1,
.page-hero p,
.page-hero a,
.page-hero .breadcrumb {
  color: #ffffff;
}

.page-hero h1 {
  margin: 12px 0 14px;
  font-size: 52px;
  line-height: 1.3;
}

.page-hero p {
  max-width: 800px;
  margin: 0;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
}

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

.section {
  padding: 80px 0;
}

.section--soft {
  background: var(--light);
}

.section__header {
  max-width: 760px;
  margin-bottom: 32px;
}

.section__header h2,
.front-section-title {
  font-size: 38px;
}

.content-layout,
.content-narrow {
  max-width: 980px;
}

.content-panel,
.info-card,
.profile-lead,
.form-panel,
.policy-post-manager__posts,
.policy-post-manager__form {
  padding: 34px;
  border: 1px solid var(--odg-border);
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(23, 63, 103, 0.07);
}

.content-panel > :last-child,
.entry-content > :last-child,
.info-card > :last-child {
  margin-bottom: 0;
}

.card-grid,
.post-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

.content-layout--consultation {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.content-layout--consultation > * {
  min-width: 0;
}

.info-card--wide {
  grid-column: 1 / -1;
}

.consultation-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px;
  color: #ffffff;
  background: var(--dark);
}

.consultation-panel h2,
.consultation-panel p {
  color: #ffffff;
}

.consultation-panel .button,
.odg-footer .btn-primary {
  border: 2px solid #ffffff;
  background: #ffffff;
  color: var(--dark);
  box-shadow: 0 8px 20px rgba(9, 39, 68, 0.24);
}

.consultation-panel .button:hover,
.consultation-panel .button:focus,
.odg-footer .btn-primary:hover,
.odg-footer .btn-primary:focus {
  border-color: #ffffff;
  background: var(--primary);
  color: #ffffff;
}

.odg-consultation-cta .btn-primary,
.odg-consultation-cta .btn-outline-primary {
  border: 1px solid var(--primary);
  background: #ffffff;
  color: var(--primary);
  box-shadow: none;
}

.odg-consultation-cta .btn-primary:hover,
.odg-consultation-cta .btn-primary:focus,
.odg-consultation-cta .btn-outline-primary:hover,
.odg-consultation-cta .btn-outline-primary:focus {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.consultation-list,
.odg-footer-themes {
  padding-left: 1.2em;
}

.consultation-list li,
.consultation-steps li {
  margin-bottom: 10px;
}

.consultation-note,
.field-help {
  color: var(--odg-muted);
  font-size: 14px;
}

.profile-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: stretch;
  gap: 34px;
}

.profile-photo {
  margin: 0;
  border: 1px solid var(--odg-border);
  background: #ffffff;
}

.profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-number-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--odg-border);
  border: 1px solid var(--odg-border);
}

.profile-number {
  padding: 20px;
  background: var(--light);
}

.profile-number strong,
.profile-number span {
  display: block;
}

.profile-number strong {
  color: var(--odg-pink);
  font-size: 28px;
}

.profile-origin-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
}

.profile-principles {
  border-left: 5px solid var(--primary);
  padding-left: 28px;
}

.profile-timeline {
  border-top: 1px solid var(--odg-border);
}

.profile-timeline__item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--odg-border);
}

.profile-timeline__date {
  margin: 0;
  color: var(--odg-pink);
  font-weight: 700;
}

.profile-detail-list {
  border-top: 1px solid var(--odg-border);
}

.profile-detail-list > div {
  padding: 26px 0;
  border-bottom: 1px solid var(--odg-border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.data-table th,
.data-table td {
  padding: 16px 18px;
  border: 1px solid var(--odg-border);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  width: 180px;
  background: var(--light);
  color: var(--dark);
}

.post-card {
  padding: 28px;
  border: 1px solid var(--odg-border);
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(23, 63, 103, 0.07);
}

.post-card__meta,
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--odg-muted);
  font-size: 14px;
}

.post-card h3 {
  font-size: 22px;
}

.post-card__link {
  color: var(--odg-navy);
  text-decoration: none;
}

.post-card__link:hover,
.post-card__link:focus {
  color: var(--primary);
}

.report-archive-list,
.news-list {
  border-top: 1px solid var(--odg-border);
}

.report-archive-row,
.news-list__item {
  border-bottom: 1px solid var(--odg-border);
}

.report-archive-row__link,
.news-list__link {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 10px;
  color: inherit;
  text-decoration: none;
}

.report-archive-row__link:hover,
.report-archive-row__link:focus,
.news-list__link:hover,
.news-list__link:focus {
  color: inherit;
  background: var(--light);
}

.report-archive-row__meta,
.news-list__meta {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px;
  color: var(--odg-muted);
  font-size: 14px;
}

.report-archive-row__meta time,
.news-list__meta time {
  color: var(--odg-navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.report-archive-row__category,
.news-list__meta span {
  padding: 0;
  background: transparent;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.report-archive-row__body h2,
.news-list__body h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.report-archive-row__body p,
.news-list__body p {
  margin: 0;
  color: var(--odg-muted);
}

.entry-content {
  max-width: 920px;
  margin: 0 auto;
  font-size: 17px;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2.2em;
}

.entry-content img {
  display: block;
  width: min(100%, 760px) !important;
  max-width: 100%;
  height: auto !important;
  margin: 32px auto !important;
}

.entry-content img.odg-entry-image--portrait {
  width: min(100%, 560px) !important;
}

.entry-content .odg-entry-image-figure {
  width: 100% !important;
  max-width: none !important;
  margin-right: auto;
  margin-left: auto;
}

.entry-content .odg-entry-image-figure figcaption {
  max-width: 760px;
  margin: -18px auto 32px;
  color: var(--odg-muted);
  font-size: 14px;
  text-align: center;
}

.entry-content img.odg-entry-image--zoomable {
  cursor: zoom-in;
}

.entry-content img.odg-entry-image--zoomable:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 5px;
}

body.odg-lightbox-open {
  overflow: hidden;
}

.odg-image-lightbox {
  position: fixed;
  z-index: 12000;
  inset: 0;
  display: grid;
  padding: 68px 28px 28px;
  place-items: center;
  background: rgba(3, 15, 28, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0s linear 0.18s;
}

.odg-image-lightbox[hidden] {
  display: none;
}

.odg-image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.odg-image-lightbox__figure {
  display: grid;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  place-items: center;
}

.odg-image-lightbox__image {
  display: block;
  max-width: min(94vw, 1440px);
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.odg-image-lightbox__caption {
  max-width: 900px;
  margin-top: 14px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.odg-image-lightbox__close {
  position: fixed;
  z-index: 1;
  top: max(14px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  place-items: center;
}

.odg-image-lightbox__close:hover,
.odg-image-lightbox__close:focus-visible {
  background: transparent;
  color: #ffffff;
  opacity: 0.72;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

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

.entry-footer,
.post-navigation {
  max-width: 920px;
  margin: 36px auto 0;
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--odg-border);
}

.nav-previous,
.nav-next {
  min-width: 0;
}

.nav-next {
  text-align: right;
}

.nav-previous a,
.nav-next a {
  display: grid;
  gap: 5px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
}

.nav-direction,
.nav-date {
  color: var(--odg-muted);
  font-size: 13px;
}

.nav-title {
  font-weight: 700;
}

.pagination {
  margin-top: 36px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
  color: var(--dark);
  text-decoration: none;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover,
.pagination .page-numbers:focus {
  border-color: var(--primary);
  color: var(--primary);
}

/* Forms and Contact Form 7 */
.contact-form,
.wpcf7-form {
  display: grid;
  gap: 20px;
}

.field,
.wpcf7-form p {
  display: grid;
  gap: 8px;
  margin: 0;
}

.field label,
.wpcf7-form label {
  color: var(--dark);
  font-weight: 700;
}

.field input,
.field select,
.field textarea,
.wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--odg-border);
  background: #f7f9fb;
}

.field textarea,
.wpcf7-form textarea {
  min-height: 180px;
  resize: vertical;
}

.field--consent label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.field--consent input,
.wpcf7-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 4px;
}

.required {
  color: #a33b22;
  font-size: 13px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.wpcf7-submit {
  min-height: 50px;
  padding: 12px 28px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
}

.contact-form .button,
.form-panel .wpcf7-form .wpcf7-submit {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
  opacity: 1;
}

.contact-form .button:disabled,
.form-panel .wpcf7-form .wpcf7-submit:disabled {
  border-color: #c9d1da;
  background: #e8edf2;
  color: #52616f;
  cursor: not-allowed;
  opacity: 1;
}

.notice-box,
.wpcf7-response-output {
  padding: 16px;
  border: 1px solid var(--odg-border) !important;
}

/* Footer */
.odg-footer {
  padding-right: 0;
  padding-left: 0;
}

.odg-footer.bg-dark {
  background-color: #285780 !important;
}

.odg-footer .copyright {
  background: #1c3f5e;
  color: #ffffff;
}

.odg-footer p,
.odg-footer li {
  color: #dce7f0;
}

.odg-footer .btn-link {
  color: #eef4f8;
  text-transform: none;
}

.odg-footer .btn-link:hover,
.odg-footer .btn-link:focus {
  color: #ffffff;
  letter-spacing: 0;
  transform: translateX(4px);
}

.odg-footer.footer .btn.btn-link::before {
  content: "→";
  font-family: inherit;
  font-weight: 400;
}

.odg-footer-themes {
  columns: 2;
  margin-bottom: 20px;
}

.odg-footer-themes a {
  color: #eef4f8;
  text-decoration: none;
  text-underline-offset: 3px;
}

.odg-footer-themes a:hover,
.odg-footer-themes a:focus {
  color: #ffffff;
  text-decoration: underline;
}

.odg-footer-privacy {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.odg-floating-consultation {
  position: fixed;
  z-index: 98;
  right: 20px;
  bottom: 18px;
  width: 298px;
  max-width: calc(100vw - 24px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.odg-floating-consultation[hidden] {
  display: none !important;
}

.odg-floating-consultation.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.odg-floating-consultation__link {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  color: var(--dark);
  text-decoration: none;
}

.odg-floating-consultation__bubble {
  position: relative;
  display: block;
  width: 192px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid var(--primary);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(18, 58, 94, 0.16);
  font-size: 13px;
  line-height: 1.65;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.odg-floating-consultation__bubble::after {
  position: absolute;
  right: -10px;
  bottom: 18px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 10px solid var(--primary);
  content: "";
}

.odg-floating-consultation__bubble span,
.odg-floating-consultation__bubble strong {
  display: block;
}

.odg-floating-consultation__bubble strong {
  color: var(--primary);
  font-size: 14px;
}

.odg-floating-consultation__image {
  display: block;
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.odg-floating-consultation__link:hover,
.odg-floating-consultation__link:focus {
  color: #ffffff;
}

.odg-floating-consultation__link:hover .odg-floating-consultation__bubble,
.odg-floating-consultation__link:focus .odg-floating-consultation__bubble {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.odg-floating-consultation__link:hover .odg-floating-consultation__bubble strong,
.odg-floating-consultation__link:focus .odg-floating-consultation__bubble strong {
  color: #ffffff;
}

.odg-floating-consultation__link:hover .odg-floating-consultation__image,
.odg-floating-consultation__link:focus .odg-floating-consultation__image {
  transform: translateY(-3px);
}

.odg-floating-consultation__close {
  position: absolute;
  z-index: 2;
  top: -13px;
  right: 0;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0 0 2px;
  place-items: center;
  border: 1px solid var(--primary);
  background: #ffffff;
  color: var(--primary);
  font-family: Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.odg-floating-consultation__close:hover,
.odg-floating-consultation__close:focus-visible {
  background: var(--primary);
  color: #ffffff;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.policy-card__icon .odg-fa-icon,
.consultation-list .odg-fa-icon {
  font-size: 22px;
}

/* Subpage accents stay selective so the primary hierarchy remains blue. */
.profile-lead__label,
.section--soft .section__header h2,
.card-grid--consultation .info-card > h2,
.section-label {
  color: var(--odg-pink);
}

.report-archive-row__category,
.news-list__meta span,
.entry-category,
.post-card__category {
  color: var(--odg-pink);
}

.site-main .policy-post-manager__category:not(.is-active) .policy-post-manager__category-title {
  color: var(--odg-pink);
}

.site-main .policy-post-manager__category:not(.is-active) .policy-card__icon .odg-fa-icon,
.consultation-list .odg-fa-icon {
  display: inline-block;
  background: var(--odg-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.site-main .policy-post-manager__category.is-active .policy-card__icon .odg-fa-icon {
  background: none;
  color: #ffffff !important;
}

@media (max-width: 1199.98px) {
  .odg-brand {
    width: 265px;
  }

  .odg-brand__image {
    width: 230px;
  }

  .odg-navbar .navbar-nav .nav-link {
    margin-right: 16px;
    font-size: 14px;
  }
}

@media (max-width: 991.98px) {
  .odg-topbar {
    display: none;
  }

  .odg-navbar,
  .odg-navbar .container-fluid,
  .odg-brand {
    min-height: 72px;
    height: 72px !important;
  }

  .odg-brand {
    width: 245px;
  }

  .odg-brand__image {
    width: 220px;
    height: 68px;
  }

  .odg-nav-toggle {
    position: relative;
    z-index: 1003;
    display: flex;
    flex: 0 0 54px;
    align-self: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    box-shadow: none;
    transition: opacity 0.2s ease;
  }

  .odg-nav-toggle:hover,
  .odg-nav-toggle[aria-expanded="true"] {
    border: 0;
    background: transparent;
    opacity: 0.72;
  }

  .odg-nav-toggle:focus,
  .odg-nav-toggle:focus-visible {
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
  }

  .odg-nav-toggle:focus-visible .odg-nav-toggle__label {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .odg-nav-toggle[aria-expanded="true"] .odg-nav-toggle__bars {
    background: transparent;
  }

  .odg-nav-toggle[aria-expanded="true"] .odg-nav-toggle__bars::before {
    transform: rotate(45deg);
  }

  .odg-nav-toggle[aria-expanded="true"] .odg-nav-toggle__bars::after {
    transform: rotate(-45deg);
  }

  .odg-brand {
    position: relative;
    z-index: 1002;
  }

  .odg-navigation {
    position: fixed;
    z-index: 1001;
    inset: 0;
    display: flex;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 92px 24px 34px;
    overflow-y: auto;
    flex-direction: column;
    align-items: center;
    justify-content: safe center;
    border: 0;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    clip-path: circle(0 at calc(100% - 40px) 36px);
    transition: clip-path 0.52s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.32s ease, visibility 0s linear 0.52s;
  }

  .odg-navigation.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    clip-path: circle(150% at calc(100% - 40px) 36px);
    transition-delay: 0s;
  }

  .odg-navigation .navbar-nav {
    display: flex;
    width: min(100%, 480px);
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: column;
    align-items: stretch;
  }

  .odg-navbar .navbar-nav .nav-link {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 9px 12px;
    border: 0;
    box-shadow: none !important;
    font-size: clamp(19px, 4.8vw, 25px);
    line-height: 1.45;
    text-align: center;
    opacity: 0;
    transform: translateY(14px);
    transition: color 0.2s ease, opacity 0.35s ease, transform 0.35s ease;
  }

  .odg-navigation.is-open .nav-link {
    opacity: 1;
    transform: translateY(0);
  }

  .odg-navigation.is-open .nav-link:nth-child(1) { transition-delay: 0.14s; }
  .odg-navigation.is-open .nav-link:nth-child(2) { transition-delay: 0.18s; }
  .odg-navigation.is-open .nav-link:nth-child(3) { transition-delay: 0.22s; }
  .odg-navigation.is-open .nav-link:nth-child(4) { transition-delay: 0.26s; }
  .odg-navigation.is-open .nav-link:nth-child(5) { transition-delay: 0.30s; }
  .odg-navigation.is-open .nav-link:nth-child(6) { transition-delay: 0.34s; }
  .odg-navigation.is-open .nav-link:nth-child(7) { transition-delay: 0.38s; }

  .odg-navbar .navbar-nav .nav-link.active {
    color: var(--odg-pink);
  }

  .odg-navigation .odg-contact-button {
    display: inline-flex !important;
    width: auto;
    height: auto !important;
    margin-top: 18px;
    padding: 13px 24px !important;
    opacity: 0;
    transform: translateY(14px);
    transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.35s ease 0.42s, transform 0.35s ease 0.42s;
  }

  .odg-navigation.is-open .odg-contact-button {
    opacity: 1;
    transform: translateY(0);
  }

  .odg-hero {
    height: 590px;
  }

  .odg-hero-slide__content h2 {
    font-size: 46px;
  }

  .odg-hero-slide__content p {
    font-size: 18px;
  }

  .odg-hero-slide__lead--single-line {
    white-space: normal;
  }

  .odg-hero-control {
    top: auto;
    bottom: 26px;
    width: 48px;
    height: 48px;
    transform: none;
  }

  .odg-hero-control--prev {
    left: 18px;
  }

  .odg-hero-control--next {
    right: 18px;
  }

  .top-feature {
    margin-top: 0;
  }

  .odg-feature-link {
    min-height: 130px;
    border-right: 0;
    border-bottom: 1px solid var(--odg-border);
  }

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

  .profile-strip,
  .profile-origin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 15px;
  }

  .odg-brand {
    width: 210px;
    padding-right: 8px !important;
    padding-left: 12px !important;
  }

  .odg-brand__image {
    width: 198px;
  }

  .odg-hero {
    height: 530px;
  }

  .odg-hero-slide__content {
    align-items: flex-end;
    padding-bottom: 110px;
  }

  .odg-hero-slide__content h2 {
    font-size: 34px;
    line-height: 1.35;
  }

  .odg-hero-slide__content p {
    font-size: 16px;
    line-height: 1.75;
  }

  .odg-hero-slide__label {
    font-size: 13px !important;
  }

  .odg-hero-brush {
    width: 100%;
    max-height: 150px;
    margin-bottom: 20px;
  }

  .odg-hero-indicators {
    bottom: 45px;
  }

  .entry-content img,
  .entry-content img.odg-entry-image--portrait {
    width: 100% !important;
    margin-top: 24px !important;
    margin-bottom: 24px !important;
  }

  .odg-image-lightbox {
    padding: 60px 12px 20px;
  }

  .odg-image-lightbox__image {
    max-width: 100%;
    max-height: calc(100vh - 96px);
  }

  .top-feature,
  .top-feature .container {
    padding-top: 0 !important;
  }

  .odg-feature-link {
    min-height: 115px;
    padding: 20px !important;
  }

  .odg-feature-link strong {
    font-size: 18px;
  }

  .odg-feature-icon {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
  }

  .display-5,
  .section__header h2,
  .front-section-title {
    font-size: 32px !important;
    line-height: 1.4;
  }

  .odg-term-number {
    font-size: 56px;
  }

  .odg-facts strong {
    font-size: 34px;
  }

  .odg-report-block__header,
  .odg-news__header {
    align-items: flex-start;
  }

  .report-row {
    grid-template-columns: 112px 72px minmax(0, 1fr);
    gap: 8px;
    padding: 9px 0;
  }

  .report-row__arrow {
    display: none;
  }

  .report-row__title {
    line-height: 1.55;
  }

  .odg-news-row {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 14px 0;
  }

  .odg-news-row__label {
    grid-column: 1;
    grid-row: 2;
  }

  .odg-news-row strong {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .odg-news-row > span:last-child {
    display: none;
  }

  .page-hero {
    min-height: 260px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .page-hero p {
    font-size: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .card-grid,
  .post-grid,
  .policy-grid,
  .card-grid--consultation {
    grid-template-columns: 1fr;
  }

  .content-panel,
  .info-card,
  .profile-lead,
  .form-panel {
    padding: 24px;
  }

  .content-layout--consultation {
    gap: 32px;
  }

  .odg-floating-consultation {
    right: 10px;
    bottom: 10px;
    width: 252px;
    max-width: calc(100vw - 20px);
  }

  .odg-floating-consultation__link {
    gap: 7px;
  }

  .odg-floating-consultation__bubble {
    width: 173px;
    margin-bottom: 11px;
    padding: 9px 11px;
    font-size: 11px;
    line-height: 1.55;
  }

  .odg-floating-consultation__bubble strong {
    font-size: 12px;
  }

  .odg-floating-consultation__bubble::after {
    bottom: 14px;
  }

  .odg-floating-consultation__image {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }

  .odg-floating-consultation__close {
    top: -12px;
    width: 28px;
    height: 28px;
    font-size: 22px;
  }

  .consultation-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px;
  }

  .profile-number-grid {
    grid-template-columns: 1fr;
  }

  .profile-timeline__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .report-archive-row__link,
  .news-list__link {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 4px;
  }

  .report-archive-row__meta,
  .news-list__meta {
    align-items: center;
  }

  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .nav-next {
    border-top: 1px solid var(--odg-border);
    text-align: left;
  }

  .odg-footer-themes {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .odg-hero-slide.is-active .odg-hero-brush {
    animation: none;
  }

  .odg-hero-copy-line,
  .odg-hero-slide.is-active .odg-hero-copy-line {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .odg-reveal,
  .odg-reveal.is-revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
