/* ==========================================
   HOSTS SECTION
========================================== */

.hosts-section {
    position: relative;
    background: #f6f6f6;
    padding: 210px 40px 140px;
    overflow: hidden;
}

.hosts-section .pattern-layer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 99px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

.hosts-container {
    max-width: 1350px;
    margin: 0 auto;
}

/* ==========================================
   TITLE
========================================== */

.hosts-title {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 70px;
}

.hosts-title .upper-text {
    background: linear-gradient(
        90deg,
        #1DB954 0%,
        #3AF372 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
    color: transparent;

    display: inline-block;

    margin-bottom: 12px;

    font-size: 34px;
    font-weight: 700;
}

.hosts-title h3 { 
    font-size: 34px!important;
}

.hosts-title h2 {
    font-size: 38px;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #000;
}

.hosts-title h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 28px;
    color: #000;
}

.hosts-title p {
    font-size: 20px;
    line-height: 1.5;
    color: #111;
}

/* ==========================================
   GRID
========================================== */

.hosts-grid,
.hosts-extra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 38px;
}

/* ==========================================
   EXTRA WHITE AREA
========================================== */

.hosts-extra-wrap {
    display: none;

    position: relative;

    width: 100vw;

    left: 50%;
    transform: translateX(-50%);

    background: #ffffff;

    margin-top: 55px;

    padding: 80px 40px 120px;

    z-index: 2;
}

.hosts-extra-wrap::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: -200px;

    left: 0;
    right: 0;

    background: #ffffff;

    z-index: -1;
}

.hosts-extra-wrap.show-extra {
    display: block;
}

.hosts-extra-grid {
    max-width: 1350px;
    margin: 0 auto;
}

/* ==========================================
   CARD
========================================== */

.host-card {
    background: #ffffff;
    border-radius: 30px;
    border: 1px solid #DA366C;
    overflow: hidden;
    transition: all 0.35s ease;
    cursor: pointer;
}

.host-card:hover {
    transform: translateY(-8px);
    box-shadow: 6px 6px 0px #DA366C;
}

.host-card .inner-box {
    position: relative;
    display: block;
    padding: 18px 18px 26px;
}

/* ==========================================
   IMAGE BOX
========================================== */

.host-card .image-box {
    position: relative;

    width: 100%;
    height: 350px;

    border-radius: 22px;

    overflow: hidden;

    background: #b1b1b1;
}

/* Main Image */

.host-card .image-box > img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    display: block;
}

/* Hover Overlay */

.host-card .image-box .overlay-image {
    position: absolute;
    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #b1b1b1;

    transform: translateY(-50%) scaleY(1.5);
    opacity: 0;
    filter: blur(10px);

    transition: all 0.5s ease;

    z-index: 1;
}

.host-card .image-box .overlay-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    display: block;
}

.host-card:hover .image-box .overlay-image {
    transform: translateY(0) scaleY(1);
    opacity: 1;
    filter: blur(0);
}

/* ==========================================
   CARD CONTENT
========================================== */
/* ==========================================
   CARD CONTENT
========================================== */

.host-card{
    display:flex;
    height:100%;
}

.host-card .inner-box{
    position:relative;

    display:flex;
    flex-direction:column;

    height:100%;
    flex:1;

    padding:18px 18px 26px;
}

.host-card .lower-content{
    position:relative;

    display:flex;
    flex-direction:column;

    flex:1;

    padding-top:24px;
}

.host-card .lower-content h3{
    font-size:22px;
    line-height:1.2;
    color:#DA366C;
    margin-bottom:12px;
}

.host-card .lower-content p{
    font-size:16px;
    line-height:1.45;
    color:#111;
    margin-bottom:34px;

    flex:1; /* pushes button down */
}

.host-card .lower-content a{
    display:inline-flex;
    align-items:center;
    gap:8px;

    color:#000;
    font-size:15px;
    font-style:italic;
    text-decoration:none;

    margin-top:auto;

    transition:all 0.3s ease;
}

.host-card .lower-content a span{
    width:22px;
    height:22px;

    border-radius:50%;

    background:#a8a8a8;
    color:#000;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    font-style:normal;

    transition:all 0.3s ease;
}

.host-card .lower-content a:hover {
    color: #DA366C;
}

.host-card .lower-content a:hover span {
    background: #DA366C;
    color: #ffffff;
}

/* ==========================================
   BUTTON
========================================== */

.hosts-btn-wrap {
    margin-top: 60px;
    text-align: center;
}

.hosts-toggle-btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    border: 2px solid #DA366C;
    border-radius: 60px;

    background: #DA366C;
    color: #ffffff;

    padding: 18px 38px;

    font-size: 20px;
    font-weight: 700;

    overflow: hidden;
    cursor: pointer;

    transition: all 0.4s ease;
}

.hosts-toggle-btn::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;

    width: 0%;
    height: 100%;

    background: #ffffff;

    transition: all 0.4s ease;

    z-index: 1;
}

.hosts-toggle-btn strong,
.hosts-toggle-btn span {
    position: relative;
    z-index: 2;
}

.hosts-toggle-btn span {
    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: #ffffff;
    color: #DA366C;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    transition: all 0.4s ease;
}

.hosts-toggle-btn:hover::before {
    width: 100%;
}

.hosts-toggle-btn:hover {
    color: #DA366C;
}

.hosts-toggle-btn:hover span {
    background: #DA366C;
    color: #ffffff;
}

/* ==========================================
   HOST MODAL
========================================== */

.host-modal {
    position: fixed;
    inset: 0;

    z-index: 99999999 !important;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 40px;
}

.host-modal.active {
    display: flex;
}

.host-modal-backdrop {
    position: absolute;
    inset: 0;

    z-index: 1;

    background: rgba(0, 0, 0, 0.28);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

/* ==========================================
   MODAL BOX
========================================== */

.host-modal-box {
    position: relative;
    z-index: 2;

    width: min(1380px, 94vw);

    background: #ffffff;

    border: 1px solid rgba(218, 54, 108, 0.7);

    border-radius: 50px;

    padding: 42px 52px;

    display: grid;

    grid-template-columns: 0.95fr 1.15fr;

    gap: 42px;

    box-shadow:
        8px 8px 0px rgba(0, 0, 0, 0.18),
        0 20px 60px rgba(0, 0, 0, 0.18);

    transform: translateY(20px) scale(0.96);
    opacity: 0;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;

    max-height: 88vh;

    overflow-y: auto;
}

.host-modal.active .host-modal-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* ==========================================
   CLOSE BUTTON
========================================== */

.host-modal-close {
    position: absolute;

    top: 24px;
    right: 30px;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background: #FFEFF4;
    color: #DA366C;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
}

.host-modal-close:hover {
    background: #DA366C;
    color: #ffffff;
}

/* ==========================================
   MODAL IMAGE
========================================== */

.host-modal-image {
    min-height: 560px;
    max-height: 760px;

    border-radius: 30px;

    background: #a8a8a8;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.host-modal-image img {
    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;
    object-position: center top;

    display: block;
}

/* ==========================================
   MODAL CONTENT
========================================== */

.host-modal-content {
    display: flex;
    flex-direction: column;

    justify-content: flex-start;

    padding-top: 6px;
}

.host-modal-content h3 {
    color: #DA366C;

    text-transform: uppercase;

    font-size: 30px;
    line-height: 1.1;

    margin-bottom: 24px;
}

.host-modal-content h4 {
    font-size: 19px;
    font-weight: 700;

    margin-top: 2px;
    margin-bottom: 10px;

    color: #111111;
}

.host-modal-content p {
    font-size: 17px;
    line-height: 1.55;

    margin-bottom: 20px;

    color: #111111;

    max-width: 95%;
}

/* ==========================================
   TAGS
========================================== */

.host-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 22px;
}

.host-tags span {
    min-width: auto;

    padding: 10px 18px;

    border-radius: 40px;

    background: #DA366C;

    text-align: center;

    font-size: 14px;
    line-height: 1.1;

    color: #ffffff;
}

/* ==========================================
   SOCIAL LINKS
========================================== */

.host-social-links {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-bottom: 22px;
}

.host-social-links a,
.host-social-links span {
    color: #DA366C;

    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;

    text-decoration: none;
}

.host-social-links a:hover {
    text-decoration: underline;
}

/* ==========================================
   RESPONSIVE
========================================== */
@media only screen and (max-width: 1500px){
     .hosts-container {
        padding-left: 50px;
        padding-right: 50px;
    }
}


@media only screen and (max-width: 1150px) {
    .hosts-section {
        padding: 170px 0px 90px;
        margin-top: -90px;
    }

    .hosts-container {
        padding-left: 90px;
        padding-right: 90px;
    }

    .hosts-grid{
        padding-bottom: 40px;
    }

    .hosts-grid,
    .hosts-extra-grid {
        grid-template-columns: 1fr;
    }

    .hosts-extra-wrap {
        margin-left: -24px;
        margin-right: -24px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .host-card .image-box{
    width: 55%;
    height: 600px;
    margin: 0 auto;
    }

    .host-modal-box {
        width: min(1000px, 94vw);

        grid-template-columns: 1fr;

        padding: 35px;

        gap: 35px;

        border-radius: 35px;
    }

    .host-modal-image{
        width: 60%;
        margin: 0 auto;

        min-height: 450px;
        max-height: 550px;
    }

    .host-modal-content h3{
        font-size: 24px!important;
    }
}

@media only screen and (max-width: 767px) {
    .hosts-section {
        padding: 180px 0px 0px 0px;
    }

    .hosts-grid {
        margin-left: -10px;
        margin-right: -10px;
        padding-bottom: 110px;
    }

    .hosts-title h3 { 
    font-size: 30px!important;
    }

    .hosts-title h2 {
        font-size: 32px;
    }

    .hosts-title h4 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 28px;
        color: #000;
    }

    .hosts-title p {
        font-size: 17px;
        line-height: 1.5;
        color: #111;
    }
    
    .host-card .inner-box .lower-content p{
        font-size: 15px;
    }

    .host-card .image-box{
    width: 80%;
    height: 450px;
    margin: 0 auto 25px;
    }

    .host-modal-content h3{
        font-size: 22px!important;
    }
}

@media only screen and (max-width: 650px){

    .hosts-section {
        padding: 170px 10px 0px;
        margin-top: -90px;
    }
    
    .hosts-container {
        padding: 0px 30px 0px;
    }

    .hosts-grid,
    .hosts-extra-grid {
        grid-template-columns: 1fr;
    }


    .hosts-title p {
        font-size: 17px;
    }

    .hosts-extra-wrap {
        margin-left: -24px;
        margin-right: -24px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .host-modal {
        padding: 18px;
    }

    .host-modal-box {
        padding: 24px;

        border-radius: 28px;

        gap: 28px;
    }

    .host-modal-image {
        min-height: 320px;
        max-height: 420px;
    }

    .host-modal-content h3 {
        font-size: 28px;
    }

    .host-modal-content p {
        font-size: 15px;
        line-height: 1.5;

        max-width: 100%;
    }

    .host-social-links a,
    .host-social-links span {
        font-size: 14px;
    }
}

@media only screen and (max-width: 480px){
.host-card .image-box{
        width: 70%;
        height: 420px;
        margin: 0 auto;
    }
}