/* Tesla Today magazine (tescamstudio.com/news). Sits on site.css: black
   background, Inter, the site's tokens; serif display type for the
   magazine feel, the same rhythm as the app's magazine view. */
.news-wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 80px; font-size: 17px; line-height: 1.6; color: var(--t1);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --cardbg: rgba(255,255,255,.04); --dim: var(--t2); --gold: #f0c15c; --blue2: #6b99ff; }
.news-wrap a { color: var(--blue2); }
.news-wrap .mast { text-align: center; padding: 40px 0 18px; border-bottom: 3px double var(--stroke-2); }
.news-wrap .mast .kicker { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--t3); }
.news-wrap .mast h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(44px, 9vw, 72px); letter-spacing: -.02em; line-height: 1; margin: 8px 0 12px; color: var(--t1); }
.news-wrap .mast .line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; font-size: 13px; color: var(--dim); }
.news-wrap .cover { display: block; color: inherit; text-decoration: none; margin: 22px -16px 0; }
.news-wrap .cover .img { aspect-ratio: 16/9; background: #000 center/cover no-repeat; }
.news-wrap .cover .txt { padding: 16px 16px 0; }
.news-wrap .cover h2 { font-family: var(--serif); font-size: clamp(30px, 6vw, 46px); line-height: 1.08; letter-spacing: -.015em; margin: 8px 0 10px; }
.news-wrap .cover p { color: var(--t2); font-size: 18px; }
.news-wrap .cat { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.news-wrap .chip { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(240,193,92,.16); color: var(--gold); vertical-align: 2px; }
.news-wrap .toc { margin: 28px 0 8px; padding: 16px 18px; background: var(--cardbg); border: 1px solid var(--stroke); border-radius: 14px; }
.news-wrap .toc h3 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--t3); margin-bottom: 8px; font-weight: 600; }
.news-wrap .toc ol { padding-left: 22px; font-family: var(--serif); font-size: 17px; line-height: 1.45; }
.news-wrap .toc li { padding: 3px 0; }
.news-wrap .toc a { color: var(--t1); text-decoration: none; }
.news-wrap .toc a:hover { color: var(--blue2); }
.news-wrap article { padding: 34px 0 10px; border-top: 1px solid var(--stroke); }
.news-wrap article:first-of-type { border-top: 0; }
.news-wrap .num { font-family: var(--serif); font-size: 14px; color: var(--t3); margin-right: 10px; }
.news-wrap article h2 { font-family: var(--serif); font-size: clamp(26px, 4.6vw, 34px); line-height: 1.12; letter-spacing: -.012em; margin: 8px 0 8px; font-weight: 700; }
.news-wrap article h2 a { color: inherit; text-decoration: none; }
.news-wrap .dek { color: var(--t2); font-size: 18px; margin-bottom: 14px; }
.news-wrap figure { margin: 0 0 14px; }
.news-wrap figure img { width: 100%; height: auto; border-radius: 12px; display: block; background: #000; }
.news-wrap figcaption { font-size: 12px; color: var(--t3); margin-top: 5px; }
@media (min-width: 720px) { .news-wrap figure.side { float: right; width: 46%; margin: 6px 0 10px 22px; } }
.news-wrap .body p { margin: 0 0 14px; }
.news-wrap .body p:first-child::first-letter { font-family: var(--serif); font-size: 2.6em; line-height: .9; float: left; padding: 5px 7px 0 0; }
.news-wrap .why { clear: both; margin: 14px 0; padding: 12px 16px; border-left: 3px solid var(--red-glow); background: rgba(230,57,70,.08); border-radius: 0 12px 12px 0; }
.news-wrap .why b { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #ff8d96; display: block; margin-bottom: 3px; }
.news-wrap blockquote { margin: 16px 0; padding: 0 0 0 18px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 21px; line-height: 1.35; }
.news-wrap blockquote cite { display: block; font-family: var(--inter); font-style: normal; font-size: 13px; color: var(--dim); margin-top: 6px; }
.news-wrap .facts { margin: 12px 0; padding: 14px 16px 14px 34px; background: var(--cardbg); border: 1px solid var(--stroke); border-radius: 14px; font-size: 15px; }
.news-wrap .facts li { margin: 4px 0; }
.news-wrap .facts sup a, .news-wrap .srcs sup { color: var(--blue2); text-decoration: none; font-size: 11px; }
.news-wrap .x { display: block; margin: 10px 0; padding: 12px 14px; background: var(--cardbg); border: 1px solid var(--stroke); border-radius: 14px; color: var(--t1); text-decoration: none; font-size: 15px; }
.news-wrap .x b { display: block; font-size: 13px; color: var(--dim); margin-bottom: 3px; }
.news-wrap .x:hover { border-color: rgba(107,153,255,.5); }
.news-wrap .srcs { margin-top: 14px; font-size: 13px; color: var(--dim); line-height: 1.7; }
.news-wrap .srcs a { color: var(--dim); }
.news-wrap .srcs a:hover { color: var(--t1); }
.news-wrap .srcs .s { white-space: nowrap; margin-right: 10px; }
.news-wrap .foot-note { margin-top: 40px; padding-top: 20px; border-top: 3px double var(--stroke-2); color: var(--dim); font-size: 13px; }
.news-wrap .foot-note h3 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; margin: 18px 0 8px; color: var(--t3); font-weight: 600; }
.news-wrap .foot-note ul { list-style: none; padding: 0; }
.news-wrap .foot-note li { padding: 3px 0; }
.news-wrap .foot-note li a { color: var(--t1); text-decoration: none; }
.news-wrap .foot-note li span { color: var(--dim); margin-left: 8px; }
.news-wrap .news-empty { text-align: center; padding: 60px 0; color: var(--dim); }
.news-wrap .news-stg { margin: 18px -16px 0; padding: 10px 16px; background: rgba(240,193,92,.12); color: var(--gold); font-size: 13px; text-align: center; }
/* More from today: stories 6+ as a compact list that opens in place. */
.news-wrap .more { margin-top: 34px; padding-top: 24px; border-top: 3px double var(--stroke-2); }
.news-wrap .more h3 { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--t3); font-weight: 600; margin-bottom: 10px; }
.news-wrap .more-all { font: inherit; letter-spacing: .08em; text-transform: none; color: var(--blue2); background: none; border: 0; cursor: pointer; padding: 4px 0; }
.news-wrap .more-story { margin: 10px 0; background: var(--cardbg); border: 1px solid var(--stroke); border-radius: 14px; }
.news-wrap .more-story summary { display: flex; align-items: center; gap: 14px; padding: 12px 14px; cursor: pointer; list-style: none; }
.news-wrap .more-story summary::-webkit-details-marker { display: none; }
.news-wrap .more-story .thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 12px; background: #000 center/cover no-repeat; }
.news-wrap .more-story .t { flex: 1; min-width: 0; }
.news-wrap .more-story .t b { display: block; font-family: var(--serif); font-size: 19px; line-height: 1.25; font-weight: 700; margin-top: 3px; color: var(--t1); }
.news-wrap .more-story .chev { color: var(--t3); font-size: 18px; transition: transform .2s; }
.news-wrap .more-story[open] .chev { transform: rotate(180deg); }
.news-wrap .more-story[open] summary { border-bottom: 1px solid var(--stroke); }
.news-wrap .more-story article { border-top: 0; padding: 8px 14px 18px; }
.news-wrap .more-story article h2 { font-size: clamp(22px, 4vw, 28px); }

/* Shared story (/news/<edition>/<n>): the story leads, then the edition. */
.shared-note{font-size:13px;color:var(--dim,#9a9aa5);margin:18px 0 10px}
.shared-note a{color:inherit;text-decoration:underline}
.news-wrap h3.also{margin:40px 0 8px;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--dim,#9a9aa5)}
