/*
 * Radiance Auto Publisher article components.
 * The active theme controls page width and typography; these rules only style
 * semantic blocks created by the plugin.
 */
.gpj-auto-content{--gpjap-brand:#9c2031;max-width:100%;overflow-wrap:break-word}
.gpj-auto-content *{box-sizing:border-box}
.gpj-auto-intro,.gpj-auto-section{margin-bottom:4em}
.gpj-auto-content p{line-break:strict;word-break:normal;overflow-wrap:break-word}
.gpj-auto-answer,.gpj-auto-learn,.gpj-auto-box,.gpj-auto-faq-item,.gpj-auto-summary,.gpj-auto-cta{max-width:100%;border-radius:8px}
.gpj-auto-answer{padding:22px;margin:2em 0;background:#fff8f8;border:1px solid #f0d2d7}
.gpj-auto-learn{padding:25px;margin:2.5em 0;background:#fff;border:1px solid #e4e7ea;border-left:6px solid var(--gpjap-brand);box-shadow:0 4px 12px rgba(0,0,0,.03)}
.gpj-auto-label{margin-top:0!important;margin-bottom:12px!important;color:var(--gpjap-brand);font-weight:800}
.gpj-auto-learn ul,.gpj-auto-summary ul,.gpj-auto-box ul{margin-bottom:0}
.gpj-auto-direct-answer{padding:20px 22px;background:#f7f7f7;border-left:4px solid var(--gpjap-brand);font-weight:600}
.gpj-auto-list{margin:1.5em 0;padding-left:1.5em}
.gpj-auto-table-wrap{width:100%;max-width:100%;margin:2em 0;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #e1e4e7;background:#fff}
.gpj-auto-table-wrap table{width:100%;min-width:680px;border-collapse:collapse;margin:0!important}
.gpj-auto-table-wrap caption{padding:12px 14px;text-align:left;font-weight:700;background:#f6f7f7}
.gpj-auto-table-wrap th{background:var(--gpjap-brand);color:#fff}
.gpj-auto-table-wrap th,.gpj-auto-table-wrap td{padding:14px;border:1px solid #e4e7ea;text-align:left;vertical-align:top}
.gpj-auto-box{padding:22px;margin:2em 0;border:1px solid #e4e7ea;background:#fafafa}
.gpj-auto-box--example{background:#f5f8fb;border-color:#d9e4ef}
.gpj-auto-box--caution{background:#fffaf0;border-color:#eed9aa}
.gpj-auto-box--exception{background:#f7f7f7;border-color:#ddd}
.gpj-auto-related-line{padding:14px 17px;background:#f6f7f7;border-left:3px solid var(--gpjap-brand)}
.gpj-auto-related-line a{color:#0759a5;text-decoration:underline;text-underline-offset:3px}
.gpj-auto-cta{padding:38px 22px;margin:4em 0;text-align:center;background:#fff;border:2px solid var(--gpjap-brand);box-shadow:0 8px 24px rgba(156,32,49,.08)}
.gpj-auto-cta--final{margin-bottom:0}
.gpj-auto-cta__headline{font-size:1.2em;font-weight:800;color:#252525}
.gpj-auto-cta>a{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:16px 36px;margin-top:8px;background:var(--gpjap-brand);color:#fff!important;border-radius:40px;font-weight:800;text-decoration:none!important}
.gpj-auto-cta small{display:block;margin-top:12px;color:#777}
.gpj-auto-faq-item{padding:20px;margin:0 0 1.5em;background:#fff;border:1px solid #e4e7ea;border-left:4px solid var(--gpjap-brand)}
.gpj-auto-faq-item h3{margin-top:0!important;font-size:1.05em!important}
.gpj-auto-faq-item h3 span,.gpj-auto-faq-item p span{color:var(--gpjap-brand);font-weight:800}
.gpj-auto-faq-item p{margin-bottom:0}
.gpj-auto-summary{padding:25px;background:#fcfcfc;border:1px solid #eee}
.gpj-auto-references{padding-top:2em;border-top:1px solid #ddd}
.gpj-auto-references ol{padding-left:1.4em}
.gpj-auto-references li{margin-bottom:1em;overflow-wrap:anywhere}
.gpj-auto-references li>a{text-decoration:underline;text-underline-offset:3px}
.gpj-auto-references li>span{display:block;color:#777;font-size:.88em}
.gpj-auto-references li>p{margin:.25em 0 0;font-size:.9em}
@media(max-width:640px){
  .gpj-auto-intro,.gpj-auto-section{margin-bottom:3.2em}
  .gpj-auto-answer,.gpj-auto-learn,.gpj-auto-box,.gpj-auto-faq-item,.gpj-auto-summary{padding:20px}
  .gpj-auto-cta{padding:30px 18px}
  .gpj-auto-cta>a{display:flex;width:100%;padding:15px 18px}
  .gpj-auto-table-wrap table{min-width:620px}
}
/* v3.1.1 canonical GPJ supervisor box.
 * High-specificity resets prevent MAG/GPJ theme article styles from changing
 * the profile layout. The design is loaded once instead of being repeated as
 * an inline <style> block inside every post. */
.gpj-entry-content .gpj-supervisor-box,
.gpj-auto-content .gpj-supervisor-box,
.gpj-supervisor-box{
  border:2px solid #c53030!important;
  border-radius:8px!important;
  background-color:#fff!important;
  margin:3rem 0!important;
  padding:0!important;
  overflow:hidden!important;
  font-family:'Helvetica Neue',Arial,'Hiragino Kaku Gothic ProN','Hiragino Sans',Meiryo,sans-serif!important;
  box-shadow:0 4px 6px rgba(0,0,0,.05)!important;
  max-width:100%!important;
}
.gpj-entry-content .gpj-supervisor-header,
.gpj-auto-content .gpj-supervisor-header,
.gpj-supervisor-header{
  background-color:#c53030!important;
  color:#fff!important;
  padding:.6rem 1.5rem!important;
  min-height:0!important;
  font-weight:700!important;
  font-size:1.1rem!important;
  line-height:1.5!important;
  display:flex!important;
  align-items:center!important;
  letter-spacing:.05em!important;
}
.gpj-entry-content .gpj-supervisor-header::before,
.gpj-auto-content .gpj-supervisor-header::before,
.gpj-supervisor-header::before{
  content:'\2713'!important;
  margin-right:8px!important;
  font-size:1.2rem!important;
  line-height:1!important;
}
.gpj-entry-content .gpj-supervisor-label,
.gpj-auto-content .gpj-supervisor-label,
.gpj-supervisor-label{
  color:#fff!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  letter-spacing:inherit!important;
  display:inline!important;
}
.gpj-entry-content .gpj-supervisor-label::before,
.gpj-auto-content .gpj-supervisor-label::before,
.gpj-supervisor-label::before{content:none!important;display:none!important}
.gpj-entry-content .gpj-supervisor-content,
.gpj-auto-content .gpj-supervisor-content,
.gpj-supervisor-content{
  display:flex!important;
  grid-template-columns:none!important;
  padding:1.5rem!important;
  gap:1.5rem!important;
  align-items:center!important;
  text-align:left!important;
}
.gpj-entry-content figure.gpj-supervisor-img-wrapper,
.gpj-auto-content figure.gpj-supervisor-img-wrapper,
figure.gpj-supervisor-img-wrapper{
  margin:0!important;
  width:auto!important;
  height:auto!important;
  flex:0 0 auto!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
  background:transparent!important;
}
.gpj-entry-content img.gpj-supervisor-img,
.gpj-auto-content img.gpj-supervisor-img,
img.gpj-supervisor-img{
  display:block!important;
  width:110px!important;
  height:110px!important;
  max-width:110px!important;
  aspect-ratio:1/1!important;
  border-radius:50%!important;
  object-fit:cover!important;
  border:3px solid #fff5f5!important;
  box-shadow:0 2px 4px rgba(0,0,0,.1)!important;
  margin:0!important;
}
.gpj-entry-content .gpj-supervisor-info,
.gpj-auto-content .gpj-supervisor-info,
.gpj-supervisor-info{flex:1 1 auto!important;min-width:0!important}
.gpj-entry-content h3.gpj-supervisor-name,
.gpj-auto-content h3.gpj-supervisor-name,
h3.gpj-supervisor-name{
  display:block!important;
  font-size:1.3rem!important;
  line-height:1.5!important;
  color:#2d3748!important;
  margin:0 0 .3rem!important;
  padding:0!important;
  border:0!important;
  background:none!important;
  font-weight:700!important;
  letter-spacing:normal!important;
  text-align:left!important;
}
.gpj-entry-content h3.gpj-supervisor-name::before,
.gpj-entry-content h3.gpj-supervisor-name::after,
.gpj-auto-content h3.gpj-supervisor-name::before,
.gpj-auto-content h3.gpj-supervisor-name::after,
h3.gpj-supervisor-name::before,
h3.gpj-supervisor-name::after{content:none!important;display:none!important}
.gpj-entry-content .gpj-supervisor-name span,
.gpj-auto-content .gpj-supervisor-name span,
.gpj-supervisor-name span{
  display:inline!important;
  font-size:.9rem!important;
  color:#718096!important;
  font-weight:400!important;
  margin-left:.5rem!important;
}
.gpj-entry-content p.gpj-supervisor-title,
.gpj-auto-content p.gpj-supervisor-title,
p.gpj-supervisor-title{
  font-size:.9rem!important;
  line-height:1.6!important;
  color:#c53030!important;
  font-weight:700!important;
  margin:0 0 .8rem!important;
  padding:0!important;
  text-align:left!important;
}
.gpj-entry-content p.gpj-supervisor-bio,
.gpj-auto-content p.gpj-supervisor-bio,
p.gpj-supervisor-bio{
  font-size:.95rem!important;
  color:#4a5568!important;
  line-height:1.6!important;
  margin:0 0 1rem!important;
  padding:0!important;
  text-align:left!important;
}
.gpj-entry-content a.gpj-supervisor-link,
.gpj-auto-content a.gpj-supervisor-link,
a.gpj-supervisor-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:auto!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:.95rem!important;
  line-height:1.6!important;
  color:#c53030!important;
  text-decoration:none!important;
  font-weight:700!important;
  transition:opacity .3s ease,transform .3s ease!important;
}
.gpj-entry-content a.gpj-supervisor-link::after,
.gpj-auto-content a.gpj-supervisor-link::after,
a.gpj-supervisor-link::after{
  content:'→'!important;
  margin-left:4px!important;
  transition:transform .3s ease!important;
}
.gpj-entry-content a.gpj-supervisor-link:hover,
.gpj-auto-content a.gpj-supervisor-link:hover,
a.gpj-supervisor-link:hover{opacity:.8!important}
.gpj-entry-content a.gpj-supervisor-link:hover::after,
.gpj-auto-content a.gpj-supervisor-link:hover::after,
a.gpj-supervisor-link:hover::after{transform:translateX(4px)!important}
@media(max-width:768px){
  .gpj-entry-content .gpj-supervisor-content,
  .gpj-auto-content .gpj-supervisor-content,
  .gpj-supervisor-content{
    flex-direction:column!important;
    grid-template-columns:none!important;
    text-align:center!important;
    padding:1.5rem 1rem!important;
  }
  .gpj-entry-content img.gpj-supervisor-img,
  .gpj-auto-content img.gpj-supervisor-img,
  img.gpj-supervisor-img{
    width:100px!important;
    height:100px!important;
    max-width:100px!important;
  }
  .gpj-entry-content h3.gpj-supervisor-name,
  .gpj-auto-content h3.gpj-supervisor-name,
  h3.gpj-supervisor-name,
  .gpj-entry-content p.gpj-supervisor-title,
  .gpj-auto-content p.gpj-supervisor-title,
  p.gpj-supervisor-title{text-align:center!important}
  .gpj-entry-content .gpj-supervisor-name span,
  .gpj-auto-content .gpj-supervisor-name span,
  .gpj-supervisor-name span{display:inline!important;margin-left:.5rem!important}
  .gpj-entry-content a.gpj-supervisor-link,
  .gpj-auto-content a.gpj-supervisor-link,
  a.gpj-supervisor-link{justify-content:center!important}
}
