.pg-search-form {
  width: 100%;
}

.pg-search-box {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: #fff;
  border: 1px solid #cc0000;
  border-radius: 13px;
  padding: 10px 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.pg-search-box:hover,
.pg-search-box:focus-within {
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}

.pg-search-input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 17px;
  color: #000;
  min-width: 0;
}

.pg-search-input::placeholder {
  color: #000;
}

.pg-search-btn {
  border: 0;
  background: #0d6efd;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 13px;
  padding: 8px 18px;
  cursor: pointer;
  white-space: nowrap;
}

.gsc-control-cse, 
.gsc-control-cse * {
  box-sizing: border-box !important;
}

.gsc-control-cse {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

.gsc-results-wrapper-visible, 
.gsc-results-wrapper-noresults {
  width: 100% !important;
  max-width: 100% !important;
}

.gsc-webResult, 
.gsc-result {
  width: 1280px !important;
  max-width: 1280px !important;
}

.gsc-imageResult img,
.gsc-webResult img.gsc-thumbnail {
  border: 1px solid #ccc !important; 
  border-radius: 10px !important;   
  padding: 2px !important;
}

.gsc-webResult img.gsc-thumbnail {
  width: 100px !important;  
  height: auto !important;
}

.gsc-results .gsc-imageResult {
  width: 20% !important; 
  float: left !important;
  margin-bottom: 20px !important;
}

.gsc-imageResult-column, 
.gsc-imageResult-classic,
.gsc-resultsbox-visible {
  display: block !important;
  width: 1280px !important;
}

.gsc-resultsbox-visible:after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 992px) {
  .gsc-results .gsc-imageResult {
    width: 33.33% !important;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .busqueda-wrapper,
  .busqueda-resultados,
  .gsc-control-cse,
  .gsc-results-wrapper-visible,
  .gsc-results-wrapper-noresults,
  .gsc-resultsbox-visible,
  .gsc-imageResult-column,
  .gsc-imageResult-classic {
    width: 100% !important;
    max-width: 100% !important;
  }

  .gsc-webResult,
  .gsc-result {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-bottom: 15px !important;
  }

  .gsc-table-result {
    display: block !important;
    width: 100% !important;
  }

  .gsc-table-cell-thumbnail {
    display: block !important;
    float: left !important;
    width: 100px !important; 
    padding-right: 10px !important;
    padding-bottom: 5px !important;
    margin-top: 5px !important;
    margin-left: 15px !important;
  }

  .gsc-table-cell-thumbnail a.gs-title {
    display: none !important;
  }

  .gsc-table-cell-snippet-close {
    display: block !important;
    width: auto !important;
  }

  .gs-title {
    display: block !important;
    margin-bottom: 4px !important;
  }

  .gs-snippet {
    display: block !important;
    line-height: 1.4 !important;
    font-size: 14px !important;
    text-indent: -115px !important;
    padding-left: 0 !important;
  }

  .gsc-results .gsc-imageResult {
    width: 50% !important;
    margin-bottom: 12px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .gsc-imageResult img {
    width: 100% !important;
    height: auto !important;
  }
}

.gsc-results .gcsc-find-more-on-google,
.gsc-results .gcsc-branding {
  display: none !important;
}

.gsc-cursor-box {
  text-align: center !important;
  margin: 32px auto 24px !important;
  padding: 12px 14px !important;
  background: #eaf3ff !important;
  border: 1px solid #b9d4ff !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(13,110,253,.14) !important;
  display: table !important;
}

.gsc-cursor-page {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 34px !important;
  height: 34px !important;
  margin: 0 2px !important;
  border: 1px solid #cc0000 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #5b5858 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all .2s ease !important;
}

.gsc-cursor-page:hover,
.gsc-cursor-current-page {
  background: #e67e7e !important;
  color: #fff !important;
  border-color: #cc0000 !important;
}