/* ========================
   UNIVERSAL DRAWER MODAL
======================== */

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9989;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* ⬇️ Anchored to bottom */
}

.modal-box {
  position: relative;
  height:auto;
  overflow-y: auto;   /* ✅ enables scroll */
  overflow-x: hidden;
  background: #fff;
  width: 100%;   
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.3s ease-out;
  padding: 0;  
}

/* ========================
   CLOSE BUTTON
======================== */

.modal-close-button {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 3;
  font-size: 14px;
  background: none;
  border: none;
  color: #fff;
  background-color: #000a;
  padding: 3px 6px;
  border-radius: 5px;
  cursor: pointer;
}

.modal-close-button:hover {
  color: #000;
}
.media-close-button {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 3;
  font-size: 12px;
  background: none;
  border: none;
  color: #fff;
  background-color: #000a;
  padding: 3px 6px;
  border-radius: 12px;
}

.media-close-button:hover {
  color: #000;
}
/* ========================
   MODAL CONTENT SECTIONS
======================== */

.modal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  padding: 8px;
  text-align: center;
  border-bottom: 1px solid #ddd;
} 
#drawerModal .modal-box {
  overflow-y: auto;   
  overscroll-behavior: contain;      /* ✅ stops background scroll bleed */
  padding: 8px;
  max-width: 365px; 
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  position: relative;
}

/* Optional: Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

.modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1em;
}

.modal-footer {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-top: 1px solid #ddd;
  background-color: #fff;
}

/* ========================
   DRAG HANDLE (Optional)
======================== */
.modal-drag-handle {
  width: 50px;
  height: 5px;
  background: #ccc;
  border-radius: 4px;
  margin: 12px auto;
}

/* ========================
   SLIDE ANIMATION
======================== */
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
/* 🔁 Exit animation class */
.modal-box.slide-down {
  animation: slideDown 0.2s ease-out forwards;
}

@keyframes slideDown {
  from { transform: translateY(0); }
  to   { transform: translateY(100%); }
}

#drawerContent {  
  flex: 1 1 auto;
  overflow-y: scroll; /* was auto */
  -webkit-overflow-scrolling: touch; /* enable momentum scroll on iOS */
  padding: 4px; 
}

.drawer-header {
  display: flex;
  width: 95%;
  justify-content: space-between;    /* Option 1: spaces evenly but might not be 100% equal width if the buttons shrink */
  /* OR, better: */
  justify-content: stretch;          /* Option 2: works with flex:1 on children for *truly* equal widths */
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 4px;
}

.drawer-footer {
  padding: 12px 16px;
  border-top: 1px solid #e0e0e0;
  background-color: #f9f9f9;
}

.modal-box.drawer-small {
  height: 30vh;
  overflow-y: auto;
}
.modal-box.drawer-medium {
  height: 50vh;
  overflow-y: auto;
}
.modal-box.drawer-tall {
  height: 75vh;
  overflow-y: auto;
}

.modal-box.drawer-default {
  height: 50vh;
  overflow-y: auto;
}

.inbox-header {
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  background: #f9f9f9;
}

.inbox-filter-button {
  padding: 6px 12px;
  font-size: 14px;
  border: none;
  background: #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.inbox-filter-button:hover {
  background: #ccc;
}

.inbox-thread-list {
  padding: 10px;
}
.inbox-thread-row {
  display: flex;
  align-items: center;
  padding: 10px 8px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.inbox-thread-content {
  padding-left: 10px;
  display: flex;
  min-width: 160px;;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* <-- fix */
}


.inbox-thread-handle {
  font-weight: bold;
  font-size: 14px;
}

.inbox-thread-snippet {
  font-size: 13px;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-thread-snippet.unread {
  font-weight: normal;
  color: #555;
  font-size: 12px;
  font-style: italic;
  margin-top: 6px;
}

.inbox-thread-meta {
  text-align: right;
  font-size: 12px;  
}

.inbox-thread-unread-badge {
  background: red;
  color: white;
  border-radius: 12px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: bold;
  margin-top: 4px;
}
.inbox-thread-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.inbox-thread-time {
  color: #888;
  font-size: 12px;
}


#mediaModal {
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.85);
  position: fixed;
  inset: 0;
  z-index: 9999;
}

#mediaWrapper {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mediaWrapper > #mediaModalImage,
#mediaWrapper > video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 0.2rem;
}


#mediaControls {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 50;
}


#mediaDuration {
  position: absolute;
  bottom: 3.2rem;
  left: 1.2rem;
  font-size: 0.75rem;
  color: #f3f4f6;
  text-shadow: 0 0 2px black;
  pointer-events: auto;
}


#mediaProgress {
  position: absolute;
  bottom: 2.5rem;
  left: 1rem;
  right: 1rem;
  height: 4px;
  background-color: #991b1b;
  appearance: none;
  border: none;
  border-radius: 2px;
  pointer-events: auto;
  cursor: pointer;
  z-index: 51;
}

#mediaProgress::-webkit-slider-thumb,
#mediaProgress::-moz-range-thumb {
  width: 0;
  height: 0;
  background: transparent;
  border: none;
}


#mediaPlayBtn {
  position: absolute;
  bottom: 0.25rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 50;
}

#mediaPlayBtn:hover {
  transform: scale(1.1);
}


#mediaMuteBtn {
  position: absolute;
  bottom: 0.25rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  pointer-events: auto;
  cursor: pointer;
  transition: background-color 0.2s ease;
  z-index: 50;
}

#mediaMuteBtn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.show {
  display: flex !important;
}
.external-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10005;
}

.external-modal-box {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(0,0,0,0.25);
  animation: fadeSlideIn 0.25s ease-in-out;
}

.external-modal-header {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 12px;
  color: #b22222;
}

.external-modal-body {
  font-size: 0.95rem;
  color: #222;
  margin-bottom: 18px;
}

.external-url-display {
  font-family: monospace;
  color: #555;
  background-color: #f1f1f1;
  padding: 6px;
  margin: 6px 0;
  word-break: break-all;
  border-radius: 4px;
}

.external-modal-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.external-modal-buttons .btn {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.external-modal-buttons .btn.proceed {
  background-color: #d40101;
  color: white;
}

.external-modal-buttons .btn.cancel {
  background-color: #ccc;
  color: #333;
}


/*
.media-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.media-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-video,
.modal-image {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  background: black;
}

.media-close-btn {
  position: absolute;
  top: -20px;
  right: -20px;
  background: #fff;
  color: #000;
  font-size: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.hidden {
  display: none;
}

.show {
  display: flex !important;
}
*/

.fullscreen-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: none; /* or flex */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
}

.fullscreen-modal.active {
  display: flex;
  z-index: 101000
}

.fullscreen-modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 1;
}

.modal-content {
  position: relative;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  background: #fff;  
  overflow: hidden;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

#addMediaFrame {
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}
@media (min-width: 768px), screen and (min-width: 1024px) {
  #drawerModal .modal-box {    
    max-width: 550px;  
  }
  #floatingSearchBar.expanded {
    width: 640px !important;
    max-width: 640px !important;  
  }

  #searchResults {
    display: none;
    max-height: 730px !important;
  }

  /* Prevent scroll on tile wrapper */
  .no-scroll {
    overflow: hidden !important;
    height: 100%;
  }
}

/* 🔽 Add Link modal styles: global (all breakpoints) */
.addlink-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10010;
}

.addlink-modal-box {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(0,0,0,0.25);
  animation: fadeSlideIn 0.25s ease-in-out;
}

.addlink-modal-header {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 12px;
  color: #004a99;
}

.addlink-modal-body {
  font-size: 0.95rem;
  color: #222;
  margin-bottom: 18px;
}

.addlink-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 8px;
  font-size: 0.95rem;
}

.addlink-validation-message {
  color: #c40000;
  font-size: 0.85rem;
  margin-top: 6px;
  min-height: 18px;
}

.addlink-modal-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.addlink-modal-buttons .btn {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.addlink-modal-buttons .btn.submit {
  background-color: #004a99;
  color: white;
}

.addlink-modal-buttons .btn.cancel {
  background-color: #ccc;
  color: #333;
}


/* floating search bar */
#floatingSearchBar {
  position: fixed;
  left: 50%;
  top: 34px;   
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  color: #eee;
  font-family: 'Inter', sans-serif;
  user-select: none;
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1050;
  display: flex;
  align-items: center;
  padding: 6px 12px;  
  transform: translateX(-50%); 
}

/* Expanded state */
#floatingSearchBar.expanded {  
  background: rgb(178 202 233 / 85%);
  cursor: default;
  flex-direction: column;
  padding: 6px 9px;
  align-items: stretch;
  justify-content: flex-start;
  min-width: 360px;
  max-width: 385px;
}

/* Label bar when collapsed */
#searchBarLabel {
  flex: 0 0 auto;   
  text-align: center;
  font-size: 14px;
  letter-spacing: 2px;
  pointer-events: auto;        /* so it can be clicked */
  cursor: pointer;             /* visual affordance */
}

#floatingSearchBar.expanded #searchBarLabel {
  display: block;        /* ensure it’s visible   */
  font-size: 14px;       /* a bit smaller         */  
  cursor: pointer;       /* still acts as toggle  */
  color: #575454;
  margin-bottom: 8px;
}
#floatingSearchBar:not(.expanded) #searchBarLabel {
  flex: 1 1 auto;          /* fill the whole row */
  text-align: center;      /* horiz-center text  */
  
}
#floatingSearchBar:not(.expanded) .inline-geocode { display: none; }
#searchBarContent {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;   /* <— keeps everything at the top */
  align-items: stretch;          /* full width */
}

/* Search form container */
#searchFormContainer {
  display: none;
  flex-direction: row;
  gap: 8px;
}

#floatingSearchBar.expanded #searchFormContainer {
  display: flex;
}

/* Textarea */
#searchFormContainer textarea {
  width: 100%;
  height: 33px;
  resize: none;
  border-radius: 12px;
  border: 1px solid #555;
  padding: 6px 6px;
  font-size: 14px;
  font-family: inherit;  
  color: #000;
  outline: none;
  transition: border-color 0.2s ease;
}

#searchFormContainer textarea:focus {
  border-color: #0693e3;  
}

/* Search button */
#searchFormContainer button {
  height: 32px;
  border-radius: 12px;
  border: none;
  background-color: #0693e3;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#searchFormContainer button:hover {
  background-color: #005f9e;
}

/* Loading spinner */
#loadingSpinner {
  display: none;
  text-align: center;
  font-size: 18px;
  color: #06a;
}

/* Results container */
#searchResults {
  display: none;
  max-height: 220px;
  overflow-y: auto;
  margin-top: 12px;
  background-color: #fff;
  border-radius: 12px;
  padding: 10px;
  color: #ddd;
  font-size: 14px;
}

/* Show results */
#floatingSearchBar.expanded #searchResults {
  display: block;
}

/* See on map button */
#viewOnMapBtn {
  display: none;
  margin-top: 8px;
  align-self: flex-end;
  background-color: #0a84ff;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

#viewOnMapBtn:hover {
  background-color: #065fc7;
}

/* Close button */
#closeSearchBarBtn {
  display: none;
  position: absolute;
  top: 6px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 20px;
  color: #eee;
  cursor: pointer;
  font-weight: 700;
  user-select: none;
}

#floatingSearchBar.expanded #closeSearchBarBtn {
  display: block;
}

/* Form styling */
.float-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;  
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

.float-search-form textarea {
  flex-grow: 1;
  resize: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  min-height: 36px;
  max-height: 48px;
}

.float-search-form button {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  background-color: #0077cc;
  color: white;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.float-search-form button:hover {
  background-color: #005fa3;
}
/* ─── resize handle ─────────────────────────────── */
.resize-handle {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 16px;
  height: 16px;
  cursor: se-resize;
  /* small diagonal “grip” */
}
.resize-handle::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(135deg, transparent 50%, #666 50%),
    linear-gradient(135deg, transparent 70%, #666 70%);
  background-size: 100% 2px, 2px 100%;
  background-repeat: no-repeat;
}

#floatingSearchBar:not(.expanded) .resize-handle {
  display: none;          /* only show when drawer is open */
}
#floatingSearchBar:not(.expanded) {
  justify-content: center;   /* <─ NEW */
}

.activity-list-container {
  padding: 1em .5em .5em .5em;
}
.activity-row {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f2f2f2;
  transition: background 0.15s;
  cursor: pointer;
  position: relative;
}
.activity-row:hover {
  background: #f6f8fa;
}
.activity-details {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding-right: 10px;
}
.activity-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
  cursor: pointer;
  border: 2px solid transparent;
}
.activity-avatar:hover {
  border: 2px solid #2684ff;
  box-shadow: 0 2px 8px 0 rgba(38,132,255,0.10);
}
.activity-message {
  font-size: 14px;
  color: #222;
  margin-bottom: 3px;
  word-break: break-all;
  position: relative;
}

.activity-message b {
  cursor: pointer;
  color: #2684ff;
  transition: text-decoration 0.15s, color 0.15s;
  text-decoration: none;
}
.activity-message b:hover {
  text-decoration: underline;
  color: #1848a0;
}

.inline-comment {
  color: #444;
}
.activity-time {
  color: #aaa;
  font-size: 0.71em;
  margin-left: 10px;
  margin-right: 0;
  letter-spacing: 0.01em;
  font-weight: 400;
}
.object-thumb {
  width: 34px;
  height: 34px;
  margin-left: 16px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.85;
}
.object-thumb:hover {
  border: 2px solid #2684ff;
  opacity: 1;
}
.comment-likes2 img {
  border-radius: 50%;
  transition: box-shadow 0.15s, background 0.15s;
}
.comment-likes2 img:hover {
  background: #fde4e1;
  box-shadow: 0 0 0 2px #e74c3c50;
  opacity: 1 !important;
}
.comment-row-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 120px;
  margin: 0.25em 0 0.1em 0;
  padding-left: 2px;
  font-size: 0.96em;
}
.comment-row-actions a {
  color: #007bff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  transition: color 0.12s;
}
.comment-row-actions a:hover {
  color: #222;
  text-decoration: underline;
}
.reply-field-container { margin-top: 5px; }

.comment-likes2 {  
  display: inline !important;
  vertical-align: middle;  
}

.followers-tabs-header {
  display: flex;
  gap: 1.3em;
  padding: 0.5em 0 1em 0;
  font-size: 1.11em;
}
.followers-tab {
  cursor: pointer;
  font-weight: 600;
  color: #888;
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
  transition: color 0.12s, border-color 0.12s;
}
.followers-tab.active {
  color: #222;
  border-color: #2167ca;
}
.followers-list-content { margin-top: 0.5em; }
.followers-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0.45em 0;
  border-bottom: 1px solid #f3f3f3;
}
.followers-avatar {
  width: 34px;
  height: 34px;
  border-radius: 100%;
  object-fit: cover;
  margin-right: 4px;
  background: #eee;
  cursor: pointer;
}
.followers-handle {
  font-size: 14px;
  color: #2167ca;
  font-weight: 600;
  cursor: pointer;
}

.followers-actions {
  display: flex;
  gap: .5em;
  align-items: center;
}
.followers-actions button {
  display: inline-flex;
  align-items: center;
  gap: .33em;
  border: none;
  border-radius: 16px;
  padding: 3.5px 12px 3.5px 12px;
  font-size: 12px;
  line-height: 1.15;
  background: #f6f7fa;
  color: #333;
  cursor: pointer;
  transition: 
    background 0.18s cubic-bezier(.42,0,.58,1),
    box-shadow 0.17s,
    color 0.16s;
  box-shadow: 0 0.5px 2px 0 rgba(50,60,120,.06);
  font-weight: 500;
  min-width: 0;
  min-height: 28px;
  letter-spacing: 0.01em;
}
.followers-actions button:hover,
.followers-actions button:focus {
  background: #eceffc;
  box-shadow: 0 1.5px 5px 0 rgba(80,120,200,0.10);
  color: #111;
}
.followers-actions .unfollow-btn {
  background: #ffe5e5;
  color: #d32f2f;
}
.followers-actions .unfollow-btn:hover,
.followers-actions .unfollow-btn:focus {
  background: #ffd0d0;
  color: #b81c1c;
}
.followers-actions .follow-back-btn {
  background: #e6f0ff;
  color: #246eea;
}
.followers-actions .follow-back-btn:hover,
.followers-actions .follow-back-btn:focus {
  background: #d5eaff;
  color: #1451b6;
}
.followers-actions .block-btn {
  background: #f7f7f7;
  color: #666;
}
.followers-actions .block-btn:hover,
.followers-actions .block-btn:focus {
  background: #ededed;
  color: #333;
}
.followers-actions .unblock-btn {
  background: #e7ffe7;
  color: #29924b;
}
.followers-actions .unblock-btn:hover,
.followers-actions .unblock-btn:focus {
  background: #cfffce;
  color: #217c3b;
}

.followers-actions button:active {
  filter: brightness(.96);
}

.followers-actions button:disabled {
  opacity: 0.53;
  pointer-events: none;
}
.followers-actions .follow-btn {
  background: #f4f8ff;
  color: #246eea;
}
.followers-actions .follow-btn:hover,
.followers-actions .follow-btn:focus {
  background: #e2edfc;
  color: #1451b6;
}


.followers-tabs-header {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 1.2em;
  padding: 2px 0 9px 0;
  border-bottom: 1.5px solid #f2f3f6;
  margin-bottom: 7px;
  background: none;
}
.followers-tab {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: #999;
  background: none;
  border: none;
  padding: 6px 9px 3px 9px;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  transition: color .17s;
}
.followers-tab.active, .followers-tab:hover {
  color: #2352db;
  background: #f5f8ff;
}
.followers-tab.active::after {
  content: '';
  display: block;
  position: absolute;
  left: 17%;
  right: 17%;
  bottom: -7px;
  height: 2.5px;
  border-radius: 2px;
  background: #2352db;
}


.activity-tab {
  flex: 1;
  background: none;
  border: none;
  color: #232323;
  font-size: 1.06em;
  padding: 8px 0 6px 0;
  margin: 0 6px;
  cursor: pointer;
  border-radius: 6px 6px 0 0;
  transition: color 0.15s, box-shadow 0.15s;
  font-weight: 500;
  outline: none;
  position: relative;
  letter-spacing: .01em;
}

.activity-tab.active {
  color: #007bff;
  font-weight: 600;  
}

.activity-tab.active::after {
  content: '';
  display: block;
  margin: 2px auto 0 auto;
  height: 3px;
  width: 65px;
  background: linear-gradient(90deg, #007bff, rgb(122, 178, 241));
  border-radius: 3px;
}

.activity-tab:hover:not(.active) {
  color: #fff;
  background: #faf5f5;
  box-shadow: 0 1px 4px -3px #b51a1a22;
}
/* Result rows */
.result-row {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.result-row:last-child {
  border-bottom: none;
}
.result-title {
  font-weight: 600;
  color: #0a60b6;
  text-decoration: none;
}
.result-title:hover {
  text-decoration: underline;
}
.result-type {
  font-size: 12px;
  color: #888;
  margin-left: 8px;
}
.result-snippet {
  font-size: 13px;
  color: #555;
}

/* Show all on map button */
#showAllOnMapBtn {
  display: inline-block;  
  align-self: flex-end;
  background-color: #0693e3;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 3px 4px;
  font-weight: 500;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.18s;
}
#showAllOnMapBtn:hover {
  background: #128143;
}
/* Results container */
#searchResults {
  display: none;
  max-height: 550px;
  overflow-y: auto; 
  background-color: #fff;
  border-radius: 10px;
  padding: 4px;
  color: #252525;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
#searchResults .results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-card {
  border-bottom: 1px solid #e6e6e6;
  padding: 14px 0 10px 0;
  margin-bottom: 1px;
  font-size: 1em;
}
.result-mainrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 3px;
}
.result-link-btn {
  background: #204488;
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 7px 17px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 1.1em;
  letter-spacing: 0.03em;
}
.result-link-btn:hover {
  background: #285bc7;
}
.result-title-main {
  font-size: 1.1em;
  font-weight: bold;
  color: #1a2c44;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.result-block {
  color: #333;
  font-size: 0.97em;
  margin-bottom: 3px;
  line-height: 1.35;
  word-break: break-all;
}
.result-date {
  color: #888;
  font-size: 0.93em;
  margin-top: 2px;
}
.result-link {
  font-weight: bold;
  font-size: 1.1em;
  color: #204488;
  text-decoration: underline;
  margin-right: 14px;
  cursor: pointer;
}
.result-link:hover {
  color: #1456a0;
  text-decoration: underline;
}
/* wrapper to position icon relative to textarea */
.floatSearchWrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* give textarea room for the button */
.floatSearchWrapper #floatSearchInput {
  padding-right: 36px; /* adjust if your icon is bigger */
}

/* give space so text doesn't overlap the icon */
.floatSearchWrapper #floatSearchInput { padding-right: 40px; }

/* the icon “inside” the field, isolated from any generic button styles */
.face-scan-trigger {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  cursor: pointer;
  z-index: 2;
  user-select: none;
}

.face-scan-trigger svg { opacity: .6; transition: opacity .15s; }
.face-scan-trigger:hover svg,
.face-scan-trigger:focus svg { opacity: 1; }

.media-owner-link.disabled {
  pointer-events: none;
  cursor: default;
  opacity: .7; /* optional */
  text-decoration: none;
}
.search-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 6px 0 8px;
}
.search-summary { color: #222; }
.search-summary .search-limited { margin-left: 6px; opacity: .7; }
.search-view-on-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 600;
}
.search-view-on-map img { width: 16px; height: 16px; }
/* =========================
   GLOBAL BUY CREDITS MODAL (gc-*)
   ========================= */
.gc-modal {
  position: fixed;
  inset: 0;
  display: grid;                /* grid makes centering bulletproof */
  place-items: center;          /* vertical + horizontal center */
  padding: clamp(12px, 3vw, 24px);
  background: rgba(0,0,0,0.6);
  z-index: 10100;
  top: 60px; /* below top nav */
}
.gc-modal.hidden { display: none !important; }

/* Dialog card */
.gc-card {
  width: min(520px, 100%);
  max-width: 520px;
  max-height: 92vh;
  background: #fff;
  color: #0f172a;                 /* slate-900 */
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25), 0 2px 8px rgba(0,0,0,0.12);
  margin: 0 auto;               /* extra safety for older browsers */
  overflow: auto;
  display: flex;
  flex-direction: column;
  animation: gc-fadein .15s ease-out, gc-rise .22s ease-out;
}

.gc-label .gc-subnote {
  font-weight: normal;
  font-size: 12px;
  opacity: .75;
  margin-left: 6px;
}
@media (max-width: 420px){
  .gc-label .gc-subnote { display: block; margin: 4px 0 0 0; }
}

/* Header */
.gc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #eef0f3;
}
.gc-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.gc-close {
  appearance: none;
  background: transparent;
  border: 0;
  width: 32px; height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: #334155;                 /* slate-700 */
  cursor: pointer;
}
.gc-close:hover { background: #f1f5f9; } /* slate-100 */

/* Intro + body */
.gc-intro {
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #334155;                 /* slate-700 */
  background: #f8fafc;            /* slate-50 */
  border-bottom: 1px solid #eef0f3;
}
.gc-body { padding: 14px 16px 16px; }

/* Form grid */
.gc-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.gc-col { flex: 1 1 220px; min-width: 220px; }
.gc-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;                 /* slate-600 */
  margin-bottom: 6px;
}

/* Inputs */
.gc-input, .gc-select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;      /* slate-200 */
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: #111827;                 /* gray-900 */
  outline: none;
  background: #fff;
}
.gc-input:focus, .gc-select:focus {
  border-color: #2563eb;          /* blue-600 */
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

/* Actions */
.gc-actions { display: flex; justify-content: center; padding-top: 6px; }
.gc-btn {
  appearance: none;
  border: 0;
  background: #2563eb;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
}
.gc-btn:hover { background: #1d4ed8; }

/* Animations */
@keyframes gc-fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes gc-rise   { from { transform: translateY(8px); } to { transform: translateY(0); } }

/* Mobile */
@media (max-width: 420px) {
  .gc-card { border-radius: 12px; }
  .gc-col  { min-width: 100%; }
}

/* ---- Support RESIST drawer ---- */
.support-resist { font-size: 0.95rem; line-height: 1.4; }
.support-resist h3 { font-size: 1.0rem; margin: 0 0 6px 0; }

/* phone sizing */
@media (max-width: 480px) {
  .support-resist { font-size: 0.85rem; }
  .support-resist h3 { font-size: 0.90rem; }
}

/* inline icon in the h3 title */
.sr-title-ico {
  width: 20px; height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
}

/* center the primary CTA button */
.support-resist .amodal_btn { display: block; margin: 0 auto; }

/* payment icon grid */
.sr-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* kill inherited button chrome on the external app buttons */
.sr-external {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 6px;
  border-radius: 8px;       /* keep a soft hit target, no border */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* tiny tap feedback without the “grey button” feel */
.sr-external:active { transform: scale(0.98); }

/* label under each payment icon */
.sr-pay-label {
  font-size: 0.80rem;
  margin-top: 6px;
  opacity: 0.85;
}


/* Optional: prevent background scroll when modal open */
body.modal-open { overflow: hidden; }


/* Assist Navigation Modal (namespaced) */
.amodal[hidden] { display: none; }

.amodal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 9998;
}

.amodal__dialog {
  position: fixed;
  inset: auto auto 25% 50%;
  transform: translateX(-50%);
  width: min(680px, 92vw);
  background: #111;
  color: #eee;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
  z-index: 9999;
}

.amodal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #222;
}

.amodal__title {
  margin: 0;
  font-size: 1.1rem;
}

.amodal__close {
  background: transparent;
  border: 0;
  color: #bbb;
  font-size: 1.6rem;
  cursor: pointer;
}

.amodal__body {
  padding: 8px 20px 20px;
}

/* Content */
.amodal_assist-intro {
  margin: 6px 0 16px;
  color: #ccc;
  text-align: center;
}

.amodal_assist-section {
  border-radius: 12px;
  margin: 10px 0;
  overflow: hidden;
  background: #0f0f0f;
}

/* Collapsible toggles */
.amodal_assist-toggle {
  display: inline-flex;              /* NEW: look/behave like a button */
  align-items: center;
  justify-content: center;
  width: auto;                       /* not full width */
  text-align: center;                /* center text */
  padding: 10px 14px;                /* match .amodal_btn */
  border-radius: 10px;               /* match .amodal_btn */
  border: 1px solid #2453ff;         /* match primary border */
  background: #2453ff;               /* match primary background */
  color: #fff;                       /* match primary text */
  cursor: pointer;
  margin: 0 auto 10px;               /* center toggle & add space below */
}

.amodal_assist-toggle__subtitle {
  font-size: .95rem;
  color: #fff;                       /* ensure white on primary bg */
}

/* Panels */
.amodal_assist-panel {
  padding: 14px;
  border-top: 1px solid #222;
}

.amodal_assist-panel__copy {
  margin: 0 0 12px;
  color: #ddd;
  font-size: 13px;
  padding: 4px;
}

.amodal_assist-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;           /* NEW: center buttons */
}

/* Buttons (namespaced) */
.amodal_btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #1c1c1c;
  color: #eee;
  cursor: pointer;
}

.amodal_btn--primary {
  background: #2453ff;
  border-color: #2453ff;
  color: #fff;
}

/* Footer */
.amodal__footer {
  padding: 10px 16px;
  border-top: 1px solid #222;
}

.amodal_assist-admin-link {
  font-size: .9rem;
  color: #9aa9ff;
  text-decoration: underline;
  float: right;
}
/* Center the "Assist those in need" toggle exactly */
.amodal_assist-section .amodal_assist-toggle {
  display: block;              /* was inline-flex; block works better for auto margins */
  width: max-content;          /* shrink to fit text */
  margin: 0 auto 12px;         /* <-- centers it */
  text-align: center;          /* center the label inside */
}

/* Keep the primary look we set earlier */
.amodal_assist-section .amodal_assist-toggle {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #2453ff;
  background: #2453ff;
  color: #fff;
  cursor: pointer;
}

/* Ensure the subtitle text is white on the primary background */
.amodal_assist-toggle__subtitle { color: #fff; }

.gc-pack-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:10px 10px 6px;}
.gc-pack{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px;border:1px solid rgba(0,0,0,.12);border-radius:12px;background:#fff;cursor:pointer;}
.gc-pack-ico{width:26px;height:26px;opacity:.9}
.gc-pack-amt{font-weight:700;font-size:14px;}

.gc-pack{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px;border:1px solid rgba(0,0,0,.12);border-radius:12px;background:#fff;cursor:pointer;transition:transform .08s ease, box-shadow .08s ease, border-color .08s ease;}
.gc-pack:active{transform:translateY(1px);}

/* MUCH more obvious selected state */
.gc-pack.is-on{
  border-color:#000;
  box-shadow:0 0 0 3px rgba(0,0,0,.18);
  transform:translateY(-1px);
  background:rgba(0,0,0,.04);
}

/* check badge */
.gc-pack.is-on::after{
  content:"✓";
  position:absolute;
  top:8px;
  right:8px;
  width:20px;
  height:20px;
  border-radius:999px;
  background:#000;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  line-height:1;
}
.gc-pack.is-on .gc-pack-amt{font-weight:900;}


/* ===========================
   Support RESIST v2 (mobile-first)
   =========================== */
.support-resist.sr-v2 { font-size: .9rem; line-height: 1.35; color: #1f2937; }
.support-resist.sr-v2 .sr-section { padding: 10px 2px; border-top: 1px solid rgba(0,0,0,.06); }
.support-resist.sr-v2 .sr-section:first-of-type { border-top: 0; }
.support-resist.sr-v2 .sr-h { margin: 0; font-size: .95rem; font-weight: 700; color: #0f172a; }
.support-resist.sr-v2 .sr-p { margin: 0 0 8px 0; }
.support-resist.sr-v2 .sr-muted { opacity: .85; }
.support-resist.sr-v2 .sr-tight { margin-bottom: 6px; }
.support-resist.sr-v2 .sr-note { font-size: .85em; opacity: .8; }

/* title icon inline */
.support-resist.sr-v2 .sr-title-ico {
  width: 18px; height: 18px; margin-left: 6px; vertical-align: middle;
}

/* flexible row for heading + chip */
.support-resist.sr-v2 .sr-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* focal CTA button */
.support-resist.sr-v2 .sr-cta-btn {
  display: block; width: 100%;
  margin: 8px 0 0 0;
  background: #2563eb; border-color: #2563eb; color: #fff;
  border-radius: 12px; padding: 12px 16px; font-weight: 800; font-size: 15px;
  box-shadow: 0 8px 20px rgba(37,99,235,.22);
}
.support-resist.sr-v2 .sr-cta-btn:hover { background: #1d4ed8; }

/* small "Learn more" chip */
.support-resist.sr-v2 .sr-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px;
  background: #f1f5f9; color: #0f172a; text-decoration: none; font-size: .8rem; font-weight: 600;
  border: 1px solid #e2e8f0;
}
.support-resist.sr-v2 .sr-chip:hover { background: #e8eef6; }
.support-resist.sr-v2 .sr-chip-dot {
  width: 16px; height: 16px; border-radius: 999px; background: #2563eb; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
}

/* alt methods (secondary panel) */
.support-resist.sr-v2 .sr-alt { background: #f8fafc; border-radius: 10px; padding: 10px; }
.support-resist.sr-v2 .sr-alt .sr-h { color: #334155; font-weight: 700; }
.support-resist.sr-v2 .sr-pay-row {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: 8px;
}
.support-resist.sr-v2 .sr-external {
  background: transparent; border: 0; padding: 6px; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer;
  transition: background .15s ease;
}
.support-resist.sr-v2 .sr-external:hover { background: rgba(15,23,42,.04); }
.support-resist.sr-v2 .sr-external img { width: 54px; height: 54px; display: block; }
.support-resist.sr-v2 .sr-external span { font-size: .75rem; margin-top: 4px; opacity: .85; }

/* volunteer link as subtle button */
.support-resist.sr-v2 .sr-link-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 10px 14px; border-radius: 10px;
  text-decoration: none; font-weight: 700; font-size: 14px;
  color: #0f172a; background: #f1f5f9; border: 1px solid #e2e8f0;
}
.support-resist.sr-v2 .sr-link-btn:hover { background: #e8eef6; }

/* mobile downscale to fit single view */
@media (max-width: 480px) {
  .support-resist.sr-v2 { font-size: .86rem; }
  .support-resist.sr-v2 .sr-h { font-size: .92rem; }
  .support-resist.sr-v2 .sr-external img { width: 48px; height: 48px; }
  .support-resist.sr-v2 .sr-external span { font-size: .7rem; }
  .support-resist.sr-v2 .sr-section { padding: 8px 2px; }
}
/* Shared action sizing: same width, centered, never overflow */
.support-resist.sr-v2 .sr-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(220px, 80%, 320px);   /* not full-width, scales on mobile */
  max-width: 92%;
  margin: 8px auto 0 auto;           /* center */
  box-sizing: border-box;
  white-space: nowrap;                /* avoid wrapping text to a new line */
  text-align: center;
}

/* Make the donate CTA focal but same footprint as volunteer */
.support-resist.sr-v2 .sr-cta-btn {
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 15px;
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37,99,235,.22);
}
.support-resist.sr-v2 .sr-cta-btn:hover { background: #1d4ed8; }

/* Volunteer link: same size/look class, lighter styling */
.support-resist.sr-v2 .sr-link-btn {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
}

/* Safety: prevent any accidental horizontal overflow in the drawer */
#drawerContent {
  overflow-x: hidden;
}
/* Center the two CTAs horizontally */
.support-resist.sr-v2 .sr-cta,
.support-resist.sr-v2 .sr-vol {
  display: flex;
  flex-direction: column;
  align-items: center;   /* <-- centers children (buttons/links) */
  margin-bottom: 18px;
}

/* keep the shared action sizing as before */
.support-resist.sr-v2 .sr-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(220px, 80%, 320px);
  max-width: 92%;
  margin: 8px auto 0 auto;
  box-sizing: border-box;
  white-space: nowrap;
  text-align: center;
}
/* Overlay */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 10150;
  display: none;
}
.legal-modal:not(.hidden) { display: block; }

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

/* Modal card */
.legal-modal-content {
  position: absolute;
  left: 50%;
  top: calc(var(--legal-vv-top, 0px) + 38px);
  transform: translateX(-50%);

  width: min(880px, 94vw);
  height: calc(var(--legal-vv-height, 100dvh) - 24px);
  max-height: none;
  min-height: 0;

  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 40px rgba(0,0,0,.2), 0 2px 10px rgba(0,0,0,.08);

  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

/* Close button is part of the chrome (never scrolls) */
.legal-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.08);
  color: #111;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
}
.legal-modal-close:hover { background: rgba(0,0,0,.12); }

/* Optional header (kept small + sticky) */
.legal-modal-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  padding: 0px 16px 8px;
  border-bottom: 1px solid #eef0f3;
}
.legal-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

/* Only the body scrolls */
.legal-modal-body {
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;  /* prevents background scroll bleed */
  padding: 16px;
}

html.platform-ios .legal-modal-close {
  top: 40px;
}

html.platform-ios .legal-modal-header {
  padding-top: 32px;
}

/* Optional: keep injected long pages from widening */
.legal-modal-body .wrap { max-width: 860px; margin: 0 auto; }

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

.fakeblue-dm-link {
  color: #2563eb;
  text-decoration: underline;
}
.fakeblue-dm-link:hover { color: #1d4ed8; }

/* Legal modal title layout when we inject the credit icon */
.legal-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* You likely already have this; included for clarity */
.sr-title-ico {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}
