/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
/*==============Pop up Upper case class==========*/
.u-upper {
  text-transform: uppercase !important;
	font-weight: 700 !important;
}



@media (min-width: 1250px) {
    .btn-member {
        margin-left: clamp(30px, 60vw - 720px, 150px) !important;
    }
}

/**
 * ------------------------------------------------------------------
 * FLUID RESPONSIVE HEADER (1024px - 1450px)
 * ------------------------------------------------------------------
 */

/* --- 1. Global Flexbox & Logo --- */
.bricks-nav-menu {
    align-items: center !important;
}


/**
 * ------------------------------------------------------------------
 * BUTTON STYLES (Fluid)
 * ------------------------------------------------------------------
 */

/* Base shared styles */
.btn-member a,
.btn-signup a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
    /* Typography: Fluid Font Size
       Scales smoothly between 16px (at 1024px) and 18px (at 1450px) */
    font-size: clamp(16px, 0.5vw + 11px, 18px);
    
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0.3px;
    text-decoration: none;
    white-space: nowrap; 
    
    /* Box Model */
    border-radius: 24px;
    transition: all 0.3s ease;
    
    /* Vertical Padding: Fluid from 1.5rem to 1.8rem */
    padding-top: clamp(1.5rem, 0.5vw + 1rem, 1.8rem) !important;
    padding-bottom: clamp(1.5rem, 0.5vw + 1rem, 1.8rem) !important;
}

/* --- Member Portal Button --- */
.btn-member a {
    background: #fff;
    border: 2px solid #1C75BC;
    color: #1C75BC !important;
    gap: 10px;
    
    /* FLUID PADDING CALCULATION:
       Min: 2rem (at 1024px)
       Max: 4rem (at 1450px)
       Slope: Grows dynamically with viewport width (vw) */
    padding-left: clamp(2rem, 7.5vw - 5.5rem, 4rem) !important;
    padding-right: clamp(2rem, 7.5vw - 5.5rem, 4rem) !important;
}

.btn-member a::after {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    background-image: url("https://phmembers2025.wpenginepowered.com/wp-content/uploads/2025/10/Member-Portal-icon-.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: filter 0.3s ease;
}

/* --- Sign Up Button --- */
.btn-signup a {
    background: #1C75BC;
    border: 2px solid #1C75BC;
    color: #fff !important;
    gap: 10px;
    
    /* FLUID PADDING CALCULATION:
       Min: 2.5rem (at 1024px)
       Max: 8rem (at 1450px) - This is a very aggressive shrink */
    padding-left: clamp(2.5rem, 20vw - 18rem, 8rem) !important;
    padding-right: clamp(2.5rem, 20vw - 18rem, 8rem) !important;
}

.btn-signup a::after {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    -webkit-mask-image: url("https://memberspremdev.wpenginepowered.com/wp-content/uploads/2025/10/signup-arrow.svg");
    mask-image: url("https://memberspremdev.wpenginepowered.com/wp-content/uploads/2025/10/signup-arrow.svg");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

/**
 * ------------------------------------------------------------------
 * HOVER STATES
 * ------------------------------------------------------------------
 */

.btn-member a:hover {
    background-color: #1C75BC;
    color: #fff !important;
    transform: scale(1) !important;
}

.btn-member a:hover::after {
    filter: brightness(0) invert(1);
}

.btn-signup a:hover {
    background-color: #fff !important;
    color: #1C75BC !important;
    transform: scale(1) !important;
}

.btn-signup a:hover::after {
    background-color: #1C75BC;
}

/**
 * ------------------------------------------------------------------
 * MOBILE BREAKPOINT
 * ------------------------------------------------------------------
 */

/* * We removed the 1366px query because the clamp() handles it now.
 * We keep 1024px to handle the hard switch to Tablet Portrait/Mobile layout.
 */
@media (max-width: 1024px) {
    /* Optional: Reset buttons to full width if inside a mobile menu drawer */
    .btn-member a, 
    .btn-signup a {
        padding: 1rem !important; /* Reset to standard mobile padding */
        width: 70%;
        justify-content: center;
        font-size: 16px;
		margin-top:20px;
		margin-left:30px;
    }
}