:root {
  --upt-red: #d30000;
  --upt-yellow: #ffda00;
  --upt-black: #141413;
  --upt-dark: #080808;
  --upt-white: #ffffff;
  --upt-gray: #f5f5f5;
  --upt-text: #202020;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--upt-text);
  background: #fff;
}

a {
  text-decoration: none;
}

.upt-container {
  max-width: 1500px;
  margin: 0 auto;
  padding-left: 55px;
  padding-right: 55px;
}

/* =========================
   HEADER / MENU
========================= */

.upt-header {
  background: #050505;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.upt-header .navbar {
  min-height: 70px;
  padding: 0;
}

.upt-brand img {
  height: 55px;
  width: auto;
  display: block;
}

.upt-menu {
  gap: 20px;
}

.upt-menu .nav-link {
  color: #fff !important;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  position: relative;
  padding: 24px 6px !important;
}

.upt-menu .nav-link:hover,
.upt-menu .nav-link.active,
.upt-menu .nav-link.show {
  color: var(--upt-red) !important;
}

.upt-menu .nav-link.active::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: 34px;
  height: 3px;
  background: var(--upt-yellow);
  border-radius: 3px;
}

/* Oculta solo la flechita default de Bootstrap */
.upt-menu .dropdown-toggle::after {
  display: none !important;
}

.upt-dropdown {
  background: #111 !important;
  --bs-dropdown-bg: #111;
  --bs-dropdown-link-color: #fff;
  --bs-dropdown-link-hover-bg: var(--upt-red);
  --bs-dropdown-link-hover-color: #fff;
  --bs-dropdown-link-active-bg: transparent;
  --bs-dropdown-link-active-color: #fff;

  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  padding: 8px 0;
  box-shadow: 0 8px 18px rgba(0,0,0,.35);
}

.upt-dropdown .dropdown-item {
  background: transparent !important;
  color: #fff !important;
  font-weight: 800;
  font-size: 14px;
  padding: 9px 16px;
}

.upt-dropdown .dropdown-item.active,
.upt-dropdown .dropdown-item:focus,
.upt-dropdown .dropdown-item:active {
  background: transparent !important;
  color: #fff !important;
}

.upt-dropdown .dropdown-item:hover {
  background: var(--upt-red) !important;
  color: #fff !important;
}

.btn-unete {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 145px;
  height: 48px;
  background: var(--upt-red) !important;
  color: #fff !important;
  font-weight: 1000;
  font-size: 16px;
  border-radius: 5px;
  padding: 0 24px;
  text-transform: uppercase;
  border: 0 !important;
  line-height: 1;
  opacity: 1 !important;
}

.btn-unete i {
  font-size: 20px;
  color: #fff !important;
}

.btn-unete:hover,
.btn-unete:focus,
.btn-unete:active {
  background: #b90000 !important;
  color: #fff !important;
}

/* =========================
   HERO HOME
========================= */

.hero {
  height: 370px;
  position: relative;
  overflow: hidden;
  background: #111;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(211,0,0,.96) 0%, rgba(211,0,0,.78) 28%, rgba(0,0,0,.14) 54%, rgba(0,0,0,.60) 100%),
    var(--hero-bg-url);
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 370px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 70px;
  display: grid;
  grid-template-columns: 520px 430px 270px;
  align-items: center;
  column-gap: 40px;
}

.hero-text {
  position: relative;
  z-index: 4;
}

.hero-text h1 {
  color: #fff;
  font-size: 48px;
  line-height: .98;
  font-weight: 1000;
  letter-spacing: -1px;
  margin: 0;
}

.hero-text h1 span {
  color: var(--upt-yellow);
}

.hero-text p {
  color: #fff;
  max-width: 500px;
  font-size: 18px;
  line-height: 1.35;
  margin: 18px 0 24px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-red {
  background: var(--upt-red);
  color: #fff;
  font-weight: 900;
  padding: 14px 24px;
  border-radius: 5px;
  font-size: 13px;
}

.btn-red:hover {
  background: #b90000;
  color: #fff;
}

.btn-outline-yellow {
  border: 2px solid var(--upt-yellow);
  color: #fff;
  font-weight: 900;
  padding: 12px 35px;
  border-radius: 5px;
  font-size: 13px;
}

.btn-outline-yellow:hover {
  background: var(--upt-yellow);
  color: #111;
}

.hero-person {
  position: relative;
  height: 370px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 3;
}

.hero-person img {
  height: 350px;
  width: auto;
  display: block;
  object-fit: contain;
  transform: translateX(120px);
}

.hero-name {
  position: relative;
  z-index: 4;
  color: #fff;
  width: 270px;
}

.hero-name h2 {
  font-size: 38px;
  line-height: .95;
  font-weight: 1000;
  margin: 0;
}

.hero-name span {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--upt-yellow);
  margin: 14px 0;
}

.hero-name p {
  font-weight: 900;
  font-size: 14px;
  line-height: 1.2;
  margin: 0;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}

.hero-dots button.active {
  background: var(--upt-yellow);
}

/* =========================
   HOME
========================= */

.home-main {
  padding: 16px 0 12px;
  background: #fff;
}

.section-block {
  margin-bottom: 18px;
}

.section-title {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  border-left: 5px solid var(--upt-red);
  padding-left: 12px;
}

.section-title.center {
  justify-content: center;
  border-left: 0;
  padding-left: 0;
}

.section-title.between {
  justify-content: space-between;
}

.section-title h2 {
  font-size: 20px;
  font-weight: 1000;
  margin: 0;
  color: #111;
}

.section-title h2 span {
  color: var(--upt-red);
}

.section-title.center h2 {
  position: relative;
}

.section-title.center h2::after {
  content: "";
  display: block;
  width: 180px;
  height: 2px;
  background: var(--upt-yellow);
  margin: 8px auto 0;
}

.section-title a {
  color: var(--upt-red);
  font-size: 12px;
  font-weight: 900;
}

.home-news-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.home-news-link:hover {
  color: inherit;
}

.home-news-link .news-body small {
  color: #777;
}

.home-news-link .news-body h3 {
  color: #111;
}

.home-news-read {
  color: var(--upt-red);
  font-size: 11px;
  font-weight: 900;
}

.document-item {
  color: inherit;
  text-decoration: none;
}

.document-item:hover {
  color: inherit;
}

.document-item p {
  color: #777;
}

/* CANDIDATOS */

.candidates-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.candidate-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.13);
  border: 1px solid #e8e8e8;
  transition: transform .25s ease, box-shadow .25s ease;
}

.candidate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
}

.candidate-card img {
  width: 100%;
  height: 135px;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: #f4f4f4;
}

.candidate-info {
  background: var(--upt-red);
  color: #fff;
  text-align: center;
  padding: 12px 8px 13px;
}

.candidate-info h3 {
  font-size: 15px;
  font-weight: 1000;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.candidate-info p {
  font-size: 12px;
  margin: 0;
  font-weight: 600;
}

/* NOTICIAS */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.news-card img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  display: block;
}

.news-body {
  padding: 10px 12px;
}

.news-body small {
  font-size: 10px;
  color: #777;
}

.news-body h3 {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  margin: 5px 0 9px;
}

.news-body a {
  color: var(--upt-red);
  font-size: 11px;
  font-weight: 900;
}

/* DOCUMENTOS HOME */

.documents-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.document-item {
  display: grid;
  grid-template-columns: 34px 1fr 20px;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  box-shadow: 0 1px 7px rgba(0,0,0,.07);
}

.document-item .fa-file-pdf {
  background: var(--upt-red);
  color: #fff;
  padding: 8px;
  border-radius: 4px;
  font-size: 15px;
}

.document-item h4 {
  font-size: 12px;
  font-weight: 400;
  margin: 0;
  color: #111;
}

.document-item p {
  font-size: 11px;
  color: #777;
  margin: 0;
}

.document-item .fa-download {
  color: #111;
  font-size: 13px;
}

/* SIDEBAR */

.side-card {
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 10px;
  box-shadow: 0 3px 13px rgba(0,0,0,.12);
}

.side-card.black {
  background: linear-gradient(135deg, #050505, #181818);
  color: #fff;
}

.side-card h3 {
  font-size: 16px;
  font-weight: 1000;
  margin: 0 0 14px;
}

.side-card h3 span {
  color: var(--upt-red);
}

.social-icons {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--upt-red);
  font-size: 16px;
}

.social-icons.big a {
  width: 42px;
  height: 42px;
  font-size: 21px;
}

.live-image {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 10px;
}

.live-image img {
  width: 100%;
  height: 95px;
  object-fit: cover;
  display: block;
  filter: brightness(.75);
}

.live-image span {
  position: absolute;
  right: 8px;
  top: 8px;
  background: var(--upt-red);
  color: #fff;
  padding: 5px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
}

.live-card h4 {
  font-size: 13px;
  font-weight: 900;
  margin: 0;
}

.live-card p {
  font-size: 12px;
  margin: 3px 0 12px;
}

.home-live-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-live-link:hover {
  color: inherit;
}

.home-live-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(211,0,0,.9);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.live-card .live-image span {
  max-width: calc(100% - 16px);
  white-space: nowrap;
}

.btn-yellow {
  display: block;
  background: var(--upt-yellow);
  color: #111;
  text-align: center;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 1000;
}

.btn-yellow:hover {
  background: #ffd000;
  color: #111;
}

.bases-card {
  background: #f7f7f7;
}

.bases-content {
  display: grid;
  grid-template-columns: 115px 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 0;
}

.bases-content img {
  width: 115px;
  height: 120px;
  object-fit: contain;
  display: block;
}

.bases-info p {
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 16px;
  color: #111;
}

.bases-info .btn-yellow {
  font-size: 10px;
  width: 100%;
}

/* =========================
   DOCUMENTOS PAGE
========================= */

.page-hero {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: #111;
}

.documentos-hero {
  background-image:
    linear-gradient(90deg, rgba(130,0,0,.96) 0%, rgba(150,0,0,.80) 38%, rgba(0,0,0,.25) 70%, rgba(0,0,0,.45) 100%),
    var(--hero-bg-url);
  background-size: cover;
  background-position: center;
}

.documentos-hero::before {
  content: "🦁";
  position: absolute;
  left: 70px;
  top: 15px;
  font-size: 150px;
  opacity: .08;
  color: #fff;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  margin: 0 auto;
  padding: 35px 55px;
}

.page-hero-content h1 {
  color: #fff;
  font-size: 50px;
  line-height: .95;
  font-weight: 1000;
  margin: 0;
}

.page-hero-content h1 span {
  color: var(--upt-yellow);
}

.page-hero-line {
  width: 55px;
  height: 4px;
  background: var(--upt-yellow);
  margin: 15px 0;
}

.page-hero-content p {
  max-width: 560px;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
  margin: 0;
}

.documentos-page {
  padding: 25px 0 10px;
  background: #fff;
}

.documentos-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.doc-filter {
  border: 1px solid #cfcfcf;
  color: #111;
  background: #fff;
  padding: 11px 18px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 900;
}

.doc-filter.active,
.doc-filter:hover {
  background: var(--upt-red);
  color: #fff;
  border-color: var(--upt-red);
}

.doc-search {
  margin-left: auto;
  position: relative;
  min-width: 280px;
}

.doc-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #111;
}

.doc-search input {
  width: 100%;
  height: 40px;
  border: 1px solid #cfcfcf;
  border-radius: 5px;
  padding: 0 14px 0 40px;
  font-size: 14px;
}

.document-table-wrap {
  overflow-x: auto;
}

.document-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 850px;
}

.document-table thead th {
  background: linear-gradient(135deg, #050505, #171717);
  color: #fff;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 1000;
}

.document-table thead th:first-child {
  border-radius: 6px 0 0 0;
}

.document-table thead th:last-child {
  border-radius: 0 6px 0 0;
}

.document-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
  font-size: 13px;
}

.doc-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-icon {
  width: 42px;
  height: 52px;
  background: var(--upt-red);
  color: #fff;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-icon.large {
  width: 52px;
  height: 66px;
  font-size: 13px;
}

.doc-info h3 {
  font-size: 14px;
  font-weight: 1000;
  margin: 0 0 4px;
}

.doc-info p {
  font-size: 12px;
  margin: 0;
  color: #555;
}

.doc-badge {
  display: inline-block;
  border: 1px solid var(--upt-red);
  color: var(--upt-red);
  font-size: 11px;
  font-weight: 900;
  padding: 5px 9px;
  border-radius: 4px;
  text-transform: uppercase;
}

.doc-badge.estatutos {
  border-color: #ffb400;
  color: #ff9d00;
}

.doc-badge.reglamentos {
  border-color: #1677ff;
  color: #1677ff;
}

.doc-badge.resoluciones {
  border-color: #19a84a;
  color: #19a84a;
}

.doc-badge.formatos {
  border-color: #ff7300;
  color: #ff7300;
}

.doc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-doc-view,
.btn-doc-download {
  padding: 7px 11px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 1000;
}

.btn-doc-view {
  border: 1px solid #222;
  color: #111;
  background: #fff;
}

.btn-doc-download {
  background: var(--upt-red);
  color: #fff;
  border: 1px solid var(--upt-red);
}

.btn-doc-download:hover,
.btn-doc-view:hover {
  opacity: .85;
}

.doc-side-card {
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 3px 13px rgba(0,0,0,.12);
}

.doc-side-card.black {
  background: linear-gradient(135deg, #050505, #181818);
  color: #fff;
}

.doc-side-card h3 {
  font-size: 16px;
  font-weight: 1000;
  margin: 0 0 14px;
}

.doc-side-card h3 span {
  color: var(--upt-red);
}

.doc-category-link {
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 10px;
}

.doc-category-link span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.doc-category-link i {
  background: var(--upt-red);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.doc-category-link strong {
  background: #333;
  padding: 3px 10px;
  border-radius: 4px;
}

.doc-side-card.featured,
.doc-side-card.help {
  background: #f7f7f7;
}

.featured-doc {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 14px;
}

.featured-doc h4 {
  font-size: 15px;
  font-weight: 1000;
  margin: 0 0 5px;
}

.featured-doc p {
  font-size: 12px;
  margin: 0;
}

.doc-side-card.help h3 {
  color: var(--upt-red);
  line-height: 1.15;
}

.doc-side-card.help p {
  font-size: 12px;
}

.doc-side-card.help a {
  display: block;
  border: 1px solid var(--upt-red);
  color: var(--upt-red);
  text-align: center;
  padding: 9px;
  border-radius: 5px;
  font-weight: 1000;
  font-size: 12px;
}

.doc-pagination {
  display: flex;
  gap: 7px;
  justify-content: center;
  align-items: center;
  margin-top: 22px;
  flex-wrap: wrap;
}

.doc-pagination a {
  width: 34px;
  height: 34px;
  border-radius: 5px;
  border: 1px solid #ddd;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  background: #fff;
}

.doc-pagination a:hover,
.doc-pagination a.active {
  background: var(--upt-red);
  border-color: var(--upt-red);
  color: #fff;
}

.doc-total-info {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}

/* =========================
   FOOTER
========================= */

.upt-footer {
  background: linear-gradient(135deg, #050505, #161616);
  color: #fff;
  padding-top: 18px;
}

.footer-logo {
  max-width: 260px;
  height: auto;
}

.footer-text {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255,255,255,.8);
}

.upt-footer h5 {
  font-size: 14px;
  font-weight: 1000;
  margin-bottom: 10px;
}

.upt-footer p,
.upt-footer li,
.upt-footer a {
  font-size: 13px;
  color: rgba(255,255,255,.85);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
}

.footer-links li {
  margin-bottom: 4px;
}

.footer-links a:hover {
  color: var(--upt-yellow);
}

.footer-bottom {
  margin-top: 12px;
  background: var(--upt-red);
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.45;
}

.footer-contact-item i {
    width: 16px;
    min-width: 16px;
    margin-top: 3px;
    text-align: center;
}

.footer-contact-item span {
    font-size: 13px;
    display: block;
}

/* =========================
   CONTACTO PAGE
========================= */
.contacto-hero {
  background-image:
    linear-gradient(90deg, rgba(130,0,0,.96) 0%, rgba(150,0,0,.78) 38%, rgba(0,0,0,.20) 70%, rgba(0,0,0,.38) 100%),
    var(--hero-bg-url);
  background-size: cover;
  background-position: center;
}

.contacto-hero::before {
  content: "🦁";
  position: absolute;
  left: 70px;
  top: 12px;
  font-size: 155px;
  opacity: .08;
  color: #fff;
}

.contacto-page {
  padding: 25px 0 18px;
  background: #fff;
}

.contact-section {
  margin-bottom: 15px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 13px 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}

.contact-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: var(--upt-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-info-card h3 {
  font-size: 13px;
  font-weight: 1000;
  margin: 0 0 4px;
}

.contact-info-card p {
  font-size: 12px;
  margin: 0;
  color: #222;
  line-height: 1.35;
}

.contact-form-box,
.contact-social-box,
.join-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}

.contact-social-box,
.join-card {
  height: auto;
}

.join-card {
  margin-top: 15px;
  text-align: center;
}

.contact-map-section {
  margin-top: 22px;
  clear: both;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #111;
  font-size: 13px;
}

.input-icon input,
.input-icon textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 11px 12px 11px 40px;
  font-size: 13px;
  outline: none;
  background: #fff;
}

.input-icon textarea {
  min-height: 115px;
  resize: vertical;
}

.textarea-icon i {
  top: 17px;
  transform: none;
}

.input-icon input:focus,
.input-icon textarea:focus {
  border-color: var(--upt-red);
  box-shadow: 0 0 0 3px rgba(211,0,0,.08);
}

.contact-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
}

.btn-contact-submit {
  width: 100%;
  border: 0;
  background: var(--upt-red);
  color: #fff;
  border-radius: 5px;
  padding: 12px 15px;
  font-size: 13px;
  font-weight: 1000;
  cursor: pointer;
}

.btn-contact-submit:hover {
  background: #b90000;
}

.btn-contact-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.contact-safe {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin: 0;
}

.contact-alert {
  display: none;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.contact-alert.success {
  display: block;
  background: #e9f9ef;
  color: #11833a;
  border: 1px solid #bde9ca;
}

.contact-alert.error {
  display: block;
  background: #fff0f0;
  color: #c40000;
  border: 1px solid #ffc9c9;
}

.contact-social-icons {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.contact-social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 21px;
}

.join-card {
  margin-top: 15px;
  text-align: center;
}

.join-card p {
  font-size: 13px;
  line-height: 1.45;
  margin: 5px 0 18px;
}

.join-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: var(--upt-red);
  color: #fff;
  border-radius: 5px;
  padding: 12px 15px;
  font-size: 13px;
  font-weight: 1000;
}

.join-btn:hover {
  background: #b90000;
  color: #fff;
}

.contact-map-section {
  margin-top: 22px;
}

.contact-map-box {
  height: 170px;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}

.contact-map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   CANDIDATOS
========================= */

.candidatos-hero {
  background-image:
    linear-gradient(90deg, rgba(130,0,0,.96) 0%, rgba(150,0,0,.78) 38%, rgba(0,0,0,.20) 70%, rgba(0,0,0,.38) 100%),
    var(--hero-bg-url);
  background-size: cover;
  background-position: center;
}

.candidatos-hero::before {
  content: "🦁";
  position: absolute;
  left: 70px;
  top: 12px;
  font-size: 155px;
  opacity: .08;
  color: #fff;
}

.candidatos-hero h2 {
  color: var(--upt-yellow);
  font-size: 30px;
  font-weight: 1000;
  margin: 8px 0 0;
  text-transform: uppercase;
}

.candidatos-page {
  padding: 22px 0 10px;
  background: #fff;
}

.candidatos-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}

.candidatos-filters {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.cand-filter {
  border: 1px solid #d7d7d7;
  background: #fff;
  color: #111;
  border-radius: 5px;
  min-height: 46px;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
  line-height: 1.05;
  cursor: pointer;
}

.cand-filter span {
  display: block;
  font-size: 11px;
  font-weight: 900;
  margin-top: 3px;
}

.cand-filter i {
  margin-right: 8px;
}

.cand-filter.active,
.cand-filter:hover {
  background: var(--upt-red);
  color: #fff;
  border-color: var(--upt-red);
}

.candidatos-grid-page {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cand-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.cand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
}

.cand-photo {
  height: 160px;
  background: #f4f4f4;
  overflow: hidden;
}

.cand-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.cand-info {
  background: var(--upt-red);
  color: #fff;
  text-align: center;
  padding: 10px 8px 11px;
}

.cand-info h3 {
  font-size: 14px;
  font-weight: 1000;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.cand-info p {
  font-size: 12px;
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}

.cand-link {
  display: block;
  text-align: center;
  color: var(--upt-red);
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
  padding: 10px 8px;
  background: #fff;
}

.cand-link i {
  margin-left: 7px;
}

.cand-link:hover {
  color: #9f0000;
}

.candidatos-sidebar {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.cand-side-card {
  border-radius: 6px;
  padding: 15px;
  box-shadow: 0 3px 13px rgba(0,0,0,.12);
  border: 1px solid #e7e7e7;
}

.cand-side-card h3 {
  font-size: 15px;
  font-weight: 1000;
  margin: 0 0 13px;
  text-transform: uppercase;
}

.cand-featured {
  background: linear-gradient(135deg, #050505, #181818);
  color: #fff;
}

.cand-featured-box {
  position: relative;
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: end;
  gap: 4px;
  min-height: 135px;
  padding: 0 8px 0 0;
  border-radius: 5px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.05), rgba(0,0,0,.60)),
    var(--hero-bg-url);
  background-size: cover;
  background-position: center;
  margin-bottom: 10px;
}

.cand-featured-box img {
  width: 148px;
  height: 148px;
  object-fit: contain;
  object-position: bottom left;
  align-self: end;
  justify-self: start;
  display: block;
  transform: translateX(-22px);
}

.cand-featured-box h4 {
  color: #fff;
  font-size: 17px;
  font-weight: 1000;
  margin: 0 0 8px;
  text-transform: uppercase;
  line-height: 1.02;
}

.cand-featured-box p {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  margin: 0 0 9px;
  line-height: 1.15;
}

.cand-commitment {
  background: #f7f7f7;
}

.cand-commitment ul {
  list-style: none;
  padding: 0;
  margin: 0 0 13px;
}

.cand-commitment li {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  margin-bottom: 8px;
  color: #111;
}

.cand-commitment li i {
  color: var(--upt-red);
}

.cand-commitment a,
.cand-join a {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
  padding: 10px 12px;
}

.cand-commitment a {
  border: 1px solid var(--upt-red);
  color: var(--upt-red);
  background: #fff;
}

.cand-commitment a:hover {
  background: var(--upt-red);
  color: #fff;
}

.cand-join {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  background: #fff;
}

.cand-join > i {
  color: var(--upt-red);
  font-size: 42px;
  margin-top: 5px;
}

.cand-join h3 {
  font-size: 14px;
  line-height: 1.1;
  margin-bottom: 5px;
}

.cand-join p {
  font-size: 12px;
  line-height: 1.35;
  margin: 0 0 12px;
}

.cand-join a {
  grid-column: 1 / -1;
  background: var(--upt-red);
  color: #fff;
}

.cand-join a:hover {
  background: #b90000;
  color: #fff;
}

.cand-empty {
  text-align: center;
  padding: 35px 20px;
  border: 1px dashed #ddd;
  border-radius: 6px;
  background: #fafafa;
}

.cand-empty i {
  font-size: 42px;
  color: var(--upt-red);
  margin-bottom: 10px;
}

.cand-empty h3 {
  font-size: 18px;
  font-weight: 1000;
  margin: 0 0 6px;
}

.cand-empty p {
  margin: 0;
  font-size: 13px;
  color: #555;
}

/* =========================
   CONÓCENOS
========================= */
.conocenos-hero {
  background-image:
    linear-gradient(90deg, rgba(130,0,0,.96) 0%, rgba(150,0,0,.78) 38%, rgba(0,0,0,.20) 70%, rgba(0,0,0,.38) 100%),
    var(--hero-bg-url);
  background-size: cover;
  background-position: center;
}

.conocenos-hero::before {
  content: "🦁";
  position: absolute;
  left: 70px;
  top: 12px;
  font-size: 155px;
  opacity: .08;
  color: #fff;
}

.conocenos-hero h2 {
  color: var(--upt-yellow);
  font-size: 34px;
  font-weight: 1000;
  margin: 6px 0 0;
  text-transform: uppercase;
}

.conocenos-page {
  padding: 26px 0 22px;
  background: #fff;
}

/* BLOQUE SUPERIOR */

.conocenos-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 26px;
  align-items: stretch;
  margin-bottom: 26px;
}

.conocenos-about {
  padding: 14px 0;
}

.conocenos-about h2,
.valores-section h2,
.historia-box h2,
.timeline-box h2 {
  font-size: 21px;
  font-weight: 1000;
  margin: 0;
  text-transform: uppercase;
  color: #111;
  line-height: 1.05;
}

.conocenos-about h2,
.valores-section h2,
.historia-box h2,
.timeline-box h2 {
  color: #111;
}

.conocenos-about h2::first-letter,
.historia-box h2::first-letter,
.timeline-box h2::first-letter {
  color: #111;
}

.title-line {
  width: 42px;
  height: 3px;
  background: var(--upt-yellow);
  margin: 10px 0 18px;
  border-radius: 4px;
}

.title-line.small {
  width: 38px;
  margin: 8px 0 16px;
}

.conocenos-about p,
.conocenos-card p,
.historia-box p,
.timeline-item p {
  font-size: 13px;
  line-height: 1.45;
  color: #111;
  margin: 0;
}

.conocenos-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 11px;
  text-transform: uppercase;
  padding: 12px 18px;
}

/* MISIÓN / VISIÓN */

.conocenos-card {
  position: relative;
  min-height: 280px;
  padding: 24px 26px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.conocenos-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.conocenos-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  background: var(--upt-red);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

.conocenos-card h3 {
  margin: 0;
  font-size: 23px;
  font-weight: 1000;
  text-transform: uppercase;
  color: #111;
}

.card-watermark {
  position: absolute;
  right: 34px;
  bottom: 22px;
  font-size: 74px;
  color: rgba(211,0,0,.16);
}

/* VALORES */

.valores-section {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding: 18px 0 20px;
  margin-bottom: 24px;
  text-align: center;
}

.valores-section h2 {
  display: inline-block;
  margin-bottom: 24px;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.valor-item {
  padding: 0 20px;
  border-right: 1px solid #e4e4e4;
  text-align: center;
}

.valor-item:last-child {
  border-right: 0;
}

.valor-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 11px;
  border-radius: 50%;
  background: var(--upt-red);
  color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

.valor-item h3 {
  font-size: 13px;
  font-weight: 1000;
  margin: 0 0 7px;
}

.valor-item p {
  font-size: 11px;
  line-height: 1.32;
  margin: 0;
}

/* HISTORIA + TIMELINE */

.historia-timeline-section {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 42px;
  margin-bottom: 24px;
}

.historia-box img {
  width: 100%;
  height: 125px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
}

.historia-box p {
  margin-bottom: 12px;
}

.historia-link {
  display: block;
  margin-top: 14px;
  border: 1px solid var(--upt-red);
  color: var(--upt-red);
  text-align: center;
  padding: 9px 12px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
}

.historia-link:hover {
  background: var(--upt-red);
  color: #fff;
}

.timeline-box {
  border-left: 1px solid #e4e4e4;
  padding-left: 34px;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 20px 76px 1fr;
  gap: 8px;
  align-items: start;
  position: relative;
}

.timeline-item span {
  width: 12px;
  height: 12px;
  background: var(--upt-red);
  border-radius: 50%;
  margin-top: 4px;
  position: relative;
}

.timeline-item span::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  width: 1px;
  height: 42px;
  background: #ddd;
}

.timeline-item:last-child span::after {
  display: none;
}

.timeline-item strong {
  color: var(--upt-red);
  font-size: 13px;
  font-weight: 1000;
  line-height: 1.3;
  white-space: nowrap;
}

.timeline-item p {
  font-size: 12px;
  line-height: 1.35;
}

/* CTA */

.conocenos-cta {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 80px 1fr 260px;
  gap: 25px;
  align-items: center;

  background: linear-gradient(
    90deg,
    rgba(145,0,0,.96),
    rgba(211,0,0,.78)
  );

  border-radius: 8px;
  padding: 24px 36px;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.conocenos-cta > div:first-child i {
  font-size: 54px;
  color: #fff;
}

.conocenos-cta h2 {
  font-size: 25px;
  font-weight: 1000;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.conocenos-cta h2 span {
  color: var(--upt-yellow);
}

.conocenos-cta p {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}

.conocenos-cta a {
  background: var(--upt-yellow);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 1000;
  text-transform: uppercase;
}

.conocenos-cta a:hover {
  background: #ffd000;
  color: #111;
}

/* ===========================
   HOME - CANDIDATOS CARRUSEL
=========================== */
.home-candidates-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 14px;
}

.home-candidates-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.home-candidates-track::-webkit-scrollbar {
  display: none;
}

.home-candidates-track .candidate-card {
  flex: 0 0 155px;
  width: 155px;
}

.home-cand-nav {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #111;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
}

.home-cand-nav:hover {
  background: #000;
  color: #fff;
}

.home-cand-nav:active {
  background: #ff6b1a;
  color: #111;
}

.home-cand-nav:disabled {
  color: #cfcfcf;
  background: transparent;
  cursor: not-allowed;
}

/* =========================
   NOTICIAS PAGE
========================= */

.noticias-hero {
  background-image:
    linear-gradient(90deg, rgba(130,0,0,.96) 0%, rgba(150,0,0,.78) 38%, rgba(0,0,0,.20) 70%, rgba(0,0,0,.38) 100%),
    var(--hero-bg-url);
  background-size: cover;
  background-position: center;
}

.noticias-hero::before {
  content: "🦁";
  position: absolute;
  left: 70px;
  top: 12px;
  font-size: 155px;
  opacity: .08;
  color: #fff;
}

.noticias-hero h2 {
  color: var(--upt-yellow);
  font-size: 34px;
  font-weight: 1000;
  margin: 8px 0 0;
  text-transform: uppercase;
}

.noticias-page {
  padding: 24px 0 26px;
  background: #fff;
}

.noticias-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.noticias-block {
  min-width: 0;
}

.noticias-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.noticias-heading-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.noticias-social-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 35px;
}

.facebook-icon {
  background: #1877f2;
}

.tiktok-icon {
  background: #050505;
}

.noticias-heading h2 {
  font-size: 22px;
  font-weight: 1000;
  margin: 0;
  color: #111;
  text-transform: uppercase;
  line-height: 1.05;
}

.facebook-block .noticias-heading h2 span {
  color: #1877f2;
}

.tiktok-block .noticias-heading h2 span {
  color: #ff1744;
}

.noticias-heading p {
  margin: 4px 0 0;
  color: #666;
  font-size: 13px;
  font-weight: 700;
}

.noticias-view-all {
  height: 36px;
  min-width: 105px;
  padding: 0 14px;
  border-radius: 4px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
}

.facebook-link {
  border: 1px solid #1877f2;
  color: #1877f2;
}

.facebook-link:hover {
  background: #1877f2;
  color: #fff;
}

.tiktok-link {
  border: 1px solid #ff1744;
  color: #ff1744;
}

.tiktok-link:hover {
  background: #ff1744;
  color: #fff;
}

.noticias-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.noticia-social-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.noticia-social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

.noticia-img {
  height: 100px;
  position: relative;
  overflow: hidden;
  background: #eee;
}

.noticia-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge-social {
  position: absolute;
  left: 7px;
  top: 7px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,.22);
}

.facebook-badge {
  background: #1877f2;
}

.tiktok-badge {
  background: #050505;
}

.play-video {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 25px;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

.noticia-body {
  padding: 10px;
}

.noticia-body small {
  display: block;
  font-size: 10px;
  color: #333;
  margin-bottom: 8px;
}

.noticia-body h3 {
  font-size: 12px;
  line-height: 1.25;
  font-weight: 1000;
  color: #111;
  margin: 0 0 12px;
  min-height: 45px;
}

.noticia-body a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 1000;
  text-transform: uppercase;
}

.facebook-card .noticia-body a {
  color: #0b57d0;
}

.tiktok-card .noticia-body a {
  color: #ff1744;
}

.noticias-pagination {
  display: flex;
  gap: 7px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

.noticias-pagination button,
.noticias-pagination a {
  width: 31px;
  height: 31px;
  border-radius: 5px;
  border: 1px solid #ddd;
  color: #111;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
}

.facebook-pagination button.active,
.facebook-pagination button:hover,
.facebook-pagination a.active,
.facebook-pagination a:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.tiktok-pagination button.active,
.tiktok-pagination button:hover,
.tiktok-pagination a.active,
.tiktok-pagination a:hover {
  background: #ff1744;
  border-color: #ff1744;
  color: #fff;
}

.noticias-pagination span {
  font-weight: 900;
  color: #111;
  padding: 0 5px;
}

.noticia-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.noticia-card-link:hover {
  color: inherit;
}

.noticia-open-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 1000;
  text-transform: uppercase;
  color: #0b57d0;
}

.facebook-card .noticia-open-link {
  color: #0b57d0;
}

.tiktok-card .noticia-open-link {
  color: #ff1744;
}

/* =========================
   EN VIVO PAGE
========================= */

.envivo-hero {
  background-image:
    linear-gradient(90deg, rgba(130,0,0,.96) 0%, rgba(150,0,0,.78) 38%, rgba(0,0,0,.20) 70%, rgba(0,0,0,.38) 100%),
    var(--hero-bg-url);
  background-size: cover;
  background-position: center;
}

.envivo-hero::before {
  content: "🦁";
  position: absolute;
  left: 70px;
  top: 12px;
  font-size: 155px;
  opacity: .08;
  color: #fff;
}

.envivo-hero h2 {
  color: var(--upt-yellow);
  font-size: 34px;
  font-weight: 1000;
  margin: 8px 0 0;
  text-transform: uppercase;
}

.envivo-page {
  padding: 24px 0 18px;
  background: #fff;
}

.envivo-layout {
  display: grid;
  grid-template-columns: 1fr 285px;
  gap: 28px;
  align-items: start;
}

.envivo-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.envivo-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.envivo-title i {
  color: var(--upt-red);
  font-size: 24px;
}

.envivo-title h2 {
  font-size: 22px;
  font-weight: 1000;
  margin: 0;
  text-transform: uppercase;
}

.envivo-title h2 span {
  color: var(--upt-red);
}

.envivo-search {
  position: relative;
  width: 220px;
}

.envivo-search i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #111;
  font-size: 13px;
}

.envivo-search input {
  width: 100%;
  height: 38px;
  border: 1px solid #cfcfcf;
  border-radius: 5px;
  padding: 0 12px 0 38px;
  font-size: 13px;
}

.envivo-filters {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.envivo-filter {
  min-width: 86px;
  height: 36px;
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
  cursor: pointer;
}

.envivo-filter.active,
.envivo-filter:hover {
  background: var(--upt-red);
  border-color: var(--upt-red);
  color: #fff;
}

.envivo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.envivo-card {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.envivo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

.envivo-thumb,
.envivo-featured-thumb {
  position: relative;
  overflow: hidden;
  background: #eee;
}

.envivo-thumb {
  height: 120px;
}

.envivo-featured-thumb {
  height: 112px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.envivo-thumb img,
.envivo-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.88);
}

.envivo-platform {
  position: absolute;
  left: 7px;
  top: 7px;
  color: #fff;
  height: 23px;
  padding: 0 7px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 1000;
}

.envivo-platform.facebook {
  background: #1877f2;
}

.envivo-platform.tiktok {
  background: #050505;
}

.envivo-platform.kick {
  background: #00c853;
}

.envivo-platform.youtube {
  background: #ff0000;
}

.envivo-live {
  position: absolute;
  right: 7px;
  top: 7px;
  height: 23px;
  background: var(--upt-red);
  color: #fff;
  padding: 0 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 1000;
  display: inline-flex;
  align-items: center;
}

.envivo-duration {
  position: absolute;
  right: 7px;
  bottom: 7px;
  background: rgba(0,0,0,.75);
  color: #fff;
  border-radius: 3px;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: 900;
}

.envivo-card-body {
  padding: 11px 10px;
}

.envivo-card-body h3 {
  min-height: 38px;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 1000;
  margin: 0 0 10px;
  color: #111;
}

.envivo-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  color: #555;
  font-size: 11px;
  flex-wrap: wrap;
}

.envivo-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.envivo-pagination {
  display: flex;
  gap: 7px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.envivo-pagination button {
  width: 31px;
  height: 31px;
  border-radius: 5px;
  border: 1px solid #ddd;
  color: #111;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.envivo-pagination button.active,
.envivo-pagination button:hover {
  background: var(--upt-red);
  border-color: var(--upt-red);
  color: #fff;
}

.envivo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.envivo-side-card {
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  background: #f8f8f8;
  padding: 14px;
  box-shadow: 0 3px 13px rgba(0,0,0,.10);
}

.envivo-side-card h3 {
  font-size: 14px;
  font-weight: 1000;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.envivo-categories {
  padding: 0;
  overflow: hidden;
}

.envivo-categories h3 {
  background: linear-gradient(135deg, #050505, #181818);
  color: #fff;
  padding: 13px 15px;
  margin: 0;
}

.envivo-categories ul {
  list-style: none;
  margin: 0;
  padding: 8px 12px 12px;
}

.envivo-categories li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  margin-bottom: 10px;
}

.envivo-categories li span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.envivo-categories li strong {
  background: #e9e9e9;
  padding: 3px 9px;
  border-radius: 4px;
}

.facebook-color { color: #1877f2; }
.tiktok-color { color: #050505; }
.kick-color { color: #00c853; }
.youtube-color { color: #ff0000; }

.envivo-featured h4 {
  font-size: 13px;
  font-weight: 1000;
  line-height: 1.25;
  margin: 0 0 8px;
}

.envivo-featured .btn-yellow {
  margin-top: 12px;
  text-transform: uppercase;
}

.envivo-help {
  text-align: center;
  background: #fff;
}

.envivo-help > div i {
  color: var(--upt-red);
  font-size: 34px;
  margin-bottom: 8px;
}

.envivo-help h3 {
  color: var(--upt-red);
  line-height: 1.15;
}

.envivo-help p {
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 12px;
}

.envivo-help a {
  display: block;
  border: 1px solid var(--upt-red);
  color: var(--upt-red);
  border-radius: 5px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.envivo-help a:hover {
  background: var(--upt-red);
  color: #fff;
}

.envivo-empty {
  text-align: center;
  padding: 35px 20px;
  border: 1px dashed #ddd;
  border-radius: 6px;
  background: #fafafa;
}

.envivo-empty i {
  color: var(--upt-red);
  font-size: 38px;
  margin-bottom: 10px;
}

.envivo-empty h3 {
  font-weight: 1000;
  margin: 0 0 6px;
}