body.dom-theme .dom-article-heading { margin-bottom: 30px; }
body.dom-theme .dom-article-heading h1 { font-size:clamp(30px,3.4vw,48px)!important; margin:0 0 28px; font-weight:var(--dcf-news-weight,400)!important; }
body.dom-theme .dom-article-meta { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:0 0 30px; flex-wrap:wrap; }
body.dom-theme .dom-article-byline { display:flex; align-items:center; gap:14px; font-family:var(--dcf-body,sans-serif); font-size:14px; }
body.dom-theme .dom-author-avatar { width:48px; height:48px; flex:0 0 48px; border-radius:50%; overflow:hidden; display:grid; place-items:center; background:#f3efeb; font-size:10px; text-decoration:none; }
body.dom-theme .dom-author-avatar img { width:100%; height:100%; object-fit:cover; object-position:center 25%; }
body.dom-theme .dom-author-details { display:grid; gap:4px; }
body.dom-theme .dom-author-details a { font-size:14px; font-weight:500; color:inherit; text-decoration:none; }
body.dom-theme .dom-author-details span { font-size:12px; color:#766e69; }
body.dom-theme .dom-article-byline time { border-left:1px solid #e4dcd7; padding-left:20px; margin-left:8px; color:#766e69; font-size:13px; }
body.dom-theme .dom-article-shares { display:flex; align-items:center; gap:14px; flex-wrap:wrap; font-family:var(--dcf-body,sans-serif); font-size:12px; color:#766e69; }
body.dom-theme .dom-share-actions { display:flex; gap:8px; }
body.dom-theme .dom-share-button { box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; min-width:36px; min-height:36px; padding:9px!important; border:1px solid #dfd5d0; border-radius:50%!important; background:transparent; color:#765961; cursor:pointer; text-decoration:none; }
body.dom-theme .dom-share-button svg { width:18px; height:18px; fill:currentColor; }
body.dom-theme button.dom-share-button svg { fill:none; }
body.dom-theme .dom-share-button:hover { background:#79404d; color:#fff; border-color:#79404d; }
body.dom-theme .dom-share-button:focus-visible,body.dom-theme .dom-author-details a:focus-visible { outline:2px solid #79404d; outline-offset:4px; }
body.dom-theme .dom-share-status:empty { display:none; }
body.dom-theme .dom-share-manual { flex-basis:100%; width:100%; padding:10px; }
body.dom-theme .dom-share-manual[hidden] { display:none!important; }
body.dom-theme .dom-article-intro { font-family:var(--dcf-heading,sans-serif)!important; font-weight:300!important; font-size:clamp(18px,2vw,22px)!important; line-height:1.65; margin:0; color:#625b58; }
body.dom-theme .dom-article-cover { margin-bottom:0; border-radius:8px; }
body.dom-theme .dom-article-body { font-size:18px; line-height:1.85; color:#49433f; }
body.dom-theme .dom-article-body blockquote { margin:32px 0; padding:24px 30px; border-left:3px solid #905968; background:#f8f4f1; border-radius:0 8px 8px 0; }
body.dom-theme .dom-article-shares--bottom { max-width:1100px; margin:32px auto 0; border-top:1px solid #e8e0da; padding-top:24px; }
body.dom-theme .dom-article-conversation { min-height:220px; align-items:center; border-radius:12px; }
body.dom-theme .dom-article-conversation .dom-eyebrow { display:none; }
body.dom-theme .dom-article-related { max-width:1100px; width:calc(100% - 48px); margin:12px auto 76px; }
body.dom-theme .dom-article-related h2 { font-family:var(--dcf-heading,sans-serif)!important; font-weight:var(--dcf-heading-weight,300)!important; font-size:clamp(26px,3vw,36px); margin:0 0 28px; }
body.dom-theme .dom-related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
body.dom-theme .dom-related-image { display:grid; place-items:center; aspect-ratio:1; background:#f6f2ee; border-radius:8px; overflow:hidden; text-decoration:none; color:#99877e; }
body.dom-theme .dom-related-image img { width:100%; height:100%; object-fit:contain; object-position:center top; }
body.dom-theme .dom-related-card time { display:block; font-size:12px; color:#766e69; margin:16px 0 8px; }
body.dom-theme .dom-related-card h3 { font-family:var(--dcf-heading,sans-serif)!important; font-weight:var(--dcf-news-weight,400)!important; font-size:21px; line-height:1.4; margin:0; }
body.dom-theme .dom-related-card h3 a { color:inherit; text-decoration:none; }
body.dom-theme .dom-related-card h3 a:hover,body.dom-theme .dom-author-details a:hover { text-decoration:underline; }
@media(max-width:640px) {
 body.dom-theme .dom-article-meta { gap:20px; }
 body.dom-theme .dom-article-byline { gap:10px; flex-wrap:wrap; }
 body.dom-theme .dom-article-byline time { padding-left:12px; margin-left:0; }
 body.dom-theme .dom-article-shares--top { width:100%; }
 body.dom-theme .dom-related-grid { grid-template-columns:1fr; gap:30px; }
 body.dom-theme .dom-article-related { width:calc(100% - 36px); margin-bottom:48px; }
 body.dom-theme .dom-article-body { font-size:17px; }
}

/* Shared news cards use an identical image area without letterboxing. */
body.dom-theme .dom-article-related { --dom-columns:3; }
body.dom-theme .dom-article-related .dom-catalog-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
body.dom-theme .dom-article-categories { margin:0 0 22px; }
body.dom-theme .dom-article-categories .dom-category-links { margin:0; gap:8px 16px; justify-content:flex-start; }
body.dom-theme .dom-article-categories a { min-height:0; padding:0; font-size:13px; color:#765961; text-underline-offset:3px; }
@media(max-width:680px) { body.dom-theme .dom-article-related .dom-catalog-grid { grid-template-columns:1fr; gap:30px; } }

/* Ordinary WordPress pages share one layout; custom templates keep theirs. */
body.dom-theme main.dom-default-page {
 box-sizing:border-box;width:84%;max-width:none;margin:0 auto;
 padding:52px 0 72px;font-family:var(--dcf-body,var(--dom-body-font,sans-serif));
 font-size:18px;line-height:1.75;overflow-wrap:break-word;
}
body.dom-theme main.dom-default-page>h1 {
 width:100%;max-width:none;margin:0 auto 36px;text-align:center;
 font-family:var(--dcf-heading,var(--dom-heading-font,sans-serif))!important;
 font-weight:var(--dcf-heading-weight,300)!important;
 font-size:clamp(26px,2.3vw,36px)!important;line-height:1.3;
}
body.dom-theme main.dom-default-page>p,
body.dom-theme main.dom-default-page>ul,
body.dom-theme main.dom-default-page>ol {max-width:none;}
body.dom-theme main.dom-default-page img {max-width:100%;height:auto;}
@media(max-width:680px) {
 body.dom-theme main.dom-default-page {width:calc(100% - 36px);padding:32px 0 48px;font-size:17px;}
 body.dom-theme main.dom-default-page>h1 {margin-bottom:26px;}
}

/* Normal paragraph rhythm; alignment remains controlled by WordPress. */
body.dom-theme main.dom-default-page p {max-width:none;width:auto;margin-block:0 0 .8em;line-height:1.6;}
body.dom-theme main.dom-default-page>p {width:100%;box-sizing:border-box;margin-inline:0;}
body.dom-theme main.dom-default-page>ul,
body.dom-theme main.dom-default-page>ol {margin-block:.8em;line-height:1.6;}
body.dom-theme main.dom-default-page .has-text-align-center {text-align:center;}
body.dom-theme main.dom-default-page .has-text-align-right {text-align:right;}
body.dom-theme main.dom-default-page .has-text-align-left {text-align:left;}
