
    .gsc-mapa-convocatorias {
      width: 100%;
      overflow: hidden;
    }

    #mth-container {
      position: relative;
      padding: 5px;
      margin: 0 auto;
      width: 100%;
      overflow: visible;
    }

    /* ── Portada / overlay de imagen ── */
    .mth-cover-overlay {
      position: relative;
      width: 100%;
      cursor: pointer;
      border-radius: 8px;
      overflow: hidden;
      display: block;
      outline: none;
    }

    .mth-cover-overlay:focus-visible {
      box-shadow: 0 0 0 3px #A7B805;
    }

    .mth-cover-img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 8px;
      transition: transform 0.3s ease, filter 0.3s ease;
    }

    .mth-cover-overlay:hover .mth-cover-img {
      transform: scale(1.01);
      filter: brightness(0.88);
    }

    /* ── Spinner de carga ── */
    .mth-loading-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.7);
      border-radius: 8px;
      z-index: 10;
    }

    .mth-spinner {
      width: 48px;
      height: 48px;
      border: 5px solid #E8F5E9;
      border-top-color: #A7B805;
      border-radius: 50%;
      animation: mth-spin 0.8s linear infinite;
    }

    @keyframes mth-spin {
      to { transform: rotate(360deg); }
    }

    /* ── SVG del mapa ── */
    #mth-map {
      width: 100%;
      height: auto;
      display: block;
    }

    .mth-departamento {
      stroke: white;
      stroke-width: 1.5;
      transition: all 0.3s ease;
      cursor: pointer;
      user-select: none;
      -webkit-user-select: none;
    }

    .mth-departamento:hover {
      fill: #8B4789 !important;
      stroke-width: 2.5;
    }

    /* ── Tooltip desktop (position: fixed, flota sobre el mapa) ── */
    #mth-tooltip {
      position: fixed;
      background: rgb(255 255 255 / 40%) !important;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      padding: 15px 20px;
      border-radius: 0px 8px 8px 0px;
      border-left: 4px solid #8B4789;
      pointer-events: auto;
      opacity: 0;
      transition: opacity 0.3s;
      min-width: 300px;
      z-index: 1000;
    }

    /* ── Botón cerrar X ── */
    #mth-close-btn {
      position: absolute;
      top: 8px;
      right: 10px;
      background: none;
      border: none;
      cursor: pointer;
      font-size: 16px;
      color: #999;
      line-height: 1;
      padding: 2px 5px;
      border-radius: 4px;
      transition: color 0.2s, background 0.2s;
      user-select: none;
      -webkit-user-select: none;
    }

    #mth-close-btn:hover {
      color: #8B4789;
      background: rgba(139, 71, 137, 0.1);
    }

    #mth-tooltip h3 {
      margin: 0 0 0px 0;
      color: #212626 !important;
      font-size: 24px;
      word-wrap: break-word;
      padding-right: 24px;
    }

    #mth-tooltip .stat,
    #mth-tooltip .mth-stat {
      font-weight: 600;
      color: #743B98;
      font-size: 18px;
      margin: 0px 0;
    }

    #mth-participantes{
    	font-size:32px !important;
    	font-weight: 600 !important;
    	
    }

    #mth-tooltip p {
      margin: 5px 0;
      color: #50595A;
      font-size: 16px;
      word-wrap: break-word;
    }

    /* ── Panel mobile (debajo del mapa) ── */
    #mth-mobile-panel {
      display: none;
      width: 100%;
      margin-top: 12px;
    }

    .mth-mobile-panel-inner {
      background: rgba(255, 255, 255, 0.95);
      border-left: 4px solid #8B4789;
      border-radius: 0px 8px 8px 0px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
      padding: 16px 18px;
    }

    .mth-mobile-panel-inner h3 {
      margin: 0 0 10px 0;
      color: #6B8E23;
      font-size: 18px;
      word-wrap: break-word;
    }

    .mth-mobile-panel-inner .mth-stat {
      font-weight: bold;
      color: #8B4789;
      font-size: 18px;
      margin: 6px 0;
    }

    .mth-mobile-panel-inner p {
      margin: 5px 0;
      color: #666;
      font-size: 13px;
    }

    /* ── Botón convocatorias ── */
    .mth-btn-convocatorias {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #056B83;
      color: #fff;
      padding: 10px 16px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      font-size: 13px;
      margin-top: 12px;
      transition: all 0.3s ease;
      cursor: pointer;
      width: 100%;
      justify-content: center;
    }

    .mth-btn-convocatorias:hover {
      background: #743B98;
      color:#fff;
      
    }

    .mth-btn-convocatorias svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }

    #mth-btn-ver-convocatorias {
      display: none;
    }

    /* ── RESPONSIVE - TABLETS ── */
    @media (max-width: 768px) {
      #mth-container {
        padding: 5px;
        border-radius: 8px;
        overflow: hidden;
      }

      /* En tablet/mobile el tooltip desktop se oculta */
      #mth-tooltip {
        display: none !important;
      }

      /* El panel mobile se muestra */
      #mth-mobile-panel {
        display: block;
      }

      .mth-departamento {
        stroke-width: 1;
      }

      .mth-departamento:hover {
        stroke-width: 2;
      }
    }

    /* ── RESPONSIVE - MÓVILES ── */
    @media (max-width: 480px) {
      #mth-container {
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        overflow: hidden;
      }

      .mth-mobile-panel-inner h3 {
        font-size: 16px;
      }

      .mth-mobile-panel-inner .mth-stat {
        font-size: 16px;
      }

      .mth-mobile-panel-inner p {
        font-size: 12px;
      }

      .mth-btn-convocatorias {
        padding: 10px 12px;
        font-size: 12px;
        gap: 6px;
      }

      .mth-btn-convocatorias svg {
        width: 14px;
        height: 14px;
      }
    }
