/*
Theme Name: Hello Elementor Child
Theme URI: https://example.com/
Description: Child theme for Hello Elementor
Author: Ian Parot
Template: hello-elementor
Version: 1.0.0
*/



.opportunity-note-below {
    margin-top: 10px; /* space between features and note */
    display: flex;
    align-items: center;
    gap: 8px;
}
/* ===== Opportunity Cards Layout ===== */
.opportunity-cards {
  --navy: #0b2640;
  --text: #4a5663;
  --paper: #fff;
  --radius: 8px;
  --gap: 5px;
}

.opportunity-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 5px; /* add this */
  width: 100%;
}


.opportunity-card {
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25)!important;
  transition: transform 0.2s ease;
  margin-bottom:10px!important;

   
}

.opportunity-card:hover {
  background: linear-gradient(180deg, #EFE9DF 0%, #E5D8C2 100%) !important;
}

/* ===== Media / Image Container ===== */
.opportunity-media {
  position: relative !important;
  width: 100% !important;
  height: 250px !important;           /* Fixed height for consistent images */
  overflow: hidden;
  flex-shrink: 0;
}

.opportunity-media img,
.opportunity-image {
  width: 100% !important;
  height: 100%!important;            /* Force to fill container */
  object-fit: cover!important;       /* Crops & fills without distortion */
  object-position: center!important; /* Always centered */
  display: block;
  transition: transform 0.5s ease;
}

/* Hover zoom effect */
.opportunity-card:hover .opportunity-image {
  transform: scale(1.03);
}

.opportunity-badge {
  position: absolute;
  top: 15px!important;          /* moves badge 10px down from the top */
  left: 15px!important;         /* moves badge 10px right from the left */
  padding: 10px 20px;  /* adds more space inside the badge */
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 50px!important;
}


.opportunity-card-body {
  padding: 15px !important;
  min-height: 230px;
  height: auto !important;
}

.opportunity-kicker {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.9rem;
  font-weight: 400;
}

.opportunity-sub {
  font-weight: 400;
  color: var(--navy);
  font-size: 1.08rem;
  margin: 0 !important;
}


.opportunity-price .price-icon {
  display: inline-block;      /* ensures margin works */
  vertical-align: middle;     /* aligns with text */
  margin-right: 4px;          /* horizontal space */
}


.opportunity-meta {
  font-size: 16px;
  margin-bottom: 5px !important;
}

.opportunity-features,
.opportunity-note {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 0.98rem;
  flex-wrap: wrap;
}

.opportunity-f svg,
.opportunity-note svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.opportunity-f span,
.opportunity-note span {
  display: inline-block;
  margin-left: 6px;
}

.opportunity-btn-row {
  padding-right:15px!important;
  padding-left:15px!important;
  padding-bottom:25px!important;
}

.opportunity-view-details {
  display: inline-flex;
  align-items: center;
  padding: 15px 25px ;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  border: 1px solid #0b2640;
  text-decoration: none;
  transition: all 0.2s ease;
}

.opportunity-view-details:hover {
  background: #0C1A4C;
  color: #fff;
   border: 1px solid #0C1A4C;
}

.opportunity-view-details:active {
  transform: translateY(1px);
}

/* ===== Pagination ===== */
.opportunity-gallery .opportunity-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 32px;
    gap: 10px;
    flex-wrap: wrap;
}

.opportunity-gallery .opportunity-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 6px;
}

.opportunity-gallery .opportunity-pagination li {
    display: inline;
}

.opportunity-gallery .opportunity-pagination a,
.opportunity-gallery .opportunity-pagination span {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid #0b2640;
    background: transparent;
    color: #0b2640;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.opportunity-gallery .opportunity-pagination a:hover {
    background: #0b2640;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.opportunity-gallery .opportunity-pagination .current {
    background: #0b2640;
    color: #fff;
    font-weight: 600;
    border-color: #0b2640;
}

/* Responsive Pagination */
@media (max-width: 639.98px) {
    .opportunity-gallery .opportunity-pagination a,
    .opportunity-gallery .opportunity-pagination span {
        padding: 6px 12px;
        font-size: 13px;
    }
    .opportunity-card {

  margin-bottom:10px!important;

   
}
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 1024px) {
  .opportunity-gallery .opportunity-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .opportunity-card {

  margin-bottom:10px!important;

   
}
}

/* Mobile */
@media (max-width: 639.98px) {
  .opportunity-gallery .opportunity-gallery-grid {
    grid-template-columns: 1fr;
  }
  .opportunity-features,
  .opportunity-note {
    font-size: 0.9rem;
    gap: 8px;
  }
  .opportunity-card {

  margin-bottom:10px!important;

   
}
}
