/*
 * Screen CSS migrated from Elementor Custom Code post 50.
 *
 * This file contains only the non-print portion of the original global style
 * block. It is loaded by the v2 engine with media="all" so post 50 can remain
 * Draft without changing the site's screen layout. Legacy mode continues to
 * receive these rules from post 50 and does not enqueue this file.
 */

/* The immutable print snapshot is built on page load so every native print
 * entry point sees identical DOM. print-core.css is deliberately enqueued
 * with media="print", therefore this screen-loaded rule is required to keep
 * the clone out of normal-page hit testing (notably Elementor popups).
 * The more-specific active print rule in print-core.css reveals it on paper.
 */
[data-bmcpc-print-snapshot-root="1"] {
  display: none !important;
}

.sk-anchor-tabs [type="button"],
.sk-anchor-tabs [type="submit"],
.sk-anchor-tabs button {
  background-color: transparent !important;
}

.sk-anchor-tabs button:hover {
  color: #2b6c5d !important;
}

nav .menu-item span.sub-arrow {
  display: none;
}

nav .menu-item a.elementor-item.elementor-item-active {
  color: #357369 !important;
  font-weight: 800 !important;
}

nav .menu-item .elementor-nav-menu--dropdown .elementor-sub-item {
  color: #357369 !important;
  font-weight: 800 !important;
}

.title-line {
  overflow: hidden;
  padding-left: 3%;
}

.title-line::before,
.title-line::after {
  background-color: #357369;
  content: "";
  display: inline-block;
  height: 2px;
  position: relative;
  vertical-align: middle;
  width: 50%;
}

.title-line::before {
  right: 0.5em;
  margin-left: -50%;
  top: 1.5em;
}

.title-line::after {
  left: 0.5em;
  margin-right: -50%;
  display: none;
}

.btn-green {
  background-color: #357369;
  color: white;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  width: fit-content !important;
  max-height: 42px !important;
  min-width: 150px !important;
  font-size: 0.9rem;
}

.btn-orange,
.btn-AAorange {
  background-color: #ffad0a;
  color: white;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  width: fit-content !important;
  font-size: 0.9rem;
}

.btn-AAorange {
  background-color: #a16b00;
}

.btn-white {
  background-color: white;
  color: #357369;
  border-top-left-radius: 40px;
  border-bottom-right-radius: 40px;
  width: fit-content !important;
  font-size: 0.9rem;
}

.tag-blue {
  background-color: #74c3d4;
  color: white;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
  width: auto;
  min-width: 160px;
  max-width: 160px;
  padding: 12px 0;
  text-align: center;
  letter-spacing: 2px;
}

.tag-gold {
  background-color: #deb407;
  color: white;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
  width: auto;
  min-width: 160px;
  max-width: 160px;
  padding: 12px 0;
  text-align: center;
  letter-spacing: 2px;
}

.home-posts .elementor-post__text {
  display: flex;
  border-left: 2px solid white;
  padding-left: 3%;
}

.home-posts .elementor-post__title {
  order: 2;
}

.home-posts .elementor-post__meta-data {
  order: 1;
  font-weight: 800;
  margin-bottom: 4px;
}

.grid-table .grid-center p {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.grid-table .e-grid {
  grid-template-rows: auto;
}

.section-selector-box {
  min-height: 100px;
}

.section-selector-box p {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn-download {
  width: 100% !important;
}

.btn-download a {
  width: 100% !important;
  border-radius: 32px;
}

.btn-download .elementor-button-content-wrapper {
  justify-content: space-between;
}

.tab-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fffbe8;
  border-radius: 9999px;
  padding: 10px 20px;
  gap: 20px;
  font-family: sans-serif;
}

.tab {
  cursor: pointer;
  font-weight: bold;
  color: #666;
  position: relative;
  padding: 5px 10px;
}

.tab.active {
  color: #2b6c5d;
}

.tab.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: #2b6c5d;
  position: absolute;
  bottom: -5px;
  left: 0;
  border-radius: 2px;
}

.divider {
  width: 1px;
  background: #888;
  height: 20px;
}

.section {
  display: none;
}

.section.elementor-element-edit-mode {
  display: block !important;
}

.section.active {
  display: block;
}

.dropdown-container {
  display: none;
  position: relative;
  background: #fffbe8;
  border-radius: 9999px;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: bold;
}

.dropdown-arrow {
  float: right;
  transition: transform 0.3s;
}

.dropdown-container.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 5px;
  z-index: 10;
}

.dropdown-menu div {
  padding: 10px;
  cursor: pointer;
}

.dropdown-menu div:hover {
  background: #f0f0f0;
}

.dropdown-menu.show {
  display: block;
}

@media (max-width: 768px) {
  .tab-container {
    display: none;
  }

  .dropdown-container {
    display: block;
  }
}

.page-content {
  margin-bottom: 80px;
}
