/* rh-blog.css — radiohosting.net look for the HTMLy blog. Header, footer and buttons come from
   templates/six-ai/css/rh-theme.css so the blog matches the rest of the site. */

.rh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; font: 600 15px/1 var(--rh-body); color: #fff !important; background: var(--rh-blue); border: var(--rh-line); box-shadow: var(--rh-hard); cursor: pointer; white-space: nowrap; text-decoration: none !important; transition: transform .16s var(--rh-ease), box-shadow .16s var(--rh-ease), background-color .2s; }
.rh-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--rh-ink); background: var(--rh-blue-dk); }
.rh-btn--sm { height: 40px; padding: 0 16px; font-size: 14px; box-shadow: 2px 2px 0 var(--rh-ink); }

/* ---------------- header ---------------- */
.rh-header { position: sticky; top: 0; z-index: 1030; background: rgba(251, 247, 241, .9); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--rh-rule); }
.rh-header .rh-navbar { margin: 0; min-height: 0; border: 0; border-radius: 0; background: transparent; }
.rh-header .rh-nav-wrap { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.rh-header .rh-nav-wrap::before, .rh-header .rh-nav-wrap::after { display: none; }
.rh-header .navbar-header { float: none; display: flex; align-items: center; flex: none; margin: 0 !important; }
.rh-brand { display: block; padding: 4px 0; }
.rh-brand img { height: 30px; width: auto; display: block; }
.rh-header .navbar-collapse { flex: 1; display: flex !important; align-items: center; justify-content: space-between; padding: 0; border: 0; box-shadow: none; }
.rh-header .navbar-nav { float: none; display: flex; align-items: center; gap: 2px; margin: 0; }
.rh-header .navbar-nav > li { float: none; }
.rh-header .navbar-nav > li > a { padding: 9px 12px; border-radius: 10px; color: var(--rh-ink) !important; font: 500 15px/1.2 var(--rh-body); background: transparent !important; }
.rh-header .navbar-nav > li > a:hover, .rh-header .navbar-nav > li.open > a { background: rgba(23, 18, 43, .06) !important; }
.rh-header .navbar-nav > li > a > i:first-child { display: none; }
.rh-header .rh-nav-lang > a > i:first-child, .rh-header .rh-nav-alerts > a > i:first-child { display: inline-block; color: var(--rh-ink-2); }
.rh-header .rh-nav-lang-label { font-size: 14px; }
.rh-header .caret { border-top-width: 4px; margin-left: 2px; opacity: .6; }
.rh-header .badge, .rh-dot-badge { background: var(--rh-coral); color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 999px; }
.rh-header .rh-nav-cta { margin-left: 8px; }
.rh-header .rh-nav-cta > a.rh-btn { padding: 0 16px !important; background: var(--rh-ink) !important; color: #fff !important; border-color: var(--rh-ink); box-shadow: none; }
.rh-header .rh-nav-cta > a.rh-btn:hover { background: var(--rh-blue) !important; transform: none; }
.rh-header .dropdown-menu { border: 1px solid var(--rh-rule); border-radius: 14px; box-shadow: 0 18px 40px -14px rgba(23, 18, 43, .3); padding: 6px; margin-top: 8px; min-width: 220px; }
.rh-header .dropdown-menu > li > a { padding: 9px 12px; border-radius: 9px; color: var(--rh-ink); font-size: 14.5px; white-space: normal; }
.rh-header .dropdown-menu > li > a:hover, .rh-header .dropdown-menu > li > a:focus { background: var(--rh-sky); color: var(--rh-ink); }
.rh-header .dropdown-menu .nav-divider, .rh-header .dropdown-menu .divider { height: 1px; margin: 6px 4px; background: var(--rh-rule); overflow: hidden; }
.rh-header .dropdown-menu .nav-divider > a { display: none; }
.rh-header .client-alerts { width: 320px; }
.rh-header .client-alerts > li > a { display: flex; gap: 10px; align-items: flex-start; }
.rh-header .client-alerts > li.none > span { display: block; padding: 10px 12px; color: var(--rh-ink-3); }
.rh-header .navbar-toggle { margin: 0 0 0 auto; border: 1px solid var(--rh-rule); border-radius: 10px; background: #fff; padding: 10px 11px; }
.rh-header .navbar-toggle .icon-bar { background: var(--rh-ink); }
.rh-header .btn-logged-in-admin { color: var(--rh-coral) !important; }

@media (max-width: 991px) {
  .rh-header .rh-nav-wrap { flex-wrap: wrap; gap: 0; }
  .rh-header .navbar-header { width: 100%; justify-content: space-between; min-height: 62px; }
  .rh-header .navbar-collapse { display: none !important; width: 100%; flex-direction: column; align-items: stretch; padding: 4px 0 16px; max-height: calc(100vh - 70px); overflow-y: auto; }
  .rh-header .navbar-collapse.in, .rh-header .navbar-collapse.collapsing { display: flex !important; }
  .rh-header .navbar-nav { flex-direction: column; align-items: stretch; width: 100%; }
  .rh-header .navbar-nav > li > a { padding: 12px 10px; }
  .rh-header .navbar-nav .open .dropdown-menu { position: static; float: none; box-shadow: none; border: 0; margin: 0 0 6px 10px; background: transparent; }
  .rh-header .rh-nav-cta { margin: 10px 0 0; }
  .rh-header .rh-nav-cta > a.rh-btn { width: 100%; height: 46px; }
  .rh-brand img { height: 26px; }
}
@media (min-width: 992px) {
  .rh-header .navbar-toggle { display: none; }
}


/* ---------------- footer ---------------- */
.rh-footer { background: var(--rh-cream); border-top: 1px solid var(--rh-rule); color: var(--rh-ink-2); font-family: var(--rh-body); padding: 56px 0 28px; }
body.rh-blog .rh-footer .container { max-width: 1200px; }
.rh-footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; margin-bottom: 36px; }
.rh-footer-brand img { height: 30px; width: auto; display: block; }
.rh-footer-brand p { margin: 16px 0 0; max-width: 34ch; font-size: 14.5px; line-height: 1.6; color: var(--rh-ink-2); }
.rh-footer-col h4 { font: 600 14px/1.3 var(--rh-display); color: var(--rh-ink); margin: 6px 0 14px; letter-spacing: 0; }
.rh-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.rh-footer-col a { color: var(--rh-ink-2) !important; font-size: 14.5px; }
.rh-footer-col a:hover { color: var(--rh-blue) !important; text-decoration: none; }
.rh-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid var(--rh-rule); font-size: 13.5px; color: var(--rh-ink-3); }
.rh-footer .back-to-top { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--rh-rule); color: var(--rh-ink) !important; }
.rh-footer .back-to-top:hover { border-color: var(--rh-ink); }
@media (max-width: 767px) {
  .rh-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rh-footer-brand { grid-column: 1 / -1; }
  body.rh-blog #main-body { padding: 24px 0 56px; }
  body.rh-blog .logincontainer { padding: 22px; margin-top: 4px; box-shadow: var(--rh-hard); }
}


/* ---------------- fixes after visual review ---------------- */
.rh-header .navbar-nav > li.rh-nav-cta > a.rh-btn { display: inline-flex !important; align-items: center; justify-content: center; height: 40px; line-height: 1 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
@media (max-width: 991px) {
  .rh-header .navbar-collapse { flex: 0 0 100% !important; }
}
.rh-header .navbar-right { margin-right: 0; }
@media (max-width: 991px) {
  .rh-header .navbar-right { margin: 0; }
}

/* ---------------- blog ---------------- */
body.rh-blog {
  --rh-ink: #17122b; --rh-ink-2: #4b4566; --rh-ink-3: #7a7593; --rh-cream: #fbf7f1; --rh-sky: #e3eefc;
  --rh-sun: #ffd23f; --rh-sun-tint: #fff4cf; --rh-blue: #1a66d1; --rh-blue-dk: #1253ad; --rh-mint-tint: #d6f5e8;
  --rh-lilac: #f0edf6; --rh-rule: rgba(23, 18, 43, .12); --rh-line: 2px solid var(--rh-ink);
  --rh-hard: 3px 3px 0 var(--rh-ink); --rh-ease: cubic-bezier(.22, 1, .36, 1);
  --rh-display: "Space Grotesk", system-ui, sans-serif; --rh-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--rh-cream); color: var(--rh-ink); font-family: var(--rh-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
body.rh-blog h1, body.rh-blog h2, body.rh-blog h3, body.rh-blog h4 { font-family: var(--rh-display); color: var(--rh-ink); letter-spacing: -.015em; }
body.rh-blog a { color: var(--rh-blue); }
body.rh-blog a:hover, body.rh-blog a:focus { color: var(--rh-blue-dk); text-decoration: none; }
body.rh-blog .container { max-width: 1200px; width: auto; padding-left: 20px; padding-right: 20px; }
body.rh-blog :focus-visible { outline: 3px solid var(--rh-blue); outline-offset: 2px; }
.rh-header .navbar-nav > li.active > a { background: rgba(23, 18, 43, .06) !important; }

/* hero */
.rh-blog-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--rh-rule); position: relative; overflow: hidden; }
.rh-blog-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--rh-rule) 1px, transparent 1px), linear-gradient(90deg, var(--rh-rule) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 20%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 85% 20%, #000 10%, transparent 70%); opacity: .5; pointer-events: none; }
.rh-blog-hero .container { position: relative; }
.rh-kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--rh-body); letter-spacing: .08em; text-transform: uppercase; color: var(--rh-blue); margin-bottom: 14px; }
.rh-kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.rh-blog-title { font: 700 clamp(34px, 4.6vw, 56px)/1.04 var(--rh-display); letter-spacing: -.035em; margin: 0 0 12px; max-width: 18ch; color: var(--rh-ink); }
.rh-blog-title--small { font-size: clamp(28px, 3.4vw, 40px); }
.rh-blog-title a { color: var(--rh-ink) !important; }
.rh-blog-lede { font-size: 18px; color: var(--rh-ink-2); margin: 0 0 22px; max-width: 60ch; }
.rh-blog-search { display: flex; align-items: center; gap: 10px; max-width: 520px; padding: 6px 6px 6px 16px; background: #fff; border: 1px solid var(--rh-rule); border-radius: 14px; }
.rh-blog-search i { color: var(--rh-ink-3); }
.rh-blog-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 16px var(--rh-body); color: var(--rh-ink); height: 40px; }
.rh-blog-search:focus-within { border-color: var(--rh-blue); box-shadow: 0 0 0 3px rgba(26, 102, 209, .15); }

/* layout + cards */
.rh-blog-body { padding-top: 36px; padding-bottom: 72px; }
body.rh-blog .breadcrumb { background: transparent; padding: 0; margin: 0 0 16px; font-size: 14px; color: var(--rh-ink-3); }
body.rh-blog .section, .rh-card { background: #fff; border: 1px solid var(--rh-rule); border-radius: 20px; margin-bottom: 22px; box-shadow: none; }
body.rh-blog .section .section-inner { padding: 0; }
body.rh-blog .section .content { padding: 0; }
body.rh-blog .section .item { padding: 28px 30px; }
body.rh-blog .post.section { overflow: hidden; transition: border-color .2s, transform .2s var(--rh-ease), box-shadow .2s; }
body.rh-blog .primary > .post.section:not(.inpost):not(.inpage):hover { border-color: var(--rh-ink); transform: translate(-2px, -2px); box-shadow: var(--rh-hard); }
body.rh-blog .featured { margin: -28px -30px 22px; }
body.rh-blog .featured img { width: 100%; height: auto; display: block; }
body.rh-blog .post .title { font: 700 26px/1.2 var(--rh-display); letter-spacing: -.02em; margin: 0 0 10px; }
body.rh-blog .inpost .title, body.rh-blog .inpage .title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.03em; }
body.rh-blog .post .title a { color: var(--rh-ink); }
body.rh-blog .post .title a:hover { color: var(--rh-blue); }
body.rh-blog .meta { font-size: 14px; color: var(--rh-ink-3); margin: 0 0 18px; }
body.rh-blog .meta a { color: var(--rh-ink-2); font-weight: 500; }
body.rh-blog .desc { font-size: 16.5px; line-height: 1.75; color: var(--rh-ink-2); }
body.rh-blog .desc h2, body.rh-blog .desc h3 { margin: 30px 0 12px; color: var(--rh-ink); }
body.rh-blog .desc h2 { font-size: 26px; }
body.rh-blog .desc h3 { font-size: 21px; }
body.rh-blog .desc p { margin: 0 0 16px; }
body.rh-blog .desc ul, body.rh-blog .desc ol { margin: 0 0 18px; padding-left: 22px; }
body.rh-blog .desc li { margin-bottom: 6px; }
body.rh-blog .desc img { max-width: 100%; height: auto; border-radius: 14px; }
body.rh-blog .desc blockquote { border-left: 3px solid var(--rh-sun); background: var(--rh-sun-tint); border-radius: 0 12px 12px 0; padding: 14px 18px; color: var(--rh-ink); font-size: 16.5px; }
body.rh-blog .desc code { background: var(--rh-lilac); color: var(--rh-ink); padding: 2px 6px; border-radius: 6px; }
body.rh-blog .desc pre { background: var(--rh-ink); color: #f0edf6; border: 0; border-radius: 12px; padding: 16px; }
body.rh-blog .desc table { width: 100%; margin: 0 0 18px; border-collapse: collapse; }
body.rh-blog .desc th, body.rh-blog .desc td { border-bottom: 1px solid var(--rh-rule); padding: 10px 12px; text-align: left; }
body.rh-blog .btn-cta-secondary, body.rh-blog .more a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 10px; background: #fff; border: 1px solid var(--rh-rule); color: var(--rh-ink) !important; font-weight: 600; font-size: 14px; }
body.rh-blog .btn-cta-secondary:hover { border-color: var(--rh-ink); }
body.rh-blog .share a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--rh-rule); color: var(--rh-ink-2); margin-left: 6px; }
body.rh-blog .share a:hover { border-color: var(--rh-ink); color: var(--rh-ink); }
body.rh-blog .tags a { display: inline-block; font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--rh-lilac); color: var(--rh-ink-2); margin: 0 4px 6px 0; }
body.rh-blog .tags .fa-tags { color: var(--rh-ink-3); margin-right: 4px; }
body.rh-blog hr { border-color: var(--rh-rule); }
body.rh-blog .newer a, body.rh-blog .older a { font-weight: 600; }
body.rh-blog .related .item { padding: 0 10px 0 0; }
body.rh-blog .related .title { font-size: 17px; }
body.rh-blog .related .heading { font-size: 18px; }
body.rh-blog .pagination { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 0; }
body.rh-blog .pagination a { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 10px; background: #fff; border: 1px solid var(--rh-rule); color: var(--rh-ink); font-weight: 600; }
body.rh-blog .pagination a:hover { border-color: var(--rh-ink); }

/* sidebar */
body.rh-blog .secondary .aside { padding: 22px 24px; }
body.rh-blog .secondary .heading { font: 600 17px/1.3 var(--rh-display); margin: 0 0 12px; }
body.rh-blog .rh-cta-card { background: var(--rh-ink); border-color: var(--rh-ink); color: #c8c3da; }
body.rh-blog .rh-cta-card .heading { color: #fff; font-size: 20px; }
body.rh-blog .rh-cta-card p { margin: 0 0 16px; font-size: 15px; }
body.rh-blog .rh-cta-card .rh-btn { background: var(--rh-sun); color: var(--rh-ink) !important; border-color: #fff; box-shadow: 2px 2px 0 #fff; }
body.rh-blog .secondary .nav-tabs { border-bottom: 1px solid var(--rh-rule); margin: -4px 0 12px; }
body.rh-blog .secondary .nav-tabs > li > a { border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--rh-ink-2); font-weight: 600; padding: 8px 2px; margin-right: 14px; background: transparent; }
body.rh-blog .secondary .nav-tabs > li.active > a { border-bottom-color: var(--rh-blue); color: var(--rh-blue); }
body.rh-blog .secondary .item { padding: 12px 0; border-bottom: 1px solid var(--rh-rule); }
body.rh-blog .secondary .item:last-child { border-bottom: 0; }
body.rh-blog .secondary .item .title { font: 600 15.5px/1.35 var(--rh-display); margin: 0 0 4px; }
body.rh-blog .secondary .item .title a { color: var(--rh-ink); }
body.rh-blog .secondary .item p { font-size: 14px; color: var(--rh-ink-3); margin: 0; }
body.rh-blog .secondary ul { list-style: none; padding: 0; margin: 0; }
body.rh-blog .secondary .content li { padding: 6px 0; border-bottom: 1px solid var(--rh-rule); font-size: 15px; }
body.rh-blog .secondary .content li:last-child { border-bottom: 0; }
body.rh-blog .secondary .content li a { color: var(--rh-ink-2); }
body.rh-blog .tagcloud a { display: inline-block; font-size: 13.5px !important; padding: 4px 11px; border-radius: 999px; background: var(--rh-cream); border: 1px solid var(--rh-rule); color: var(--rh-ink-2); margin: 0 6px 8px 0; }
body.rh-blog .tagcloud a:hover { border-color: var(--rh-ink); color: var(--rh-ink); }
body.rh-blog .archive ul ul { padding-left: 14px; }

@media (max-width: 991px) {
  .rh-blog-hero { padding: 36px 0 28px; }
  body.rh-blog .section .item { padding: 22px; }
  body.rh-blog .featured { margin: -22px -22px 18px; }
}

/* ---------------- empty states + error pages with Dot ---------------- */
.rh-empty { text-align: center; max-width: 620px; margin: 24px auto 40px; padding: 36px 28px 40px; background: #fff; border: 1px solid var(--rh-rule); border-radius: 22px; }
.rh-empty--page { margin-top: 12px; }
.rh-empty-dot { display: block; width: 200px; height: auto; margin: 0 auto 6px; }
.rh-empty-code { display: inline-block; font: 700 13px/1 var(--rh-body); letter-spacing: .12em; color: var(--rh-blue); background: var(--rh-sky); padding: 6px 10px; border-radius: 999px; margin-bottom: 14px; }
.rh-empty h1, .rh-empty h2 { font: 700 clamp(26px, 3.4vw, 36px)/1.1 var(--rh-display); letter-spacing: -.025em; margin: 0 0 10px; color: var(--rh-ink); }
.rh-empty p { color: var(--rh-ink-2); margin: 0 auto 10px; max-width: 46ch; }
.rh-empty .rh-empty-lede { font-size: 17px; color: var(--rh-ink); }
.rh-empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.rh-empty-actions .btn { min-width: 180px; }
.rh-empty form { max-width: 420px; margin: 18px auto 0; }
@media (max-width: 640px) {
  .rh-empty { padding: 26px 18px 30px; }
  .rh-empty-dot { width: 160px; }
  .rh-empty-actions .btn { width: 100%; }
}
body.rh-blog .rh-empty form .input-group, body.rh-blog .rh-empty form { display: flex; gap: 8px; }
body.rh-blog .rh-empty input[type="search"], body.rh-blog .rh-empty input[type="text"] { flex: 1; height: 44px; border: 1px solid rgba(23, 18, 43, .2); border-radius: 10px; padding: 0 12px; font: 400 15px var(--rh-body); }
body.rh-blog .rh-empty button, body.rh-blog .rh-empty input[type="submit"] { height: 44px; padding: 0 16px; border-radius: 10px; border: 2px solid var(--rh-ink); background: var(--rh-blue); color: #fff; font-weight: 600; box-shadow: 2px 2px 0 var(--rh-ink); }
