/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://example.com/hello-elementor-child
 Description:  A child theme for the Hello Elementor theme.
 Author:       dipali K.
 Author URI:   https://example.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/

/* Add your custom styles below */

/* Hidden by default; shown when .submenu-open is applied */
/* #ekit-megamenu-mobile-menu .elementskit-submenu-panel { display: none; } */
/* #ekit-megamenu-mobile-menu li.submenu-open > .elementskit-submenu-panel { display: block; } */

/* Optional: small visual cue for nested levels */
/* #ekit-megamenu-mobile-menu .elementskit-submenu-panel .elementskit-submenu-panel { padding-left: 12px; } */

/* Optional: rotate the chevron when open */
/* #ekit-megamenu-mobile-menu li.menu-item-has-children > a .elementskit-submenu-indicator {
  transition: transform .2s ease;
}
#ekit-megamenu-mobile-menu li.submenu-open > a .elementskit-submenu-indicator {
  transform: rotate(90deg);
}
#ekit-megamenu-mobile-menu i.icon.icon-down-arrow1.elementskit-submenu-indicator{
    border: 0px;
} */
 /* div{
    border:solid 1px red;
 } */

/* blog page */
/* ------------------ DESKTOP ------------------ */
.custom-blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  /* padding: 2rem 0; */
}

.blog-item {
  background-color: #E5F1EE;
  /* border-radius: 10px; */
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  /* display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: #006b5d; 
  border-radius: 15px;
  overflow: hidden;
  padding: 1.5rem;
  color: #fff; */
}

.blog-thumb {
  flex: 0 0 50%;
  max-width: 100%;
  /* border-radius: 10px; */
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
  flex-grow: 1;
}
.blog-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #016F53;
  margin-bottom: 0.5rem;
}
.blog-content p {
  font-size: 13px;
  color: #000;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 1.5rem;
} 
.blog-title {
  font-size: 17px;
  margin-bottom: 0.5rem;
  color: #016F53;
}

/* .blog-item p {
  color: #fff;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 1rem;
    font-size: 13px;
    margin-bottom: 1rem;
    font-weight: 300;
} */

.blog-item a {
  text-decoration: none !important;
}

.blog-title a {
  font-weight: 700;
  color: #016F53;
}

.blog-item a:hover .blog-title {
  text-decoration: none;
}

.blog-item .learn-more {
  font-size: 15px;
  font-weight: 300!important;
  background-color: #ffffff00;
    color: #016F53;
    border: solid 1px #016F53;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s 
ease;
}


.blog-item .learn-more:hover {
  background-color: #f0f0f0;
  color: #016F53;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center !important;
  margin: 20px auto;
}

span.page-numbers.current,
a.page-numbers {
  font-size: 20px;
  padding: 0 10px;
  color: #016F53 !important;
  font-weight: 700;
  text-decoration: none !important;
}

/* ------------------ MOBILE ------------------ */
@media (max-width: 768px) {
  .blog-item {
    flex-direction: column; /* stack vertically */
    padding: 1rem;
  }

  .blog-thumb,
  .blog-content {
    /* flex: 0 0 100%; */
    max-width: 100%;
    padding-left: 0;
  }

  .blog-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

  .blog-title {
    font-size: 24px !important; /* smaller for mobile */
    margin-bottom: 0.5rem;
  }

  .blog-item .learn-more {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.8rem 0;
    font-size: 15px;
    margin-top: 0.5rem;
  }
}


.blog-content .read-more,
.blog-content a.button {
  background: transparent;
  color: #016F53;
  border: 1px solid #016F53;
  padding: 0.5rem 1.2rem;
  border-radius: 5px;
  font-weight: 300;
  transition: 0.3s;
}

.blog-content .read-more:hover,
.blog-content a.button:hover {
  background: #016F53;
  color: #fff;
}

/* === Responsive Adjustments === */
@media (max-width: 1024px) {
  .custom-blog-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .custom-blog-list {
    grid-template-columns: 1fr;
  }
  /* .n2-ss-layer .n2-ow div{
    height: 200px!important;

  } */
  .n2-ss-slider .n2-ss-layer-content {
    min-height: 230px !important;}
}

div#n2-ss-7 .n2-style-e04f050260dc7f54c32769fe819ac73b-heading {
  background: transparent!important;
  opacity: 1;
  font-size: 13px;
  padding: 10px 30px 10px 30px;
  box-shadow: none;
  border: 1px solid rgb(1 111 82)!important;
  border-radius: 10px!important;
  color: #016f52 !important;
  font-family: "agenda-one", sans-serif !important;
}

  
  .n2-section-smartslider.fitvidsignore.n2_clear p {
    font-family: "agenda-one", sans-serif !important;
    margin-right: 50px;
    font-size: 20px !important;
    font-weight: 300 !important;
        /* overflow: scroll!important; 
    text-overflow: ellipsis;
    display: -webkit-box;
     -webkit-line-clamp: 4!important; */
     /* -webkit-box-orient: vertical; */
     
}

.n2-ss-slider .n2-ss-text {
  user-select: text;
  cursor: initial;
  font-size: 30px !important;
  font-family: "agenda-one", sans-serif!important;
}

/* 
.our-recentwork.row.portfolio {
  display: flex
;
  flex-wrap: wrap;
} */

.portfolio .workPost {
  padding: 0 !important;
  margin-bottom: 0 !important;
  height: 250px !important;
  width: 475px;

}
/* ==== Our Recent Work Section ==== */
.our-recentwork {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  /* margin: 60px auto; */
  max-width: 100%;
}

/* Each project card */
.workPost {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.workPost img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 10px;
}

/* Zoom image on hover */
.workPost:hover img {
  transform: scale(1.1);
}

/* Overlay setup */
.workPostContent {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 10px;

}

/* Show overlay on hover */
.workPost:hover .workPostContent {
  opacity: 1;
}

/* Title text inside overlay */
.um_title.hvr-grow {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: capitalize;
  transition: transform 0.3s ease;
  font-family: "agenda-one", sans-serif!important;
}

/* Slight grow effect on hover */
.workPost:hover .um_title.hvr-grow {
  transform: scale(1.1);
}

/* More Stories card styling */
.um_seeMore {
  border: 2px solid #004b8d;
  border-radius: 10px;
  padding: 80px 0;
  background-color: #fff;
  transition: all 0.3s ease;
}

.um_seeMore:hover {
  background-color: #004b8d;
}

.um_seeMore .um_title {
  color: #004b8d;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.um_seeMore:hover .um_title {

  color: #fff;
}

/* Responsive behavior */
@media (max-width: 992px) {
  .workPost {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 576px) {
  .workPost {
    flex: 1 1 100%;
  }
  .workPost img {
    height: 250px;
  }
}
/* .elementor-element.elementor-element-79b1282.elementor-widget-mobile__width-initial.agenda-customfont.elementor-widget__width-initial.elementor-widget.elementor-widget-text-editor {
  display: none;
} */


/* -------- =----*/

.single-post .elementor-330 .elementor-element.elementor-element-67d2f92 img,.page-id-14830 .elementor-330 .elementor-element.elementor-element-67d2f92 img {
    width: 75%;
}