/*
Theme Name: Kumaran Theme
Theme URI: https://capecom.co.uk
Author: Capecom
Author URI: https://capecom.co.uk
Description: Kumaran Conefy Theme converted for WordPress with ACF support, responsive grid layout, dynamic block builder, Portfolio, Case Studies, and full design fidelity.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kumaran-theme
Tags: responsive-layout, custom-menu, featured-images, full-width-template, theme-options, acf
*/

/* Overall Site Font Family */
body, body.conefw-site, html, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, a, span, div {
    font-family: 'Inter', sans-serif !important;
}

/* WordPress Core Alignment & Helper Styles */
.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the box */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Custom Block Spacing */
.block-section {
    padding: 60px 0;
    position: relative;
}
.block-section.fluid-container {
    width: 100%;
}

.img-center-md{
    margin: 0 auto;
}

#product-items .product-image img{
    width: 100%;
}

#section-product #product-items .product-item .product-info .product-content {
    font-weight: 400;
    font-size: 16px;
    padding: 15px 20px;
    background: #0d468b;
    color: #fff;
}

#section-product #product-items .product-item .product-info .product-btns {
    background-color: #e6e6e6;
    padding: 15px 20px;
    color: #1f1f1f;
    margin-bottom: 24px;
    font-weight: 400;
    font-size: 16px;
    border-radius: 0 0 16px 16px;
    border-bottom: 1px solid #d8d8d8;
}

#section-product #product-items .product-item .product-info .product-content.radius {
    border-radius: 0 0 16px 16px;
}


#section-product #product-items .product-item .product-info .product-content,
#section-product #product-items .product-item .product-info .product-btns{

    padding: 20px 20px;
}

.post-type-archive-gallery .block-box .column-box{
        display: block;
}
.post-type-archive-gallery .gallery-subtitle-center .heading, h6.heading{
    width: 100%;
    text-align: center;
}


.popup-contact-form-code{
 background-color: rgb(255 255 255);
    border-radius: 20px;
    padding: 50px;
    width: 890px;
    transition: .5s all;

}

.product-item{
    margin-bottom: 40px;
}


@media (max-width: 768px) {
    #addon-feature-1231989873.addon-feature{
        margin-top: 70px;
    }
    .header-title{
        padding: 35px 0px;
    }
}


.cs-img-center{
    margin: 0 auto;
}

.cs-infra-title{
    font-size: 26px;
    line-height: 38px;
    font-weight: 500;
    text-align: center;
    color: rgb(31 31 31);
    margin: 0 0 10px 0;
}

.cs-infra-content{
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: rgb(31 31 31);
}

.addon-feature-header-title{
    font-size: 48px;
    line-height: 54px;
    font-weight: 500;
    text-align: left;
    color: rgb(31 31 31);
    margin: 0 0 31px 0;
}


@media (max-width: 575.98px) {
    .page-template-template-contact .addon-content {
        font-size: 16px !important;
        line-height: 28px;
        text-align: left  !important;
    }
}

@media (min-width: 992px) and (max-width: 1201px) {
body.conefw-site #main-wrapper .main-wrapperinner header #header .header-content .menu nav ul.nav>li.nav-item>a{
        padding: 0 0.5rem !important;
}

}




.postlist-info h3.title{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; 
  overflow: hidden;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    #addon-image-281823252.addon-image span img,
    .home-section6  .addon-image span img{
        border-radius: 20px;
        width: 100%;
        height: auto !important;
    }
    .home #block-row-2020090137 {
        bottom: -41px;
    }
    .home-addon-image-list #row-column-1870990216 .addon-box{
                width: 64px !important;
        height: 64px !important;
    }
    .home-addon-image-list .addon-image img, 
    .home-addon-image-list .addon-image span img,
    .home-addon-image-list .addon-image 
    {
        width: 64px !important;
        height: 64px !important;
    }

}

@media screen and (min-width: 1200px) {

#column-addon-1196757260 .addon-image span img{
    height: 454px;
}
}

/* Container adjustments */
.blog-pagination {
  margin-top: 1rem;
}

/* Reset list to match Bootstrap's .pagination */
.blog-pagination ul.page-numbers {
  display: flex;
  padding-left: 0;
  list-style: none;
  margin: 0;
}

/* Match Bootstrap's .page-item and connected-border grouping */
.blog-pagination ul.page-numbers > li {
  display: inline;
}

.blog-pagination ul.page-numbers > li:first-child .page-numbers {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

.blog-pagination ul.page-numbers > li:last-child .page-numbers {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

/* Base styles matching Bootstrap's .page-link */
.blog-pagination .page-numbers:not(ul) {
  position: relative;
  display: block;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  color: #0d6efd; /* Bootstrap $primary */
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #dee2e6;
  margin-left: -1px; /* Collapses borders together */
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  line-height: 1.5;
  min-height: 40px;
}

/* Remove negative margin on the first element */
.blog-pagination ul.page-numbers > li:first-child .page-numbers {
  margin-left: 0;
}

/* Hover and focus states */
.blog-pagination a.page-numbers:hover {
  z-index: 2;
  color: #0a58ca;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.blog-pagination a.page-numbers:focus {
  z-index: 3;
  color: #0a58ca;
  background-color: #e9ecef;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Active item matching Bootstrap's .page-item.active .page-link */
.blog-pagination .page-numbers.current {
  z-index: 3;
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
  cursor: default;
}

/* Next / Prev arrow alignment */
.blog-pagination .page-numbers.next,
.blog-pagination .page-numbers.prev {
  font-size: 1.1rem;
  line-height: 1.25;
}

/* Responsive adjustment for small screens */
@media (max-width: 576px) {
  .blog-pagination .d-flex {
    justify-content: center !important;
  }
}