/* 테이스팅 게시판 리스트 */
.tasting_lists.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4.375em 1em;
}

.tasting_lists.grid .tasting_item {
    width: calc(33% - 1em);
}

.tasting_lists.grid .inner {
    background-color: var(--bg-color);
}

.tasting_lists .tasting_tit_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 2.6428571429em;
    font-size: 0.875em;
    padding: 0 1em;
    color: var(--color-w);
    background-color: var(--main-color);
}

.tasting_lists .tasting_tit_box .logo {
    height: 0.7142857143em;
    opacity: 0.5;
}

.tasting_lists .tasting_tit_box .logo img {
    width: auto;
    height: 100%;
}

.tasting_lists .wine_lists {
    display: flex;
    padding: 1.5625em 0;
}

.tasting_lists .wine_item {
    position: relative;
    flex: 1 1;
    padding: 0 1.375em;
}

.tasting_lists .wine_item + .wine_item::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 24.5625em;
    max-height: 100%;
    border-left: 1px solid var(--border-color2);
}

.tasting_lists .wine_box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 18.0625em;
    margin-bottom: 2.5em;
}

.tasting_lists .wine_box img {
    max-width: 100%;
    width: auto;
    height: 100%;
}

.tasting_lists .txt_box {
    display: block;
    font-size: 1em;
    line-height: 1.375em;
    text-align: center;
    word-break: keep-all;
}

.tasting_lists .txt_box .tit {
    display: block;
    color: var(--color-basic);
    font-weight: 500;
    margin-bottom: 5px;
}

.tasting_lists .txt_box .desc {
    display: block;
    color: var(--color-desc);
    font-size: 0.875em;
}

/* 테이스팅 게시판 상세 */
.tasting_read_wrap .tasting_read_head {
    padding-bottom: 1.75em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-basic);
    border-bottom: 1px solid var(--color-sub2);
}

.tasting_read_wrap .weeks {
    font-size: 1.5em;
    font-weight: 700;
}

.tasting_read_wrap .date {
    font-size: 1em;
    color: var(--color-sub2);
}

.tasting_read_wrap .tasting_item_box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2.5em 3.25em;
    padding: 2.5em 0 3.75em;
}

.tasting_read_wrap .tasting_img_box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25.6875em;
    aspect-ratio: 411/477;
    background-color: var(--gray-light);
}

.tasting_read_wrap .tasting_img_box img {
    width: 100%;
    height: 83.64%;
    object-fit: contain;
}

.tasting_read_wrap .tasting_txt_box {
    text-align: center;
    max-width: calc(100% - 25.6875em - 3.25em);
	flex:1;
}

.tasting_read_wrap .tasting_name {
    display: block;
    font-size: 2em;
    font-weight: 400;
    line-height: 1.3125em;
    margin-bottom: 0.25em;
}

.tasting_read_wrap .desc {
    font-size: 1.25em;
    color: var(--color-desc);
    margin-bottom: 0.8em;
}

.tasting_read_wrap .capacity {
    display: block;
    color: var(--main-color);
    font-weight: 700;
}

.tasting_read_wrap .tasting_tit {
    position: relative;
    display: block;
    font-size: 1.25em;
    line-height: 1.5;
    color: var(--color-b);
    margin: 2em 0;
    padding-bottom: 2em;
}

.tasting_read_wrap .tasting_tit::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 2em;
    margin-left: -1em;
    border-bottom: 1px solid var(--color-sub1);
}

.tasting_read_wrap .tasting_txt {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.625em;
    color: var(--color-b);
}

.tasting_read_wrap .tasting_info_lists {
    display: flex;
    justify-content: space-between;
    padding: 3.75em 3.75em 3em;
    color: var(--color-b);
    border-top: 1px solid #acacac;
    border-bottom: 1px solid #acacac;
    line-height: 1.5625em;
    gap: 0 min(8.6458333333vw, 10.375em);
    word-break: keep-all;
	width:100%;
}

.tasting_read_wrap .tasting_info_lists .tit {
    display: block;
    font-size: 1.25em;
    color: var(--main-color);
    font-weight: 500;
    line-height: 1.4em;
    margin-bottom: 0.3em;
}

/* 버튼 스타일 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 400;
    padding: 0 10px;
    line-height: 30px;
}

.btn.wid_100p {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    border: none;
    background: var(--gray-light);
    transition: all 0.3s ease;
}

.btn.line_main {
    border: 1px solid var(--main-color);
    color: var(--main-color);
}

.btn.line_main:hover {
    background: var(--main-color);
    color: var(--color-w);
}

.btn.bg_main {
    background-color: var(--main-color);
    color: var(--color-w);
}

/* 관리자 컨트롤 */
.admin_btn_lists {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1em;
}

/* 반응형 스타일 */
@media screen and (max-width: 1024px) {
    .tasting_lists.grid {
        gap: 2.25em 1em;
    }

    .tasting_lists.grid .tasting_item {
        width: calc(50% - 0.5em);
    }

    .tasting_lists .wine_lists {
        padding: 1.25em 0;
    }

    .tasting_lists .wine_box {
        height: 8.8125em;
        margin-bottom: 0.75em;
    }

    .tasting_lists .txt_box {
        font-size: 0.875em;
    }

    .tasting_read_wrap .tasting_read_head {
        flex-direction: column;
        align-items: center;
        gap: 0.25em;
        padding: 1.875em 0;
    }

    .tasting_read_wrap .weeks {
        font-size: 1.25em;
    }

    .tasting_read_wrap .date {
        font-size: 0.875em;
    }

    .tasting_read_wrap .tasting_item_box {
        gap: 2.5em;
        padding: 1.875em 0 2.5em;
    }

    .tasting_read_wrap .tasting_img_box {
        width: 100%;
    }

    .tasting_read_wrap .tasting_txt_box {
        max-width: 100%;
    }
}

@media screen and (max-width: 801px) {
    .tasting_lists.grid .tasting_item {
        width: 100%;
    }

    .tasting_info_lists {
        flex-wrap: wrap;
        padding: 2.1428571429em 0;
        gap: 2.1428571429em 1.1428571429em;
    }

    .tasting_info_lists .tasting_info_item {
        width: calc(50% - 0.5714285714em);
    }
}