/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
 .ratio-16-9 img { aspect-ratio: 16/9; object-fit: cover;}
 @media (max-width:768px){
	 .ct-media-container img { height:100px}
 }

.clw-table th {background: var(--theme-palette-color-1);color: #fff;}

/* Our Portfolio */
.portfolio-wrapper .elementor-widget-image-box {}
.portfolio-wrapper .elementor-widget-image-box .elementor-image-box-description span {position:absolute;top: 5px;right: -5px;background: var( --e-global-color-blocksy_palette_1 );color: #fff;padding: 5px 10px;}
.portfolio-wrapper .elementor-widget-image-box .elementor-image-box-description span.third { background:#396751}


/* footer social icon */
footer .social-icons {display:flex; gap:15px;}
footer .social-icons a {display: block;}
footer .social-icons a img { border-radius: 5px; width: 30px; height: 30px; filter: grayscale(1) brightness(2); transition: .3s;}
footer .social-icons a:hover img {filter: grayscale(0) brightness(1);}

/* hide menu */
.menu li.menu-item.hide, .mobile-menu li.menu-item.hide { display:none}
[class*=header-menu] .menu>li.no-event >.ct-menu-link, .mobile-menu li.no-event > .ct-sub-menu-parent .ct-menu-link {pointer-events: none;}

/* News & Media shortcode card */
.ct-posts-filter { margin: 0 0 40px;}
.ct-posts-filter .ct-filter-form {max-width: 200px; margin:0}
.ct-posts-wrapper {display: flex;gap: 30px;flex-wrap: wrap;}
.ct-posts-wrapper .entry-card {width: calc(33% - 17px);}
.ct-posts-wrapper .ct-post-category {font-weight: 600;text-transform: uppercase;font-size: 11px;color: #666;}
.ct-posts-wrapper .ct-post-title {font-size: 20px;line-height: 1.2;color: var(--theme-palette-color-3);margin-bottom: 0;}
.ct-posts-wrapper .ct-post-date {font-weight: 600;font-size: 13px;margin-bottom: 1em;color: #aaa;}
.ct-posts-wrapper .ct-featured-image {padding-bottom: 20px;}
.ct-posts-wrapper .ct-featured-image img {aspect-ratio: 3/2;object-fit: var(--theme-object-fit, cover);width: inherit; }
.ct-posts-wrapper .ct-post-excerpt {color: initial; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-overflow: ellipsis;}
.ct-posts-wrapper .ct-secondary-image {margin-top: -20px;}
.ct-posts-wrapper .ct-secondary-image img { max-height: 80px; width: auto;}
.ct-posts-wrapper .ct-post-link { font-weight: 700;}
/* Initiatives layout: category above image */
.ct-posts-wrapper:not(.style-media) .ct-post-category {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  color: #666;
  margin-bottom: 10px;
}

/* Clamp title to 3 lines only for Initiatives */
.ct-posts-wrapper:not(.style-media) .ct-post-title {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* limit to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.2em * 3 + 6px);
}

/* Align "Read More" buttons */
.ct-posts-wrapper .entry-card {
  display: flex;
  flex-direction: column;
}
.ct-posts-wrapper .ct-post-excerpt {
  flex-grow: 1;
}

@media (max-width:768px){
	.ct-posts-wrapper .entry-card {width: calc(50% - 15px);}
	.ct-posts-filter .ct-filter-form {margin:auto}
	.ct-posts-wrapper .ct-post-title { font-size:18px}
}


/* Pagination */
.ct-pagination-2 { display: flex; justify-content: center; gap: 20px; margin-top:2em;}
.ct-pagination-2 .page-numbers {display: flex;min-width: 40px;height: 40px;border: 1px solid #d9d9d9;justify-content: center;align-items: center;padding: 10px;border-radius: 4px;font-size: 18px;background: #f9f9f9; color: #333;}
.ct-pagination-2 .page-numbers:hover { background: #e1e1e1;}
.ct-pagination-2 .page-numbers.current {background-color: #333;color: #fff;border-color: #333;}
.ct-pagination-2 .page-numbers.next {}
.ct-pagination-2 .page-numbers.prev {}


/* ESG Commitement */
.wp-singular #esg-tabs-wrapper .e-n-tabs-heading{display:none}
.esg-focus.active{border:1px solid;box-shadow:0 0 10px #efb71a}
.esg-focus.active::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-top:15px solid #efb71a}


/*homepage - OPERATED BY COLIWOO*/
.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a:hover {
	font-weight: 700;
}


/* Breadcrumb */
.ct-breadcrumbs span:not(:first-child) a { pointer-events:none; color:#343A40;}