/*
Theme Name: Hiperichinas Theme Celeste
Theme URI: https://netronica.net/
Author: OpenAI para José Estuardo
Author URI: https://netronica.net/
Description: Tema WordPress personalizado para Hiperichinas, estilo limpio blanco y azul celeste, con banner principal y menú administrable.
Version: 1.1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hiperichinas-theme
*/

:root {
  --bg: #f4fbff;
  --bg-2: #eaf7ff;
  --card: #ffffff;
  --card-2: #f7fcff;
  --text: #12324a;
  --muted: #5b7a91;
  --primary: #37bdf8;
  --primary-2: #7fdcff;
  --primary-dark: #149fdb;
  --white: #ffffff;
  --border: rgba(55, 189, 248, .20);
  --shadow: 0 12px 32px rgba(18, 50, 74, .10);
  --radius: 20px;
  --max: 1260px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(127,220,255,.45), transparent 28%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(100% - 24px, var(--max));
  margin-inline: auto;
}

.site-wrapper { min-height: 100vh; }

.top-logos {
  padding: 18px 0 8px;
}

.custom-logo-link {
  display: block;
}

.custom-logo {
  display: block;
}

.site-header-main {
  padding-bottom: 8px;
}

.logo-center-top {
  display: block;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--card);
}

.logo-center-top img,
.logo-center-top .custom-logo {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.bottom-card {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bottom-card__item {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: var(--shadow);
}

.bottom-card__item > img,
.bottom-card__item .mini-sponsor img {
  max-height: 95px;
  width: auto;
  border-radius: 14px;
  background: #fff;
}

.mini-sponsor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bottom-card__links {
  width: min(100% - 24px, var(--max));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,.60);
  border: 1px dashed rgba(55,189,248,.22);
  border-radius: 24px;
  box-shadow: 0 8px 22px rgba(18, 50, 74, .05);
}

.quick-links-menu,
.quick-links-menu ul,
.quick-links-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-links-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.quick-links-menu > li,
.quick-links-menu .menu-item {
  display: inline-flex;
}

.quick-links-menu a,
.quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(20,159,219,.24);
  border: 1px solid rgba(255,255,255,.75);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.quick-links-menu a:hover,
.quick-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 24px rgba(20,159,219,.30);
}

.content {
  padding: 22px 0 34px;
}

.search {
  padding: 12px 0 6px;
}

.search__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.search__input {
  width: 100%;
  border: 1px solid rgba(55,189,248,.16);
  outline: none;
  background: #ffffff;
  color: var(--text);
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 1rem;
}

.search__input::placeholder {
  color: #7c98ab;
}

.search__btn {
  border: none;
  cursor: pointer;
  padding: 0 22px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(20,159,219,.22);
}


.category-links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.category-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #eaf9ff);
  color: #138dc1;
  font-weight: 700;
  border: 1px solid rgba(55,189,248,.35);
  box-shadow: 0 8px 18px rgba(20,159,219,.12);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.category-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(20,159,219,.18);
  filter: brightness(1.01);
}

.hero-panel {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(127,220,255,.35), rgba(255,255,255,.92));
  box-shadow: var(--shadow);
}

.hero-panel__inner {
  padding: 34px 24px;
  text-align: center;
}

.hero-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  color: #0f6c93;
}

.hero-panel p {
  margin: 0 auto;
  max-width: 820px;
  color: var(--muted);
  font-size: 1.05rem;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  margin-top: 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 34px 0;
}

.footer-block {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.footer-title {
  margin: 0 0 16px;
  font-size: 1.15rem;
  color: #0f6c93;
}

.social-icons,
.pay-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-btn,
.pay-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eefaff;
  border: 1px solid var(--border);
  font-size: 1.2rem;
  color: var(--primary-dark);
  transition: transform .2s ease, background .2s ease;
}

.social-btn:hover,
.pay-badge:hover {
  transform: translateY(-2px);
  background: #dff5ff;
}

.footer-note,
.footer-mini {
  color: var(--muted);
}

.counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.counter-number {
  letter-spacing: 1px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-bottom-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.placeholder-note {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,.65);
  border: 1px dashed var(--border);
  border-radius: 16px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .bottom-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .search__form {
    grid-template-columns: 1fr;
  }

  .search__btn {
    min-height: 50px;
  }

  .hero-panel__inner {
    padding: 28px 18px;
  }

  .bottom-card__item > img,
  .bottom-card__item .mini-sponsor img {
    max-height: 76px;
  }
}


.content-page {
  padding: 28px 0 40px;
}

.content-card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.entry-header {
  margin-bottom: 18px;
}

.entry-title {
  margin: 0 0 10px;
  color: #0f6c93;
  line-height: 1.15;
}

.entry-title a {
  color: inherit;
}

.entry-meta {
  color: var(--muted);
  margin-bottom: 18px;
}

.page-content,
.page-content p,
.page-content li,
.page-content span,
.page-content div {
  color: var(--text);
}

.page-content img {
  height: auto;
  border-radius: 16px;
}

.page-content a {
  color: var(--primary-dark);
}

.loop-item + .loop-item {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}



.video-section {
  margin-top: 25px;
}

.video-card {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  border: 2px solid #7dd3fc;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.10);
}

.promo-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}