/*
 * Calendar sync hub page (#291). Standalone: works with dtravel.css only,
 * no dependency on how-to.css so it can ship on main and calendar.guide.
 */
body.rb-home { overflow-x: hidden; }

.rb-breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 48px 0;
}
.rb-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--rb-soft);
}
.rb-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #cfc7c1;
}
.rb-breadcrumb a {
  color: var(--rb-muted) !important;
  font-weight: 500;
}
.rb-breadcrumb a:hover { color: var(--rb-brand) !important; }
.rb-breadcrumb li[aria-current="page"] {
  color: var(--rb-ink);
  font-weight: 600;
}

.rb-howto-hero h1 { font-size: 48px; }

.rb-howto-cta {
  background: var(--rb-brand);
  padding: 88px 48px;
  text-align: center;
}
.rb-howto-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.rb-howto-cta h2 {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 14px;
}
.rb-howto-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 28px;
}
.rb-howto-cta .rb-howto-risk {
  margin: -12px 0 28px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

/* Calendar sync hub (#291) */
.rb-hero-solo {
  grid-template-columns: 1fr;
  max-width: 880px;
  text-align: center;
}
.rb-hero-solo .rb-hero-lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.rb-hero-solo .rb-hero-ctas { justify-content: center; }
.rb-link-button { background: none; border: 0; border-bottom: 2px solid var(--rb-ink); cursor: pointer; }

.rb-sync-picker {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto;
}
.rb-sync-picker label { display: flex; flex-direction: column; gap: 6px; flex: 1 1 220px; font-size: 14px; font-weight: 600; color: var(--rb-ink); }
.rb-sync-picker select {
  height: 48px;
  border: 1px solid var(--rb-line);
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  font-size: 16px;
  color: var(--rb-ink);
}
.rb-sync-go[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.rb-sync-picker-msg { text-align: center; min-height: 24px; margin: 16px 0 0; color: var(--rb-muted); font-size: 15px; }

.rb-deep-solo { grid-template-columns: 1fr; max-width: 980px; }
.rb-sync-options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.rb-sync-option { background: #fff; border: 1px solid var(--rb-line); border-radius: 18px; padding: 24px; }
.rb-sync-option h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; color: var(--rb-ink); }
.rb-sync-pro { margin: 0 0 12px; font-weight: 600; color: var(--rb-brand); font-size: 14px; }
.rb-sync-option ul { margin: 0; padding-left: 18px; color: var(--rb-muted); font-size: 15px; line-height: 1.6; }

.rb-sync-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rb-sync-group { background: #fff; border: 1px solid var(--rb-line); border-radius: 18px; padding: 24px; }
.rb-sync-group-featured { grid-column: 1 / -1; background: var(--rb-blush); border-color: var(--rb-brand); }
.rb-sync-group h3 { font-size: 20px; font-weight: 700; margin: 0 0 6px; color: var(--rb-ink); }
.rb-sync-group > p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--rb-muted); }
.rb-sync-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rb-sync-chips a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--rb-line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--rb-ink) !important;
}
.rb-sync-chips a:hover { border-color: var(--rb-brand); color: var(--rb-brand) !important; }

@media (max-width: 768px) {
  .rb-sync-options, .rb-sync-groups { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .rb-breadcrumb { padding: 16px 24px 0; }
  .rb-howto-hero h1 { font-size: 36px; }
  .rb-howto-cta { padding: 56px 24px; }
  .rb-howto-cta h2 { font-size: 28px; }
}
@media (max-width: 560px) {
  .rb-howto-hero h1 { font-size: 28px; }
}
