/* Inline release authoring: scoped to the Press Center's existing WordPress editor. */
.hpmp-body-tools,.hpmp-body-tools *,.hpmp-body-dialog,.hpmp-body-dialog *{box-sizing:border-box}
.hpmp-body-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:14px 16px;margin:15px 0 10px;background:#f3f6f8;border:1px solid #dce4eb;border-radius:5px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#172333}
.hpmp-body-tools-label{display:grid;gap:3px}.hpmp-body-tools-label strong{font-size:13px;line-height:1.2}.hpmp-body-tools-label span{font-size:12px;color:#5c7081}
.hpmp-body-tools-actions{display:flex;gap:8px;flex-wrap:wrap}
.hpmp-body-tool-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:700 13px/1.3 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;border:1px solid #bdccd7;border-radius:4px;background:#fff;color:#1c4c68;padding:9px 13px;cursor:pointer;min-height:40px}
.hpmp-body-tool-button:hover,.hpmp-body-tool-button:focus-visible{border-color:#2c526d;background:#e8f1f5;outline-offset:2px}
.hpmp-body-tool-button span{font-size:18px;line-height:1}
.hpmp-body-dialog{border:1px solid #d6e0e8;border-radius:8px;max-height:min(90vh,1000px);width:min(900px,calc(100vw - 24px));max-width:none;padding:0;background:#fff;color:#172333;box-shadow:0 24px 80px rgba(13,37,54,.22);font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;overflow:auto}
.hpmp-body-dialog::backdrop{background:rgba(16,30,43,.6)}
.hpmp-dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:25px 28px 18px}
.hpmp-dialog-header h2{font-size:27px;line-height:1.2;letter-spacing:-.035em;margin:4px 0 6px}.hpmp-dialog-header p{margin:0;color:#657687}
.hpmp-dialog-eyebrow{color:#2c526d;font-size:11px;letter-spacing:.13em;font-weight:800}
.hpmp-dialog-close{font-size:26px;border:1px solid #d9e2e8;border-radius:5px;background:#fff;width:38px;height:38px;cursor:pointer;flex-shrink:0}
.hpmp-dialog-tabs{display:flex;gap:0;padding:0 28px;border-bottom:1px solid #dce4eb}
.hpmp-dialog-tabs button{padding:12px 20px;border:0;border-bottom:3px solid transparent;background:none;font:700 14px/1.4 inherit;color:#5e7080;cursor:pointer}
.hpmp-dialog-tabs button[aria-selected="true"]{color:#173f59;border-bottom-color:#2c526d}
.hpmp-body-dialog [role="tabpanel"]{padding:20px 28px 26px}
.hpmp-body-dialog [hidden]{display:none!important}
.hpmp-dialog-section-head{display:flex;justify-content:space-between;gap:10px;margin:0 0 15px;color:#253b4c}
.hpmp-dialog-section-head span{font-size:12px;color:#758693}
.hpmp-inline-asset-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hpmp-picker-card{min-width:0;overflow:hidden;border:1px solid #dde5ea;border-radius:6px;background:#fff;display:grid;grid-template-columns:120px minmax(0,1fr)}
.hpmp-picker-card>img{width:100%;height:100%;min-height:155px;object-fit:cover;background:#e8edf0}
.hpmp-picker-details{min-width:0;padding:12px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.hpmp-picker-details strong{font-size:12px;overflow-wrap:anywhere}.hpmp-picker-details p{margin:0;font-size:12px;color:#43586a;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.hpmp-picker-details small{color:#758693;font-size:11px}
.hpmp-dialog-secondary{border:1px solid #a7bac7;background:#fff;color:#234d66;border-radius:4px;padding:8px 13px;font-weight:750;cursor:pointer;margin-top:auto;min-height:36px}
.hpmp-inline-upload-box{background:#f4f7f9;padding:18px;margin-top:22px;border:1px solid #dbe4ea;border-radius:5px}
.hpmp-inline-upload-box h3,.hpmp-body-video-form h3{font-size:18px;margin:0 0 4px}.hpmp-inline-upload-box p{color:#657687;margin:0 0 13px}
.hpmp-inline-upload-box>input[type=file]{font:inherit;display:block;max-width:100%;margin-bottom:14px}
.hpmp-body-file-queue{display:grid;gap:12px;margin:12px 0}
.hpmp-upload-card{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;background:#fff;border:1px solid #d8e2e9;padding:12px;border-radius:5px}
.hpmp-upload-card>img{width:100%;height:130px;object-fit:cover;background:#e4eaf0}
.hpmp-upload-card-meta{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}
.hpmp-upload-card-meta>strong{grid-column:1/-1;overflow-wrap:anywhere}
.hpmp-body-dialog label{display:flex;flex-direction:column;gap:5px;color:#30495b;font-size:12px;font-weight:730}
.hpmp-body-dialog input:not([type=file]),.hpmp-body-dialog select,.hpmp-body-dialog textarea{font:14px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;width:100%;min-width:0;padding:9px 10px;border:1px solid #b9c7d1;border-radius:4px;background:#fff;color:#172333}
.hpmp-body-dialog :is(input,textarea,select,button):focus-visible{outline:2px solid #285b7e;outline-offset:2px}
.hpmp-dialog-primary{background:#13283d;border:1px solid #13283d;color:#fff;font:750 13px/1.4 inherit;padding:10px 15px;min-height:42px;border-radius:4px;cursor:pointer}
.hpmp-dialog-primary:disabled{opacity:.5;cursor:not-allowed}
.hpmp-body-video-form{background:#f4f7f9;padding:18px;border:1px solid #dbe4ea;margin-top:20px;display:grid;gap:12px}
.hpmp-body-field-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hpmp-inline-video-list{display:grid;gap:9px}
.hpmp-picker-video{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;border:1px solid #dce4ea;border-radius:5px}
.hpmp-picker-video-mark{background:#e6eef3;color:#2c526d;border-radius:50%;width:36px;height:36px;display:grid;place-items:center}
.hpmp-picker-video p{color:#63788a;overflow-wrap:anywhere;margin:3px 0 0;font-size:12px}
.hpmp-body-empty{padding:16px;color:#6c7c89;background:#f4f7f9;grid-column:1/-1}
#hpmp-body-message{min-height:18px;padding:0 28px 10px;color:#286345;font-weight:650}
#hpmp-body-message.hpmp-body-message-error{color:#ae3d32}
.hpmp-dialog-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;border-top:1px solid #e4eaf0;padding:14px 28px;color:#637486;font-size:12px}
.hpmp-dialog-footer a{color:#225a7f;text-underline-offset:3px}
/* WordPress visual editor preview blocks: back to shortcodes on save. */
.hpmp-editor-embed{display:block;max-width:100%;padding:10px;margin:15px 0;border:1px solid #e2e8ed;border-radius:5px;background:#f3f7f9;text-align:center}
.hpmp-editor-embed>img{display:block;max-width:100%;max-height:320px;width:auto;height:auto;object-fit:contain;margin:0 auto}
.hpmp-editor-embed figcaption{font-size:13px;margin-top:8px;color:#34495a}.hpmp-editor-embed figcaption small{display:block;margin-top:3px;color:#607383}
.hpmp-editor-video-icon{font-size:32px;background:#e3ebf0;padding:22px;color:#225a7f}
.hpmp-inline-content{max-width:100%;margin:24px auto;clear:both}.hpmp-inline-content img{max-width:100%!important;width:auto;height:auto;display:block;margin:0 auto}
.hpmp-inline-content figcaption{font-size:13px;line-height:1.5;color:#536574;padding:9px 0;border-bottom:1px solid #e3e8ec}
.hpmp-inline-content figcaption small{display:block;color:#6b7b86}
.hpmp-inline-video-frame{width:100%;aspect-ratio:16/9;background:#142638;display:grid;place-items:center;overflow:hidden}
.hpmp-inline-video-frame iframe{display:block;width:100%;height:100%;border:0}
@media(max-width:700px){.hpmp-inline-asset-list{grid-template-columns:1fr}.hpmp-dialog-header,.hpmp-body-dialog [role="tabpanel"]{padding-left:16px;padding-right:16px}.hpmp-dialog-tabs{padding-left:16px;padding-right:16px}.hpmp-dialog-footer{padding:14px 16px}}
@media(max-width:480px){.hpmp-body-tools{align-items:flex-start}.hpmp-body-tools-actions{width:100%}.hpmp-body-tool-button{flex:1}.hpmp-dialog-header h2{font-size:22px}.hpmp-picker-card{grid-template-columns:110px minmax(0,1fr)}.hpmp-picker-video{grid-template-columns:32px minmax(0,1fr)}.hpmp-picker-video .hpmp-dialog-secondary{grid-column:2}.hpmp-upload-card{grid-template-columns:1fr}.hpmp-upload-card>img{height:150px}.hpmp-upload-card-meta,.hpmp-body-field-cols{grid-template-columns:1fr}.hpmp-dialog-header{padding-top:16px}}

/* v0.1.9 additive selection */
.hpmp-upload-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.hpmp-upload-remove{border:1px solid #ced9e1;background:#fff;padding:5px 10px;color:#25465a;border-radius:4px;cursor:pointer;font:700 12px Inter,system-ui,sans-serif}

.hpmp-picker-unavailable{min-height:110px;background:#eef1f3;color:#6a412c;font-size:12px;line-height:1.5;padding:15px;display:flex;align-items:center;justify-content:center;text-align:center}

/* v0.2.4: the release editor shows existing uploaded files before inserting */
.hpmp-body-shelf{margin:0 0 17px;padding:14px;background:#fff;border:1px solid #dce5eb;border-radius:5px;color:#172333;font:13px/1.45 Inter,system-ui,sans-serif}
.hpmp-body-shelf-head{display:flex;flex-wrap:wrap;gap:6px 20px;align-items:baseline;justify-content:space-between;margin-bottom:12px}
.hpmp-body-shelf-head strong{font-size:14px}.hpmp-body-shelf-head span{color:#5d7180;font-size:12px}
.hpmp-body-shelf-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:11px}
.hpmp-shelf-card{border:1px solid #e1e7eb;border-radius:5px;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.hpmp-shelf-card>img{width:100%;height:104px;object-fit:cover;background:#ecf1f4}
.hpmp-shelf-copy{display:grid;gap:4px;padding:10px;min-width:0;flex:1}
.hpmp-shelf-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hpmp-shelf-copy span{font-size:11px;color:#657687}.hpmp-shelf-copy button{width:100%;margin-top:7px}
.hpmp-shelf-video{display:grid;place-items:center;height:104px;background:#e3ebf0;color:#2c526d;font-size:26px}
.hpmp-shelf-missing{height:104px;display:grid;place-items:center;background:#f5f4f2;color:#78533f;padding:10px;text-align:center;font-size:11px}
@media(max-width:560px){.hpmp-body-shelf-items{grid-template-columns:repeat(2,minmax(0,1fr))}.hpmp-body-shelf-head{display:block}.hpmp-shelf-card>img,.hpmp-shelf-video{height:90px}}

.hpmp-video-picker-frame{display:block;width:100%;aspect-ratio:16/9;border:0;background:#15263b;margin:8px 0}
.hpmp-video-source{color:#285d7b;text-decoration:underline;font-size:12px}
.hpmp-picker-video:has(.hpmp-video-picker-frame){grid-template-columns:36px minmax(0,1fr)}
.hpmp-picker-video:has(.hpmp-video-picker-frame)>button{grid-column:2}


/* v0.2.8: normalized, responsive photographs in published and private release copy.
   Only inline release photos are touched. Press-room downloadable asset cards,
   WordPress Media Library originals and approved release source remain unchanged. */
:where(.hm-release-copy,.hmcp-article-body) figure.hpmp-inline-photo {
  display:block;
  clear:both;
  box-sizing:border-box;
  width:100%;
  max-width:760px;
  min-width:0;
  margin:24px 0 30px;
  padding:0;
  overflow:hidden;
}
:where(.hm-release-copy,.hmcp-article-body) figure.hpmp-inline-photo > img {
  display:block;
  width:100% !important;
  max-width:100% !important;
  height:clamp(280px,46vw,460px) !important;
  max-height:460px !important;
  margin:0;
  padding:0;
  object-fit:contain !important;
  object-position:center center;
  background:#f0f3f6;
  border-radius:3px;
}
:where(.hm-release-copy,.hmcp-article-body) figure.hpmp-inline-photo > figcaption {
  display:block;
  max-width:100%;
  overflow-wrap:anywhere;
  margin:0;
  padding:10px 1px 12px;
  color:#526473;
  font:400 13px/1.55 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  border-bottom:1px solid #e3e8ec;
}
:where(.hm-release-copy,.hmcp-article-body) figure.hpmp-inline-photo > figcaption small {
  display:block;
  color:#63717d;
  margin-top:3px;
}
@media(max-width:640px){
  :where(.hm-release-copy,.hmcp-article-body) figure.hpmp-inline-photo {
    margin:18px 0 24px;
    max-width:100%;
  }
  :where(.hm-release-copy,.hmcp-article-body) figure.hpmp-inline-photo > img {
    height:clamp(220px,72vw,330px) !important;
    max-height:330px !important;
  }
}
