@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,700&display=swap');
@font-face {
  font-family: 'Dolce Vita Heavy';
  src: url('../fonts/DolceVitaHeavy.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

body.dark-devlog {
  background: #1A1818;
  color: #dbdbdb;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  margin: 0;
  font-size: 1.09em;
  line-height: 1.7;
}

/* Main Post Layout */
.devlog-post {
  max-width: 1050px;
  margin: 1.5em auto 2em auto;
  padding: 0.5em 2em;
  color: #dbdbdb;
  background: none;
  box-sizing: border-box;
}

.devlog-top-banner-container {
  margin: 0em auto 5.5em auto;
}

/* Featured Image at the Top */
.devlog-featured-img {
   max-width: 1050px;  
  margin: 2.5em auto 1.5em auto;
}
.devlog-featured-img img {
 width: 100%;
  max-width: 1050px; /* match .devlog-post */
  margin: 0 auto;
  display: block;
  height: auto;
  border-radius: 1em;
  object-fit: cover;
  box-shadow: 0 6px 48px #0008;
  background: #282828;
}

/* Title/Header */
.devlog-header h1 {
  color: #E3BD35;
  text-align: center;
  font-size: 2.6em;
  font-weight: 600;
  margin-bottom: 1.2em;
  margin-top: 0;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

/* Meta Info */
.devlog-meta {
  display: flex;
  gap: 1em;
  justify-content: center;
  align-items: center;
  color: #d6cfae;
  font-size: 1.06em;
  margin-bottom: 2.7em;
  margin-top: 2.5em;
}
.category-badge {
  background: #E3BD35;
  color: #1a1818;
  padding: 0.3em 1.1em;
  border-radius: 0.9em;
  font-size: 1.06em;
  font-weight: bold;
  box-shadow: 0 1px 8px #0002;
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.category-environment  { background: #40B3D9; color: #fff; }   /* Game Environment */
.category-interface    { background: #24C2A1; color: #fff; }   /* Interface */
.category-shipdesign   { background: #D63F41; color: #fff; }   /* Ship Design */
.category-news         { background: #A13AD9; color: #fff; }   /* Updates and News */
.category-worlddesign  { background: #E3BD35; color: #1a1818;} /* World Design */

.post-date { color: #E3BD35; }

/* Text, Paragraphs, Typography */
.devlog-post p,
.devlog-post ul,
.devlog-post ol {
  font-size: 1.18em;
  margin: 1.4em auto;
  max-width: 85%;
  line-height: 1.84;
  color: #dbdbdb;
  letter-spacing: 0.01em;
  text-align: justify;
  text-justify: inter-word;
}

/* Strong highlight */
.devlog-post strong,
.devlog-post b {
  color: #E3BD35;
  font-weight: 600;
}

/* Lists */
.devlog-post ul,
.devlog-post ol {
  margin: 1.4em auto;
  padding-left: 2.2em;
}

/* Inline images / blocks */
.devlog-image-block {
  display: flex;
  justify-content: center;
  margin: 2.5em 0 2.5em 0;
}
.devlog-image-block img {
  max-width: 700px;
  width: 100%;
  border-radius: 0.7em;
  box-shadow: 0 4px 32px #0007;
}

/* Code blocks */
pre, code, .devlog-post pre, .devlog-post code {
  background: #23201d;
  color: #E3BD35;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', 'monospace';
  padding: 1.2em 2em;
  border-radius: 10px;
  font-size: 1.04em;
  display: block;
  margin: 2.1em auto;
  max-width: 85%;
  overflow-x: auto;
  line-height: 1.6;
  white-space: pre;
}

/* Inline code */
.devlog-post code {
  display: inline;
  padding: 0.1em 0.4em;
  border-radius: 0.35em;
  font-size: 0.98em;
  margin: 0 0.2em;
  background: #23201d;
  color: #E3BD35;
  box-shadow: none;
}

/* Navigation */
.devlog-post-nav {
  display: flex;
  justify-content: space-between;
  margin: 2.8em 0 0 0;
}
.devlog-post-nav a {
  color: #E3BD35;
  text-decoration: none;
  font-size: 1.13em;
  font-weight: 500;
  transition: color 0.18s, background 0.18s;
  padding: 0.4em 1.1em;
  border-radius: 7px;
  background: #272522;
}
.devlog-post-nav a:hover {
  color: #fff;
  background: #E3BD35;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1100px) {
  .devlog-post { max-width: 97vw; padding: 1em 0.3em; }
  .devlog-post p, pre, code { max-width: 98vw; }
  .devlog-image-block img { max-width: 97vw; }
  .devlog-featured-img img { max-width: 97vw;width: 100%; height:auto; }
}

/* Blockquotes (optional, for quotes in posts) */
.devlog-post blockquote {
  margin: 2.5em auto;
  padding: 1em 2.5em;
  border-left: 5px solid #E3BD35;
  background: #1e1c17;
  color: #f2e3ad;
  font-style: italic;
  font-size: 1.15em;
  max-width: 80%;
}

/* Headers inside post */
.devlog-post h2, .devlog-post h3 {
  color: #E3BD35;
  font-weight: 500;
  text-align: left;
  margin: 2.2em 0 1.2em 0;
  max-width: 85%;
  letter-spacing: 0.01em;
}

.devlog-post h2 { font-size: 1.6em; }
.devlog-post h3 { font-size: 1.25em; }

.devlog-post,
.devlog-post p,
.devlog-post ul,
.devlog-post ol,
.devlog-post pre,
.devlog-post code,
.post-content,
.devlog-post .post-content > pre,
.devlog-post .post-content > code {
  box-sizing: border-box;
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}
.devlog-header h1,
.devlog-post h2,
.devlog-post h3,
.devlog-post strong,
.devlog-post b,
.category-badge {
  font-family: 'Dolce Vita Heavy', 'Poppins', Arial, sans-serif;
  letter-spacing: 0.03em;
}
.devlog-image-block img {
  display: block;
  width: 100%;
  max-width: 820px;  /* Or your preferred content width */
  height: auto;
  margin: 2em auto;
  border-radius: 18px;
  box-shadow: 0 2px 16px #0002;
  background: #1a1817;
}
@media (max-width: 900px) {
  .devlog-image-block img {
    max-width: 98vw;
    margin: 1.2em auto;
  }
}
.social-widget {
  position: fixed;
  top: 50%;
  right: 1.5em;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.8em;
  z-index: 9999;
}

.social-widget a {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

.social-widget a:hover {
  transform: scale(1.15);
  opacity: 1;
}

.social-widget img {
  width: 58px;
  height: 58px;
  display: block;
}

/* Base text links */
.devlog-post a {
  color: #E3BD35;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease, font-size 0.2s ease;
}

/* On hover: brighter and slightly larger */
.devlog-post a:hover {
  color: #fff;
  font-size: 1.04em;
  text-decoration: underline;
}
.devlog-image-block figcaption {
  font-size: 0.94em;
  color: #bbb;
  font-style: italic;
  margin-top: 0.6em;
  line-height: 1.4;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.devlog-image-block {
  display: block;
  margin: 2.5em 0;
  text-align: center;
}



.devlog-video-block {
  display: block;
  max-width: 820px; /* Match your content width */
  margin: 2em auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 16px #0002;
  background: #1a1817;
}

.devlog-video-block video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: inherit;
}

.devlog-header-banner {
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.devlog-header-banner img {
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 2px 16px #0003;
}

/* Ensure the top banner matches .devlog-post width */
.devlog-top-banner-container {
  max-width: 1050px;
  margin: 0em auto 3.5em auto;
  display: block;
}

.devlog-top-banner-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 1em;
  object-fit: cover;
  box-shadow: 0 6px 48px #0008;
  background: #282828;
}

/* Override mobile sizing that breaks the layout */
@media (max-width: 1100px) {
  .devlog-top-banner-img {
    width: 100% !important;
    max-width: 97vw !important;
    height: auto !important;
  }
}

/* Two-image layout in banner */
.devlog-header-banner.double-img-layout {
  display: flex;
  gap: 1.5em;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2em;
}

.devlog-header-banner.double-img-layout img {
  flex: 1 1 48%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 16px #0003;
  background: #1a1818;
}
.steam-widget-left {
  position: fixed;
  top: 30%;
  left: 0;
  width: 360px;
  height: 190px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 0 10px 10px 0;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  z-index: 999;
}

@media (max-width: 768px) {
  .steam-widget-left {
    display: none;
  }
}

