/* Oregon REALTORS® subcatalog v5 — Oregon catalog Branding only. */
:root {
  --oar-navy: #1B3A4B;
  --oar-green: #2F6B4F;
  --oar-gold: #C4A35A;
  --oar-ink: #1F2A30;
  --oar-muted: #5B6B73;
  --oar-paper: #F4F7F5;
  --oar-card: #ffffff;
}
html,
body,
.catalog-application,
#main,
.main,
.listings-region,
.content,
.page-content {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--oar-ink);
}
/* Root RECP CSS paints this strip purple — override it here */
#feature,
#feature.feature-region,
.feature-region {
  background: var(--oar-navy) !important;
  background-image: none !important;
  background-color: var(--oar-navy) !important;
  border: 0 !important;
  border-bottom: 0 !important;
  min-height: 6px !important;
  height: 6px !important;
  max-height: 6px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
}
a { color: var(--oar-navy); }
/* One header row */
header,
.header,
.header-container,
.header-inner,
.catalog-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 16px;
  border-bottom: 6px solid var(--oar-navy) !important;
  box-shadow: none !important;
  outline: none !important;
}
.header-branding {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 18px;
  min-width: 0;
}
/* HERE: Indiana logo size — change width (height stays auto) */
.header-branding .logo-customized img,
.logo-customized img {
  width: 90px;
  height: auto;
}
.header-branding .logo-customized,
.header-branding .logo-customized img {
  display: block;
  flex-shrink: 0;
}
.header-branding .logo-customized a {
  pointer-events: none;
  cursor: default;
}
#header-menu-container,
.header-menu {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  flex-shrink: 0;
}
/* Kill extra theme accent strips (the leftover purple line) */
header::before,
header::after,
.header::before,
.header::after,
.header-container::before,
.header-container::after,
.header-accent,
.header-rule,
.theme-accent,
.catalog-accent {
  display: none !important;
  background: transparent !important;
  height: 0 !important;
  border: 0 !important;
}
.oar-killed-accent {
  display: none !important;
  height: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
#recp-banner { display: none !important; }
#oar-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  /* HERE: push the Oregon title farther from the logo — raise this number */
  margin-left: 160px;
  padding-left: 8px;
}
#oar-banner .oar-title {
  font-family: Tahoma, Arial, sans-serif;
  /* HERE: Oregon title size */
  font-size: 36px;
  line-height: 1.15;
  color: var(--oar-navy);
  font-weight: 700;
  white-space: nowrap;
}
#oar-banner .oar-tag {
  margin-top: 4px;
  font-size: 15px;
  color: var(--oar-muted);
  font-weight: 600;
}
/* Name + cart: no green */
#header-menu-container a,
#header-menu-container button,
.header-menu a,
.header-menu button,
header [class*="cart"] button,
header [class*="cart"] a,
header [aria-label*="cart" i] {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--oar-navy) !important;
  border-color: #d5dce0 !important;
  box-shadow: none !important;
}
#header-menu-container a.oar-dashboard {
  color: var(--oar-navy) !important;
  text-decoration: underline;
}

/* ===== Search + Refine (presentation cleanup) ===== */
.search-form-container,
.search-form,
#search-form {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px !important;
  background: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

#search-form .search-box-wrapper,
.search-box-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  gap: 8px;
  height: 34px;
  width: auto;
  border: 0;
  background: transparent;
  overflow: visible;
}

.search-box-wrapper input,
#search-form input[type="search"],
#search-form input[type="text"],
.search-form input {
  /* HERE: search field width and height — empty box, no icon */
  order: 1;
  height: 34px !important;
  min-height: 34px !important;
  width: 280px !important;
  border: 1px solid #c5d0d6 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  padding: 0 10px !important;
  font-size: 14px !important;
  background: #ffffff !important;
  color: var(--oar-ink) !important;
  box-sizing: border-box !important;
}

#search-submit,
.search-box-wrapper button,
.search-box-wrapper [type="submit"] {
  /* HERE: Search button — right side, old Refine spot */
  order: 2;
  position: static !important;
  height: 34px !important;
  width: auto !important;
  min-width: 78px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  box-sizing: border-box;
  background: var(--oar-navy) !important;
  border: 1px solid var(--oar-navy) !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

#search-submit svg,
.search-box-wrapper button svg {
  display: none !important;
}
#search-submit::after,
.search-box-wrapper button::after {
  content: "Search";
  color: #ffffff;
}

.search-form input[type="submit"] {
  background-color: var(--oar-navy) !important;
  border-color: var(--oar-navy) !important;
  color: #ffffff !important;
}

/* HERE: Refine stays out of the flex row so Search does not jump when Catalog adds it late */
#search-refine-button--refine,
button[id*="refine"],
.search-form__actions,
.search-form__actions button {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  flex: 0 0 0 !important;
  pointer-events: none !important;
}

.recp-category-btn,
#recpHelpfulTipsLink,
#recpinsert {
  display: none !important;
}
/* Hide chat / Botpress / Catalog widget */
#bp-web-widget,
#bp-widget-web,
iframe[src*="botpress"],
iframe[src*="bpcontent"],
.bpFab,
.bpFabButton,
[class*="bpFab"],
[id*="botpress"],
[class*="botpress"],
iframe[title*="chat" i],
.woot-widget-bubble,
[class*="webchat"],
button[aria-label*="chat" i] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.hero-head, h1, h2, h3 { color: var(--oar-navy); }
.oar-home-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 40px auto 30px;
  justify-content: center;
  max-width: 1100px;
  padding: 0 16px;
}
.oar-card {
  flex: 1;
  min-width: 320px;
  background: var(--oar-card);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(27, 58, 75, 0.08);
  padding: 30px;
  border: 1px solid #e4ebe6;
}
.oar-card h2 {
  margin: 0 0 16px;
  color: var(--oar-navy);
  font-size: 2em;
}
.oar-card .oar-placeholder {
  color: var(--oar-muted);
  font-style: italic;
  line-height: 1.5;
  font-size: 1.3em;
}
.oar-footer {
  margin: 24px 16px 48px;
  padding: 24px 16px;
  background: #fff;
  border-top: 4px solid var(--oar-gold);
}
.oar-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.oar-footer-col { flex: 1; min-width: 180px; }
.oar-footer-col h4 { margin: 0 0 8px; color: var(--oar-navy); }
.oar-footer-col .oar-placeholder { color: var(--oar-muted); font-style: italic; }
@media (max-width: 800px) {
  header, .header, .header-container {
    flex-wrap: wrap !important;
  }
  #oar-banner .oar-title {
    font-size: 24px;
    white-space: normal;
  }
}
