/* =====================================================
   ROOT VARIABLES
===================================================== */

:root {
  --theme-color-1: #1c2f41;
  --theme-color-2: #3d5d77;
  --theme-color-3: #8faec7;
  --theme-color-4: #ee3940;
  --theme-color-5: #f59397;
  --theme-color-6: #6a6a6a;
  --theme-color-7: #f2f2f2;
  --theme-color-8: #dedede;

  --white: #ffffff;

  --border-light: #eeeeee;
  --border-medium: #e2e6ea;
  --border-dark: #cfd6dd;

  --text-muted: #666666;

  --background-light: #f8f8f8;
  --background-hover: #f5f7fa;

  --overlay-dark: rgba(0,0,0,0.55);

  --shadow-soft: rgba(0,0,0,0.05);
  --shadow-hover: rgba(0,0,0,0.08);
}
/* =====================================================
   COMMON STYLES
===================================================== */

.btnLightBlue{
  background-color: var(--theme-color-3)!important;
  border: 1px solid var(--theme-color-3)!important;
  color: var(--theme-color-2)!important;
  min-width: 40%!important;
  height: 40px!important;
  border-radius: 100px!important;
}
.btnLightBlue:hover{
  	background-color: var(--theme-color-2)!important;
	color: var(--theme-color-3)!important;
	border: 1px solid var(--theme-color-2)!important;
}
/* =====================================================
   HERO SECTION
===================================================== */

.igp-subPageHeroSection {
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}

.igp-hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 40px 0 20px 0;
  margin-top: 75px;
}

.igp-hero-content {
  position: relative;
  z-index: 2;
  padding: 20px 15px;
}

.igp-hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--theme-color-1);
}

/* =====================================================
   SIDEBAR
===================================================== */

.igp-insights-sidebar ul,
.igp-sidebar .igp-category-list {
  padding: 0;
  list-style: none;
}

.igp-insights-sidebar ul li a,
.igp-sidebar .igp-category-list li a {
  display: block;
  padding: 10px;
  margin: 5px 0;
  background: var(--theme-color-8);
  color: var(--theme-color-2);
}

.igp-insights-sidebar ul li a:hover,
.igp-sidebar .igp-category-list li a:hover {
  background: var(--theme-color-2);
  color: var(--theme-color-8);
}
.igp-sidebar h4{
	background-color: var(--theme-color-1);
	color: var(--theme-color-3);
	padding: 7px;
	font-size: 18px;
}
.igp-sidebar .prodcutWrap{
	padding: 5px;
	background-color: #fff;
	margin-bottom: 9px;
	text-align: center;
	color: var(--theme-color-7);
}
.igp-sidebar .prodcutWrap h4{
	background-color: transparent;
	color: var(--theme-color-1);
	padding: 7px;
	font-size: 18px;
}
.igp-sidebar .textwidget .prodcutWrap p, .igp-sidebar .igp-widget .prodcutWrap p{
	color:var(--theme-color-2);
	margin-bottom:10px;
	font-size: 14px;
}
.igp-sidebar .textwidget .prodcutWrap .btn{
	display:block;
}
.igp-sidebar .tnp-widget{
	margin: 0px;
	margin-top: 0px;
	margin-top: -10px;
	background-color: #fff;
	padding: 5px 10px;
}
.igp-sidebar .tnp-widget .tnp-submit{
	border-radius: 100px;
	width: 100%;
	background-color: var(--theme-color-3);
	color: var(--theme-color-2);
}
.igp-sidebar .tnp-widget .tnp-submit:hover, .igp-sidebar .tnp-widget .tnp-submit:focus{
	background-color: var(--theme-color-2);
	color: var(--theme-color-3);
	border: 1px solid var(--theme-color-2);
}

/* =====================================================
   INSIGHTS WRAPPER
===================================================== */

.igp-insights-wrapper {
  margin-top: 50px;
}

.igp-insights-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}


/* =====================================================
   INSIGHT CARDS
===================================================== */

.igp-insight-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: 0 3px 8px var(--shadow-soft);
  transition: 0.3s ease;
}

.igp-insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px var(--shadow-hover);
}


/* GRID VIEW */

.igp-grid-view .igp-insight-card {
  width: calc(50% - 15px);
}


/* LIST VIEW */

.igp-list-view {
  flex-direction: column;
}

.igp-list-view .igp-insight-card {
  display: flex;
  width: 100%;
}


/* =====================================================
   CARD IMAGE
===================================================== */

.igp-card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.igp-list-view .igp-card-image {
  width: 300px;
  flex-shrink: 0;
}

.igp-list-view .igp-card-image img {
  height: 100%;
  padding:5px;
}


/* =====================================================
   CARD CONTENT
===================================================== */

.igp-card-content {
  padding: 20px;
  position:relative;
}
.igp-card-content p{
    margin-bottom:7px;
}
.igp-card-content p, .igp-card-content ul li, .igp-card-content ol li, .igp-card-content strong, .igp-content p, .igp-content ul li, .igp-content ol li, .igp-content strong{
    color: var(--theme-color-1);   
}

.igp-card-title {
  font-size: 20px;
  margin-bottom: 15px;
}

.igp-card-title a {
  color: var(--theme-color-1);
  text-decoration: none;
}

.igp-card-title a:hover {
  color: var(--theme-color-4);
}

.igp-card-excerpt {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.igp-read-more {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  position: absolute;
	bottom: 5px;
  right: 5px;
  background-color: var(--theme-color-2);
  padding: 7px 10px;
  color: var(--theme-color-7);
  border: 1px solid var(--theme-color-2);
}

.igp-read-more:hover {
  background-color: var(--theme-color-7);
  padding: 7px 10px;
  color: var(--theme-color-2);
  border: 1px solid var(--theme-color-2);
}


/* =====================================================
   TOP CONTROLS (SEARCH + VIEW TOGGLE)
===================================================== */

.igp-top-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;

  margin-bottom: 30px;
  padding: 5px;

  background: var(--white);
  box-shadow: 0 3px 8px var(--shadow-soft);
}


/* SEARCH */

.igp-search-form {
  display: flex;
  flex: 1;
  max-width: 500px;
}

.igp-search-form input {
  flex: 1;
  padding: 10px 15px;
  font-size: 14px;

  border: 1px solid var(--border-dark);
  border-right: none;
}

.igp-search-form button {
  padding: 0 15px;
  background: var(--theme-color-2);
  color: var(--white);
  border: none;
  cursor: pointer;
}

.igp-search-form button:hover {
  background: var(--theme-color-4);
}


/* VIEW TOGGLE */

.igp-toggle-view {
  display: flex;
  gap: 8px;
}

.igp-view-btn {
  padding: 8px 12px;
  border: 1px solid var(--border-dark);
  background: var(--background-light);
  cursor: pointer;
}

.igp-view-btn.active {
  background: var(--theme-color-2);
  border-color: var(--theme-color-2);
  color: var(--white);
}

.igp-view-btn i {
  font-size: 14px;
}


/* =====================================================
   PAGINATION
===================================================== */

.igp-pagination {
  margin-top: 40px;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.igp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--theme-color-1);
  background: var(--white);
  border: 1px solid var(--border-medium);
  border-radius: 0px;
  transition: all 0.25s ease;
}

.igp-pagination .page-numbers:hover {
  background: var(--background-hover);
  border-color: var(--border-dark);
  color: var(--theme-color-2);
}

.igp-pagination .page-numbers.current {
  background: var(--theme-color-2);
  border-color: var(--theme-color-2);
  color: var(--white);
  cursor: default;
}

.igp-pagination .page-numbers.next,
.igp-pagination .page-numbers.prev {
  font-size: 18px;
  padding: 0 12px;
}

.igp-pagination .page-numbers.disabled {
  opacity: 0.4;
  pointer-events: none;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 992px) {

  .igp-grid-view .igp-insight-card {
    width: 100%;
  }

  .igp-list-view .igp-insight-card {
    flex-direction: column;
  }

  .igp-list-view .igp-card-image {
    width: 100%;
  }

}

@media (max-width: 768px) {

  .igp-top-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .igp-search-form {
    max-width: 100%;
  }

  .igp-toggle-view {
    justify-content: flex-end;
  }

}

@media (max-width: 576px) {

  .igp-pagination {
    gap: 6px;
  }

  .igp-pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    font-size: 14px;
  }

}
/* =====================================================
   SINGLE POST HERO
===================================================== */

.igp-singleMain{
	margin-top:50px;
}
.igp-subPageHeroSection{
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 0px;
  margin-top: 75px;
}

.igp-subPageHeroContent{
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.igp-featured-image{
  background-color: var(--theme-color-3);
}

.igp-featured-image img{
  max-height: 450px;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

.igp-single-title{
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
  color: var(--theme-color-1);
}

.igp-breadcrumb{
  font-size: 14px;
  color: var(--theme-color-2);
}

.igp-content{
    background-color: #fff;
    padding: 20px 40px;
}
.igp-content ul li{
    list-style: initial;
    line-height: 25px;
}
.igp-content h4{
    border-bottom: 1px solid var(--theme-color-3);
    margin-top: 30px;
}
.igp-content h5{
    font-size: 18px;
  font-weight: 700;
  margin-top: 20px;
  color: #5c88ac;
}
/* =====================================================
   AUTHOR STRIP
===================================================== */

.igp-author-strip{
  padding:10px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  background:var(--theme-color-8);
}

.igp-author-avatar img{

  width:60px;
  height:60px;

  border-radius:50%;
  object-fit:cover;
}

.igp-author-meta{

  display:flex;
  flex-direction:row;
  gap:4px;
}

.igp-author-name{

  font-weight:600;
  font-size:16px;
  color:var(--theme-color-1);
}

.igp-post-date{

  font-size:13px;
  color:var(--theme-color-6);
}
.igp-post-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.igp-action-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
}

@media (max-width: 576px){
  .igp-author-strip{
    flex-direction:column;
    align-items:flex-start;
  }
}
.onlyPrint{
	display:none;
}
@media print {

	body * {
		visibility: hidden;
	}
	.onlyPrint{
		display:block;
	}
	#igp-print-area,
	#igp-print-area * {
		visibility: visible;
	}

	#igp-print-area {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		padding: 20px;
	}

	.igp-post-actions,
	.igp-sidebar,
	header,
	footer {
		display: none !important;
	}

}

/*--------------------------------------

		Related articles

---------------------------------------*/
.igp-related-articles-section {
    margin-top: 40px;
    margin-bottom: 20px;
}

.igp-related-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.igp-related-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.25s ease;
}

.igp-related-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.igp-related-thumb-link {
    display: block;
}

.igp-related-thumb {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.igp-related-post-title {
    font-size: 1rem;
    line-height: 1.45;
    margin: 0;
    padding: 15px;
    min-height: 82px;
}

.igp-related-post-title a {
    color: #1d2f41;
    text-decoration: none;
    font-weight: 600;
}

.igp-related-post-title a:hover {
    color: #ff3838;
}

.igp-related-carousel .owl-nav {
    margin-top: 18px;
    text-align: center;
}

.igp-related-carousel .owl-nav button.owl-prev,
.igp-related-carousel .owl-nav button.owl-next {
    border: 1px solid #dcdcdc !important;
    background: #fff !important;
    border-radius: 8px !important;
    width: 42px;
    height: 42px;
    margin: 0 6px;
    font-size: 18px !important;
    line-height: 1 !important;
}

.igp-related-carousel .owl-nav button.owl-prev:hover,
.igp-related-carousel .owl-nav button.owl-next:hover {
    background: #f5f5f5 !important;
}

.igp-related-carousel .owl-stage {
    display: flex;
}

.igp-related-carousel .owl-item {
    display: flex;
}

.igp-related-carousel .igp-related-item {
    width: 100%;
}