/* A small independent document, scrollable inside the homepage card. */
html{background:#fff;color:#183b55;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.6;overflow-x:hidden}
body{margin:0;padding:8px 15px;overflow-wrap:anywhere}
*,*:before,*:after{box-sizing:border-box}
img,video,iframe{max-width:100%}
a{color:#087fae}
a:focus-visible{outline:3px solid #087fae;outline-offset:3px}
.fts-jal-single-fb-post{margin:0!important;padding:14px 0!important;border-bottom:1px solid #e2eaf0!important}
.fts-jal-fb-description{font-size:14px!important;line-height:1.65!important}
.fts-jal-fb-picture img,.fts-fb-large-photo img{height:auto!important;max-width:100%!important}
.mk-feed-unavailable{margin:20px 0}
@media(max-width:360px){body{padding:6px 10px}}
/* Phone view only; homepage feed keeps its original presentation. */
body.mk-feed-phone{padding:0 10px 8px;font-size:12px;line-height:1.45}
.mk-feed-phone .fts-jal-fb-header{display:none}
.mk-feed-phone .fts-jal-single-fb-post{padding:11px 0!important}
.mk-feed-phone .fts-jal-fb-description,.mk-feed-phone .fts-jal-fb-message{font-size:12px!important;line-height:1.45!important}
.mk-feed-phone .fts-jal-fb-message{margin-top:8px!important}
.mk-feed-phone .fts-jal-fb-message br+br{display:none}
.mk-feed-phone .fts-jal-fb-user-name{font-size:12px!important}
.mk-feed-phone .fts-jal-fb-post-time{font-size:10px!important}
.mk-feed-phone .fts-jal-fb-user-thumb{width:34px!important;height:34px!important;margin-right:8px!important}
.mk-feed-phone .fts-jal-fb-user-thumb img{width:34px!important;height:34px!important}
.mk-feed-phone .fts-jal-fb-picture{display:block;max-width:100%!important;float:none!important}
.mk-feed-phone .fts-jal-fb-picture img{display:block;width:100%!important;height:auto!important;margin:auto}
.mk-feed-phone .fts-likes-shares-etc-wrap{font-size:11px!important}

/* Portal-only feed: two simple post columns, one on narrow screens. */
body.mk-feed-portal{padding:14px;background:#f5f7fb;font-size:12px;line-height:1.5}
.mk-feed-portal .fts-jal-fb-header{display:none}
.mk-feed-portal .fts-jal-fb-group-display{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.mk-feed-portal .fts-jal-fb-group-display:after{display:none}
.mk-feed-portal .fts-jal-fb-group-display>:not(.fts-jal-single-fb-post){grid-column:1/-1}
.mk-feed-portal .fts-jal-single-fb-post{width:auto!important;min-width:0;float:none!important;clear:none!important;margin:0!important;padding:15px!important;border:1px solid #e2e8f1!important;border-radius:12px;background:#fff}
.mk-feed-portal .fts-jal-fb-description,.mk-feed-portal .fts-jal-fb-message{font-size:13px!important;line-height:1.55!important}
.mk-feed-portal .fts-jal-fb-picture{max-width:100%!important;float:none!important}
.mk-feed-portal .fts-jal-fb-picture img{display:block;max-width:100%!important;height:auto!important}
@media(max-width:640px){body.mk-feed-portal{padding:10px}.mk-feed-portal .fts-jal-fb-group-display{grid-template-columns:minmax(0,1fr)}}
