/* Additional styles for news_list05.html through news_list08.html.
   Kept separate so the legacy site styles remain untouched. */

.custom-news {
  color: #2b2b2b;
}

.custom-news .cn-copy {
  color: #333;
  font-size: 1rem;
  font-weight: 400;
  line-height: 2.1;
}

.custom-news .cn-copy p {
  margin: 0 0 1rem;
}

.custom-news .cn-section-title {
  margin: 1.8rem 0 1rem;
  color: #f26f21;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.5;
}

.custom-news .cn-photo-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem 2rem;
}

.custom-news .cn-photo-grid > div {
  width: 50%;
  padding: 0 0.75rem;
}

.custom-news .cn-photo-grid img,
.custom-news .cn-story img,
.custom-news .cn-feature img,
.custom-news .cn-ending img {
  display: block;
  width: 100%;
  height: auto;
}

.custom-news .cn-photo-grid.equal img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.custom-news .cn-feature {
  width: 72%;
  margin: 0 0 2rem;
}

.custom-news .cn-story {
  display: flex;
  align-items: flex-start;
  margin: 0 -1rem 2.4rem;
}

.custom-news .cn-story.reverse {
  flex-direction: row-reverse;
}

.custom-news .cn-story > div {
  width: 50%;
  padding: 0 1rem;
}

.custom-news .cn-callout {
  margin: 1rem 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid #f26f21;
  background: #fff7f2;
  line-height: 1.85;
}

.custom-news .cn-callout strong {
  color: #df5311;
  font-weight: 500;
}

.custom-news .cn-quote {
  margin: 1.2rem 0 2rem;
  padding: 1.15rem 1.35rem;
  border-left: 4px solid #ccc;
  color: #4f4f4f;
  background: #f7f7f7;
  font-size: 1rem;
  line-height: 2;
}

.custom-news .cn-voices {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5rem 2rem;
}

.custom-news .cn-voice {
  width: calc(50% - 1rem);
  margin: 0.5rem;
  padding: 1rem 1.1rem;
  color: #4b4b4b;
  background: #f7f7f7;
  line-height: 1.85;
}

.custom-news .cn-voice p {
  margin: 0;
}

.custom-news .cn-caption,
.custom-news .cn-source,
.custom-news .cn-credits {
  color: #707070;
  font-size: 0.92rem;
}

.custom-news .cn-location {
  width: 72%;
  margin: 1rem 0 2rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid #f26f21;
  background: #fff7f2;
  line-height: 1.8;
}

.custom-news .cn-location strong {
  display: block;
  color: #df5311;
  font-weight: 500;
}

.custom-news .cn-closing-layout {
  display: flex;
  align-items: flex-start;
  margin: 0 -1rem 2rem;
}

.custom-news .cn-closing-layout > div {
  width: 50%;
  padding: 0 1rem;
}

.custom-news .cn-final-line {
  color: #f26f21;
  font-size: 1.15rem;
}

/* Announcement page */
.announcement-detail {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 3rem 2.6rem;
  border-top: 9px solid #ed0016;
  background: #f3f0eb;
}

.announcement-detail::before {
  position: absolute;
  top: -4rem;
  right: -5rem;
  width: 22rem;
  height: 22rem;
  content: "";
  border: 4rem solid rgba(237, 0, 22, 0.035);
  border-radius: 50%;
}

.announcement-detail .an-inner {
  position: relative;
  z-index: 1;
}

.announcement-detail .an-label {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0 0 2rem 2.5rem;
  line-height: 1;
}

.announcement-detail .an-label strong {
  color: #ed0016;
  font-size: 1.05rem;
  letter-spacing: 0.15em;
}

.announcement-detail .an-label span {
  color: #aaa5a2;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
}

.announcement-detail .an-title {
  max-width: 48rem;
  margin: 0 0 1.5rem;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.4;
}

.announcement-detail .an-title-rule {
  width: 5rem;
  height: 3px;
  margin-bottom: 3rem;
  background: #ed0016;
}

.announcement-detail .an-card {
  position: relative;
  min-height: 47rem;
  padding: 4rem 4.5rem 4.5rem;
  background: #fffefa;
  box-shadow: 0 16px 34px rgba(49, 36, 28, 0.09);
}

.announcement-detail .an-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 7.5rem;
  content: "";
  background: #ed0016;
}

.announcement-detail .an-greeting {
  margin: 0 0 2rem;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.7;
}

.announcement-detail .an-copy {
  font-size: 1.2rem;
  line-height: 2.05;
}

.announcement-detail .an-copy p {
  margin: 0 0 1.5rem;
  text-indent: 2em;
}

.announcement-detail .an-signature {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #eee9e4;
}

.announcement-detail .an-company {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.announcement-detail .an-company::before {
  width: 10px;
  height: 2.7rem;
  content: "";
  background: #ed0016;
}

.announcement-detail .an-signature-date {
  font-size: 1.1rem;
  line-height: 1.7;
}

.announcement-detail .an-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 2.5rem;
  color: #96918f;
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.23em;
}

.announcement-detail .an-dots {
  color: #ef3b4d;
  font-size: 1rem;
}

@media (max-width: 767.98px) {
  .custom-news .cn-photo-grid,
  .custom-news .cn-story,
  .custom-news .cn-story.reverse,
  .custom-news .cn-closing-layout {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }

  .custom-news .cn-photo-grid > div,
  .custom-news .cn-story > div,
  .custom-news .cn-closing-layout > div {
    width: 100%;
    padding: 0;
    margin-bottom: 1rem;
  }

  .custom-news .cn-feature,
  .custom-news .cn-location {
    width: 100%;
  }

  .custom-news .cn-voice {
    width: 100%;
  }

  .announcement-detail {
    padding: 3rem 1rem 2rem;
  }

  .announcement-detail .an-label {
    gap: 0.8rem;
    margin: 0 0 1.5rem 0.6rem;
  }

  .announcement-detail .an-title {
    font-size: 2rem;
  }

  .announcement-detail .an-card {
    min-height: 0;
    padding: 2.7rem 1.4rem 3rem;
  }

  .announcement-detail .an-greeting {
    font-size: 1.15rem;
  }

  .announcement-detail .an-copy {
    font-size: 1rem;
    line-height: 1.9;
  }

  .announcement-detail .an-signature {
    margin-top: 3rem;
  }

  .announcement-detail .an-company {
    font-size: 1rem;
  }

  .announcement-detail .an-footer {
    align-items: flex-end;
    gap: 1rem;
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }
}
