/* Book-editor terminology, institution column and profile-page repair. */
body.page-12-editor-kurulu .bidge-project-editor-card__institution {
  display: block;
  margin-top: 8px;
  color: #5f7483;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.42;
}

body.page-12-editor-kurulu .bidge-project-editor-card__fields {
  display: none !important;
}

body.page-12-editor-kurulu .bidge-project-editor-grid.is-list-view .bidge-project-editor-card__institution {
  grid-column: 3;
  grid-row: 1 / span 3;
  align-self: center;
  margin: 0;
  color: #506879;
  font-size: 13px;
}

main.bidge-editor-profile {
  width: 100%;
  overflow: clip;
  color: #132f47;
  background: #fff;
}

.bidge-editor-profile__breadcrumb {
  padding-block: 20px;
}

.bidge-editor-profile__hero {
  padding: clamp(52px, 6vw, 82px) 0;
  border-block: 1px solid #e3e9ed;
  background:
    radial-gradient(circle at 90% 8%, rgba(31, 157, 216, .13), transparent 30%),
    linear-gradient(135deg, #fbfcfd, #f3f7f9);
}

.bidge-editor-profile__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 370px);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.bidge-editor-profile__identity {
  min-width: 0;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 25px;
  align-items: start;
}

.bidge-editor-profile__avatar {
  width: 96px;
  height: 96px;
  border-radius: 25px;
}

.bidge-editor-profile__identity h1 {
  max-width: 21ch;
  margin: 9px 0 16px;
  color: #102d45;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.03;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.bidge-editor-profile__identity h1 .bidge-editor-profile__academic-title {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.bidge-editor-profile__identity .lead {
  max-width: 620px;
  color: #526b7d;
  font-size: 16px;
  line-height: 1.7;
}

.bidge-editor-profile__summary {
  overflow: hidden;
  border: 1px solid #dbe4e9;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 48px rgba(17, 43, 62, .09);
}

.bidge-editor-profile__summary > div {
  min-height: 66px;
  padding: 17px 20px;
}

.bidge-editor-profile__summary span {
  color: #647986;
  font-size: 13px;
  font-weight: 750;
}

.bidge-editor-profile__summary strong {
  color: #102f47;
  font-size: 18px;
}

.bidge-editor-profile__summary .bidge-editor-profile__institution {
  align-items: flex-start;
}

.bidge-editor-profile__summary .bidge-editor-profile__institution strong {
  max-width: 220px;
  font-size: 14px;
  line-height: 1.42;
  text-align: right;
}

.bidge-editor-profile__publications {
  padding: clamp(58px, 6vw, 80px) 0;
  border-top: 0;
  background: #f6f8fa;
}

.bidge-editor-profile__section-head {
  align-items: flex-end;
  margin-bottom: 28px;
}

.bidge-editor-profile__section-head h2 {
  color: #112f47;
}

.bidge-editor-publication-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bidge-editor-publication-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border: 1px solid #dfe6ea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 48, 69, .045);
}

.bidge-editor-publication-card__cover {
  width: 108px;
  height: 153px;
}

.bidge-editor-publication-card h3 {
  font-size: 17px;
  line-height: 1.32;
}

@media (max-width: 950px) {
  body.page-12-editor-kurulu .bidge-project-editor-grid.is-list-view .bidge-project-editor-card__institution {
    grid-column: auto;
    grid-row: auto;
    margin-top: 7px;
  }

  .bidge-editor-profile__hero-grid {
    grid-template-columns: 1fr;
  }

  .bidge-editor-profile__summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bidge-editor-profile__summary > div {
    display: grid;
    align-content: center;
    gap: 6px;
    border-right: 1px solid #e6ecef;
    border-bottom: 0;
  }

  .bidge-editor-profile__summary .bidge-editor-profile__institution strong {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .bidge-editor-profile__identity {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
  }

  .bidge-editor-profile__avatar {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    font-size: 22px;
  }

  .bidge-editor-profile__identity h1 {
    margin-top: 5px;
    font-size: clamp(30px, 9vw, 43px);
  }

  .bidge-editor-profile__identity .lead {
    grid-column: 1 / -1;
  }

  .bidge-editor-profile__summary {
    grid-template-columns: 1fr;
  }

  .bidge-editor-profile__summary > div {
    display: flex;
    border-right: 0;
    border-bottom: 1px solid #e6ecef;
  }

  .bidge-editor-profile__summary .bidge-editor-profile__institution strong {
    max-width: 68%;
    text-align: right;
  }

  .bidge-editor-publication-grid {
    grid-template-columns: 1fr;
  }

  .bidge-editor-publication-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 13px;
  }

  .bidge-editor-publication-card__cover {
    width: 88px;
    height: 128px;
  }
}

/* V6 — standalone editor profile: centered layout and readable catalogue cards. */
body.bidge-editor-profile-page {
  --bidge-editor-profile-max: 1180px;
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: #172f43;
  font-family: var(--bidge-font, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
}

body.bidge-editor-profile-page main.bidge-editor-profile,
body.bidge-editor-profile-page main.bidge-editor-profile h1,
body.bidge-editor-profile-page main.bidge-editor-profile h2,
body.bidge-editor-profile-page main.bidge-editor-profile h3,
body.bidge-editor-profile-page main.bidge-editor-profile p,
body.bidge-editor-profile-page main.bidge-editor-profile a,
body.bidge-editor-profile-page main.bidge-editor-profile span,
body.bidge-editor-profile-page main.bidge-editor-profile strong,
body.bidge-editor-profile-page main.bidge-editor-profile dt,
body.bidge-editor-profile-page main.bidge-editor-profile dd {
  font-family: inherit;
}

body.bidge-editor-profile-page main.bidge-editor-profile > .wrap,
body.bidge-editor-profile-page main.bidge-editor-profile section > .wrap {
  width: min(var(--bidge-editor-profile-max), calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
}

body.bidge-editor-profile-page .bidge-editor-profile__breadcrumb {
  padding-block: 18px;
}

body.bidge-editor-profile-page .bidge-editor-profile__breadcrumb .breadcrumb {
  font-size: 13px;
  line-height: 1.5;
}

body.bidge-editor-profile-page .bidge-editor-profile__hero {
  padding: clamp(28px, 3vw, 40px) 0;
}

body.bidge-editor-profile-page .bidge-editor-profile__hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
  gap: clamp(30px, 4vw, 52px);
}

body.bidge-editor-profile-page .bidge-editor-profile__identity {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 19px;
  align-items: center;
}

body.bidge-editor-profile-page .bidge-editor-profile__avatar {
  width: 72px;
  height: 72px;
  border-radius: 19px;
  font-size: 23px;
}

body.bidge-editor-profile-page .bidge-editor-profile__identity .eyebrow,
body.bidge-editor-profile-page .bidge-editor-profile__section-head .eyebrow {
  color: #d66500;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.35;
  text-transform: uppercase;
}

body.bidge-editor-profile-page .bidge-editor-profile__identity h1 {
  max-width: 24ch;
  margin: 5px 0 8px;
  color: #102d45;
  font-size: clamp(32px, 3.3vw, 42px);
  font-weight: 740;
  line-height: 1.08;
  letter-spacing: -.035em;
}

body.bidge-editor-profile-page .bidge-editor-profile__identity h1 .bidge-editor-profile__academic-title {
  font: inherit;
}

body.bidge-editor-profile-page .bidge-editor-profile__identity .lead {
  max-width: 650px;
  margin: 0;
  color: #526b7d;
  font-size: 16px;
  line-height: 1.65;
}

body.bidge-editor-profile-page .bidge-editor-profile__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-color: #d9e3e8;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(17, 43, 62, .07);
}

body.bidge-editor-profile-page .bidge-editor-profile__summary > div {
  min-height: 58px;
  padding: 13px 16px;
}

body.bidge-editor-profile-page .bidge-editor-profile__summary > div:not(.bidge-editor-profile__institution) {
  border-bottom: 0;
}

body.bidge-editor-profile-page .bidge-editor-profile__summary > div:not(.bidge-editor-profile__institution) + div:not(.bidge-editor-profile__institution) {
  border-right: 0;
}

body.bidge-editor-profile-page .bidge-editor-profile__summary .bidge-editor-profile__institution + div {
  border-right: 1px solid #e6ecef;
}

body.bidge-editor-profile-page .bidge-editor-profile__summary .bidge-editor-profile__institution {
  grid-column: 1 / -1;
  align-items: center;
}

body.bidge-editor-profile-page .bidge-editor-profile__summary span {
  font-size: 13px;
  line-height: 1.4;
}

body.bidge-editor-profile-page .bidge-editor-profile__summary strong {
  font-size: 16px;
  line-height: 1.4;
}

body.bidge-editor-profile-page .bidge-editor-profile__publications {
  padding: clamp(36px, 4vw, 50px) 0;
  background: #f5f8fa;
}

body.bidge-editor-profile-page .bidge-editor-profile__section-head {
  margin-bottom: 25px;
}

body.bidge-editor-profile-page .bidge-editor-profile__section-head h2 {
  margin: 7px 0 0;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -.035em;
}

body.bidge-editor-profile-page .bidge-editor-profile__section-head p {
  color: #5d7281;
  font-size: 14px;
  font-weight: 650;
}

body.bidge-editor-profile-page .bidge-editor-publication-grid {
  gap: 18px;
}

body.bidge-editor-profile-page .bidge-editor-publication-card {
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  min-height: 184px;
  padding: 16px;
  border-color: #dce5e9;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(17, 44, 64, .05);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.bidge-editor-profile-page .bidge-editor-publication-card:hover {
  transform: translateY(-2px);
  border-color: #c9d8df;
  box-shadow: 0 14px 30px rgba(17, 44, 64, .09);
}

body.bidge-editor-profile-page .bidge-editor-publication-card__cover {
  width: 104px;
  height: 148px;
  border-radius: 8px;
}

body.bidge-editor-profile-page .bidge-editor-publication-card__meta {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.35;
}

body.bidge-editor-profile-page .bidge-editor-publication-card h3 {
  margin-bottom: 9px;
  font-size: 17px;
  font-weight: 690;
  line-height: 1.35;
  letter-spacing: -.018em;
}

body.bidge-editor-profile-page .bidge-editor-publication-card dl {
  gap: 6px;
  margin-bottom: 13px;
}

body.bidge-editor-profile-page .bidge-editor-publication-card dl > div {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
}

body.bidge-editor-profile-page .bidge-editor-publication-card dt {
  color: #40596b;
}

body.bidge-editor-profile-page .bidge-editor-publication-card__action {
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 950px) {
  body.bidge-editor-profile-page main.bidge-editor-profile > .wrap,
  body.bidge-editor-profile-page main.bidge-editor-profile section > .wrap {
    width: min(var(--bidge-editor-profile-max), calc(100% - 36px));
  }

  body.bidge-editor-profile-page .bidge-editor-profile__hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  body.bidge-editor-profile-page .bidge-editor-profile__summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.bidge-editor-profile-page .bidge-editor-profile__summary .bidge-editor-profile__institution {
    grid-column: auto;
  }

  body.bidge-editor-profile-page .bidge-editor-profile__summary > div {
    border-bottom: 0;
    border-right: 1px solid #e6ecef;
  }

  body.bidge-editor-profile-page .bidge-editor-profile__summary > div:last-child {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  body.bidge-editor-profile-page main.bidge-editor-profile > .wrap,
  body.bidge-editor-profile-page main.bidge-editor-profile section > .wrap {
    width: calc(100% - 32px);
  }

  body.bidge-editor-profile-page .bidge-editor-profile__breadcrumb {
    padding-block: 15px;
  }

  body.bidge-editor-profile-page .bidge-editor-profile__hero {
    padding: 28px 0 32px;
  }

  body.bidge-editor-profile-page .bidge-editor-profile__identity {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 15px;
    align-items: start;
  }

  body.bidge-editor-profile-page .bidge-editor-profile__avatar {
    width: 64px;
    height: 64px;
    border-radius: 17px;
    font-size: 21px;
  }

  body.bidge-editor-profile-page .bidge-editor-profile__identity h1 {
    margin-top: 5px;
    font-size: clamp(28px, 8.6vw, 36px);
    line-height: 1.1;
  }

  body.bidge-editor-profile-page .bidge-editor-profile__identity .lead {
    margin-top: 5px;
    font-size: 15px;
    line-height: 1.62;
  }

  body.bidge-editor-profile-page .bidge-editor-profile__summary > div {
    min-height: 58px;
    padding: 13px 15px;
  }

  body.bidge-editor-profile-page .bidge-editor-profile__summary {
    grid-template-columns: 1fr;
  }

  body.bidge-editor-profile-page .bidge-editor-profile__summary > div,
  body.bidge-editor-profile-page .bidge-editor-profile__summary .bidge-editor-profile__institution + div {
    border-right: 0;
    border-bottom: 1px solid #e6ecef;
  }

  body.bidge-editor-profile-page .bidge-editor-profile__summary > div:last-child {
    border-bottom: 0;
  }

  body.bidge-editor-profile-page .bidge-editor-profile__section-head {
    display: flex;
    align-items: flex-end;
  }

  body.bidge-editor-profile-page .bidge-editor-profile__section-head p {
    margin-top: 0;
    white-space: nowrap;
  }

  body.bidge-editor-profile-page .bidge-editor-publication-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 13px;
  }

  body.bidge-editor-profile-page .bidge-editor-publication-card__cover {
    width: 82px;
    height: 118px;
  }

  body.bidge-editor-profile-page .bidge-editor-publication-card h3 {
    font-size: 15px;
    line-height: 1.38;
  }
}

@media (max-width: 440px) {
  body.bidge-editor-profile-page .bidge-editor-profile__section-head {
    display: block;
  }

  body.bidge-editor-profile-page .bidge-editor-profile__section-head p {
    margin-top: 9px;
  }
}
