/*
Theme Name: ALVIXIA Blog Theme
Theme URI: https://alvixia.jp/
Author: ALVIXIA
Description: ALVIXIA corporate website style WordPress blog theme.
Version: 1.0
Text Domain: alvixia-blog
*/

:root{
  --navy:#0A2342;
  --navy-light:#12375f;
  --gold:#C8A44D;
  --cream:#f7f5ef;
  --white:#ffffff;
  --muted:rgba(10,35,66,.72);
  --line:rgba(10,35,66,.10);
}

*{box-sizing:border-box}

body{
  margin:0;
  color:var(--navy);
  background:var(--cream);
  font-family:"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  line-height:1.8;
}

a{
  color:inherit;
  text-decoration:none;
}

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

.container{
  width:min(1120px,calc(100% - 40px));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(12px);
}

.header-inner{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}

.logo-text{
  font-size:30px;
  font-weight:800;
  letter-spacing:.18em;
  color:var(--navy);
}

.nav-toggle{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.nav-button{
  display:inline-flex;
  margin-left:auto;
  padding:8px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}

.global-nav{
  display:none;
  width:100%;
  padding:10px 0 4px;
  border-top:1px solid var(--line);
  flex-direction:column;
  align-items:flex-start;
}

.global-nav a{
  width:100%;
  padding:14px 0;
  color:rgba(10,35,66,.76);
  font-size:14px;
  font-weight:700;
}

.global-nav a:hover{
  color:var(--gold);
}

.nav-toggle:checked~.global-nav{
  display:flex;
}

.blog-hero{
  padding:64px 0 50px;
  color:white;
  background:linear-gradient(135deg,var(--navy),var(--navy-light));
}

.eyebrow{
  margin:0 0 12px;
  color:var(--gold);
  font-size:13px;
  font-weight:800;
  letter-spacing:.16em;
}

.blog-hero h1{
  margin:0 0 18px;
  font-size:clamp(32px,4vw,46px);
  line-height:1.28;
  letter-spacing:-.02em;
}

.blog-hero p{
  max-width:760px;
  color:rgba(255,255,255,.80);
  font-size:18px;
}

.main-layout{
  padding:52px 0;
}

.post-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}

.post-card{
  background:white;
  border-radius:26px;
  box-shadow:0 18px 48px rgba(10,35,66,.08);
  overflow:hidden;
  transition:.2s ease;
}

.post-card:hover{
  transform:translateY(-3px);
  box-shadow:0 24px 56px rgba(10,35,66,.12);
}

.post-card-inner{
  padding:30px;
}

.post-date{
  display:block;
  margin-bottom:10px;
  color:rgba(10,35,66,.55);
  font-size:13px;
  font-weight:700;
}

.post-card h2{
  margin:0 0 14px;
  font-size:24px;
  line-height:1.45;
}

.post-card h2 a:hover{
  color:var(--gold);
}

.post-excerpt{
  color:var(--muted);
}

.read-more{
  display:inline-flex;
  margin-top:18px;
  color:var(--gold);
  font-weight:800;
}

.single-wrap{
  max-width:860px;
  margin:0 auto;
  background:white;
  border-radius:28px;
  box-shadow:0 18px 48px rgba(10,35,66,.08);
  padding:42px;
}

.single-title{
  margin:0 0 12px;
  font-size:clamp(30px,4vw,44px);
  line-height:1.32;
}

.single-meta{
  margin-bottom:28px;
  color:rgba(10,35,66,.55);
  font-weight:700;
}

.entry-content{
  color:rgba(10,35,66,.82);
  font-size:17px;
}

.entry-content h2{
  margin-top:38px;
  padding-left:14px;
  border-left:4px solid var(--gold);
  font-size:26px;
}

.entry-content h3{
  margin-top:28px;
  font-size:22px;
}

.entry-content p{
  margin:0 0 1.4em;
}

.entry-content ul,
.entry-content ol{
  padding-left:1.4em;
}

.entry-content a{
  color:var(--navy-light);
  text-decoration:underline;
}

.pagination{
  margin-top:36px;
  display:flex;
  justify-content:center;
  gap:10px;
}

.pagination a,
.pagination span{
  padding:9px 14px;
  border-radius:999px;
  background:white;
  border:1px solid var(--line);
  font-weight:700;
}

.site-footer{
  background:white;
  padding:28px 0;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  color:rgba(10,35,66,.62);
  font-size:14px;
}

.footer-inner strong{
  color:var(--navy);
  letter-spacing:.18em;
}

@media(max-width:900px){
  .logo-text{font-size:24px}
  .blog-hero{padding:48px 0 38px}
  .main-layout{padding:42px 0}
  .post-grid{grid-template-columns:1fr}
  .single-wrap{padding:30px}
}

@media(max-width:640px){
  .container{width:min(100% - 28px,1120px)}
  .header-inner{min-height:72px;padding:10px 0}
  .blog-hero p,.entry-content{font-size:16px}
  .post-card-inner,.single-wrap{padding:24px;border-radius:22px}
  .footer-inner{flex-direction:column;text-align:center}
}
