/* MIR V5 editorial layouts — scoped to single posts; global header/footer untouched. */
.mir-v5-single{--v5-ink:#123046;--v5-gold:#bc9154;--v5-muted:#607886;--v5-line:#e2e8e8;background:#f6f7f6;color:var(--v5-ink);padding:32px 0 80px;min-height:70vh}
.mir-v5-single *{min-width:0}
.mir-v5-single .mir-v5-container{width:min(100% - 40px,1120px);margin-inline:auto}
.mir-v5-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:9px;font-size:12px;line-height:1.6;color:#6d7d84;margin:0 0 27px}
.mir-v5-crumb a{color:#755737}.mir-v5-crumb a:hover{text-decoration:underline}
.mir-v5-eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;font-weight:800;color:var(--v5-gold)}
.mir-v5-single .mir-v5-entry-content{overflow-wrap:anywhere;word-break:normal;line-height:1.9;font-size:16px;color:#344956}
.mir-v5-single .mir-v5-entry-content> :first-child{margin-top:0}
.mir-v5-single .mir-v5-entry-content> :last-child{margin-bottom:0}
.mir-v5-single .mir-v5-entry-content p{margin:0 0 1.35em}
.mir-v5-single .mir-v5-entry-content h2,.mir-v5-single .mir-v5-entry-content h3,.mir-v5-single .mir-v5-entry-content h4{scroll-margin-top:115px;color:#153c57;line-height:1.35;margin:1.8em 0 .65em;font-weight:750}
.mir-v5-single .mir-v5-entry-content h2{font-size:clamp(21px,3.2vw,30px)}
.mir-v5-single .mir-v5-entry-content h3{font-size:clamp(18px,2.6vw,24px)}
.mir-v5-single .mir-v5-entry-content h4{font-size:18px}
.mir-v5-single .mir-v5-entry-content img{max-width:100%;height:auto;object-fit:contain}
.mir-v5-single .mir-v5-entry-content iframe,.mir-v5-single .mir-v5-entry-content video{max-width:100%}
.mir-v5-single .mir-v5-entry-content figure{max-width:100%;margin:26px auto}
.mir-v5-single .mir-v5-entry-content figcaption{font-size:12px;text-align:center;color:#70818b;line-height:1.65;padding:7px 0}
.mir-v5-single .mir-v5-entry-content a:not(.btn){color:#986c38;text-decoration:underline;text-underline-offset:3px}
.mir-v5-single .mir-v5-entry-content blockquote{border-left:3px solid #be9a65;background:#f1f4f3;margin:30px 0;padding:19px 25px;border-radius:0 5px 5px 0;color:#25465a}
.mir-v5-single .mir-v5-entry-content blockquote p:last-child{margin-bottom:0}
.mir-v5-single .mir-v5-entry-content ul,.mir-v5-single .mir-v5-entry-content ol{padding-left:1.6em;margin:1em 0 1.6em}
.mir-v5-single .mir-v5-entry-content li{margin-bottom:.5em}
.mir-v5-single .mir-v5-entry-content table{display:block;overflow-x:auto;max-width:100%;border-collapse:collapse;margin:25px 0}
.mir-v5-single .mir-v5-entry-content th,.mir-v5-single .mir-v5-entry-content td{border:1px solid #d8e3e8;padding:12px}
.mir-v5-single .mir-v5-entry-content .wp-block-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:30px 0}
.mir-v5-single .mir-v5-entry-content .wp-block-gallery figure{margin:0}
.mir-v5-single .mir-v5-entry-content .wp-block-gallery img{width:100%;height:auto;max-height:500px;object-fit:cover;border-radius:5px}
.mir-v5-single .mir-v5-entry-content .wp-block-embed__wrapper{position:relative;max-width:100%}
.mir-v5-single .mir-v5-entry-content .wp-block-image{margin-block:24px}
.mir-v5-single .mir-v5-entry-content .alignwide{max-width:100%}
.mir-v5-single .mir-v5-entry-content .alignleft{float:left;max-width:45%;margin:10px 24px 15px 0}
.mir-v5-single .mir-v5-entry-content .alignright{float:right;max-width:45%;margin:10px 0 15px 24px}
.mir-v5-single .mir-v5-entry-content::after{content:'';display:table;clear:both}
/* Studies: book-paper treatment, chapter hierarchy and graceful old HTML support */
.mir-v5-estudo{background:linear-gradient(180deg,#e8eeed 0,#f6f6f2 430px)}
.mir-v5-estudo .mir-v5-container{max-width:970px}
.mir-v5-study-hero{position:relative;overflow:hidden;background:#153756;color:#fff;text-align:center;padding:clamp(38px,6vw,66px) clamp(22px,6vw,68px);border-radius:9px 9px 0 0}
.mir-v5-study-hero:after{content:'✦';position:absolute;font-size:260px;line-height:1;right:-60px;bottom:-75px;color:rgba(255,255,255,.035);pointer-events:none}
.mir-v5-study-symbol{color:#e1c08a;font-size:29px;margin-bottom:11px}
.mir-v5-study-hero .mir-v5-eyebrow{color:#e4c891}
.mir-v5-study-hero h1{font:700 clamp(29px,4.6vw,48px)/1.2 'Playfair Display',Georgia,serif;color:#fff;margin:18px auto 21px;max-width:770px;overflow-wrap:break-word}
.mir-v5-study-meta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;font-size:12px;color:#e4d6c4}
.mir-v5-study-cover{margin:0;background:#e0e4e1;overflow:hidden;max-height:400px}
.mir-v5-study-cover img{width:100%;height:auto;max-height:400px;object-fit:cover}
.mir-v5-paper{background:#fffdf8;border:1px solid #eae5dc;border-top:0;padding:clamp(25px,6vw,70px) clamp(20px,7vw,88px);box-shadow:0 22px 54px rgba(12,32,45,.07);border-radius:0 0 9px 9px}
.mir-v5-estudo .mir-v5-entry-content{font-size:16px;line-height:2;color:#304351}
.mir-v5-estudo .mir-v5-entry-content h2{font:700 clamp(21px,3vw,28px)/1.35 'Playfair Display',Georgia,serif;color:#143b58;border-bottom:1px solid #e5dfd5;padding-bottom:12px;margin-top:2em}
.mir-v5-estudo .mir-v5-entry-content h3{color:#1d4b68}
.mir-v5-estudo .mir-v5-entry-content blockquote{background:#f1f4f6;border-left:3px solid #c39a57}
.mir-v5-custom-label{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 12px;font-size:12px;color:#7e8e95}
.mir-v5-custom-study .mir-v5-paper{border-top:1px solid #eae5dc;border-radius:9px;padding:clamp(18px,4vw,46px)}
/* Preserve original Wix-designed blocks: custom headers and cards are not restyled globally. */
.mir-v5-custom-study .mir-v5-entry-content>div[style],.mir-v5-custom-study .mir-v5-entry-content>section[style],.mir-v5-custom-study .mir-v5-entry-content>article[style]{max-width:100%;overflow-wrap:anywhere}
.mir-v5-custom-study .mir-v5-entry-content [style*="background"]{max-width:100%}
.mir-v5-article-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px;border-top:1px solid #dedfdd;padding:24px 0 0;margin-top:27px;color:#72818a;font-size:12px;line-height:1.5}
.mir-v5-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.mir-v5-article-foot a{color:#86633b;font-weight:700}
.mir-v5-print{background:transparent;border:1px solid #b8c3c9;padding:10px 14px;border-radius:4px;color:#17394d;cursor:pointer;font:700 12px 'DM Sans',sans-serif}
.mir-v5-print:hover{background:#17394d;color:#fff}
/* News: magazine / newsroom editorial treatment */
.mir-v5-noticia{background:#f9faf9}
.mir-v5-news-article{max-width:1080px;margin:auto}
.mir-v5-news-header{max-width:880px;margin:0 auto 34px;text-align:center;padding:18px 0 0}
.mir-v5-news-header .mir-v5-eyebrow{color:#a27943}
.mir-v5-news-header h1{font:700 clamp(34px,5.4vw,61px)/1.13 'Playfair Display',Georgia,serif;letter-spacing:-.018em;margin:15px 0 20px;color:#102b40;overflow-wrap:break-word}
.mir-v5-deck{font-size:clamp(16px,2vw,21px);line-height:1.65;color:#596f7c;max-width:780px;margin:0 auto 20px}
.mir-v5-news-meta{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;font-size:12px;color:#6d838e}
.mir-v5-news-cover{margin:0 auto 36px;max-width:1080px}
.mir-v5-news-cover img{width:100%;height:auto;max-height:620px;object-fit:cover;border-radius:7px}
.mir-v5-news-body,.mir-v5-editorial-body{max-width:820px;margin:0 auto;background:#fff;border:1px solid #e9eeef;border-radius:7px;padding:clamp(24px,5vw,65px);box-shadow:0 12px 28px rgba(12,35,52,.035)}
.mir-v5-noticia .mir-v5-entry-content{font-size:17px;line-height:1.93}
.mir-v5-noticia .mir-v5-entry-content>p:first-of-type::first-letter{font:700 3.2em/.8 'Playfair Display',Georgia,serif;color:#183b56;float:left;margin:9px 9px 0 0}
.mir-v5-noticia .mir-v5-entry-content h2{font:700 clamp(23px,3vw,29px)/1.3 'Playfair Display',Georgia,serif;margin-top:1.7em}
.mir-v5-news-article .mir-v5-article-foot{max-width:820px;margin-inline:auto}
/* Essays and remaining categories */
.mir-v5-editorial-article{max-width:930px;margin:auto}
.mir-v5-editorial-header{text-align:center;padding:26px 0 34px}
.mir-v5-editorial-header h1{font:700 clamp(34px,5vw,52px)/1.16 'Playfair Display',Georgia,serif;color:#102d43;margin:18px 0}
.mir-v5-editorial-header p{font-size:12px;color:#70818a}
.mir-v5-editorial-body{max-width:820px}
/* Tablets */
@media(max-width:900px){.mir-v5-single{padding:22px 0 60px}.mir-v5-single .mir-v5-container{width:min(100% - 34px,960px)}.mir-v5-news-header h1{font-size:clamp(33px,5.7vw,49px)}.mir-v5-paper{padding:35px}.mir-v5-news-body,.mir-v5-editorial-body{padding:35px}}
/* Phones: single reading column, legible type, no horizontal scroll */
@media(max-width:600px){.mir-v5-single{padding:17px 0 44px}.mir-v5-single .mir-v5-container{width:calc(100% - 26px)}.mir-v5-crumb{font-size:11px;margin-bottom:15px}.mir-v5-study-hero{padding:34px 21px}.mir-v5-study-hero h1{font-size:clamp(27px,8vw,37px)}.mir-v5-study-meta{font-size:11px;gap:7px}.mir-v5-paper,.mir-v5-custom-study .mir-v5-paper{padding:24px 19px}.mir-v5-single .mir-v5-entry-content{font-size:15px;line-height:1.83}.mir-v5-study-cover img{max-height:300px}.mir-v5-news-header{padding:9px 0 0;margin-bottom:24px}.mir-v5-news-header h1{font-size:clamp(30px,8.8vw,43px)}.mir-v5-deck{font-size:16px}.mir-v5-news-meta{font-size:11px}.mir-v5-news-cover{margin-bottom:16px}.mir-v5-news-cover img{border-radius:4px}.mir-v5-news-body,.mir-v5-editorial-body{padding:25px 19px}.mir-v5-noticia .mir-v5-entry-content{font-size:16px}.mir-v5-single .mir-v5-entry-content .wp-block-gallery{grid-template-columns:1fr}.mir-v5-single .mir-v5-entry-content .alignleft,.mir-v5-single .mir-v5-entry-content .alignright{float:none;max-width:100%;margin:16px auto}.mir-v5-article-foot{align-items:flex-start;flex-direction:column}.mir-v5-editorial-header h1{font-size:clamp(30px,8vw,42px)}}
/* Print the study text, not navigation, pastoral buttons or other UI. */
@media print{body{background:#fff!important}.topbar,.header,.footer,.mir-pastoral-whatsapp,.mir-v5-crumb,.mir-v5-article-foot,.mir-v5-print{display:none!important}.mir-v5-single{background:#fff!important;padding:0!important}.mir-v5-single .mir-v5-container{width:100%!important;max-width:none!important}.mir-v5-paper{border:0!important;box-shadow:none!important;padding:12px 0!important}.mir-v5-study-hero{print-color-adjust:exact;-webkit-print-color-adjust:exact;padding:23px!important}.mir-v5-entry-content{color:#000!important;font-size:12pt!important}.mir-v5-single img{break-inside:avoid}.mir-v5-single h2,.mir-v5-single h3{break-after:avoid}}
