/* Ver 021126_9 · Editorial public Bio, in the A Râu palette. */
#bio-public-view {
  --bio-ink: var(--studio-ink, #302a25);
  --bio-paper: var(--studio-paper, #fff);
  --bio-muted: var(--studio-muted, #857a70);
  --bio-line: var(--studio-line, #e9e1d8);
  --bio-accent: var(--studio-accent, #b88a58);
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 40px 70px;
  color: var(--bio-ink);
  box-sizing: border-box;
}
#bio-public-view [hidden],
#bioEditModal [hidden] {
  display: none !important;
}
.bio-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  min-height: 40px;
}
#bio-public-view .bio-toolbar button {
  border: 1px solid var(--bio-line);
  background: var(--bio-paper);
  padding: 10px 17px;
  border-radius: 999px !important;
  font: 500 12px/1.5 inherit;
  color: var(--bio-accent);
  cursor: pointer;
}
#bio-public-view .bio-toolbar #bioOwnerEditBtn {
  margin-right: auto;
}
.bio-hero {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 64px;
  padding: 16px 24px 0;
}
#bio-public-view .bio-portrait {
  width: 116px;
  height: 116px;
  border-radius: 50% !important;
  margin: 0 auto 25px;
  background: var(--studio-soft, #f4ede4);
  border: 5px solid var(--bio-paper);
  box-shadow: 0 8px 32px #4c311519;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--bio-accent);
}
.bio-portrait > span {
  font-family: "Playfair Display", serif;
  font-size: 48px;
}
.bio-portrait > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.bio-eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 650;
  color: var(--studio-accent, #b88a58);
  line-height: 1.7;
  margin: 0 0 12px;
}
#bio-public-view h1 {
  font-family: "Playfair Display", "Be Vietnam Pro", serif;
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 8px 0 16px;
  color: inherit;
}
.bio-intro {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  white-space: pre-line;
  color: var(--bio-muted);
  margin: 0 auto;
  max-width: 570px;
}
.bio-location {
  font-size: 11px;
  color: var(--bio-muted);
  margin: 14px 0 0;
}
.bio-socials {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
#bio-public-view .bio-social {
  min-height: 42px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px !important;
  color: #fff !important;
  background: #8c6239;
  font-size: 11px;
  font-weight: 550;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 12px #3b2e1c0b;
  border: 1px solid #ffffff20;
}
#bio-public-view .bio-social:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px #3b2e1c24;
}
.bio-social svg {
  height: 17px;
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
#bio-public-view .bio-social-facebook {
  background: #1877f2;
}
#bio-public-view .bio-social-instagram {
  background: linear-gradient(125deg, #833ab4, #c13584, #df7350);
}
#bio-public-view .bio-social-youtube {
  background: #d72424;
}
#bio-public-view .bio-social-zalo {
  background: #0068ff;
}
#bio-public-view .bio-social-tiktok {
  background: #151515;
}
#bio-public-view .bio-social-phone {
  background: var(--bio-accent);
}
.bio-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 22px 0 0;
}
.bio-services > span {
  border: 1px solid var(--bio-line);
  padding: 7px 12px;
  border-radius: 999px !important;
  color: var(--bio-muted);
  font-size: 10px;
}
.bio-about {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8px 50px;
  padding: 35px 0 38px;
  border-top: 1px solid var(--bio-line);
  border-bottom: 1px solid var(--bio-line);
  margin-bottom: 55px;
}
.bio-about > .bio-eyebrow {
  grid-column: 1;
}
.bio-about > h2 {
  grid-column: 1;
  font:
    500 27px/1.5 "Playfair Display",
    serif;
  margin: 0;
}
.bio-about > #bioAboutText {
  grid-column: 2;
  grid-row: 1/3;
  color: var(--bio-muted);
  font-size: 13px;
  line-height: 2;
  white-space: pre-line;
  margin: 0;
}
.bio-collection {
  margin-bottom: 56px;
}
.bio-collection-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 22px;
}
.bio-collection-heading h2 {
  font:
    500 clamp(24px, 3vw, 34px) / 1.4 "Playfair Display",
    serif;
  margin: 0;
  color: inherit;
  overflow-wrap: anywhere;
}
.bio-collection-heading .bio-eyebrow {
  margin-bottom: 8px;
}
.bio-collection-description {
  font-size: 12px;
  line-height: 1.9;
  color: var(--bio-muted);
  margin: 10px 0 0;
  max-width: 540px;
}
#bio-public-view .bio-collection-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  color: white;
  background: var(--gradient-btn, linear-gradient(110deg, #b88a58, #c9a06f));
  border: 0;
  border-radius: 999px !important;
  padding: 13px 21px;
  min-height: 44px;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 5px 17px #b88a5820;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
#bio-public-view .bio-collection-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 24px #b88a5836;
}
.bio-magazine {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 190px;
  gap: 12px;
}
#bio-public-view .bio-magazine-shot {
  border: 0 !important;
  border-radius: 15px !important;
  padding: 0 !important;
  overflow: hidden;
  background: var(--studio-soft, #f5f0e9);
  cursor: zoom-in;
  position: relative;
  min-width: 0;
  min-height: 0;
}
.bio-magazine-shot:first-child {
  grid-row: span 2;
}
.bio-magazine-shot:last-child:nth-child(6) {
  grid-column: 2/4;
}
.bio-magazine img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.bio-magazine-shot:hover img {
  transform: scale(1.035);
}
.bio-magazine[data-count="1"] {
  grid-template-columns: 1fr;
  grid-auto-rows: 400px;
}
.bio-magazine[data-count="1"] > .bio-magazine-shot {
  grid-row: auto;
}
.bio-magazine[data-count="2"] {
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 370px;
}
.bio-magazine[data-count="2"] > .bio-magazine-shot {
  grid-row: auto;
}
.bio-magazine[data-count="4"] > .bio-magazine-shot:last-child {
  grid-column: 2/4;
}
.bio-film-frame {
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: 20px !important;
  overflow: hidden;
  background: #201b16;
  box-shadow: 0 8px 32px #2618080d;
}
.bio-film-frame > iframe,
.bio-film-frame > video {
  border: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bio-contact {
  text-align: center;
  border: 1px solid var(--bio-line);
  border-radius: 26px !important;
  padding: 40px 25px;
  background: var(--bio-paper);
  margin: 20px 0 38px;
}
.bio-contact h2 {
  font:
    500 31px/1.45 "Playfair Display",
    serif;
  margin: 0 0 12px;
}
.bio-contact > p:not(.bio-eyebrow) {
  color: var(--bio-muted);
  font-size: 12px;
  line-height: 1.8;
}
.bio-signature {
  text-align: center;
  color: var(--bio-muted);
  font:
    italic 17px/1.8 "Playfair Display",
    serif;
  margin: 38px 0 0;
}
.bio-signature span {
  font:
    500 8px/1.8 "Be Vietnam Pro",
    sans-serif;
  letter-spacing: 2px;
  display: block;
  margin-top: 9px;
}
.bio-status {
  font-size: 11px;
  line-height: 1.8;
  color: var(--studio-muted, #857a70);
  overflow-wrap: anywhere;
  margin: 10px 0;
}
.bio-status[data-state="error"] {
  color: #bc5144;
}
.bio-status[data-state="success"] {
  color: var(--studio-accent);
}
.bio-empty {
  border: 1px dashed var(--bio-line);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
}
.bio-empty h2 {
  font-size: 18px;
  font-weight: 500;
}
.bio-empty p {
  font-size: 12px;
  color: var(--bio-muted);
  line-height: 1.9;
}
.bio-image-error {
  color: var(--bio-muted);
  font-size: 11px;
}
html body #bioEditModal .bio-editor {
  width: min(850px, calc(100vw - 32px));
  max-width: 850px !important;
  max-height: 90dvh;
  overflow: auto;
  border-radius: 24px !important;
  background: var(--studio-paper, var(--card-bg));
  padding: 28px;
  box-sizing: border-box;
  color: var(--studio-ink);
}
.bio-edit-open {
  overflow: hidden;
}
#bioEditModal h2 {
  font-size: 21px;
  margin: 0;
}
#bioEditModal h3 {
  font-size: 14px;
  margin: 0 0 22px;
  font-weight: 600;
}
.bio-editor-note {
  font-size: 11px;
  line-height: 1.9;
  color: var(--studio-muted);
  margin: 12px 0 24px;
}
.bio-editor-section {
  padding: 25px 0;
  border-top: 1px solid var(--studio-line);
}
.bio-editor-section:first-child {
  padding-top: 0;
  border: 0;
}
#bioEditModal fieldset {
  padding: 0;
  border: 0;
  margin: 0;
  min-width: 0;
}
#bioEditModal fieldset:disabled {
  opacity: 0.65;
}
.bio-editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.bio-full {
  grid-column: 1/-1;
}
#bioEditModal label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  font-weight: 550;
  color: var(--studio-ink);
  min-width: 0;
  margin: 0 0 12px;
}
#bioEditModal input,
#bioEditModal textarea,
#bioEditModal select {
  border-radius: 12px !important;
  border: 1px solid var(--studio-line);
  background: var(--studio-soft, var(--input-bg));
  color: var(--studio-ink);
  font:
    400 12px/1.7 "Be Vietnam Pro",
    sans-serif;
  min-height: 44px;
  padding: 11px 12px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  outline: none;
  margin: 0;
}
#bioEditModal input:focus,
#bioEditModal textarea:focus,
#bioEditModal select:focus {
  border-color: var(--studio-accent);
  box-shadow: 0 0 0 3px #b88a5815;
}
#bioEditModal small {
  color: var(--studio-muted);
  font-size: 10px;
  line-height: 1.8;
  font-weight: 400;
}
.bio-source-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.bio-source-row > input {
  flex: 1;
}
.bio-source-row > button {
  flex-shrink: 0;
}
.bio-avatar-check {
  display: flex;
  align-items: center;
  gap: 15px;
}
.bio-avatar-check img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50% !important;
}
.bio-avatar-check .bio-status {
  margin: 0;
}
#bioEditModal button {
  font-family: inherit;
  cursor: pointer;
  min-height: 38px;
  font-size: 11px;
}
#bioEditModal .bio-secondary,
#bioEditModal #bioResolveAvatar {
  background: var(--studio-soft);
  border: 1px solid var(--studio-line);
  border-radius: 999px !important;
  color: var(--studio-accent);
  padding: 10px 16px;
}
#bioEditModal .bio-remove {
  border: 0;
  background: none;
  color: #aa5547;
  padding: 8px;
  min-height: 34px;
  font-size: 10px;
}
.bio-social-editor {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr) 32px;
  gap: 8px;
  margin: 15px 0;
}
.bio-block-editor {
  border: 1px solid var(--studio-line);
  padding: 20px;
  border-radius: 18px !important;
  margin: 0 0 18px;
  background: var(--studio-paper);
}
.bio-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.bio-block-head b {
  font-size: 12px;
}
.bio-preview-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  margin: 14px 0 0;
}
.bio-preview-strip img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
}
.bio-editor-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--studio-line);
  padding-top: 20px;
}
.bio-editor-footer > div {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
#bioEditModal #bioSaveButton {
  background: var(--studio-accent);
  border: 0;
  color: white;
  padding: 11px 20px;
  border-radius: 999px !important;
  font-size: 11px;
}
#bioEditModal button:disabled {
  opacity: 0.5;
  cursor: default;
}
html body .bio-photo-dialog {
  width: min(1050px, 92vw);
  max-height: 92dvh;
  border: 1px solid var(--studio-line);
  padding: 18px;
  border-radius: 22px !important;
  background: var(--studio-paper, #fff);
  color: var(--studio-ink);
  box-sizing: border-box;
  overflow: auto;
}
.bio-photo-dialog::backdrop {
  background: #17110bd6;
  backdrop-filter: blur(5px);
}
.bio-photo-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 10px;
}
.bio-photo-dialog h2 {
  font-size: 14px;
  font-weight: 550;
  margin: 0;
}
.bio-photo-dialog > img {
  width: 100%;
  height: min(70dvh, 750px);
  object-fit: contain;
  display: block;
}
.bio-photo-dialog button {
  border: 1px solid var(--studio-line);
  background: var(--studio-soft);
  color: var(--studio-ink);
  border-radius: 999px !important;
  padding: 8px 14px;
  cursor: pointer;
}
.bio-photo-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  font-size: 11px;
}
.bio-photo-controls button:disabled {
  opacity: 0.4;
}
@media (max-width: 767px) {
  #bio-public-view {
    padding: 20px 18px 45px;
  }
  .bio-toolbar {
    margin-bottom: 10px;
  }
  .bio-hero {
    padding: 15px 0 0;
    margin-bottom: 40px;
  }
  .bio-hero .bio-intro {
    font-size: 12px;
    max-width: 340px;
  }
  .bio-socials {
    gap: 8px;
  }
  #bio-public-view .bio-social {
    font-size: 10px;
    padding: 10px 13px;
  }
  .bio-about {
    display: block;
    padding: 28px 0;
    margin-bottom: 35px;
  }
  .bio-about > h2 {
    margin-bottom: 16px;
  }
  .bio-about > #bioAboutText {
    font-size: 12px;
  }
  .bio-collection {
    margin-bottom: 36px;
  }
  .bio-collection-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .bio-collection-heading h2 {
    font-size: 26px;
  }
  #bio-public-view .bio-collection-button {
    font-size: 10px;
    padding: 11px 18px;
  }
  .bio-magazine {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
    gap: 8px;
  }
  .bio-magazine > .bio-magazine-shot:first-child {
    grid-row: span 2;
  }
  .bio-magazine > .bio-magazine-shot:last-child:nth-child(6) {
    grid-column: auto;
  }
  .bio-magazine[data-count="4"] > .bio-magazine-shot:last-child {
    grid-column: 1/-1;
  }
  .bio-magazine[data-count="1"] {
    grid-auto-rows: 360px;
  }
  .bio-magazine[data-count="2"] {
    grid-auto-rows: 250px;
  }
  .bio-magazine[data-count="2"] > .bio-magazine-shot:first-child {
    grid-row: auto;
  }
  .bio-magazine[data-count="6"] > .bio-magazine-shot:last-child {
    grid-column: 1/-1;
    aspect-ratio: 2.2;
    height: 100%;
  }
  .bio-film-frame {
    border-radius: 16px !important;
  }
  .bio-contact {
    padding: 30px 18px;
  }
  .bio-contact h2 {
    font-size: 25px;
  }
  .bio-signature {
    font-size: 15px;
  }
  html body #bioEditModal .bio-editor {
    width: calc(100vw - 20px);
    padding: 20px 16px;
    max-height: 92dvh;
    border-radius: 20px !important;
  }
  #bioEditModal h2 {
    font-size: 18px;
  }
  .bio-editor-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bio-full {
    grid-column: 1;
  }
  .bio-source-row {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .bio-source-row > input {
    flex-basis: 100%;
  }
  .bio-source-row > button {
    align-self: flex-start;
  }
  .bio-block-editor {
    padding: 16px;
  }
  .bio-social-editor {
    grid-template-columns: 100px minmax(0, 1fr) 24px;
    gap: 5px;
  }
  #bioEditModal input,
  #bioEditModal select,
  #bioEditModal textarea {
    font-size: 16px;
  }
  .bio-editor-footer {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  .bio-editor-footer > div {
    margin-left: auto;
  }
  .bio-preview-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .bio-photo-dialog > img {
    height: 65dvh;
  }
}
@media (prefers-reduced-motion: reduce) {
  #bio-public-view * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
