/*
Theme Name: ECHR Theme
Theme URI: https://www.echrblog.com/
Author: ECHR Editorial Team
Description: Content-first academic journal block theme for long-form legal commentary.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 8.1
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: echr-theme
*/

:root {
  --echr-border: #d1d1d1;
  --echr-muted: var(--wp--preset--color--muted);
  --echr-accent: #0000b4;
  --wp--preset--color--accent: #0000b4;
  --echr-panel: var(--wp--preset--color--panel);
  --echr-focus: #1a73e8;
  --echr-card-shadow: 0 10px 30px -18px color-mix(in srgb, var(--wp--preset--color--ink) 32%, transparent);
}

body {
  background:
    radial-gradient(circle at 95% 0%, color-mix(in srgb, var(--wp--preset--color--paper) 91%, var(--echr-accent) 9%) 0%, transparent 38%),
    linear-gradient(180deg, var(--wp--preset--color--paper) 0%, #fbfaf8 100%);
  padding-left: 0;
  padding-right: 0;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
  transition: color 160ms ease, text-decoration-thickness 160ms ease;
}

a:hover {
  text-decoration-thickness: 2px;
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.wp-block-navigation a:focus-visible {
  outline: 3px solid var(--echr-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.layout-shell {
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: flex-start;
}

/* Post body: undo WP global .is-layout-constrained child rules; Blogger imports use .separator. */
.entry-content.is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
h2, h3, h4 {
    font-weight: normal !important;
}

.entry-content>p:first-child:has(> a:only-child > img:only-child) {
  display: none;
}
.site-header-top {
    margin-top: 20px !important;
}
.entry-content div {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100%;
  box-sizing: border-box;
}

/* Blogger .separator: strip inherited layout; hide first only when it is a direct child of .entry-content */
.entry-content>.separator {
  display: none !important;
}

.entry-content>.separator~.separator {
  display: block !important;
}

.page-featured-image {
  margin: 0 0 1rem;
  width: 100%;
  max-width: 100%;
}

.page-featured-image img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

.entry-content .separator {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-block-start: 0;
  margin-block-end: 0;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  padding: 0;
  background: none;
  clear: both;
}

.content-column>.wp-block-query>.wp-block-post-template {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.4rem);
}

.site-header-top {
  margin-bottom: 0rem;
}
.site-header-left {
  display: flex;
  align-items: center;
}
.site-header-left .site-branding-mark {
  margin: 0;
  display: flex;
}

.site-branding .wp-block-site-title {
  margin-bottom: 0.25rem;
  letter-spacing: 0.01em;
}

.site-branding-inner {
  gap: 0.75rem;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
}

.site-logo {
  width: 120px;
  height: auto;
  max-width: 120px;
}

.site-branding-mark {
  margin: 0;
}

.site-branding-mark a {
  display: inline-flex;
  line-height: 0;
}

.site-branding-mark img {
  width: 140px;
  height: auto;
  max-width: 140px;
}

.site-header-right {
  display: flex;
  justify-content: flex-end;
}

.header-path-art {
  width: min(100%, 560px);
  min-height: 140px;
  background-image: url("/wp-content/themes/echr-theme/assets/path2.svg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
}

.site-header-mobile-art {
  display: none;
  width: 100%;
  justify-content: center;
  flex-basis: 100%;
  align-items: center;
  margin-top: 0 !important;
}

.site-header-mobile-art img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
}

.site-header-nav {
  width: 100%;
  border-top: 1px solid var(--echr-border);
  border-bottom: 1px solid var(--echr-border);
  padding-top: 0.65rem;
  margin-top: 20px;
  margin-bottom: 40px;
  padding-bottom: 0.65rem;
  margin-block-end: 40px !important;
}

.site-branding .wp-block-site-tagline {
  margin-top: 0;
}

.site-main-nav {
  gap: 30px;
}

.site-main-nav .wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0.1rem 0.25rem;
  border-radius: 6px;
  font-family: var(--wp--preset--font-family--serif-display);
  font-size: 20px;
  font-weight: normal;
}

.site-main-nav .current-menu-item>.wp-block-navigation-item__content,
.site-main-nav .current_page_item>.wp-block-navigation-item__content,
.site-main-nav .current-menu-ancestor>.wp-block-navigation-item__content {
  color: var(--echr-accent);
  text-decoration: underline;
}

.site-main-nav .wp-block-navigation-item__content:hover {
  color: var(--echr-accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
  background: transparent;
}

.tnp-subscription br {
  display: none !important;
}

.tnp-subscription p:empty {
  display: none !important;
}

.tnp-subscription input.tnp-submit {
  background-color: var(--echr-accent) !important;
  font-size: 16px !important;
  width: 100% !important;
}

.site-footer {
  border-top: 1px solid var(--echr-border);
  padding-top: 30px;
}

.site-footer-copyright {
  padding-bottom: 20px;
}

.site-footer-grid4 {
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
  align-items: flex-start;
}

.site-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.site-footer-col-logo {
  align-items: flex-start;
}

.site-footer-col-logo .site-branding-mark img {
  width: 110px;
  max-width: 110px;
}

.site-footer-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.site-footer-resources-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
}

.site-footer-resources-block h4 {
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Footer nav should look like the header navigation (no pill/chip styling). */
.site-footer-nav .wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0.1rem 0.25rem;
  border-radius: 6px;
  font-family: var(--wp--preset--font-family--serif-display);
  font-size: 16px;
  font-weight: normal;
  background: transparent;
  border: 0;
  text-decoration: none;
}

.site-footer-nav .wp-block-navigation-item__content:hover {
  color: var(--echr-accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
  background: transparent;
}

/* Stack footer links vertically inside each navigation column. */
.site-footer-nav .wp-block-navigation__container,
.site-footer-nav .wp-block-navigation__responsive-container-open {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.35rem;
  flex-wrap: nowrap !important;
}

.home-intro {
  margin-top: 0.2rem;
  margin-bottom: clamp(1rem, 2vw, 1.6rem);
  color: var(--echr-muted);
  max-width: 60ch;
  font-size: 1.02rem;
}

.wp-block-post-template>li.wp-block-post {
  margin: 0;
  padding: 0;
}

.wp-block-post-template>li.wp-block-post>.post-card {
  padding: 0;
  margin: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home .wp-block-post-template>li.wp-block-post>.post-card {
  border-bottom: none;
}

.echr-repeat-divider {
  height: 15px;
  width: 100%;
  margin: 15px 0;
  background-image: repeating-linear-gradient(90deg,
      #d1d1d1 0 2px,
      transparent 2px 4px);
  background-repeat: repeat-x;
  background-position: left center;
}

/* .home .wp-block-post-template > li.wp-block-post:last-child .echr-repeat-divider {
  display: none;
}
 */
.has-xx-large-font-size {
  font-weight: normal;
}

.widget-box .wp-block-latest-posts.wp-block-latest-posts__list li {
  line-height: 24px;
  font-family: var(--wp--preset--font-family--serif-display);
  border-bottom: 1px solid var(--echr-border);
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.widget-box .wp-block-latest-posts.wp-block-latest-posts__list a {
  font-size: 18px;
  color: #000;
  text-decoration: none;
}

.widget-box .wp-block-latest-posts.wp-block-latest-posts__list a:hover {
  color: var(--echr-accent);
  text-decoration: underline;
}
.wp-block-post-template>li.wp-block-post>.post-card {
  margin-bottom: 0;
}

.post-card .post-card-image {
  display: none;
  margin: 0 0 1rem;
  width: 100%;
  max-width: 100%;
}

.post-card .post-card-image img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

.wp-block-post-template>li.wp-block-post:first-child .post-card .post-card-image {
  display: block;
}

/* PublishPress Authors shortcode cleanup: hide autop artifacts. */
.pp-multiple-authors-boxes-wrapper p:empty {
  display: none !important;
}

.pp-multiple-authors-boxes-wrapper br {
  display: none !important;
}

.post-card .wp-block-post-title {
  margin-top: 0.1rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0.55rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.22;
  font-weight: normal;
}

.post-card .wp-block-post-excerpt,
.post-card .post-card-meta,
.post-card .post-meta {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.post-card .post-card-meta a,
.post-card .post-meta a {
  text-decoration: none;
}

.post-card .post-card-meta a:hover,
.post-card .post-meta a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.post-card .wp-block-post-title a {
  color: var(--wp--preset--color--ink);
  text-decoration: none;
}

.post-card .wp-block-post-title a:hover {
  color: var(--echr-accent);
}

.post-card-meta,
.post-meta {
  color: var(--echr-muted);
  font-size: 0.84rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: normal;
}

.post-card-meta p {
  margin: 0;
}

.post-card-meta .taxonomy-category::before,
.post-meta .taxonomy-category::before {
  content: "•";
  display: inline-block;
  margin: 0 0.55rem 0 0.2rem;
  color: var(--echr-muted);
}

.tax-links a {
  color: var(--echr-accent);
}

:root :where(.is-layout-flow)> :last-child>div {
  border-bottom: none !important;
  padding-bottom: 0;
}

:root :where(.is-layout-flow)> :last-child>div>.wp-block-post-excerpt {
  padding-bottom: 0;
  margin-bottom: 0;
}

.wp-block-post-excerpt__more-text {
  font-size: 16px;
  line-height: 1.5;
}

.wp-block-post-excerpt {
  padding-bottom: 20px !important;
  margin-bottom: 20px !important;
}

.wp-block-post-excerpt__more-link {
  display: inline-block;
  margin-top: 0rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
}

.wp-block-post-excerpt__more-link:hover {
  border-bottom-color: var(--echr-accent);
}

.post-card .wp-block-post-excerpt__excerpt {
  margin-top: 0.65rem;
  margin-bottom: 0;
  font-size: clamp(1.06rem, 1.2vw, 1.18rem);
  line-height: 1.72;
  color: color-mix(in srgb, var(--wp--preset--color--ink) 90%, #000 10%);
}

.posts-pagination {
  margin-top: clamp(1rem, 2vw, 1.4rem);
  margin-bottom: clamp(1rem, 2vw, 1.4rem) !important;
  padding-top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
}

.posts-pagination>.wp-block-query-pagination-previous {
  justify-self: start;
}

.posts-pagination>.wp-block-query-pagination-next {
  justify-self: end;
}

.posts-pagination .wp-block-query-pagination-numbers {
  display: inline-flex;
  gap: 0.25rem;
  justify-self: center;
  grid-column: 2;
}

.posts-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 6px;
  text-decoration: none;
}

.posts-pagination .page-numbers.current {
  background: color-mix(in srgb, var(--echr-accent) 14%, transparent);
}

.widget-shell {
  position: sticky;
  top: 1.2rem;
}

.widget-box {
  padding: 1rem 1rem 1.05rem;
  background: linear-gradient(180deg,
      color-mix(in srgb, #fff 78%, var(--echr-panel) 22%) 0%,
      color-mix(in srgb, #fff 68%, var(--echr-panel) 32%) 100%);
}

.author-box>.pp-multiple-authors-boxes-wrapper {
  margin-top: 0 !important;
}

.author-box>.pp-multiple-authors-boxes-wrapper h2 {
  display: none !important;
}

.author-box>.pp-multiple-authors-boxes-wrapper .ppma-author-category-wrap {
  border: 0 !important;
}

.pp-multiple-authors-boxes-wrapper.pp-multiple-authors-layout-boxed.multiple-authors-target-shortcode .pp-multiple-authors-boxes-li {
  border: none !important;
  padding: 0;
  border-width: 0 !important;
}

.widget-box .pp-multiple-authors-boxes-ul {
  margin-top: 0;
  margin-bottom: 0;
}

.widget-box .pp-multiple-authors-boxes-ul li {
  flex-direction: column;
}

.widget-box-priority {
  border: 0;
  box-shadow: none;
}

.author-avatar-link {
  display: flex;
}

.pp-multiple-authors-layout-boxed ul li>div:nth-child(1) {
  flex: 0 0 auto;
}

.pp-author-boxes-name.multiple-authors-name {
  font-family: var(--wp--preset--font-family--serif-display);
}

.pp-multiple-authors-layout-boxed .multiple-authors-description,
.pp-multiple-authors-layout-centered .multiple-authors-description {
  font-size: 16px;
}

.widget-box-priority h3 {
  color: inherit;
}

.widget-box-priority .wp-block-button {
  margin-top: 0.5rem;
}

.widget-box+.widget-box {
  margin-top: 0.95rem;
}

.widget-box h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.4rem !important;
  letter-spacing: 0.01em;
  font-weight: normal;
}

.wp-block-navigation.is-vertical {
  gap: 10px;
}

.sidebar-column .widget-box .wp-block-latest-posts a,
.sidebar-column .widget-box .wp-block-navigation-item__content {
  line-height: 1.45;
}

.wp-block-navigation-item__content {
  font-weight: normal;
  font-size: 16px;
}

.widget-box ul {
  margin-top: 0.2rem;
}

/* .widget-box li {
  margin-bottom: 0.35rem;
} */

.widget-box .wp-block-search__inside-wrapper {
  border: 1px solid var(--echr-border);
  border-radius: 0px;
  overflow: hidden;
  background: #fff;
}

.widget-box .wp-block-search__input {
  border: 0;
  padding: 0.55rem 0.7rem;
}

.widget-box .wp-block-search__button {
  margin-left: 0;
  border-radius: 0;
  border: 0;
}

.wp-block-search__button.wp-element-button {
  background: var(--echr-accent);
  color: #fff;
  border-color: var(--echr-accent);
}

.wp-block-search__button.wp-element-button:hover {
  background: color-mix(in srgb, var(--echr-accent) 88%, #000 12%);
  border-color: color-mix(in srgb, var(--echr-accent) 88%, #000 12%);
}

.widget-box .wp-block-latest-posts__post-date {
  color: var(--echr-muted);
  font-size: 0.82rem;
}

.widget-box .wp-block-navigation-item__content {
  text-decoration: none;
}

.widget-box .wp-block-navigation-item__content:hover {
  text-decoration: underline;
}

.resources-shell {
  max-width: 78ch;
}

.resources-section {
  margin-top: 1rem;
  padding-top: 0.7rem;
  border-top: 1px solid color-mix(in srgb, var(--echr-border) 70%, transparent);
}

.resources-section ul {
  margin-top: 0.35rem;
}

.echr-archive-accordion {
  display: grid;
  gap: 0.45rem;
}

.echr-archive-year {
  background: color-mix(in srgb, #fff 72%, var(--echr-panel) 28%);
  border-bottom: 1px solid var(--echr-border);
  font-size: 16px;
}

.echr-archive-year>summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  padding: 0;
}

.echr-archive-year>summary::-webkit-details-marker {
  display: none;
}

.echr-archive-year>summary::after {
  content: "+";
  font-size: 1rem;
  color: var(--echr-muted);
}

.echr-archive-year[open]>summary::after {
  content: "-";
}

.echr-archive-months-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.echr-archive-year[open] .echr-archive-months-wrap {
  grid-template-rows: 1fr;
}

.echr-archive-months {
  overflow: hidden;
  margin: 0;
  padding: 0 0.75rem 0.6rem;
  list-style: none;
}

.echr-archive-months li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  padding: 0.35rem 0;
  border-top: 1px dashed color-mix(in srgb, var(--echr-border) 70%, transparent);
}

.echr-archive-months li:first-child {
  border-top: 0;
}

.echr-archive-count {
  color: var(--echr-muted);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .layout-shell {
    padding-left: 25px;
    padding-right: 25px;
  }

  .site-footer {
    padding-left: 25px;
    padding-right: 25px;
  }





  .site-main-nav .wp-block-navigation__responsive-container-open {
    min-height: 2.4rem;
    min-width: 2.4rem;
  }

  .site-footer-copyright {
    text-align: left;
    border-top: 1px solid var(--echr-border);
  }

  .site-footer-copyright p {
    text-align: left !important;
  }

  /* Mobile header trial: show only the single art image (linked to home). */
  .site-header-left,
  .site-header-right {
    display: none !important;
  }

  .site-header-mobile-art {
    display: flex !important;
  }

  /* Sidebar + footer navs should stay expanded on mobile (no hamburger). */
  .sidebar-column .wp-block-navigation__responsive-container-open,
  .site-footer-nav .wp-block-navigation__responsive-container-open {
    display: none !important;
  }

  /* Sidebar + footer navs should not show the responsive overlay close button either. */
  .sidebar-column .wp-block-navigation__responsive-container-close,
  .site-footer-nav .wp-block-navigation__responsive-container-close {
    display: none !important;
  }

  /* Keep the actual mobile nav links visible (no collapsed hamburger menu). */
  .sidebar-column .wp-block-navigation__responsive-container,
  .site-footer-nav .wp-block-navigation__responsive-container {
    display: flex !important;
    flex-direction: column !important;
    /* WordPress uses fixed/overlay layout for responsive menus; we want inline, always-visible nav. */
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .sidebar-column .wp-block-navigation__container,
  .site-footer-nav .wp-block-navigation__container {
    display: flex !important;
  }

  .site-nav-wrap {
    margin-top: 0.4rem;
  }

  .site-header-top {
    display: none !important;
    margin-bottom: 0.6rem;
  }
  .site-header-nav { margin-bottom: 20px !important; }

  .site-header-right {
    justify-content: flex-start;
  }

  .header-path-art {
    width: 100%;
    min-height: 68px;
    background-position: left center;
  }

  .site-branding-inner {
    align-items: center;
  }

  .site-logo {
    width: 160px;
    max-width: 160px;
  }

  .site-branding-mark img {
    width: 160px;
    max-width: 160px;
  }

  .widget-shell {
    position: static;
  }

  .post-card {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .posts-pagination {
    gap: 0.6rem;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .posts-pagination>.wp-block-query-pagination-previous,
  .posts-pagination>.wp-block-query-pagination-next,
  .posts-pagination .wp-block-query-pagination-numbers {
    grid-column: auto;
    justify-self: center;
  }
}

/* Authors directory (page-authors + [echr_authors_list]) */
.echr-authors-empty {
  color: var(--echr-muted);
  margin-top: 0.5rem;
}

.echr-authors-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.echr-authors-item {
  margin: 0;
}

.echr-authors-card {
  border-radius: 0;
  padding-bottom: 10px;
  background: transparent;
  box-shadow: none;
}

.echr-authors-card-layout {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 20px;
  flex-wrap: nowrap;
}

.echr-authors-list .echr-authors-card-layout {
    flex-direction: row;
}

.echr-authors-image-col {
  flex: 0 0 120px;
  height: 120px;
}

.echr-authors-avatar-link {
  display: flex;
  width: 80px;
  height: 80px;
}
.tnp-subscription div.tnp-field { margin-bottom: 0 !important; }
.tnp-subscription input[type=email] { margin-bottom: 15px !important;font-size: 16px !important; }
.echr-authors-text-col {
  flex: 1 1 auto;
  min-width: 0;
}

.echr-authors-card-link {
  display: inline;
  text-decoration: none;
  color: inherit;
}

.echr-authors-name .echr-authors-card-link:hover {
  color: var(--echr-accent);
}

.echr-authors-avatar {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}
.ech-authors-job-title{
    font-size: 16px;
    font-weight: normal;
    color: var(--echr-muted);
}
.echr-authors-name {
  margin: 0 0 20px;
}
.echr-authors-name h3 {
   margin: 0;
  font-family: var(--wp--preset--font-family--serif-display);
  font-size: 1.2em;
  font-weight: normal;
  line-height: 1.25; 
}

.echr-authors-text-col>p:empty {
  display: none;
}

.echr-authors-bio {
  margin-top: 0;
  font-size: 16px;
  color: var(--echr-muted);
  line-height: 1.65;
}

.echr-authors-bio p {
  margin: 0 0 0.5rem;
}

.echr-authors-bio p:last-child {
  margin-bottom: 0;
}

.echr-divider {
  border-top: 1px solid var(--echr-border);
}



.echr-author-archive-card-wrap {
  margin-top: 0.25rem;
}

@media (max-width: 640px) {
  .echr-authors-card-layout {
    flex-wrap: wrap;
    gap: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}