/* ===== ANNOUNCEMENTS PAGE ===== */
.ann-hero {
  background: #0d1117;
  padding: 80px 0;
  text-align: center;
  color: #fff;
  width: 100%;
}
.ann-hero__badge {
  background: #ff0000;
  color: #fff;
  padding: 6px 16px;
  display: inline-block;
  border-radius: 4px;
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 14px;
}
.ann-hero__title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff !important;
}
.ann-hero__title span {
  color: #ff0000;
}
.ann-hero__sub {
  font-size: 18px;
  color: #8b949e;
  max-width: 700px;
  margin: 0 auto;
}

.ann-divider {
  border: 0;
  height: 1px;
  background: #21262d;
  margin: 0;
}

/* ===== LAYOUT ===== */
.ann-body {
  background: #0d1117;
  padding: 60px 0 80px;
  width: 100%;
}
.ann-body__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* ===== SIDEBAR ===== */
.ann-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
}
.ann-sidebar__box {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
}
.ann-sidebar__title {
  font-size: 13px;
  font-weight: 700;
  color: #ff0000;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.ann-search {
  display: flex;
  align-items: center;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.ann-search:focus-within {
  border-color: #ff0000;
}
.ann-search input {
  background: transparent;
  border: none;
  outline: none;
  color: #c9d1d9;
  font-size: 14px;
  padding: 10px 12px;
  flex: 1;
  width: 100%;
}
.ann-search input::placeholder {
  color: #484f58;
}
.ann-search__btn {
  background: #ff0000;
  border: none;
  color: #fff;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}
.ann-search__btn:hover {
  background: #cc0000;
}
.ann-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ann-cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 6px;
  color: #8b949e;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.ann-cat-list li a:hover,
.ann-cat-list li.active a {
  background: #21262d;
  color: #fff;
}
.ann-cat-list li.active a {
  color: #ff0000;
}
.ann-cat-list li a i {
  font-size: 13px;
  margin-right: 8px;
  color: #ff0000;
}
.ann-cat-badge {
  background: #21262d;
  border: 1px solid #30363d;
  color: #8b949e;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 20px;
}

/* ===== MAIN FEED ===== */
.ann-feed {
  flex: 1;
  min-width: 0;
}
.ann-feed__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.ann-feed__count {
  font-size: 14px;
  color: #8b949e;
}
.ann-feed__count span {
  color: #fff;
  font-weight: 700;
}
.ann-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ann-sort label {
  font-size: 13px;
  color: #8b949e;
}
.ann-sort select {
  background: #161b22;
  border: 1px solid #30363d;
  color: #c9d1d9;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  outline: none;
  cursor: pointer;
}
.ann-sort select:focus {
  border-color: #ff0000;
}

/* ===== ANNOUNCEMENT CARD ===== */
.ann-card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.ann-card:hover {
  border-color: #ff0000;
}
.ann-card--pinned {
  border-color: #ff0000;
  border-left: 3px solid #ff0000;
}
.ann-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.ann-card__tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ann-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}
.ann-tag--pinned {
  background: rgba(255,0,0,0.1);
  border-color: rgba(255,0,0,0.3);
  color: #ff0000;
}
.ann-tag--maintenance {
  background: rgba(251,188,5,0.1);
  border-color: rgba(251,188,5,0.3);
  color: #fbbc05;
}
.ann-tag--update {
  background: rgba(52,199,89,0.1);
  border-color: rgba(52,199,89,0.3);
  color: #34c759;
}
.ann-tag--news {
  background: rgba(10,132,255,0.1);
  border-color: rgba(10,132,255,0.3);
  color: #0a84ff;
}
.ann-tag--promo {
  background: rgba(191,90,242,0.1);
  border-color: rgba(191,90,242,0.3);
  color: #bf5af2;
}
.ann-tag--alert {
  background: rgba(255,149,0,0.1);
  border-color: rgba(255,149,0,0.3);
  color: #ff9500;
}
.ann-card__date {
  font-size: 12px;
  color: #484f58;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.ann-card__body {
  padding: 14px 24px 20px;
}
.ann-card__title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
  line-height: 1.3;
}
.ann-card__title:hover {
  color: #ff0000;
}
.ann-card__excerpt {
  font-size: 14px;
  color: #8b949e;
  line-height: 1.7;
  margin-bottom: 18px;
}
.ann-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #21262d;
  padding: 14px 24px;
  gap: 12px;
  flex-wrap: wrap;
}
.ann-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ann-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #484f58;
}
.ann-meta-item i {
  font-size: 12px;
}
.ann-card__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #ff0000;
  text-decoration: none;
  transition: gap 0.2s;
}
.ann-card__read:hover {
  gap: 10px;
}

/* ===== EMPTY STATE ===== */
.ann-empty {
  text-align: center;
  padding: 60px 20px;
  color: #484f58;
}
.ann-empty i {
  font-size: 48px;
  color: #ff0000;
  opacity: 0.4;
  margin-bottom: 16px;
  display: block;
}
.ann-empty p {
  font-size: 15px;
}

/* ===== PAGINATION ===== */
.ann-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.ann-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid #30363d;
  background: #161b22;
  color: #8b949e;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.ann-page-btn:hover {
  border-color: #ff0000;
  color: #ff0000;
}
.ann-page-btn--active {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
}
.ann-page-btn--arrow {
  width: auto;
  padding: 0 12px;
  gap: 6px;
  font-size: 13px;
}

/* ===== SINGLE ANNOUNCEMENT ===== */
.ann-single {
  background: #0d1117;
  padding: 60px 0 80px;
  width: 100%;
}
.ann-single__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 30px;
}
.ann-single__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #8b949e;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.ann-single__back:hover {
  color: #ff0000;
}
.ann-single__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.ann-single__title {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
}
.ann-single__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #21262d;
}
.ann-single__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #484f58;
}
.ann-single__content {
  font-size: 15px;
  color: #c9d1d9;
  line-height: 1.8;
}
.ann-single__content p {
  margin-bottom: 16px;
}
.ann-single__content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 28px 0 12px;
}
.ann-single__content ul,
.ann-single__content ol {
  padding-left: 24px;
  margin-bottom: 16px;
  color: #8b949e;
}
.ann-single__content li {
  margin-bottom: 6px;
}
.ann-single__content a {
  color: #ff0000;
  text-decoration: none;
}
.ann-single__content a:hover {
  text-decoration: underline;
}
.ann-single__nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #21262d;
  flex-wrap: wrap;
}
.ann-single__nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #161b22;
  border: 1px solid #30363d;
  color: #c9d1d9;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.ann-single__nav-btn:hover {
  border-color: #ff0000;
  color: #ff0000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .ann-body__inner {
    flex-direction: column;
  }
  .ann-sidebar {
    width: 100%;
    position: static;
  }
  .ann-hero__title {
    font-size: 28px;
  }
  .ann-single__title {
    font-size: 24px;
  }
}

/* WHMCS overrides */
.top-header,
.page-header,
.right-sticky-menu,
#sticky-panel,
.panel-sticky {
  display: none !important;
}
.wrapper.sec-normal,
.content.bg-colorstyle,
section#main-body,
.main-content {
  padding: 0px !important;
  margin: 0px !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  max-width: 100% !important;
  width: 100% !important;
}