/*
Theme Name: PressMirchi
Theme URI: https://www.pressmirchi.com/
Author: PressMirchi
Description: Singapore technology news.
Version: 1.2
Text Domain: pressmirchi
*/
:root { --red: #b42318; --ink: #1a1a1a; --muted: #6b6b6b; --line: #ececec; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Segoe UI", Helvetica, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.util { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 28px 10px; font-size: 13px; color: #666; flex-wrap: wrap; }
.brandline { display: flex; align-items: center; gap: 14px; min-width: 0; flex-wrap: wrap; }
.util .logo { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 750; font-size: 22px; font-family: Georgia, "Iowan Old Style", Palatino, serif; }
.tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.favsrc { display: flex; align-items: center; min-height: 32px; line-height: 0; }
.find input { border: 1px solid #e6e6e6; border-radius: 999px; padding: 8px 14px; font: inherit; width: 180px; background: #fafafa; }
.util i { width: 36px; height: 36px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; font-style: normal; }
.nav { background: var(--red); }
.nav ul, .menu { display: flex; gap: 22px; justify-content: center; list-style: none; margin: 0; padding: 12px 20px; overflow: auto; }
.nav a { color: #fff; font-weight: 650; white-space: nowrap; font-size: 14px; }
.desk { max-width: 1120px; margin: 0 auto; padding: 22px 20px 48px; display: grid; grid-template-columns: minmax(0, 1.7fr) 300px; gap: 22px 28px; }
.hero { position: relative; border-radius: 16px; overflow: hidden; min-height: 390px; background: #222; }
.hero .slide { display: none; color: #fff; }
.hero .slide.on { display: block; }
.hero img { width: 100%; height: 420px; object-fit: cover; }
.flag { position: absolute; top: 0; left: 0; background: var(--red); color: #fff; border-radius: 16px 0 16px 0; padding: 8px 16px; font-size: 12px; letter-spacing: .16em; font-weight: 700; }
.veil { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 22px 20px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.veil .cat { display: inline-block; margin: 0 0 8px; padding-bottom: 4px; border-bottom: 2px solid #fff; letter-spacing: .22em; font-size: 12px; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 8px; z-index: 9; background: #fff; padding: 8px 12px; }
.veil h1, .veil h2 { margin: 0 0 8px; font-size: 32px; line-height: 1.25; font-weight: 700; font-family: Georgia, "Iowan Old Style", Palatino, serif; }
.veil .dek { margin: 0 0 8px; font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.veil time { font-size: 13px; opacity: .85; }
.hero .navi { position: absolute; top: 46%; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: #222; font-size: 24px; line-height: 1; cursor: pointer; }
.hero .prev { left: 14px; }
.hero .next { right: 14px; }
.tags { display: flex; align-items: center; gap: 16px; margin: 16px 0 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.tags b { flex: none; font-size: 18px; }
.tagline { display: flex; overflow: auto; min-width: 0; }
.tagline a { flex: none; padding: 0 14px; border-left: 1px solid #ddd; color: #333; white-space: nowrap; }
.latest h1, .latest h3 { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-size: 26px; }
.latest h1 i, .latest h3 i { width: 6px; height: 22px; border-radius: 4px; background: var(--red); display: block; }
.blurb { margin: 8px 0 0; color: #666; }
.nav .current-cat > a { box-shadow: inset 0 -2px 0 #fff; }
.pagination { margin-top: 18px; }
.pagination .nav-links { display: flex; gap: 12px; }
.row { display: grid; grid-template-columns: 168px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.row.plain { grid-template-columns: 1fr; }
.row img { width: 168px; height: 104px; object-fit: cover; border-radius: 10px; }
.row .cat { display: inline-block; background: #f2f2f2; border-radius: 999px; padding: 2px 8px; font-size: 12px; color: #555; }
.row h4 { margin: 6px 0 4px; font-size: 17px; line-height: 1.4; font-family: Georgia, "Iowan Old Style", Palatino, serif; }
.row .line { margin: 0 0 4px; color: #444; font-size: 13px; line-height: 1.45; }
.row time, .pop time { color: var(--muted); font-size: 12px; }
.pop-slot { align-self: stretch; min-width: 0; }
.pop { border: 1px solid #e4e4e4; border-radius: 14px; padding: 8px 14px 12px; background: #fff; position: sticky; top: 16px; z-index: 2; }
.pop h3 { margin: 8px 4px 4px; font-size: 18px; }
.pop h4 a { display: block; }
.pop ol { list-style: none; margin: 0; padding: 0; }
.pop li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid #f4f4f4; }
.num { color: var(--red); font-weight: 750; font-size: 20px; line-height: 1; }
.pop h4 { margin: 0 0 4px; font-size: 14px; line-height: 1.4; }
.reco { grid-column: 1 / -1; position: relative; background: #8f1d18; color: #fff; border-radius: 18px; padding: 42px 16px 16px; margin-top: 12px; }
.reco h3 { position: absolute; top: 0; left: 18px; margin: 0; background: #fff; color: var(--red); border-radius: 0 0 14px 0; padding: 8px 16px; }
.reco .band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.reco article { background: transparent; }
.reco .pic { position: relative; display: block; }
.reco img { height: 150px; width: 100%; object-fit: cover; border-radius: 12px; }
.reco .pic span { position: absolute; left: 8px; bottom: 8px; background: #fff; color: #333; border-radius: 8px; padding: 3px 8px; font-size: 12px; }
.reco h4 { margin: 8px 0 0; font-size: 15px; line-height: 1.4; }
.foot { color: #d7d0cc; font-size: 13px; padding: 0; background: #1c1412; border-top: 4px solid var(--red); }
.foot .inner { max-width: 1120px; margin: 0 auto; padding: 28px 20px 8px; }
.foot .top { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }
.foot .brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 750; font-size: 20px; }
.foot .brand i { width: 36px; height: 36px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; font-style: normal; }
.foot .top p { margin: 10px 0 0; line-height: 1.6; }
.foot .when { color: #a89890; }
.foot b { display: block; margin-bottom: 12px; color: #fff; font-size: 15px; }
.foot .late { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.foot .late a { color: #f6f1ee; }
.foot .late img { width: 100%; height: 78px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.foot .late span { display: block; line-height: 1.45; }
.foot .cols { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; margin-top: 26px; padding: 18px 0 8px; border-top: 1px solid rgba(255,255,255,.1); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.foot li a, .foot nav a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); color: #f6f1ee; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.foot .bar { max-width: 1120px; margin: 8px auto 0; padding: 12px 20px 16px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); color: #a89890; font-size: 12px; }
.foot .bar a { color: #f6f1ee; }
.hit { padding: 14px 0; border-top: 1px solid var(--line); }
.hit h2 { margin: 0 0 4px; font-size: 20px; }
.hit time { color: var(--muted); font-size: 12px; }
.byline { margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; }
.byline .kicker { margin: 0; color: var(--red); letter-spacing: .14em; font-size: 12px; }
.byline h2 { margin: 4px 0 8px; font-size: 22px; }
.byline p { margin: 0 0 8px; font-size: 15px; line-height: 1.6; color: #333; }
.byline .reach, .author .reach { color: #555; font-size: 14px; }
.desk-info { list-style: none; padding: 0; }
.desk-info li { padding: 6px 0; border-top: 1px solid var(--line); }
.authors { display: grid; gap: 12px; }
.author { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.author h2 { margin: 0 0 6px; font-size: 22px; }
main.wrap { max-width: 760px; margin: 0 auto; padding: 28px 20px 64px; }
main.wrap h1 { font-size: 36px; line-height: 1.3; }
main.wrap .body { font-size: 18px; line-height: 1.85; }
main.wrap .body p { margin: 0 0 1em; }
.sheet { max-width: 1180px; margin: 0 auto; padding: 28px 28px 64px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 36px 48px; align-items: start; }
.crumb { margin: 0 0 14px; color: #9a9a9a; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumb a { color: #9a9a9a; }
.crumb a:nth-of-type(2) { color: var(--red); }
.crumb span { margin: 0 6px; }
.pill { display: inline-block; background: var(--red); color: #fff; border-radius: 3px; padding: 3px 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.story h1 { margin: 12px 0 8px; font-size: 32px; line-height: 1.28; font-weight: 800; }
.credit { margin: 0 0 16px; font-size: 14px; }
.credit span { color: var(--red); font-weight: 700; }
.credit time { margin-left: 12px; color: #888; }
.story .shot img { width: 100%; height: 420px; object-fit: cover; border-radius: 14px; }
.story .body { margin-top: 18px; font-size: 17px; line-height: 1.8; color: #222; }
.story .body p { margin: 0 0 1em; }
.story .body h2 { font-size: 18px; margin: 1.2em 0 .4em; }
.also { margin-top: 28px; }
.also h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 20px; }
.also h2 i { width: 4px; height: 18px; border-radius: 2px; background: var(--red); display: block; }
.also .band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.also article img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; }
.also .cat { margin: 8px 0 0; color: #888; font-size: 12px; }
.also h3 { margin: 4px 0; font-size: 15px; line-height: 1.4; }
.also .line { margin: 0; color: #666; font-size: 13px; line-height: 1.45; }
.also time { display: block; margin-top: 6px; color: #999; font-size: 12px; }
.rail { border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px 12px; }
.rail h2 { margin: 10px 4px 4px; font-size: 18px; }
.rail ol { list-style: none; margin: 0; padding: 0; }
.rail li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid #f4f4f4; }
.rail h3 { margin: 0 0 4px; font-size: 14px; line-height: 1.4; font-weight: 700; }
.rail time { color: var(--muted); font-size: 12px; }
@media (max-width: 860px) {
  .desk, .reco .band, .sheet, .also .band, .foot .top, .foot .cols, .foot .late { grid-template-columns: 1fr; }
  .veil h1, .veil h2, .single h1, .story h1 { font-size: 24px; }
  .story .shot img, .hero img { height: 240px; }
  .hero { min-height: 240px; }
  .row { grid-template-columns: 112px 1fr; }
  .row img { width: 112px; height: 78px; }
}
