/**
 * Hamed Academic Dashboard 3.7.0
 * Identity copy cleanup, a single SVG map coordinate plane, and a landscape
 * What's New layout with the image beneath the record title.
 */

/* The name, role and research interests now carry the profile narrative. */
.had-home-v320>.had-profile-card .had-profile-summary{display:none!important}
.had-home-v320>.had-profile-card .had-profile-interests{margin-top:12px!important}

/* Map geometry and visitor markers live in one SVG coordinate plane.
 * The root viewBox crops the SVG to its actual x 54-766 / y 12-368
 * plotting rectangle, so the map fills the panel without blank framing while
 * every marker remains locked to the same geometry. */
.had-home-v320 .had-reach-map{
  display:block!important;
  position:relative!important;
  overflow:hidden!important;
}
.had-home-v320 .had-reach-svg{
  display:block;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  overflow:hidden;
}
.had-home-v320 .had-reach-svg>image{opacity:.92}
.had-home-v320 .had-reach-scan{
  fill:rgba(82,229,244,.09);
  transform:skewX(-14deg);
  transform-origin:center;
  animation:hadReachSvgScan 5.8s linear infinite;
  pointer-events:none;
}
.had-home-v320 .had-reach-point{
  --had-point-color:#22d3ee;
  cursor:default;
  outline:none;
}
.had-home-v320 .had-reach-point-1{--had-point-color:#a78bfa}
.had-home-v320 .had-reach-point-2{--had-point-color:#34d399}
.had-home-v320 .had-reach-point-core{
  fill:var(--had-point-color);
  stroke:#071722;
  stroke-width:2;
  vector-effect:non-scaling-stroke;
  filter:drop-shadow(0 0 5px var(--had-point-color));
}
.had-home-v320 .had-reach-point-ring{
  fill:none;
  stroke:var(--had-point-color);
  stroke-width:1.4;
  opacity:.58;
  vector-effect:non-scaling-stroke;
  transform-box:fill-box;
  transform-origin:center;
  animation:hadReachSvgPulse 2.7s ease-out infinite;
  animation-delay:var(--had-point-delay,0s);
}
.had-home-v320 .had-reach-point:focus-visible .had-reach-point-core{
  stroke:#fff;
  stroke-width:3;
}
@keyframes hadReachSvgPulse{
  0%{transform:scale(.72);opacity:.28}
  48%{transform:scale(1.35);opacity:.86}
  100%{transform:scale(.72);opacity:.28}
}
@keyframes hadReachSvgScan{
  from{transform:translateX(-40px) skewX(-14deg)}
  to{transform:translateX(980px) skewX(-14deg)}
}

/* A news record is read top-to-bottom: metadata/title, image, then action. */
.had-home-v320 .had-news-item,
.had-home-v320 .had-news-item.is-active{
  height:100%!important;
  padding:7px 2px 5px!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
  gap:7px!important;
  align-items:stretch!important;
}
.had-home-v320 .had-news-item{display:none!important}
.had-home-v320 .had-news-item.is-active{display:grid!important}
.had-home-v320 .had-news-copy{
  grid-column:1!important;
  grid-row:1!important;
  min-width:0!important;
  min-height:0!important;
  display:block!important;
  overflow:visible!important;
}
.had-home-v320 .had-news-copy .had-signal-line{min-height:14px!important}
.had-home-v320 .had-news-copy h3{
  margin:6px 0 2px!important;
  font-size:clamp(16px,1.15vw,21px)!important;
  line-height:1.1!important;
  -webkit-line-clamp:2!important;
}
.had-home-v320 .had-news-copy p{
  margin:2px 0 0!important;
  color:#7899a8!important;
  font-size:9px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.had-home-v320 .had-news-media{
  grid-column:1!important;
  grid-row:2!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  align-self:stretch!important;
  position:relative!important;
  display:block!important;
  overflow:hidden!important;
  border:1px solid #245b72!important;
  border-radius:4px!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-color:#041722!important;
  box-shadow:inset 0 0 32px rgba(1,10,17,.18)!important;
}
.had-home-v320 .had-news-media:before{
  background:linear-gradient(180deg,rgba(3,15,24,.02) 58%,rgba(3,15,24,.72))!important;
}
.had-home-v320 .had-news-media i{inset:10px!important}
.had-home-v320 .had-news-media b{
  left:12px!important;
  right:12px!important;
  bottom:9px!important;
  font-size:8px!important;
}
.had-home-v320 .had-news-footer{
  grid-column:1!important;
  grid-row:3!important;
  min-height:18px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  overflow:hidden;
}
.had-home-v320 .had-news-footer strong{
  display:flex;
  align-items:center;
  gap:5px;
  color:var(--had-cyan);
  font:700 9px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  white-space:nowrap;
}

@media(min-width:901px) and (max-height:720px){
  .had-home-v320 .had-news-item,
  .had-home-v320 .had-news-item.is-active{gap:5px!important;padding-top:5px!important}
  .had-home-v320 .had-news-copy h3{font-size:clamp(15px,1.04vw,19px)!important}
  .had-home-v320 .had-news-copy p{font-size:8px!important}
  .had-home-v320 .had-news-footer strong{font-size:8px!important}
}

@media(max-width:900px){
  .had-home-v320 .had-news-item.is-active{
    grid-template-columns:1fr!important;
    grid-template-rows:auto minmax(220px,1fr) auto!important;
  }
  .had-home-v320 .had-news-media{min-height:220px!important}
}

@media(prefers-reduced-motion:reduce){
  .had-home-v320 .had-reach-scan,
  .had-home-v320 .had-reach-point-ring{animation:none!important}
}
