﻿.dps-igm-gallery {
  overflow: hidden;
  width: 100%;
  border: 1px solid #dbe8ff;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(0, 50, 118, 0.1);
  color: #12243c;
  font-family: "Poppins", Sans-serif;
}

.dps-igm-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 34px;
  border-bottom: 5px solid #ffc400;
  background: #003276;
}

.dps-igm-eyebrow {
  margin: 0 0 7px;
  color: #ffc400;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.dps-igm-hero h2 {
  margin: 0;
  color: #ffffff;
  font-size: 36px;
  line-height: 1.12;
  font-weight: 900;
}

.dps-igm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 58px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffc400;
  color: #003276;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.28);
}

.dps-igm-body {
  display: grid;
  gap: 24px;
  padding: 34px;
  background: #f6f9ff;
}

.dps-igm-filter {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-top: 4px solid #d40000;
  border-radius: 14px;
  background: #fff7db;
}

.dps-igm-filter-title {
  color: #003276;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.dps-igm-dropdown {
  position: relative;
  width: min(100%, 360px);
}

.dps-igm-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 2px solid #ffc400;
  border-radius: 12px;
  background: #ffffff;
  color: #003276;
  font-family: "Poppins", Sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.dps-igm-dropdown-toggle[aria-expanded="true"] {
  border-color: #003276;
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.28);
}

.dps-igm-dropdown-arrow {
  width: 10px;
  height: 10px;
  border-right: 3px solid #003276;
  border-bottom: 3px solid #003276;
  transform: rotate(45deg) translateY(-2px);
  flex: 0 0 auto;
}

.dps-igm-dropdown-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #dbe8ff;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 50, 118, 0.16);
}

.dps-igm-dropdown-menu[hidden] {
  display: none !important;
}

.dps-igm-dropdown-item {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: #003276 !important;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none !important;
  text-transform: uppercase;
}

.dps-igm-dropdown-item:hover,
.dps-igm-dropdown-item.is-active {
  background: #003276;
  color: #ffffff !important;
}
.dps-igm-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: #c40000;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
}

.dps-igm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dps-igm-card {
  overflow: hidden;
  border: 1px solid #dbe8ff;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 50, 118, 0.08);
}

.dps-igm-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 72px;
  padding: 14px 16px;
  border-bottom: 1px solid #dbe8ff;
  background: #fff8df;
}

.dps-igm-card-top h3 {
  margin: 0;
  color: #003276;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}


.dps-igm-thumb {
  display: block;
  width: 100%;
  height: 230px;
  padding: 0;
  border: 0;
  background: #eef4ff;
  cursor: pointer;
}

.dps-igm-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dps-igm-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-top: 1px solid #dbe8ff;
  background: #ffffff;
}

.dps-igm-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #12243c;
  font-size: 13px;
  font-weight: 800;
}

.dps-igm-date::before {
  content: "";
  width: 28px;
  height: 28px;
  border: 1px solid #dbe8ff;
  border-radius: 8px;
  background:
    linear-gradient(#003276, #003276) 7px 8px / 14px 3px no-repeat,
    linear-gradient(#ffc400, #ffc400) 7px 15px / 14px 3px no-repeat,
    #eef4ff;
}

.dps-igm-view {
  min-height: 34px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: #c40000;
  color: #ffffff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.dps-igm-view:hover {
  background: #003276;
}

.dps-igm-empty {
  padding: 26px;
  border: 1px dashed #b9c9e8;
  border-radius: 16px;
  background: #ffffff;
  color: #50617a;
  font-weight: 800;
  text-align: center;
}

.dps-igm-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.dps-igm-modal.is-open {
  display: flex;
}

.dps-igm-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 14, 36, 0.78);
}

.dps-igm-modal-box {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.dps-igm-modal-box h3 {
  margin: 0;
  padding: 18px 56px 18px 22px;
  background: #003276;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.dps-igm-modal-box img {
  display: block;
  width: 100%;
  height: auto;
}


.dps-igm-modal-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #ffc400;
  color: #003276;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.dps-igm-modal-nav:hover {
  background: #003276;
  color: #ffffff;
}

.dps-igm-modal-prev {
  left: 14px;
}

.dps-igm-modal-next {
  right: 14px;
}

.dps-igm-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #ffc400;
  color: #003276;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 960px) {
  .dps-igm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .dps-igm-gallery {
    border-radius: 16px;
  }

  .dps-igm-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 22px;
  }

  .dps-igm-hero h2 {
    font-size: 29px;
  }

  .dps-igm-badge {
    min-width: 92px;
    min-height: 48px;
    font-size: 12px;
  }

  .dps-igm-body {
    padding: 18px 12px 24px;
  }

  .dps-igm-filter {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-top: 4px solid #d40000;
  border-radius: 14px;
  background: #fff7db;
}

.dps-igm-filter-title {
  color: #003276;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.dps-igm-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dps-igm-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border: 2px solid #ffc400;
  border-radius: 999px;
  background: #ffffff;
  color: #003276 !important;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none !important;
  text-transform: uppercase;
}

.dps-igm-filter-pill:hover,
.dps-igm-filter-pill.is-active {
  border-color: #003276;
  background: #003276;
  color: #ffffff !important;
}
.dps-igm-filter label {
    min-width: 0;
  }

  .dps-igm-grid {
    grid-template-columns: 1fr;
  }
  .dps-igm-card-footer {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .dps-igm-thumb {
    height: 210px;
  }
  .dps-igm-modal-nav {
    width: 38px;
    height: 38px;
    font-size: 30px;
  }

  .dps-igm-modal-prev {
    left: 8px;
  }

  .dps-igm-modal-next {
    right: 8px;
  }
}






/* Photo Gallery album shortcode */
.dps-photo-albums {
  overflow: hidden;
  width: 100%;
  border: 1px solid #dbe8ff;
  border-radius: 18px;
  background: #f6f9ff;
  box-shadow: 0 20px 45px rgba(0, 50, 118, 0.1);
  color: #12243c;
  font-family: "Poppins", Sans-serif;
}

.dps-photo-albums .dps-pa-hero {
  border-bottom: 5px solid #ffc400;
}

.dps-pa-body {
  display: grid;
  gap: 24px;
  padding: 34px;
  background: #f6f9ff;
}

.dps-pa-filter {
  margin: 0;
}

.dps-pa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.dps-pa-card {
  overflow: hidden;
  border: 1px solid #dbe8ff;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 50, 118, 0.08);
}

.dps-pa-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 84px;
  padding: 18px;
  background: #fff7db;
}

.dps-pa-card-top h3 {
  margin: 0;
  color: #003276;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
}

.dps-pa-card-top span {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  background: #003276;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dps-pa-cover {
  display: block;
  width: 100%;
  height: 220px;
  background: #dbe8ff;
  object-fit: cover;
}

.dps-pa-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-top: 1px solid #dbe8ff;
  background: #ffffff;
}

.dps-pa-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #42546f;
  font-size: 13px;
  font-weight: 800;
}

.dps-pa-meta::before {
  content: "";
  width: 28px;
  height: 28px;
  border: 1px solid #dbe8ff;
  border-radius: 8px;
  background:
    linear-gradient(#003276, #003276) 7px 8px / 14px 3px no-repeat,
    linear-gradient(#ffc400, #ffc400) 7px 15px / 14px 3px no-repeat,
    #eef4ff;
}

.dps-pa-open,
.dps-pa-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: #d40000;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
  text-transform: uppercase;
}

.dps-pa-open:hover,
.dps-pa-back:hover {
  background: #003276;
  color: #ffffff !important;
}

.dps-pa-active-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-left: 6px solid #d40000;
  border-radius: 14px;
  background: #fff7db;
}

.dps-pa-active-head h3 {
  margin: 0;
  color: #003276;
  font-size: 24px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .dps-pa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .dps-photo-albums {
    border-radius: 16px;
  }

  .dps-pa-body {
    padding: 18px 12px 24px;
  }

  .dps-pa-grid {
    grid-template-columns: 1fr;
  }

  .dps-pa-cover {
    height: 235px;
  }

  .dps-pa-card-footer {
    align-items: center;
    flex-direction: row;
  }

  .dps-pa-active-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .dps-pa-active-head h3 {
    font-size: 20px;
    text-align: left;
  }
}

/* Photo-count badge on cards */
.dps-igm-thumb{position:relative}
.dps-igm-count-badge{position:absolute;right:10px;bottom:10px;padding:4px 10px;border-radius:999px;background:rgba(6,43,118,.88);color:#fff;font-size:12px;font-weight:700;line-height:1;pointer-events:none}

/* Pagination (news + albums) */
.dps-igm-pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:30px auto 8px}
.dps-igm-page{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border-radius:8px;border:1px solid #d7e4f5;background:#fff;color:#073B7A;font-weight:700;text-decoration:none;line-height:1;transition:all .15s ease}
.dps-igm-page:hover{background:#073B7A;color:#fff;border-color:#073B7A}
.dps-igm-page.is-active{background:#073B7A;color:#fff;border-color:#073B7A;pointer-events:none}
.dps-igm-arrow{font-size:20px}
.dps-igm-page.is-disabled{opacity:.4;pointer-events:none;background:#f3f7fd}
.dps-igm-dots{border:none;background:transparent;min-width:24px;color:#7893bd;font-weight:700}
@media(max-width:480px){.dps-igm-pagination{gap:6px}.dps-igm-page{min-width:34px;height:34px;padding:0 8px;font-size:13px}}
