/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Child theme for Hello Elementor.
Author: Aman Choudhary
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/


.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.insight-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.insight-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
}

.insight-thumb img {
  width: 100%;
  object-fit: cover;
  display: block;
	 --r: 45px;
    --s: 80px;
    aspect-ratio: 1;
    border-radius: var(--r);
    background: rgba(104, 104, 104, 0.20);
    overflow: hidden;
    --_m: / calc(2 * var(--r)) calc(2 * var(--r))
        radial-gradient(#000 70%, #0000 72%) no-repeat;
    -webkit-mask: right calc(var(--s) + var(--r)) bottom 0 var(--_m),
    right 0 bottom calc(var(--s) + var(--r)) var(--_m),
    radial-gradient(var(--s) at 100% 100%, #0000 99%, #000 101%)
      calc(-1 * var(--r)) calc(-1 * var(--r)) no-repeat,
    conic-gradient(
      from 90deg at calc(100% - var(--s) - 2 * var(--r))
      calc(100% - var(--s) - 2 * var(--r)),
      #0000 25%,
      #000 0
    );
    mask: right calc(var(--s) + var(--r)) bottom 0 var(--_m),
    right 0 bottom calc(var(--s) + var(--r)) var(--_m),
    radial-gradient(var(--s) at 100% 100%, #0000 99%, #000 101%)
      calc(-1 * var(--r)) calc(-1 * var(--r)) no-repeat,
    conic-gradient(
      from 90deg at calc(100% - var(--s) - 2 * var(--r))
      calc(100% - var(--s) - 2 * var(--r)),
      #0000 25%,
      #000 0
    );
}
.insight-body{
	position:relative;
}
.insight-type {
    display: inline-block;
    padding: 15px 32px;
    background: #f1f1f1;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1;
	margin-top:30px;
}


.insight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 20px;
    color: #344054;
	margin-top:30px;
}
.insight-meta span{
	position:relative;
	padding-left:20px;
}
.insight-meta span:before {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    background: #FD853A;
    border-radius: 50%;
    left: 0;
    top: 10px;
}
.insight-title {
    font-size: 24px;
    line-height: 1.2;
    margin: 0;
    color: #344054;
	margin-top:30px;
}
.insight-card .insight-icon {
    width: 112px;
    height: 112px;
    display: inline-flex;
    background: #1D2939;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: -110px;
}
.insight-card:hover .insight-icon {
    background: #5B7AE6;
}

.insight-card:hover .insight-type{
	background: #1D2939;
	color: #fff;
}
.insights-pagination{
	display: none !important;
}

@media (max-width: 1024px) {
  .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .insight-title {
    font-size: 24px;
  }

  .insight-thumb img {
    height: auto;
  }
}
.insights-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.insights-pagination ul {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.insights-pagination a,
.insights-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid #ddd;
  color: #111;
}

.insights-pagination .current {
  background: #111;
  color: #fff;
  border-color: #111;
}

.insight-name{
	font-size: 15px;
}
.insight-date{
	font-size: 15px;
}
