/* =========================================================
   glass.css / CANONICAL CLEAN REWRITE
   RRH visual system
   - keeps meetings + resources behavior
   - keeps print / modal / tooltip / table fixes
   - makes controls + pills + tables inherit font
   ========================================================= */

/* =========================================================
   0) GLOBAL + FONT INHERITANCE
   ========================================================= */
:root{
  /* Font */

  --rrh-font-family: inherit;

  /* TBL grouped filter panels */
  --tbl-panel-pad-y: 14px;
  --tbl-panel-pad-x: 16px;
  --tbl-panel-gap: 12px;
  --tbl-panel-radius: 16px;
  --tbl-panel-border: rgba(122,106,78,.10);
  --tbl-panel-bg: rgba(255,255,255,.65);

  --tbl-group-title-size: 14px;
  --tbl-group-title-weight: 600;
  --tbl-group-title-spacing: 6px;

  --tbl-pill-font-size: 13px;
  --tbl-pill-pad-y: 5px;
  --tbl-pill-pad-x: 10px;
  --tbl-pill-radius: 999px;
  --tbl-pill-gap: 6px;
  --tbl-pill-bg: rgba(255,255,255,.75);
  --tbl-pill-border: rgba(122,106,78,.18);
  --tbl-pill-text: #334843;
  --tbl-pill-bg-hover: rgba(255,255,255,.95);
  --tbl-pill-border-hover: rgba(122,106,78,.30);

  /* Brand / text */
  --rrh-heading-text: #39554c;
  --rrh-primary-text: #334843;
  --rrh-secondary-text: #4e5f59;
  --rrh-muted-text: #5f706b;
  --rrh-light-muted-text: #6c706b;

  --rrh-text: var(--rrh-primary-text);
  --rrh-muted: var(--rrh-muted-text);

  /* Links */
  --rrh-link-rgb: 11, 103, 194;
  --rrh-link-alpha: 1;

  /* Surfaces */
  /*--rrh-glass-bg: rgba(248,244,236,.35);*/
    --rrh-glass-bg: rgba(245, 246, 236, 0.35);
  
  --rrh-glass-bg-soft: rgba(255,255,255,.34);
  --rrh-glass-bg-strong: rgba(255,255,255,.54);
  --rrh-glass-bg-white: rgba(255,255,255,.90);

  --rrh-panel-bg: rgba(255,255,255,.62);
  --rrh-panel-bg-soft: rgba(255,255,255,.28);
  --rrh-control-bg: rgba(247,244,238,.72);
  --rrh-control-bg-focus: rgba(250,247,242,.94);

  --rrh-button-bg: rgba(242,243,237,2.1);
  --rrh-button-bg-hover: transparent;
  --rrh-button-bg-active: rgba(223,232,212,.98);
  --rrh-button-bg-quiet: transparent;

  --rrh-pill-bg: rgba(255,255,255,.55);
  --rrh-pill-bg-active: #c3d89b;

--rrh-zebra-odd: rgba(234, 230, 218, 0.35);  /* ðŸ‘ˆ warmer / browner */
--rrh-zebra-even: rgba(250, 248, 244, 0.35); /* ðŸ‘ˆ light neutral */
--rrh-row-hover: rgba(207,226,255,.35);
--rrh-empty-bg: rgba(250,248,244,.50);

  /* Borders */
  --rrh-border: rgba(0,0,0,.10);
  --rrh-border-soft: rgba(0,0,0,.10);
  --rrh-border-light: rgba(170,170,170,.65);
  --rrh-border-strong: rgba(122,106,78,.22);
  --rrh-panel-border: rgba(122,106,78,.12);
  --rrh-panel-border-soft: rgba(122,106,78,.10);
  --rrh-cell-border: rgba(0,0,0,.10);
  --rrh-table-edge-border: rgba(122,106,78,.08);

  --rrh-control-border: rgba(107,122,116,.16);
  --rrh-control-border-focus: rgba(123,154,126,.42);
  --rrh-button-border: rgba(122,106,78,.14);
  --rrh-button-border-hover: rgba(122,106,78,.22);

  /* Shadows */
  --rrh-shadow-sm: 0 2px 8px rgba(0,0,0,.05);
  --rrh-shadow-md: 0 6px 18px rgba(79,90,85,.06);
  --rrh-shadow-lg: 0 10px 30px rgba(58,67,64,.06);
  --rrh-shadow-hover: 0 8px 18px rgba(0,0,0,.08);
  --rrh-shadow-row-hover: 0 6px 18px rgba(60,90,140,.12);

  --rrh-inset-highlight: inset 0 1px 0 rgba(255,255,255,.48);
  --rrh-inset-button: inset 0 1px 0 rgba(255,255,255,.45);
  --rrh-inset-button-hover: inset 0 1px 0 rgba(255,255,255,.55);
  --rrh-inset-control: inset 0 1px 0 rgba(255,255,255,.55);

  --rrh-focus-ring: 0 0 0 4px rgba(140,170,141,.10);

  /* Radii */
  --rrh-radius-xs: 10px;
  --rrh-radius-sm: 12px;
  --rrh-radius-md: 18px;
  --rrh-radius-lg: 24px;
  --rrh-radius-pill: 999px;

  /* Spacing */
  --rrh-results-gap: 16px;
  --rrh-mt-tight: 0px;
  --rrh-mt-normal: 10px;
  --rrh-mb-tight: 0px;
  --rrh-mb-normal: 10px;

  --rrh-panel-pad-x: 14px;
  --rrh-panel-pad-y: 14px;
  --rrh-table-wrap-pad: 10px;
  --rrh-filter-group-pad-y: 10px;
  --rrh-filter-group-pad-x: 12px;

  /* Typography */
  --rrh-font-size-xs: 10px;
  --rrh-font-size-sm: 11px;
  --rrh-font-size-md: 12px;
  --rrh-font-size-base: 13px;
  --rrh-font-size-lg: 14px;
  --rrh-font-size-xl: 15px;
  --rrh-font-size-title: 27px;

  /* Controls */
  --rrh-control-h: 40px;
  --rrh-control-h-sm: 34px;
  --rrh-control-h-page: 38px;

  --rrh-control-radius: 12px;
  --rrh-button-radius: 10px;
  --rrh-page-radius: 10px;
}
body,
button,
input,
select,
textarea {
  font-family: var(--rrh-font-family) !important;
}
body{
  position: relative;
  font-weight: 400;
  color: var(--rrh-primary-text);
}

body::before{
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('https://recoveryresourceshub.com/wp-content/uploads/2026/02/topography.svg');
  background-position: top left;
  background-repeat: repeat;
  opacity: .02;
  pointer-events: none;
  z-index: -1;
}

/* force inheritance for all RRH UI pieces */
.rrh-shell,
.rrh-glass,
.rrh-card,
.rrh-card--plain,
.rrh-panel,
.rrh-controls-card,
.rrh-table,
.rrh-meetings-table,
.recovery-calendar-table,
.crc-table,
.rrh-btn,
.rrh-page-btn,
.rrh-page-select,
.tbl-page-select,
.page-select,
.aa-btn,
.rrh-input,
.rrh-select,
.rrh-pagination,
.recovery-calendar-pagination,
.crc-pagination,
.calendar-filter-pill,
.crc-category-pill,
.tbl-type-group,
.tbl-category-group,
#tbl-type-filter-section,
#tbl-category-filter-section,
.rrh-tooltip,
.rrh-filters,
.rrh-actions,
.rrh-nav,
.meetings-resources,
.meetings-directions,
.meetings-help,
.rrh-shell *,
.rrh-glass *,
.rrh-card *,
.rrh-card--plain *,
.rrh-panel *,
.rrh-controls-card *,
.rrh-table *,
.rrh-meetings-table *,
.recovery-calendar-table *,
.crc-table *{
  font-family: var(--rrh-font-family);
}

button,
input,
select,
textarea{
  font: inherit;
}

.rrh-nav a{ font-weight: 500; }
.rrh-contact-text span:last-child{ font-weight: 600; }

/* =========================================================
   1) SHELLS / CARDS / UTILITIES
   ========================================================= */
.rrh-shell,
.rrh-glass{
  position: relative;
  border: 1px solid var(--rrh-border);
  border-radius: var(--rrh-radius-lg);
  background: var(--rrh-glass-bg);
  overflow: hidden;
  box-shadow: none;

}
#tbl-calendar-shell{
  padding: 20px 22px 18px; /* ðŸ‘ˆ wraps title + description nicely */
}

#tbl-calendar-container.rrh-card{
  padding: 22px; /* ðŸ‘ˆ more breathing room */
  border-radius: var(--rrh-radius-lg);

  background: rgba(255,255,255,.55);

  /* ðŸ‘‡ THIS is the missing SS panel effect */
  box-shadow:
    0 4px 12px rgba(0,0,0,.04),
    0 18px 40px rgba(0,0,0,.04);
}

.rrh-card--plain{
  background:#fff;
  border:1px solid rgba(0,0,0,0.10);
  border-radius: var(--rrh-radius-md);
  box-shadow: none;
}

.rrh-controls-card{
  margin-bottom: 10px;
  padding: 10px;
  border-radius: var(--rrh-radius-md);
  border: 1px solid var(--rrh-border-soft);
  background: var(--rrh-glass-bg-strong);
    box-shadow:
    0 4px 12px rgba(0,0,0,.04),
    0 18px 40px rgba(0,0,0,.04);
}

.rrh-pad-lg{ padding:18px; }
.rrh-pad-md{ padding:10px; }
.rrh-mt-tight{ margin-top: var(--rrh-mt-tight); }
.rrh-mt-normal{ margin-top: var(--rrh-mt-normal); }
.rrh-mb-tight{ margin-bottom: var(--rrh-mb-tight); }
.rrh-mb-normal{ margin-bottom: var(--rrh-mb-normal); }
.rrh-text{ color: var(--rrh-text); }
.rrh-muted{ color: var(--rrh-muted); }

/* =========================================================
   2) LINKS
   ========================================================= */
.rrh-link,
.rrh-shell a,
.rrh-card a,
.rrh-table a{
  color: rgba(var(--rrh-link-rgb), var(--rrh-link-alpha));
  text-decoration: none;
}

.rrh-link:hover,
.rrh-shell a:hover,
.rrh-card a:hover,
.rrh-table a:hover{
  text-decoration: underline;
}

/* RRH table links single source of truth */
.rrh-table a,
.rrh-table a:visited,
.rrh-table a:hover,
.rrh-table a:focus,
.rrh-table a:active,
#tbl-calendar-results .rrh-table a,
#tbl-calendar-results .rrh-table a:visited,
#tbl-calendar-results .rrh-table a:hover{
  color: rgba(var(--rrh-link-rgb), var(--rrh-link-alpha));
  text-decoration:none;
  border-bottom:0 solid transparent;
}

.rrh-table a{
  font-weight: 500;
  transition: color .15s ease, border-color .15s ease, opacity .15s ease;
}

.rrh-table tbody tr:hover a{
  border-bottom-color: rgba(var(--rrh-link-rgb), .65);
}

/* =========================================================
   3) INPUTS / SELECTS
   ========================================================= */
.rrh-input,
.rrh-select,
.rrh-page-select{
  height: var(--rrh-control-h);
  padding: 6px 10px;
  border-radius: var(--rrh-control-radius);
  border: 1px solid var(--rrh-border-soft);
  background: rgba(255,255,255,0.55);
  color: var(--rrh-text);
  font-size: 14px;
  line-height: 1.2;
  box-shadow: none;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.rrh-field--radius .rrh-input{ width: 100px; }

.rrh-input:focus,
.rrh-select:focus,
.rrh-page-select:focus{
  outline: none;
  border-color: var(--rrh-border);
  background: rgba(255,255,255,0.68);
  box-shadow: 0 6px 16px rgba(0,0,0,0.10);
}

/* =========================================================
   4) BUTTONS / PAGINATION / TOGGLES
   ========================================================= */
.rrh-btn,
.rrh-page-btn,
.rrh-page-select,
.tbl-page-select,
.page-select,
.aa-btn,
.rrh-meetings-controls button,
.rrh-meetings-controls .button,
.rrh-meetings-filters button,
.rrh-meetings-filters .button,
.recovery-calendar-filters button,
.recovery-calendar-filters .button,
.crc-filters-wrap button,
.crc-filters-wrap .button,
.rrh-pagination a,
.rrh-pagination span,
.recovery-calendar-pagination a,
.recovery-calendar-pagination span,
.crc-pagination a,
.crc-pagination span{
  min-height: var(--rrh-control-h-page);
  height: var(--rrh-control-h-page);
  padding: 0 14px;
  border-radius: var(--rrh-button-radius);
  border: 1px solid var(--rrh-button-border);
  background: var(--rrh-button-bg);
  box-shadow: none;
  font-size: var(--rrh-font-size-md);
  color: var(--rrh-secondary-text);
  cursor: pointer;
}

.rrh-btn:hover,
.rrh-page-btn:hover,
.aa-btn:hover,
.rrh-meetings-controls button:hover,
.rrh-meetings-controls .button:hover,
.rrh-meetings-filters button:hover,
.rrh-meetings-filters .button:hover,
.recovery-calendar-filters button:hover,
.recovery-calendar-filters .button:hover,
.crc-filters-wrap button:hover,
.crc-filters-wrap .button:hover,
.rrh-pagination a:hover,
.recovery-calendar-pagination a:hover,
.crc-pagination a:hover{
  background: var(--rrh-button-bg-hover);
  border-color: var(--rrh-button-border-hover);
  box-shadow: var(--rrh-shadow-hover), var(--rrh-inset-button-hover);
  color: var(--rrh-secondary-text);
}

.rrh-page-btn,
.rrh-page-btn:link,
.rrh-page-btn:visited,
.rrh-page-btn:hover,
.rrh-page-btn:focus,
.rrh-page-btn:active{
  color: var(--rrh-text);
  text-decoration: none !important;
}

#tbl-toggle-type-filter,
#tbl-clear-type-filter,
#tbl-toggle-category-filter,
#tbl-clear-category-filter{
  min-height: var(--rrh-control-h-page);
  height: var(--rrh-control-h-page);
  padding: 0 14px;
  border-radius: var(--rrh-button-radius);
  border: 1px solid var(--rrh-button-border);
  background: var(--rrh-button-bg-hover);
  box-shadow: none;
  font-size: var(--rrh-font-size-md);
  color: var(--rrh-secondary-text);
}

#tbl-toggle-type-filter.is-active,
#tbl-toggle-category-filter.is-active{
  background: var(--rrh-button-bg);
  border-color: var(--rrh-button-border-hover);
}

#tbl-toggle-type-filter:hover,
#tbl-clear-type-filter:hover,
#tbl-toggle-category-filter:hover,
#tbl-clear-category-filter:hover{
  background: var(--rrh-button-bg);
  border-color: var(--rrh-button-border);
  box-shadow: var(--rrh-shadow-hover), var(--rrh-inset-button-hover);
  color: var(--rrh-secondary-text);
}

.rrh-pagination,
.recovery-calendar-pagination,
.crc-pagination{
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
}



/* =========================================================
   5) TYPE / CATEGORY PILLS + GROUP PANELS
   ========================================================= */

/* pills */
.calendar-filter-pill,
.crc-category-pill{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 20px;
  padding: 5px 10px;
  border-radius: 999px;
box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
background: rgba(243, 244, 236, 0.45);
border: 1px solid rgba(122,106,78,.18);
color: #4a4236;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;

  cursor: pointer;
  transition: .15s ease;
}

.calendar-filter-pill{
  font-size: 14px !important;
}

#tbl-category-filter-section .crc-category-pill{
  gap: 4px;
}

.calendar-filter-pill:hover,
.crc-category-pill:hover,
.calendar-filter-pill.is-active,
.crc-category-pill.is-active{
  background: rgba(226,223,214,.98);
  border-color: rgba(122,106,78,.30);
  color: #4f4638;
}

/* outer filters card */
.crc-calendar-filters{
  background: var(--rrh-glass-bg-soft);
  border-radius: 8px;
  padding: 10px;
}

/* group layout wrapper */
#tbl-type-filter-section,
#tbl-category-filter-section{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(122,106,78,0.10);
  border-radius: 18px;
  background: rgba(255,255,255,0.28);
  align-items: start;
}

/* panel boxes */
.tbl-type-group,
.tbl-category-group{
  min-width: 0;
  height: auto !important;
  min-height: 0 !important;
  align-self: start;

  display: block;
  padding: 10px 12px;
  margin: 0;
  border-radius: 16px;
  border: 1px solid rgba(122,106,78,.10);
  background: rgba(255,255,255,.38);
  box-shadow:
    0 2px 6px rgba(0,0,0,.03),
    0 10px 22px rgba(0,0,0,.03);
  transition: box-shadow .18s ease, transform .18s ease;
}

.tbl-type-group:hover,
.tbl-category-group:hover{
  box-shadow:
    0 4px 10px rgba(0,0,0,.05),
    0 16px 30px rgba(0,0,0,.05);
}

/* make FORMAT full width */
#tbl-type-filter-section .tbl-type-group:nth-child(3){
  grid-column: 1 / -1;
}

/* titles */
.tbl-type-group-title,
.tbl-category-group-title,
#tbl-type-filter-section h4,
#tbl-category-filter-section h4,
#tbl-type-filter-section .rrh-group-title,
#tbl-category-filter-section .rrh-group-title{
  margin: 0 0 6px 0;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6a5d49;
  opacity: .82;
}

/* pill rows inside panels */
.tbl-type-group-items,
.tbl-category-group-items,
#tbl-type-filter-section .rrh-tag-group,
#tbl-category-filter-section .rrh-tag-group,
#tbl-type-filter-section .rrh-filter-group,
#tbl-category-filter-section .rrh-filter-group{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding-top: 2px;
  align-items: flex-start;
}

.rrh-type-count{
  font-size: 12px;
  opacity: .8;
  margin-left: 3px;
}
#tbl-category-filter-section .tbl-category-group{
  padding: 8px 10px;
}
#tbl-toggle-type-filter,
#tbl-clear-type-filter,
#tbl-toggle-category-filter,
#tbl-clear-category-filter{
  background: rgba(226, 220, 206, 0.35);
  border: 1px solid rgba(122,106,78,.18);
  color: #4a4236;
}

/* toggle icon */
.rrh-toggle-icon{
  display: inline-block;
  margin-left: 6px;
  transition: transform .05s ease;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  top: -1px;
}

.rrh-toggle-icon::before{
  content: "\25BE"; /* ▾ */
}

#tbl-toggle-type-filter.is-active .rrh-toggle-icon::before,
#tbl-toggle-category-filter.is-active .rrh-toggle-icon::before{
  content: "\25B4"; /* ▴ */
}

.rrh-th.rrh-sort::after{
  content: "\25B2\25BC"; /* ▲▼ */
}

.rrh-th.rrh-sort.asc::after{
  content: "\25B2"; /* ▲ */
  opacity: .9;
}

.rrh-th.rrh-sort.desc::after{
  content: "\25BC"; /* ▼ */
  opacity: .9;
}

/* mobile */
@media (max-width: 900px){
  #tbl-type-filter-section,
  #tbl-category-filter-section{
    grid-template-columns: 1fr;
  }

  #tbl-type-filter-section .tbl-type-group:nth-child(3){
    grid-column: auto;
  }
}





/* =========================================================
   GLOBAL / GLASS MODAL TOKENS
   ========================================================= */

:root{
  --glass-radius-outer: 34px;
  --glass-radius-shell: 26px;
  --glass-radius-panel: 18px;
  --glass-radius-map: 22px;

  --glass-pad-outer: 22px;
  --glass-pad-shell: 14px;
  --glass-pad-panel-x: 14px;
  --glass-pad-panel-y: 12px;

  --glass-border-strong: rgba(0,0,0,0.18);
  --glass-border: rgba(0,0,0,0.12);
  --glass-border-soft: rgba(0,0,0,0.08);

  --glass-bg-shell: rgba(255,255,255,0.56);
  --glass-bg-panel: rgba(255,255,255,0.50);
  --glass-bg-title: rgba(242,243,237,0.84);
  --glass-bg-map: rgba(242,242,242,0.92);

  --glass-shadow-window:
    0 18px 50px rgba(0,0,0,0.22),
    0 4px 14px rgba(0,0,0,0.10);

  --glass-shadow-shell:
    0 10px 30px rgba(0,0,0,0.18);

  --glass-shadow-panel:
    0 2px 6px rgba(0,0,0,0.04),
    0 10px 22px rgba(0,0,0,0.04);

  --glass-overlay: rgba(0,0,0,0.70);
  --glass-topo-opacity: .04;
}

/* =========================================================
   MODAL OPEN STATE
   ========================================================= */

html.rrh-modal-open,
body.rrh-modal-open{
  overflow: hidden !important;
}

/* =========================================================
   SHARED MODAL OVERLAY
   ========================================================= */

#calendar-single-container,
#crc-single-container{
  position: fixed !important;
  inset: 0 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 40px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  z-index: 2147483647 !important;
  isolation: isolate !important;
}

#calendar-single-container.is-open,
#crc-single-container.is-open{
  display: flex !important;
}

#calendar-single-container::before,
#crc-single-container::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: var(--glass-overlay) !important;
  pointer-events: none !important;
}

/* =========================================================
   SHARED OUTER MODAL WINDOW
   ========================================================= */

#calendar-single-content,
#crc-single-content{
  position: relative !important;
  z-index: 1 !important;
  width: min(1240px, 100%) !important;

  height: auto !important;
  max-height: 82vh !important;

  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;

  border-radius: var(--glass-radius-outer) !important;
  background: rgba(255,255,255,0.92) !important;
  padding: var(--glass-pad-outer) !important;
  box-sizing: border-box !important;
  box-shadow: var(--glass-shadow-window) !important;
}

/* =========================================================
   INNER GLASS SHELL
   ========================================================= */

#calendar-single-container .rrh-shell,
#crc-single-container .rrh-shell{
  position: relative !important;
  border-radius: var(--glass-radius-shell) !important;
  border: 1px solid var(--glass-border-strong) !important;
  overflow: hidden !important;
  background: var(--glass-bg-shell) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: var(--glass-shadow-shell) !important;
}

/* topo only inside modal shell */
#calendar-single-container .rrh-shell::before,
#crc-single-container .rrh-shell::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: url('https://recoveryresourceshub.com/wp-content/uploads/2026/02/topography.svg') !important;
  background-repeat: repeat !important;
  background-position: top left !important;
  opacity: var(--glass-topo-opacity) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* =========================================================
   SHARED INNER LAYOUT
   ========================================================= */

#calendar-single-container .rrh-layout,
#crc-single-container .rrh-layout{
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 1fr) !important;
  gap: 16px !important;
  padding: var(--glass-pad-shell) !important;
  align-items: start !important;
  min-height: 0 !important;
  height: auto !important;
}

#calendar-single-container .rrh-left,
#crc-single-container .rrh-left{
  min-width: 0 !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

#calendar-single-container .rrh-right,
#crc-single-container .rrh-right{
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  border-radius: var(--glass-radius-map) !important;
  overflow: hidden !important;
  border: 1px solid var(--glass-border) !important;
  background: var(--glass-bg-map) !important;
  box-shadow: var(--glass-shadow-panel) !important;
}

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

#calendar-single-container .rrh-right iframe#rrh-map,
#crc-single-container .rrh-right iframe#rrh-map{
  width: 100% !important;
  min-height: 640px !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}

/* =========================================================
   SHARED GLASS PANELS
   ========================================================= */

#calendar-single-container .rrh-top-box,
#calendar-single-container .rrh-list-box,
#crc-single-container .rrh-top-box,
#crc-single-container .rrh-list-box{
  border-radius: var(--glass-radius-panel) !important;
  border: 1px solid var(--glass-border-soft) !important;
  background: var(--glass-bg-panel) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: var(--glass-shadow-panel) !important;
}

#calendar-single-container .rrh-top-box,
#crc-single-container .rrh-top-box{
  padding: var(--glass-pad-panel-y) var(--glass-pad-panel-x) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  height: auto !important;
  min-height: 0 !important;
}

#calendar-single-container .rrh-list-box,
#crc-single-container .rrh-list-box{
  padding: 10px 12px !important;
}

/* =========================================================
   TITLE BAR
   ========================================================= */

#calendar-single-container .rrh-titlebar,
#crc-single-container .rrh-titlebar{
  margin: -2px -2px 8px -2px !important;
  padding: 8px 12px !important;
  border-radius: 14px !important;
  border: 1px solid var(--glass-border) !important;
  background: var(--glass-bg-title) !important;
  color: #555 !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  font-style: italic !important;
}

/* clickable title / link */
#calendar-single-container .rrh-link,
#crc-single-container .rrh-link{
  font-size: 22px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

/* section labels */
#calendar-single-container .rrh-section-label,
#crc-single-container .rrh-section-label{
  font-size: 18px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  margin: 0 0 8px !important;
}

/* body copy */
#calendar-single-container .rrh-top-box,
#calendar-single-container .rrh-top-box p,
#calendar-single-container .rrh-meta,
#calendar-single-container .rrh-content,
#calendar-single-container .rrh-content p,
#calendar-single-container .rrh-content li,
#crc-single-container .rrh-top-box,
#crc-single-container .rrh-top-box p,
#crc-single-container .rrh-meta,
#crc-single-container .rrh-content,
#crc-single-container .rrh-content p,
#crc-single-container .rrh-content li{
  font-size: 16px !important;
  line-height: 1.55 !important;
}

/* =========================================================
   RHYTHM / SPACING
   ========================================================= */

#calendar-single-container .rrh-top-box > * + *,
#calendar-single-container .rrh-content > * + *,
#crc-single-container .rrh-top-box > * + *,
#crc-single-container .rrh-content > * + *{
  margin-top: 10px !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px){
  #calendar-single-container .rrh-layout,
  #crc-single-container .rrh-layout{
    grid-template-columns: 1fr !important;
  }

  #calendar-single-container .rrh-right iframe#rrh-map,
  #crc-single-container .rrh-right iframe#rrh-map{
    min-height: 420px !important;
  }
}

@media (max-width: 900px){
  #calendar-single-container,
  #crc-single-container{
    padding: 16px !important;
    align-items: center !important;
  }

  #calendar-single-content,
  #crc-single-content{
    width: 100% !important;
    max-height: 88vh !important;
    border-radius: 24px !important;
    padding: 12px !important;
  }

  #calendar-single-container .rrh-right,
  #crc-single-container .rrh-right{
    min-height: 380px !important;
  }
}

/* =========================================================
   9) TABLE SYSTEM
   ========================================================= */
   
   
   /* ===============================
   TABLE CONTAINER (SS-style)
   =============================== */

.rrh-table-wrap{
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;

  background: rgba(255,255,255,.20);
  border: 1px solid rgba(122,106,78,.08);

  /* ðŸ‘‡ VERY subtle, not a full card */
  box-shadow:
    0 2px 6px rgba(0,0,0,.02);
}

#tbl-category-filter-section{
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(122,106,78,.10);
  background: rgba(255,255,255,.32);
  box-shadow:
    0 2px 6px rgba(0,0,0,.03),
    0 10px 22px rgba(0,0,0,.03);
}
#tbl-category-filter-section{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}




.rrh-table{
  width:100%;
  border-collapse:separate !important;
  border-spacing:0 0 !important;
  table-layout:fixed;
  font-size:14px;
  max-width:100% !important;
  min-width:0 !important;
}

.rrh-thead{
  overflow: hidden;
}

.rrh-thead .rrh-th{
background: rgba(242,243,237,0.85) !important;
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding:10px 12px;
  text-align:left;
  font-weight:700;
  color:#222;
}

.rrh-thead .rrh-th:first-child{
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.rrh-thead .rrh-th:last-child{
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

.rrh-tbody .rrh-td{
  padding:9px 12px;
  border-bottom:1px solid rgba(0,0,0,0.08);
  vertical-align:top;
}

.rrh-td--empty,
.rrh-empty,
.recovery-calendar-empty,
.crc-empty{
  text-align:center;
  padding:18px 12px;
  color:#444;
  font-style: italic;
  background: rgba(250,248,244,.72);
  border-radius: 18px;
}

.rrh-tr--clickable{
  cursor:pointer;
}

.rrh-tr--clickable .open-resource-modal{
  cursor:pointer;
  text-decoration:none;
}

.rrh-tr--clickable .open-resource-modal:hover{
  text-decoration:underline;
}

.rrh-th.rrh-sort{
  cursor:pointer;
  position:relative;
  user-select:none;
  padding-right:12px;
}

.rrh-th.rrh-sort::after{
  content:"\25B2\25BC"; /* ▲▼ */
  font-size:10px;
  margin-left:6px;
  opacity:.35;
  position:relative;
  top:-1px;
}

.rrh-th.rrh-sort.asc::after{
  content:"\25B2"; /* ▲ */
  opacity:.9;
}

.rrh-th.rrh-sort.desc::after{
  content:"\25BC"; /* ▼ */
  opacity:.9;
}
.rrh-th.rrh-sort.asc,
.rrh-th.rrh-sort.desc{
  text-decoration:none;
  text-underline-offset:3px;
}

.rrh-tag-group--fellowship{
  font-weight:600;
}

.rrh-col--when{
  white-space:nowrap;
  vertical-align:middle;
}

.rrh-day{ font-weight:500; }
.rrh-list-at{ opacity:.6; font-size:12px; font-weight:400; margin:0 .15em; position:relative; top:-1px; }
.rrh-time{ display:inline-block; position:relative; top:1px; }
.rrh-start,
.rrh-end{ display:inline-block; line-height:1; }
.rrh-time .rrh-end::before{margin:0 .35em; opacity:.7; }

/* zebra */
table.rrh-table tbody tr:nth-of-type(odd) > td,
.recovery-calendar-table tbody tr:nth-of-type(odd) > td,
.crc-table tbody tr:nth-of-type(odd) > td{
  background-color: var(--rrh-zebra-odd) !important;
}

table.rrh-table tbody tr:nth-of-type(even) > td,
.recovery-calendar-table tbody tr:nth-of-type(even) > td,
.crc-table tbody tr:nth-of-type(even) > td{
  background-color: var(--rrh-zebra-even) !important;
}

/* muted / small */
.rrh-table .is-muted,
.rrh-meetings-table .is-muted,
.recovery-calendar-table .is-muted,
.crc-table .is-muted,
table.rrh-table .is-muted,
.rrh-table small,
.rrh-meetings-table small,
.recovery-calendar-table small,
.crc-table small,
table.rrh-table small,
.meetings-directions,
.meetings-help,
small{
  color: var(--rrh-light-muted-text);
}

/* hover */
.rrh-tbody .rrh-tr:hover .rrh-td,
.rrh-table tbody tr.rrh-tr--row:hover > .rrh-td,
.rrh-meetings-table tbody tr:hover td,
.recovery-calendar-table tbody tr:hover td,
.crc-table tbody tr:hover td,
table.rrh-table tbody tr:hover td{
  background: rgba(207,226,255,0.30) !important;
  box-shadow: 0 6px 18px rgba(60,90,140,.10) !important;
}

/* row clipping + rounded row restore */
.rrh-table tbody tr > .rrh-td,
.rrh-meetings-table tbody tr > td,
.recovery-calendar-table tbody tr > td,
.crc-table tbody tr > td,
table.rrh-table tbody tr > td{
  box-sizing:border-box;
  background-clip:padding-box;
  border-top:1px solid rgba(122,106,78,.10) !important;
  border-bottom:1px solid rgba(122,106,78,.10) !important;
}

.rrh-table tbody tr > .rrh-td:first-child,
.rrh-meetings-table tbody tr > td:first-child,
.recovery-calendar-table tbody tr > td:first-child,
.crc-table tbody tr > td:first-child,
table.rrh-table tbody tr > td:first-child{
  border-left:1px solid rgba(122,106,78,.10) !important;
  border-top-left-radius:16px !important;
  border-bottom-left-radius:16px !important;
}

.rrh-table tbody tr > .rrh-td:last-child,
.rrh-meetings-table tbody tr > td:last-child,
.recovery-calendar-table tbody tr > td:last-child,
.crc-table tbody tr > td:last-child,
table.rrh-table tbody tr > td:last-child{
  border-right:1px solid rgba(122,106,78,.10) !important;
  border-top-right-radius:16px !important;
  border-bottom-right-radius:16px !important;
}


/*=========================================================================================================================*/
/* resources widths */
.rrh-table--resources{
  table-layout: fixed;
}

.rrh-table--resources thead th.rrh-col--category,
.rrh-table--resources tbody td.rrh-col--category{ width:18%; }

.rrh-table--resources thead th.rrh-col--primary,
.rrh-table--resources tbody td.rrh-col--primary{ width:39%; }

.rrh-table--resources thead th.rrh-col--address,
.rrh-table--resources tbody td.rrh-col--address{ width:35%; }

.rrh-table--resources thead th.rrh-col--distance,
.rrh-table--resources tbody td.rrh-col--distance{ width:10%; }

.rrh-table--resources .rrh-td{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
/* Disabled pager buttons — stronger, not faded */
.rrh-page-btn.is-disabled{
  opacity: 1;
  color: rgba(0,0,0,0.45);
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.12);
  cursor: default;
  pointer-events: none;
}
/* Wrap needed for styling control */
.rrh-page-select-wrap{
  position: relative;
  display: inline-block;
}

/* Hide native arrow when disabled */
.rrh-page-select:disabled{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  padding-right: 12px;
  cursor: default;
}

/* Replace with static label */
.rrh-page-display{
  display: none;
  font-size: 14px;
  color: rgba(0,0,0,0.6);
  padding: 6px 10px;
}

/* When disabled → hide dropdown, show label */
.rrh-page-select-wrap.is-disabled .rrh-page-select{
  display: none;
}

.rrh-page-select-wrap.is-disabled .rrh-page-display{
  display: inline-block;
}


/*=========================================================================================================================*/


/* meetings widths */
.rrh-table--meetings{
  table-layout: fixed;
}

.rrh-table--meetings .rrh-td{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

#tbl-calendar-container .rrh-table--meetings .rrh-col--when{ width:20% !important; }
#tbl-calendar-container .rrh-table--meetings .rrh-col--primary{ width:22% !important; }
#tbl-calendar-container .rrh-table--meetings .rrh-col--location{ width:20% !important; }
#tbl-calendar-container .rrh-table--meetings .rrh-col--address{ width:20% !important; }
#tbl-calendar-container .rrh-table--meetings .rrh-col--county{ width:9% !important; }
#tbl-calendar-container .rrh-table--meetings .rrh-col--distance{ width:9% !important; }

.rrh-table--meetings .rrh-col--when{ width:17%; }
.rrh-table--meetings .rrh-col--primary{ width:20%; }
.rrh-table--meetings .rrh-col--location{ width:19%; }
.rrh-table--meetings .rrh-col--address{ width:27%; }
.rrh-table--meetings .rrh-col--county{ width:10%; }
.rrh-table--meetings .rrh-col--distance{ width:7%; }

/* wrappers / overflow */
.rrh-meetings-table-wrap,
.rrh-table-panel,
.recovery-calendar-table-wrap,
.crc-table-wrap,
.rrh-table-wrap{
  overflow-x:hidden !important;
  overflow-y:visible !important;
  padding:8px 8px 8px !important;
}

.rrh-meetings-table,
.recovery-calendar-table,
.crc-table,
table.rrh-table,
.rrh-table{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  border-spacing:0 0 !important;
  table-layout:fixed;
}

#recovery-calendar-container,
#tbl-calendar-container,
.rrh-meetings-page,
.rrh-shell,
.rrh-glass{
  overflow-x:clip;
}

/* =========================================================
   10) PAGE RHYTHM / HEADER / MEETINGS TEXT
   ========================================================= */
.tbl-calendar-shell{
  margin-top: 0;
}

.rrh-meetings-page,
#recovery-calendar-container,
#tbl-calendar-container{
  gap:18px;
}

.rrh-page-header,
.rrh-meetings-header,
.rrh-meetings-title-block{
  gap:8px;
  padding:0;
}

.rrh-page-header h1,
.rrh-meetings-header h1,
.rrh-meetings-title-block h1,
#recovery-calendar-container h1,
#tbl-calendar-container h1{
  margin:0 0 2px;
  color: var(--rrh-heading-text);
}

.rrh-page-header p,
.rrh-meetings-header p,
.rrh-meetings-title-block p,
.meetings-directions{
  margin:0;
  color: var(--rrh-muted-text);
}

.meetings-resources{
  color: var(--rrh-text);
  font-style: italic;
  font-size: 40px;
  font-weight: 400;
  margin-top: 4px;
  margin-bottom: 0;
}

.meetings-directions{
  font-size: 16px;
  margin: 2px 0 6px;
  line-height: 1.4;
  max-width: 980px;
}

.meetings-help{
  font-size: 13px;
  color: var(--rrh-muted);
  margin-left: 8px;
}

/* =========================================================
   11) MEETINGS-SPECIFIC TUNE-UP
   ========================================================= */
#recovery-calendar-container .rrh-meetings-controls,
#recovery-calendar-container .rrh-meetings-filters,
#recovery-calendar-container .rrh-filter-panel,
#recovery-calendar-container .recovery-calendar-filters{
  padding: 10px 10px 8px !important;
}

#recovery-calendar-container .rrh-meetings-controls .rrh-field,
#recovery-calendar-container .rrh-meetings-filters .rrh-field,
#recovery-calendar-container .recovery-calendar-filters .rrh-field{
  gap:4px !important;
}

#recovery-calendar-container #type-filter-section{
  margin-top:8px !important;
  margin-bottom:10px !important;
  padding:8px 10px !important;
}

#recovery-calendar-container .rrh-pagination,
#recovery-calendar-container .recovery-calendar-pagination{
  margin-top:6px !important;
  margin-bottom:0 !important;
  padding-top:0 !important;
}

#recovery-calendar-container .rrh-meetings-controls input[type="text"],
#recovery-calendar-container .rrh-meetings-controls input[type="search"],
#recovery-calendar-container .rrh-meetings-controls input[type="number"],
#recovery-calendar-container .rrh-meetings-controls select,
#recovery-calendar-container .rrh-meetings-filters input[type="text"],
#recovery-calendar-container .rrh-meetings-filters input[type="search"],
#recovery-calendar-container .rrh-meetings-filters input[type="number"],
#recovery-calendar-container .rrh-meetings-filters select,
#recovery-calendar-container .recovery-calendar-filters input[type="text"],
#recovery-calendar-container .recovery-calendar-filters input[type="search"],
#recovery-calendar-container .recovery-calendar-filters input[type="number"],
#recovery-calendar-container .recovery-calendar-filters select{
  min-height:36px !important;
  height:36px !important;
  padding:0 10px !important;
  border-radius:12px !important;
  background: var(--rrh-control-bg) !important;
  color: var(--rrh-primary-text) !important;
  border:1px solid var(--rrh-control-border) !important;
  box-shadow:none !important;
  font-size:14px !important;
  font-family: inherit !important;
}

#recovery-calendar-container .rrh-meetings-controls button,
#recovery-calendar-container .rrh-meetings-controls .button,
#recovery-calendar-container .rrh-meetings-filters button,
#recovery-calendar-container .rrh-meetings-filters .button,
#recovery-calendar-container .recovery-calendar-filters button,
#recovery-calendar-container .recovery-calendar-filters .button{
  min-height:36px !important;
  height:36px !important;
  padding:0 14px !important;
  border-radius:12px !important;
  font-family: inherit !important;
}

#recovery-calendar-container .rrh-table--meetings{
  table-layout: fixed !important;
  width:100% !important;
}

#recovery-calendar-container .rrh-table--meetings thead th{
  padding-right:16px !important;
}

#recovery-calendar-container .rrh-table--meetings thead th.rrh-col--distance,
#recovery-calendar-container .rrh-table--meetings tbody td.rrh-col--distance{
  white-space:nowrap !important;
  overflow:visible !important;
}

#recovery-calendar-container .rrh-th.rrh-sort{
  padding-right:20px !important;
}

#recovery-calendar-container .rrh-th.rrh-sort::after{
  margin-left:4px !important;
  font-size:9px !important;
  opacity:.45 !important;
}

#recovery-calendar-container .rrh-table--meetings thead th,
#recovery-calendar-container .rrh-table--meetings tbody td{
  overflow:hidden;
  text-overflow:ellipsis;
}

#recovery-calendar-container .rrh-table--meetings thead th.rrh-col--distance.rrh-sort{
  overflow:visible !important;
  text-overflow:clip !important;
}

#recovery-calendar-container .rrh-meetings-table-wrap,
#recovery-calendar-container .rrh-table-wrap,
#recovery-calendar-container .recovery-calendar-table-wrap{
  padding:6px 8px 8px !important;
}

#recovery-calendar-container,
#recovery-calendar-container .rrh-meetings-page{
  gap:14px !important;
}

#recovery-calendar-container .rrh-page-header,
#recovery-calendar-container .rrh-meetings-header,
#recovery-calendar-container .rrh-meetings-title-block{
  padding:0 !important;
  gap:6px !important;
}

#recovery-calendar-container .meetings-directions{
  margin:2px 0 4px !important;
}

/* =========================================================
   12) TBL CONTROLS TUNE-UP
   ========================================================= */
#tbl-calendar-container .rrh-controls-card{
  padding:10px 12px 10px !important;
  margin-bottom:10px !important;
}

#tbl-calendar-container .rrh-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-bottom:0 !important;
}

#tbl-calendar-container .rrh-field{
  margin:0 !important;
}

#tbl-calendar-container .rrh-input,
#tbl-calendar-container .rrh-select{
  height:42px !important;
  min-height:42px !important;
  padding:0 14px !important;
  font-size:16px !important;
  line-height:1.2 !important;
  border-radius:14px !important;
  font-family: inherit !important;
}

#tbl-calendar-container #tbl-calendar-zip{
  width:200px !important;
}

#tbl-calendar-container #tbl-calendar-type{
  width:98px !important;
  min-width:98px !important;
}

#tbl-calendar-container #tbl-calendar-radius{
  width:88px !important;
}

#tbl-calendar-container .rrh-actions .rrh-btn,
#tbl-calendar-container .tbl-calendar__types .rrh-btn,
#tbl-calendar-container .rrh-pagination .rrh-btn{
  min-height:42px !important;
  height:42px !important;
  padding:0 16px !important;
  border-radius:12px !important;
  font-family: inherit !important;
}

#tbl-calendar-container .tbl-calendar__types{
  margin-top:10px !important;
  margin-bottom:10px !important;
}

#tbl-calendar-container .rrh-type-pills{
  margin-top:8px !important;
  margin-bottom:8px !important;
}

#tbl-calendar-container .tbl-calendar__pagination{
  margin-top:8px !important;
  margin-bottom:6px !important;
}

#tbl-calendar-container .tbl-calendar__controls{
  gap:8px !important;
}

/* =========================================================
   13) RESPONSIVE
   ========================================================= */
@media (max-width:980px){
  .rrh-meetings-controls form,
  .rrh-meetings-filters form,
  .recovery-calendar-filters form,
  .crc-filters-wrap form{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rrh-field--search,
  .rrh-field--day,
  .rrh-field--type,
  .rrh-field--distance,
  .rrh-field--submit,
  .rrh-field--reset{
    grid-column: span 1;
  }
}

@media (max-width:768px){
  .rrh-meetings-controls,
  .rrh-meetings-filters,
  .rrh-filter-panel,
  .recovery-calendar-filters,
  .crc-filters-wrap{
    padding:16px;
  }

  .rrh-meetings-table-wrap,
  .rrh-table-panel,
  .recovery-calendar-table-wrap,
  .crc-table-wrap,
  .rrh-table-wrap{
    padding:8px;
    overflow-x:auto !important;
  }

  .rrh-meetings-table,
  .recovery-calendar-table,
  .crc-table,
  table.rrh-table,
  .rrh-table{
    min-width:760px !important;
  }

  .rrh-colhead{
    flex-wrap:wrap;
  }
}
/* =========================================================
   14) PRINT — SAFE CLEAN CALENDAR OUTPUT
   ========================================================= */

@media print{
  .meetings-resources,
  .meetings-directions,
  .site-social__divider{
    display: none !important;
  }

  @page{
    size: portrait;
    margin: 0.15in;
  }

  html,
  body{
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
  }

  /* Hide site chrome */
  header,
  footer,
  nav,
  .site-header,
  .site-footer,
  .main-navigation,
  .site-branding,
  .wp-site-blocks > header,
  .wp-site-blocks > footer,
  .rrh-nav,
  .emergency,
  .emergency-bar,
  .crisis-bar,
  .hotline-bar,
  .rrh-emergency-bar,
  .rrh-crisis-bar,
  .site-preview,
  .site-preview-bar{
    display: none !important;
  }

  /* Hide controls only */
  #tbl-calendar-container button,
  #tbl-calendar-container select,
  #tbl-calendar-container input,
  #recovery-calendar-container button,
  #recovery-calendar-container select,
  #recovery-calendar-container input{
    display: none !important;
  }

  /* Hide filter/type/pagination panels */
  .tbl-calendar__controls,
  .tbl-calendar__types,
  .rrh-pagination,
  #tbl-type-filter-section,
  #tbl-category-filter-section{
    display: none !important;
  }

  /* Clean containers */
  #tbl-calendar-shell,
  #tbl-calendar-container,
  #tbl-calendar-results,
  #calendar-results,
  #recovery-calendar-container{
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .rrh-card,
  .rrh-shell,
  .rrh-glass,
  .rrh-table-wrap{
    background: #fff !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  /* Table */
  #tbl-calendar-results .rrh-table,
  #calendar-results .calendar-table,
  #calendar-results .rrh-table{
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    font-size: 8px !important;
  }

  .rrh-table th,
  .rrh-table td,
  .calendar-table th,
  .calendar-table td{
    padding: 2px 3px !important;
    border: 1px solid rgba(0,0,0,.18) !important;
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
    vertical-align: top !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .rrh-table a,
  .calendar-table a{
    color: #000 !important;
    text-decoration: none !important;
    pointer-events: none !important;
  }

  thead{
    display: table-header-group;
  }

  tr{
    page-break-inside: avoid;
  }

  .meetings-resources::after{
    content: "Printed from recoveryresourceshub.com";
    display: block;
    font-size: 10px;
    margin-top: 4px;
    color: #000;
  }
}






/* =========================================================
   RRH PAGER — CONSISTENT BUTTON ALIGNMENT + SPACING
   ========================================================= */

.rrh-pager{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;

  margin-bottom: 12px; /* 👈 slight space under pager */
}

/* buttons */
.rrh-page-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:0px 10px;
  min-height:20px;

  border-radius:12px;

  background: var(--rrh-button-bg);
  border: 1px solid var(--rrh-border-soft);
  color: var(--rrh-primary-text);

  font-size:13px;
  line-height:1;
  text-align:center;

  text-decoration:none;
  cursor:pointer;

  transition:.15s ease;
}

/* hover */
.rrh-page-btn:hover{
  background: rgba(255,255,255,0.75);
}

/* disabled */
.rrh-page-btn.is-disabled{
  opacity:.45;
  pointer-events:none;
}

/* select dropdown */
.rrh-page-select{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  height:32px;
  padding:0 10px;

  border-radius:10px;
  border:1px solid rgba(122,106,78,0.10);
  background: rgba(255,255,255,0.55);

  font-size:13px;
  line-height:1;
}


/* =========================================================
   RESOURCE / MEETING CARDS — SUBTLE TAN HUE
   ========================================================= */


/* FORCE warm base card color */
#tbl-calendar-container .aa-resource-card,
#tbl-calendar-container .aa-meeting-card,
#recovery-calendar-container .aa-resource-card,
#recovery-calendar-container .aa-meeting-card{
  background: rgba(244, 240, 232, 0.25) !important;
  box-shadow:
    0 2px 6px rgba(0,0,0,0.08),
    0 8px 18px rgba(0,0,0,0.07) !important;
  transition: none !important;
  cursor: pointer !important;
}

/* FORCE warm hover too */
#tbl-calendar-container .aa-resource-card:hover,
#tbl-calendar-container .aa-meeting-card:hover,
#recovery-calendar-container .aa-resource-card:hover,
#recovery-calendar-container .aa-meeting-card:hover{
  background: rgba(244, 240, 232, 0.25) !important;
    box-shadow:
    0 2px 6px rgba(0,0,0,0.04),
    0 8px 18px rgba(0,0,0,0.03);
  transform: none !important;
}
.aa-resource-card a,
.aa-meeting-card a,
.aa-resource-card button,
.aa-meeting-card button{
  cursor: pointer !important;
}

  
/* ==================================================================================================================
   RESOURCE PAGE — ACTION / FILTER BUTTON ALIGNMENT
   ================================================================================================================== */

#tbl-calendar-container .rrh-filters,
#tbl-calendar-container .rrh-actions,
#tbl-calendar-container .tbl-calendar__types.rrh-types{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

#tbl-calendar-container .rrh-actions{
  margin:0 !important;
}

#tbl-calendar-container .rrh-actions .rrh-btn,
#tbl-calendar-container .rrh-actions button,
#tbl-calendar-container .rrh-actions .button,
#tbl-calendar-container .tbl-calendar__types.rrh-types .rrh-btn{
  height:42px;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  line-height:1;
  vertical-align:middle;
  box-sizing:border-box;
  margin:0;
}

/* keep toggle caret/icon from shifting alignment */
#tbl-calendar-container .tbl-calendar__types .rrh-toggle-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-left:8px;
  line-height:1;
  vertical-align:middle;
}



/* ============================================================================================================
   SS CONTENT PAGE SYSTEM
   Safe shared layer for About / Contact / Second Serving only
   Does NOT alter core RRH pages/components
   ============================================================================================================ */

/* --------------------------------------------
   SS TOKENS
   -------------------------------------------- */
:root{
  --ss-shell-max: 1100px;
  --ss-shell-pad: 22px;
  --ss-shell-mt: -10px;

  --ss-card-pad: 24px;
  --ss-card-radius: 22px;

  --ss-gap-stack: 18px;
  --ss-gap-grid-2: 18px;
  --ss-gap-grid-3: 16px;
  --ss-gap-actions: 12px;

  --ss-text-max: 100ch;
  --ss-subtitle-max: 780px;
  --ss-cta-max: 760px;

  --ss-title-size: 34px;
  --ss-subtitle-size: 18px;
  --ss-section-size: 24px;
  --ss-cta-size: 28px;

  --ss-btn-minw: 180px;
  --ss-btn-radius: 14px;

  --ss-topo-size: 900px auto;
  --ss-topo-opacity: .06;

  --ss-green-bg: rgba(120, 170, 130, 0.22);
  --ss-green-border: rgba(120, 170, 130, 0.45);
  --ss-green-text: #2f5e3e;

}

/* --------------------------------------------
   SS LAYOUT SHELL
   -------------------------------------------- */
.ss-page{
  position:relative;
  overflow:hidden;
  max-width:var(--ss-shell-max);
  margin:0 auto;
  margin-top:var(--ss-shell-mt);
  padding:var(--ss-shell-pad);
  box-sizing:border-box;
  color:var(--rrh-text);
}

.ss-page::before{
  content:"";
  position:absolute;


  background: var(--rrh-glass-bg);

  pointer-events:none;
  z-index:0;
}

.ss-page > *{
  position:relative;
  z-index:1;
}

/* --------------------------------------------
   SS STRUCTURE
   -------------------------------------------- */
.ss-stack{
  display:flex;
  flex-direction:column;
  gap:var(--ss-gap-stack);
}

.ss-panel{
  border-radius: var(--ss-card-radius);
  padding: var(--ss-card-pad);
  background: rgba(255,255,255,0.50);
  border: 1px solid rgba(0,0,0,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-sizing: border-box;

  /* ✨ SS glass depth */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 6px 18px rgba(0,0,0,0.05);
}

.ss-hero-panel{
  text-align:center;
}

.ss-center{
  text-align:center;
}

.ss-flow > * + *{
  margin-top:12px;
}

/* --------------------------------------------
   SS TYPOGRAPHY
   -------------------------------------------- */
.ss-kicker{
  margin:0 0 8px;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.78;
}

.ss-title{
  margin:0 0 10px;
  font-size:var(--ss-title-size);
  line-height:1.1;
  font-weight:700;
  text-align:center;
}

.ss-subtitle{
  max-width:var(--ss-subtitle-max);
  margin:0 auto;
  font-size:var(--ss-subtitle-size);
  line-height:1.55;
  text-align:center;
  opacity:.92;
}

.ss-section-title{
  margin:0 0 12px;
  font-size:var(--ss-section-size);
  line-height:1.2;
  text-align:center;
}

.ss-text{
  margin:0 auto 12px;
  max-width:var(--ss-text-max);
  line-height:1.7;
  text-align:center;
}

.ss-text:last-child{
  margin-bottom:0;
}

.ss-cta-title{
  margin:0 0 10px;
  font-size:var(--ss-cta-size);
  line-height:1.15;
  text-align:center;
}

.ss-cta-text{
  max-width:var(--ss-cta-max);
  margin:0 auto 18px;
  line-height:1.65;
  text-align:center;
}

.ss-list{
  list-style:none;
  padding:0;
  margin:0;
}

.ss-list li{
  margin-bottom:6px;
}

/* --------------------------------------------
   SS UTILITIES
   -------------------------------------------- */
.ss-max-text{ max-width:var(--ss-text-max); margin-left:auto; margin-right:auto; }
.ss-max-subtitle{ max-width:var(--ss-subtitle-max); margin-left:auto; margin-right:auto; }
.ss-grid-2{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--ss-gap-grid-2); }
.ss-grid-3{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ss-gap-grid-3); }
.ss-flex-center{ display:flex; align-items:center; justify-content:center; }
.ss-flex-center-wrap{ display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:18px; }
.ss-inline-flex-center{ display:inline-flex; align-items:center; gap:8px; }
.ss-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:var(--ss-gap-actions);
}
.ss-pill-number{
  width:42px;
  height:42px;
  margin:0 auto 12px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;

  background: var(--ss-green-bg);
  border: 1px solid var(--ss-green-border);
  color: var(--ss-green-text);
}



/* --------------------------------------------
   SS BUTTONS
   -------------------------------------------- */
.ss-page .ss-btn,
.ss-page .ss-btn:link,
.ss-page .ss-btn:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:var(--ss-btn-minw);
  padding:12px 18px;
  border-radius:var(--ss-btn-radius);
  font-weight:600;
  box-sizing:border-box;
  cursor:pointer;
  border:1px solid rgba(0,0,0,0.12);
  background:rgba(255,255,255,0.5);
  text-decoration:none !important;
  color:var(--rrh-text) !important;
  transition:
    background-color .15s ease,
    box-shadow .15s ease,
    transform .12s ease,
    border-color .15s ease;
}

.ss-page .ss-btn:hover{
  text-decoration:none !important;
  background: var(--ss-green-bg);
  border-color: var(--ss-green-border);
  color: var(--ss-green-text) !important;
  box-shadow:0 8px 18px rgba(0,0,0,0.12);
  transform:translateY(-1px);
}

.ss-page .ss-btn:active{
  text-decoration:none !important;
  color:var(--rrh-text) !important;
  transform:translateY(0) scale(.98);
  box-shadow:0 4px 10px rgba(0,0,0,0.10);
}

.ss-page .ss-btn--primary{
  background: var(--ss-green-bg);
  border-color: var(--ss-green-border);
  color: var(--ss-green-text) !important;
}


.ss-page .ss-btn--primary:hover{
  background: var(--ss-green-bg);
  border-color: var(--ss-green-border);
  color: var(--ss-green-text) !important;
  box-shadow:0 10px 22px rgba(0,0,0,0.14);
}

.ss-page .ss-btn--secondary{
  background:rgba(255,255,255,0.5);
}

.ss-page .ss-btn--secondary:hover{
  background:rgba(0,0,0,0.12);
}

/* --------------------------------------------
   RESPONSIVE
   -------------------------------------------- */
@media (max-width: 900px){
  .ss-title{ font-size:30px; }
  .ss-subtitle{ font-size:17px; }
  .ss-grid-2,
  .ss-grid-3{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px){
  .ss-page{ padding:16px; }
  .ss-panel{ padding:18px; }
  .ss-title{ font-size:26px; }
  .ss-cta-title{ font-size:24px; }

  .ss-page .ss-btn{
    width:100%;
  }
}

/* =========================================================
   MODAL META LINKS — phone / email / website
   ========================================================= */

#calendar-single-container .rrh-link.rrh-meta-link,
#crc-single-container .rrh-link.rrh-meta-link{
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

#calendar-single-container .rrh-link.rrh-meta-link:hover,
#crc-single-container .rrh-link.rrh-meta-link:hover{
  text-decoration: underline !important;
}

/* labels like Phone: / Email: / Website: */
#calendar-single-container .rrh-k,
#crc-single-container .rrh-k{
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}

/* each info row */
#calendar-single-container .rrh-line,
#crc-single-container .rrh-line{
  font-size: 16px !important;
  line-height: 1.45 !important;
}


/* =========================================================
   RRH BUTTON — MATCH DISTANCE PILL GREEN
   ========================================================= */

.rrh-btn--pending{
  background: rgba(120,170,130,0.22) !important;
  border: 1px solid rgba(120,170,130,0.45) !important;
  color: #2f5e3e !important;

  transition:
    background .15s ease,
    border-color .15s ease,
    box-shadow .15s ease,
    transform .12s ease;
}

.rrh-btn--pending:hover{
  background: rgba(120,170,130,0.32) !important;
  border-color: rgba(120,170,130,0.60) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 6px 16px rgba(120,170,130,.18);

  transform: translateY(-1px);
}

.rrh-btn--pending:active{
  transform: translateY(0) scale(.98);
  box-shadow: 0 3px 8px rgba(120,170,130,.12);
}

#calendar-single-content{
  border-radius: 32px !important;
  padding:22px !important;
}

#calendar-single-container .rrh-shell{
  border-radius: 28px !important;
}
.rrh-badge-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:8px 0 10px;
}

.rrh-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  line-height:1;
  border:1px solid rgba(122,106,78,.16);
  background:rgba(255,255,255,.55);
  color:#4a4236;
  white-space:nowrap;
}

.rrh-badge--sponsored{
  background:rgba(232, 220, 190, 0.72);
  border-color:rgba(148,120,60,.28);
  color:#5d4a1f;
}

.rrh-badge--featured{
  background:rgba(243, 236, 220, 0.72);
  border-color:rgba(122,106,78,.24);
  color:#5a4a33;
}

.rrh-badge--standard{
  background:rgba(246, 242, 234, 0.72);
  border-color:rgba(122,106,78,.18);
  color:#4f4638;
}

.rrh-badge--verified{
  background:rgba(223, 236, 222, 0.72);
  border-color:rgba(110,145,112,.26);
  color:#34533a;
}

.rrh-badge--fresh{
  background:rgba(236, 241, 231, 0.72);
  border-color:rgba(130,150,120,.22);
  color:#465a3c;
}



/* ==========================================================
   BASE TOOLTIP
   ========================================================== */

.rrh-tooltip{
  position: relative;
  cursor: help;
}

.rrh-tooltip::after,
.rrh-tooltip::before{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
  z-index: 99999;
}

.rrh-tooltip:hover::after,
.rrh-tooltip:hover::before{
  opacity: 1;
  visibility: visible;
}

/* ==========================================================
   MEETING PAGE FILTER PILLS — tooltip above
   ========================================================== */

#tbl-type-filter-section .rrh-tooltip::after{
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);

  width: max-content;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 10px;

  background: #f2f3ed;
  color: #555;
  border: 1px solid rgba(0,0,0,.22);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);

  font-size: 14px;
  line-height: 1.4;
}

#tbl-type-filter-section .rrh-tooltip::before{
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);

  border: 7px solid transparent;
  border-top-color: #f2f3ed;
}

/* ==========================================================
   MODAL TOOLTIP — tooltip to the right
   ========================================================== */

#calendar-single-container .rrh-tooltip::after{
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  transform: translateY(-30%);

  width: max-content;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 10px;

  background: #f2f3ed;
  color: #555;
  border: 1px solid rgba(0,0,0,.22);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);

  font-size: 13px;
  line-height: 1.4;
}

#calendar-single-container .rrh-tooltip::before{
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 2px);
  transform: translateY(-50%);
  transition: none;
  border: 7px solid transparent;
  border-right-color: #f2f3ed;
}

/* ==========================================================
   ALLOW FILTER TOOLTIPS TO ESCAPE CALENDAR PANELS
   ========================================================== */

#tbl-calendar-shell,
#tbl-calendar-container,
#tbl-calendar-container.rrh-card,
#tbl-calendar-container .tbl-calendar__controls,
#tbl-type-filter-section,
#tbl-type-filter-section.rrh-type-pills,
#tbl-type-filter-section .tbl-type-group,
#tbl-type-filter-section .tbl-type-group-items{
  overflow: visible !important;
}
/* ==========================================================
   RESOURCES PAGE CATEGORY PILLS TOOLTIP (FINAL FIX)
   ========================================================== */

#tbl-category-filter-section .rrh-tooltip{
  position: relative;
  cursor: help;
}

#tbl-category-filter-section .rrh-tooltip::after{
  content: attr(data-tooltip); /* IMPORTANT */
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);

  width: max-content;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 10px;

  background: #f2f3ed;
  color: #555;
  border: 1px solid rgba(0,0,0,.22);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);

  font-size: 13px;
  line-height: 1.4;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 99999;

  transition: none;
}

#tbl-category-filter-section .rrh-tooltip::before{
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);

  border: 7px solid transparent;
  border-top-color: #f2f3ed;

  opacity: 0;
  visibility: hidden;
  transition: none;
}

#tbl-category-filter-section .rrh-tooltip:hover::after,
#tbl-category-filter-section .rrh-tooltip:hover::before{
  opacity: 1;
  visibility: visible;
}





/* compact resource table badges */
.rrh-table .rrh-badge-row--table{
  display:inline-flex !important;
  align-items:center !important;
  gap:4px !important;
  margin-left:5px !important;
  vertical-align:middle !important;
}

.rrh-table .rrh-badge{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  height:18px !important;
  min-height:14px !important;
  max-height:18px !important;
  padding:0 6px !important;
  font-size:9.5px !important;
  line-height:14px !important;
  font-weight:600 !important;
  border-radius:999px !important;
  border:1px solid rgba(0,0,0,.08) !important;
  white-space:nowrap !important;
}

.rrh-table .rrh-td{
  padding-top:4px !important;
  padding-bottom:4px !important;
  vertical-align:middle !important;
}

.rrh-table .rrh-col--primary{
  line-height:1.1 !important;
}

.rrh-table .rrh-badge--sponsored{ background:#fff7d6 !important; }
.rrh-table .rrh-badge--featured{ background:#f5ecd8 !important; }
.rrh-table .rrh-badge--standard{ background:#f3f0e8 !important; }

.rrh-table .rrh-badge--verified,
.rrh-table .rrh-badge--fresh{
  background:#e8f4ea !important;
}

/* =========================================================
   RRH SEO HUB DIRECTORY LAYOUT
   /recovery-resources/
   ========================================================= */

.rrh-seo-hub .rrh-hub-location-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:18px;
  margin-top:18px;
}

.rrh-seo-hub .rrh-hub-location-card{
  border:1px solid rgba(37, 64, 49, .12);
  border-radius:18px;
  padding:18px;
  background:rgba(255,255,255,.72);
  box-shadow:0 12px 30px rgba(0,0,0,.06);
}

.rrh-seo-hub .rrh-hub-location-card h3{
  margin:0 0 14px;
  font-size:20px;
  line-height:1.2;
  color:#30483b;
}

.rrh-seo-hub .rrh-hub-link-group{
  margin-top:14px;
}

.rrh-seo-hub .rrh-hub-link-group h4{
  margin:0 0 8px;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#516657;
}

.rrh-seo-hub .rrh-hub-link-group ul{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:7px 14px;
}

.rrh-seo-hub .rrh-hub-link-group li{
  margin:0;
  padding:0;
}

.rrh-seo-hub .rrh-hub-link-group a{
  display:block;
  text-decoration:none;
  font-size:14px;
  line-height:1.25;
  color:#075fa8;
}

.rrh-seo-hub .rrh-hub-link-group a:hover{
  text-decoration:underline;
}

/* Wider screens: 3 columns inside each city card */
@media (min-width: 980px){
  .rrh-seo-hub .rrh-hub-link-group ul{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 520px){
  .rrh-seo-hub .rrh-hub-location-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .rrh-seo-hub .rrh-hub-location-card{
    padding:15px;
    border-radius:16px;
  }

  .rrh-seo-hub .rrh-hub-link-group ul{
    grid-template-columns:1fr;
  }
}
/* =========================================================
   RRH SEO RELATED LINKS BLOCK
   appears on virtual SEO pages
   ========================================================= */

.rrh-seo-related{
  margin-top:22px;
}

.rrh-related-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:18px;
  margin-top:16px;
}

.rrh-related-group{
  border:1px solid rgba(37,64,49,.12);
  border-radius:16px;
  padding:16px;
  background:rgba(255,255,255,.62);
}

.rrh-related-group h3{
  margin:0 0 10px;
  font-size:16px;
  color:#30483b;
}

.rrh-related-group ul{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}

.rrh-related-group li{
  margin:0;
  padding:0;
}

.rrh-related-group a{
  display:block;
  font-size:14px;
  line-height:1.35;
  text-decoration:none;
  color:#075fa8;
}

.rrh-related-group a:hover{
  text-decoration:underline;
}

.rrh-related-hub-link{
  margin:18px 0 0;
  padding-top:14px;
  border-top:1px solid rgba(37,64,49,.12);
}

.rrh-related-hub-link a{
  font-weight:700;
  color:#30483b;
}
/* =========================================================
   RRH HUB SEARCH + COMPACT PAGINATION
   ========================================================= */

.rrh-hub-search{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:flex-start;
  max-width:620px;
  margin-top:18px;
}

.rrh-hub-search input{
  width:360px;
  max-width:100%;
  height:42px;
  border-radius:12px;
  border:1px solid rgba(37,64,49,.16);
  background:rgba(255,255,255,.72);
  padding:0 14px;
  font-size:15px;
}

.rrh-hub-search button,
.rrh-hub-search-reset{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:42px;
  width:auto;
  padding:0 16px;
  border-radius:12px;
  border:1px solid rgba(37,64,49,.18);
  background:rgba(255,255,255,.72);
  color:#30483b;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
}

.rrh-hub-pagination{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  justify-content:flex-start;
  margin:10px 0 20px;
}

.rrh-hub-pagination a,
.rrh-hub-pagination-current{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 13px;
  border-radius:999px;
  border:1px solid rgba(37,64,49,.18);
  background:rgba(255,255,255,.68);
  color:#30483b;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
}

.rrh-hub-pagination-current{
  background:rgba(48,72,59,.08);
}

.rrh-hub-pagination a.is-disabled{
  opacity:.42;
  pointer-events:none;
}

@media (max-width: 560px){
  .rrh-hub-search{
    max-width:none;
  }

  .rrh-hub-search input{
    width:100%;
  }
}
/* =========================================================
   RRH MONETIZATION LAYER
   ========================================================= */

.rrh-seo-featured-results{
  margin-top:22px;
}

.rrh-featured-results-list{
  display:grid;
  gap:14px;
}

.rrh-resource-card{
  position:relative;
}

.rrh-resource-card.is-promoted{
  border:1px solid rgba(191,139,56,.35);
  background:
    linear-gradient(180deg, rgba(255,250,235,.55), rgba(255,255,255,.72));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    0 10px 24px rgba(70,55,25,.06);
}

.rrh-resource-card.is-sponsored{
  border-color:rgba(180,83,9,.45);
}

.rrh-sponsored-ribbon{
  position:absolute;
  top:12px;
  right:12px;
  z-index:2;
  border-radius:999px;
  padding:5px 10px;
  background:rgba(180,83,9,.10);
  color:#92400e;
  border:1px solid rgba(180,83,9,.18);
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
}

.rrh-micro-proof{
  margin:5px 0 0;
  font-size:13px;
  color:#7c5b21;
  font-weight:700;
}

.rrh-resource-desc{
  max-width:76ch;
}

.rrh-resource-actions{
  margin-top:12px;
}

.rrh-listing-owner-row{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(37,64,49,.10);
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  font-size:13px;
  color:rgba(48,72,59,.76);
}

.rrh-listing-owner-row a{
  font-weight:800;
  color:#30483b;
  text-decoration:underline;
  text-underline-offset:3px;
}

.rrh-provider-growth-callout{
  margin-top:20px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(37,64,49,.12);
  background:rgba(255,255,255,.55);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 12px;
}

.rrh-provider-growth-callout a{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:9px 14px;
  background:#30483b;
  color:#fff;
  text-decoration:none;
  font-weight:800;
}

@media (max-width:700px){
  .rrh-sponsored-ribbon{
    position:static;
    display:inline-flex;
    width:max-content;
    margin-bottom:10px;
  }

  .rrh-provider-growth-callout a{
    margin-left:0;
  }
}
/* =========================================================
   RRH CARD PILL / BADGE FIX
   prevents category + featured badge overlap
   ========================================================= */

.rrh-resource-card .aa-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding-right:115px; /* room for sponsored ribbon */
}

.rrh-resource-card .aa-card-title-wrap{
  min-width:0;
  flex:1 1 auto;
}

.rrh-resource-card .aa-tier-box{
  flex:0 0 auto;
  white-space:nowrap;
  position:relative;
  z-index:1;
}

.rrh-sponsored-ribbon{
  top:12px;
  right:12px;
  max-width:96px;
  text-align:center;
  line-height:1.1;
  white-space:normal;
}

/* If card is promoted, push the category pill below/away from ribbon */
.rrh-resource-card.is-promoted .aa-tier-box{
  margin-top:42px;
}

/* Mobile: let everything flow naturally */
@media (max-width:700px){
  .rrh-resource-card .aa-card-top{
    padding-right:0;
    flex-direction:column;
    align-items:flex-start;
  }

  .rrh-resource-card.is-promoted .aa-tier-box{
    margin-top:0;
  }

  .rrh-sponsored-ribbon{
    position:static;
    max-width:none;
    white-space:nowrap;
    margin-bottom:10px;
  }
}
.rd-tier-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.rd-tier-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height:142px;
  border:1px solid rgba(47,93,80,.14);
  border-radius:22px;
  background:rgba(255,255,255,.88);
  padding:18px 18px 16px;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(20,30,25,.05);
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease,
    background .18s ease;
}

.rd-tier-card:hover{
  transform:translateY(-2px);
  border-color:rgba(47,93,80,.35);
  box-shadow:0 16px 36px rgba(20,30,25,.09);
}

.rd-tier-card input{
  position:absolute;
  top:18px;
  left:18px;
  margin:0;
}

.rd-tier-card:has(input:checked){
  border-color:rgba(47,93,80,.65);
  background:linear-gradient(180deg, rgba(245,248,238,.98), rgba(255,255,255,.95));
  box-shadow:
    0 18px 42px rgba(47,93,80,.12),
    inset 0 0 0 1px rgba(47,93,80,.18);
}

.rd-tier-card:has(input:checked)::after{
  content:"Selected";
  position:absolute;
  top:14px;
  right:14px;
  border-radius:999px;
  background:#2f5d50;
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.03em;
  padding:5px 9px;
}

.rd-tier-head{
  padding-left:26px;
  padding-right:76px;
}

.rd-tier-title{
  display:block;
  color:#263d34;
  font-weight:800;
  font-size:1.05rem;
  line-height:1.2;
}

.rd-tier-price{
  color:#2f5d50;
  font-size:1.45rem;
  line-height:1.1;
  font-weight:900;
  letter-spacing:-.03em;
}

.rd-tier-duration{
  color:#68746f;
  font-size:.9rem;
  font-weight:700;
}

.rd-tier-description{
  color:#4e5f59;
  font-size:.95rem;
  line-height:1.45;
}

@media (max-width:900px){
  .rd-tier-grid{
    grid-template-columns:1fr;
  }
}
.rd-claim-search{
  margin:0 0 24px;
  padding:20px;
  border:1px solid rgba(47,93,80,.14);
  border-radius:22px;
  background:rgba(255,255,255,.62);
  box-shadow:0 14px 36px rgba(20,30,25,.05);
}

.rd-claim-search__head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  margin-bottom:14px;
}

.rd-claim-search__title{
  margin:0;
  color:#263d34;
  font-size:1.18rem;
  line-height:1.2;
}

.rd-claim-search__text{
  margin:6px 0 0;
  color:#5d6470;
  font-size:.95rem;
  line-height:1.45;
}

.rd-claim-search__row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
}

.rd-claim-search input{
  width:100%;
  border:1px solid rgba(0,0,0,.12);
  border-radius:999px;
  padding:13px 16px;
  background:#fff;
  font:inherit;
  box-sizing:border-box;
}

.rd-claim-search button{
  border:0;
  border-radius:999px;
  padding:13px 18px;
  background:#2f5d50;
  color:#fff;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}

.rd-claim-results{
  display:grid;
  gap:10px;
  margin-top:14px;
}

.rd-claim-result{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  padding:14px;
  border:1px solid rgba(47,93,80,.12);
  border-radius:18px;
  background:#fff;
}

.rd-claim-result__name{
  display:block;
  color:#263d34;
  font-weight:900;
  line-height:1.25;
}

.rd-claim-result__meta{
  margin-top:4px;
  color:#5d6470;
  font-size:.92rem;
}

.rd-claim-result__desc{
  margin-top:6px;
  color:#4e5f59;
  font-size:.9rem;
  line-height:1.4;
}

.rd-claim-result__btn{
  white-space:nowrap;
  border:1px solid rgba(47,93,80,.24);
  border-radius:999px;
  padding:10px 14px;
  color:#2f5d50;
  background:#f6f8ef;
  font-weight:900;
  text-decoration:none;
}

.rd-claim-empty{
  margin-top:12px;
  padding:14px;
  border-radius:16px;
  background:#f8f6ef;
  color:#5d6470;
}

@media (max-width:700px){
  .rd-claim-search__row{
    grid-template-columns:1fr;
  }

  .rd-claim-result{
    align-items:flex-start;
    flex-direction:column;
  }
}

.rd-claim-result__btn.is-disabled{
  opacity:.65;
  cursor:not-allowed;
  pointer-events:none;
  background:#f1f1ed;
  color:#6b706b;
  border-color:rgba(0,0,0,.12);
}

/* Subtle pulse animation */
@keyframes rrhPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,0,0,0.15); }
  70%  { box-shadow: 0 0 0 10px rgba(0,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

.rrh-pulse {
  animation: rrhPulse 1.8s ease-out 3;
}

/* =========================================================
   RRH FIXED HEADER STACK — spacer stays active
   ========================================================= */

.site-header.rrh-top-header{
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10000 !important;
}

.rrh-help-outer{
  position: fixed !important;
  top: var(--rrh-top-header-height, 145px) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  margin: 0 !important;
}

#header-spacer{
  display: block !important;
  height: var(--rrh-header-stack-height, 210px);
  flex: 0 0 auto;
}

/* stop page wrappers from fighting the header spacer */
:root{
  --rrh-mt-tight: 0px;
  --ss-shell-mt: 0px;
}

.rrh-home-seed-mini {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 8px auto 14px;
  max-width: 900px;
  font-size: 13px;
  line-height: 1.35;
}

.rrh-home-seed-mini a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-weight: 600;
}

.rrh-home-seed-mini a span {
  opacity: .7;
  font-weight: 400;
}