/* Minimal overrides — BB layout CSS + skin handle page bands and modules. */

:root {
  --fl-body-bg: #282a2e;
  --fl-body-text: #808080;
  --fl-link: #4e85ce;
  --fl-nav-hover: #95bf48;
}

/* Beaver Builder full-width shell */
.fl-builder.fl-full-width .fl-page-content {
  background-color: var(--fl-body-bg);
}

.fl-builder.fl-full-width .fl-content-full.container {
  margin: 0;
  padding: 0;
  width: auto;
  max-width: none;
}

.fl-builder.fl-full-width .fl-content-full > .row {
  margin: 0;
}

.fl-builder.fl-full-width .fl-content {
  margin: 0;
  padding: 0;
}

.fl-builder.fl-full-width .fl-post-content {
  padding: 0;
}

.fl-builder.fl-full-width .fl-builder-content {
  margin: 0;
}

/* Non-builder pages: white content column */
.single-post .fl-page-content,
.archive .fl-page-content,
.search .fl-page-content,
.error404 .fl-page-content {
  background-color: #ffffff;
}

.fl-post-content img {
  max-width: 100%;
  height: auto;
}

/* BB entrance animations need front-end JS to add .fl-animated; show content without it */
.fl-builder-content .fl-animation:not(.fl-animated) {
  opacity: 1 !important;
}

.fl-post-content pre,
.fl-post-content code {
  overflow-x: auto;
}

/* Post layout */
.single-post .fl-post-header {
  margin-bottom: 1.5rem;
}

.single-post .fl-post-title {
  color: #333;
  font-size: 36px;
  margin-top: 0;
}

.single-post .fl-post-meta-top {
  color: var(--fl-body-text);
  font-size: 14px;
  margin-top: 0.5rem;
}

.single-post .fl-post-meta-bottom {
  border-top: 1px solid #e6e6e6;
  font-style: italic;
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  font-size: 14px;
}

.single-post .fl-post-meta-bottom a {
  color: var(--fl-link);
}

/* Archive / search lists */
.fl-rich-text .post-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.fl-rich-text .post-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e6e6e6;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.fl-rich-text .post-list time {
  color: #888;
  font-size: 0.9rem;
}

.fl-rich-text .archive-desc {
  color: var(--fl-body-text);
  margin-bottom: 1rem;
}

.fl-rich-text h1.fl-heading .fl-heading-text {
  color: #333;
  font-size: 36px;
}

.search-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.search-form label {
  width: 100%;
  font-weight: 700;
}

.search-form input {
  flex: 1;
  min-width: 200px;
}

/* Scroll-to-top */
#fl-to-top {
  display: none;
  background-color: rgba(0, 0, 0, 0.2);
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 44px;
  height: 42px;
  text-align: center;
  z-index: 1003;
  text-decoration: none;
}

#fl-to-top:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

#fl-to-top i {
  position: absolute;
  top: 12px;
  left: 14px;
  color: #fff;
  font-size: 16px;
}
