.elementor-340 .elementor-element.elementor-element-cf1747b{--display:flex;}.elementor-340 .elementor-element.elementor-element-4912417 .ekit-post_grid-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;font-weight:600;line-height:24px;}.elementor-340 .elementor-element.elementor-element-4912417 .post_grid_img_thumb{height:317px;}.elementor-340 .elementor-element.elementor-element-4912417 .tab__post__single--item{margin-bottom:20px;}.elementor-340 .elementor-element.elementor-element-4912417 .tab__post__single--item .ekit-post_grid-title > a{color:inherit;transition:all 0.3s ease;}.elementor-340 .elementor-element.elementor-element-d09ef5b{--display:grid;--e-con-grid-template-columns:repeat(3, 1fr);--e-con-grid-template-rows:repeat(2, 1fr);--grid-auto-flow:row;}@media(max-width:1024px){.elementor-340 .elementor-element.elementor-element-4912417 .post_grid_img_thumb{height:200px;}.elementor-340 .elementor-element.elementor-element-d09ef5b{--grid-auto-flow:row;}}@media(max-width:767px){.elementor-340 .elementor-element.elementor-element-4912417 .post_grid_img_thumb{height:150px;}.elementor-340 .elementor-element.elementor-element-d09ef5b{--e-con-grid-template-columns:repeat(1, 1fr);--grid-auto-flow:row;}}/* Start custom CSS for elementskit-post-grid, class: .elementor-element-4912417 */@media (max-width: 767px) {
  .elementor-340 .elementor-element.elementor-element-4912417 img.post_grid_img_thumb[src*="psx-account-cover-image-desktop-view" ] {
    content: url("https://pinecapital.com.pk/wp-content/uploads/2026/10/how-to-open-psx-account-mobile-view.jpeg") !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}



/* Government Sukuk - Mobile Cover */
@media (max-width: 767px) {
  .elementor-340 .elementor-element.elementor-element-4912417 img.post_grid_img_thumb[src*="Government-Sukuk-in-Pakistan"] {
    content: url("https://pinecapital.com.pk/wp-content/uploads/2026/10/Pakistan-Sukuk-Investment-Guide.png") !important; 

    width: 100% !important;
    display: block !important;
margin-left: auto !important;
margin-right: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

/* Government Sukuk - HD Desktop Cover */
@media (min-width: 768px) {
    .elementor-340 .elementor-element.elementor-element-4912417 img.post_grid_img_thumb[src*="Government-Sukuk-in-Pakistan"] {
        content: url("https://pinecapital.com.pk/wp-content/uploads/2026/10/Government-Sukuk-in-Pakistan-What-It-Is-and-How-to-Invest-in-Ijarah-Sukuk-on-the-PSX.png") !important;
    }
}

/* PSX Trading Account - HD Desktop Cover */
@media (min-width: 768px) {
    .elementor-340 .elementor-element.elementor-element-4912417 img.post_grid_img_thumb[src*="psx-account-cover-image-desktop-view"] {
        content: url("https://pinecapital.com.pk/wp-content/uploads/2026/10/How-to-open-psx-account-cover-image-desktop-view.jpeg") !important;
        width: 100% !important;
       
        object-fit: contain !important;
    }
}


/* Government Sukuk - Short Grid Title Only */
.elementor-340 .elementor-element.elementor-element-4912417 h3.tab__post--title a[href*="government-sukuk-in-pakistan"] {
    font-size: 0 !important;
}

.elementor-340 .elementor-element.elementor-element-4912417 h3.tab__post--title a[href*="government-sukuk-in-pakistan"]::after {
    content: "Government Sukuk in Pakistan: Ijarah Guide";
    font-size: 16px !important;;
    font-weight: 600;
    line-height: 1.4;
}


/* Show full PSX title on desktop */
@media (min-width: 768px) {
  .elementor-340 .elementor-element.elementor-element-4912417 h3.tab__post--title {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}


/* Show complete Blog Grid titles on mobile */
@media (max-width: 767px) {
    .elementor-340 .elementor-element.elementor-element-4912417 h3.tab__post--title {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }
}



@media (max-width: 767px) {
    .elementor-340 .elementor-element.elementor-element-4912417 img.post_grid_img_thumb[src*="PSX-vs-PMEX-cover-image"] {
      
content: url("https://pinecapital.com.pk/wp-content/uploads/2026/10/psx-vs-pmex-cover-1.png") !important;

        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
}


/* Blog 3 - PSX vs PMEX HD Desktop Cover */
@media (min-width: 768px) {
    .elementor-340 .elementor-element.elementor-element-4912417 img.post_grid_img_thumb[src*="PSX-vs-PMEX-cover-image"] {
        content: url("https://pinecapital.com.pk/wp-content/uploads/2026/10/PSX-vs-PMEX-cover-image.png") !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
}


/* Blog 3 - Short Grid Title Only */
.elementor-340 .elementor-element.elementor-element-4912417 h3.tab__post--title a[href*="psx-vs-pmex-pakistan"] {
    font-size: 0 !important;
}

.elementor-340 .elementor-element.elementor-element-4912417 h3.tab__post--title a[href*="psx-vs-pmex-pakistan"]::after {
    content: "PSX vs PMEX: Which Market Should You Choose?";
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.4;
}


/* Final Mobile Blog Cover Alignment */
@media (max-width: 767px) {
    .elementor-340 .elementor-element.elementor-element-4912417 img.post_grid_img_thumb {
        width: 100% !important;
        aspect-ratio: 4 / 5 !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center center !important;
    }
}


/* Desktop - Equal Blog Cover Size */
@media (min-width: 768px) {
    .elementor-340 .elementor-element.elementor-element-4912417 img.post_grid_img_thumb {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center center !important;
    }
}


/* Blog 4 - How to Buy Shares Mobile Cover */
@media (max-width: 767px) {
  .elementor-340 .elementor-element.elementor-element-4912417 img.post_grid_img_thumb[src*="How-to-Buy-Shares-in-Pakistan"] {
    content: url("https://pinecapital.com.pk/wp-content/uploads/2026/10/how-to-buy-shares-in-pakistan-psx-guide.png.png") !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}


/* Blog 5 - Roshan Digital Account Mobile Cover */
@media (max-width: 767px) {
  .elementor-340 .elementor-element.elementor-element-4912417 img[src*="roshan-digital-account-psx-desktop"] {
    content: url("https://pinecapital.com.pk/wp-content/uploads/2026/10/roshan-digital-account-psx-mobile.png.png") !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: contain !important;
  }
}


/* Blog 6 - KSE-100 Index Mobile Cover */
@media (max-width: 767px) {
  .elementor-340 .elementor-element.elementor-element-4912417 img.post_grid_img_thumb[src*="KSE-100-Index-Financial-Overview-desktop"] {
    content: url("https://pinecapital.com.pk/wp-content/uploads/2026/10/KSE-100-Index_-A-Beginners-Guide-mobile-view-.png") !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: contain !important;
  }
}


/* Blog 7 - Tax on Stock Trading - Mobile Cover */
@media (max-width: 767px) {
    .elementor-340 .elementor-element.elementor-element-4912417 img.post_grid_img_thumb[src*="tax-on-stock-trading-in-pakistan-2027-desktop"] {
        content: url("https://pinecapital.com.pk/wp-content/uploads/2026/10/tax-on-stock-trading-in-pakistan-2027-desktop.png-mobile-version.png") !important;
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 4 / 5 !important;
        height: auto !important;
        object-fit: contain !important;
    }
}
/* Blog 8 - PMEX Gold: mobile cover */
@media (max-width: 767px) {
  .elementor-340 .elementor-element.elementor-element-4912417 img.post_grid_img_thumb[src*="how-to-trade-gold-on-pmex"] {
    content: url("https://pinecapital.com.pk/wp-content/uploads/2026/10/how-to-trade-gold-on-pmex-mobile.png") !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: contain !important;
  }
}
/* Blog cards: ordered responsive grid */
.elementor-340 .elementor-element.elementor-element-4912417 .ekit-post_grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px 24px !important;
}

.elementor-340 .elementor-element.elementor-element-4912417 .ekit-post_grid > .tab__post__single--item {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

.elementor-340 .elementor-element.elementor-element-4912417 .ekit-post_grid::before,
.elementor-340 .elementor-element.elementor-element-4912417 .ekit-post_grid::after {
  display: none !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-340 .elementor-element.elementor-element-4912417 .ekit-post_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .elementor-340 .elementor-element.elementor-element-4912417 .ekit-post_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 12px !important;
  }
}
/* Blog 9 - eClear NxG mobile cover */
@media (max-width: 767px) {
  .elementor-340 .elementor-element.elementor-element-4912417 img.post_grid_img_thumb[src*="how-to-use-eclear-nxg"] {
    content: url("https://pinecapital.com.pk/wp-content/uploads/2026/10/how-to-use-eclear-nxg-mobile-cover-.png.png") !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: contain !important;
  }
}
/* Blog 10: mobile cover */
@media (max-width: 767px) {
  .elementor-340 .elementor-element.elementor-element-4912417 img.post_grid_img_thumb[src*="psx-investing-mistakes-desktop"] {
    content: url("https://pinecapital.com.pk/wp-content/uploads/2026/10/psx-investing-mistakes-mobile.webp") !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: contain !important;
  }
}/* End custom CSS */