/* --- Slide layout --- */
.apc-swiper .swiper-wrapper { align-items: stretch; }

.apc-swiper { position: relative; overflow: visible; }
.apc-slide {
background-color:white;
  display: grid;
  grid-template-rows: auto 1fr auto; /* head | image | info */
  height: auto;
  gap: 12px;
  box-sizing: border-box;
}

/* --- Head (title + building) --- */
.apc-head {
background-color:#f6f4f2;;
  padding: 12px 16px 4px;
  text-align: left;
}
.apc-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
  text-align:center;
  color: #0e4a8a; /* deep blue for big title */
}
.apc-title a { color: inherit; text-decoration: none; }
.apc-title a:hover,
.apc-title a:focus { text-decoration: underline; }

.apc-building {
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: .2px;
  color: #6b7683; /* muted gray */
  text-transform: uppercase;
    text-align:center;
}

/* --- Image block --- */
.apc-image { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  min-height: 160px;                 
  background: #f6f4f2;
  overflow: hidden;
}
.apc-image img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  object-fit: contain;               
  display: block;
}

/* --- Info panel --- */
.apc-info {
  background: #0e4a8a;      
  color: #fff;
  padding: 16px 18px;
  text-align: center;
}
.apc-info-row {
  display: block;
  margin: 6px 0;
  font-size: 14px;
}
.apc-label { opacity: .9; font-weight: 500; }
.apc-value { font-weight: 600; }

/* --- Swiper controls --- */
.apc-nav .swiper-button-prev,
.apc-nav .swiper-button-next {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #0e4a8a;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.apc-nav .swiper-button-prev::after,
.apc-nav .swiper-button-next::after {
  font-size: 18px;                  
}
.apc-nav .swiper-pagination { position: relative; margin-top: 12px; }

.apc-nav .swiper-pagination {
  position: static;        /* default is absolute */
  display: block;
  width: 100%;
  margin-top: 8px;
  text-align: center;
}
.apc-nav .swiper-pagination-bullet { opacity: .5; }
.apc-nav .swiper-pagination-bullet-active { opacity: 1; }

/* Optional: brand the dots */
.apc-nav .swiper-pagination-bullet { 
  background: #0e4a8a;     /* your blue */
  opacity: .35;
}


/* --- Responsive tweaks --- */
@media (min-width: 640px) {
  .apc-title { font-size: 26px; }
  .apc-info { padding: 20px; }
}
@media (min-width: 960px) {
  .apc-title { font-size: 28px; }
}
@media (max-width:1024px) {
   .apc-swiper {max-width:90vw!important;}
}