/* ==========================================================================
   News: article cards, article page, news index (MacRumors-style list)
   ========================================================================== */

.acard { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s var(--ease); min-width: 0; height: 100%; }
.acard:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 10px 34px rgba(0,0,0,.12); }
.acard__cover {
  aspect-ratio: 16 / 9; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, #fff), color-mix(in srgb, var(--accent) 38%, var(--paper-2)));
}
.acard__cover img { width: 100%; height: 100%; object-fit: cover; }
.acard__cover img.acard__art { object-fit: contain; width: auto; max-width: 70%; height: 86%; filter: drop-shadow(0 14px 18px rgba(0,0,0,.2)); transition: transform .5s var(--ease); }
.acard:hover .acard__art { transform: scale(1.05) translateY(-2px); }
.acard__glyph { font-size: 88px; font-weight: 800; color: rgba(255,255,255,.75); letter-spacing: -.04em; text-shadow: 0 6px 30px rgba(0,0,0,.12); }
.acard__body { padding: 16px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.acard__meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--text-3); }
.acard__section { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.acard h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.012em; }
.acard p { margin: 0; font-size: 15px; color: var(--text-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acard--large { height: auto; }
.acard--large .acard__cover { aspect-ratio: 16 / 10; }
.acard--large h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -.02em; }
.acard--large p { font-size: 17px; -webkit-line-clamp: 4; }
.acard--large .acard__body { padding: 22px 28px 30px; gap: 8px; }
.acard--row { flex-direction: row; align-items: center; border-radius: 14px; height: auto; background: transparent; }
.acard--row:hover { background: #fff; }
.acard--row .acard__cover { width: 120px; aspect-ratio: 4 / 3; flex: none; border-radius: 12px; }
.acard--row .acard__art { max-width: 80%; }
.acard--row .acard__glyph { font-size: 36px; }
.acard--row .acard__body { padding: 8px 14px; }
.acard--row h3 { font-size: 16px; line-height: 1.25; }

/* news index: list layout */
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .news-layout { grid-template-columns: 1fr; } }
.newsheading { margin-bottom: 18px; }
.newsheading h1 { font-size: 40px; line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.newsheading p { margin: 6px 0 0; }
.newsitem { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line-soft); color: var(--text); }
.newsitem:first-child { padding-top: 0; }
.newsitem__cover { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, #fff), color-mix(in srgb, var(--accent) 38%, var(--paper-2))); align-self: start; }
.newsitem__cover:hover { text-decoration: none; }
.newsitem__cover img { width: 100%; height: 100%; object-fit: cover; }
.newsitem__cover img.art { object-fit: contain; width: 80%; height: 86%; filter: drop-shadow(0 10px 14px rgba(0,0,0,.2)); }
.newsitem .acard__glyph { font-size: 56px; }
.newsitem h2 { font-size: 28px; line-height: 1.15; letter-spacing: -.018em; margin: 0 0 6px; }
.newsitem h2 a { color: var(--text); transition: color .2s; }
.newsitem h2 a:hover { color: var(--link); text-decoration: none; }
.newsitem .acard__meta { margin-bottom: 12px; }
.newsitem .acard__section:hover { text-decoration: underline; }
.newsitem__text p { color: var(--text-2); margin: 0 0 12px; font-size: 17px; line-height: 1.5; }
.newsitem__text a { color: var(--link); }
.newsitem__foot { display: flex; gap: 8px 10px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--text-3); margin-top: 4px; }
.newsitem__foot a { color: inherit; }
.newsitem__foot a.chip { color: var(--text); }
.newsitem__foot a.newsitem__more { color: var(--link); font-size: 15px; font-weight: 600; margin-right: 6px; }
.newsitem__foot a:hover { text-decoration: underline; }
@media (max-width: 640px) { .newsitem { grid-template-columns: 1fr; gap: 14px; } .newsitem__cover { aspect-ratio: 16 / 9; } .newsitem h2 { font-size: 24px; } }
.sidebox { background: var(--bg-alt); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.sidebox h3 { font-size: 17px; margin-bottom: 12px; }
.sidebox .acard--row { padding: 6px; margin: 0 -6px; }
.sidebox .acard--row:hover { background: #fff; }
.sidelist { list-style: none; margin: 0; padding: 0; }
.sidelist li { border-top: 1px solid var(--line); }
.sidelist li:first-child { border-top: 0; }
.sidelist a { display: flex; justify-content: space-between; padding: 9px 0; color: var(--text); font-size: 15px; }
.sidelist a.is-active { font-weight: 700; }
.sidelist small { color: var(--text-3); }
.sectiontabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.sectiontabs a { padding: 8px 16px; border-radius: 980px; background: var(--paper-2); color: var(--text); font-size: 14px; font-weight: 500; }
.sectiontabs a:hover { text-decoration: none; background: #e6dccb; }
.sectiontabs a.is-active { background: var(--text); color: #fff; }

/* article page */
.article-head { text-align: center; padding: 56px 0 28px; }
.article-head .acard__section { font-size: 13px; }
.article-head h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.07; letter-spacing: -.02em; margin: 10px auto 14px; max-width: 880px; }
.article-head .deck { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; color: var(--text-2); max-width: 760px; margin: 0 auto 16px; font-weight: 400; }
.byline { display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 14px; color: var(--text-3); flex-wrap: wrap; }
.byline img { width: 28px; height: 28px; border-radius: 50%; }
.article-cover { width: min(980px, calc(100% - 48px)); margin: 8px auto 36px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, #fff), color-mix(in srgb, var(--accent) 40%, #f0f0f4)); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover img.art { object-fit: contain; width: auto; max-width: 62%; height: 88%; filter: drop-shadow(0 24px 30px rgba(0,0,0,.2)); }
.article-cover .acard__glyph { font-size: 160px; }
.article-body { padding-bottom: 36px; }
.rumor-note { background: #f5ecff; color: #4b2a85; border-radius: 14px; padding: 14px 18px; font-size: 15px; margin-bottom: 28px; }
.source-box { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; font-size: 15px; margin: 8px 0 28px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tagrow { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.tagrow a { background: var(--paper-2); color: #424245; }
.tagrow a:hover { background: #e6dccb; text-decoration: none; }
.related-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 8px 0 28px; }
.related-products a { display: flex; gap: 10px; align-items: center; background: var(--bg-alt); border-radius: 14px; padding: 8px 12px; color: var(--text); font-size: 14px; font-weight: 500; }
.related-products a:hover { text-decoration: none; background: var(--paper-2); }
.related-products img { width: 56px; height: 44px; object-fit: contain; flex: none; }
.share { display: flex; gap: 8px; align-items: center; margin: 28px 0; font-size: 14px; color: var(--text-2); flex-wrap: wrap; }

/* comments */
.comments { border-top: 1px solid var(--line); padding-top: 36px; margin-top: 12px; }
.comments h2 { font-size: 28px; margin-bottom: 20px; }
.comment { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.comment img { width: 40px; height: 40px; border-radius: 50%; }
.comment__head { font-size: 14px; color: var(--text-3); margin-bottom: 4px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.comment__head strong { color: var(--text); font-size: 15px; }
.comment__body { font-size: 16px; line-height: 1.5; }
.comment__body p { margin: 0 0 .6em; }
.comment form { display: inline; }
.link-btn { background: none; border: 0; color: var(--text-3); cursor: pointer; font-size: 13px; padding: 0; }
.link-btn:hover { color: var(--red); text-decoration: underline; }
