/* The site's existing WordPress content (classic editor + older blocks) inside the design's .prose column */
.prose .wp-caption,.prose .wp-block-image{max-width:100%!important;margin-block:1.75em}
.prose .wp-caption img,.prose .wp-block-image img{margin-inline:auto}
.prose .wp-caption-text,.prose .wp-element-caption{text-align:center;color:var(--steel);margin-top:.6em;font-size:.875rem}
.prose .aligncenter{margin-inline:auto}
.prose img.alignleft,.prose img.alignright,.prose .wp-caption.alignleft,.prose .wp-caption.alignright{display:block;float:none;margin-inline:auto}
.prose iframe,.prose video,.prose embed{display:block;max-width:100%;border:0;border-radius:var(--radius)}
.prose iframe[src*="youtube"],.prose iframe[src*="youtu.be"],.prose .wp-block-embed iframe{width:100%;height:auto;aspect-ratio:16/9}
.prose .wp-block-embed__wrapper{position:static}
.prose .wp-block-table table{display:table;width:100%}
.prose .wp-block-table,.prose .wp-block-quote{margin-inline:0}
.prose span[style*="font-weight: 400"]{font-weight:inherit!important}
.prose p:empty{display:none}
.prose h1{color:var(--text);margin-top:2em;font-size:clamp(1.5rem,3.6vw,2rem)}
.prose hr{border:0;border-top:1px solid var(--line);margin-block:2em}
/* the site's main menu has longer labels than the design's: let the desktop service row scroll instead of wrapping */
.tk-menu-row{min-width:0;overflow-x:auto;white-space:nowrap;scrollbar-width:none;max-width:100%}
.tk-menu-row::-webkit-scrollbar{display:none}
nav[aria-label="Dịch vụ"]>.container-x>a{flex-shrink:0;white-space:nowrap;margin-left:1.5rem}
nav[aria-label="Dịch vụ"]>.container-x>ul:first-child{flex:1 1 auto}
/* old content can contain wide items (embeds, maps, long links): grid columns may shrink below them on phones */
main .grid>*{min-width:0}
.prose{max-width:min(46rem,100%)}
.prose>*,.prose figure,.prose .wp-block-embed,.prose .wp-block-embed__wrapper{max-width:100%}
.prose iframe{width:100%!important}
.prose iframe[src*="google.com/maps"]{height:auto;aspect-ratio:4/3}
.prose a{word-break:break-word}
.prose .wp-caption,.prose figure.aligncenter,.prose .wp-block-image figure{display:block;max-width:100%!important}
.prose .wp-caption[style*="width"]{width:auto!important}
.prose .wp-caption,.prose figure.aligncenter{margin-left:auto;margin-right:auto}
/* captions: WordPress lays them out as table captions; inside the block-level figures above they must be blocks */
.prose figcaption,.prose .wp-caption-text,.prose .wp-element-caption{display:block!important;caption-side:initial;width:auto!important;max-width:100%}
