/*
 * Rugby Club Locator – map-first layout with club cards below the map
 * Replace: child-theme/rugby-club-directory/assets/directory.css
 *
 * Keeps existing toolbar/map/card class names.
 * Popup program table styles are included for the markup that directory.js
 * must render inside each Leaflet popup.
 */

.rcl-directory {
  --rcl-ink: #14213d;
  --rcl-text: #2b3548;
  --rcl-muted: #6b7587;
  --rcl-line: #e3e8ef;
  --rcl-bg: #f5f7fa;
  --rcl-card: #ffffff;
  --rcl-primary: #ef5e4e;
  --rcl-primary-dark: #dc4c3d;
  --rcl-accent: #10263b;
  --rcl-accent-dark: #0b1d2d;
  --rcl-radius: 12px;
  --rcl-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 14px rgba(16, 24, 40, .06);
  --rcl-shadow-hover: 0 4px 8px rgba(16, 24, 40, .08), 0 12px 28px rgba(16, 24, 40, .12);

  width: 100%;
  color: var(--rcl-text);
  font-family: inherit;
}

.rcl-directory *,
.rcl-directory *::before,
.rcl-directory *::after {
  box-sizing: border-box;
}

/* Toolbar */
.rcl-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 15px 0;
  padding: 14px;
  background: var(--rcl-card);
  border: 1px solid var(--rcl-line);
  border-radius: var(--rcl-radius);
  box-shadow: var(--rcl-shadow);
}

.rcl-search-group {
  display: flex;
  flex: 1 1 340px;
  min-width: 240px;
  gap: 8px;
}

.rcl-location-search,
.rcl-radius,
.rcl-category {
  padding: 8px 12px;
  background: var(--rcl-bg);
  border: 1px solid var(--rcl-line);
  border-radius: 8px;
  color: var(--rcl-ink);
  font: inherit;
  font-size: 13px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.rcl-location-search {
  width: 100%;
  min-width: 0;
}

.rcl-location-search::placeholder {
  color: #8b95a7;
}

.rcl-location-search:focus,
.rcl-radius:focus,
.rcl-category:focus {
  outline: none;
  background: #fff;
  border-color: var(--rcl-primary);
  box-shadow: 0 0 0 3px rgba(239, 94, 78, .16);
}

.rcl-search-btn,
.rcl-geolocate-btn {
  min-height: 50px;
  padding: 8px 15px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .15s;
}

.rcl-search-btn {
  background: var(--rcl-primary);
}

.rcl-search-btn:hover {
  background: var(--rcl-primary-dark);
}

.rcl-geolocate-btn {
  background: var(--rcl-accent);
}

.rcl-geolocate-btn:hover {
  background: var(--rcl-accent-dark);
}

.rcl-search-btn:active,
.rcl-geolocate-btn:active {
  transform: translateY(1px);
}

.rcl-search-btn:focus-visible,
.rcl-geolocate-btn:focus-visible {
  outline: 3px solid rgba(239, 94, 78, .3);
  outline-offset: 2px;
}

.rcl-search-btn:disabled,
.rcl-geolocate-btn:disabled {
  opacity: .6;
  cursor: wait;
}

.rcl-filter-label {
  align-items: center;
  gap: 8px;
  color: var(--rcl-ink);
  font-size: 14px;
}

/* Status */
.rcl-status {
  margin: 0 0 14px;
  padding: 0 2px;
  color: var(--rcl-muted);
  font-size: 14px;
}

.rcl-status:empty {
  display: none;
}

/* Map first, club cards underneath */
.rcl-layout {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
}

.rcl-map-wrap {
  order: 1;
  position: relative;
  width: 100%;
  min-width: 0;
  top: auto;
}

.rcl-map {
  width: 100%;
  min-height: 440px;
  background: #e8edf2;
  border: 1px solid var(--rcl-line);
  border-radius: var(--rcl-radius);
  box-shadow: var(--rcl-shadow);
  z-index: 1;
}

.rcl-results {
  order: 2;
  width: 100%;
  min-width: 0;
}

.rcl-results-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0 2px;
}

.rcl-result-count {
  color: var(--rcl-ink);
  font-size: 18px;
  font-weight: 700;
}

.rcl-sort-note {
  color: var(--rcl-muted);
  font-size: 12px;
}

/* Responsive club-card grid below the map */
.rcl-club-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-height: none;
  overflow: visible;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}

.rcl-club-card {
  position: relative;
  min-width: 0;
  padding: 16px;
  background: var(--rcl-card);
  border: 1px solid var(--rcl-line);
  border-radius: var(--rcl-radius);
  box-shadow: var(--rcl-shadow);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}

.rcl-club-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--rcl-accent);
  opacity: 0;
  transition: opacity .15s;
}

.rcl-club-card:hover {
  transform: translateY(-2px);
  border-color: #b9cbe0;
  box-shadow: var(--rcl-shadow-hover);
}

.rcl-club-card:hover::before,
.rcl-club-card.is-active::before {
  opacity: 1;
}

.rcl-club-card.is-active {
  border-color: var(--rcl-primary);
}

.rcl-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rcl-logo {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  padding: 4px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--rcl-line);
  border-radius: 10px;
}

.rcl-club-card h3 {
  margin: 0;
  color: var(--rcl-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.rcl-club-card p {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.rcl-club-card p strong {
  color: var(--rcl-ink);
}

.rcl-club-card a,
.rcl-popup a {
  color: var(--rcl-primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(239, 94, 78, .3);
}

.rcl-club-card a:hover,
.rcl-popup a:hover {
  color: var(--rcl-primary-dark);
  border-bottom-color: currentColor;
}

/* Optional program badges shown on the card, if directory.js outputs them */
.rcl-card-programs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px; font-size:14px;
}

.rcl-program-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  background: #edf7f1;
  border: 1px solid #cce8d7;
  border-radius: 999px;
  color: #216443;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.rcl-card-details,
.rcl-view-details {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rcl-primary);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.rcl-card-details:hover,
.rcl-view-details:hover {
  color: var(--rcl-primary-dark);
  text-decoration: underline; background: none;
}

.rcl-categories {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  background: #eaf2fb;
  border-radius: 999px;
  color: var(--rcl-primary);
  font-size: 12px;
  font-weight: 600;
}

.rcl-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--rcl-line);
  font-size: 13px;
}

.rcl-distance {
  padding: 3px 10px;
  background: #e6f5ee;
  border-radius: 999px;
  color: var(--rcl-accent-dark);
  font-weight: 700;
}

.rcl-empty {
  grid-column: 1 / -1;
  padding: 32px 20px;
  background: var(--rcl-bg);
  border: 2px dashed #cfd7e2;
  border-radius: var(--rcl-radius);
  color: var(--rcl-muted);
  font-size: 14px;
  text-align: center;
}

/* Club details are displayed in the modal below, not inside Leaflet popups. */

/* Leaflet / Genesis theme compatibility */
.rcl-directory .leaflet-container img,
.rcl-directory .leaflet-tile,
.rcl-directory .leaflet-marker-icon,
.rcl-directory .leaflet-marker-shadow {
  max-width: none !important;
  max-height: none !important;
}

.rcl-directory .leaflet-container {
  overflow: hidden;
  background: #e8edf2;
  font-family: inherit;
  border-radius: var(--rcl-radius);
}

.rcl-directory .leaflet-bar {
  border: 0;
  box-shadow: var(--rcl-shadow);
}

.rcl-directory .leaflet-control-zoom a {
  border-radius: 8px;
  color: var(--rcl-ink);
  text-decoration: none;
}

.rcl-directory .leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: var(--rcl-shadow-hover);
}

.rcl-directory .leaflet-popup-content {
  margin: 14px 16px;
  max-width: min(340px, calc(100vw - 80px));
}

/* Tablet */
@media (max-width: 1000px) {
  .rcl-club-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rcl-map {
    min-height: 400px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .rcl-toolbar {
    padding: 12px;
  }

  .rcl-search-group {
    flex-basis: 100%;
  }

  .rcl-geolocate-btn {
    width: 100%;
  }

  .rcl-filter-label {
    flex: 1 1 100%;
    justify-content: space-between;
  }

  .rcl-filter-label select {
    flex: 1;
    max-width: 65%;
  }

  .rcl-club-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rcl-map {
    min-height: 320px;
  }

  .rcl-popup {
    min-width: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rcl-directory * {
    transition: none !important;
  }
}


/* ---------- Club details modal (not a Leaflet map popup) ---------- */
.rcl-club-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.rcl-club-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rcl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .62);
  backdrop-filter: blur(2px);
}

.rcl-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100vw - 32px));
  max-height: min(82vh, 760px);
  overflow-y: auto;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--rcl-line);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  outline: none;
}

.rcl-modal-close {
  position: sticky;
  float: right;
  top: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: -12px -12px 4px 12px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f6;
  color: #253247;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
	padding:0;
}

.rcl-modal-close:hover {
  background: #e5e9ef; color: #000;
}

.rcl-modal-club-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 28px;
}

.rcl-modal-logo {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  padding: 5px;
  object-fit: contain;
  border: 1px solid var(--rcl-line);
  border-radius: 12px;
  background: #fff;
}

.rcl-modal-title {
  margin: 0 0 6px;
  color: var(--rcl-ink);
  font-size: 23px;
  font-weight: 750;
  line-height: 1.25;
}

.rcl-modal-address {
  margin: 0;
  color: var(--rcl-muted);
  font-size: 14px;
  line-height: 1.5;
}

.rcl-modal-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin-top: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--rcl-line);
  border-bottom: 1px solid var(--rcl-line);
}

.rcl-modal-details p {
  margin: 0;
  color: var(--rcl-text);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.rcl-modal-details strong {
  color: var(--rcl-ink);
}

.rcl-modal-details a {
  color: var(--rcl-primary);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.rcl-modal-club .rcl-popup-section {
  margin-top: 18px;
  padding-top: 0;
  border-top: 0;
}

.rcl-modal-club .rcl-popup-section-title {
  margin-bottom: 10px;
  font-size: 16px;
}

.rcl-modal-club .rcl-program-table {
  font-size: 13px;
}

.rcl-modal-club .rcl-program-table th,
.rcl-modal-club .rcl-program-table td {
  padding: 10px 12px;
}

.rcl-modal-notes {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 9px;
  background: var(--rcl-bg);
  color: var(--rcl-muted);
  font-size: 13px;
  line-height: 1.6;
}

.rcl-modal-notes strong {
  color: var(--rcl-ink);
}

.rcl-modal-club-choices {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.rcl-modal-club-choice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--rcl-line);
  border-radius: 10px;
  background: #fff;
  color: var(--rcl-ink);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.rcl-modal-club-choice:hover {
  border-color: var(--rcl-primary);
  background: #fff8f7;
}

.rcl-modal-club-choice span {
  color: var(--rcl-primary);
  font-size: 12px;
  white-space: nowrap;
}

body.rcl-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .rcl-modal-dialog {
    width: calc(100vw - 20px);
    max-height: 88vh;
    padding: 20px 16px;
    border-radius: 13px;
  }

  .rcl-modal-title {
    font-size: 19px;
  }

  .rcl-modal-logo {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }

  .rcl-modal-details {
    grid-template-columns: 1fr;
  }

  .rcl-modal-club .rcl-program-table th,
  .rcl-modal-club .rcl-program-table td {
    padding: 8px 6px;
  }
}

/* Compact Leaflet popup: shown when the visitor clicks a club card or marker */
.rcl-directory .rcl-map-popup h3 {
  margin: 0 0 8px;
  color: var(--rcl-ink);
  font-size: 16px;
  line-height: 1.35;
}

.rcl-directory .rcl-map-popup p {
  margin: 5px 0;
  color: var(--rcl-text);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.rcl-directory .rcl-map-popup a {
  color: var(--rcl-primary-dark);
  font-weight: 600;
  text-decoration: underline;
}

.rcl-directory .rcl-map-popup hr {
  margin: 10px 0;
  border: 0;
  border-top: 1px solid var(--rcl-line);
}



/* =========================================
   CLUB DIRECTORY CARDS
========================================= */

.rcl-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.rcl-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.08);
}

.rcl-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.rcl-card-logo-wrap {
    width: 64px;
    height: 64px;
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.rcl-card-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rcl-card-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 18px;
    font-weight: 700;
}

.rcl-card-heading {
    flex: 1;
    min-width: 0;
}

.rcl-card-heading h3 {
    margin: 0 0 5px;
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
}

.rcl-card p {
    margin: 7px 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.rcl-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
}

.rcl-card-actions button,
.rcl-card .rcl-details-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border: 0;
    border-radius: 6px;
    background: #1f2937;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.rcl-card-actions button:hover,
.rcl-card .rcl-details-button:hover {
    background: #374151;
}

/* =========================================
   MAP POPUP
========================================= */

.rcl-compact-popup .leaflet-popup-content-wrapper {
    border-radius: 10px;
}

.rcl-compact-popup .leaflet-popup-content {
    margin: 14px 16px;
    min-width: 230px;
    max-width: 290px;
}

.rcl-map-popup {
    font-size: 13px;
    line-height: 1.5;
    color: #475467;
}

.rcl-map-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.rcl-map-popup-logo-wrap {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.rcl-map-popup-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rcl-map-popup-heading {
    flex: 1;
    min-width: 0;
}

.rcl-map-popup-title {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.4;
    color: #1f2937;
}

.rcl-map-popup p {
    margin: 7px 0;
    overflow-wrap: anywhere;
}

.rcl-map-popup a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.rcl-map-popup a:hover {
    text-decoration: underline;
}

/* =========================================
   CLUB DETAILS MODAL
========================================= */

.rcl-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.65);
}

.rcl-modal {
    position: relative;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.rcl-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #334155;
    font-size: 22px;
    cursor: pointer;
}

.rcl-modal-close:hover {
    background: #e2e8f0;
}

.rcl-modal-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-right: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.rcl-modal-logo-wrap {
    width: 82px;
    height: 82px;
    min-width: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.rcl-modal-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rcl-modal-title {
    margin: 0 0 6px;
    color: #1f2937;
    font-size: 22px;
    font-weight: 700;
}

.rcl-modal-subtitle {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.rcl-modal-section {
    margin-top: 22px;
}

.rcl-modal-section h4 {
    margin: 0 0 12px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
}

.rcl-modal-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rcl-modal-contact-item {
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow-wrap: anywhere;
}

.rcl-modal-contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 12px;
}

.rcl-modal-contact-item a {
    color: #2563eb;
    text-decoration: none;
}

.rcl-modal-contact-item a:hover {
    text-decoration: underline;
}

/* =========================================
   PROGRAM DETAILS TABLE
========================================= */

.rcl-program-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.rcl-program-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.rcl-program-table th,
.rcl-program-table td {
    padding: 11px 13px;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.rcl-program-table th {
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
}

.rcl-program-table td {
    color: #475569;
}

.rcl-program-table tr:nth-child(even) td {
    background: #fafafa;
}

.rcl-program-available {
    color: #15803d;
    font-weight: 600;
}

.rcl-program-unavailable {
    color: #94a3b8;
}
.rcl-modal-program-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.rcl-modal-program-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #eaf7f0;
    border: 1px solid #b9e5cc;
    border-radius: 30px;
    color: #176b43;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.rcl-program-available-label {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
}

/* Map-only shortcode */
.rcl-directory[data-map-only="yes"] .rcl-toolbar,
.rcl-directory[data-map-only="yes"] .rcl-status,
.rcl-directory[data-map-only="yes"] .rcl-layout {
    display: none !important;
}

/* Map dimensions */
.rcl-directory[data-map-only="yes"] .rcl-map-wrap {
    width: 100%;
    margin-bottom: 0;
}

.rcl-directory[data-map-only="yes"] .rcl-map {
    width: 100%;
    height: 550px;
    border-radius: 12px;
}
/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 600px) {
    .rcl-modal-overlay {
        padding: 10px;
    }

    .rcl-modal {
        max-height: 95vh;
        padding: 20px 16px;
    }

    .rcl-modal-header {
        gap: 12px;
    }

    .rcl-modal-logo-wrap {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }

    .rcl-modal-title {
        font-size: 18px;
    }

    .rcl-modal-contact {
        grid-template-columns: 1fr;
    }

    .rcl-card-top {
        align-items: flex-start;
    }

    .rcl-card-logo-wrap {
        width: 54px;
        height: 54px;
        min-width: 54px;
    }
}
