/*
Theme Name: Hande Security Fence
Theme URI: https://example.com/hande
Author: Hande
Description: Pixel-faithful Hande corporate theme with WooCommerce products and dynamic WordPress news.
Version: 1.7.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: hande
*/

/* The original visual styles are loaded from assets/css/main.css. */

.footer1-section-area .service-heading.contact .hande-footer-address {
    color: #c7c7c7 !important;
    opacity: 1;
}

.single-post .hero1-section-area.about-bg-area .hero-heading-area h1 {
    font-size: clamp(30px, 3vw, 48px) !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere;
}

.single-post .blog-leftside-section-area {
    padding-bottom: 110px !important;
}

/* Keep home and archive news cards aligned regardless of title or image proportions. */
.blog1-section-area .hande-news-card-column {
    display: flex;
}

.blog1-section-area .blog-auhtor-boxarea {
    display: flex;
    flex-direction: column;
    height: calc(100% - 30px);
    width: 100%;
}

.blog1-section-area .blog-auhtor-boxarea .img1 {
    flex: 0 0 300px;
    height: 300px;
}

.blog1-section-area .blog-auhtor-boxarea .img1 img {
    object-fit: cover;
}

.blog1-section-area .blog-auhtor-boxarea .blog-position {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.blog1-section-area .blog-auhtor-boxarea .blog-position .heading {
    align-items: center;
    display: flex;
    height: 174px;
    justify-content: center;
    overflow: hidden;
    width: calc(100% - 48px);
}

.blog1-section-area .blog-auhtor-boxarea .blog-position .blog-content-area {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: center;
    min-height: 104px;
}

.blog1-section-area .blog-auhtor-boxarea .blog-position .blog-content-area .learnmore {
    margin-top: 0;
}

/* Full-site order CTA, placed immediately before the footer on every template. */
.hande-global-cta {
    background: #c60c13;
    color: #fff;
    min-height: 420px;
    overflow: hidden;
}

.hande-global-cta .container,
.hande-global-cta .row {
    min-height: 420px;
}

.hande-global-cta__content {
    max-width: 590px;
    padding: 68px 0;
    position: relative;
    z-index: 2;
}

.hande-global-cta__content > span {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.hande-global-cta__content h2 {
    color: #fff;
    font-size: clamp(34px, 3.5vw, 54px);
    line-height: 1.08;
    margin: 0 0 18px;
}

.hande-global-cta__content p {
    color: rgba(255, 255, 255, .9);
    font-size: 17px;
    line-height: 1.65;
    margin: 0 0 28px;
}

.hande-global-cta__button {
    align-items: center;
    background: #fff;
    border-radius: 4px;
    color: #111 !important;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    gap: 10px;
    padding: 15px 25px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.hande-global-cta__button:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
    transform: translateY(-2px);
}

.hande-global-cta__visual {
    height: 420px;
    min-height: 0;
    overflow: hidden;
}

.hande-global-cta__visual img {
    display: block;
    height: 420px;
    min-height: 0;
    object-fit: cover;
    object-position: center 22%;
    width: 100%;
}

/* Preserve the Why Choose HanDe image block when a portrait workshop photo is used. */
.about2-section-area .about-images-area .hande-why-choose-main img {
    height: 430px;
    object-fit: cover;
    object-position: center center;
}

.hande-home-contact {
    background-position: center;
    background-size: cover;
}

@media (max-width: 767px) {
	.about2-section-area .about-images-area .hande-why-choose-main img {
		height: 360px;
	}

    .single-post .hero1-section-area.about-bg-area .hero-heading-area h1 {
        font-size: 30px !important;
    }
}

/* Keep every home hero slide at one height so Owl cannot expose a white gap during transitions. */
.home .slider-header-carousel,
.home .slider-header-carousel .owl-stage-outer,
.home .slider-header-carousel .owl-stage,
.home .slider-header-carousel .owl-item,
.home .slider-header-carousel .hero1-section-area {
    height: 760px !important;
    min-height: 760px !important;
}

.home .slider-header-carousel .hero1-section-area {
    box-sizing: border-box;
    overflow: hidden;
    padding: 180px 0 100px !important;
}

@media (min-width: 768px) and (max-width: 991px) {
    .home .slider-header-carousel,
    .home .slider-header-carousel .owl-stage-outer,
    .home .slider-header-carousel .owl-stage,
    .home .slider-header-carousel .owl-item,
    .home .slider-header-carousel .hero1-section-area {
        height: 700px !important;
        min-height: 700px !important;
    }
}

@media (max-width: 767px) {
    .home .slider-header-carousel,
    .home .slider-header-carousel .owl-stage-outer,
    .home .slider-header-carousel .owl-stage,
    .home .slider-header-carousel .owl-item,
    .home .slider-header-carousel .hero1-section-area {
        height: 620px !important;
        min-height: 620px !important;
    }

    .home .slider-header-carousel .hero1-section-area {
        padding: 150px 0 80px !important;
    }

    .hande-global-cta,
    .hande-global-cta .container,
    .hande-global-cta .row {
        min-height: 0;
    }

    .hande-global-cta__content {
        padding: 54px 6px 38px;
    }

    .hande-global-cta__content h2 {
        font-size: 36px;
    }

    .hande-global-cta__visual,
    .hande-global-cta__visual img {
        height: 360px;
        min-height: 360px;
    }

    .blog1-section-area .blog-auhtor-boxarea .blog-position .heading {
        height: 180px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .blog1-section-area .blog-auhtor-boxarea .blog-position .heading {
        height: 204px;
    }
}
