/*
Theme Name: Denpasar247 Magazine
Theme URI: https://denpasar247.com/
Author: Denpasar247
Author URI: https://denpasar247.com/
Description: Theme portal berita lokal modern untuk Denpasar247.com, dengan layout magazine, berita utama, pilihan editor, kategori populer, artikel terbaru, sidebar populer, dan halaman artikel premium.
Version: 1.1.1
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: denpasar247
Tags: news, magazine, blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --d247-red: #df1019;
  --d247-red-dark: #b9070f;
  --d247-black: #111111;
  --d247-ink: #202020;
  --d247-muted: #727272;
  --d247-line: #e7e7e7;
  --d247-soft: #f6f6f6;
  --d247-white: #ffffff;
  --d247-radius: 7px;
  --d247-shadow: 0 8px 26px rgba(0,0,0,.08);
  --d247-wrap: 1180px;
  --d247-logo-desktop: 440px;
  --d247-logo-mobile: 270px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--d247-ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header.is-sticky { top: 32px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--d247-red); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 34px), var(--d247-wrap)); margin-inline: auto; }
.screen-reader-text { position: absolute!important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header */
.topbar { background: #101010; color: #d9d9d9; font-size: 12px; }
.topbar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__links, .topbar__social { display: flex; align-items: center; gap: 18px; }
.topbar__menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 18px; }
.topbar a:hover { color: #fff; }
.topbar__social a { width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); font-weight: 700; font-size: 10px; }
.brandbar { background: #fff; }
.brandbar__inner { min-height: 126px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-branding { min-width: 0; }
.custom-logo-link { display: block; line-height: 0; }
.custom-logo { width: min(var(--d247-logo-desktop), 48vw); max-width: 100%; max-height: none; height: auto; object-fit: contain; object-position: left center; }
.site-branding__text { display: inline-flex; align-items: baseline; font-weight: 900; letter-spacing: -2.5px; text-transform: uppercase; font-size: clamp(28px, 4vw, 44px); line-height: 1; }
.site-branding__text span { color: var(--d247-red); margin-left: 8px; }
.site-branding__tagline { color: #555; font-size: 10px; letter-spacing: 2.6px; text-transform: uppercase; margin-top: 7px; }
.brandbar__actions { display: flex; align-items: center; gap: 12px; }
.icon-button, .live-button { border: 0; cursor: pointer; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; }
.icon-button { width: 42px; height: 42px; background: #f4f4f4; color: #111; }
.live-button { min-height: 42px; padding: 0 17px; background: var(--d247-red); color: #fff; font-weight: 800; text-transform: uppercase; font-size: 12px; gap: 7px; }
.live-button:hover { color: #fff; background: var(--d247-red-dark); }
.live-button__dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.22); }
.site-header.is-sticky { position: sticky; top: 0; z-index: 1000; box-shadow: 0 5px 20px rgba(0,0,0,.08); }
.navbar { background: var(--d247-red); color: #fff; }
.navbar__inner { min-height: 48px; display: flex; align-items: stretch; }
.menu-toggle { display: none; width: 48px; background: rgba(0,0,0,.12); border: 0; color: #fff; cursor: pointer; font-size: 19px; }
.primary-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; }
.primary-menu li { position: relative; }
.primary-menu > li > a { min-height: 48px; padding: 0 16px; display: flex; align-items: center; color: #fff; font-weight: 800; text-transform: uppercase; font-size: 12px; }
.primary-menu > li:hover > a, .primary-menu > .current-menu-item > a { background: rgba(0,0,0,.14); color: #fff; }
.primary-menu .sub-menu { position: absolute; z-index: 50; top: 100%; left: 0; min-width: 210px; padding: 8px 0; margin: 0; list-style: none; background: #fff; box-shadow: var(--d247-shadow); visibility: hidden; opacity: 0; transform: translateY(8px); transition: .18s ease; }
.primary-menu li:hover > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.primary-menu .sub-menu a { display: block; padding: 9px 15px; color: #222; font-weight: 700; font-size: 13px; }
.nav-search { margin-left: auto; display: flex; align-items: center; }
.nav-search .icon-button { background: transparent; color: #fff; }

/* Search panel */
.search-panel { display: none; background: #fff; border-bottom: 1px solid var(--d247-line); padding: 18px 0; box-shadow: 0 8px 18px rgba(0,0,0,.05); }
.search-panel.is-open { display: block; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 46px; border: 1px solid #ddd; border-radius: 4px; padding: 0 14px; }
.search-submit { border: 0; background: var(--d247-red); color: #fff; min-height: 46px; padding: 0 20px; border-radius: 4px; font-weight: 800; cursor: pointer; }

/* Common */
.site-main { padding: 28px 0 50px; }
.section { margin-top: 34px; }
.section-title { margin: 0 0 18px; padding-left: 12px; border-left: 4px solid var(--d247-red); font-size: 18px; line-height: 1.25; text-transform: uppercase; letter-spacing: -.2px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head .section-title { margin-bottom: 0; }
.section-link { color: var(--d247-muted); font-size: 12px; font-weight: 700; }
.badge { display: inline-flex; align-items: center; min-height: 21px; padding: 2px 8px; border-radius: 2px; background: var(--d247-red); color: #fff!important; font-size: 10px; line-height: 1; font-weight: 800; text-transform: uppercase; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 13px; color: #858585; font-size: 11px; }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }
.placeholder-image { background: linear-gradient(135deg, #252525, #777); }

/* Hero */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .8fr); gap: 10px; }
.hero-grid--single { grid-template-columns: 1fr; }
.hero-side { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hero-side--one { grid-template-rows: 1fr; }
.hero-card { position: relative; min-height: 222px; overflow: hidden; border-radius: var(--d247-radius); background: #222; color: #fff; }
.hero-card--main { min-height: 470px; }
.hero-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.hero-card:hover .hero-card__image { transform: scale(1.035); }
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02) 20%, rgba(0,0,0,.88) 100%); }
.hero-card__content { position: absolute; z-index: 2; inset: auto 0 0; padding: 22px; }
.hero-card--main .hero-card__content { padding: 30px; }
.hero-card__title { margin: 10px 0 8px; color: #fff; font-size: 22px; line-height: 1.18; letter-spacing: -.5px; }
.hero-card--main .hero-card__title { max-width: 720px; font-size: clamp(29px, 4vw, 43px); }
.hero-card .post-meta { color: rgba(255,255,255,.78); }

/* Main layout */
.content-sidebar-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; align-items: start; }
.content-sidebar-grid--no-sidebar { grid-template-columns: 1fr; }
.editor-grid { display: grid; grid-template-columns: repeat(var(--d247-editor-cols, 4), minmax(0,1fr)); gap: 14px; align-items: start; margin-bottom: 4px; }
.editor-card { min-width: 0; }
.editor-card__thumb { position: relative; display: block; width: 100%; aspect-ratio: 1.2; border-radius: 5px; overflow: hidden; background: #ddd; }
.editor-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.editor-card:hover img { transform: scale(1.04); }
.editor-card__body { position: relative; padding-top: 10px; }
.editor-card__title { margin: 5px 0 7px; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.home-category-section { clear: both; margin-top: 46px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--d247-line); border-radius: 6px; overflow: hidden; }
.category-card { min-height: 98px; padding: 16px; display: flex; align-items: center; gap: 12px; border-right: 1px solid var(--d247-line); border-bottom: 1px solid var(--d247-line); background: #fff; transition: background .2s ease, color .2s ease; }
.category-card:hover { background: #fff7f7; }
.category-card:nth-child(4n) { border-right: 0; }
.category-card:nth-last-child(-n+4) { border-bottom: 0; }
.category-card__icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff1f2; color: var(--d247-red); font-size: 21px; font-weight: 900; }
.category-card__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.category-card__name { display: block; font-weight: 800; line-height: 1.2; }
.category-card__count { display: block; color: #888; font-size: 11px; line-height: 1.35; }

.post-list { display: grid; gap: 0; }
.post-list-card { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--d247-line); }
.post-list-card:first-child { padding-top: 0; }
.post-list-card__thumb { aspect-ratio: 1.45; border-radius: 5px; overflow: hidden; background: #ddd; }
.post-list-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.post-list-card:hover img { transform: scale(1.035); }
.post-list-card__title { margin: 7px 0 7px; font-size: 20px; line-height: 1.25; letter-spacing: -.25px; }
.post-list-card__excerpt { margin: 0 0 8px; color: #666; font-size: 13px; line-height: 1.55; }
.load-more-wrap { padding-top: 25px; text-align: center; }
.load-more { min-height: 42px; border: 0; border-radius: 4px; padding: 0 28px; background: var(--d247-red); color: #fff; text-transform: uppercase; font-weight: 800; cursor: pointer; }
.load-more[disabled] { opacity: .65; cursor: wait; }

/* Sidebar */
.sidebar { display: grid; gap: 18px; }
.widget { border: 1px solid var(--d247-line); border-radius: 5px; padding: 17px; background: #fff; }
.widget-title { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--d247-red); font-size: 14px; text-transform: uppercase; }
.popular-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.popular-item { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; align-items: start; }
.popular-item__number { font-size: 23px; line-height: 1; font-weight: 900; color: var(--d247-red); }
.popular-item__title { margin: 0; font-size: 12px; line-height: 1.35; }
.popular-item__meta { margin-top: 4px; color: #999; font-size: 10px; }
.latest-mini { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid #eee; }
.latest-mini:last-child { border-bottom: 0; padding-bottom: 0; }
.latest-mini__thumb { aspect-ratio: 1.25; border-radius: 3px; overflow: hidden; background: #ddd; }
.latest-mini__thumb img { width: 100%; height: 100%; object-fit: cover; }
.latest-mini__title { margin: 0; font-size: 11px; line-height: 1.35; }
.latest-mini__date { color: #999; font-size: 9px; margin-top: 4px; }
.ad-box { min-height: 240px; display: grid; place-items: center; text-align: center; background: #f2f2f2; color: #777; font-weight: 700; }
.widget_categories ul { list-style: none; padding: 0; margin: 0; }
.widget_categories li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed #e3e3e3; font-size: 12px; }
.social-follow { display: grid; gap: 7px; }
.social-follow a { min-height: 35px; display: flex; align-items: center; justify-content: space-between; padding: 0 11px; border-radius: 3px; background: #222; color: #fff; font-size: 11px; font-weight: 700; }
.social-follow a:hover { background: var(--d247-red); color: #fff; }

/* Archive */
.archive-header { padding: 25px; margin-bottom: 22px; border-radius: 6px; background: var(--d247-soft); }
.archive-title { margin: 0; font-size: 28px; line-height: 1.2; }
.archive-description { margin-top: 8px; color: #666; }
.pagination { margin-top: 25px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { min-width: 38px; height: 38px; padding: 0 10px; display: inline-grid; place-items: center; border: 1px solid #ddd; border-radius: 4px; font-weight: 700; font-size: 12px; }
.page-numbers.current, .page-numbers:hover { background: var(--d247-red); border-color: var(--d247-red); color: #fff; }

/* Single */
.breadcrumbs { margin: 0 0 18px; color: #8a8a8a; font-size: 11px; }
.single-layout { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 34px; align-items: start; }
.single-header { margin-bottom: 20px; }
.single-title { margin: 10px 0 12px; font-size: clamp(30px, 5vw, 46px); line-height: 1.12; letter-spacing: -1.3px; }
.single-deck { max-width: 830px; margin: 0 0 17px; color: #5f5f5f; font-size: 16px; }
.author-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 12px; }
.author-row img { border-radius: 50%; }
.author-row__name { font-weight: 800; font-size: 12px; }
.author-row__meta { color: #888; font-size: 10px; }
.share-row { margin-left: auto; display: flex; gap: 6px; }
.share-row a { width: 34px; height: 31px; display: grid; place-items: center; border-radius: 3px; color: #fff; background: #222; font-size: 10px; font-weight: 900; }
.share-row a:nth-child(1) { background: #1677f2; }
.share-row a:nth-child(2) { background: #111; }
.share-row a:nth-child(3) { background: #16b75a; }
.single-featured { margin: 18px 0 22px; border-radius: 6px; overflow: hidden; }
.single-featured img { width: 100%; max-height: 540px; object-fit: cover; }
.toc { max-width: 390px; margin: 0 0 23px; padding: 16px 18px; border: 1px solid #dedede; border-radius: 5px; background: #fafafa; }
.toc__title { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 20px; font-size: 12px; }
.toc li { margin: 4px 0; }
.toc:empty, .toc.is-empty { display: none; }
.entry-content { font-family: Georgia, 'Times New Roman', serif; font-size: 17px; line-height: 1.85; }
.entry-content > * { max-width: 100%; }
.entry-content p { margin: 0 0 1.25em; }
.entry-content h2, .entry-content h3 { font-family: Arial, Helvetica, sans-serif; line-height: 1.25; margin-top: 1.65em; scroll-margin-top: 90px; }
.entry-content h2 { font-size: 25px; }
.entry-content h3 { font-size: 20px; }
.entry-content blockquote { margin: 1.7em 0; padding: 12px 0 12px 18px; border-left: 4px solid var(--d247-red); font-size: 20px; font-style: italic; }
.entry-content img { border-radius: 4px; }
.entry-content .alignleft { float: left; margin: 7px 24px 16px 0; }
.entry-content .alignright { float: right; margin: 7px 0 16px 24px; }
.entry-content .aligncenter { margin: 22px auto; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: 11px; }
.entry-tags a { padding: 5px 9px; border: 1px solid #ddd; border-radius: 3px; }
.author-box { margin-top: 28px; padding: 19px; display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 15px; border: 1px solid var(--d247-line); background: #fafafa; border-radius: 5px; }
.author-box img { border-radius: 50%; }
.author-box h3 { margin: 0 0 5px; font-size: 15px; }
.author-box p { margin: 0; color: #666; font-size: 12px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.related-card__thumb { aspect-ratio: 1.35; overflow: hidden; border-radius: 4px; background: #ddd; }
.related-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-card__title { margin: 7px 0 0; font-size: 13px; line-height: 1.35; }

/* Comments */
.comments-area { margin-top: 30px; }
.comments-title { font-size: 18px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 15px 0; border-bottom: 1px solid var(--d247-line); }
.comment-author img { border-radius: 50%; margin-right: 8px; display: inline-block; vertical-align: middle; }
.comment-meta { font-size: 11px; color: #888; }
.comment-content { margin-left: 48px; font-size: 13px; }
.comment-respond { margin-top: 22px; }
.comment-form input:not([type=submit]), .comment-form textarea { width: 100%; border: 1px solid #ddd; border-radius: 4px; padding: 10px; }
.form-submit .submit { border: 0; border-radius: 4px; background: var(--d247-red); color: #fff; padding: 10px 18px; font-weight: 800; cursor: pointer; }

/* Footer */
.site-footer { margin-top: 48px; background: #151515; color: #bfbfbf; }
.footer-widgets { padding: 40px 0 28px; display: grid; grid-template-columns: 1.25fr repeat(3,1fr); gap: 35px; }
.footer-brand .site-branding__text { color: #fff; font-size: 26px; letter-spacing: -1.6px; }
.footer-brand p { font-size: 12px; line-height: 1.65; }
.footer-title { margin: 0 0 13px; color: #fff; font-size: 12px; text-transform: uppercase; }
.footer-menu { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 11px; }
.footer-bottom { min-height: 50px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 10px; }

/* Empty */
.empty-state { padding: 35px; text-align: center; border: 1px dashed #ccc; border-radius: 6px; background: #fafafa; }
.empty-state h2 { margin-top: 0; }
.empty-state--compact { padding: 24px; }

@media (max-width: 980px) {
  .topbar__links { display: none; }
  .brandbar__inner { min-height: 88px; }
  .menu-toggle { display: block; }
  .primary-nav { position: relative; }
  .primary-menu { display: none; position: absolute; z-index: 100; top: 48px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; box-shadow: var(--d247-shadow); }
  .primary-menu.is-open { display: flex; }
  .primary-menu > li > a { color: #222; border-bottom: 1px solid #eee; }
  .primary-menu .sub-menu { position: static; min-width: 0; display: block; visibility: visible; opacity: 1; transform: none; box-shadow: none; padding-left: 16px; }
  .hero-card--main { min-height: 410px; }
  .content-sidebar-grid, .single-layout { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-widgets { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 700px) {
  body.admin-bar .site-header.is-sticky { top: 46px; }
  .container { width: min(calc(100% - 24px), var(--d247-wrap)); }
  .topbar__inner { min-height: 30px; }
  .topbar__social { margin-left: auto; }
  .brandbar__inner { min-height: 76px; }
  .site-branding__text { font-size: 27px; letter-spacing: -1.5px; }
  .site-branding__tagline { font-size: 7px; letter-spacing: 1.6px; }
  .live-button { padding-inline: 11px; font-size: 10px; }
  .icon-button { width: 38px; height: 38px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: none; }
  .hero-card--main { min-height: 410px; }
  .hero-card { min-height: 190px; }
  .hero-card__content, .hero-card--main .hero-card__content { padding: 16px; }
  .hero-card--main .hero-card__title { font-size: 28px; }
  .hero-card__title { font-size: 16px; }
  .editor-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-card:nth-child(4n) { border-right: 1px solid var(--d247-line); }
  .category-card:nth-child(2n) { border-right: 0; }
  .category-card:nth-last-child(-n+4) { border-bottom: 1px solid var(--d247-line); }
  .category-card:nth-last-child(-n+2) { border-bottom: 0; }
  .post-list-card { grid-template-columns: 125px minmax(0,1fr); gap: 12px; }
  .post-list-card__title { font-size: 16px; }
  .post-list-card__excerpt { display: none; }
  .sidebar { grid-template-columns: 1fr; }
  .single-title { font-size: 31px; }
  .single-deck { font-size: 14px; }
  .share-row { width: 100%; margin-left: 50px; }
  .entry-content { font-size: 16px; }
  .entry-content .alignleft, .entry-content .alignright { float: none; margin: 20px auto; display: block; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-widgets { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 14px 0; }
}

@media (max-width: 430px) {
  .brandbar__actions .live-button { min-width: 38px; padding: 0; }
  .brandbar__actions .live-button__label { display: none; }
  .hero-side { grid-template-columns: 1fr; }
  .editor-grid { gap: 11px; }
  .category-card { min-height: 84px; padding: 11px; }
  .category-card__icon { width: 34px; height: 34px; flex-basis: 34px; font-size: 17px; }
  .post-list-card { grid-template-columns: 110px minmax(0,1fr); }
  .post-list-card__title { font-size: 15px; }
  .related-grid { grid-template-columns: 1fr; }
}

/* Header & Navigation v1.0.3 */
.topbar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar__date { flex: 0 0 auto; white-space: nowrap; }
.breaking-ticker {
  min-width: 0;
  flex: 1 1 360px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}
.breaking-ticker__label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .35px;
  text-transform: uppercase;
}
.breaking-ticker__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--d247-red);
  box-shadow: 0 0 0 4px rgba(227,6,19,.18);
  animation: d247-pulse 1.8s ease-in-out infinite;
}
.breaking-ticker__items {
  position: relative;
  min-width: 0;
  height: 20px;
  flex: 1;
  overflow: hidden;
}
.breaking-ticker__item {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #d8d8d8;
  opacity: 0;
  visibility: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(8px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
}
.breaking-ticker__item.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.breaking-ticker__item:hover { color: #fff; }
.topbar__links { margin-left: auto; }
.topbar__social { gap: 7px; }
.topbar__social a {
  width: 25px;
  height: 25px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.16);
  transition: background .18s ease, border-color .18s ease;
}
.topbar__social a:hover { background: var(--d247-red); border-color: var(--d247-red); }
.topbar__social svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.topbar__social a[aria-label="Instagram"] svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.topbar__social a[aria-label="Instagram"] .is-fill { fill: currentColor; stroke: none; }

.brandbar__inner { min-height: 126px; }
.site-branding { flex: 0 1 auto; }
.header-ad {
  flex: 1 1 728px;
  max-width: 728px;
  min-width: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-ad img {
  width: 100%;
  max-height: 78px;
  object-fit: contain;
  object-position: center;
}
.brandbar__actions { margin-left: auto; }

.icon-button svg,
.search-panel__close svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-header:not(.is-sticky) { position: relative; z-index: 1000; }
.primary-menu { flex: 1 1 auto; min-width: 0; }
.primary-menu > li > a { position: relative; }
.primary-menu > li > a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.primary-menu > li:hover > a::after,
.primary-menu > li:focus-within > a::after,
.primary-menu > .current-menu-item > a::after,
.primary-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.primary-menu > li:hover > a,
.primary-menu > li:focus-within > a,
.primary-menu > .current-menu-item > a,
.primary-menu > .current-menu-ancestor > a { background: rgba(0,0,0,.09); color: #fff; }
.primary-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.primary-menu .sub-menu { border-top: 3px solid var(--d247-red-dark); border-radius: 0 0 5px 5px; }
.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu .current-menu-item > a { color: var(--d247-red); background: #fafafa; }
.submenu-toggle { display: none; }
.menu-toggle {
  position: relative;
  flex: 0 0 50px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-search .icon-button { border-radius: 0; min-height: 48px; }

.search-panel[hidden] { display: none!important; }
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: block;
  padding: clamp(90px, 14vh, 150px) 0 30px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(4px);
  border: 0;
  box-shadow: none;
}
.search-panel__inner {
  max-width: 820px;
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
}
.search-panel .search-form { flex: 1; }
.search-panel .search-field { min-height: 50px; font-size: 16px; }
.search-panel .search-submit { min-height: 50px; }
.search-panel__close {
  flex: 0 0 50px;
  border: 0;
  border-radius: 5px;
  background: #f1f1f1;
  color: #111;
  cursor: pointer;
}
body.d247-search-open { overflow: hidden; }

@keyframes d247-pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(227,6,19,.16); }
  50% { box-shadow: 0 0 0 7px rgba(227,6,19,0); }
}

@media (max-width: 1180px) {
  .topbar__links { display: none; }
  .header-ad { max-width: 620px; }
  .primary-menu > li > a { padding-inline: 13px; font-size: 11px; }
  .primary-menu > li > a::after { left: 13px; right: 13px; }
}

@media (max-width: 980px) {
  .topbar__inner { gap: 12px; }
  .topbar__date { font-size: 11px; }
  .header-ad { display: none; }
  .brandbar__actions { margin-left: auto; }
  .menu-toggle { display: flex; }
  .primary-menu {
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .primary-menu > li {
    display: grid;
    grid-template-columns: minmax(0,1fr) 50px;
    align-items: stretch;
  }
  .primary-menu > li:not(.menu-item-has-children) { grid-template-columns: 1fr; }
  .primary-menu > li > a { min-height: 50px; padding: 0 17px; }
  .primary-menu > li > a::after { display: none; }
  .primary-menu .sub-menu {
    grid-column: 1 / -1;
    display: none;
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 5px 17px;
    background: #f8f8f8;
  }
  .primary-menu .submenu-is-open > .sub-menu,
  .primary-menu li.submenu-is-open > .sub-menu { display: block; }
  .primary-menu .sub-menu a { padding: 10px 15px; border-bottom: 1px solid #eee; }
  .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-left: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background: #fff;
    color: #222;
    cursor: pointer;
  }
  .submenu-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform .2s ease;
  }
  .submenu-is-open > .submenu-toggle svg { transform: rotate(180deg); }
}

@media (max-width: 700px) {
  .topbar__date,
  .topbar__links,
  .topbar__social { display: none; }
  .topbar__inner { min-height: 34px; }
  .breaking-ticker { flex-basis: 100%; }
  .breaking-ticker__label { font-size: 9px; }
  .brandbar__inner { min-height: 86px; }
  .custom-logo { width: min(var(--d247-logo-mobile), 68vw); max-height: none; }
  .search-panel { padding-top: 80px; }
  .search-panel__inner { width: min(calc(100% - 24px), 820px); padding: 12px; }
  .search-panel .search-form { flex-direction: column; }
  .search-panel .search-submit { width: 100%; }
}

@media (max-width: 430px) {
  .breaking-ticker__label { max-width: 105px; }
  .breaking-ticker__item { font-size: 11px; }
  .brandbar__actions:empty { display: none; }
  .search-panel__inner { flex-wrap: wrap; }
  .search-panel__close { min-height: 44px; flex-basis: 100%; }
}


/* =========================================================
   Denpasar247 Magazine v1.1.0 — Final editorial polish
   ========================================================= */

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid rgba(227, 6, 19, .3);
  outline-offset: 3px;
}
.screen-reader-text:focus {
  clip: auto!important;
  width: auto;
  height: auto;
  top: 8px;
  left: 8px;
  z-index: 99999;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  box-shadow: var(--d247-shadow);
}
.post-meta svg,
.article-byline__meta svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar__inner { display: grid; gap: 18px; }
@media (min-width: 981px) {
  .sidebar__inner { position: sticky; top: 72px; }
  body.admin-bar .sidebar__inner { top: 104px; }
}
.widget--ad { overflow: hidden; }
.ad-box { min-height: 250px; gap: 4px; align-content: center; }
.ad-box span { display: block; text-transform: uppercase; letter-spacing: .8px; }
.ad-box small { display: block; font-weight: 500; }
.widget_categories li span { color: #8c8c8c; font-weight: 700; }

/* Archive and search */
.archive-header--final {
  min-height: 145px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(227,6,19,.06), transparent 50%),
    var(--d247-soft);
  border-left: 5px solid var(--d247-red);
}
.archive-header__eyebrow,
.page-header-final__eyebrow,
.author-box__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--d247-red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}
.archive-header__count {
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}
.archive-header__count strong { display: block; color: var(--d247-red); font-size: 22px; line-height: 1; }
.archive-header__count span { display: block; margin-top: 5px; color: #777; font-size: 10px; text-transform: uppercase; }
.archive-author-card {
  margin: -8px 0 22px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 76px minmax(0,1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid var(--d247-line);
  border-radius: var(--d247-radius);
}
.archive-author-card img { border-radius: 50%; }
.archive-author-card span { color: var(--d247-red); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.archive-author-card h2 { margin: 2px 0 4px; font-size: 20px; }
.archive-author-card p { margin: 0; color: #686868; font-size: 12px; }
.empty-state--search .search-form { max-width: 620px; margin: 18px auto 0; }

/* Final single article */
.site-main--single { padding-top: 22px; }
.single-article { min-width: 0; }
.single-header { padding-bottom: 21px; border-bottom: 1px solid var(--d247-line); }
.single-title {
  max-width: 900px;
  margin-top: 12px;
  font-size: clamp(34px, 4.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -1.45px;
  text-wrap: balance;
}
.single-deck {
  max-width: 850px;
  margin-bottom: 19px;
  color: #646464;
  font-size: 17px;
  line-height: 1.55;
}
.article-byline {
  display: grid;
  grid-template-columns: 48px auto minmax(0,1fr);
  gap: 11px;
  align-items: center;
}
.article-byline__avatar img { border-radius: 50%; }
.article-byline__identity { min-width: 105px; }
.article-byline__label { display: block; color: #999; font-size: 9px; text-transform: uppercase; letter-spacing: .7px; }
.article-byline__name { display: block; font-size: 12px; font-weight: 900; }
.article-byline__meta {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 15px;
  color: #7d7d7d;
  font-size: 10px;
}
.article-byline__meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-share {
  margin-top: 17px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.article-share__label { margin-right: 3px; color: #777; font-size: 11px; font-weight: 800; }
.article-share__button {
  width: 36px;
  height: 34px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: #222;
  color: #fff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  transition: transform .16s ease, opacity .16s ease;
}
.article-share__button:hover { color: #fff; transform: translateY(-2px); }
.article-share__button svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.article-share__button.is-facebook { background: #1877f2; }
.article-share__button.is-x { background: #101010; }
.article-share__button.is-whatsapp { background: #16b75a; }
.article-share__button.is-copy,
.article-share__button.is-print { background: #e9e9e9; color: #222; }
.article-share__button.is-copy svg,
.article-share__button.is-print svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.article-share__button.is-copied { background: #16b75a; color: #fff; }
.article-share__status { min-height: 18px; margin-left: 4px; color: #168446; font-size: 10px; }
.single-featured { margin-top: 24px; box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.single-featured img { max-height: 600px; }
.single-featured figcaption {
  padding: 8px 12px;
  border-top: 1px solid #eee;
  background: #fafafa;
  color: #777;
  font-size: 10px;
  line-height: 1.5;
}

.toc {
  max-width: 100%;
  margin: 24px 0 27px;
  padding: 0;
  overflow: hidden;
  border-color: #dedede;
  background: #fafafa;
}
.toc__toggle {
  width: 100%;
  min-height: 48px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 0;
  background: transparent;
  color: #222;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
}
.toc__toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s ease; }
.toc__list { margin: 0; padding: 0 20px 16px 40px; columns: 2; column-gap: 38px; font-size: 12px; }
.toc__list li { break-inside: avoid; margin: 5px 0; }
.toc__list .is-subheading { margin-left: 15px; color: #696969; }
.toc.is-collapsed .toc__list { display: none; }
.toc.is-collapsed .toc__toggle svg { transform: rotate(-90deg); }

.entry-content {
  color: #282828;
  font-size: 18px;
  line-height: 1.9;
}
.entry-content > p:first-child::first-letter {
  float: left;
  margin: 8px 8px 0 0;
  color: var(--d247-red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 57px;
  font-weight: 900;
  line-height: .75;
}
.entry-content h2 { font-size: clamp(24px, 3vw, 29px); letter-spacing: -.4px; }
.entry-content h3 { font-size: clamp(20px, 2.5vw, 23px); }
.entry-content h4 { font-family: Arial, Helvetica, sans-serif; font-size: 18px; }
.entry-content ul,
.entry-content ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.entry-content li { margin: .4em 0; }
.entry-content a { color: var(--d247-red-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content figure { margin: 1.8em 0; }
.entry-content figcaption { margin-top: 7px; color: #777; font-family: Arial, Helvetica, sans-serif; font-size: 10px; line-height: 1.5; }
.entry-content iframe,
.entry-content video { max-width: 100%; }
.entry-content table { width: 100%; margin: 1.7em 0; border-collapse: collapse; font-family: Arial, Helvetica, sans-serif; font-size: 13px; }
.entry-content th,
.entry-content td { padding: 10px 12px; border: 1px solid #ddd; text-align: left; }
.entry-content th { background: #f4f4f4; }
.entry-content pre { overflow-x: auto; padding: 16px; border-radius: 5px; background: #191919; color: #eee; font-size: 13px; line-height: 1.6; }
.entry-content code { padding: 2px 5px; border-radius: 3px; background: #f1f1f1; font-size: .88em; }
.entry-content pre code { padding: 0; background: transparent; }
.page-links { margin: 25px 0; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
.page-links > * { min-width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #ddd; border-radius: 3px; }

.inline-related {
  margin: 28px 0;
  padding: 12px;
  display: grid;
  grid-template-columns: 145px minmax(0,1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-left: 4px solid var(--d247-red);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.04);
  font-family: Arial, Helvetica, sans-serif;
}
.inline-related__thumb { aspect-ratio: 1.35; overflow: hidden; border-radius: 4px; }
.inline-related__thumb img { width: 100%; height: 100%; object-fit: cover; }
.inline-related__label { color: var(--d247-red); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.inline-related h3 { margin: 4px 0 0!important; font-size: 15px!important; line-height: 1.35; }
.inline-related h3 a { color: #222!important; text-decoration: none!important; }
.article-ad { margin: 28px 0; padding: 10px; overflow: hidden; text-align: center; border: 1px solid #eee; background: #fafafa; font-family: Arial, Helvetica, sans-serif; }

.entry-tags { padding-top: 18px; border-top: 1px solid var(--d247-line); }
.entry-tags a { background: #fafafa; }
.entry-tags a:hover { border-color: var(--d247-red); background: var(--d247-red); color: #fff; }
.author-box {
  grid-template-columns: 76px minmax(0,1fr);
  padding: 22px;
  background: linear-gradient(135deg, #fafafa, #fff);
}
.author-box img { width: 76px; height: 76px; }
.author-box h2 { margin: 0 0 5px; font-size: 18px; }
.author-box p { font-size: 13px; line-height: 1.6; }
.author-box__link { display: inline-block; margin-top: 7px; color: var(--d247-red); font-size: 11px; font-weight: 900; }
.post-navigation-final {
  margin-top: 27px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.post-navigation-final__item {
  min-height: 110px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--d247-line);
  border-radius: 5px;
  background: #fff;
}
.post-navigation-final__item.is-next { text-align: right; }
.post-navigation-final__item span { color: var(--d247-red); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.post-navigation-final__item strong { margin-top: 5px; font-size: 13px; line-height: 1.4; }
.post-navigation-final__item:hover { border-color: var(--d247-red); box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.related-section { margin-top: 36px; }
.related-grid { grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 16px; }
.related-card { min-width: 0; }
.related-card__body { padding-top: 9px; }
.related-card__title { margin-top: 6px; font-size: 14px; }
.related-card__date { margin-top: 6px; color: #929292; font-size: 9px; }

/* Comments final */
.comments-area { padding-top: 28px; border-top: 1px solid var(--d247-line); }
.comments-title,
.comment-reply-title { margin: 0 0 16px; font-size: 20px; }
.comment-list .children { list-style: none; margin-left: 38px; padding-left: 15px; border-left: 2px solid #eee; }
.comment-body { position: relative; padding: 18px 0; }
.comment-content { margin-left: 54px; }
.reply { margin-left: 54px; font-size: 11px; font-weight: 900; }
.comment-notes { color: #777; font-size: 11px; }
.comment-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.comment-form-comment,
.comment-form-url,
.comment-notes,
.logged-in-as,
.comment-form-cookies-consent,
.form-submit { grid-column: 1 / -1; }
.comment-form label { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 800; }
.comment-form textarea { min-height: 145px; resize: vertical; }

/* Static pages */
.page-article { width: min(100%, 900px); margin-inline: auto; }
.page-header-final {
  margin-bottom: 27px;
  padding: 35px 35px 31px;
  border-left: 5px solid var(--d247-red);
  border-radius: 0 var(--d247-radius) var(--d247-radius) 0;
  background: linear-gradient(135deg, #f6f6f6, #fff);
}
.page-title-final { margin: 0; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; letter-spacing: -1.2px; }
.page-header-final p { margin: 12px 0 0; color: #666; }
.page-featured-final { margin: 0 0 27px; overflow: hidden; border-radius: var(--d247-radius); }
.page-entry-content { font-size: 17px; }
.page-entry-content > p:first-child::first-letter { float: none; margin: 0; color: inherit; font: inherit; }

/* 404 */
.not-found-final { width: min(100%, 780px); margin: 25px auto 0; padding: 55px 35px; text-align: center; border: 1px solid var(--d247-line); border-radius: 8px; background: linear-gradient(145deg, #fafafa, #fff); }
.not-found-final__code { color: var(--d247-red); font-size: clamp(74px, 14vw, 132px); font-weight: 900; letter-spacing: -7px; line-height: .85; }
.not-found-final h1 { margin: 20px 0 8px; font-size: 30px; }
.not-found-final p { max-width: 570px; margin: 0 auto 20px; color: #6f6f6f; }
.not-found-final__search { margin: 0 auto 18px; }
.not-found-latest { width: min(100%, 960px); margin-inline: auto; }

/* Minor homepage refinements */
.section-link { padding: 6px 10px; border-radius: 4px; }
.section-link:hover { background: #fff1f2; color: var(--d247-red); }
.editor-card__title { min-height: 2.7em; }
.home-category-section { margin-top: 42px; }
.post-list-card__thumb { position: relative; }
.post-list-card__thumb::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); border-radius: inherit; pointer-events: none; }

@media (max-width: 980px) {
  .sidebar__inner { position: static; }
  .single-title { font-size: clamp(32px, 6vw, 43px); }
  .toc__list { columns: 1; }
}

@media (max-width: 700px) {
  .archive-header--final { min-height: 0; padding: 22px; }
  .archive-header__count { width: 66px; height: 66px; flex-basis: 66px; }
  .article-byline { grid-template-columns: 44px minmax(0,1fr); }
  .article-byline__avatar img { width: 44px; height: 44px; }
  .article-byline__meta { grid-column: 1 / -1; justify-content: flex-start; padding-top: 4px; }
  .single-title { font-size: 32px; letter-spacing: -.8px; }
  .single-deck { font-size: 15px; }
  .entry-content { font-size: 17px; line-height: 1.82; }
  .entry-content > p:first-child::first-letter { font-size: 50px; }
  .inline-related { grid-template-columns: 105px minmax(0,1fr); }
  .post-navigation-final { grid-template-columns: 1fr; }
  .post-navigation-final__item.is-next { text-align: left; }
  .comment-form { grid-template-columns: 1fr; }
  .comment-form > * { grid-column: 1; }
  .page-header-final { padding: 27px 23px; }
  .page-title-final { font-size: 34px; }
}

@media (max-width: 430px) {
  .archive-header--final { align-items: flex-start; }
  .archive-header__count { display: none; }
  .article-share__label { width: 100%; }
  .article-share__status { width: 100%; margin-left: 0; }
  .inline-related { grid-template-columns: 1fr; }
  .inline-related__thumb { aspect-ratio: 1.7; }
  .author-box { grid-template-columns: 58px minmax(0,1fr); padding: 16px; }
  .author-box img { width: 58px; height: 58px; }
  .comment-list .children { margin-left: 12px; padding-left: 10px; }
}

@media print {
  .topbar,
  .brandbar,
  .site-header,
  .search-panel,
  .breadcrumbs,
  .sidebar,
  .article-share,
  .toc,
  .author-box,
  .post-navigation-final,
  .related-section,
  .comments-area,
  .site-footer,
  .inline-related,
  .article-ad { display: none!important; }
  .site-main { padding: 0; }
  .container { width: 100%; }
  .single-layout { display: block; }
  .single-featured { box-shadow: none; }
  .entry-content { color: #000; font-size: 12pt; }
  a { color: #000; text-decoration: none; }
}
