/* Shared typography: public article, private editor, and the private rich preview. */
/* Do not add these styles to unrelated customer/operator pages. */
.pr-article-typography{color:#1d2327;line-height:2;overflow-wrap:anywhere}
.pr-article-typography p,.pr-article-typography .pr-editor-paragraph{margin:0 0 20px}
.pr-article-typography .pr-align-center{text-align:center}
.pr-article-typography .pr-align-right{text-align:right}
.pr-article-typography .pr-align-justify{text-align:justify}
.pr-article-typography ul,.pr-article-typography ol{margin:12px 0 24px;padding-left:27px}
.pr-article-typography li{margin:4px 0}
.pr-article-typography a{color:#135e96;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
/* Optional semantic inline text size, available from the editor's "小" tool.
   This is a span inside the body, so existing heading/paragraph sizing stays unchanged. */
.pr-article-typography .pr-editor-text-small{font-size:13px}
.pr-article-typography .pr-editor-quote,.pr-article-typography blockquote{
  position:relative;border:0;background:#f3f4f6;
  padding:14px 18px 14px 49px;margin:23px 0;
}
.pr-article-typography .pr-editor-quote::before,
.pr-article-typography blockquote::before{
  content:"\201D";position:absolute;top:5px;left:16px;
  font:700 38px/1 Georgia,"Times New Roman",serif;
  color:#87929d;pointer-events:none;user-select:none;
}
.pr-article-typography .public-plain-body{white-space:pre-wrap;line-height:2}
.pr-article-typography .pr-article-figure{display:block;max-width:100%;margin:22px 0 24px;padding:10px;background:#fafbfd;border:1px solid #dde5eb}
.pr-article-typography .pr-article-figure img{display:block;max-width:100%;max-height:540px;width:auto;height:auto;object-fit:contain;margin:0 auto}
.pr-article-typography .pr-article-figure figcaption{text-align:center;color:#536371;font-size:12px;line-height:1.7;margin-top:8px}
.pr-article-typography .pr-figure-w50{width:50%}
.pr-article-typography .pr-figure-w75{width:75%}
.pr-article-typography .pr-figure-w100{width:100%}
.pr-article-typography .pr-figure-center{margin-left:auto;margin-right:auto}
.pr-article-typography .pr-figure-left{margin-left:0;margin-right:auto}
.pr-article-typography .pr-figure-right{margin-left:auto;margin-right:0}
/* Plain H2/H3 only. Generous whitespace without decoration.
   Specificity overrides legacy rich-editor/preview heading rules consistently. */
.pr-article-typography h2,.pr-article-typography .pr-editor-h2,
.release-create-layout .pr-article-content.pr-article-typography h2,
.release-preview-body.pr-article-typography .pr-editor-h2{
  font-size:24px;line-height:1.6;font-weight:850;color:#1d2327;
  border:0;padding:0;background:transparent;box-shadow:none;text-decoration:none;
  margin:58px 0 26px;
}
.pr-article-typography h3,.pr-article-typography .pr-editor-h3,
.release-create-layout .pr-article-content.pr-article-typography h3,
.release-preview-body.pr-article-typography .pr-editor-h3{
  font-size:18px;line-height:1.65;font-weight:850;color:#1d2327;
  border:0;padding:0;background:transparent;box-shadow:none;text-decoration:none;
  margin:50px 0 12px;
}
@media(max-width:650px){
 .pr-article-typography h2,.pr-article-typography .pr-editor-h2,
 .release-create-layout .pr-article-content.pr-article-typography h2,
 .release-preview-body.pr-article-typography .pr-editor-h2{
   font-size:19px;margin:40px 0 20px;
 }
 .pr-article-typography h3,.pr-article-typography .pr-editor-h3,
 .release-create-layout .pr-article-content.pr-article-typography h3,
 .release-preview-body.pr-article-typography .pr-editor-h3{
   font-size:16px;margin:38px 0 10px;
 }
 .pr-article-typography .pr-figure-w50{width:70%}
}

/* Shared approved visual-block layout (public article and private preview). */
.pr-article-typography .pr-visual-columns{
  display:grid;align-items:start;gap:20px;width:100%;margin:27px 0 34px;
}
.pr-article-typography .pr-visual-column{min-width:0;overflow-wrap:anywhere}
.pr-article-typography .pr-visual-column>:first-child{margin-top:0}
.pr-article-typography .pr-visual-column>:last-child{margin-bottom:0}
.pr-article-typography .pr-visual-text{white-space:pre-wrap}
.pr-article-typography .pr-visual-image{box-sizing:border-box;max-width:100%;position:relative;padding:0;border:0;background:transparent}
.pr-article-typography .pr-visual-image img{width:100%;height:auto;max-height:540px;object-fit:contain}
/* Only zoomed/repositioned body images have a clipped private/public viewport.
   Natural ratio and prior untransformed article images are left unchanged. */
.pr-article-typography .pr-visual-image .pr-v-image-viewport{display:block;position:relative;width:100%;overflow:hidden}
.pr-article-typography .pr-visual-image .pr-v-image-viewport img{display:block;width:100%;max-width:100%;height:auto;max-height:540px;object-fit:contain;transform-origin:center center}
/* Crop mode changes the viewport's actual geometry, eliminating bottom/side
   whitespace; the original image file and legacy uncut display are untouched. */
.pr-article-typography .pr-visual-image .pr-v-body-image-frame.pr-v-crop-frame{position:relative;max-width:100%}
.pr-article-typography .pr-visual-image .pr-v-image-viewport.pr-v-cropped-image{position:relative;display:block;width:100%;overflow:hidden}
.pr-article-typography .pr-visual-image .pr-v-image-viewport.pr-v-cropped-image img{
  position:absolute;display:block;max-width:none;max-height:none;
  object-fit:fill;transform-origin:center center;
}
.pr-article-typography .pr-visual-column .pr-article-figure{margin:8px 0}
/* Match the first image edge to the neighboring paragraph's first line
   in a 2-column article. 3-column and ordinary figures remain unchanged. */
.pr-article-typography .pr-visual-columns-2 > .pr-visual-column > .pr-article-figure:first-child,
.pr-article-typography .pr-visual-columns-3 > .pr-visual-column > .pr-article-figure:first-child{
  margin-top:4px;
}

.pr-article-typography .pr-visual-column h2{margin-top:10px}
.pr-article-typography .pr-visual-column h3:not(:first-child){margin-top:16px}
@media(max-width:700px){
  .pr-article-typography .pr-visual-columns{
    grid-template-columns:1fr!important;gap:20px;margin:22px 0 26px;
  }
  .pr-article-typography .pr-visual-column{width:100%}
  .pr-article-typography .pr-visual-image{max-width:100%}
}

/* Article parts shared by editor, saved private preview and public page. */
.pr-article-typography .pr-article-link-button-row{
  display:flex;align-items:center;justify-content:center;
  width:100%;margin:18px 0 22px;min-width:0;
}
.pr-article-typography .pr-article-link-button-row.pr-align-left{justify-content:flex-start}
.pr-article-typography .pr-article-link-button-row.pr-align-center{justify-content:center}
.pr-article-typography .pr-article-link-button-row.pr-align-right{justify-content:flex-end}
.pr-article-typography .pr-article-link-button{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  max-width:100%;min-height:42px;padding:11px 22px;
  border:1px solid #18365c;border-radius:5px;background:#18365c;
  color:#fff;font-size:14px;font-weight:800;line-height:1.4;
  text-align:center;text-decoration:none;overflow-wrap:anywhere;
}
.pr-article-typography a.pr-article-link-button,
.pr-article-typography a.pr-article-link-button:visited{
  color:#fff;text-decoration:none;
}
.pr-article-typography a.pr-article-link-button:hover,
.pr-article-typography a.pr-article-link-button:focus-visible{
  color:#fff;background:#102a4b;border-color:#102a4b;text-decoration:none;
}
.pr-article-typography .pr-article-simple-box{
  box-sizing:border-box;display:block;min-width:0;width:100%;
  margin:18px 0 22px;padding:14px 18px;
  border:1px solid #cbd5e1;border-radius:0!important;background:#fff;
  color:inherit;font-size:inherit;line-height:1.8;white-space:normal;
  overflow-wrap:anywhere;
}
.pr-article-typography .pr-article-simple-box.pr-align-left{text-align:left}
.pr-article-typography .pr-article-simple-box.pr-align-center{text-align:center}
.pr-article-typography .pr-article-simple-box.pr-align-right{text-align:right}

/* Reusable company service block, shared by editor, preview and public articles. */
.pr-article-service{border:0;padding:0;margin:18px 0;min-width:0;overflow-wrap:anywhere}
.pr-service-header{display:flex;align-items:center;gap:16px;margin-bottom:12px}
.pr-service-header strong{font-size:1.15em;line-height:1.45}
.pr-article-service .pr-service-logo{width:100px;height:76px;object-fit:contain;flex:none;margin:0}
.pr-service-tagline{margin-top:3px;font-size:.9em;color:#526471}
.pr-service-description{white-space:pre-line;line-height:1.75;margin:12px 0}
.pr-article-service .pr-service-image{display:block;max-width:100%;max-height:420px;width:auto;height:auto;margin:12px auto;object-fit:contain}
.pr-article-service .pr-article-link-button{display:inline-block;margin:8px 0}
.pr-service-social{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.pr-service-social:empty{display:none}
.pr-service-social-link{display:inline-flex;align-items:center;border:1px solid #cbd5dc;padding:5px 10px;border-radius:3px;font-size:13px;color:#243b4b;text-decoration:none}
.pr-v-service-select{width:100%;min-height:38px;padding:6px 9px;border:1px solid #cbd5dc;background:white;font:inherit;color:#243b4b}
.pr-service-manage-link{font-size:12px;display:inline-block;margin:6px 0;color:#526471}
@media(max-width:600px){.pr-service-header{gap:10px}.pr-article-service .pr-service-logo{width:78px;height:60px}}

.pr-service-social-link{gap:5px;align-items:center}.pr-service-social-link svg{width:15px;height:15px;flex:none}

/* Service editor settings only; normal parts look like public articles. */
.pr-v-service-content{min-width:0;cursor:pointer}
.pr-v-service-content .pr-v-service-settings[hidden],.pr-v-service-content .pr-v-service-video-select[hidden]{display:none!important}
.pr-v-service-settings{margin:8px 0 4px;cursor:auto}
.pr-v-service-content .pr-article-video-frame{position:relative}
.pr-v-service-video-select{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;background:transparent;cursor:pointer;z-index:2}
.pr-v-service-unavailable{border:1px dashed #d3dde5;background:#f9fbfc;padding:10px;font-size:12px;color:#526471;overflow-wrap:anywhere}
.pr-v-service-content:focus-visible{outline:2px solid #89a9be;outline-offset:3px}


/* Author-selected blank space: no visible content or decoration when published. */
.pr-article-typography .pr-article-spacer{
  display:block;box-sizing:border-box;width:100%;min-width:0;
  margin:0;padding:0;border:0;background:transparent;flex-shrink:0;
}
