/* ==========================================================================
   Resmî Portal — beyaz / açık gri zemin, bayrak kırmızısı ve antrasit.
   Başlıklar Brygada 1918 (tırnaklı), metin Hanken Grotesk.
   ========================================================================== */

:root {
  --rp-white: #fff;
  --rp-gray: #F3F4F6;
  --rp-gray-2: #E9EBEF;
  --rp-line: #DADDE2;
  --rp-ink: #1E2329;
  --rp-ink-2: #4B5360;
  --rp-muted: #6B7280;
  --rp-red: #B4121B;
  --rp-red-dark: #8E0E15;
  --rp-char: #22272E;
  --rp-char-2: #2A3038;

  --t-bg: var(--rp-white);
  --t-text: var(--rp-ink);
  --t-accent: var(--rp-red);
  --t-font: "Hanken Grotesk", "Segoe UI", sans-serif;
  --t-font-display: "Brygada 1918", Georgia, serif;
  --t-container: 1240px;
  --t-header-h: 64px;
  --lb-bg: rgba(20, 23, 28, .97);
  --lb-accent: var(--rp-red);
}

body.rp { font-size: 16.5px; line-height: 1.65; }
.rp a { text-decoration: none; }
.rp :focus-visible { outline: 2px solid var(--rp-red); outline-offset: 2px; }

/* Kırmızı şerit (üst ve en alt) */
.rp-stripe { height: 5px; background: linear-gradient(90deg, var(--rp-red) 0 78%, var(--rp-char) 78% 100%); }

/* ---------- Düğmeler ---------- */
.rp-btn, .rp .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--t-font);
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.rp-btn-red, .rp .btn { background: var(--rp-red); color: #fff; }
.rp-btn-red:hover, .rp .btn:hover { background: var(--rp-red-dark); }
.rp-btn-dark { background: var(--rp-char); color: #fff; }
.rp-btn-dark:hover { background: #000; }
.rp-btn-line { background: transparent; border-color: var(--rp-line); color: var(--rp-ink); }
.rp-btn-line:hover { border-color: var(--rp-ink); }

/* ---------- Bilgi çubuğu ---------- */
.rp-util { background: var(--rp-gray); border-bottom: 1px solid var(--rp-line); font-size: 13px; color: var(--rp-ink-2); }
.rp-util-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.rp-util-org { font-weight: 600; letter-spacing: .02em; }
.rp-util-links { display: flex; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.rp-util-links a { display: inline-flex; align-items: center; gap: 7px; color: var(--rp-ink-2); transition: color .2s; }
.rp-util-links a:hover { color: var(--rp-red); }
.rp-util-links .icon { font-size: 14px; }
.rp-util-social { padding: 4px 0; }
.rp-util-links li:nth-child(3) { padding-left: 18px; border-left: 1px solid var(--rp-line); }

/* ---------- Kimlik alanı ---------- */
.rp-id { background: #fff; }
.rp-id-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.rp-brand { display: flex; align-items: center; gap: 18px; color: var(--rp-ink); }
.rp-seal { width: 66px; color: var(--rp-red); }
.rp-brand-text { display: flex; flex-direction: column; padding-left: 18px; border-left: 1px solid var(--rp-line); }
.rp-brand-name { font-family: var(--t-font-display); font-size: 30px; font-weight: 600; line-height: 1.1; letter-spacing: -.005em; }
.rp-brand-title { margin-top: 4px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rp-red); }
.rp-id-actions { display: flex; gap: 10px; }
.rp-id .menu-toggle { color: var(--rp-ink); border: 1px solid var(--rp-line); border-radius: 2px; }

/* ---------- Ana menü çubuğu ---------- */
.rp-sticky { display: contents; }
.rp-nav { position: sticky; top: 0; z-index: 50; background: var(--rp-char); box-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
.rp-nav ul { display: flex; margin: 0; padding: 0; list-style: none; }
.rp-nav a {
  position: relative;
  display: flex; align-items: center;
  height: var(--t-header-h);
  padding: 0 22px;
  color: #E6E8EB;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  transition: background-color .2s, color .2s;
}
.rp-nav li + li a::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: rgba(255, 255, 255, .12); }
.rp-nav a:hover { background: var(--rp-char-2); color: #fff; }
.rp-nav a.is-active { background: var(--rp-red); color: #fff; }
.rp-nav a.is-active::before, .rp-nav li:has(a.is-active) + li a::before { display: none; }
.rp-nav .rp-nav-extra { margin-left: auto; }
.rp-nav .rp-nav-extra a { color: #fff; }
.rp-nav .rp-nav-extra a::before { display: none; }
.rp-nav .rp-nav-extra a::after { content: "→"; margin-left: 10px; color: #F2A0A4; }

/* ---------- Profil ---------- */
.rp-profile {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  background: var(--rp-gray);
  border-bottom: 1px solid var(--rp-line);
}
.rp-profile::after {
  content: "";
  position: absolute; right: -80px; top: 50%;
  width: 520px; aspect-ratio: 260 / 240;
  transform: translateY(-50%);
  background: var(--rp-ink);
  opacity: .035;
  -webkit-mask: url("../img/logo-header.png") center / contain no-repeat;
          mask: url("../img/logo-header.png") center / contain no-repeat;
  pointer-events: none;
}
.rp-profile-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; align-items: center; }
.rp-portrait { position: relative; background: #fff; padding: 10px; border: 1px solid var(--rp-line); box-shadow: 0 18px 40px -24px rgba(30, 35, 41, .45); }
.rp-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.rp-portrait figcaption { display: flex; flex-direction: column; padding: 14px 16px; background: var(--rp-red); color: #fff; }
.rp-portrait figcaption strong { font-family: var(--t-font-display); font-size: 20px; font-weight: 600; line-height: 1.2; }
.rp-portrait figcaption span { font-size: 13px; opacity: .9; }

.rp-slogan { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rp-red); }
.rp-slogan::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.rp-profile-title { margin-top: 16px; font-family: var(--t-font-display); font-size: clamp(36px, 4.4vw, 58px); font-weight: 600; line-height: 1.08; letter-spacing: -.012em; color: var(--rp-ink); }

.rp-duties { width: 100%; max-width: 640px; margin-top: 32px; border-collapse: collapse; background: #fff; border: 1px solid var(--rp-line); font-size: 15px; }
.rp-duties caption { padding: 0 0 10px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rp-muted); }
.rp-duties th, .rp-duties td { padding: 12px 18px; border-bottom: 1px solid var(--rp-line); text-align: left; vertical-align: top; }
.rp-duties tr:last-child th, .rp-duties tr:last-child td { border-bottom: 0; }
.rp-duties th { width: 42%; font-weight: 700; color: var(--rp-ink); border-left: 3px solid var(--rp-red); }
.rp-duties td { color: var(--rp-ink-2); }
.rp-profile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rp-profile-actions .rp-btn-line { background: #fff; }

/* ---------- Hızlı erişim ---------- */
.rp-quick { background: #fff; border-bottom: 1px solid var(--rp-line); }
.rp-quick-list { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; list-style: none; }
.rp-quick-list li + li { border-left: 1px solid var(--rp-line); }
.rp-quick-list a {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 26px 10px 24px;
  color: var(--rp-ink);
  font-size: 14px; font-weight: 600; text-align: center;
  border-bottom: 3px solid transparent;
  transition: background-color .2s, border-color .2s, color .2s;
}
.rp-quick-list a:hover { background: var(--rp-gray); border-bottom-color: var(--rp-red); }
.rp-ico { width: 30px; height: 30px; color: var(--rp-red); }

/* ---------- Bölümler ---------- */
.rp-section { position: relative; padding: 80px 0; }
.rp-gray { background: var(--rp-gray); border-top: 1px solid var(--rp-line); border-bottom: 1px solid var(--rp-line); }
.rp-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: 40px; padding-bottom: 16px; border-bottom: 1px solid var(--rp-line); }
.rp-title {
  position: relative;
  padding-left: 18px;
  font-family: var(--t-font-display);
  font-size: clamp(28px, 3vw, 38px); font-weight: 600; line-height: 1.15;
  color: var(--rp-ink);
}
.rp-title::before { content: ""; position: absolute; left: 0; top: .14em; bottom: .14em; width: 5px; background: var(--rp-red); }
.rp-head-sub { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--rp-muted); }
.rp-text p + p { margin-top: 1.1em; }
.rp-text { font-size: 17px; color: var(--rp-ink-2); }
.rp-text p:first-child::first-line { color: var(--rp-ink); font-weight: 600; }

/* Hakkımda */
.rp-about-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: start; }
.rp-side { display: flex; flex-direction: column; gap: 20px; }
.rp-box { padding: 22px 24px; background: #fff; border: 1px solid var(--rp-line); border-top: 3px solid var(--rp-char); }
.rp-box-title { margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rp-muted); }
.rp-kv { margin: 0; }
.rp-kv div { padding: 10px 0; border-bottom: 1px dashed var(--rp-line); }
.rp-kv div:last-child { border-bottom: 0; padding-bottom: 0; }
.rp-kv dt { font-size: 12.5px; color: var(--rp-muted); }
.rp-kv dd { margin: 2px 0 0; font-weight: 600; color: var(--rp-ink); }
.rp-box-dark { display: flex; gap: 16px; align-items: flex-start; background: var(--rp-char); border-color: var(--rp-char); border-top-color: var(--rp-red); color: #D6D9DE; font-size: 14.5px; line-height: 1.6; }
.rp-box-dark img { width: 56px; height: auto; flex-shrink: 0; }
.rp-contact-mini { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.rp-contact-mini li { display: flex; gap: 10px; align-items: flex-start; }
.rp-contact-mini .icon { margin-top: 4px; color: var(--rp-red); }
.rp-contact-mini a { color: var(--rp-ink); word-break: break-word; }
.rp-contact-mini a:hover { color: var(--rp-red); }

/* Faaliyetler: haber kartları */
.rp-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rp-news-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rp-news-1 { grid-template-columns: 1fr; }
.rp-news-1 .rp-news-item { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.rp-news-1 .rp-news-img.gallery-item { aspect-ratio: auto; min-height: 320px; }
.rp-news-1 .rp-news-body { padding: 32px; }
.rp-news-item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rp-line); transition: box-shadow .25s, transform .25s; }
.rp-news-item:hover { box-shadow: 0 16px 32px -22px rgba(30, 35, 41, .5); }
.rp-news-img.gallery-item { aspect-ratio: 16 / 10; background: var(--rp-gray-2); }
.rp-news-img img { object-position: center 30%; }
.rp-news-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 22px; }
.rp-tag { align-self: flex-start; padding: 3px 8px; background: var(--rp-gray); border-left: 3px solid var(--rp-red); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rp-ink-2); }
.rp-news-body h3 { font-family: var(--t-font-display); font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--rp-ink); }
.rp-news-body p { font-size: 15px; color: var(--rp-ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rp .gallery-more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--rp-red); }
.rp .gallery-more:hover { color: var(--rp-red-dark); text-decoration: underline; text-underline-offset: 3px; }
.rp .gallery-zoom { background: rgba(180, 18, 27, .92); color: #fff; border-radius: 2px; }

/* Faaliyetler: fotoğraf duvarı */
.rp-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.rp-news + .rp-wall { padding-top: 32px; border-top: 1px solid var(--rp-line); }
.rp-wall-item .gallery-item { aspect-ratio: 1 / 1; background: var(--rp-gray-2); border: 1px solid var(--rp-line); }
.rp-wall-cap { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--rp-ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rp-wall.is-limited .is-extra { display: none; }
.rp-more-wrap { display: flex; justify-content: center; margin-top: 32px; }
.rp-more { background: #fff; }

/* Sektörler */
.rp-sectors { border: 1px solid var(--rp-line); }
.rp-sector { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.rp-sector + .rp-sector { border-top: 1px solid var(--rp-line); }
.rp-sector-name {
  display: flex; align-items: center; gap: 14px;
  padding: 24px;
  background: var(--rp-gray);
  border-right: 1px solid var(--rp-line);
  font-family: var(--t-font-display); font-size: 20px; font-weight: 600; line-height: 1.25;
}
.rp-sector-name span { font-family: var(--t-font); font-size: 13px; font-weight: 700; color: var(--rp-red); letter-spacing: .06em; }
.rp-sector-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; padding: 22px 28px; }
.rp-sector-logos .brand-logo img { max-height: 72px; max-width: 170px; }

/* Partimiz */
.rp-party-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.rp-principles { background: var(--rp-red); color: #fff; padding: 32px 32px 28px; box-shadow: 0 20px 40px -28px rgba(142, 14, 21, .8); }
.rp-principles-title { padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .3); font-family: var(--t-font-display); font-size: 24px; font-weight: 600; }
.rp-principles ol { margin: 0; padding: 0; list-style: none; counter-reset: ilke; }
.rp-principles li { position: relative; padding: 16px 0 16px 52px; counter-increment: ilke; }
.rp-principles li + li { border-top: 1px solid rgba(255, 255, 255, .18); }
.rp-principles li::before {
  content: counter(ilke, decimal-leading-zero);
  position: absolute; left: 0; top: 16px;
  font-family: var(--t-font-display); font-size: 28px; font-weight: 600; line-height: 1;
  color: rgba(255, 255, 255, .55);
}
.rp-principles h4 { font-size: 16.5px; font-weight: 700; }
.rp-principles p { margin-top: 4px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .86); }

/* İletişim */
.rp-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 32px; padding: 0; list-style: none; border: 1px solid var(--rp-line); }
.rp-info li { display: flex; gap: 16px; align-items: center; padding: 22px 24px; }
.rp-info li + li { border-left: 1px solid var(--rp-line); }
.rp-info-ico { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex-shrink: 0; background: var(--rp-gray); color: var(--rp-red); font-size: 20px; }
.rp-info small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rp-muted); }
.rp-info a { font-weight: 600; color: var(--rp-ink); word-break: break-word; }
.rp-info a:hover { color: var(--rp-red); }

.rp-forms { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.rp-panel { border: 1px solid var(--rp-line); background: #fff; scroll-margin-top: calc(var(--t-header-h) + 16px); }
.rp-panel-title { padding: 14px 22px; background: var(--rp-char); color: #fff; font-family: var(--t-font-display); font-size: 20px; font-weight: 600; border-bottom: 3px solid var(--rp-red); }
.rp-panel-body { padding: 22px; }
.rp-panel-lead { margin-bottom: 18px; font-size: 15px; color: var(--rp-ink-2); }
.rp .field input {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--rp-line);
  border-radius: 2px;
  background: var(--rp-gray);
  color: var(--rp-ink);
  font-size: 15px;
  transition: border-color .2s, background-color .2s;
}
.rp .field input::placeholder { color: #8A919C; }
.rp .field input:focus { outline: none; border-color: var(--rp-ink); background: #fff; }
.rp .field input.is-invalid { border-color: var(--rp-red); background: #FDF2F2; }
.rp .checkbox { font-size: 14.5px; font-weight: 600; }
.rp .checkbox input { accent-color: var(--rp-red); }
.rp .kvkk-text { margin: 0; font-size: 13px; line-height: 1.55; color: var(--rp-muted); }
.rp .form-message.is-success { color: #166534; }
.rp .form-message.is-error { color: var(--rp-red); }

/* 404 ve genel sınıflar */
.rp .section { padding: 110px 0; }
.rp .eyebrow { font-family: var(--t-font-display); font-size: 96px; font-weight: 600; line-height: 1; color: var(--rp-red); }
.rp .section-title { margin-top: 14px; font-family: var(--t-font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 600; }

/* ---------- Alt bölüm ---------- */
.rp-footer { background: var(--rp-char); color: #B9BEC6; font-size: 14.5px; }
.rp-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 40px; padding-top: 60px; padding-bottom: 48px; }
.rp-footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.rp-footer-seal { width: 60px; flex-shrink: 0; color: #fff; }
.rp-footer-name { font-family: var(--t-font-display); font-size: 22px; font-weight: 600; color: #fff; line-height: 1.2; }
.rp-footer-title { margin-top: 6px; font-size: 13.5px; }
.rp-footer-col h2 { margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.rp-footer-col ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rp-footer-col a { display: inline-flex; gap: 10px; align-items: flex-start; color: #B9BEC6; transition: color .2s; }
.rp-footer-col a:hover { color: #fff; }
.rp-footer-col .icon { margin-top: 4px; color: #E05A61; }
.rp-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); background: #1B1F25; font-size: 13px; }
.rp-footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.rp-footer-bottom a { color: #B9BEC6; }
.rp-footer-bottom a:hover { color: #fff; }

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1180px) {
  .rp-profile-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 44px; }
  .rp-nav a { padding: 0 16px; }
}

@media (max-width: 1024px) {
  :root { --t-header-h: 0px; }
  .rp-id-actions { display: none; }
  .rp-sticky { display: block; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px -4px rgba(0, 0, 0, .18); }
  .rp-nav { position: static; box-shadow: none; }
  .rp-id { border-bottom: 1px solid var(--rp-line); }
  .rp-nav .main-nav.is-open { max-height: calc(100dvh - 80px); overflow-y: auto; }
  .rp-id-inner { padding-top: 12px; padding-bottom: 12px; }
  .rp-seal { width: 50px; }
  .rp-brand-name { font-size: 24px; }
  .rp-nav .main-nav { display: none; }
  .rp-nav .main-nav.is-open { display: block; }
  .rp-nav ul { flex-direction: column; padding: 6px 0 10px; }
  .rp-nav a { height: 50px; padding: 0 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .rp-nav a.is-active { padding: 0 14px; }
  .rp-nav li + li a::before { display: none; }
  .rp-nav .rp-nav-extra { margin-left: 0; }
  .rp-nav .rp-nav-extra a { border-bottom: 0; }
  .rp-profile-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 36px; }
  .rp-quick-list { grid-template-columns: repeat(3, 1fr); }
  .rp-quick-list li:nth-child(4) { border-left: 0; }
  .rp-quick-list li:nth-child(n+4) { border-top: 1px solid var(--rp-line); }
  .rp-about-grid, .rp-party-grid, .rp-forms { grid-template-columns: 1fr; gap: 32px; }
  .rp-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-news:not(.rp-news-1) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rp-sector { grid-template-columns: 220px minmax(0, 1fr); }
  .rp-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  body.rp { font-size: 16px; }
  .rp-util-org, .rp-hide-sm { display: none; }
  .rp-util-inner { justify-content: center; }
  .rp-util-links li:nth-child(3) { border-left: 0; padding-left: 0; }
  .rp-brand { gap: 12px; }
  .rp-brand-text { padding-left: 12px; }
  .rp-seal { width: 42px; }
  .rp-brand-name { font-size: 21px; }
  .rp-brand-title { font-size: 10.5px; letter-spacing: .08em; }
  .rp-profile { padding: 36px 0 44px; }
  .rp-profile::after { width: 300px; right: -120px; }
  .rp-profile-grid { grid-template-columns: 1fr; }
  .rp-portrait { max-width: none; }
  .rp-portrait img { aspect-ratio: 1 / 1; }
  .rp-duties th, .rp-duties td { display: block; width: auto; padding: 0 14px; }
  .rp-duties th { padding-top: 10px; }
  .rp-duties td { padding-bottom: 10px; border-left: 3px solid var(--rp-red); }
  .rp-duties th { border-bottom: 0; }
  .rp-profile-actions .rp-btn { flex: 1 1 100%; }
  .rp-quick-list { grid-template-columns: repeat(2, 1fr); }
  .rp-quick-list li:nth-child(odd) { border-left: 0; }
  .rp-quick-list li:nth-child(4) { border-left: 1px solid var(--rp-line); }
  .rp-quick-list li:nth-child(n+3) { border-top: 1px solid var(--rp-line); }
  .rp-quick-list a { flex-direction: row; justify-content: flex-start; padding: 16px 14px; font-size: 13.5px; text-align: left; }
  .rp-ico { width: 24px; height: 24px; }
  .rp-section { padding: 52px 0; }
  .rp-head { margin-bottom: 28px; }
  .rp-side { grid-template-columns: 1fr; }
  .rp .rp-news { grid-template-columns: 1fr; }
  .rp-news-1 .rp-news-item { display: flex; }
  .rp-news-1 .rp-news-img.gallery-item { aspect-ratio: 16 / 10; min-height: 0; }
  .rp-news-1 .rp-news-body { padding: 20px 22px 22px; }
  .rp-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rp-sector { grid-template-columns: 1fr; }
  .rp-sector-name { border-right: 0; border-bottom: 1px solid var(--rp-line); padding: 14px 18px; font-size: 18px; }
  .rp-sector-logos { justify-content: center; padding: 18px; gap: 16px 24px; }
  .rp-sector-logos .brand-logo img { max-height: 56px; max-width: 130px; }
  .rp-principles { padding: 24px 22px 20px; }
  .rp-info { grid-template-columns: 1fr; }
  .rp-info li + li { border-left: 0; border-top: 1px solid var(--rp-line); }
  .rp-panel-body { padding: 18px; }
  .rp-footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; }
  .rp-footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }
}
