/* JNR Experience - Modern Theme (WebMan Design) Static Restore
   Dark theme: bg #1a1c1e, accent #0aac8e, font Fira Sans */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: #1a1c1e;
  color: #ccc;
  font-family: 'Fira Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
}

a { color: #0aac8e; text-decoration: none; transition: color .2s; }
a:hover { color: #0dd4ac; }

img { max-width: 100%; height: auto; display: block; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%); white-space: nowrap;
}

/* ---------- HEADER ---------- */
.site-header {
  position: relative;
  z-index: 100;
}

.site-header-navigation {
  background: rgba(10,12,14,.92);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Navigation */
.main-navigation { flex: 1; }
.main-navigation .menu ul {
  list-style: none;
  display: flex;
  gap: 0;
}
.main-navigation .menu ul li a {
  display: block;
  padding: .9rem 1.1rem;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: color .2s;
}
.main-navigation .menu ul li a:hover,
.main-navigation .menu ul li.current a {
  color: #fff;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  padding: .75rem 1rem;
  cursor: pointer;
  font-family: 'Fira Sans', sans-serif;
}

/* Branding */
.site-branding {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem 0;
}
.site-branding .site-logo img {
  width: 110px;
  height: 67px;
}
.site-branding .site-title {
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0;
}
.site-branding .site-title a { color: #fff; }
.site-branding .site-description {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  margin: 0;
}

/* Header content row (logo + tagline) */
.site-header-content {
  background: #1a1c1e;
}
.site-header-content .site-header-inner {
  padding-top: .75rem;
  padding-bottom: .75rem;
}

/* ---------- BANNER / INTRO ---------- */
.site-banner {
  position: relative;
  overflow: hidden;
  max-height: 540px;
}
.site-banner-thumbnail {
  margin: 0;
}
.site-banner-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}
.site-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(transparent, #1a1c1e);
  pointer-events: none;
}
.site-banner-header {
  position: absolute;
  bottom: 2rem; left: 0; right: 0;
  text-align: center;
  z-index: 2;
}
.site-banner-header .entry-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: .02em;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

/* Intro section (inner pages) */
.intro-container {
  position: relative;
  overflow: hidden;
  max-height: 480px;
}
.intro-media {
  position: relative;
}
.intro-media::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background-image: linear-gradient(transparent, #1a1c1e);
  pointer-events: none;
}
.intro-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- CONTENT ---------- */
.site-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ---------- HOMEPAGE POSTS GRID ---------- */
.posts-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.posts-list article {
  background: rgba(255,255,255,.03);
  border-radius: 3px;
  overflow: hidden;
  transition: background .2s;
}
.posts-list article:hover {
  background: rgba(255,255,255,.06);
}
.posts-list .entry-media {
  overflow: hidden;
}
.posts-list .entry-media a { display: block; }
.posts-list .entry-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .3s;
}
.posts-list article:hover .entry-media img {
  transform: scale(1.03);
}
.posts-list .entry-inner {
  padding: 1.25rem;
}
.posts-list .entry-title {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: .5rem;
}
.posts-list .entry-title a { color: #fff; }
.posts-list .entry-title a:hover { color: #0aac8e; }

.posts-list .entry-content {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  margin-bottom: .75rem;
}
.posts-list .link-more a {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.posts-list .entry-meta {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  padding-top: .5rem;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: .5rem;
}

/* Last post (JNR Experience) has no thumbnail */
.posts-list article.no-thumbnail .entry-inner {
  padding-top: 1.5rem;
}

/* ---------- SINGLE POST / PAGE ---------- */
.entry {
  max-width: 780px;
  margin: 0 auto;
}
.entry .entry-media {
  margin-bottom: 1.5rem;
}
.entry .entry-media figure {
  margin: 0;
  border-radius: 3px;
  overflow: hidden;
}
.entry .entry-media img {
  width: 100%;
  height: auto;
}
.entry .entry-title {
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: .75rem;
}
.entry .entry-meta-top {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
}
.entry .entry-meta-top a { color: rgba(255,255,255,.5); }
.entry .entry-meta-top a:hover { color: #0aac8e; }

.entry .entry-content {
  font-size: .95rem;
  line-height: 1.8;
  color: rgba(255,255,255,.75);
}
.entry .entry-content p {
  margin-bottom: 1.25rem;
}
.entry .entry-content ul {
  margin: 0 0 1.25rem 1.5rem;
}
.entry .entry-content li {
  margin-bottom: .35rem;
}
.entry .entry-content strong {
  color: rgba(255,255,255,.9);
  font-weight: 400;
}
.entry .entry-content a {
  border-bottom: 1px solid rgba(10,172,142,.3);
}
.entry .entry-content a:hover {
  border-bottom-color: #0aac8e;
}

/* Author box */
.entry-author {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.entry-author .author-title {
  font-size: .88rem;
  font-weight: 400;
  color: rgba(255,255,255,.5);
}
.entry-author .author-name { color: #fff; }

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.5rem 0;
  margin-top: 3rem;
}
.site-info {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}
.site-info a { color: rgba(255,255,255,.5); }
.site-info a:hover { color: #0aac8e; }
.back-to-top { margin-left: 1rem; }

/* ---------- 404 ---------- */
.error-404 {
  text-align: center;
  padding: 4rem 1.5rem;
}
.error-404 h1 {
  font-size: 4rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 1rem;
}
.error-404 p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 2rem;
}
.error-404 .btn-home {
  display: inline-block;
  padding: .65rem 2rem;
  background: #0aac8e;
  color: #fff;
  border-radius: 3px;
  font-size: .9rem;
  transition: background .2s;
}
.error-404 .btn-home:hover { background: #099b7f; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .posts-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-banner-header .entry-title {
    font-size: 1.8rem;
  }
}
@media (max-width: 640px) {
  .posts-list {
    grid-template-columns: 1fr;
  }
  .menu-toggle { display: block; }
  .main-navigation .menu { display: none; }
  .main-navigation.toggled .menu { display: block; }
  .main-navigation .menu ul {
    flex-direction: column;
  }
  .site-header-inner {
    flex-wrap: wrap;
  }
  .site-banner-header .entry-title {
    font-size: 1.4rem;
  }
  .entry .entry-title {
    font-size: 1.5rem;
  }
  .site-branding {
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
  }
}
