/* ==========================================================================
   GYC Members Directory — Grid + Modal Styling
   Ported directly from the original site's style_1.css (member/modal rules only)
   Location: hello-elementor-child/members/css/gyc-members.css
   ========================================================================== */

/* ---- Layout helpers (match original) ---- */
.container {
    max-width: 80%;
    margin: 0 auto;
}

.directory-row:after {
    content: "";
    display: table;
    clear: both;
}

.members-column {
    float: left;
    width: 20%;
    padding: 10px;
    height: 390px;
}

/* ---- Section background ---- */
.members-directory {
    padding: 40px 0;
    background: #f8fafb;
}

.members-directory h1 {
    font-size: 28px;
    padding: 25px 0;
}

/* ---- Page title banner ----
   NOTE: needs the original gulsanbanner.jpg background image dropped into
   /members/images/ — grab it from your downloaded site copy and update the
   url() path below if you place it elsewhere. */
.m-page-title {
    position: relative;
    background: url(../images/gulsanbanner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: inherit;
    background-position: center center;
    padding: 170px 0;
    z-index: 1;
}

.m-page-title h1 {
    font-size: 35px;
    font-weight: 900;
    color: #fff;
    text-align: right;
    margin-right: 183px;
	font-family: "Trebuchet MS";
}

.m-page-title h2 {
    font-weight: 600;
    color: #F8BF5A;
    text-align: right;
    margin-right: 120px;
    font-size: 45px;
	font-family: "Trebuchet MS";
}

/* ---- Member card image ---- */
.member-image img {
    border: 2px solid #B5771C;
    border-radius: 5px;
    height: 260px;
    width: 240px;
    transition: all 0.5s;
    box-sizing: border-box;
    max-width: 100%;
}

.member-image img:hover {
    transform: scale(0.9) rotate(3deg);
}

/* ---- Member card text ---- */
.member-item {
    text-align: center;
}

.member-item h2 {
    font-size: 25px;
}

.member-item .member-id {
    color: #312F2C;
    font-size: 20px;
	font-family: auto;
}

.member-item p {
	font-family: auto;
    font-weight: 700;
    font-style: italic;
	font-family: "Trebuchet MS";
}

.member-item a {
    color: #000;
}

.member-item a:hover {
    color: #F8BF5A;
}

.member-id {
    margin: 0;
}

/* ---- Modal (jQuery Modal 0.9.1) ---- */
.modal {
    max-width: 800px !important;
    padding: 15px !important;
}

.blocker {
    top: 0% !important;
    z-index: 99999 !important;
}

.single-member {
    background-image: linear-gradient(to right, rgba(196, 157, 83, 0), rgb(255, 224, 150));
}

.member-details {
    padding: 30px;
    font-family: auto;
}

.member-details-top {
    text-align: center;
}

.member-details-top .title {
    font-weight: 700;
    font-size: 18px;
}

.member-details-top img {
    max-width: 190px;
    border: 2px solid #B5771C;
    border-radius: 5px;
}

.member-details-bottom {
    border: 1px solid #d9d5d5;
    padding: 15px;
}

.member-details {
    padding: 30px;
}

.member-details span {
    font-weight: 700;
}

.member-details p {
    margin: 10px 0;
}

/* ---- Responsive (matches original breakpoint) ---- */
@media all and (max-width: 768px) {
    .members-column {
        width: 100%;
    }

    .m-page-title {
        padding: 100px 0;
        background-position: right center;
    }

    .m-page-title h1 {
        font-size: 28px;
        text-align: center;
        margin: 0;
    }

    .m-page-title h2 {
        font-size: 33px;
        text-align: center;
        margin: 0;
    }

    .blocker {
        height: auto !important;
    }
}