/* Nile Institutional — fisheries admin site */
:root {
  --deep: #053a4d;
  --mid: #0a5f73;
  --teal: #14808f;
  --foam: #e8f4f6;
  --mist: #f4fafb;
  --ink: #102a33;
  --muted: #5a7380;
  --sand: #b8955a;
  --sand-light: #f0d9a8;
  --line: rgba(10, 95, 115, 0.14);
  --white: #ffffff;
  --radius: 4px;
  --font-display: "El Messiri", "IBM Plex Sans Arabic", "Cairo", sans-serif;
  --font-body: "Cairo", "IBM Plex Sans Arabic", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: min(1100px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(20, 128, 143, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(184, 149, 90, 0.06), transparent 50%),
    linear-gradient(180deg, var(--mist) 0%, var(--foam) 100%);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.35;
  font-weight: 700;
  margin: 0;
}

/* —— Brand bar —— */
.brand-bar {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 1.35rem 0 1.45rem;
  background:
    linear-gradient(125deg, #022833 0%, var(--deep) 36%, var(--mid) 74%, #12758a 100%);
}

.brand-bar__glow {
  position: absolute;
  inset: -35% auto auto 50%;
  translate: -50% 0;
  width: min(560px, 85vw);
  height: min(280px, 80%);
  background: radial-gradient(circle, rgba(240, 217, 168, 0.14), transparent 70%);
  pointer-events: none;
}

.brand-bar__inner {
  position: relative;
  z-index: 1;
  width: var(--wrap);
  margin-inline: auto;
}

.brand-bar__cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem 1.5rem;
  text-align: start;
  animation: rise 0.75s var(--ease) both;
}

.brand-bar__mark {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(240, 217, 168, 0.72),
    0 10px 26px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  padding: 3px;
  animation: markIn 0.85s var(--ease) both;
}

.brand-bar__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
  background: #fff;
}

.brand-bar__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  min-width: 0;
  max-width: 34rem;
}

.brand-bar__stack > p {
  margin: 0;
  line-height: 1.4;
}

.brand-bar__state {
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
}

.brand-bar__council {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.25vw, 0.9rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.76);
}

.brand-bar__admin {
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2.8vw, 1.72rem);
  font-weight: 700;
  color: #fff;
  margin-top: 0.2rem !important;
  letter-spacing: 0.01em;
}

.brand-bar__divider {
  width: min(14rem, 55%);
  height: 1px;
  margin: 0.55rem 0 0.2rem;
  background: linear-gradient(90deg, transparent, var(--sand-light) 18%, var(--sand) 50%, var(--sand-light) 82%, transparent);
  opacity: 0.9;
}

.brand-bar__en-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  margin-top: 0.15rem;
  max-width: 34rem;
}

.brand-bar__en-state,
.brand-bar__en-council,
.brand-bar__admin-en {
  margin: 0;
  line-height: 1.35;
  font-family: var(--font-display);
}

.brand-bar__en-state {
  font-size: clamp(0.8rem, 1.25vw, 0.9rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.brand-bar__en-council {
  font-size: clamp(0.7rem, 1.1vw, 0.8rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
}

.brand-bar__admin-en {
  margin-top: 0.12rem !important;
  font-size: clamp(0.82rem, 1.35vw, 0.95rem);
  font-weight: 700;
  color: var(--sand-light);
}

@media (max-width: 720px) {
  .brand-bar__cluster {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }
  .brand-bar__stack {
    align-items: center;
  }
  .brand-bar__divider {
    margin-inline: auto;
  }
  .brand-bar__en-block {
    align-items: center;
    text-align: center;
  }
  .brand-bar__mark {
    width: 104px;
    height: 104px;
  }
}

@media (max-width: 560px) {
  .brand-bar {
    padding: 1.1rem 0 1.25rem;
  }
}

.brand-bar__edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--sand) 18%, var(--sand-light) 50%, var(--sand) 82%, transparent);
}

@keyframes markIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* —— Nav —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(5, 58, 77, 0.05);
}

.site-nav__inner {
  width: var(--wrap);
  margin-inline: auto;
}

.site-nav__inner--with-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.05rem;
}

.site-nav__scroll {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.site-nav__scroll::-webkit-scrollbar {
  display: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0.15rem;
  border: 1px solid var(--line);
  background: #f7fbfc;
  flex-shrink: 0;
  border-radius: 4px;
}

.lang-switch__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mid);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.32rem 0.58rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-switch__btn:hover {
  color: var(--deep);
  background: rgba(20, 128, 143, 0.08);
}

.lang-switch__btn.is-active {
  background: var(--deep);
  color: #fff;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0.15rem 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0.05rem;
  width: max-content;
  min-width: 100%;
}

@media (min-width: 980px) {
  .site-nav__list {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }
}

.site-nav__link {
  display: inline-block;
  padding: 0.52rem 0.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--mid);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-nav__link:hover {
  color: var(--deep);
  background: rgba(20, 128, 143, 0.06);
}

.site-nav__link.is-active {
  color: var(--deep);
  border-bottom-color: var(--sand);
}

.site-nav__link--download {
  color: var(--deep) !important;
  position: relative;
}

.site-nav__link--download::after {
  content: "";
  position: absolute;
  inset-inline: 0.65rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--sand);
  opacity: 0.9;
}

/* —— Layout —— */
html,
body.site-body {
  max-width: 100%;
  overflow-x: hidden;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.page-body {
  padding: 2rem 0 3.5rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.wrap--narrow {
  width: min(760px, calc(100% - 2rem));
}

/* —— Page hero (inner pages) —— */
.page-hero {
  padding: 2.5rem 0 1.85rem;
  background:
    linear-gradient(180deg, rgba(5, 58, 77, 0.04), transparent),
    var(--foam);
  border-bottom: 1px solid var(--line);
  animation: rise 0.7s var(--ease) both;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 3.8vw, 2.25rem);
  color: var(--deep);
  margin-bottom: 0.45rem;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 36rem;
}

/* —— Home —— */
.is-home {
  background: var(--mist);
}

.home-hero {
  position: relative;
  min-height: clamp(280px, 42vh, 400px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(152deg, #032f3f 0%, var(--deep) 42%, var(--mid) 82%, var(--teal) 100%);
}

.home-hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 45% at 8% 25%, rgba(240, 217, 168, 0.16), transparent 58%),
    radial-gradient(ellipse 40% 40% at 95% 75%, rgba(20, 128, 143, 0.3), transparent 55%);
  animation: fade 1s var(--ease) both;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin: 0 auto;
  padding: 2.75rem 0 3.25rem;
  animation: rise 0.9s var(--ease) both;
}

.home-hero__kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--sand-light);
  opacity: 0.95;
}

.home-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  max-width: 15ch;
  line-height: 1.28;
}

.home-hero__lead {
  margin: 0 0 1.45rem;
  font-size: clamp(0.98rem, 1.5vw, 1.06rem);
  opacity: 0.92;
  max-width: 32rem;
  line-height: 1.75;
  font-weight: 500;
}

.home-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 42px;
  color: var(--mist);
  z-index: 3;
  display: block;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.78rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--sand);
  color: var(--deep);
}

.btn--primary:hover {
  background: #c9a66a;
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--solid {
  background: var(--mid);
  color: var(--white);
}

.btn--solid:hover {
  background: var(--deep);
}

.btn--outline {
  background: transparent;
  color: var(--mid);
  border-color: var(--mid);
}

.btn--outline:hover {
  background: var(--mid);
  color: var(--white);
}

/* —— Sections —— */
.section {
  padding: 3.15rem 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section__title {
  font-size: clamp(1.4rem, 2.8vw, 1.8rem);
  color: var(--deep);
  margin-bottom: 0.3rem;
}

.section__rule {
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--sand), var(--sand-light));
  margin: 0.7rem 0 1.35rem;
  border: 0;
}

.section__body {
  color: var(--ink);
  font-size: 1.04rem;
  max-width: 46rem;
  line-height: 1.85;
}

.section__body p {
  margin: 0 0 0.95rem;
}

.section--alt {
  background: rgba(255, 255, 255, 0.62);
}

/* Manager */
.manager {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr);
  gap: 2rem 2.75rem;
  align-items: start;
}

.manager__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(5, 58, 77, 0.12);
  outline: 1px solid rgba(184, 149, 90, 0.35);
  outline-offset: 4px;
}

.manager__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--mid);
  margin: 0.35rem 0 1rem;
  font-weight: 700;
}

@media (max-width: 800px) {
  .manager {
    grid-template-columns: 1fr;
  }
  .manager__photo {
    max-width: 260px;
    margin-inline: auto;
  }
}

/* Activity / library lists */
.item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.85rem 1.4rem;
}

@media (max-width: 900px) {
  .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .item-grid {
    grid-template-columns: 1fr;
  }
}

.item-link {
  display: block;
  color: inherit;
  padding-bottom: 0.35rem;
  transition: transform 0.25s var(--ease);
}

.item-link:hover {
  transform: translateY(-2px);
}

.item-link:hover .item-link__img {
  transform: scale(1.03);
}

.item-link__media {
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  background: var(--foam);
  aspect-ratio: 16 / 10;
}

.item-link__media--logo {
  background: linear-gradient(145deg, var(--deep), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-link__media--logo .item-link__img {
  object-fit: contain;
  padding: 1.1rem;
  transform: none !important;
}

.item-link__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.item-link__title {
  font-size: 1.1rem;
  color: var(--deep);
  margin-bottom: 0.25rem;
}

.item-link__meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.item-link__excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-link__more {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
}

.empty-note {
  text-align: center;
  color: var(--muted);
  padding: 2.5rem 1rem;
  grid-column: 1 / -1;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head .section__rule {
  margin-bottom: 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  background: var(--foam);
  border: 0;
  padding: 0;
  cursor: zoom-in;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5, 58, 77, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
  animation: fade 0.25s var(--ease);
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  border-radius: var(--radius);
}

/* Staff */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.25rem;
}

@media (max-width: 900px) {
  .staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.staff-person {
  text-align: center;
}

.staff-person__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.85rem;
  border: 3px solid rgba(20, 128, 143, 0.25);
}

.staff-person__placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 0.85rem;
  background: var(--foam);
  border: 3px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.staff-person__name {
  font-size: 1.05rem;
  color: var(--deep);
  margin-bottom: 0.25rem;
}

.staff-person__role {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Contact */
.contact-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(5, 58, 77, 0.07);
}

.contact-panel__info {
  background: linear-gradient(160deg, #032f3f 0%, var(--deep) 45%, var(--mid) 100%);
  color: var(--white);
  padding: 2.1rem 1.75rem 2.2rem;
}

.contact-panel__info h2 {
  margin: 0 0 1.45rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}

.contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  margin-bottom: 1.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(240, 217, 168, 0.16);
  color: var(--sand-light);
  flex-shrink: 0;
}

.contact-item__label {
  margin: 0 0 0.25rem;
  font-size: 0.82rem;
  opacity: 0.78;
  font-weight: 600;
}

.contact-item__value {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;
  word-break: break-word;
}

.contact-item__value a {
  color: #f0d9a8;
  text-decoration: none;
}

.contact-item__value a:hover {
  text-decoration: underline;
}

.contact-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-decoration: none !important;
}

.contact-chip:hover {
  background: rgba(255, 255, 255, 0.2);
}

.contact-chip--wa {
  background: rgba(37, 211, 102, 0.22);
  border-color: rgba(37, 211, 102, 0.45);
}

.contact-offices {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.contact-office {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.85rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-office__name {
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-office__phone {
  color: #f0d9a8 !important;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  direction: ltr;
}

.contact-office__phone:hover {
  text-decoration: underline;
}

.contact-panel__map {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background:
    linear-gradient(180deg, var(--foam), var(--mist)),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 12px,
      rgba(10, 95, 115, 0.04) 12px,
      rgba(10, 95, 115, 0.04) 24px
    );
  position: relative;
  color: var(--ink);
}

.contact-panel__map-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 0.35rem;
}

.contact-panel__map-sub {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

/* Article / detail */
.article-cover {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  background: var(--deep);
}

.article-cover img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.article-cover--logo {
  background: linear-gradient(145deg, var(--deep), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.article-cover--logo img {
  object-fit: contain;
  max-height: 260px;
  width: auto;
  max-width: min(320px, 70%);
  padding: 1.5rem;
}

.article {
  padding: 2.5rem 0 3rem;
}

.article__date {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.article__title {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  color: var(--deep);
  margin-bottom: 1.5rem;
}

.article__body {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--ink);
}

.article__body p {
  margin: 0 0 1.1rem;
}

.article__actions {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.article__pdf {
  margin-top: 2rem;
}

.article__pdf iframe {
  width: 100%;
  height: 70vh;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 0.75rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  padding: 1.5rem 1rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer__credit {
  margin-top: 0.55rem !important;
  color: #f0d9a8;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem !important;
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
