/* Page Layout */
.page-content {
    background-color: #000;
    background-image: url("../img/gamer-zone-bg.png");
    background-size: 100%;
    background-repeat: no-repeat;
}

/* Header Styles */
.header2021.is-lp .header2021-nav-inner {
    padding-right: 3px;
}

.header2021.is-lp.is-mini .header2021-search {
    display: block;
}

/* Footer Styles */
.footer2021.is-lp .subscribe-box-inner {
    padding-top: 10px;
    padding-bottom: 20px;
    max-width: none;
    width: auto;
    text-align: center;
}

.footer2021.is-lp .subscribe-box-inner .input-group {
    margin: 10px auto 0 auto;
    max-width: 400px;
}

.footer2021.is-lp .subscribe-box-inner .input-text-icon.ico-envelope {
    font-size: 20px;
    line-height: 28px;
}

/* Main Container */
.gamer-zone-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
    position: relative;
    box-sizing: border-box;
}

.gamer-zone-container::before {
    content: '';
    width: 269px;
    height: 254px;
    position: absolute;
    top: 540px;
    right: -140px;
    background-image: url("../img/gamer-zone-illus-2.png");
    background-size: 100% 100%;
}

/* Header Section */
.gamer-zone-header {
    text-align: left;
    margin-bottom: 34px;
    position: relative;
    overflow: hidden;
    display: flex;
    box-sizing: border-box;
}

.gamer-zone-step1,
.gamer-zone-step2 {
    transition: transform 0.4s ease;
    width: 100%;
    flex: 0 0 100%;
}

.gamer-zone-step2 {
    transform: translateX(100%);
}

.gamer-zone-step2 .gamer-zone-title {
    margin-bottom: 40px;
}

.gamer-zone-step2 .query-header {
    margin-bottom: 0;
}

/* Header Switch to Step2 */
.gamer-zone-header.show-step2 .gamer-zone-step1 {
    transform: translateX(-100%);
    height: 0;
    opacity: 0;
}

.gamer-zone-header.show-step2 .gamer-zone-step2 {
    transform: translateX(-100%);
}

.gamer-zone-title {
    font-size: 40px;
    font-weight: bold;
    line-height: 46px;
    margin-bottom: 10px;
    color: #fff;
    font-family: 'Montserrat';
}

.gamer-zone-title strong {
    color: #FA9D28;
}

.gamer-zone-subtitle {
    font-size: 16px;
    line-height: 19px;
    color: #fff;
    margin-bottom: 10px;
}

.gamer-zone-or {
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gamer-zone-or span {
    font-weight: bold;
}

.find-reservation-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 5px 20px;
    box-sizing: border-box;
    border-radius: 16px;
    text-decoration: none;
    border: 2px solid #636363;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
}

.find-reservation-btn:hover {
    background: #555;
    border-color: #777;
    color: #fff;
    text-decoration: none;
}

/* Form Container */
.gamer-zone-form-container {
    display: flex;
    position: relative;
}

.gamer-zone-form-container::before {
    content: '';
    width: 327px;
    height: 439px;
    position: absolute;
    top: 25px;
    left: -200px;
    background-image: url("../img/gamer-zone-illus-1.png");
    background-size: 100% 100%;
}

/* Section Switcher */
.gamer-zone-sections {
    position: relative;
    overflow: hidden;
    display: flex;
    width: 100%;
}

.gamer-zone-section {
    flex: 0 0 100%;
    transition: transform 0.4s ease;
    height: auto;
}

.gamer-zone-section.query-section {
    transform: translateX(100%);
}

.gamer-zone-section.reservation-section {
    transform: translateX(0);
}

/* Switch to Query Section */
.gamer-zone-sections.show-query .query-section {
    transform: translateX(-100%);
}

.gamer-zone-sections.show-query .reservation-section {
    transform: translateX(-100%);
    height: 0;
}

/* Form Styles */
.gamer-zone-form {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 40px;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    position: relative;
}

.gamer-zone-form::before {
    content: '';
    width: 95px;
    height: 118px;
    position: absolute;
    bottom: 47px;
    left: 50px;
    opacity: .2;
    background-image: url("../img/gamer-zone-illus-3.png");
    background-size: 100% 100%;
}

/* Form Sections */
.form-section {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.form-section-title {
    font-size: 16px;
    line-height: 22px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
}

.form-section .input-label {
    color: #adadad;
    margin-bottom: 6px;
}

.form-section .input-label strong {
    font-weight: 600;
}

.form-section .input-label span {
    margin-left: 5px;
    font-size: 12px;
    font-weight: 400;
}

.form-section .grid-col {
    margin-bottom: 15px;
}

.form-section .input-text>input,
.form-section .input-textarea>textarea {
    border-color: transparent;
    box-shadow: 0 0 0 1px #636363;
    background-color: #121212;
    color: #fff;
    transition: all 0.3s ease;
    height: 40px;
    border-radius: 4px;
    padding: 10px 15px;
}

.form-section .input-text>input:focus,
.form-section .input-textarea>textarea:focus,
.form-section .input-group:focus,
.form-section .input-group.focus {
    border-color: #fff;
}

.form-section .input-group {
    padding: 10px 20px;
    box-sizing: border-box;
    border: 1px solid #636363;
    background-color: #121212;
    border-radius: 4px;
    height: 40px;
    transition: all 0.3s ease;
}

.form-section .input-group .input-text>input {
    box-shadow: none;
    height: 20px;
    border: none;
    padding: 0;
}

.form-section .input-group .input-select {
    border: none;
    box-shadow: none;
    width: auto;
    background-color: transparent;
}

.form-section .input-group .input-select-text {
    border: none;
    color: #fff;
    box-shadow: none;
    background: transparent;
    padding: 0 10px 0 0;
    height: auto;
    min-width: 70px;
    box-sizing: border-box;
    border-right: solid 1px #363636;
    margin-right: 10px;
    border-radius: 0;
    justify-content: flex-start;
    gap: 8px;
}

.form-section .input-group .input-select-text .ico {
    margin-left: 0;
}

.form-section .input-select .menu-body {
    min-width: 150px;
    left: -20px;
}

.form-section .menu-list-container {
    padding-right: 0;
}

/* Form Error Styles */
.input-text {
    flex-wrap: wrap;
}

.calendar-section.show-error .form-error-msg {
    display: block;
}

.form-section .input-text.show-error>input,
.form-section .input-textarea.show-error>textarea {
    border-color: #DB1600 !important;
    box-shadow: 0 0 0 1px #DB1600;
}

.form-section .input-textarea.show-error .input-text-counter {
    bottom: 22px;
}

.form-error-msg {
    background-color: transparent;
    color: #FF5B4D;
    left: 0;
    padding: 0;
    position: relative;
}

.form-error-msg.at-right:before {
    content: none;
}

/* Textarea Styles */
.input-textarea textarea {
    width: 100%;
    min-height: 110px;
    resize: vertical;
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: #888 #222;
    padding-bottom: 25px;
}

.input-textarea textarea::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 6px;
    height: 6px;
}

.input-textarea textarea::-webkit-scrollbar {
    background-color: transparent;
    border: none;
}

.input-textarea textarea::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.1);
    -webkit-box-shadow: none !important;
}

.input-textarea textarea::-webkit-scrollbar-corner {
    background: transparent;
    display: none;
}

.input-textarea textarea::-webkit-resizer {
    display: none;
}

/* Character Counter */
.input-text-counter {
    color: #858585;
    font-size: 12px;
    right: 4px;
    bottom: 4px;
    background-color: rgba(18, 18, 18, .5);
}

/* Radio Button Groups */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.radio-group-title,
.qty-label {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: #ADADAD;
    margin-bottom: 6px;
    width: 100%;
}

.radio-option {
    margin-right: 10px;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option label {
    display: block;
    padding: 9px 20px;
    background: #212121;
    border: 2px solid #636363;
    border-radius: 20px;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked+label {
    border-color: #FF8500;
}

.radio-option label:hover {
    border-color: #888;
}

/* Quantity Selector */
.qty-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.qty-box {
    display: flex;
    align-items: center;
    background: #121212;
    border: 2px solid #636363;
    border-radius: 22px;
    overflow: hidden;
}

.qty-box-minus,
.qty-box-plus {
    background: #121212;
    color: #fff;
    width: 40px;
    border-color: transparent;
    height: 40px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: bold;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.qty-box-minus:hover,
.qty-box-plus:hover {
    background: #555;
}

.qty-box-minus:disabled,
.qty-box-plus:disabled {
    cursor: not-allowed;
    background: #121212;
}

.qty-box-input {
    background: transparent;
    border: 2px solid #636363;
    color: #fff;
    box-sizing: border-box;
    width: 80px;
    height: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.qty-box-input {
    border-width: 0 2px 0 2px;
}

/* Calendar Styles */
.calendar-section {
    margin-top: 20px;
}

/*.calendar-section .calendar {
    border: 2px solid #DB1600;
}*/

.calendar-section .form-error-msg {
    margin-bottom: 5px;
}

.calendar-label {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.calendar-error {
    color: #ff4444;
    font-size: 14px;
    margin-bottom: 15px;
    display: none;
}

.calendar-error.show {
    display: block;
}

.calendar-note {
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: right;
}

.calendar {
    background: #1a1a1a;
    border: 2px solid #363636;
    border-radius: 4px;
    padding: 20px;
    color: #fff;
    transition: all 0.3s ease;
}

.calendar.has-error {
    border-color: #ff4444;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.calendar-month {
    font-size: 14px;
    font-weight: 600;
    color: #adadad;
}

.calendar-nav {
    border: none;
    background-color: transparent;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.calendar-nav:not(.is-disabled):hover {
    background: #636363;
}

.calendar-nav.is-disabled {
    color: #6E6E6E;
    cursor: not-allowed;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day-header {
    text-align: center;
    padding: 10px 5px;
    font-size: 12px;
    color: #888;
    font-weight: bold;
}

.calendar-day {
    text-align: center;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.calendar-day span {
    width: 32px;
    height: 32px;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 16px;
}

.calendar-day.available span {
    color: #fff;
    font-weight: normal;
}

.calendar-day.available:not(.selected):hover span {
    background: rgba(255, 178, 93, .4);
}

.calendar-day.unavailable span {
    color: #505050;
    cursor: not-allowed;
    font-weight: 600;
}

.calendar-day.unavailable:hover span {
    background: transparent;
}

.calendar-day.selected span {
    background: #FFB25D;
    color: #212121;
    font-weight: bold;
}

.calendar-day.selected.secondary span {
    background: #8B4513;
    color: #fff;
}

.calendar-day.selected.secondary:hover span {
    background: #A0522D;
}

/* Submit Button */
.submit-section {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: #FA9D28;
    color: #212121;
    border: none;
    padding: 10px 32px;
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
    border-radius: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #ff8c5a;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-overlay.slide-in {
    animation: slideIn 0.4s ease-out;
}

.modal-overlay.slide-out {
    animation: slideOut 0.3s ease-in;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
}

.modal-content {
    background: #121212;
    border-radius: 4px;
    max-width: 680px;
    width: 90%;
    position: relative;
    border: 1px solid #363636;
}

.modal-header {
    text-align: center;
    padding: 0;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.success-icon {
    width: 48px;
    height: 48px;
    background: #1E852C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
}

.success-icon .ico-check {
    color: #212121;
    font-size: 30px;
    font-weight: bold;
}

.modal-title {
    color: #5FA664;
    font-size: 20px;
    font-weight: 900;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.modal-subtitle {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.modal-body {
    padding: 0;
}

.reservation-detail {
    background: rgba(0, 0, 0, 1);
    border-radius: 12px;
    padding: 20px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item .ico,
.detail-item .fa,
.detail-item .far {
    color: #ADADAD;
    font-size: 16px;
    margin-right: 5px;
    flex-shrink: 0;
}

.detail-label {
    color: #ADADAD;
    font-size: 14px;
    font-weight: bold;
    min-width: 120px;
    flex-shrink: 0;
}

.detail-left {
    min-width: 145px;
    margin-right: 20px;
}

.detail-value {
    color: #fff;
    font-size: 14px;
    text-align: left;
    flex: 1;
    word-break: break-word;
}

.modal-footer {
    padding: 0;
    text-align: center;
    justify-content: center;
    border: none;
    margin-top: 30px;
}

.modal-ok-btn {
    background: #FA9D28;
    color: #212121;
    border: none;
    padding: 8px 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
}

.modal-ok-btn:hover {
    background: #ff8c5a;
}

/* Query Section Styles */
.query-section {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 40px;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.query-header {
    margin-bottom: 30px;
}

.back-btn {
    background: transparent;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.back-btn:hover {
    color: #FA9D28;
}

.back-btn i {
    font-size: 16px;
}

.query-body {
    text-align: center;
}

.query-title {
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 15px;
    text-align: left;
    line-height: 1.3;
}

.query-form {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.query-field {
    margin-bottom: 20px;
}

.query-label {
    display: block;
    color: #adadad;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.query-label span {
    margin-left: 3px;
    font-size: 12px;
    font-weight: 500;
}

.query-input {
    width: 100%;
    position: relative;
}

.query-input input {
    width: 100%;
    background: #121212;
    border: 1px solid #636363;
    border-radius: 4px;
    color: #fff;
    padding: 12px 15px;
    padding-right: 40px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.query-input input:focus {
    outline: none;
    border-color: #fff;
}

.query-input input::placeholder {
    color: #666;
}

.clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #858585;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    color: #212121;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.clear-btn:hover {
    background: #555;
}

.query-hint {
    color: #888;
    font-size: 12px;
    margin: 5px 0 8px 0;
    line-height: 1.4;
}

.query-submit {
    text-align: center;
    margin-top: 30px;
}

.query-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    min-width: 200px;
}

.query-btn:hover {
    background: #0056b3;
}

/* Processing State */
.processing-state {
    text-align: center;
    margin-top: 50px;
}

.processing-bar {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #051D3E;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
    font-weight: bold;
    box-sizing: border-box;
}

.processing-bar i {
    font-size: 16px;
    color: #4D86E5;
    font-weight: bold;
}

.processing-bar.is-success {
    background: #1E3A23;
}

.processing-bar.is-success i {
    color: #177428;
}

.processing-bar.is-error {
    background: #521F17;
}

.processing-bar.is-error i {
    color: #212112;
    width: 16px;
    height: 16px;
    font-size: 10px;
    border-radius: 50%;
    background-color: #C21A00;
    line-height: 16px;
}

/* Query Results */
.query-results {
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.result-section {
    margin-bottom: 30px;
}

.result-section-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.result-item {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-label {
    color: #adadad;
    font-size: 14px;
    font-weight: 500;
    min-width: 220px;
    margin-right: 18px;
    flex-shrink: 0;
}

.result-value {
    color: #fff;
    font-size: 14px;
    flex: 1;
    word-break: break-word;
}

/* Dark Mode */
.dark-mode .form-error-msg {
    background-color: transparent;
    color: #FF5B4D;
}

/* Responsive Design */
@media (max-width: 1299px) {
    .gamer-zone-container::before {
        right: -60px;
    }
}

@media (max-width: 1199px) {
    .gamer-zone-container::before {
        right: 0px;
    }
}

@media (max-width: 799px) {
    .gamer-zone-container {
        padding: 40px 10px;
    }

    .gamer-zone-title {
        font-size: 30px;
        line-height: 1.2;
    }

    .gamer-zone-header {
        margin-bottom: 20px;
    }

    .gamer-zone-form {
        padding: 20px;
    }

    .gamer-zone-form-container::before {
        left: -100px;
    }

    .query-section {
        padding: 20px;
    }

    .calendar {
        padding: 12px;
    }

    .gamer-zone-step2 .gamer-zone-title {
        margin-bottom: 20px;
    }

    .gamer-zone-step2 .query-header {
        margin-bottom: 0;
    }

    .processing-state,
    .query-results {
        margin-top: 20px;
    }

    .result-item {
        flex-direction: column;
    }
}

@media (max-width: 599px) {
    .gamer-zone-header {
        padding: 0 10px;
        box-sizing: border-box;
    }

    .gamer-zone-form {
        padding: 10px;
    }

    .radio-option {
        margin-right: 5px;
        margin-bottom: 5px;
    }

    .radio-option label {
        padding: 10px;
    }

    .gamer-zone-title {
        font-size: 24px;
    }

    .gamer-zone-container {
        padding: 20px 0 20px;
    }

    .form-section-title {
        margin-bottom: 10px;
    }

    .gamer-zone-form-container::before {
        width: 168px;
        height: 219px;
        left: 0;
    }

    .gamer-zone-container::before {
        width: 139px;
        height: 127px;
    }

    .calendar-day span {
        width: 30px;
        height: 30px;
        min-height: 30px;
    }

    .gamer-zone-step2 {
        box-sizing: border-box;
    }

    .query-section {
        padding: 0 10px 10px;
    }

    .modal-content {
        width: 95%;
        padding: 20px 10px;
    }

    .modal-header {
        margin-bottom: 20px;
    }

    .modal-footer {
        margin-top: 20px;
    }

    .detail-item {
        flex-direction: column;
    }
}


.input-text input.error,
.input-textarea textarea.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2) !important;
}

.radio-group.error {
    border: 1px solid #e74c3c;
    border-radius: 4px;
    padding: 10px;
    background-color: rgba(231, 76, 60, 0.05);
}

.qty-section.error {
    border: 1px solid #e74c3c;
    border-radius: 4px;
    padding: 10px;
    background-color: rgba(231, 76, 60, 0.05);
}

.field-error,
.group-error,
.qty-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    width: 100%;
    line-height: 1.4;
}

.calendar-error {
    color: #e74c3c;
    font-size: 14px;
    margin-bottom: 15px;
    display: none;
}

.calendar-error.show {
    display: block;
}

.calendar.has-error {
    border: 1px solid #e74c3c;
    border-radius: 4px;
    background-color: rgba(231, 76, 60, 0.05);
}

.qty-box-input::-webkit-outer-spin-button,
.qty-box-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.qty-box-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.ico-clock-regular:before {
    content: "\f920";
}

.ico-check-circle-solid:before {
    content: "\e945";
}

#modalEventDescription {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: calc(1.4em * 3);
    word-wrap: break-word;
    word-break: break-word;
}