/* ==========================================================
   Don't Do It - sitewide design (zine / Swiss print style)
   Load AFTER the theme stylesheet:
   <link rel="stylesheet" href="/ddi-sitewide.css" type="text/css" media="all">
   Palette: paper #e9e4d8 | ink #111111 | red #e63b2e | teal #0f6b6b
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=IBM+Plex+Mono:wght@400;600&family=Instrument+Serif:ital@0;1&display=swap');

/* ---------- base ---------- */
html, body { background: #e9e4d8 !important; }
body, body.custom-background { background-color: #e9e4d8 !important; color: #111111 !important; font-family: 'IBM Plex Mono', monospace !important; font-size: 15px !important; line-height: 1.6 !important; }
#page { max-width: 100% !important; background: transparent !important; }
a { color: #111111 !important; text-decoration: none; }
img { max-width: 100%; height: auto; }
.assistive-text { position: absolute !important; left: -9999px !important; }
.skip-link a:focus { position: fixed !important; left: 8px; top: 8px; background: #e63b2e !important; color: #ffffff !important; padding: 6px 10px; z-index: 999; }
#page:after, #main:after, .entry-content:after, #supplementary:after { content: ""; display: block; clear: both; }

/* ---------- navigation ---------- */
.site-navigation, .main-navigation { position: relative; z-index: 50; background: #111111 !important; border-bottom: 4px solid #e63b2e; width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important; }
.site-navigation h1 { display: none !important; }
#main-menu { width: 100% !important; float: none !important; }
#menu-main-menu { list-style: none !important; margin: 0 !important; padding: 0 !important; counter-reset: m; overflow: hidden; background: #111111 !important; }
#menu-main-menu li { float: left; width: 20%; margin: 0 !important; padding: 0 !important; border-right: 1px solid #333333; counter-increment: m; background: #111111 !important; }
#menu-main-menu li a { display: block !important; padding: 15px 10px !important; text-align: center; text-transform: uppercase; font-size: 12px !important; letter-spacing: .08em; color: #e9e4d8 !important; background: #111111 !important; -webkit-transition: .2s; transition: .2s; }
#menu-main-menu li a:before { content: "0" counter(m) " / "; color: #e63b2e; }
#menu-main-menu li a:hover, #menu-main-menu li.current-menu-item a, #menu-main-menu li.current_page_item a { background: #e63b2e !important; color: #ffffff !important; }
#menu-main-menu li a:hover:before, #menu-main-menu li.current-menu-item a:before, #menu-main-menu li.current_page_item a:before { color: #ffffff; }
#menu-main-menu ul { display: none !important; }

/* ---------- masthead (keeps each page's own header photo on the right) ---------- */
#masthead { position: relative !important; height: 520px !important; max-width: 100% !important; margin: 0 !important; border-bottom: 4px solid #111111; background-color: #263035 !important; background-size: cover !important; background-position: center !important; background-attachment: scroll !important; overflow: hidden; }
#masthead:after { content: ""; position: absolute; top: 52px; right: 0; bottom: 0; width: 42%; background: #0f6b6b; opacity: .3; pointer-events: none; }
#masthead hgroup { position: absolute; top: 52px; left: 0; bottom: 0; width: 58%; margin: 0 !important; padding: 4vw !important; box-sizing: border-box; background: #e9e4d8 !important; z-index: 5; border-right: 4px solid #111111; }
.site-title { position: absolute; left: 4vw; bottom: 4vw; right: 4vw; max-width: none !important; margin: 0 !important; padding: 0 !important; font-family: 'Archivo Black', Impact, sans-serif !important; font-size: 8vw !important; font-weight: 400 !important; line-height: .9 !important; text-transform: uppercase; letter-spacing: -.03em; text-align: left !important; }
.site-title a { color: #111111 !important; display: block; opacity: 1 !important; -webkit-transition: .2s; transition: .2s; }
.site-title a:hover { color: #e63b2e !important; opacity: 1 !important; padding-left: 12px; }
.site-description { max-width: none !important; min-height: 1px; color: #111111 !important; }
/* optional: home page split image block */
.skye { position: absolute; top: 52px; right: 0; bottom: 0; width: 42%; background-size: cover; background-position: center; background-color: #263035; filter: grayscale(1) contrast(1.15); z-index: 2; }

/* ---------- main column ---------- */
#main { max-width: 1100px !important; width: auto !important; margin: 0 auto !important; padding: 0 4vw !important; background: transparent !important; }
article, .hentry { margin: 0 0 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
.entry-header { padding: 6vh 0 3vh !important; margin: 0 !important; border-bottom: 4px solid #111111; background: transparent !important; }
.entry-title, h1.entry-title { margin: 0 !important; font-family: 'Instrument Serif', Georgia, serif !important; font-style: italic !important; font-weight: 400 !important; font-size: 52px !important; line-height: 1.05 !important; color: #111111 !important; text-align: left !important; }
.entry-title a { color: #111111 !important; background: linear-gradient(#e63b2e, #e63b2e) 0 100% / 0 .22em no-repeat; -webkit-transition: background-size .3s, color .3s; transition: background-size .3s, color .3s; }
.entry-title a:hover { background-size: 100% 100%; color: #ffffff !important; }
.entry-content { padding: 4vh 0 !important; color: #111111 !important; font-size: 15px; background: transparent !important; }
.entry-content p, .entry-content div, .entry-content span, .entry-content li { color: #111111 !important; font-family: 'IBM Plex Mono', monospace !important; font-size: 15px; line-height: 1.7; }
.entry-content p { margin: 0 0 1.2em !important; }
.entry-content p:empty { display: none; }
.entry-content a { color: #0f6b6b !important; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.entry-content a:hover { color: #e63b2e !important; }
.entry-content strong, .entry-content b { font-weight: 600; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: 'Archivo Black', Impact, sans-serif !important; font-weight: 400 !important; text-transform: uppercase; color: #111111 !important; line-height: 1.1; margin: 1.6em 0 .6em !important; padding-bottom: 8px; border-bottom: 2px solid #111111; }
.entry-content h2 { font-size: 28px !important; }
.entry-content h3 { font-size: 22px !important; }
.entry-content ul, .entry-content ol { margin: 0 0 1.4em 1.4em !important; }
.entry-content img { display: block; border: 4px solid #111111; box-shadow: 10px 10px 0 #e63b2e; background: #e9e4d8; margin: 10px auto 24px; }
.entry-content img.alignleft { float: left; margin: 6px 28px 18px 0; }
.entry-content img.alignright { float: right; margin: 6px 0 18px 28px; }
.entry-content iframe, .entry-content video, .entry-content embed { max-width: 100%; border: 4px solid #111111; }
.entry-content hr { border: 0; border-top: 2px solid #111111; margin: 2em 0; }
.entry-content table { width: 100%; border-collapse: collapse; border: 2px solid #111111; }
.entry-content th, .entry-content td { border: 1px solid #111111; padding: 8px 12px; text-align: left; }
.entry-content th { background: #111111 !important; color: #e9e4d8 !important; }

/* pull-quote */
.entry-content blockquote, blockquote { margin: 1.6em 0 !important; padding: 22px 28px !important; background: #ffffff !important; border-left: 8px solid #e63b2e !important; border-top: 0; border-right: 0; border-bottom: 0; box-shadow: 8px 8px 0 #111111; }
.entry-content blockquote p, .entry-content blockquote div, .entry-content blockquote span { font-family: 'Instrument Serif', Georgia, serif !important; font-style: italic; font-size: 22px !important; line-height: 1.35; color: #111111 !important; margin-bottom: .5em !important; }

/* read more */
a.more-link, .more-link { display: inline-block !important; margin-top: 8px; padding: 10px 18px; background: #111111 !important; color: #e9e4d8 !important; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none !important; -webkit-transition: .2s; transition: .2s; }
a.more-link:hover { background: #e63b2e !important; color: #ffffff !important; }

/* ---------- blog / archive lists: numbered entries ---------- */
.blog #main, .archive #main, .category #main, .search #main { counter-reset: t; }
.blog article, .archive article, .category article, .search article { counter-increment: t; border-bottom: 4px solid #111111 !important; padding-bottom: 20px !important; }
.blog .entry-header:before, .archive .entry-header:before, .category .entry-header:before, .search .entry-header:before { content: "No. 0" counter(t); display: block; color: #0f6b6b; font-size: 12px; font-weight: 600; letter-spacing: .15em; margin-bottom: 8px; }
.blog .entry-title, .archive .entry-title, .category .entry-title, .search .entry-title { font-size: 40px !important; }
.entry-meta, .entry-footer, .entry-meta a { font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; color: #0f6b6b !important; }
.nav-links, .paging-navigation, .post-navigation, #nav-below { overflow: hidden; margin: 24px 0; }
.nav-previous { float: left; } .nav-next { float: right; }
.nav-previous a, .nav-next a { display: inline-block; padding: 10px 16px; background: #111111 !important; color: #e9e4d8 !important; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.nav-previous a:hover, .nav-next a:hover { background: #e63b2e !important; color: #ffffff !important; }

/* ---------- home / current issue (cover left, contents right) ---------- */
.page-id-2170 .entry-content > p:first-child { float: left; width: 38%; margin-right: 4%; }
.page-id-2170 .entry-content > p:first-child img { transform: rotate(-2deg); -webkit-transition: .4s; transition: .4s; margin-top: 0; }
.page-id-2170 .entry-content > p:first-child img:hover { transform: rotate(0) scale(1.02); }
.page-id-2170 .entry-content { counter-reset: n; }
.page-id-2170 .entry-content > p:not(:first-child) { float: right; clear: right; width: 58%; box-sizing: border-box; text-align: left !important; margin: 0 !important; padding: 22px 0 !important; border-bottom: 2px solid #111111; counter-increment: n; }
.page-id-2170 .entry-content > p:not(:first-child):before { content: "No. 0" counter(n); display: block; color: #0f6b6b; font-size: 12px; font-weight: 600; letter-spacing: .15em; margin-bottom: 6px; }
.page-id-2170 .entry-content > p:not(:first-child) a { font-family: 'Archivo Black', Impact, sans-serif !important; font-size: 24px; line-height: 1.15; text-transform: uppercase; text-decoration: none; color: #111111 !important; font-weight: 400; background: linear-gradient(#e63b2e, #e63b2e) 0 100% / 0 .35em no-repeat; -webkit-transition: background-size .3s, color .3s; transition: background-size .3s, color .3s; }
.page-id-2170 .entry-content > p:not(:first-child) a:hover { background-size: 100% 100%; color: #ffffff !important; }
.page-id-2170 .entry-content > p:not(:first-child) strong { font-weight: 400; }
.page-id-2170 .entry-content > p:not(:first-child) br { display: block; content: ""; margin-top: 12px; }
#wpp_popup_post_end_element { clear: both; }

/* ---------- comments ---------- */
#comments, .comments-area { clear: both; margin: 30px 0 0 !important; padding: 24px !important; background: #ffffff !important; border: 2px solid #111111; box-shadow: 8px 8px 0 #111111; }
#comments:empty, .comments-area:empty { display: none; }
.comments-area h2, .comments-area h3, .comment-reply-title { font-family: 'Archivo Black', Impact, sans-serif !important; font-weight: 400 !important; font-size: 20px !important; text-transform: uppercase; color: #111111 !important; margin: 0 0 12px !important; }
.comments-area p, .comments-area label { color: #111111 !important; font-size: 13px; }
.comments-area a { color: #0f6b6b !important; text-decoration: underline; }
.comments-area input[type=text], .comments-area input[type=email], .comments-area input[type=url], .comments-area textarea, #searchform input[type=text], #searchform input[type=search] { width: 100%; box-sizing: border-box; padding: 10px; background: #e9e4d8 !important; color: #111111 !important; border: 2px solid #111111 !important; border-radius: 0; font-family: 'IBM Plex Mono', monospace; }
.comments-area input[type=submit], #searchform input[type=submit] { padding: 10px 20px; background: #111111 !important; color: #e9e4d8 !important; border: 0 !important; border-radius: 0; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; }
.comments-area input[type=submit]:hover { background: #e63b2e !important; color: #ffffff !important; }

/* ---------- footer ---------- */
#colophon, .site-footer { clear: both; max-width: 100% !important; width: 100% !important; margin: 8vh 0 0 !important; padding: 6vh 4vw 3vh !important; box-sizing: border-box; background: #0f6b6b !important; color: #e9e4d8 !important; border-top: 4px solid #111111; }
#supplementary { max-width: 1100px; margin: 0 auto; }
#supplementary .widget-area { float: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; background: transparent !important; }
#colophon .widget { background: transparent !important; color: #e9e4d8 !important; margin: 0 !important; }
.widget-title, #colophon h1.widget-title { font-family: 'Instrument Serif', Georgia, serif !important; font-style: italic; font-weight: 400 !important; font-size: 44px !important; line-height: 1.05; color: #e9e4d8 !important; margin: 0 0 26px !important; text-transform: none !important; }
ul.tweets { list-style: none !important; margin: 0 !important; padding: 0 !important; overflow: hidden; border: 2px solid #e9e4d8; }
ul.tweets li { float: left; width: 33.333%; box-sizing: border-box; min-height: 150px; margin: 0 !important; padding: 22px !important; border-right: 2px solid #e9e4d8; border-bottom: 0; font-size: 13px; line-height: 1.55; color: #e9e4d8 !important; background: transparent !important; word-wrap: break-word; -webkit-transition: .2s; transition: .2s; }
ul.tweets li:last-child { border-right: 0; }
ul.tweets li:hover { background: #e9e4d8 !important; color: #111111 !important; }
ul.tweets li a { color: #e9e4d8 !important; text-decoration: underline; display: block; word-wrap: break-word; }
ul.tweets li:hover a { color: #e63b2e !important; }
#searchform { display: none; }
.site-info { max-width: 1100px; margin: 40px auto 0 !important; padding: 18px 0 0 !important; border-top: 2px solid #e9e4d8; font-size: 12px; color: #e9e4d8 !important; text-align: left !important; background: transparent !important; }
.site-info a { color: #e9e4d8 !important; text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 800px) {
  #menu-main-menu li { width: 50%; }
  #masthead { height: auto !important; min-height: 380px; }
  #masthead:after, .skye { display: none; }
  #masthead hgroup { position: relative; top: auto; left: auto; bottom: auto; width: 100%; margin-top: 200px !important; min-height: 180px; border-right: 0; border-top: 4px solid #111111; }
  .site-title { font-size: 14vw !important; }
  .entry-title, h1.entry-title { font-size: 34px !important; }
  .page-id-2170 .entry-content > p:first-child, .page-id-2170 .entry-content > p:not(:first-child) { float: none; width: 100%; margin-right: 0; }
  ul.tweets li { float: none; width: 100%; border-right: 0; border-bottom: 2px solid #e9e4d8; min-height: 0; }
  .widget-title, #colophon h1.widget-title { font-size: 30px !important; }
  .entry-content img.alignleft, .entry-content img.alignright { float: none; margin: 10px auto 20px; }
}
