/* Original blog listing and article design, scoped to blog routes.
   Keep the Tailwind components, metadata, taxonomy, links and pagination. */
:is(.roa-blog-list-page,.roa-blog-detail-page) { background:var(--roa-color-page); color:var(--roa-color-text); }
:root[data-theme="light"] :is(.roa-blog-list-page,.roa-blog-detail-page) { background:#f5f6f7; }
:is(.roa-blog-list-hero,.roa-blog-hero) { position:relative; height:55vh; min-height:280px; max-height:none; margin:0; }
.roa-blog-hero { height:70vh; }
:is(.roa-blog-list-hero__image,.roa-blog-hero__image) { display:block; width:100%; height:100%; object-fit:cover; }
.roa-blog-list-hero__overlay { display:flex; align-items:center; justify-content:center; background:rgb(0 0 0 / .6); }
.roa-blog-hero__overlay { display:flex; align-items:flex-end; justify-content:center; background:linear-gradient(180deg,transparent 45%,rgb(0 0 0 / .34)); }
:is(.roa-blog-list-hero__content,.roa-blog-hero__content) { width:100%; max-width:1600px; margin:0 auto; padding:0 24px; text-align:center; box-sizing:border-box; }
.roa-blog-hero__content { padding-bottom:clamp(45px,9vh,120px); }
:is(.roa-blog-list-hero,.roa-blog-hero) h1 { color:#fff!important; font-weight:700!important; line-height:1.2; margin:0 auto; max-width:1400px; text-shadow:0 1px 4px rgb(0 0 0 / .4); overflow-wrap:anywhere; }
.roa-blog-list-hero h1 { font-size:clamp(30px,4vw,56px); }
.roa-blog-hero h1 { font-size:clamp(24px,3vw,40px); }
.roa-blog-hero .roa-blog-taxonomy--hero { justify-content:center; margin:0 0 14px; }
/* Listing: two cards beside a one-third-width sidebar. */
.roa-blog-list-page .roa-blog-list-page__inner { width:min(calc(100% - 60px),1440px); max-width:none; padding:48px 0 88px; margin:0 auto; box-sizing:border-box; }
.roa-blog-list-page .roa-blog-section-heading { margin:0 0 36px; text-align:center; }
.roa-blog-list-page .roa-blog-section-heading h2 { color:var(--roa-color-accent); text-transform:uppercase; letter-spacing:5px; font-size:clamp(21px,2.3vw,28px); line-height:1.35; font-weight:700!important; margin:0; }
.roa-blog-list-page .roa-blog-list-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:30px; align-items:start; }
.roa-blog-list-page .roa-blog-card-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:30px; align-items:stretch; }
.roa-blog-list-page .roa-blog-card { display:flex; flex-direction:column; background:var(--roa-color-surface); border:0; border-radius:8px; box-shadow:none; min-width:0; }
.roa-blog-list-page .roa-blog-card:hover { box-shadow:0 10px 20px rgb(0 0 0 / .1); }
.roa-blog-list-page .roa-blog-card__media { display:block; height:200px; aspect-ratio:auto; flex:none; }
.roa-blog-list-page .roa-blog-card__media img { display:block; width:100%; height:100%; object-fit:cover; }
.roa-blog-list-page .roa-blog-card__body { display:flex; flex:1; flex-direction:column; min-height:0; padding:24px; gap:10px; }
.roa-blog-list-page .roa-blog-card h3 { margin:0; font-size:18px; line-height:1.4; font-weight:700!important; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.roa-blog-list-page .roa-blog-card h3 a { color:var(--roa-color-heading); }
.roa-blog-list-page .roa-blog-card h3 a:hover { color:var(--roa-color-link); }
.roa-blog-list-page .roa-blog-card__body>p { font-size:14px; line-height:1.45; margin:0; }
.roa-blog-list-page .roa-blog-card__body>p:empty { display:none; }
.roa-blog-list-page .roa-blog-taxonomy { gap:5px; }
.roa-blog-list-page .roa-blog-chip { font-size:11px; padding:3px 7px; }
.roa-blog-list-page .roa-blog-card__footer { margin-top:auto; padding-top:14px; justify-content:space-between; align-items:center; gap:8px; }
.roa-blog-list-page .roa-blog-card__footer time { font-size:12px; }
.roa-blog-list-page :is(.roa-blog-card__footer .roa-btn,.roa-blog-search .roa-btn) { display:inline-flex; width:auto; align-items:center; justify-content:center; gap:4px; border:0; border-radius:4px; background:var(--roa-color-primary); color:var(--roa-color-primary-contrast); padding:14px 24px; font-size:16px; font-weight:700; line-height:1.2; text-decoration:none; }
.roa-blog-list-page :is(.roa-blog-card__footer .roa-btn,.roa-blog-search .roa-btn):hover { background:var(--roa-color-primary-strong); color:#fff; }
/* Original rectangular, green-headed sidebar panels. */
.roa-blog-list-page .roa-blog-sidebar { display:grid; align-content:start; gap:24px; position:static; min-width:0; }
.roa-blog-list-page .roa-blog-sidebar__card { border:1px solid var(--roa-color-border); border-radius:0; box-shadow:none; background:var(--roa-color-surface); }
.roa-blog-list-page .roa-blog-sidebar__card .roa-card__header { background:var(--roa-color-primary); color:var(--roa-color-primary-contrast); font-size:16px; font-weight:500; padding:14px 20px; border:0; border-radius:0; }
.roa-blog-list-page .roa-blog-sidebar__card .roa-card__body { padding:20px; }
.roa-blog-list-page .roa-blog-search { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:0; align-items:stretch; }
.roa-blog-list-page .roa-blog-search input { width:100%; min-width:0; border:1px solid var(--roa-color-border); border-radius:4px 0 0 4px; background:var(--roa-color-surface); color:var(--roa-color-text); padding:10px 14px; font-size:15px; line-height:1.35; }
.roa-blog-list-page .roa-blog-search .roa-btn { border-radius:0 4px 4px 0; padding:12px 22px; }
.roa-blog-list-page .roa-blog-popular-list { display:block; list-style:none; margin:0; padding:0; }
.roa-blog-list-page .roa-blog-popular-list li { padding:14px 16px; margin:0; border:0; }
.roa-blog-list-page .roa-blog-popular-list li+li { border-top:1px solid var(--roa-color-border); }
.roa-blog-list-page .roa-blog-popular { display:grid; grid-template-columns:60px minmax(0,1fr); gap:15px; align-items:center; }
.roa-blog-list-page .roa-blog-popular img { width:60px; height:60px; border-radius:4px; object-fit:cover; }
.roa-blog-list-page .roa-blog-popular span { display:grid; gap:2px; }
.roa-blog-list-page .roa-blog-popular strong { display:block; font-size:16px; font-weight:700; line-height:1.35; overflow-wrap:anywhere; }
.roa-blog-list-page .roa-blog-popular time { font-size:13px; line-height:1.3; }
.roa-blog-list-page .roa-blog-pagination { margin:56px 0 0; padding:4px; }
.roa-blog-list-page .roa-pagination { justify-content:center; flex-wrap:wrap; gap:10px; margin:0; padding:0; }
.roa-blog-list-page .roa-pagination__link { min-width:35px; min-height:38px; padding:6px 10px; border-color:var(--roa-color-primary-strong); border-radius:4px; color:var(--roa-color-link); font-size:16px; font-weight:500; }
.roa-blog-list-page :is(.roa-pagination__item.is-active .roa-pagination__link,.roa-pagination__link:hover) { background:var(--roa-color-primary); border-color:var(--roa-color-primary); color:var(--roa-color-primary-contrast); }
/* Detail: continuous white content panel, article title below date/views,
   and text-only package links, as in the reference. */
.roa-blog-detail-page .roa-blog-detail-layout { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:30px; width:min(calc(100% - 60px),1600px); max-width:none; padding:48px 30px; margin:0 auto 48px; background:var(--roa-color-surface); box-sizing:border-box; }
.roa-blog-detail-page .roa-blog-article { border:0; border-radius:0; box-shadow:none; background:transparent; padding:0; min-width:0; overflow:visible; }
.roa-blog-detail-page .roa-blog-meta { display:flex; gap:6px 10px; margin:0 0 22px; padding:0; border:0; font-size:15px; color:var(--roa-color-text); overflow-wrap:anywhere; }
.roa-blog-detail-page .roa-blog-meta span { flex-wrap:wrap; max-width:100%; }
.roa-blog-detail-page .roa-blog-meta i { color:var(--roa-color-text); }
.roa-blog-detail-page .roa-blog-article-title { color:var(--roa-color-primary)!important; font-size:clamp(25px,3vw,40px); line-height:1.25; font-weight:700!important; margin:0 0 24px; overflow-wrap:anywhere; }
.roa-blog-detail-page .roa-blog-prose { font-size:16px; line-height:1.5; text-align:justify; color:var(--roa-color-text); overflow-wrap:anywhere; }
.roa-blog-detail-page .roa-blog-prose p { margin:0 0 16px; }
.roa-blog-detail-page .roa-blog-prose :is(h1,h2,h3,h4,h5,h6) { color:var(--roa-color-primary-strong)!important; font-size:21px; line-height:1.3; font-weight:700!important; position:relative; padding-bottom:12px; margin:22px 0 28px; }
.roa-blog-detail-page .roa-blog-prose :is(h1,h2,h3,h4,h5,h6) span { color:inherit!important; }
.roa-blog-detail-page .roa-blog-prose :is(h1,h2,h3,h4,h5,h6)::after { content:""; position:absolute; bottom:0; left:0; width:70px; height:3px; background:var(--roa-color-accent); }
.roa-blog-detail-page .roa-blog-prose :is(ul,ol) { margin:12px 0 20px; padding-left:28px; }
.roa-blog-detail-page .roa-blog-prose ul { list-style:disc; }
.roa-blog-detail-page .roa-blog-prose ol { list-style:decimal; }
.roa-blog-detail-page .roa-blog-prose :is(img,video,iframe,figure) { max-width:100%; }
.roa-blog-detail-page .roa-blog-prose pre { max-width:100%; overflow-x:auto; white-space:pre-wrap; overflow-wrap:anywhere; }
.roa-blog-detail-page .roa-blog-detail-sidebar { position:static; min-width:0; padding-top:14px; }
.roa-blog-detail-page .roa-blog-popular-tours { background:transparent; border:0; border-radius:0; box-shadow:none; overflow:visible; }
.roa-blog-detail-page .roa-blog-popular-tours .roa-card__header { background:transparent; padding:0; margin:0 0 24px; border:0; color:var(--roa-color-primary); font-size:28px; line-height:1.25; font-weight:700; }
.roa-blog-detail-page .roa-blog-popular-tours .roa-card__body { padding:0; }
.roa-blog-detail-page .roa-blog-popular-tours ul { display:grid; gap:22px; padding:0; margin:0; }
.roa-blog-detail-page .roa-blog-popular-tours li { padding:0; border:0; margin:0; }
.roa-blog-detail-page .roa-blog-popular-tours a { display:block; background:var(--roa-color-surface); box-shadow:0 5px 15px rgb(0 0 0 / .13); padding:20px; color:var(--roa-color-link); text-decoration:none; overflow-wrap:anywhere; }
.roa-blog-detail-page .roa-blog-popular-tours strong { display:block; font-size:20px; font-weight:400; line-height:1.3; color:inherit; }
.roa-blog-detail-page .roa-blog-popular-tours a:hover { color:var(--roa-color-primary-strong); }
.roa-blog-detail-page .roa-blog-popular-tours a span { display:block; margin-top:7px; font-size:12px; font-weight:500; }
/* Reference light palette; dark surfaces continue to use the shared green tokens. */
:root[data-theme="light"] .roa-blog-detail-page .roa-blog-prose :is(h1,h2,h3,h4,h5,h6) { color:#59b46f!important; }
:root[data-theme="light"] .roa-blog-detail-page .roa-blog-prose a { color:#237baf; }
:root[data-theme="light"] .roa-blog-detail-page .roa-blog-popular-tours a { color:#638a29; }
:root[data-theme="dark"] .roa-blog-detail-page .roa-blog-prose :is(h1,h2,h3,h4,h5,h6) { color:var(--roa-color-link)!important; }
:root[data-theme="dark"] .roa-blog-detail-page .roa-blog-prose :is(h1,h2,h3,h4,h5,h6) span { color:inherit!important; }
:root[data-theme="dark"] .roa-blog-detail-page .roa-blog-popular-tours a { border:1px solid var(--roa-color-border); }
@media(min-width:576px) { .roa-blog-list-page .roa-blog-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(min-width:992px) {
 .roa-blog-list-page .roa-blog-list-layout { grid-template-columns:minmax(0,2fr) minmax(0,.97fr); }
 .roa-blog-detail-page .roa-blog-detail-layout { grid-template-columns:minmax(0,2.08fr) minmax(0,1fr); }
 .roa-blog-detail-page .roa-blog-popular-tours a span { /* original desktop links are text-only */ position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
}
@media(max-width:991.98px) {
 .roa-blog-list-hero { height:50vh; }
 .roa-blog-hero { height:55vh; }
 .roa-blog-list-page .roa-blog-list-page__inner { padding:32px 0 48px; }
 .roa-blog-detail-page .roa-blog-detail-layout { padding:30px; }
}
@media(max-width:575.98px) {
 .roa-blog-list-hero { height:45vh; min-height:260px; }
 .roa-blog-hero { height:50vh; min-height:280px; }
 .roa-blog-list-page .roa-blog-list-page__inner,.roa-blog-detail-page .roa-blog-detail-layout { width:calc(100% - 32px); }
 .roa-blog-list-page .roa-blog-section-heading h2 { letter-spacing:3px; }
 .roa-blog-list-page .roa-blog-card__body { padding:18px; }
 .roa-blog-list-page .roa-blog-sidebar__card .roa-card__body { padding:12px; }
 .roa-blog-list-page .roa-blog-search .roa-btn { padding:12px; }
 .roa-blog-list-page .roa-blog-popular-list li { padding:12px 4px; }
 .roa-blog-detail-page .roa-blog-detail-layout { padding:22px 16px; }
}
.roa-blog-list-page .roa-blog-card__footer .roa-btn { order:-1; }
/* Tailwind's layered !important heading declarations have precedence over
   unlayered !important declarations. Set their scoped tokens instead. */
:root[data-theme="light"] .roa-blog-detail-page .roa-blog-prose :is(h1,h2,h3,h4,h5,h6) { --roa-color-heading:#59b46f; --roa-color-text:var(--roa-color-heading); }
:root[data-theme="dark"] .roa-blog-detail-page .roa-blog-prose :is(h1,h2,h3,h4,h5,h6) { --roa-color-heading:var(--roa-color-link); --roa-color-text:var(--roa-color-heading); }
:root[data-theme="light"] .roa-blog-list-page :is(.roa-blog-card__footer .roa-btn,.roa-blog-search .roa-btn,.roa-blog-sidebar__card .roa-card__header) { background:#398458; color:#fff; }
/* Preserve the existing desktop sidebar behavior on long articles/listings. */
@media(min-width:992px) {
 .roa-blog-list-page .roa-blog-sidebar,.roa-blog-detail-page .roa-blog-detail-sidebar { position:sticky; top:110px; }
 .roa-blog-detail-page .roa-blog-popular-tours a { position:relative; }
}

/* Related articles use the same compact, photo-led cards as the blog listing.
   Explicitly restore spacing/typography after the legacy global reset. */
.roa-blog-detail-page .roa-blog-related { margin-top:40px; padding-top:24px; }
.roa-blog-detail-page .roa-blog-related__heading { margin-bottom:20px; }
.roa-blog-detail-page .roa-blog-related-grid { display:grid; grid-template-columns:minmax(0,1fr); align-items:stretch; gap:18px; }
.roa-blog-detail-page .roa-blog-related-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; background:var(--roa-color-surface); border:1px solid var(--roa-color-border); border-radius:6px; }
.roa-blog-detail-page .roa-blog-related-card__media { display:block; flex:none; aspect-ratio:16/10; overflow:hidden; }
.roa-blog-detail-page .roa-blog-related-card__media img { display:block; width:100%; height:100%; object-fit:cover; }
.roa-blog-detail-page .roa-blog-related-card>div { flex:1; min-width:0; padding:16px; }
.roa-blog-detail-page .roa-blog-related-card h3 { margin:0; font-size:17px; font-weight:700; line-height:1.4; overflow-wrap:anywhere; }
.roa-blog-detail-page .roa-blog-related-card h3 a { color:var(--roa-color-heading); text-decoration:none; }
.roa-blog-detail-page .roa-blog-related-card h3 a:hover { color:var(--roa-color-link); text-decoration:underline; }
.roa-blog-detail-page .roa-blog-related-card p { margin:8px 0 0; font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.roa-blog-detail-page .roa-blog-related-card p:empty { display:none; }
.roa-blog-detail-page .roa-blog-related-card a:focus-visible { outline:2px solid var(--roa-color-focus); outline-offset:-2px; }
@media (min-width:576px) { .roa-blog-detail-page .roa-blog-related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:768px) and (max-width:991.98px), (min-width:1280px) { .roa-blog-detail-page .roa-blog-related-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
