/* ============================================================
   MAIN.CSS — Homepage sections for Mahamat Ahmat Lazina
   ============================================================ */

/* ── Shared Utilities ───────────────────────────────────────── */
/* Home navbar image treatment */
.hero-header {
  position: relative;
  isolation: isolate;
}

.hero-header::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  bottom: -12px;
  left: 0;
  z-index: 0;
  background: url("hero.jpg") center center / cover no-repeat;
  opacity: 0.50;
  pointer-events: none;
}

.hero-header::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 45%;
  bottom: -12px;
  left: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.header-shell {
  position: relative;
  z-index: 1;
}

.hz-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.hz-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 3px solid var(--top-yellow);
  padding-bottom: 10px;
}

.hz-section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hz-section-title {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin: 0;
}

.hz-section-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--top-red);
  white-space: nowrap;
  transition: opacity 0.2s;
}

.hz-section-link:hover {
  opacity: 0.75;
}

/* Image / video placeholder cards */
.hz-img-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8edf8 0%, #d2dbf0 100%);
  border: 2px dashed #8fa4d8;
  border-radius: 6px;
  gap: 8px;
  color: #5a72a8;
  text-align: center;
  overflow: hidden;
}

.hz-img-card > img,
.media-card__thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hz-img-card--tall {
  height: 380px;
  width: 100%;
}

.hz-img-card--post {
  height: 220px;
  width: 100%;
  border-radius: 6px 6px 0 0;
}

.hz-img-card--sm {
  height: 140px;
}

.hz-img-card--avatar {
  height: 200px;
  width: 100%;
  border-radius: 6px;
}

.hz-sidebar-widget--bio .hz-img-card--avatar {
  border: 0;
}

.hz-placeholder-icon {
  font-size: 36px;
  opacity: 0.5;
}

.hz-placeholder-label {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.7;
  line-height: 1.4;
}

.hz-photo-template {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  color: #5a72a8;
  background: linear-gradient(135deg, #eef3fb 0%, #d9e3f5 100%);
  text-align: center;
  box-sizing: border-box;
}

.hz-photo-template i {
  font-size: 34px;
  opacity: 0.68;
}

.hz-photo-template span {
  max-width: 180px;
  color: #4e659a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hz-photo-template--portrait {
  background: linear-gradient(135deg, #edf1f8 0%, #d8e2f3 100%);
}

.hz-photo-template--event {
  background: linear-gradient(135deg, #fff7dc 0%, #e7eef9 100%);
  color: #7a6410;
}

.hz-photo-template--article {
  background: linear-gradient(135deg, #f8e7eb 0%, #e8edf8 100%);
  color: #9a4054;
}

.hz-photo-template--media {
  background: linear-gradient(135deg, #e9f5e8 0%, #e8edf8 100%);
  color: #426f41;
}

/* Buttons */
.hz-btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-align: center;
}

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

.hz-btn--primary:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.hz-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.hz-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hz-btn--yellow {
  background: var(--top-yellow);
  color: var(--navy);
  border-color: var(--top-yellow);
}

.hz-btn--yellow:hover {
  background: #e0bc00;
}

.hz-btn--block {
  display: block;
  width: 100%;
  margin-top: 10px;
}

/* Input */
.hz-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #c8d3ea;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  background: #f7f9ff;
  color: var(--navy);
  transition: border-color 0.2s;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.hz-input:focus {
  outline: none;
  border-color: var(--top-blue);
}

.hz-input::placeholder {
  color: #8fa4c0;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hz-hero {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a0e28;
}

/* Real hero photo — right-aligned, fades on left edge only */
.hz-hero__bg-img {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  height: 100%;
  width: auto;
  max-width: 70%;
  opacity: 0.10;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 30%,
    black 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 30%,
    black 100%
  );
}

.hz-hero__bg-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hz-hero__image-card {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a1570 0%, #203f82 60%, #1a3060 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.25);
  gap: 10px;
  font-size: 14px;
}

.hz-hero__image-card .hz-placeholder-icon {
  font-size: 52px;
}

.hz-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Left dark zone ensures text is always readable over the background */
  background: linear-gradient(
    to right,
    rgba(5, 10, 45, 0.15) 0%,
    transparent 50%
  );
}

.hz-hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 60px 48px;
  color: #fff;
}

.hz-hero__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--top-yellow);
  margin: 0 0 16px;
}

.hz-hero__name {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: #fff;
}

.hz-hero__name span {
  color: var(--top-yellow);
  display: block;
  font-size: clamp(56px, 9vw, 104px);
}

.hz-hero__tagline {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.85;
  margin: 0 0 32px;
}

.hz-hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hz-hero__scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hz-hero__scroll-hint span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  position: relative;
}

.hz-hero__scroll-hint span::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  animation: scrollHint 1.6s ease infinite;
}

.hz-hero {
  min-height: auto;
  padding: clamp(34px, 5vw, 58px) 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(240, 204, 17, 0.14), transparent 26%),
    linear-gradient(135deg, #07115c 0%, #102074 48%, #080c2a 100%);
}

.hz-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(340px, 0.72fr) minmax(560px, 1.28fr);
  gap: clamp(18px, 2.4vw, 28px);
  align-items: stretch;
  max-width: none;
  max-width: 100%;
  height: 450px;
  min-height: 0;
  padding: 0 12px;
}

.hz-hero__news,
.hz-hero__visual {
  min-width: 0;
}

.hz-hero__news {
  align-self: stretch;
  padding: 0;
}

.hz-hero__visual {
  display: flex;
  min-height: 0;
  align-items: stretch;
  align-self: stretch;
}

.hz-hero__content,
.hz-hero__scroll-hint {
  display: none;
}

.hz-hero__title {
  margin: 0 0 12px;
  color: #fff;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(52px, 5.4vw, 76px);
  font-weight: 700;
  line-height: 0.86;
  text-transform: uppercase;
}

.hz-hero__summary {
  max-width: 480px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.6;
}

.hz-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}

.hz-hero__stats span {
  display: flex;
  min-height: 50px;
  flex-direction: column;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hz-hero__stats strong {
  color: var(--top-yellow);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 28px;
  line-height: 0.9;
}

.hz-news-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  height: 100%;
  width: 100%;
}

.hz-news-stack--single {
  grid-template-rows: 1fr;
}

.hz-news-card {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(22px, 2.5vw, 28px);
  overflow: hidden;
  border: 0;
  border-left: 4px solid var(--top-yellow);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 241, 255, 0.92)),
    radial-gradient(circle at 92% 0%, rgba(32, 63, 130, 0.16), transparent 34%);
  color: var(--navy);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hz-news-card::after {
  content: "";
  position: absolute;
  top: -58px;
  right: -46px;
  width: 154px;
  height: 154px;
  border-radius: 50%;
  background: rgba(32, 63, 130, 0.09);
}

.hz-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

.hz-news-card--feature {
  min-height: 0;
  border-left-color: var(--top-red);
}

.hz-news-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.hz-news-card__type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--top-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hz-news-card time {
  color: rgba(10, 21, 112, 0.58);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.hz-news-card h2 {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 0 10px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(26px, 2.55vw, 34px);
  line-height: 1;
  text-transform: uppercase;
}

.hz-news-card p {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0 0 18px;
  color: #334075;
  font-size: 15px;
  line-height: 1.58;
}

.hz-news-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--top-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hz-news-card a i,
.hz-hero-action i {
  transition: transform 180ms ease;
}

.hz-news-card a:hover i {
  transform: translateX(4px);
}

.hz-trend-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.24);
}

.hz-trend-card__image {
  position: relative;
  display: block;
  flex: 0 0 160px;
  height: 160px;
  min-height: 0;
  overflow: hidden;
  background: #e8edf8;
}

.hz-trend-card__image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(5, 11, 45, 0.42));
  pointer-events: none;
}

.hz-trend-card__image img,
.hz-trend-card__image .hz-photo-template {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.hz-trend-card__image img {
  display: block;
  object-fit: cover;
  transition: transform 240ms ease;
}

.hz-trend-card:hover .hz-trend-card__image img {
  transform: scale(1.035);
}

.hz-trend-card__body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  padding: 16px 20px;
  border-left: 4px solid var(--top-red);
}

.hz-trend-card__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hz-trend-card__cat {
  align-self: flex-start;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(240, 204, 17, 0.22);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.hz-trend-card h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.hz-trend-card p {
  display: -webkit-box;
  margin: 0 0 14px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: rgba(10, 21, 112, 0.72);
  font-size: 15px;
  line-height: 1.58;
}

.hz-trend-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 0;
  color: var(--top-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.hz-trend-card__cta i {
  transition: transform 180ms ease;
}

.hz-trend-card__cta:hover i {
  transform: translateX(4px);
}

.hz-hero__actions {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hz-hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.hz-hero-action:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.hz-hero-action--primary {
  border-color: var(--top-yellow);
  background: var(--top-yellow);
  color: var(--navy);
}

.hz-hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #0a0e28;
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.34);
}

.hz-hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 11;
  width: 4px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--top-red) 0 50%,
    var(--top-yellow) 50% 100%
  );
}

.hz-hero-slideshow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(
      to right,
      rgba(10, 14, 40, 0.95) 0%,
      rgba(10, 14, 40, 0.62) 5%,
      transparent 16%,
      transparent 84%,
      rgba(10, 14, 40, 0.55) 95%,
      rgba(10, 14, 40, 0.88) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(10, 14, 40, 0.7) 0%,
      rgba(10, 14, 40, 0.34) 9%,
      transparent 20%,
      transparent 68%,
      rgba(10, 14, 40, 0.68) 86%,
      rgba(10, 14, 40, 0.96) 100%
    );
}

.hz-hero-slideshow__caption {
  position: absolute;
  left: 32px;
  right: auto;
  bottom: 32px;
  z-index: 8;
  max-width: min(450px, calc(100% - 190px));
  padding: 18px 22px 19px;
  border-left: 4px solid var(--top-yellow);
  background: linear-gradient(135deg, rgba(7, 14, 60, 0.88), rgba(7, 14, 60, 0.66));
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.hz-hero-slideshow__caption span {
  display: block;
  margin-bottom: 6px;
  color: var(--top-yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hz-hero-slideshow__caption strong {
  display: block;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(25px, 2.75vw, 36px);
  line-height: 0.96;
  text-transform: uppercase;
}

.hz-hero-slideshow__caption a.hz-caption-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-top: 14px;
  border: 2px solid var(--top-yellow);
  border-radius: 50%;
  background: transparent;
  color: var(--top-yellow);
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  animation: captionScrollBounce 2s ease-in-out infinite;
}

.hz-hero-slideshow__caption a.hz-caption-icon-link:hover {
  background: var(--top-yellow);
  color: #07143c;
  transform: translateY(3px);
  animation: none;
}

@keyframes captionScrollBounce {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(5px); }
}

.hz-hero-slideshow .hz-slide-dots {
  position: absolute;
  right: 30px;
  bottom: 32px;
  z-index: 10;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 10, 45, 0.52);
  backdrop-filter: blur(10px);
}

.hz-hero-slideshow .hz-slide-dots button {
  width: 9px;
  height: 9px;
}

.hz-hero-slideshow .hz-slide-dots button.active {
  width: 24px;
  border-radius: 999px;
  transform: none;
}

.hz-hero-slideshow .hz-slide-btn {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(7, 20, 60, 0.74);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  z-index: 15;
}

.hz-hero-slideshow .hz-slide-btn i {
  font-size: 17px;
  line-height: 1;
}

.hz-hero-slideshow .hz-slide-btn:hover,
.hz-hero-slideshow .hz-slide-btn:focus-visible {
  background: var(--top-yellow);
  color: var(--navy);
  border-color: var(--top-yellow);
  outline: none;
}

.hz-hero-slideshow .hz-slides,
.hz-hero-slideshow .hz-slide {
  height: 100%;
}

.hz-slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.hz-hero-slideshow .hz-slide img {
  min-height: 0;
  object-position: center center;
}

@keyframes scrollHint {
  0% {
    top: 5px;
    opacity: 1;
  }

  100% {
    top: 18px;
    opacity: 0;
  }
}

/* ── QUICK LINKS ────────────────────────────────────────────── */
.hz-quicklinks {
  width: 100%;
  background: var(--navy);
  border-top: 4px solid var(--top-yellow);
  overflow: hidden;
}

.hz-quicklinks .hz-container {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.hz-quicklink {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 160px;
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s, color 0.2s;
}

.hz-quicklink:last-child {
  border-right: none;
}

.hz-quicklink i {
  font-size: 18px;
  color: var(--top-yellow);
  flex-shrink: 0;
}

.hz-quicklink:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hz-quicklink--accent {
  background: var(--top-red);
  color: #fff;
}

.hz-quicklink--accent i {
  color: #fff;
}

.hz-quicklink--accent:hover {
  background: #b81e38;
}

/* ── GALLERY SLIDESHOW ──────────────────────────────────────── */
.hz-gallery {
  width: 100%;
  background: #fff;
  padding: 56px 0;
  overflow: hidden;
}

.hz-slideshow {
  position: relative;
  background: #eef1f8;
  border-radius: 8px;
  overflow: hidden;
}

.hz-slideshow.hz-hero-slideshow {
  border: 0;
  border-radius: 0;
}

.hz-slides {
  position: relative;
}

.hz-slide {
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.hz-slide--active {
  display: flex;
  animation: slideFade 0.9s ease both;
}

.hz-slide--transition-zoom {
  animation: slideZoom 1.15s cubic-bezier(0.16, 0.84, 0.18, 1) both;
}

.hz-slide--transition-slide-left {
  animation: slideFromLeft 1s cubic-bezier(0.16, 0.84, 0.18, 1) both;
}

.hz-slide--transition-rise {
  animation: slideRise 1s cubic-bezier(0.16, 0.84, 0.18, 1) both;
}

.hz-slide--transition-wipe {
  animation: slideWipe 1.15s cubic-bezier(0.16, 0.84, 0.18, 1) both;
}

.hz-slide--transition-tilt {
  animation: slideTilt 1.05s cubic-bezier(0.16, 0.84, 0.18, 1) both;
}

.hz-slide--transition-blur {
  animation: slideBlur 1s ease both;
}

.hz-hero-slideshow .hz-slide--active img {
  animation: heroImageDrift 5s ease both;
}

@keyframes slideFade {
  from {
    opacity: 0;
    transform: scale(1.03);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideZoom {
  from {
    opacity: 0;
    transform: scale(1.16);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-72px) scale(1.04);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideRise {
  from {
    opacity: 0;
    transform: translateY(68px) scale(1.04);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideWipe {
  from {
    opacity: 0;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transform: scale(1.04);
  }

  to {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: scale(1);
  }
}

@keyframes slideTilt {
  from {
    opacity: 0;
    transform: rotate(-3deg) translateX(38px) scale(1.1);
  }

  to {
    opacity: 1;
    transform: rotate(0) translateX(0) scale(1);
  }
}

@keyframes slideBlur {
  from {
    opacity: 0;
    filter: blur(18px) saturate(1.25);
    transform: scale(1.1);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes heroImageDrift {
  from {
    transform: scale(1.04) translate3d(-1.2%, 0, 0);
  }

  to {
    transform: scale(1.12) translate3d(1.2%, 0, 0);
  }
}

.hz-slide__caption {
  padding: 14px 24px;
  background: rgba(10, 21, 112, 0.9);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hz-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: rgba(10, 21, 112, 0.8);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s;
  z-index: 10;
}

.hz-slide-btn:hover {
  background: var(--top-red);
}

.hz-slide-btn--prev {
  left: 14px;
}

.hz-slide-btn--next {
  right: 14px;
}

.hz-slide-dots {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: rgba(10, 21, 112, 0.9);
}

.hz-slide-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.hz-slide-dots button.active {
  background: var(--top-yellow);
  transform: scale(1.3);
}

/* ── BLOG + SIDEBAR ─────────────────────────────────────────── */
.hz-blog-section {
  width: 100%;
  background: var(--bg);
  padding: 44px 0;
  overflow: hidden;
}

.hz-blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.hz-blog-grid {
  display: grid;
  gap: 18px;
}

/* Featured post */
.hz-post-card--featured {
  grid-column: 1 / -1;
}

.hz-post-card--featured .hz-post-card__body {
  padding: 20px;
}

.hz-post-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(10, 21, 112, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hz-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 21, 112, 0.13);
}

/* Small posts side-by-side */
.hz-blog-grid > .hz-post-card:not(.hz-post-card--featured) {
  flex-direction: row;
}

.hz-blog-grid > .hz-post-card:not(.hz-post-card--featured) .hz-img-card--sm {
  width: 220px;
  min-width: 220px;
  flex: 0 0 220px;
  border-radius: 0;
  height: 154px;
  min-height: 154px;
}

.hz-post-card .hz-img-card {
  background: #e8edf8;
  border: 0;
}

.hz-post-card .hz-img-card > img,
.hz-post-card .hz-img-card > .hz-photo-template {
  width: 100%;
  height: 100%;
}

.hz-post-card .hz-img-card > img {
  object-fit: cover;
  object-position: center;
}

.hz-post-card--featured .hz-img-card--post {
  height: 280px;
}

/* Ensure post cards never overflow */
.hz-post-card {
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow: hidden;
}

.hz-post-card__body {
  min-width: 0;
  overflow: hidden;
}

.hz-post-card__title,
.hz-post-card__excerpt {
  word-break: break-word;
  overflow-wrap: break-word;
}

.hz-post-card__body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hz-post-card__cat {
  display: inline-block;
  background: var(--top-yellow);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
  align-self: flex-start;
}

.hz-post-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

.hz-post-card--featured .hz-post-card__title {
  font-size: 22px;
}

.hz-post-card__excerpt {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

.hz-post-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #888;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #eee;
}

.hz-read-more {
  color: var(--top-red);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hz-read-more:hover {
  text-decoration: underline;
}

/* ── SIDEBAR ────────────────────────────────────────────────── */
.hz-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hz-sidebar-widget {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(10, 21, 112, 0.06);
  border-top: 3px solid var(--top-yellow);
}

.hz-sidebar-widget--bio {
  padding: 0;
  overflow: hidden;
  border-top: none;
}

.hz-bio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
  background: linear-gradient(180deg, #eef1f8 0%, #fff 100%);
  border-top: 3px solid var(--top-blue);
}

.hz-bio-card__name {
  margin: 14px 0 4px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 16px;
}

.hz-bio-card__role {
  font-size: 12px;
  color: #666;
  margin: 0 0 12px;
  padding: 0 16px;
  line-height: 1.5;
}

.hz-bio-card .hz-btn {
  margin: 0 16px;
  width: calc(100% - 32px);
}

.hz-widget-title {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hz-widget-title i {
  color: var(--top-blue);
}

.hz-cat-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hz-cat-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.15s, color 0.15s;
}

.hz-cat-links li a:hover {
  background: var(--top-yellow);
  color: var(--navy);
}

.hz-cat-links li a i {
  color: var(--top-red);
  font-size: 10px;
}

.hz-cat-links li a em {
  margin-left: auto;
  background: #eef1f8;
  color: #5a72a8;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 99px;
}

/* Facebook widget */
.hz-fb-embed-placeholder {
  background: #f0f2f5;
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  min-height: 500px;
}

.hz-facebook-page-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

.hz-fb-cta {
  margin-top: 10px;
  background: #1877f2;
  color: #fff;
  padding: 7px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
  transition: background 0.2s;
}

.hz-fb-cta:hover {
  background: #145ec0;
}

.hz-widget-desc {
  font-size: 13px;
  color: #666;
  margin: 0 0 10px;
  line-height: 1.5;
}

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.hz-testimonials {
  width: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3060 100%);
  padding: 64px 0;
  overflow: hidden;
}

.hz-testimonials .hz-section-title {
  color: #fff;
}

.hz-testimonials .hz-section-header {
  border-bottom-color: var(--top-yellow);
}

.hz-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.hz-testimonial {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 28px;
  margin: 0;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}

.hz-testimonial:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.hz-testimonial__stars {
  color: var(--top-yellow);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.hz-testimonial__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 20px;
}

.hz-testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hz-testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--top-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.hz-testimonial__avatar--b {
  background: var(--top-red);
}

.hz-testimonial__avatar--c {
  background: #2c7a22;
}

.hz-testimonial__author strong {
  display: block;
  color: #fff;
  font-size: 14px;
}

.hz-testimonial__author span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

/* ── NEWSLETTER BANNER ──────────────────────────────────────── */
.hz-newsletter-banner {
  width: 100%;
  background: linear-gradient(90deg, var(--top-yellow) 0%, #f6e040 100%);
  padding: 48px 0;
  overflow: hidden;
}

.hz-newsletter-banner__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hz-newsletter-banner__text {
  flex: 1 1 300px;
}

.hz-newsletter-banner__text h2 {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 8px;
}

.hz-newsletter-banner__text p {
  font-size: 15px;
  color: var(--navy);
  margin: 0;
  opacity: 0.8;
}

.hz-newsletter-banner__form {
  flex: 1 1 380px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hz-newsletter-banner__form .hz-input {
  flex: 1 1 150px;
  margin: 0;
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(10, 21, 112, 0.2);
}

.hz-newsletter-banner__form .hz-btn {
  flex: 0 0 auto;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.hz-footer {
  width: 100%;
  background: #0a0f2e;
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 0;
  overflow: hidden;
}

.hz-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hz-footer__brand {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1;
}

.hz-footer__brand span {
  color: var(--top-yellow);
}

.hz-footer__desc {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.hz-footer__social {
  display: flex;
  gap: 14px;
}

.hz-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
}

.hz-footer__social a:hover {
  background: var(--top-yellow);
  color: var(--navy);
}

.hz-footer__heading {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--top-yellow);
  margin: 0 0 14px;
}

.hz-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hz-footer__links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.hz-footer__links a:hover {
  color: #fff;
}

.hz-footer__lang {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hz-footer__lang-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.hz-footer__lang-btn:hover {
  color: #fff;
}

.hz-footer__bar {
  background: rgba(0, 0, 0, 0.3);
  padding: 14px 0;
}

.hz-footer__bar .hz-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 8px;
}

.hz-footer__bar a {
  color: rgba(255, 255, 255, 0.4);
}

.hz-footer__bar a:hover {
  color: #fff;
}

html[dir="rtl"] .hz-section-header,
html[dir="rtl"] .hz-newsletter-banner__inner,
html[dir="rtl"] .hz-footer__bar .hz-container,
html[dir="rtl"] .hz-post-card__meta,
html[dir="rtl"] .hz-cat-links li a,
html[dir="rtl"] .hz-testimonial__author,
html[dir="rtl"] .hz-news-card__top {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hz-news-card,
html[dir="rtl"] .hz-post-card__body,
html[dir="rtl"] .hz-sidebar-widget,
html[dir="rtl"] .hz-testimonial,
html[dir="rtl"] .hz-footer {
  text-align: right;
}

html[dir="rtl"] .hz-news-card,
html[dir="rtl"] .hz-hero-slideshow__caption {
  border-left: 0;
  border-right: 4px solid var(--top-yellow);
}

html[dir="rtl"] .hz-trend-card__body {
  border-left: 0;
  border-right: 4px solid var(--top-red);
}

html[dir="rtl"] .hz-news-card--feature {
  border-right-color: var(--top-red);
}

html[dir="rtl"] .hz-cat-links li a em {
  margin-left: 0;
  margin-right: auto;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */

/* ---- Tablet / Medium (≤ 1024px) ---- */
@media (max-width: 1024px) {
  .hz-container {
    padding: 0 20px;
  }

  /* Hero */
  .hz-hero {
    min-height: 480px;
  }

  .hz-hero__bg-img {
    max-width: 80%;
    opacity: 0.18;
  }

  .hz-hero__content {
    max-width: 560px;
    padding: 52px 36px;
  }

  /* Blog layout: keep 2-col but narrower sidebar */
  .hz-blog-layout {
    grid-template-columns: 1fr 280px;
    gap: 28px;
  }

  /* Testimonials */
  .hz-testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  /* Footer */
  .hz-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
  }

  /* Newsletter banner */
  .hz-newsletter-banner__inner {
    gap: 32px;
  }
}

/* ---- Tablet narrow (≤ 900px) ---- */
@media (max-width: 900px) {
  /* Hero */
  .hz-hero {
    min-height: 440px;
  }

  .hz-hero__bg-img {
    max-width: 90%;
    opacity: 0.15;
  }

  .hz-hero__content {
    padding: 48px 28px;
  }

  .hz-hero__tagline {
    font-size: 16px;
  }

  /* Quick links: 2×2 grid */
  .hz-quicklinks .hz-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hz-quicklink {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex: unset;
  }

  .hz-quicklink:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Blog: single column, sidebar below */
  .hz-blog-layout {
    grid-template-columns: 1fr;
  }

  /* Sidebar: horizontal row of widgets on tablet */
  .hz-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hz-sidebar-widget--bio {
    grid-column: 1 / -1;
  }

  .hz-sidebar-widget--newsletter {
    grid-column: 1 / -1;
  }

  /* Testimonials: 2 columns */
  .hz-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Footer */
  .hz-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hz-footer__col:first-child {
    grid-column: 1 / -1;
  }
}

/* ---- Mobile (≤ 640px) ---- */
@media (max-width: 640px) {
  .hz-container {
    padding: 0 16px;
  }

  /* Hero: full-viewport-height feel */
  .hz-hero {
    min-height: 100svh;
    min-height: 520px;
    align-items: flex-end;
  }

  /* Hero background: show more of the image on mobile */
  .hz-hero__bg-img {
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      black 20%,
      black 70%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      black 20%,
      black 70%,
      transparent 100%
    );
  }

  .hz-hero__overlay {
    background: linear-gradient(
      to top,
      rgba(5, 10, 45, 0.82) 0%,
      rgba(5, 10, 45, 0.45) 50%,
      rgba(5, 10, 45, 0.12) 100%
    );
  }

  .hz-hero__content {
    max-width: 100%;
    padding: 32px 20px 52px;
    text-align: left;
  }

  .hz-hero__eyebrow {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .hz-hero__name {
    font-size: clamp(40px, 12vw, 68px);
    margin-bottom: 14px;
  }

  .hz-hero__name span {
    font-size: clamp(52px, 16vw, 90px);
  }

  .hz-hero__tagline {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hz-hero__ctas {
    flex-direction: column;
    gap: 10px;
  }

  .hz-hero__ctas .hz-btn {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
  }

  .hz-hero__scroll-hint {
    display: none;
  }

  /* Quick links: single column on mobile */
  .hz-quicklinks .hz-container {
    display: flex;
    flex-direction: column;
  }

  .hz-quicklink {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 16px;
  }

  .hz-quicklink:nth-child(odd) {
    border-right: none;
  }

  /* Gallery */
  .hz-gallery {
    padding: 36px 0;
  }

  .hz-img-card--tall {
    height: 240px;
  }

  .hz-slide-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  /* Section headers */
  .hz-section-title {
    font-size: 22px;
  }

  .hz-section-header {
    margin-bottom: 20px;
  }

  .hz-blog-section {
    padding: 36px 0;
  }

  .hz-blog-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Blog grid: all cards full width, stacked vertically */
  .hz-blog-grid {
    width: 100%;
    box-sizing: border-box;
  }

  .hz-blog-grid > .hz-post-card {
    width: 100%;
    box-sizing: border-box;
  }

  .hz-blog-grid > .hz-post-card:not(.hz-post-card--featured) {
    flex-direction: column;
  }

  .hz-blog-grid > .hz-post-card:not(.hz-post-card--featured) .hz-img-card--sm {
    width: 100%;
    min-width: unset;
    height: 180px;
    min-height: 0;
    border-radius: 6px 6px 0 0;
  }

  .hz-post-card--featured .hz-post-card__title {
    font-size: 18px;
  }

  .hz-img-card--post {
    height: 180px;
  }

  /* Prevent meta row overflow */
  .hz-post-card__meta {
    flex-wrap: wrap;
    gap: 6px;
  }

  .hz-read-more {
    white-space: nowrap;
  }

  /* Sidebar: single column, full width */
  .hz-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .hz-sidebar-widget {
    width: 100%;
    box-sizing: border-box;
  }

  /* Bio card: vertical on mobile */
  .hz-bio-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 16px;
    gap: 12px;
  }

  .hz-img-card--avatar {
    width: 100%;
    min-width: unset;
    height: 180px;
  }

  .hz-bio-card__name {
    margin: 4px 0;
    font-size: 17px;
    padding: 0 12px;
  }

  .hz-bio-card__role {
    font-size: 12px;
    margin: 0 0 8px;
    padding: 0 12px;
  }

  .hz-bio-card .hz-btn {
    margin: 0 12px;
    width: calc(100% - 24px);
    font-size: 13px;
    padding: 10px 16px;
  }

  /* Category links full width */
  .hz-cat-links {
    width: 100%;
    box-sizing: border-box;
  }

  .hz-cat-links li a {
    padding: 10px 12px;
    font-size: 14px;
  }

  /* Facebook widget */
  .hz-fb-embed-placeholder {
    width: 100%;
    box-sizing: border-box;
  }

  /* Testimonials */
  .hz-testimonials {
    padding: 40px 0;
  }

  .hz-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .hz-testimonial {
    padding: 20px;
  }

  /* Newsletter banner */
  .hz-newsletter-banner {
    padding: 32px 0;
  }

  .hz-newsletter-banner__inner {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .hz-newsletter-banner__text h2 {
    font-size: 28px;
  }

  .hz-newsletter-banner__text p {
    font-size: 14px;
  }

  .hz-newsletter-banner__form {
    flex-direction: column;
    gap: 8px;
  }

  .hz-newsletter-banner__form .hz-input {
    flex: unset;
    width: 100%;
  }

  .hz-newsletter-banner__form .hz-btn {
    width: 100%;
  }

  /* Footer */
  .hz-footer {
    padding: 36px 0 0;
  }

  .hz-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 32px;
  }

  .hz-footer__col:first-child {
    grid-column: unset;
  }

  .hz-footer__brand {
    font-size: 22px;
  }

  .hz-footer__social {
    gap: 10px;
  }
}

/* ---- Small phones (≤ 400px) ---- */
@media (max-width: 400px) {
  .hz-hero__name {
    font-size: 36px;
  }

  .hz-hero__name span {
    font-size: 48px;
  }

  .hz-hero__tagline {
    font-size: 13px;
  }

  .hz-section-title {
    font-size: 20px;
  }

  .hz-testimonial__text {
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
  .hz-hero__grid {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    padding: 0 20px;
  }

  .hz-hero__news {
    padding: 42px 0 24px;
  }

  .hz-hero__visual {
    min-height: 420px;
  }

  .hz-hero-slideshow,
  .hz-hero-slideshow .hz-slide img {
    min-height: 420px;
  }

  .hz-hero-slideshow {
    height: 420px;
  }

  .hz-hero-slideshow__caption {
    max-width: calc(100% - 60px);
    bottom: 44px;
  }

  .hz-hero-slideshow .hz-slide-dots {
    right: 30px;
    bottom: 18px;
  }
}

@media (max-width: 640px) {
  .hz-hero {
    min-height: auto;
    padding: 28px 0;
    align-items: stretch;
  }

  .hz-hero__grid {
    gap: 22px;
    padding: 0 16px;
  }

  .hz-hero__news {
    padding: 0;
  }

  .hz-hero__visual {
    min-height: 360px;
  }

  .hz-hero__title {
    margin-bottom: 18px;
    font-size: clamp(42px, 13vw, 62px);
  }

  .hz-hero__summary {
    font-size: 14px;
  }

  .hz-hero__stats {
    grid-template-columns: 1fr;
  }

  .hz-hero__stats span {
    min-height: 48px;
  }

  .hz-news-card,
  .hz-news-card--feature {
    min-height: 0;
    padding: 20px;
  }

  .hz-news-card h2 {
    font-size: 26px;
  }

  .hz-trend-card .hz-news-card__top time {
    display: none;
  }

  .hz-hero-slideshow,
  .hz-hero-slideshow .hz-slide img {
    min-height: 360px;
  }

  .hz-hero-slideshow {
    height: 360px;
    border-radius: 0;
  }

  .hz-hero-slideshow__caption {
    left: 16px;
    right: 16px;
    bottom: 54px;
    max-width: none;
    padding: 14px 16px;
  }

  .hz-hero-slideshow__caption strong {
    font-size: 24px;
  }

  .hz-hero__actions {
    flex-direction: column;
  }

  .hz-hero-slideshow .hz-slide-dots {
    right: 16px;
    bottom: 16px;
    padding: 9px 10px;
  }

  .hz-hero-slideshow .hz-slide-btn {
    width: 42px;
    height: 42px;
  }
}

/* ── SEARCH PAGE ────────────────────────────────────────────── */
.hz-search-main {
  background: #ffffff;
  padding: 60px 0 80px;
  min-height: calc(100vh - 400px);
}

.hz-search-heading {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 30px;
}

.hz-search-form {
  max-width: 1000px;
}

.hz-search-bar-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--navy);
  margin-bottom: 40px;
  height: 56px;
}

.hz-search-input {
  flex: 1;
  border: none;
  padding: 0 20px;
  font-size: 16px;
  font-family: inherit;
  color: var(--navy);
  outline: none;
}

.hz-search-input::placeholder {
  color: #8fa4c0;
}

.hz-search-filter-toggle {
  width: 56px;
  background: var(--navy);
  border: none;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.hz-search-filter-toggle:hover {
  background: #162a5c;
}

.hz-search-submit {
  padding: 0 24px;
  background: var(--navy);
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.hz-search-submit:hover {
  background: #162a5c;
}

.hz-search-filters-panel {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hz-search-col {
  flex: 1;
  min-width: 280px;
}

.hz-search-col--right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.hz-search-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 16px;
}

.hz-mt-4 {
  margin-top: 32px;
}

.hz-search-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--navy);
}

.hz-search-checkbox input {
  display: none;
}

.hz-checkbox-box {
  width: 20px;
  height: 20px;
  background: var(--navy);
  border-radius: 4px;
  position: relative;
}

.hz-search-checkbox input:checked + .hz-checkbox-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.hz-search-date {
  width: 100%;
  max-width: 320px;
  padding: 12px 16px;
  border: none;
  background: #f8f9fa;
  font-family: inherit;
  font-size: 14px;
  color: var(--navy);
  outline: none;
}

.hz-filter-group {
  width: 100%;
  max-width: 320px;
}

.hz-select-wrapper {
  position: relative;
  width: 100%;
}

.hz-search-select {
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: #f8f9fa;
  font-family: inherit;
  font-size: 14px;
  color: var(--navy);
  appearance: none;
  outline: none;
  cursor: pointer;
}

.hz-select-wrapper i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--navy);
  font-size: 12px;
}

.hz-search-reset {
  margin-top: 24px;
  padding: 10px 24px;
  background: transparent;
  border: 2px solid #eb2b58;
  color: #eb2b58;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.hz-search-reset:hover {
  background: #eb2b58;
  color: #fff;
}

@media (max-width: 768px) {
  .hz-search-filters-panel {
    flex-direction: column;
    gap: 32px;
  }
  
  .hz-search-bar-wrap {
    flex-wrap: wrap;
    height: auto;
    border: none;
  }

  .hz-search-input {
    flex: 1 1 100%;
    border: 1px solid var(--navy);
    height: 56px;
    margin-bottom: 12px;
  }

  .hz-search-filter-toggle {
    flex: 0 0 56px;
    height: 56px;
  }

  .hz-search-submit {
    flex: 1;
    height: 56px;
  }
}

/* Uploaded blog photos must stay inside card thumbnail frames. */
.hz-blog-grid .blog-photo-frame {
  display: block !important;
  width: 220px !important;
  min-width: 220px !important;
  flex: 0 0 220px !important;
  height: 154px !important;
  min-height: 154px !important;
  max-height: 154px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #e8edf8 !important;
}

.hz-blog-grid .blog-photo-frame--featured {
  width: 100% !important;
  min-width: 0 !important;
  flex: none !important;
  height: 280px !important;
  min-height: 280px !important;
  max-height: 280px !important;
  border-radius: 8px 8px 0 0 !important;
}

.hz-blog-grid .blog-photo-frame > img,
.hz-blog-grid .blog-photo-frame > .hz-photo-template {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

.hz-blog-grid .blog-photo-frame > img {
  object-fit: cover !important;
  object-position: center !important;
}

@media (max-width: 640px) {
  .hz-blog-grid .blog-photo-frame {
    width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
    border-radius: 8px 8px 0 0 !important;
  }

  .hz-blog-grid .blog-photo-frame--featured {
    height: 210px !important;
    min-height: 210px !important;
    max-height: 210px !important;
  }
}
