/*
Theme Name: Halstein Child
Theme URI: https://halstein.qodeinteractive.com
Description: A child theme of Halstein
Author: Mikado Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: halstein
Template: halstein
*/

/* =============================================
   TEAM SINGLE PAGE
   ============================================= */

.qodef-team-single-inner {
    display: flex !important;
    gap: 60px !important;
    align-items: flex-start !important;
    padding: 0 0 60px !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}

.qodef-team-single-image {
    flex: 0 0 350px !important;
    max-width: 350px !important;
}

.qodef-team-single-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.qodef-team-single-content {
    flex: 1 !important;
    padding-top: 10px !important;
}

.qodef-team-single-name {
    font-size: 32px !important;
    margin-bottom: 8px !important;
}

.qodef-team-single-role {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    color: #888 !important;
    margin-bottom: 16px !important;
}

.qodef-team-single-social {
    display: inline-block !important;
    margin-right: 12px !important;
    margin-bottom: 24px !important;
    font-size: 18px !important;
    color: #C0392B !important;
}

.qodef-team-single-bio {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #444 !important;
    margin-bottom: 28px !important;
}

.qodef-team-single-back {
    margin-top: 32px !important;
    font-size: 12px !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
}

.qodef-team-single-back a {
    color: #C0392B !important;
}

/* Team single — authored posts section */
.qodef-team-single-posts {
    margin-top: 40px !important;
    padding-top: 32px !important;
    border-top: 1px solid #e5e5e5 !important;
}

.qodef-team-single-posts-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    color: #888 !important;
    margin-bottom: 16px !important;
}

.qodef-team-single-posts-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.qodef-team-single-posts-list li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    gap: 20px !important;
}

.qodef-team-single-posts-list li a {
    font-size: 14px !important;
    color: #1a1a2e !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}

.qodef-team-single-posts-list li a:hover {
    color: #C0392B !important;
}

.qodef-team-single-post-date {
    font-size: 11px !important;
    color: #aaa !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Team single — page title area */
.single-team .qodef-m-title {
    font-size: 55px !important;
    font-family: 'Marcellus', serif !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: #14203b !important;
    line-height: 1.1 !important;
    margin-bottom: 4px !important;
}

.single-team .qodef-page-title {
    text-align: left !important;
    min-height: 200px !important;
    display: flex !important;
    align-items: center !important;
}

.single-team .qodef-breadcrumbs {
    text-align: left !important;
    display: block !important;
    margin-top: 4px !important;
}

.single-team .qodef-m-content {
    text-align: left !important;
}

/* Team single — navigation */
.qodef-team-single-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 32px 0 60px !important;
    border-top: 1px solid #e5e5e5 !important;
    margin-top: 40px !important;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Team single — responsive */
@media (max-width: 768px) {
    .qodef-team-single-inner {
        flex-direction: column !important;
        gap: 30px !important;
        padding: 30px 20px !important;
    }
    .qodef-team-single-image {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 320px !important;
    }
}

/* =============================================
   BLOG SINGLE POST
   ============================================= */

.single-post .qodef-m-title {
    font-size: 55px !important;
    font-family: 'Marcellus', serif !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: #14203b !important;
    line-height: 1.1 !important;
    margin-bottom: 4px !important;
}

.single-post .qodef-page-title {
    min-height: 200px !important;
    display: flex !important;
    align-items: center !important;
}

.single-post .qodef-breadcrumbs {
    display: block !important;
    margin-top: 4px !important;
}

/* =============================================
   PORTFOLIO GRID
   ============================================= */

.portfolio-item .qodef-e-media-image {
    height: 280px !important;
    overflow: hidden !important;
}

.portfolio-item .qodef-e-media-image a {
    display: block !important;
    height: 100% !important;
}

.portfolio-item .qodef-e-media-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* =============================================
   PORTFOLIO SINGLE PAGE
   ============================================= */

.qodef-portfolio-single-inner {
    display: flex !important;
    gap: 60px !important;
    align-items: flex-start !important;
    padding: 0 0 60px !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}

.qodef-portfolio-single-image {
    flex: 0 0 450px !important;
    max-width: 450px !important;
}

.qodef-portfolio-single-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.qodef-portfolio-single-content {
    flex: 1 !important;
    padding-top: 10px !important;
}

.qodef-portfolio-single-title {
    font-family: 'Marcellus', serif !important;
    font-size: 55px !important;
    font-weight: 400 !important;
    color: #14203b !important;
    line-height: 1.1 !important;
    margin-bottom: 24px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* Portfolio single — page title area */
.single-portfolio-item .qodef-m-title {
    font-size: 55px !important;
    font-family: 'Marcellus', serif !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: #14203b !important;
    line-height: 1.1 !important;
    margin-bottom: 4px !important;
}

.single-portfolio-item .qodef-page-title {
    min-height: 200px !important;
    display: flex !important;
    align-items: center !important;
}

.single-portfolio-item .qodef-breadcrumbs {
    display: block !important;
    margin-top: 4px !important;
}

/* Portfolio single — responsive */
@media (max-width: 768px) {
    .qodef-portfolio-single-inner {
        flex-direction: column !important;
        gap: 30px !important;
        padding: 30px 20px !important;
    }
    .qodef-portfolio-single-image {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* =============================================
   SHARED NAVIGATION (team + portfolio)
   ============================================= */

.qodef-portfolio-single-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 32px 0 60px !important;
    border-top: 1px solid #e5e5e5 !important;
    margin-top: 40px !important;
}

.qodef-portfolio-nav-back {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: #C0392B !important;
    text-decoration: none !important;
}

.qodef-portfolio-nav-links {
    display: flex !important;
    gap: 40px !important;
}

.qodef-portfolio-nav-prev,
.qodef-portfolio-nav-next {
    font-size: 13px !important;
    color: #444 !important;
    text-decoration: none !important;
    max-width: 220px !important;
    text-align: right !important;
}

.qodef-portfolio-nav-prev {
    text-align: left !important;
}

.qodef-portfolio-nav-prev:hover,
.qodef-portfolio-nav-next:hover,
.qodef-portfolio-nav-back:hover {
    color: #C0392B !important;
}

/* =============================================
   ABOUT PAGE — ORG MEMBER LOGOS
   ============================================= */

.page-id-1140 .qodef-e-logo img {
    height: 70px !important;
    width: auto !important;
    object-fit: contain !important;
}
/* =============================================
   CLIENTS PAGE — CENTER GRID CAPTIONS
   ============================================= */

.page-id-12207 .qodef-m-content-inner {
    text-align: center !important;
}

/* =============================================
   CLIENT LIST CATEGORY PAGES — TITLE BAND
   ============================================= */

.page-child.parent-pageid-12207 .qodef-m-title,
.parent-pageid-12207 .qodef-m-title {
    font-size: 55px !important;
    font-family: 'Marcellus', serif !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: #14203b !important;
    line-height: 1.1 !important;
    margin-bottom: 4px !important;
}

.page-child.parent-pageid-12207 .qodef-page-title,
.parent-pageid-12207 .qodef-page-title {
    min-height: 200px !important;
    display: flex !important;
    align-items: center !important;
}

.page-child.parent-pageid-12207 .qodef-breadcrumbs,
.parent-pageid-12207 .qodef-breadcrumbs {
    display: block !important;
    margin-top: 4px !important;
}
/* Vertically center text in service boxes */
.elementor-post__card .elementor-post__text {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.elementor-post__card .elementor-post__title {
    margin-bottom: 0;
}
/* Center align text on Projects archive */
.post-type-archive-portfolio-item .qodef-e-text,
.post-type-archive-portfolio-item .qodef-e-bottom-holder {
    text-align: center;
}