/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* =========================================================
   PARTNER PAGE
========================================================= */

.partner-single-page {
    width: 100%;
}

.partner-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.partner-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}


/*
 * Dark overlay
 */

.partner-hero-overlay {
    position: absolute;
    inset: 0;
   background: linear-gradient(90deg, #ff002d5e, #ffffff00)
}


/* Hero container */

.partner-hero .partner-container {
    position: relative;
    z-index: 2;
}


/* Hero layout */

.partner-hero-inner {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 90px 0;
}


/* =========================================================
   LOGO
========================================================= */

.partner-logo {
    width: 100px;
    height: 100px;

    flex: 0 0 100px;

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #FF002D;
    border-radius: 12px;
    background: rgba(0, 0, 0, .5);
}


.partner-logo img,
.partner-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.partner-hero-content {
    max-width: 700px;
}


/* Categories */

.partner-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}


.partner-category {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 30px;
    background: #FF002D;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}
span.partner-discount {
    background : #000;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 10px;
}

/* Title */

.partner-hero-title {
    margin: 0 0 10px;
    color: #fff;
    font-size: 52px;
    line-height: 1.1;
}


/* Excerpt */

.partner-hero-excerpt {
    max-width: 620px;
    color: #fff;
    font-size: 17px;
    line-height: 1.6;
}


.partner-hero-excerpt p {
    margin: 0;
}


/* =========================================================
   INFORMATION SECTION
========================================================= */

.partner-information-section {
    padding: 60px 0 100px;
    background: #000;
}


/* Two cards */

.partner-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 40px;
}


.partner-location-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



/* =========================================================
   INFO CARD
========================================================= */

.partner-info-card {
    min-height: 145px;
    padding: 25px;
    box-sizing: border-box;
    border-radius: 8px;
    background: #FF002D;
    color: #fff;
	line-height: 2;
}


/* Label */

.partner-info-label {
    margin-bottom: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
}


/* Location */

.partner-location-value {
    margin-bottom: 18px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}


/* =========================================================
   VIEW DIRECTION BUTTON
========================================================= */

.partner-action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border: 1px solid #fff;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s ease;
}


.partner-action-button:hover {
    background: #fff;
    color: #FF002D;
}


/* =========================================================
   DISCOUNT
========================================================= */

.partner-discount-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Discount code */

.partner-discount-code {
    display: flex;
    align-items: center;
	min-width: 300px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px dashed #fff;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.partner-discount-wrapper.hide  .partner-discount-code span {
	filter: blur(3px);
}

/* Copy button */

.partner-copy-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: .2s ease;
}


.partner-copy-button:hover,
.partner-copy-button.copied {
    background: #fff;
    color: #FF002D;
}


/* =========================================================
   ABOUT US
========================================================= */

.partner-about {
    max-width: 900px;
    margin: 0 auto;
    padding: 35px 40px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 8px;
    background: #000;
}


.partner-about-title {
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #FF002D;
    color: #fff;
    font-size: 24px;
}


/* Description */

.partner-about-content {
    color: #b7b7b7;
    font-size: 15px;
    line-height: 1.8;
}


.partner-about-content p {
    margin: 0 0 18px;
}


.partner-about-content p:last-child {
    margin-bottom: 0;
}


/*
 * Headings inside description
 */

.partner-about-content h2,
.partner-about-content h3,
.partner-about-content h4 {
    color: #fff;
}


/*
 * Links inside description
 */

.partner-about-content a {
    color: #FF002D;
}


/* =========================================================
   COPY NOTIFICATION
========================================================= */

.partner-copy-notification {
    position: fixed;
    left: 50%;
    bottom: 30px;
    z-index: 99999;
    padding: 12px 20px;
    border-radius: 5px;
    background: #FF002D;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 20px);
    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;
    pointer-events: none;
}


.partner-copy-notification.show {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%, 0);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .partner-container {
        width: min(100% - 30px, 1200px);
    }

    .partner-hero {
        min-height: 450px;
    }


    .partner-hero-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding: 70px 0;
    }


    .partner-logo {
        width: 80px;
        height: 80px;
        flex-basis: 80px;
    }


    .partner-hero-title {
        font-size: 38px;
    }


    .partner-hero-excerpt {
        font-size: 15px;
    }


    .partner-info-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .partner-about {
        padding: 25px 20px;
    }

}