:root{--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color);--wp-editor-canvas-background:#ddd;--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,160.5;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.reusable-blocks-menu-items__convert-modal{z-index:1000001}


/* Section Layout */
.location-section {
  background-color: #ffffff;
  padding: 60px 20px;
  font-family: Arial, sans-serif;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.locations-header h2 {
  font-size: 2rem;
  color: #0e2a45;
  font-weight: 700;
  margin-bottom: 8px;
}

.locations-header p {
  font-size: 1rem;
  color: #333333;
  margin-bottom: 18px;
}

.branch-hero-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 30px;
}

/* Locations List */
.location-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Location Item Card */
.location-item {
  display: flex;
  background-color: #0e2a45;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.location-item:hover {
  background-color: #123a5f;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Location Info */
.location-info {
  flex: 1;
  padding: 22px;
  color: #e0e6eb;
}

/* Branch Heading */
.location-info h3 {
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 6px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.location-item:hover .location-info h3 {
  color: #d1f442; /* Slightly brighter on hover */
}

/* Arrow Icon */
.arrow-icon {
  margin-left: 8px;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.location-item.active .arrow-icon {
  transform: rotate(180deg);
}

/* Email & Phone with Icons */
.location-info p i {
  margin-right: 6px;
  color: #9acd32;
}

.location-info p {
  margin: 4px 0;
  font-weight: 600;
  font-size: 1rem;
}

.location-info a {
  color: #9acd32;
  text-decoration: none;
  font-weight: 600;
}

.location-info a:hover {
  text-decoration: underline;
}

/* Buttons */
.location-buttons {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  opacity: 0; /* Fade in */
  transition: opacity 0.5s ease;
}

.location-buttons.show {
  opacity: 1;
}

.location-buttons .btn {
  background-color: #9acd32;
  color: #0e2a45;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  transition: background 0.3s ease;
}

.location-buttons .btn:hover {
  background-color: #7fae1f;
}

/* Map with Slide-in Animation */
.location-map {
  flex: 1;
  display: none;
  transform: translateX(30px);
  opacity: 0;
  transition: all 0.6s ease;
}

.location-map.show {
  display: block;
  transform: translateX(0);
  opacity: 1;
}

.location-map iframe {
  width: 100%;
  height: 360px;
  border: none;
}

/* Responsive */
@media (max-width: 900px) {
  .location-item {
    flex-direction: column;
  }
  .location-map iframe {
    height: 260px;
  }
}
