/* Master profile — shared layout (+ optional chips / illustration) */

body.page-master .breadcrumb-area {
  background: #f7f4ee;
}

.master-page {
  background: #f7f4ee;
  color: #2a241c;
  padding-bottom: 56px;
}

.master-hero {
  display: grid;
  gap: 28px;
  margin-bottom: 36px;
  align-items: start;
}

@media (min-width: 992px) {
  .master-hero {
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }
}

.master-hero__aside {
  text-align: center;
}

@media (min-width: 992px) {
  .master-hero__aside {
    text-align: left;
    position: sticky;
    top: 24px;
  }
}

.master-hero__photo {
  width: min(220px, 70vw);
  margin: 0 auto 18px;
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  background: #e8e2d6;
  box-shadow: 0 14px 32px rgba(42, 36, 28, 0.1);
}

@media (min-width: 992px) {
  .master-hero__photo {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.master-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.master-hero__status {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bca858;
  font-weight: 700;
}

.master-hero__name {
  margin: 0 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.2;
  color: #2a241c;
}

.master-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

@media (min-width: 992px) {
  .master-hero__actions {
    justify-content: flex-start;
  }
}

.master-hero__art {
  margin: 0 0 22px;
  border-radius: 22px;
  overflow: hidden;
  background: #e8e2d6;
  box-shadow: 0 18px 40px rgba(42, 36, 28, 0.08);
}

.master-hero__art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.master-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .master-chips {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

.master-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 14px;
  background: #fffdf8;
  border: 1px solid rgba(188, 168, 88, 0.35);
  border-radius: 16px;
  min-height: 100%;
}

.master-chip__icon {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(188, 168, 88, 0.12);
}

.master-chip__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.master-chip__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.master-chip__body strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  color: #2a241c;
  font-weight: 600;
  line-height: 1.25;
}

.master-chip__body span {
  font-size: 13px;
  line-height: 1.45;
  color: #5c5346;
}

.master-body {
  max-width: 760px;
}

.master-section {
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(188, 168, 88, 0.28);
}

.master-section:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.master-section__title {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  color: #2a241c;
  line-height: 1.25;
}

.master-section p,
.master-prose p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #4a4338;
}

.master-section__list-title {
  margin: 16px 0 10px !important;
  font-size: 13px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #bca858 !important;
  font-weight: 700;
}

.master-facts {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.master-facts li {
  position: relative;
  padding: 10px 12px 10px 34px;
  background: #fffdf8;
  border-radius: 12px;
  border: 1px solid rgba(42, 36, 28, 0.06);
  font-size: 14px;
  line-height: 1.55;
  color: #4a4338;
}

.master-facts li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bca858;
}

.master-quote {
  margin: 8px 0 0;
  padding: 18px 20px;
  border-left: 3px solid #bca858;
  background: rgba(188, 168, 88, 0.1);
  border-radius: 0 14px 14px 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-style: italic;
  line-height: 1.55;
  color: #2a241c;
}

.master-prose {
  font-size: 15px;
  line-height: 1.7;
  color: #4a4338;
}

.master-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.master-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(188, 168, 88, 0.28);
}

@media (max-width: 575.98px) {
  .master-chips {
    grid-template-columns: 1fr;
  }

  .master-chip {
    flex-direction: row;
    align-items: center;
  }

  .master-hero__art {
    border-radius: 16px;
  }
}
