/* ==================================================================
   /newsletter — "Latest Newsletter" DOCman module (module id 251)
   Article 1352 embeds the module with
   {loadmodule mod_docman_documents,Latest Newsletter}. The module is
   set to DOCman category 20 (School » Newsletter), limit 1, order
   "Most Recent First", gallery layout — so whatever the office uploads
   last is what this page shows, with no PDF path written anywhere.

   The gallery renders page 1 of the PDF as a generated thumbnail. DOCman
   only ever makes one size (155x200 — no bigger variant exists and the
   component config has no size setting), so the card keeps the image
   close to native and lets the frame do the work.
   ================================================================== */

.latest-newsletter .koowa_media_contents {
  display: flex;
  justify-content: center;
}

.latest-newsletter .koowa_media__item {
  width: auto;
  max-width: 100%;
}

.latest-newsletter .koowa_media__item__content-holder {
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.latest-newsletter a:hover .koowa_media__item__content-holder {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

/* ~215px wide: noticeably bigger than the 155px original, still sharp */
.latest-newsletter .koowa_media__item__thumbnail img {
  display: block;
  width: 215px;
  max-width: 100%;
  height: auto;
}

/* caption bar under the cover */
.latest-newsletter .koowa_media__item__label {
  background: #22345e;
  padding: 12px 14px !important;
  height: auto !important;
}

.latest-newsletter .koowa_media__item__label,
.latest-newsletter .koowa_media__item__label * {
  color: #fff !important;
  font-style: normal;
}

.latest-newsletter .koowa_media__item__label .overflow_container {
  font-size: 16px;
  font-weight: 600;
}
