/*
Theme Name: SOUND FOUN v2
Theme URI: https://soundfoun.studio.site/
Author: LIBRA Creative Works
Description: WordPress theme for NPO SOUND FOUN official website.
Version: 0.2.0
Text Domain: sound-foun
*/

:root {
  --sf2-navy: #0a1526;
  --sf2-navy-soft: #101d31;
  --sf2-paper: #f4efe3;
  --sf2-paper-dark: #ebe2d0;
  --sf2-gold: #cbaa74;
  --sf2-ink: #19233a;
  --sf2-muted: #6f6a60;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--sf2-ink);
  background: var(--sf2-paper);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

a {
  color: inherit;
}

.sf2-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 21, 38, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sf2-site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
}

.sf2-site-logo {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.sf2-site-logo img {
  display: block;
  height: 44px;
  width: auto;
}

.sf2-site-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.sf2-site-menu a {
  color: #fff;
  text-decoration: none;
  opacity: 0.84;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.sf2-site-menu a:hover {
  color: var(--sf2-gold);
  opacity: 1;
}

.sf2-site-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(203, 170, 116, 0.55);
  border-radius: 999px;
  color: var(--sf2-gold);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.sf2-site-footer {
  padding: 34px 24px;
  background: var(--sf2-navy);
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.sf2-news-page,
.sf2-news-single {
  background: var(--sf2-paper);
  min-height: 70vh;
}

.sf2-news-archive-hero,
.sf2-news-single-header {
  padding: 96px 24px 72px;
  background:
    linear-gradient(135deg, rgba(10, 21, 38, 0.92), rgba(16, 29, 49, 0.84)),
    var(--sf2-navy);
  color: #fff;
}

.sf2-news-archive-inner,
.sf2-news-single-article {
  max-width: 1040px;
  margin: 0 auto;
}

.sf2-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sf2-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.08em;
}

.sf2-news-archive-hero h1,
.sf2-news-single-header h1 {
  margin: 16px 0 12px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
}

.sf2-news-archive-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.9;
}

.sf2-section {
  padding: 96px 24px 120px;
}

.sf2-bg-paperdark {
  background: var(--sf2-paper-dark);
}

.sf2-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
}

.sf2-news-card {
  display: block;
  overflow: hidden;
  min-height: 100%;
  background: #fffaf0;
  color: var(--sf2-ink);
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(22, 26, 36, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sf2-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(22, 26, 36, 0.18);
}

.sf2-news-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: var(--sf2-navy-soft);
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sf2-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf2-news-body {
  padding: 24px;
}

.sf2-news-date,
.sf2-news-single-header time {
  display: inline-block;
  color: var(--sf2-gold);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.sf2-news-body h4 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.55;
}

.sf2-news-body p {
  margin: 0;
  color: var(--sf2-muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

.sf2-news-more {
  margin-top: 46px;
  text-align: center;
}

.sf2-news-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid rgba(203, 170, 116, 0.62);
  border-radius: 999px;
  color: var(--sf2-navy);
  text-decoration: none;
  font-weight: 700;
}

.sf2-empty-text {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  color: var(--sf2-muted);
}

.sf2-pagination {
  max-width: 1120px;
  margin: 52px auto 0;
  text-align: center;
}

.sf2-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sf2-pagination a,
.sf2-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 14px;
  background: #fffaf0;
  color: var(--sf2-ink);
  text-decoration: none;
}

.sf2-pagination .current {
  background: var(--sf2-navy);
  color: #fff;
}

.sf2-news-single-article {
  padding-bottom: 104px;
}

.sf2-news-single-thumb {
  margin: 56px auto 0;
  max-width: 980px;
  padding: 0 24px;
}

.sf2-news-single-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.sf2-news-single-content {
  max-width: 820px;
  margin: 56px auto 0;
  padding: 0 24px;
  font-size: 1rem;
  line-height: 2;
}

.sf2-news-single-content p {
  margin: 0 0 1.5em;
}

.sf2-news-single-content img {
  max-width: 100%;
  height: auto;
}

.sf2-news-back {
  max-width: 820px;
  margin: 52px auto 0;
  padding: 0 24px;
}

.sf2-news-back a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: var(--sf2-navy);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
}

@media (max-width: 980px) {
  .sf2-site-menu {
    display: none;
  }

  .sf2-news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .sf2-site-nav {
    padding: 14px 18px;
  }

  .sf2-site-logo img {
    height: 38px;
  }

  .sf2-site-cta {
    min-height: 36px;
    padding: 0 14px;
    font-size: 11px;
  }

  .sf2-news-archive-hero,
  .sf2-news-single-header {
    padding: 72px 24px 56px;
  }

  .sf2-section {
    padding: 68px 22px 88px;
  }

  .sf2-news-grid {
    grid-template-columns: 1fr;
  }
}
