/* Nepal Travel Tips — structured, scannable, impactful */

.tips-page {
    padding-top: 2.5rem;
}

.tips-guide__lead {
    margin: 0 0 2rem;
    padding: 1.6rem 1.7rem 1.5rem;
    background: #fff;
    border: 1px solid #ece8e8;
    border-top: 3px solid var(--primary-color, #841212);
    border-radius: 2px;
    color: #1a1212;
}

.tips-guide__eyebrow {
    margin: 0 0 0.45rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color, #841212);
}

.tips-guide__title {
    margin: 0 0 0.65rem;
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1212;
}

.tips-guide__intro {
    margin: 0;
    max-width: 42rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #5a5555;
}

.tips-guide__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(132, 18, 18, 0.12);
}

.tips-guide__stats div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.7rem 0.85rem;
    background: #faf8f8;
    border-radius: 2px;
}

.tips-guide__stats strong {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color, #841212);
}

.tips-guide__stats span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    color: #6b6565;
}

.tips-guide__sections {
    display: grid;
    gap: 1rem;
}

.tips-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.15rem;
    padding: 1.2rem 1.25rem 1.3rem;
    background: #fff;
    border: 1px solid #ece8e8;
    border-left: 3px solid var(--primary-color, #841212);
    border-radius: 2px;
    scroll-margin-top: 1.25rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.tips-card:hover {
    border-color: rgba(132, 18, 18, 0.28);
    box-shadow: 0 8px 24px rgba(26, 18, 18, 0.06);
}

.tips-card__index {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--primary-color, #841212);
    line-height: 1.4;
    padding-top: 0.15rem;
}

.tips-card__title {
    margin: 0 0 0.65rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #1a1212;
}

.tips-card__body {
    font-size: 0.95rem;
    line-height: 1.7;
}

.tips-card__body p {
    margin: 0 0 0.85rem;
}

.tips-card__body p:last-child {
    margin-bottom: 0;
}

.tips-card__body ul {
    margin: 0 0 0.85rem;
    padding: 0 0 0 1.15rem;
}

.tips-card__body li {
    margin: 0.35rem 0;
}

.tips-card__body strong {
    color: #1a1212;
}

.tips-guide__closing {
    margin-top: 1.5rem;
    padding: 1.25rem 1.35rem;
    background: #faf8f8;
    border: 1px solid #ece8e8;
    border-radius: 2px;
}

.tips-guide__closing p {
    margin: 0;
}

.tips-guide__resources {
    margin-top: 1.75rem;
}

.tips-guide__resources h3 {
    margin: 0 0 0.85rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary-color, #841212);
}

.tips-guide__resources ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tips-guide__resources a {
    display: inline-block;
    padding: 0.55rem 0.85rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.86rem;
    color: #333 !important;
    text-decoration: none;
    background: #fff;
    border: 1px solid #ece8e8;
    border-radius: 2px;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.tips-guide__resources a:hover {
    color: var(--primary-color, #841212) !important;
    border-color: rgba(132, 18, 18, 0.35);
    background: rgba(132, 18, 18, 0.04);
}

/* Sticky on-page TOC (left column) */
.tips-toc.page-aside {
    background: #fff;
    border: 1px solid #ece8e8;
    border-top: 3px solid var(--primary-color, #841212);
    border-radius: 2px;
    margin-bottom: 1rem;
    overflow: hidden;
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

.tips-toc h3 {
    margin: 0;
    padding: 0.9rem 1.1rem;
    background: #1f2a33;
    color: #fff !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tips-toc ul {
    margin: 0;
    padding: 0.3rem 0;
    list-style: none;
}

.tips-toc li {
    border-bottom: 1px solid #f0ecec;
}

.tips-toc li:last-child {
    border-bottom: 0;
}

.tips-toc a {
    display: block;
    padding: 0.58rem 1.1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.84rem;
    line-height: 1.35;
    color: #333 !important;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.tips-toc a:hover {
    background: rgba(132, 18, 18, 0.05);
    color: var(--primary-color, #841212) !important;
    padding-left: 1.25rem;
}

.page-aside--spaced {
    position: static;
    margin-top: 0;
}

@media (max-width: 991px) {
    .tips-toc.page-aside {
        position: static;
        max-height: none;
        margin-bottom: 1.25rem;
    }

    .tips-guide__stats {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
}

/* FAQs — native details/summary (avoids Bootstrap double-init conflicts) */
.faq-groups {
    display: grid;
    gap: 1.5rem;
}

.faq-group {
    scroll-margin-top: 1.25rem;
}

.faq-group__title {
    margin: 0 0 0.85rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-color, #841212);
}

.faq-list {
    display: grid;
    gap: 0.55rem;
}

.faq-item {
    background: #fff;
    border: 1px solid #ece8e8;
    border-left: 3px solid var(--primary-color, #841212);
    border-radius: 2px;
    overflow: hidden;
}

.faq-item__summary {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    cursor: pointer;
    list-style: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
    color: #1a1212;
}

.faq-item__summary::-webkit-details-marker {
    display: none;
}

.faq-item__summary::marker {
    content: '';
}

.faq-item__summary::after {
    content: '';
    flex-shrink: 0;
    width: 0.65rem;
    height: 0.65rem;
    margin: 0.35rem 0 0 auto;
    border-right: 2px solid #841212;
    border-bottom: 2px solid #841212;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
}

.faq-item[open] .faq-item__summary {
    background: #faf8f8;
}

.faq-item[open] .faq-item__summary::after {
    margin-top: 0.5rem;
    transform: rotate(-135deg);
}

.faq-item__q {
    flex-shrink: 0;
    min-width: 1.7rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--primary-color, #841212);
}

.faq-item__question {
    flex: 1;
    padding-right: 0.35rem;
}

.faq-item__answer {
    padding: 0 1.1rem 1.15rem 3.55rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.94rem;
    line-height: 1.7;
    color: #444;
}

.faq-item__answer p {
    margin: 0 0 0.75rem;
}

.faq-item__answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 575px) {
    .tips-card {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .tips-card__index {
        font-size: 0.8rem;
    }

    .tips-guide__lead {
        padding: 1.25rem 1.15rem;
    }

    .faq-item__answer {
        padding-left: 1.1rem;
    }
}
