/*
Theme Name: Hotel Arc One News
Theme URI: https://arcone.jp/news/
Author: Codex
Description: WordPress theme for Hotel Arc One news pages.
Version: 1.0.0
Text Domain: arc-one-news
*/

.news-section-title {
  margin-bottom: 20px;
}

.news-archive-hero {
  padding: 34px 0 12px;
}

.news-archive-hero .page-hero-inner {
  min-height: 0;
  justify-content: flex-start;
  padding: 24px 28px 22px;
  background: linear-gradient(180deg, rgba(112, 151, 132, 0.18), rgba(58, 125, 115, 0.14));
  color: var(--brand-deep);
  border: 1px solid rgba(46, 111, 104, 0.14);
  box-shadow: 0 10px 24px rgba(24, 32, 42, 0.06);
  text-shadow: none;
}

.news-archive-hero .breadcrumbs {
  margin-bottom: 8px;
  color: #6f8394;
}

.news-archive-hero h1 {
  color: var(--brand-deep);
}

.news-archive-hero p {
  max-width: 760px;
  margin-top: 10px;
  color: #516575;
}

.news-archive-list {
  display: grid;
  gap: 16px;
}

.news-card.has-media {
  grid-template-columns: 238px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.news-card.has-media .news-card-copy {
  grid-column: 2;
}

.news-card.has-media .arrow-link {
  grid-column: 3;
  justify-self: end;
}

.news-card:not(.has-media) {
  grid-template-columns: 238px minmax(0, 1fr) auto;
  align-items: center;
}

.news-card:not(.has-media)::before {
  content: "";
  display: block;
  width: 238px;
  min-height: 1px;
  grid-column: 1;
}

.news-card:not(.has-media) .news-card-copy {
  grid-column: 2;
}

.news-card:not(.has-media) .arrow-link {
  grid-column: 3;
  justify-self: end;
}

.news-card-media {
  width: 220px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  background: #dde7eb;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.news-card-copy,
.news-single-card-copy {
  min-width: 0;
}

.news-card-static {
  pointer-events: none;
}

.news-pagination-wrap {
  margin-top: 28px;
}

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

.news-pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(35, 71, 91, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-deep);
  text-decoration: none;
}

.news-pagination-wrap .page-numbers.current {
  background: rgba(35, 71, 91, 0.12);
  border-color: rgba(35, 71, 91, 0.2);
}

.news-single-card {
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(24, 32, 42, 0.08);
  box-shadow: 0 12px 28px rgba(24, 32, 42, 0.05);
  overflow: hidden;
}

.news-single-visual {
  margin: -26px -26px 26px;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: #dde7eb;
}

.news-single-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.news-single-card-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.news-single-card-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.35;
  color: var(--brand-deep);
}

.news-single-card-copy p,
.news-single-content {
  color: #43515e;
}

.news-single-card-copy p {
  margin: 0;
}

.news-single-content {
  line-height: 2;
}

.news-single-content > *:first-child {
  margin-top: 0;
}

.news-single-content > *:last-child {
  margin-bottom: 0;
}

.news-single-content a {
  color: var(--brand);
}

.news-single-footer {
  margin-top: 30px;
}

.news-single-footer .button-secondary {
  min-width: 220px;
}

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

.breadcrumbs a:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .news-card.has-media {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news-card:not(.has-media) {
    grid-template-columns: 1fr;
  }

  .news-card:not(.has-media)::before {
    display: none;
  }

  .news-card:not(.has-media) .news-card-copy {
    grid-column: auto;
  }

  .news-card.has-media .news-card-copy,
  .news-card.has-media .arrow-link,
  .news-card:not(.has-media) .arrow-link {
    grid-column: auto;
  }

  .news-card-media {
    width: 100%;
  }

  .news-single-card {
    padding: 20px;
    border-radius: 18px;
  }

  .news-single-visual {
    margin: -20px -20px 18px;
    aspect-ratio: 16 / 10;
  }

  .news-single-card-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
