/* Main page START */
/*@font-face {*/
/*    font-family: 'NanumSquareNeo';*/
/*    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_two@1.0/NanumBarunpen.woff') format('woff');*/
/*    font-weight: normal;*/
/*    font-style: normal;*/
/*}*/
.page-title {
    font-family: 'NanumSquareNeo';
    line-height: normal;
    font-size: 3.2rem;
    color: black;
    font-weight: 300;
    margin-top: 20px;
}
.long-term-car-card {
    padding: 0px;
}
.panel-long-term {
    padding: 0px 16px;
}
.long_term_content {
    padding: 48px 240px 60px;
}

.carousel-control .icon-next:before {
    content: "\f101";
    font-family: "Font Awesome 5 Free";
    font-weight: 1000;
    font-size: 50px;
}
.carousel-control .icon-prev:before {
    content: "\f100";
    font-family: "Font Awesome 5 Free";
    font-weight: 1000;
    font-size: 50px;
}

#car_card_list {
    display: flex;
    flex-wrap: wrap;
    margin: 0px 0 40px 0;
}

.car_card {
    padding: 8px;
    min-width: 250px;
    border: 1px solid darkgrey;
    border-radius: 10px;
    flex-basis: 24%;
    cursor: pointer;
    margin: 4px;
}

.car_card:hover {
    border: 1px solid #3fd7ff;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, var(--color-shadow-lg) 0px 3px 7px -3px;
    transition: all 200ms ease-in-out;
}

.car_card_image_box img {
    height: 180px;
    width: 100%;
    border-radius: 10px 10px 0 0;
}
.car_card_info_box {
    padding: 8px 16px;
}
.car_card_info_subInfo {
    line-height: normal;
    color: dimgray;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.car_card_info_subInfo > span {
    position: relative;
    margin: 0 4px 4px 4px;
}
.car_card_info_subInfo > span:first-child {
    margin: 0 4px 4px 0px;
}

.car_card_info_subInfo > span::after {
    display: block;
    content: "";
    position: absolute;
    right: -5px;
    top: 1px;
    width: 1px;
    height: 14px;
    background: gray;
}
.car_card_info_subInfo > span:last-child::after {
    display: none;
}
.car_card_info_title {
    font-size: 2rem;
    overflow: hidden;
    height: 1.2em;
}
.car_card_info_price {
    font-size: 2.0rem;
    font-family: 'NanumSquareNeo', sans-serif;
}
.car_card_button {
    display: block;
    background-color: dodgerblue;
    color: white;
    width: 50%;
    font-size: 1.8rem;
    border: none;
    border-radius: 10px;
    padding: 8px;
    margin: 0 auto;
}
.car_card_button:hover {
    background-color: blue;
}
.car_estimate_button {
    background-color: var(--color-text-faint);
    margin: 8px 0;
}
.rent_car_check_wrapper {
    display: flex;
    /*justify-content: space-between;*/
    margin: 20px 0 70px 0;
    flex-wrap: wrap;
}

.rent_car_check {
    flex-basis: 32%;
    border-left: 1px solid black;
    margin: 0 0 20px 0;
    padding: 8px 20px;
}
.rent_car_check_title {
    font-size: 2rem !important;
    color: black !important;
    word-break: keep-all;
}
.rent_car_check ul {
    list-style: disc;
    padding-left: 16px;
}
.rent_car_check ul li {
    font-size: 1.6rem;
    color: dimgray;
    word-break: keep-all;
    margin-bottom: 8px;
    line-height: 1.2;
}
.car_card_slogan {
    width: fit-content;
    padding: 8px;
    position: absolute;
    font-size: 1.5rem;
    color: white;
    border-radius: 10px 0;
}

@media screen and (min-width: 601px) and (max-width: 991px) {
    .car_card {
        flex-basis: 32%;
        margin: 4px 0px;
    }

    .long_term_content {
        padding: 80px 12px 32px;
    }
    .long-term-car-card {
        padding: 0px;
    }
}

@media screen and (max-width: 600px) {
    .car_card {
        flex-basis: 47%;
        min-width: 100%;
        margin: 4px 0px;
    }
    .car_card_info_box {
        padding: 8px 4px 8px 4px;
    }
    .car_card_button {
        width: 100%;
    }
    .rent_car_check {
        flex-basis: 100%;
        display: flex;
        justify-content: space-between;
        border-left: none;
        border-top: 1px solid black;
        padding: 8px;
    }
    .rent_car_check_title {
        flex-basis: 28% !important;
    }
    .rent_car_check ul {
        flex-basis: 70%;
    }
    .displayNoneAfter::after {
        display: none !important;
    }

    .carousel-control .icon-next, .carousel-control .glyphicon-chevron-right {
        right: 80%;
    }
    .carousel-control .icon-prev, .carousel-control .glyphicon-chevron-left {
        left: 30%;
    }

    .long_term_content {
        padding: 80px 12px 32px;
    }
    .long-term-car-card {
        padding: 0px;
    }
}
/* Main page END */

/* Detail page START */
.car_title {
    font-family: 'NanumSquareNeo', sans-serif;
    line-height: normal;
    font-size: 3.3rem;
    color: black;
    font-weight: 300;
}
.car_subtitle {
    color: dimgray;
    font-size: 1.8rem;
}
.car_subtitle span {
    position: relative;
    margin-right: 4px;
}
.car_subtitle span:after {
    display: block;
    content: "";
    position: absolute;
    right: -5px;
    top: 1px;
    width: 1px;
    height: 18px;
    background: gray;
}
.car_subtitle span:last-child:after {
    display: none;
}
.carousel-inner {
    background-color: white;
}
.carousel-inner > .item > img {
    height: 500px;
    margin: 0 auto;
}
.small_image_List {
    display: flex;
    gap: 4px;
    margin-top: 8px;
    justify-content: flex-start;
}
.small_image_List img {
    height: 100px;
    width: 100%;
    opacity: 0.6;
}
.small_image_List img:hover {
    opacity: 1;
    border: 2px solid black;
}
.long_term_detail {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}
.long_term_detail_price_wrapper {
    width: 30%;
    margin: 48px 0;
    position: sticky;
    top: 5%;
    height: 300px;
}
.detail_price_box {
    border: 1px solid lightgray;
    padding: 20px;
    border-radius: 10px;
}
.detail_price_box p {
    display: flex;
    justify-content: space-between;
}
.long_term_detail_info_wrapper {
    width: 65%;
    margin: 48px 0;
}
.long_term_detail_info_box {
    padding: 0;
}
.detail_info_title {
    font-size: 2.3rem;
    padding: 20px;
    background-color: #e3e3e3;
    margin-bottom: 0;
}
.detail_info_wrapper {
    display: flex;
    justify-content: space-between;
    padding: 32px 152px 32px 20px;
    flex-wrap: wrap;
}
.detail_info p {
    font-size: 1.8rem;
    word-break: keep-all;
    margin-bottom: 0;
}
.detail_info p:first-child {
    color: dimgray;
    margin-bottom: 8px;
}
.detail_info ul {
    list-style: disc;
    padding-left: 16px;
    margin-bottom: 32px;
}
.detail_info ul li {
    margin-bottom: 8px;
    font-size: 1.8rem;
    line-height: 1.2;
}

textarea {
    font-size: 1.6rem;
}

@media screen and (max-width: 600px) {
    .carousel-inner > .item > img {
        height: 300px;
    }
    .small_image_List img {
        height: 70px;
    }
    .long_term_detail {
        flex-direction: column;
    }
    .long_term_detail_price_wrapper {
        width: 100%;
        position: revert;
        margin-bottom: 0;
        height: auto;
    }
    .long_term_detail_price_wrapper article:first-child {
        display: none;
    }
    .long_term_detail_info_wrapper {
        width: 100%;
    }
    .detail_info_title {
        padding: 20px 8px;
    }
    .detail_info_wrapper {
        /*flex-direction: column;*/
        flex-flow: column;
        padding: 32px 8px;
    }
    .detail_info {
        display: flex;
        justify-content: space-between;
        margin-bottom: 16px;
    }
    .detail_info p {
        flex-basis: 65%;
        height: fit-content;
    }
    .detail_info p:first-child{
        flex-basis: 35%;
    }
    .detail_info p:last-child{
        text-align: right;
    }
    .detail_info ul {
        margin-bottom: 16px;
        flex-basis: 63%;
    }
}
/* Detail page END */

/* =========================
   12개월 렌트 프로모 배너 (new/used 장기렌트 페이지 공통)
   ========================= */
.rent-promo-message {
    text-align: center;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
}
.rent-promo-link {
    display: block;
    text-decoration: none;
    width: 100%;
}
.rent-promo-main {
    background: linear-gradient(135deg, var(--color-primary-50) 0%, var(--color-primary-100) 100%);
    border-radius: 0;
    padding: 100px 20px;
    color: var(--color-primary-dark);
    box-shadow: 0 8px 24px rgba(219, 234, 254, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.rent-promo-content {
    border: 3px solid var(--color-primary-soft);
    border-radius: 16px;
    padding: 48px 56px;
    background: rgba(var(--color-white-rgb), 0.6);
    backdrop-filter: blur(10px);
    max-width: 100%;
    box-sizing: border-box;
}
.rent-promo-link:hover .rent-promo-main {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(219, 234, 254, 0.4);
}
.rent-promo-link:hover .rent-promo-content {
    border-color: var(--color-primary-bright);
    background: rgba(var(--color-white-rgb), 0.7);
}
.rent-promo-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.5;
    color: var(--color-primary-dark);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}
.rent-promo-main-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    position: relative;
}
.rent-promo-periods {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-primary-dark);
    align-self: flex-start;
}
.rent-promo-text-line {
    font-size: 36px;
    font-weight: 900;
    color: var(--color-text-muted);
    align-self: flex-start;
    line-height: 1.35;
    word-break: keep-all;
}
.rent-promo-text-line .mobile-break {
    display: none;
}
.rent-promo-highlight {
    font-size: inherit;
    font-weight: 900;
    color: var(--color-primary-dark);
}
.rent-promo-subtitle {
    font-size: 20px;
    font-weight: 600;
    opacity: 0.9;
    line-height: 1.4;
    color: var(--color-primary-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    word-break: keep-all;
}
.rent-promo-subtitle-line {
    text-align: center;
}
.rent-promo-badge-line-mobile {
    display: none;
    text-align: center;
}
.rent-promo-badge {
    background: rgba(30, 64, 175, 0.2);
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 800;
    margin-left: 4px;
    color: var(--color-primary-dark);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .rent-promo-message {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .rent-promo-main {
        padding: 28px 8px;
        min-height: 0;
    }
    .rent-promo-content {
        padding: 24px 16px;
        border-radius: 14px;
        width: 100%;
    }
    .rent-promo-title {
        margin-bottom: 12px;
        font-size: 28px;
    }
    .rent-promo-periods {
        font-size: 13px;
    }
    .rent-promo-text-line {
        font-size: 20px;
        text-align: center;
        align-self: center;
    }
    .rent-promo-subtitle {
        font-size: 15px;
    }
    .rent-promo-subtitle-line {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .rent-promo-main {
        padding: 24px 8px;
        min-height: 0;
    }
    .rent-promo-content {
        padding: 16px 12px;
        border-width: 2px;
        border-radius: 14px;
    }
    .rent-promo-main-text {
        gap: 8px;
        align-items: center;
    }
    .rent-promo-periods {
        font-size: 12px;
        align-self: center;
        text-align: center;
    }
    .rent-promo-text-line {
        font-size: 16px;
        text-align: center;
        align-self: center;
    }
    .rent-promo-text-line .mobile-break {
        display: block;
    }
    .rent-promo-subtitle {
        font-size: 13px;
    }
    .rent-promo-subtitle-line {
        white-space: nowrap;
    }
}

@media (max-width: 360px) {
    .rent-promo-main {
        padding: 20px 4px;
    }
    .rent-promo-content {
        padding: 16px 8px;
        border-radius: 14px;
    }
    .rent-promo-text-line {
        font-size: 14px;
    }
    .rent-promo-subtitle,
    .rent-promo-subtitle-line {
        font-size: 11px;
    }
    .rent-promo-periods {
        font-size: 11px;
    }
}

/* 12개월렌트 소개 카드 — 단어 중간 줄바꿈 방지 */
.lt-message-title,
.lt-message-desc {
    word-break: keep-all;
    overflow-wrap: normal;
}
.lt-message-phrase {
    word-break: keep-all;
}
.lt-word {
    white-space: nowrap;
    word-break: keep-all;
}
@media (max-width: 768px) {
    .lt-message-phrase {
        display: inline-block;
        max-width: 100%;
    }
}