.disnak-profile-section {
  --profile-purple: #7963a7;
  --profile-deep: #362545;
  --profile-muted: #756d85;
  --profile-line: #e9e2f2;
  position: relative;
  overflow: hidden;
  padding: 58px 0 64px;
  color: #262035;
  background: radial-gradient(circle at 88% 12%, rgba(255,255,255,.96), transparent 22rem), radial-gradient(circle at 4% 86%, rgba(224,210,240,.72), transparent 25rem), #f6f2fb;
}
.disnak-profile-section::before {
  content: '';
  position: absolute;
  right: -300px;
  bottom: -300px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(121,99,167,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(121,99,167,.035), 0 0 0 65px rgba(121,99,167,.025);
  pointer-events: none;
}
.disnak-profile-bubbles { display: none; }
.disnak-profile-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.disnak-overline { display: inline-flex; align-items: center; gap: 9px; color: var(--profile-purple); font-size: .64rem; font-weight: 800; letter-spacing: .15em; line-height: 1; text-transform: uppercase; }
.disnak-overline::before { content: ''; width: 23px; height: 2px; border-radius: 99px; background: #c16e91; }
.disnak-profile-heading h2 { margin: 11px 0 7px; color: var(--profile-deep); font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(1.28rem, 1.9vw, 1.78rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; }
.disnak-profile-heading p { margin: 0; color: var(--profile-muted); font-size: .8rem; line-height: 1.65; }
.disnak-outline-link, .disnak-read-link { color: var(--profile-purple); font-size: .74rem; font-weight: 800; text-decoration: none; transition: color .2s ease, transform .2s ease, gap .2s ease; }
.disnak-outline-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid #d9c9e9; border-radius: 8px; background: rgba(255,255,255,.75); white-space: nowrap; }
.disnak-outline-link:hover, .disnak-read-link:hover { color: var(--profile-deep); }
.disnak-speech-card { display: grid; grid-template-columns: minmax(270px, 330px) minmax(0, 1fr); min-height: 395px; overflow: hidden; border: 1px solid var(--profile-line); border-radius: 16px; background: rgba(255,255,255,.82); box-shadow: 0 18px 40px rgba(73,51,111,.10); }
.disnak-director-profile { display: flex; align-self: start; min-width: 0; flex-direction: column; padding: 18px; background: transparent; }
.disnak-director-photo { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 12px; background: #fff; }
.disnak-director-photo::before { display: none; }
.disnak-director-photo::after { display: none; }
.disnak-director-photo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center center; }
.disnak-photo-placeholder { display: flex; width: 100%; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--profile-purple); background: radial-gradient(circle at 50% 35%, #fff, #e8def5 78%); }
.disnak-photo-placeholder i { font-size: 3.8rem; }
.disnak-photo-placeholder span { font-size: .68rem; font-weight: 700; }
.disnak-director-meta { display: none; }
.disnak-director-meta strong { color: var(--profile-deep); font-size: .78rem; line-height: 1.35; }
.disnak-director-meta span { color: #897c98; font-size: .64rem; line-height: 1.4; }
.disnak-speech-copy { position: relative; display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; padding: 32px clamp(27px, 4vw, 54px); background: rgba(255,255,255,.9); }
.disnak-speech-copy::before { content: 'Sambutan Kepala Dinas'; position: absolute; top: 18px; right: 28px; padding: 7px 10px; border: 1px solid #dfd2eb; border-radius: 999px; color: #6c5b86; background: #fbf9fd; font-size: .6rem; font-weight: 800; }
.disnak-speech-copy::after { content: '“'; position: absolute; top: 43px; left: 40px; color: rgba(121,99,167,.1); font-family: Georgia, serif; font-size: 5rem; line-height: .6; pointer-events: none; }
.disnak-speech-copy .disnak-overline, .disnak-speech-copy h3, .disnak-speech-copy .disnak-director-role, .disnak-speech-copy blockquote, .disnak-profile-actions { position: relative; z-index: 1; }
.disnak-speech-copy h3 { max-width: 650px; margin: 30px 0 5px; color: var(--profile-deep); font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(1.28rem, 2vw, 1.85rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.15; }
.disnak-director-role { margin: 0 0 13px; color: #6c5b86; font-size: .76rem; font-weight: 800; }
.disnak-speech-copy blockquote { max-width: 680px; margin: 0 0 8px; padding: 0; border: 0; color: var(--profile-muted); font-size: .82rem; line-height: 1.75; }
.disnak-speech-copy .disnak-read-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 11px 15px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, #5d4385, #8965ad); box-shadow: 0 10px 20px rgba(73,51,111,.18); }
.disnak-speech-copy .disnak-read-link::before { content: '\F4D0'; font-family: 'bootstrap-icons'; }
.disnak-speech-copy .disnak-read-link:hover { color: #fff; transform: translateY(-2px); }
.disnak-profile-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.disnak-speech-copy .disnak-profile-actions .disnak-read-link { margin-top: 0; }
.disnak-structure-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border: 1px solid #cdbade; border-radius: 8px; color: #634681; background: #fff; box-shadow: 0 7px 16px rgba(73,51,111,.07); font: inherit; font-size: .7rem; font-weight: 800; text-decoration: none; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
.disnak-structure-button:hover { border-color: #7958a0; color: #fff; background: #6e4e91; box-shadow: 0 10px 20px rgba(73,51,111,.16); transform: translateY(-2px); }
.structure-preview { position: fixed; inset: 0; z-index: 1100; display: grid; visibility: hidden; place-items: center; padding: 24px; opacity: 0; transition: visibility .25s ease, opacity .25s ease; }
.structure-preview.is-open { visibility: visible; opacity: 1; }
.structure-preview-backdrop { position: absolute; inset: 0; background: rgba(29,19,39,.72); backdrop-filter: blur(7px); }
.structure-preview-dialog { position: relative; display: flex; width: min(1120px, 94vw); height: min(790px, 88vh); overflow: hidden; flex-direction: column; border: 1px solid rgba(255,255,255,.35); border-radius: 19px; background: #fff; box-shadow: 0 30px 80px rgba(24,14,35,.34); transform: translateY(18px) scale(.985); transition: transform .25s ease; }
.structure-preview.is-open .structure-preview-dialog { transform: translateY(0) scale(1); }
.structure-preview-head { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 20px; border-bottom: 1px solid #eae2ef; background: linear-gradient(135deg,#fff,#f8f3fb); }
.structure-preview-head span { color: #8563a4; font-size: .58rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.structure-preview-head h2 { margin: 4px 0 0; color: #342441; font-size: 1.08rem; font-weight: 800; }
.structure-preview-tools { display: flex; align-items: center; gap: 8px; }
.structure-preview-tools a, .structure-preview-tools button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #ded2e7; border-radius: 9px; color: #674a84; background: #fff; text-decoration: none; cursor: pointer; transition: .2s ease; }
.structure-preview-tools a:hover, .structure-preview-tools button:hover { border-color: #6e4e91; color: #fff; background: #6e4e91; }
.structure-preview-body { min-height: 0; flex: 1; padding: 12px; background: #eee9f2; }
.structure-preview-body iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 10px; background: #fff; }
.structure-preview-body img { display: block; width: 100%; height: 100%; border-radius: 10px; object-fit: contain; background: #fff; }
body.structure-preview-open { overflow: hidden; }
.disnak-speech-tags { display: none; }
@keyframes disnakProfileReveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.disnak-profile-section.profile-reveal .disnak-speech-card { animation: disnakProfileReveal .6s ease both; }
@media (max-width: 900px) { .disnak-speech-card { grid-template-columns: minmax(245px, 300px) minmax(0, 1fr); } .disnak-speech-copy { padding: 30px 25px; } }
@media (max-width: 767px) {
  .disnak-profile-section { padding: 46px 0 52px; }
  .disnak-profile-heading { display: block; margin-bottom: 22px; }
  .disnak-outline-link { margin-top: 15px; }
  .disnak-speech-card { grid-template-columns: 1fr; min-height: 0; border-radius: 14px; }
  .disnak-director-profile { padding: 16px; }
  .disnak-director-photo { width: min(100%, 300px); margin: 0 auto; }
  .disnak-speech-copy { min-height: 310px; padding: 31px 22px 34px; }
  .disnak-speech-copy::before { top: 17px; right: 20px; font-size: .56rem; }
  .disnak-speech-copy::after { top: 42px; left: 23px; }
  .disnak-speech-copy h3 { margin-top: 42px; font-size: 1.42rem; }
  .disnak-profile-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .disnak-speech-copy .disnak-profile-actions .disnak-read-link, .disnak-structure-button { width: 100%; justify-content: center; }
  .structure-preview { padding: 12px; }
  .structure-preview-dialog { width: 100%; height: 88vh; border-radius: 14px; }
  .structure-preview-head { padding: 14px; }
  .structure-preview-body { padding: 7px; }
}
@media (prefers-reduced-motion: reduce) { .disnak-profile-section.profile-reveal .disnak-speech-card { animation: none; } }
