/* Buscamas Ad Network — portada moderna בלבד */
:root {
  --buscamas-blue: #1a73e8;
  --buscamas-blue-dark: #1558b0;
  --ink: #202124;
  --muted: #5f6368;
  --surface: #ffffff;
  --soft: #f8fafd;
  --line: #e3e8ef;
  --radius: 18px;
}

html, body { min-height: 100%; }
body.index {
  margin: 0;
  background: #fff !important;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
body.index .mainwraper {
  width: min(1160px, calc(100% - 40px)) !important;
  margin: 0 auto;
}
body.index .header1 {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 10px;
  background: #fff;
}
body.index .logoDiv img {
  max-width: 250px;
  max-height: 78px;
  height: auto;
  width: auto;
}
body.index .logoDiv a { color: var(--ink); text-decoration: none; }
body.index .languages select {
  min-width: 120px;
  border: 1px solid #dadce0;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  padding: 9px 14px;
  font-size: 14px;
}
body.index .header2 {
  width: 100% !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
body.index .headbar { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
body.index .menu {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 58px;
  margin: 0;
  padding: 0;
  background: #fff !important;
  list-style: none;
}
body.index .menu > li { float: none; margin: 0; padding: 0; }
body.index .menu .menulinks { margin: 0; }
body.index .menu dt { margin: 0; }
body.index .menu a,
body.index .menu dt a,
body.index .menu li:hover a {
  display: block;
  color: #202124 !important;
  background: transparent !important;
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
body.index .menu li:hover > dl > dt > a,
body.index .menu li:hover > a { background: #eef3fb !important; color: #1558b0 !important; }
body.index .menu dd {
  min-width: 170px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(32,33,36,.14);
}
body.index .menu dd a { color: var(--ink) !important; padding: 8px 10px; }
body.index .mainContentDiv { background: #fff !important; }
body.index .slider {
  width: 100%;
  margin: 28px 0 26px;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f1f5fb;
  box-shadow: 0 8px 24px rgba(32,33,36,.08);
}
body.index #slider,
body.index #slider li {
  width: 100% !important;
  max-width: none;
  height: clamp(180px, 28vw, 300px) !important;
}
body.index #slider li img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.index #prevBtn { left: 12px; }
body.index #nextBtn { left: auto; right: 12px; }
body.index .indexColmsn {
  float: left;
  width: calc(50% - 12px);
  margin: 0 6px 28px;
  box-sizing: border-box;
}
body.index .indexColmsn .inside {
  height: 100%;
  box-sizing: border-box;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(32,33,36,.06);
}
body.index .advertiserreferimg { display: block; min-height: 74px; text-align: left; }
body.index .advertiserreferimg img { max-width: 220px; max-height: 74px; width: auto; height: auto; }
body.index .homelist { margin: 20px 0 0; padding: 0; list-style: none; color: var(--muted); }
body.index .homelist > li { margin: 0 0 10px; }
body.index .homelist > li.action { margin-top: 22px; }
body.index .homelink {
  display: inline-block;
  margin: 0 8px 0 0;
  padding: 11px 18px;
  border-radius: 8px;
  background: var(--buscamas-blue) !important;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}
body.index .homelink:hover { background: var(--buscamas-blue-dark) !important; }
body.index .partner {
  clear: both;
  margin: 8px 0 30px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}
body.index .singleSign { clear: both; }
body.index .clear { clear: both; }
body.index .footer { margin-top: 30px; }

@media (max-width: 760px) {
  body.index .mainwraper,
  body.index .headbar { width: calc(100% - 24px) !important; }
  body.index .header1 { min-height: 70px; padding: 12px 0 8px; }
  body.index .logoDiv img { max-width: 190px; max-height: 58px; }
  body.index .menu { gap: 0; overflow-x: auto; min-height: 52px; }
  body.index .menu a,
  body.index .menu dt a { padding: 9px 10px; font-size: 12px; }
  body.index .indexColmsn { float: none; width: 100%; margin: 0 0 18px; }
  body.index .indexColmsn .inside { padding: 22px; }
  body.index #slider, body.index #slider li { height: 190px !important; }
}

/* Banner fijo de la portada */
body.index .homepageHero {
  width: 100%;
  max-width: 980px;
  margin: 28px auto 26px;
  border: 1px solid #e3e8ef;
  border-radius: 18px;
  overflow: hidden;
  background: #f7fbff;
  box-shadow: 0 8px 24px rgba(32,33,36,.08);
}
body.index .homepageHero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 760px) {
  body.index .homepageHero { width: 100%; margin: 20px auto; border-radius: 14px; }
  body.index .homepageHero img { max-height: 175px; aspect-ratio: 16 / 9; object-fit: contain; }
}


/* Final Buscamas Ad Network navigation theme */
body .menu,
body.index .menu {
  background: #000000 !important;
  background-color: #000000 !important;
  background-image: none !important;
}
body .menu a,
body .menu dt a,
body .menu li a,
body .menu li:hover a,
body.index .menu a,
body.index .menu dt a,
body.index .menu li:hover a {
  color: #ffffff !important;
  background: transparent !important;
  text-shadow: none !important;
}
body .menu li:hover > dl > dt > a,
body .menu li a:hover,
body.index .menu li:hover > dl > dt > a,
body.index .menu li a:hover {
  background: #222222 !important;
  color: #ffffff !important;
}
body .menu dd,
body .menu .menulinks dd,
body.index .menu dd {
  background: #000000 !important;
  background-image: none !important;
}
