/* =========================================================
   INTERFAITH SHAADI
   SEARCH RESULTS DESIGN
   ========================================================= */

.sr-0970fa45-container {
    width: 100%;
    box-sizing: border-box;

    background: #fff8f3;

    color: #252221;

    padding: 105px 6vw 80px;

    overflow: hidden;
}


/* =========================================================
   HEADER
   ========================================================= */

.sr-0970fa45-header {
    width: 100%;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 70px;

    margin-bottom: 65px;
}


.sr-0970fa45-header-left {
    flex: 1;
    min-width: 0;
}


/* =========================================================
   TOP LABEL
   ========================================================= */

.sr-0970fa45-top-label {
    margin-bottom: 22px;

    color: #e96762;

    font-family: var(
        --e-global-typography-text-font-family,
        Arial,
        sans-serif
    );

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 3px;

    line-height: 1;

    text-transform: uppercase;
}


/* =========================================================
   MAIN TITLE
   ========================================================= */

.sr-0970fa45-title {
    margin: 0 0 22px;

    padding: 0;

    color: #171514;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(
        52px,
        5.1vw,
        76px
    );

    font-weight: 400;

    line-height: .95;

    letter-spacing: -2.8px;
}


.sr-0970fa45-title span {
    color: #171514;
}


.sr-0970fa45-title em {
    color: #e96762;

    font-style: italic;

    font-weight: 400;
}


/* =========================================================
   SUBTITLE
   ========================================================= */

.sr-0970fa45-subtitle {
    margin: 0;

    color: #5f5a57;

    font-family: var(
        --e-global-typography-text-font-family,
        Arial,
        sans-serif
    );

    font-size: 17px;

    font-weight: 400;

    line-height: 1.6;
}


/* =========================================================
   SEARCH AREA
   ========================================================= */

.sr-0970fa45-header-right {
    flex: 0 0 auto;

    width: min(
        100%,
        420px
    );

    padding-bottom: 5px;
}


.sr-0970fa45-search-wrapper {
    position: relative;

    width: 100%;
}


.sr-0970fa45-search-input {
    width: 100%;

    height: 60px;

    box-sizing: border-box;

    padding: 0 25px 0 57px;

    border: 1px solid #e4ddd8;

    border-radius: 40px;

    outline: none;

    background: #ffffff;

    color: #292624;

    font-family: var(
        --e-global-typography-text-font-family,
        Arial,
        sans-serif
    );

    font-size: 16px;

    font-weight: 400;

    line-height: 60px;

    box-shadow:
        0 4px 18px rgba(
            75,
            45,
            35,
            .035
        );

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}


.sr-0970fa45-search-input::placeholder {
    color: #89827d;

    opacity: 1;
}


.sr-0970fa45-search-input:focus {
    border-color: #d9aaa5;

    box-shadow:
        0 6px 22px rgba(
            75,
            45,
            35,
            .08
        );
}


.sr-0970fa45-search-icon {
    position: absolute;

    left: 22px;
    top: 50%;

    width: 20px;
    height: 20px;

    transform: translateY(-50%);

    color: #706965;

    pointer-events: none;
}


/* =========================================================
   RESULTS
   ========================================================= */

.sr-0970fa45-results {
    width: 100%;

    border-top: 1px solid #e5ddd8;
}


/* =========================================================
   POST ROW
   ========================================================= */

.sr-0970fa45-post {
    width: 100%;

    min-height: 150px;

    display: flex;

    align-items: center;

    gap: 28px;

    padding: 24px 0;

    box-sizing: border-box;

    border-bottom: 1px solid #e5ddd8;

    transition:
        background-color .2s ease,
        opacity .2s ease;
}


/* =========================================================
   POST IMAGE
   ========================================================= */

.sr-0970fa45-post-image {
    width: 145px;
    height: 100px;

    flex: 0 0 145px;

    display: block;

    overflow: hidden;

    border-radius: 13px;

    background: #eee5df;

    text-decoration: none;
}


.sr-0970fa45-post-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .45s ease;
}


.sr-0970fa45-post:hover
.sr-0970fa45-post-image img {
    transform: scale(1.04);
}


.sr-0970fa45-placeholder-image {
    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            #eee3dc,
            #ded2ca
        );
}


/* =========================================================
   POST CONTENT
   ========================================================= */

.sr-0970fa45-post-content {
    min-width: 0;

    flex: 1;

    display: flex;

    align-items: baseline;

    flex-wrap: wrap;

    column-gap: 9px;

    row-gap: 5px;
}


/* =========================================================
   CATEGORY
   ========================================================= */

.sr-0970fa45-category {
    flex: 0 0 auto;

    color: #e96762;

    font-family: var(
        --e-global-typography-text-font-family,
        Arial,
        sans-serif
    );

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1.5px;

    line-height: 1.4;

    text-transform: uppercase;

    white-space: nowrap;
}


/* =========================================================
   POST TITLE
   ========================================================= */

.sr-0970fa45-post-title {
    flex: 0 1 auto;

    margin: 0;

    padding: 0;

    color: #1e1b19;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(
        20px,
        1.65vw,
        28px
    );

    font-weight: 400;

    line-height: 1.35;

    letter-spacing: -.35px;
}


.sr-0970fa45-post-title a {
    color: #1e1b19;

    text-decoration: none;

    transition: color .2s ease;
}


.sr-0970fa45-post-title a:hover {
    color: #e96762;
}


/* =========================================================
   DATE
   ========================================================= */

.sr-0970fa45-post-date {
    flex: 0 0 auto;

    color: #85807c;

    font-family: var(
        --e-global-typography-text-font-family,
        Arial,
        sans-serif
    );

    font-size: 14px;

    font-weight: 400;

    line-height: 1.5;

    white-space: nowrap;
}


/* =========================================================
   EMPTY STATES
   ========================================================= */

.sr-0970fa45-no-results,
.sr-0970fa45-search-empty {
    padding: 50px 0;

    color: #777;

    font-size: 17px;

    text-align: center;
}


/* =========================================================
   HIDDEN SEARCH RESULT
   ========================================================= */

.sr-0970fa45-post.is-hidden {
    display: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .sr-0970fa45-container {
        padding:
            80px
            35px
            70px;
    }

    .sr-0970fa45-header {
        gap: 40px;
    }

    .sr-0970fa45-header-right {
        width: 340px;
    }

    .sr-0970fa45-post {
        gap: 22px;
    }

    .sr-0970fa45-post-image {
        width: 135px;
        height: 95px;

        flex-basis: 135px;
    }

    .sr-0970fa45-post-title {
        font-size: 22px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .sr-0970fa45-container {
        padding:
            65px
            20px
            55px;
    }


    .sr-0970fa45-header {
        display: block;

        margin-bottom: 40px;
    }


    .sr-0970fa45-top-label {
        margin-bottom: 17px;

        font-size: 12px;

        letter-spacing: 2.5px;
    }


    .sr-0970fa45-title {
        margin-bottom: 18px;

        font-size: 50px;

        line-height: .95;

        letter-spacing: -2px;
    }


    .sr-0970fa45-subtitle {
        font-size: 15px;

        line-height: 1.55;

        margin-bottom: 30px;
    }


    .sr-0970fa45-header-right {
        width: 100%;

        padding: 0;
    }


    .sr-0970fa45-search-input {
        height: 56px;

        font-size: 15px;

        line-height: 56px;
    }


    .sr-0970fa45-post {
        align-items: flex-start;

        gap: 18px;

        padding: 22px 0;
    }


    .sr-0970fa45-post-image {
        width: 105px;
        height: 78px;

        flex-basis: 105px;

        border-radius: 10px;
    }


    .sr-0970fa45-post-content {
        display: block;
    }


    .sr-0970fa45-category {
        display: block;

        margin-bottom: 6px;

        font-size: 10px;

        letter-spacing: 1.2px;

        white-space: normal;
    }


    .sr-0970fa45-post-title {
        display: block;

        margin-bottom: 7px;

        font-size: 18px;

        line-height: 1.3;

        letter-spacing: -.2px;
    }


    .sr-0970fa45-post-date {
        display: block;

        font-size: 12px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .sr-0970fa45-container {
        padding:
            50px
            16px
            45px;
    }


    .sr-0970fa45-title {
        font-size: 44px;
    }


    .sr-0970fa45-post {
        gap: 14px;
    }


    .sr-0970fa45-post-image {
        width: 90px;
        height: 70px;

        flex-basis: 90px;
    }


    .sr-0970fa45-post-title {
        font-size: 16px;
    }

}