/* Page Cards – Elementor widget (widgets/page-cards) */

/* Page Cards widget (child pages, replaces Projects) */
.thep-cp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.thep-cp .project-block{width:auto;max-width:none;padding:0}
.thep-cp .project-block-one,.thep-cp .project-block-two{margin-bottom:0;height:100%}
.thep-cp .image-box img{width:100%;display:block}
/* Style 1: the white corner under the arrow sits <1px short of the image edge → extend 1px */
.project-block-one .overlay-content .image-box::before{height:61px !important;bottom:-1px !important;top:auto !important}
/* Page Cards – equal card heights per row (1- vs 2-line titles) */
.thep-cp .project-block-one .inner-box{height:100%;display:flex;flex-direction:column}
.thep-cp .project-block-one .static-content{flex:1 1 auto;display:flex;flex-direction:column}
.thep-cp .project-block-one .static-content .lower-content{flex:1 1 auto}

.thep-cp-carousel .owl-stage{display:flex}
.thep-cp-carousel .owl-item{display:flex}
.thep-cp-carousel .owl-item > .project-block{width:100%}
.thep-cp-carousel .owl-nav{display:flex;justify-content:center;gap:12px;margin-top:30px}
.thep-cp-carousel .owl-nav.disabled{display:none}
.thep-cp-carousel .owl-nav button.owl-prev,.thep-cp-carousel .owl-nav button.owl-next{width:50px;height:50px;border-radius:50%;background:#fff;color:#212529;box-shadow:0 6px 20px rgba(0,0,0,.08);display:flex;align-items:center;justify-content:center;font-size:18px;transition:background .3s,color .3s}
.thep-cp-carousel .owl-nav button:hover{background:#ffd236;color:#212529}
.thep-cp-carousel .owl-dots{text-align:center;margin-top:20px}
.thep-cp-carousel .owl-dots .owl-dot span{width:10px;height:10px;margin:0 4px;border-radius:50%;background:#cfd5da;display:block;transition:background .3s}
.thep-cp-carousel .owl-dots .owl-dot.active span{background:#C6A920}

/* Page Cards – Style 3: full image, dark bottom gradient, title/link at the bottom */
.thep-cp-c3{position:relative;display:flex;flex-direction:column;justify-content:flex-end;height:100%;min-height:340px;padding:24px 26px;overflow:hidden;border-radius:0;background:linear-gradient(135deg,#2c4a6e,#0f1c2e) center/cover no-repeat;text-decoration:none}
.thep-cp-c3::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,22,30,.1) 0%,rgba(15,22,30,.92) 100%);transition:background .4s}
.thep-cp-c3:hover::before{background:linear-gradient(180deg,rgba(15,22,30,.2) 0%,rgba(15,22,30,.95) 100%)}
.thep-cp-c3-body{position:relative;z-index:1;display:block}
.thep-cp-c3-label{display:block;margin-bottom:6px;font-size:13px;letter-spacing:.04em;color:rgba(255,255,255,.75)}
.thep-cp .thep-cp-c3 h3{margin:0;font-size:21px;font-weight:600;line-height:1.35;color:#fff}
.thep-cp-c3-more{display:inline-block;margin-top:10px;font-size:14px;font-weight:600;text-transform:uppercase;color:#c6a920;transition:color .3s}
.thep-cp-c3:hover .thep-cp-c3-more{color:#ffd236}
/* Chevron arrows floating left/right over the cards */
.thep-cp-style-three .thep-cp-carousel{position:relative}
.thep-cp-style-three .thep-cp-carousel .owl-nav{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);margin:0;justify-content:space-between;pointer-events:none;padding:0 6px}
.thep-cp-style-three .thep-cp-carousel .owl-nav button.owl-prev,.thep-cp-style-three .thep-cp-carousel .owl-nav button.owl-next{pointer-events:auto;background:transparent;box-shadow:none;color:#fff;font-size:22px;width:44px;height:44px}
.thep-cp-style-three .thep-cp-carousel .owl-nav button:hover{background:rgba(0,0,0,.25);color:#ffd236}
.thep-cp-style-three .thep-cp-carousel .owl-dots .owl-dot span{background:rgba(0,0,0,.2)}
.thep-cp-style-three .thep-cp-carousel .owl-dots .owl-dot.active span{background:#212529}
