﻿/*
Theme Name: GeneratePress Child - 감동비뇨의학과
Template: generatepress
Text Domain: generatepress-child
Version: 1.4.3
*/

.site-logo img,
.custom-logo {
  max-height: 48px;
  width: auto;
}

/* 본문/미디어 기본 중앙 정렬 */
.entry-content img,
.entry-content .wp-block-image,
.entry-content figure {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.entry-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

:root {
  --gm-navy: #0A2540;
  --gm-cobalt: #0055D4;
  --gm-soft: #F5F8FC;
}

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  background: linear-gradient(180deg, #F5F8FC 0%, #FFFFFF 45%, #EEF3FA 100%);
}

.gm-utility-bar {
  background: var(--gm-navy);
  color: #e2e8f0;
  font-size: 12px;
  line-height: 1.4;
}

.gm-utility-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.gm-utility-loc {
  margin: 0;
}

.gm-utility-bar a {
  color: #fff;
  text-decoration: none;
}

.gm-utility-bar i {
  color: #60a5fa;
  margin-right: 4px;
}

.gm-utility-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gm-utility-sep {
  opacity: 0.5;
}


.gm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1.2;
}

.gm-btn i {
  font-size: 0.95em;
}

.gm-btn-sm {
  padding: 9px 12px;
  font-size: 12px;
  border-radius: 10px;
}

.gm-btn-primary {
  background: var(--gm-cobalt);
  color: #fff !important;
}

.gm-btn-kakao {
  background: #FEE500;
  color: #191600 !important;
}

.gm-footer-nap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  color: #334155;
  font-size: 13px;
  text-align: center;
}

.gm-footer-nap p {
  margin: 0 0 6px;
}

.gm-footer-kakao {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gm-navy);
  font-weight: 700;
  text-decoration: none !important;
}

/* 원본형 우측 퀵메뉴 */
.gm-quick-menu {
  position: fixed;
  right: 18px;
  bottom: 12%;
  z-index: 9999;
  width: 78px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.gm-quick-btn {
  display: block;
  width: 78px;
  line-height: 0;
  transition: transform 0.2s ease;
}

.gm-quick-btn img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(10, 37, 64, 0.18);
}

.gm-quick-btn:hover {
  transform: scale(1.06);
}

.main-navigation .main-nav ul ul {
  border-top: 2px solid var(--gm-cobalt);
}

/* Home hero — 전폭 배경 + 왼쪽 문구 (분할 없음) */
.gm-home-hero {
  margin: 0 0 36px;
  padding: 40px 36px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0A2540 0%, #163A5F 55%, #0A2540 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.gm-home-hero--photo {
  min-height: 480px;
  display: flex;
  align-items: center;
  background-color: #0A2540;
  background-image:
    linear-gradient(90deg, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.88) 30%, rgba(10, 37, 64, 0.58) 56%, rgba(10, 37, 64, 0.24) 78%, rgba(10, 37, 64, 0.12) 100%),
    var(--gm-hero-image);
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, cover;
  background-position: center center, center 15%;
}

.gm-home-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
  width: 100%;
}

.gm-home-hero h1 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.25;
  margin: 0 0 12px;
}

.gm-home-hero h1 .gm-accent {
  color: #60a5fa;
}

.gm-home-hero .gm-lead {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin: 0 0 18px;
  max-width: 42rem;
}

.gm-home-hero .gm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gm-badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #bfdbfe;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

/* Post Grid */
.gm-post-grid {
  margin: 28px auto 40px;
  max-width: 1100px;
}

.gm-post-grid-head,
.gm-section-head {
  margin-bottom: 18px;
  text-align: center;
}

.gm-eyebrow {
  color: var(--gm-cobalt);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}

.gm-post-grid-head h2,
.gm-section-head h2 {
  color: var(--gm-navy);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin: 0 0 8px;
}

.gm-post-grid-head .gm-lead {
  color: #475569;
  margin: 0;
}

.gm-post-grid-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  justify-content: center;
  align-items: stretch;
}

.gm-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  max-width: 340px;
  text-align: center;
  display: flex;
}

.gm-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: inherit;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gm-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  padding: 12px 14px 14px;
}

.gm-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(10, 37, 64, 0.1);
}

.gm-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  background: var(--gm-navy);
  margin: 0 auto;
}

.gm-card-thumb--fallback {
  background: linear-gradient(145deg, #0A2540, #0055D4);
  width: 100%;
  aspect-ratio: 1 / 1;
}

.gm-card-title {
  color: var(--gm-navy);
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0 0 8px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.gm-card-excerpt {
  color: #64748b;
  font-size: 0.83rem;
  line-height: 1.55;
  margin: 0 0 12px;
  text-align: center;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gm-card-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--gm-cobalt);
  font-size: 0.85rem;
  font-weight: 700;
  margin: auto 0 0;
  padding-top: 4px;
  text-align: center;
}

.gm-inline-cta {
  margin: 32px 0;
  padding: 28px 22px;
  background: linear-gradient(135deg, #0A2540 0%, #163A5F 55%, #0055D4 100%);
  color: #fff;
  border-radius: 12px;
  text-align: center;
}

.gm-inline-cta p {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.gm-inline-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Doctor */
.gm-doctor {
  margin: 40px 0;
  padding: 28px;
  background: #f1f5f9;
  border-radius: 16px;
}

.gm-doctor-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 24px;
  align-items: center;
}

.gm-doctor-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
}

.gm-doctor-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--gm-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  border: 4px solid rgba(0, 85, 212, 0.35);
}

.gm-doctor-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: block;
  border: 4px solid rgba(0, 85, 212, 0.35);
  box-shadow: 0 10px 24px rgba(10, 37, 64, 0.18);
}

.gm-badge {
  display: inline-block;
  background: #dbeafe;
  color: var(--gm-cobalt);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.gm-doctor-card h3 {
  margin: 0 0 4px;
  color: var(--gm-navy);
}

.gm-muted {
  color: #64748b;
  font-size: 13px;
  margin: 0 0 14px;
}

.gm-privacy-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  text-align: left;
  font-size: 13px;
}

.gm-privacy-title {
  font-weight: 700;
  color: var(--gm-navy);
  margin: 0 0 6px;
}

.gm-privacy-title i {
  color: var(--gm-cobalt);
  margin-right: 4px;
}

.gm-doctor-copy h2 {
  color: var(--gm-navy);
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.3;
}

.gm-accent {
  color: var(--gm-cobalt);
}

.gm-cred-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gm-cred-list li {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gm-cred-list i {
  color: var(--gm-cobalt);
}

/* Specialties */
.gm-specialties {
  margin: 40px 0;
}

.gm-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gm-spec-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
}

.gm-spec-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 85, 212, 0.1);
  color: var(--gm-cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.gm-spec-card h3 {
  color: var(--gm-navy);
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.gm-spec-card p {
  color: #475569;
  font-size: 0.92rem;
  margin: 0 0 14px;
}

.gm-spec-card a {
  color: var(--gm-cobalt);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none !important;
}

/* Location */
.gm-location {
  margin: 40px 0;
  padding: 28px;
  background: #f1f5f9;
  border-radius: 16px;
}

.gm-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.gm-location h2 {
  color: var(--gm-navy);
  margin: 0 0 14px;
}

.gm-location-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  font-size: 0.95rem;
  color: #334155;
}

.gm-location-box p {
  margin: 0 0 8px;
}

.gm-location-box a {
  color: var(--gm-cobalt);
  font-weight: 700;
  text-decoration: none !important;
}

.gm-location-box hr {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 12px 0;
}

.gm-note {
  color: #dc2626;
  font-size: 0.85rem;
}

.gm-map-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gm-branch-frame {
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  background: #0A2540;
  overflow: hidden;
}

.gm-branch-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  object-position: center center;
  margin: 0 auto;
  background: #0A2540;
}

.gm-map-wrap {
  min-height: 240px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #e2e8f0;
}

.gm-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
}

/* YouTube section */
.gm-youtube {
  margin: 48px auto 56px;
  max-width: 1100px;
  overflow: hidden;
}

.gm-youtube-head {
  display: block;
  text-align: center;
  text-decoration: none !important;
  margin-bottom: 28px;
  color: inherit;
}

.gm-youtube-title01 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: #2a4e8a;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gm-youtube-title01 img {
  width: 42px;
  height: auto;
  vertical-align: bottom;
}

.gm-youtube-title02 {
  font-size: 1.05rem;
  color: #666;
  font-weight: 300;
  margin-top: 8px;
}

.gm-youtube-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.7fr);
  gap: 16px;
  align-items: stretch;
}

.gm-youtube-player {
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  min-height: 320px;
}

.gm-youtube-player iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.gm-youtube-list {
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.gm-youtube-list::-webkit-scrollbar {
  width: 8px;
}

.gm-youtube-list::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.gm-youtube-list::-webkit-scrollbar-track {
  background: #eaeaea;
  border-radius: 8px;
}

.gm-you-list {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

.gm-you-list.on,
.gm-you-list:hover {
  background: #dde5ef;
}

.gm-you-list img {
  width: 120px;
  flex: 0 0 120px;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.gm-you-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.gm-you-title {
  font-size: 14px;
  color: #555;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 600;
}

.gm-you-info {
  font-size: 13px;
  color: #999;
}

.entry-content .gm-section h2 {
  color: var(--gm-navy);
}

.entry-content .gm-check {
  padding-left: 1.1rem;
}

.entry-content .gm-check li {
  margin-bottom: 0.45rem;
}

.entry-content .gm-toc,
.entry-content .gm-faq-item,
.entry-content .gm-warn {
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
}

.entry-content .gm-toc {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.entry-content .gm-faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.entry-content .gm-warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 16px 0;
}

.entry-content th,
.entry-content td {
  border: 1px solid #e2e8f0;
  padding: 10px;
  text-align: left;
}

.entry-content th {
  background: #f1f5f9;
  color: var(--gm-navy);
}

@media (max-width: 980px) {
  .gm-doctor-grid,
  .gm-location-grid,
  .gm-spec-grid {
    grid-template-columns: 1fr;
  }

  .gm-cred-list {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 900px) {
  .gm-post-grid-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .gm-youtube-wrap {
    grid-template-columns: 1fr;
  }

  .gm-youtube-player iframe {
    min-height: 220px;
  }

  .gm-youtube-list {
    max-height: 280px;
  }
}

@media (max-width: 768px) {
  .gm-utility-bar {
    font-size: 11px;
  }

  .gm-utility-inner {
    justify-content: center;
    text-align: center;
    padding: 6px 12px;
  }

  .gm-utility-links {
    display: none;
  }

  .gm-home-hero--photo {
    min-height: 380px;
    padding: 28px 18px;
    background-size: 100% 100%, cover;
    background-position: center center, 72% 15%;
    background-image:
      linear-gradient(180deg, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.8) 45%, rgba(10, 37, 64, 0.55) 100%),
      var(--gm-hero-image);
  }

  .gm-home-hero h1 {
    font-size: 1.55rem;
  }

  .gm-home-hero .gm-actions {
    width: 100%;
  }

  .gm-home-hero .gm-btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .gm-branch-img {
    max-height: 220px;
  }

  .gm-quick-menu {
    right: 10px;
    bottom: 16px;
    width: 58px;
    gap: 6px;
  }

  .gm-quick-btn {
    width: 58px;
  }

  .gm-post-grid-track {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .gm-card {
    flex: 0 0 78%;
    max-width: 280px;
    scroll-snap-align: center;
  }

  .gm-post-grid-track {
    justify-content: flex-start;
    padding-left: 4%;
    padding-right: 4%;
  }

  .gm-you-list img {
    width: 96px;
    flex-basis: 96px;
  }

  .site-header .inside-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  body {
    padding-bottom: 24px;
  }

  .gm-doctor,
  .gm-location,
  .gm-specialties,
  .gm-process,
  .gm-gallery,
  .gm-post-grid,
  .gm-youtube {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Process & Gallery */
.gm-process,
.gm-gallery {
  margin: 48px 0;
}

.gm-process .gm-lead,
.gm-gallery .gm-lead {
  color: #475569;
  margin: 0 auto;
  max-width: 40rem;
  font-size: 0.98rem;
}

.gm-process-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: none;
}

.gm-process-step {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 18px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gm-process-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(10, 37, 64, 0.08);
}

.gm-process-num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #0A2540, #0055D4);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.gm-process-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(0, 85, 212, 0.1);
  color: var(--gm-cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.gm-process-step h3 {
  color: var(--gm-navy);
  font-size: 1.05rem;
  margin: 0 0 8px;
  line-height: 1.35;
}

.gm-process-step p {
  color: #64748b;
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.55;
}

.gm-process-arrow {
  display: none;
}

.gm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gm-gallery-item {
  margin: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gm-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(10, 37, 64, 0.1);
}

.gm-gallery-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #0A2540;
}

.gm-gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gm-gallery-item:hover .gm-gallery-media img {
  transform: scale(1.04);
}

.gm-gallery-item figcaption {
  padding: 14px 14px 16px;
  text-align: left;
}

.gm-gallery-item figcaption strong {
  display: block;
  color: var(--gm-navy);
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.gm-gallery-item figcaption span {
  display: block;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.45;
}

@media (min-width: 981px) {
  .gm-process-arrow {
    display: flex;
    position: absolute;
    right: -12px;
    top: 42%;
    z-index: 2;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #cbd5e1;
    color: var(--gm-cobalt);
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
  }
}

@media (max-width: 980px) {
  .gm-process-track,
  .gm-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gm-process-track,
  .gm-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gm-process-step {
    text-align: left;
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "num num"
      "icon title"
      "icon desc";
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
  }

  .gm-process-num { grid-area: num; justify-self: start; }
  .gm-process-icon { grid-area: icon; margin: 0; }
  .gm-process-step h3 { grid-area: title; margin: 0; }
  .gm-process-step p { grid-area: desc; }
}

@media (max-width: 768px) {
  .gm-process,
  .gm-gallery {
    margin-left: 0;
    margin-right: 0;
  }
}
/* End Process & Gallery */

