/* Shoqata Sindikale "Posta" — stil kryesor */
:root {
  --color-primary: #0072bb;
  --color-primary-dark: #005a96;
  --color-accent: #ffdd00;
  --color-accent-dark: #e6c800;
  --color-text: #1a1f2e;
  --color-text-muted: #5c6478;
  --color-bg: #f6f8fc;
  --color-surface: #ffffff;
  --color-border: rgba(0, 114, 187, 0.12);
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 4px 24px rgba(0, 45, 86, 0.08);
  --shadow-card: 0 8px 32px rgba(0, 45, 86, 0.1);
  --header-h: 72px;
  --max-w: 1120px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  /* Sticky footer: use stable viewport height — 100dvh changes as the mobile URL bar hides while
     scrolling, which grows min-height and leaves a large empty band below the footer. */
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-primary-dark);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 600;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Header */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
  align-self: stretch;
  width: 100%;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.header-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex: 1;
  flex-wrap: wrap;
}

.lang-switch {
  display: inline-flex;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.lang-switch__btn {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.42rem 0.7rem;
  border: none;
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-switch__btn:hover {
  color: var(--color-primary);
}

.lang-switch__btn.is-active {
  background: var(--color-primary);
  color: #fff;
}

.lang-switch__btn.is-active:hover {
  color: #fff;
  background: var(--color-primary-dark);
}

/* Dy gjuhë: përmbajtje statike */
html[lang="sq"] .i18n-en {
  display: none !important;
}

html[lang="en"] .i18n-sq {
  display: none !important;
}

.i18n-en,
.i18n-sq {
  display: inline;
}

p .i18n-en,
p .i18n-sq,
.section-intro .i18n-en,
.section-intro .i18n-sq {
  display: inline;
}

h1 .i18n-en,
h1 .i18n-sq,
h2 .i18n-en,
h2 .i18n-sq,
h3 .i18n-en,
h3 .i18n-sq {
  display: inline;
}

div.i18n-block.i18n-en,
div.i18n-block.i18n-sq {
  display: block;
}

html[lang="sq"] div.i18n-block.i18n-en {
  display: none !important;
}

html[lang="en"] div.i18n-block.i18n-sq {
  display: none !important;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand__logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__title {
  font-weight: 700;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.brand__subtitle {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Nav */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  cursor: pointer;
  color: var(--color-primary);
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle__bar::before {
  top: -6px;
}

.nav-toggle__bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.site-nav a:hover {
  background: rgba(0, 114, 187, 0.08);
  color: var(--color-primary);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  background: var(--color-primary);
  color: #fff;
}

.site-nav a[aria-current="page"]:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

/* Main */
main {
  flex: 1 0 auto;
}

.section {
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
}

.section--tight-top {
  padding-top: clamp(1.5rem, 3vw, 2rem);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    #004d82 55%,
    var(--color-primary-dark) 100%
  );
  color: #fff;
  padding: clamp(3rem, 8vw, 5.5rem) 1.25rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 50% at 100% 0%,
      rgba(255, 221, 0, 0.15) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 60% 40% at 0% 100%,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero__lead {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  opacity: 0.95;
  max-width: 38ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  border: 3px solid rgba(255, 221, 0, 0.35);
}

.hero__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-text);
  border-color: var(--color-accent);
}

.btn--accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-text);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 221, 0, 0.35);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  text-decoration: none;
}

/* Section titles */
.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.section-intro {
  margin: 0 0 2rem;
  max-width: 62ch;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Cards grid */
.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 700px) {
  .cards--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    135deg,
    rgba(0, 114, 187, 0.12),
    rgba(255, 221, 0, 0.25)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}

.card__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Split / about */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.split__visual {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.split__caption {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-text-muted);
}

.split__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.split__img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split__body h2 {
  margin-top: 0;
}

/* List checks */
.list-checks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-checks li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  color: var(--color-text-muted);
}

.list-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 221, 0, 0.35);
}

/* Team / anëtarët (Rreth nesh) */
.team-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.team-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.team-card__media {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 3px solid rgba(255, 221, 0, 0.65);
  box-shadow: 0 4px 16px rgba(0, 114, 187, 0.15);
  flex-shrink: 0;
}

.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.team-card__role {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.team-card__contacts {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  width: 100%;
  font-size: 0.85rem;
}

.team-card__contacts li {
  margin-bottom: 0.4rem;
  word-break: break-word;
}

.team-card__contacts a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.team-card__contacts a:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.team-card__fb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: auto;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: #1877f2;
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}

.team-card__fb:hover {
  background: #0d65d9;
  color: #fff;
  text-decoration: none;
}

.team-card__fb:active {
  transform: translateY(1px);
}

.team-card__fb svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Lajme grid (Aktivitetet) */
.post-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .post-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Ballina: katër postime në një rresht në desktop */
.post-grid.post-grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .post-grid.post-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .post-grid.post-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Ballinë / listë: një post i vetëm — qendër dhe një kolonë */
.post-grid.post-grid--single {
  grid-template-columns: 1fr !important;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.post-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.post-card[hidden] {
  display: none !important;
}

.post-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.post-card__link:hover {
  color: inherit;
  text-decoration: none;
}

.post-card__link:hover .post-card__title {
  color: var(--color-primary);
}

.post-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(0, 114, 187, 0.08);
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.post-card__media--contain img {
  object-fit: contain;
  padding: 1.25rem;
}

.post-card:hover .post-card__media img {
  transform: scale(1.04);
}

.post-card__badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.post-card__badge--news {
  background: var(--color-primary);
  color: #fff;
}

.post-card__badge--blog {
  background: var(--color-accent);
  color: var(--color-text);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.15rem 1.2rem;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.post-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  transition: color 0.2s var(--ease);
}

.post-card__excerpt {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  flex: 1;
}

.post-card__more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: auto;
}

.post-card__link:hover .post-card__more {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Seksione ndarëse (Ballina) */
.section--alt {
  background: linear-gradient(180deg, #e8f0f9 0%, var(--color-bg) 55%);
}

.section-actions {
  margin-top: 2rem;
  text-align: center;
}

/* Facebook / Viber — kanalet zyrtare */
.social-strip {
  padding: clamp(2rem, 4vw, 3rem) 1.25rem;
  background: linear-gradient(135deg, #005a96 0%, var(--color-primary) 100%);
  color: #fff;
}

.social-strip .container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.social-strip__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.social-strip__text {
  margin: 0 0 1.25rem;
  opacity: 0.95;
  line-height: 1.65;
  max-width: 58ch;
}

.social-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.social-strip .btn--accent {
  color: var(--color-text);
}

.social-strip__hint {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.88;
  max-width: 52ch;
}

/* Galeria */
.gallery-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

@media (min-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 45, 86, 0.35) 0%,
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Faqja e vetme e artikullit / lajmit */
.article-page {
  padding: clamp(1.5rem, 3vw, 2.5rem) 1.25rem 3rem;
}

.article-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  text-decoration: none;
}

.article-page__back:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-page__header {
  margin-bottom: 1.75rem;
  max-width: 720px;
}

.article-page__label {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.article-page__label--news {
  background: var(--color-primary);
  color: #fff;
}

.article-page__label--blog {
  background: var(--color-accent);
  color: var(--color-text);
}

.article-page__time {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.article-page__title {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--color-text);
}

.article-page__figure {
  margin: 0 0 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: 900px;
}

.article-page__figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.article-page__figure--natural img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.article-page__figure--narrow {
  max-width: 520px;
  margin-inline: auto;
  margin-top: 2rem;
}

.article-page__body {
  max-width: 720px;
}

.article-page__body p {
  margin: 0 0 1.1rem;
  color: var(--color-text);
  line-height: 1.75;
}

.article-page__body h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.article-page__body ul {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

.article-page__body li {
  margin-bottom: 0.45rem;
}

.article-page__body .i18n-block > *:first-child {
  margin-top: 0;
}

.article-page__body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--color-accent);
  background: rgba(0, 114, 187, 0.06);
  font-style: italic;
  color: var(--color-text-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.contact-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
}

.contact-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.contact-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-list strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

/* Form */
.form {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.form__row {
  margin-bottom: 1rem;
}

.form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 114, 187, 0.2);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form__hint {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.form-success {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 114, 187, 0.1);
  border: 1px solid rgba(0, 114, 187, 0.25);
  color: var(--color-primary-dark);
  font-weight: 600;
  margin-top: 1rem;
}

.form-success.is-visible {
  display: block;
}

/* CTA band */
.cta-band {
  background: linear-gradient(
    90deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: #fff;
  padding: clamp(2rem, 4vw, 3rem) 1.25rem;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.cta-band p {
  margin: 0 0 1.25rem;
  opacity: 0.92;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  flex-shrink: 0;
  background: #0d1b2a;
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.footer-brand strong {
  color: #fff;
  display: block;
  margin-bottom: 0.35rem;
}

.footer-nav h4,
.footer-contact h4 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  line-height: 1.6;
}

.footer-bottom .footer-credit a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom .footer-credit a:hover {
  color: #fff6a8;
  text-decoration: underline;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }

  .site-nav.is-open {
    max-height: 320px;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 1rem;
  }

  .site-nav a {
    padding: 0.85rem 0.75rem;
  }

  .header-inner {
    position: relative;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card:hover {
    transform: none;
  }

  .post-card:hover {
    transform: none;
  }

  .post-card:hover .post-card__media img {
    transform: none;
  }

  .gallery-item:hover img {
    transform: none;
  }

  .gallery-item:hover::after {
    opacity: 0;
  }

  .team-card:hover {
    transform: none;
  }

  .team-card__fb:active {
    transform: none;
  }

  .btn:active {
    transform: none;
  }
}
