@font-face{font-family:'Barlow';font-style:italic;font-weight:400;font-display:swap;src:url(fonts/barlow-400-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/barlow-400.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/barlow-500.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/barlow-600.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/barlow-condensed-600.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/barlow-condensed-700.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/barlow-condensed-800.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ==========================================================================
   Telecom Philippines theme
   Tokens follow the Signal Bars brand: Signal Navy, Flag Red, Sun Yellow, Paper.
   ========================================================================== */

:root {
	--navy: #0B2A6F;
	--navy-800: #0A2461;
	--navy-900: #071A49;
	--navy-600: #1C3F8F;
	--red: #CE1126;
	--red-700: #A80D1E;
	--sun: #F5B700;
	--paper: #F3F4F7;
	--white: #FFFFFF;
	--ink: #141B2D;
	--body: #2A3245;
	--muted: #5A6478;
	--line: #E3E6ED;
	--line-strong: #CBD1DD;

	--font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
	--font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1240px;
	--gutter: 20px;
	--radius: 8px;
	--radius-sm: 5px;
	--shadow: 0 1px 2px rgba(11, 42, 111, .06), 0 8px 24px -12px rgba(11, 42, 111, .18);
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--body);
	font: 400 17px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; margin: 0; letter-spacing: .005em; }
p { margin: 0 0 1em; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 800px; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

/* Signal-bars motif ------------------------------------------------------- */
.sigbars { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; margin-right: 10px; flex: none; }
.sigbars i { display: block; width: 4px; border-radius: 1px; background: var(--navy); }
.sigbars i:nth-child(1) { height: 6px; }
.sigbars i:nth-child(2) { height: 9px; }
.sigbars i:nth-child(3) { height: 12px; }
.sigbars i:nth-child(4) { height: 16px; background: var(--red); }

/* Top bar ------------------------------------------------------------------ */
.topbar { background: var(--navy); color: #fff; font-size: 13px; font-weight: 500; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .dot { opacity: .6; margin: 0 4px; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--sun); }
.topbar-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.social-links { display: flex; gap: 6px; align-items: center; }
.social-links a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; }
.topbar .social-links a:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Header ------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 4px solid var(--red); }
.admin-bar .site-header { top: 32px; }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { margin: 0; flex: none; line-height: 0; }
.brand-logo, .custom-logo { height: 44px; width: auto; }
.primary-nav { margin-left: auto; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a {
	display: block; padding: 10px 12px; position: relative;
	font: 700 18px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--navy);
}
.primary-nav .menu > li > a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--red);
	transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.primary-nav .menu > li > a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current-cat > a { color: var(--red); }
.primary-nav .menu > li > a:hover::after, .primary-nav .current-menu-item > a::after, .primary-nav .current-cat > a::after { transform: scaleX(1); }
.primary-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px;
	background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 8px 10px; font-weight: 500; border-radius: var(--radius-sm); }
.primary-nav .sub-menu a:hover { background: var(--paper); }

.icon-btn {
	width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center;
	border: 2px solid var(--navy); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; transition: .15s ease;
}
.icon-btn:hover { background: var(--navy); color: #fff; }
.menu-toggle { display: none; border-color: transparent; }
.search-panel { background: var(--paper); border-top: 1px solid var(--line); padding: 18px 0; }
.search-panel[hidden] { display: none; }

.progress { position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--sun); transform-origin: left; transform: scaleX(0); }

/* Drawer (mobile menu) ----------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(7, 26, 73, .55); }
.drawer[hidden] { display: none; }
.drawer-panel {
	width: min(360px, 88vw); height: 100%; overflow-y: auto; background: var(--navy); color: #fff; padding: 18px 20px 32px;
	animation: drawer-in .22s ease-out;
}
@keyframes drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-close { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.drawer-close:hover { background: #fff; color: var(--navy); }
.drawer .search-form { margin-bottom: 18px; }
.drawer-nav .menu { list-style: none; margin: 0; padding: 0; }
.drawer-nav .menu a { display: block; padding: 12px 0; color: #fff; font: 700 24px/1.1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer-nav .menu a:hover { color: var(--sun); }
.drawer-nav .sub-menu { list-style: none; padding-left: 14px; }
.drawer-nav .sub-menu a { font-size: 18px; }
.drawer-nav .menu-small { margin-top: 16px; }
.drawer-nav .menu-small a { font: 500 15px/1.4 var(--font-body); text-transform: none; letter-spacing: 0; border: 0; padding: 6px 0; }
.drawer .social-links { margin-top: 20px; }
.drawer .social-links a { color: #fff; border: 1px solid rgba(255,255,255,.3); }

/* Search form ------------------------------------------------------------- */
.search-form { display: flex; gap: 8px; max-width: 640px; }
.search-field {
	flex: 1; min-width: 0; height: 48px; padding: 0 16px; font: 500 17px var(--font-body); color: var(--ink);
	background: #fff; border: 2px solid var(--line-strong); border-radius: 999px;
}
.search-field:focus { outline: none; border-color: var(--navy); }
.search-submit {
	height: 48px; padding: 0 20px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--red); color: #fff; font: 700 17px var(--font-display); letter-spacing: .06em; text-transform: uppercase;
}
.search-submit:hover { background: var(--red-700); }

/* Ticker ------------------------------------------------------------------ */
.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker-inner { display: flex; align-items: center; gap: 16px; min-height: 48px; }
.ticker-label {
	flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 4px; border-radius: 999px; background: var(--red); color: #fff;
	font: 700 14px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.ticker-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.ticker-list::-webkit-scrollbar { display: none; }
.ticker-list li { flex: none; }
.ticker-list a { display: inline-flex; gap: 8px; align-items: baseline; font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; }
.ticker-list a:hover { color: var(--red); }
.ticker-list time { font: 700 13px var(--font-display); color: var(--red); letter-spacing: .04em; }

/* Section heads ----------------------------------------------------------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line-strong); position: relative; }
.section-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px; background: var(--navy); }
.section-title { display: flex; align-items: center; padding-bottom: 10px; font: 800 26px/1 var(--font-display); text-transform: uppercase; letter-spacing: .04em; color: var(--navy); }
.section-more { display: inline-flex; align-items: center; gap: 4px; padding-bottom: 10px; font: 700 15px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.section-more:hover { color: var(--navy); }

/* Story primitives -------------------------------------------------------- */
.kicker { display: inline-block; font: 700 14px/1.1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
a.kicker:hover { color: var(--navy); }
.story { position: relative; }
.story-title { font-weight: 700; color: var(--ink); }
.story-title a { color: inherit; background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s ease; }
.story-title a:hover { color: var(--navy); background-size: 100% 2px; }
.story-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.story-dek { margin: 2px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.story-meta { margin: 2px 0 0; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.story-meta a { color: var(--body); font-weight: 600; }
.story-meta a:hover { color: var(--red); }

.thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story:hover .thumb img { transform: scale(1.035); }
.thumb-ph {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background:
		repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 18px, transparent 18px 36px),
		linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
}
.thumb-ph .tp-mark { width: 22%; height: auto; opacity: .9; }

/* Lead */
.story-lead { display: flex; flex-direction: column; gap: 16px; }
.story-lead .story-title { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; line-height: 1.02; letter-spacing: 0; }
.story-lead .story-dek { font-size: 18px; max-width: 62ch; }
.story-lead .thumb { border-radius: 10px; }

/* Card */
.story-card { display: flex; flex-direction: column; gap: 12px; }
.story-card .story-title { font-size: 22px; line-height: 1.12; }

/* Row */
.story-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.story-row:first-child { padding-top: 0; }
.story-row .story-title { font-size: 24px; line-height: 1.1; }

/* Mini */
.story-mini { padding: 16px 0; border-bottom: 1px solid var(--line); }
.story-mini:last-child { border-bottom: 0; padding-bottom: 4px; }
.story-mini .story-title { font-size: 21px; line-height: 1.12; }

/* Rank */
.story-rank { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.story-rank:last-child { border-bottom: 0; padding-bottom: 4px; }
.rank-num { font: 800 40px/0.85 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
.story-rank:first-of-type .rank-num { -webkit-text-stroke-color: var(--red); }
.story-rank .story-title { font-size: 19px; line-height: 1.15; }

.panel { background: var(--white); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); }

/* Homepage ---------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; padding-top: 28px; }
.hero-side { align-self: start; }
.hero-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 28px; border-top: 1px solid var(--line-strong); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 40px; padding-top: 40px; padding-bottom: 24px; align-items: start; }
.no-sidebar .layout { grid-template-columns: minmax(0, 1fr); }
.content { min-width: 0; }

.cat-section { margin-top: 48px; }
.cat-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; }
.cat-section.is-flipped .cat-main { order: 2; }
.cat-main .story-title { font-size: 30px; font-weight: 800; line-height: 1.04; }
.cat-list .story-row { grid-template-columns: 168px minmax(0, 1fr); gap: 16px; padding: 14px 0; }
.cat-list .story-row:first-child { padding-top: 0; }
.cat-list .story-row .story-title { font-size: 20px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.related { margin-top: 48px; }

.empty-state { text-align: center; padding: 64px 20px; }
.empty-state .tp-mark { margin: 0 auto 16px; }
.empty-state h2 { font-size: 32px; margin-bottom: 8px; }
.empty-state .search-form { margin: 20px auto 0; }

/* Sidebar ----------------------------------------------------------------- */
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar .widget { background: #fff; border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); }
.sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar .widget li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.sidebar .widget li:last-child { border-bottom: 0; }
.sidebar-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.admin-bar .sidebar-sticky { top: calc(var(--header-h) + 56px); }

/* Archive / page heads ---------------------------------------------------- */
.page-head { background: var(--navy); color: #fff; padding: 44px 0 40px; position: relative; overflow: hidden; }
.page-head::after {
	content: ""; position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); bottom: 0; width: 160px; height: 120px; opacity: .14;
	background:
		linear-gradient(#fff, #fff) 0 100% / 28px 38% no-repeat,
		linear-gradient(#fff, #fff) 44px 100% / 28px 60% no-repeat,
		linear-gradient(#fff, #fff) 88px 100% / 28px 80% no-repeat,
		linear-gradient(var(--red), var(--red)) 132px 100% / 28px 100% no-repeat;
}
.page-head .sigbars i { background: #fff; }
.page-head .sigbars i:nth-child(4) { background: var(--red); }
.page-eyebrow { display: flex; align-items: center; margin: 0 0 10px; font: 700 15px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: #C9D2E6; }
.page-title { color: #fff; font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.page-desc { margin-top: 14px; max-width: 68ch; color: #DDE3F0; font-size: 18px; }
.page-desc p:last-child { margin: 0; }
.page-search { margin-top: 20px; }
.author-head-inner { display: flex; gap: 28px; align-items: center; }
.author-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; flex: none; }
.author-head .author-links a { color: #fff; }

/* Pagination --------------------------------------------------------------- */
.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
	background: #fff; border: 1px solid var(--line-strong); font: 700 17px var(--font-display); letter-spacing: .04em; color: var(--navy);
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Article ------------------------------------------------------------------ */
.article-head { max-width: 960px; padding-top: 36px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:not(.kicker) { color: var(--muted); font-weight: 500; }
.article-title { font-size: clamp(34px, 4.8vw, 60px); font-weight: 800; line-height: 1.02; color: var(--ink); letter-spacing: 0; }
.article-dek { margin: 18px 0 0; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; color: var(--muted); max-width: 60ch; }
.byline-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 16px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.byline { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatars { display: flex; flex: none; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); background: var(--line); }
.avatars img + img { margin-left: -12px; }
.byline-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.byline-names { font-weight: 600; color: var(--ink); }
.byline-names a { color: var(--navy); }
.byline-names a:hover { color: var(--red); }
.byline-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 14px; color: var(--muted); }
.read-time { display: inline-flex; align-items: center; gap: 4px; }

.share { display: flex; gap: 8px; align-items: center; }
.share-btn {
	position: relative; width: 40px; height: 40px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
	background: #fff; border: 1px solid var(--line-strong); color: var(--navy); cursor: pointer; transition: .15s ease;
}
.share-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.share-toast { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 4px 8px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.share-toast.is-on { opacity: 1; }

.article-figure { margin: 28px auto 0; }
.article-figure img { width: 100%; border-radius: 10px; }
.article-figure figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.article .layout { padding-top: 32px; }

/* Entry content */
.entry-content { max-width: 720px; font-size: 19px; line-height: 1.72; color: var(--body); }
.entry-content > * { margin: 0 0 1.15em; }
.entry-content h2 { font-size: 32px; font-weight: 700; margin-top: 1.6em; margin-bottom: .5em; }
.entry-content h3 { font-size: 26px; font-weight: 700; margin-top: 1.4em; margin-bottom: .4em; }
.entry-content h4 { font-size: 21px; margin-top: 1.3em; }
.entry-content a { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(206, 17, 38, .55); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--red); text-decoration-color: var(--red); }
.entry-content strong { color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--red); font-weight: 700; }
.entry-content blockquote, .entry-content .wp-block-quote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red); }
.entry-content blockquote p { font: 600 italic 26px/1.3 var(--font-display); color: var(--ink); margin-bottom: .4em; }
.entry-content blockquote cite { font-size: 15px; font-style: normal; color: var(--muted); }
.entry-content .wp-block-pullquote { border-top: 4px solid var(--navy); border-bottom: 4px solid var(--navy); padding: 24px 0; text-align: center; }
.entry-content .wp-block-pullquote blockquote { border: 0; padding: 0; }
.entry-content figure { margin-inline: 0; }
.entry-content figure img { border-radius: var(--radius); }
.entry-content figcaption, .entry-content .wp-element-caption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { font: 700 15px var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: #E9ECF3; }
.entry-content hr { border: 0; height: 4px; width: 64px; background: var(--red); margin: 2em 0; }
.entry-content pre, .entry-content code { font-size: .85em; background: #E9ECF3; border-radius: 4px; }
.entry-content code { padding: .1em .35em; }
.entry-content pre { padding: 16px; overflow-x: auto; }
.entry-content .alignwide { max-width: none; }
.entry-content iframe { width: 100%; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.tag-list a { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; }
.tag-list a:hover { border-color: var(--red); }
.article-share { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.article-share > span { font: 700 16px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }

.author-box { display: flex; gap: 18px; margin-top: 28px; padding: 22px 24px; background: #fff; border-radius: var(--radius); border-left: 4px solid var(--red); box-shadow: var(--shadow); }
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: none; }
.author-name { margin: 0; font: 700 24px/1.1 var(--font-display); }
.author-role { margin: 2px 0 8px; font: 600 14px var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.author-bio { margin: 0; font-size: 16px; color: var(--body); }
.author-links { display: flex; gap: 14px; margin: 10px 0 0; font-weight: 600; font-size: 14px; }

/* Comments ----------------------------------------------------------------- */
.comments-wrap { margin-top: 48px; max-width: 800px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-list .children { list-style: none; padding-left: 28px; border-left: 2px solid var(--line); }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; margin: 4px 0 8px; }
.comment-metadata a { color: var(--muted); }
.comment-reply-title { font-size: 28px; font-weight: 800; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 2px solid var(--line-strong); border-radius: var(--radius-sm); font: inherit; background: #fff;
}
.comment-form textarea:focus, .comment-form input:focus { outline: none; border-color: var(--navy); }

/* Buttons ------------------------------------------------------------------ */
.btn, .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--red); color: #fff; font: 700 18px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
}
.btn:hover, .comment-form .submit:hover { background: var(--red-700); color: #fff; }

/* 404 ----------------------------------------------------------------------- */
.notfound { max-width: 680px; text-align: center; padding-top: 72px; padding-bottom: 72px; }
.nf-bars { display: inline-flex; align-items: flex-end; gap: 10px; height: 96px; }
.nf-bars i { width: 24px; border-radius: 4px; background: var(--line-strong); }
.nf-bars i:nth-child(1) { height: 30%; background: var(--navy); }
.nf-bars i:nth-child(2) { height: 52%; }
.nf-bars i:nth-child(3) { height: 74%; }
.nf-bars i:nth-child(4) { height: 100%; }
.nf-code { font: 800 22px var(--font-display); letter-spacing: .3em; color: var(--red); margin: 20px 0 4px; }
.notfound h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.notfound .search-form { margin: 24px auto; }

/* Footer -------------------------------------------------------------------- */
.site-footer { margin-top: 72px; background: var(--navy); color: #C9D2E6; font-size: 15px; }
.footer-bars { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; height: 6px; }
.footer-bars i:nth-child(1) { background: var(--navy-600); }
.footer-bars i:nth-child(2) { background: #2B4FA3; }
.footer-bars i:nth-child(3) { background: #3D62B8; }
.footer-bars i:nth-child(4) { background: var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 48px; padding-bottom: 40px; }
.footer-brand p { margin: 18px 0; max-width: 40ch; }
.footer-logo img { width: 295px; height: auto; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sun); }
.site-footer .widget-title { color: #fff; font: 700 16px var(--font-display); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.site-footer .social-links a { border: 1px solid rgba(255,255,255,.25); width: 36px; height: 36px; }
.footer-base { background: var(--navy-900); font-size: 13px; }
.footer-base-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding-top: 10px; padding-bottom: 10px; }
.footer-base p { margin: 0; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 18px; }

/* Ad slots (markup from Telecom PH Toolkit) ------------------------------- */
.tpt-ad { display: flex; flex-direction: column; align-items: center; margin: 28px auto; width: 100%; }
.tpt-ad-label { font: 600 10px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: #8A93A6; margin-bottom: 6px; }
.tpt-ad-inner { width: 100%; display: flex; justify-content: center; align-items: center; }
.tpt-ad--header_leaderboard { margin: 0 auto; padding: 16px var(--gutter); background: #fff; border-bottom: 1px solid var(--line); max-width: none; }
.tpt-ad--home_after_hero, .tpt-ad--home_between_sections { max-width: var(--wrap); padding-inline: var(--gutter); margin-top: 40px; margin-bottom: 0; }
.sidebar .tpt-ad { margin: 0; }
.story-list .tpt-ad, .latest .tpt-ad { margin: 20px 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.entry-content .tpt-ad { margin: 1.8em 0; }
.tpt-ad-test {
	width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
	border: 2px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--muted); font-size: 13px;
	background: repeating-linear-gradient(-45deg, #fff 0 12px, #F7F8FA 12px 24px);
}
.tpt-ad-test strong { font: 700 15px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1180px) {
	.primary-nav .menu > li > a { padding: 10px 8px; font-size: 16px; }
	.primary-nav .menu > li > a::after { left: 8px; right: 8px; }
	.brand-logo, .custom-logo { height: 38px; }
}
@media (max-width: 1023px) {
	:root { --header-h: 64px; }
	.primary-nav { display: none; }
	.menu-toggle { display: inline-flex; margin-left: -10px; }
	.header-inner { gap: 8px; }
	.brand { margin-inline: auto; }
	.brand-logo, .custom-logo { height: 32px; }
	.hero { grid-template-columns: 1fr; }
	.hero-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.layout { grid-template-columns: 1fr; }
	.sidebar-sticky { position: static; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 680px) {
	:root { --gutter: 16px; }
	body { font-size: 16px; }
	.topbar-right .social-links, .topbar-nav { display: none; }
	.topbar-inner { justify-content: center; }
	.brand-logo, .custom-logo { height: 26px; }
	.hero { padding-top: 20px; gap: 24px; }
	.hero-row { grid-template-columns: 1fr; gap: 0; padding-top: 4px; border-top: 0; }
	.hero-row .story-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
	.hero-row .story-card .story-title { font-size: 19px; }
	.story-row, .cat-list .story-row { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
	.story-row .story-title, .cat-list .story-row .story-title { font-size: 19px; }
	.story-row .story-dek { display: none; }
	.thumb { border-radius: var(--radius-sm); }
	.cat-grid { grid-template-columns: 1fr; gap: 8px; }
	.cat-section.is-flipped .cat-main { order: 0; }
	.cat-main .story-title { font-size: 26px; }
	.grid-4 { grid-template-columns: 1fr; gap: 0; }
	.grid-4 .story-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.grid-4 .story-card .story-title { font-size: 19px; }
	.section-title { font-size: 22px; }
	.panel, .sidebar .widget { padding: 16px 18px; }
	.byline-bar { flex-direction: column; align-items: flex-start; }
	.entry-content { font-size: 18px; }
	.entry-content h2 { font-size: 27px; }
	.author-head-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
	.author-avatar { width: 88px; height: 88px; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.search-submit span { display: none; }
	.search-submit { padding: 0 16px; }
	.page-head { padding: 32px 0 28px; }
	.page-head::after { width: 100px; height: 72px; background-size: 18px 38%, 18px 60%, 18px 80%, 18px 100%; background-position: 0 100%, 28px 100%, 56px 100%, 84px 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.topbar, .site-header, .sidebar, .site-footer, .share, .article-share, .tpt-ad, .related, .comments-wrap { display: none !important; }
	body { background: #fff; }
}

/* Core block widgets in the sidebar ---------------------------------------- */
.sidebar .widget h2, .sidebar .wp-block-heading { font: 800 22px/1 var(--font-display); text-transform: uppercase; letter-spacing: .04em; color: var(--navy); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); }
.sidebar .wp-block-search__label { display: none; }
.wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.wp-block-search__input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 2px solid var(--line-strong); border-radius: 999px; font: 500 16px var(--font-body); }
.wp-block-search__input:focus { outline: none; border-color: var(--navy); }
.wp-block-search__button { height: 44px; margin: 0; padding: 0 18px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: 700 16px var(--font-display); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.wp-block-search__button:hover { background: var(--red-700); }
.sidebar .wp-block-latest-posts a, .sidebar .wp-block-categories a, .sidebar .wp-block-archives a { font-weight: 600; color: var(--ink); }
.sidebar .wp-block-latest-posts a:hover, .sidebar .wp-block-categories a:hover, .sidebar .wp-block-archives a:hover { color: var(--red); }
.sidebar .wp-block-group { margin: 0; }
.sidebar .wp-block-latest-comments { padding: 0; font-size: 15px; }

/* Static pages ------------------------------------------------------------- */
.page-article .narrow { padding-top: 40px; }
.entry-content .is-style-lead { font-size: clamp(20px, 2vw, 24px); line-height: 1.45; color: var(--ink); }
