/* A3rfo Next: article and category reading improvements. Original Ultra News markup remains untouched. */
body.a3n-theme:not(.home){background:#fbfcfb;color:#1b3531}
body.a3n-theme .primary-header{background:linear-gradient(125deg,#f1f9f6,#f8fbf9);border-bottom:1px solid #e3eee9;color:#153e38}
body.a3n-theme .primary-header .container{max-width:1260px}
body.a3n-theme .primary-header .primary-header-inner{padding-block:26px}
body.a3n-theme .primary-header h1{color:#174b42;line-height:1.4;font-weight:900}
body.a3n-theme .primary-header h2{color:#5e746c;line-height:1.7}
body.a3n-theme .archive-outer .a3n-archive-description{color:#526c63;line-height:1.9;font-size:16px;font-weight:400;max-width:900px;margin:13px 0 0}
body.a3n-theme .archive-outer .a3n-archive-description p{margin:0 0 12px}
@media(max-width:600px){body.a3n-theme .archive-outer .a3n-archive-description{font-size:14px;line-height:1.9}}
body.a3n-theme .archive-outer .a3n-category-lead{max-width:840px;margin:16px 0 5px;padding:14px 19px;border-right:4px solid #d9a65c;background:#fff;border-radius:10px;color:#40665b;font-size:15px;line-height:1.95;box-shadow:0 6px 20px rgba(12,81,63,.04)}
@media(max-width:600px){body.a3n-theme .archive-outer .a3n-category-lead{font-size:14px;padding:11px 14px;margin-block:12px 2px}}
body.a3n-theme .archive-outer .primary-content{background:#fbfdfc}
body.a3n-theme .archive-outer .posts-loop .post{border:1px solid #e2ebe7;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 8px 27px rgba(15,75,60,.045);transition:transform .18s,box-shadow .18s}
body.a3n-theme .archive-outer .posts-loop .post:hover{transform:translateY(-3px);box-shadow:0 15px 34px rgba(15,75,60,.11)}
body.a3n-theme .archive-outer .posts-loop .post .post-title h3{font-weight:800;line-height:1.65;color:#183f39}
body.a3n-theme .archive-outer .posts-loop .post .post-title h3:hover{color:#087466}
body.a3n-theme .archive-outer .posts-loop .post img{object-fit:cover}
body.a3n-theme .entry-outer .primary-content{background:#fbfdfc}
body.a3n-theme .entry-content-inner-2{min-width:0}
body.a3n-theme .entry-content{background:#fff;color:#263d38;line-height:2.05;font-size:clamp(16px,1.12vw,18px);overflow-wrap:anywhere}
body.a3n-theme .entry-content p{margin-bottom:1.35em}
body.a3n-theme .entry-content h2,body.a3n-theme .entry-content h3{color:#145f53;font-weight:850;line-height:1.5;margin-block:1.65em .75em}
body.a3n-theme .entry-content h2{border-right:4px solid #e3ad61;padding-right:14px}
body.a3n-theme .entry-content a{color:#0a7866;text-decoration:underline;text-underline-offset:3px}
body.a3n-theme .entry-content a:hover{color:#0b554d}
body.a3n-theme .entry-content img{max-width:100%;height:auto;border-radius:10px}
body.a3n-theme .entry-content blockquote{background:#eff8f3;border-right:4px solid #15907a;padding:20px 24px;margin:25px 0;color:#2a6258}
body.a3n-theme .entry-content table{width:100%;border-collapse:collapse;display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
body.a3n-theme .entry-content th{background:#e6f4ed;color:#245b51}
body.a3n-theme .entry-content th,body.a3n-theme .entry-content td{border:1px solid #dce8e2;padding:10px 13px}
body.a3n-theme .entry-content li{margin-bottom:.3em}
body.a3n-theme :is(a,button,input,textarea,select):focus-visible{outline:3px solid #8b4b00;outline-offset:3px}
body.a3n-theme #site-footer :is(a,button,input,textarea,select):focus-visible,body.a3n-theme #site-header [data-theme="dark"] :is(a,button,input,textarea,select):focus-visible,body.a3n-theme .a3n-bottom-cta :is(a,button,input,textarea,select):focus-visible{outline:3px solid #f3ca83;outline-offset:3px}
@media(max-width:767px){body.a3n-theme .primary-header .primary-header-inner{padding-block:17px}body.a3n-theme .entry-content{font-size:16px;line-height:1.95}body.a3n-theme .entry-content h2{font-size:23px}body.a3n-theme .entry-content blockquote{padding:14px 16px}}
/* Friendly fallback when search or archive has no published posts. */
body.a3n-theme .a3n-empty-search .primary-content{background:#f7fbf8;padding:34px 0 65px}
body.a3n-theme .a3n-empty-search .error-content-inner{max-width:970px;margin-inline:auto}
body.a3n-theme .a3n-empty-search .a3n-empty-panel{padding:clamp(24px,4vw,46px);background:#fff;border:1px solid #dcebe3;border-radius:20px;box-shadow:0 18px 45px rgba(12,74,59,.06);color:#395b52;text-align:right}
body.a3n-theme .a3n-empty-search .a3n-empty-symbol{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:16px;background:#e6f5ed;color:#0d7461;font-size:38px;line-height:1;margin-bottom:13px}
body.a3n-theme .a3n-empty-search h2{font-size:clamp(23px,3vw,30px);font-weight:850;line-height:1.45;color:#124c40;margin:0 0 13px}
body.a3n-theme .a3n-empty-search .a3n-empty-panel p{line-height:1.9;max-width:660px;margin:0 0 15px}
body.a3n-theme .a3n-empty-search .a3n-empty-query{font-size:14px;overflow-wrap:anywhere;color:#4b665f}
body.a3n-theme .a3n-empty-search .a3n-empty-search-form{max-width:660px;margin:25px 0}
body.a3n-theme .a3n-empty-search .search-form-inner{display:flex;gap:9px;align-items:stretch}
body.a3n-theme .a3n-empty-search .search-field{flex:1 1 auto;min-width:0;border:1px solid #c6e1d3;border-radius:10px;padding:11px 14px;min-height:47px;font:inherit}
body.a3n-theme .a3n-empty-search .search-submit{border-radius:10px;border:0;min-height:47px;background:#087362;color:#fff;font:inherit;font-weight:800;padding:10px 22px;cursor:pointer}
body.a3n-theme .a3n-empty-search .search-submit:hover{background:#07564b}
body.a3n-theme .a3n-empty-search .a3n-empty-links{display:flex;flex-wrap:wrap;gap:10px}
body.a3n-theme .a3n-empty-search .a3n-empty-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none;background:#eef7f1;border:1px solid #d5e9dc;border-radius:9px;color:#0b6857;padding:9px 15px;font-size:14px;font-weight:800}
body.a3n-theme .a3n-empty-search .a3n-empty-links a:hover{background:#d9f1e2}
@media(max-width:520px){body.a3n-theme .a3n-empty-search .primary-content{padding:18px 0 38px}body.a3n-theme .a3n-empty-search .a3n-empty-panel{padding:21px 16px}body.a3n-theme .a3n-empty-search .search-form-inner{flex-direction:column}body.a3n-theme .a3n-empty-search .search-submit{width:100%}}
@media(prefers-reduced-motion:reduce){body.a3n-theme .archive-outer .posts-loop .post{transition:none}}
