/* =============================================
   Industrial Hose Hub - News Styles
   Hydraulic Pulse Design
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --crimson: #9b1b30;
  --crimson-dark: #7a1526;
  --crimson-light: #c22a42;
  --steel: #c0c0c0;
  --steel-light: #d9d9d9;
  --steel-dark: #8a8a8a;
  --graphite: #2b2b2b;
  --graphite-deep: #1a1a1a;
  --graphite-light: #3d3d3d;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --text-dark: #1a1a1a;
  --text-body: #333333;
  --text-muted: #666666;
  --font-heading: 'Outfit', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', 'Outfit', sans-serif;
  --header-height: 70px;
  --max-width: 1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-body); background: var(--off-white); line-height: 1.8; }
a { color: var(--crimson); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--crimson-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--graphite-deep); height: var(--header-height); }
.header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.logo-icon { font-size: 1.5rem; }
.logo-text { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; color: var(--white); }
.logo-text span { color: var(--crimson-light); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu li a { color: var(--steel-light); font-size: 0.85rem; font-weight: 500; padding: 8px 12px; border-radius: 4px; transition: all 0.2s ease; white-space: nowrap; }
.nav-menu li a:hover, .nav-menu li a.active { color: var(--white); background: var(--crimson); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* News Header */
.news-header {
  margin-top: var(--header-height);
  background: linear-gradient(135deg, var(--graphite-deep), var(--crimson-dark));
  padding: 60px 24px;
  text-align: center;
}
.news-header h1 { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 900; color: var(--white); margin-bottom: 8px; }
.news-header p { color: var(--steel); font-size: 0.95rem; }

/* News List */
.news-list-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
}
.news-intro {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e5e5e5;
}
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(155,27,48,0.12);
}

.news-card-content {
  padding: 20px 24px;
}
.news-card-content time {
  color: var(--crimson);
  font-size: 0.8rem;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.news-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 8px;
}
.news-card-summary {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.news-source {
  color: var(--steel-dark);
  font-size: 0.8rem;
}
.news-link {
  color: var(--crimson);
  font-size: 0.85rem;
  font-weight: 600;
}
.news-link:hover { color: var(--crimson-light); }

/* Footer */
.footer { background: var(--graphite-deep); color: var(--steel); padding: 48px 0 0; }
.footer-content { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-section h3 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-section p { color: var(--steel-dark); font-size: 0.85rem; }
.footer-section ul li { margin-bottom: 8px; }
.footer-section ul li a { color: var(--steel-dark); font-size: 0.85rem; }
.footer-section ul li a:hover { color: var(--crimson-light); }
.footer-bottom { border-top: 1px solid var(--graphite-light); padding: 20px 24px; max-width: var(--max-width); margin: 0 auto; text-align: center; font-size: 0.8rem; color: var(--steel-dark); }

/* Responsive */
@media (max-width: 768px) {
  :root { --header-height: 60px; }
  .hamburger { display: flex; }
  .nav-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--graphite-deep); flex-direction: column; padding: 80px 24px 24px; gap: 4px; transition: right 0.35s ease; box-shadow: -4px 0 20px rgba(0,0,0,0.4); overflow-y: auto; }
  .nav-menu.active { right: 0; }
  .nav-menu li a { font-size: 0.95rem; padding: 12px 16px; display: block; }
  .news-header h1 { font-size: 1.6rem; }
  .news-card-content { padding: 16px; }
  .footer-content { grid-template-columns: 1fr; }
}
