.rt-cts-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 15px;
}

.back-to-form {
    max-width: 1220px;
    margin: 20px auto;
}


.back-to-form span a {
    /* color: #1f67b2; */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    color: #1853a0;
}
.rt-cts-card {
    display: flex;
    gap: 20px;
    align-items: center;
}

.rt-cts-card .rt-cts-card__image {
    width: 30%;
    display: flex;
    justify-content: center;
}

.rt-cts-card .rt-cts-card__body {
    width: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.rt-cts-modal__panel {
    zoom: 90%;
}

form.rt-location-tax-dropdowns {
    width: 100%;
    /* margin: 20px auto; */
    padding: 40px 30px 20px;
    border: solid 1px #c9d6ea;
    border-radius: 14px;
    background: #fff;
}

.rt-int-content-description {
    font-size: 15px;
    /* max-height: calc(100vh - 115px);
    overflow: auto; */
}

/* .back-to-form span a {
    color: #1f67b2;
} */

.rt-cts-card .rt-cts-card__actions {
    width: 20%;
    display: flex;
    justify-content: center;
}

.rt-int-wrap.no-description .rt-int-content {
    align-items: center !important;
}

.rt-cts-card-parent {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 18px;
    background: #fff;
}

.rt-cts-card__image img {
    width: 150px;
    height: 150px !important;
    display: block;
    object-fit: contain;
    border-radius: 6px;
    background-color: #f6f6f6a3;
}

.rt-cts-card__image.rt-cts-card__image--logo img {
    padding: 20px;
}

.rt-cts-card__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.rt-cts-card__comment {
    color: #333;
    line-height: 1.5;
}

.rt-cts-card__actions {
    margin-top: 14px;
}

.rt-cts-card__actions .rt-cts-btn {
    background: #66cfc6;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(102, 207, 198, 0.35);
    text-decoration: none;
    display: inline-block;
}

.rt-cts-card .rt-cts-modal__panel .rt-int-content {
    display: flex !important;
    gap: 30px;
    align-items: flex-start;
}

.rt-int-info-image {
    display: flex;
    justify-content: center;
    /* height: 400px; */
}

.rt-int-info-image.website-logo img {
    height: auto;
    object-fit: none;
}

.rt-cts-card__comment {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rt-int-info-image img {
    width: 100%;
    height: 500px !important;
    object-fit: cover;
    border-radius: 16px;
    /* object-position: top; */
}

.rt-int-title.no-description {
    text-align: center;
}

/* .rt-int-content-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
} */

.rt-int-content .rt-int-info,
.rt-int-content .form-section {
    width: 50%;
}

.rt-cts-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.rt-cts-modal.is-open {
    display: flex;
    align-items: center;
}

button.rt-cts-modal__close,
button.rt-cts-modal__close:hover {
    background-color: transparent;
    border: none;
    color: #1853a0;
    font-size: 2rem;

}

.rt-cts-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.rt-int-field {
    position: relative;
}

.rt-cts-modal__panel {
    position: relative;
    background: #fff;
    max-width: 1224px;
    width: 100%;
    /* max-height: 90vh; */
    overflow: auto;
    margin: 5vh auto;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid #e6e6e6;
}

.rt-cts-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
}

.rt-cts-modal__close:hover {
    opacity: 0.85;
}

.rt-cts-modal__panel>*:first-child {
    margin-top: 0;
}

.rt-cts-modal__panel>*:last-child {
    margin-bottom: 0;
}

.rt-cts-detail-page {
    width: 100%;
}

.rt-int-back {
    width: 100%;
    margin-bottom: 18px;
}

.rt-int-back__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-decoration: none;
    color: #1853a0;
}

.rt-cts-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    gap: 12px;
    padding: 24px;
    text-align: center;
}

.rt-cts-empty__icon {
    width: 110px;
    height: 110px;
    display: block;
    object-fit: contain;
}

.rt-cts-empty__text {
    font-size: 16px;
    color: #444;
}

.rt-location-tax-dropdowns {
    --rt-filter-border: #c9d6ea;
    --rt-filter-focus: #1d62b3;
    --rt-filter-text: #1f2937;
    --rt-filter-muted: #1d62b3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: stretch;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    margin-bottom: 18px;
    max-width: 560px;
}

.rt-location-tax-dropdown {
    min-width: 0;
    position: relative;
}

.rt-location-tax-dropdown label {
    position: absolute;
    left: 12px;
    top: 0;
    transform: translateY(-50%);
    margin: 0;
    padding: 0 4px;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: var(--rt-filter-muted);
    line-height: 1;
    pointer-events: none;
}

.rt-location-tax-dropdown label .req {
    color: #c02b2b;
}

.rt-location-tax-dropdown select {
    width: 100%;
    height: 48px;
    border: 1px solid var(--rt-filter-border);
    border-radius: 14px;
    padding: 16px 44px 6px 16px;
    color: var(--rt-filter-text);
    background-color: #fff;
    font-size: 14px;
    line-height: 1.2;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #1d62b3 50%), linear-gradient(135deg, #1d62b3 50%, transparent 50%);
    background-position: calc(100% - 22px) calc(50% - 2px), calc(100% - 16px) calc(50% - 2px);
    background-size: 7px 7px, 7px 7px;
    background-repeat: no-repeat;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rt-location-tax-dropdown select:focus {
    outline: none;
    border-color: var(--rt-filter-focus);
    box-shadow: 0 0 0 3px rgba(29, 98, 179, 0.15);
}

.rt-location-tax-dropdown.rt-int-error label {
    color: #d92d20;
}

.rt-location-tax-dropdown.rt-int-error select {
    border-color: #d92d20;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

.rt-location-tax-dropdown.rt-int-error select:focus {
    border-color: #d92d20;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.16);
}

.rt-location-tax-dropdown--submit {
    display: flex;
    margin-top: 4px;
}

.rt-location-tax-dropdown--submit button {
    height: 46px;
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 0 20px;
    background: #65cfc6;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(29, 98, 179, 0.26);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.rt-location-tax-dropdown--submit button:hover {
    filter: brightness(1.02);
    transform: translateY(-1px);
    background: #65cfc6;
}

.rt-location-tax-dropdown--submit button:focus {
    outline: none;
    background: #65cfc6;
    box-shadow: 0 0 0 3px rgba(29, 98, 179, 0.2), 0 8px 20px rgba(29, 98, 179, 0.26);
}

@media (max-width: 900px) {
    .rt-cts-grid {
        grid-template-columns: 1fr;
    }

    .rt-cts-card__image img {
        width: 100%;
        height: auto !important;
    }


    .rt-location-tax-dropdowns {
        max-width: 100%;
    }
}
