/*!
Theme Name: Pravda1
Theme URI: https://webdeveloper.com.ua/
Author: webdeveloper.com.ua
Author URI: https://t.me/webdeveloper_com_ua
Description:
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pravda1
Tags:
----------------------------------------------------------------------------------------- */
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid red; */
}

*:focus,
*:active {
  outline: none;
}

:root {
  /* Color */
  --color-black: #000;
  --color-black-trans: rgba(0, 0, 0, 0.08);

  --color-black-light: #101010;

  --color-white: #fff;
  --color-white-trans: rgba(255, 255, 255, 0.08);

  --color-accent: #870707;
  --color-accent-trans: rgba(135, 7, 7, 0.04);

  --color-blue: #212151;
  --color-blue-trans: rgba(33, 33, 81, 0.04);

  --color-beige: #f1ede6;

  --color-gray: #d8d8d8;
  --color-gray-dark: rgb(66, 66, 66);
  --color-gray-light: #fafafa;

  /* Font */
  --font-sans-serif: "Nunito Sans", sans-serif;
}

html {
  line-height: normal;
  scroll-behavior: smooth;
}

body {
  font-size: 15px;
  font-weight: 400;
  font-display: auto;
  font-family: var(--font-sans-serif);
}

@media only screen and (max-width: 576px) {
  body {
    font-size: 14px;
  }
}

@media only screen and (min-width: 992px) {
  /* gap 992 */
  .gap-992 {
    gap: 64px;
  }
  .gap-992 > [class*="col-"] {
    max-width: calc(50% - 32px);
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  Grid System
 *
----------------------------------------------------------------------------------------- */

/* Container */
.container,
.container-short,
.container-fluid {
  width: 100%;
  row-gap: 16px;
  display: flex;
  margin: 0 auto;
  padding: 0 16px;
  flex-direction: column;
}

/* Container Default */
.container {
  max-width: 1280px !important;
}

/* Container Short */
.container-short {
  max-width: 920px !important;
}

/* Container Fluid */
.container-fluid {
  max-width: 100% !important;
}

/* Site layout — content column with an optional sticky specialist sidebar
   (service pages). Falls back to a single full-width column via --full. */
.site-layout {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(16px, 3.4vw, 48px);
  align-items: stretch; /* sidebar fills the full column height for its sticky card */
}

.site-layout--full {
  display: block;
}

.site-layout__sidebar {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--color-gray-light);

  padding: var(--section-padding) 32px;
}

/* The sidebar spans the full column height; only the card itself sticks. */
.site-layout__sidebar .team-card {
  position: sticky;
  top: 112px;
}

.site-layout__content {
  min-width: 0; /* let grid children shrink instead of overflowing */
  display: flex;
  flex-direction: column;
  padding: var(--section-padding) 0;
}

/* The column already bounds sections horizontally — neutralise each inner
   .container's max-width and side padding. */
.site-layout__content .container {
  max-width: none !important;
  padding-left: 0;
  padding-right: 0;
}

/* Sections rely on var(--section-padding) elsewhere; inside the layout the
   column gap handles spacing, so zero their own vertical padding. */
.site-layout__content section {
  padding-top: 0;
  padding-bottom: 0;
}

/* The content feed stacks its sections with the same rhythm; keep its tinted
   block but pad it internally and drop the wide side margin that doesn't suit
   the narrower content column. */
.site-layout__content .section-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-layout__content .section-feed > section:nth-child(odd) {
  margin: 16px;
  padding: 32px;
}

/* Stack the sidebar above the content below the desktop breakpoint. */
@media only screen and (max-width: 1280px) {
  .site-layout {
    grid-template-columns: 1fr;
  }

  .site-layout__sidebar {
    order: 1;
  }

  .site-layout__sidebar .team-card {
    position: static;
  }

  .site-layout__content .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-layout__content .section-feed > section:nth-child(odd) {
    padding: 16px 0;
    margin: 16px 32px;
  }
}

/* Row */
.row {
  box-sizing: border-box;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex: 0 1 auto;
  -webkit-box-flex: 0;
  flex: 0 1 auto;
  -ms-flex-direction: row;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.x-space-between {
  justify-content: space-between;
}

.y-center {
  align-items: center;
}

.x-end {
  justify-content: flex-end;
}

.y-margin {
  row-gap: 32px;
  display: flex;
  flex-direction: column;
}

/* Column */
[class*="col-"] {
  box-sizing: border-box;
  -ms-flex: 0 0 auto;
  -webkit-box-flex: 0;
  flex: 0 0 auto;
  max-width: 100%;
  padding: 16px;
}

.col-xs {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  -webkit-box-flex: 1;
  flex-grow: 1;
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  max-width: 100%;
}

.col-xs-1 {
  -ms-flex-preferred-size: 8.333%;
  flex-basis: 8.333%;
  max-width: 8.333%;
}

.col-xs-2 {
  -ms-flex-preferred-size: 16.667%;
  flex-basis: 16.667%;
  max-width: 16.667%;
}

.col-xs-3 {
  -ms-flex-preferred-size: 25%;
  flex-basis: 25%;
  max-width: 25%;
}

.col-xs-4 {
  -ms-flex-preferred-size: 33.333%;
  flex-basis: 33.333%;
  max-width: 33.333%;
}

.col-xs-5 {
  -ms-flex-preferred-size: 41.667%;
  flex-basis: 41.667%;
  max-width: 41.667%;
}

.col-xs-6 {
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
  max-width: 50%;
}

.col-xs-7 {
  -ms-flex-preferred-size: 58.333%;
  flex-basis: 58.333%;
  max-width: 58.333%;
}

.col-xs-8 {
  -ms-flex-preferred-size: 66.667%;
  flex-basis: 66.667%;
  max-width: 66.667%;
}

.col-xs-9 {
  -ms-flex-preferred-size: 75%;
  flex-basis: 75%;
  max-width: 75%;
}

.col-xs-10 {
  -ms-flex-preferred-size: 83.333%;
  flex-basis: 83.333%;
  max-width: 83.333%;
}

.col-xs-11 {
  -ms-flex-preferred-size: 91.667%;
  flex-basis: 91.667%;
  max-width: 91.667%;
}

.col-xs-12 {
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  max-width: 100%;
}

@media only screen and (min-width: 576px) {
  .col-sm {
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    -webkit-box-flex: 1;
    flex-grow: 1;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    max-width: 100%;
  }

  .col-sm-1 {
    -ms-flex-preferred-size: 8.333%;
    flex-basis: 8.333%;
    max-width: 8.333%;
  }

  .col-sm-2 {
    -ms-flex-preferred-size: 16.667%;
    flex-basis: 16.667%;
    max-width: 16.667%;
  }

  .col-sm-3 {
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    max-width: 25%;
  }

  .col-sm-4 {
    -ms-flex-preferred-size: 33.333%;
    flex-basis: 33.333%;
    max-width: 33.333%;
  }

  .col-sm-5 {
    -ms-flex-preferred-size: 41.667%;
    flex-basis: 41.667%;
    max-width: 41.667%;
  }

  .col-sm-6 {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width: 50%;
  }

  .col-sm-7 {
    -ms-flex-preferred-size: 58.333%;
    flex-basis: 58.333%;
    max-width: 58.333%;
  }

  .col-sm-8 {
    -ms-flex-preferred-size: 66.667%;
    flex-basis: 66.667%;
    max-width: 66.667%;
  }

  .col-sm-9 {
    -ms-flex-preferred-size: 75%;
    flex-basis: 75%;
    max-width: 75%;
  }

  .col-sm-10 {
    -ms-flex-preferred-size: 83.333%;
    flex-basis: 83.333%;
    max-width: 83.333%;
  }

  .col-sm-11 {
    -ms-flex-preferred-size: 91.667%;
    flex-basis: 91.667%;
    max-width: 91.667%;
  }

  .col-sm-12 {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media only screen and (min-width: 992px) {
  .col-md {
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    -webkit-box-flex: 1;
    flex-grow: 1;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    max-width: 100%;
  }

  .col-md-1 {
    -ms-flex-preferred-size: 8.333%;
    flex-basis: 8.333%;
    max-width: 8.333%;
  }

  .col-md-2 {
    -ms-flex-preferred-size: 16.667%;
    flex-basis: 16.667%;
    max-width: 16.667%;
  }

  .col-md-3 {
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    max-width: 25%;
  }

  .col-md-4 {
    -ms-flex-preferred-size: 33.333%;
    flex-basis: 33.333%;
    max-width: 33.333%;
  }

  .col-md-5 {
    -ms-flex-preferred-size: 41.667%;
    flex-basis: 41.667%;
    max-width: 41.667%;
  }

  .col-md-6 {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width: 50%;
  }

  .col-md-7 {
    -ms-flex-preferred-size: 58.333%;
    flex-basis: 58.333%;
    max-width: 58.333%;
  }

  .col-md-8 {
    -ms-flex-preferred-size: 66.667%;
    flex-basis: 66.667%;
    max-width: 66.667%;
  }

  .col-md-9 {
    -ms-flex-preferred-size: 75%;
    flex-basis: 75%;
    max-width: 75%;
  }

  .col-md-10 {
    -ms-flex-preferred-size: 83.333%;
    flex-basis: 83.333%;
    max-width: 83.333%;
  }

  .col-md-11 {
    -ms-flex-preferred-size: 91.667%;
    flex-basis: 91.667%;
    max-width: 91.667%;
  }

  .col-md-12 {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media only screen and (min-width: 1200px) {
  .col-lg {
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    -webkit-box-flex: 1;
    flex-grow: 1;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    max-width: 100%;
  }

  .col-lg-1 {
    -ms-flex-preferred-size: 8.333%;
    flex-basis: 8.333%;
    max-width: 8.333%;
  }

  .col-lg-2 {
    -ms-flex-preferred-size: 16.667%;
    flex-basis: 16.667%;
    max-width: 16.667%;
  }

  .col-lg-3 {
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    max-width: 25%;
  }

  .col-lg-4 {
    -ms-flex-preferred-size: 33.333%;
    flex-basis: 33.333%;
    max-width: 33.333%;
  }

  .col-lg-5 {
    -ms-flex-preferred-size: 41.667%;
    flex-basis: 41.667%;
    max-width: 41.667%;
  }

  .col-lg-6 {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width: 50%;
  }

  .col-lg-7 {
    -ms-flex-preferred-size: 58.333%;
    flex-basis: 58.333%;
    max-width: 58.333%;
  }

  .col-lg-8 {
    -ms-flex-preferred-size: 66.667%;
    flex-basis: 66.667%;
    max-width: 66.667%;
  }

  .col-lg-9 {
    -ms-flex-preferred-size: 75%;
    flex-basis: 75%;
    max-width: 75%;
  }

  .col-lg-10 {
    -ms-flex-preferred-size: 83.333%;
    flex-basis: 83.333%;
    max-width: 83.333%;
  }

  .col-lg-11 {
    -ms-flex-preferred-size: 91.667%;
    flex-basis: 91.667%;
    max-width: 91.667%;
  }

  .col-lg-12 {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  Typography
 *
----------------------------------------------------------------------------------------- */
:root {
  /* heading — fluid 768→1280; mobile floor is 6px below the desktop max */
  --font-size-h1: clamp(34px, 1.171875vw + 25px, 40px);
  --font-size-h2: clamp(26px, 1.171875vw + 17px, 32px);
  --font-size-h3: clamp(22px, 1.171875vw + 13px, 28px);
  --font-size-h4: clamp(18px, 1.171875vw + 9px, 24px);
  --font-size-h5: clamp(14px, 1.171875vw + 5px, 20px);
  --font-size-h6: clamp(10px, 1.171875vw + 1px, 16px);

  /* font size */
  --font-size-large: 20px;
  --font-size-middle: clamp(14px, 0.78125vw + 8px, 18px); /* 14 → 18 across 768–1280 */
  --font-size-small: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.24;
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

h5 {
  font-size: var(--font-size-h5);
}

h6 {
  font-size: var(--font-size-h6);
}

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

a:hover {
  cursor: pointer;
}

p {
  line-height: 1.6;
}

ul,
ol,
dl {
  line-height: 1.6;
  list-style: none;
}

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

hr {
  border: none;
  border-bottom: 1px solid var(--color-black-trans);
}

table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  border: 1px solid var(--color-black-trans);
}

thead {
  font-weight: 600;
  text-align: center;
  color: var(--color-white);
  background: var(--color-accent);
}

th,
td {
  padding: 16px;
  text-align: left;
}

tr:nth-child(odd) {
  background-color: var(--color-accent-trans);
}

/*  Typography: Editor
------------------------------------------ */
.editor {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

.editor ul,
.editor ol {
  display: flex;
  flex-direction: column;
}

.editor ul li::marker {
  color: var(--color-accent);
}

.editor ul {
  list-style: disc inside;
}

.editor ol {
  list-style: decimal inside;
}

.editor iframe {
  width: 100%;
  height: 400px;
}

.editor a {
  text-decoration: underline;
  color: var(--color-accent);
}

.editor strong,
.editor b {
  font-weight: 600;
}

/* Blockquote */
.editor blockquote {
  padding: 16px 32px;
  font-style: italic;
  background: var(--color-blue-trans);
  border-left: 2px solid var(--color-blue);
}

/* --------------------------------------------------------------------------------------
 *
 *  Site Header
 *
 *  —— Headbar
 *  —— Sidebar
 *
----------------------------------------------------------------------------------------- */

:root {
  /* Site Header: Headbar */
  --headbar-height: 120px;

  /* Site Header: Sidebar */
  --sidebar-width: 350px;
}

/* Site Header */
.site-header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  position: fixed;
  background: transparent;
  color: var(--color-white);
  transition: ease-in-out 0.16s;
}

/* Onscroll / Site Header */
.onscroll .site-header {
  background: var(--color-black-light);
  box-shadow: 0px 0px 32px 0px rgba(0, 0, 0, 0.08);
}

/*  Site Header: Headbar
----------------------------------------------------------------------------------------- */
/* Headbar */
.headbar {
  display: flex;
  align-items: center;
  height: var(--headbar-height);
  border-bottom: 1px solid var(--color-white-trans);
}

.headbar [class*="col-"] {
  display: flex;
  column-gap: 32px;
  align-items: center;
  justify-content: flex-end;
}

.headbar [class*="col-"] > *:first-child {
  margin-right: auto;
}

/* Headbar Panel */
.headbar-panel {
  display: flex;
  column-gap: 32px;
  text-align: right;
  align-items: center;
  justify-content: space-between;
}

/*  Site Header: Navbar
----------------------------------------------------------------------------------------- */
.navbar {
  border-top: 1px solid var(--color-white-trans);
}

.navbar [class*="col-"] {
  display: flex;
  column-gap: 32px;
  align-items: center;
  justify-content: space-between;
}

/*  Navbar: Navbar Navigation
------------------------------------------ */
.navbar-navigation .menu {
  display: flex;
  column-gap: 32px;
}

/* Headbar Navigation / Menu Item */
.navbar-navigation .menu-item {
  min-height: 32px;
  display: flex;
  column-gap: 8px;
  cursor: pointer;
  position: relative;
  align-items: center;
  transition: ease-in-out 0.16s;
  justify-content: space-between;
  max-width: 400px;
  margin-bottom: 5px;
}

.navbar-navigation .menu-item > a {
  width: 100%;
  display: block;
}

.navbar-navigation .menu-item:hover > a {
  color: var(--color-accent);
}

.navbar-navigation .current-menu-item > a {
  color: var(--color-accent);
}

/* Menu Item Has Children */
.navbar-navigation .menu-item-has-children::after {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
}

/* Headbar Navigation / Sub Menu */
.navbar-navigation .sub-menu {
  left: 0;
  top: 30px;
  padding: 16px;
  display: none;
  position: absolute;
  border-radius: 4px;
  min-width: max-content;
  background: var(--color-white);
  color: var(--color-black) !important;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.28);
}

.navbar-navigation .menu > li > .sub-menu {
  column-count: 2;
}

/* Headbar Navigation / Sub Menu First Level */
.navbar-navigation .menu > *::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z'/%3E%3C/svg%3E")
    no-repeat center center / contain;
}

.navbar-navigation .menu > *:hover > .sub-menu {
  display: block;
}

/* Headbar Navigation / Sub Menu Second Level */
.navbar-navigation .menu > * > * > *::after {
  background: url("assets/icons/chevron-right.svg") no-repeat center center / contain;
}

.navbar-navigation .menu > * > * > *:hover > .sub-menu {
  top: 0;
  left: 100%;
  display: block;
  z-index: 1;
}

.navbar-navigation .menu li ul *:hover > .sub-menu {
  top: 0;
  left: 100%;
  display: block;
  z-index: 1;
}

.navbar-navigation .menu > * > * > * > * > *::after {
  background: url("assets/icons/chevron-right.svg") no-repeat center center / contain;
}

/*  Site Header: Sidebar
----------------------------------------------------------------------------------------- */
.sidebar {
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  z-index: 999;
  position: fixed;
  overflow-x: hidden;
  color: var(--color-white);
  transition: ease-in-out 0.16s;
  background: var(--color-black-light);
  -webkit-box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
  -ms-box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
}

.sidebar.open,
.sidebar > * {
  display: flex;
  flex-direction: column;
  width: var(--sidebar-width);
}

.sidebar > * > *:not(:last-child) {
  margin: 0 0 16px 0;
}

/* Sidebar Head */
.sidebar-head {
  display: flex;
  padding: 0 32px;
  flex-direction: column;
  justify-content: center;
  min-height: var(--headbar-height);
}

/* Sidebar Body */
.sidebar-body {
  padding: 32px;
  border-top: 1px solid var(--color-white-trans);
  border-bottom: 1px solid var(--color-white-trans);
}

/* Sidebar Footer */
.sidebar-footer {
  padding: 32px;
}

/*  Sidebar: Sidebar Navigation
------------------------------------------ */
.sidebar-navigation .menu {
  display: flex;
  flex-direction: column;
}

/* Headbar Navigation / Menu Item */
.sidebar-navigation .menu-item {
  display: flex;
  position: relative;
  flex-direction: column;
}

.sidebar-navigation .menu-item:not(:last-child) {
  margin: 0 0 16px 0;
  padding: 0 0 16px 0;
  border-bottom: 1px solid var(--color-white-trans);
}

.sidebar-navigation .menu-item > a {
  display: block;
  min-width: max-content;
}

/* Sidebar Navigation / Sub Menu Toggle */
.sidebar-navigation .sub-menu-toggle {
  right: 0;
  top: -5px;
  width: 32px;
  height: 32px;
  display: block;
  position: absolute;
  transition: ease-in-out 0.16s;
  background: url("assets/icons/chevron-down.svg") no-repeat center center / 24px 24px;
}

.sidebar-navigation .sub-menu-toggle.active {
  transform: rotate(180deg);
}

/* Sidebar Navigation / Sub Menu */
.sidebar-navigation .sub-menu {
  display: none;
}

.sidebar-navigation .sub-menu.active {
  display: block;
  margin: 24px 0 0 24px;
}

/*  Sidebar: Menu Toggle
------------------------------------------ */
.menu-toggle {
  width: 35px;
  height: 26px;
  z-index: 1001;
  display: none;
  cursor: pointer;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}

.menu-toggle span {
  left: 0;
  opacity: 1;
  height: 1px;
  width: 100%;
  display: block;
  border-radius: 0;
  position: absolute;
  background: var(--color-white);
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.menu-toggle.change span {
  background: var(--color-white);
}

.menu-toggle span:nth-child(1) {
  top: 0px;
}

.menu-toggle span:nth-child(2),
.menu-toggle span:nth-child(3) {
  top: 12px;
}

.menu-toggle span:nth-child(4) {
  top: 24px;
}

.menu-toggle.change span:nth-child(1) {
  top: 14px;
  width: 0%;
  left: 50%;
}

.menu-toggle.change span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.menu-toggle.change span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.menu-toggle.change span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

/*  Responsive
------------------------------------------ */
@media only screen and (max-width: 1280px) {
  /* Site Header */
  .site-header {
    top: 0 !important;
  }
  /* Menu Toggle */
  .menu-toggle {
    display: block;
  }
  /* Headbar Panel */
  .headbar-panel {
    display: none;
  }
  /* Navbar */
  #navbar {
    display: none;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  Site Page
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------------------
 *
 *  Site Footer
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */
#colophon {
  color: var(--color-white);
  padding: var(--section-padding) 0;
  background: var(--color-black-light);
}

/*  Colophon Widget
------------------------------------------ */
.colophon-widget {
  display: flex;
  flex-direction: column;
}

/* Colophon Widget Wrapper */
.colophon-widget__wrapper {
  display: flex;
  row-gap: 24px;
  flex-wrap: wrap;
  column-gap: 24px;
  justify-content: space-between;
}

.colophon-widget__wrapper:not(:last-child) {
  margin: 0 0 40px 0;
  padding: 0 0 40px 0;
  border-bottom: 1px solid var(--color-white-trans);
}

.colophon-widget__wrapper > *:last-child {
  text-align: right;
}

/*  Colophon Navigation
------------------------------------------ */
.colophon-navigation .menu {
  display: flex;
  row-gap: 8px;
  flex-wrap: wrap;
  column-gap: 8px;
}

.colophon-navigation .menu-item {
  width: calc(50% - 4px);
}

/* Colophon Navigation / Sub Menu */
.colophon-navigation .sub-menu {
  display: none;
}

/*  Responsive
------------------------------------------ */
@media only screen and (max-width: 768px) {
  /* Colophon Widget Wrapper */
  .colophon-widget__wrapper > * {
    text-align: left !important;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  Section
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */

:root {
  --section-padding: 80px;
}

section {
  padding: var(--section-padding) 0;
}

/*  section: feed
----------------------------------------------------------------------------------------- */
.section-feed > section:nth-child(odd) {
  border-radius: 8px;
  margin: 0 var(--section-padding);
  background: var(--color-accent-trans);
  border: 1px solid var(--color-black-trans);
}

/*  section: overlay
----------------------------------------------------------------------------------------- */
section.overlay {
  padding: 0;
}

/* overlay area */
.overlay-area {
  display: flex;
  align-items: center;
  color: var(--color-white);
  padding: var(--section-padding) 0;
  background: rgba(0, 0, 0, 0.8);
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 768px) {
  /* Root */
  :root {
    --section-padding: 32px;
  }
}

/*  Section: Contacts
----------------------------------------------------------------------------------------- */
section#contacts {
  display: flex;
  row-gap: 32px;
  position: relative;
  flex-direction: column;
}

/* one embed per office, splitting the map area side by side */
.contacts-map {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 256px;
  aspect-ratio: 1 / 1;
  border: 0;
  filter: grayscale(100%);
}

/*  Responsive
------------------------------------------ */
@media only screen and (max-width: 992px) {
  section#contacts {
    padding-bottom: 0;
  }
  /* Contacts Map — stack the embeds below the contacts */
  #contacts-map {
    position: unset;
    flex-direction: column;
  }
}

/*  Section: Announce
----------------------------------------------------------------------------------------- */
section.announce {
  position: relative;
}

/* Announce Image */
.announce-branding {
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  position: absolute;
}

.announce-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 16px 0;
}

/*  Responsive
------------------------------------------ */
@media only screen and (max-width: 992px) {
  /* Announce Image */
  .announce-branding {
    width: 100%;
    position: unset;
  }
}

/*  Section: Hero
----------------------------------------------------------------------------------------- */

/* Hero Home / Hero Overlay */
section#hero-home .overlay-area {
  min-height: calc(var(--vh, 1vh) * 100);
  padding: calc(var(--section-padding) + var(--headbar-height)) 0 var(--section-padding) 0;
}

/* Hero Home / Hero Overlay */
section#hero-page .overlay-area {
  min-height: 420px;
  padding: calc(var(--section-padding) + 190px) 0 var(--section-padding) 0;
}

/*  Hero Meta
------------------------------------------ */
.hero-meta {
  display: flex;
  row-gap: 16px;
  text-align: center;
  flex-direction: column;
  justify-content: center;
}

/*  Responsive
------------------------------------------ */
@media only screen and (max-width: 992px) {
  /* Hero Home / Hero Overlay */
  section#hero-page .overlay-area {
    min-height: unset;
    padding: calc(var(--section-padding) + var(--headbar-height)) 0 var(--section-padding) 0;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  Component
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */

/*  Component: Thumbnail
----------------------------------------------------------------------------------------- */
[class*="__thumbnail"] {
  width: 100%;
  height: 320px;
  display: block;
  line-height: 0;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  transition: ease-in-out 0.16s;
  background: rgba(0, 97, 98, 0.08);
}

[class*="__thumbnail"] > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: ease-in-out 0.15s;
}

[class*="__thumbnail"]:hover > img {
  scale: 1.05;
  filter: unset;
}

/*  Component: Swiper
----------------------------------------------------------------------------------------- */

/*  Swiper Slide
------------------------------------------ */
.swiper-slide {
  height: auto !important;
}

/*  Swiper Control
------------------------------------------ */
.swiper-control {
  display: flex;
  column-gap: 16px;
  align-items: center;
}

/* Swiper Control White */
.swiper-control.white {
  color: var(--color-white);
}

.swiper-control.white > * {
  border-color: var(--color-white);
}

/* Swiper Buttons */
.swiper-prev,
.swiper-next {
  width: 48px;
  height: 48px;
  display: flex;
  font-size: 24px;
  cursor: pointer;
  text-align: center;
  align-items: center;
  border-radius: 4px;
  justify-content: center;
  transition: ease-in-out 0.16s;
  border: 1px solid var(--color-black);
}

.swiper-prev:hover,
.swiper-next:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/*  Component: Headline
----------------------------------------------------------------------------------------- */
.headline {
  row-gap: 16px;
  display: flex;
  flex-direction: column;
}

/* Headline Center */
.headline.center {
  text-align: center;
  align-items: center;
}

/*  Headline Wrapper
------------------------------------------ */
.headline-wrapper {
  row-gap: 32px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 32px;
  position: relative;
  align-items: center;
  justify-content: space-between;
}

/*  Headline Label
------------------------------------------ */
.headline-label {
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
}

/*  Headline Title
------------------------------------------ */
.headline-title {
  line-height: 1.2;
  font-weight: 800;
  font-size: var(--font-size-h2);
}

/*  component: accordion
----------------------------------------------------------------------------------------- */
.accordion {
  position: relative;
}

/*  accordion group
------------------------------------------ */
.accordion-group {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/*  accordion button
------------------------------------------ */
.accordion-button {
  gap: 32px;
  display: flex;
  cursor: pointer;
  position: relative;
  border-radius: 4px;
  padding: 16px 56px 16px 16px;
  transition: ease-in-out 0.16s;
  justify-content: space-between;
  border: 1px solid var(--color-black-trans);

  /* font style */
  font-size: 16px;
  font-weight: 600;
  line-height: 1.56;
}

/* accordion button active */
.accordion-button.active,
.accordion-button:hover {
  color: var(--color-accent);
  background: var(--color-accent-trans);
}

/* accordion toggle selection */
.accordion-button::selection {
  background: transparent;
}

/* accordion toggle toggle */
.accordion-toggle {
  top: 50%;
  right: 16px;
  width: 24px;
  height: 24px;
  position: absolute;
  transition: ease-in-out 0.16s;
  transform: translateY(-50%) rotate(0) !important;
}

.accordion-button.active .accordion-toggle {
  transform: translateY(-50%) rotate(135deg);
}

/*  accordion content
------------------------------------------ */
.accordion-content {
  display: none;
}

/* Spacing lives on the inner content, not the panel itself: with
   box-sizing:border-box a top padding clamps the collapsed height to its size,
   making the slide jump. Padding on the child is clipped by overflow:hidden, so
   the panel animates from a true 0. */
.accordion-content > * {
  padding: 16px 16px 0 16px;
}

/*  Component: Widget
----------------------------------------------------------------------------------------- */
.widget {
  row-gap: 16px;
  display: flex;
  flex-direction: column;
}

/*  Widget Meta
------------------------------------------ */
.widget-meta {
  row-gap: 8px;
  display: flex;
  flex-direction: column;
}

/* Widget Title */
.widget-title {
  font-weight: 600;
  line-height: normal;
  font-size: var(--font-size-middle);
}

/* Widget Icon */
.widget-icon {
  width: 80px;
  height: 80px;
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/*  Widget Box
------------------------------------------ */
.widget-box {
  z-index: 1;
  height: 100%;
  display: flex;
  row-gap: 16px;
  padding: 48px;
  position: relative;
  border-radius: 4px;
  flex-direction: column;
  color: var(--color-white);
  backdrop-filter: blur(48px);
  background: rgba(16, 16, 16, 0.08);
  border: 1px solid var(--color-black-light);
}

/* Widget Box Beige */
.widget-box.beige {
  color: var(--color-black);
  background: var(--color-beige);
  border-color: transparent;
}

/* Widget Box / Buttond Details */
.widget-box .button-details {
  margin-top: auto;
}

/*  Responsive
------------------------------------------ */
@media only screen and (max-width: 768px) {
  /* Widget Box */
  .widget-box {
    padding: 24px;
  }
}

/*  Component: Review
----------------------------------------------------------------------------------------- */

/*  Review: Review Box
------------------------------------------ */

.review-box {
  height: 100%;
  row-gap: 24px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

/* Review Box Text */
.review-box__text {
  height: 100%;
  padding: 40px;
  border-radius: 4px;
  background: var(--color-beige);
}

/* Review Box Meta */
.review-box__meta {
  row-gap: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
}

/* Review Box Thumbnail */
.review-box__thumbnail {
  width: 88px;
  height: 88px;
  overflow: hidden;
  min-width: 88px;
  min-height: 88px;
  border-radius: 100%;
  background: var(--color-gray-light);
}

.review-box__thumbnail > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Review Box Title */
.review-box__title {
  font-weight: 600;
  font-size: var(--font-size-middle);
}

/* Review Box Excerpt */
.review-box__excerpt {
  font-style: italic;
}

/*  Rating
------------------------------------------ */
.rating {
  width: max-content;
  position: relative;
  min-width: max-content;
}

/* Rating Range */
.rating-range {
  top: 0;
  right: 0;
  z-index: 0;
  height: 100%;
  position: absolute;
  background: rgba(255, 255, 255, 0.72);
}

/* Rating Star */
.rating-star {
  width: 24px;
  height: 24px;
  color: gold;
}

/*  Component: Service
----------------------------------------------------------------------------------------- */

/*  Component: Contact
----------------------------------------------------------------------------------------- */

/*  Contact Feed
------------------------------------------ */
.contact-feed {
  row-gap: 16px;
  display: flex;
  flex-direction: column;
}

/*  Contact List
------------------------------------------ */
.contact-list {
  row-gap: 8px;
  display: flex;
  flex-direction: column;
}

/* Contact List [tel] */
.contact-list [href^="tel:"] {
  font-weight: 500;
  text-decoration: underline;
}

/*  Contact Address
------------------------------------------ */
/* Addresses laid out side by side, wrapping when there is no room */
.contact-addresses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}

.contact-address {
  position: relative;
}

.contact-address__location,
.contact-address__info {
  transition: ease-in-out 0.08s;
}

/* Contact Address Info */
.contact-address__info {
  top: 50%;
  left: 50%;
  opacity: 0;
  z-index: 1;
  position: absolute;
  transform: translate(-50%, -50%);
}

.contact-address:hover .contact-address__info {
  opacity: 1;
}

/* Contact Address Location */
.contact-address__location {
  font-weight: 600;
}

.contact-address:hover .contact-address__location {
  opacity: 0;
}

/*  Component: Social Media
----------------------------------------------------------------------------------------- */
.social-media {
  display: flex;
  column-gap: 16px;
  align-items: center;
}

/* Social Media White */
.social-media.white > * {
  border: 1px solid var(--color-white);
}

/* Social Media / Social */
.social {
  width: 48px;
  height: 48px;
  display: flex;
  font-size: 24px;
  min-width: 48px;
  min-height: 48px;
  text-align: center;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.16s;
  border: 1px solid var(--color-black);
}

.social:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/*  Component: Site Branding
----------------------------------------------------------------------------------------- */
.site-branding {
  display: flex;
  align-items: center;
}

/* Site Branding / Site Logo */
.site-branding .site-logo {
  max-height: 80px;
}

/*  Component: Buttons
----------------------------------------------------------------------------------------- */
.buttons {
  display: flex;
  column-gap: 16px;
  align-items: center;
  min-width: max-content;
}

/* Buttons Center */
.buttons.center {
  justify-content: center;
}

/*  Button: Default
------------------------------------------ */
.buttons [class*="button-"] {
  gap: 8px;
  height: 48px;
  display: flex;
  outline: none;
  cursor: pointer;
  padding: 0px 32px;
  text-align: center;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: ease-in-out 0.16s;
  border: 1px solid transparent;
  background-color: var(--color-accent);
}

/* Button XL */
.buttons .button-xl {
  height: 56px;
}

.buttons .button-xs {
  height: 40px;
}

/*  Button Details
------------------------------------------ */
.button-details {
  display: flex;
  column-gap: 4px;
  align-items: center;
  transition: ease-in-out 0.16s;
}

.button-details:hover {
  column-gap: 8px;
  color: var(--color-accent);
}

/*  Component: Form
----------------------------------------------------------------------------------------- */
form {
  row-gap: 16px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
}

input,
textarea {
  width: 100%;
  border: none;
  border-radius: 4px;
  padding: 16px 24px;
  background: var(--color-white);
}

textarea {
  height: 196px;
}

/* Input [type="submit"] */
input[type="submit"] {
  width: 100%;
}

/*  Form Layout
------------------------------------------ */
[class*="form-column__"] {
  width: 100%;
  display: flex;
  row-gap: 16px;
  flex-direction: column;
}

/* Input Field 50% */
.form-column__50 {
  width: calc(50% - 8px);
}

/*  Contact Form 7
------------------------------------------ */

/* .wpcf7-form-control-wrap */
.wpcf7-form-control-wrap {
  row-gap: 16px;
  display: flex;
  flex-direction: column;
}

/* .wpcf7-spinne */
.wpcf7-spinner {
  top: 50%;
  right: 25px;
  position: absolute;
  transform: translateY(-50%);
}

/* .wpcf7-response-output */
.wpcf7-response-output {
  font-size: 12px;
  border-width: 1px;
  border-radius: 4px;
  margin: 0 !important;
  padding: 16px !important;
}

/*  Responsive
------------------------------------------ */
@media only screen and (max-width: 768px) {
  /* Form */
  form {
    flex-direction: column;
  }
  /* Form Column */
  [class*="form-column__"] {
    width: 100% !important;
  }
}

/*  component: modal
----------------------------------------------------------------------------------------- */
.modal {
  display: none;
  border-radius: 4px;
}

/*  Component: Comments
----------------------------------------------------------------------------------------- */

.comment-list > .comment {
  padding: 32px;
  background: var(--color-gray-light);
  border: 1px solid var(--color-gray-light);
}

.comment-list > .comment:not(:last-child),
.comment-list > .comment ul.children .comment:not(:last-child) {
  margin-bottom: 32px;
}

.comment-list > .comment ul.children {
  margin: 32px 0 0 32px;
}

.comment-body {
  padding: 32px;
  background: var(--color-white);
}

.comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment-meta > .comment-author {
  display: flex;
  align-items: center;
}

.comment-meta > .comment-author > .avatar {
  margin-right: 10px;
}

.comment-meta > .comment-metadata {
  font-size: 12px;
}

.comment-content {
  padding: 16px 0;
  margin: 16px 0;
  border-top: 1px solid var(--color-gray-light);
  border-bottom: 1px solid var(--color-gray-light);
}

/*  Component: Post Navigation / Post Pagintaion / Comment Navigation
----------------------------------------------------------------------------------------- */

/* .navigation */
.navigation > .screen-reader-text {
  display: none;
}

/* .navigation > .nav-links */
.nav-links {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.nav-links > [class*="nav-"] {
  max-width: 320px;
}

.nav-links > .nav-next {
  margin-left: auto;
}

.nav-links > .nav-previous {
  margin-right: auto;
}

.nav-links > [class*="nav-"] > a {
  display: flex;
  line-height: 1.6;
  align-items: flex-start;
}

.nav-links > .nav-next > a {
  text-align: right;
}

.nav-links > .nav-previous > a {
  text-align: left;
}

.nav-links > .nav-previous > a::before,
.nav-links > .nav-next > a::after {
  content: "";
  min-width: 24px;
  min-height: 24px;
  display: block;
}

.nav-links > .nav-previous > a::before {
  margin-right: 8px;
  background: url("assets/icons/chevron-left.svg") no-repeat center center / contain;
}

.nav-links > .nav-next > a::after {
  margin-left: 8px;
  background: url("assets/icons/chevron-right.svg") no-repeat center center / contain;
}

/* .pagination > .nav-links */
.pagination .nav-links {
  align-items: center;
  justify-content: center;
}

.pagination .nav-links > .page-numbers {
  width: 48px;
  height: 48px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.pagination .nav-links > .page-numbers.prev {
  background: url("assets/icons/chevron-left.svg") no-repeat center center / contain;
}

.pagination .nav-links > .page-numbers.next {
  background: url("assets/icons/chevron-right.svg") no-repeat center center / contain;
}

.pagination .nav-links > .page-numbers:not(:last-child) {
  margin-right: 16px;
}

.swiper-wrapper {
  padding: 1px 0 1px 0px !important;
}

/*  component: card
----------------------------------------------------------------------------------------- */
.card {
  gap: 16px;
  height: 100%;
  padding: 32px;
  display: flex;
  overflow: hidden; /* clip the full-bleed thumbnail to the card radius */
  border-radius: 8px;
  flex-direction: column;
  background: var(--color-blue-trans);
  border: 1px solid rgba(33, 33, 81, 0.16);
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.card:hover {
  background: var(--color-white);
  border-color: rgba(33, 33, 81, 0.32);
  box-shadow: 0 10px 28px rgba(33, 33, 81, 0.1);
}

/* pin the CTA to the bottom so buttons align across uneven-height cards */
.card .buttons {
  margin-top: auto;
}

/*  card title
------------------------------------------ */
.card-title {
  font-size: var(--font-size-large);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-blue);
  transition: color 0.16s ease;
}

.card:hover .card-title {
  color: var(--color-accent);
}

/*  card excerpt
------------------------------------------ */
.card-textarea {
  color: var(--color-gray-dark);
}

/*  card thumbnail — optional full-bleed image at the top of the card
------------------------------------------ */
.card__thumbnail {
  position: relative;
  display: block;
  /* full-bleed: span the card edge to edge, cancelling its 32px padding */
  width: calc(100% + 64px);
  margin: -32px -32px 0;
  height: auto; /* override the shared [class*="__thumbnail"] height: 320px */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0; /* corners are clipped by the card's own radius */
  background: var(--color-blue-trans);
}

.card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card__image {
  transform: scale(1.05);
}

/* date badge over the image */
.card__date {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 6px 12px;
  font-size: var(--font-size-small);
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
  background: var(--color-accent);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(135, 7, 7, 0.3);
}

.site-header .navbar .menu .menu-item-1346:hover .sub-menu {
  top: -280%;
}

.hero-home-image,
.overlay-image {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

/*  component: language switcher
----------------------------------------------------------------------------------------- */
:root {
  --language-switcher-icon: url("https://api.iconify.design/cil/language.svg") no-repeat center / contain;
}

.wpm-language-switcher {
  gap: 8px;
  display: flex;
  position: relative;
  align-items: center;

  font-weight: 600;
}

.wpm-language-switcher::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  background: var(--color-white);

  -webkit-mask: var(--language-switcher-icon);
  mask: var(--language-switcher-icon);
}

.wpm-switcher-list::before {
  background: var(--color-white);
}

.wpm-switcher-list li > span,
.wpm-switcher-list li a {
  color: inherit !important;
}

/* wpm language dropdown */
.wpm-language-dropdown {
  flex-direction: column;
  min-width: max-content;
  display: flex !important;

  left: 50%;
  position: absolute;
  top: calc(100% + 8px) !important;
  transform: translateX(-50%);
  color: var(--color-black);

  opacity: 0;
  visibility: hidden;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.08);
  transition:
    opacity 0.16s ease-in-out,
    visibility 0.16s ease-in-out;

  padding: 24px !important;
  border-radius: 0;
  background: var(--color-white);
}

.wpm-language-switcher:hover .wpm-language-dropdown {
  opacity: 1;
  visibility: visible;
}

/*  component: form
----------------------------------------------------------------------------------------- */
form br {
  display: none;
}

/*  Component: Team Card
----------------------------------------------------------------------------------------- */
.team-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2fr; /* photo : body (3 equal thirds) */
  gap: 64px;
  align-items: start;

  padding: clamp(16px, 9.375vw - 56px, 64px); /* 16 → 64 across 768–1280 */
  background: var(--color-gray-light);

  border-radius: 8px;
  border: 1px solid var(--color-black-trans);
}

/* Team Card / Body: two columns (info | description) + full-width services row */
.team-card__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0; /* dividers + padding provide the gutter */
  row-gap: clamp(16px, 3.125vw - 8px, 32px); /* 16 → 32 across 768–1280 */
  align-items: stretch; /* equal-height columns so the divider spans fully */
}

.team-card__body > .team-card__column:nth-child(2) {
  padding-right: 40px;
}

.team-card__body > .team-card__column:nth-child(3) {
  padding-left: 40px;
  border-left: 1px solid var(--color-black-trans);
}

/* Team Card / Photo */
.team-card__thumbnail {
  display: block;
  width: 100%;
  height: auto; /* override the shared [class*="__thumbnail"] height: 320px */
  aspect-ratio: 3 / 4;
}

.team-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Team Card / Columns */
.team-card__column {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3.125vw - 8px, 32px); /* 16 → 32 across 768–1280 */
  align-items: flex-start;
}

/* Team Card / Meta — full-width header strip above the two columns */
.team-card__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-card__name {
  font-size: var(--font-size-h3);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-black);
}

.team-card__position {
  font-weight: 600;
  color: var(--color-black);
}

/* Team Card / Contacts */
.team-card__contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-card__contacts-label {
  font-size: var(--font-size-small);
  color: var(--color-gray-dark);
}

.team-card__contact {
  font-size: var(--font-size-middle);
  color: var(--color-black);
  transition: color 0.16s ease-in-out;
}

.team-card__contact:hover {
  color: var(--color-accent);
}

/* Team Card / Location */
.team-card__location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gray-dark);
}

.team-card__location-icon {
  flex-shrink: 0;
  color: var(--color-accent);
}

/* Team Card / Short description */
.team-card__excerpt {
  color: var(--color-gray-dark);
}

/* Team Card / Expertise — full-width divider/expander beneath both columns, so
   a long chip list grows the card height without unbalancing the columns. */
.team-card__expertise {
  grid-column: 1 / -1;
  border-top: 1px solid var(--color-black-trans);
}

.team-card__expertise-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  font-family: inherit;
  font-size: var(--font-size-middle);
  font-weight: 700;
  color: var(--color-black);
  background: none;
  border: 0;
  cursor: pointer;
}

.team-card__expertise-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--color-accent);
  border: 1px solid var(--color-black-trans);
  transition:
    transform 0.2s ease,
    background-color 0.16s ease;
}

.team-card__expertise-toggle:hover .team-card__expertise-icon {
  background-color: var(--color-accent-trans);
}

.team-card__expertise.is-open .team-card__expertise-icon {
  transform: rotate(180deg);
}

/* Team Card / Practice areas (chips revealed by the expander) */
.team-card__services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-card__service {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 4px;
  color: var(--color-blue);
  background: var(--color-blue-trans);
  border: 1px solid rgba(33, 33, 81, 0.16);
  transition: ease-in-out 0.08s;
}

.team-card__service:hover {
  color: var(--color-white);
  background: var(--color-blue);
  border-color: var(--color-blue);
}

/* Team Card / Details link */
.team-card__link {
  font-weight: 700;
  color: var(--color-blue);
  transition: color 0.08s ease-in-out;
}

.team-card__link:hover {
  color: var(--color-accent);
}

/* Team Card / Compact — single-column sidebar variant (service pages) */
.team-card--compact {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0px;
  border: none;
  font-size: 12px;
}

.team-card--compact .team-card__thumbnail {
  aspect-ratio: 1 / 1; /* square crop, per the brief (not the 3:4 default) */
}

.team-card--compact .team-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-card--compact .team-card__meta {
  gap: 4px;
}

.team-card--compact .team-card__name {
  font-size: var(--font-size-large);
}

/* name links to the member's page in this variant */
a.team-card__name {
  transition: color 0.16s ease-in-out;
}

a.team-card__name:hover {
  color: var(--color-blue);
}

.team-card--compact .buttons {
  width: 100%;
  min-width: 0;
}

.team-card--compact .buttons .button- {
  width: 100%;
}

/* While the sidebar is full-width (below the layout breakpoint) but the screen
   is not yet phone-sized, lay the compact card out horizontally so the square
   photo doesn't blow up to the column width. It folds to a vertical stack only
   at ≤576px. */
@media only screen and (min-width: 577px) and (max-width: 1280px) {
  .site-layout__sidebar .team-card--compact {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }

  .site-layout__sidebar .team-card--compact .team-card__thumbnail {
    flex: none;
    width: clamp(200px, 30%, 300px);
  }

  .site-layout__sidebar .team-card--compact .team-card__body {
    flex: 1;
    min-width: 0;
  }
}

/* Archive filters — taxonomy chips with client-side filtering */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-chip {
  padding: 10px 18px;
  font-family: inherit;
  font-size: var(--font-size-middle);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-blue);
  background: var(--color-blue-trans);
  border: 1px solid rgba(33, 33, 81, 0.16);
  border-radius: 4px;
  cursor: pointer;
  transition: ease-in-out 0.16s;
}

.filter-chip:hover {
  color: var(--color-white);
  background: var(--color-blue);
  border-color: var(--color-blue);
}

.filter-chip.is-active {
  color: var(--color-white);
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* Hidden by the active filter. */
.is-hidden {
  display: none !important;
}

/* Document card — framed certificate/diploma/scan (opens full size in Fancybox) */
.document-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* white mat: the whole document is shown (contain), never cropped */
.document-card__frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  padding: 16px;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-black-trans);
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.document-card__frame:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.document-card__image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* zoom hint, always visible */
.document-card__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-accent);
  transition: transform 0.2s ease;
}

.document-card__frame:hover .document-card__zoom {
  transform: scale(1.08);
}

/* Tablet (577–1280): photo + info side by side on top, description full-width below */
@media only screen and (min-width: 577px) and (max-width: 1280px) {
  .team-card {
    grid-template-columns: minmax(0, 1fr) 1.4fr;
    grid-template-rows: auto 1fr auto; /* slack from the tall photo goes into the info row, below its content */
    grid-template-areas:
      "photo meta"
      "photo info"
      "desc  desc";
    column-gap: 40px;
    row-gap: 32px;
  }

  /* Lift the body's children into the card grid so they can be placed by area. */
  .team-card__body {
    display: contents;
  }

  .team-card__thumbnail {
    grid-area: photo;
  }

  .team-card__meta {
    grid-area: meta;
  }

  /* info column: drop the desktop divider gutter */
  .team-card__body > .team-card__column:nth-child(2) {
    grid-area: info;
    padding-right: 0;
  }

  /* description column → full-width row beneath, with a top divider */
  .team-card__body > .team-card__column:nth-child(3) {
    grid-area: desc;
    padding-left: 0;
    border-left: 0;
  }
}

/* Mobile (≤576): single column, full-width photo, everything stacked */
@media only screen and (max-width: 576px) {
  .team-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* photo spans the full width */
  .team-card__thumbnail {
    width: 100%;
  }

  /* body collapses to a single column; drop the vertical divider */
  .team-card__body {
    grid-template-columns: 1fr;
  }

  .team-card__body > .team-card__column:nth-child(2) {
    padding-right: 0;
  }

  .team-card__body > .team-card__column:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}
