/* ─── تابلوی اطلاع‌رسانی کارنو پلاس ─── */

:root {
  --ann-bar-h: 0px;
  --ann-top-offset: calc(var(--nav-h) + var(--ann-bar-h));
}

body.has-ann-bar {
  --ann-bar-h: 44px;
}

.nav .ann-bell {
  margin-inline: 0.15rem 0.35rem;
}

/* نوار پین‌شده */
.ann-bar {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.ann-bar[hidden] {
  display: none !important;
}

.ann-bar.is-dismissed {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.ann-bar--urgent {
  background: linear-gradient(90deg, #fff4e8 0%, #ffe8d6 100%);
  color: var(--navy-d);
  border-bottom-color: rgba(232, 146, 10, 0.35);
}

.ann-bar--important {
  background: linear-gradient(90deg, #e8faf9 0%, #f0f8f8 100%);
  color: var(--navy-d);
  border-bottom-color: rgba(85, 201, 195, 0.35);
}

.ann-bar--info {
  background: var(--bg);
  color: var(--ink);
}

.ann-bar__inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

.ann-bar__badge {
  flex-shrink: 0;
  padding: 0.15rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.ann-bar--urgent .ann-bar__badge {
  background: var(--orange);
  color: #fff;
}

.ann-bar--important .ann-bar__badge {
  background: var(--teal-d);
  color: #fff;
}

.ann-bar__text {
  font-weight: 600;
  text-align: center;
}

.ann-bar__link {
  flex-shrink: 0;
  padding: 0.28rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background var(--ease), border-color var(--ease);
}

.ann-bar__link:hover {
  background: #fff;
  border-color: var(--teal);
}

.ann-bar__close {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  transition: background var(--ease);
}

.ann-bar__close:hover {
  background: rgba(0, 0, 0, 0.12);
}

/* زنگوله هدر */
.ann-bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  color: var(--navy);
  transition: border-color var(--ease), background var(--ease);
}

.ann-bell:hover {
  border-color: var(--teal);
  background: rgba(85, 201, 195, 0.1);
}

.ann-bell svg {
  width: 20px;
  height: 20px;
}

.ann-bell__count {
  position: absolute;
  top: -4px;
  left: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid var(--white);
}

.ann-bell__count[hidden] {
  display: none !important;
}

/* پنل کشویی زنگوله */
.ann-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 42, 42, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ann-panel-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.ann-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 201;
  width: min(400px, 100vw);
  background: var(--white);
  box-shadow: -12px 0 40px rgba(0, 45, 45, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ann-panel.is-open {
  transform: translateX(0);
}

.ann-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
}

.ann-panel__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
}

.ann-panel__sub {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.ann-panel__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--muted);
}

.ann-panel__list {
  flex: 1;
  overflow: auto;
  padding: 0.65rem;
}

.ann-panel__item {
  display: block;
  width: 100%;
  text-align: right;
  padding: 0.85rem;
  margin-bottom: 0.45rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.ann-panel__item:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.ann-panel__item.is-unread {
  border-right: 3px solid var(--orange);
  background: #fffaf5;
}

.ann-panel__foot {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line);
}

.ann-panel__foot a {
  display: block;
  text-align: center;
  padding: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(85, 201, 195, 0.12);
  border-radius: var(--radius);
}

.ann-panel__foot a:hover {
  background: rgba(85, 201, 195, 0.22);
}

/* ویجت اطلاعیه‌های اخیر */
.ann-widget {
  padding: 2.25rem 0 2.5rem;
}

.ann-widget__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
}

.ann-widget__intro {
  flex: 1;
  min-width: 0;
}

.ann-widget__label {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.22rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--teal-d);
  background: rgba(85, 201, 195, 0.12);
  border: 1px solid rgba(85, 201, 195, 0.28);
  border-radius: 999px;
}

.ann-widget__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: var(--navy);
}

.ann-widget__desc {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.75;
}

.ann-widget__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid rgba(85, 201, 195, 0.45);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 45, 45, 0.05);
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.ann-widget__more svg {
  width: 14px;
  height: 14px;
  color: var(--teal-d);
}

.ann-widget__more:hover {
  background: rgba(85, 201, 195, 0.1);
  border-color: var(--teal);
  transform: translateY(-1px);
}

.ann-widget__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* کارت اطلاعیه */
.ann-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0, 45, 45, 0.05);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.ann-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy-m));
}

.ann-card--urgent::before {
  background: linear-gradient(90deg, var(--orange), #f5a623);
}

.ann-card--important::before {
  background: linear-gradient(90deg, var(--teal-d), var(--teal));
}

.ann-card--info::before {
  background: linear-gradient(90deg, #c5d5d5, var(--line));
}

.ann-card--unread {
  border-color: rgba(232, 146, 10, 0.28);
  box-shadow: 0 8px 28px rgba(232, 146, 10, 0.08);
}

.ann-card:hover {
  border-color: rgba(85, 201, 195, 0.5);
  box-shadow: 0 14px 36px rgba(0, 45, 45, 0.1);
  transform: translateY(-3px);
}

.ann-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem 0;
}

.ann-pill {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  font-size: 0.66rem;
  font-weight: 800;
  border-radius: 999px;
  line-height: 1.4;
}

.ann-pill--urgent { background: #ffe8cc; color: #a85a00; }
.ann-pill--important { background: #d4f5f3; color: #006b66; }
.ann-pill--info { background: #eef2f2; color: var(--muted); }
.ann-pill--new { background: linear-gradient(135deg, #fff4e5, #ffe8cc); color: #a85a00; }

.ann-pill--cat-navy { background: rgba(0, 77, 77, 0.1); color: var(--navy); }
.ann-pill--cat-orange { background: var(--orange-l); color: var(--orange-d); }
.ann-pill--cat-teal { background: rgba(85, 201, 195, 0.15); color: var(--teal-d); }
.ann-pill--cat-purple { background: #f0ebfa; color: #5a3d8a; }
.ann-pill--cat-amber { background: #fff8e6; color: #9a7200; }
.ann-pill--platform {
  background: #f0f9ff;
  color: #0369a1;
  font-size: 0.68rem;
}

.ann-pill--telegram {
  background: #e8f4fd;
  color: #1d6fa8;
}

.ann-pill--bale {
  background: #ecfdf5;
  color: #047857;
}

.ann-panel__notify {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #99f6e4;
  border-radius: 10px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.ann-panel__notify:hover {
  border-color: #0d9488;
}

.ann-pulse__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.ann-pulse__source-link {
  font-size: 0.68rem;
  color: #64748b;
  text-decoration: none;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.ann-pulse__source-link:hover {
  color: #0d9488;
}


.ann-card__body {
  flex: 1;
  padding: 0.65rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ann-card__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.55;
}

.ann-card__summary {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ann-card__impact {
  margin: 0;
  padding: 0.55rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--navy-m);
  background: linear-gradient(135deg, #f6fbfb 0%, var(--bg) 100%);
  border-radius: 10px;
  border-right: 3px solid var(--teal);
  line-height: 1.55;
}

.ann-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.ann-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.75rem 1rem 1rem;
  margin-top: auto;
  border-top: 1px solid rgba(216, 230, 230, 0.7);
  background: linear-gradient(180deg, transparent 0%, rgba(244, 248, 248, 0.65) 100%);
}

.ann-card__btn {
  padding: 0.38rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
}

.ann-card__btn:hover {
  border-color: var(--teal);
  background: rgba(85, 201, 195, 0.08);
}

.ann-card__btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.ann-card__btn--primary:hover {
  background: var(--navy-m);
}

/* صفحه آرشیو */
.ann-board {
  padding: 2rem 0 3rem;
}

.ann-board__hero {
  position: relative;
  margin-bottom: 1.5rem;
  padding: 1.65rem 1.85rem;
  background: linear-gradient(135deg, var(--navy-d) 0%, var(--navy-m) 55%, #0d7a74 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.ann-board__hero-glow {
  position: absolute;
  top: -40%;
  left: -10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(85, 201, 195, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.ann-board__hero-tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.ann-board__hero h1,
.ann-board__hero h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 800;
  position: relative;
}

.ann-board__hero p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
  max-width: 40rem;
  line-height: 1.8;
  position: relative;
}

.ann-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  padding: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 18px rgba(0, 45, 45, 0.04);
}

.ann-filters__field {
  display: flex;
  align-items: center;
  flex: 1 1 220px;
  min-width: 0;
  gap: 0.55rem;
  padding: 0 0.85rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.ann-filters__field:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(85, 201, 195, 0.15);
  background: var(--white);
}

.ann-filters__field svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--muted);
}

.ann-filters__search {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0;
  font-size: 0.88rem;
  border: none;
  background: transparent;
  outline: none;
}

.ann-filters__select {
  padding: 0.65rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--navy);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}

.ann-filters__select:hover,
.ann-filters__select:focus {
  border-color: var(--teal);
  background: var(--white);
  outline: none;
}

.ann-board__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ann-board__empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ردیف لیست آرشیو */
.ann-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 45, 45, 0.04);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.ann-row:hover {
  border-color: rgba(85, 201, 195, 0.45);
  box-shadow: 0 10px 28px rgba(0, 45, 45, 0.08);
  transform: translateY(-1px);
}

.ann-row__main {
  min-width: 0;
}

.ann-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.ann-row__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.55;
}

.ann-row__summary {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

.ann-row__dates {
  font-size: 0.72rem;
  color: var(--muted);
}

.ann-row__aside {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-shrink: 0;
}

/* مودال جزئیات */
.ann-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 42, 42, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ann-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.ann-modal {
  width: min(560px, 100%);
  max-height: min(85vh, 640px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: scale(0.96) translateY(8px);
  transition: transform 0.25s ease;
}

.ann-modal-backdrop.is-open .ann-modal {
  transform: scale(1) translateY(0);
}

.ann-modal__head {
  padding: 1.25rem 1.35rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.ann-modal__body {
  padding: 1rem 1.35rem 1.25rem;
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--ink);
  white-space: pre-wrap;
}

.ann-modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1.35rem 1.25rem;
}


.page-ann-board {
  padding-top: var(--ann-top-offset);
}

/* ─── لندینگ اختصاصی تابلوی اطلاع‌رسانی ─── */
.ann-landing {
  position: relative;
  margin-top: calc(-1 * var(--ann-top-offset));
  padding: calc(var(--nav-h) + 2.75rem) 0 3.25rem;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 90% 80% at 85% -10%, rgba(85, 201, 195, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 60% at 5% 100%, rgba(232, 146, 10, 0.14), transparent 50%),
    linear-gradient(148deg, #001818 0%, var(--navy-d) 38%, #005a5a 72%, var(--navy-m) 100%);
}

.ann-landing__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.ann-landing__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.ann-landing__live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(85, 201, 195, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.ann-landing__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(232, 146, 10, 0.65);
  animation: ann-live-pulse 2s ease infinite;
}

@keyframes ann-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 146, 10, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(232, 146, 10, 0); }
}

.ann-landing__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.ann-landing__accent {
  background: linear-gradient(135deg, var(--teal) 0%, #9ef0eb 55%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ann-landing__lead {
  margin: 0 0 1.65rem;
  max-width: 34rem;
  font-size: 0.96rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
}

.ann-landing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ann-landing__dash {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.ann-landing__dash-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ann-landing__dash-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 0.2rem;
}

.ann-landing__dash-sub {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.ann-landing__dash-count {
  text-align: left;
  padding: 0.45rem 0.75rem;
  background: rgba(0, 0, 0, 0.22);
  border-radius: var(--radius);
  border: 1px solid rgba(85, 201, 195, 0.25);
}

.ann-landing__dash-count strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.ann-landing__dash-count span {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
}

.ann-landing__domains {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.ann-landing__domain {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ann-landing__domain:hover {
  border-color: rgba(85, 201, 195, 0.4);
  transform: translateY(-2px);
}

.ann-landing__domain-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.ann-landing__domain-icon svg {
  width: 18px;
  height: 18px;
}

.ann-landing__domain-icon--customs { background: rgba(0, 77, 77, 0.45); color: #9ef0eb; }
.ann-landing__domain-icon--tariff { background: rgba(85, 201, 195, 0.25); color: #c8fffc; }
.ann-landing__domain-icon--industry { background: rgba(90, 61, 138, 0.35); color: #e8d9ff; }
.ann-landing__domain-icon--zone { background: rgba(26, 107, 66, 0.35); color: #b8f0d0; }

.ann-landing__feed {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 5.5rem;
}

.ann-landing__feed-loading {
  margin: 0;
  padding: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.ann-landing__feed-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  text-align: right;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ann-landing__feed-item:hover {
  border-color: rgba(85, 201, 195, 0.45);
  background: rgba(0, 0, 0, 0.32);
}

.ann-landing__feed-item.is-new {
  border-right: 3px solid var(--orange);
}

.ann-landing__feed-pri {
  flex-shrink: 0;
  padding: 0.12rem 0.45rem;
  font-size: 0.58rem;
  font-weight: 800;
  border-radius: 999px;
}

.ann-landing__feed-text {
  flex: 1;
  min-width: 0;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.ann-trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 45, 45, 0.04);
}

.ann-trust__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.5rem;
  padding: 0.85rem 0;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy);
}

.ann-trust__inner span::before {
  content: "✓";
  margin-left: 0.35rem;
  color: var(--teal-d);
  font-weight: 800;
}

.ann-widget__shell {
  padding: 1.75rem 1.65rem 1.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.section__head--left {
  text-align: right;
  margin-inline: 0;
  max-width: 40rem;
}

.section--ann-widget {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
  background: var(--bg);
}

.section--ann-widget .ann-widget {
  padding: 0;
}

.section--ann-widget .ann-widget__grid {
  gap: 1.15rem;
}

.page-home {
  padding-top: var(--ann-top-offset);
}

.page-home .hero {
  padding-top: calc(var(--nav-h) + 1.5rem);
  margin-top: calc(-1 * var(--ann-top-offset));
}

/* ─── پالس کارنو — نسخه حرفه‌ای ─── */
.ann-pulse {
  position: relative;
  z-index: 40;
  margin-top: -1px;
  background: #0a1f1f;
  overflow: hidden;
  border-bottom: 1px solid rgba(85, 201, 195, 0.22);
}

.ann-pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 120% at 100% 50%, rgba(85, 201, 195, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 100% at 0% 80%, rgba(232, 146, 10, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.ann-pulse::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85, 201, 195, 0.55), rgba(232, 146, 10, 0.45), transparent);
}

.ann-pulse__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.25rem;
  min-height: 58px;
  padding: 0.65rem 0;
}

.ann-pulse__identity {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  padding: 0.35rem 0.65rem 0.35rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(85, 201, 195, 0.2);
  border-radius: 10px;
}

.ann-pulse__wave {
  width: 36px;
  height: 22px;
  flex-shrink: 0;
}

.ann-pulse__wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ann-pulse__wave-path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: ann-wave-draw 2.4s ease-in-out infinite;
}

@keyframes ann-wave-draw {
  0% { stroke-dashoffset: 80; opacity: 0.5; }
  40% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -80; opacity: 0.5; }
}

.ann-pulse__label-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.ann-pulse__label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ann-pulse__live {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}

.ann-pulse__live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5c5c;
  box-shadow: 0 0 0 0 rgba(255, 92, 92, 0.55);
  animation: ann-live-pulse 1.8s ease infinite;
}

@keyframes ann-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 92, 92, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(255, 92, 92, 0); }
}

.ann-pulse__stage {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ann-pulse__main {
  display: flex;
  align-items: center;
  gap: 0.5rem 0.75rem;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  text-align: right;
  cursor: pointer;
}

.ann-pulse__main:hover .ann-pulse__headline {
  color: var(--teal);
}

.ann-pulse__meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.ann-pulse__meta .ann-pill {
  font-size: 0.6rem;
  padding: 0.12rem 0.45rem;
}

.ann-pulse__headline {
  flex: 1;
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.2s ease;
  animation: ann-pulse-in 0.42s ease;
}

@keyframes ann-pulse-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.ann-pulse__badge-new {
  flex-shrink: 0;
  padding: 0.1rem 0.5rem;
  font-size: 0.6rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #f5a623);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(232, 146, 10, 0.35);
}

.ann-pulse__progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.ann-pulse__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  border-radius: inherit;
  animation: ann-pulse-progress 5s linear forwards;
}

@keyframes ann-pulse-progress {
  from { width: 0; }
  to { width: 100%; }
}

.ann-pulse__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ann-pulse__dots {
  display: flex;
  gap: 0.25rem;
}

.ann-pulse__dot-btn {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.ann-pulse__dot-btn.is-active {
  background: var(--teal);
  transform: scale(1.35);
  box-shadow: 0 0 6px rgba(85, 201, 195, 0.6);
}

.ann-pulse__enter {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.45rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy-d);
  background: linear-gradient(135deg, var(--teal), #7ee8e2);
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(85, 201, 195, 0.25);
}

.ann-pulse__enter:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(85, 201, 195, 0.35);
  color: var(--navy-d);
}

.ann-pulse__enter svg {
  width: 14px;
  height: 14px;
}

/* legacy aliases */
.ann-pulse__brand,
.ann-pulse__dot,
.ann-pulse__tag,
.ann-pulse__title,
.ann-pulse__new,
.ann-pulse__all {
  display: none;
}

@media (max-width: 900px) {
  .ann-pulse__inner {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .ann-pulse__identity {
    justify-self: start;
  }

  .ann-pulse__nav {
    justify-content: space-between;
    width: 100%;
  }

  .ann-pulse__main {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .ann-pulse {
    padding: 0.65rem 0;
  }

  .ann-pulse__inner {
    gap: 0.55rem;
  }

  .ann-pulse__identity {
    gap: 0.45rem;
  }

  .ann-pulse__label {
    font-size: 0.72rem;
  }

  .ann-pulse__live {
    font-size: 0.65rem;
  }

  .ann-pulse__meta {
    width: 100%;
  }

  .ann-pulse__headline {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .ann-pulse__enter {
    padding: 0.4rem 0.65rem;
    font-size: 0.72rem;
  }

  .ann-pulse__wave {
    width: 1.6rem;
    height: 1.6rem;
  }
}

/* spotlight — لیست همیشه visible */
.ann-spotlight {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.25rem;
  align-items: start;
}

.ann-spotlight__intro {
  padding: 1.25rem;
  background: linear-gradient(145deg, var(--navy-d), var(--navy-m));
  color: var(--white);
  border-radius: var(--radius-lg);
  border-right: 4px solid var(--orange);
}

.ann-spotlight__intro h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.ann-spotlight__intro p {
  margin: 0 0 1rem;
  font-size: 0.84rem;
  opacity: 0.9;
  line-height: 1.75;
}

.ann-spotlight__stat {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.ann-spotlight__stat div {
  font-size: 0.72rem;
  opacity: 0.85;
}

.ann-spotlight__stat strong {
  display: block;
  font-size: 1.1rem;
  color: var(--teal);
}

.ann-spotlight__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ann-spotlight__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  width: 100%;
  padding: 0.75rem 0.9rem;
  text-align: right;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.ann-spotlight__row:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.ann-spotlight__row.is-new {
  border-right: 3px solid var(--orange);
  background: #fffaf5;
}

.ann-spotlight__pri {
  font-size: 0.62rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.ann-spotlight__text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}

.ann-spotlight__date {
  font-size: 0.68rem;
  color: var(--muted);
  white-space: nowrap;
}

.section--announce {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
  .ann-spotlight {
    grid-template-columns: 1fr;
  }

  .ann-pulse__inner {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .ann-landing__grid {
    grid-template-columns: 1fr;
  }

  .ann-widget__grid {
    grid-template-columns: 1fr;
  }

  .ann-row {
    grid-template-columns: 1fr;
  }

  .ann-bar__inner {
    justify-content: flex-start;
    text-align: right;
  }
}

@media (max-width: 600px) {
  body.has-ann-bar {
    --ann-bar-h: 56px;
  }

  .ann-bar {
    align-items: flex-start;
    padding: 0.55rem 0.75rem;
  }

  .ann-landing__grid {
    grid-template-columns: 1fr;
  }

  .ann-landing__domains {
    grid-template-columns: repeat(2, 1fr);
  }

  .ann-landing__actions .btn {
    flex: 1 1 auto;
  }
}
