@charset "UTF-8";
/* Site shell entry - split under site/ */
/* ============================================
  Глобален shell – TretoOko.bg / Sanovnik
  (Начална страница: _home-content.scss)
  ============================================ */
:root {
  --color-primary: #143026;
  --color-body: #143026;
  --color-muted: #6d746e;
  --color-border: #ebebeb;
  --color-bg: #ffffff;
  --color-surface: #fff;
  --color-nav: #1a3024;
  --color-nav-text: #f3eee4;
  --color-badge: #1a3024;
  --color-badge-text: #fff;
  --color-accent: #1a3024;
  --color-accent-hover: #12261d;
  --color-accent-soft: #efe6d6;
  --color-accent-rgb: 26, 48, 36;
  --color-gold: #6b8e23;
  --color-gold-soft: #a3b86a;
  --bs-primary: #1a3024;
  --bs-primary-rgb: 26, 48, 36;
  --bs-link-color: #1a3024;
  --bs-link-hover-color: #12261d;
  --site-max-width: 1120px;
  --font-serif: 'Libre Baskerville', 'Times New Roman', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-font-sans-serif: var(--font-sans);
  --bs-body-font-family: var(--font-sans);
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-lg: 1.125rem;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --radius: 10px;
  --radius-badge: 6px;
  --shadow: 0 2px 10px rgba(8, 18, 14, 0.06);
  --shadow-md: 0 4px 18px rgba(20, 36, 28, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-body);
  background: var(--color-bg);
  line-height: 1.5;
}

h1, h2, h3,
.h1, .h2, .h3 {
  font-family: var(--font-serif);
  color: var(--color-primary);
}

/* Максимална ширина на сайта (навбар + основно съдържание) */
@media (min-width: 992px) {
  .container {
    max-width: var(--site-max-width);
  }
}
.badge-brand {
  background: var(--color-accent);
  color: var(--color-badge-text);
  font-weight: var(--font-semibold);
}

.badge-brand-soft {
  background: var(--color-accent-soft);
  color: var(--color-accent-hover);
  font-weight: var(--font-semibold);
}

.btn-primary {
  --bs-btn-bg: var(--color-accent);
  --bs-btn-border-color: var(--color-accent);
  --bs-btn-hover-bg: var(--color-accent-hover);
  --bs-btn-hover-border-color: var(--color-accent-hover);
  --bs-btn-active-bg: var(--color-accent-hover);
  --bs-btn-active-border-color: var(--color-accent-hover);
  --bs-btn-disabled-bg: var(--color-accent);
  --bs-btn-disabled-border-color: var(--color-accent);
}

.btn-outline-primary {
  --bs-btn-color: var(--color-accent);
  --bs-btn-border-color: var(--color-accent);
  --bs-btn-hover-bg: var(--color-accent);
  --bs-btn-hover-border-color: var(--color-accent);
  --bs-btn-active-bg: var(--color-accent-hover);
  --bs-btn-active-border-color: var(--color-accent-hover);
  --bs-btn-disabled-color: var(--color-accent);
  --bs-btn-disabled-border-color: var(--color-accent);
}

.text-primary {
  color: var(--color-accent) !important;
}

.bg-primary {
  background-color: var(--color-accent) !important;
}

.bg-primary-subtle {
  background-color: var(--color-accent-soft) !important;
}

/* ---------- Навбар ---------- */
.navbar-site {
  background: var(--color-nav) !important;
  padding: var(--space-4) 0;
  box-shadow: var(--shadow);
}

.navbar-site .navbar-brand,
.navbar-site .nav-link {
  color: var(--color-nav-text) !important;
}

.navbar-site .navbar-brand {
  font-weight: var(--font-bold);
  font-size: 1.25rem;
}

.navbar-site .nav-link {
  font-weight: var(--font-medium);
  font-size: 0.9375rem;
  padding: 0.5rem 0.75rem !important;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.navbar-site .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

.navbar-site .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-nav-text);
}

.navbar-site .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.navbar-site .nav-icon {
  color: var(--color-nav-text);
  opacity: 0.9;
  padding: 0.35rem;
}

.logo-mark {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-badge);
  box-shadow: var(--shadow);
}

.logo-text, .logo-bg {
  font-family: var(--font-sans);
}

/* ---------- Лента с меню под логото ---------- */
.site-menu-bar {
  background: var(--color-nav);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
}

.site-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}

.site-menu-list li {
  margin: 0;
}

.site-menu-list a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--color-nav-text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: var(--font-medium);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.site-menu-list a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

@media (max-width: 991.98px) {
  .site-menu-bar {
    display: none;
  }
}
/* ---------- Footer ---------- */
footer.bg-light {
  background: var(--color-nav) !important;
  color: var(--color-nav-text);
  border-top: none !important;
  padding: var(--space-8) 0 !important;
}

footer .text-muted {
  color: rgba(245, 245, 245, 0.75) !important;
}

footer a {
  color: var(--color-nav-text);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .form-control {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

footer .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

footer .btn-outline-primary {
  border-color: var(--color-gold-soft);
  color: var(--color-gold-soft);
}

footer .btn-outline-primary:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #fff;
}

/* Shell tweaks (бяха inline в layout след file_get_contents site.css) */
body {
  font-family: var(--font-sans);
}

.btn {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.2s ease-in-out;
}

.btn:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.card {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: none;
}

/* Global layout shell styles moved from app-head-assets.blade.php */
/* Shared editorial site header (homepage + internal pages) */
.site-header-bar {
  background: #e4ebe6;
  padding-top: 0;
  border-bottom: 0;
  z-index: 1020;
}

.site-header-bar__inner {
  width: min(var(--site-max-width, 1120px), 100% - 24px);
  max-width: var(--site-max-width, 1120px);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  background: #e4ebe6;
  border-bottom: 1px solid rgba(26, 48, 36, 0.1);
}

.site-header-bar__inner > .site-header {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

.site-header {
  --he-ink: #143026;
  --he-forest: #1a3024;
  --he-forest-deep: #12261d;
  --he-cream: #f3f3f3;
  --he-serif: "Libre Baskerville", "Times New Roman", Georgia, serif;
  --he-sans: "Montserrat", system-ui, sans-serif;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px 14px;
  min-height: 54px;
  padding: 0;
  margin: 0;
  background: #e4ebe6;
  color: #2c3330;
  border: 0;
  border-bottom: 1px solid rgba(26, 48, 36, 0.1);
  position: relative;
  z-index: 40;
  box-shadow: none;
  overflow: visible;
}

.site-header-bar .site-header {
  border-bottom: 0;
  /* Не нулирай margin — иначе хедърът лепне вляво и се разминава със shell-а */
  margin-top: 0;
  margin-bottom: 0;
}

.site-header--embedded {
  margin: 0 0 20px !important;
  padding: 0 4px 0 10px;
}

.site-header .home-top__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--he-ink);
  text-decoration: none;
  flex: 0 0 auto;
  padding: 10px 8px 10px 0;
}

.site-header .home-top__brand-mark {
  display: grid;
  place-items: center;
  color: var(--he-forest);
}

.site-header .home-top__brand-text {
  font-family: var(--he-serif);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--he-ink);
}

.site-header__toggler {
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(26, 48, 36, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  display: none;
}

.site-header__toggler .navbar-toggler-icon {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826,48,36,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.site-header__collapse {
  display: flex;
  align-items: center;
  flex: 1 1 0%;
  min-width: 0;
  gap: 10px;
}

@media (min-width: 992px) {
  .site-header__toggler {
    display: none !important;
  }
  .site-header__collapse.collapse {
    display: flex !important;
    height: auto !important;
    visibility: visible !important;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }
  .site-header .home-top__nav {
    flex: 1 1 auto;
    min-width: 0;
  }
  .site-header .home-top__actions {
    flex: 0 0 auto;
    margin-left: 0;
  }
}
.site-header .home-top__nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex: 1 1 auto;
  gap: 2px;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: visible;
}

.site-header .home-top__nav > a,
.site-header .home-top__more {
  display: inline-flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
}

.site-header .home-top__nav > a + a,
.site-header .home-top__nav > a + .home-top__more,
.site-header .home-top__nav > .home-top__more {
  border-left: 0;
}

.site-header .home-top__nav > a,
.site-header .home-top__more > summary {
  color: #2c3330;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  background: none;
  border: 0;
  cursor: pointer;
  list-style: none;
  padding: 14px 8px;
  line-height: 1.2;
}

.site-header .home-top__more > summary {
  display: inline-flex;
  align-items: center;
}

.site-header .home-top__nav > a:hover,
.site-header .home-top__nav > a.is-active,
.site-header .home-top__more[open] > summary,
.site-header .home-top__more > summary.is-active {
  color: var(--he-forest);
}

.site-header .home-top__more {
  position: relative;
}

.site-header .home-top__more > summary::-webkit-details-marker {
  display: none;
}

.site-header .home-top__more > summary::after {
  content: "";
  display: inline-block;
  width: 0.35em;
  height: 0.35em;
  margin-left: 0.4em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.site-header .home-top__more-menu {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  z-index: 50;
  min-width: 200px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e4ddd0;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(18, 38, 29, 0.14);
}

.site-header .home-top__more-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--he-ink);
  text-decoration: none;
  font-size: 0.88rem;
}

.site-header .home-top__more-menu a:hover {
  background: var(--he-cream);
}

.site-header .home-top__actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex: 0 0 auto;
}

.site-header .home-top__profile {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(26, 48, 36, 0.16);
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.site-header .home-top__profile:hover {
  color: var(--he-forest);
  border-color: rgba(26, 48, 36, 0.28);
  background: #faf9f6;
}

.site-header .navbar-pm-link {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a3024;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(26, 48, 36, 0.14);
}

.site-header .navbar-user-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.5rem 0.2rem 0.2rem;
  border-radius: 6px;
  color: #2c3330;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(26, 48, 36, 0.14);
  cursor: pointer;
  max-width: min(240px, 40vw);
}

.site-header .navbar-user-avatar,
.site-header .navbar-user-avatar-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.site-header .navbar-user-avatar-letter {
  background: #efe6d6;
  color: #1a3024;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .site-header {
    flex-wrap: wrap;
  }
  .site-header__toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .site-header__collapse {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-bottom: 12px;
  }
  .site-header__collapse.show {
    display: flex;
  }
  .site-header .home-top__nav {
    flex-direction: column;
    flex-wrap: wrap;
  }
  .site-header .home-top__nav > a + a,
  .site-header .home-top__nav > a + .home-top__more,
  .site-header .home-top__nav > .home-top__more {
    border-left: 0;
    border-top: 0;
  }
  .site-header .home-top__actions {
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .site-header .home-top__more-menu {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px;
  }
}
/* Достъпност: извън екрана до Tab фокус — без „тъмна лента“ при position:fixed */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.5rem 1rem;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 0 0 6px 6px;
  white-space: nowrap;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 0.5rem;
  top: 0.5rem;
  outline: 2px solid var(--color-accent, #1a3024);
  outline-offset: 2px;
}

/* Видим фокус при клавиатурна навигация */
:focus-visible {
  outline: 2px solid var(--color-accent, #1a3024);
  outline-offset: 2px;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-content {
  flex: 1;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  min-width: 0;
}

/* Трохички: един размер (rem) и отстояние под лентата — форум и профил ползват същите променливи */
:root {
  --site-breadcrumb-font-size: 0.875rem;
  --site-breadcrumb-line-height: 1.5;
  --site-breadcrumb-spacing-after: 1.25rem;
}

@media (min-width: 768px) {
  :root {
    --site-breadcrumb-spacing-after: 1.5rem;
  }
}
.app-content .container {
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

/* Homepage + вътрешни: бял фон; блоковете се отличават със сенки */
.homepage-content-bg {
  background-color: #fff;
}

.homepage-content-bg:has(.homepage-wrapper) {
  background-color: #fff !important;
}

[data-theme=dark] .homepage-content-bg {
  background-color: #1a1a1a;
}

/* Вътрешни страници — бял canvas; блоковете се отличават със сенки */
.site-editorial-canvas {
  --he-page-gutter: 12px;
  width: min(var(--site-max-width, 1120px), 100% - var(--he-page-gutter) * 2);
  margin-inline: auto;
  background: var(--color-bg, #ffffff);
  padding: 8px 12px 24px;
  box-sizing: border-box;
  min-width: 0;
}

.site-editorial-canvas > .container,
.site-editorial-canvas .site-page-head-fullbleed,
.site-editorial-canvas .articles-page-shell {
  max-width: none;
  width: 100%;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .site-editorial-canvas > .container,
  .site-editorial-canvas .site-page-head-fullbleed,
  .site-editorial-canvas .articles-page-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
/* Трохички + горен leaderboard: същата ширина и падинг като navbar / .app-content .container (1160px) */
.site-page-head-fullbleed {
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
  position: relative;
}

.site-page-head-fullbleed__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

table {
  width: 100%;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Хоризонтален банер под навигацията */
.site-header-banner-strip {
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .site-header-banner-strip {
    margin-bottom: 1rem;
  }
}
/* Банери – еднакви размери на вътрешните страници */
.banner-item {
  width: 100%;
}

.banner-item-inner {
  width: 100%;
  height: 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f3f5;
  border-radius: 6px;
}

.banner-item-link {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-item-inner--code {
  height: auto;
  min-height: 100px;
  padding: 0.5rem;
}

[data-theme=dark] {
  color-scheme: dark;
  background: #1a1a1a;
  color: #e0e0e0;
}

[data-theme=dark] .card {
  background: #252525;
  border-color: #333;
}

[data-theme=dark] .table-light {
  background: #252525;
}

[data-font-size=small] .app-content {
  font-size: 0.9rem;
}

[data-font-size=large] .app-content {
  font-size: 1.1rem;
}

[data-view-compact=true] .card-body {
  padding: 0.5rem 0.75rem;
}

[data-view-compact=true] .forum-post-body p {
  margin-bottom: 0.25rem;
}

.navbar-container--forum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
}

/* Utilities */
/* Bootstrap .p-lg-5 е 3rem — твърде широко за текстови карти; намалено за повече ширина на съдържанието */
@media (min-width: 992px) {
  .p-lg-5 {
    padding: 1.5rem !important;
  }
}
.hover-shadow:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.hover-dark:hover {
  color: #111827 !important;
}

/* Трохички – един вид навсякъде (без Bootstrap .small / вложени em) */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb-item, .breadcrumb-item.active {
  display: inline-flex;
  align-items: center;
  line-height: var(--site-breadcrumb-line-height);
}

.breadcrumb-sonovik.breadcrumb,
.breadcrumb-sonovik .breadcrumb-item,
.breadcrumb-sonovik .breadcrumb-item a,
.breadcrumb-sonovik .breadcrumb-item.active {
  font-family: "Montserrat", sans-serif;
  font-size: var(--site-breadcrumb-font-size);
  line-height: var(--site-breadcrumb-line-height);
}

/* Bootstrap: padding-left на li + padding-right на ::before → прекалено място пред разделителя */
.breadcrumb-sonovik .breadcrumb-item + .breadcrumb-item {
  padding-left: 0;
}

.breadcrumb-sonovik .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #adb5bd;
  float: none;
  flex: 0 0 auto;
  padding-left: 0.25rem;
  padding-right: 0.35rem;
  align-self: center;
}

.breadcrumb-sonovik .breadcrumb-item.active {
  font-weight: 500;
}

[data-theme=dark] .site-breadcrumb-trail .text-dark {
  color: var(--bs-body-color) !important;
}

/* Един ред: при липса на място етикетите се скъсяват с … (пълният текст е в title) */
nav:has(> .site-breadcrumb-trail) {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.site-breadcrumb-trail.breadcrumb {
  flex-wrap: nowrap;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.site-breadcrumb-trail > .breadcrumb-item {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.site-breadcrumb-trail > .breadcrumb-item:first-child {
  flex: 0 0 auto;
  max-width: none;
  overflow: visible;
}

.site-breadcrumb-trail > .breadcrumb-item:not(:first-child) {
  flex: 0 1 auto;
}

.site-breadcrumb-trail > .breadcrumb-item > a {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.site-breadcrumb-trail__label {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-breadcrumb-trail--compact {
  overflow: hidden;
}

.site-breadcrumb-trail--compact .breadcrumb-item:last-child {
  min-width: 0;
}

.sonovik-page-head-align .sonovik-head-breadcrumb-nav {
  padding-top: 0.55rem;
  padding-bottom: 0.15rem;
  box-sizing: border-box;
}

/* Editorial header — matches homepage home-top chrome */
.navbar-site.navbar-site--dark {
  background: var(--color-bg, #ffffff) !important;
  border-bottom: 1px solid rgba(26, 48, 36, 0.1);
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.navbar-site--dark .navbar-container,
.navbar-site--dark .container {
  max-width: var(--site-max-width);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  min-height: 54px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  box-sizing: border-box;
}

.navbar-site--dark .navbar-container--forum {
  padding-left: 1rem;
}

.navbar-site--dark .navbar-brand {
  color: #143026 !important;
  background: none !important;
  padding: 10px 8px 10px 0;
  gap: 8px;
  flex-shrink: 0;
  max-width: 100%;
  text-decoration: none;
  align-items: center;
}

.navbar-site--dark .navbar-brand:hover {
  color: #1a3024 !important;
  opacity: 1;
}

.navbar-site--dark .navbar-brand-mark {
  width: auto;
  height: auto;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: #1a3024;
  border: 0;
  box-shadow: none;
  font-size: 1.15rem;
  flex: 0 0 auto;
  padding: 0;
}

.navbar-site--dark .navbar-brand-copy {
  display: grid;
  min-width: 0;
}

.navbar-site--dark .navbar-brand-title {
  color: #143026;
  font-family: var(--font-serif, "Libre Baskerville", Georgia, serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.navbar-site--dark .navbar-brand-subtitle {
  display: none;
}

@media (min-width: 992px) {
  .navbar-site--dark .navbar-collapse {
    flex: 1;
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    min-width: 0;
  }
  .navbar-site--dark .navbar-nav.me-auto {
    flex: 1 1 auto;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    min-width: 0;
    flex-wrap: nowrap;
  }
  .navbar-site--dark .navbar-actions {
    width: auto !important;
    max-width: 100%;
    margin-left: auto !important;
    flex-shrink: 0;
  }
  .navbar-site--dark .navbar-actions .dropdown {
    width: auto !important;
  }
  .navbar-site--dark .navbar-user-toggle {
    width: auto !important;
    max-width: min(320px, 42vw);
  }
  .navbar-site--dark .navbar-actions .dropdown-menu {
    width: auto !important;
  }
  .navbar-site--dark .navbar-nav .nav-item + .nav-item .nav-link {
    border-left: 1px solid rgba(26, 48, 36, 0.14);
    border-radius: 0;
  }
}
.navbar-site--dark .navbar-nav .nav-link {
  color: #2c3330 !important;
  font-weight: 500;
  font-size: 0.8rem;
  padding: 14px 11px !important;
  border-radius: 0;
  letter-spacing: 0;
  line-height: 1.2;
  background: transparent !important;
  box-shadow: none !important;
}

.navbar-site--dark .navbar-nav .nav-link:hover,
.navbar-site--dark .navbar-nav .nav-link.active-page {
  color: #1a3024 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.navbar-site--dark .navbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Login = text link; Register = forest CTA (homepage pattern) */
.navbar-site--dark .btn-header {
  padding: 0;
  border-radius: 0;
  font-size: 0.88rem;
  font-weight: 500;
  background: none;
  color: #2c3330 !important;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: none;
  min-height: auto;
}

.navbar-site--dark .btn-header:hover {
  background: none;
  color: #1a3024 !important;
}

.navbar-site--dark .btn-header--soft {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 6px;
  background: #1a3024 !important;
  color: #fff !important;
  border: none;
  box-shadow: none;
  font-size: 0.84rem;
  font-weight: 600;
}

.navbar-site--dark .btn-header--soft:hover {
  background: #12261d !important;
  color: #fff !important;
}

.navbar-site--dark .navbar-pm-link {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a3024;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(26, 48, 36, 0.14);
}

.navbar-site--dark .navbar-pm-link:hover {
  background: rgba(26, 48, 36, 0.06);
  color: #1a3024;
}

.navbar-site--dark .navbar-pm-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  background: #ef4444;
  color: #fff;
  box-shadow: 0 0 0 2px #ffffff;
}

.navbar-site--dark .navbar-user-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.5rem 0.2rem 0.2rem;
  border-radius: 6px;
  color: #2c3330;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(26, 48, 36, 0.14);
  cursor: pointer;
}

.navbar-site--dark .navbar-user-toggle:hover {
  background: rgba(26, 48, 36, 0.06);
  color: #1a3024;
}

.navbar-site--dark .navbar-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.navbar-site--dark .navbar-user-avatar-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #efe6d6;
  color: #1a3024;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-message-modal .modal-content {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
}

.quick-message-modal .modal-header {
  background: linear-gradient(135deg, #12261d 0%, var(--color-accent, #1a3024) 100%);
  color: #fff;
  border: 0;
}

.quick-message-modal .modal-body {
  background: var(--color-bg, #ffffff);
}

.quick-message-modal__messages {
  min-height: 260px;
  max-height: min(58vh, 480px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.25rem;
}

.quick-message-modal__empty {
  color: #64748b;
  text-align: center;
  padding: 2rem 1rem;
}

.quick-message-modal__bubble {
  max-width: 85%;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  line-height: 1.45;
  font-size: 0.92rem;
  word-break: break-word;
}

.quick-message-modal__bubble--them {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
}

.quick-message-modal__bubble--me {
  align-self: flex-end;
  background: var(--color-accent, #1a3024);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.quick-message-modal__meta {
  font-size: 0.72rem;
  opacity: 0.78;
  margin-top: 0.35rem;
}

.quick-message-modal__status {
  min-height: 1.2rem;
}

.quick-message-modal__footer-link {
  color: #475569;
  text-decoration: none;
}

.quick-message-modal__footer-link:hover {
  color: #1e293b;
  text-decoration: underline;
}

.navbar-site--dark .navbar-toggler {
  border-color: rgba(154, 123, 79, 0.22);
  color: var(--color-accent, #1a3024);
  background: rgba(255, 255, 255, 0.72);
}

.navbar-site--dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826,48,36,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Форум: лого вляво, основното меню в средата (lg+), hamburger вдясно (мобилен) */
@media (min-width: 992px) {
  .navbar-site--dark .navbar-container--forum .navbar-brand {
    order: 1;
  }
  .navbar-site--dark .navbar-container--forum .navbar-toggler {
    order: 3;
    flex-shrink: 0;
  }
  .navbar-site--dark .navbar-container--forum .navbar-collapse {
    order: 2;
  }
}
@media (max-width: 991.98px) {
  .navbar-site--dark .navbar-container--forum .navbar-brand {
    order: 1;
  }
  .navbar-site--dark .navbar-container--forum .navbar-toggler {
    order: 2;
  }
  /* Само при отворено меню – да не режем dropdown; при .collapsing остава Bootstrap overflow за анимация */
  .navbar-site--dark .navbar-collapse.show {
    overflow: visible;
  }
  .navbar-site--dark .navbar-collapse {
    order: 3;
    width: 100%;
  }
  .navbar-site--dark .navbar-nav.me-auto {
    justify-content: flex-start;
  }
  .navbar-site--dark .navbar-nav .nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .navbar-site--dark .btn-header--soft {
    min-height: 44px;
    align-items: center;
  }
  .navbar-site--dark .navbar-toggler {
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem;
  }
  .navbar-site--dark .navbar-actions {
    width: 100%;
  }
  .navbar-site--dark .navbar-actions .dropdown {
    width: 100%;
  }
  .navbar-site--dark .navbar-user-toggle {
    width: 100%;
  }
  /* Popper често дава translate отрицателно наляво при dropdown-menu-end – подравняване под бутона */
  .navbar-site--dark .navbar-actions .dropdown-menu {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
  }
}
/* Footer: единен .home-footer (виж home-content/_editorial-footer.scss) */
/* Глобална адаптивност за всички страници */
@media (max-width: 767.98px) {
  .app-content .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .navbar-site--dark .navbar-container, .navbar-site--dark .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .navbar-site--dark .navbar-brand-title {
    font-size: 0.95rem;
  }
  .navbar-site--dark .navbar-brand-subtitle {
    display: none;
  }
  .site-page-head-fullbleed {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  main.pb-4 .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .card-body {
    padding: 0.75rem 1rem;
  }
  .btn:not(.homepage-search-submit) {
    min-height: 44px;
  }
  /* Същата минимална височина като бутоните (touch), за да не „виси“ единият елемент */
  select.form-select:not(#homepage-search-in) {
    min-height: 44px;
  }
  input.form-control, select.form-select, textarea.form-control {
    font-size: 16px;
  }
}
@media (max-width: 575.98px) {
  .app-content .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .navbar-site--dark .navbar-container, .navbar-site--dark .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .site-page-head-fullbleed {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  main.pb-4 .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .card-body {
    padding: 0.5rem 0.75rem;
  }
}
/* Начална търсачка: 3 отделни блока (поле | select | бутон), еднаква височина */
#homepage-site-search-form {
  --home-search-radius: 6px;
  flex-wrap: wrap;
}

@media (min-width: 992px) {
  #homepage-site-search-form {
    flex-wrap: nowrap;
  }
}
#homepage-site-search-form .homepage-search-field-group {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: none;
  flex-wrap: nowrap;
  align-items: stretch;
}

@media (max-width: 575.98px) {
  #homepage-site-search-form .homepage-search-field-group {
    flex: 1 1 100%;
  }
  #homepage-site-search-form .form-select {
    flex: 1 1 calc(60% - 0.25rem);
    min-width: 0;
    width: auto;
  }
  #homepage-site-search-form button.homepage-search-submit {
    flex: 1 1 calc(40% - 0.25rem);
  }
}
#homepage-site-search-form .homepage-search-field-group > .input-group-text,
#homepage-site-search-form .homepage-search-field-group > .form-control,
#homepage-site-search-form .form-select,
#homepage-site-search-form button.homepage-search-submit {
  box-shadow: none !important;
  border-color: #e5e7eb !important;
  border-radius: var(--home-search-radius) !important;
}

#homepage-site-search-form .homepage-search-field-group > .input-group-text,
#homepage-site-search-form .homepage-search-field-group > .form-control,
#homepage-site-search-form .form-select {
  background-color: #fff !important;
}

#homepage-site-search-form .homepage-search-field-group > .input-group-text {
  padding: 0 0.65rem 0 0.75rem;
  border-right: 0 !important;
  border-radius: var(--home-search-radius) 0 0 var(--home-search-radius) !important;
}

#homepage-site-search-form .homepage-search-field-group > .form-control {
  border-left: 0 !important;
  border-radius: 0 var(--home-search-radius) var(--home-search-radius) 0 !important;
}

#homepage-site-search-form button.homepage-search-submit {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--color-accent) !important;
  border: 1px solid var(--color-accent) !important;
  color: #fff !important;
  transform: none;
  padding: 0.375rem 1rem;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 0;
  box-shadow: none !important;
  align-self: stretch;
}

#homepage-site-search-form button.homepage-search-submit:hover,
#homepage-site-search-form button.homepage-search-submit:focus,
#homepage-site-search-form button.homepage-search-submit:active {
  background-color: var(--color-accent-hover) !important;
  border-color: var(--color-accent-hover) !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none;
}

#homepage-site-search-form .homepage-search-field-group:focus-within > .input-group-text,
#homepage-site-search-form .homepage-search-field-group:focus-within > .form-control {
  border-color: #d1d5db !important;
}

/* Търсачка на начална: винаги подравнена вляво (еднакво с hero колоните); десктоп = по-голям отстъп отгоре */
@media (min-width: 992px) {
  .homepage-search-hero-strip {
    padding-top: 3rem;
    padding-bottom: 0.25rem;
  }
}
.homepage-search-hero-strip .hero-top-section-inner {
  text-align: left;
}

#homepage-site-search-form .form-control:focus,
#homepage-site-search-form .form-select:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: #d1d5db !important;
  background-color: #fff !important;
}

#homepage-site-search-form .form-control:focus-visible,
#homepage-site-search-form .form-select:focus-visible {
  outline: 2px solid var(--color-accent, #1a3024) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
  border-color: var(--color-accent, #1a3024) !important;
}

#homepage-site-search-form button.homepage-search-submit:focus-visible {
  outline: 2px solid var(--color-accent, #1a3024) !important;
  outline-offset: 2px !important;
}

#homepage-search-autocomplete {
  z-index: 1050;
  max-height: 280px;
  overflow-y: auto;
  left: 0 !important;
  right: 0 !important;
}

#homepage-search-in {
  width: auto;
  min-width: 120px;
  max-width: 180px;
  flex: 0 0 auto;
  align-self: stretch;
}

/* Navbar user portal dropdown critical styles moved from app-head-assets.blade.php */
.navbar-user-portal-dropdown {
  min-width: min(280px, 92vw);
  max-height: min(85vh, 580px);
  overflow-y: auto;
  overflow-x: hidden;
}

.navbar-user-portal-dropdown .dropdown-item.active i.text-secondary {
  color: inherit;
  opacity: 0.95;
}

/* Global shell helpers moved from app-footer-scripts.blade.php */
.site-back-to-top {
  z-index: 1040;
  width: 48px;
  height: 48px;
  transition: opacity 0.2s, visibility 0.2s;
}

.site-cookie-consent-bar {
  z-index: 1050;
}

.global-shortcuts-overlay {
  z-index: 1060;
  background: rgba(0, 0, 0, 0.5);
}

.global-shortcuts-card {
  max-width: 420px;
}

/* ============================================
   Global responsive: full-width buttons on xs
   ============================================ */
@media (max-width: 575.98px) {
  .btn:not(.btn-link):not(.rounded-pill):not(.homepage-search-submit) {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  #homepage-site-search-form button.homepage-search-submit {
    width: auto !important;
    max-width: none !important;
    justify-content: center;
  }
}
/* Единен editorial футер (същият като homepage) — в site.css за всички публични страници */
/* Homepage footer — forest green, site olive accents */
.home-footer {
  --hf-gold: #6b8e23;
  --hf-gold-soft: #a3b86a;
  --hf-text: #e8e2d6;
  --hf-muted: #c5beb2;
  --he-serif: "Libre Baskerville", "Times New Roman", Georgia, serif;
  --he-sans: "Montserrat", system-ui, sans-serif;
  --he-shell: 1120px;
  --he-page-gutter: 12px;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  /* Бели полета отстрани; зеленият блок е в __inner */
  background: #fff;
  color: var(--hf-text);
}

.home-footer__inner {
  width: min(var(--he-shell), 100% - var(--he-page-gutter) * 2);
  margin-inline: auto;
  padding: 40px 1.5rem 20px;
  box-sizing: border-box;
  background: #1a3024;
}

.homepage-editorial .home-footer {
  background: #1a3024;
}

.homepage-editorial .home-footer__inner {
  width: 100%;
  background: transparent;
  padding-left: 28px;
  padding-right: 28px;
}

.home-footer__brand {
  margin: 0;
  min-width: 0;
}

.home-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
  align-items: start;
}

.home-footer__col {
  min-width: 0;
}

.home-footer__logo {
  display: inline-block;
  margin: 0 0 14px;
  font-family: var(--he-serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--hf-gold);
  text-decoration: none;
}

.home-footer__logo:hover {
  color: var(--hf-gold-soft);
}

.home-footer__tagline {
  margin: 0 0 16px;
  max-width: 28ch;
  font-family: var(--he-sans);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--hf-muted);
}

.home-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.home-footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  margin: 0;
  line-height: 0;
  border-radius: 50%;
  border: 1.5px solid var(--hf-gold);
  color: var(--hf-gold);
  text-decoration: none;
  box-sizing: border-box;
  vertical-align: middle;
  transition: background 0.15s ease, color 0.15s ease;
}

.home-footer__social-btn i {
  display: block;
  width: 1em;
  height: 1em;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  speak: never;
}

.home-footer__social-btn i::before {
  display: block;
  line-height: 1;
}

.home-footer__social-btn:hover {
  background: var(--hf-gold);
  color: #1a3024;
}

.home-footer__heading {
  margin: 0 0 16px;
  font-family: var(--he-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hf-gold);
}

.home-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-footer__links a {
  color: var(--hf-text);
  text-decoration: none;
  font-family: var(--he-sans);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.35;
}

.home-footer__links a:hover {
  color: var(--hf-gold-soft);
}

.home-footer__art {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 6px;
  color: var(--hf-gold);
}

.home-footer__art svg {
  width: min(160px, 18vw);
  height: auto;
  display: block;
}

.home-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(196, 165, 116, 0.35);
  font-family: var(--he-sans);
  font-size: 0.82rem;
  color: var(--hf-muted);
}

.home-footer__locale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.home-footer__locale a {
  color: var(--hf-muted);
  text-decoration: none;
}

.home-footer__locale a:hover,
.home-footer__locale a.is-active {
  color: var(--hf-gold-soft);
}

.home-footer__locale a.is-active {
  font-weight: 600;
}

@media (max-width: 900px) {
  .home-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 28px;
  }
  .home-footer__brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 560px) {
  .home-footer__inner {
    padding: 40px 0 18px;
  }
  .home-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Рекламни слотове (728×90 и др.) — винаги с основния CSS, не само articles-public */
/* Рекламни слотове (<x-site.ad-slot>) — импортира се в _site.scss, за да са стиловете
   винаги налични с основния CSS (не само при отделен articles-public bundle). */
.articles-breadcrumb-bar .articles-ad-slot--leaderboard {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--art-border, #e2e8f0);
  /* Отстояние под банера — Bootstrap mb-3/mb-4 е твърде малко и визуално се слева с панела */
  margin-bottom: 0 !important;
}

/* Пожелания, Картички, Статии и др.: ясен интервал между горния leaderboard и основното съдържание */
.site-page-head-fullbleed:has(.articles-ad-slot--leaderboard) .articles-breadcrumb-bar {
  margin-bottom: 0 !important;
}

.site-page-head-fullbleed:has(.articles-ad-slot--leaderboard) + .container {
  padding-top: 1.25rem !important;
}

@media (min-width: 768px) {
  .site-page-head-fullbleed:has(.articles-ad-slot--leaderboard) + .container {
    padding-top: 1.5rem !important;
  }
}
.articles-ad-slot--leaderboard {
  width: 728px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  min-height: 90px;
  max-height: 90px;
  box-sizing: border-box;
}

.articles-ad-slot-inner {
  background: #e8edf3;
  border: 1px dashed #94a3b8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 500;
  box-sizing: border-box;
}

.articles-ad-slot-placeholder-label {
  color: #475569;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
}

[data-theme=dark] .articles-ad-slot-inner {
  background: #334155;
  border-color: #64748b;
  color: #94a3b8;
}

[data-theme=dark] .articles-ad-slot-placeholder-label {
  color: #e2e8f0;
}

.articles-ad-slot--leaderboard .articles-ad-slot-inner {
  width: 728px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  height: 90px;
  min-height: 90px;
  max-height: 90px;
  overflow: hidden;
}

.articles-ad-slot--leaderboard .banner-item {
  width: 100%;
  height: 100%;
  max-height: 90px;
  margin: 0 !important;
}

.articles-ad-slot--leaderboard .banner-item-inner {
  width: 100%;
  height: 100%;
  max-height: 90px;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.articles-ad-slot--leaderboard .banner-item-link {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 90px;
}

.articles-ad-slot--leaderboard .banner-item-img {
  width: 100%;
  height: 100%;
  max-width: 728px;
  max-height: 90px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.articles-ad-slot--leaderboard .banner-item-inner--code {
  height: 100%;
  max-height: 90px;
  min-height: 0;
  overflow: auto;
  padding: 0.25rem;
}

.articles-ad-slot--skyscraper .articles-ad-slot-inner {
  width: 100%;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  height: 600px;
  min-height: 240px;
}

@media (max-width: 575.98px) {
  .articles-ad-slot--skyscraper .articles-ad-slot-inner {
    height: 280px;
    max-height: 50vh;
  }
}
