/* Diaspora Media: news from home in the style of a TV channel's site. Charcoal, white type, gold, Fira Sans. */
:root { --wrap: 1240px; --bg: #111418; --pn: #1b1f25; --ln: #2a2f37; --gd: #f2b705; --tx: #e9e9e9; --g: #9aa1ab; --fc: "Fira Sans Condensed", "Arial Narrow", sans-serif; --fs: "Fira Sans", Arial, sans-serif; --paper: #1b1f25; --line: #2a2f37; --ink: #e9e9e9; }
body { background: var(--bg); color: var(--tx); font: 16px/1.55 var(--fs); }
/* @logo Diaspora Media: a gold TV-channel box with DM, DIASPORA and MEDIA stacked in spaced capitals */
.rt-logo { display: inline-grid; grid-template-columns: auto auto; column-gap: .34em; align-items: center; font-size: 26px; }
.rt-logo .lg-m { grid-row: span 2; background: #f2b705; color: #111; font: 800 1.12em/1 "Fira Sans Condensed", "Arial Narrow", sans-serif; letter-spacing: .02em; padding: .2em .3em .16em; border-radius: .12em; }
.rt-logo .lg-a { font: 700 .6em/1 "Fira Sans Condensed", "Arial Narrow", sans-serif; letter-spacing: .24em; color: #fff; align-self: end; }
.rt-logo .lg-b { font: 400 .6em/1 "Fira Sans", Arial, sans-serif; letter-spacing: .44em; color: #f2b705; align-self: start; padding-top: .22em; }
/* @end-logo */
a:hover b, a:hover h2 { color: var(--gd); }


/* Header */
.dm-head { background: #0b0d10; border-bottom: 2px solid var(--gd); position: sticky; top: 0; z-index: 100; }
.dm-head .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.dm-head .nav { flex: 1; }
.dm-head .nav > ul { gap: 0 4px; }
.dm-head .nav a { color: #d8d8d8; font: 700 15px/1 var(--fc); text-transform: uppercase; letter-spacing: .4px; padding: 24px 10px; }
.dm-head .nav a:hover, .dm-head .nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--gd); }
.dm-time { font: 600 13px/1 var(--fc); color: var(--g); text-transform: uppercase; white-space: nowrap; }
.dm-time b { color: var(--gd); font-size: 16px; }
.dm-head .icon-btn { color: #fff; }
.dm-head .search-bar { background: #0b0d10; border-top: 1px solid var(--ln); }
.dm-head .search-bar input { background: var(--pn); border-color: var(--ln); color: #fff; }
.btn { background: var(--gd); color: #111; }

/* Common */
.dm-k { display: block; font: 700 12px/1 var(--fc); text-transform: uppercase; letter-spacing: .6px; color: var(--gd); margin-bottom: 6px; }
.dm-h { font: 800 22px/1 var(--fc); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 16px; border-bottom: 1px solid var(--ln); }
.dm-h span, .dm-h a { display: inline-block; padding-bottom: 9px; border-bottom: 3px solid var(--gd); margin-bottom: -2px; }
.dm-h a:hover { color: var(--gd); }
.dm-sec { margin-top: 40px; }
.thumb, .thumb.noimg { background: var(--pn); }

/* Hero: the main story over its photo, three more beside it */
.dm-hero { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 0; margin-top: 22px; background: var(--pn); }
.dm-lead { position: relative; min-height: 480px; background: #222 center / cover no-repeat; display: flex; align-items: flex-end; }
.dm-lead::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.88)); }
.dm-lead-text { position: relative; padding: 28px 30px; display: grid; gap: 6px; }
.dm-lead h2 { font: 800 42px/1.04 var(--fc); color: #fff; letter-spacing: -.3px; }
.dm-lead time { font-size: 13px; color: #cfcfcf; }
.dm-side { padding: 6px 18px; }
.dm-side .dm-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
.dm-side .dm-row .thumb { display: none; }
.dm-side .dm-row b { font-size: 20px; }

/* Rows of four */
.dm-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
.dm-card { display: grid; gap: 6px; align-content: start; }
.dm-card .thumb { aspect-ratio: 16 / 9; margin-bottom: 4px; }
.dm-card time { font: 600 12px/1 var(--fc); color: var(--gd); text-transform: uppercase; }
.dm-card b { font: 700 18px/1.22 var(--fs); color: #fff; }

/* List rows */
.dm-row { display: grid; grid-template-columns: 160px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ln); }
.dm-row .thumb { aspect-ratio: 16 / 10; }
.dm-row > span { display: grid; gap: 4px; align-content: start; }
.dm-row b { font: 700 17px/1.25 var(--fs); color: #fff; }
.dm-sum { color: var(--g); font-size: 14px; }
.dm-row time { font-size: 12px; color: var(--g); }

/* Archives */
.archive-head h1, .archive-head .section-title { font: 800 34px/1.05 var(--fc); text-transform: uppercase; color: #fff; padding-bottom: 10px; border-bottom: 3px solid var(--gd); display: inline-block; }
.side-col .box h2 { font: 800 18px/1 var(--fc); text-transform: uppercase; color: #fff; border-bottom: 3px solid var(--gd); padding-bottom: 6px; display: inline-block; }
.latest a { display: block; padding: 9px 0; border-bottom: 1px solid var(--ln); font-size: 14px; color: #ddd; }
.latest time { color: var(--gd); margin-right: 6px; }
.crumbs { color: var(--g); }
.page-numbers { border-color: var(--ln); }
.page-numbers.current { background: var(--gd); color: #111; border-color: var(--gd); }

/* Article */
.dm-art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; margin-top: 28px; align-items: start; }
.dm-article h1 { font: 800 44px/1.05 var(--fc); color: #fff; margin: 4px 0 14px; letter-spacing: -.3px; }
.dm-deck { font: 400 20px/1.45 var(--fs); color: #cfcfcf; margin: 0 0 16px; }
.dm-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--g); padding: 10px 0; border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); margin-bottom: 20px; }
#share.dm-share a, #share.dm-share button { background: var(--pn); color: var(--gd); }
.dm-fig figcaption { font-size: 13px; color: var(--g); padding-top: 6px; }
.dm-article .prose { font: 18px/1.7 var(--fs); color: #d9d9d9; margin-top: 20px; }
.dm-article .prose a { color: var(--gd); }
.dm-article .prose h2 { color: #fff; font: 700 26px/1.2 var(--fc); }
.dm-four-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dm-art-side { position: sticky; top: 80px; }
.dm-art-side .dm-row { grid-template-columns: 100px 1fr; }
.dm-art-side .dm-sum { display: none; }
.dm-art-side .dm-row b { font-size: 15px; }

/* Footer */
.dm-foot { background: #0b0d10; border-top: 2px solid var(--gd); margin-top: 60px; padding: 28px 0 22px; color: var(--g); font-size: 13px; }
.dm-foot-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.dm-foot-topics { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.dm-foot-topics a { font: 700 14px/1 var(--fc); text-transform: uppercase; color: #ddd; }
.dm-foot-small { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ln); justify-content: space-between; }
.dm-foot-small p { margin: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.dm-foot a:hover { color: var(--gd); }

.rt-soon b { font: 800 34px/1.05 var(--fc); text-transform: uppercase; color: #fff; }
.rt-soon span { color: var(--g); }

@media (max-width: 1100px) { .dm-time { display: none; } }
@media (max-width: 960px) {
  .dm-head .header-actions { margin-left: auto; }
  .nav { background: #111418; color: #eee; }
  .nav a, .nav .dd-btn { color: #eee !important; }
  .nav > ul > li { border-bottom-color: #2a2f37; }
  .nav-close { color: #eee; }
  .dm-hero, .dm-art-grid { grid-template-columns: 1fr; }
  .dm-lead { min-height: 360px; }
  .dm-four { grid-template-columns: 1fr 1fr; }
  .dm-art-side { position: static; }
}
@media (max-width: 640px) {
  .dm-lead { min-height: 300px; }
  .dm-lead h2 { font-size: 29px; }
  .dm-lead-text { padding: 18px; }
  .dm-four { gap: 18px 12px; }
  .dm-card b { font-size: 15px; }
  .dm-article h1 { font-size: 31px; }
  .dm-row { grid-template-columns: 110px 1fr; }
  .dm-row .dm-sum { display: none; }
}

/* Logo placement */
@media (max-width: 640px) { .dm-head .rt-logo { font-size: 21px; } }
