/* ============================================================
   LEFT SIDEBAR TEMPLATE (page-sidebar-layout)
   Based on KADAR CSS, adapted to small template classes:
   .page-sidebar-layout, .page-sidebar-layout__container,
   .page-sidebar-layout__grid, .page-sidebar, .page-content,
   .page-breadcrumbs
   Keeps: .sidebar-menu, .sidebar-events*, .bellows*
   ============================================================ */

/* =========================
   PAGE WRAPPER
========================= */

.page-sidebar-layout {
  background: #f5f5f5;
  padding: 0;
}

.page-sidebar-layout__container {
  width: var(--layout-width, min(86vw, 1688px));
  margin: 0 auto;
  padding: 0 0 60px;
}

/* =========================
   BREADCRUMBS
========================= */

.page-breadcrumbs {
  font-size: 13px;
  color: #666;
  margin: 0;
  padding: 16px 0;
}

.page-breadcrumbs a {
  color: #666;
  text-decoration: none;
}

.page-breadcrumbs a:hover {
  color: #2b92d0;
}

.page-breadcrumbs .separator {
  margin: 0 8px;
  color: #999;
}

.page-breadcrumbs .current {
  color: #333;
}

/* =========================
   LAYOUT: SIDEBAR + CONTENT
========================= */

.page-sidebar-layout__grid {
  display: grid;
  grid-template-columns: minmax(0, 270px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

@media (max-width: 1280px) {
  .page-sidebar-layout__grid {
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 1100px) {
  .page-sidebar-layout__grid {
    grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .page-sidebar-layout__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* =========================
   SIDEBAR (left)
========================= */

.page-sidebar {
  position: relative;
}

/* sticky sidebar (desktop) */
@media (min-width: 901px) {
  .page-sidebar {
    position: sticky;
    top: 24px; /* ако имаш fixed header, стави 90-120px */
    align-self: start;
  }
}

/* mobile separation */
@media (max-width: 900px) {
  .page-sidebar {
    position: static;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 24px;
    margin-bottom: 8px;
  }
}

/* =========================
   BELLOWS (left menu)
   Light styling so it doesn't fight plugin styles
========================= */

.bellows {
  margin: 0 !important;
  max-width: 100%;
  background: #fff !important;
  --bellows-item-padding-v: 10px !important;
  --bellows-item-padding-h: 15px !important;
  --bellows-sub-item-padding-v: 10px !important;
  --bellows-indent: 15px !important;
}

.sidebar-menu .bellows {
  margin: 0 !important;
  max-width: 100%;
  background: #fff !important;
}

.sidebar-menu .bellows,
.sidebar-menu .bellows-nav,
.sidebar-menu .bellows .bellows-menu,
.sidebar-menu .bellows .bellows-menu-item,
.sidebar-menu .bellows .bellows-submenu {
  border: none !important;
  box-shadow: none !important;
}

.bellows .bellows-menu-item,
.bellows .bellows-menu-item > a {
  border-bottom: none !important;
}

/* base links */
.sidebar-menu .bellows a,
.sidebar-menu .bellows .bellows-target,
.sidebar-menu .bellows .bellows-menu-item > a,
.sidebar-menu .bellows .bellows-submenu a {
  color: #000 !important;
  font-weight: 400;
}

/* hover */
.sidebar-menu .bellows a:hover,
.sidebar-menu .bellows .bellows-target:hover,
.sidebar-menu .bellows .bellows-submenu a:hover {
  color: #999 !important;
}

/* level-2 bullet */
.sidebar-menu .bellows .bellows-item-level-2 > a {
  position: relative;
  padding-left: 26px !important;
}

.sidebar-menu .bellows .bellows-item-level-2 > a::before {
  content: "•";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #2c3179;
  font-size: 26px;
  line-height: 1;
}

/* active indicator on level-1 */
.sidebar-menu .bellows .bellows-item-level-1.bellows-active > a {
  position: relative;
}

.sidebar-menu .bellows .bellows-item-level-1.bellows-active > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-80%, -50%);
  width: 18px;
  height: 12px;
  background: #2c3179;
}

/* =========================
   RIGHT CONTENT (Page content card)
========================= */

.page-content {
  min-width: 0;
}

.page-content__card {
  background: #fff;
  padding: 40px 32px 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

@media (max-width: 992px) {
  .page-content__card {
    padding: 32px 20px;
  }
}

.page-content__header {
  margin-bottom: 20px;
}

.page-content__title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  text-align: left; /* ако сакаш центар како кадар, смени во center */
}

.page-content__body {
  font-size: 16px;
  line-height: 1.7;
  color: #222;
}

/* Optional: better media inside content */
.page-content__body img,
.page-content__body iframe,
.page-content__body video {
  max-width: 100%;
  height: auto;
}


.bellows .bellows-nav .bellows-target>.bellows-target-text{
	width: 92%;
}

/* =========================
   TABS UI
========================= */

/* so wrap tabs
  .page-tabs__nav{
  display:flex;
  flex-wrap:wrap;
  gap:18px 24px;
  align-items:flex-end;
  border-bottom:1px solid #e6e6e6;
  padding:0 0 10px;
  margin:0 0 18px;
  overflow:visible;   
}

.page-tabs__btn{
  appearance:none;
  background:transparent;
  border:0;
  padding:0 0 10px;
  cursor:pointer;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#555;
  white-space:nowrap;
  position:relative;
} 
*/


.page-tabs__nav{
  display:flex;
  flex-wrap:wrap;          /* ✅ ако не собира, оди во нов ред */
  column-gap: 28px;
  row-gap:5px;                /* ✅ мал gap меѓу tab-ови */
  align-items:flex-end;

  border-bottom:1px solid #e6e6e6;
  padding:0;
  margin:0 0 18px;

  overflow:visible;        /* ✅ нема slider */
}

.page-tabs__btn{
  appearance:none;
  background:transparent;
  border:0;
  cursor:pointer;

  padding:14px 0 12px;     /* ✅ висина како мени */
  margin:0;

  font-size:14px;
  font-weight:500;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-family: 'Fira Sans';

  color:#111;
  position:relative;

  white-space: wrap;      /* ✅ да се крши текстот */
}

/* Active underline */
.page-tabs__btn.is-active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:3px;
  background:#2b92d0;
}

.page-tabs__panel{
  animation:fadeIn .15s ease-out;
}

.page-tabs a{
  color: #2b92d0;
}
.page-tabs a:hover{
  text-decoration: none;
  color: #2c3179;
  transition: color 0.25s ease-in-out;
}


@keyframes fadeIn{
  from{opacity:.6}
  to{opacity:1}
}

/* =========================
   TABS – линкови по таб
   (секој таб е <a href="/страница/таб-слаг/">)
========================= */

.page-tabs__nav .page-tabs__btn{
  display:inline-block;
  color:#111;
  text-decoration:none;
}

.page-tabs__nav .page-tabs__btn:hover{
  color:#2b92d0;
  text-decoration:none;
  transition:color .2s ease-in-out;
}

.page-tabs__nav .page-tabs__btn.is-active,
.page-tabs__nav .page-tabs__btn.is-active:hover{
  color:#111;
}

.page-tabs__nav .page-tabs__btn:focus-visible{
  outline:2px solid #2b92d0;
  outline-offset:3px;
}
