/*
Theme Name: Andskill Step (Photo)
Theme URI: https://andskill.com/
Author: Andskill
Author URI: https://andskill.com/
Description: Clean corporate theme with photo-ready sections (Hero bg, News thumbs, CTA backgrounds).
Version: 1.1.0
Text Domain: andskill-step
*/
:root{
  --bg:#ffffff; --surface:#f6f8fb; --ink:#0e1320; --muted:#697089;
  --line:#e6ebf3; --accent:#1056d6; --accent-ink:#ffffff; --link:#0b46b0;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "Helvetica Neue", Arial, "メイリオ", Meiryo, sans-serif}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1120px;margin:0 auto;padding:0 24px}
.section{padding:72px 0}
.section header h2{font-size:28px;margin:0 0 12px 0;letter-spacing:.02em}
.section header p{color:var(--muted);margin:0}
.kicker{display:inline-block;font-weight:700;letter-spacing:.08em;color:var(--accent);font-size:12px;margin-bottom:6px}

/* Cards & grid */
.grid{display:grid;gap:20px}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 6px 24px rgba(0,0,0,.04)}
.card-body{padding:16px 18px}
.card h3{margin:.1rem 0 .4rem 0;font-size:18px}
.meta{color:var(--muted);font-size:12px}

/* Buttons */
.button{display:inline-block;background:var(--accent);color:var(--accent-ink);font-weight:700;padding:12px 18px;border-radius:12px;border:1px solid transparent}
.button.ghost{background:transparent;color:var(--accent);border-color:var(--accent)}

/* Header */
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:saturate(130%) blur(8px);border-bottom:1px solid var(--line)}
.header .nav{display:flex;align-items:center;justify-content:space-between;height:68px}
.header .brand{font-weight:900;letter-spacing:.02em;color:var(--ink)}
.header nav a{margin:0 12px;color:var(--ink)}
.header nav a.cta{margin-left:4px}

/* Hero */
.hero{padding:96px 0;background:linear-gradient(180deg,var(--surface),#fff);border-bottom:1px solid var(--line)}
.hero h1{font-size:40px;line-height:1.2;margin:0 0 12px}
.hero p{color:var(--muted);margin:0 0 24px}
/* Photo background mode */
.hero.has-photo{
  padding:120px 0;
  color:#fff;
  background-position:center;
  background-size:cover;
  border-bottom:1px solid var(--line);
}
.hero.has-photo .kicker,
.hero.has-photo p{ color:rgba(255,255,255,.95) }
.hero.has-photo .button{ box-shadow:0 10px 20px rgba(0,0,0,.12) }

/* List */
.list{list-style:none;margin:0;padding:0}
.list li{padding:10px 0;border-bottom:1px solid var(--line)}
/* News with thumbs */
.news-item{display:flex; align-items:center; gap:12px}
.news-thumb{width:56px;height:56px;object-fit:cover;border-radius:10px;flex:0 0 56px}

/* CTA tiles */
.cta-grid{display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}
.cta-tile{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.cta-tile h3{margin:0 0 6px}
.cta-tile.has-bg{color:#fff}
.cta-tile.has-bg::before{content:"";position:absolute;inset:0;background:rgba(8,12,22,.35)}
.cta-tile.has-bg > *{position:relative;z-index:1}
.cta-tile.has-bg{background-position:center;background-size:cover}

/* Footer */
footer{border-top:1px solid var(--line);padding:36px 0;color:var(--muted);background:#fff}

/* Responsive */
@media (max-width:1080px){
  .header nav .menu{ gap:14px }
  .header nav .menu > li > a{ padding:10px 6px }
}
@media (max-width:960px){
  .grid-3,.cta-grid{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .hero h1{font-size:30px}
}
/* Primary nav */
.header nav{display:flex; align-items:center; gap:12px}
.header nav .menu{display:flex; gap:20px; list-style:none; margin:0; padding:0}
.header nav .menu > li{display:flex; align-items:center}
.header nav .menu > li > a{
  display:block; padding:12px 8px; line-height:1;
  color:var(--ink); font-weight:600; letter-spacing:.02em; text-decoration:none;
}
.header nav .menu > li > a:hover{ color:var(--accent); text-decoration:none }
.header nav .menu > li.current-menu-item > a,
.header nav .menu > li.current-page-ancestor > a{ color:var(--accent) }
.header nav a.button.cta, .header nav a.button.cta:visited{ color:#fff }
.header nav a.button.cta:hover{ color:#fff; filter:brightness(.95) }
