@charset "utf-8";

.monthly-type4r {
  padding-block: clamp(64px, 7vw, 94px);
  background:
    radial-gradient(circle at 6% 10%, rgba(193, 150, 119, .10) 0 90px, transparent 91px),
    radial-gradient(circle at 96% 88%, rgba(114, 147, 97, .10) 0 120px, transparent 121px),
    #fbfaf7;
}

.monthly-type4r-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}

.monthly-type4r-heading-main {
  max-width: 780px;
}

.monthly-type4r-heading .eyebrow {
  margin: 0 0 8px;
}

.monthly-type4r-heading h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.95rem, 4vw, 2.9rem);
  line-height: 1.35;
  letter-spacing: .04em;
}

.monthly-type4r-heading-main > p:last-child {
  margin: 15px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.monthly-type4r-status {
  display: grid;
  gap: 3px;
  min-width: 128px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  text-align: center;
  box-shadow: 0 8px 24px rgba(68,42,30,.05);
}

.monthly-type4r-status span {
  color: var(--accent-dark);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.monthly-type4r-status strong {
  color: var(--brown-900);
  font-size: .9rem;
}

.monthly-type4r-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
}

.monthly-type4r-card {
  overflow: hidden;
  border: 1px solid rgba(124, 92, 68, .13);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(68,42,30,.09);
  transition: transform .25s ease, box-shadow .25s ease;
}

.monthly-type4r-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(68,42,30,.14);
}

.monthly-type4r-image {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 10;
  background: #eee7df;
}

.monthly-type4r-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(31,22,16,.02) 48%,
    rgba(31,22,16,.56) 100%
  );
  content: "";
  pointer-events: none;
}

.monthly-type4r-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.monthly-type4r-card:hover .monthly-type4r-image img,
.monthly-type4r-image:focus-visible img {
  transform: scale(1.035);
}

.monthly-type4r-category {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--brown-900);
  font-size: .72rem;
  font-weight: 900;
  box-shadow: 0 7px 18px rgba(48,31,20,.13);
}

.monthly-type4r-image-caption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.monthly-type4r-content {
  padding: clamp(26px, 3vw, 38px);
}

.monthly-type4r-en {
  margin: 0 0 6px;
  color: var(--accent-dark);
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.monthly-type4r-card--kawara .monthly-type4r-en {
  color: #5f7d54;
}

.monthly-type4r-content h3 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.45;
}

.monthly-type4r-summary {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.monthly-type4r-latest {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: baseline;
  margin-top: 22px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.monthly-type4r-latest span {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
}

.monthly-type4r-latest strong {
  color: var(--brown-900);
  font-size: .9rem;
}

.monthly-type4r-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 24px;
  padding: 12px 21px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  font-size: .86rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(138,65,49,.18);
  transition: transform .2s ease, background .2s ease;
}

.monthly-type4r-card--kawara .monthly-type4r-button {
  background: #5f7d54;
  box-shadow: 0 10px 24px rgba(73,99,63,.18);
}

.monthly-type4r-button:hover,
.monthly-type4r-button:focus-visible {
  transform: translateY(-2px);
  background: var(--brown-900);
}

.monthly-type4r-button span {
  transition: transform .2s ease;
}

.monthly-type4r-button:hover span,
.monthly-type4r-button:focus-visible span {
  transform: translateX(3px);
}

.monthly-type4r-archive {
  margin: 25px 0 0;
  color: var(--muted);
  font-size: .84rem;
  text-align: center;
}

.updates-grid--information-only {
  display: block;
  max-width: 980px;
  margin-inline: auto;
}

@media (max-width: 760px) {
  .monthly-type4r-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .monthly-type4r-status {
    justify-self: start;
  }

  .monthly-type4r-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .monthly-type4r {
    padding-block: 56px;
  }

  .monthly-type4r-card {
    border-radius: 21px;
  }

  .monthly-type4r-category {
    top: 13px;
    left: 13px;
  }

  .monthly-type4r-image-caption {
    right: 13px;
    bottom: 12px;
  }

  .monthly-type4r-content {
    padding: 25px 22px 30px;
  }

  .monthly-type4r-latest {
    grid-template-columns: 64px 1fr;
  }

  .monthly-type4r-button {
    width: 100%;
  }
}
