/* Homepage topics: scoped addition, using the existing navy, gold and ivory palette. */
.s77-topics{background-color:var(--n);background-image:linear-gradient(180deg,var(--iv) 0%,#e6e8e5 24%,#8195a4 58%,#18354f 82%,var(--n) 100%)}
.s77-topics-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}
.s77-topics-heading h2{margin:12px 0}.s77-topics-heading .s77-eyebrow{margin:0}
.s77-topics-more{flex-shrink:0;display:inline-flex;align-items:center;gap:18px;min-height:44px;color:var(--ink);font-size:14px;text-decoration:none;border-bottom:1px solid #d6a55088}
.s77-topics-preview{font-size:12px;line-height:1.6;color:var(--m);margin:18px 0 24px}
.s77-topics-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:42px;align-items:stretch}
.s77-topic-feature{display:flex;flex-direction:column;justify-content:flex-start;gap:0;padding:0;border-radius:20px;background:#fffdf8;color:var(--ink);min-width:0;overflow:hidden;border:1px solid #0c234314}
.s77-topic-kicker{margin:0 0 16px;font-size:12px;line-height:1.7;color:#947034;letter-spacing:.08em}.s77-topic-kicker span{color:var(--m);letter-spacing:0}
.s77-topic-feature h3{font-family:"Songti SC",STSong,serif;font-size:26px;line-height:1.5;font-weight:600;margin:0 0 14px;overflow-wrap:anywhere}
.s77-topic-feature h3 a{color:inherit;text-decoration:none}
.s77-topic-feature-summary{margin:0;color:var(--m);font-size:15px;line-height:1.9}
.s77-topic-feature-bottom{border-top:1px solid #0c23431c;margin:0 28px 24px;margin-top:auto;padding-top:18px}
.s77-topic-feature-bottom>p:first-child{font-size:12px;letter-spacing:.12em;color:#947034;margin:0 0 8px}
.s77-topic-feature-bottom>p:nth-child(2){font-size:15px;line-height:1.8;margin:0 0 10px}
.s77-topic-feature-bottom>a{display:inline-flex;min-height:44px;align-items:center;gap:34px;color:var(--ink);text-decoration:none;font-size:14px}
.s77-topic-selection{min-width:0;background:#fffdf8;border:1px solid #0c234314;border-radius:20px;padding:24px 28px}.s77-topic-selection-label{color:var(--m);font-size:12px;letter-spacing:.12em;margin:0 0 8px}
.s77-topic-list{list-style:none;padding:0;margin:0}.s77-topic-item{display:grid;grid-template-columns:24px minmax(0,1fr) 16px;gap:12px;padding:18px 0;border-bottom:1px solid #0c23431c;align-items:start}.s77-topic-item:last-child{border-bottom:0;padding-bottom:0}
.s77-topic-number{color:#947034;font-size:12px;line-height:1.8;font-variant-numeric:tabular-nums}.s77-topic-category{font-size:11px;line-height:1.8;color:var(--m);margin:0 0 4px}
.s77-topic-item h3{font-size:18px;line-height:1.6;font-weight:600;margin:0;overflow-wrap:anywhere}.s77-topic-item h3 a{display:block;color:var(--ink);text-decoration:none;min-height:44px}
.s77-topic-summary{font-size:13px;line-height:1.8;color:var(--m);margin:4px 0 0}.s77-topic-arrow{font-size:18px;color:#947034;padding-top:24px}
.s77-topics a:hover{text-decoration:underline;text-underline-offset:5px}.s77-topics a:focus-visible{outline:3px solid var(--g);outline-offset:5px;border-radius:3px}
@media(max-width:900px){.s77-topics-grid{gap:26px}.s77-topic-feature-copy{padding:24px}.s77-topic-feature h3{font-size:26px}}
@media(max-width:640px){.s77-topics-heading{align-items:flex-start;gap:16px}.s77-topics-more{font-size:13px;gap:8px;margin-top:24px}.s77-topics-heading .s77-lead{font-size:14px}.s77-topics-grid{grid-template-columns:minmax(0,1fr);gap:28px}.s77-topic-feature{padding:0;gap:0;border-radius:16px}.s77-topic-kicker{margin-bottom:18px}.s77-topic-feature h3{font-size:25px}.s77-topic-item{gap:10px;padding:16px 0}.s77-topic-item h3{font-size:17px}.s77-topics-preview{margin-top:16px}}

/* Landscape cover sits inside the original portrait card; never stretch the image. */
.s77-topic-cover{position:relative;margin:0;flex:none;background:#e9e3d8;border-radius:16px;overflow:hidden}
.s77-topic-cover img{display:block;width:100%;height:auto;aspect-ratio:3/2}
.s77-topic-cover figcaption{position:absolute;right:12px;bottom:10px;font-size:10px;line-height:1.5;color:#34445b;background:#fffdf8e8;padding:3px 7px;border-radius:3px}
.s77-topic-feature-copy{padding:26px 28px 24px}
@media(max-width:640px){.s77-topic-feature-copy{padding:24px}.s77-topic-feature-bottom{margin-inline:24px;margin-bottom:24px}.s77-topic-feature h3{font-size:23px}}

@media(max-width:640px){.s77-topic-selection{padding:22px 20px;border-radius:16px}}

/* Mobile overview: one featured story followed by five readable title links. */
@media(max-width:640px){
  .s77-section.s77-topics{padding:24px 0;background-image:linear-gradient(180deg,var(--iv) 0,#e6e8e5 90px,#18354f 220px,var(--n) 100%)}
  .s77-topics-heading{align-items:center;gap:12px;margin-bottom:12px}
  .s77-topics,.s77-topics p,.s77-topics a,.s77-topics span{font-weight:400}
  .s77-topics-heading .s77-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:400}
  .s77-topics-heading h2{font-size:30px;margin:4px 0;line-height:1.2;font-weight:400}
  .s77-topics-heading .s77-lead{font-size:13px;line-height:1.5;margin:4px 0 0}
  .s77-topics-more{margin-top:0;font-size:12px;gap:6px;border:0}
  .s77-topics-preview{font-size:10px;margin:8px 0 10px;line-height:1.5}
  .s77-topics-grid{gap:0;background:transparent;border-radius:0;overflow:visible}
  .s77-topic-feature{border:0;border-radius:0;background:transparent;overflow:visible;color:#fffdf8}
  .s77-topic-cover img{height:auto;aspect-ratio:2.15/1;object-fit:cover;object-position:center 12%}
  .s77-topic-cover figcaption{right:8px;bottom:6px;font-size:9px;padding:2px 5px}
  .s77-topic-feature-copy{padding:12px 0 0}
  .s77-topic-kicker{font-size:10px;line-height:1.5;margin:0 0 5px;color:#edc784}
  .s77-topic-kicker span{color:#d6e0eb}
  .s77-topic-feature h3{font-size:19px;line-height:1.6;margin:0;text-wrap:pretty;font-weight:400}
  .s77-topic-feature-summary,.s77-topic-feature-bottom>p{display:none}
  .s77-topic-feature-bottom{display:flex;justify-content:flex-end;border:0;margin:0;padding:0}
  .s77-topic-feature-bottom>a{font-size:12px;min-height:44px;gap:14px;color:#fffdf8}
  .s77-topic-selection{padding:12px 0 10px;margin:0;border:0;border-radius:0;background:transparent}
  .s77-topic-selection-label{font-size:10px;line-height:1.5;margin:0 0 2px;color:#d6e0eb}
  .s77-topic-item{grid-template-columns:18px minmax(0,1fr) 12px;gap:7px;padding:6px 0;align-items:center;border:0}
  .s77-topic-item:last-child{padding-bottom:0}
  .s77-topic-number{font-size:10px;color:#edc784}
  .s77-topic-category,.s77-topic-summary{display:none}
  .s77-topic-item h3{font-size:15px;line-height:1.65;font-weight:400}
  .s77-topic-item h3 a{display:flex;align-items:center;min-height:44px;color:#fffdf8}
  .s77-topic-arrow{font-size:14px;padding:0;color:#edc784}
}
