/* Compact public article footer — Move to Thailand (not the Return Thailand EP series).
   All labels, summaries and references are smaller than 17–18px reading prose.
   Membership article sharing controls are intentionally left unchanged. */
.move-guide-footer-page .mg-footer[hidden],
.move-guide-footer-page .mg-opinion-content[hidden],
.move-guide-footer-page .mg-sources[hidden]{display:none!important}
.move-guide-footer-page .mg-footer{
  --mg-font:14px;--mg-heading:16px;--mg-caption:12.5px;
  box-sizing:border-box;display:grid;gap:14px;width:100%;margin:28px 0 2px;
  color:#243448;font-size:var(--mg-font)!important;line-height:1.65!important
}
.move-guide-footer-page .mg-footer *, .move-guide-footer-page .mg-footer *:before,
.move-guide-footer-page .mg-footer *:after{box-sizing:border-box}
.move-guide-footer-page .mg-footer .mg-panel{
  min-width:0;margin:0;padding:17px 19px;background:#fff;
  border:1px solid #DFE5ED;border-radius:13px;box-shadow:none
}
.move-guide-footer-page .mg-footer .mg-panel h2{
  margin:0 0 10px!important;padding:0!important;background:none!important;
  color:#0B1F3A!important;border:0!important;
  font-size:var(--mg-heading)!important;line-height:1.5!important;font-weight:750!important
}
.move-guide-footer-page .mg-footer .mg-panel h2::before,
.move-guide-footer-page .mg-footer .mg-panel h2::after{content:none!important;display:none!important}
.move-guide-footer-page .mg-footer :is(p,li,dt,dd,span,strong,small,a,button){
  font-size:var(--mg-font)!important;line-height:1.65!important
}
.move-guide-footer-page .mg-footer :is(p,li){font-weight:400!important}
.move-guide-footer-page .mg-footer p{margin:0 0 9px!important;color:#43516A!important}
.move-guide-footer-page .mg-footer p:last-child{margin-bottom:0!important}
.move-guide-footer-page .mg-footer a{color:#153F69!important;overflow-wrap:anywhere}
.move-guide-footer-page .mg-footer .mg-summary{
  background:#FFFCF6;border-left:3px solid #C9A24B
}
.move-guide-footer-page .mg-footer .mg-opinion-content{margin-top:12px;padding-top:12px;border-top:1px solid #E7DFCD}
.move-guide-footer-page .mg-footer .mg-opinion-content h3{
  font-size:15px!important;line-height:1.5!important;color:#0B1F3A!important;
  margin:0 0 8px!important
}
.move-guide-footer-page .mg-footer details.mg-terms{
  display:block;padding:0!important;overflow:hidden;background:#fff!important
}
.move-guide-footer-page .mg-footer .mg-terms>summary{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  min-height:54px;padding:14px 18px;gap:10px;list-style:none;
  cursor:pointer;font-size:var(--mg-heading)!important;font-weight:750!important;
  color:#0B1F3A!important;background:#FFFCF5!important
}
.move-guide-footer-page .mg-footer .mg-terms>summary::-webkit-details-marker{display:none}
.move-guide-footer-page .mg-footer .mg-terms>summary::marker{content:""}
.move-guide-footer-page .mg-footer .mg-term-caption{
  font-size:var(--mg-heading)!important;font-weight:750!important;color:#0B1F3A!important
}
.move-guide-footer-page .mg-footer .mg-chevron{
  flex:none;font-size:17px!important;line-height:1!important;transition:transform .17s ease
}
.move-guide-footer-page .mg-footer .mg-terms[open] .mg-chevron{transform:rotate(180deg)}
.move-guide-footer-page .mg-footer .mg-terms[open]>summary{border-bottom:1px solid #E7EAF0}
.move-guide-footer-page .mg-footer .mg-term-inner{padding:9px 18px 16px}
.move-guide-footer-page .mg-footer .mg-term-list{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;
  margin-bottom:12px
}
.move-guide-footer-page .mg-footer .mg-term-row{
  min-width:0;border-bottom:1px solid #E8EDF2;padding:10px 0;
  font-size:var(--mg-font)!important;color:#43516A!important
}
.move-guide-footer-page .mg-footer .mg-term-row>strong,
.move-guide-footer-page .mg-footer .mg-term-row>p>strong{
  display:block;font-weight:750!important;color:#0B1F3A!important
}
.move-guide-footer-page .mg-footer .mg-term-row>span{display:block;color:#43516A!important}
.move-guide-footer-page .mg-footer .mg-term-row>p{margin:0!important}
/* Dictionary is a separate, always-visible entry below the closed
   chapter glossary. Keep it subtle and smaller than article body text. */
.move-guide-footer-page .mg-footer .mg-dictionary-row{
  margin:-6px 0 0!important;min-width:0
}
.move-guide-footer-page .mg-footer .mg-dictionary-row .mg-dictionary-link{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:10px;min-height:44px;padding:10px 15px!important;
  border:1px solid #DFE5ED!important;border-radius:10px!important;
  background:#fff!important;color:#163D63!important;
  text-decoration:none!important;font-size:13px!important;font-weight:750!important;
}
.move-guide-footer-page .mg-footer .mg-dictionary-link:hover,
.move-guide-footer-page .mg-footer .mg-dictionary-link:focus-visible{
  border-color:#C9A24B!important;background:#FFFCF6!important
}
/* Sources are closed by default like the term glossary. Every verified
   official card and its original/translated URLs remain accessible on expand. */
.move-guide-footer-page .mg-footer details.mg-sources{
  display:block;padding:0!important;overflow:hidden;background:#fff!important
}
.move-guide-footer-page .mg-footer .mg-sources>summary{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  min-height:54px;padding:14px 18px;gap:10px;list-style:none;cursor:pointer;
  font-size:var(--mg-heading)!important;font-weight:750!important;
  line-height:1.5!important;color:#0B1F3A!important;background:#FFFCF5!important
}
.move-guide-footer-page .mg-footer .mg-sources>summary::-webkit-details-marker{display:none}
.move-guide-footer-page .mg-footer .mg-sources>summary::marker{content:""}
.move-guide-footer-page .mg-footer .mg-sources-caption{
  font-size:var(--mg-heading)!important;font-weight:750!important;color:#0B1F3A!important
}
.move-guide-footer-page .mg-footer .mg-sources[open]>summary{
  border-bottom:1px solid #E7EAF0
}
.move-guide-footer-page .mg-footer .mg-sources[open]>summary .mg-chevron{
  transform:rotate(180deg)
}
.move-guide-footer-page .mg-footer .mg-sources-content{
  padding:12px 18px 17px!important;min-width:0
}
@media(max-width:700px){
  .move-guide-footer-page .mg-footer .mg-sources>summary{padding:13px 15px}
  .move-guide-footer-page .mg-footer .mg-sources-content{padding:10px 15px 14px!important}
}
.move-guide-footer-page .mg-footer .mg-sources-content .official-source-section{
  padding:0!important;margin:0!important;background:transparent!important
}
.move-guide-footer-page .mg-footer .mg-sources-content .wrap.chapter-shell{
  width:100%!important;max-width:100%!important;padding:0!important;
  margin:0!important
}
.move-guide-footer-page .mg-footer .mg-sources-content .source-heading{
  display:none!important
}
.move-guide-footer-page .mg-footer .mg-sources-content .official-source-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px
}
.move-guide-footer-page .mg-footer .mg-sources-content .official-source-card{
  min-width:0;margin:0!important;padding:11px 12px!important;
  background:#F9FAFC!important;border:1px solid #E5EAF0!important;
  border-radius:9px!important
}
.move-guide-footer-page .mg-footer .mg-sources-content .official-source-card :is(strong,span,a){
  font-size:13px!important;line-height:1.55!important
}
.move-guide-footer-page .mg-footer .mg-sources-content .source-note{
  font-size:var(--mg-caption)!important;line-height:1.55!important;margin-top:10px!important
}
.move-guide-footer-page .mg-footer .mg-note{
  background:#F8F9FB;border-left:3px solid #C9A24B
}
.move-guide-footer-page .mg-footer .mg-note :is(.chapter-note,.article-disclaimer){
  padding:0!important;margin:0!important;border:0!important;
  background:transparent!important;box-shadow:none!important
}
.move-guide-footer-page .mg-footer .mg-note :is(.chapter-note,.article-disclaimer)>strong{
  display:none!important
}
/* Optional article-specific caveat stays available without overwhelming the footer. */
.move-guide-footer-page .mg-footer .mg-extra-note{
  margin-top:10px!important;padding:9px 11px!important;
  border:1px solid #DEE4EB!important;border-radius:8px!important;background:#fff!important
}
.move-guide-footer-page .mg-footer .mg-extra-note>summary{
  cursor:pointer;font-size:13px!important;
  line-height:1.6!important;font-weight:700!important;color:#183554!important
}
.move-guide-footer-page .mg-footer .mg-extra-note[open]>summary{margin-bottom:9px!important}
.move-guide-footer-page .mg-footer .mg-extra-note :is(p,li){
  font-size:13px!important;line-height:1.65!important
}
.move-guide-footer-page .mg-footer .mg-share-actions{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px
}
.move-guide-footer-page .mg-footer .mg-share-actions > *{
  display:flex;align-items:center;justify-content:center;text-align:center;
  min-height:44px!important;min-width:0;padding:10px 12px!important;
  font-size:13px!important;line-height:1.45!important;font-weight:750!important;
  text-decoration:none!important;border:1px solid #D5DEE8;
  border-radius:9px!important;background:#fff!important;color:#0B1F3A!important;
  cursor:pointer;font-family:inherit
}
/* Both actions are light-outline buttons, with no decorative icons.
   Facebook blue is reserved for the link back to the actual page. */
.move-guide-footer-page .mg-footer .mg-share-actions .mg-share-button{
  border-color:#D5DEE8!important;background:#fff!important;color:#0B1F3A!important
}
.move-guide-footer-page .mg-footer .mg-share-actions .mg-facebook-page{
  border-color:#1877F2!important;background:#fff!important;color:#1877F2!important
}
.move-guide-footer-page .mg-footer .mg-share-actions > *:focus-visible{
  outline:2px solid #1877F2;outline-offset:3px
}
.move-guide-footer-page .mg-footer .mg-share-feedback:empty{display:none!important}
.move-guide-footer-page .mg-footer .mg-share-feedback{
  margin-top:8px!important;font-size:var(--mg-caption)!important
}
.move-guide-footer-page .mg-footer .mg-bottom-navigation{margin:0}
.move-guide-footer-page .mg-footer .mg-bottom-navigation .chapter-nav{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:9px!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important
}
.move-guide-footer-page .mg-footer .mg-bottom-navigation .chapter-nav>a{
  box-sizing:border-box!important;min-height:49px!important;min-width:0!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:center!important;padding:9px 6px!important;margin:0!important;
  border:1px solid #D9E1EA!important;border-radius:10px!important;background:#fff!important;
  color:#0B1F3A!important;text-decoration:none!important;
  font-size:var(--mg-caption)!important;line-height:1.45!important;text-align:center!important;
  overflow-wrap:anywhere!important
}
.move-guide-footer-page .mg-footer .mg-bottom-navigation .chapter-nav>a.is-hidden{
  display:none!important
}
.move-guide-footer-page .mg-footer .mg-bottom-navigation .chapter-nav>a.chapter-nav-main{
  border-color:#C9A24B!important;background:#FFFCF5!important
}
.move-guide-footer-page .mg-footer .mg-bottom-navigation .chapter-nav>a span{
  font-size:13px!important;line-height:1.45!important;font-weight:800!important
}
.move-guide-footer-page .mg-footer .mg-bottom-navigation .chapter-nav>a strong{
  font-size:11.5px!important;line-height:1.4!important;font-weight:500!important;
  color:#5E6A7A!important;max-width:100%
}
@media(max-width:700px){
  .move-guide-footer-page .mg-footer{--mg-font:13.5px;--mg-heading:15.5px;--mg-caption:12px;gap:12px}
  .move-guide-footer-page .mg-footer .mg-panel{padding:14px 15px}
  .move-guide-footer-page .mg-footer .mg-terms>summary{padding:13px 15px}
  .move-guide-footer-page .mg-footer .mg-term-inner{padding:8px 15px 14px}
  .move-guide-footer-page .mg-footer .mg-term-list,
  .move-guide-footer-page .mg-footer .mg-sources-content .official-source-grid{grid-template-columns:minmax(0,1fr)}
  .move-guide-footer-page .mg-footer .mg-share-actions{gap:8px}
  .move-guide-footer-page .mg-footer .mg-bottom-navigation .chapter-nav{gap:7px!important}
  .move-guide-footer-page .mg-footer .mg-bottom-navigation .chapter-nav>a strong{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  .move-guide-footer-page .mg-footer .mg-chevron{transition:none}
}
