.saepak-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
}
@media (max-width: 900px) {
  .saepak-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .saepak-why-grid {
    grid-template-columns: 1fr;
  }
}
.saepak-why-card {
  background: #ffffff;
  border-radius: 5px;
  padding: 28px 28px 24px;
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.07);
  border-left: 4px solid transparent;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.saepak-why-card:hover {
  border-left-color: #ec1b24;
  transform: translateY(-4px);
  box-shadow: 0 8px 32px 0 rgba(236, 27, 36, 0.13);
}
.saepak-why-card h5 {
  font-size: 18px;
  line-height: 25px;
  color: #ec1b24;
  margin: 0 0 4px;
  font-weight: 700;
}
.saepak-why-card p {
  font-size: 15px;
  color: #333333;
  margin: 0;
  line-height: 1.6;
}

/* ================================================
   Event Gallery – Masonry Grid (shared by all blog posts)
   ================================================ */
.sae-gallery-masonry {
	column-count: 3;
	column-gap: 14px;
}
.sae-gallery-item {
	break-inside: avoid;
	margin-bottom: 14px;
	display: block;
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
}
.sae-gallery-item img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
	transition: transform 0.4s ease;
}
.sae-gallery-item:hover img {
	transform: scale(1.04);
}
.sae-gallery-overlay {
	position: absolute;
	inset: 0;
	background: rgba(61, 67, 109, 0.55);
	opacity: 0;
	transition: opacity 0.35s ease;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sae-gallery-item:hover .sae-gallery-overlay {
	opacity: 1;
}
.sae-gallery-overlay svg {
	width: 44px;
	height: 44px;
	fill: #fff;
	transform: scale(0.7);
	transition: transform 0.35s ease;
}
.sae-gallery-item:hover .sae-gallery-overlay svg {
	transform: scale(1);
}
/* Lightbox */
.sae-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.sae-lightbox.active {
	display: flex;
}
.sae-lightbox img {
	max-width: 90vw;
	max-height: 88vh;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
	animation: saeZoomIn 0.3s ease;
}
@keyframes saeZoomIn {
	from { transform: scale(0.85); opacity: 0; }
	to   { transform: scale(1);    opacity: 1; }
}
.sae-lightbox-close {
	position: fixed;
	top: 20px;
	right: 24px;
	background: rgba(255, 255, 255, 0.15);
	border: none;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}
.sae-lightbox-close:hover {
	background: #ec1b24;
}
@media screen and (max-width: 850px) {
	.sae-gallery-masonry { column-count: 2; column-gap: 10px; }
	.sae-gallery-item    { margin-bottom: 10px; }
}
@media screen and (max-width: 500px) {
	.sae-gallery-masonry { column-count: 1; }
}
