/*
 * Roteh Tours — brand overrides.
 * Loaded after travhub.css. Only :root custom-property overrides belong here;
 * template selectors are never overridden for layout.
 */

:root {
    /* Roteh Tours brand green (from the logo), applied site-wide. */
    --travhub-base: #7DC244;
    --travhub-base-rgb: 125, 194, 68;
}

/*
 * Home hero under the in-flow inner-page header (.roteh-* scoped — the
 * template's 200px top padding existed only to clear the absolute
 * transparent Home Three header, which the site no longer uses).
 */
.hero-three.roteh-hero-flush {
    padding-top: 80px;
}

@media (max-width: 767px) {
    .hero-three.roteh-hero-flush {
        padding-top: 60px;
    }
}

/*
 * Gallery filter buttons (.roteh-* only — the template ships the isotope
 * .post-filter behavior in its JS but no page ever styled the filter list,
 * so this is new UI, not an override).
 */
.roteh-gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 40px;
    padding: 0;
}

.roteh-gallery-filter li {
    cursor: pointer;
    padding: 8px 22px;
    border-radius: 100px;
    background-color: rgba(var(--travhub-base-rgb), 0.08);
    color: var(--travhub-text, #5f6368);
    font-size: 14px;
    font-weight: 500;
    transition: all 500ms ease;
}

.roteh-gallery-filter li:hover,
.roteh-gallery-filter li.active {
    background-color: var(--travhub-base);
    color: #fff;
}

/* Rich text blocks (Tiptap HTML from the admin) — matches the template's
   .tours-details__text / .blog-details typography. */
.roteh-rich-text {
    font-size: 15px;
    line-height: 26px;
}

.roteh-rich-text p,
.roteh-rich-text ul,
.roteh-rich-text ol,
.roteh-rich-text blockquote {
    margin: 0 0 10px;
}

.roteh-rich-text h2,
.roteh-rich-text h3,
.roteh-rich-text h4 {
    margin: 18px 0 10px;
}

.roteh-rich-text h2 { font-size: 24px; }
.roteh-rich-text h3 { font-size: 20px; }
.roteh-rich-text h4 { font-size: 17px; }

.roteh-rich-text ul,
.roteh-rich-text ol {
    padding-left: 22px;
}

.roteh-rich-text ul { list-style: disc; }
.roteh-rich-text ol { list-style: decimal; }

.roteh-rich-text blockquote {
    border-left: 3px solid var(--travhub-base, #1bbc9b);
    padding: 4px 0 4px 16px;
    font-style: italic;
}

.roteh-rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}

.roteh-rich-text a {
    color: var(--travhub-base, #1bbc9b);
    text-decoration: underline;
}
