/*
Theme Name: Magazine
Theme URI: https://wordpress.org/themes/
Author: MAGAZINE Studio
Description: Tema majalah berita editorial yang responsif, cepat, dan siap Gutenberg.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: magazine
Tags: blog, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
    --ink: #17212b;
    --muted: #6b737b;
    --paper: #f7f5f0;
    --white: #fffdfa;
    --line: #ddd9d0;
    --accent: #bd3c2f;
    --accent-dark: #8f2c24;
    --display: Georgia, "Times New Roman", serif;
    --body: "Trebuchet MS", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.6; }
body.home, body.blog { background: #fff; }
body.single-post { background: #fff; }
body.single-post .content-area > .wrap { width: calc(100% - 48px); max-width: none; }
@media (max-width: 900px) {
    body.single-post .content-area > .wrap, body.page .content-area > .wrap { width: 100% !important; max-width: none !important; padding: 0 !important; }
    body.single-post .entry, body.page .entry { width: 100% !important; padding: 20px 14px !important; border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; box-shadow: none !important; }
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { width: min(1470px, calc(100% - 80px)); margin-inline: auto; }

.site-top { color: #f9f6ef; background: var(--ink); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.top-inner { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 28px 0 25px; }
.site-brand { display: flex; align-items: center; gap: 14px; }
.custom-logo { display: block; max-width: 100%; height: auto; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; color: var(--white); background: var(--accent); font: 700 1.6rem/1 var(--display); }
.site-title { margin: 0; font: 700 clamp(2.25rem, 5vw, 4rem)/.9 var(--display); letter-spacing: -.04em; }
.site-description { margin: 7px 0 0; color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.header-note { max-width: 245px; padding-left: 20px; border-left: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.header-tools { display: flex; align-items: center; gap: 42px; margin-left: auto; }
.header-search .search-form { display: flex; width: min(340px, 32vw); height: 42px; }
.header-search .search-field { width: 100%; min-width: 0; padding: 0 17px; border: 1px solid var(--accent); border-right: 0; border-radius: 4px 0 0 4px; color: var(--ink); background: #fff; font: inherit; }
.header-search .search-submit { width: 58px; border: 1px solid var(--accent); border-radius: 0 4px 4px 0; color: #fff; background: var(--accent); font-size: 0; cursor: pointer; }
.header-search .search-submit::before { content: "Q"; font-size: 1rem; font-weight: 700; }
.social-links { display: flex; align-items: center; gap: 10px; }
.social-links a { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; color: #fff; background: var(--accent); font-size: .63rem; font-weight: 700; }
.social-links a:nth-child(2) { background: #e31b23; }
.social-links a:nth-child(3) { color: #fff; background: #252c35; }
.breaking-bar { color: #111; background: #fff; overflow: hidden; }
.breaking-inner { display: flex; align-items: center; min-height: 38px; gap: 15px; }
.breaking-inner strong { flex: 0 0 auto; color: var(--accent); font-size: .7rem; letter-spacing: .12em; }
.breaking-divider { width: 1px; height: 17px; background: #c8c8c8; }
.breaking-viewport { position: relative; flex: 1 1 auto; min-width: 0; height: 20px; overflow: hidden; }
.breaking-track { position: absolute; top: 50%; left: 100%; display: flex; align-items: center; width: max-content; white-space: nowrap; transform: translateY(-50%); font-size: .78rem; animation: magazine-breaking-scroll 60s linear infinite; }
.breaking-track:hover { animation-play-state: paused; }
.breaking-track a, .breaking-track > span { color: #111; overflow: hidden; text-overflow: ellipsis; }
.breaking-track > span[aria-hidden="true"] { flex: 0 0 auto; padding: 0 16px; color: #f00; font-size: 1.15rem; line-height: 1; }
.breaking-track a:hover { color: var(--accent); }
@keyframes magazine-breaking-scroll {
    from { transform: translate(0, -50%); }
    to { transform: translate(-250%, -50%); }
}
.main-nav { color: #fff; background: linear-gradient(90deg, #f00000 0%, #c80000 45%, #160000 100%); border-top: 1px solid #e00000; }
.menu-toggle { display: none; }
.menu-container { overflow: visible; }
.mobile-menu-panel { display: none; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: block; padding: 14px 15px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.main-nav .current-menu-item { background: transparent; }
.main-nav a, .main-nav .current-menu-item a, .main-nav a:hover { color: #fff; }
.main-nav .menu-item-has-children { position: relative; }
.main-nav .sub-menu { position: absolute; z-index: 5; top: 100%; left: -14px; display: none; min-width: 190px; padding: 8px 14px; background: var(--ink); box-shadow: 0 10px 24px rgba(23,33,43,.18); }
.main-nav .menu-item-has-children:hover > .sub-menu, .main-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.main-nav .sub-menu a { padding: 8px 0; font-size: .72rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.main-nav .sub-menu li:last-child a { border-bottom: 0; }

.content-area { margin-top: 6px; padding: 0 0 70px; }
.section-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.section-kicker::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.lead-grid { display: grid; align-items: stretch; grid-template-columns: minmax(0, 950px) 350px; gap: 30px; margin-bottom: 52px; }
.lead-grid > .lead-story { min-width: 0; }
.lead-story { position: relative; height: 500px; overflow: hidden; color: #fff; background: #30353a; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 30px rgba(23,33,43,.1); }
.lead-story img { width: 100%; height: 500px; min-height: 0; object-fit: cover; }
.lead-story::after { position: absolute; right: 0; bottom: 0; left: 0; height: 48%; content: ""; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.lead-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease; }
.lead-slide.is-active { position: relative; height: 100%; opacity: 1; visibility: visible; }
.lead-slide img { width: 100%; height: 500px; object-fit: cover; }
.lead-slider-dots { position: absolute; z-index: 2; right: 18px; bottom: 18px; display: flex; gap: 8px; }
.lead-slider-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; }
.lead-slider-dot.is-active { background: var(--accent); }
.homepage-news-widget { height: auto; background: transparent; border: 0; }
.homepage-news-widget::after { content: none; }
.homepage-news-widget .widget { margin: 0; padding: 0; background: transparent; border: 0; }
.homepage-news-widget .widget + .widget { margin-top: 32px; }
.homepage-news-widget .widget img { width: 100%; height: auto; }
.lead-copy { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 24px 18px 18px; }
.eyebrow { color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lead-copy h2 { max-width: 700px; margin: 5px 0 7px; color: #fff; font: 700 1.3rem/1.15 var(--body); letter-spacing: 0; }
.byline { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.lead-copy .byline { color: var(--muted); }
.popular-panel { width: 350px; height: auto; min-width: 0; align-self: start; padding: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 30px rgba(23,33,43,.1); }
.popular-panel + .popular-panel { margin-top: 16px; }
.lead-side-column { min-width: 0; }
.lead-side-column > .widget { width: 350px; margin-top: 16px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.lead-side-column > .widget img { width: 100% !important; max-width: 100%; height: auto; padding: 0 12px; border: 0; }
.ad-label { width: 350px; margin-top: 16px; padding: 12px 16px; color: var(--accent); background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-align: center; }
.popular-title { margin: 0 0 8px; padding: 0 0 11px 16px; border-bottom: 1px solid var(--line); font: 700 1.2rem/1 var(--body); }
.popular-title::before { display: inline-block; width: 4px; height: 24px; margin: 0 10px -6px -16px; border-radius: 4px; content: ""; background: var(--accent); }
.popular-item { display: grid; grid-template-columns: 52px 1fr; gap: 12px; min-height: 72px; padding: 14px 0 16px; border-bottom: 1px solid var(--line); }
.popular-number { display: block; color: transparent; -webkit-text-stroke: 1px var(--accent); font: 400 3rem/1 var(--display); }
.popular-item h3 { margin: 0 0 4px; font: 700 .9rem/1.15 var(--body); }
.popular-item h3 a { color: #000; }
.ad-banner-placeholder { display: flex; align-items: center; justify-content: center; min-height: 280px; color: #9a9a9a; background: #f3f3f3; border: 1px dashed var(--line); border-radius: 6px; font: 700 .8rem/1 var(--body); text-align: center; }
.category-news-widget { position: relative; }
.category-news-widget-title { display: block; margin-bottom: 12px; color: #000; font: 700 1.2rem/1 var(--body); }
.category-news-tag { display: flex; align-items: center; min-height: 44px; margin: 0 24px 14px; padding: 12px 18px; color: #fff; background: #2e8b3d; font: 700 .82rem/1 var(--body); text-transform: uppercase; }
.category-news-card { position: relative; padding: 20px; background: #101820; border-radius: 8px; box-shadow: 0 14px 30px rgba(23,33,43,.1); }
.category-news-grid { display: flex; flex-wrap: nowrap; gap: 24px; }
.category-news-item { flex: 1 1 0; min-width: 0; }
.category-news-thumb { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; background: #23303b; }
.category-news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.category-news-eyebrow { display: block; margin: 14px 0 6px; color: var(--accent); font: 700 .7rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.category-news-item h3 { margin: 0; font: 700 1.05rem/1.3 var(--body); }
.category-news-item h3 a { color: #fff; }
.category-news-next { position: absolute; top: 50%; right: 16px; display: grid; place-items: center; width: 42px; height: 42px; color: var(--ink); background: #fff; border: 0; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; transform: translateY(-50%); }
@media (max-width: 780px) {
    .category-news-tag { margin: 0 14px 12px; padding: 11px 13px; }
    .category-news-card { padding: 16px 12px; }
    .category-news-grid { flex-wrap: nowrap; gap: 14px; padding-bottom: 4px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
    .category-news-grid::-webkit-scrollbar { display: none; width: 0; height: 0; }
    .category-news-item { flex: 0 0 78%; scroll-snap-align: start; }
    .category-news-next { display: none; }
}
.featured-block { display: grid; align-items: start; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 28px; margin-bottom: 36px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 24px rgba(23,33,43,.08); }
.featured-main { position: relative; min-width: 0; }
.featured-thumb { display: block; margin-bottom: 14px; overflow: hidden; border-radius: 6px; }
.homepage-news-widget .widget .featured-thumb img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.featured-badge { display: inline-block; margin-bottom: 8px; padding: 6px 10px; color: #fff; background: var(--accent); border-radius: 4px; font: 700 .68rem/1 var(--body); text-transform: uppercase; }
.featured-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 9px 0 10px; padding: 0; color: var(--muted); font-size: .75rem; }
.featured-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.featured-meta-hot { color: #e05a2b; font-weight: 700; }
.featured-title { display: -webkit-box; margin: 0; overflow: hidden; font: 700 1.45rem/1.22 var(--body); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.featured-title a { color: #000; }
.featured-excerpt { display: -webkit-box; margin: 0 0 15px; overflow: hidden; color: var(--muted); font-size: .9rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.featured-readmore { display: inline-block; padding: 9px 16px; color: #fff; background: var(--accent); border-radius: 4px; font: 700 .75rem/1 var(--body); }
.featured-readmore:hover { color: #17212b; opacity: .88; }
.featured-list { display: grid; align-content: start; gap: 14px; }
.featured-list-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.featured-list-item:last-child { padding-bottom: 0; border-bottom: 0; }
.featured-list-thumb { display: block; width: 112px; height: 76px; overflow: hidden; border-radius: 6px; background: #ece8de; }
.featured-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured-list-date { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; color: var(--muted); font-size: .68rem; }
.featured-list-item h3 { display: -webkit-box; margin: 0; overflow: hidden; font: 700 .95rem/1.3 var(--body); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.featured-list-item h3 a { color: #000; }
@media (max-width: 900px) {
    .featured-block { grid-template-columns: 1fr; padding: 20px; }
    .featured-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .featured-block { gap: 22px; padding: 14px; }
    .featured-list { grid-template-columns: 1fr; }
    .featured-list-item { grid-template-columns: 104px minmax(0, 1fr); }
    .featured-list-thumb { width: 104px; height: 72px; }
    .featured-title { font-size: 1.15rem; }
    .featured-excerpt { -webkit-line-clamp: 2; }
}
.editorial-feature { width: 100%; padding: 0 24px; color: var(--ink); }
.editorial-feature-header { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 24px; margin-bottom: 20px; padding: 12px 18px; color: #fff; background: var(--accent); }
.editorial-feature-header h2 { margin: 0; color: #fff; font: 700 .82rem/1 var(--body); text-transform: uppercase; }
.editorial-feature-header h2::after { content: none; }
.editorial-feature-nav { display: flex; align-self: stretch; gap: 24px; overflow-x: auto; }
.editorial-feature-nav a { display: flex; align-items: center; color: rgba(255,255,255,.75); font-size: .72rem; text-transform: uppercase; white-space: nowrap; }
.editorial-feature-nav a:hover, .editorial-feature-nav .is-active { color: #fff; }
.editorial-feature-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr); gap: 24px; }
.editorial-feature-main { min-width: 0; padding: 0 12px; }
.editorial-feature-main-thumb { display: block; width: calc(100% + 24px); margin: 0 -12px 14px; overflow: hidden; border-radius: 6px; aspect-ratio: 16 / 9; background: #ece8de; }
.editorial-feature-main-thumb img { width: 100%; height: 100%; object-fit: cover; }
.editorial-feature-category { display: inline-block; margin-bottom: 10px; padding: 6px 11px; color: #fff; background: var(--accent); border-radius: 3px; font: 700 .68rem/1 var(--body); text-transform: uppercase; }
.editorial-feature-main h3 { margin: 0 0 10px; font: 700 1.65rem/1.25 var(--body); }
.editorial-feature-main h3 a, .editorial-feature-item h3 a { color: var(--ink); }
.editorial-feature-meta { margin-bottom: 16px; color: var(--muted); font-size: .75rem; text-transform: uppercase; }
.editorial-feature-main p { display: -webkit-box; margin: 0 0 18px; overflow: hidden; color: var(--muted); font-size: .92rem; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.editorial-feature-more { display: inline-block; padding: 9px 17px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.editorial-feature-list { display: grid; align-content: start; gap: 16px; }
.editorial-feature-item { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: start; gap: 14px; }
.editorial-feature-item-thumb { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 1.45; background: #ece8de; }
.editorial-feature-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.editorial-feature-item h3 { display: -webkit-box; margin: 3px 0 12px; overflow: hidden; font: 700 1.05rem/1.35 var(--body); -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.editorial-feature-item span { color: var(--muted); font-size: .72rem; text-transform: uppercase; }
@media (max-width: 800px) {
    .editorial-feature { padding: 0 14px; }
    .editorial-feature-header { align-items: flex-start; flex-direction: column; gap: 0; }
    .editorial-feature-nav { width: 100%; gap: 18px; padding-top: 10px; }
    .editorial-feature-grid { grid-template-columns: 1fr; gap: 28px; }
    .editorial-feature-list { gap: 18px; }
    .editorial-feature-item { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; }
    .editorial-feature-item h3 { margin-top: 0; font-size: .92rem; -webkit-line-clamp: 3; }
}
@media (max-width: 420px) {
    .editorial-feature-header { margin-bottom: 20px; }
    .editorial-feature-main h3 { font-size: 1.25rem; }
    .editorial-feature-main p { -webkit-line-clamp: 2; }
    .editorial-feature-item { grid-template-columns: 104px minmax(0, 1fr); }
    .editorial-feature-item span { font-size: .64rem; }
}
.read-more-block { width: 100%; padding: 0 24px; }
.read-more-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding: 12px 18px; color: #fff; background: #171b24; }
.read-more-header h2 { margin: 0; font: 700 .82rem/1 var(--body); text-transform: uppercase; }
.read-more-header a { color: #cbd1d8; font-size: .78rem; }
.read-more-header a:hover { color: #fff; }
.read-more-list { display: grid; }
.read-more-item { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: center; gap: 20px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.read-more-item + .read-more-item { padding-top: 22px; }
.read-more-item:last-child { border-bottom: 0; }
.read-more-thumb { display: block; width: 280px; height: 158px; overflow: hidden; border-radius: 4px; background: #ece8de; }
.homepage-news-widget .widget .read-more-thumb img { width: 100%; height: 100%; object-fit: cover; }
.read-more-body { min-width: 0; }
.read-more-body h3 { display: -webkit-box; margin: 0 0 10px; overflow: hidden; font: 700 1.25rem/1.3 var(--body); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.read-more-body h3 a { color: var(--ink); }
.read-more-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 10px; color: #9aa3ad; font-size: .72rem; text-transform: uppercase; }
.read-more-meta span + span::before { margin-right: 6px; content: "•"; }
.read-more-body p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--muted); font-size: .9rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
@media (max-width: 700px) {
    .read-more-block { padding: 0 14px; }
    .read-more-header { margin-bottom: 16px; padding: 11px 13px; }
    .read-more-item { grid-template-columns: 120px minmax(0, 1fr); align-items: start; gap: 12px; padding-bottom: 16px; }
    .read-more-item + .read-more-item { padding-top: 16px; }
    .read-more-thumb { width: 120px; height: 82px; }
    .read-more-body h3 { margin-bottom: 7px; font-size: .92rem; line-height: 1.3; -webkit-line-clamp: 3; }
    .read-more-meta { gap: 8px; margin-bottom: 0; font-size: .6rem; }
    .read-more-body p { display: none; }
}
.stacked-post-list { display: grid; gap: 26px; width: 100%; max-width: 900px; margin: 0 auto 12px; padding: 0 24px; }
.stacked-post-item { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 22px; padding: 0; border-bottom: 0; }
.stacked-post-item:first-child { padding-top: 0; }
.stacked-post-thumb { position: relative; display: block; width: 220px; height: 130px; overflow: hidden; border-radius: 8px; }
.stacked-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.stacked-post-body { min-width: 0; }
.stacked-post-badge { display: inline-block; margin-bottom: 8px; padding: 5px 10px; color: #fff; background: var(--accent); border-radius: 8px; font: 700 .7rem/1 var(--body); text-transform: none; }
.stacked-post-title { display: -webkit-box; margin: 0; overflow: hidden; font: 700 1.45rem/1.25 var(--body); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.stacked-post-title a { color: #000; }
.stacked-post-body .featured-meta { margin: 10px 0 0; padding: 0; }
.stacked-post-excerpt, .stacked-post-body .featured-readmore { display: none; }
@media (max-width: 560px) {
    .stacked-post-list { gap: 0; max-width: 100%; padding: 0; }
    .stacked-post-item { grid-template-columns: 104px minmax(0, 1fr); align-items: start; gap: 12px; padding: 16px 0; }
    .stacked-post-thumb, .stacked-post-thumb img { width: 104px; height: 88px; }
    .stacked-post-thumb img { aspect-ratio: auto; }
    .stacked-post-body { min-width: 0; }
    .stacked-post-body .featured-meta { display: none; }
    .stacked-post-excerpt, .stacked-post-body .featured-readmore { display: none; }
    .stacked-post-title { display: -webkit-box; margin: 0; overflow: hidden; font-family: var(--body); font-size: .92rem; line-height: 1.28; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
    .stacked-post-badge { margin-bottom: 6px; padding: 4px 7px; font-size: .55rem; line-height: 1; }
}
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
.single-sidebar { padding-left: 0; border-left: 0; }
.single-sidebar .popular-panel, .single-sidebar .widget { padding: 22px; background: #fff; border: 2px solid var(--line); border-radius: 10px; box-shadow: 0 14px 30px rgba(23,33,43,.1); }
.single-sidebar .widget { margin: 0 0 24px; }
.side-leads { display: grid; gap: 24px; }
.mini-story { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.mini-story img { width: 110px; height: 95px; object-fit: cover; background: #d5d0c6; }
.mini-story h3 { margin: 5px 0 7px; font: 700 1.22rem/1.12 var(--display); }
.mini-story h3 a { color: #000; }
.category-label { color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.news-layout { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) 290px; gap: 52px; }
.homepage-widget-layout { display: block; }
.homepage-news-column, .news-layout > .sidebar { align-self: start; margin-top: 0; }
.homepage-widget-area { display: grid; grid-template-columns: 1fr; gap: 24px; width: min(100%, 950px); }
.homepage-news-under-slider { margin: 0; }
.homepage-widget-area .widget { min-width: 0; margin: 0; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.homepage-widget-area .widget img { width: 100%; max-width: 100%; height: auto; }
.homepage-widget-area .widget-title { margin-top: 0; }
.homepage-widget-layout .sidebar { display: block; }
.homepage-widget-layout > .sidebar { width: min(100%, 380px); margin: 30px 0 0 auto; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.post-card { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.post-card img { width: 100%; aspect-ratio: 1.45; object-fit: cover; margin-bottom: 17px; background: #d5d0c6; }
.post-card h2 { margin: 6px 0 8px; font: 700 1.55rem/1.1 var(--display); }
.post-card h2 a { color: #000; }
.post-card p { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.sidebar { min-width: 0; padding-left: 28px; border-left: 1px solid var(--line); }
.sidebar { width: 100%; min-width: 0; justify-self: stretch; align-self: start; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.sidebar .widget { padding: 0; background: transparent; border: 0; }
.sidebar .widget img { width: 100%; max-width: 100%; height: auto; padding: 8px 12px; background: #fff; border: 1px solid var(--line); }
.widget { min-width: 0; margin: 0 0 24px; }
.widget img, .sidebar img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; }
.widget iframe, .widget video { display: block; max-width: 100%; }
.widget-title { margin: 0 0 14px; padding-bottom: 9px; border-bottom: 2px solid var(--ink); font: 700 1.2rem var(--display); }
.widget_magazine_featured_post .widget-title { display: flex; align-items: center; min-height: 44px; margin: 0 24px 14px; padding: 12px 18px; border: 0; color: #fff; background: var(--accent); font: 700 .82rem/1 var(--body); text-transform: uppercase; }
.widget_magazine_stacked_post .widget-title { display: flex; align-items: center; min-height: 44px; margin: 0 24px 14px; padding: 12px 18px; border: 0; color: #fff; background: #2e8b3d; font: 700 .82rem/1 var(--body); text-transform: uppercase; }
.widget_magazine_stacked_post .widget-title > * { display: inline; padding: 0; color: inherit; background: transparent; border-radius: 0; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.widget_blog_one { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.widget_blog_one .widget-title { margin-bottom: 18px; }
.widget_blog_one ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.widget_blog_one li { min-width: 0; padding: 14px 0; }
.widget_blog_one li a { display: block; font-weight: 700; line-height: 1.25; }
    .widget_blog_one ul { grid-template-columns: 1fr; }
.widget_recent_entries li::before { margin-right: 8px; color: var(--accent); content: "01"; font-weight: 700; }
.widget_recent_entries li:nth-child(2)::before { content: "02"; }
.widget_recent_entries li:nth-child(3)::before { content: "03"; }
.widget_recent_entries li:nth-child(4)::before { content: "04"; }
.pagination { display: flex; flex-wrap: wrap; gap: 0; margin-top: 0; }
.lead-grid-pagination { grid-column: 1 / -1; }
.pagination a, .pagination span { padding: 8px 13px; border: 1px solid var(--line); font-size: .8rem; margin-left: -1px; }
.pagination .current { color: #fff; border-color: var(--accent); background: var(--accent); }
.entry { max-width: none; width: 100%; margin-inline: auto; padding: 32px; background: #fff; border: 2px solid var(--line); border-radius: 10px; box-shadow: 0 14px 30px rgba(23,33,43,.1); }
.page-entry { max-width: none; }
.entry-title { margin: 0 0 14px; font: 700 clamp(1.5rem, 3vw, 2.2rem)/1.25 var(--display); letter-spacing: -.02em; text-align: left; }
.entry-meta { margin-bottom: 28px; color: var(--muted); font-size: .8rem; }
.entry-thumbnail { width: 100%; border-radius: 8px; box-shadow: 0 14px 30px rgba(23,33,43,.1); }
.entry-thumbnail-wrap { margin: 0 0 30px; }
.entry-thumbnail-caption { margin: 10px 0 0; padding-left: 12px; color: var(--muted); font-size: .82rem; line-height: 1.5; text-align: left; border-left: 3px solid var(--accent); }
.share-buttons { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.share-label { margin-right: 2px; color: var(--muted); font-size: .78rem; }
.share-btn { display: grid; place-items: center; width: 30px; height: 30px; color: #fff; border-radius: 50%; }
.share-whatsapp { background: #25d366; }
.share-facebook { background: #1877f2; }
.share-telegram { background: #29a9eb; }
.share-btn:hover { opacity: .85; color: #fff; }
.entry-content { font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; }
.single-post .entry-content p, .single-post .entry-content li { text-align: justify; text-justify: inter-word; hyphens: auto; }
.entry-content h2, .entry-content h3 { font-family: var(--display); }
.entry-content a { color: var(--accent); text-decoration: underline; }
.read-next { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.read-next-title { margin: 0 0 16px; font: 700 1.1rem/1 var(--body); }
.read-next-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.read-next-thumb { display: block; margin-bottom: 8px; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; background: #ece8de; }
.read-next-thumb img { width: 100%; height: 100%; object-fit: cover; }
.read-next-item h3 { margin: 0; font: 700 .85rem/1.3 var(--body); }
.read-next-item h3 a { color: #000; }
@media (max-width: 700px) {
    .read-next-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.site-footer { padding: 0 0 24px; color: #d6dde0; background: var(--ink); }
.footer-topline { padding: 13px 0; border-bottom: 1px solid #3b454d; color: #f4bd45; font-size: .68rem; font-weight: 700; letter-spacing: .16em; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr 1fr; gap: 40px; padding: 42px 0 38px; }
.footer-brand { max-width: 330px; }
.footer-logo .custom-logo-link { display: inline-block; }
.footer-logo .custom-logo { width: auto; max-width: min(100%, 240px); max-height: 72px; }
.footer-brand-name { display: inline-block; color: #fff; font: 700 2.15rem/.95 var(--display); letter-spacing: 0; }
.footer-brand-name:hover { color: #f4bd45; }
.site-footer .site-description { margin-top: 10px; color: #aeb5ba; }
.footer-intro { margin: 19px 0 0; color: #d6dde0; font-size: .88rem; line-height: 1.65; }
.footer-heading, .site-footer .widget-title { margin: 0 0 15px; padding: 0 0 10px; border-bottom: 2px solid var(--accent); color: #fff; font: 700 1rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.site-footer .widget ul { margin: 0; padding: 0; list-style: none; }
.site-footer .widget li { padding: 8px 0; border-bottom: 1px solid #3b454d; font-size: .86rem; }
.site-footer .widget a { color: #d6dde0; }
.site-footer .widget a:hover { color: #f4bd45; }
.site-footer .widget { margin: 0; }
.site-footer .widget li { color: #aeb5ba; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid #3b454d; color: #aeb5ba; font-size: .75rem; }
.no-results { padding: 50px 0; }
.secondary-slider { margin-top: 30px; }
.secondary-slider-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.secondary-slider-heading h2 { margin: 0; color: var(--accent); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; }
.secondary-slider-heading span { flex: 1; height: 1px; background: var(--line); }
.secondary-slider-track { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.secondary-slide { flex: 0 0 220px; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.secondary-slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.secondary-slide a { display: block; padding-bottom: 14px; }
.secondary-slide .category-label, .secondary-slide h3, .secondary-slide .byline { display: block; margin-right: 14px; margin-left: 14px; }
.secondary-slide .category-label { margin-top: 11px; }
.secondary-slide h3 { margin-top: 5px; margin-bottom: 7px; font: 700 .95rem/1.15 var(--body); }

@media (max-width: 760px) {
    .wrap { width: min(100% - 28px, 620px); }
    .widget_magazine_featured_post .widget-title, .widget_magazine_stacked_post .widget-title { margin: 0 14px 14px; padding: 11px 13px; }
    .header-note { padding: 0; border: 0; }
    .header-tools { align-items: stretch; flex-direction: column; gap: 18px; width: 100%; margin-left: 0; }
    .header-search .search-form { width: 100%; }
    .social-links { justify-content: flex-start; }
    .header-tools { display: none; }
    .menu-toggle { display: flex; flex: 0 0 38px; align-items: center; flex-direction: column; gap: 5px; width: 38px; padding: 8px 0; border: 0; background: transparent; cursor: pointer; }
    .menu-toggle span { display: block; width: 20px; height: 2px; background: #e00000; }
    .main-nav { display: block; }
    .brand-row { align-items: center; flex-direction: row; padding: 18px 14px; }
    .site-brand { min-width: 0; }
    .menu-toggle { display: flex; flex: 0 0 38px; align-items: center; flex-direction: column; gap: 5px; width: 38px; padding: 8px 0; border: 0; background: transparent; cursor: pointer; }
    .menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; }
    .menu-toggle span { background: #e00000; }
    .main-nav .wrap { width: 100%; }
    .menu-container { display: block !important; width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
    .menu-container.is-expanded { overflow-x: auto; overflow-y: visible; }
    .menu-container::-webkit-scrollbar { display: none; }
    .main-nav ul { display: flex; flex-wrap: nowrap; width: max-content; }
    .main-nav li { flex: 0 0 auto; }
    .main-nav a { padding: 13px 14px; font-size: .76rem; white-space: nowrap; }
    .menu-container > ul { display: flex; width: max-content; }
    .menu-container > ul > li { position: relative; }
    .menu-container .sub-menu { position: absolute; top: 100%; left: 0; display: none; min-width: 160px; padding: 0; background: var(--ink); box-shadow: 0 8px 18px rgba(0,0,0,.2); }
    .menu-container.is-expanded .sub-menu { display: block; }
    .menu-container.is-expanded > ul { display: block; width: 100%; }
    .menu-container.is-expanded > ul > li { border-bottom: 1px solid rgba(255,255,255,.2); }
    .menu-container.is-expanded .sub-menu { position: static; display: block; min-width: 0; padding-left: 15px; background: rgba(0,0,0,.15); box-shadow: none; }
    .menu-container.is-expanded .sub-menu { display: block; }
    .menu-container .sub-menu li { border-bottom: 1px solid rgba(255,255,255,.12); }
    .menu-container .sub-menu a { padding: 11px 14px; }
    .main-nav a { padding: 12px 14px; font-size: .7rem; }
    .mobile-menu-panel { display: none; max-height: 65vh; overflow-y: auto; background: #b40000; }
    .mobile-menu-panel.is-expanded { display: block; }
    .mobile-menu-panel > div > ul { display: block; width: 100%; margin: 0; padding: 0; list-style: none; }
    .mobile-menu-panel li { border-bottom: 1px solid rgba(255,255,255,.2); }
    .mobile-menu-panel a { display: block; padding: 13px 18px; color: #fff; font-size: .82rem; font-weight: 700; text-transform: uppercase; }
    .mobile-menu-panel .sub-menu { position: static; display: block; min-width: 0; padding-left: 15px; background: rgba(0,0,0,.16); box-shadow: none; }
    .breaking-inner { gap: 9px; }
    .breaking-inner strong { font-size: .62rem; }
    .content-area { padding-top: 0; }
    .lead-grid, .news-layout, .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .lead-grid { grid-template-columns: 1fr; }
    .lead-grid > .homepage-news-widget { order: 1; }
    .lead-grid > .lead-grid-pagination { order: 2; }
    .lead-grid > .lead-side-column { order: 3; }
    .homepage-widget-area { grid-template-columns: 1fr; gap: 16px; }
    .homepage-widget-layout > .sidebar { width: 100%; margin-top: 16px; }
    .popular-panel { width: 100%; padding: 0 12px; }
    .lead-side-column > .widget { width: 100%; }
    .ad-label { width: 100%; }
    .popular-item { grid-template-columns: 48px 1fr; min-height: 64px; padding: 12px 0 14px; }
    .single-layout { grid-template-columns: 1fr; gap: 35px; }
    .single-sidebar { padding: 28px 0 0; border-top: 1px solid var(--line); border-left: 0; }
    .lead-story { height: auto; min-height: 0; }
    .lead-story img { width: 100%; min-height: 0; aspect-ratio: 16 / 9; object-fit: cover; }
    .lead-slide img { height: auto; aspect-ratio: 16 / 9; }
    .lead-slider-dots { right: 10px; bottom: 10px; }
    .lead-copy { padding: 10px 14px 13px; }
    .lead-copy { padding: 20px 14px 14px; }
    .lead-copy .eyebrow, .lead-copy .byline { color: #fff; }
    .lead-copy .byline, .post-card .byline { font-size: 9px; }
    .lead-copy h2 { font-size: 10px; line-height: 1.25; }
    .sidebar { width: 100%; justify-self: stretch; padding: 28px 0 0; border-top: 1px solid var(--line); border-left: 0; }
    .footer-grid { gap: 28px; padding: 32px 0; }
    .footer-brand { max-width: none; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 4px; }
}
@media (max-width: 460px) {
    .post-grid { grid-template-columns: 1fr; }
    .lead-copy { padding: 18px; }
    .lead-copy h2 { font-size: 10px; line-height: 1.25; }
}