

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --coral:       #C8321B;
      --coral-dark:  #9C2412;
      --dark:        #1C1C1E;
      --footer-bg:   #DB812D;
      --gray:        #6B7280;
      --gray-light:  #FFFFFF;
      --gray-border: #DCDAD3;
      --white:       #FFFFFF;
      --gold:        #F59E0B;
      --r:           12px;
      --r-sm:        8px;
      --r-pill:      100px;
    }

    html { font-family: 'Satoshi', ui-sans-serif, system-ui, sans-serif; }
    body { background: #FFFFFF; color: var(--dark); max-width: 430px; margin: 0 auto; overflow-x: hidden; }

    /* ═══ HEADER ═══ */
    .header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 60px; background: #FFFFFF; border-bottom: 1px solid var(--gray-border); }
    .header-logo { display: flex; align-items: center; text-decoration: none; }
    .header-logo img { height: 51px; width: auto; background: transparent; }
    .hamburger-btn { background: none; border: none; cursor: pointer; padding: 8px; font-size: 27px; color: var(--dark); line-height: 1; }

    /* ═══ NAV ═══ */
    .nav-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
    .nav-overlay.open { opacity: 1; pointer-events: all; }
    .nav-drawer { position: absolute; top: 0; right: 0; width: 280px; height: 100%; background: var(--white); padding: 20px; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; }
    .nav-overlay.open .nav-drawer { transform: translateX(0); }
    .nav-close { align-self: flex-end; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--dark); padding: 6px; margin-bottom: 12px; }
    .nav-link { display: block; padding: 14px 0; font-size: 16px; font-weight: 500; color: var(--dark); text-decoration: none; border-bottom: 1px solid var(--gray-border); }
    .nav-link:last-child { border-bottom: none; }

    /* ═══ PAGE HEADER ═══ */
    .page-header { display: flex; align-items: center; padding: 0 20px; height: 52px; background: #FFFFFF; border-bottom: 2px solid #C8321B; }
    .page-header-back { width: 36px; background: none; border: none; font-size: 18px; color: #C8321B; cursor: pointer; display: flex; align-items: center; flex-shrink: 0; }
    .page-header-title { flex: 1; text-align: center; font-size: 16px; font-weight: 700; color: var(--dark); }
    .page-header-spacer { width: 36px; flex-shrink: 0; }

    /* ═══ BANNER NOTICIAS ═══ */
    .news-banner {
      width: 100%; height: 340px;
      overflow: hidden; position: relative;
    }
    .news-banner img {
      position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
    }
    .news-banner-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.08) 50%, transparent 100%);
    }
    .news-banner-body {
      position: absolute; bottom: 0; left: 0; right: 0;
      padding: 24px 20px; color: var(--white);
    }
    .news-banner-headline {
      font-size: 24px; font-weight: 900; line-height: 1.2;
      letter-spacing: -.4px; margin-bottom: 8px;
    }
    .news-banner-subtext {
      font-size: 13px; color: rgba(255,255,255,.82);
      line-height: 1.55; margin-top: 6px; margin-bottom: 0;
    }

    /* ═══ BUSCADOR ═══ */
    .search-wrap { padding: 16px 20px; background: #FFFFFF; border-bottom: 1px solid #C8321B; }
    .search-field {
      display: flex; align-items: center; gap: 10px;
      background: #FFFFFF; border-radius: var(--r-sm);
      border: 1.5px solid #C8321B;
      padding: 0 16px; height: 44px;
    }
    .search-field i { color: var(--gray); font-size: 15px; flex-shrink: 0; }
    .search-field input {
      flex: 1; background: none; border: none; outline: none;
      font-size: 14px; color: var(--dark);
    }
    .search-field input::placeholder { color: var(--gray); }

    /* ═══ SECCIONES ═══ */
    .section-block { padding: 0 0 0; }
    .section-block + .section-block { margin-top: 28px; }
    .section-block:last-of-type { padding-bottom: 40px; }
    #secNoticias { margin-top: 28px; }
    .section-cards { padding: 0 20px; }

    .section-head {
      background: #FFFFFF;
      padding: 12px 20px 10px;
      margin-bottom: 20px;
      border-bottom: 2px solid #C8321B;
      position: relative;
    }
    .section-head::after {
      content: '';
      position: absolute;
      bottom: -10px; left: 20px;
      width: 0; height: 0;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-top: 10px solid #C8321B;
    }
    .section-eyebrow {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 13px; font-weight: 800; letter-spacing: 2px;
      text-transform: uppercase; color: var(--coral);
      margin-bottom: 6px;
    }
    .section-eyebrow::before { display: none; }
    .section-eyebrow i { display: none; }
    .section-title { font-size: 22px; font-weight: 900; color: var(--dark); line-height: 1.2; letter-spacing: -.4px; }
    .section-sub { font-size: 13px; color: #6B7280; margin-top: 4px; line-height: 1.5; }

    /* ═══ FILTROS PILLS ═══ */
    .filter-row {
      display: flex; gap: 8px;
      overflow-x: auto; scrollbar-width: none;
      padding: 0 20px 4px; margin-bottom: 20px;
      -webkit-overflow-scrolling: touch;
    }
    .filter-row::-webkit-scrollbar { display: none; }
    .filter-pill {
      flex-shrink: 0;
      padding: 7px 16px;
      border-radius: 0;
      border: 1.5px solid var(--gray-border);
      background: var(--white);
      color: var(--dark);
      font-size: 13px; font-weight: 600;
      cursor: pointer; transition: border-color .2s, background .2s, color .2s;
      white-space: nowrap;
    }
    .filter-pill.active {
      background: var(--coral); border-color: var(--coral);
      color: var(--white);
    }
    .filter-pill:not(.active):hover { border-color: var(--coral-dark); color: var(--coral-dark); }

    /* ═══ CARRUSEL HORIZONTAL DE CARDS ═══ */
    /* Carousel wrapper: padding leaves room for card alignment */
    .art-scroll-wrap { position: relative; display: block; padding: 0 20px; }
    .art-scroll {
      display: flex; gap: 12px;
      overflow-x: auto; scrollbar-width: none;
      padding: 4px 0 12px;
      scroll-behavior: smooth;
    }
    .art-scroll::-webkit-scrollbar { display: none; }
    /* Arrows positioned absolutely in the padding zone (outside cards) */
    .art-btn {
      display: flex; align-items: center; justify-content: center;
      position: absolute; z-index: 10;
      top: 50%; transform: translateY(-50%);
      width: 28px; height: 28px;
      border-radius: 50%;
      background: rgba(255,255,255,.95); border: 1.5px solid var(--gray-border);
      box-shadow: 0 2px 8px rgba(0,0,0,.14);
      font-size: 11px; color: var(--dark);
      cursor: pointer; transition: background .2s, color .2s, opacity .2s;
    }
    .art-btn:first-child { left: 0; }
    .art-btn:last-child  { right: 0; }
    .art-btn:hover { background: var(--coral); color: #fff; border-color: var(--coral); }
    .art-btn:disabled { opacity: .3; pointer-events: none; }

    /* ═══ ARTICLE CARD (horizontal carousel) ═══ */
    .article-card {
      flex: 0 0 175px;
      background: #FFFFFF;
      border: 1px solid #C8321B;
      border-radius: 0;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,.04);
      transition: box-shadow .2s;
    }
    .article-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09); }

    .article-img {
      width: 100%; aspect-ratio: 16/9;
      display: flex; align-items: center; justify-content: center;
      font-size: 44px; color: rgba(255,255,255,.35);
      position: relative; overflow: hidden; cursor: pointer;
    }
    .article-cat-badge {
      position: absolute; top: 12px; left: 12px;
      padding: 4px 10px; border-radius: 0;
      font-size: 10px; font-weight: 800; letter-spacing: 1px;
      text-transform: uppercase; color: var(--white);
      background: rgba(200,50,27,.85);
      backdrop-filter: blur(6px);
    }
    .badge-local          { background: rgba(255,90,69,.85); }
    .badge-internacional  { background: rgba(99,102,241,.85); }
    .badge-lugares        { background: rgba(14,165,233,.85); }
    .badge-lifestyle      { background: rgba(168,85,247,.85); }
    .badge-grooming       { background: rgba(249,115,22,.85); }
    .article-ad-badge { background: #F5A623; }
    .article-card-ad { display: block; text-decoration: none; color: inherit; }
    .ad-card-distinct {
      background: linear-gradient(160deg, #eef6ff 0%, #dbeafe 100%);
      border: 1.5px dashed #93c5fd !important;
      display: flex; flex-direction: column; align-items: center;
      padding: 16px 14px; box-sizing: border-box; text-align: center;
    }
    .ad-distinct-tag {
      align-self: flex-start;
      background: #F5A623; color: #fff; font-size: 10px; font-weight: 800;
      letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; margin-bottom: 14px;
    }
    .ad-distinct-logo { width: 100%; height: 96px; object-fit: contain; margin-bottom: 12px; }
    .ad-distinct-title { font-size: 13px; font-weight: 800; color: var(--dark); line-height: 1.35; margin-bottom: 14px; }
    .ad-distinct-cta {
      margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
      font-size: 12px; font-weight: 700; color: #1D4ED8;
    }

    .article-body { padding: 14px 16px 16px; }
    .article-meta {
      display: flex; align-items: center; gap: 8px;
      font-size: 12px; color: var(--gray);
      margin-bottom: 7px; flex-wrap: wrap;
    }
    /* Ocultar autor: ícono, nombre y separador; mostrar sólo la fecha */
    .article-meta > i,
    .article-meta > span:first-of-type,
    .article-meta > .article-meta-dot { display: none; }
    .article-meta-dot { width: 3px; height: 3px; background: var(--gray-border); border-radius: 50%; flex-shrink: 0; }
    .article-title { font-size: 14px; font-weight: 800; color: var(--dark); line-height: 1.35; margin-bottom: 6px; }
    .article-excerpt { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 12px; }
    .article-footer {
      display: flex; align-items: center; justify-content: flex-end;
      border-top: 1px solid var(--gray-border); padding-top: 11px;
    }
    .article-views { display: none; }
    .btn-read-more {
      display: flex; align-items: center; gap: 5px;
      font-size: 12px; font-weight: 700; color: var(--coral);
      background: none; border: none; cursor: pointer;
      text-decoration: none; transition: gap .2s;
    }
    .btn-read-more:hover { gap: 8px; }

    /* ═══ GUIDE CARD (destacada) ═══ */
    .guide-card {
      flex: 0 0 175px;
      background: #FFFFFF;
      border: 1px solid #C8321B;
      border-radius: 0;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,.04);
      transition: box-shadow .2s;
    }
    .guide-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09); }

    /* Card destacada para guías (featured) — se debe notar que tiene prioridad */
    .guide-card.featured,
    .article-card.featured {
      border: 3px solid #F59E0B;
      box-shadow: 0 6px 24px rgba(245,158,11,.3);
    }
    .guide-card.featured .guide-body,
    .article-card.featured .article-body {
      background: #fffbeb;
    }
    .guide-img {
      width: 100%; aspect-ratio: 16/9;
      display: flex; align-items: center; justify-content: center;
      font-size: 44px; color: rgba(255,255,255,.35);
      position: relative; overflow: hidden;
    }
    .guide-featured-badge {
      position: absolute; top: 12px; left: 12px;
      display: flex; align-items: center; gap: 7px;
      background: #F59E0B; color: #fff;
      font-size: 13px; font-weight: 900; letter-spacing: 2px;
      padding: 8px 18px; border-radius: 0;
      text-transform: uppercase;
      box-shadow: 0 4px 20px rgba(245,158,11,.6);
      animation: badge-pulse 2.5s ease-in-out infinite;
    }
    @keyframes badge-pulse {
      0%, 100% { box-shadow: 0 4px 20px rgba(245,158,11,.6); transform: scale(1); }
      50%       { box-shadow: 0 6px 28px rgba(245,158,11,.9); transform: scale(1.06); }
    }
    .guide-num-list {
      position: absolute; bottom: 0; right: 0;
      background: rgba(0,0,0,.6); backdrop-filter: blur(6px);
      padding: 8px 14px;
      display: flex; align-items: center; gap: 6px;
      color: var(--white); font-size: 13px; font-weight: 700;
    }
    .guide-body { padding: 14px 16px 16px; }
    .guide-list-items {
      display: flex; flex-direction: column; gap: 6px;
      margin-bottom: 14px;
    }
    .guide-list-item {
      display: flex; align-items: center; gap: 10px;
      font-size: 13px; color: var(--dark);
    }
    .guide-list-num {
      flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
      background: var(--coral); color: var(--white);
      font-size: 11px; font-weight: 800;
      display: flex; align-items: center; justify-content: center;
    }

    /* ═══ TENDENCIA CARD (grid editorial) ═══ */
    .trend-grid {
      display: grid; grid-template-columns: 1fr;
      gap: 16px; padding: 0 20px;
    }
    .trend-card {
      display: flex; flex-direction: column;
      background: var(--white); border: 1px solid var(--gray-border);
      border-radius: 0; overflow: hidden;
      text-decoration: none; color: inherit;
      transition: box-shadow .2s, transform .2s;
    }
    .trend-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
    .trend-img {
      width: 100%; aspect-ratio: 16/10;
      display: flex; align-items: center; justify-content: center;
      font-size: 28px; color: rgba(255,255,255,.35);
      overflow: hidden; position: relative;
    }
    .trend-body { flex: 1; min-width: 0; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
    .trend-meta { font-size: 12px; color: var(--gray); }
    .trend-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
    .trend-title { font-size: 15px; font-weight: 800; color: var(--dark); line-height: 1.35; }
    .trend-title-row i { color: var(--coral); font-size: 13px; flex-shrink: 0; margin-top: 4px; }
    .trend-excerpt {
      font-size: 13px; color: var(--gray); line-height: 1.5;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .trend-cat {
      align-self: flex-start; margin-top: 4px;
      padding: 4px 12px; border-radius: 0;
      background: #fdeee6; color: var(--coral);
      font-size: 11px; font-weight: 800;
    }
    .trend-cat-productos    { background: #E0F2FE; color: #0369A1; }
    .trend-cat-servicios    { background: #EDE9FE; color: #6D28D9; }
    .trend-cat-legislacion  { background: #FEE2E2; color: #B91C1C; }
    @media (min-width: 640px) {
      .trend-grid { grid-template-columns: repeat(2, 1fr); }
    }

    /* ═══ FILTER 2-ROW GRID (tendencias) ═══ */
    .filter-2row {
      display: flex; flex-wrap: wrap; gap: 8px;
      padding: 0 20px; margin-bottom: 20px;
    }
    .filter-2row .filter-pill {
      flex: 0 0 calc(50% - 4px);
      text-align: center;
    }

    /* ═══ VER TODAS ═══ */
    .section-ver-mas {
      padding: 20px 20px 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .btn-ver-todas {
      display: inline-flex; align-items: center;
      padding: 10px 32px;
      background: none;
      border: 2px solid var(--coral);
      color: var(--coral);
      font-size: 14px; font-weight: 700;
      cursor: pointer; text-decoration: none;
      transition: background .2s, color .2s;
    }
    .btn-ver-todas:hover { background: var(--coral); color: #fff; }

    /* ═══ GUÍAS FEATURED ROW (mobile: columna) ═══ */
    .guias-featured-row {
      display: flex; flex-direction: column; gap: 16px;
      padding: 0 20px;
      margin-bottom: 20px;
    }
    .guias-featured-row .guide-card,
    .guias-featured-row .article-card { flex: none; width: 100%; }

    /* ═══ BOTTOM NAV ═══ */
    .bottom-nav { display: flex; border-top: 1px solid var(--gray-border); background: var(--white); }
    .bottom-nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 12px 4px; text-decoration: none; color: var(--gray); font-size: 10px; font-weight: 500; transition: color .2s; }
    .bottom-nav-item i { font-size: 20px; }
    .bottom-nav-item:hover, .bottom-nav-item.active { color: var(--coral); }
    .bottom-nav-item.active { font-weight: 700; }

    /* ═══ FOOTER ═══ */
    footer { background: var(--footer-bg); color: rgba(255,255,255,.65); padding: 40px 20px 28px; }
    .footer-logo-block { margin-bottom: 32px; }
    .footer-logo { font-size: 20px; font-weight: 900; letter-spacing: 3px; color: var(--white); margin-bottom: 6px; }
    .footer-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 6px; display: block; }
    .footer-tagline { font-size: 15px; color: rgba(255,255,255,.45); line-height: 1.5; }
    .footer-links-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px 10px; margin-bottom: 32px; }
    .footer-col-title { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
    .footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.45); text-decoration: none; padding: 3px 0; line-height: 1.6; transition: color .2s; }
    .footer-col a:hover { color: var(--white); }
    .footer-social-label { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
    .footer-social-icons { display: flex; gap: 12px; margin-bottom: 28px; }
    .footer-social-icons a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: 16px; text-decoration: none; transition: border-color .2s, color .2s; }
    .footer-social-icons a:hover { border-color: var(--coral); color: var(--coral); }
    .footer-divider { height: 1px; background: rgba(255,255,255,.1); margin-bottom: 20px; }
    .footer-legal { display: flex; gap: 16px; margin-bottom: 10px; }
    .footer-legal a { font-size: 13px; color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
    .footer-legal a:hover { color: var(--white); }
    .footer-copyright { font-size: 13px; color: rgba(255,255,255,.28); }
  
  