/* Additions on top of the 2014 ComicPress stylesheet (comicpress.css). */
#header img.logo { margin: 20px 0; }
#splashbar { width: 762px; max-width: 100%; margin: 0 auto; text-align: center; font-size: 0; }
#splashbar img { width: 50%; height: auto; }
.subheading, .center { text-align: center; }
.subheading img { margin: 20px 0; }
.sharebar { text-align: center; height: 17px; margin-bottom: 20px; }
.comicnav { text-align: center; height: 40px; margin-bottom: 20px; }
.comicnav img.small { margin: 0 6px 8px; }
.podcast-player { margin: 12px 0; }
.podcast-player audio { width: 100%; }
.podcast-links { font-size: 11px; margin-top: 4px; }
details.spoiler summary { cursor: pointer; color: #00ADCF; }
.gallery a { display: inline-block; margin: 4px; }
ul.children { list-style: none; }

/* Text navigation for small screens, where the image-map tab bar can't be tapped accurately. */
.textnav { display: none; }

@media (max-width: 780px) {
  #page, #menubar, #menunav, #header { width: auto !important; max-width: 100%; }
  #column, #sidebar, #reviews { float: none !important; width: auto !important; margin: 0 8px !important; }
  #comic img, .entry img { max-width: 100%; height: auto; }
  #menunav img.tabbar { display: none; }
  .textnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; padding: 10px 16px; background: #222; }
  .textnav a { color: #fff; font-weight: bold; }
  .sharebar, .comicnav { height: auto; }
}

/* Tab bar sits flush on the white page (inline images leave a baseline gap). */
@media (min-width: 781px) { #menunav img.tabbar { display: block; } }

/* Link hover: underline in the site's pink (the 2007-09 theme underlined on hover;
   #FF5E99 is the theme's own accent, used for text selection). */
a:hover, .entry a:hover, .nav a:hover, .pagenav a:hover, .nav-blog a:hover,
h2 a:hover, h3 a:hover, .comicnav a:hover { color: #FF5E99; text-decoration: underline; }
a:hover img { text-decoration: none; }

/* Podcast archive: dates under titles; artwork pinned to the top of its row. */
#post-85 td { vertical-align: top; }
.podcast-date { font-size: 11px; color: #7d7d7d; font-weight: normal; }

/* Weeds background, used only on "The Harvest of Time". */
body.weeds { background: #FFFFFF url(/css/bg_weeds.jpg) repeat; }

/* Contact page: who to email, with headshots, in place of the old form. */
.contact-emails { max-width: 480px; margin: 10px auto 30px; }
.contact-intro { text-align: center; font-size: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; margin: 20px 0; padding: 12px;
  background: #fff; border: 1px solid #ccc; border-radius: 8px; }
.contact-card img { flex: none; }
.contact-card h3 { margin: 0 0 6px; font-size: 16px; }
.contact-card p { margin: 6px 0; text-align: left; }
.contact-mail { font-size: 14px; font-weight: bold; }
@media (max-width: 480px) { .contact-card { flex-direction: column; align-items: center; text-align: center; } }

/* YouTube embeds (converted from Flash-era <object> players) */
.video { max-width: 640px; margin: 12px auto; aspect-ratio: 16 / 9; }
.video iframe { width: 100%; height: 100%; border: 0; }
.video-gone { text-align: center; color: #7d7d7d; font-style: italic; }
.flash-game { text-align: center; margin: 16px 0; }
.flash-game embed, .flash-game ruffle-embed { max-width: 100%; }
