/* ===== Single post (Figma 391:710) — 1:1 ===== */
.single {
  font-family: "Inter", sans-serif;
}

/* ----- Breadcrumb bar (full-width, bottom border) ----- */
.single__crumbbar {
  border-bottom: 1px solid #e6e4e0;
}
.single__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 22px 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 20.25px;
  letter-spacing: -0.1px;
  text-transform: uppercase;
}
.single__breadcrumb .breadcrumb__item {
  color: #0f0f10;
  text-decoration: none;
  opacity: 0.5;
}
.single__breadcrumb a.breadcrumb__item:hover {
  opacity: 1;
}
.single__breadcrumb .breadcrumb__item--active {
  opacity: 1;
}
.single__breadcrumb .breadcrumb__sep {
  opacity: 0.5;
}

/* ----- Two-column layout (article 880 + sidebar 445, gap 51) ----- */
.single__container {
  padding-top: 49px;
  padding-bottom: 100px;
}
.single__layout {
  display: flex;
  align-items: flex-start;
  gap: 51px;
}
.single__article {
  flex: 1 1 auto;
  min-width: 0;
}
.single__aside {
  flex: 0 0 445px;
  width: 445px;
  position: sticky;
  top: 24px;
}

/* ----- Header: meta + title ----- */
.single .news-meta {
  gap: 10px;
  margin-bottom: 17px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.84px;
  line-height: 15.75px;
}
.single .news-meta__cat {
  color: #c00;
  font-weight: 600;
}
.single .news-meta__by,
.single .news-meta__read {
  color: #87878d;
}
.single .news-meta__by::before,
.single .news-meta__read::before {
  content: "·";
  margin-right: 10px;
  color: #87878d;
  opacity: 0.5;
}
.single__title {
  margin: 0 0 17px;
  color: #0f0f10;
  font-size: 52px;
  font-weight: 600;
  line-height: 58.24px;
  letter-spacing: -1.96px;
}

/* ----- Article content (column rhythm = 31px between blocks) ----- */
.single-content {
  color: #424248;
  font-size: 16px;
  line-height: 26px;
}
.single-content > * {
  margin: 0 0 31px;
}
.single-content > *:last-child {
  margin-bottom: 0;
}
/* lead = first paragraph (18px) + a full-width divider below it */
.single-content > p:first-of-type {
  padding-bottom: 31px;
  border-bottom: 1px solid #e6e4e0;
  font-size: 18px;
  line-height: 28px;
  color: #424248;
}
.single-content h2,
.single-content h3 {
  margin-top: 31px;
  margin-bottom: 17px;
  color: #0f0f10;
  font-weight: 600;
}
.single-content h2 {
  font-size: 28px;
  line-height: 41.8px;
  letter-spacing: -1.14px;
}
.single-content h3 {
  font-size: 22px;
  line-height: 31px;
  letter-spacing: -0.6px;
}
.single-content a {
  color: #c00;
  text-decoration: underline;
}
.single-content strong,
.single-content b {
  font-weight: 600;
  color: #0f0f10;
}
/* lists — red 7px square (Figma 391:885) */
.single-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.single-content ul li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 26px;
  color: #424248;
}
.single-content ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 7px;
  height: 7px;
  background: #c00;
}
.single-content ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* blockquote — 3px red left border, 22px medium quote + uppercase attribution */
.single-content blockquote {
  margin: 56px 0 48px;
  padding: 11px 0 8px 28px;
  border-left: 3px solid #c00;
}
.single-content blockquote p {
  margin: 0;
  color: #0f0f10;
  font-size: 22px;
  font-weight: 500;
  line-height: 33px;
  letter-spacing: -0.33px;
}
.single-content blockquote cite,
.single-content blockquote footer {
  display: block;
  margin-top: 18px;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 18.75px;
  text-transform: uppercase;
  color: #87878d;
}
/* gallery — 2 columns, square cells, gap 10, rounded 10 */
.single-content figure.wp-block-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.single-content figure.wp-block-gallery > figure,
.single-content figure.wp-block-gallery .wp-block-image,
.single-content figure.wp-block-gallery li {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
}
.single-content figure.wp-block-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-content .gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.single-content .gallery .gallery-item {
  margin: 0 !important;
  width: auto !important;
}
.single-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.single-content figure {
  margin: 31px 0;
}
.single-content figure.wp-block-gallery {
  margin: 31px 0;
}

/* ----- Article footer: back + share ----- */
.single__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 31px;
  padding-top: 31px;
  border-top: 1px solid #e6e4e0;
}
.single__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f0f10;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: -0.08px;
  text-decoration: none;
}
.single__back:hover {
  color: #c00;
}
.single__share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.single__share-label {
  margin-right: 2px;
  font-size: 12px;
  color: #87878d;
  letter-spacing: -0.08px;
}
.single__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e6e4e0;
  border-radius: 18px;
  background: #fff;
  color: #0f0f10;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s;
}
.single__share-btn:hover,
.single__share-btn.is-copied {
  border-color: #c00;
  color: #c00;
}

/* ===== Sidebar contact card (Figma 391:927) ===== */
.oda-ccard {
  position: relative;
  background: #fff;
  border: 1px solid #e6e4e0;
  border-radius: 10px;
  padding: 25px 24px 24px;
  overflow: hidden;
}
.oda-ccard__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #c00;
}
.oda-ccard__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #87878d;
  font-size: 12px;
  letter-spacing: 0.88px;
  line-height: 16.5px;
  text-transform: uppercase;
}
.oda-ccard__person {
  display: flex;
  align-items: center;
  gap: 22px;
}
.oda-ccard__avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 73px;
  height: 73px;
  border-radius: 50%;
  border: 3.45px solid #fff;
  box-shadow: 0 1.15px 1.15px rgba(15, 15, 16, 0.04), 0 1.15px 0.58px rgba(15, 15, 16, 0.03);
  background: linear-gradient(135deg, #d4d4d2 0%, #a8a8a5 100%);
  color: #fff;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.46px;
}
/* Photo variant: fill the circle with the person's picture (keeps the white ring). */
.oda-ccard__avatar--photo {
  overflow: hidden;
  background: none;
}
.oda-ccard__avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.oda-ccard__id {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.oda-ccard__name {
  color: #0f0f10;
  font-size: 18px;
  font-weight: 600;
  line-height: 20.4px;
  letter-spacing: -0.34px;
}
.oda-ccard__role {
  color: #c00;
  font-size: 12px;
  letter-spacing: 0.33px;
  line-height: 15.75px;
  text-transform: unset;
  /* Client request: a person's role is written as they write it, not shouted.
     0.33px tracking rather than the 0.63px that uppercase needed — lower case
     does not want the extra air. Same value the Additional CSS already used
     when it patched the other two role classes. */
}
.oda-ccard__desc {
  margin: 22px 0;
  padding-bottom: 22px;
  border-bottom: 1px dashed #e6e4e0;
}
.oda-ccard__desc,
.oda-ccard__desc p {
  color: #424248;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.08px;
}
.oda-ccard__desc p {
  margin: 0;
}
.oda-ccard__desc p + p {
  margin-top: 12px;
}
.oda-ccard__rows {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.oda-ccard__row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.oda-ccard__icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: #87878d;
}
.oda-ccard__row a {
  color: #0f0f10;
  font-size: 14px;
  line-height: 19.5px;
  letter-spacing: -0.08px;
  text-decoration: none;
}
.oda-ccard__row a:hover {
  color: #c00;
}
.oda-ccard__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 23px;
  border: 1px solid #c00;
  border-radius: 999px;
  background: #fff;
  color: #0f0f10;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: -0.08px;
  text-decoration: none;
  transition: 0.2s;
}
.oda-ccard__btn:hover {
  background: #c00;
  color: #fff;
}

/* ===== Related articles (Figma 391:1018) ===== */
.related {
  border-top: 1px solid #e6e4e0;
  background: #fff;
  padding: 99px 0 100px;
}
.related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.related__title {
  margin: 0;
  color: #0f0f10;
  font-size: 30px;
  font-weight: 600;
  line-height: 34.5px;
  letter-spacing: -0.75px;
}
.related__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c00;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: -0.08px;
  text-decoration: none;
  white-space: nowrap;
}
.related__all:hover svg {
  transform: translateX(3px);
}
.related__all svg {
  transition: transform 0.2s ease;
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* compact related card */
.news-rel {
  display: block;
  position: relative;
  min-height: 130px;
  padding: 33px 26px 26px;
  border: 1px solid #e6e4e0;
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  transition: 0.2s;
}
.news-rel:hover {
  border-color: #d8d4cf;
  box-shadow: 0 8px 28px rgba(15, 15, 16, 0.06);
}
.news-rel__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 15.75px;
  letter-spacing: 0.84px;
  text-transform: uppercase;
}
.news-rel__bar {
  flex-shrink: 0;
  width: 7px;
  height: 5px;
  border-radius: 2.5px;
  background: #c00;
}
.news-rel__cat {
  color: #c00;
}
.news-rel__dot {
  color: #87878d;
  opacity: 0.5;
}
.news-rel__date {
  color: #87878d;
}
.news-rel__title {
  margin: 0;
  color: #0f0f10;
  font-size: 18px;
  font-weight: 600;
  line-height: 23.4px;
  letter-spacing: -0.396px;
}

@media (max-width: 991px) {
  .single__layout {
    flex-direction: column;
    gap: 40px;
  }
  .single__aside {
    position: static;
    width: 100%;
    flex-basis: auto;
    max-width: 460px;
  }
  .single__title {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -1.4px;
  }
  .single__container {
    padding-bottom: 64px;
  }
  .related {
    padding: 64px 0;
  }
  .related__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
}
@media (max-width: 640px) {
  .single-content figure.wp-block-gallery {
    grid-template-columns: 1fr;
  }
  .single__title {
    font-size: 32px;
    letter-spacing: -1px;
  }
}
