/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: Codex
Template: twentytwentyfive
Description: Child theme providing the Journal/Projects/Reviews/Interventions structure.
Version: 0.1.0
*/

body > .wp-site-blocks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > .wp-site-blocks > main {
  flex: 1 0 auto;
}

body > .wp-site-blocks > footer {
  margin-top: 0;
}

.single-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: var(--wp--preset--color--foreground, #222);
}

.single-entry-meta__separator {
  margin: 0 0.35rem;
  color: var(--wp--preset--color--foreground-alt, #666);
}

.single-entry-meta .wp-block-post-author-name,
.single-entry-meta .wp-block-post-date,
.single-entry-meta .issue-number,
.single-entry-meta .project-editors,
.single-entry-meta .project-editors__label {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
}

.single-entry-meta .issue-number {
  font-weight: 500;
}


.single-entry-meta .project-editors {
  gap: 0.35rem;
  color: var(--wp--preset--color--foreground-alt, #555);
  font-size: 1.05rem;
}

.single-entry-meta .project-editors__label {
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--wp--preset--color--foreground, #222);
  font-size: 1.05rem;
}

.single-entry-meta .project-editors__names .project-editor {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.single-entry-meta .project-editors__names .project-editor:hover,
.single-entry-meta .project-editors__names .project-editor:focus {
  text-decoration: underline;
}

.single-post .single-entry-meta {
  gap: 0.6rem;
}

.single-post .single-entry-meta .wp-block-post-author {
  order: 1;
}

.single-post .single-entry-meta .single-project-links {
  order: 2;
  display: inline-flex;
  align-items: center;
}

.single-post .single-entry-meta .single-project-links a {
  text-decoration: none;
}

.single-post .single-entry-meta .single-project-links a:hover,
.single-post .single-entry-meta .single-project-links a:focus {
  text-decoration: underline;
}

.issue-post-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.95rem;
  color: var(--wp--preset--color--foreground, #222);
  margin: 0;
}

.issue-post-meta__separator {
  display: inline-block;
  margin: 0 0.3rem;
  color: var(--wp--preset--color--foreground-alt, #666);
}

.issue-post-meta__link {
  color: inherit;
  text-decoration: none;
}

.issue-post-meta__link:hover,
.issue-post-meta__link:focus {
  text-decoration: underline;
}

.single-post .single-entry-meta .wp-block-post-date {
  order: 3;
  display: inline-flex;
  align-items: center;
}

.single-post .single-entry-meta .issue-number,
.single-post .single-entry-meta .issue-editors {
  order: 4;
}

.single-post .single-entry-meta .single-project-links::before,
.single-post .single-entry-meta .wp-block-post-date::before {
  content: '\2022';
  display: inline-block;
  margin: 0 0.55rem 0 0.4rem;
  color: var(--wp--preset--color--foreground-alt, #666);
  line-height: 1;
}

.single-post .single-entry-meta .wp-block-post-date::before {
  margin-left: 0.55rem;
}

.single-entry-meta .wp-block-post-author-name__link,
.single-entry-meta .wp-block-post-date a {
  color: inherit;
  text-decoration: none;
}

.single-entry-meta .wp-block-post-author-name__link:hover,
.single-entry-meta .wp-block-post-author-name__link:focus,
.single-entry-meta .wp-block-post-date a:hover,
.single-entry-meta .wp-block-post-date a:focus {
  text-decoration: underline;
}

.issue-number__link {
  color: inherit;
  text-decoration: none;
}

.issue-number__link:hover,
.issue-number__link:focus {
  text-decoration: underline;
}

.author-archive {
  width: 100%;
  margin-top: clamp(0.25rem, 1vw, 0.6rem) !important;
  margin-block-start: clamp(0.25rem, 1vw, 0.6rem) !important;
}

.author-archive__list {
  display: flex;
  flex-direction: column;
  gap: clamp(0.45rem, 1.6vw, 0.9rem);
  margin: 0;
  padding: 0;
}

.author-archive__list.has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.author-archive__list .wp-block-post-template {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

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


.author-archive__item {
  margin: 0;
  padding: clamp(0.75rem, 2.4vw, 1.5rem) 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.author-archive__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.author-archive__header {
  margin-bottom: clamp(0.55rem, 1.9vw, 1.05rem);
}

.author-archive__heading {
  display: flex;
  flex-direction: column;
  gap: clamp(0.35rem, 1.3vw, 0.75rem);
}

.author-archive__title {
  margin: 0;
  font-size: clamp(1.72rem, 3.6vw, 2.24rem);
  line-height: 1.15;
  font-weight: 600;
}

.author-archive__description {
  font-size: 1.32rem;
  color: var(--wp--preset--color--foreground, #222);
  max-width: 62ch;
}

.author-archive__description p {
  margin: 0 0 clamp(0.45rem, 1.2vw, 0.75rem);
}

.author-archive__description p:last-child {
  margin-bottom: clamp(0.3rem, 1vw, 0.5rem);
}

.author-archive__website {
  margin: clamp(0.4rem, 1.2vw, 0.75rem) 0 0;
  font-size: 1.056rem;
}

.author-archive__website a {
  color: inherit;
  text-decoration: none;
}

.author-archive__website-label {
  font-weight: 600;
  margin-right: 0.35rem;
}

.author-archive__website a:hover,
.author-archive__website a:focus {
  text-decoration: underline;
}

.author-archive__date {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--wp--preset--color--foreground-alt, #666);
}

.author-archive__post-title a {
  text-decoration: none;
  color: inherit;
}

.author-archive__post-title a:hover,
.author-archive__post-title a:focus {
  text-decoration: underline;
}
.site-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: none;
  margin: 0;
  color: var(--wp--preset--color--foreground-alt, #555);
}

.site-breadcrumb-wrapper {
  width: min(100%, var(--wp--style--global--content-size, 100%));
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: clamp(0.75rem, 2.5vw, 1.4rem);
}

.site-breadcrumb-wrapper.has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.site-breadcrumb__link {
  font-weight: 500;
  text-decoration: none;
  color: inherit;
}

.site-breadcrumb__link:hover,
.site-breadcrumb__link:focus {
  color: var(--wp--preset--color--foreground, #222);
  text-decoration: underline;
}

.site-breadcrumb__separator {
  opacity: 0.7;
  font-size: 0.9rem;
}

.site-breadcrumb__separator--trail {
  margin-left: 0.35rem;
}

.site-breadcrumb__current {
  font-weight: 500;
  color: var(--wp--preset--color--foreground, #222);
}
.issue-entry-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.35rem, 1.6vw, 0.85rem);
  font-size: 1.05rem;
  color: var(--wp--preset--color--foreground, #222);
  margin-top: 0 !important;
}

.issue-entry-meta > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  padding-block-start: 0;
}

.issue-heading + .issue-entry-meta {
  margin-top: clamp(0.2rem, 0.8vw, 0.6rem) !important;
}

.issue-entry-meta > * {
  margin-block-start: 0 !important;
  margin-block-end: 0;
}


.single-entry-meta .issue-number,
.single-entry-meta .issue-editors,
.single-entry-meta .single-project-links {
  font-size: 0.9rem;
}

.issue-entry-meta__item,
.issue-editors {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.issue-entry-meta__item {
  font-weight: 500;
  color: inherit;
}

.issue-entry-meta__date {
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  color: var(--wp--preset--color--foreground-alt, #555);
}

.issue-editors__label {
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--wp--preset--color--foreground, #222);
}

.issue-editors__names {
  display: inline;
}

.issue-editors__names .issue-editor {
  font-weight: 500;
  text-decoration: none;
  color: inherit;
}

.issue-editors__names .issue-editor:hover,
.issue-editors__names .issue-editor:focus {
  text-decoration: underline;
}

.single-project-related {
  margin-top: var(--wp--preset--spacing--50, 3rem);
}

.single-project .wp-block-post-featured-image,
.single-project .wp-block-post-featured-image.alignfull,
.single-project .wp-block-post-featured-image.alignwide {
  /* Reduce display size by ~40% relative to content width */
  width: calc(var(--wp--style--global--content-size, 1000px) * 0.6);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.single-project .wp-block-post-featured-image img {
  width: 100%;
  height: auto;
}

.single-post .wp-block-post-featured-image,
.single-post .wp-block-post-featured-image.alignfull,
.single-post .wp-block-post-featured-image.alignwide {
  /* Match project image reduction (~40% smaller than content width) */
  width: calc(var(--wp--style--global--content-size, 1000px) * 0.6);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.single-post .wp-block-post-featured-image img {
  width: 100%;
  height: auto;
}

/* Mobile: let featured images use full content width */
@media (max-width: 700px) {
  .single-project .wp-block-post-featured-image,
  .single-project .wp-block-post-featured-image.alignfull,
  .single-project .wp-block-post-featured-image.alignwide,
  .single-post .wp-block-post-featured-image,
  .single-post .wp-block-post-featured-image.alignfull,
  .single-post .wp-block-post-featured-image.alignwide {
    width: 100%;
  }
}

.single-project-summary {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  margin: clamp(1.75rem, 4vw, 2.8rem) 0;
  color: var(--wp--preset--color--foreground, #222);
  font-size: 1.3rem;
  line-height: 1.6;
}

.single-project.ttfc-project-has-parent .wp-block-post-featured-image {
  max-width: 32%;
  margin-left: 0;
}

.single-project.ttfc-project-has-parent .wp-block-post-featured-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.single-project-summary > *:first-child {
  margin-top: 0;
}

.single-project-summary > *:last-child {
  margin-bottom: 0;
}

.project-posts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-posts__heading {
  margin: 0;
  font-size: 1.25rem;
}

.category-post-card {
  background: rgba(248, 249, 251, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 16px;
  padding: clamp(1rem, 3vw, 1.6rem) clamp(1.2rem, 3.5vw, 2rem);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: grid;
  gap: 0.0rem;
}

.category-post-card.is-layout-flow > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.category-post-card:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.category-post-card .wp-block-post-title {
  margin: 0 0 0.3rem;
  font-weight: 600;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
}

.category-post-card .issue-post-meta-wrapper {
  margin-bottom: 0.1rem;
}

.category-post-card .wp-block-post-excerpt {
  margin: 0;
  color: var(--wp--preset--color--foreground, #222);
  font-size: 0.95rem;
  line-height: 1.55;
}

.category-post-card .wp-block-post-excerpt__more-text,
.category-post-card .wp-block-post-excerpt__more-link {
  display: none !important;
}

.home-section-heading {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
}

.home-section-subheading {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--wp--preset--color--foreground-alt, #555);
  max-width: 60ch;
}

.home-section-list {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center; /* ensure cards are centered horizontally */
  /* Center the list within the site content width */
  width: min(100%, var(--wp--style--global--content-size, 100%));
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
}

/* Override editor inline container rule that sets align-items:flex-start */
.home-section-list.is-layout-flex.is-vertical {
  align-items: center;
}

/* Remove any inherited global padding that can visually offset center */
.home-section-list.has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.home-section-card {
  background: rgba(248, 249, 251, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  padding: clamp(1.1rem, 3.4vw, 1.7rem) clamp(2.7rem, 6.4vw, 4.1rem);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: grid;
  gap: clamp(1.25rem, 2.8vw, 1.75rem);
  justify-items: center;
  text-align: center;
  width: min(100%, 38rem);
  margin-inline: auto;
}

.home-section-card:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.14);
}

.home-section-card__link {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 52rem;
  min-height: clamp(4.9rem, 14.4vw, 7.1rem);
  /* Enforce equal-height visuals via aspect ratio */
  aspect-ratio: 16 / 3;
  padding: clamp(0.95rem, 2.7vw, 1.45rem) clamp(2.4rem, 4.8vw, 3rem);
  border: 2px solid rgba(15, 23, 42, 0.16);
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.home-section-card__link::before,
.home-section-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.home-section-card__link::before {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

.home-section-card__link::after {
  background: linear-gradient(180deg, rgba(7, 11, 22, 0.28) 0%, rgba(7, 11, 22, 0.58) 100%);
  opacity: 0.92;
  z-index: 1;
}

.home-section-card__link:hover,
.home-section-card__link:focus {
  border-color: rgba(15, 23, 42, 0.32);
  transform: translate3d(0, -2px, 0);
}

.home-section-card__link:hover::before,
.home-section-card__link:focus::before {
  transform: scale(1.035);
}

.home-section-card__link:hover::after,
.home-section-card__link:focus::after {
  opacity: 0.86;
}

.home-section-card__link:focus-visible {
  outline: 3px solid rgba(15, 23, 42, 0.35);
  outline-offset: 4px;
}

.home-section-card__label {
  position: relative;
  z-index: 2;
  font-size: clamp(1.55rem, 2.9vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.48);
}

/* Homepage intro alignment to match cards */
.home-intro {
  width: min(100%, var(--wp--style--global--content-size, 100%));
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem);
}

/* Spacing tuning at breakpoints */
@media (max-width: 600px) {
  .home-section-list {
    gap: 1.1rem;
  }
}

@media (min-width: 1200px) {
  .home-section-list {
    gap: 3rem;
  }
}

.home-section-card__link--journal::before {
  background-image: url("templates/front-page-images/journal-image.jpg");
}

.home-section-card__link--projects::before {
  background-image: url("templates/front-page-images/projects-image.jpg");
}

.home-section-card__link--reviews::before {
  background-image: url("templates/front-page-images/reviews-image.jpg");
}

.home-section-card__link--interventions::before {
  background-image: url("templates/front-page-images/interventions-image.jpg");
}

.home-section-card p {
  margin: 0;
  font-size: 1rem;
  color: var(--wp--preset--color--foreground, #222);
  max-width: 56ch;
}


.site-tagline {
  margin: 0;
  font-size: clamp(1.06rem, 1.8vw, 1.26rem);
  color: #ff2a2a;
  letter-spacing: 0.015em;
  text-transform: none;
}

.site-header--dm {
  background-color: #050505;
  color: #f7f8fa;
}

.site-header--dm .wp-block-site-title,
.site-header--dm .wp-block-site-title a {
  font-size: clamp(2.6rem, 5vw, 3.5rem);
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}

.site-header--dm .wp-block-navigation a {
  color: #f7f8fa;
  text-decoration: none;
}

.site-header--dm .wp-block-navigation a:hover,
.site-header--dm .wp-block-navigation a:focus {
  color: #ff2a2a;
}

.site-header--dm .wp-block-navigation__responsive-container-open,
.site-header--dm .wp-block-navigation__responsive-container-close {
  color: #f7f8fa;
}

.site-header--dm .wp-block-navigation__responsive-container {
  background-color: #050505;
}

.footer-bar {
  gap: clamp(0.6rem, 1.6vw, 1.3rem);
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
}

.footer-license {
  margin: 0;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  white-space: nowrap;
}

.footer-license__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(1.1rem, 2.1vw, 1.6rem);
  height: clamp(1.1rem, 2.1vw, 1.6rem);
  border: 2px solid currentColor;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.footer-license__link:hover,
.footer-license__link:focus {
  color: rgba(180, 185, 195, 0.95);
  border-color: rgba(180, 185, 195, 0.95);
  transform: translateY(-1px);
}

.footer-license__icon {
  font-size: clamp(0.56rem, 1vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-year {
  margin: 0;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  letter-spacing: 0.02em;
}

.footer-separator {
  margin: 0;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  line-height: 1;
}

.footer-site-title,
.footer-site-title a {
  margin: 0;
  color: inherit;
  text-decoration: none;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  white-space: nowrap;
}

.footer-site-title a:hover,
.footer-site-title a:focus {
  text-decoration: underline;
}


.author-bio {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.author-bio__avatar img {
  border-radius: 50%;
}

.author-bio__name {
  margin: 0 0 0.5rem;
}

.issue-card,
.project-card,
.reviews-listing,
.interventions-listing {
  background: rgba(248, 249, 251, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 16px;
  padding: clamp(1rem, 3vw, 1.6rem) clamp(1.2rem, 3.5vw, 2rem);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.issue-card:hover,
.project-card:hover,
.reviews-listing:hover,
.interventions-listing:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.issue-list {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.issue-list .wp-block-post-template > li {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.issue-list .wp-block-post-template > li:last-child {
  margin-bottom: 0;
}

.issue-list.has-global-padding,
.issue-list__thumb.has-global-padding,
.issue-list__content.has-global-padding {
  padding: 0 !important;
}

.issue-list__thumb.is-layout-constrained,
.issue-list__content.is-layout-constrained {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.issue-list__item {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.issue-list__item + .issue-list__item {
  margin-top: clamp(1.5rem, 4vw, 2.75rem);
}

.issue-list__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(1rem, 4vw, 2rem);
}

.issue-list__col-thumb {
  flex: 0 0 clamp(220px, 30%, 340px);
  max-width: clamp(220px, 30%, 340px);
  display: flex;
  align-items: stretch;
}

.issue-list__col-thumb .wp-block-post-featured-image {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 clamp(1.1rem, 3vw, 2.1rem);
}


.issue-list__col-thumb .wp-block-post-featured-image a {
  display: block;
}

.issue-list__col-thumb .wp-block-post-featured-image img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.issue-list__col-content {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.issue-list__col-content > * {
  margin: 0;
  text-align: left;
}

.issue-list__number {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wp--preset--color--foreground, #222);
  display: block;
  text-align: left;
}

.issue-list__number a {
  color: inherit;
  text-decoration: none;
}

.issue-list__number a:hover,
.issue-list__number a:focus {
  text-decoration: underline;
}


.issue-list__title {
  margin: 0;
  text-align: left;
  font-weight: 600;
}

.issue-list__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--wp--preset--color--foreground-alt, #555);
}

.issue-list__editors {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--wp--preset--color--foreground-alt, #555);
}

.issue-list__editors .issue-editors__label {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--wp--preset--color--foreground, #222);
}

.issue-list__editors .issue-editors__names {
  display: inline;
}

.issue-list__editors .issue-editors__names .issue-editor {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.issue-list__editors .issue-editors__names .issue-editor:hover,
.issue-list__editors .issue-editors__names .issue-editor:focus {
  text-decoration: underline;
}

.issue-list__author {
  font-weight: 500;
  text-transform: none;
}

.issue-list__author a {
  color: inherit;
  text-decoration: none;
}

.issue-list__author a:hover,
.issue-list__author a:focus {
  text-decoration: underline;
}

.issue-list__date {
  font-size: 0.85rem;
  color: var(--wp--preset--color--foreground-alt, #555);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  display: block;
}

@media (max-width: 719px) {
  .issue-list__grid {
    flex-direction: column;
  }

  .issue-list__col-thumb,
  .issue-list__col-content {
    flex-basis: 100%;
    max-width: 100%;
  }
}


.issue-list__heading {
  margin-left: 0;
  padding-left: clamp(1.6rem, 3.8vw, 2.4rem);
  margin-bottom: clamp(3.5rem, 6vw, 3.5rem);
}

@media (max-width: 719px) {
  .issue-list__heading {
    padding-left: 0;
    margin-bottom: var(--wp--preset--spacing--30, 2rem);
  }
}

.project-list__heading {
  margin-left: 0;
  padding-left: clamp(1.6rem, 3.8vw, 2.4rem);
  margin-bottom: clamp(3rem, 5vw, 3.2rem);
}

@media (max-width: 719px) {
  .project-list__heading {
    padding-left: 0;
    margin-bottom: var(--wp--preset--spacing--30, 2rem);
  }
}

.issue-card__meta,
.project-card__meta,
.reviews-meta,
.interventions-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--wp--preset--color--foreground-alt, #555);
}

.author-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.author-list__item a {
  text-decoration: none;
  font-weight: 600;
}

.author-list__item a:hover,
.author-list__item a:focus {
  text-decoration: underline;
}

.issue-posts {
  margin: 0;
}

.issue-posts__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.issue-posts__item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(248, 249, 251, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 16px;
  padding: clamp(1rem, 3vw, 1.6rem) clamp(1.2rem, 3.5vw, 2rem);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.issue-posts__item:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.project-posts__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.project-posts__item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(248, 249, 251, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 16px;
  padding: clamp(1rem, 3vw, 1.6rem) clamp(1.2rem, 3.5vw, 2rem);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.project-posts__item:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.project-posts__link {
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}

.project-posts__link:hover,
.project-posts__link:focus {
  text-decoration: underline;
}

.project-posts__meta {
  font-size: 0.85rem;
  color: var(--wp--preset--color--foreground-alt, #555);
}

.project-posts__excerpt {
  font-size: 0.95rem;
  color: var(--wp--preset--color--foreground, #222);
}

.issue-posts__item br {
  display: none;
}

.issue-posts__link {
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}

.issue-posts__link:hover,
.issue-posts__link:focus {
  text-decoration: underline;
}

.issue-posts__meta {
  font-size: 0.85rem;
  color: var(--wp--preset--color--foreground-alt, #555);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.issue-posts__excerpt {
  font-size: 0.95rem;
  color: var(--wp--preset--color--foreground, #222);
}

.issue-posts__author-link,
.project-posts__author-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.issue-posts__author-link:hover,
.issue-posts__author-link:focus,
.project-posts__author-link:hover,
.project-posts__author-link:focus {
  text-decoration: underline;
}

.issue-posts__separator,
.project-posts__separator {
  opacity: 0.6;
}

.project-posts__meta {
  font-size: 0.85rem;
  color: var(--wp--preset--color--foreground-alt, #555);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}


.issue-heading {
  display: flex;
  flex-direction: column;
  gap: clamp(0.45rem, 2vw, 0.9rem);
}

.issue-heading .issue-number {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  text-align: left;
}

.single-issue .issue-heading .wp-block-post-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.15;
}

.single-issue .issue-heading {
  align-items: flex-start;
  text-align: left;
  width: min(100%, var(--wp--style--global--content-size, 100%));
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: clamp(0.45rem, 1.8vw, 0.95rem);
}

.single-issue .issue-heading.has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.single-issue .issue-heading > * {
  text-align: left;
}

.single-issue .issue-featured-image {
  width: clamp(220px, 32vw, 360px);
  max-width: 100%;
  margin: clamp(1.5rem, 4vw, 2.75rem) 0;
}

.single-issue .issue-featured-image.alignwide {
  width: clamp(220px, 32vw, 360px);
  margin-left: 0;
  margin-right: auto;
}

.single-issue .issue-featured-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  object-fit: cover;
}


.issue-list__box {
  background: #f6f7f9;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(2.25rem, 5vw, 3.5rem);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.issue-list__box:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}

.issue-list__grid {
  gap: clamp(1.25rem, 4vw, 2.25rem);
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.project-list--children {
  gap: clamp(1.5rem, 4vw, 3rem);
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.project-child-list {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: block;
}

.project-list .wp-block-post-template > li {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.project-list .wp-block-post-template > li:last-child {
  margin-bottom: 0;
}

.project-list.has-global-padding,
.project-list__thumb.has-global-padding,
.project-list__content.has-global-padding {
  padding: 0 !important;
}

.project-list__thumb.is-layout-constrained,
.project-list__content.is-layout-constrained {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.project-list__item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-list--children .project-list__item {
  margin: 0;
}

.project-list--children .project-list__box {
  width: 100%;
}

/*
.project-list__item + .project-list__item {
  margin-top: clamp(1.1rem, 3vw, 2.25rem);
}
*/
.project-list__box {
  background: rgba(248, 249, 251, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  padding: clamp(0.95rem, 2.2vw, 1.45rem) clamp(1.7rem, 3.8vw, 2.6rem);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-list__box:hover {
  transform: translate3d(0, -5px, 0);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.project-list__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(1.2rem, 4vw, 2.4rem);
  margin-bottom: 0;
}

.project-list--children .project-list__grid {
  flex-wrap: nowrap;
}

.project-list--children .project-list__col-content {
  padding-top: clamp(0.35rem, 1vw, 0.75rem);
}

.project-list__col-thumb {
  flex: 0 0 clamp(220px, 32%, 340px);
  max-width: clamp(220px, 32%, 340px);
  display: flex;
  align-items: stretch;
}

.project-list__col-thumb .wp-block-post-featured-image {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin: 0;
}

.project-list__col-thumb .wp-block-post-featured-image a {
  display: block;
}

.project-list__col-thumb .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
}

.project-list__image-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.02));
}

.project-list__col-content {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
 /* gap: clamp(0.25rem, 0.9vw, 0.6rem); */
  align-items: flex-start;
  justify-content: center;
}

.project-list__item p {
  margin: 0;
}

.project-list__image br {
  display: none;
}

.project-list__col-content > * {
  margin: 0;
  text-align: left;
}


.project-list__title {
  margin: 0;
  font-weight: 600;
  text-align: left;
}

.project-list__title a {
  color: inherit;
  text-decoration: none;
}

.project-list__title a:hover,
.project-list__title a:focus {
  text-decoration: underline;
}

.project-list__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--wp--preset--color--foreground-alt, #666);
  margin-top: clamp(0.2rem, 0.8vw, 0.45rem);
  margin-bottom: 0;
}

.project-list__date {
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.project-editors,
.project-list__editors {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--wp--preset--color--foreground-alt, #666);
}

.project-editors__label {
  font-weight: 600;
  color: var(--wp--preset--color--foreground, #222);
}

.project-editors__names {
  display: inline;
}

.project-editors__names .project-editor {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.project-editors__names .project-editor:hover,
.project-editors__names .project-editor:focus {
  text-decoration: underline;
}

@media (max-width: 719px) {
  .project-list__grid {
    flex-direction: column;
  }

  .project-list__col-thumb,
  .project-list__col-content {
    flex-basis: 100%;
    max-width: 100%;
  }
}
.issue-post-meta-wrapper {
  width: 100%;
  margin-bottom: 1.5rem;
}

/* Remove top margin from first element rendered by git-wiki content */
.git-wiki > *:first-child {
  margin-top: 0;
}

.git-wiki .footnotes {
  font-size: 0.77em;
  margin-bottom: 1.5rem;
}

.git-wiki .footnotes ol {
  margin-left: 0;
  padding-left: 1rem;
}

.git-wiki .gw-footer {
  font-size: 0.66em;
}

.single .wp-block-post-comments-form {
  padding-top: var(--wp--preset--spacing--0);
}


.reviews-listing,
.interventions-listing {
  background: rgba(248, 249, 251, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 16px;
  padding: clamp(1rem, 3vw, 1.6rem) clamp(1.2rem, 3.5vw, 2rem);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.reviews-listing:hover,
.interventions-listing:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.reviews-listing .wp-block-post-title,
.interventions-listing .wp-block-post-title {
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.reviews-listing .reviews-meta,
.interventions-listing .interventions-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--wp--preset--color--foreground-alt, #666);
  margin-bottom: 0.5rem;
}

.reviews-listing .wp-block-post-date,
.interventions-listing .wp-block-post-date {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--wp--preset--color--foreground-alt, #777);
}
