/* ==========================================================================
   Country Page — Tips / Need to Know
   Matches tour-reviews-wall visual language:
   background image + overlay, white card accordion, image right
   ========================================================================== */

.cp-tips {
    background-image: url('/images/backgrounds/review.webp');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
    padding: 48px 0 36px;
    width: 100%;
}

.cp-tips::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(17 18 20 / 10%);
    pointer-events: none;
}

/* ---- Inner wrapper ---- */

.cp-tips__inner {
    position: relative;
    z-index: 1;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: stretch;
}

/* ---- Left column ---- */

.cp-tips__left {
    min-width: 0;
}

/* ---- Header ---- */

.cp-tips__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
}

.cp-tips__eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #E87722;
    margin: 0;
}

.cp-tips__title {
    font-size: 32px;
    font-weight: 700;
    color: #111214;
    margin: 0;
    line-height: 1.15;
}

/* ---- Accordion items as white cards ---- */

.cp-tips__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cp-tips__item {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cp-tips__item.is-open {
    border-color: #E87722;
    box-shadow: 0 4px 20px rgba(232, 119, 34, 0.12);
}

.cp-tips__trigger {
    display: flex;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 18px 20px;
    cursor: pointer;
    gap: 14px;
    text-align: left;
    outline: none;
    transition: background 0.15s;
}

.cp-tips__trigger:hover {
    background: rgba(232, 119, 34, 0.04);
}

.cp-tips__trigger:focus-visible {
    outline: 2px solid #E87722;
    outline-offset: -2px;
}

.cp-tips__num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #E87722;
    min-width: 22px;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.cp-tips__item-title {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: #111214;
    line-height: 1.35;
}

.cp-tips__chevron {
    color: rgba(17, 18, 20, 0.25);
    font-size: 13px;
    flex-shrink: 0;
    transition: transform 0.25s ease, color 0.2s;
}

.cp-tips__item.is-open .cp-tips__chevron {
    transform: rotate(180deg);
    color: #E87722;
}

/* ---- Collapsible content ---- */

.cp-tips__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.cp-tips__content.is-open {
    max-height: 800px;
}

.cp-tips__content-inner {
    margin: 0 20px 20px 54px;
    padding-left: 14px;
    border-left: 2px solid #E87722;
    color: #555;
    font-size: 14px;
    line-height: 1.75;
}

.cp-tips__content-inner p { margin: 0; }
.cp-tips__content-inner p + p { margin-top: 8px; }
.cp-tips__content-inner strong { color: #111214; font-weight: 600; }

/* ---- Right column: decorative image ---- */

.cp-tips__right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-tips__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 20px 48px rgba(232, 119, 34, 0.18));
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1200px) {
    .cp-tips__inner {
        grid-template-columns: 1fr 260px;
        gap: 32px;
    }
}

@media (max-width: 1024px) {
    .cp-tips__inner {
        padding: 0 32px;
        grid-template-columns: 1fr;
    }

    .cp-tips__right {
        display: none;
    }

    .cp-tips__title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .cp-tips {
        padding: 32px 0 24px;
    }

    .cp-tips__inner {
        padding: 0 20px;
    }

    .cp-tips__title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .cp-tips__trigger {
        padding: 16px;
    }

    .cp-tips__content-inner {
        margin-right: 16px;
    }
}
