/* ==========================================================
   HostingPro - Announcements (UX style)
   File: hp-announcements.css
   Escopo TOTAL: #hpAnnouncementsPage
   ========================================================== */

#hpAnnouncementsPage,
#hpAnnouncementsPage * { box-sizing: border-box; }

#hpAnnouncementsPage a { text-decoration: none; }
#hpAnnouncementsPage img { max-width: 100%; height: auto; display: block; }

#hpAnnouncementsPage {
  padding: 24px;
}

/* Card */
#hpAnnouncementsPage .hp-ann-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 18px;
  margin-bottom: 14px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

#hpAnnouncementsPage .hp-ann-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);
  border-color: #e5e7eb;
}

/* Head */
#hpAnnouncementsPage .hp-ann-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

#hpAnnouncementsPage .hp-ann-title {
  font-size: 18px;
  font-weight: 900;
  color: #111827;
  line-height: 1.2;
}

#hpAnnouncementsPage .hp-ann-title:hover {
  color: #4f46e5;
}

/* Edit */
#hpAnnouncementsPage .hp-ann-edit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
  transition: background .2s, transform .2s, border-color .2s;
}

#hpAnnouncementsPage .hp-ann-edit:hover {
  background: #f9fafb;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

/* Body text (não força negrito) */
#hpAnnouncementsPage .hp-ann-text {
  color: #374151;
  font-weight: 500;
  line-height: 1.65;
}

#hpAnnouncementsPage .hp-ann-text p {
  margin: 0 0 10px;
}

#hpAnnouncementsPage .hp-ann-text p:last-child {
  margin-bottom: 0;
}

/* Read more */
#hpAnnouncementsPage .hp-ann-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  font-weight: 900;
  color: #667eea;
}

#hpAnnouncementsPage .hp-ann-readmore:hover {
  text-decoration: underline;
}

/* Meta */
#hpAnnouncementsPage .hp-ann-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eef2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

#hpAnnouncementsPage .hp-ann-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-weight: 700;
  font-size: 12px;
}

/* Social */
#hpAnnouncementsPage .hp-ann-social {
  margin-top: 12px;
}

/* Empty alert wrap */
#hpAnnouncementsPage .hp-ann-alert {
  margin-top: 12px;
}

/* Pager */
#hpAnnouncementsPage .hp-ann-pager {
  margin-top: 16px;
}

#hpAnnouncementsPage .hp-ann-pager-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

#hpAnnouncementsPage .hp-ann-pagebtn {
  padding: 10px 12px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  font-weight: 900;
  transition: background .2s, transform .2s, border-color .2s, color .2s;
}

#hpAnnouncementsPage .hp-ann-pagebtn:hover {
  border-color: #667eea;
  color: #667eea;
  transform: translateY(-1px);
}

#hpAnnouncementsPage .hp-ann-pagebtn.is-active {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#hpAnnouncementsPage .hp-ann-pagebtn.is-disabled {
  opacity: .55;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 640px) {
  #hpAnnouncementsPage { padding: 16px; }
  #hpAnnouncementsPage .hp-ann-head { flex-direction: column; align-items: stretch; }
  #hpAnnouncementsPage .hp-ann-edit { align-self: flex-start; }
}