/*
Theme Name: Just Ideas Hub
Author: Just Ideas
Version: 1.0.0
*/

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #f7fbff;
  color: #151515;
}

a {
  color: inherit;
}

.ji-home {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 36px 32px;
  background:
    radial-gradient(circle at 18% 18%, rgba(191, 230, 255, .56), transparent 34%),
    radial-gradient(circle at 82% 74%, rgba(255, 238, 158, .42), transparent 32%),
    linear-gradient(135deg, #eef9ff, #f8fff5 54%, #fffbed),
    #f7fbff;
}

.ji-home__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.ji-home__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ji-card {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 18px 18px 20px;
  border: 1px solid rgba(14, 35, 53, .1);
  border-radius: 8px;
  color: #071523;
  text-decoration: none;
  background: var(--ji-bg, #ffffff);
  box-shadow: 0 18px 46px rgba(31, 73, 96, .12);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ji-card::before {
  display: none;
}

.ji-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8.4;
  display: block;
  margin: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(26, 56, 76, .08);
}

.ji-card:hover,
.ji-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(14, 35, 53, .18);
  box-shadow: 0 24px 58px rgba(31, 73, 96, .18);
  outline: none;
}

.ji-card__label {
  display: block;
  margin-top: 18px;
  color: rgba(7, 21, 35, .62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ji-card__domain {
  display: block;
  margin: 12px 0 0;
  color: #06111d;
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: none;
  overflow-wrap: normal;
}

.ji-card__domain--long {
  font-size: clamp(26px, 2.5vw, 34px);
}

.ji-card__url {
  display: block;
  margin-top: 6px;
  color: rgba(7, 21, 35, .56);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: none;
}

@media (max-width: 820px) {
  .ji-home {
    padding: 16px;
    align-items: center;
  }

  .ji-home__inner {
    transform: none;
  }

  .ji-home__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ji-card {
    padding: 14px;
  }

  .ji-card__label {
    margin-top: 14px;
  }
}
