/*
Theme Name: Lightning Child - type1dm
Template: lightning
Version: 1.0.0
*/

/* =========================
   type1dm dark base (minimal)
   ========================= */
body{
  background:#0f0f0f;
  color:#f2f2f2;
  font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","Hiragino Mincho Pro","MS Mincho",serif;
}
a{ color:#d7d7d7; }
a:hover{ opacity:.85; }

/* =========================
   Header: dark (ensure visibility)
   ========================= */
.site-header,
#site-header-container{
  background:#0f0f0f !important;
}
.site-header a{
  color:#f2f2f2 !important;
}

/* キャッチフレーズは使わない（事故防止） */
.site-description{ display:none !important; }

/* ヘッダー内の左右余白（見た目の安定化） */
#site-header-container{
  padding-left:18px;
  padding-right:18px;
}

/* =========================
   Header logo: SVG replace (Lightning DOM)
   DOM: <h1 class="site-header-logo"><a><span>...</span></a></h1>
   ========================= */

/* ロゴサイズ（調整はここだけ） */
:root{
  --type1dm-logo-w: 640px;
  --type1dm-logo-h: 92px;
  --type1dm-logo-w-sp: 360px;
  --type1dm-logo-h-sp: 64px;
}

.site-header-logo{
  display:block;
  line-height:1;
  padding:14px 0 10px;
}

.site-header-logo a{
  display:inline-block !important;
  width:var(--type1dm-logo-w) !important;
  height:var(--type1dm-logo-h) !important;
  background-image:url("https://type1dm.com/wp-content/themes/lightning-child/type1dm-logo.svg") !important;
  background-repeat:no-repeat !important;
  background-size:contain !important;
  background-position:left center !important;
}

/* 中のテキストは完全に隠す（アクセシビリティは維持） */
.site-header-logo a span{
  display:block;
  width:100%;
  height:100%;
  text-indent:-9999px;
  overflow:hidden;
  white-space:nowrap;
}

/* =========================
   Mobile
   ========================= */
@media (max-width: 600px){
  .site-header-logo{
    padding:10px 0 8px;
  }
  .site-header-logo a{
    width:var(--type1dm-logo-w-sp) !important;
    height:var(--type1dm-logo-h-sp) !important;
  }
}
/* =========================
   Top entry links (3 only)
   ========================= */
.type1dm-entry-links{
  max-width: 720px;
  margin: 0 auto 20px;
}

.type1dm-entry{
  display: block;
  padding: 18px 16px;
  margin: 0 0 14px;
  border: 1px solid rgba(255,255,255,.18);
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

.type1dm-entry:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.35);
}

.type1dm-entry-title{
  font-size: 1.05rem;
  letter-spacing: .08em;
  color: #f2f2f2;
  margin-bottom: 6px;
}

.type1dm-entry-sub{
  font-size: .85rem;
  letter-spacing: .12em;
  color: #b5b5b5;
}
