:root {
  --bg: #071525;
  --bg2: #0a1e35;
  --bg3: #0d2540;
  --cyan: #00e5ff;
  --cyan2: #00b8cc;
  --cyan-dim: rgba(0,229,255,0.12);
  --cyan-glow: rgba(0,229,255,0.25);
  --white: #ffffff;
  --text: #c8e6f0;
  --dim: #5a8fa8;
  --green: #83b93a;
}

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

/* ── HERO ── */

.eb-hero {
  position: relative;
  width: 100%;
  background: url('assets/img/ebsco.jpg') center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.eb-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7,21,37,.2) 0%, rgba(7,21,37,.85) 100%);
}

.eb-hero-txt {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1rem 4rem;
}

.eb-hero-txt h1 {
  font-size: clamp(28px,5vw,52px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}

.eb-hero-txt h1 span {
  color: var(--cyan);
}

.eb-hero-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  margin: 1rem auto 0;
}

/* ── SEARCH SECTION ── */

.eb-search-section {
  background: var(--bg2);
  padding: 4rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,229,255,0.1);
}

.eb-logo-wrap {
  margin-bottom: 2rem;
}

.eb-logo-wrap img {
  max-width: 200px;
  filter: brightness(0) invert(1);
  opacity: .85;
}

/* EBSCO Search form — keep functional, restyle */

.ebsco-single-search * {
  box-sizing: border-box;
  font: inherit;
  margin: 0;
}

.ebsco-single-search input, .ebsco-single-search button, .ebsco-single-search select {
  margin: 0;
}

.eb-search-container {
  display: flex;
  flex-flow: row wrap;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}

.eb-search-container > * {
  flex: 1 100%;
  padding: 8px;
}

.eb-search__box {
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  font-size: 1em;
  background: var(--bg3);
  border: 1.5px solid var(--cyan2);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,229,255,0.1);
}

.eb-search__box > * {
  flex: 1 100%;
}

.eb-search__search-prefix {
  position: relative;
  background: rgba(0,229,255,0.06);
  border-right: 1px solid rgba(0,229,255,0.2);
  flex: 0 0 auto;
}

.eb-search__select {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  color: var(--text);
  padding: .65em 2em .65em .85em;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  outline: none;
  width: 100%;
}

.eb-search__select option {
  background: var(--bg2);
  color: var(--text);
}

.eb-search__input-bquery {
  background: transparent;
  border: none;
  color: var(--white);
  padding: .65em .85em;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  flex: 1;
  min-width: 0;
}

.eb-search__input-bquery::placeholder {
  color: var(--dim);
}

.eb-search__submit-button {
  background: var(--cyan);
  border: none;
  color: #071525;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .65em 1.4em;
  transition: background .2s;
  flex: 0 0 auto;
}

.eb-search__submit-button:hover {
  background: var(--cyan2);
}

.eb-filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
}

.eb-search__label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.eb-search__hidden_input {
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

.eb-search__boxed_label {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(0,229,255,0.25);
  color: var(--dim);
  background: transparent;
  cursor: pointer;
  transition: all .2s;
}

.eb-search__hidden_input:checked + .eb-search__boxed_label {
  background: rgba(0,229,255,0.12);
  border-color: var(--cyan);
  color: var(--cyan);
}

.eb-adv-search {
  text-align: right;
  padding: 4px 8px;
}

.eb-adv-search a {
  color: var(--cyan);
  font-size: 12px;
  text-decoration: none;
  opacity: .75;
}

.eb-adv-search a:hover {
  opacity: 1;
}

.eb-sr-only {
  position: absolute!important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
}

@media (min-width: 768px) {
  .eb-search__box {
    flex-wrap: nowrap;
    height: 3em;
    border-radius: 100px;
  }
}

@media (min-width: 768px) {
  .eb-search__submit-button {
    border-radius: 0 100px 100px 0;
  }
}

@media (min-width: 768px) {
  .eb-search__search-prefix {
    border-radius: 100px 0 0 100px;
  }
}

@media (min-width: 768px) {
  .eb-filter-container {
    padding-bottom: 0;
  }
}

/* ── RECURSOS ── */

.eb-recursos-section {
  background: var(--bg);
  padding: 4rem 1.5rem 5rem;
}

.eb-recursos-header {
  text-align: center;
  margin-bottom: 3rem;
}

.eb-recursos-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: .65;
  margin-bottom: .5rem;
}

.eb-recursos-title {
  font-size: clamp(22px,3.5vw,36px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.eb-recursos-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  margin: 1rem auto 0;
}

.eb-recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.eb-card {
  background: var(--bg2);
  border: 1px solid rgba(0,229,255,0.1);
  border-radius: 14px;
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.eb-card:hover {
  border-color: rgba(0,229,255,0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,229,255,0.08);
}

.eb-card-logo {
  height: 60px;
  display: flex;
  align-items: center;
}

.eb-card-logo img {
  max-height: 55px;
  max-width: 200px;
  object-fit: contain;
  opacity: .85;
}

.eb-card-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--dim);
  flex: 1;
}

.eb-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: .5rem;
  border-top: 1px solid rgba(0,229,255,0.08);
}

.eb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 100px;
  transition: all .2s;
  cursor: pointer;
  border: none;
}

.eb-btn-primary {
  background: var(--cyan);
  color: #071525;
}

.eb-btn-primary:hover {
  background: var(--cyan2);
  color: #071525;
}

.eb-btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.35);
}

.eb-btn-outline:hover {
  background: rgba(0,229,255,0.1);
  border-color: var(--cyan);
}

.eb-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── CONNECT BANNER ── */

.eb-connect-section {
  background: var(--bg2);
  border-top: 1px solid rgba(0,229,255,0.1);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.eb-connect-section img {
  max-width: 220px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.eb-connect-section p {
  font-size: 14px;
  color: var(--dim);
  max-width: 440px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

/* ── RESPONSIVE ── */

@media (max-width: 600px) {
  .eb-recursos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .eb-search-section {
    padding: 2.5rem 1rem;
  }
}

