/* Drayson CMS — "Multinews" look-alike theme for zacdrayson.com */
:root {
  --bg: #f2f2f2;
  --box: #fff;
  --line: #e1e1e1;
  --line-soft: #ededed;
  --head-bg: #e9e9e9;
  --text: #000;
  --muted: #b5b5b5;
  --meta: #9a9a9a;
  --blue: #0083b9;
  --dark: #262626;
  --darker: #1b1b1b;
  --nav-text: #ededed;
  --font: "Trebuchet MS", "Lucida Grande", Tahoma, sans-serif;
  --head: "Archivo Narrow", "Arial Narrow", Arial, sans-serif;
  --wrap: 1200px;
  --side: 372px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 12px/20px var(--font); }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; background: #fff; padding: 8px 12px; }
.skip-link:focus { left: 8px; top: 8px; }
.inner { max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding: 0 20px; }
.hp { position: absolute !important; left: -9999px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--head); font-weight: 700; margin: 0 0 10px; line-height: 1.3; }

/* ---------- admin bar ---------- */
.adminbar { background: #23282d; color: #ccc; font: 13px/32px -apple-system, "Segoe UI", Roboto, sans-serif; padding: 0 14px; display: flex; gap: 18px; }
.adminbar a { color: #eee; } .adminbar a:hover { color: #72aee6; }
.adminbar-right { margin-left: auto; }

/* ---------- header ---------- */
.site-header { background: #000; }
.site-header .logo { text-align: center; padding: 30px 0 20px; line-height: 0; }
.site-header .logo img { max-height: 193px; width: auto; }
.logo-text { font: 700 54px/1.2 var(--head); color: #fff; letter-spacing: 1px; }

/* ---------- navigation ---------- */
.navigation { background: var(--dark); border-bottom: 1px solid #000; position: relative; z-index: 50; }
.navigation .inner { display: flex; justify-content: center; }
.main-menu, .main-menu ul { list-style: none; margin: 0; padding: 0; }
.main-menu { display: flex; justify-content: center; border-left: 1px solid #000; border-right: 1px solid #383838; }
.main-menu > li { position: relative; border-right: 1px solid #000; border-left: 1px solid #383838; }
.main-menu > li > a { display: flex; align-items: center; gap: 7px; padding: 0 15px 5px; line-height: 42px; color: var(--nav-text); font: 700 15px/42px var(--head); text-transform: uppercase; position: relative; }
.main-menu > li > a .ic { width: 17px; height: 17px; }
.main-menu > li.icon-only > a { padding: 0 16px 5px; }
.main-menu > li.icon-only > a .ic { width: 20px; height: 20px; }
.main-menu > li > a:hover, .main-menu > li.current > a { background: #1f1f1f; color: #fff; }
.menu_bl { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; }
.submenu-toggle { display: none; }
.sub-menu { position: absolute; top: 100%; left: -1px; min-width: 210px; background: var(--dark); border: 1px solid #000; border-top: 0; display: none; box-shadow: 0 6px 12px rgba(0,0,0,.25); }
.main-menu li:hover > .sub-menu, .main-menu li:focus-within > .sub-menu { display: block; }
.sub-menu li { border-bottom: 1px solid #000; border-top: 1px solid #333; }
.sub-menu a { display: flex; align-items: center; gap: 8px; padding: 9px 15px; color: var(--nav-text); font: 400 14px/20px var(--head); }
.sub-menu a:hover, .sub-menu li.current > a { background: #1f1f1f; color: #fff; }
.menu-toggle { display: none; }

/* ---------- breaking news ticker ---------- */
.breaking-news { background: var(--dark); border-bottom: 1px solid #000; color: #c7c7c7; line-height: 39px; }
.breaking-news .inner { display: flex; overflow: hidden; }
.bn-title { flex: none; color: #fff; font: 700 13px/39px var(--head); text-transform: uppercase; padding: 0 20px; border-left: 1px solid #000; border-right: 1px solid #000; box-shadow: inset 1px 0 #383838, 1px 0 #383838; }
.bn-track { flex: 1; overflow: hidden; position: relative; border-right: 1px solid #000; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent); }
.bn-items { display: inline-flex; white-space: nowrap; animation: ticker 60s linear infinite; padding-left: 20px; }
.bn-track:hover .bn-items { animation-play-state: paused; }
.bn-items a { display: inline-flex; align-items: center; gap: 4px; margin-right: 30px; font: 400 13px/39px var(--head); color: #c7c7c7; }
.bn-items a:hover { color: #fff; }
.bn-items a .ic { width: 12px; height: 12px; color: #fff; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bn-items { animation: none; } }

/* ---------- layout ---------- */
.site-main { padding: 20px 0 30px; border-top: 1px solid #e6e6e6; }
.layout { display: grid; gap: 12px; align-items: start; }
.has-sidebar .layout { grid-template-columns: var(--side) minmax(0, 1fr); }
.has-sidebar.sidebar-right .layout { grid-template-columns: minmax(0, 1fr) var(--side); }
.has-sidebar.sidebar-left .sidebar { order: -1; }
.main-content { background: var(--box); border: 1px solid var(--line); padding: 20px; min-width: 0; }
.no-sidebar .main-content { padding: 20px 25px; }
.page-wrap > * + * { margin-top: 20px; }
.notice { padding: 10px 14px; margin: 0 0 15px; border: 1px solid; font-size: 13px; background: #fff; }
.notice.success { border-color: #b6dfb8; background: #eef8ef; color: #255d29; }
.notice.error { border-color: #ebc0c0; background: #fbeeee; color: #8a1f1f; }
.breadcrumbs-wrap { background: var(--box); border: 1px solid var(--line); margin-bottom: 12px; padding: 0 15px; line-height: 38px; font: 400 13px/38px var(--head); color: #777; display: flex; align-items: center; flex-wrap: wrap; }
.breadcrumbs-wrap .sep { width: 1px; height: 38px; background: var(--line); margin: 0 12px; transform: skewX(-20deg); }
.breadcrumbs-wrap .crumb-current { color: var(--blue); font-weight: 700; font-size: 18px; }

/* ---------- sidebar & widgets ---------- */
.sidebar { background: var(--box); border: 1px solid var(--line); }
.widget + .widget { border-top: 1px solid var(--line); }
.widget-head { background: var(--head-bg); border-bottom: 1px solid var(--line); padding: 0 15px; }
.widget-title { font: 700 14px/38px var(--head); margin: 0; color: #2b2b2b; }
.widget-body { padding: 15px; }
.sidebar .widget-body { font-size: 12px; }
.login-widget .lw-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lw-input { display: flex; border: 1px solid var(--line); background: #fff; }
.lw-icon { width: 26px; display: grid; place-items: center; background: #f6f6f6; color: #b5b5b5; border-right: 1px solid var(--line); }
.lw-input input { border: 0; width: 100%; min-width: 0; padding: 5px 8px; font: 11px var(--font); height: 28px; }
.lw-actions { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.remember { font-size: 11px; color: #555; display: inline-flex; align-items: center; gap: 4px; }
.lw-links { list-style: none; padding: 0; margin: 10px 0 0; font-size: 11px; }
.lw-links li::before, .post-list-widget li::before { content: "■"; font-size: 6px; color: #9a9a9a; margin-right: 6px; vertical-align: 2px; }
.lw-links a { color: #555; }
.login-widget.logged-in { display: flex; gap: 12px; align-items: flex-start; }
.login-widget.logged-in .lw-links { margin-top: 4px; }
.avatar { border-radius: 2px; }
.search-form { display: flex; border: 1px solid var(--line); background: #fff; }
.search-form input { flex: 1; border: 0; padding: 0 10px; height: 34px; font: 12px var(--font); min-width: 0; }
.search-form button { width: 40px; border: 0; border-left: 1px solid var(--line); background: #f6f6f6; cursor: pointer; color: #555; font-size: 16px; }
.search-form.big input { height: 40px; font-size: 14px; }
.post-list-widget { list-style: none; margin: 0; padding: 0; }
.post-list-widget li { padding: 6px 0; border-bottom: 1px solid #f1f1f1; font: 400 12px/1.4 var(--head); }
.post-list-widget li:last-child { border-bottom: 0; }
.post-list-widget .count, .post-list-widget .date { color: var(--meta); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-cloud a, .entry-tags a { background: #f1f1f1; border: 1px solid var(--line); padding: 2px 8px; font-size: 11px; }
.textwidget { overflow-wrap: anywhere; }
.widget-image { display: block; margin: 0 auto; }

/* ---------- buttons & forms ---------- */
.btn { display: inline-block; border: 1px solid #d7d7d7; background: #f1f1f1; padding: 6px 16px; font: 700 12px/18px var(--font); cursor: pointer; color: #333; border-radius: 2px; }
.btn:hover { background: #e7e7e7; color: #000; }
.btn-gray { background: #e9e9e9; text-transform: lowercase; padding: 6px 14px; }
.btn-blue { background: var(--blue); border-color: #00709e; color: #fff; }
.btn-blue:hover { background: #00709e; color: #fff; }
input[type=text], input[type=email], input[type=url], input[type=password], input[type=search], textarea, select { font: 13px var(--font); border: 1px solid var(--line); padding: 7px 9px; background: #fff; color: #222; max-width: 100%; }
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(0,131,185,.35); outline-offset: 0; border-color: var(--blue); }
.form-stack { display: grid; gap: 12px; max-width: 460px; }
.form-stack label { display: grid; gap: 4px; font-weight: 700; font-size: 12px; }
.form-stack label.remember { display: flex; font-weight: 400; }
.form-stack fieldset { border: 1px solid var(--line); padding: 10px 14px 14px; display: grid; gap: 10px; }
.form-stack button { justify-self: start; }
.account-links { margin-top: 15px; font-size: 13px; }
.account-links a { color: var(--blue); }
.profile-avatar { display: flex; gap: 14px; align-items: center; }

/* ---------- news boxes (home & lists) ---------- */
.news-box { background: #fff; border: 1px solid var(--line); }
.block-title { background: var(--head-bg); border-bottom: 1px solid var(--line); padding: 0 15px; }
.block-title h1, .block-title h2 { font: 700 17px/38px var(--head); color: var(--blue); margin: 0; }
.block-title .prefix { color: #555; }
.nb-content { display: grid; grid-template-columns: 1fr 1fr; }
.nb-first { padding: 15px; border-right: 1px solid var(--line); }
.nb-first h2 { font: 700 20px/1.25 var(--head); margin: 0 0 12px; }
.nb-first h2 a { color: #1a1a1a; }
.nb-first h2 a:hover, .nb-list h3 a:hover, .pi-title a:hover { color: var(--blue); }
.nb-first p { font-size: 14px; line-height: 20px; margin: 0 0 14px; }
.nb-img img { display: block; width: 100%; margin-bottom: 12px; }
.nb-list { list-style: none; margin: 0; padding: 0; }
.nb-list li { padding: 15px; border-bottom: 1px solid var(--line); }
.nb-list h3 { font: 400 15px/1.3 var(--head); margin: 0 0 10px; }
.nb-list h3 a { color: #1a1a1a; }
.pi-meta { display: flex; gap: 14px; color: var(--muted); font: 400 12px/16px var(--head); flex-wrap: wrap; }
.pi-meta a { color: var(--muted); }
.pi-meta .ic { margin-right: 6px; width: 13px; height: 13px; vertical-align: -2px; }
.hb-image { line-height: 0; padding: 0 0 5px; }
.hb-image img { display: inline-block; }
.base-box.info-box { background: #bde5f8; border: 1px solid #a5d5ee; color: #00376d; padding: 12px 15px; font-size: 14px; line-height: 20px; }
.base-box.info-box * { color: inherit !important; }
.hb-html:not(.base-box) { font-size: 14px; }

/* tabbed category box */
.tabbed-box { background: #fff; border: 1px solid var(--line); }
.f-tabbed-header { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; background: var(--head-bg); border-bottom: 1px solid var(--line); }
.f-tabbed-header button { border: 0; border-right: 1px solid var(--line); background: transparent; font: 400 13px/36px var(--head); padding: 0 14px; cursor: pointer; color: #444; }
.f-tabbed-header button.active, .f-tabbed-header button:hover { background: #fff; color: var(--blue); }
.f-tabbed-header button.active { box-shadow: 0 1px #fff; position: relative; }

/* post items in lists */
.post-item { padding: 12px 15px; border-bottom: 1px solid var(--line); display: flex; gap: 15px; }
.pi-thumb { flex: 0 0 180px; }
.pi-thumb img { display: block; width: 180px; height: 120px; object-fit: cover; }
.pi-body { min-width: 0; flex: 1; }
.pi-title { font: 700 16px/1.3 var(--head); margin: 0 0 8px; }
.pi-title a { color: #1a1a1a; }
.pi-excerpt { font-size: 13px; line-height: 19px; margin: 0 0 10px; color: #111; }
.show-more { text-align: center; border-top: 1px solid var(--line); margin-top: -1px; }
.show-more a { display: block; font: 400 12px/38px var(--font); color: #333; }
.show-more a:hover { background: #fafafa; color: var(--blue); }
.list-box .archive-desc { padding: 12px 15px; border-bottom: 1px solid var(--line); color: #444; font-size: 13px; }
.list-box .search-form, .list-box .result-count { margin: 15px; }
.empty { padding: 15px; color: #666; }
.pagination { display: flex; gap: 4px; justify-content: center; padding: 15px; flex-wrap: wrap; }
.pagination a, .pagination span { border: 1px solid var(--line); padding: 4px 10px; font: 13px var(--head); background: #fff; }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- single post ---------- */
.entry-title { font: 700 24px/1.25 var(--head); color: var(--blue); margin: 0 0 12px; }
.entry-meta { color: #999; font-size: 11px; display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line-soft); padding-bottom: 12px; margin-bottom: 18px; }
.entry-meta a { color: #777; }
.entry-meta .sep { color: #ddd; }
.draft-badge { background: #fff4d6; border: 1px solid #f0d27a; color: #7a5a00; padding: 0 6px; font-size: 11px; }
.entry-content { font-size: 13px; line-height: 21px; overflow-wrap: break-word; }
.entry-content p { margin: 0 0 18px; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { margin: 22px 0 12px; }
.entry-content h2 { font-size: 22px; } .entry-content h3 { font-size: 18px; } .entry-content h4 { font-size: 16px; }
.entry-content a { color: var(--blue); }
.entry-content a:hover { text-decoration: underline; }
.entry-content img { height: auto; }
.entry-content iframe { max-width: 100%; }
.entry-content iframe[src*="youtube"], .entry-content iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.entry-content blockquote { margin: 0 0 18px; padding: 10px 18px; border-left: 4px solid var(--blue); background: #f7f9fa; font-style: italic; }
.entry-content ul, .entry-content ol { margin: 0 0 18px; padding-left: 26px; }
.entry-content table { border-collapse: collapse; width: 100%; margin-bottom: 18px; }
.entry-content td, .entry-content th { border: 1px solid var(--line); padding: 6px 10px; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 4px 18px 10px 0; }
.alignright { float: right; margin: 4px 0 10px 18px; }
.entry-content::after { content: ""; display: table; clear: both; }
.wp-caption, figure { max-width: 100%; margin: 0 0 18px; }
.wp-caption-text, figcaption { font-size: 11px; color: #777; text-align: center; padding-top: 4px; }
.embed-16x9 { position: relative; aspect-ratio: 16 / 9; margin-bottom: 18px; }
.embed-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.entry-tags { margin: 10px 0 0; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 12px; }
.related-posts { margin-top: 22px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.related-posts h4 { font: 700 12px var(--font); margin-bottom: 10px; }
.related-posts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-posts a { color: var(--blue); display: block; font-size: 13px; line-height: 1.4; }
.related-posts .date, .related-posts .cat { display: block; color: #888; font-size: 11px; line-height: 1.5; }
.share-bar { display: flex; align-items: center; gap: 4px; margin-top: 22px; padding: 10px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.share-label { background: #f1f1f1; border: 1px solid var(--line); padding: 0 10px; font: 700 10px/24px var(--font); text-transform: lowercase; margin-right: 8px; }
.share-bar a, .share-bar button { width: 30px; height: 26px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; color: #5b7bbd; font-size: 15px; }
.share-bar .sh-x { color: #111; } .share-bar .sh-mail, .share-bar .sh-copy { color: #888; }
.share-bar .copied { color: #2e7d32; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 18px; }
.post-nav a { display: block; border: 1px solid var(--line); padding: 10px 14px; font: 700 14px/1.3 var(--head); }
.post-nav small { display: block; font: 400 11px var(--font); color: #888; margin-bottom: 3px; }
.post-nav .next { text-align: right; }
.section-title { font: 700 16px/1.2 var(--head); border-bottom: 1px solid var(--line-soft); padding-bottom: 10px; margin: 26px 0 15px; color: #222; }
.author-box { display: flex; gap: 15px; align-items: flex-start; }
.author-box.inline { padding: 15px; border-bottom: 1px solid var(--line); }
.author-box h5, .author-box h3 { font: 700 15px var(--head); color: var(--blue); margin: 0 0 6px; }
.author-box h5 a { color: var(--blue); }
.author-box p { margin: 0 0 8px; font-size: 12px; line-height: 19px; }
.author-links { display: flex; gap: 10px; color: #666; }

/* ---------- comments ---------- */
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: 40px; }
.comment-body { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.comment-main { flex: 1; min-width: 0; }
.comment-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.comment-author { font: 700 14px var(--head); }
.comment-date { color: #999; font-size: 11px; }
.badge { background: var(--blue); color: #fff; font-size: 10px; padding: 0 6px; line-height: 16px; border-radius: 2px; }
.comment-text { font-size: 13px; line-height: 20px; }
.comment-text p { margin: 0 0 10px; }
.comment-text a { color: var(--blue); }
.awaiting { color: #b26a00; font-style: italic; margin: 0 0 6px; }
.reply-link { background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; font: 700 11px var(--font); text-transform: uppercase; }
.comment-form textarea { width: 100%; display: block; min-height: 130px; margin-bottom: 10px; }
.cf-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.comment-form .remember { margin-bottom: 12px; }
.replying-to { font: 400 12px var(--font); color: #777; }
.cancel-reply { background: none; border: 0; color: #c00; cursor: pointer; font-size: 12px; }
.logged-in-as { font-size: 12px; color: #555; }
.logged-in-as a { color: var(--blue); }

/* ---------- timeline ---------- */
.timeline { position: relative; padding: 10px 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.tl-month { text-align: center; position: relative; margin: 10px 0 20px; }
.tl-month span { display: inline-block; background: var(--dark); color: #fff; font: 700 12px/30px var(--head); padding: 0 12px; text-transform: uppercase; }
.tl-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; position: relative; }
.tl-item { background: #fafafa; border: 1px solid var(--line); padding: 12px 15px; margin-bottom: 20px; position: relative; }
.tl-item.left { grid-column: 1; } .tl-item.right { grid-column: 2; margin-top: 30px; }
.tl-item h2 { font: 700 16px/1.3 var(--head); margin: 0 0 8px; }
.tl-item p { font-size: 12px; line-height: 18px; margin: 0 0 8px; }

/* ---------- galleries & lightbox ---------- */
.cms-gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 6px; }
.cms-gallery-item { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #eee; }
.cms-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.cms-gallery-item:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 86vh; box-shadow: 0 0 30px #000; }
.lightbox .lb-cap { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 13px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; font-size: 26px; cursor: pointer; border-radius: 50%; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 16px; } .lb-next { right: 16px; }

/* ---------- contact form ---------- */
.contact-form { max-width: 560px; margin: 0 auto; }
.contact-form label { display: block; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 4px; }

/* ---------- error page ---------- */
.error-page h1 { font-size: 26px; color: var(--blue); }
.error-page .search-form { max-width: 480px; margin: 20px 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #ccc; border-top: 1px solid #000; }
.footer-widgets { padding: 0; }
.footer-cols { display: grid; border-left: 1px solid #1d1d1d; border-right: 1px solid #333; }
.footer-cols.cols-1 { grid-template-columns: 1fr; } .footer-cols.cols-2 { grid-template-columns: 1fr 1fr; }
.footer-cols.cols-3 { grid-template-columns: repeat(3, 1fr); } .footer-cols.cols-4 { grid-template-columns: repeat(4, 1fr); }
.footer-col { border-right: 1px solid #1d1d1d; border-left: 1px solid #333; padding: 18px 10px; min-width: 0; }
.site-footer .widget + .widget { border-top: 0; }
.site-footer .widget-head { background: transparent; border: 0; padding: 0 10px; }
.site-footer .widget-title { color: #fff; }
.site-footer .widget-body { padding: 10px; font-size: 11px; }
.site-footer a { color: #ddd; }
.site-footer a:hover { color: #fff; }
.authors-widget { list-style: none; margin: 0; padding: 0; }
.authors-widget > li { margin-bottom: 10px; }
.authors-widget > li > a, .authors-widget > li { font-size: 11px; }
.authors-widget img { vertical-align: middle; margin-right: 8px; width: 32px; height: 32px; object-fit: cover; }
.authors-widget ul { list-style: none; padding: 4px 0 0; margin: 0; font-size: 11px; line-height: 17px; }
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.insta-grid img { display: block; aspect-ratio: 1; object-fit: cover; width: 100%; }
.footer-bottom { background: #111; color: #fff; font-size: 11px; line-height: 20px; padding: 14px 0; }
.footer-bottom .inner { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.footer-links a { color: #aaa; }
.scroll-top { position: fixed; right: 18px; bottom: 18px; width: 38px; height: 38px; display: grid; place-items: center; background: rgba(0,0,0,.6); color: #fff; opacity: 0; pointer-events: none; transition: opacity .2s; font-size: 18px; }
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { color: #fff; background: #000; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  :root { --side: 300px; }
  .nb-content { grid-template-columns: 1fr; }
  .nb-first { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .has-sidebar .layout, .has-sidebar.sidebar-right .layout { grid-template-columns: 1fr; }
  .has-sidebar.sidebar-left .sidebar { order: 2; }
  .site-header .logo { padding: 20px 0 14px; }
  .navigation .inner { display: block; padding: 0; }
  .menu-toggle { display: flex; align-items: center; gap: 10px; width: 100%; background: var(--dark); color: #fff; border: 0; padding: 0 20px; height: 46px; font: 700 16px var(--head); cursor: pointer; border-bottom: 5px solid #8224e3; }
  .menu-toggle .ic { width: 22px; height: 22px; } .menu-toggle .caret { margin-left: auto; }
  .main-menu { display: none; flex-direction: column; border: 0; }
  .navigation.open .main-menu { display: flex; }
  .main-menu > li { border: 0; border-top: 1px solid #333; display: flex; flex-wrap: wrap; }
  .main-menu > li > a { flex: 1; text-transform: none; font-weight: 400; padding: 0 20px; }
  .main-menu > li.icon-only .sr-only { position: static !important; width: auto; height: auto; clip: auto; }
  .menu_bl { display: none; }
  .submenu-toggle { display: grid; place-items: center; width: 48px; background: transparent; border: 0; border-left: 1px solid #333; color: #fff; cursor: pointer; }
  .sub-menu { position: static; display: none; width: 100%; box-shadow: none; border: 0; background: #1f1f1f; }
  .main-menu li:hover > .sub-menu, .main-menu li:focus-within > .sub-menu { display: none; }
  .main-menu li.open > .sub-menu { display: block; }
  .sub-menu a { padding-left: 34px; }
  .footer-cols.cols-3, .footer-cols.cols-4 { grid-template-columns: 1fr; }
  .related-posts ul { grid-template-columns: 1fr; gap: 12px; }
  .cf-fields { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .inner { padding: 0 10px; }
  .main-content { padding: 12px; }
  .bn-title { display: none; }
  .tl-items { grid-template-columns: 1fr; }
  .tl-item.right { grid-column: 1; margin-top: 0; }
  .timeline::before { display: none; }
  .post-item { flex-direction: column; }
  .pi-thumb img { width: 100%; height: auto; }
  .cms-gallery { grid-template-columns: repeat(2, 1fr); }
  .post-nav { grid-template-columns: 1fr; }
  .login-widget .lw-fields { grid-template-columns: 1fr; }
  .comment-list .children { margin-left: 16px; }
}
@media print {
  .navigation, .breaking-news, .sidebar, .site-footer, .share-bar, .comment-respond, .adminbar, .scroll-top { display: none !important; }
  .has-sidebar .layout { display: block; }
  .main-content { border: 0; }
}

/* fixed-size avatars (never stretch inside flex rows) */
.avatar { flex: none; object-fit: cover; align-self: flex-start; }
.comment-body .avatar { width: 50px; height: 50px; }
.author-box .avatar { width: 80px; height: 80px; }
.login-widget .avatar, .authors-widget .avatar { width: 48px; height: 48px; }
.authors-widget .avatar { width: 32px; height: 32px; }
