.huda-ann {
  max-width: 1120px;
  margin: 28px auto 72px;
  padding: 0 20px;
  color: #16203d;
}

.huda-ann-hero {
  margin-bottom: 28px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid #eceffd;
  border-radius: 20px;
  background: linear-gradient(180deg, #fcfbff 0%, #f4f2ff 100%);
}

.huda-ann-kicker,
.huda-ann-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ece8ff;
  color: #5f56f3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.huda-ann-hero h1,
.huda-ann-single-head h1 {
  margin: 12px 0 8px;
  color: #141b33;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
}

.huda-ann-hero-line {
  margin: 0 0 8px;
  color: #3d4660;
  font-size: 20px;
  font-weight: 700;
}

.huda-ann-hero-copy,
.huda-ann-hero-links {
  margin: 0 auto;
  max-width: 640px;
  color: #667089;
  font-size: 16px;
  line-height: 1.6;
}

.huda-ann-hero-links {
  margin-top: 14px;
}

.huda-ann-hero-links a,
.huda-ann-back a,
.huda-ann-more,
.huda-ann-product a,
.huda-ann-toc a,
.huda-ann-crumbs a,
.huda-ann-author a {
  color: #4338ca;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.huda-ann-toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 12px;
}

.huda-ann-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.huda-ann-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #e9eef8;
  border-radius: 999px;
  background: #fff;
  color: #243049;
  font-size: 13px;
  font-weight: 700;
}

.huda-ann-filter span {
  color: #8a93a8;
  font-weight: 600;
}

.huda-ann-filter.is-active {
  border-color: #4f46e5;
  background: #4f46e5;
  color: #fff;
}

.huda-ann-filter.is-active span {
  color: #e0e7ff;
}

.huda-ann-search {
  display: flex;
  gap: 8px;
}

.huda-ann-search input {
  width: 240px;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #e9eef8;
  border-radius: 10px;
  color: #16203d;
  font: inherit;
}

.huda-ann-search button,
.huda-ann-btn,
.huda-ann-share button {
  border: 0;
  border-radius: 10px;
  background: #4f46e5;
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 10px 14px;
  cursor: pointer;
}

.huda-ann-search button:hover,
.huda-ann-btn:hover,
.huda-ann-share button:hover,
.huda-ann-filter:hover {
  background: #4338ca;
  color: #fff;
}

.huda-ann-status,
.huda-ann-empty {
  margin: 0 0 16px;
  color: #667089;
}

.huda-ann-feature {
  margin-bottom: 22px;
}

.huda-ann-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.huda-ann-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e9eef8;
  border-radius: 16px;
  background: #fff;
  transition: border-color 160ms ease, transform 160ms ease;
}

.huda-ann-card:hover {
  border-color: #d9dff8;
  transform: translateY(-2px);
}

.huda-ann-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #f4f2ff;
}

.huda-ann-card-media img,
.huda-ann-single-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.huda-ann-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.huda-ann-card-kicker,
.huda-ann-single-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.huda-ann-badge--pin {
  background: #16203d;
  color: #fff;
}

.huda-ann-badge--ended,
.huda-ann-card.is-expired .huda-ann-badge--ended {
  background: #f3f4f6;
  color: #6b7280;
}

.huda-ann-card-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.huda-ann-card-title a,
.huda-ann-adjacent a {
  color: #16203d;
}

.huda-ann-card-excerpt {
  margin: 0;
  color: #5f6983;
  line-height: 1.6;
}

.huda-ann-card-meta,
.huda-ann-single-meta,
.huda-ann-author {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  color: #8a93a8;
  font-size: 13px;
}

.huda-ann-more {
  margin-top: auto;
  font-weight: 700;
}

.huda-ann-card--feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.huda-ann-card--feature .huda-ann-card-media {
  aspect-ratio: auto;
  min-height: 280px;
}

.huda-ann-card--feature .huda-ann-card-body {
  padding: 28px;
}

.huda-ann-card--feature .huda-ann-card-title {
  font-size: 32px;
}

.huda-ann-pages ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.huda-ann-pages a,
.huda-ann-pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e9eef8;
  border-radius: 10px;
  background: #fff;
  color: #16203d;
  font-weight: 700;
}

.huda-ann-pages .current {
  border-color: #4f46e5;
  background: #4f46e5;
  color: #fff;
}

.huda-ann-single {
  max-width: 820px;
}

.huda-ann-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #8a93a8;
  font-size: 14px;
}

.huda-ann-single-head {
  display: block;
  margin-bottom: 18px;
}

.huda-ann-single-media {
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 16px;
}

.huda-ann-single-media img {
  height: auto;
}

.huda-ann-toc {
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid #e9eef8;
  border-radius: 14px;
  background: #fff;
}

.huda-ann-toc p {
  margin: 0 0 8px;
  font-weight: 700;
}

.huda-ann-toc ol {
  margin: 0;
  padding-left: 18px;
}

.huda-ann-toc li {
  margin: 6px 0;
}

.huda-ann-toc .is-h3 {
  margin-left: 14px;
}

.huda-ann-content {
  color: #243049;
  font-size: 17px;
  line-height: 1.75;
}

.huda-ann-content h2,
.huda-ann-content h3,
.huda-ann-related h2 {
  margin: 1.5em 0 0.45em;
  color: #141b33;
  line-height: 1.25;
}

.huda-ann-content h2,
.huda-ann-related h2 {
  font-size: 28px;
}

.huda-ann-content p,
.huda-ann-content ul,
.huda-ann-content ol {
  margin: 0 0 1em;
}

.huda-ann-cta {
  margin: 24px 0;
}

.huda-ann-btn {
  display: inline-flex;
  text-decoration: none;
}

.huda-ann-product {
  margin-top: 8px;
  padding: 16px 18px;
  border: 1px solid #e9eef8;
  border-radius: 14px;
}

.huda-ann-product p {
  margin: 0 0 4px;
  color: #8a93a8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.huda-ann-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 28px;
}

.huda-ann-share p {
  margin: 0 8px 0 0;
  font-weight: 700;
}

.huda-ann-share a {
  padding: 8px 12px;
  border: 1px solid #e9eef8;
  border-radius: 999px;
  color: #16203d;
  font-weight: 700;
}

.huda-ann-related {
  margin-top: 36px;
}

.huda-ann-related .huda-ann-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.huda-ann-adjacent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.huda-ann-adjacent-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1px solid #e9eef8;
  border-radius: 14px;
  background: #fff;
  font-weight: 700;
}

.huda-ann-adjacent-link span {
  color: #8a93a8;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.huda-ann-adjacent-link.is-next {
  text-align: right;
}

.huda-ann-back {
  margin-top: 22px;
}

.huda-ann-filter:focus-visible,
.huda-ann-search input:focus-visible,
.huda-ann-search button:focus-visible,
.huda-ann-card a:focus-visible,
.huda-ann-pages a:focus-visible,
.huda-ann-share a:focus-visible,
.huda-ann-share button:focus-visible,
.huda-ann-btn:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}

@media (max-width: 991px) {
  .huda-ann-grid,
  .huda-ann-related .huda-ann-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .huda-ann-toolbar,
  .huda-ann-search,
  .huda-ann-card--feature,
  .huda-ann-adjacent,
  .huda-ann-grid,
  .huda-ann-related .huda-ann-grid {
    grid-template-columns: 1fr;
  }

  .huda-ann-search,
  .huda-ann-search input {
    width: 100%;
  }

  .huda-ann-card--feature .huda-ann-card-title {
    font-size: 26px;
  }

  .huda-ann-adjacent-link.is-next {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .huda-ann-card {
    transition: none;
  }
}
