/* ================================================================
   LOCATION / DESTINATION DETAIL PAGE
   Matches https://www.rent-a-kent.com/attractions/destination/... design
   ================================================================ */

/* ---- Location Description Block (top of page) ---- */
.loc-desc-section {
    padding: 50px 0 35px;
    background: #fff;
}

.loc-desc-section .loc-page-desc {
    font-size: 15.5px;
    line-height: 1.85;
    color: #444;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

/* ---- Attractions Grid Section ---- */
.loc-attractions-section {
    padding: 10px 0 80px;
    background: #fff;
}

.loc-grid {
    gap: 40px 0;
}

/* ---- Individual Card ---- */
.loc-card-col {
    padding: 0 15px;
}

.loc-card {
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* --- Card Image --- */
.loc-card-img {
    overflow: hidden;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.loc-card-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.loc-card:hover .loc-card-img img {
    transform: scale(1.06);
}

/* --- Card Body --- */
.loc-card-body {
    padding: 0 2px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* --- Title --- */
.loc-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color, #1a1a1a);
    margin-bottom: 10px;
    line-height: 1.3;
}

.loc-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.loc-card-title a:hover {
    color: var(--primary-color, #0077cc);
}

/* --- Description text — clamped to 4 lines by default --- */
.loc-desc-wrap {
    flex: 1;
}

.loc-desc-text-card {
    font-size: 15px;
    line-height: 1.75;
    color: #555;
    margin-bottom: 8px;
    /* Truncate to 4 lines */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

/* When expanded — show all text */
.loc-desc-text-card.expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* --- Show More / Show Less Button --- */
.loc-show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px 0;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.01em;
    line-height: 1;
    transition: color 0.2s ease;
    margin-top: 4px;
}

.loc-show-more-btn:hover {
    color: var(--primary-color, #0077cc);
}

.loc-show-more-btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.loc-show-more-btn.is-expanded i {
    transform: rotate(180deg);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .loc-card-img img {
        height: 200px;
    }

    .loc-card-title {
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .loc-desc-section {
        padding: 30px 0 20px;
    }

    .loc-attractions-section {
        padding: 10px 0 50px;
    }

    .loc-card-col {
        padding: 0 12px;
    }

    .loc-card-img img {
        height: 220px;
    }

    .loc-card-title {
        font-size: 18px;
    }

    .loc-grid {
        gap: 32px 0;
    }
}