/*
 * reien-list.css v0.2（2026-05-13）
 * 霊園マッチング List ページ用共通レイアウト（市区町村別一覧テンプレ）
 *
 * 準拠：
 * - knowledge/design/knowledge_goenn_design_common.md（goenn共通基準）
 * - reien-detail.css（命名・色・spacing 規律をすべて踏襲、rl-* で並走）
 * - temp/reien_list_design_discipline_memo_20260513.md（学習結果の規律メモ）
 *
 * 規律：
 * - タグは pill ではなく border-radius 0（detail 規律）
 * - カード画像は 1.618 / 1（黄金比、detail 規律）
 * - 主要セクションタイトルは decision 系（30px / 1.35 / letter-spacing 0 / #000000）
 * - ボタン Primary 48px / Secondary 42px、角丸 0
 * - ブロック gap 72px PC / 34px SP、padding 36px 24px / 36px 15px
 */

/* ===== 背景上書き & ローカル変数（detail 並走） ===== */
#main-content {
  --rl-content-x: 60px;
  --rl-content-x-sp: 15px;
  --rl-block-gap: 72px;
  --rl-block-gap-sp: 34px;
  --rl-section-title-gap: 30px;
  --rl-action-primary-bg: #29648D;
  --rl-action-accent-bg: #C9A227;
  --rl-action-text-on-color: #FFFFFF;
  --rl-action-text: #1E3A4D;
  --rl-action-surface: #FFFFFF;
  --rl-action-surface-hover: #F2F2F2;
  --rl-action-filter-hover: brightness(0.7);
  --rl-action-transition: background-color 0.2s, border-color 0.2s, filter 0.2s;
  --rl-arrow-motion-distance: 1.5px;
  --rl-arrow-motion-duration: 0.2s;
  --rl-arrow-motion-easing: cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Roboto", "Noto Sans JP", "Source Han Sans JP", sans-serif;
  background: #FCFCFC;
}

#main-content :is(button, input, select, textarea) {
  font-family: inherit;
}

/* ===== ブロック共通レイアウト（rd-block 規律踏襲） ===== */
.rl-block {
  width: 100%;
  padding: 36px 24px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .rl-block {
    padding: 36px 15px;
  }
}

/* ===== ブロック間 gap（decision 系: padding-top で実現） ===== */
:is(#block-list-head, #block-search-panel, #block-result-cards, #block-pagination, #block-nearby-navigation, #block-consult-area) {
  padding-top: var(--rl-block-gap);
  padding-bottom: 0;
}

:is(#block-search-panel, #block-result-cards, #block-pagination, #block-nearby-navigation, #block-consult-area) {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--rl-content-x);
  padding-right: var(--rl-content-x);
  box-sizing: border-box;
}

#block-search-panel {
  max-width: none;
  padding-top: 12px;
  position: relative;
  z-index: 20;
}

@media (max-width: 768px) {
  :is(#block-list-head, #block-search-panel, #block-result-cards, #block-pagination, #block-nearby-navigation, #block-consult-area) {
    padding-top: var(--rl-block-gap-sp);
  }
  :is(#block-search-panel, #block-result-cards, #block-pagination, #block-nearby-navigation, #block-consult-area) {
    padding-left: var(--rl-content-x-sp);
    padding-right: var(--rl-content-x-sp);
  }
}

/* ===== セクションタイトル（decision 系 規律準拠） ===== */
.rl-section-title {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  color: #000000;
  margin: 0 0 var(--rl-section-title-gap);
}

@media (max-width: 768px) {
  .rl-section-title {
    font-size: 24px;
  }
}

/* ===== 2. 地域見出し（ヒーロー、左寄せ／detail 規律） ===== */
.rl-list-head {
  max-width: none;
  padding: 60px 60px 0;
}

.rl-list-head-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  color: #666666;
  letter-spacing: 0.06em;
}

.rl-list-head-title {
  margin: 0 0 18px;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0;
  color: #000000;
}

.rl-list-head-title-area {
  font-size: 30px;
}

.rl-list-head-title-particle {
  margin-left: 3px;
  font-size: 24px;
}

.rl-list-head-count {
  margin: 0;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  font-size: 24px;
  line-height: 1.8;
  font-weight: 400;
  color: #000000;
  letter-spacing: 0;
}

.rl-list-head-count-num {
  font-size: 36px;
  font-weight: 400;
  color: #29648D;
  margin-right: 6px;
  letter-spacing: 0;
}

.rl-list-head-concept {
  margin: 0;
  max-width: 720px;
  font-size: 19.5px;
  font-weight: 500;
  line-height: 1.8;
  color: #000000;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .rl-list-head {
    padding: 36px 15px 24px;
  }
  .rl-list-head-title {
    font-size: 30px;
    line-height: 1.42;
  }
  .rl-list-head-title-particle {
    margin-left: 3px;
    font-size: 21px;
    vertical-align: 0.14em;
  }
  .rl-list-head-concept {
    font-size: 15px;
    line-height: 1.8;
  }
}

/* ===== 3. 検索ブロック（detail の decision 系規律で常時展開） ===== */
.rl-search-form {
  margin: 0;
  padding: 0;
  background: transparent;
  border-top: none;
  border-bottom: none;
}

.rl-name-search-form {
  margin: 24px 0 0;
  padding: 0;
  background: transparent;
}

.rl-search-row {
  display: grid;
  grid-template-columns: minmax(0, 25%) minmax(0, 75%);
  gap: 0;
  padding: 0;
  border-top: 1px solid #E5E5E5;
  align-items: stretch;
}

.rl-search-row:first-child {
  border-top: none;
}

.rl-search-row-feature {
  display: block;
}

.rl-search-label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px 12px;
  background: #1E3A4D;
  color: #FFFFFF;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 0;
}

.rl-search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 48px;
  grid-template-areas:
    "pref-label municipality-label"
    "pref-select municipality-select";
  column-gap: 12px;
  row-gap: 3px;
  align-items: stretch;
  padding: 24px;
  background: #ECEFEF;
}

.rl-search-select-label[for="rl-search-prefecture"] {
  grid-area: pref-label;
}

#rl-search-prefecture {
  grid-area: pref-select;
}

.rl-search-select-label[for="rl-search-municipality"] {
  grid-area: municipality-label;
}

#rl-search-municipality {
  grid-area: municipality-select;
}

.rl-search-select-label {
  color: #1E3A4D;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.rl-search-select {
  appearance: none;
  width: 100%;
  min-height: 48px;
  padding: 0 45px 0 12px;
  border: 1px solid #E5E5E5;
  border-radius: 0;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231E3A4D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 18px 18px;
  color: #111111;
  font-size: 13.5px;
  line-height: 1.7;
  letter-spacing: 0;
  box-sizing: border-box;
}

.rl-search-row-name {
  border-top: none;
}

.rl-name-search-control {
  padding: 24px;
  background: #ECEFEF;
}

.rl-name-search-input-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 0;
  min-height: 48px;
}

.rl-name-search-input {
  width: 100%;
  min-height: 48px;
  padding: 0 42px 0 12px;
  border: 1px solid #E5E5E5;
  border-radius: 0;
  background: #FFFFFF;
  color: #111111;
  font-size: 13.5px;
  line-height: 1.7;
  letter-spacing: 0;
  box-sizing: border-box;
}

.rl-name-search-clear {
  position: absolute;
  top: 50%;
  right: 129px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 999px;
  background: #B0B8C1;
  color: #FFFFFF;
  cursor: pointer;
  transform: translateY(-50%);
}

.rl-name-search-clear:hover {
  filter: brightness(0.7);
}

.rl-name-search-input-wrap:focus-within .rl-name-search-clear {
  display: inline-flex;
}

.rl-name-search-submit {
  gap: 6px;
  min-height: 48px;
  font-size: 14px;
  font-weight: 500;
}

.rl-search-submit-icon {
  flex-shrink: 0;
  display: block;
}

.rl-search-type-list,
.rl-search-keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  min-width: 0;
}

.rl-search-type-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  padding: 24px;
  background: #ECEFEF;
}

.rl-search-feature-groups {
  display: grid;
  gap: 0;
  padding: 0;
  background: #FFFFFF;
}

.rl-search-feature-sheet-head,
.rl-search-feature-sheet-actions,
.rl-sp-filter-sheet-head,
.rl-sp-filter-tabs,
.rl-sp-filter-sheet-actions {
  display: none;
}

.rl-search-feature-details {
  background: #FFFFFF;
}

.rl-search-feature-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0 24px;
  background: #1E3A4D;
  color: #FFFFFF;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  list-style: none;
}

.rl-search-feature-summary::-webkit-details-marker {
  display: none;
}

.rl-search-feature-summary:hover,
.rl-search-feature-summary:active,
.rl-search-feature-summary:focus-visible {
  filter: var(--rl-action-filter-hover);
}

.rl-search-feature-summary .material-symbols-outlined {
  color: #FFFFFF;
  font-size: 24px;
  transition: transform 0.2s;
}

.rl-search-feature-summary-sp {
  display: none;
}

.rl-search-feature-details[open] .rl-search-feature-summary .material-symbols-outlined {
  transform: rotate(180deg);
}

.rl-search-feature-group {
  min-width: 0;
  padding: 18px 24px;
  background: #ECEFEF;
}

.rl-search-feature-group:nth-child(odd) {
  background: #F5F6F6;
}

.rl-search-feature-title {
  margin: 0 0 9px;
  color: #111111;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 0;
}

.rl-search-type,
.rl-search-check {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  box-sizing: border-box;
  cursor: pointer;
}

.rl-search-type input,
.rl-search-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.rl-search-type span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 42px;
  padding: 8px 12px 8px 39px;
  background: #FFFFFF;
  color: #111111;
  border: none;
  font-size: 13.5px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0;
  box-sizing: border-box;
  transition: var(--rl-action-transition);
}

.rl-search-type small {
  color: inherit;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0;
}

.rl-search-type span::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 1px solid #444444;
  background: #FFFFFF;
  transform: translateY(-50%);
  box-sizing: border-box;
}

.rl-search-type span::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 7px;
  height: 4px;
  border-left: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  opacity: 0;
  transform: translateY(-60%) rotate(-45deg);
}

.rl-search-type:hover span,
.rl-search-type:active span,
.rl-search-type:focus-within span,
.rl-search-type.is-action-hover span,
.rl-search-check:hover span,
.rl-search-check:active span,
.rl-search-check:focus-within span {
  filter: var(--rl-action-filter-hover) !important;
}

.rl-search-type input:checked + span {
  background: #29648D;
  color: #FFFFFF;
}

.rl-search-type input:checked + span::before {
  background: #FFFFFF;
  border-color: #FFFFFF;
}

.rl-search-type input:checked + span::after {
  border-color: #29648D;
  opacity: 1;
}

.rl-search-check {
  gap: 9px;
  color: #111111;
  font-size: 13.5px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0;
}

.rl-search-check span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px 8px 39px;
  background: #FFFFFF;
  border: none;
  box-sizing: border-box;
  transition: var(--rl-action-transition);
}

.rl-search-check span::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 1px solid #444444;
  background: #FFFFFF;
  transform: translateY(-50%);
  box-sizing: border-box;
}

.rl-search-check span::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 7px;
  height: 4px;
  border-left: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  opacity: 0;
  transform: translateY(-60%) rotate(-45deg);
}

.rl-search-check input:checked + span {
  background: #29648D;
  color: #FFFFFF;
}

.rl-search-check input:checked + span::before {
  background: #FFFFFF;
  border-color: #FFFFFF;
}

.rl-search-check input:checked + span::after {
  border-color: #29648D;
  opacity: 1;
}

.rl-search-type.is-disabled,
.rl-search-check.is-disabled {
  cursor: not-allowed;
}

.rl-search-type input:disabled + span,
.rl-search-check input:disabled + span {
  background: #EEF1F2;
  color: #9AA1A7;
  opacity: 1;
  cursor: not-allowed;
  box-shadow: inset 0 0 0 1px #DDE3E7;
}

.rl-search-type input:disabled + span::before,
.rl-search-check input:disabled + span::before {
  border-color: #C7CDD2;
  background: #F7F8F9;
}

.rl-search-type.is-disabled:hover span,
.rl-search-type.is-disabled:active span,
.rl-search-type.is-disabled:focus-within span,
.rl-search-check.is-disabled:hover span,
.rl-search-check.is-disabled:active span,
.rl-search-check.is-disabled:focus-within span {
  filter: none !important;
}

.rl-search-actions {
  display: flex;
  justify-content: stretch;
  gap: 0;
  margin-top: 0;
  padding: 24px;
  border-top: none;
  background: #ECEFEF;
  box-sizing: border-box;
}

.rl-search-actions .rl-action-secondary,
.rl-search-actions .rl-action-primary {
  flex: 1 1 0;
  width: 50%;
}

.rl-search-actions .rl-action-primary {
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

@media (max-width: 768px) {
  .rl-search-row {
    display: block;
    padding: 18px 0;
  }
  .rl-search-label {
    margin-bottom: 12px;
  }
  .rl-search-control {
    grid-template-columns: 1fr;
  }
  .rl-search-select-label {
    margin-top: 3px;
  }
  .rl-search-actions {
    justify-content: stretch;
  }
  .rl-search-actions .rl-action-secondary,
  .rl-search-actions .rl-action-primary {
    flex: 1 1 0;
  }
}

/* タグ規律：rd-reien-tag 踏襲（角丸 0、軸別背景） */
.rl-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 33px;
  padding: 6px 12px;
  background: #FFFFFF;
  color: #1E3A4D;
  font-size: 13.5px;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--rl-action-transition);
  box-sizing: border-box;
}

.rl-tag-mood { background: #EEF8F2; }
.rl-tag-view { background: #EEF6FA; }
.rl-tag-experience { background: #F7F8E8; }
.rl-tag-type { background: #F2F3F4; }
.rl-tag-match { background: #FAF5E8; }

.rl-tag:hover {
  filter: brightness(0.95);
}

.rl-tag.is-active {
  border-color: #29648D;
  font-weight: 600;
}

/* Secondary ボタン規律（rd-summary-toc-list a 踏襲） */
.rl-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 18px;
  border: none;
  background: var(--rl-action-surface);
  color: var(--rl-action-text);
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0;
  cursor: pointer;
  box-sizing: border-box;
  transition: var(--rl-action-transition);
}

.rl-action-secondary:hover {
  background: var(--rl-action-surface-hover);
  filter: brightness(0.98);
}

.rl-action-secondary .material-symbols-outlined {
  font-size: 18px;
}

/* ===== 4. 検索結果カード列 ===== */
.rl-result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 24px;
}

.rl-result-meta {
  display: block;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  font-weight: 500;
  color: #444444;
  letter-spacing: 0.03em;
}

.rl-result-count-num {
  font-size: 18px;
  font-weight: 500;
  color: #244F6D;
  margin-right: 3px;
  letter-spacing: 0.03em;
}

.rl-view-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(168px, 1fr));
  border: 1px solid #E5E5E5;
  background: #FFFFFF;
}

.rl-view-switch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 45px;
  padding: 0 15px;
  color: #1E3A4D;
  font-size: 13.5px;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 0;
  border: 0;
  background: #FFFFFF;
}

.rl-view-switch-button .material-symbols-outlined {
  font-size: 21px;
  line-height: 1;
}

.rl-view-switch-button + .rl-view-switch-button {
  border-left: 1px solid #E5E5E5;
}

.rl-view-switch-button.is-active {
  background: #29648D;
  color: #FFFFFF;
}

.rl-view-switch-button:hover,
.rl-view-switch-button:focus {
  filter: brightness(0.95);
}

.rl-map-view {
  position: relative;
  margin: 0;
  border: 1px solid #E5E5E5;
  background: #FFFFFF;
  overflow: hidden;
}

.rl-list-map {
  width: 100%;
  min-height: 570px;
  background: #ECEFEF;
  z-index: 0;
}

.rl-map-marker-icon {
  width: 36px !important;
  height: 46px !important;
}

.rl-map-marker {
  display: block;
  width: 36px;
  height: 46px;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.22));
}

.rl-map-marker svg {
  display: block;
  width: 36px;
  height: 46px;
  fill: #29648D;
  stroke: #FFFFFF;
  stroke-width: 3px;
}

.rl-map-marker circle {
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 4px;
}

.rl-map-popup {
  min-width: 216px;
  max-width: 270px;
}

.rl-map-view .leaflet-popup-content {
  margin: 15px 45px 15px 18px;
  line-height: normal;
}

.rl-map-view .leaflet-popup-content .rl-map-popup-title {
  margin: 0 0 3px;
  color: #222222;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0;
}

.rl-map-view .leaflet-popup-content .rl-map-popup-address {
  margin: 0 0 3px;
  color: #222222;
  font-size: 13.5px;
  line-height: 1.45;
  letter-spacing: 0;
}

.rl-map-view .leaflet-popup-content .rl-map-popup-copy {
  margin: 0 0 6px;
  color: #222222;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
}

.rl-map-popup-link {
  color: #222222;
  font-size: 13.5px;
  line-height: 1.7;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.rl-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.rl-card-list-item {
  list-style: none;
}

/* カード本体（ブティック型：1段1物件、写真主役） */
.rl-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
}

.rl-card-hit-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* メイン写真：カード幅一杯、黄金比 1.618 / 1（detail 規律） */
.rl-card-image-wrap {
  position: relative;
  aspect-ratio: 3 / 1;
  background: #F2F2F2;
  overflow: hidden;
  z-index: 2;
  pointer-events: auto;
}

.rl-card-slider,
.rl-card-slider > div,
.rl-card-slider .slick-list,
.rl-card-slider .slick-track,
.rl-card-slider .slick-slide,
.rl-card-slider .slick-slide > div {
  height: 100%;
}

.rl-card-slider {
  position: relative;
  z-index: 0;
}

.rl-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rl-card-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #173D63 0%, #1E4F78 52%, #4A82A4 100%);
}

.rl-card-image-placeholder-logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0.96;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.18));
}

.rl-card-slider .slick-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: auto;
}

.rl-card-slider .slick-dots li {
  width: 7px;
  height: 7px;
  margin: 0;
  background: #FFFFFF !important;
}

.rl-card-slider .slick-dots li + li {
  margin-left: 0 !important;
}

.rl-card-slider.slick-slider .slick-dots li button,
.rl-card-slider .slick-dots button {
  display: block;
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #FFFFFF !important;
  color: transparent;
  font-size: 0;
  cursor: pointer;
}

.rl-card-slider .slick-dots button::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF !important;
  color: transparent !important;
  opacity: 1 !important;
}

.rl-card-slider .slick-dots .slick-active button {
  background: #2F7FA8 !important;
}

.rl-card-slider .slick-dots li.slick-active {
  background: #2F7FA8 !important;
}

.rl-card-slider .slick-dots .slick-active button::before {
  background: #2F7FA8 !important;
}

.rl-card-slider .slick-dots li button:before {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  background: #FFFFFF !important;
  border-radius: 50% !important;
  color: transparent !important;
  opacity: 1 !important;
}

.rl-card-slider .slick-dots li.slick-active button:before {
  background: #2F7FA8 !important;
  color: transparent !important;
  opacity: 1 !important;
}

/* 写真上：下方向ダークグラデーション（白文字可読性確保） */
.rl-card-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
  z-index: 1;
}

.rl-card-image-wrap:has(.rl-card-image-placeholder)::after {
  background: linear-gradient(180deg, rgba(23, 61, 99, 0.36) 0%, rgba(74, 130, 164, 0) 68%);
}

/* 写真上オーバーレイ */
.rl-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 24px 30px;
  color: #FFFFFF;
  z-index: 2;
  pointer-events: none;
}

.rl-card-overlay > * {
  pointer-events: none;
}

/* 評価（霊園名下） */
.rl-card-rating {
  margin: 0;
  font-size: 15px;
  color: #FFFFFF;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.rl-card-rating-stars {
  color: #2F7FA8;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
}

.rl-card-rating-num {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.rl-card-rating-count {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.85);
}

/* 霊園名（中央下） */
.rl-card-name-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rl-card-name {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  text-shadow: 0 1px 9px rgba(0, 0, 0, 0.45);
}

.rl-card-address-overlay {
  margin: 0;
  font-size: 13.5px;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* カード本体テキスト領域（写真下） */
.rl-card-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 30px;
  min-width: 0;
}

/* カード内タグ群 */
.rl-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 9px;
  padding: 0;
  list-style: none;
}

/* キャッチ見出し（太字、強調） */
.rl-card-headline {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  color: #000000;
}

/* サマリー本文（3行固定、line-clamp、展開なし） */
.rl-card-summary {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
  color: #000000;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 控えめ情報（所在地・アクセス） */
.rl-card-meta-info {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #1E3A4D;
  letter-spacing: 0;
}

/* CTA（右下） */
.rl-card-cta {
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: #1E3A4D;
  letter-spacing: 0;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
  transition: opacity 0.2s, transform 0.2s;
}

.rl-card:hover .rl-card-cta {
  opacity: 0.7;
}

.rl-card-cta-arrow {
  display: inline-block;
  font-size: 1.4em;
  line-height: 0;
  transition: transform var(--rl-arrow-motion-duration) var(--rl-arrow-motion-easing);
  will-change: transform;
}

.rl-card:hover .rl-card-cta-arrow {
  transform: translateX(var(--rl-arrow-motion-distance));
}

.rl-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 15px;
  background: #F2F2F2;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.rl-card-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 12px;
  border: none;
  border-radius: 0;
  background: #29648D;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 450;
  line-height: 1.7;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.rl-card-action-share,
.rl-card-action-visit {
  background: #C9A227;
}

.rl-card-action-save[data-state="active"] {
  background: #29648D;
}

.rl-card-action:hover,
.rl-card-action:focus {
  filter: brightness(0.7);
}

.rl-card-action .material-symbols-outlined {
  font-size: 24px;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.rl-card-action .material-symbols-outlined.filled {
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

/* SP 用カード調整 */
@media (max-width: 768px) {
  .rl-card-overlay {
    padding: 15px 18px;
  }
  .rl-card-name {
    font-size: 24px;
  }
  .rl-card-rating {
    font-size: 13px;
  }
  .rl-card-rating-num,
  .rl-card-rating-stars {
    font-size: 15px;
  }
  .rl-card-body {
    padding: 18px;
    gap: 15px;
  }
  .rl-card-headline {
    font-size: 18px;
  }
  .rl-card-list {
    gap: 24px;
  }
}

/* ===== 5. ページネーション（rd 規律準拠：角丸 0） ===== */
.rl-pagination-nav {
  display: flex;
  justify-content: center;
}

.rl-pagination-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
}

.rl-pagination-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rl-pagination-item a,
.rl-pagination-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 9px;
  border: 1px solid #E5E5E5;
  background: #FFFFFF;
  color: #444444;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: var(--rl-action-transition);
}

.rl-pagination-item a:hover {
  border-color: #29648D;
  color: #29648D;
}

.rl-pagination-current span {
  border-color: #29648D;
  background: #29648D;
  color: #FFFFFF;
}

.rl-pagination-next a {
  font-size: 18px;
}

/* ===== 6. 近隣導線（rd-nearby 規律踏襲） ===== */
.rl-nearby-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
}

.rl-nearby-card {
  display: flex;
  list-style: none;
}

.rl-nearby-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 162px;
  padding: 24px 54px 24px 24px;
  border: 1px solid #29648D;
  background: #29648D;
  color: #FFFFFF;
  text-decoration: none;
  box-sizing: border-box;
  transition: filter 0.2s ease;
}

.rl-nearby-link:hover {
  border-color: #1E3A4D;
  opacity: 1;
  filter: brightness(0.7);
}

.rl-nearby-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 4px 10px;
  background: #FFFFFF;
  color: #1E3A4D;
  font-size: 13.5px;
  line-height: 1.8;
  font-weight: 500;
  letter-spacing: 0;
}

.rl-nearby-name {
  margin: 0 0 9px;
  font-size: 21px;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: 0;
  line-height: 1.6;
}

.rl-nearby-address {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  letter-spacing: 0;
}

.rl-nearby-arrow {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  color: #FFFFFF;
  font-size: 36px;
  line-height: 1;
  font-weight: 300;
  transition: transform var(--rl-arrow-motion-duration) var(--rl-arrow-motion-easing);
  will-change: transform;
}

.rl-nearby-link:hover .rl-nearby-arrow {
  transform: translateY(-50%) translateX(var(--rl-arrow-motion-distance));
}

@media (max-width: 768px) {
  .rl-nearby-list {
    grid-template-columns: 1fr;
  }
}

/* ===== 7. 相談導線 ===== */
@media (min-width: 769px) {
  #block-consult-area {
    max-width: none;
    padding-left: 60px;
    padding-right: 60px;
  }
}

#block-consult-area {
  margin-bottom: 0;
}

.rl-consult-panel {
  width: 100%;
  margin-bottom: 72px;
  padding: 36px;
  background: #F2F2F2;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .rl-consult-panel {
    padding: 36px 15px;
  }
}

/* 相談導線（左寄せ／detail 規律） */
.rl-consult-cta {
  margin-top: 0;
  padding: 30px 21px 0;
  border: 1px solid #E5E5E5;
  background: #FFFFFF;
}

.rl-consult-cta .rl-section-title {
  margin: 0 0 18px;
  color: #1E3A4D;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
}

.rl-consult-cta-message {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 400;
  color: #111111;
  letter-spacing: 0;
}

.rl-consult-cta .rl-action-primary {
  width: 100%;
  margin-left: -21px;
  margin-right: -21px;
  width: calc(100% + 42px);
}

/* Primary ボタン規律（rd-cta-action 踏襲） */
.rl-action-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border: none;
  border-radius: 0;
  background: var(--rl-action-primary-bg);
  color: var(--rl-action-text-on-color);
  font-size: 13.5px;
  font-weight: 450;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.rl-action-primary:hover {
  filter: var(--rl-action-filter-hover);
}

.rl-action-primary .material-symbols-outlined {
  font-size: 24px;
}

/* ===== SP 統合調整（PC構造を保ったまま横溢れを止める） ===== */
@media (max-width: 768px) {
  #main-content {
    overflow-x: hidden;
  }

  .rl-list-head-title-area {
    font-size: 24px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .rl-list-head-title,
  .rl-card-headline,
  .rl-card-summary,
  .rl-card-meta-info {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .rl-list-head-count {
    font-size: 18px;
    line-height: 1.7;
  }

  .rl-list-head-count-num {
    font-size: 30px;
    margin-right: 3px;
  }

  .rl-search-row {
    display: block;
    padding: 0;
    border-top: none;
  }

  .rl-search-row:first-child {
    border-top: none;
  }

  .rl-search-row-area .rl-search-label {
    display: none;
  }

  .rl-search-label,
  .rl-search-feature-summary {
    justify-content: flex-start;
    min-height: 54px;
    margin: 0;
    padding: 0 15px;
    text-align: left;
  }

  .rl-search-label {
    background: #ECEFEF;
    color: #1E3A4D;
    font-size: 15px;
    font-weight: 500;
  }

  .rl-search-control {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 48px;
    grid-template-areas:
      "pref-select municipality-select";
    column-gap: 9px;
    row-gap: 0;
    padding: 15px;
  }

  .rl-search-control .rl-search-select-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .rl-search-select-label[for="rl-search-municipality"] {
    margin-top: 0;
  }

  .rl-search-select {
    padding-right: 30px;
    background-position: right 9px center;
  }

  .rl-search-type-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 0 15px 15px;
  }

  .rl-search-row-type .rl-search-label {
    display: none;
  }

  .rl-search-row-type {
    display: none;
  }

  .rl-search-feature-summary {
    min-height: 54px;
    margin: 0 15px;
    border: 1px solid #E5E5E5;
    background: #FFFFFF;
    color: #1E3A4D;
  }

  .rl-search-row-feature {
    padding: 0 0 15px;
    background: #ECEFEF;
  }

  .rl-search-row-feature .rl-search-feature-details {
    background: #ECEFEF;
  }

  .rl-search-feature-summary-pc {
    display: none;
  }

  .rl-search-feature-summary-sp {
    display: inline;
  }

  .rl-search-feature-summary .material-symbols-outlined {
    color: #1E3A4D;
    margin-left: 14px;
    transform: rotate(180deg);
  }

  .rl-search-feature-details[open]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 800;
    background: rgba(0, 0, 0, 0.35);
  }

  .rl-search-form.is-feature-sheet-open .rl-search-feature-details[open]::before {
    content: none;
  }

  .rl-search-feature-details[open] .rl-search-feature-groups {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 801;
    display: block;
    max-height: 78vh;
    padding: 0 15px 84px;
    overflow-y: auto;
    background: #FFFFFF;
    border-radius: 0;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
    animation: none;
  }

  .rl-search-form.is-feature-sheet-open {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 801;
    height: 78vh;
    padding: 0 15px 174px;
    overflow-y: auto;
    background: #FFFFFF;
    border-radius: 0;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
    animation: rl-filter-sheet-rise 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .rl-search-form.is-feature-sheet-closing {
    animation: rl-filter-sheet-drop 0.58s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  @keyframes rl-filter-sheet-rise {
    from {
      transform: translateY(88px);
      opacity: 0.72;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @keyframes rl-filter-sheet-drop {
    from {
      transform: translateY(0);
      opacity: 1;
    }
    to {
      transform: translateY(88px);
      opacity: 0.72;
    }
  }

  .rl-search-form.is-feature-sheet-open .rl-search-feature-details[open] .rl-search-feature-groups {
    position: static;
    max-height: none;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }

  .rl-search-form.is-feature-sheet-open .rl-search-feature-sheet-head,
  .rl-search-form.is-feature-sheet-open .rl-search-feature-sheet-actions,
  .rl-search-form.is-feature-sheet-open .rl-search-feature-summary {
    display: none;
  }

  .rl-search-form.is-feature-sheet-open .rl-sp-filter-sheet-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 54px;
    margin: 0 -15px;
    padding: 9px 15px 0;
    border-bottom: none;
    background: #FFFFFF;
  }

  .rl-search-form.is-feature-sheet-open .rl-sp-filter-sheet-head::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 9px;
    width: 54px;
    height: 3px;
    background: #B0B8C1;
    transform: translateX(-50%);
  }

  .rl-sp-filter-sheet-title {
    margin: 0;
    color: #111111;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: 0;
  }

  .rl-sp-filter-sheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #444444;
  }

  .rl-sp-filter-sheet-close-icon {
    position: relative;
    display: block;
    width: 36px;
    height: 21px;
  }

  .rl-sp-filter-sheet-close-bar {
    position: absolute;
    top: 50%;
    left: 0;
    width: 36px;
    height: 2px;
    background: #444444;
    transform-origin: center;
  }

  .rl-sp-filter-sheet-close-bar:nth-child(1) {
    transform: translateY(-50%) rotate(15deg);
  }

  .rl-sp-filter-sheet-close-bar:nth-child(2) {
    transform: translateY(-50%) rotate(-15deg);
  }

  .rl-search-form.is-feature-sheet-open .rl-sp-filter-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 12px 0 0;
    border-bottom: 1px solid #E5E5E5;
  }

  .rl-sp-filter-tab {
    min-height: 48px;
    padding: 0 9px;
    color: #1E3A4D;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: 0;
    border-bottom: 3px solid transparent;
  }

  .rl-sp-filter-tab.is-active {
    color: #29648D;
    border-bottom-color: #29648D;
  }

  .rl-search-form.is-feature-sheet-open .rl-search-row-type,
  .rl-search-form.is-feature-sheet-open .rl-search-row-feature {
    display: none;
  }

  .rl-search-form.is-filter-tab-type .rl-search-row-type,
  .rl-search-form.is-filter-tab-feature .rl-search-row-feature {
    display: block;
  }

  .rl-search-form.is-filter-tab-type .rl-search-row-type {
    background: #ECEFEF;
  }

  .rl-search-form.is-filter-tab-type .rl-search-type-list {
    padding-top: 15px;
  }

  .rl-search-form.is-filter-tab-type .rl-search-type span {
    background: #FFFFFF;
  }

  .rl-search-form.is-filter-tab-type .rl-search-type:hover span,
  .rl-search-form.is-filter-tab-type .rl-search-type:active span,
  .rl-search-form.is-filter-tab-type .rl-search-type:focus-within span,
  .rl-search-form.is-filter-tab-type .rl-search-type.is-action-hover span {
    filter: var(--rl-action-filter-hover) !important;
  }

  .rl-search-form.is-filter-tab-type .rl-search-type input:checked + span {
    background: #29648D;
    color: #FFFFFF;
  }

  .rl-search-form.is-filter-tab-feature .rl-search-keyword-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .rl-search-form.is-feature-sheet-open .rl-sp-filter-sheet-actions {
    position: fixed;
    left: 15px;
    right: 15px;
    bottom: calc(105px + env(safe-area-inset-bottom));
    z-index: 802;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 6px;
  }

  .rl-sp-filter-sheet-reset,
  .rl-sp-filter-sheet-done {
    width: 100%;
  }

  .rl-search-form.is-feature-sheet-open .rl-search-actions {
    display: none;
  }

  .rl-search-feature-sheet-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    margin: 0 -15px;
    padding: 0 15px;
    border-bottom: 1px solid #E5E5E5;
    background: #FFFFFF;
  }

  .rl-search-feature-sheet-title {
    margin: 0;
    color: #111111;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: 0;
  }

  .rl-search-feature-sheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #444444;
  }

  .rl-search-feature-sheet-close .material-symbols-outlined {
    font-size: 27px;
  }

  .rl-search-feature-sheet-actions {
    position: fixed;
    left: 15px;
    right: 15px;
    bottom: 15px;
    z-index: 802;
    display: block;
  }

  .rl-search-feature-sheet-done {
    width: 100%;
  }

  .rl-search-type,
  .rl-search-check {
    width: 100%;
    min-width: 0;
  }

  .rl-search-type span,
  .rl-search-check span {
    width: 100%;
    min-width: 0;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .rl-search-feature-group {
    padding: 18px 15px;
  }

  .rl-search-feature-title {
    margin-bottom: 12px;
  }

  .rl-search-keyword-list {
    gap: 6px;
  }

  .rl-search-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 15px;
    background: #ECEFEF;
  }

  .rl-search-actions .rl-action-secondary {
    display: none;
  }

  .rl-search-actions .rl-action-secondary,
  .rl-search-actions .rl-action-primary {
    justify-content: center;
    width: auto;
    min-width: 0;
    padding-left: 9px;
    padding-right: 9px;
    white-space: normal;
    text-align: center;
  }

  .rl-name-search-form {
    margin-top: 18px;
  }

  .rl-search-row-name {
    padding: 15px;
    background: #ECEFEF;
  }

  .rl-search-row-name .rl-search-label {
    min-height: 0;
    margin-bottom: 9px;
    padding: 0;
    background: transparent;
  }

  .rl-name-search-control {
    padding: 0;
    background: transparent;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .rl-name-search-input-wrap {
    grid-template-columns: minmax(0, 1fr) 92px;
    width: 100%;
    min-width: 0;
  }

  .rl-name-search-clear {
    right: 101px;
  }

  .rl-name-search-submit {
    padding: 0 12px;
    min-width: 0;
  }

  .rl-result-toolbar {
    align-items: flex-start;
  }

  .rl-view-switch {
    flex: 0 0 auto;
    grid-template-columns: repeat(2, minmax(99px, 1fr));
  }

  .rl-view-switch-button {
    min-height: 39px;
    padding: 0 6px;
    font-size: 13px;
    white-space: nowrap;
  }

  .rl-map-view {
    margin-bottom: 0;
  }

  .rl-list-map {
    min-height: 480px;
  }

  .rl-card-image-wrap {
    aspect-ratio: 1.618 / 1;
  }

  .rl-card-overlay {
    padding: 18px;
  }

  .rl-card-rating {
    flex-wrap: wrap;
    gap: 3px 6px;
  }

  .rl-card-rating-count {
    width: 100%;
  }

  .rl-card-body {
    padding: 18px;
  }

  .rl-card-tags {
    gap: 6px;
  }

  .rl-card-headline {
    line-height: 1.6;
  }

  .rl-card-summary {
    -webkit-line-clamp: 4;
  }

  .rl-card-meta-info {
    overflow-wrap: anywhere;
  }

  .rl-card-cta {
    align-self: flex-start;
  }

  .rl-card-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 15px;
  }

  .rl-card-action {
    flex-direction: column;
    min-width: 0;
    padding: 6px 3px;
    gap: 3px;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: center;
    white-space: normal;
  }

  .rl-card-action .material-symbols-outlined {
    font-size: 21px;
  }

  .rl-card-action span:not(.material-symbols-outlined) {
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .rl-nearby-link {
    min-height: 150px;
    padding: 21px 48px 21px 21px;
  }

  .rl-consult-panel {
    margin-bottom: 60px;
    padding: 18px;
  }

  .rl-consult-cta-message {
    font-size: 14px;
    line-height: 1.9;
  }

  .rl-consult-cta {
    padding: 24px 18px 0;
  }

  .rl-consult-cta .rl-action-primary {
    margin-left: -18px;
    margin-right: -18px;
    width: calc(100% + 36px);
  }
}
