﻿/* ===== INNER PAGES LAYOUT ===== */
body.inner-page { background: var(--c2); }

.inner-layout { min-height: 100vh; }

/* Top header */
.top-header-bar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--c1);
  box-shadow: 0 3px 10px rgba(10, 10, 10, 0.03);
}

.top-header-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 30px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  direction: ltr;
}

.top-logo {
  flex: 0 0 25%;
  max-width: 25%;
}

.top-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.top-logo img { width: 160px; max-width: 100%; height: auto; display: block; }

.top-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 48px;
  flex-wrap: wrap;
  direction: rtl;
}

.top-nav-link {
  font-size: 22px;
  font-weight: 500;
  color: var(--c8);
  padding: 6px 0 20px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.top-nav-link.is-active {
  color: var(--c5);
  border-bottom-color: var(--c5);
}

.top-nav-link:hover {
  color: var(--c6);
  border-bottom-color: var(--c6);
}

.top-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--c8);
  color: var(--c1);
  border-radius: var(--radius);
  font-size: 20px;
}

.inner-main {
  width: 100%;
  padding: 0;
  direction: rtl;
}

.inner-section {
  margin: 10px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .top-nav { display: none; }
  .top-menu-btn { display: flex; align-items: center; justify-content: center; }
  .top-header-inner { min-height: 70px; padding: 0 16px; }
  .top-logo { flex: 0 0 auto; max-width: 50%; }
  .top-logo img { width: 110px; }
}
@media (max-width: 480px) {
  .top-header-inner {
    padding: 0 12px;
    min-height: 64px;
  }

  .top-logo img {
    width: 96px;
  }
}
/* Shared inner-page mobile */
@media (max-width: 768px) {
  body.inner-page {
    overflow-x: clip;
  }

  .inner-section,
  .svc-events-page .inner-section,
  .project-single-page .inner-section {
    margin: 6px;
  }
}

