/*
 Theme Name:  SweetMeet Child - Profile Page CSS
 Theme URI:   https://sweetmeet.nz
 Description: Child theme for PremiumPress SweetMeet Site 
 Author: 	  Tony
 Template:    DA10
 Version:     1.0
*/

/*|--------------------------------------------------------------------------
  | Hide Breadcrumb
  |------------------------------------------------------------------------*/
.single-listing_type .single-breadcrumbs {
    display: none;
}


/* ========================================
   Profile Page
   ======================================== */
.sm-profile-name{
    font-size:48px;
    font-weight:600;
}

.sm-profile-age-location{
    font-size:18px;
    font-weight:800;
    color:#666;
}

.sm-profile-intro {
	font-size:17px;
    position: relative;
    padding-left: 1px;
	padding-right: 1px;
	padding-top: 5px;
    font-style: italic;
	font-weight:400;
    color: #676666;
}


/* =========================================================
   Willing to Travel
   ========================================================= */
.sm-profile-travelmeet {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
}

.sm-profile-travelmeet i {
    color: #C8A96A;
    font-size: .9rem;
}

.sm-profile-travelmeet strong {
    font-weight: 600;
    color: #222;
}

.sm-profile-travelmeet span {
    color: #444;
}


/* =========================================================
   DOB Fields
   ========================================================= */
.sm-dob-fields {
    display: grid;
    grid-template-columns: 0.8fr 1.4fr 1fr;
    gap: 12px;
}

@media (max-width: 600px) {
    .sm-dob-fields {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   I'm Looking For
   ========================================================= */
.sm-profile-feature-list {
    list-style: none;
    margin: .5rem 0 0;
    padding: 0;
}

.sm-profile-feature-list li {
    margin: 0 0 .3rem;
    padding-left: 1.2rem;
    position: relative;
}

.sm-profile-feature-list li::before {
    content: "✓";
    color: #C8A96A;
    font-weight: 600;
    position: absolute;
    left: 0;
}




/*|--------------------------------------------------------------------------
  | Profile badges
  |------------------------------------------------------------------------*/
.sm-profile-badges .ppt-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
}

/* Individual PremiumPress badge */
.sm-profile-badges .ppt-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    width: auto;
    min-height: 36px;
    padding: 7px 13px;
    margin: 0;

    color: #000000 !important;
    background: #C8A96A !important;
    border: 1px solid #C8A96A !important;
    border-radius: 4px;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;

    box-shadow: none;
}

/* PremiumPress sometimes uses a pseudo-element for the label/icon */
.sm-profile-badges .ppt-badges .badge::before,
.sm-profile-badges .ppt-badges .badge::after {
    color: #000000 !important;
}

/* Icons inside badges */
.sm-profile-badges .ppt-badges .badge i,
.sm-profile-badges .ppt-badges .badge svg {
    color: #000000 !important;
    fill: currentColor;
}

/* Remove any unwanted internal spacing */
.sm-profile-badges .ppt-badges .badge_tooltip {
    margin: 0;
}


/* =========================================================
   More About Me
   ========================================================= */

.sm-profile-more-about {
    width: 100%;
}

.sm-profile-section-heading {
    margin: 0;
    font-size: 21px;
    font-weight: 600;
    color: #111;
}

.sm-profile-section-accent {
    width: 180px;
    height: 1px;
    margin: 7px 0 7px;
    background: #C8A96A;
}

.sm-profile-section-accent::after {
    display: block;
    width: 5px;
    height: 5px;
    margin-left: 90px;
    content: "";
    border-radius: 50%;
    background: #C8A96A;
    transform: translateY(-2px);
}

.sm-profile-details-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.sm-profile-detail-row {
    display: grid;
    grid-template-columns: minmax(110px, 145px) 1fr;
    column-gap: 24px;
    align-items: start;
}

.sm-profile-detail-label {
    font-weight: 600;
    color: #222;
}

.sm-profile-detail-value {
    color: #444;
}

@media (max-width: 600px) {
    .sm-profile-detail-row {
        grid-template-columns: 120px 1fr;
        column-gap: 16px;
    }
}


/*|--------------------------------------------------------------------------
  | My Appearance
  |------------------------------------------------------------------------*/

.sm-profile-appearance {
    margin: 0;
}

.sm-profile-appearance-content {
    display: grid;
    gap: 0;
}

.sm-profile-appearance-row {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding: 0.65rem 0;
    border-bottom: 1px solid #eeeeee;
}

.sm-profile-appearance-row:last-child {
    border-bottom: 0;
}

.sm-profile-appearance-label {
    color: #777777;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
}

.sm-profile-appearance-value {
    color: #222222;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .sm-profile-appearance-row {
        grid-template-columns: 5rem minmax(0, 1fr);
        gap: 0.6rem;
    }
}


/*|--------------------------------------------------------------------------
  | More About Me
  |------------------------------------------------------------------------*/

.sm-profile-more-about {
    margin: 0;
}

.sm-profile-more-about-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.sm-profile-fact-group {
    min-width: 0;
}

.sm-profile-fact-group-heading {
    margin: 0 0 1rem;
    color: #222222;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
}

.sm-profile-facts-grid {
    display: grid;
    gap: 0.6rem;
}

.sm-profile-fact {
    min-width: 0;
	padding-bottom: 0.40rem;
	border-bottom: 1px solid #eeeeee;
}

.sm-profile-fact-label {
    margin-bottom: 0.2rem;
    color: #666666;
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.35;
}

.sm-profile-fact-value {
    color: #222222;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.45;
    overflow-wrap: anywhere;
	
}

/* Tablet */
@media (max-width: 1024px) {
    .sm-profile-more-about-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 767px) {
    .sm-profile-more-about-content {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .sm-profile-facts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 1.25rem;
    }

    .sm-profile-fact-group-heading {
        margin-bottom: 0.9rem;
    }
}

/* Narrow mobile */
@media (max-width: 480px) {
    .sm-profile-facts-grid {
        grid-template-columns: 1fr;
    }
}


/*|--------------------------------------------------------------------------
  | My Interests
  |------------------------------------------------------------------------*/

.sm-profile-interests {
    margin: 0;
}

.sm-profile-interests-list {
    display: grid;
    grid-template-columns: 1fr;
	margin-top: 12px;
}

.sm-profile-interest-group {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    align-items: start;
    gap: 0.8rem;

    padding: 0.8rem 0;

    border-bottom: 1px solid #e5e5e5;
}

.sm-profile-interest-group:first-child {
    padding-top: 0;
}

.sm-profile-interest-group:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.sm-profile-interest-icon {
    display: flex;
    justify-content: center;
    align-items: flex-start;

    color: #C8A96A;
    font-size: 1.15rem;
    line-height: 1.4;
}

.sm-profile-interest-icon i {
    width: 1.25rem;
    text-align: center;
}

.sm-profile-interest-content {
    min-width: 0;
}

.sm-profile-interest-heading {
    margin: 0 0 0.15rem;

    color: #222222;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.sm-profile-interest-values {
    color: #444444;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;

    overflow-wrap: anywhere;
}

/* Tablet and wider */
@media (min-width: 768px) {
    .sm-profile-interests-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 2rem;
    }

    .sm-profile-interest-group {
        border-bottom: 1px solid #e5e5e5;
    }

    /*
     * Remove the bottom border from the final row
     * when six groups are displayed.
     */
    .sm-profile-interest-group:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .sm-profile-interest-group {
        grid-template-columns: 2rem minmax(0, 1fr);
        gap: 0.65rem;
        padding: 0.75rem 0;
    }

    .sm-profile-interest-icon {
        font-size: 1.05rem;
    }

    .sm-profile-interest-heading,
    .sm-profile-interest-values {
        font-size: 0.95rem;
    }
}


/*|--------------------------------------------------------------------------
  | Profile Actions
  |------------------------------------------------------------------------*/

.sm-profile-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.sm-profile-actions .sm-profile-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 2.25rem;
    margin: 0;
    padding: 0.45rem 1rem;
    border: 1px solid #c8a96a;
    border-radius: 3px;
    background: transparent;
    color: #080808;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.sm-profile-actions .sm-profile-action:hover,
.sm-profile-actions .sm-profile-action:focus {
    border-color: #c8a96a;
    background: #c8a96a;
    color: #ffffff;
    text-decoration: none;
}

.sm-profile-actions .sm-profile-action-message {
    background: #c8a96a;
    color: #ffffff;
}

.sm-profile-actions .sm-profile-action-message:hover,
.sm-profile-actions .sm-profile-action-message:focus {
    background: #b89656;
    border-color: #b89656;
    color: #ffffff;
}

/*=========================================================
  SweetMeet - Express Interest Button
=========================================================*/

.sm-profile-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.sm-profile-interest {
    margin: 0;
}

.sm-profile-interest.is-compact {
    display: flex;
    align-items: center;
}

.sm-profile-interest__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 2.25rem;
    margin: 0;
    padding: 0.45rem 1rem;
    border: 1px solid #c8a96a;
    border-radius: 3px;
    background: transparent;
    color: #080808;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.sm-profile-interest__button:hover {
    border-color: #c8a96a;
    background: #c8a96a;
    color: #ffffff;
    text-decoration: none;
}

.sm-profile-interest__button.is-sent,
.sm-profile-interest__button:disabled {
    background: transparent;
    border-color: #c8a96a;
    color: #080808;
    cursor: default;
}

.sm-profile-interest__status {
    display: none;
}

/* Mobile */

@media (max-width:767px){

    .sm-profile-actions{

        display:flex;
        flex-direction:column;
        align-items:stretch;

    }

    .sm-profile-interest,
    .sm-profile-interest__button{

        width:100%;

    }

}

@media (max-width: 767px) {
    .sm-profile-actions {
        width: 100%;
    }

    .sm-profile-actions .sm-profile-action {
        flex: 1 1 auto;
    }
}



/* Mobile */

@media (max-width: 767px) {

    .sm-profile-gallery-arrow {
        width: 38px;
        height: 38px;
        font-size: 22px;
        opacity: 1;
    }

    .sm-profile-gallery-prev {
        left: 10px;
    }

    .sm-profile-gallery-next {
        right: 10px;
    }

    .sm-profile-gallery-count {
        top: 10px;
        left: 10px;
    }

    .sm-profile-gallery-thumb {
        width: 70px;
        height: 80px;
    }
}