/* Resmî bağlantılar ve kurum logoları */
.official-bar {
  height: 31px;
  background: var(--red);
  color: #ffffff;
  border-bottom: 1px solid #ffffff20;
}
.official-bar-in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.official-links {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 100%;
  overflow-x: auto;
}
.official-links a {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 0 13px;
  border-left: 1px solid #ffffff12;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: 0.18s;
}
.official-links a:last-child {
  border-right: 1px solid #ffffff12;
}
.official-links a:hover {
  background: #a30d1b;
  color: #fff;
}
.official-links span {
  font-size: 9px;
  opacity: 0.75;
}
.partner-footer {
  border-top: 1px solid #ffffff18;
  background: #fff;
  padding: 16px 0;
}
.partner-logos {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  overflow-x: auto;
}
.partner-logos a,
.partner-logos > span {
  height: 52px;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
}
.partner-logos img {
  width: auto;
  max-width: 150px;
  height: 44px;
  object-fit: contain;
  filter: none;
}
.partner-logos a:hover img {
  transform: translateY(-2px);
  transition: 0.18s;
}
.official-admin-grid,
.partner-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.official-admin-card,
.partner-admin-card {
  padding: 18px;
  border: 1px solid #e1e5eb;
  border-radius: 9px;
  background: #f8f9fb;
}
.official-admin-card h3 {
  font-size: 15px;
  margin: 0 0 16px;
}
.partner-preview {
  height: 100px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  padding: 12px;
  border: 1px dashed #cbd2dc;
  border-radius: 8px;
  background: #fff;
  color: #8791a1;
  font-size: 12px;
  font-weight: 700;
}
.partner-preview img {
  max-width: 180px;
  max-height: 72px;
  object-fit: contain;
}
.format-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid #a30d1b;
  border-radius: 6px;
  background: #fff7f8;
  color: #5e2930;
  font-size: 12px;
  line-height: 1.6;
}
.form-actions {
  position: sticky;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
  border: 1px solid #e1e5eb;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 12px 35px #17203318;
}
@media (max-width: 950px) {
  .official-bar {
    height: auto;
    min-height: 31px;
  }
  .partner-logos {
    gap: 18px;
  }
  .official-admin-grid,
  .partner-admin-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .official-bar-in {
    justify-content: flex-start;
  }
  .official-links {
    width: 100%;
    justify-content: flex-start;
  }
  .official-links a {
    justify-content: center;
    padding: 0 11px;
    text-align: center;
  }
  .partner-footer {
    padding: 12px 0;
  }
  .partner-logos {
    justify-content: flex-start;
  }
  .partner-logos a,
  .partner-logos > span {
    min-width: 92px;
  }
  .partner-logos img {
    max-width: 125px;
    height: 38px;
  }
  .form-actions {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }
  .form-actions .ui-btn {
    width: 100%;
  }
}

/* Header açılır menüleri */
.header-brand {
  gap: 12px;
}
.header-logo {
  width: 68px !important;
  min-width: 68px;
  max-width: 68px !important;
  height: 68px !important;
  border-radius: 50%;
  object-fit: contain;
}
.header-brand-copy {
  max-width: 320px;
  color: #202939;
  font:
    800 13px/1.35 Montserrat,
    Arial,
    sans-serif;
  letter-spacing: 0.25px;
}
.head > nav > a,
.head > nav > .nav-dropdown > a {
  font:
    600 13px/1 Montserrat,
    Arial,
    sans-serif !important;
}
.head nav .nav-dropdown {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}
.head nav .nav-dropdown > a {
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border-bottom: 3px solid transparent;
  color: #3e4655;
  font-size: 13px;
  font-weight: 600;
}
.head nav .nav-dropdown > a:hover,
.head nav .nav-dropdown > a.active {
  color: var(--red);
  border-color: var(--red);
}
.head nav .nav-dropdown > a .nav-caret {
  position: static;
  top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin: 0;
  color: inherit;
  opacity: 0.72;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.head nav .nav-dropdown > a .nav-caret::before {
  content: '';
  width: 5px;
  height: 5px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}
.head nav .nav-dropdown > a:hover .nav-caret,
.head nav .nav-dropdown > a.active .nav-caret,
.head nav .nav-dropdown:hover > a .nav-caret,
.head nav .nav-dropdown:focus-within > a .nav-caret {
  opacity: 1;
}
.nav-submenu {
  position: absolute;
  top: calc(100% - 2px);
  left: -18px;
  width: 270px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 9px;
  background: #fff;
  border: 1px solid #e3e6eb;
  border-radius: 0 0 9px 9px;
  box-shadow: 0 18px 45px #11182725;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.18s;
  z-index: 40;
}
.legislation-dropdown .nav-submenu {
  width: 330px;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.head nav .nav-submenu a {
  display: block !important;
  padding: 10px 11px !important;
  border: 0 !important;
  border-radius: 6px;
  color: #465064;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}
.head nav .nav-submenu a:hover {
  background: #f7eaec;
  color: var(--red);
}
/* Başkan profili ve yönetim alanları */
.profile-page-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 45px;
  align-items: start;
}
.profile-card {
  overflow: hidden;
  border: 1px solid #e1e5eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px #17203310;
}
.person-upload {
  margin: 0;
}
.person-upload img {
  width: 120px;
  height: 145px;
  object-fit: cover;
  border-radius: 10px;
}
.remove-image {
  margin: 10px 0 15px !important;
  color: #9d1422 !important;
}
.person-admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 1100px) {
  .head {
    gap: 18px;
  }
  .head nav {
    gap: 14px;
  }
  .head nav > a,
  .head nav .nav-dropdown > a {
    font-size: 12px;
  }
  .profile-page-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }
}
@media (max-width: 1220px) and (min-width: 951px) {
  .container {
    width: min(1200px, calc(100% - 24px));
  }
  .head {
    gap: 10px;
  }
  .head nav {
    gap: 9px;
  }
  .head > nav > a,
  .head > nav > .nav-dropdown > a {
    font-size: 11px !important;
  }
  .header-logo {
    width: 58px !important;
    min-width: 58px;
    height: 58px !important;
  }
  .header-brand-copy {
    max-width: 280px;
    font-size: 11.5px;
  }
  .donate {
    padding: 11px 12px;
    font-size: 11px;
  }
}
@media (max-width: 950px) {
  .head nav .nav-dropdown {
    height: auto;
    display: block;
  }
  .head nav .nav-dropdown > a {
    height: auto;
    padding: 13px !important;
    border-bottom: 1px solid var(--line) !important;
  }
  .nav-submenu,
  .legislation-dropdown .nav-submenu {
    position: static;
    width: 100%;
    max-height: none;
    display: none;
    padding: 4px 10px 10px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-dropdown.open .nav-submenu {
    display: block;
  }
  .head nav .nav-submenu a {
    padding: 10px 16px !important;
    background: #f7f8fa;
  }
  .profile-page-layout {
    grid-template-columns: 1fr;
  }
  .profile-card {
    max-width: 330px;
  }
  .person-admin-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .header-logo {
    width: 54px !important;
    min-width: 54px;
    height: 54px !important;
  }
  .header-brand-copy {
    max-width: 250px;
    font-size: 11px;
  }
  .profile-card {
    max-width: none;
  }
  .profile-card > img,
  .profile-placeholder {
    height: 360px;
  }
}

/* Kurul üyeleri ve temsilcilikler */
.admin-app aside nav {
  margin-top: 24px !important;
  overflow-y: auto;
  padding-right: 3px;
}
.admin-app aside nav::-webkit-scrollbar {
  width: 4px;
}
.admin-app aside nav::-webkit-scrollbar-thumb {
  background: #ffffff24;
  border-radius: 9px;
}
.board-section {
  padding-top: 8px;
}
.board-title {
  margin: 28px 0 18px;
  color: #17366f;
  font: 800 22px Montserrat;
}
.board-member-grid,
.representative-grid,
.admin-member-grid,
.person-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* Modern portre kartları */
.person-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e4e8ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px #17366f0c;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
a.person-card:hover,
.person-card.board-member-card:hover {
  transform: translateY(-5px);
  border-color: #c9d4e6;
  box-shadow: 0 18px 40px #17366f18;
}
.person-card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #e8eef7, #f7f8fb 55%, #edf1f6);
  overflow: hidden;
}
.person-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.person-card-initial {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #8b95a4;
  font-size: clamp(42px, 8vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.person-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 18px;
  min-height: 0;
}
.person-card-role {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.35;
}
.person-card-name {
  margin: 0;
  color: #17366f;
  font: 800 clamp(16px, 1.5vw, 19px) / 1.25 Montserrat;
}
.person-card-bio {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.person-card-region {
  display: block;
  color: #17366f;
  font: 800 14px / 1.3 Montserrat;
}
.person-card-cta {
  margin-top: 4px;
  color: #8a93a3;
  font-size: 11px;
  font-weight: 600;
}
.directory-card .person-card-name {
  color: #586579;
  font: 700 13px / 1.35 Montserrat;
}
.directory-card.type-il .person-card-region {
  color: #c31320;
}
.directory-card.type-ilce .person-card-region {
  color: #555f70;
}
.person-card--profile {
  max-width: 290px;
}
.person-card--detail {
  border: none;
  box-shadow: none;
  background: transparent;
}
.person-card--detail .person-card-photo,
.representative-portrait.person-card-photo {
  border: 1px solid #d7deea;
  border-radius: 18px;
  aspect-ratio: 4 / 5;
  min-height: 0;
  box-shadow: 0 16px 40px #17366f14;
}
.admin-member-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  background: #fff;
}
.admin-member-photo {
  width: 100%;
  height: 148px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #e8eef7, #f3f5f8);
}
.admin-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.admin-member-photo span {
  color: #8b95a4;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}
/* Kişi kartları: yuvarlak portre (alın kırpmasını önler) */
.admin-member-photo--portrait {
  height: 172px;
  padding: 20px 16px 12px;
  overflow: visible;
  background:
    radial-gradient(120% 80% at 50% 0%, #dfe8f6 0%, transparent 55%),
    linear-gradient(180deg, #edf2f8 0%, #f7f8fb 100%);
  border-bottom: 1px solid #e8edf5;
}
.admin-member-photo--portrait img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 3px solid #fff;
  box-shadow: 0 8px 22px rgba(23, 54, 111, 0.16);
}
.admin-member-photo--portrait span {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 3px solid #e4eaf3;
  color: #17366f;
  font-size: 34px;
  box-shadow: 0 6px 16px rgba(23, 54, 111, 0.1);
}
.admin-member-grid--rows {
  grid-template-columns: 1fr;
}
.admin-member-card--row {
  flex-direction: row;
  align-items: stretch;
}
.admin-member-card--row .admin-member-photo {
  width: 88px;
  height: 110px;
  padding: 0;
  overflow: hidden;
  border-bottom: 0;
}
.admin-member-card--row .admin-member-photo--portrait img,
.admin-member-card--row .admin-member-photo--portrait span {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}
.admin-member-card--row .admin-member-body {
  flex: 1;
  min-width: 0;
}
.admin-member-card--row .admin-member-actions {
  flex-direction: column;
  justify-content: center;
  border-top: 0;
  border-left: 1px solid #e1e5eb;
  min-width: 120px;
}
.admin-member-body {
  padding: 16px;
}
.admin-member-body small {
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.admin-member-body h2 {
  margin: 7px 0;
  color: #172033;
  font-size: 18px;
}
.admin-member-body p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.admin-member-roles {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-member-roles li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #e8ecf2;
  border-radius: 8px;
  background: #f7f8fb;
}
.admin-member-role-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.admin-member-role-text strong {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.35;
}
.admin-member-role-text span {
  color: #3d4658;
  font-size: 12px;
  line-height: 1.4;
}
.admin-member-role-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.admin-member-role-actions a,
.admin-member-role-actions button {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #d7deea;
  border-radius: 6px;
  background: #fff;
  color: #4a5568;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
}
.admin-member-role-actions a:hover,
.admin-member-role-actions button:hover {
  border-color: #c31320;
  color: #c31320;
}
.member-capacity-note {
  margin-bottom: 20px;
  padding: 14px 17px;
  border-left: 4px solid #287a4b;
  border-radius: 7px;
  background: #eef8f2;
  color: #276141;
  font-size: 12px;
}
.admin-member-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding: 13px 16px;
  border-top: 1px solid #e1e5eb;
}
.admin-member-actions .ui-btn,
.admin-member-actions form {
  flex: 1;
}
.admin-member-actions form .ui-btn {
  width: 100%;
}
@media (max-width: 1200px) {
  .board-member-grid,
  .representative-grid,
  .admin-member-grid,
  .person-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  .board-member-grid,
  .representative-grid,
  .admin-member-grid,
  .person-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .board-member-grid,
  .representative-grid,
  .admin-member-grid,
  .person-card-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }
}

/* Kompakt header, milli simgeler ve modern temsilcilik dizini */
.official-bar {
  height: 38px;
}
.official-bar-in {
  justify-content: space-between;
}
.national-symbols {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 0;
}
.national-symbols img {
  width: auto;
  height: 31px;
  object-fit: contain;
}
.official-links {
  margin-left: auto;
}
.head {
  gap: 15px;
}
.header-brand {
  min-width: 320px;
  max-width: 370px;
}
.header-logo {
  width: 58px;
  height: 64px;
  flex: 0 0 auto;
}
.header-brand-copy {
  max-width: 320px;
  font-size: 12px !important;
  line-height: 1.35;
  font-weight: 800;
  color: #172033;
  letter-spacing: 0.05px;
}
.head nav {
  gap: 12px;
}
.head nav > a,
.head .nav-dropdown > a {
  font-size: 10.5px;
  white-space: nowrap;
}
.donate {
  padding: 11px 13px;
  font-size: 11px;
}
.representatives-dropdown .nav-submenu {
  max-height: 410px;
  overflow-y: auto;
}
.head > nav > a {
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}
.sms-box > div:last-child {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 7px;
  row-gap: 3px;
}
.sms-box > div:last-child b,
.sms-box > div:last-child span {
  display: block;
}
.sms-box > div:last-child b {
  margin: 0;
  white-space: nowrap;
}
.national-admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.national-admin-grid > label {
  padding: 16px;
  border: 1px solid #e1e5eb;
  border-radius: 9px;
  background: #f8f9fb;
}
.national-preview {
  height: 80px;
  display: grid;
  place-items: center;
  margin: 12px 0;
  background: #111827;
  border-radius: 7px;
}
.national-preview img {
  max-width: 130px;
  max-height: 64px;
  object-fit: contain;
}
.national-admin-grid.single {
  grid-template-columns: minmax(280px, 520px);
}
.representative-directory {
  background: #f7f8fa;
}
.representative-group {
  margin-bottom: 62px;
}
.representative-group:last-child {
  margin-bottom: 0;
}
.directory-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid #dfe3e9;
  padding-bottom: 15px;
}
.directory-heading > span {
  padding: 7px 10px;
  border-radius: 4px;
  background: #17366f;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}
.directory-heading h2 {
  margin: 0;
  color: #17366f;
  font: 800 30px Montserrat;
}
.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.directory-card {
  min-height: 0;
  padding: 0;
  gap: 0;
  border-color: #e4e8ef;
  border-radius: 18px;
  align-items: stretch;
}
.directory-card:hover {
  transform: translateY(-5px);
  border-color: #c9d4e6;
  box-shadow: 0 18px 40px #17366f18;
}
.representative-detail-hero {
  padding: 58px 0;
  background: linear-gradient(135deg, #102a59, #173f7e);
  color: #fff;
}
.representative-detail-hero a {
  display: inline-block;
  margin-bottom: 28px;
  color: #d5dfef;
  font-size: 11px;
  font-weight: 700;
}
.representative-detail-hero span {
  display: block;
  color: #d7aa67;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.representative-detail-hero h1 {
  margin: 9px 0 0;
  font: 800 42px Montserrat;
}
.representative-profile {
  max-width: 980px;
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 48px;
  align-items: start;
}
.representative-info .eyebrow {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}
.representative-info h2,
.representative-info .person-card-name {
  margin: 12px 0 5px;
  color: #17366f;
  font: 800 34px / 1.15 Montserrat;
}
.representative-info h3 {
  margin: 0 0 22px;
  color: #586579;
  font-size: 17px;
  font-weight: 600;
}
.representative-info p {
  color: #667085;
  line-height: 1.8;
}
.detail-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e2e6ec;
  font-size: 12px;
}
.detail-contact a {
  color: var(--red);
  font-weight: 700;
}
@media (max-width: 1200px) {
  .header-brand {
    min-width: 290px;
    max-width: 340px;
  }
  .header-brand-copy {
    max-width: 280px;
    font-size: 11px !important;
  }
  .head nav {
    gap: 9px;
  }
  .head nav > a,
  .head .nav-dropdown > a {
    font-size: 9.5px;
  }
  .directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 950px) {
  .official-bar {
    height: auto;
    min-height: 38px;
  }
  .header-brand {
    min-width: 0;
    max-width: 360px;
  }
  .header-brand-copy {
    max-width: 290px;
    font-size: 12px !important;
  }
  .head nav > a,
  .head .nav-dropdown > a {
    font-size: 12px;
  }
  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .representative-profile {
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 30px;
  }
}
@media (max-width: 650px) {
  .national-symbols img {
    height: 26px;
  }
  .official-links a {
    font-size: 8.5px;
    padding: 0 8px;
  }
  .national-admin-grid,
  .directory-grid,
  .representative-profile {
    grid-template-columns: 1fr;
  }
  .directory-grid {
    max-width: 360px;
    margin-inline: auto;
  }
  .directory-card {
    min-height: 0;
  }
  .representative-detail-hero h1 {
    font-size: 32px;
  }
  .person-card--detail {
    max-width: 320px;
    width: 100%;
    margin: auto;
  }
  .representative-info {
    text-align: center;
  }
  .detail-contact {
    text-align: left;
  }
}

/* ===== emsav.org.tr birebir: Genel Başkanlık / Temsilcilikler liste ===== */
.org-page {
  background: transparent;
  padding-bottom: 60px;
}
.org-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: #0f2f66;
}
.org-banner img {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: cover;
  object-position: center;
}
.org-page-inner {
  max-width: 920px;
  padding-top: 28px;
}
.org-page-title {
  margin: 8px 0 28px;
  color: #10336d;
  font: 700 28px / 1.25 Montserrat, Arial, sans-serif;
}
.org-list-group {
  margin-bottom: 36px;
}
.org-list-heading {
  margin: 0 0 14px;
  color: #10336d;
  font: 700 18px / 1.3 Montserrat, Arial, sans-serif;
}
.org-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.org-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid #10336d;
  border-radius: 10px;
  background: #fff;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.org-row:hover {
  background: #f7f9fc;
  box-shadow: 0 4px 14px #10336d14;
}
.org-row-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #eef2f7;
}
.org-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.org-row-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.org-row-text strong {
  color: #10336d;
  font: 700 15px / 1.35 Montserrat, Arial, sans-serif;
  text-transform: none;
}
.org-row-text small {
  color: #5a6578;
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 650px) {
  .org-page-title {
    font-size: 22px;
  }
  .org-list {
    grid-template-columns: 1fr;
  }
  .org-row {
    gap: 12px;
    padding: 10px 12px;
  }
  .org-row-thumb {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }
  .org-row-text strong {
    font-size: 13px;
  }
}

/* Kurulu üyeleri: emsav.org yatay satır (foto sol, metin sağ) */
.board-section.wp-board {
  padding-top: 8px;
}
.board-section.wp-board .board-title {
  display: none;
}
.wp-board-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.wp-board-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #e6eaf0;
}
.wp-board-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.wp-board-photo {
  width: 140px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #edf0f4;
}
.wp-board-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.wp-board-photo span {
  display: grid;
  place-items: center;
  height: 100%;
  color: #8b95a4;
  font-size: 42px;
  font-weight: 800;
}
.wp-board-meta strong {
  display: block;
  color: #111;
  font: 700 18px / 1.3 Montserrat, Arial, sans-serif;
}
.wp-board-meta .wp-role {
  display: block;
  margin-top: 6px;
  color: #222;
  font: 700 14px / 1.4 Montserrat, Arial, sans-serif;
}
.wp-board-meta .wp-bio {
  display: block;
  margin-top: 4px;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  white-space: pre-line;
  line-height: 1.45;
}
@media (max-width: 650px) {
  .wp-board-row {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 14px;
  }
  .wp-board-photo {
    width: 100px;
  }
}

/* Temsilcilik detay kartı — foto sol, logo+isim sağ */
.org-page-inner > .org-page-title {
  padding-bottom: 12px;
  margin-bottom: 22px;
  border-bottom: 1px solid #10336d;
}
.rep-detail-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 0;
}
.rep-detail-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #17366f;
  border-radius: 8px;
  background: #fff;
}
.rep-detail-photo {
  width: 180px;
  min-height: 220px;
  background: #edf0f4;
  border-right: 1px solid #dfe5ee;
}
.rep-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.rep-detail-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  padding: 24px 32px;
  min-width: 0;
}
.rep-detail-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  margin: 0 0 10px;
  display: block;
}
.rep-detail-name {
  color: #17366f;
  font: 800 20px / 1.25 Montserrat, Arial, sans-serif;
}
.rep-detail-status {
  color: var(--red);
  font: 700 15px / 1.35 Montserrat, Arial, sans-serif;
}
.rep-detail-role {
  color: #222;
  font: 500 15px / 1.4 Montserrat, Arial, sans-serif;
}
.rep-detail-meta .detail-contact {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e6eaf0;
  width: 100%;
}
@media (max-width: 650px) {
  .rep-detail-card {
    grid-template-columns: 1fr;
  }
  .rep-detail-photo {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-right: 0;
    border-bottom: 1px solid #dfe5ee;
  }
  .rep-detail-meta {
    padding: 18px 18px 20px;
  }
}

