/* CODEX-TOI-HOME-DAILY-SNS-REFINE-01: top page only; received archive CSS stays intact. */
/* Keep the rc3 DOM and desktop layout. Mobile grid promotes the existing heading/copy,
   so an absent or failed optional image gives its space back to the full title. */
@media(max-width:767px){
 body.page-id-10 #toi-home-daily-questions .toi-dq-card{display:grid;grid-template-columns:112px minmax(0,1fr);column-gap:12px;row-gap:12px;padding:16px}
 body.page-id-10 #toi-home-daily-questions .toi-dq-meta{grid-column:1/-1;grid-row:1;gap:6px 10px;margin:0;font-size:13px;line-height:1.5}
 body.page-id-10 #toi-home-daily-questions .toi-dq-new{padding:2px 8px;font-size:12px;line-height:1.5}
 body.page-id-10 #toi-home-daily-questions .toi-dq-media{grid-column:1;grid-row:2;align-self:start;width:112px;max-width:100%;margin:0}
 body.page-id-10 #toi-home-daily-questions .toi-dq-media img{width:100%;height:auto;max-height:none;aspect-ratio:16/9;object-fit:contain}
 body.page-id-10 #toi-home-daily-questions .toi-dq-card-body{display:contents}
 body.page-id-10 #toi-home-daily-questions .toi-dq-card-title{grid-column:1/-1;grid-row:2;align-self:start;min-width:0;margin:0;font-size:20px;line-height:1.5;letter-spacing:0}
 body.page-id-10 #toi-home-daily-questions .toi-dq-card:has(>.toi-dq-media:not([hidden])) .toi-dq-card-title{grid-column:2}
 body.page-id-10 #toi-home-daily-questions .toi-dq-card-title a{min-height:44px}
 body.page-id-10 #toi-home-daily-questions .toi-dq-subtitle{font-size:.85em;line-height:1.55;margin-top:6px}
 body.page-id-10 #toi-home-daily-questions .toi-dq-copy{grid-column:1/-1;grid-row:3;display:grid;gap:10px;min-width:0}
 body.page-id-10 #toi-home-daily-questions .toi-dq-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0;font-size:15px;line-height:1.6}
 body.page-id-10 #toi-home-daily-questions .toi-dq-read{width:100%;min-height:46px;padding:7px 13px;font-size:15px;line-height:1.5}
}
@media(max-width:359px){
 body.page-id-10 #toi-home-daily-questions .toi-dq-card{grid-template-columns:96px minmax(0,1fr);column-gap:8px}
 body.page-id-10 #toi-home-daily-questions .toi-dq-media{width:96px}
 body.page-id-10 #toi-home-daily-questions .toi-dq-card-title{font-size:19px}
}

/* HOME-DAILY-SNS-REFINE-01: top SNS only; legacy rc3 markup remains compatible. */
body.page-id-10 #toi-home-social[data-toi-social-refine="1"]{display:block;max-width:932px;margin:0 auto 52px;padding:26px 0 8px;border-top:1px solid #d8c8b0;color:#4b3c2e;box-sizing:border-box;text-align:left}
body.page-id-10 #toi-home-social[data-toi-social-refine="1"] *{box-sizing:border-box}
body.page-id-10 #toi-home-social .toi-social-header{display:grid;grid-template-columns:minmax(0,1fr) 112px;align-items:center;gap:16px;margin-bottom:20px}
body.page-id-10 #toi-home-social .toi-social-label{font-size:12px;line-height:1.6;letter-spacing:.08em;color:#735a39;margin:0 0 6px}
body.page-id-10 #toi-home-social .toi-social-heading{font:500 26px/1.55 "Hiragino Mincho ProN","Yu Mincho",Georgia,serif;letter-spacing:.045em;color:#352d23;margin:0 0 8px;padding:0;border:0;background:none}
body.page-id-10 #toi-home-social .toi-social-intro{font-size:15px;line-height:1.85;color:#665a4b;margin:0}
body.page-id-10 #toi-home-social .toi-social-vignette{display:block;width:112px;aspect-ratio:3/2;background:url("daily-reading-vignette-696.webp") center/contain no-repeat;pointer-events:none}
body.page-id-10 #toi-home-social[data-toi-social-refine="1"] .toi-social-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:16px;align-items:stretch}
body.page-id-10 #toi-home-social .toi-social-card{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;justify-content:normal;gap:12px;min-width:0;min-height:44px;padding:20px 18px;border:1px solid #c9b69b;border-top:2px solid #a67948;background:#f8f4ec;color:#4b3c2e;text-align:left;text-decoration:none;box-shadow:0 4px 15px #49331c06}
body.page-id-10 #toi-home-social .toi-social-symbol{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #d8c8b0;background:#f1e8d9;color:#805e36;font:500 15px/1 Georgia,serif}
body.page-id-10 #toi-home-social .toi-social-card-body{display:flex;flex-direction:column;gap:7px;min-width:0;height:100%}
body.page-id-10 #toi-home-social .toi-social-card-title{font-size:18px;font-weight:500;line-height:1.6;color:#352d23;overflow-wrap:anywhere}
body.page-id-10 #toi-home-social .toi-social-card-copy{font-size:14px;line-height:1.85;color:#665a4b}
body.page-id-10 #toi-home-social .toi-social-card-cta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:5px;font-size:13px;line-height:1.7;color:#735a39;text-decoration:underline;text-underline-offset:.25em}
body.page-id-10 #toi-home-social .toi-social-card:hover{background:#f1e8d9}
body.page-id-10 #toi-home-social .toi-social-card:focus-visible{outline:3px solid #825b2d;outline-offset:4px}
@media(max-width:767px){
 body.page-id-10 #toi-home-social[data-toi-social-refine="1"]{margin:0 20px 36px;padding:24px 0 8px}
 body.page-id-10 #toi-home-social .toi-social-header{grid-template-columns:minmax(0,1fr) 76px;gap:12px;margin-bottom:18px}
 body.page-id-10 #toi-home-social .toi-social-heading{font-size:22px;line-height:1.6;letter-spacing:.025em;margin-bottom:7px}
 body.page-id-10 #toi-home-social .toi-social-intro{font-size:14px;line-height:1.8}
 body.page-id-10 #toi-home-social .toi-social-vignette{width:76px;background-image:url("daily-reading-vignette-348.webp")}
 body.page-id-10 #toi-home-social[data-toi-social-refine="1"] .toi-social-links{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;gap:12px}
 body.page-id-10 #toi-home-social .toi-social-card{padding:16px 15px;gap:10px}
 body.page-id-10 #toi-home-social .toi-social-card-title{font-size:17px;line-height:1.6}
}
@media(max-width:359px){
 body.page-id-10 #toi-home-social .toi-social-heading{font-size:20px}
 body.page-id-10 #toi-home-social .toi-social-header{grid-template-columns:minmax(0,1fr) 64px;gap:10px}
 body.page-id-10 #toi-home-social .toi-social-vignette{width:64px}
 body.page-id-10 #toi-home-social .toi-social-card{grid-template-columns:24px minmax(0,1fr);padding:15px 13px}
 body.page-id-10 #toi-home-social .toi-social-symbol{width:24px;height:24px;font-size:14px}
}
@media(prefers-reduced-motion:reduce){body.page-id-10 #toi-home-social .toi-social-card{transition:none}}
