:root {
  --navy: #082345;
  --navy-2: #123251;
  --green: #5f7132;
  --green-2: #9bbf45;
  --blue: #3f7ec4;
  --paper: #f7f6f2;
  --surface: #ffffff;
  --ink: #1f2b38;
  --muted: #607086;
  --line: #d8ded2;
  --soft: #eef3f7;
  --shadow: 0 18px 44px rgba(8, 35, 69, 0.14);
  --radius: 8px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  background: var(--navy);
  display: grid;
  grid-template-columns: 200px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 8px 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.brand img {
  width: 176px;
  height: 58px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav > a,
.nav-item > a,
.nav-main-row > a {
  position: relative;
  display: inline-flex;
  padding: 24px 0 20px;
}

.main-nav a.active::after,
.main-nav > a:hover::after,
.nav-item:hover > a::after,
.nav-item:hover .nav-main-row > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13px;
  height: 2px;
  background: var(--blue);
}

.nav-item {
  position: relative;
}

.nav-main-row {
  display: contents;
}

.submenu-toggle {
  display: none;
}

.dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 230px;
  background: var(--surface);
  color: #1f6dff;
  padding: 10px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
  box-shadow: var(--shadow);
}

body[dir="rtl"] .dropdown {
  left: auto;
  right: 0;
}

.dropdown.tall {
  min-width: 270px;
  max-height: calc(100vh - 140px);
  overflow: auto;
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  line-height: 1.15;
  font-size: 16px;
  font-weight: 500;
  white-space: normal;
}

.dropdown a:hover {
  background: #eef4ff;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-switcher {
  position: relative;
}

.admin-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-login-link:hover,
.admin-login-link.active {
  background: rgba(255, 255, 255, 0.12);
}

.language-switcher > button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  min-width: 88px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.language-switcher > button::after {
  content: "⌄";
  margin-inline-start: 6px;
  font-size: 14px;
  opacity: 0.95;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
  box-shadow: var(--shadow);
  border: 1px solid rgba(8, 35, 69, 0.12);
}

body[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
}

.language-switcher.open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-menu button {
  width: 100%;
  border: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  background: transparent;
  color: var(--ink);
  text-align: start;
  padding: 10px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
  direction: ltr;
}

.language-menu button:hover,
.language-menu button.active {
  background: #eef4ff;
  color: var(--navy);
}

.language-menu button.active {
  box-shadow: inset 3px 0 0 var(--blue);
}

.language-menu .lang-label {
  direction: auto;
}

.flag-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 18px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(8, 35, 69, 0.16);
}

.flag-emoji {
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1;
}

.flag-ku {
  position: relative;
  display: inline-block;
  background: linear-gradient(180deg, #ed1c24 0 33.33%, #fff 33.33% 66.66%, #2fb344 66.66% 100%);
}

.flag-ku span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd21f;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 2px rgba(255, 210, 31, 0.5),
    0 0 0 4px rgba(255, 210, 31, 0.2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: transparent;
  padding: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: #fff;
}

.container,
.section-heading {
  width: min(1200px, calc(100vw - 56px));
  margin-inline: auto;
}

.section {
  padding: 72px 28px;
}

.section.light {
  background: var(--paper);
}

.section.dark,
.page-hero,
.article-header {
  background: var(--navy);
  color: #fff;
}

.home-member-band {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}

.home-member-band.compact-top {
  padding-top: 34px;
}

.home-member-band h2 {
  color: #fff;
}

.home-member-band h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: var(--green-2);
}

.home-member-band .member-card {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.home-member-band .member-profile-link {
  background: var(--navy);
  color: #fff;
}

.home-member-band .btn {
  background: var(--green-2);
  color: var(--navy);
}

.partners-section {
  padding: 64px 28px 78px;
  background: var(--surface);
}

.partners-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  align-items: stretch;
  padding: 18px;
  background: linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
  border: 1px solid rgba(8, 35, 69, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(8, 35, 69, 0.08);
}

.partner-logo {
  display: grid;
  place-items: center;
  min-height: 108px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(8, 35, 69, 0.08);
  border-radius: var(--radius);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.partner-logo:hover {
  transform: translateY(-2px);
  border-color: rgba(63, 126, 196, 0.28);
  box-shadow: 0 12px 28px rgba(8, 35, 69, 0.1);
}

.partner-logo img {
  width: 100%;
  max-width: 190px;
  height: 68px;
  object-fit: contain;
}

.section-heading {
  margin-bottom: 40px;
  text-align: center;
}

.section-heading.aligned {
  max-width: 960px;
  margin-inline: auto;
  text-align: start;
}

.center-block {
  text-align: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 800;
}

h1 {
  font-size: clamp(34px, 4vw, 58px);
}

h2 {
  color: var(--green);
  font-size: clamp(28px, 3vw, 44px);
  text-align: center;
}

h3 {
  color: var(--ink);
  font-size: 24px;
}

p {
  font-size: 17px;
  text-align: justify;
  text-align-last: auto;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: start;
}

.center-block p,
.section-heading p,
.section-intro,
.card p,
.stat-grid p,
.member-card p,
.member-role,
.meta,
.empty-state,
.admin-form-note p,
.image-upload-row p,
.form-error,
.copyright {
  text-align: center;
}

.news-filter-panel p,
.profile-facts p,
.article-meta p {
  text-align: start;
}

.section.dark .eyebrow,
.page-hero .eyebrow,
.profile-card .eyebrow,
.article-header .eyebrow {
  color: var(--green-2);
}

.section-intro {
  max-width: 720px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

.hero,
.hero-slider {
  min-height: clamp(560px, calc(100vh - var(--header-height)), 760px);
}

.hero {
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 246, 242, 0.98) 0%, rgba(247, 246, 242, 0.9) 32%, rgba(247, 246, 242, 0.08) 64%),
    url("assets/images/conference-hero.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100vw - 56px));
  margin-inline-start: max(28px, calc((100vw - 1200px) / 2));
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
}

.hero p {
  color: #303844;
  font-size: 19px;
  font-weight: 600;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f7f8fb 0%, #eef3f7 100%);
}

.hero-slides,
.hero-slide {
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
  isolation: isolate;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #f7f6f2;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 246, 242, 0.98) 0%, rgba(247, 246, 242, 0.9) 27%, rgba(247, 246, 242, 0.58) 50%, rgba(247, 246, 242, 0.18) 100%),
    linear-gradient(0deg, rgba(247, 246, 242, 0.5), rgba(247, 246, 242, 0.18));
}

.hero-slider .hero-content {
  display: grid;
  gap: 22px;
  width: min(720px, calc(100vw - 56px));
  margin-inline-start: max(28px, calc((100vw - 1200px) / 2));
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 24px 70px rgba(8, 35, 69, 0.12);
  backdrop-filter: blur(5px);
}

.hero-slider .hero-content .eyebrow {
  margin: 0;
  color: var(--green-2);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-slider .hero-content h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
}

.hero-slider .hero-content p:not(.eyebrow) {
  margin: 0;
  color: #243142;
  font-size: 19px;
  line-height: 1.7;
  font-weight: 600;
  max-width: 62ch;
}

.hero-slider .button-row {
  width: auto;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
}

.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.slider-arrow,
.slider-dots button {
  border: 0;
  background: rgba(8, 35, 69, 0.9);
  color: #fff;
  cursor: pointer;
}

.slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(8, 35, 69, 0.18);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  padding: 0;
  opacity: 0.55;
}

.slider-dots button.active {
  background: var(--green);
  opacity: 1;
}

.page-hero {
  padding: 88px 28px;
}

.page-hero p {
  max-width: 760px;
  font-size: 19px;
}

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button-row.centered {
  justify-content: center;
}

.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius);
  text-align: center;
}

.btn.secondary {
  background: var(--navy);
}

.btn.ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn.full {
  width: 100%;
}

.text-link {
  color: var(--green);
  font-weight: 800;
}

.about-definition {
  padding-top: 86px;
  padding-bottom: 86px;
}

.about-intro-layout {
  display: grid;
  gap: 30px;
  align-items: start;
}

.about-intro-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.about-intro-copy h1 {
  margin-bottom: 0;
}

.definition-card {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    var(--surface);
  border: 1px solid rgba(8, 35, 69, 0.18);
  border-top: 5px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(8, 35, 69, 0.12);
}

.definition-card::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 90px;
  width: 72px;
  height: 4px;
  background: var(--green-2);
  border-radius: 99px;
}

.definition-card-head {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
}

.definition-card-head span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.definition-card h2 {
  margin: 0;
  text-align: start;
  color: var(--green);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
}

.definition-card p {
  max-width: 860px;
  margin: 0;
  text-align: justify;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.85;
}

.info-grid,
.member-grid,
.news-grid,
.stat-grid,
.unit-grid,
.gallery-grid {
  display: grid;
  gap: 24px;
}

.info-grid {
  grid-template-columns: repeat(3, 1fr);
}

.member-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  justify-content: center;
}

.news-grid.refined {
  grid-template-columns: repeat(3, 1fr);
}

.unit-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stat-grid {
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  align-items: center;
}

.card {
  border: 1px solid rgba(155, 191, 69, 0.42);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--navy);
  color: #fff;
}

.icon-badge {
  width: 78px;
  height: 78px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 800;
}

.card h3,
.card p {
  color: inherit;
  text-align: center;
}

.fields-work-section {
  padding-top: 84px;
  padding-bottom: 88px;
}

.fields-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;
  margin: 48px auto 0;
  border: 1px solid rgba(155, 191, 69, 0.42);
  border-radius: 18px;
  overflow: hidden;
}

.field-card {
  display: grid;
  align-content: start;
  min-height: 300px;
  padding: 34px 30px;
  background: rgba(255, 255, 255, 0.015);
  border-right: 1px solid rgba(155, 191, 69, 0.32);
  border-bottom: 1px solid rgba(155, 191, 69, 0.32);
  color: #fff;
  text-align: center;
}

.field-card:nth-child(3n) {
  border-right: 0;
}

.field-card:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.field-card h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 23px;
  line-height: 1.25;
}

.field-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}

.stat-value {
  display: block;
  color: #fff;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1;
  font-weight: 800;
}

.stat-label {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  text-transform: uppercase;
}

.featured-news {
  margin-bottom: 28px;
}

.featured-news article,
.news-card.refined,
.member-card,
.unit-card,
.contact-card,
.share-panel,
.article-content,
.profile-body article,
.admin-panel,
.archive-list {
  background: var(--surface);
  border: 1px solid rgba(8, 35, 69, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(8, 35, 69, 0.07);
}

.member-card {
  border: 2px solid var(--navy);
  box-shadow: 0 12px 28px rgba(8, 35, 69, 0.1);
}

.featured-news a {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
}

.featured-news img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.featured-news div {
  padding: 36px;
}

.featured-news h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.news-card.refined {
  overflow: hidden;
}

.news-card.refined a {
  display: grid;
  height: 100%;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.news-card div {
  padding: 22px;
}

.news-card h3 {
  margin-bottom: 8px;
}

.meta {
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
}

.archive-list {
  width: min(980px, calc(100vw - 56px));
  margin: 44px auto 0;
  padding: 24px;
}

.archive-list h3 {
  color: var(--green);
}

.archive-list a {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(8, 35, 69, 0.1);
  font-weight: 700;
}

.news-filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 170px 180px auto auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 34px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid rgba(8, 35, 69, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(8, 35, 69, 0.07);
}

.news-filter-panel label {
  display: grid;
  gap: 6px;
}

.news-filter-panel span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.news-filter-panel select {
  min-height: 56px;
  appearance: none;
  -webkit-appearance: none;
  padding: 0 46px 0 14px;
  border: 1px solid rgba(8, 35, 69, 0.2);
  border-radius: var(--radius);
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 15px) 50%;
  background-repeat: no-repeat;
  background-size: 7px 7px, 7px 7px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.2;
}

body[dir="rtl"] .news-filter-panel select {
  padding: 0 14px 0 46px;
  background-position:
    22px 50%,
    15px 50%;
}

.news-filter-panel select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(63, 126, 196, 0.22);
}

.news-filter-panel .btn {
  width: 100%;
  justify-content: center;
}

.pagination {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin: 34px auto 0;
}

.pagination span {
  color: var(--navy);
  font-weight: 800;
}

.pagination .disabled {
  opacity: 0.48;
  pointer-events: none;
}

.member-card {
  overflow: hidden;
  text-align: center;
}

.member-card a {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.member-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(180deg, #eef3f7, #e4ebf2);
  border-bottom: 6px solid var(--navy);
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate(var(--photo-x, 0%), var(--photo-y, 0%)) scale(var(--photo-scale, 1));
  transform-origin: center;
  transition: transform 180ms ease;
}

.member-card:hover .member-photo {
  transform: translate(var(--photo-x, 0%), var(--photo-y, 0%)) scale(calc(var(--photo-scale, 1) * 1.03));
}

.member-card-body {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 148px;
  padding: 16px 18px 18px;
}

.member-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
}

.member-role {
  display: -webkit-box;
  min-height: 42px;
  margin: 0;
  overflow: hidden;
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.member-profile-link {
  justify-self: center;
  align-self: end;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eef3f7;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.unit-card {
  display: grid;
  min-height: 160px;
  padding: 24px;
  align-content: space-between;
  border-top: 5px solid var(--navy);
}

.unit-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.unit-card strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

.unit-card em {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.about-link-section {
  padding-top: 24px;
}

.about-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.about-link-card {
  display: grid;
  min-height: 180px;
  align-content: space-between;
  padding: 24px;
  background: var(--surface);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(8, 35, 69, 0.1);
}

.about-link-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-link-card strong {
  color: var(--navy);
  font-size: 26px;
  line-height: 1.15;
}

.about-link-card em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 34px;
}

.unit-return-row {
  margin-bottom: 46px;
}

.filter-row a {
  border: 1px solid rgba(8, 35, 69, 0.16);
  background: var(--surface);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.filter-row a.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.expertise-list {
  width: min(1100px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 18px 0;
}

.expertise-list h2 {
  text-align: center;
  color: var(--green);
  margin-bottom: 34px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.expertise-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 94px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid rgba(8, 35, 69, 0.11);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(8, 35, 69, 0.06);
}

.expertise-item span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.expertise-item p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  text-align: start;
}

body[dir="rtl"] .expertise-item {
  border-left: 1px solid rgba(8, 35, 69, 0.11);
  border-right: 5px solid var(--green);
}

.strategic-focus {
  max-width: 1120px;
}

.strategic-focus-list {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.strategic-focus-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid rgba(8, 35, 69, 0.12);
  border-left: 6px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(8, 35, 69, 0.07);
}

body[dir="rtl"] .strategic-focus-card {
  border-left-width: 1px;
  border-right: 6px solid var(--green);
}

.strategic-focus-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.strategic-focus-card h3 {
  margin: 0 0 12px;
  text-align: start;
  color: var(--navy);
  font-size: 24px;
}

.strategic-focus-card p {
  margin: 8px 0;
  text-align: start;
}

.strategic-focus-card h4 {
  margin: 18px 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.strategic-focus-card ul {
  margin: 0;
  padding-inline-start: 22px;
}

.strategic-focus-card li {
  margin: 6px 0;
  padding-inline-start: 4px;
  font-weight: 700;
}

.strategic-focus-card li::marker {
  color: var(--green);
}

.strategic-advisor-section {
  padding-top: 24px;
}

.article-header {
  padding: 76px 28px 52px;
}

.article-header-inner {
  max-width: 980px;
}

.article-header h1 {
  max-width: 980px;
}

.article-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.article-body {
  padding: 40px 0 80px;
}

.article-main-image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.article-layout,
.profile-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.article-content,
.profile-body article {
  padding: 34px;
}

.article-content h2,
.profile-body h2 {
  text-align: start;
  font-size: 30px;
}

.article-content .lead {
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.share-panel {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  padding: 22px;
}

.share-panel h3 {
  color: var(--green);
}

.share-panel a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid rgba(8, 35, 69, 0.1);
  color: var(--navy);
  font-weight: 800;
}

.profile-page {
  padding: 54px 28px 34px;
  background:
    linear-gradient(180deg, #eef3f7 0%, var(--paper) 78%);
}

.profile-card {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 24px;
  background: var(--surface);
  border: 2px solid var(--navy);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(8, 35, 69, 0.14);
}

.profile-card-media {
  display: grid;
  justify-items: center;
}

.profile-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 6px solid var(--navy);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: 0 14px 36px rgba(8, 35, 69, 0.14);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate(var(--photo-x, 0%), var(--photo-y, 0%)) scale(var(--photo-scale, 1));
  transform-origin: center;
}

.profile-role {
  margin: 8px 0 0;
  color: var(--green);
  font-size: 21px;
  font-weight: 800;
}

.profile-card-content h1 {
  margin: 0;
  text-align: start;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.profile-facts div {
  background: #f4f7f9;
  border: 1px solid rgba(8, 35, 69, 0.1);
  border-radius: var(--radius);
  padding: 16px;
}

.profile-facts span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-facts strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.profile-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-card {
  padding: 40px;
  border-top: 6px solid var(--navy);
}

.contact-card h2 {
  text-align: start;
  color: var(--navy);
}

.contact-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  font-weight: 700;
}

.admin-page {
  padding: 34px 28px 70px;
  background: linear-gradient(180deg, #eef3f7 0%, var(--paper) 44%);
}

.admin-console {
  width: min(1380px, calc(100vw - 56px));
  min-height: calc(100vh - var(--header-height) - 104px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  background: var(--surface);
  border: 1px solid rgba(8, 35, 69, 0.12);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: visible;
}

.admin-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  height: calc(100vh - var(--header-height) - 68px);
  min-height: 520px;
  overflow: auto;
  padding: 22px;
  background: var(--navy);
  color: #fff;
  border-radius: 12px 0 0 12px;
}

body[dir="rtl"] .admin-sidebar {
  border-radius: 0 12px 12px 0;
}

.admin-sidebar-header {
  display: grid;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.admin-sidebar-header strong {
  font-size: 24px;
  line-height: 1.15;
}

.admin-sidebar-header span,
.admin-sidebar-header em {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.admin-sidebar-nav,
.admin-sidebar-actions {
  display: grid;
  gap: 10px;
  align-content: start;
}

.admin-nav-item {
  width: 100%;
  min-height: 48px;
  border: 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  text-align: start;
  font-weight: 800;
  cursor: pointer;
}

.admin-nav-item span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--green-2);
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.admin-nav-item.active span {
  background: var(--green-2);
  color: var(--navy);
}

.admin-nav-item.danger {
  display: flex;
  justify-content: center;
  background: rgba(180, 35, 24, 0.92);
  color: #fff;
}

.admin-nav-item.danger.subtle {
  background: rgba(255, 255, 255, 0.1);
}

.admin-workspace {
  min-width: 0;
  padding: 30px;
  background: #fbfcfd;
  border-radius: 0 12px 12px 0;
}

body[dir="rtl"] .admin-workspace {
  border-radius: 12px 0 0 12px;
}

.admin-workspace-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(8, 35, 69, 0.1);
}

.admin-workspace-header h2 {
  margin: 0;
  text-align: start;
  color: var(--navy);
}

.admin-workspace-header p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  text-align: start;
}

.admin-subform,
.user-admin-list {
  margin-top: 24px;
}

.auto-stat-field {
  cursor: default;
}

.auto-stat-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.auto-stat-input input[readonly] {
  background: #eef3f7;
  color: var(--navy);
  font-weight: 900;
}

.auto-stat-input em {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: rgba(155, 191, 69, 0.18);
  color: var(--green);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-manager-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid rgba(8, 35, 69, 0.1);
  border-radius: var(--radius);
}

.admin-manager-toolbar h3 {
  margin: 0;
  color: var(--navy);
}

.admin-manager-toolbar p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-align: start;
}

.admin-news-list {
  margin-top: 0;
}

.admin-filter-panel {
  width: 100%;
  margin: 0 0 22px;
  box-shadow: none;
}

.admin-member-filter-panel {
  grid-template-columns: minmax(220px, 1fr) 260px auto auto;
}

.admin-order-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: -6px 0 22px;
  padding: 14px 16px;
  background: var(--soft);
  border: 1px solid rgba(8, 35, 69, 0.1);
  border-radius: var(--radius);
}

.admin-order-panel.active {
  background: rgba(155, 191, 69, 0.12);
  border-color: rgba(95, 113, 50, 0.28);
}

.admin-order-panel h4 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
}

.admin-order-panel p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: start;
}

.admin-order-panel span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-news-row {
  grid-template-columns: 86px minmax(0, 1fr) auto;
  background: var(--surface);
  border: 1px solid rgba(8, 35, 69, 0.1);
}

.admin-news-row img {
  width: 86px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--soft);
}

.admin-member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 280px));
  justify-content: start;
  gap: 16px;
}

.admin-member-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: var(--surface);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(8, 35, 69, 0.09);
}

.admin-member-card > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  transform: translate(var(--photo-x, 0%), var(--photo-y, 0%)) scale(var(--photo-scale, 1));
  transform-origin: center;
  border-bottom: 4px solid var(--navy);
  background: var(--soft);
}

.admin-member-card > div {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.admin-member-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
}

.admin-member-card p {
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  text-align: start;
}

.admin-member-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-member-card > .admin-member-order-controls {
  display: grid;
  grid-template-columns: 42px 1fr 1fr;
  gap: 8px;
  align-items: center;
  margin: 0 14px 12px;
  padding: 8px;
  background: var(--soft);
  border: 1px solid rgba(8, 35, 69, 0.08);
  border-radius: var(--radius);
}

.admin-member-card > .admin-member-order-controls strong {
  display: grid;
  place-items: center;
  min-height: 34px;
  color: var(--navy);
  font-size: 14px;
}

.admin-member-card > .admin-member-order-controls button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(8, 35, 69, 0.18);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.admin-member-card > .admin-member-order-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.admin-member-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
}

.admin-member-card footer .btn,
.admin-member-card footer .danger {
  min-height: 38px;
  padding: 0 12px;
  font-size: 14px;
}

.admin-news-card > img {
  aspect-ratio: 16 / 10;
}

.admin-news-card strong {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.25;
}

.admin-news-card em {
  color: var(--green);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.admin-news-card p {
  display: -webkit-box;
  min-height: 40px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.admin-partner-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid rgba(8, 35, 69, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(8, 35, 69, 0.08);
}

.admin-partner-logo {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 7;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(8, 35, 69, 0.08);
  border-radius: var(--radius);
}

.admin-partner-logo img {
  width: 100%;
  height: 86px;
  object-fit: contain;
}

.admin-partner-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
}

.admin-partner-card p {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: start;
}

.admin-partner-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-partner-card footer .btn,
.admin-partner-card footer .danger {
  min-height: 38px;
  padding: 0 12px;
  font-size: 14px;
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 35, 69, 0.62);
}

.admin-modal {
  width: min(980px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.admin-modal-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  padding: 18px 22px;
  background: var(--navy);
  color: #fff;
}

.admin-modal-header h3 {
  margin: 0;
  color: #fff;
}

.admin-modal-header button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.admin-modal-body {
  padding: 24px;
}

.login-panel {
  width: min(520px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 34px;
  background: var(--surface);
  border: 1px solid rgba(8, 35, 69, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-panel h2 {
  text-align: start;
}

.form-error {
  padding: 12px 14px;
  background: #fff0f0;
  color: #9f2d2d;
  border: 1px solid #e4b4b4;
  border-radius: var(--radius);
  font-weight: 700;
}

.danger {
  border: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
}

.danger {
  background: #a33a3a;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.team-selector {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(8, 35, 69, 0.18);
  border-radius: var(--radius);
}

.permission-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(8, 35, 69, 0.18);
  border-radius: var(--radius);
}

.permission-selector legend {
  padding: 0 8px;
  color: var(--navy);
  font-weight: 800;
}

.permission-selector label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.permission-selector input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.image-picker {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
}

.gallery-picker {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
}

.image-upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: #f4f7f9;
  border: 1px solid rgba(8, 35, 69, 0.14);
  border-radius: var(--radius);
}

.image-upload-row p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.image-current-preview {
  width: 120px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transform: translate(var(--photo-x, 0%), var(--photo-y, 0%)) scale(var(--photo-scale, 1));
  transform-origin: center;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
  background: var(--soft);
}

.logo-picker {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
}

.logo-picker .btn {
  justify-self: start;
}

.logo-current-preview {
  display: grid;
  place-items: center;
  width: 180px;
  min-height: 86px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(8, 35, 69, 0.14);
  border-radius: var(--radius);
}

.logo-current-preview img {
  width: 100%;
  height: 58px;
  object-fit: contain;
}

.image-picker-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-file,
.image-file,
.logo-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-preview-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}

.gallery-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.gallery-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 35, 69, 0.88);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.gallery-remove:hover,
.gallery-remove:focus-visible {
  background: #b42318;
}

.translation-tools {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  background: #f4f7f9;
  border: 1px solid rgba(8, 35, 69, 0.12);
  border-radius: var(--radius);
}

.translation-tools .btn {
  min-height: 42px;
}

.translation-status {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.admin-form-note {
  grid-column: 1 / -1;
  padding: 16px;
  background: #f4f7f9;
  border: 1px solid rgba(8, 35, 69, 0.12);
  border-radius: var(--radius);
}

.admin-form-note h3 {
  margin: 0 0 4px;
  color: var(--navy);
}

.admin-form-note p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.cropper {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #f4f7f9;
  border: 1px solid rgba(8, 35, 69, 0.14);
  border-radius: var(--radius);
}

.cropper[hidden] {
  display: none;
}

.cropper h3 {
  margin-bottom: 0;
  color: var(--navy);
}

.crop-frame {
  width: min(520px, 100%);
  margin-inline: auto;
  overflow: hidden;
  background: #dce4ec;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
}

.crop-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  user-select: none;
  pointer-events: none;
}

.crop-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 16px;
  justify-content: center;
}

.crop-preview-grid figure {
  margin: 0;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.crop-preview-card,
.crop-preview-profile {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #dce4ec;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
}

.crop-preview-card {
  max-width: 120px;
  border-bottom-width: 5px;
}

.crop-preview-profile {
  max-width: 150px;
  border-width: 5px;
}

.crop-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  user-select: none;
  pointer-events: none;
}

.crop-preview-grid figcaption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.crop-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.crop-controls label {
  display: grid;
  gap: 6px;
}

.crop-controls input {
  padding: 0;
}

.team-selector legend {
  padding: 0 8px;
  color: var(--navy);
  font-weight: 800;
}

.team-selector label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-weight: 700;
}

.team-selector input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.team-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.team-pill-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef3f7;
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(8, 35, 69, 0.2);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.admin-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.team-admin-list {
  gap: 22px;
}

.admin-group {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #f7f8f9;
  border: 1px solid rgba(8, 35, 69, 0.12);
  border-radius: var(--radius);
}

.admin-group h3 {
  margin: 0;
  color: var(--green);
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #f4f3ef;
  border-radius: var(--radius);
}

.admin-row em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.admin-row.fixed-user {
  border: 1px solid rgba(95, 113, 50, 0.24);
  background: #f2f6e7;
}

.admin-row-actions,
.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-row-actions .btn,
.admin-row-actions .danger {
  min-height: 40px;
  padding: 0 14px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  padding: 44px;
  background: var(--surface);
  border-radius: var(--radius);
}

.site-footer {
  background: var(--navy-2);
  color: rgba(255, 255, 255, 0.86);
  padding: 70px 28px 28px;
}

.footer-grid {
  width: min(1200px, calc(100vw - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 64px;
}

.footer-logo {
  width: 220px;
  margin-bottom: 20px;
}

.site-footer h2 {
  text-align: start;
  color: var(--green-2);
  font-size: 30px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.footer-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
  font-weight: 700;
  min-width: 0;
}

.footer-list a {
  overflow-wrap: anywhere;
}

.footer-list span {
  color: #fff;
  font-weight: 800;
}

.copyright {
  width: min(1200px, calc(100vw - 56px));
  margin: 54px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  font-weight: 700;
}

@media (max-width: 1200px) {
  .site-header {
    grid-template-columns: 178px 1fr auto auto;
  }

  .brand img {
    width: 158px;
  }

  .main-nav {
    gap: 12px;
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    grid-template-columns: 1fr auto auto auto;
    height: var(--header-height);
  }

  .brand img {
    width: 154px;
    height: 52px;
  }

  .menu-toggle {
    display: inline-flex;
    order: 4;
  }

  .admin-login-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-height);
    background: var(--navy);
    padding: 16px 18px 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    white-space: normal;
    max-height: calc(100vh - var(--header-height));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a.active::after,
  .main-nav > a:hover::after,
  .nav-item:hover > a::after,
  .nav-item:hover .nav-main-row > a::after {
    content: none;
    display: none;
  }

  .admin-console {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    min-height: auto;
    border-radius: 12px 12px 0 0;
  }

  .admin-workspace,
  body[dir="rtl"] .admin-workspace {
    border-radius: 0 0 12px 12px;
  }

  .admin-sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-workspace-header {
    grid-template-columns: 1fr;
  }

  .nav-item {
    flex: 0 0 auto;
    display: grid;
    grid-template-rows: auto auto;
    min-height: 58px;
    border: 1px solid rgba(63, 126, 196, 0.28);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    overflow: visible;
  }

  .nav-main-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
    align-items: center;
    min-height: 52px;
    padding: 6px;
  }

  .submenu-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease;
  }

  .dropdown,
  .dropdown.tall,
  body[dir="rtl"] .dropdown {
    position: static;
    display: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    max-height: min(300px, 42vh);
    overflow: auto;
    margin: 0 6px 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    -webkit-overflow-scrolling: touch;
  }

  .nav-item.submenu-open .dropdown {
    display: block;
  }

  .nav-item.submenu-open {
    background: rgba(63, 126, 196, 0.16);
    border-color: rgba(63, 126, 196, 0.56);
  }

  .nav-item.submenu-open .submenu-toggle {
    transform: rotate(90deg);
    background: rgba(63, 126, 196, 0.26);
  }

  body[dir="rtl"] .nav-item.submenu-open .submenu-toggle {
    transform: rotate(-90deg);
  }

  .dropdown a {
    color: #fff;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .dropdown a:last-child {
    border-bottom: 0;
  }

  .main-nav > a {
    flex: 0 0 auto;
    min-height: 52px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid rgba(63, 126, 196, 0.28);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
  }

  .nav-main-row > a {
    align-items: center;
    padding: 8px 8px;
  }

  .info-grid,
  .about-intro-layout,
  .member-grid,
  .news-grid.refined,
  .fields-work-grid,
  .expertise-grid,
  .stat-grid,
  .unit-grid,
  .about-link-grid,
  .strategic-focus-card,
  .footer-grid,
  .featured-news a,
  .article-layout,
  .profile-card,
  .profile-body,
  .profile-facts,
  .contact-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .hero-slider {
    min-height: 640px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(247, 246, 242, 0.97) 0%, rgba(247, 246, 242, 0.88) 42%, rgba(247, 246, 242, 0.24) 100%),
      url("assets/images/conference-hero.png") center / cover no-repeat;
  }

  .hero-slide-overlay {
    background:
      linear-gradient(180deg, rgba(247, 246, 242, 0.98) 0%, rgba(247, 246, 242, 0.88) 44%, rgba(247, 246, 242, 0.32) 100%);
  }

  .hero-content,
  .hero-slider .hero-content {
    margin: 0 auto;
  }

  .hero-slider .hero-content {
    width: min(680px, calc(100vw - 40px));
    padding: 34px;
  }

  .hero-slider .hero-content h1 {
    font-size: clamp(34px, 7vw, 54px);
  }

  .hero-slider .hero-content p:not(.eyebrow) {
    font-size: 17px;
  }

  .fields-work-grid {
    max-width: 560px;
  }

  .field-card,
  .field-card:nth-child(3n),
  .field-card:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid rgba(155, 191, 69, 0.32);
  }

  .field-card:last-child {
    border-bottom: 0;
  }

  .about-definition {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .about-intro-copy {
    padding-top: 0;
    max-width: 760px;
  }

  .featured-news img {
    min-height: 280px;
    max-height: 420px;
  }

  .profile-photo-wrap {
    max-width: 420px;
    margin-inline: auto;
  }

  .share-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    padding: 8px 14px;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
  }

  .admin-login-link {
    min-width: auto;
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }

  .admin-login-link::before {
    content: none;
  }

  .brand img {
    width: 126px;
    height: 46px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
    gap: 5px;
  }

  .main-nav {
    top: var(--header-height);
    max-height: calc(100vh - var(--header-height));
    padding: 16px 18px 24px;
    gap: 10px;
  }

  .admin-page {
    padding: 18px 14px 44px;
  }

  .admin-console {
    width: 100%;
    border-radius: var(--radius);
  }

  .admin-sidebar,
  .admin-workspace {
    padding: 18px;
  }

  .about-intro-layout {
    gap: 20px;
  }

  .definition-card {
    padding: 24px 22px;
  }

  .definition-card::before {
    left: 22px;
    top: 76px;
    width: 56px;
    height: 4px;
  }

  .definition-card-head {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .definition-card-head span {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }

  .definition-card p {
    font-size: 16px;
    line-height: 1.75;
  }

  .admin-sidebar-nav,
  .permission-selector {
    grid-template-columns: 1fr;
  }

  .admin-manager-toolbar,
  .admin-order-panel,
  .admin-news-row {
    grid-template-columns: 1fr;
  }

  .admin-news-row img {
    width: 100%;
  }

  .admin-modal-backdrop {
    padding: 10px;
    align-items: start;
  }

  .admin-modal {
    width: 100%;
    max-height: calc(100vh - 20px);
  }

  .admin-modal-body {
    padding: 16px;
  }

  .main-nav > a,
  .nav-item > a {
    font-size: 18px;
  }

  .nav-main-row > a {
    font-size: 18px;
  }

  .dropdown,
  body[dir="rtl"] .dropdown {
    margin: 0 6px 8px;
    padding: 8px 0;
  }

  .dropdown a {
    font-size: 15px;
    padding: 11px 12px;
  }

  .language-switcher > button {
    min-width: 84px;
    min-height: 42px;
    padding: 0 10px;
  }

  .language-menu {
    right: 0;
    left: auto;
    min-width: 170px;
  }

  body[dir="rtl"] .language-menu {
    right: auto;
    left: 0;
  }

  .section,
  .page-hero,
  .profile-page,
  .article-header {
    padding: 44px 18px;
  }

  .container,
  .section-heading,
  .login-panel,
  .admin-panel,
  .archive-list,
  .expertise-list,
  .footer-grid,
  .copyright {
    width: calc(100vw - 36px);
  }

  .featured-news div,
  .article-content,
  .profile-body article,
  .contact-card,
  .admin-panel,
  .login-panel,
  .share-panel {
    padding: 24px;
  }

  .gallery-grid,
  .gallery-preview,
  .archive-list a,
  .admin-row,
  .team-selector,
  .crop-controls,
  .news-filter-panel {
    grid-template-columns: 1fr;
  }

  .image-upload-row {
    grid-template-columns: 1fr;
  }

  .image-current-preview {
    width: 100%;
    max-width: 220px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  p,
  .section-intro,
  .page-hero p,
  .hero p {
    font-size: 16px;
  }

  .hero,
  .hero-slider {
    min-height: 560px;
  }

  .hero-content {
    width: calc(100vw - 36px);
    padding-bottom: 46px;
  }

  .hero-slider .hero-content {
    width: calc(100vw - 36px);
    padding: 26px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-slider .hero-content h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .button-row {
    gap: 10px;
  }

  .button-row .btn,
  .admin-form-actions .btn,
  .admin-form-actions .danger,
  .translation-tools .btn {
    width: 100%;
  }

  .slider-controls {
    bottom: 18px;
    gap: 10px;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
  }

  .featured-news img {
    min-height: 220px;
  }

  .news-card div,
  .featured-news div {
    padding: 20px;
  }

  .member-grid {
    grid-template-columns: minmax(0, 320px);
  }

  .expertise-item {
    grid-template-columns: 46px 1fr;
    min-height: auto;
    padding: 14px;
  }

  .expertise-item span {
    width: 46px;
    height: 46px;
    font-size: 15px;
  }

  .expertise-item p {
    font-size: 15px;
  }

  .member-photo-wrap {
    aspect-ratio: 4 / 5;
  }

  .profile-card {
    gap: 24px;
    padding: 18px;
  }

  .profile-photo-wrap {
    max-width: 320px;
  }

  .profile-role {
    font-size: 19px;
  }

  .article-main-image {
    margin-bottom: 18px;
  }

  .article-content .lead {
    font-size: 18px;
  }

  .danger {
    width: 100%;
    min-height: 44px;
  }

  .admin-row-actions,
  .admin-form-actions {
    width: 100%;
  }

  .admin-row-actions .btn,
  .admin-row-actions .danger {
    width: 100%;
  }

  .footer-grid {
    gap: 36px;
  }

  .site-footer {
    padding: 48px 18px 24px;
  }
}

@media (max-width: 420px) {
  .site-header {
    grid-template-columns: 118px 54px 66px 38px;
    padding-inline: 12px;
    gap: 8px;
  }

  .brand,
  .admin-login-link,
  .language-switcher,
  .menu-toggle {
    min-width: 0;
  }

  .brand img {
    width: 116px;
    height: 46px;
  }

  .admin-login-link {
    width: 54px;
    min-height: 36px;
    padding: 0;
    font-size: 13px;
  }

  .language-switcher > button {
    width: 66px;
    min-width: 66px;
    min-height: 38px;
    padding: 0 6px;
    gap: 6px;
    font-size: 14px;
    overflow: hidden;
  }

  .language-switcher .lang-label {
    font-size: 14px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    gap: 5px;
  }

  .menu-toggle span {
    width: 20px;
  }

  .container,
  .section-heading,
  .login-panel,
  .admin-panel,
  .archive-list,
  .expertise-list,
  .footer-grid,
  .copyright {
    width: calc(100vw - 28px);
  }

  .section,
  .page-hero,
  .profile-page,
  .article-header {
    padding-inline: 14px;
  }

  .hero-content {
    width: calc(100vw - 28px);
  }

  .hero-slider .hero-content {
    width: calc(100vw - 28px);
    padding: 20px;
  }

  h1,
  .hero h1 {
    font-size: 28px;
  }

  .hero-slider .hero-content h1 {
    font-size: 28px;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 25px;
  }

  .card,
  .unit-card,
  .article-content,
  .profile-body article,
  .contact-card,
  .admin-panel,
  .login-panel,
  .share-panel {
    padding: 18px;
  }

  .profile-photo-wrap {
    max-width: 260px;
  }

  .footer-logo {
    width: 170px;
  }
}
