/* ADS */
.landinggo-ad:hover {
  background-color: rgba(30, 64, 175, 0.1);
}
.datafast-ad:hover {
  background-color: rgba(225, 101, 64, 0.1);
}
.outrank-ad:hover {
  background-color: rgba(136, 42, 255, 0.1);
}

/* ADS BAR */
.ads-bar {
  position: fixed;
  bottom: 0;
  height: 100vh;
  width: 14%;
  z-index: 2;
  background: #fff;
}
.left-ads {
  left: 0;
}
.right-ads {
  right: 0;
}
.ad-card-container {
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  height: 100%;
}
.ad-card {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
}
.ad-card:hover {
  text-decoration: none;
}
.free-ad {
  background-color: #f8fbf9;
  border: 2px dashed var(--border-color);
}
.free-ad:hover {
  color: #666;
  border-color: #666;
}
.free-ad:hover div {
  transform: scale(1.05);
}
.free-ad-emoji {
  display: none !important;
}
.ad-card img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  margin: 5px auto;
  display: block;
}
.ad-card div {
  text-align: center;
}
.ad-card strong {
  margin-bottom: 5px;
  display: block;
  color: var(--heading-color);
  font-size: 14px;
}
.ad-card p {
  font-size: 12px;
  color: var(--text-color);
}
.ad-card span {
  font-size: 10px;
  color: var(--text-color);
  position: absolute;
  bottom: 10px;
  right: 10px;
}

/* FOOTER ADS */
.footer-ad {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: .5rem 1.2rem;
  border-radius: 3rem;
  border: 1px solid;
  color: var(--text-color);
  transition: all 0.2s;
}
.footer-ad:hover {
  text-decoration: none;
}
.footer-ad img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  margin: 5px auto;
  display: block;
}
.footer-ad strong {
  color: var(--text-color);
}
.footer-ad p {
  font-size: 14px;
}
.footer-ad.datafast-ad {
  border-color: #e16540;
}
.footer-ad.datafast-ad svg {
  color: #e16540;
}
.footer-ad.outrank-ad {
  border-color: #882aff;
}
.footer-ad.outrank-ad svg {
  color: #882aff;
}

@media (max-width: 1024px) {
  .ads-bar {
    left: 0;
    right: 0;
    height: 56px;
    width: 100%;
    background-color: #f7f7f7;
  }
  .left-ads {
    top: 0;
  }
  .right-ads {
    bottom: 0;
  }
  .ad-card-container {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 8px;
  }
  .ad-card {
    padding: 8px;
    border-radius: 8px;
    justify-content: center;
    width: 100%;
  }
  .ad-card div {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .ad-card img {
    width: 24px;
    height: 24px;
    margin: 0;
  }
  .ad-card strong {
    margin-bottom: 0;
  }
  .ad-card p {
    display: none;
  }
  .ad-card span {
    display: none;
  }
}
@media (max-width: 768px) {
  .ad-card div {
    gap: 0;
  }
  .ad-card strong {
    display: none;
  }
  .free-ad-emoji {
    display: block !important;
  }
}