/**
 * Theme Name:     Bronx Child
 * Author:         WordPressRiver
 * Template:       bronx
 * Text Domain:	   bronx-child
 * Description:    Introducing a WordPress theme tailored for Personal Portfolio WordPress Theme
 */


.link-with-line,
.experience-button,
.partner-box {
    pointer-events: none !important;
    cursor: default;
}

.hero-sec-content h1 {
    text-align: center; 
}

.hero-sec-content h1 > span:first-child {
    font-size: 95px;
    display: block; 
    line-height: 1.1; 
}


.hero-sec-content h1 > span:nth-child(2) {
    font-size: 85px;
    display: block;
    line-height: 1.2;
}



@media (max-width: 1024px) {

    .hero-sec-content h1 > span:first-child {
        font-size: 70px;
    }
    .hero-sec-content h1 > span:nth-child(2) {
        font-size: 60px;
    }


    .elementor-widget-homeimage .full-image-box {
        display: flex;
        justify-content: flex-start !important; 
        text-align: left !important;
    }
    
    .elementor-widget-homeimage img {

        object-position: 10% center !important; 
        transform-origin: 10% center !important; 
        margin-left: 0 !important;
        margin-right: auto !important;
    }


    .elementor-element-dc0444a .full-image-box {
        justify-content: center !important; 
        text-align: center !important;
    }

    .elementor-element-dc0444a img {
        object-position: center center !important;
        transform-origin: center center !important;
        margin-left: auto !important; 
        margin-right: auto !important;
    }
}


@media (max-width: 767px) {
*/
    header, .site-header, #masthead {
        display: none !important;
    }

    .hero-sec-content h1 > span:first-child {
        font-size: 34px; 
    }
    .hero-sec-content h1 > span:nth-child(2) {
        font-size: 24px; 
        line-height: 32px !important; 
    }

    section.hero-sec {
        min-height: 75vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding-top: 160px !important; 
    }

    .hero-sec-content {
        margin-bottom: 50px !important; 
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
    }
    
    .hero-footer-wrap {
        position: relative !important;
        bottom: auto !important;
        transform: none !important;
        margin-top: auto !important; 
    }
}

/* =========================================
   1. GLOBAL LAYOUT (Desktop)
   ========================================= */
.header-wrap .custom-row {
    display: flex !important;
    flex-flow: row nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
    padding: 0 40px !important;
    gap: 20px;
}

.header-left {
    flex: 0 0 auto;
}

.header-right {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

/* =========================================
   2. LANGUAGE SWITCHER (Dynamic Wrapping)
   ========================================= */
.header-lang-switcher {
    display: block;
    max-width: 100%;
}


.header-lang-switcher ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 8px 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.header-lang-switcher ul li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================
   3. TYPOGRAPHY & COLORS (Force Black)
   ========================================= */

.header-left a span {
    font-family: "Instrument Sans", sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 18px !important;
    color: #000000 !important;
    line-height: 1.2 !important;
}

.header-lang-switcher ul li a {
    font-family: "Instrument Sans", sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    color: #888888 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    transition: color 0.3s ease;
}

.header-lang-switcher ul li.wpml-ls-current-language a,
.header-lang-switcher ul li a:hover {
    color: #000000 !important;
}

.header-lang-switcher a::after, 
.header-lang-switcher a::before {
    display: none !important;
}

/* =========================================
   4. MOBILE LAYOUT (Stack & Wrap)
   ========================================= */
@media (max-width: 768px) {

    .header-wrap .custom-row {
        padding: 0px !important;
    }

    .header-wrap {
        padding: 20px 15px 0px 15px !important;
        height: auto !important;
    }


    .header-wrap .custom-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
    }


    .header-right {
        order: -1 !important;
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        margin-bottom: 0px;
        
        flex-direction: column; 
        gap: 5px;
    }


    .header-left, 
    .header-local-time-box {
        order: 0 !important;
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        margin-bottom: 0px !important;
    }


    .header-middle {
        order: 1 !important;
        margin-top: 0px !important;
    }

    /* Center the Language List */
    .header-lang-switcher ul {
        justify-content: center !important; 
        text-align: center !important;
    }
}

@media (max-width: 809px) {
  .header-wrap .header-local-time-box span:first-child, .experience-box .experience-button-box, .about-bottom-content-wrap .about-bottom-content p {
    display: flex !important;
  }
}

.comment-content h4, 
.comment-content h4 span {
    text-transform: none !important;
}

.memories-intro .theme-btn {
    display: inline-block;
    margin-top: 15px;
}

/* =========================================
   Bronx Child Theme Styles
   ========================================= */

.header-wrap .header-local-time-box,
.popup-menu-header .local-temperature {
    width: auto !important; 
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-title-link {
    font-family: "Instrument Sans", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
    color: #000000 !important;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.title-separator {
    color: #000000;
    font-weight: 400;
    font-size: 18px;
    margin-top: -2px;
}

.memories-link-left {
    font-family: "Instrument Sans", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
    color: #888888 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.memories-link-left:hover {
    color: #000000 !important;
}

.breadcrumb-area {
    background-color: #f5f5f7 !important; 
    color: #1d1d1f !important;
}

.breadcrumb-content h1,
.breadcrumb-content .breadcrumbs li,
.breadcrumb-content .breadcrumbs li a,
.breadcrumb-content .breadcrumbs li i {
    color: #1d1d1f !important;
}

.memories-intro h2 {
    color: #1d1d1f !important;
    margin-bottom: 20px;
}
.memories-intro p {
    color: #1d1d1f !important;
    font-size: 18px;
    line-height: 1.6;
}

.comment-form h3,
.comments-area h3,
.comment-reply-title, 
.comment-notes,
.logged-in-as, 
.logged-in-as a {
    color: #1d1d1f !important;
}

.comment-form input,
.comment-form textarea {
    color: #1d1d1f !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: #777 !important;
}

.comment-content h4 {
    color: #1d1d1f !important;
    text-transform: none !important;
    font-weight: 700;
}

.comment-content p {
    color: #333 !important;
    font-size: 16px;
}

.comment-content .date {
    color: #888 !important;
    font-size: 14px;
    text-transform: none !important;
    margin-left: 10px !important;
}

.comments-area .comments .comments-list .comment-item .comment-body .comment-content h4 .date::before {
    display: none !important; 
}
.comment-reply-link {
    display: none !important;
}

/* =========================================
   7. FORM STYLING UPDATES
   ========================================= */

.comment-form h2 {
    font-family: "Instrument Sans", sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1d1d1f !important;
    text-transform: none;
}


.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    border-radius: 4px !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
    border: 1px solid #e0e0e0 !important;
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #000000 !important;
    outline: none;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
    font-size: 16px !important;
    color: #888888 !important;
    opacity: 1;
}

.comment-form .input-group {
    margin-bottom: 15px;
    width: 100%;
}

/* =========================================
   Active Menu Highlighting
   ========================================= */


.site-title-link.active-page,
.memories-link-left.active-page {
    color: #000000 !important;
}


.site-title-link.inactive-page,
.memories-link-left.inactive-page {
    color: #888888 !important;
    transition: color 0.3s ease;
}

.site-title-link.inactive-page:hover,
.memories-link-left.inactive-page:hover {
    color: #000000 !important;
}

.title-separator {
    color: #000000;
    font-weight: 300;
    font-size: 22px;
    line-height: 1;
    margin-top: -2px;
    vertical-align: middle;
    display: inline-block;
}

/* =========================================
   Memories Page: Split Layout (Text Left / Image Right)
   ========================================= */

.memories-layout-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 80px;
}

.memories-text-side {
    flex: 1;
    text-align: left;
    padding-right: 20px;
}

.memories-text-side h2 {
    font-family: "Instrument Sans", sans-serif;
    font-size: 52px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.05;
    color: #000000 !important;
    text-transform: none;
}

.memories-text-side p {
    font-family: "Instrument Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 25px !important;
    max-width: 100%;
    color: #1d1d1f !important;
}

.memories-text-side .theme-btn {
    padding: 15px 40px;
}

.memories-img-side {
    flex: 0 0 45%;
    display: flex;
    justify-content: flex-end;
}

.memories-img-side img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-height: 700px;
    object-fit: cover;
    object-position: center -70px;
}

@media (max-width: 1830px) {
    .memories-img-side img {
        object-position: center;
    }
}


@media (max-width: 991px) {
    

    .blog-details-area .custom-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .memories-layout-wrapper {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
        margin-bottom: 50px;
    }

    .memories-text-side {
        text-align: center;
        padding: 0 10px; 
    }
    
    .memories-text-side h2 {
        font-size: 36px;
        letter-spacing: -0.5px;
        margin-bottom: 20px;
    }

    .memories-img-side {
        width: 100%;
        justify-content: center;
    }
    
    .memories-img-side img {
        max-height: 500px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        width: 100%;
        object-fit: cover;
        object-position: center -70px;
    }
}

@media (max-width: 520px) {
    .memories-img-side img {
        object-position: center;
    }
}

.hero-sec .hero-sec-content h1 span{
    padding: 0 10px !important;
}

.title-separator {
    display: none !important;
}

.header-title-group {
    display: inline-flex !important;
    gap: 10px;
    align-items: center;
}

.site-title-link,
.memories-link-left {
    padding: 10px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: "Instrument Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: all 0.3s ease;
    line-height: 1;
}

.site-title-link.active-page,
.memories-link-left.active-page {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff !important;
}

.site-title-link.inactive-page,
.memories-link-left.inactive-page {
    background-color: #ffffff;
    color: #000000 !important;
}

.site-title-link.inactive-page:hover,
.memories-link-left.inactive-page:hover {
    border-color: #000000;
    background-color: #fafafa;
}

li.comment-awaiting-moderation {
    display: none !important;
}

/* =========================================
   8. RTL SPECIFIC STYLES
   ========================================= */


body.rtl {
    margin-right: 20px !important;
    margin-left: 0 !important;
}

body.rtl .bronx-main {
    padding-right: 20px !important;
}

body.rtl .comment-form input,
body.rtl .comment-form textarea {
    direction: rtl;
    text-align: right;
}

@media (max-width: 585px) {
  .hero-sec.hero {
    margin-top: 0px !important;
  }
}

@media (max-width: 767px) {
    .comment-content, 
    .comment-text,
    .comment-content p {
        text-align: left !important;
    }
}

@media (max-width: 809px) {
  .motivation-sec {
    padding-top: 0px !important;
  }
  .experience2-sec {
    padding-top: 0px !important;
  }
}

.experience-box .experience-button-box .experience-button svg{
    height: 26px !important;
    width: 26px !important;
    background: #7D7F7C !important;
}