/* ==========================================================
   PRICEHUNTERPRO RECOMMENDED ARTICLES
========================================================== */

.phpro-ra,
.phpro-ra *{
  box-sizing:border-box;
  font-family:'Lato',Arial,sans-serif !important;
}

.phpro-ra{
  --phpro-ra-navy:#102a43;
  --phpro-ra-orange:#f97316;
  --phpro-ra-teal:#0f9d8a;
  --phpro-ra-pale:#f6f9fc;
  --phpro-ra-border:#cfdae5;
  --phpro-ra-text:#243b53;
  --phpro-ra-muted:#627d98;
  width:100%;
  color:var(--phpro-ra-text);
}

.phpro-ra a,
.phpro-ra a:hover,
.phpro-ra a:focus,
.phpro-ra a:visited{
  text-decoration:none !important;
}

.phpro-ra__image{
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  padding:0 !important;
  display:block !important;
  border:0 !important;
  object-fit:cover !important;
  object-position:center !important;
}

.phpro-ra__placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#e7f6f3;
  color:var(--phpro-ra-navy);
}

.phpro-ra__placeholder svg{
  width:44%;
  max-width:48px;
  height:auto;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}


/* ==========================================================
   INLINE RECOMMENDATION
========================================================== */

.phpro-ra-inline{
  margin:28px 0 !important;
  padding:0 !important;
  overflow:hidden;
  background:#ffffff;
  border:2px solid var(--phpro-ra-navy);
  border-radius:18px;
  box-shadow:none;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.phpro-ra-inline:hover{
  border-color:var(--phpro-ra-orange);
  box-shadow:0 8px 20px rgba(16,42,67,.09);
  transform:translateY(-2px);
}

.phpro-ra-inline__link{
  min-height:112px;
  display:grid !important;
  grid-template-columns:138px minmax(0,1fr);
  background:#ffffff !important;
  color:var(--phpro-ra-text) !important;
}

.phpro-ra-inline__link:focus-visible{
  outline:3px solid rgba(15,157,138,.35) !important;
  outline-offset:-3px;
}

.phpro-ra-inline__media{
  min-width:0;
  min-height:112px;
  display:block;
  overflow:hidden;
  background:var(--phpro-ra-pale);
  border-right:2px solid var(--phpro-ra-navy);
}

.phpro-ra-inline__content{
  min-width:0;
  padding:15px 17px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
}

.phpro-ra-inline__label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--phpro-ra-teal) !important;
  font-size:9px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
}

.phpro-ra-inline__label > span{
  width:7px;
  height:7px;
  flex:0 0 7px;
  background:var(--phpro-ra-orange);
  border-radius:50%;
}

.phpro-ra-inline__title{
  margin:7px 0 0 !important;
  display:-webkit-box;
  overflow:hidden;
  color:var(--phpro-ra-navy) !important;
  font-size:18px !important;
  line-height:1.25 !important;
  font-weight:900 !important;
  letter-spacing:-.2px !important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  transition:color .18s ease;
}

.phpro-ra-inline:hover .phpro-ra-inline__title{
  color:var(--phpro-ra-orange) !important;
}

.phpro-ra-inline__read{
  margin-top:9px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--phpro-ra-navy) !important;
  font-size:10px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.06em !important;
  text-transform:uppercase !important;
}

.phpro-ra-inline__read > span{
  width:25px;
  height:25px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#e7f6f3;
  border:1px solid var(--phpro-ra-teal);
  border-radius:50%;
  color:var(--phpro-ra-navy) !important;
  font-size:13px !important;
  transition:background-color .18s ease,color .18s ease,transform .18s ease;
}

.phpro-ra-inline:hover .phpro-ra-inline__read > span{
  background:var(--phpro-ra-teal);
  color:#ffffff !important;
  transform:translateX(2px);
}


/* ==========================================================
   BOTTOM RECOMMENDATIONS
========================================================== */

.phpro-ra-bottom{
  margin:38px 0 0 !important;
  padding:24px !important;
  position:relative;
  overflow:hidden;
  background:var(--phpro-ra-pale);
  border:2px solid var(--phpro-ra-navy);
  border-radius:22px;
}

.phpro-ra-bottom:before{
  content:"";
  width:96px;
  height:96px;
  position:absolute;
  top:-48px;
  right:-38px;
  background:var(--phpro-ra-orange);
  border-radius:50%;
  opacity:.13;
  pointer-events:none;
}

.phpro-ra-bottom__header{
  margin:0 0 18px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  position:relative;
  z-index:2;
}

.phpro-ra-bottom__eyebrow{
  display:block;
  color:var(--phpro-ra-teal) !important;
  font-size:10px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.09em !important;
  text-transform:uppercase !important;
}

.phpro-ra-bottom__header h2{
  margin:7px 0 0 !important;
  padding:0 !important;
  color:var(--phpro-ra-navy) !important;
  font-size:clamp(25px,3vw,34px) !important;
  line-height:1.15 !important;
  font-weight:900 !important;
  letter-spacing:-.55px !important;
}

.phpro-ra-bottom__header > p{
  max-width:390px;
  margin:0 !important;
  padding:0 !important;
  color:var(--phpro-ra-muted) !important;
  font-size:12.5px !important;
  line-height:1.5 !important;
  font-weight:700 !important;
  text-align:right;
}

.phpro-ra-bottom__grid{
  display:grid;
  gap:13px;
  position:relative;
  z-index:2;
}

.phpro-ra-bottom--cols-1 .phpro-ra-bottom__grid{
  grid-template-columns:minmax(0,1fr);
  max-width:420px;
}

.phpro-ra-bottom--cols-2 .phpro-ra-bottom__grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.phpro-ra-bottom--cols-3 .phpro-ra-bottom__grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.phpro-ra-bottom--cols-4 .phpro-ra-bottom__grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.phpro-ra-card{
  min-width:0;
  height:100%;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden;
  background:#ffffff;
  border:1px solid var(--phpro-ra-border);
  border-radius:16px;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.phpro-ra-card:hover{
  border-color:var(--phpro-ra-orange);
  box-shadow:0 7px 18px rgba(16,42,67,.08);
  transform:translateY(-2px);
}

.phpro-ra-card__link{
  height:100%;
  display:flex !important;
  flex-direction:column;
  background:#ffffff !important;
  color:var(--phpro-ra-text) !important;
}

.phpro-ra-card__link:focus-visible{
  outline:3px solid rgba(15,157,138,.35) !important;
  outline-offset:-3px;
}

.phpro-ra-card__media{
  width:100%;
  aspect-ratio:16 / 10;
  display:block;
  position:relative;
  overflow:hidden;
  background:#ffffff;
  border-bottom:1px solid var(--phpro-ra-border);
}

.phpro-ra-card__category{
  max-width:calc(100% - 20px);
  padding:6px 9px;
  position:absolute;
  top:9px;
  left:9px;
  overflow:hidden;
  background:#ffffff;
  border:1px solid rgba(16,42,67,.2);
  border-radius:999px;
  color:var(--phpro-ra-navy) !important;
  font-size:8.5px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.04em !important;
  text-overflow:ellipsis;
  text-transform:uppercase !important;
  white-space:nowrap;
  box-shadow:0 3px 9px rgba(16,42,67,.08);
}

.phpro-ra-card__body{
  min-width:0;
  padding:14px;
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
}

.phpro-ra-card__title{
  min-height:45px;
  margin:0 !important;
  display:-webkit-box;
  overflow:hidden;
  color:var(--phpro-ra-navy) !important;
  font-size:17px !important;
  line-height:1.3 !important;
  font-weight:900 !important;
  letter-spacing:-.15px !important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  transition:color .18s ease;
}

.phpro-ra-card:hover .phpro-ra-card__title{
  color:var(--phpro-ra-orange) !important;
}

.phpro-ra-card__excerpt{
  min-height:39px;
  margin:8px 0 0 !important;
  display:-webkit-box;
  overflow:hidden;
  color:var(--phpro-ra-muted) !important;
  font-size:11.5px !important;
  line-height:1.55 !important;
  font-weight:400 !important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.phpro-ra-card__read{
  margin-top:12px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--phpro-ra-teal) !important;
  font-size:9.5px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.06em !important;
  text-transform:uppercase !important;
}

.phpro-ra-card__read > span{
  color:var(--phpro-ra-orange) !important;
  font-size:13px !important;
  transition:transform .18s ease;
}

.phpro-ra-card:hover .phpro-ra-card__read > span{
  transform:translateX(2px);
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:1024px){
  .phpro-ra-bottom--cols-3 .phpro-ra-bottom__grid,
  .phpro-ra-bottom--cols-4 .phpro-ra-bottom__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:700px){
  .phpro-ra-inline{
    margin:23px 0 !important;
    border-radius:16px;
  }

  .phpro-ra-inline__link{
    min-height:104px;
    grid-template-columns:98px minmax(0,1fr);
  }

  .phpro-ra-inline__media{
    min-height:104px;
  }

  .phpro-ra-inline__content{
    padding:12px;
  }

  .phpro-ra-inline__title{
    font-size:15px !important;
  }

  .phpro-ra-inline__read{
    margin-top:7px;
    font-size:9px !important;
  }

  .phpro-ra-inline__read > span{
    width:22px;
    height:22px;
    font-size:12px !important;
  }

  .phpro-ra-bottom{
    margin-top:30px !important;
    padding:18px 14px !important;
    border-radius:19px;
  }

  .phpro-ra-bottom__header{
    margin-bottom:15px;
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }

  .phpro-ra-bottom__header h2{
    font-size:26px !important;
  }

  .phpro-ra-bottom__header > p{
    max-width:none;
    font-size:11.5px !important;
    text-align:left;
  }

  .phpro-ra-bottom--cols-1 .phpro-ra-bottom__grid,
  .phpro-ra-bottom--cols-2 .phpro-ra-bottom__grid,
  .phpro-ra-bottom--cols-3 .phpro-ra-bottom__grid,
  .phpro-ra-bottom--cols-4 .phpro-ra-bottom__grid{
    max-width:none;
    grid-template-columns:1fr;
    gap:10px;
  }

  .phpro-ra-card__link{
    min-height:122px;
    display:grid !important;
    grid-template-columns:112px minmax(0,1fr);
  }

  .phpro-ra-card__media{
    height:100%;
    min-height:122px;
    aspect-ratio:auto;
    border-right:1px solid var(--phpro-ra-border);
    border-bottom:0;
  }

  .phpro-ra-card__body{
    padding:12px;
  }

  .phpro-ra-card__title{
    min-height:auto;
    font-size:15px !important;
  }

  .phpro-ra-card__excerpt{
    display:none;
  }

  .phpro-ra-card__read{
    margin-top:auto;
  }

  .phpro-ra-card__category{
    top:7px;
    left:7px;
    padding:5px 7px;
    font-size:7.5px !important;
  }
}

@media(max-width:390px){
  .phpro-ra-inline__link{
    grid-template-columns:84px minmax(0,1fr);
  }

  .phpro-ra-inline__label{
    font-size:8px !important;
  }

  .phpro-ra-inline__title{
    font-size:14px !important;
  }

  .phpro-ra-card__link{
    grid-template-columns:98px minmax(0,1fr);
  }
}

@media(prefers-reduced-motion:reduce){
  .phpro-ra-inline,
  .phpro-ra-inline__title,
  .phpro-ra-inline__read > span,
  .phpro-ra-card,
  .phpro-ra-card__title,
  .phpro-ra-card__read > span{
    transition:none !important;
  }
}
