﻿/* Gallery archive — full thumbnails + polished card design */
.ipa-gallery-hero .blog-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(91, 138, 184, 0.14);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  box-shadow:
    0 8px 24px rgba(91, 138, 184, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ipa-gallery-hero .blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(91, 138, 184, 0.18);
  border-color: rgba(91, 138, 184, 0.35);
  z-index: 10;
}
.ipa-gallery-hero .blog-card-visual {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  background: #EEF2F7;
  overflow: hidden;
  position: relative;
  margin: 0;
  border-radius: 0;
}
.ipa-gallery-hero .blog-card-visual a {
  display: block;
  width: 100%;
  line-height: 0;
}
.ipa-gallery-hero .blog-card-visual a img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  display: block;
  object-fit: contain !important;
  object-position: center top;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  filter: none;
}
.ipa-gallery-hero .blog-card:hover .blog-card-visual a img {
  transform: scale(1.03);
  filter: none;
}
.ipa-gallery-hero .blog-card-content {
  padding: 18px 18px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  gap: 10px !important;
}
.ipa-gallery-hero .blog-card:hover .blog-card-title {
  color: #5B8AB8 !important;
}
.ipa-gallery-hero .filter-pill.active {
  background: linear-gradient(145deg, #7BA3C9, #5B8AB8);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(91, 138, 184, 0.35);
}
