/** Senarai Pekeliling listing, based on Figma node 1156:1621. */
.block-views-blocksenarai-pekeliling-block-1 { width: 100%; }

.jkptg-circulars {
  box-sizing: border-box;
  width: min(calc(100% - (2 * var(--jkptg-layout-content-gutter, 24px))), 1200px);
  margin: 40px auto 120px;
  color: var(--jkptg-text-primary, #090909);
  font-family: var(--jkptg-font-family-body, 'Inter', sans-serif);
}

.jkptg-circulars *,
.jkptg-circulars *::before,
.jkptg-circulars *::after { box-sizing: border-box; }

.jkptg-circulars .ajax-progress { display: none; }
.jkptg-circulars__search-filter { padding-bottom: 15px; border-bottom: 1px solid rgb(0 0 0 / 25%); }
.jkptg-circulars__prompt { margin: 0 0 19px; color: #00122a; font-size: 18px; font-weight: 600; line-height: 22px; }
.jkptg-circulars .form-item { margin: 0; }

.jkptg-circulars__keyword input,
.jkptg-circulars__select select {
  display: block;
  width: 100%;
  height: 40px;
  color: #00122a;
  background-color: #fcfcfc;
  border: 1px solid rgb(0 0 0 / 20%);
  border-radius: 6px;
  box-shadow: 0 1px 1.5px rgb(0 0 0 / 8%);
  font-size: 16px;
  line-height: 22px;
}

.jkptg-circulars__keyword input {
  padding: 8px 16px 8px 42px;
  background-image: url('../images/circulars/search.svg?v=1');
  background-repeat: no-repeat;
  background-position: 16px center;
  background-size: 16px;
}

.jkptg-circulars__keyword input::placeholder { color: #929292; opacity: 1; }
.jkptg-circulars__keyword input:focus,
.jkptg-circulars__select select:focus { border-color: #2d9bd3; box-shadow: 0 0 0 3px rgb(45 155 211 / 20%); outline: 0; }

.jkptg-circulars__filter-panel { margin-top: 15px; padding: 15px 10px; background: #f3f5f8; border-radius: 12px; }
.jkptg-circulars__filter-heading {
  display: flex;
  width: 100%;
  min-height: 29px;
  margin: 0 0 15px;
  padding: 0 0 10px;
  align-items: center;
  gap: 4px;
  color: #026ca3;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgb(0 0 0 / 10%);
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  text-align: left;
  cursor: pointer;
}
.jkptg-circulars__filter-heading img { width: 18px; height: 18px; transform: rotate(180deg); transition: transform 160ms ease; }
.jkptg-circulars__filter-heading[aria-expanded='false'] { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.jkptg-circulars__filter-heading[aria-expanded='false'] img { transform: rotate(90deg); }
.jkptg-circulars__filter-fields { display: grid; grid-template-columns: minmax(0, 1fr) 135px; gap: 15px; }
.jkptg-circulars__select select {
  padding: 8px 46px 8px 16px;
  appearance: none;
  background-image: url('../images/circulars/chevron-down.svg?v=1');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 7px;
}
.jkptg-circulars__select--year > fieldset { display: none; }

.jkptg-circulars__filter-submit,
.jkptg-circulars__search-submit,
.jkptg-circulars__actions .form-submit {
  display: inline-flex;
  min-height: 40px;
  padding: 8px 16px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  cursor: pointer;
}
.jkptg-circulars .jkptg-circulars__filter-submit { display: none; }
.jkptg-circulars__filter-submit,
.jkptg-circulars__actions .form-submit[data-drupal-selector*='edit-reset'] { color: #00122a; background: #fcfcfc; border: 1px solid #2d9bd3; }
.jkptg-circulars__actions .jkptg-circulars__search-submit { gap: 6px; color: #fcfcfc; background: #2d9bd3; border: 1px solid #2d9bd3; }
.jkptg-circulars__search-submit img { width: 16px; height: 16px; }
.jkptg-circulars__form-footer { display: flex; min-height: 40px; margin-top: 15px; align-items: center; justify-content: space-between; gap: 20px; }
.jkptg-circulars__form-footer p { margin: 0; color: #3d3d3d; font-size: 12px; line-height: 15px; }
.jkptg-circulars__actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

.jkptg-circulars__results { display: grid; margin-top: 56px; gap: 23px; }
.jkptg-circular-card { padding: 20px 15px; background: #fcfcfc; border: 1px solid rgb(0 0 0 / 10%); border-radius: 10px; }
.jkptg-circular-card__header { display: flex; min-height: 28px; align-items: flex-start; justify-content: space-between; gap: 16px; }
.jkptg-circular-card__category,
.jkptg-circular-card__date { display: inline-flex; min-height: 28px; align-items: center; gap: 4px; border-radius: 4px; font-size: 14px; font-weight: 600; line-height: 22px; }
.jkptg-circular-card__category { padding: 2px 8px; color: #002e2b;}
.jkptg-circular-card__date { color: var(--jkptg-text-primary, #00122a); white-space: nowrap; }
.jkptg-circular-card__date img { display: none; }
.jkptg-circular-card__date::before { content: ''; width: 20px; height: 20px; flex: 0 0 20px; }
.jkptg-circular-card__content { display: flex; margin-top: 25px; flex-direction: column; gap: 25px; }
.jkptg-circular-card__title { margin: 0; color: #00122a; font-size: 20px; font-weight: 700; line-height: 24px; }
.jkptg-circular-card__description {
  margin-top: 25px;
  color: #3d3d3d;
  font-family: var(--jkptg-font-family-body, 'Inter', sans-serif);
  font-size: 16px;
  line-height: 24px;
}
.jkptg-circular-card__description :where(p, span, div, ul, ol, li, a, strong, em) {
  font-family: inherit;
}
.jkptg-circular-card__description h3 { margin: 0 0 8px; color: #090909; font-size: 18px; font-weight: 700; line-height: 24px; }
.jkptg-circular-card__description p { margin: 0; }
.jkptg-circular-card__documents { width: 100%; padding: 12px; background: #fcfcfc; border: 1px solid #026ca3; border-radius: 4px; }
.jkptg-circular-card__documents-heading { display: flex; min-height: 22px; padding-bottom: 5px; align-items: center; justify-content: space-between; gap: 12px; color: #00122a; border-bottom: 1px solid rgb(0 0 0 / 10%); font-size: 16px; font-weight: 600; line-height: 17px; cursor: pointer; list-style: none; }
.jkptg-circular-card__documents-heading::-webkit-details-marker { display: none; }
.jkptg-circular-card__documents-heading img { width: 12px; height: 7px; flex: 0 0 12px; transition: transform 160ms ease; }
.jkptg-circular-card__documents[open] .jkptg-circular-card__documents-heading img { transform: rotate(180deg); }
.jkptg-circular-card__files { display: grid; margin-top: 15px; gap: 13px; }
.jkptg-circular-card__file { display: flex; width: 100%; min-height: 70px; padding: 10px; align-items: center; justify-content: space-between; gap: 20px; background: #f3f5f8; border: 1px solid rgb(0 0 0 / 10%); border-radius: 8px; }
.jkptg-circular-card__file-info { display: flex; min-width: 0; flex: 1 1 auto; align-items: center; gap: 6px; }
.jkptg-circular-card__pdf-icon { width: 50px; height: 50px; flex: 0 0 50px; object-fit: contain; }
.jkptg-circular-card__file-info div { display: flex; min-width: 0; flex-direction: column; }
.jkptg-circular-card__file-info strong { color: #3d3d3d; font-size: 16px; font-weight: 700; line-height: 24px; overflow-wrap: anywhere; }
.jkptg-circular-card__file-info span { color: #929292; font-size: 12px; line-height: 15px; }
.jkptg-circular-card__download { display: inline-flex; min-width: 123px; min-height: 40px; padding: 8px 16px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 6px; color: #fcfcfc; background: #2d9bd3; border: 1px solid #2d9bd3; border-radius: 6px; text-decoration: none; }
.jkptg-circular-card__download:hover,
.jkptg-circular-card__download:focus-visible,
.jkptg-circulars__actions .jkptg-circulars__search-submit:hover,
.jkptg-circulars__actions .jkptg-circulars__search-submit:focus-visible { color: #fcfcfc; background: #1985bc; border-color: #1985bc; }
.jkptg-circulars__filter-submit:hover,
.jkptg-circulars__filter-submit:focus-visible,
.jkptg-circulars__actions .form-submit[data-drupal-selector*='edit-reset']:hover,
.jkptg-circulars__actions .form-submit[data-drupal-selector*='edit-reset']:focus-visible { background: #a7e3ff; }
.jkptg-circulars__empty { padding: 32px; background: #f3f5f8; border-radius: 8px; text-align: center; }

@media (max-width: 767.98px) {
  .jkptg-circulars { margin-block: 28px 80px; }
  .jkptg-circulars__filter-fields { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .jkptg-circulars__filter-submit { width: 100%; }
  .jkptg-circulars__form-footer { flex-direction: column; align-items: flex-start; }
  .jkptg-circulars__actions { width: 100%; }
  .jkptg-circulars__actions > * { flex: 1 1 50%; }
  .jkptg-circulars__results { margin-top: 36px; }
  .jkptg-circular-card { padding: 16px 12px; }
  .jkptg-circular-card__header { flex-wrap: wrap; }
  .jkptg-circular-card__title { font-size: 18px; line-height: 23px; }
  .jkptg-circular-card__description { margin-top: 18px; font-size: 14px; line-height: 21px; }
  .jkptg-circular-card__file { width: 100%; }
}

@media (max-width: 479.98px) {
  .jkptg-circulars__actions { flex-direction: column; }
  .jkptg-circulars__actions > * { width: 100%; }
  .jkptg-circular-card__file { align-items: stretch; flex-direction: column; }
  .jkptg-circular-card__download { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .jkptg-circulars__filter-heading img,
  .jkptg-circular-card__documents-heading img { transition: none; }
}
