/* BUTLER Magazine: article and archive presentation */
body:is(.wp-theme-anymag,.wp-theme-anymag-wpvibe-draft) {
  --bm-ink:#171717; --bm-muted:#68625b; --bm-gold:#b78b56; --bm-rule:#e8e2da; --bm-paper:#faf8f4;
}
body.single-post .post-entry > article > .entry-title {
  font-size:clamp(30px,3vw,44px); line-height:1.18; letter-spacing:-.035em;
  text-transform:none; font-weight:700; margin:18px 0 24px; overflow-wrap:break-word;
}
body.single-post .entry-title.ttl-border::after {width:56px; height:3px; background:var(--bm-gold);}
body.single-post .post-content {max-width:68ch; margin-inline:auto; overflow-wrap:break-word;}
body.single-post .post-content :is(p,li) {font-size:18px; line-height:1.8;}
body.single-post .post-content :is(h2,h3,h4) {text-transform:none; letter-spacing:-.025em; line-height:1.3; scroll-margin-top:100px;}
body.single-post .post-content h2 {font-size:clamp(25px,2.2vw,31px); margin-top:1.8em;}
body.single-post .bm-reading-time {font-size:13px; color:var(--bm-muted); margin:0 0 30px; letter-spacing:.02em;}
body.single-post .post-content :is(img,video,iframe) {max-width:100%;}
body.single-post .post-content :is(figure,.wp-block-table) {max-width:100%; margin-block:28px;}
body.single-post .post-content .wp-block-table {overflow-x:auto;}
body.single-post .post-content figcaption {font-size:13px; color:var(--bm-muted); line-height:1.6;}
body.category #main-area {padding-inline:32px;}
body.category .content-area {max-width:1160px; margin-inline:auto; padding-top:24px;}
body.category .category-box {position:relative; display:block; padding:0 0 30px; margin:0 0 34px; border:none; border-bottom:1px solid var(--bm-rule); background:none;}
body.category .category-box::before,body.category .category-box::after {display:none;}
body.category .category-box h1 {font-size:clamp(32px,4vw,54px); line-height:1.12; letter-spacing:-.04em; text-transform:none; margin:12px 0 18px; border:none; padding:0; background:none;}
body.category .category-box h1::before,body.category .category-box h1::after {display:none;}
body.category .bm-archive-eyebrow {font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--bm-muted); margin:0 0 10px;}
body.category .category-text {max-width:760px; color:var(--bm-muted); font-size:17px; line-height:1.75;}
body.category .category-text p {font-size:17px; line-height:1.75; margin:0;}
body.category .blog-posts.two-fr {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:42px 32px;}
body.category .blog-posts.two-fr:has(> .post-item:nth-child(3)) {grid-template-columns:repeat(3,minmax(0,1fr));}
body.category .blog-posts .post-item {width:100%; min-width:0; margin:0; padding-bottom:24px; border-bottom:1px solid var(--bm-rule);}
body.category .blog-posts .image-part {aspect-ratio:4/3; height:auto; overflow:hidden; background:var(--bm-paper); margin-bottom:18px;}
body.category .blog-posts.two-fr:not(:has(> .post-item:nth-child(3))) .image-part {aspect-ratio:16/9;}
body.category .blog-posts .image-part img {width:100%; height:100%; object-fit:cover; object-position:center 25%;}
body.category .blog-posts .content-part,body.category .blog-posts .the-content {padding:0; margin:0; min-width:0;}
body.category .blog-posts .post-title,body.category .blog-posts .post-title a {font-size:clamp(20px,1.7vw,24px); line-height:1.35; letter-spacing:-.025em; text-transform:none; font-weight:650; overflow-wrap:break-word;}
body.category .blog-posts .post-title {margin:0 0 14px;}
body.category .blog-posts .post-meta {font-size:11px; line-height:1.7; text-transform:none; letter-spacing:0; flex-wrap:wrap;}
body.category .bm-archive-topics {display:flex; gap:8px; flex-wrap:wrap; margin:24px 0 0; padding:0; list-style:none;}
body.category .bm-archive-topics li {list-style:none; margin:0; padding:0;}
body.category .bm-archive-topics li::before {display:none;}
body.category .bm-archive-topics a {display:block; padding:9px 14px; font-size:12px; line-height:1.4; border:1px solid var(--bm-rule); border-radius:3px; color:var(--bm-ink); background:var(--bm-paper);}
body.category .bm-archive-topics a[aria-current="page"],body.category .bm-archive-topics a:hover {color:#fff; background:var(--bm-ink); border-color:var(--bm-ink);}
body.category .navigation.pagination {display:block; margin:42px 0 24px; width:100%; text-align:center;}
body.category .nav-links {display:flex; justify-content:center; gap:8px; flex-wrap:wrap;}
body.category .nav-links .page-numbers {display:inline-flex; min-width:44px; min-height:44px; align-items:center; justify-content:center; padding:10px; background:var(--bm-paper); color:var(--bm-ink); border:1px solid var(--bm-rule); font-size:14px; border-radius:3px;}
body.category .nav-links .current {background:var(--bm-ink); color:#fff;}
body.bm-enhanced-navigation #nav-wrapper .nav-menu .menu-item-has-children > .sub-menu,body.bm-enhanced-navigation #nav-wrapper .nav-menu .menu-item-has-children:focus-within > .sub-menu {display:none!important;}
body.bm-enhanced-navigation #nav-wrapper .nav-menu .menu-item-has-children.is-expanded > .sub-menu,body.bm-enhanced-navigation #nav-wrapper .nav-menu .menu-item-has-children.is-expanded:focus-within > .sub-menu {display:block!important;}
body.bm-enhanced-navigation #nav-wrapper button.sub-menu-toggle {border:1px solid rgba(183,139,86,.25); background:rgba(183,139,86,.08); color:#d1a373; font:inherit; padding:0; cursor:pointer;}
body.bm-enhanced-navigation #nav-wrapper .nav-menu .menu-item-parent > .sub-menu-toggle::after {transform:none;}
body.bm-enhanced-navigation #nav-wrapper .nav-menu .menu-item-parent.is-expanded > .sub-menu-toggle::after {transform:rotate(180deg);}
body.bm-enhanced-navigation #nav-wrapper .is-expanded > .sub-menu-toggle::after {transform:rotate(180deg);}
body.bm-enhanced-navigation #nav-wrapper button.sub-menu-toggle:focus-visible {outline:2px solid #d1a373; outline-offset:3px;}
@media(max-width:1000px) {
 body.category .blog-posts.two-fr:has(> .post-item:nth-child(3)) {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px) {
 body.category #main-area {padding-inline:20px;}
 body.category .content-area {padding-top:18px;}
 body.category .blog-posts.two-fr,body.category .blog-posts.two-fr:has(> .post-item:nth-child(3)) {grid-template-columns:1fr; gap:32px;}
 body.category .category-box {margin-bottom:28px; padding-bottom:24px;}
 body.category .category-box h1 {font-size:34px;}
 body.category .category-text p {font-size:16px;}
 body.single-post .post-content :is(p,li) {font-size:17px; line-height:1.8;}
 body.single-post .post-entry > article > .entry-title {font-size:31px;}
 body.category .bm-archive-topics a {min-height:44px; display:flex; align-items:center;}
}
@media(prefers-reduced-motion:reduce) {
 .post-content *, .nav-menu *, .blog-posts * {transition:none!important; animation:none!important;}
}
@media print {
 .magcover, .magheader, .nav-panel, #hidden-sidebar, .related-posts, #comments, .social-share {display:none!important;}
 .magcontent {width:100%!important;}
 .single-page .content-area {width:100%!important; max-width:none;}
}
