/* rubisstavby.cz – styles that lived inline in the WordPress templates + Laravel additions. */

.rs-plain, .rs-plain:hover { color: #000; text-decoration: none; }
.rs-link-white, .rs-link-white:hover { color: #fff !important; text-decoration: none; }
.rs-banner-title { color: #fff; font-size: 30px; }
.rs-section-lead { margin-top: -10px; margin-bottom: 30px; }
.rs-muted { opacity: .9; }
.rs-service-icon { font-size: 40px; }
.rs-card-img { width: 100%; height: 240px; object-fit: cover; }
.blog-post .post-title a { color: inherit; }

/* ---------- Hero (home + service) ---------- */
.rs-hero { position: relative; background-size: cover; background-position: center; padding: 70px 0 50px; }
.rs-hero-overlay { position: absolute; inset: 0; background: rgba(255,255,255,.55); }
.rs-hero .container { position: relative; z-index: 2; }
.rs-hero-card { display: flex; gap: 22px; background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.10); padding: 22px; }
.rs-hero-left { flex: 1; min-width: 0; }
.rs-hero-right { width: 34%; min-width: 280px; }
.rs-h1 { margin: 0 0 10px; font-size: 34px; line-height: 1.15; font-weight: 800; text-transform: none; }
.rs-sub { margin: 0 0 14px; font-size: 16px; opacity: .9; }
.rs-bullets { margin: 0 0 18px; padding-left: 18px; }
.rs-bullets li { margin: 6px 0; list-style: disc; }
.rs-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.rs-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; border-radius: 12px; font-weight: 800; text-decoration: none !important; }
.rs-btn-primary { background: #ff6a00; color: #fff !important; }
.rs-btn-ghost { background: #111; color: #fff !important; }
.rs-note { font-size: 12px; opacity: .8; margin-top: 10px; }
.rs-note a { text-decoration: underline; }
.rs-hero-trust { display: flex; flex-direction: column; gap: 10px; }
.rs-trust-item { background: #f6f6f6; border-radius: 14px; padding: 12px; }
.rs-trust-item strong { display: block; margin-bottom: 4px; }
.rs-trust-item span { opacity: .85; }

.rs-ads-hero { padding: 40px 0 30px; }
.rs-ads-hero .rs-hero-card { gap: 24px; align-items: stretch; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.08); padding: 24px; }
.rs-ads-hero .rs-hero-right { width: 42%; min-width: 320px; display: flex; align-items: center; justify-content: center; }
.rs-hero-img { width: 100%; height: auto; border-radius: 14px; object-fit: cover; }
.rs-hero-placeholder { width: 100%; background: #f3f3f3; border-radius: 14px; padding: 18px; }
.rs-trust-row { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.rs-trust-row .rs-trust-item { flex: 1; min-width: 240px; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.06); padding: 14px; }

/* ---------- Cards ---------- */
.rs-svc-card { display: block; height: 100%; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 28px rgba(0,0,0,.08); text-decoration: none !important; background: #fff; color: inherit; }
.rs-svc-img img { width: 100%; height: 200px; object-fit: cover; display: block; }
.rs-svc-body { padding: 14px 14px 16px; }
.rs-svc-body h3 { font-weight: 800; }
.rs-link { display: inline-block; margin-top: 10px; font-weight: 800; color: #ff6a00; }
.rs-white-card { background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 10px 28px rgba(0,0,0,.10); }
.rs-steps { margin: 10px 0 0; padding-left: 18px; }
.rs-steps li { margin: 10px 0; list-style: decimal; }
.rs-form-card, .rs-service-box { border-radius: 16px; }

/* ---------- Editor content (services, posts, GDPR) ---------- */
.rs-content h2, .rs-content h3 { margin-top: 26px; }
.rs-content ul, .rs-content ol { padding-left: 20px; margin-bottom: 16px; }
.rs-content ul li { list-style: disc; }
.rs-content ol li { list-style: decimal; }
.rs-content img { max-width: 100%; height: auto; border-radius: 12px; }
.rs-content blockquote { border-left: 4px solid #ff6a00; padding: 8px 16px; margin: 16px 0; background: #f6f6f6; }

.rs-faq-card { margin-top: 26px; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.08); padding: 18px; }
.rs-faq-card h2 { margin: 0 0 10px; }
.rs-faq-card details { border-top: 1px solid rgba(0,0,0,.08); padding: 10px 0; }
.rs-faq-card details:first-of-type { border-top: 0; }
.rs-faq-card summary { cursor: pointer; font-weight: 700; }
.rs-faq-card details > div { margin-top: 8px; opacity: .9; }
.rs-faq-cta { margin-top: 10px; }

.rs-lead-form .form-control { border-radius: 12px; }
.rs-contact-box { border-radius: 16px; padding: 18px 16px; }
.rs-contact-box .rs-link-white { border-bottom: 1px dashed rgba(255,255,255,.35); }

/* ---------- Forms ---------- */
.contact-alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 15px; }
.contact-alert--error { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.contact-alert ul { margin: 0; padding-left: 18px; }
.contact-alert li { list-style: disc; }
.wk-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pagination ---------- */
.pagination-1 .pagination { display: flex; gap: 6px; list-style: none; padding: 0; }
.pagination-1 .pagination li a, .pagination-1 .pagination li span { display: inline-block; min-width: 40px; padding: 8px 12px; text-align: center; border: 1px solid #ddd; color: #000; }
.pagination-1 .pagination li.active a { background: #ff6a00; border-color: #ff6a00; color: #fff; }
.pagination-1 .pagination li.disabled span { opacity: .4; }

/* ---------- Cookie banner ---------- */
.wk-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 10000; display: flex; justify-content: center; }
.wk-cookie[hidden] { display: none; }
.wk-cookie__inner { max-width: 880px; width: 100%; background: #111; color: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: 0 18px 45px rgba(0,0,0,.35); display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.wk-cookie__text { flex: 1 1 380px; font-size: 14px; }
.wk-cookie__text p { margin: 4px 0 0; color: rgba(255,255,255,.8); font-size: 14px; }
.wk-cookie__text a { color: #ff6a00; text-decoration: underline; }
.wk-cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.wk-cookie__btn { border: 0; border-radius: 12px; padding: 11px 16px; font-weight: 700; background: #ff6a00; color: #fff; cursor: pointer; }
.wk-cookie__btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.35); }

/* ---------- Mobile sticky CTA ---------- */
.rs-sticky-cta { display: none; }

@media (max-width: 991px) {
  .rs-hero-card { flex-direction: column; }
  .rs-hero-right, .rs-ads-hero .rs-hero-right { width: 100%; min-width: 0; }
  .rs-h1 { font-size: 28px; }
  .rs-banner-title { font-size: 24px; }
}
@media (max-width: 767px) {
  body { padding-bottom: 72px; }
  .rs-hero { padding: 50px 0 20px; }
  .rs-ads-hero { padding-bottom: 10px; }
  .rs-trust-row { display: none; }
  .rs-sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: rgba(0,0,0,.86); backdrop-filter: blur(6px); padding: 10px 12px; gap: 10px; }
  .rs-sticky-btn { flex: 1; border-radius: 12px; padding: 12px 7px; font-weight: 900; text-align: center; text-decoration: none !important; }
  .rs-sticky-primary { background: #ff6a00; color: #fff !important; }
  .rs-sticky-ghost { background: #fff; color: #111 !important; }
  .wk-cookie { bottom: 84px; }
}
