/* AMEAQ News v2 — self-contained styles. All selectors are namespaced. */
.ameaq-news-v2 {
  --an-navy: #103b79;
  --an-deep: #082c5c;
  --an-ink: #172b49;
  --an-gold: #c99700;
  --an-border: #e0e7f0;
  --an-soft: #f4f7fb;
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--an-ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
.ameaq-news-v2, .ameaq-news-v2 *, .ameaq-news-v2 *::before, .ameaq-news-v2 *::after { box-sizing: border-box; }
.ameaq-news-v2[dir='rtl'] { font-family: 'Cairo', Tahoma, sans-serif; }
.ameaq-news-v2__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 16px;
  padding: 0 0 13px;
  border-bottom: 1px solid var(--an-border);
}
.ameaq-news-v2 .ameaq-news-v2__heading {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--an-navy) !important;
  background: none !important;
  font: 800 22px/1.35 'Manrope', 'Inter', Arial, sans-serif !important;
  text-transform: none !important;
  letter-spacing: -.035em !important;
  text-align: start !important;
  border: 0 !important;
}
.ameaq-news-v2__heading::before {
  content: '';
  display: block;
  width: 4px;
  height: 26px;
  flex: 0 0 4px;
  background: var(--an-gold);
  border-radius: 2px;
}
.ameaq-news-v2[dir='rtl'] .ameaq-news-v2__heading {
  font: 700 22px/1.5 'Cairo', Tahoma, sans-serif !important;
  letter-spacing: 0 !important;
}
.ameaq-news-v2__grid {
  display: grid;
  grid-template-columns: minmax(292px, .94fr) minmax(0, 2.06fr);
  gap: 16px;
  align-items: stretch;
  width: 100%;
  height: 535px;
  min-height: 535px;
  direction: inherit;
}
.ameaq-news-v2__items {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-auto-rows: minmax(0,1fr);
  gap: 0;
  height: 100%;
  min-height: 0;
  border: 1px solid var(--an-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(16, 59, 121, .025);
}
.ameaq-news-v2__item {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 0;
  background: #fff;
  border-bottom: 1px solid var(--an-border);
  border-inline-start: 3px solid transparent;
  transition: background-color .2s ease, border-color .2s ease;
}
.ameaq-news-v2__item:last-child { border-bottom: none; }
.ameaq-news-v2__item:hover { background: #f8fafd; }
.ameaq-news-v2__item.is-active {
  background: #f1f5fb;
  border-inline-start-color: var(--an-gold);
}
.ameaq-news-v2__tab {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  min-width: 0;
  width: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  outline-offset: -3px;
  background: transparent !important;
  padding: 11px 8px 11px 15px !important;
  box-shadow: none !important;
  color: var(--an-ink) !important;
  text-align: start !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ameaq-news-v2[dir='rtl'] .ameaq-news-v2__tab { padding: 11px 15px 11px 8px !important; }
.ameaq-news-v2 .ameaq-news-v2__date {
  display: inline-flex !important;
  align-self: flex-start;
  padding: 3px 8px !important;
  width: auto !important;
  border-radius: 50px;
  background: #e5eef2 !important;
  color: #284867 !important;
  font: 600 11px/1.35 'Inter', Arial, sans-serif !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}
.ameaq-news-v2[dir='rtl'] .ameaq-news-v2__date { font-family: 'Cairo', Tahoma, sans-serif !important; direction:ltr; unicode-bidi:isolate; }
.ameaq-news-v2 .ameaq-news-v2__item-title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: normal;
  font: 700 13.5px/1.45 'Manrope', 'Inter', Arial, sans-serif !important;
  letter-spacing: -.015em !important;
  color: var(--an-ink) !important;
  text-transform: none !important;
}
.ameaq-news-v2[dir='rtl'] .ameaq-news-v2__item-title {
  font: 700 14px/1.65 'Cairo', Tahoma, sans-serif !important;
  letter-spacing: 0 !important;
}
.ameaq-news-v2 .ameaq-news-v2__item.is-active .ameaq-news-v2__item-title { color: var(--an-navy) !important; }
.ameaq-news-v2 .ameaq-news-v2__direct {
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 28px;
  height: 32px;
  margin-inline-end: 7px;
  border-radius: 5px;
  color: #557391 !important;
  text-decoration: none !important;
  font: 700 15px/1 Arial, sans-serif !important;
  opacity: .55;
}
.ameaq-news-v2__direct:hover, .ameaq-news-v2__direct:focus-visible { background: #e5edf7; opacity: 1; color: var(--an-navy) !important; }
.ameaq-news-v2__stage {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #e4ebf4;
  box-shadow: 0 3px 16px rgba(16, 59, 121, .07);
  isolation: isolate;
}
.ameaq-news-v2__slides, .ameaq-news-v2__slide { position: absolute; top:0; right:0; bottom:0; left:0; inset:0; width: 100%; height: 100%; }
.ameaq-news-v2__slide { display: block; }
.ameaq-news-v2__slide[hidden] { display: none !important; }
.ameaq-news-v2__image-link { position: absolute; top:0; right:0; bottom:0; left:0; inset:0; display: block; overflow: hidden; }
.ameaq-news-v2__photo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ameaq-news-v2__photo-fallback {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f2f6fc 0%, #d8e5f4 100%);
}
.ameaq-news-v2__photo-fallback span {
  font: 800 clamp(30px,6vw,80px)/1 'Manrope',Arial,sans-serif;
  letter-spacing: .15em;
  color: rgba(16,59,121,.23);
}
.ameaq-news-v2__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 105px 32px 27px;
  background: linear-gradient(to top, rgba(6,31,69,.96) 0%, rgba(6,31,69,.80) 34%, rgba(6,31,69,0) 100%);
  color: #fff;
  pointer-events: none;
  text-align: start;
}
.ameaq-news-v2__caption > * { pointer-events: auto; }
.ameaq-news-v2 .ameaq-news-v2__caption-date {
  display: inline-flex !important;
  padding: 5px 10px !important;
  margin-bottom: 10px;
  background: var(--an-gold) !important;
  color: #fff !important;
  border-radius: 30px;
  font: 700 11px/1.4 'Inter',Arial,sans-serif !important;
}
.ameaq-news-v2 .ameaq-news-v2__caption-title {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font: 800 clamp(17px,1.65vw,23px)/1.4 'Manrope','Inter',Arial,sans-serif !important;
  text-align: start !important;
  text-transform: none !important;
  letter-spacing: -.025em !important;
  max-width: 94%;
}
.ameaq-news-v2 .ameaq-news-v2__caption-title a {
  color: #fff !important;
  text-decoration: none !important;
  font: inherit !important;
  text-transform: none !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.ameaq-news-v2 .ameaq-news-v2__caption-title a:hover { text-decoration: underline !important; }
.ameaq-news-v2[dir='rtl'] .ameaq-news-v2__caption-title {
  font: 700 clamp(17px,1.5vw,22px)/1.65 'Cairo',Tahoma,sans-serif !important;
  letter-spacing: 0 !important;
}
.ameaq-news-v2[dir='rtl'] .ameaq-news-v2__caption-date { font-family: 'Cairo',Tahoma,sans-serif !important; direction:ltr; unicode-bidi:isolate; }
.ameaq-news-v2__controls {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background: rgba(8,36,74,.73);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 7px;
  color: white;
  direction: ltr;
}
.ameaq-news-v2[dir='rtl'] .ameaq-news-v2__controls { right: auto; left: 16px; }
.ameaq-news-v2 .ameaq-news-v2__arrow {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 33px !important;
  height: 33px !important;
  min-width: 33px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 5px !important;
  background: transparent !important;
  color: #fff !important;
  cursor: pointer;
  line-height: 1 !important;
  box-shadow: none !important;
}
.ameaq-news-v2__arrow span { font: 400 29px/1 Arial,sans-serif; transform: translateY(-2px); }
.ameaq-news-v2__arrow:hover, .ameaq-news-v2__arrow:focus-visible { background: rgba(255,255,255,.2) !important; }
.ameaq-news-v2__counter { min-width: 49px; text-align: center; font: 600 12px/1 'Inter',Arial,sans-serif; color: white; }
.ameaq-news-v2__footer { display: flex; justify-content: flex-end; margin-top: 15px; }
.ameaq-news-v2[dir='rtl'] .ameaq-news-v2__footer { justify-content: flex-start; }
.ameaq-news-v2 .ameaq-news-v2__all {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: var(--an-navy) !important;
  font: 700 13px/1.5 'Manrope','Inter',Arial,sans-serif !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--an-gold);
  padding-bottom: 2px;
}
.ameaq-news-v2[dir='rtl'] .ameaq-news-v2__all { font-family: 'Cairo',Tahoma,sans-serif !important; }
.ameaq-news-v2__all:hover { color: #a47500 !important; }
.ameaq-news-v2__empty { padding: 20px; border: 1px solid var(--an-border); border-radius: 8px; }
.ameaq-news-v2 button:focus-visible, .ameaq-news-v2 a:focus-visible { outline: 2px solid var(--an-gold) !important; outline-offset: 2px; }
@media (max-width: 1000px) {
  .ameaq-news-v2__grid { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .ameaq-news-v2__stage { order: -1; height: 420px; min-height: 420px; }
  .ameaq-news-v2__items { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); height: auto; }
  .ameaq-news-v2__item { min-height: 90px; }
  .ameaq-news-v2__item:nth-last-child(2) { border-bottom: none; }
  .ameaq-news-v2 .ameaq-news-v2__caption-title { font-size: 19px !important; }
}
@media (max-width: 600px) {
  .ameaq-news-v2 .ameaq-news-v2__heading { font-size: 19px !important; }
  .ameaq-news-v2__header { margin-bottom: 12px; }
  .ameaq-news-v2__stage { height: 290px; min-height: 290px; }
  .ameaq-news-v2__items { grid-template-columns: minmax(0,1fr); }
  .ameaq-news-v2__item { min-height: 80px; border-bottom: 1px solid var(--an-border) !important; }
  .ameaq-news-v2__item:last-child { border-bottom: none !important; }
  .ameaq-news-v2__tab { padding-block: 9px !important; }
  .ameaq-news-v2 .ameaq-news-v2__item-title { font-size: 13px !important; }
  .ameaq-news-v2__caption { padding: 64px 17px 16px; }
  .ameaq-news-v2 .ameaq-news-v2__caption-title { font-size: 15px !important; line-height: 1.4 !important; max-width: 100%; }
  .ameaq-news-v2[dir='rtl'] .ameaq-news-v2__caption-title { font-size: 16px !important; line-height: 1.6 !important; }
  .ameaq-news-v2 .ameaq-news-v2__caption-date { padding: 3px 8px !important; margin-bottom: 6px; font-size: 10px !important; }
  .ameaq-news-v2__controls { top: 10px; right: 10px; }
  .ameaq-news-v2[dir='rtl'] .ameaq-news-v2__controls { left: 10px; }
  .ameaq-news-v2__footer { margin-top: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ameaq-news-v2__item, .ameaq-news-v2__direct { transition: none; }
}
