/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 04 2026 | 11:15:04 */
/*.ms-card {
  background: #fff;
  border: 1.5px solid #d0d5dd;
  border-radius: 0;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.ms-card:hover {
  border-color: #243d82;
  transform: translateY(-4px);
}
.ms-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #243d82;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.ms-card:hover::before {
  transform: translateY(0%);
}
.icon-title-row,
.c-desc,
.default-text {
  position: relative;
  z-index: 1;
  transition: opacity 0.2s ease;
}
.ms-card:hover .icon-title-row,
.ms-card:hover .default-text {
  opacity: 0;
  pointer-events: none;
}
.hover-title,
.hover-text {
  display: block;
  position: absolute;
  left: 1.3rem;
  right: 1.3rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease 0.15s, transform 0.35s ease 0.15s;
  pointer-events: none;
}
.hover-title {
  top: 1.3rem;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.4;
  font-family: 'DM Sans';
}
.hover-text {
  top: 4rem;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  font-family: 'Inter';
}
.ms-card:hover .hover-title,
.ms-card:hover .hover-text {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.icon-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.icon-sq {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.c-inline-title {
  font-size: 21px;
  font-weight: 500;
  color: #253C81;
  line-height: 27px;
  margin-top: 0;
  font-family: 'DM Sans';
}
.c-desc {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
  font-family: 'Inter';
}
.ms-card .uk-margin-small {
  position: relative;
  z-index: 3;
  margin-top: auto;
  transition: opacity 0.2s ease;
}
.ms-card a.el-content.uk-button.uk-button-default {
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.ms-card:hover a.el-content.uk-button.uk-button-default {
  background: #ffffff !important;
  color: #243d82 !important;
  border-color: #ffffff !important;
}
.ms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}
@media (max-width: 768px) {
  .ms-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .ms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}*/
.ms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
  margin-bottom: 60px;
  margin-top: 30px;
}

.ms-card {
  background: #f0f2f7;
  border: 1.5px solid #E1E1E1;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s ease;
  border-radius: 12px;
  align-items: center;
}

.ms-card:hover {
  border-color: #243d82;
  transform: translateY(-4px);
}

/* card-front */
.ms-card .card-front {
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: opacity 0.35s ease, transform 0.35s ease;
  background: #f0f2f7;
}

.ms-card:hover .card-front {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

/* card-hover */
.ms-card .card-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  background: #243d82;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.ms-card:hover .card-hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Image */
.ms-card .card-top-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

/* Icon + Title row */
.ms-card .icon-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 1.3rem 1.3rem 0;
  margin-bottom: 10px;
}

.ms-card .icon-sq {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.ms-card .c-inline-title {
  font-size: 21px;
  font-weight: 500;
  color: #253C81;
  line-height: 27px;
  margin-top: 0;
  font-family: 'DM Sans';
}

.ms-card .c-desc {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 1.3rem 20px;
  flex: 1;
  font-family: 'Inter';
  margin-bottom: 5px;
}

.ms-card .uk-margin-small {
  margin-top: auto;
  padding: 0 1.3rem 1.3rem;
}

/* Front button */
.ms-card .card-front .el-content.uk-button.uk-button-default {
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Hover content */
.ms-card .hover-title {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.4;
  font-family: 'DM Sans';
}

.ms-card .hover-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  font-family: 'Inter';
  flex: 1;
}

/* Hover button - same class, white bg */
.ms-card .card-hover .el-content.uk-button.uk-button-default {
  background: #fff !important;
  color: #243d82 !important;
  border-color: #fff !important;
  margin-top: 16px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
}

.ms-card .card-hover .el-content.uk-button.uk-button-default:hover {
  background: rgba(255, 255, 255, 0.85) !important;
}
.planning-organisation-card .ms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ms-grid .card-hover a.el-content.uk-button.uk-button-default:after {
    top: 1px !important;
}
@media (max-width: 768px) {
  .ms-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .ms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
