/* BRL editable homepage styles (plugin) */
/* Fonts: see brl-fonts.css (self-hosted, no Google Fonts request). */

:root {
  --brl-bg: #05070a;
  --brl-bg-elevated: rgba(12, 16, 24, 0.72);
  --brl-bg-glass: rgba(18, 24, 36, 0.55);
  --brl-border: rgba(255, 255, 255, 0.08);
  --brl-border-strong: rgba(0, 102, 255, 0.45);
  --brl-blue: #0066ff;
  --brl-blue-bright: #2b84ff;
  --brl-blue-glow: rgba(0, 102, 255, 0.35);
  --brl-red: #e11d2e;
  --brl-text: #f4f7fb;
  --brl-muted: #9aa6b8;
  --brl-radius: 10px;
  --brl-radius-sm: 6px;
  --brl-max: 1240px;
  --brl-font: "Sora", system-ui, sans-serif;
  --brl-display: "Oxanium", "Sora", system-ui, sans-serif;
  --brl-header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.brl-body,
body.csb-editable-home {
  margin: 0;
  min-height: 100vh;
  background: var(--brl-bg);
  color: var(--brl-text);
  font-family: var(--brl-font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.brl-container {
  width: min(100% - 2rem, var(--brl-max));
  margin-inline: auto;
}

/* Buttons */
.brl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: var(--brl-radius-sm);
  border: 1px solid transparent;
  font-family: var(--brl-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.brl-btn--sm {
  min-height: 38px;
  padding: 0.45rem 0.95rem;
  font-size: 0.74rem;
}

.brl-btn--primary {
  background: linear-gradient(180deg, var(--brl-blue-bright), var(--brl-blue));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 8px 28px var(--brl-blue-glow);
}

.brl-btn--primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #3d90ff, #1470ff);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 10px 34px rgba(0, 102, 255, 0.5);
}

.brl-btn--outline,
.brl-btn--ghost {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(0, 102, 255, 0.65);
  color: #fff;
}

.brl-btn--outline:hover,
.brl-btn--ghost:hover {
  transform: translateY(-1px);
  border-color: var(--brl-blue-bright);
  background: rgba(0, 102, 255, 0.12);
}

/* Header */
.brl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--brl-header-h);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(5, 7, 10, 0.88);
  border-bottom: 1px solid var(--brl-border);
  transition: background 0.25s ease, box-shadow 0.25s ease;
  overflow: visible;
}

.brl-header__inner {
  position: relative;
}

.brl-header.is-scrolled {
  background: rgba(5, 7, 10, 0.94);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.brl-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.brl-logo .custom-logo-link,
.brl-logo a {
  display: inline-flex;
  align-items: center;
}

.brl-logo img,
.brl-logo .custom-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brl-nav {
  position: relative;
}

.brl-nav__list {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.brl-nav__indicator {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1a6fff, #4da3ff);
  box-shadow: 0 0 12px rgba(43, 132, 255, 0.65);
  opacity: 0;
  pointer-events: none;
  transform: translateX(0);
  transition:
    left 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
  will-change: left, width;
}

.brl-nav__indicator.is-ready {
  opacity: 1;
}

.brl-nav a {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0;
  color: rgba(244, 247, 251, 0.78);
  font-family: var(--brl-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.brl-nav a:hover,
.brl-nav .current-menu-item > a,
.brl-nav .current_page_item > a {
  color: #fff;
}

/* Sliding indicator replaces static underline. */
.brl-nav .current-menu-item > a::after,
.brl-nav .current_page_item > a::after {
  content: none;
}

.brl-header__actions {
  display: flex;
  gap: 0.6rem;
}

.brl-nav__mobile-actions {
  display: none;
}

.brl-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--brl-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.brl-nav-toggle__bar {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Hero */
.brl-hero {
  position: relative;
  min-height: clamp(480px, 72vh, 700px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 42% 58% at 78% 36%, rgba(200, 24, 48, 0.22), transparent 62%),
    radial-gradient(ellipse 48% 64% at 16% 32%, rgba(0, 90, 255, 0.28), transparent 58%),
    radial-gradient(ellipse 55% 50% at 50% 100%, rgba(0, 60, 160, 0.18), transparent 70%),
    linear-gradient(180deg, #070b14 0%, var(--brl-bg) 100%);
}

.brl-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.12) 0%, transparent 42%, rgba(5, 7, 10, 0.55) 100%);
  z-index: 0;
  pointer-events: none;
}

.brl-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(180deg, transparent, var(--brl-bg));
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.brl-hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-block: 5rem 4rem;
  margin-left: max(1rem, calc((100% - var(--brl-max)) / 2));
  margin-right: auto;
  width: min(100% - 2rem, 640px);
  animation: brl-rise 0.8s ease both;
}

.brl-hero__eyebrow {
  margin: 0 0 0.9rem;
  color: #ff2d3f;
  font-family: var(--brl-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brl-hero__title {
  margin: 0 0 1.1rem;
  color: #ffffff;
  font-family: var(--brl-display);
  font-size: clamp(1.85rem, 4.2vw, 3.15rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.brl-accent {
  color: #3d9bff;
  text-shadow: 0 0 28px var(--brl-blue-glow);
}

.brl-hero__text {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: var(--brl-muted);
  font-size: 1rem;
}

.brl-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Features strip */
.brl-features {
  position: relative;
  z-index: 2;
  margin-top: -3.25rem;
  padding-bottom: 0.5rem;
}

.brl-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--brl-border);
  border-radius: var(--brl-radius);
  background: rgba(10, 14, 22, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  animation: brl-rise 0.75s ease both;
}

.brl-feature {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.35rem 1.25rem;
  border-right: 1px solid var(--brl-border);
}

.brl-feature:last-child {
  border-right: 0;
}

.brl-feature__icon {
  flex: 0 0 auto;
  color: var(--brl-blue-bright);
  filter: drop-shadow(0 0 10px var(--brl-blue-glow));
  margin-top: 0.1rem;
}
.brl-feature__icon img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}


.brl-feature__title {
  margin: 0 0 0.25rem;
  font-family: var(--brl-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brl-feature__text {
  margin: 0;
  color: var(--brl-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Content panels */
.brl-home-panels {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  isolation: isolate;
}

.brl-home-panels--has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.88), rgba(5, 7, 10, 0.92)),
    var(--brl-content-image) center / cover no-repeat;
  opacity: 0.9;
}

.brl-home-panels__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
}

.brl-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.brl-panel__title {
  margin: 0;
  font-family: var(--brl-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brl-panel__link {
  color: var(--brl-blue-bright);
  font-family: var(--brl-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brl-panel__link:hover {
  text-decoration: underline;
}

/* Tournament cards */
.brl-tournaments {
  display: grid;
  gap: 0.9rem;
}

.brl-tcard {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid var(--brl-border);
  border-radius: var(--brl-radius);
  background: var(--brl-bg-glass);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.brl-tcard--featured {
  grid-template-columns: minmax(200px, 42%) minmax(0, 1fr) auto !important;
  gap: 1.15rem;
  padding: 1rem;
}

.brl-tcard--featured .brl-tcard__media {
  min-width: 0;
  min-height: 150px !important;
  aspect-ratio: 16 / 10 !important;
  border-radius: 12px;
  overflow: hidden;
}

.brl-tcard--featured .brl-tcard__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brl-tcard--featured .brl-tcard__title {
  width: 100%;
  text-align: center;
}

.brl-tcard--featured .brl-tcard__tags,
.brl-tcard--featured .brl-tcard__meta {
  width: 100%;
  justify-content: center;
  padding-left: 0;
  padding-inline-start: 0;
}

.brl-tcard:hover {
  border-color: rgba(0, 102, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.brl-tcard__media {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #101826;
}

.brl-tcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brl-tcard__title {
  margin: 0 0 0.45rem;
  font-family: var(--brl-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brl-tcard__title a:hover {
  color: var(--brl-blue-bright);
}

.brl-tcard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.brl-tcard__tags li {
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--brl-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brl-tcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  color: var(--brl-muted);
  font-size: 0.78rem;
}

.brl-tcard__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.brl-tcard__action {
  align-self: center;
}

/* News */
.brl-news {
  display: grid;
  gap: 0.85rem;
}

.brl-ncard {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0.95rem;
  padding: 0.75rem;
  border: 1px solid var(--brl-border);
  border-radius: var(--brl-radius);
  background: var(--brl-bg-glass);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.brl-ncard:hover {
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateY(-2px);
}

.brl-ncard__media {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #101826;
}

.brl-ncard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brl-ncard__title {
  margin: 0 0 0.25rem;
  font-family: var(--brl-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.brl-ncard__title a:hover {
  color: var(--brl-blue-bright);
}

.brl-ncard__date {
  margin: 0 0 0.35rem;
  color: var(--brl-muted);
  font-size: 0.72rem;
}

.brl-ncard__excerpt {
  margin: 0;
  color: rgba(154, 166, 184, 0.92);
  font-size: 0.8rem;
  line-height: 1.45;
}

.brl-empty {
  color: var(--brl-muted);
  padding: 1rem;
  border: 1px dashed var(--brl-border);
  border-radius: var(--brl-radius);
}

/* Inner pages */
.brl-page {
  padding: 3rem 0 4rem;
}

.brl-page__title {
  margin: 0 0 1.5rem;
  font-family: var(--brl-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: uppercase;
}

.brl-page__content {
  max-width: 720px;
  color: var(--brl-muted);
}

.brl-page__content a {
  color: var(--brl-blue-bright);
}

/* Footer */
.brl-footer {
  border-top: 1px solid var(--brl-border);
  padding: 0;
  background: rgba(0, 0, 0, 0.45);
}

.brl-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.9fr;
  gap: 2rem 2rem;
  padding: 2.75rem 0 2.25rem;
}

.brl-footer__logo {
  margin-bottom: 0.7rem;
}

.brl-footer__logo .custom-logo-link,
.brl-footer__logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brl-footer__logo img,
.brl-footer__logo .custom-logo {
  display: block !important;
  width: auto !important;
  height: 40px !important;
  max-height: 40px !important;
  max-width: 120px !important;
  object-fit: contain !important;
}

.brl-footer__mark {
  display: inline-flex;
  font-family: var(--brl-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.85rem;
}

.brl-footer__mark-b { color: #2b84ff; }
.brl-footer__mark-r { color: #fff; }
.brl-footer__mark-l { color: #e11d2e; }

.brl-footer__name {
  margin: 0 0 0.35rem;
  font-family: var(--brl-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brl-footer__tag {
  margin: 0;
  color: var(--brl-muted);
  font-size: 0.86rem;
  max-width: 18rem;
  line-height: 1.45;
}

.brl-footer__riot {
  margin: 0.55rem 0 0;
  color: #7f8b9c;
  font-size: 0.7rem;
  line-height: 1.45;
  max-width: 18rem;
}

.brl-footer__label {
  margin: 0 0 0.85rem;
  font-family: var(--brl-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.92);
}

.brl-footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Long Czech legal titles wrap unevenly in 2 cols — keep a clean single stack. */
.brl-footer__links--stack {
  grid-template-columns: 1fr;
  gap: 0.4rem;
  max-width: 15.5rem;
}

.brl-footer__links--stack a {
  display: inline-block;
  line-height: 1.35;
}

.brl-footer__links a {
  color: var(--brl-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.brl-footer__links a:hover {
  color: #fff;
}

.brl-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brl-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--brl-border);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.brl-footer__social a:hover {
  border-color: rgba(0, 102, 255, 0.55);
  background: rgba(0, 102, 255, 0.12);
  color: #2b84ff;
}

.brl-footer__bar {
  border-top: 1px solid var(--brl-border);
  padding: 1rem 0;
}

.brl-footer__bar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
}

.brl-footer__age {
  margin: 0;
  color: #9aa6b8;
  font-size: 0.78rem;
  line-height: 1.45;
}

.brl-footer__age a {
  color: #9aa6b8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.brl-footer__age a:hover,
.brl-footer__age a:focus-visible {
  color: #c5cedb;
}

.brl-footer__copy-line {
  margin: 0;
  color: var(--brl-muted);
  font-size: 0.78rem;
}

.brl-footer__bar p {
  margin: 0;
  color: var(--brl-muted);
  font-size: 0.78rem;
}

.brl-footer__bar p.brl-footer__third-party {
  margin: 0;
  color: #7f8b9c;
  font-size: 0.7rem;
  line-height: 1.45;
  max-width: 40rem;
}

/* legacy simple footer helpers (kept for safety) */
.brl-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brl-footer__brand {
  margin: 0;
}

.brl-footer__copy {
  margin: 0;
  color: var(--brl-muted);
  font-size: 0.82rem;
}

@keyframes brl-rise {
  from {
    transform: translateY(16px);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .brl-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .brl-footer__links {
    grid-template-columns: 1fr 1fr;
  }

  .brl-footer__links--stack {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .brl-footer__links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brl-hero__content,
  .brl-features__grid {
    animation: none !important;
  }
}

@media (max-width: 980px) {
  .brl-features__grid {
    grid-template-columns: 1fr 1fr;
  }

  .brl-feature:nth-child(2) {
    border-right: 0;
  }

  .brl-feature:nth-child(1),
  .brl-feature:nth-child(2) {
    border-bottom: 1px solid var(--brl-border);
  }

  .brl-home-panels__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .brl-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .brl-nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .brl-header__actions {
    display: none;
  }

  .brl-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    right: auto;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    display: none;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(5, 7, 10, 0.98);
    border-bottom: 1px solid var(--brl-border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    z-index: 60;
  }

  .brl-nav.is-open {
    display: block;
  }

  .brl-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .brl-nav__indicator {
    display: none;
  }

  .brl-nav a {
    font-size: 0.9rem;
    padding: 0.7rem 0;
  }

  .brl-nav__mobile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--brl-border);
  }

  .brl-tcard {
    grid-template-columns: 88px 1fr;
  }

  .brl-tcard--featured {
    grid-template-columns: minmax(160px, 46%) minmax(0, 1fr) !important;
  }

  .brl-tcard__action {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .brl-features__grid {
    grid-template-columns: 1fr;
  }

  .brl-feature {
    border-right: 0;
    border-bottom: 1px solid var(--brl-border);
  }

  .brl-feature:last-child {
    border-bottom: 0;
  }

  .brl-ncard {
    grid-template-columns: 1fr;
  }

  .brl-hero__content {
    padding-block: 4rem 3rem;
  }
}


/* Plugin canvas: hide theme chrome leftovers */
body.csb-editable-home .wp-site-blocks > header,
body.csb-editable-home .wp-site-blocks > footer,
body.csb-editable-home .entry-header,
body.csb-editable-home .page-header,
body.csb-editable-home .entry-title,
body.csb-editable-home h1.wp-block-post-title {
  display: none !important;
}

body.csb-editable-home .csb-home-content > *:first-child {
  margin-top: 0;
}

body.csb-editable-home .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}


/* === Hard overrides vs Hostinger AI / WindPress === */
body.csb-editable-home {
  background: #05070a !important;
  color: #f4f7fb !important;
  margin: 0 !important;
  font-family: "Sora", system-ui, sans-serif !important;
}
body.csb-editable-home .brl-header,
body.csb-editable-home .brl-main,
body.csb-editable-home .brl-footer,
body.csb-editable-home .brl-hero,
body.csb-editable-home .brl-features,
body.csb-editable-home .brl-home-panels {
  max-width: none !important;
  width: 100% !important;
}
body.csb-editable-home .brl-features__grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 !important;
}
body.csb-editable-home .brl-feature {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  text-align: left !important;
}
body.csb-editable-home .brl-feature__title,
body.csb-editable-home .brl-panel__title,
body.csb-editable-home .brl-hero__title {
  text-align: left !important;
  color: #fff !important;
}
body.csb-editable-home .brl-hero {
  display: flex !important;
  align-items: center !important;
  min-height: clamp(480px, 72vh, 700px) !important;
  background:
    radial-gradient(ellipse 42% 58% at 78% 36%, rgba(200, 24, 48, 0.22), transparent 62%),
    radial-gradient(ellipse 48% 64% at 16% 32%, rgba(0, 90, 255, 0.28), transparent 58%),
    radial-gradient(ellipse 55% 50% at 50% 100%, rgba(0, 60, 160, 0.18), transparent 70%),
    linear-gradient(180deg, #070b14 0%, #05070a 100%) !important;
}
body.csb-editable-home .brl-hero__content {
  text-align: left !important;
  margin-left: max(1rem, calc((100% - 1240px) / 2)) !important;
  margin-right: auto !important;
}
body.csb-editable-home .brl-btn {
  display: inline-flex !important;
  text-decoration: none !important;
  color: #fff !important;
}
body.csb-editable-home .brl-btn--primary {
  background: linear-gradient(180deg, #2b84ff, #0066ff) !important;
  border: none !important;
}
body.csb-editable-home .brl-btn--outline {
  background: rgba(0,0,0,.25) !important;
  border: 1px solid rgba(0,102,255,.65) !important;
}
body.csb-editable-home .brl-home-panels__grid {
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr !important;
  gap: 2rem !important;
}
body.csb-editable-home .brl-tcard:not(.brl-tcard--featured) {
  display: grid !important;
  grid-template-columns: 110px 1fr auto !important;
  align-items: center !important;
}
body.csb-editable-home .brl-tcard--featured {
  display: grid !important;
  grid-template-columns: minmax(200px, 42%) minmax(0, 1fr) auto !important;
  gap: 1.15rem !important;
  align-items: center !important;
}
body.csb-editable-home .brl-tcard--featured .brl-tcard__media {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 150px !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
}
body.csb-editable-home .brl-tcard--featured .brl-tcard__body {
  min-width: 0 !important;
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}
body.csb-editable-home .brl-tcard--featured .brl-tcard__title {
  width: 100% !important;
  text-align: center !important;
}
body.csb-editable-home .brl-tcard--featured .brl-tcard__tags,
body.csb-editable-home .brl-tcard--featured .brl-tcard__meta {
  width: 100% !important;
  justify-content: center !important;
  padding-left: 0 !important;
  padding-inline-start: 0 !important;
}
body.csb-editable-home .brl-tcard--featured .brl-tcard__action {
  position: relative !important;
  z-index: 1 !important;
  justify-self: end !important;
}
body.csb-editable-home .brl-ncard {
  display: grid !important;
  grid-template-columns: 112px 1fr !important;
}
body.csb-editable-home .brl-header__inner {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
}
body.csb-editable-home .brl-nav__list {
  display: flex !important;
  justify-content: center !important;
  gap: 1.5rem !important;
  list-style: none !important;
}
body.csb-editable-home .brl-feature__icon {
  color: #2b84ff !important;
  font-size: 1.4rem !important;
  line-height: 1 !important;
}
@media (max-width: 980px) {
  body.csb-editable-home .brl-features__grid {
    grid-template-columns: 1fr 1fr !important;
  }
  body.csb-editable-home .brl-home-panels__grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 560px) {
  body.csb-editable-home .brl-features__grid {
    grid-template-columns: 1fr !important;
  }
  body.csb-editable-home .brl-tcard,
  body.csb-editable-home .brl-ncard {
    grid-template-columns: 1fr !important;
  }
}
