/* ============================================================
   NEWS — Latest Blog Articles from PLATINUMLOG
   LIG-blog–inspired 4-column card grid
   ============================================================ */

/* --- Section Container --- */
.news {
  position: relative;
  padding: 120px 0 100px;
  background: var(--c-bg-section);
  z-index: var(--z-content);
}

.news__inner {
  max-width: var(--s-container);
  margin: 0 auto;
  padding: 0 var(--s-gutter);
}

/* --- Section Header --- */
.news__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.news__header-left {
  flex: 1;
}

.news__eyebrow {
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin: 0 0 12px;
}

.news__title-en {
  font-family: var(--f-heading-en);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: 0.02em;
  color: var(--c-orange-deep, #D4551A);
  line-height: 1;
  margin: 0 0 16px;
}

.news__subtitle {
  font-family: var(--f-heading-ja);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--c-text);
  margin: 0 0 8px;
}

.news__lead {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--c-text-light);
  line-height: 1.8;
  max-width: 520px;
  margin: 0;
}

/* "もっと記事を見る" — header右上 */
.news__header-cta {
  font-family: var(--f-label);
  font-weight: 500;
  font-size: 14px;
  color: var(--c-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid var(--c-border);
  border-radius: 100px;
  transition: all var(--t-base) var(--ease-smooth);
  white-space: nowrap;
  flex-shrink: 0;
}

.news__header-cta:hover {
  background: var(--c-text);
  color: #fff;
  border-color: var(--c-text);
}

.news__header-cta svg {
  width: 14px;
  height: 14px;
  transition: transform var(--t-base) var(--ease-out);
}

.news__header-cta:hover svg {
  transform: translateX(3px);
}

/* --- Card Grid (4 columns) --- */
.news__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- Individual Card --- */
.news__card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  background: var(--c-bg);
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-smooth);
}

.news__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* --- Card Image Area --- */
.news__card-img {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  background: var(--c-bg-section);
}

.news__card-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.news__card:hover .news__card-img img {
  transform: scale(1.05);
}

/* Category badge — inside card body */
.news__card-cat {
  display: inline-block;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin: 0 0 10px;
}

/* Title — inside card body, dark text */
.news__card-title {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-text);
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Card Body (below image) --- */
.news__card-body {
  padding: 16px 18px 20px;
}

.news__card-desc {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-light);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Author + Date row */
.news__card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news__card-author-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-border);
  overflow: hidden;
  flex-shrink: 0;
}

.news__card-author-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news__card-author-name {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--c-text-light);
}

.news__card-date {
  font-family: var(--f-label);
  font-weight: 400;
  font-size: 12px;
  color: var(--c-text-muted);
  margin-left: auto;
}

/* --- Loading State --- */
.news__loading {
  text-align: center;
  padding: 60px 0;
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--c-text-muted);
}

/* --- Fallback: placeholder image --- */
.news__card-img--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-navy-deep) 0%, var(--c-navy) 100%);
}

.news__card-img--fallback .news__fallback-icon {
  position: absolute;
  z-index: 1;
  font-size: 32px;
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .news__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .news__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .news {
    padding: 80px 0 60px;
  }

  .news__header {
    margin-bottom: 32px;
  }

  .news__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news__card-title {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .news {
    padding: 60px 0 48px;
  }

  .news__card-body {
    padding: 14px 16px 18px;
  }
}
