@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', sans-serif;
    margin: 0;
    padding: 2em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    justify-items: center;
	margin-top: 3.5em; /* or 3em if you want more space */
}

.gallery-card {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 1em;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: 0 2px 12px #000a;
    display: flex;
    align-items: flex-end;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px #000c;
  z-index: 2;
}

.card-overlay {
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    width: 100%;
    padding: 1em;
    box-sizing: border-box;
    text-align: left;
}

.card-overlay a {
    color: #E3BD35;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-top: 0.3em;
}

.category-label {
    display: inline-block;
    padding: 0.2em 0.8em;
    border-radius: 0.8em;
    font-size: 0.85em;
    margin-bottom: 0.4em;
    text-transform: capitalize;
    font-weight: 600;
}

.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;
}

/* Category-specific capsule colors */
.category-environment  { background: #40B3D9; color: #fff; }
.category-interface    { background: #24C2A1; color: #fff; }
.category-shipdesign   { background: #D63F41; color: #fff; }
.category-news         { background: #A13AD9; color: #fff; }
.category-worlddesign  { background: #E3BD35; color: #1a1818; }
.category-eternity     {background:#1a1818; color:#E3BD35;}

.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;
  }
}
* Featured Image at the Top */
.devlog-featured-img {
  display: flex;
  justify-content: center;
  margin-bottom: 2.6em;
  align-items: center;
  width: 100%;
  margin: 0 auto 2.6em auto;
  box-sizing: border-box;
 
}
.devlog-featured-img img {
  width: 100%;
  max-width:1024px; 
  height: auto;
  border-radius: 1em;
  object-fit: cover;
  box-shadow: 0 6px 48px #0008;
  background: #282828;
}

.devlog-post {
  max-width: 1050px;
  margin: 0.5em auto 0.5em auto;
  padding: 0.5em 0.5em;
  box-sizing: border-box;
  width: 100%; /* Ensure full width context */
}

.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;
}
.devlog-header {
  position: relative;
  text-align: center;
  margin: 2em auto 1.5em auto;
  padding: 0 2em;
  max-width: 1050px; /* Add this line */
  box-sizing: border-box; /* Add this for consistency */

}

.home-align {
  left: 0.5em; /* Optional: change from 2em if needed */
}

.devlog-header h1 {
  color: #E3BD35;
  font-size: 2.3em;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.05em;
}

.home-align {
  position: absolute;
  left: 2em;
  top: 50%;
  transform: translateY(-50%);
}

.home-button {
  color: #E3BD35;
  background: #272522;
  text-decoration: none;
  font-size: 1.1em;
  padding: 0.4em 1.1em;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.home-button:hover {
  background: #E3BD35;
  color: #1a1818;
  text-decoration: underline;
}

.gallery-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}



.gallery-card .card-title {
  color: #E3BD35;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 0.3em;
  display: block;
}

/* 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;
  }
}

.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;
  }
}

