:root {
    --rbb-navy: #061b33;
    --rbb-navy-2: #0a2848;
    --rbb-orange: #f36a2a;
    --rbb-orange-dark: #d94f13;
    --rbb-text: #142235;
    --rbb-muted: #667386;
    --rbb-bg: #f5f7fa;
    --rbb-white: #ffffff;
    --rbb-radius: 16px;
    --rbb-shadow: 0 18px 45px rgba(7, 27, 51, 0.12);
    --rbb-shadow-soft: 0 10px 30px rgba(7, 27, 51, 0.08);
    --rbb-container: 1180px;
}

html { scroll-behavior: smooth; }
body.rb-blog-design1 { margin: 0; background: #fff; color: var(--rbb-text); font-family: Inter, Arial, Helvetica, sans-serif; overflow-x: hidden; }
body.rb-blog-design1.admin-bar .rbb-header { top: 32px; }
.rbb-page * { box-sizing: border-box; }
.rbb-page a { text-decoration: none; }
.rbb-page img { max-width: 100%; display: block; }
.rbb-container { width: min(var(--rbb-container), calc(100% - 40px)); margin: 0 auto; }
.rbb-debug-banner { position: fixed; z-index: 999999; left: 12px; bottom: 12px; background: #111827; color: #fff; padding: 10px 14px; border-radius: 10px; font-size: 13px; box-shadow: 0 12px 28px rgba(0,0,0,.2); }

.rbb-topbar { background: var(--rbb-navy); color: rgba(255,255,255,.88); font-size: 13px; }
.rbb-topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rbb-topbar-right { display: flex; align-items: center; gap: 24px; }
.rbb-topbar a { color: #fff; font-weight: 700; }

.rbb-header { position: sticky; top: 0; z-index: 9999; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(7, 27, 51, .08); transition: box-shadow .25s ease, transform .25s ease; }
.rbb-header.is-scrolled { box-shadow: 0 12px 30px rgba(7, 27, 51, .14); }
.rbb-header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.rbb-logo { display: flex; align-items: center; gap: 10px; color: var(--rbb-navy); min-width: 215px; }
.rbb-logo-mark { color: var(--rbb-orange); width: 54px; height: 42px; display: inline-flex; align-items: center; justify-content: center; }
.rbb-logo-mark svg { width: 54px; height: 42px; }
.rbb-logo-text strong { display: block; font-size: 20px; letter-spacing: .02em; line-height: 1; color: #101d31; }
.rbb-logo-text small { display: block; margin-top: 4px; color: #64748b; font-size: 12px; text-transform: lowercase; }
.rbb-nav { display: flex; align-items: center; justify-content: center; gap: 28px; flex: 1; }
.rbb-nav a { position: relative; color: var(--rbb-navy); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; transition: color .2s ease; }
.rbb-nav a:hover,
.rbb-nav a.is-active { color: var(--rbb-orange); }
.rbb-nav a.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 3px; border-radius: 5px; background: var(--rbb-orange); }
.rbb-mobile-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--rbb-navy); padding: 11px; cursor: pointer; }
.rbb-mobile-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 3px; transition: transform .2s ease, opacity .2s ease; }
.rbb-mobile-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rbb-mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.rbb-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.rbb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 24px; border-radius: 7px; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.rbb-btn:hover { transform: translateY(-2px); }
.rbb-btn-primary { background: linear-gradient(135deg, #ff7a34, var(--rbb-orange-dark)); color: #fff; box-shadow: 0 12px 26px rgba(243, 106, 42, .32); }
.rbb-btn-primary:hover { color: #fff; box-shadow: 0 16px 35px rgba(243, 106, 42, .42); }
.rbb-btn-outline { color: #fff; border: 1px solid rgba(255,255,255,.65); background: rgba(255,255,255,.08); }
.rbb-btn-outline:hover { background: rgba(255,255,255,.16); color: #fff; }
.rbb-phone { color: #fff; font-size: 28px; font-weight: 900; white-space: nowrap; }
.rbb-phone:hover { color: #fff; }

.rbb-hero { position: relative; min-height: 520px; display: flex; align-items: center; background-image: var(--rbb-hero-image); background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.rbb-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(to top, rgba(0,0,0,.28), transparent); pointer-events: none; }
.rbb-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,16,34,.96) 0%, rgba(3,16,34,.82) 42%, rgba(3,16,34,.42) 74%, rgba(3,16,34,.14) 100%); }
.rbb-hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 330px; gap: 42px; align-items: center; }
.rbb-hero-copy { max-width: 730px; padding: 78px 0 96px; }
.rbb-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.86); }
.rbb-orange { color: var(--rbb-orange); }
.rbb-hero h1 { margin: 0; font-size: clamp(44px, 6vw, 72px); line-height: .98; letter-spacing: -.04em; color: #fff; font-weight: 900; }
.rbb-hero-lead { max-width: 650px; margin: 22px 0 0; font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.92); }
.rbb-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.rbb-hero-card { background: linear-gradient(160deg, rgba(6,27,51,.98), rgba(10,40,72,.96)); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 36px 28px; text-align: center; box-shadow: 0 24px 55px rgba(0,0,0,.30); }
.rbb-hero-card span { color: var(--rbb-orange); font-size: 50px; display: block; margin-bottom: 18px; }
.rbb-hero-card h2 { margin: 0 0 12px; color: #fff; font-size: 25px; line-height: 1.15; text-transform: uppercase; }
.rbb-hero-card p { margin: 0 0 22px; color: rgba(255,255,255,.78); line-height: 1.55; }
.rbb-hero-card a { color: #fff; font-size: 25px; font-weight: 900; }

.rbb-trust-strip { background: var(--rbb-navy); color: #fff; padding: 30px 0; }
.rbb-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.rbb-trust-grid article { display: flex; align-items: flex-start; gap: 14px; }
.rbb-trust-grid span { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(243,106,42,.55); color: var(--rbb-orange); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 46px; font-size: 22px; }
.rbb-trust-grid h3 { margin: 2px 0 6px; font-size: 15px; color: #fff; text-transform: uppercase; }
.rbb-trust-grid p { margin: 0; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.74); }

.rbb-section { padding: 86px 0; }
.rbb-section-heading { text-align: center; max-width: 850px; margin: 0 auto 44px; }
.rbb-section-heading h2 { margin: 0; font-size: clamp(31px, 4vw, 46px); line-height: 1.09; letter-spacing: -.03em; color: var(--rbb-navy); font-weight: 900; }
.rbb-section-heading .rbb-eyebrow { color: var(--rbb-orange); margin-bottom: 8px; }
.rbb-section-heading p { color: var(--rbb-muted); line-height: 1.7; margin: 14px auto 0; }
.rbb-left-heading { text-align: left; max-width: 680px; margin-left: 0; }

.rbb-featured-section { background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%); }
.rbb-featured-post { display: grid; grid-template-columns: .95fr 1.05fr; gap: 0; background: #fff; border: 1px solid #e8edf4; border-radius: 18px; box-shadow: var(--rbb-shadow); overflow: hidden; }
.rbb-featured-image img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.rbb-featured-content { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.rbb-featured-content h2 { margin: 10px 0 18px; color: var(--rbb-navy); font-size: clamp(28px, 4vw, 42px); line-height: 1.12; letter-spacing: -.03em; }
.rbb-featured-content h2 a { color: inherit; }
.rbb-featured-content h2 a:hover { color: var(--rbb-orange); }
.rbb-featured-content p:not(.rbb-post-meta) { margin: 0 0 24px; color: var(--rbb-muted); line-height: 1.75; font-size: 16px; }

.rbb-posts-section { background: #fff; }
.rbb-blog-layout { display: grid; grid-template-columns: 1fr 330px; gap: 42px; align-items: start; }
.rbb-post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.rbb-post-card { background: #fff; border: 1px solid #e8edf4; border-radius: 16px; box-shadow: var(--rbb-shadow-soft); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.rbb-post-card:hover { transform: translateY(-7px); box-shadow: 0 22px 50px rgba(7,27,51,.15); }
.rbb-card-image img { width: 100%; height: 230px; object-fit: cover; }
.rbb-card-body { padding: 24px 24px 26px; }
.rbb-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 12px; color: var(--rbb-orange); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
.rbb-post-meta span { position: relative; }
.rbb-post-meta span + span::before { content: ''; position: absolute; left: -8px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--rbb-orange); transform: translateY(-50%); }
.rbb-post-card h3 { margin: 0 0 14px; color: var(--rbb-navy); font-size: 23px; line-height: 1.18; }
.rbb-post-card h3 a { color: inherit; }
.rbb-post-card h3 a:hover { color: var(--rbb-orange); }
.rbb-post-card p:not(.rbb-post-meta) { margin: 0 0 20px; color: var(--rbb-muted); line-height: 1.68; }
.rbb-read-more { color: var(--rbb-orange); font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: .03em; }
.rbb-read-more:hover { color: var(--rbb-orange-dark); }

.rbb-sidebar { position: sticky; top: 118px; display: grid; gap: 22px; }
.rbb-widget { background: #fff; border: 1px solid #e8edf4; border-radius: 16px; box-shadow: var(--rbb-shadow-soft); padding: 26px; }
.rbb-widget h3 { margin: 0 0 18px; color: var(--rbb-navy); font-size: 22px; line-height: 1.2; }
.rbb-widget p { margin: 0 0 20px; color: var(--rbb-muted); line-height: 1.65; }
.rbb-help-widget { color: #fff; background: linear-gradient(160deg, var(--rbb-navy), var(--rbb-navy-2)); border-color: rgba(255,255,255,.1); }
.rbb-help-widget h3 { color: #fff; }
.rbb-help-widget p { color: rgba(255,255,255,.76); }
.rbb-category-list { display: grid; gap: 10px; }
.rbb-category-list a,
.rbb-service-widget a { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--rbb-text); background: #f8fafc; border: 1px solid #e8edf4; padding: 12px 14px; border-radius: 10px; font-weight: 800; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.rbb-service-widget a { display: block; margin-bottom: 10px; }
.rbb-category-list a:hover,
.rbb-service-widget a:hover { background: #fff4ee; border-color: #ffd4bf; color: var(--rbb-orange-dark); }
.rbb-category-list em { font-style: normal; color: var(--rbb-orange); }
.rbb-empty-posts { background: #fff; border: 1px solid #e8edf4; border-radius: 16px; box-shadow: var(--rbb-shadow-soft); padding: 30px; }
.rbb-empty-posts h3 { margin: 0 0 10px; color: var(--rbb-navy); }
.rbb-empty-posts p { margin: 0; color: var(--rbb-muted); }

.rbb-cta { position: relative; padding: 52px 0; color: #fff; background-image: linear-gradient(90deg, rgba(5,24,45,.93), rgba(5,24,45,.78)), var(--rbb-cta-image); background-size: cover; background-position: center; }
.rbb-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.rbb-cta h2 { max-width: 720px; margin: 0; color: #fff; font-size: clamp(28px, 4vw, 42px); line-height: 1.13; }
.rbb-cta p:not(.rbb-eyebrow) { color: rgba(255,255,255,.82); line-height: 1.6; margin: 12px 0 0; }
.rbb-cta-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }

.rbb-footer { background: #071b30; color: rgba(255,255,255,.74); padding: 58px 0 22px; }
.rbb-footer-grid { display: grid; grid-template-columns: 1.25fr .8fr .9fr 1.05fr; gap: 44px; }
.rbb-logo-footer { color: #fff; margin-bottom: 18px; }
.rbb-logo-footer .rbb-logo-text strong { color: #fff; }
.rbb-footer h3 { margin: 0 0 18px; color: #fff; font-size: 16px; text-transform: uppercase; }
.rbb-footer p { line-height: 1.7; margin: 0 0 12px; }
.rbb-footer a { display: block; color: rgba(255,255,255,.78); margin-bottom: 10px; transition: color .2s ease; }
.rbb-footer a:hover { color: #fff; }
.rbb-footer-phone { color: #fff !important; font-size: 22px; font-weight: 900; }
.rbb-copyright { border-top: 1px solid rgba(255,255,255,.10); margin-top: 36px; padding-top: 20px; font-size: 13px; color: rgba(255,255,255,.58); }

body.rb-blog-design1 .site-header:not(.rbb-header),
body.rb-blog-design1 header.site-header,
body.rb-blog-design1 .main-header,
body.rb-blog-design1 .header-area,
body.rb-blog-design1 .site-footer:not(.rbb-footer),
body.rb-blog-design1 footer.site-footer,
body.rb-blog-design1 .footer-area {
    display: none !important;
}

@media (max-width: 1180px) {
    .rbb-header-inner { gap: 16px; }
    .rbb-nav { gap: 18px; }
    .rbb-header-cta { display: none; }
    .rbb-hero-content { grid-template-columns: 1fr; }
    .rbb-hero-card { max-width: 380px; margin-bottom: 70px; }
    .rbb-blog-layout { grid-template-columns: 1fr; }
    .rbb-sidebar { position: static; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    body.rb-blog-design1.admin-bar .rbb-header { top: 46px; }
    .rbb-topbar-inner { flex-direction: column; justify-content: center; padding: 10px 0; }
    .rbb-topbar-right { gap: 12px; flex-wrap: wrap; justify-content: center; }
    .rbb-header-inner { height: 76px; }
    .rbb-mobile-toggle { display: block; }
    .rbb-nav { position: absolute; left: 20px; right: 20px; top: calc(100% + 10px); background: #fff; border-radius: 14px; box-shadow: var(--rbb-shadow); flex-direction: column; align-items: stretch; gap: 0; padding: 12px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
    .rbb-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .rbb-nav a { padding: 13px 14px; border-radius: 10px; }
    .rbb-nav a:hover,
    .rbb-nav a.is-active { background: #fff4ee; }
    .rbb-nav a.is-active::after { display: none; }
    .rbb-hero { min-height: auto; }
    .rbb-hero-copy { padding: 70px 0 30px; }
    .rbb-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .rbb-featured-post { grid-template-columns: 1fr; }
    .rbb-featured-image img { min-height: 280px; height: 280px; }
    .rbb-post-grid { grid-template-columns: 1fr; }
    .rbb-sidebar { grid-template-columns: 1fr; }
    .rbb-cta-inner { flex-direction: column; align-items: flex-start; }
    .rbb-cta-actions { justify-content: flex-start; }
    .rbb-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .rbb-container { width: min(100% - 28px, var(--rbb-container)); }
    .rbb-logo { min-width: 0; }
    .rbb-logo-text strong { font-size: 16px; }
    .rbb-logo-text small { font-size: 11px; }
    .rbb-hero { background-position: 64% center; }
    .rbb-hero-overlay { background: linear-gradient(90deg, rgba(3,16,34,.94) 0%, rgba(3,16,34,.82) 58%, rgba(3,16,34,.46) 100%); }
    .rbb-hero h1 { font-size: 40px; }
    .rbb-hero-lead { font-size: 17px; }
    .rbb-hero-actions { flex-direction: column; align-items: stretch; }
    .rbb-hero-card { max-width: none; width: 100%; padding: 26px 20px; }
    .rbb-trust-grid { grid-template-columns: 1fr; }
    .rbb-section { padding: 62px 0; }
    .rbb-section-heading { margin-bottom: 30px; }
    .rbb-featured-content { padding: 28px; }
    .rbb-card-image img { height: 210px; }
    .rbb-phone { font-size: 24px; }
    .rbb-footer-grid { grid-template-columns: 1fr; }
}
