/**
Theme Name: Astra Child
Author: insaatgroupbd
Author URI: https://insaatgroupbd.com/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
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: astra-child
Template: astra
*/

/* =========================
   Project Single Page
========================= */

.project-banner {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.project-banner .overlay {
    background: rgba(0,0,0,0.55);
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.project-banner h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color: #fff;
}

.project-banner p {
    font-size: 18px;
    max-width: 700px;
}

/* Sections */
.project-overview,
.project-specification,
.project-gallery,
.project-location {
    margin: 80px 0;
}

/* Overview */
.project-overview p {
    max-width: 900px;
    margin: auto;
    font-size: 16px;
    line-height: 1.7;
}

/* Specification */
.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.spec-image img {
    width: 100%;
    border-radius: 8px;
}

.spec-content ul {
    padding-left: 20px;
}

.spec-content li {
    margin-bottom: 10px;
}

/* Gallery */
.project-gallery .wp-block-gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin: 0 auto;
}

/* Remove WP flex behaviour */
.project-gallery .wp-block-gallery.is-layout-flex {
    display: grid !important;
}

/* Each image wrapper */
.project-gallery .wp-block-image {
    width: 100% !important;
    margin: 0 !important;
}

/* Image itself */
.project-gallery .wp-block-image img {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: contain;
    border-radius: 6px;
}



/* Location */
.map-wrap {
    max-width: 100%;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
}

/* Headings */
.project-single h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .project-banner h1 {
        font-size: 28px;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }
}



/* ============================
   Management Page – Exact UI
============================ */

.management-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: left;
    margin: 80px 0;
}

/* Card */
.management-card {
    width: calc(33.333% - 27px);
    background: #f7fbfb;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.management-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Image */
.management-photo img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

/* Content */
.management-content {
    padding: 28px 24px 36px;
    text-align: center;
}

.management-name {
    font-size: 32px;
    font-weight: 600;
    color: #0b1a33;
    margin-bottom: 6px;
}

.management-designation {
    font-size: 20px;
    color: #7b7b7b;
    margin-bottom: 20px;
    font-family: serif;
}

.management-experience {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    font-family: serif;
    margin-bottom: 0 !important;
}

/* ============================
   Responsive
============================ */

/* Tablet – 2 per row */
@media (max-width: 1024px) {
    .management-card {
        width: calc(50% - 20px);
    }

    .management-photo img {
        height: 320px;
    }
}

/* Mobile – 1 per row */
@media (max-width: 640px) {
    .management-card {
        width: 100%;
    }

    .management-photo img {
        height: 280px;
    }
}

