/* Rich Ideas: additions layered over the Bizberg theme + Elementor styles.
   Prefix everything with .ri- so it never collides with theme rules. */
:root {
  --ri-blue: #1f7ae0;
  --ri-blue-dark: #0d4f9c;
  --ri-ink: #1f2933;
  --ri-muted: #5c6b7a;
  --ri-line: #dfe6ee;
  --ri-bg: #f5f8fb;
}

/* ---- Hero ---- */
.napae-banner .banner-caption p { max-width: 640px; margin-left: auto; margin-right: auto; }
.ri-hero-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ri-hero-actions .btn { font-weight: 600; letter-spacing: .02em; }
.ri-btn-ghost { background: transparent !important; color: #fff !important; border: 2px solid rgba(255,255,255,.85) !important; }
.ri-btn-ghost:hover, .ri-btn-ghost:focus { background: rgba(255,255,255,.15) !important; }
.ri-about .ri-btn-ghost, .ri-cta .ri-btn-ghost { color: var(--ri-blue) !important; border-color: var(--ri-blue) !important; }
.ri-about .ri-btn-ghost:hover { background: rgba(31,122,224,.08) !important; }

/* ---- "Why Rich Ideas" strip on the home page ---- */
.ri-why { background: var(--ri-bg); padding: 56px 0; }
.ri-why .elementor-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.ri-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; width: 100%; }
.ri-why__item { background: #fff; border: 1px solid var(--ri-line); border-radius: 8px; padding: 28px 26px; }
.ri-why__item i { font-size: 28px; color: var(--ri-blue); margin-bottom: 14px; display: block; }
.ri-why__item h3 { font-size: 19px; margin: 0 0 10px; color: var(--ri-ink); }
.ri-why__item p { margin: 0; color: var(--ri-muted); line-height: 1.65; font-size: 15px; }
@media (max-width: 900px) { .ri-why__grid { grid-template-columns: 1fr; } }

/* ---- Forms ---- */
.ri-form-wrap { max-width: 860px; margin: 0 auto; padding: 8px 0 24px; }
.ri-form-wrap--tight { max-width: none; padding-top: 0; }
.ri-form-title { font-size: 32px; line-height: 1.2; margin: 0 0 14px; color: var(--ri-ink); }
h3.ri-form-title { font-size: 24px; }
.ri-lead { font-size: 17px; line-height: 1.7; color: var(--ri-ink); margin-bottom: 22px; }
.ri-help { font-size: 14px; color: var(--ri-muted); margin: -6px 0 16px; }
.ri-form { background: #fff; border: 1px solid var(--ri-line); border-radius: 10px; padding: 28px 28px 22px; box-shadow: 0 2px 12px rgba(16, 42, 67, .05); }
.ri-form .ri-section { font-size: 18px; margin: 22px 0 12px; padding-top: 18px; border-top: 1px solid var(--ri-line); color: var(--ri-ink); }
.ri-form .ri-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.ri-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .ri-row { grid-template-columns: 1fr; } }
.ri-field { margin-bottom: 18px; min-width: 0; }
.ri-field label, .ri-field legend { display: block; font-weight: 600; font-size: 14px; color: var(--ri-ink); margin-bottom: 6px; }
.ri-field input[type="text"], .ri-field input[type="email"], .ri-field input[type="tel"],
.ri-field select, .ri-field textarea {
  width: 100%; box-sizing: border-box; border: 1px solid #c9d3de; border-radius: 6px; padding: 11px 12px;
  font: inherit; font-size: 15px; color: var(--ri-ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.ri-field textarea { resize: vertical; min-height: 96px; }
.ri-field input:focus, .ri-field select:focus, .ri-field textarea:focus { outline: none; border-color: var(--ri-blue); box-shadow: 0 0 0 3px rgba(31,122,224,.18); }
.ri-field.ri-invalid input, .ri-field.ri-invalid select, .ri-field.ri-invalid textarea, .ri-rating.ri-invalid { border-color: #c0392b; }
.ri-field.ri-invalid label, .ri-rating.ri-invalid legend { color: #c0392b; }
.ri-req { color: #c0392b; }
.ri-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.ri-check input { margin: 4px 0 0; width: 18px; height: 18px; }
.ri-check label { font-weight: 400; margin: 0; line-height: 1.55; }
.ri-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.ri-checks label, .ri-rating__opts label { font-weight: 400; display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; }
@media (max-width: 640px) { .ri-checks { grid-template-columns: 1fr; } }
fieldset.ri-field, fieldset.ri-rating { border: 0; padding: 0; margin: 0 0 18px; }
.ri-rating__opts { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ri-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ri-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.ri-submit { font-weight: 600; padding: 12px 26px !important; }
.ri-note { color: var(--ri-muted); font-size: 14px; }
.ri-msg { margin-top: 16px; padding: 14px 16px; border-radius: 6px; font-size: 15px; line-height: 1.55; }
.ri-msg--ok { background: #e8f6ee; color: #1e5e3a; border: 1px solid #b9e2c9; }
.ri-msg--mail { background: #eaf2fd; color: #16427a; border: 1px solid #bcd4f5; }
.ri-msg--err { background: #fdecea; color: #7a1f16; border: 1px solid #f3c1bb; }
.ri-privacy { font-size: 13px; color: var(--ri-muted); line-height: 1.6; margin-top: 18px; }
.ri-aside { margin-top: 30px; background: var(--ri-bg); border-left: 4px solid var(--ri-blue); padding: 20px 22px; border-radius: 6px; }
.ri-aside h3 { margin: 0 0 8px; font-size: 19px; }
.ri-aside p { margin: 0; line-height: 1.65; }
.ri-scheduler { margin-bottom: 20px; }
.elementor-widget-html .ri-form-wrap { text-align: left; }

/* ---- Fee table ---- */
.ri-fees { margin: 34px 0 10px; }
.ri-fees h3 { margin-bottom: 10px; }
.ri-fees__table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--ri-line); border-radius: 8px; }
.ri-fees__table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.ri-fees__table th, .ri-fees__table td { padding: 12px 14px; border-bottom: 1px solid var(--ri-line); text-align: left; vertical-align: top; }
.ri-fees__table thead th { background: var(--ri-bg); font-weight: 600; color: var(--ri-ink); }
.ri-fees__table tbody th { font-weight: 700; color: var(--ri-blue-dark); white-space: nowrap; }
.ri-fees__price { white-space: nowrap; }
.ri-fees__table tbody tr:last-child td, .ri-fees__table tbody tr:last-child th { border-bottom: 0; }

/* ---- About page ---- */
.ri-about .entry-content { max-width: 960px; margin: 0 auto; }
.ri-about h2 { font-size: 26px; margin: 40px 0 14px; color: var(--ri-ink); }
.ri-about p { line-height: 1.75; }
.ri-team { display: grid; gap: 26px; margin-top: 10px; }
.ri-team__member { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start; background: #fff; border: 1px solid var(--ri-line); border-radius: 10px; padding: 22px; }
.ri-team__member img { width: 100%; height: auto; border-radius: 8px; object-fit: cover; aspect-ratio: 3 / 4; }
.ri-team__body h3 { margin: 0 0 4px; font-size: 22px; }
.ri-team__role { color: var(--ri-blue-dark); font-weight: 600; margin: 0 0 12px; }
.ri-team__contact { font-size: 14.5px; color: var(--ri-muted); margin-bottom: 0; }
@media (max-width: 640px) { .ri-team__member { grid-template-columns: 1fr; } .ri-team__member img { max-width: 220px; } }
.ri-steps { counter-reset: step; list-style: none; padding: 0; margin: 12px 0 20px; display: grid; gap: 12px; }
.ri-steps li { list-style: none; counter-increment: step; position: relative; padding: 14px 16px 14px 62px; background: var(--ri-bg); border-radius: 8px; line-height: 1.65; }
.ri-steps li::before { content: counter(step); position: absolute; left: 16px; top: 13px; width: 32px; height: 32px; border-radius: 50%; background: var(--ri-blue); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ri-cta { margin-top: 40px; background: var(--ri-blue-dark); color: #fff; border-radius: 10px; padding: 32px 28px; text-align: center; }
.ri-cta h2 { color: #fff; margin: 0 0 8px; }
.ri-cta p { color: rgba(255,255,255,.9); margin-bottom: 18px; }
.ri-cta .btn { margin: 4px 6px; }
.ri-cta .ri-btn-ghost { color: #fff !important; border-color: #fff !important; }

/* ---- Insights page ---- */
.ri-insights { max-width: 860px; margin: 0 auto; text-align: left; }
.ri-insights h1 { font-size: 34px; margin-bottom: 10px; }
.ri-insights h2 { font-size: 24px; margin: 36px 0 14px; }
.ri-list { list-style: none; padding: 0; margin: 0; }
.ri-list li { padding: 14px 0; border-bottom: 1px solid var(--ri-line); }
.ri-list li a { font-weight: 600; font-size: 17px; }
.ri-list .ri-date { display: block; font-size: 13px; color: var(--ri-muted); margin-top: 2px; }
.ri-list li p { margin: 6px 0 0; color: var(--ri-muted); line-height: 1.6; font-size: 15px; }
.ri-list--posts li { padding: 9px 0; }
.ri-list--posts li a { font-size: 15.5px; font-weight: 500; }
.ri-list--posts .ri-date { display: inline; margin-left: 8px; }

/* ---- Newsletter band above the footer ---- */
.ri-newsletter { background: var(--ri-bg); border-top: 1px solid var(--ri-line); padding: 44px 0; }
.ri-newsletter__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.ri-newsletter__text { max-width: 560px; }
.ri-newsletter__text h2 { margin: 0 0 6px; font-size: 24px; color: var(--ri-ink); }
.ri-newsletter__text p { margin: 0; color: var(--ri-muted); line-height: 1.6; }
.ri-newsletter__form { display: flex; gap: 10px; flex: 1 1 360px; max-width: 480px; }
.ri-newsletter__form--inline { max-width: 520px; margin: 18px 0 8px; }
.ri-newsletter__form input { flex: 1; min-width: 0; border: 1px solid #c9d3de; border-radius: 6px; padding: 12px 14px; font: inherit; font-size: 15px; }
.ri-newsletter__form input:focus { outline: none; border-color: var(--ri-blue); box-shadow: 0 0 0 3px rgba(31,122,224,.18); }
.ri-newsletter__form .btn { white-space: nowrap; font-weight: 600; }
@media (max-width: 640px) { .ri-newsletter__form { flex-direction: column; } }

/* ---- Small theme fixes ---- */
#top-bar .infobox_header_wrapper a { color: inherit; }
.footer-style .copyright .bizberg_copyright_inner { display: block; margin-top: 8px; }
.footer-style .copyright a { color: inherit; text-decoration: underline; }
.elementor-widget-video video { background: #000; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ---- Navigation: keep items on one line so the header stays one row ---- */
#responsive-menu > li > a { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199px) { #responsive-menu > li > a { padding-left: 10px; padding-right: 10px; letter-spacing: .04em; font-size: 13px; } }
@media (min-width: 992px) { .home .napae-banner .banner-caption { padding-top: 130px; } }
.ri-btn-outline { background: transparent !important; color: var(--ri-blue) !important; border: 2px solid var(--ri-blue) !important; font-weight: 600; }
.ri-btn-outline:hover { background: rgba(31,122,224,.08) !important; }
.ri-team__member img { aspect-ratio: 1 / 1; object-fit: cover; object-position: top; border-radius: 8px; }

/* ---- Hero typography: match the rest of the site instead of Times New Roman ---- */
.elementor-11 .elementor-element.elementor-element-9500aae .banner-caption h1.banner-title { font-family: "Poppins", "Open Sans", sans-serif; font-weight: 600; font-size: 40px; line-height: 1.2; letter-spacing: -.01em; }
.elementor-11 .elementor-element.elementor-element-9500aae .banner-caption p { font-family: "Open Sans", "Poppins", sans-serif !important; font-size: 18px; line-height: 1.6; }
.elementor-11 .elementor-element.elementor-element-9500aae .banner-caption .ri-hero-actions .btn { font-family: "Poppins", "Open Sans", sans-serif !important; font-size: 15px; }
.elementor-11 .elementor-element.elementor-element-9500aae .banner-caption { max-width: 620px; }
@media (max-width: 767px) { .elementor-11 .elementor-element.elementor-element-9500aae .banner-caption h1.banner-title { font-size: 30px; } }

/* ---- Sticky menu on inner pages: same dark bar as the home page (white logo + links were invisible on white) ---- */
body:not(.bizberg_transparent_header) header#masthead .navbar-default.sticky { background: rgba(10,10,10,.48) !important; background-image: none !important; -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
body:not(.bizberg_transparent_header) header#masthead .navbar-default.sticky .navbar-nav>li>a:not(.menu_custom_btn),
body:not(.bizberg_transparent_header) header#masthead .navbar-default.sticky .header-search i { color: #fff !important; }
body:not(.bizberg_transparent_header) header#masthead .navbar-default.sticky .navbar-nav>li>a:not(.menu_custom_btn):hover,
body:not(.bizberg_transparent_header) header#masthead .sticky .navbar-nav>li:not(.search_wrapper):not(.header_btn_wrapper):hover { background: rgba(10,10,10,.1) !important; border-color: transparent; }
body:not(.bizberg_transparent_header) header#masthead .sticky .navbar-nav li ul { border-top-color: rgba(10,10,10,.1) !important; }

.ri-fees__choose { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 4px; font-weight: 600; color: var(--ri-ink); }
.ri-toggle { display: inline-flex; border: 1px solid var(--ri-blue); border-radius: 999px; overflow: hidden; }
.ri-toggle button { border: 0; background: #fff; color: var(--ri-blue); padding: 6px 18px; font: inherit; font-weight: 600; cursor: pointer; }
.ri-toggle button.is-active { background: var(--ri-blue); color: #fff; }
.ri-fees__table[data-price-mode="couple"] [data-price="single"],
.ri-fees__table[data-price-mode="single"] [data-price="couple"] { display: none; }
.ri-fees__caption { font-style: italic; margin: 0 0 16px; font-size: 14px; color: var(--ri-muted); }
