/* EnglishRussia — close to the 2015 theme */

/* Oswald (SIL Open Font License, fonts/OFL-Oswald.txt), served from this site: no visitor data goes to Google */
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(fonts/oswald-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(fonts/oswald-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(fonts/oswald-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #dbd7cc;
  --text: #000002;
  --muted: #565658;
  --line: #77756f;
  --red: #b63b34;
  --gold: #f6e45a;
  --gold-2: #e1d0a4;
  --link: #3c6592;
  --stamp: #4b5f86;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font: 13px/1.35 Tahoma, Verdana, sans-serif; color: var(--muted); background: #fff; }
a { color: #777; }
a:hover { text-decoration: none; }
img { display: block; border: 0; margin: 0 auto; max-width: 100%; height: auto; }
.clear { clear: both; }

#wrapper { width: 1250px; max-width: 100%; margin: 0 auto; }

/* ---------- masthead (original graphics) ---------- */
#masthead {
  position: relative; height: 139px; display: flex; align-items: stretch; padding: 0 9px;
  background: url(img/header_bg.jpg) center top no-repeat, #d8402a; overflow: hidden;
}
.edition {
  width: 173px; margin-top: 12px; height: 118px; color: var(--gold); text-align: center;
  font: 9px/11px Tahoma, sans-serif; border-bottom: 2px double rgba(246,228,90,.7);
}
.edition .ed-title {
  display: block; font: italic bold 14px Georgia, "Times New Roman", serif; letter-spacing: 3px; padding-bottom: 3px;
}
.edition.second { margin-left: 5px; }
.edition.second .ed-title { font-size: 11px; letter-spacing: normal; }
.star { width: 130px; flex: none; }
.star img { margin: 0; }
.logo { flex: none; width: 443px; margin: 6px 5px 0; text-align: center; text-decoration: none; }
.logo .since { display: block; font: bold 10px Tahoma, sans-serif; letter-spacing: 5px; color: var(--gold); margin: 1px 0 4px; }
.inform { flex: 1; text-align: center; color: #fdd655; font: 11px Georgia, serif; padding-top: 22px; }
.inform .daily { font-weight: bold; font-size: 12px; margin: 1px 0; }
.inform .date { margin: 0 0 14px; }
.kofi {
  display: inline-block; padding: 4px 12px; text-decoration: none; font: bold 12px Tahoma, sans-serif;
  color: #5a3113; background: linear-gradient(#fff2a8, #f0c23a); border: 1px solid #a8701a;
}
.kofi:hover { background: linear-gradient(#fffbd0, #ffd75a); }

/* ---------- container + menu ---------- */
#container {
  width: 1232px; max-width: 100%; margin: 0 auto; background: var(--paper);
  display: grid; grid-template-columns: minmax(0,1fr) 128px 303px; align-items: start;
  box-shadow: -5px 0 6px -5px rgba(0,0,0,.4), 5px 0 6px -5px rgba(0,0,0,.4);
}
/* colours sampled from the original header-menu.png */
.top_menu {
  grid-column: 1 / -1; height: 25px; display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(#e590a3 0 1px, #b53a23 1px, #6c1903 calc(100% - 1px), #491d26 calc(100% - 1px));
}
.top_menu ul { display: flex; margin: 0; padding: 0; list-style: none; }
.top_menu li { padding: 3px 30px; border-right: 1px solid #6b1d35; }
.top_menu a { color: var(--gold-2); text-decoration: none; font-size: 12px; }
.top_menu a:hover { color: #f8d94a; }
.sbox { display: flex; margin-right: 8px; }
.sbox input { width: 180px; height: 18px; border: 1px solid #2a0710; border-radius: 9px 0 0 9px; padding: 0 8px; background: #5a1a2c; color: #dacda0; font-size: 11px; }
.sbox input::placeholder { color: #b99f8a; }
.sbox button { height: 18px; border: 1px solid #2a0710; border-left: 0; border-radius: 0 9px 9px 0; background: #7a2a3c; color: var(--gold-2); cursor: pointer; font-size: 11px; }
.dels { grid-column: 1 / -1; height: 18px; }

#content { grid-column: 1; border-right: 1px dotted #9a968c; }
#text { padding: 0 16px 10px; text-align: center; }
.fix_lr_box { display: contents; }
#left { grid-column: 2; padding: 15px 6px 10px 8px; border-right: 1px dotted #9a968c; align-self: stretch; }
#right { grid-column: 3; padding: 0 8px 10px 10px; }

/* ---------- posts ---------- */
.post { max-width: 766px; margin: 0 auto; padding: 30px 0 34px; position: relative; }
.post + .post { border-top: 1px solid #b5b1a6; box-shadow: 0 -1px 0 #ece9e1; }
.post + .post::before {
  content: "★"; position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  background: var(--paper); padding: 0 10px; color: #9a968c; font-size: 12px;
}
.pic { position: relative; display: inline-block; max-width: 100%; }
.post_pic { margin-bottom: 7px; }
.title_post { padding: 5px 0 10px; position: relative; }
.entry-title { margin: 0 auto 14px; width: 86%; }
.entry-title, .entry-title a {
  font: 600 22px/1.15 Oswald, "Arial Narrow", sans-serif; text-transform: uppercase; letter-spacing: 1px;
  color: #4a4a4c; text-decoration: none; text-shadow: 0 1px 0 #f2efe6;
}
h1.entry-title { font-size: 28px; }
.entry-title a:hover { color: var(--red); }
.linest { position: relative; padding: 0 20px; text-align: center; background: linear-gradient(var(--line), var(--line)) repeat-x 0 50% / 100% 1px; }
.white { background: var(--paper); padding: 0 10px; display: inline-block; color: #000; font-size: 12px; }
.white a { color: #000; text-decoration: none; font-size: 12px; }
.white a:hover { color: var(--red); }
.cat-label { color: #77756f; margin: 0 3px 0 6px; }
.posted { color: var(--stamp); margin-left: 6px; font-style: italic; }
.posted time { font-style: normal; font-weight: bold; }
.fix_text { display: flex; justify-content: space-between; text-align: justify; margin: 10px 0; color: var(--text); line-height: 17px;
  background: linear-gradient(#9a968c, #9a968c) no-repeat 50% 0 / 1px 100%; }
.fix_text > div { width: 47%; }
.fix_text.single-col { display: block; background: none; text-align: center; }
.fix_text.single-col > div { width: auto; }
.more-link { float: right; color: var(--red); font-weight: bold; font-size: 12px; padding-right: 5px; }

/* ---------- archive / new markers ---------- */
.badge { display: inline-block; font: bold 10px/1 Tahoma, sans-serif; text-transform: uppercase; letter-spacing: 1px; padding: 3px 6px 2px; vertical-align: 1px; }
.badge-new { color: #fff3a6; background: linear-gradient(#d8402a, #9c1a0e); border: 1px solid #7a1608; }
.badge-review { color: #5a3113; background: #f6d64a; border: 1px solid #a8701a; }
.credit { font-size: 12px; text-align: center; margin-top: 20px; }
.credit a { color: #3c6592; font-size: 12px; }
.badge-archive { color: var(--stamp); border: 1px solid var(--stamp); background: rgba(255,255,255,.25); }
/* cover overlays */
.ribbon {
  position: absolute; top: 14px; right: -6px; padding: 5px 14px 5px 12px;
  font: 600 15px/1 Oswald, Impact, sans-serif; letter-spacing: 2px; color: #fff3a6;
  background: linear-gradient(#e5331d, #a8160b); box-shadow: 0 2px 4px rgba(0,0,0,.35);
}
.ribbon::after { /* folded corner */
  content: ""; position: absolute; right: 0; bottom: -6px; border: 3px solid #5a0a04; border-right-color: transparent; border-bottom-color: transparent;
}
.stamp {
  position: absolute; top: 14px; left: 14px; transform: rotate(-8deg);
  padding: 4px 10px 3px; text-align: center; color: rgba(214,224,245,.92);
  font: bold 18px/1 Georgia, serif; letter-spacing: 4px;
  border: 3px double rgba(214,224,245,.85); border-radius: 4px; background: rgba(40,55,90,.45);
  text-shadow: 0 1px 1px rgba(0,0,0,.5);
}
.stamp small { display: block; font: bold 8px Tahoma, sans-serif; letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }

/* ---------- single article ---------- */
.single .entry-content { text-align: left; }
.single .entry-content img { margin: 18px auto; }
.placeholder-note { text-align: center !important; font: italic bold 12px Georgia, serif; color: var(--red) !important; border: 1px dashed var(--red); padding: 6px; }
.single .entry-content p { color: var(--text); line-height: 17px; text-align: justify; margin: 4px 0 6px; }
.kind-note { font-size: 11px; color: #77756f; text-align: center; margin-top: 20px; font-style: italic; }
.is-new .kind-note { color: var(--red); font-style: normal; font-weight: bold; }
#nav-above { display: flex; justify-content: space-between; gap: 20px; border-top: 3px solid #545456; margin-top: 18px; padding-top: 10px; }
#nav-above a { color: #000; font-weight: bold; font-size: 13px; }

/* ---------- front page: how to read (order + show) ---------- */
.view-panel { max-width: 766px; margin: 16px auto 0; padding: 8px 0 12px; border-top: 3px solid #545456; border-bottom: 1px solid #b5b1a6; box-shadow: 0 1px 0 #ece9e1; }
.view-panel[hidden] { display: none; }
.view-rows { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 34px; margin-top: 8px; }
.view-group { display: flex; align-items: center; gap: 9px; }
.view-group .lbl { font: italic bold 12px Georgia, serif; color: #333132; }
.seg { display: inline-flex; border: 1px solid #6b1d35; box-shadow: 0 1px 0 #ece9e1; }
.seg button {
  font: 12px Tahoma, Verdana, sans-serif; color: #333132; padding: 4px 13px; margin: 0; border: 0; cursor: pointer;
  background: linear-gradient(#f4f1e9, #d1ccbf);
}
.seg button + button { border-left: 1px solid #9a968c; }
.seg button:hover { color: var(--red); }
.seg button[aria-pressed="true"] {
  color: #f8d94a; cursor: default;
  background: linear-gradient(#e590a3 0 1px, #b53a23 1px, #6c1903 calc(100% - 1px), #491d26 calc(100% - 1px));
}
.seg button:focus-visible { outline: 2px solid var(--stamp); outline-offset: 1px; }
.view-note { margin-top: 9px; font-size: 11px; font-style: italic; color: #77756f; }
.year-mark {
  max-width: 766px; margin: 30px auto 0; display: flex; align-items: center; gap: 16px;
  font: 600 26px/1 Oswald, "Arial Narrow", sans-serif; letter-spacing: 4px; color: var(--stamp); text-shadow: 0 1px 0 #f2efe6;
}
.year-mark::before, .year-mark::after { content: ""; flex: 1; height: 1px; background: #9a968c; box-shadow: 0 1px 0 #ece9e1; }
.year-mark.is-new { color: var(--red); font-size: 20px; letter-spacing: 3px; text-transform: uppercase; }
.year-mark + .post { padding-top: 18px; }

/* ---------- side columns ---------- */
.cat-title, .mline {
  font: italic bold 13px Georgia, serif; color: #333132; text-align: center; padding-bottom: 8px; margin-bottom: 6px;
  background: linear-gradient(var(--line), var(--line)) no-repeat 50% 100% / 70% 1px;
}
.cat { list-style: none; margin: 0; padding: 0; }
.cat li { border-top: 1px solid #646464; padding: 4px 0 4px 1px; }
.cat li:first-child { border: 0; }
.cat a { color: #333132; text-decoration: none; font-size: 12px; }
.cat a:hover { color: #c43d27; }
.side-box { margin: 15px 0 10px; padding: 8px 6px 10px; border-top: 3px solid #545456; }
.new-box { border-top-color: #b63b34; }
.new-box .mline { color: #b63b34; }
.arpw { list-style: none; margin: 0; padding: 0; }
.arpw li { padding: 5px 0; border-bottom: 1px dotted #a5a196; }
.arpw a { display: flex; gap: 8px; align-items: center; text-decoration: none; color: var(--link); font: 15px/1.2 "Times New Roman", serif; }
.arpw a:hover { color: #c53b1f; text-decoration: underline; }
.arpw img { width: 64px; height: 48px; object-fit: cover; margin: 0; flex: none; }
.arch { list-style: none; margin: 0; padding: 0 0 0 6px; columns: 3; }
.arch li { padding: 2px 0; }
.arch a { color: var(--link); font: 15px "Times New Roman", serif; text-decoration: none; }
.arch a:hover { color: #c53b1f; }

/* ---------- footer ---------- */
#footer { width: 1232px; max-width: 100%; margin: 0 auto; padding: 16px 30px 24px; color: var(--gold-2); font-size: 11px; background: linear-gradient(#6b1d35, #2a0710); }
#footer div { margin: 3px 0; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .edition.second { display: none; }
  #container { grid-template-columns: minmax(0,1fr) 260px; }
  #left { grid-column: 2; grid-row: 3; border: 0; }
  #right { grid-column: 2; grid-row: 4; }
  #content { grid-row: 3 / span 2; }
}
@media (max-width: 760px) {
  #masthead { height: auto; justify-content: center; padding: 6px 6px 10px; }
  .edition, .inform, .star { display: none; }
  .logo { width: auto; margin: 0; }
  .top_menu { height: auto; flex-wrap: wrap; }
  .top_menu ul { flex-wrap: wrap; }
  .top_menu li { padding: 4px 10px; }
  .sbox { margin: 4px 8px; flex: 1; }
  .sbox input { flex: 1; width: auto; }
  #container { display: block; }
  #content { border: 0; }
  #text { padding: 0 10px; }
  .fix_text { display: block; background: none; }
  .fix_text > div { width: auto; display: inline; }
  .cat { display: flex; flex-wrap: wrap; gap: 4px 12px; }
  .cat li, .cat li:first-child { border: 0; padding: 2px 0; }
  #left, #right { padding: 10px; }
}
