/*
Theme Name: DeshGujarat 2026
Description: DeshGujarat's news website (Option 4, "The Daily Edition"). A plain WordPress theme: the look only. The newsroom's tools (front-page rules, Breaking News list, slugs, live blog, settings) live in the "DeshGujarat Newsroom" plugin, so a future redesign keeps them.
Version: 1.4.20
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
Author: Both Sides, for DeshGujarat
License: GPL-2.0-or-later
Text Domain: deshgujarat-2026

How this file is organised: 1 base, 2 colours and type, 3 top of page, 4 front page, 5 feed, 6 story, 7 other pages,
8 adverts, 9 embeds, 10 phones, 11 dark page, 12 reader's text size. No build step: edit this file as it is.
*/

/* ---------- 1. base ---------- */
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0}img{display:block;max-width:100%;height:auto}a{color:inherit;text-decoration:none}
h1,h2,h3,h4,p{margin:0}button,input{font:inherit}[hidden]{display:none!important}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.skip-link:focus{clip:auto;clip-path:none;height:auto;width:auto;left:12px;top:12px;z-index:100;background:var(--card);color:var(--text);padding:10px 14px;border-radius:6px;box-shadow:0 4px 16px rgba(0,0,0,.2)}
:focus-visible{outline:2px solid var(--kick);outline-offset:2px}
.ph{position:relative;margin:0;overflow:hidden;background:var(--ph);width:100%}
.ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.ph.noimg{background:#FFC317 url(assets/img/logo-mark.svg) 50% 42%/auto 46% no-repeat}
.ph.noimg::after{content:attr(data-k);position:absolute;left:10px;bottom:8px;font:700 11px/1 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#1a1a1a}
.ph.vid .playb{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;display:grid;place-items:center}
.share{display:flex;gap:6px}
.share a,.share button{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:#fff;cursor:pointer;border:0;padding:0}
.s-wa{background:#25D366}.s-x{background:#111}.s-fb{background:#1877F2}.s-ln{background:#6b6b73}
.soc{display:inline-flex;gap:12px;align-items:center}
.soc a{display:grid;place-items:center;padding:8px;margin:-8px} /* the icon stays 16 px; a finger gets 32 px (the 23 Nov check) */
.lim2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lim3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* ---------- 2. colours and type ---------- */
/* The two fonts, served from his own site (SIL Open Font License 1.1; the licences sit next to the files in
   assets/fonts/). Each file is a variable font holding the weights 400-700, the only ones used. A browser fetches a
   "latin-ext" file only for a page that needs it (accented letters); "₹" has a tiny file of its own (the 19 Nov speed
   review: ~190 KB less on a first visit). The files are made by
   tools/fonts/make_fonts.py, which also proves every letter keeps its shape. "?v=2" on the four files that
   changed (19 Nov), so browsers and caches fetch them anew; the same address in the two preloads (inc/setup.php). Gujarati uses the reader's own phone font. */
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/fonts/source-serif-4-latin.woff2?v=2) 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:"Source Serif 4";font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/fonts/source-serif-4-latin-ext.woff2?v=2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20B8,U+20BA-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Source Serif 4";font-style:italic;font-weight:400;font-display:swap;src:url(assets/fonts/source-serif-4-italic-latin.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:"Source Serif 4";font-style:italic;font-weight:400;font-display:swap;src:url(assets/fonts/source-serif-4-italic-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20B8,U+20BA-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Inter;font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/fonts/inter-latin.woff2?v=2) 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:Inter;font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/fonts/inter-latin-ext.woff2?v=2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20B8,U+20BA-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/fonts/source-serif-4-rupee.woff2) format("woff2");unicode-range:U+20B9}
@font-face{font-family:"Source Serif 4";font-style:italic;font-weight:400;font-display:swap;src:url(assets/fonts/source-serif-4-italic-rupee.woff2) format("woff2");unicode-range:U+20B9}
@font-face{font-family:Inter;font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/fonts/inter-rupee.woff2) format("woff2");unicode-range:U+20B9}
:root{--gut:24px;--bg:#FAF7F0;--card:#fffdf8;--text:#161616;--muted:#5f5d58;--line:#e6e0d4;--rule:#161616;--kick:#a8341f;--red:#c8102e;--ph:#ece6da;--acc:#FFC317;--serif:"Source Serif 4",Georgia,serif;--sans:Inter,system-ui,"Segoe UI",sans-serif;--guj:"Noto Sans Gujarati","Nirmala UI","Gujarati Sangam MN","Shruti",sans-serif}
body{background:var(--bg);color:var(--text);font:16px/1.5 var(--sans)}
:lang(gu){font-family:var(--guj)}
.wrap{max-width:1200px;margin:0 auto;padding:0 var(--gut)}

/* ---------- 3. top of page: advert, masthead with the date line, the bar that stays at the top ---------- */
/* Computers (Japan and his designer, 19 Nov): the advert above everything; DeshGujarat on the left, in line with the
   stories below; on its right, three short lines: the date and tithi, the weather, About/Contact and the buttons. */
.adtop{padding:12px 24px 14px}
.adm{display:none}
.mast{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:4px 24px 16px}
/* no top advert ("Nothing" in DeshGujarat settings): the masthead takes the room the advert's band gave it */
@media (min-width:761px){.skip-link + .mast{padding-top:20px}}
.brand{flex:none}
.topline{display:flex;flex-direction:column;align-items:flex-end;gap:9px;min-width:0;font-size:12.5px;color:var(--muted);text-align:right}
.tlr{display:flex;align-items:center;gap:18px;flex:none}.tlr>a{font-weight:600;color:var(--text);white-space:nowrap}
/* the date, the Gujarati tithi and the weather (filled in by the page script; Japan's desk, 18 Nov) */
.tleft{display:flex;align-items:center;justify-content:flex-end;gap:9px 14px;flex-wrap:wrap;min-width:0}
.tdate .ts{display:none}
.ttithi{font:600 13px/1.3 var(--guj);color:var(--text)}
a.ttithi:hover,a.ttithi:focus-visible{text-decoration:underline;text-underline-offset:3px} /* opens his Gujarati Calendar post */
a.ttithi,a.kick,footer.site .credit a{padding:6px 0} /* taller tap areas; the lines keep their height */
.ttithi::before,.twx::before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:var(--acc);margin-right:12px;vertical-align:middle}
.twx{display:inline-flex;align-items:center;justify-content:flex-end;gap:12px;white-space:nowrap;flex-basis:100%}
.twx::before{display:none} /* computers: the weather has a line of its own */
.twx .wc{display:inline-flex;align-items:center;gap:4px}
.twx svg{color:#d49a00}
.mast .logo{display:inline-flex;align-items:center;gap:14px}
.mast img{width:52px;height:52px;border-radius:4px}
.mast .logo span{font:700 52px/1 var(--serif);letter-spacing:-.02em}
.mast .tagl{font:400 15px/1.4 var(--serif);color:var(--muted);margin-top:8px} /* upright (Japan, 26 Nov) */
.mast .since{font:600 11px/1 var(--sans);letter-spacing:.3em;text-transform:uppercase;color:var(--muted);margin:0 0 10px}
.snav{position:sticky;top:0;z-index:20;background:var(--bg)}
/* A DeshGujarat-yellow line under the menu (Japan, 26 Nov: option 5 of five; on phones too, under the strip of
   sections), only as wide as the page's content, like the red strip: from the content's left edge to its right edge
   at every width. In Windows' high-contrast mode it is drawn as a border, so it stays visible. */
.snav::after{content:"";position:absolute;left:max(var(--gut),calc((100% - 1200px) / 2 + var(--gut)));right:max(var(--gut),calc((100% - 1200px) / 2 + var(--gut)));bottom:0;height:2px;background:var(--acc);pointer-events:none}
@media (forced-colors:active){.snav::after{height:0;border-top:2px solid CanvasText}}
.admin-bar .snav{top:32px}
.bar{display:flex;align-items:center;gap:16px;height:48px;position:relative}
.mlogo{display:none}
.nav{flex:1;min-width:0}
.nav ul{display:flex;justify-content:flex-start;list-style:none;margin:0;padding:0} /* starts under DeshGujarat (19 Nov) */
.nav a{display:block;font-size:12.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:14px 10px;white-space:nowrap}
.nav li:first-child>a{padding-left:10px;margin-left:-10px} /* the word still starts under DeshGujarat; its hover box gets room */
/* The current section: a straight yellow bar along the bottom of its box, square at both ends (a shadow followed the
   box's rounded hover corners and bent up at the ends: Japan, 28 Nov) */
.nav .current-menu-item>a,.nav a.on{position:relative}
.nav .current-menu-item>a::after,.nav a.on::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--acc);pointer-events:none}
@media (forced-colors:active){.nav .current-menu-item>a::after,.nav a.on::after{height:0;border-top:3px solid CanvasText}}
/* the first section's mark starts under its word, where the page and the yellow line start (its box has 10 px of
   room on the left for its hover box, which the hover rules below still light whole) */
.nav li:first-child.current-menu-item>a::after,.nav li:first-child>a.on::after{left:10px}
.nav .sub-menu{display:none}
/* the search box (a form): never the bare class, which WordPress also gives the body of search pages */
form.search{flex:none;display:flex;align-items:center;gap:8px;width:220px;height:34px;border:1px solid var(--line);border-radius:999px;padding:0 12px;background:var(--card)}
form.search input{border:0;outline:0;background:transparent;font-size:14px;color:var(--text);width:100%;min-width:0;align-self:stretch}
form.search .si{color:var(--muted);display:grid}
.sbtn,.cats,.msearch{display:none}
.tbtn,.abtn{flex:none;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:var(--card);color:var(--text);cursor:pointer;padding:0}
.abtn{font:700 14px/1 var(--serif);letter-spacing:-.02em}
.abtn[aria-expanded=true]{border-color:var(--text)}
.tbtn .i-sun{display:none}
html[data-theme=dark] .tbtn .i-sun{display:block}html[data-theme=dark] .tbtn .i-moon{display:none}
.fsz{position:absolute;right:24px;top:calc(100% + 8px);z-index:40;display:flex;align-items:center;gap:6px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:8px 10px;box-shadow:0 10px 30px rgba(0,0,0,.16)}
.fsz span{font-size:12px;font-weight:600;color:var(--muted);margin-right:4px;white-space:nowrap}
.fsz button{width:42px;height:42px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);cursor:pointer;font-family:var(--serif);font-weight:700;padding:0}
.fsz [data-ts="0"]{font-size:14px}.fsz [data-ts="1"]{font-size:18px}.fsz [data-ts="2"]{font-size:23px}
.fsz button[aria-pressed=true]{background:var(--rule);color:var(--bg);border-color:var(--rule)}
/* the breaking-news strip: only when an item of the Breaking News list is still valid */
.brk{color:#fff}
.brk .wrap{padding-top:14px}
.brk .bin{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 14px;background:var(--red);border-radius:4px} /* as wide as the page's content (Japan, 26 Nov); a long label puts the line under it */
.brk .il{font:700 10.5px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase;background:#fff;color:var(--red);padding:4px 7px;border-radius:3px;margin-right:5px;vertical-align:1px} /* a line's own label */
.brk .bl{flex:none;max-width:100%;overflow-wrap:anywhere;font:700 11px/1.2 var(--sans);letter-spacing:.12em;text-transform:uppercase;background:#fff;color:var(--red);padding:5px 8px;border-radius:3px}
.brk .bt{flex:1 1 160px;min-width:0;overflow:hidden;font:600 15px/1.35 var(--sans)}
.brk .bt a{text-decoration:underline}
.brk.tick .bt{mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.brk.tick .tr{display:inline-flex;white-space:nowrap;animation:dgtick var(--tick,25s) linear infinite}
.brk.tick .tr span{padding-right:48px}
.brk.tick:hover .tr,.brk.tick:focus-within .tr{animation-play-state:paused}
.brk.tick .tr span::before{content:"\25A0";color:var(--acc);margin-right:12px;font-size:.8em}
@keyframes dgtick{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.brk.tick .tr{animation:none;flex-wrap:wrap;white-space:normal}.brk.tick .tr .dup{display:none}}

/* ---------- 4. front page ---------- */
.kick{font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--kick)}
.kick.typed{color:#fff;background:var(--red);padding:2px 6px;border-radius:3px;letter-spacing:.08em}
/* Section names are a quiet grey on the front page and in every list of stories (section, topic and search pages,
   the lists under a story), so the headline leads (Japan, 26-27 Nov); the Slug an editor types stays red. The grey is
   the lightest that small capitals can carry on this paper and still be read. */
.home .kick:not(.typed),.xrow .kick:not(.typed),.ytc .kick:not(.typed){color:#736f66;font-weight:600}
.meta{font-size:12.5px;color:var(--muted)}
.front{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px;padding:22px 0 6px}
.front.wide{grid-template-columns:1fr}
.lead{display:block}.lead .ph{margin-bottom:14px}
.pin{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#141414;background:var(--acc);padding:4px 8px 4px 6px;border-radius:3px}
.lead h2{font:700 42px/1.1 var(--serif);letter-spacing:-.015em;margin:10px 0 12px;overflow-wrap:break-word}
.lead p{font:400 18px/1.55 var(--serif);color:#333;margin-bottom:10px}
.top h4,.fh{font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;border-bottom:2px solid var(--rule);padding-bottom:8px;margin-bottom:4px;display:flex;align-items:center;gap:9px}
/* top stories: all equal, no numbers; small squares in the logo's yellow (Japan, 9 Nov) */
.top ol{list-style:none;margin:0;padding:0}
.top li a{display:grid;grid-template-columns:22px minmax(0,1fr);gap:4px;padding:13px 0;border-bottom:1px solid var(--line)}
.top li a::before{content:"";width:10px;height:10px;border-radius:2px;background:var(--acc);box-shadow:inset 0 0 0 1px rgba(0,0,0,.12);margin-top:calc(12.16px * var(--fs) - 4.16px)} /* level with the first line at every text size */
.top h3{font:700 19px/1.28 var(--serif);margin-bottom:5px;color:#0d0d0d}
.top .tt{display:none}
.dad{margin-top:22px}
.feat{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:24px;align-items:center;margin:26px 0 0;padding:18px;background:var(--card);border:1px solid var(--line);border-top:3px solid var(--acc);border-radius:4px}
.feat .ph{border-radius:4px}
.feat h3{font:700 26px/1.2 var(--serif);margin:8px 0}
.feat p{font:400 16.5px/1.5 var(--serif);color:#3a3a3a}
/* shorts and videos */
.shorts{margin:30px 0 0;border-top:2px solid var(--rule);padding-top:12px}
.hd{display:flex;align-items:baseline;gap:6px 12px;margin-bottom:14px;flex-wrap:wrap}
.hd h2{font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;display:flex;align-items:center;gap:8px;align-self:center}
.hd h2 svg{color:#ff0033}
.hd .sub{font-size:12.5px;color:var(--muted)}
.hd .all{margin-left:auto;font-size:13px;font-weight:600;color:var(--kick);padding:8px 0;margin-top:-8px;margin-bottom:-8px}
.srow{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 84px)/6.4);gap:14px;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}
.srow::-webkit-scrollbar,.vrow::-webkit-scrollbar,.cats::-webkit-scrollbar,.grow::-webkit-scrollbar{display:none}
.sc .ph{border-radius:10px;background:#111}
.sc h3{font:600 13.5px/1.3 var(--sans);margin-top:8px}
.ch{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.vids{padding:22px 0;border-bottom:1px solid var(--line)}
.vrow{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 18px)/2.25);gap:18px;overflow-x:auto;scrollbar-width:none}
.vrow h3{font:600 16px/1.3 var(--serif);margin-top:8px}
.vrow .ph{border-radius:6px}
/* the Gujarati strip, only while his team has it switched on */
.gstrip{padding:22px 0;border-bottom:1px solid var(--line)}
.gstrip .hd h2{font-family:var(--guj);letter-spacing:0;text-transform:none;font-size:17px}
.grow{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 36px)/3.2);gap:18px;overflow-x:auto;scrollbar-width:none}
.grow a{display:grid;gap:8px;align-content:start}
.grow .ph{border-radius:6px}
.grow h3{font:600 16px/1.4 var(--guj)}

/* Hover, on computers only (Japan, 26 Nov): a menu section lights up as a yellow box; a headline turns red and gets
   a thin underline. Phones have no hover, so nothing sticks after a tap. */
@media (hover:hover) and (pointer:fine){
 .nav a{transition:background-color .15s,color .15s;border-radius:3px}
 .nav a:hover{background:var(--acc);color:#141414}
 .more .morebtn:hover{background:#f0b400}
 .nav li:first-child.current-menu-item>a:hover,.nav li:first-child>a.on:hover{background:var(--acc)}
 a.lead:hover h2,.lead h2 a:hover,.top li a:hover h3,a.xrow:hover h3,a.ytc:hover h3,a.feat:hover h3,.grow a:hover h3,.special>a:hover b,a.sc:hover h3{color:var(--kick);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em}
}

/* ---------- 5. the feed ---------- */
.feedwrap{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px;margin-top:32px}
.feed{min-width:0}
.live{width:9px;height:9px;border-radius:50%;background:#e0251b;box-shadow:0 0 0 4px rgba(224,37,27,.18);flex:none}
.xrow{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:18px;padding:16px 0;border-bottom:1px solid var(--line);align-items:start}
.xrow h3{font:600 20px/1.28 var(--serif);display:flex}
.xrow .meta+h3{margin-top:5px} /* a typed Slug above the headline */
.xrow .mb,.ytc .mb{display:block;margin-top:6px} /* the section name under the headline (Japan, 26 Nov) */
.xrow h3 .hx{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
/* A long headline that carries the video sign: the page script keeps the words that fit, then "…" and the sign
   (Japan, 19 Nov; the old float trick left such rows blank on iPhones, 27 Nov). It measures with the stop off (.meas). */
.xrow h3.meas .hx{display:block;-webkit-line-clamp:none;overflow:visible;min-width:0}
/* A last word too wide to keep with its sign (words joined by no-break spaces; marked .wide by the page script):
   the ending wraps like any text, so the sign may start a line rather than run past the edge (the 1.3.0 review). */
.xrow h3.wide .vend{white-space:normal}
.xrow .ph{border-radius:4px}
.xrow.nopic{grid-template-columns:1fr}
.ytc{display:block;padding:18px 0;border-bottom:1px solid var(--line)}
.ytc .ph{border-radius:4px;margin-bottom:12px}
.ytc h3{font:700 28px/1.15 var(--serif);letter-spacing:-.01em;margin:6px 0 8px}
.ytc p{font:400 17px/1.5 var(--serif);color:#3a3a3a}
.day{display:flex;align-items:center;gap:12px;margin:28px 0 2px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.day::after{content:"";flex:1;height:1px;background:var(--line)} /* the date at the left, the line after it (Japan, 27 Nov) */
.infeed{padding:22px 0;border-bottom:1px solid var(--line)}
.mstay{display:none}
.more{display:flex;align-items:center;justify-content:center;gap:10px;padding:26px 0;color:var(--muted);font-size:13.5px}
.more.end{flex-direction:column;text-align:center;gap:4px}
.more.end b{color:var(--text);font-weight:600}
.more a{color:var(--kick);font-weight:600}
.spin{width:16px;height:16px;border:2px solid var(--line);border-top-color:var(--kick);border-radius:50%;animation:sp .8s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
.rail{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-content:start;min-width:0}
.rail .sticky{position:sticky;top:70px}
.nstories h4,.special h4{font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;border-bottom:2px solid var(--rule);padding-bottom:8px;margin-bottom:2px}
.nstories a{display:block;padding:11px 0;border-bottom:1px solid var(--line)}
.nstories b{display:block;font:600 16px/1.3 var(--serif);margin-top:3px}
/* "Special": his team's research articles (Japan, 18 Nov); the title opens the Special page */
.special h4 a{display:flex;align-items:center;justify-content:space-between}
.special h4 .arr{color:var(--kick);font-size:15px}
.special>a{display:block;padding:11px 0;border-bottom:1px solid var(--line)}
.special>a.first .ph{border-radius:4px;margin-bottom:9px}
.special b{display:block;font:600 16px/1.3 var(--serif)}
.special>a.first b{font-size:18px}
/* own blocks and the Google preferred-source banner, in DeshGujarat's own colours: the yellow line and yellow buttons
   with black words (Japan, 19 Nov: not black, brown or Google's blue) */
.promo,.gpref{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 12px;align-items:start;background:var(--card);border:1px solid var(--line);border-top:3px solid var(--acc);border-radius:4px;padding:16px 18px}
.promo .pic,.gpref .pic{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#fff3cf;color:#161616}
.p-give .pic{color:#c8102e;background:none;overflow:hidden;border-radius:6px}.p-give .pic img{display:block;width:38px;height:38px}
.gpref .pic{background:none;overflow:hidden;border-radius:6px}.gpref .pic img{display:block;width:38px;height:38px}
.promo.pimg{display:block;padding:0;border:0;background:none;line-height:0}.promo.pimg img{display:block;width:100%;height:auto;border-radius:4px}
.lead .lslug{display:inline-block;margin-top:2px}
.p-give b{color:var(--red)}
.promo b,.gpref b{display:block;font:700 17px/1.25 var(--serif)}
.promo p,.gpref p{font-size:13.5px;color:var(--muted);margin-top:4px}
.pbtn{grid-column:2;justify-self:start;display:inline-flex;align-items:center;font:700 13.5px/1 var(--sans);padding:10px 16px;border-radius:999px;background:var(--acc);color:#141414}
/* The Contribute button too takes the site's yellow (Japan, 21 Nov: "in our theme color"); its heart stays red. */
.after{display:grid;gap:14px;margin:4px 0 30px}
.monly{display:none}
/* "Follow DeshGujarat": the social buttons in the phone scroll of the front page (Japan, 19 Nov) */
.follow{background:var(--card);border:1px solid var(--line);border-top:3px solid var(--acc);border-radius:4px;padding:16px 18px}
.follow b{display:block;font:700 17px/1.25 var(--serif)}
.follow p{font-size:13.5px;color:var(--muted);margin-top:4px}
.fbtns{display:flex;gap:8px;margin-top:14px} /* one row on every phone: the buttons share the width, at most 46 px each */
.fbtns a{flex:1 1 0;max-width:46px;aspect-ratio:1/1;border-radius:50%;display:grid;place-items:center;color:#fff}
.f-yt,.f-ytl{background:#ff0033}.f-x{background:#000}.f-fb{background:#1877F2}.f-wa{background:#25D366}
.f-ig{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%)}
/* stay updated */
.stay{background:var(--card);border:1px solid var(--line);border-top:3px solid var(--acc);padding:18px 18px 16px;border-radius:4px}
.stay .sh{display:flex;align-items:center;gap:8px;font:700 19px/1.25 var(--serif)}
.stay p{font-size:13.5px;color:var(--muted);margin:6px 0 12px}
.nl{display:flex;gap:8px}
.nl input{flex:1 1 auto;width:0;min-width:0;height:40px;border:1px solid var(--line);border-radius:6px;padding:0 12px;font-size:14px;background:#fff;color:var(--text)}
.nl button{flex:none;height:40px;border:0;border-radius:6px;background:var(--rule);color:#fff;font-weight:700;font-size:13.5px;padding:0 14px;cursor:pointer}
.alt{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.alt a{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:8px 12px;border-radius:999px;border:1px solid var(--line);background:#fff}
.alt .wa{color:#0b6b35;border-color:#bfe3cc}.alt .wa svg{color:#25D366}
.alt .bellb{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:8px 12px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--text)}
.alt .bellb svg{color:var(--kick)}
.alt .bellb.off,.nl.soon input,.nl.soon button{opacity:.6;cursor:not-allowed}
/* The newsletter's answer under the box, the hidden trap field, and the alerts button (1.4.0, 20 Nov). */
.nl-msg,.push-msg{font-size:13px;margin:10px 0 0;color:var(--text)}
.nl-msg.bad{color:var(--kick)}
.stay .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.nl button:disabled{opacity:.6;cursor:wait}
button.bellb{font-family:inherit;cursor:pointer}
.bellb[data-push]{display:none}
html.push-ok .bellb[data-push]{display:inline-flex}
.bellb .p-on{display:none}
html.push-on .bellb .p-on{display:inline}
html.push-on .bellb .p-off{display:none}
html.push-on .bellb[data-push]{border-color:var(--acc)}

/* ---------- 6. story ---------- */
.sgrid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:56px;padding-top:30px}
.story{max-width:720px;min-width:0}
.story h1{font:700 46px/1.1 var(--serif);letter-spacing:-.018em;margin:10px 0 14px;overflow-wrap:break-word}
.byl{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-size:13.5px;color:var(--muted);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;margin-bottom:24px}
.byl b{color:var(--text)}
.story>.ph{margin-bottom:8px}
.cap{font-size:12.5px;color:var(--muted);margin:8px 0 26px;border-bottom:1px solid var(--line);padding-bottom:10px}
.body{font:400 19.5px/1.72 var(--serif);color:#1d1d1f;overflow-wrap:break-word}
.body p,.body ul,.body ol,.body blockquote,.body figure,.body table,.body .dg-embed,.body h2,.body h3,.body h4{margin:0 0 22px}
.body>p:first-of-type::first-letter{float:left;font:700 64px/.82 var(--serif);margin:8px 10px 0 0;color:var(--text)}
.body:lang(gu)>p:first-of-type::first-letter,.body.nodrop>p:first-of-type::first-letter{float:none;font:inherit;margin:0}
.body h2{font:700 27px/1.25 var(--serif)}.body h3{font:700 22px/1.3 var(--serif)}.body h4{font:700 19px/1.3 var(--serif)}
.body a{color:var(--kick);text-decoration:underline;text-underline-offset:2px}
.body ul,.body ol{padding-left:1.3em}.body li{margin-bottom:8px}
.body blockquote:not(.twitter-tweet):not(.instagram-media){border-left:3px solid var(--acc);padding:2px 0 2px 18px;font-style:italic;color:#2b2b2b}
.body img{border-radius:4px}
.body figure{max-width:100%}.body figcaption,.body .wp-caption-text{font:400 13px/1.45 var(--sans);color:var(--muted);margin-top:6px}
.body .wp-caption{max-width:100%!important}
.body .alignleft{float:left;margin:4px 20px 12px 0;max-width:50%}.body .alignright{float:right;margin:4px 0 12px 20px;max-width:50%}.body .aligncenter{margin-left:auto;margin-right:auto}
.body table{width:100%;border-collapse:collapse;font:400 15px/1.45 var(--sans);display:block;overflow-x:auto}
.body td,.body th{border:1px solid var(--line);padding:6px 8px;text-align:left}
.body iframe{max-width:100%;border:0}
.body .ad{margin:6px auto 30px}
/* Three old stories (2020-2023) hold block-editor classes pasted without the blocks themselves, so WordPress loads no
   block styles for them since 1.3.0 dropped the full block stylesheet: the few rules they use (the 1.3.0 review). */
.body td.has-text-align-center,.body th.has-text-align-center{text-align:center}
.body table.has-fixed-layout{table-layout:fixed}
.body .has-subtle-pale-pink-background-color{background-color:#fcf0ef}
.body .wp-block-image .aligncenter{display:table;margin-left:auto;margin-right:auto}
.body .wp-block-image .aligncenter>figcaption{display:table-caption;caption-side:bottom}
html[data-theme=dark] .body .has-subtle-pale-pink-background-color{background-color:#3a2a29}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 30px}
.tags a{font-size:13px;font-weight:600;padding:6px 12px;border-radius:999px;border:1px solid var(--line);background:var(--card)}
.tags a.cat{color:var(--kick)}
.next{margin-top:34px}
.tohome{display:block;text-align:center;padding:18px;font-weight:600;color:var(--kick)}
/* the live blog */
.livebox{border:1px solid var(--line);border-top:3px solid #e0251b;border-radius:4px;padding:16px 18px;margin:0 0 30px;background:var(--card)}
.livebox .lh{display:flex;align-items:center;gap:10px;font:700 13px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px}
.livebox .lh.ended{color:var(--muted)}
.lentry{padding:14px 0;border-top:1px solid var(--line)}
.lentry:first-of-type{border-top:0}
.lentry time{display:block;font:700 13px/1 var(--sans);color:#e0251b;margin-bottom:6px}
.lentry .lt{font:400 18px/1.6 var(--serif)}
.lentry .lt p{margin:0 0 10px}
.lentry.new{animation:dgnew 2.4s ease-out}
.lentry .lt{position:relative;overflow-wrap:break-word} /* a long address breaks rather than widen the page; a loading Instagram frame stays inside */
.lentry .lt iframe{max-width:100%;border:0} /* videos and posts in an update (26 Nov) fit the column */
.lentry .lt .instagram-media{min-width:0!important} /* Instagram asks for 326 px; a phone's update column is narrower */
.lentry .lt img{border-radius:4px}
.lentry .lt .dg-embed{margin:6px 0 14px}
@keyframes dgnew{from{background:rgba(255,195,23,.35)}to{background:transparent}}
.livetag{position:absolute;left:12px;top:12px;display:inline-flex;align-items:center;gap:6px;background:#e0251b;color:#fff;font:700 12px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase;padding:6px 9px;border-radius:4px;z-index:2}
.livetag i,.livedot{width:8px;height:8px;border-radius:50%;background:#fff;animation:blink 1.4s ease-in-out infinite;display:inline-block}
.livedot{background:#e0251b}
@keyframes blink{50%{opacity:.25}}

/* ---------- 7. other pages: category, topic, date, author, search, page, not found ---------- */
.arch{padding-top:26px}
.arch .ahd{border-bottom:2px solid var(--rule);padding-bottom:12px;margin-bottom:6px}
.arch .ahd .kind{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.arch .ahd h1{font:700 36px/1.15 var(--serif);margin-top:6px}
.arch .ahd p{font-size:15px;color:var(--muted);margin-top:8px;max-width:720px}
/* "More stories": a yellow button at the left, in the site's colour (Japan, 27 Nov) */
.more.mpage{justify-content:flex-start;padding:20px 0 8px} /* a yellow button at the left (Japan, 27 Nov) */
.more .morebtn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 22px;border-radius:4px;background:var(--acc);font:700 15.5px/1 var(--sans);color:#141414}
.more .morebtn:focus-visible{background:#f0b400}
.morebtn[aria-busy=true]{opacity:.65}
.newer{text-align:left;font-size:13.5px;color:var(--muted);padding:6px 0 4px}
.newer a{color:var(--kick);font-weight:600}
.pager{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;padding:28px 0}
.pager .page-numbers{min-width:40px;height:40px;display:grid;place-items:center;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:var(--card);font-weight:600;font-size:14px}
.pager .current{background:var(--rule);color:var(--bg);border-color:var(--rule)}
.pager .dots{border:0;background:none}
.sres{padding-top:22px;padding-bottom:30px;max-width:860px}
.sres .msearch.sform{display:flex;gap:8px;padding:14px 0} /* the search page's own box, on every screen */
.sres .sform input{flex:1;min-width:0;height:42px;border:1px solid var(--line);border-radius:999px;padding:0 14px;font-size:15px;background:var(--card);color:var(--text)}
.sres .sform button{height:42px;border:0;border-radius:999px;background:var(--rule);color:var(--bg);font-weight:700;padding:0 18px;cursor:pointer}
.arch .feedwrap{margin-top:6px}
.arch>.feed{max-width:860px}
.cap.nocap{border:0;margin-bottom:14px} /* the space under a story's picture when it has no caption */
.sh2{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:2px solid var(--rule);padding-bottom:10px;margin-bottom:6px}
.sh2 h1,.sh2 h2{font:700 22px/1.25 var(--serif)}
.none,.snote{font-size:14px;color:var(--muted);margin-top:14px}
.page-body{max-width:760px;padding-top:30px}
.page-body h1{font:700 40px/1.15 var(--serif);margin-bottom:20px}
/* His Contact us page as cards (22 Nov): the page the Contribute and "Let us know" buttons open. */
.c-cards{display:grid;gap:14px}
.c-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:start;background:var(--card);border:1px solid var(--line);border-top:3px solid var(--acc);border-radius:4px;padding:18px 20px}
.c-card .pic{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fff3cf;color:#161616}
.c-tx b{display:block;font:600 12px/1.3 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.c-big{display:inline-block;font:700 22px/1.3 var(--serif);color:var(--text);margin-top:6px;overflow-wrap:break-word} /* a long e-mail address wraps after its @ */
.c-tx address{font:400 18px/1.55 var(--serif);font-style:normal;margin-top:6px}
.c-btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.c-btns .pbtn{gap:7px}
.pbtn.ghost{background:transparent;color:var(--text);box-shadow:inset 0 0 0 1px var(--line)}
.contact .follow{margin-top:14px}
.c-more{margin-top:20px}
/* The newsletter's own page (?nl=confirmed | sent | error, 23 Nov). */
.nl-page{max-width:640px;padding-top:40px;padding-bottom:24px}
.nl-done{background:var(--card);border:1px solid var(--line);border-top:3px solid var(--acc);border-radius:4px;padding:34px 28px 30px;text-align:center}
.nl-done .pic{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;background:#fff3cf;color:#161616}
.nl-done h1{font:700 30px/1.2 var(--serif);margin-bottom:12px}
.nl-done p{font:400 18px/1.55 var(--serif);color:var(--text);max-width:30em;margin:0 auto}
.nl-done .nl-small{font:400 14px/1.5 var(--sans);color:var(--muted);margin-top:10px}
.nl-done .pbtn{margin-top:22px}
.nl-page .follow{margin-top:14px}
@media (max-width:760px){.nl-page{padding-top:24px}.nl-done{padding:26px 18px 24px}.nl-done h1{font-size:25px}}
.nf{max-width:640px;margin:0 auto;padding:60px 0 20px;text-align:center}
.nf-next{max-width:760px;margin:30px auto 0}
.nf h1{font:700 40px/1.15 var(--serif);margin-bottom:12px}
.nf p{color:var(--muted);margin-bottom:20px}
.nf form{max-width:420px;margin:0 auto}
/* back to the top (Japan, 26 Nov: the arrow of his old site): yellow, round, bottom right, once the reader has scrolled */
.totop{position:fixed;right:18px;bottom:22px;z-index:40;width:46px;height:46px;border-radius:50%;background:var(--acc);color:#141414;display:grid;place-items:center;box-shadow:0 3px 12px rgba(0,0,0,.22);opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .2s,transform .2s,background-color .15s}
.totop[hidden]{display:none}.totop.on{opacity:1;transform:none;pointer-events:auto}.totop:hover,.totop:focus-visible{background:#f0b400}
@media (max-width:760px){.totop{right:14px;bottom:18px;width:44px;height:44px}}
@media (prefers-reduced-motion:reduce){.totop{transition:none}}
.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#161616;color:#fff;font-size:13.5px;line-height:1.4;padding:12px 16px;border-radius:10px;width:max-content;max-width:min(92vw,460px);transition:opacity .2s,transform .2s;z-index:50;box-shadow:0 6px 24px rgba(0,0,0,.25)}
.toast.on{opacity:1;transform:translate(-50%,0)}
footer.site{margin-top:44px;border-top:2px solid var(--rule);padding:22px 0 34px;font-size:13px;color:var(--muted)}
footer.site .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;align-items:center}
footer.site .logo{display:flex;align-items:center;gap:10px;font:700 22px var(--serif);color:var(--text)}
footer.site nav ul{display:flex;gap:18px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
footer.site .credit{display:block;font-size:11.5px;margin-top:4px}
footer.site .credit a{text-decoration:underline}

/* ---------- 8. adverts: every space has its size before anything loads, so the page never jumps ---------- */
.ad{text-align:center;margin:0 auto;max-width:100%}
.ad .lbl{display:block;font:600 10px/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.ad .slot{position:relative;margin:0 auto;overflow:hidden;border-radius:6px;contain:strict}
.ad-top .slot,.ad-wide .slot{width:728px;height:90px}.ad-box .slot{width:300px;height:250px}.ad-tall .slot{width:300px;height:600px}.ad-article .slot{width:300px;height:250px}
/* below every story: 728 x 90, no wider than the story's column (720); his own picture without a phone picture keeps
   its own shape on every screen (.keep), so phones show it whole */
.story .ad-below{margin:4px 0 30px}.ad-below .slot{width:728px;height:90px;max-width:100%}.ad-below .slot.keep{height:auto;aspect-ratio:728/90}
/* the top space: the large 970 x 90 where the screen has room for it, else 728 x 90 (phones: section 10) */
@media (min-width:1040px){.ad-top .slot{width:970px}}
.ad .slot ins.adsbygoogle{position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%}
.ad .slot ins.adsbygoogle[data-ad-status=unfilled]{display:none!important}
.ad .slot.stand-in{background:repeating-linear-gradient(45deg,#e7e7e7 0 10px,#f3f3f3 10px 20px);border:1px dashed #b5b5b5}
.ad .slot.stand-in::after{content:"Google advert \00B7  " attr(data-d);position:absolute;inset:0;display:grid;place-items:center;font:600 12px var(--sans);color:#777}
.ad .slot.stand-in.code::after{content:"Advertiser's code \00B7  " attr(data-d)}
@media (max-width:1039px){.ad .slot.stand-in::after{content:"Google advert \00B7  " attr(data-t)}.ad .slot.stand-in.code::after{content:"Advertiser's code \00B7  " attr(data-t)}}
/* an own banner (his promotion or an advert he sold): the picture fills the space */
.ad .own{position:absolute;inset:0;display:block}
.ad .own img{width:100%;height:100%;object-fit:cover}
.ad .code-slot{contain:none}
.ad .slot .ad-frame{display:block;width:100%;height:100%;border:0;background:transparent} /* an advertiser's code, in its own frame */
.house{position:absolute;inset:0;display:flex;align-items:center;gap:14px;padding:0 18px;text-align:left;font-family:var(--sans)}
.house .hic{flex:none;display:grid;place-items:center}
.house .htx{flex:1;min-width:0}.house b{display:block;font-size:17px;line-height:1.2}.house small{display:block;font-size:12.5px;opacity:.8;margin-top:3px}
.house .hbtn{flex:none;font:700 13px/1 var(--sans);padding:10px 16px;border-radius:999px}
.ad-box .house,.ad-tall .house,.ad-article .house{flex-direction:column;justify-content:center;text-align:center;padding:20px}
.ad-box .htx,.ad-tall .htx,.ad-article .htx{flex:none}.ad-box .house b,.ad-article .house b{font-size:20px}.ad-tall .house{justify-content:flex-start;padding-top:34px}.ad-tall .house b{font-size:22px}
.h-yt{background:#0f0f0f;color:#fff}.h-yt .hic{color:#ff0033}.h-yt .hbtn{background:#ff0033;color:#fff}
.h-local{background:#FFC317;color:#141414}.h-local .hbtn{background:#141414;color:#FFC317}.h-local .hic img{border-radius:8px;width:44px;height:44px}
.h-x{background:#000;color:#fff}.h-x .hbtn{background:#fff;color:#000}
.h-wa{background:#075e54;color:#fff}.h-wa .hbtn{background:#25D366;color:#073b33}
.h-ig{background:linear-gradient(135deg,#6a2bd9 0%,#c4148f 52%,#d9381a 100%);color:#fff}.h-ig .hbtn{background:#fff;color:#a3136f}
.h-fb{background:#1466D8;color:#fff}.h-fb .hbtn{background:#fff;color:#1259c3}.h-ig small,.h-fb small{opacity:1}
/* inside the story text the story's own link style (.body a: red, underlined) must not reach these banners */
.ad .house{text-decoration:none}.ad .h-yt,.ad .h-x,.ad .h-wa,.ad .h-ig,.ad .h-fb{color:#fff}.ad .h-local{color:#141414}

/* ---------- 9. embeds in story text ---------- */
.dg-embed{display:block;position:relative;margin:0 auto 22px;max-width:100%}
.dg-yt{aspect-ratio:16/9;background:#000;border-radius:6px;overflow:hidden;cursor:pointer}
.dg-yt.dg-yt-short{aspect-ratio:9/16;max-width:360px}
.dg-yt img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0}
.dg-yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.dg-play,.ph.yt .playb{position:absolute;left:50%;top:50%;width:68px;height:48px;margin:-24px 0 0 -34px;border-radius:12px;background:#e0251b;box-shadow:0 4px 16px rgba(0,0,0,.35);display:grid;place-items:center;color:#fff}
.dg-play::before{content:"";border-style:solid;border-width:10px 0 10px 17px;border-color:transparent transparent transparent #fff;margin-left:4px}
.ph.yt{cursor:pointer;background:#000}
.ph.yt img{object-position:50% 50%}
.ph.yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.dg-x{min-height:240px;max-width:550px}
.dg-x.dg-x-media{min-height:560px}
.dg-x>blockquote{margin:0;padding:14px 16px;border:1px solid var(--line);border-radius:12px;font:400 15px/1.5 var(--sans);background:var(--card)}

/* ---------- 10. phones and tablets ---------- */
@media (max-width:1100px){.nav a{padding:14px 7px;font-size:12px;letter-spacing:.06em}.bar .search{width:180px}.twx .wc{display:none}.twx .wc.on{display:inline-flex}}
@media (max-width:1100px) and (min-width:761px){.feedwrap{grid-template-columns:1fr}.feedwrap .rail{display:none}.sgrid{grid-template-columns:1fr}.sgrid .rail{display:none}.mstay{display:block;padding:18px 0;border-bottom:1px solid var(--line)}}
/* Tablets have no side column: the sign-up box comes in the scroll, as on phones (1.4.0). */
@media (max-width:980px){.srow{grid-auto-columns:calc((100% - 42px)/4.3)}.front{grid-template-columns:minmax(0,1fr) 300px;gap:28px}}
@media (max-width:980px) and (min-width:761px){.bar .search{width:130px}.nav a{padding:14px 6px}}
@media (max-width:760px){
 :root{--gut:16px}
 .wrap{padding:0 var(--gut)}
 .adtop,.brand{display:none}
 /* phones: one slim line with the short date, the tithi and one city's weather at a time */
 .mast{display:block;padding:0 16px}
 .topline{flex-direction:row;align-items:center;padding:7px 0;font-size:12px;gap:8px;text-align:left}
 .tlr{display:none}
 .tleft{flex-wrap:nowrap;justify-content:flex-start;gap:10px;overflow:hidden;white-space:nowrap}
 .tdate .tl{display:none}.tdate .ts{display:inline}
 .ttithi{font-size:12.5px}
 .twx{flex-basis:auto}.twx::before{display:inline-block}
 .ttithi::before,.twx::before{margin-right:10px}
 .twx .wc{display:none}.twx .wc.on{display:inline-flex}
 .adm{display:block;padding:14px 16px 6px}
 .snav{border-top:0;box-shadow:0 2px 8px rgba(0,0,0,.05)}
 .bar{height:54px;gap:10px}
 .mlogo{display:flex;align-items:center;gap:9px}
 .mlogo img{width:30px;height:30px;border-radius:4px}
 .mlogo span{font:700 23px/1 var(--serif);letter-spacing:-.015em}
 .nav,.bar .search{display:none!important}
 .sbtn{display:grid;place-items:center;margin-left:auto;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:var(--card);color:var(--text);cursor:pointer;padding:0}
 .tbtn,.abtn{width:40px;height:40px}.fsz{right:16px}
 .cats{display:flex;gap:6px;overflow-x:auto;padding:0 16px 10px;scrollbar-width:none}
 .cats a{flex:none;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:7px 12px;border-radius:3px;border:1px solid var(--line);background:var(--card)} /* square, like the rest of the site (Japan and his desk editor, 24 Nov) */
 .cats a.on{background:var(--rule);color:#fff;border-color:var(--rule)}
 html.sopen .msearch{display:flex;gap:8px;padding:0 16px 12px}
 .msearch input{flex:1;min-width:0;height:40px;border:1px solid var(--line);border-radius:999px;padding:0 14px;font-size:15px;background:#fff;color:var(--text)}
 .msearch button{flex:none;height:40px;border:0;border-radius:999px;background:var(--rule);color:#fff;font-weight:700;font-size:13.5px;padding:0 16px}
 .brk .bt{font-size:14px}
 .front{grid-template-columns:1fr;gap:4px;padding-top:6px}
 .lead .ph{margin:0 -16px 12px;width:calc(100% + 32px)}
 .lead h2{font-size:26px;margin:8px 0 6px}
 .lead p{display:none}
 .top h4{margin-top:12px}
 .top li a{grid-template-columns:14px minmax(0,1fr) 104px;gap:10px;align-items:start}
 .top li a::before{width:9px;height:9px;margin-top:8px}
 .top .tt{display:block;border-radius:4px}
 .dad{display:none}
 .feat{grid-template-columns:1fr;padding:14px;gap:12px}
 .feat h3{font-size:22px}
 .shorts{margin-top:22px}
 .srow{grid-auto-columns:40%;gap:10px}
 .grow{grid-auto-columns:72%;gap:12px}
 .feedwrap{grid-template-columns:1fr;gap:0;margin-top:24px}
 .rail{display:none}
 .xrow{grid-template-columns:minmax(0,1fr) 104px;gap:14px;padding:14px 0}
 .xrow h3{font-size:17.5px}
 .ytc .ph{margin:0 -16px 12px;width:calc(100% + 32px);border-radius:0}
 .ytc h3{font-size:22px}
 .ytc p{font-size:15.5px}
 .mstay{display:block;padding:18px 0;border-bottom:1px solid var(--line)}
 .monly{display:block}
 .mgive{margin-top:26px}
 .vrow{grid-auto-columns:74%;gap:12px}
 .sgrid{grid-template-columns:1fr;gap:20px;padding-top:18px}
 .story h1{font-size:30px}
 .story>.ph{margin:0 -16px 8px;width:calc(100% + 32px)}
 .body{font-size:18px}
 .body .alignleft,.body .alignright{float:none;margin:0 0 16px;max-width:100%}
 .arch .ahd h1{font-size:28px}
 .page-body h1,.nf h1{font-size:30px}
 footer.site .wrap{flex-direction:column;align-items:flex-start}
 .ad-top .slot{width:320px;height:100px}.ad-wide .slot{width:300px;height:250px}
 .ad .slot.stand-in::after{content:"Google advert \00B7  " attr(data-m)}
 .ad .slot.stand-in.code::after{content:"Advertiser's code \00B7  " attr(data-m)}
 .ad-top .house{gap:10px;padding:0 12px}.ad-top .house b{font-size:14px}.ad-top .house small{font-size:11px}.ad-top .hbtn{padding:8px 11px;font-size:12px}
 .ad-below .slot:not(.keep){width:320px;height:100px}
 .ad-below .house{gap:10px;padding:0 12px}.ad-below .house b{font-size:14px}.ad-below .house small{font-size:11px}.ad-below .hbtn{padding:8px 11px;font-size:12px}
 .ad-wide .house{flex-direction:column;justify-content:center;text-align:center;padding:20px}.ad-wide .htx{flex:none}.ad-wide .house b{font-size:20px}
 .toast{bottom:16px}
}
@media (max-width:359px){.bar{gap:6px}.sbtn,.abtn,.tbtn{width:36px;height:36px}.mlogo{gap:7px}.mlogo img{width:26px;height:26px}.mlogo span{font-size:20px}}

/* ---------- 11. the dark page: the same layout, warm near-black paper, off-white ink ---------- */
html[data-theme=dark]{color-scheme:dark;--bg:#141311;--card:#1d1c19;--text:#ece8df;--muted:#a8a296;--line:#302e29;--rule:#cfc8bb;--kick:#f08a6b;--ph:#26241f}
html[data-theme=dark] .lead p,html[data-theme=dark] .ytc p,html[data-theme=dark] .feat p{color:#d2cdc3}
html[data-theme=dark] .body{color:#e4e0d7}
html[data-theme=dark] .body blockquote:not(.twitter-tweet){color:#d2cdc3}
html[data-theme=dark] .top h3{color:#fff}
html[data-theme=dark] .home .kick:not(.typed),html[data-theme=dark] .xrow .kick:not(.typed),html[data-theme=dark] .ytc .kick:not(.typed){color:#9a958b}
html[data-theme=dark] .nl input,html[data-theme=dark] .msearch input,html[data-theme=dark] .alt a{background:var(--card)}
html[data-theme=dark] .nl button,html[data-theme=dark] .msearch button,html[data-theme=dark] .cats a.on{color:#141311}
html[data-theme=dark] .alt .wa{color:#6fd99a;border-color:#2c5a40}
html[data-theme=dark] .alt .bellb{background:var(--card)}
html[data-theme=dark] .promo .pic,html[data-theme=dark] .gpref .pic{background:#3a2e12;color:#ffc317}
html[data-theme=dark] .p-give .pic{color:#ff8a80}
html[data-theme=dark] .p-give b{color:#ff8a80}
/* A story's own colours on the dark page (the 23 Nov check). His editors' pasted tables shade their rows (bgcolor:
   98 stories in 2026, the weather table every day) and old stories carry colours of their own; the page's light
   text on those light rows could not be read. On the dark page every such shading becomes a faint tint of the page
   and white becomes nothing; text whose own colour is too dark to read there takes the page's colour (the page
   script marks it .ink-off, and a white background set in "style" .own-white). The light page shows them as typed. */
html[data-theme=dark] .body [bgcolor],html[data-theme=dark] .body [style*="background"]{background-color:rgba(255,255,255,.08)!important}
html[data-theme=dark] .body [bgcolor="#ffffff" i],html[data-theme=dark] .body [bgcolor="#fff" i],html[data-theme=dark] .body [bgcolor="white" i],html[data-theme=dark] .body .own-white{background-color:transparent!important}
html[data-theme=dark] .body .ink-off{color:inherit!important}
html[data-theme=dark] .c-card .pic{background:#3a2e12;color:#ffc317}
html[data-theme=dark] .nl-done .pic{background:#3a2e12;color:#ffc317}
html[data-theme=dark] .f-x{box-shadow:inset 0 0 0 1px #4a4a4a}
html[data-theme=dark] .twx svg{color:#ffc317}
html[data-theme=dark] .s-x{box-shadow:inset 0 0 0 1px #4a4a4a}
html[data-theme=dark] .h-yt,html[data-theme=dark] .h-x{box-shadow:inset 0 0 0 1px #3a3833}
html[data-theme=dark] .sc .ph{background:#000}
html[data-theme=dark] .toast{background:#ece8df;color:#141311}
html[data-theme=dark] .ad .slot.stand-in{background:repeating-linear-gradient(45deg,#2a2926 0 10px,#22211e 10px 20px);border-color:#55524b}
html[data-theme=dark] .ad .slot.stand-in::after{color:#a8a296}
html[data-theme=dark] .body img{opacity:.92}
@media (max-width:760px){html[data-theme=dark] .snav{box-shadow:0 2px 8px rgba(0,0,0,.5)}}

/* ---------- 12. the reader's text size (Aa): headlines and stories grow, adverts and layout stay ---------- */
html{--fs:1}html[data-text="1"]{--fs:1.12}html[data-text="2"]{--fs:1.25}
.lead h2{font-size:calc(42px*var(--fs))}.lead p{font-size:calc(18px*var(--fs))}
.top h3{font-size:calc(19px*var(--fs))}.xrow h3{font-size:calc(20px*var(--fs))}
.ytc h3{font-size:calc(28px*var(--fs))}.ytc p{font-size:calc(17px*var(--fs))}
.story h1{font-size:calc(46px*var(--fs))}.body{font-size:calc(19.5px*var(--fs))}
.body>p:first-of-type::first-letter{font-size:calc(64px*var(--fs))}
.meta{font-size:calc(12.5px*var(--fs))}.byl{font-size:calc(13.5px*var(--fs))}
.vrow h3{font-size:calc(16px*var(--fs))}.sc h3{font-size:calc(13.5px*var(--fs))}
.feat h3{font-size:calc(26px*var(--fs))}.feat p{font-size:calc(16.5px*var(--fs))}
.lentry .lt{font-size:calc(18px*var(--fs))}.nstories b,.special b{font-size:calc(16px*var(--fs))}.special>a.first b{font-size:calc(18px*var(--fs))}.grow h3{font-size:calc(16px*var(--fs))}
@media (max-width:760px){
 .lead h2{font-size:calc(26px*var(--fs))}.top h3,.xrow h3{font-size:calc(17.5px*var(--fs))}
 .ytc h3{font-size:calc(22px*var(--fs))}.ytc p{font-size:calc(15.5px*var(--fs))}
 .story h1{font-size:calc(30px*var(--fs))}.body{font-size:calc(18px*var(--fs))}
 .feat h3{font-size:calc(22px*var(--fs))}
}
/* the red video sign after the headline's last word (kept on the same line as that word); smaller in big headlines */
.vend{white-space:nowrap}
.vsign{display:inline-grid;place-items:center;width:1.3em;height:.92em;border-radius:.22em;background:#e0251b;color:#fff;margin-left:.32em;vertical-align:-.1em;font-style:normal}
.vsign svg{width:.74em;height:.74em}
.lead .vsign,.story h1 .vsign{font-size:.55em;vertical-align:.12em}.ytc .vsign{font-size:.75em}
@media print{.snav,.adtop,.adm,.ad,.rail,.shorts,.vids,.next,footer.site,.share,.brk,.totop{display:none!important}body{background:#fff}html[data-text]{--fs:1}}
.more .loading{display:inline-flex;align-items:center;gap:10px}
.more .endmsg{display:flex;flex-direction:column;gap:4px}
