/* Blog pages in the direction A look (5 Oct 2026). Loaded after home-a.css, reuses its tokens and parts
   (.wrap, .eyebrow, .sun-dot, .sec-head, .btn, .link-btn, .cta). */

/* Shared bits */
.b-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.b-meta > span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 10px; border-radius: 50%; background: currentColor; opacity: .55; vertical-align: middle; }
.b-meta > span { white-space: nowrap; }
.b-tag { font-size: 14px; font-weight: 800; color: var(--blue); }
.b-go { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; color: var(--blue); }
.b-card-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--blue); }
.b-card-ph .ico { width: 56px; height: 56px; stroke-width: 1.4; }

/* Index hero: real photo under the navy shade, like the homepage film */
.b-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy-2); }
.b-hero-media { position: absolute; inset: 0; z-index: -2; }
.b-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.b-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(2,31,69,.9) 0%, rgba(2,31,69,.8) 55%, rgba(2,31,69,.3) 100%), linear-gradient(to top, rgba(2,31,69,.7) 0%, rgba(2,31,69,0) 50%); }
.b-hero-in { padding-block: 88px 156px; }
.b-hero .eyebrow { color: #fff; }
.b-hero h1 { font-size: clamp(42px, 5.4vw, 80px); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; max-width: 11em; }
.b-hero-p { margin-top: 16px; font-size: 19px; line-height: 1.5; color: #E3EAF3; max-width: 32em; }
.b-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.b-cat { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1.5px solid rgba(255,255,255,.55); border-radius: var(--btn-r); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; background: rgba(2,31,69,.25); }
.b-cat:hover { background: rgba(255,255,255,.12); }
.b-cat[aria-current="page"] { background: #fff; border-color: #fff; color: var(--navy); }
.b-cat .n { font-weight: 600; opacity: .7; }
.b-hero :focus-visible, .p-hero :focus-visible { outline-color: #FFB45C; }

/* Newest guide: a wide card over the hero's lower edge */
.b-lead-sec { position: relative; margin-top: -104px; }
.b-lead { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); background: #fff; border-radius: var(--card-r); overflow: hidden; box-shadow: 0 30px 60px -28px rgba(2,31,69,.45), 0 2px 8px rgba(2,31,69,.08); }
.b-lead-media { min-height: 340px; background: var(--mist); overflow: hidden; }
.b-lead-media img { width: 100%; height: 100%; object-fit: cover; }
.b-lead-body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 40px 44px; }
.b-lead h2 { font-size: clamp(26px, 2.5vw, 38px); line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; color: var(--navy); }
.b-lead h2 a, .b-card h3 a { color: inherit; text-decoration: none; }
.b-lead h2 a::after, .b-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.b-lead .b-ex { font-size: 17.5px; color: var(--text-2); max-width: 32em; }
.b-lead:hover .b-go, .b-card:hover .b-go { text-decoration: underline; text-underline-offset: 4px; }
.b-lead:focus-within, .b-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.b-lead a:focus-visible, .b-card a:focus-visible { outline: none; }

/* Guide grid */
.b-list { padding: 72px 0 88px; }
.b-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 24px; }
.b-grid > .b-card { grid-column: span 2; }
.b-first2 > .b-card:nth-child(-n+2), .b-first4 > .b-card:nth-child(-n+4) { grid-column: span 3; }
.b-first2 > .b-card:nth-child(-n+2) .b-card-media, .b-first4 > .b-card:nth-child(-n+4) .b-card-media { aspect-ratio: 16 / 9; }
.b-first2 > .b-card:nth-child(-n+2) h3, .b-first4 > .b-card:nth-child(-n+4) h3 { font-size: 23px; }
.b-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--card-r); overflow: hidden; background: #fff; transition: box-shadow .2s ease; }
.b-card:hover { box-shadow: 0 22px 44px -26px rgba(2,31,69,.4); }
.b-card-media { aspect-ratio: 3 / 2; background: var(--mist); overflow: hidden; }
.b-card-media img { width: 100%; height: 100%; object-fit: cover; }
.b-card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 22px; }
.b-card h3 { font-size: 20px; line-height: 1.28; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); }
.b-card .b-ex { font-size: 15.5px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.b-card .b-meta { margin-top: auto; padding-top: 4px; }
.b-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.b-empty { background: #fff; border-radius: var(--card-r); padding: 48px 40px; text-align: center; box-shadow: 0 30px 60px -28px rgba(2,31,69,.45); }
.b-empty h2 { font-size: 28px; font-weight: 800; color: var(--navy); }
.b-empty p { margin: 10px 0 24px; color: var(--text-2); }

/* Trip tools */
.b-tools { background: var(--mist); padding: 80px 0; }
.b-tool-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.b-tool { display: flex; align-items: center; gap: 16px; height: 100%; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--card-r); color: var(--text); text-decoration: none; }
.b-tool:hover { border-color: var(--line-strong); }
.b-tool:hover b { text-decoration: underline; text-underline-offset: 4px; }
.b-tool-txt { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.b-tool-txt b { font-size: 17px; line-height: 1.3; color: var(--navy); }
.b-tool-txt span { font-size: 14.5px; color: var(--text-2); }
.b-tool > .ico { color: var(--blue); }

/* Guide page hero */
.p-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(440px, 64vh, 640px); overflow: hidden; color: #fff; background: var(--navy); }
.p-hero-plain { min-height: 0; }
.p-hero-media { position: absolute; inset: 0; z-index: -2; }
.p-hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Shade on the left where the words sit; the right of the photo stays clear. */
.p-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(2,31,69,.93) 0%, rgba(2,31,69,.88) 50%, rgba(2,31,69,.5) 70%, rgba(2,31,69,.06) 92%), linear-gradient(to top, rgba(2,31,69,.55) 0%, rgba(2,31,69,0) 45%); }
.p-hero-in { width: 100%; padding-block: 120px 52px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-bottom: 18px; font-size: 15px; font-weight: 600; }
.crumbs a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 4px; }
.crumbs a:hover { text-decoration-color: #fff; }
.crumbs .ico { color: #C9D5E5; }
.p-hero h1 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; max-width: 12em; text-wrap: balance; }
.p-hero .b-meta { margin-top: 18px; color: #DCE5F0; font-size: 15px; }

/* Arabic reads from the right: the dark side of the shade follows the words (6 Oct 2026). */
@media (min-width: 1024px) { [dir=rtl] .b-hero-shade { background: linear-gradient(to left, rgba(2,31,69,.9) 0%, rgba(2,31,69,.8) 55%, rgba(2,31,69,.3) 100%), linear-gradient(to top, rgba(2,31,69,.7) 0%, rgba(2,31,69,0) 50%); } }
[dir=rtl] .p-hero-shade { background: linear-gradient(to left, rgba(2,31,69,.93) 0%, rgba(2,31,69,.88) 50%, rgba(2,31,69,.5) 70%, rgba(2,31,69,.06) 92%), linear-gradient(to top, rgba(2,31,69,.55) 0%, rgba(2,31,69,0) 45%); }

/* Guide page body */
.p-main { padding: 64px 0 24px; }
.p-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.p-article { min-width: 0; max-width: 46rem; }
.p-lead { margin-bottom: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--line); font-size: 21px; line-height: 1.55; font-weight: 600; color: var(--navy); }
.prose { font-size: 18px; line-height: 1.75; color: var(--text-2); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.9em; font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.prose h3 { margin-top: 1.6em; font-size: 21px; line-height: 1.3; font-weight: 700; color: var(--navy); }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose > :first-child { margin-top: 0; }
.prose strong { font-weight: 800; color: var(--navy); }
.prose em { font-style: italic; }
.prose a { color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { margin-block: 0; padding: 0; }
.prose ul { list-style: none; }
.prose ul > li { position: relative; padding-inline-start: 28px; }
.prose ul > li::before { content: ""; position: absolute; inset-inline-start: 6px; top: .68em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.prose ol { padding-inline-start: 1.4em; }
.prose ol > li::marker { font-weight: 800; color: var(--navy); }
.prose li + li { margin-top: .5em; }
.prose blockquote { margin: 1.6em 0; padding-block: 4px; padding-inline: 22px 0; border-inline-start: 4px solid var(--sun); color: var(--navy); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.prose img { max-width: 100%; height: auto; border-radius: var(--card-r); }
.p-back { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* Side card */
.p-aside { position: sticky; top: calc(var(--head-h) + 24px); }
.p-card { padding: 26px 24px; border-radius: var(--card-r); background: var(--navy); color: #fff; }
.p-card h2 { font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.p-acts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.p-acts a { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; }
.p-acts a:hover { background: rgba(255,255,255,.13); }
.p-acts a:focus-visible { outline-color: #FFB45C; }
.p-ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #fff; color: var(--blue); }
.p-ico .ico { width: 22px; height: 22px; }
.p-ico-wa { color: #1F9D55; }
.p-ico-wa .wa-glyph { fill: currentColor; stroke: none; }
.p-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.p-txt b { font-size: 16px; line-height: 1.3; }
.p-txt span { font-size: 14.5px; color: var(--light); }
.p-acts a > .ico { color: #FFB45C; }
.b-related { padding-top: 64px; border-top: 1px solid var(--line); margin-top: 48px; }

/* Tablet */
@media (min-width: 1024px) {
  /* The side card already offers WhatsApp; the floating button would sit on top of it. */
  .page-guide .wa-float { display: none; }
}

@media (max-width: 1023px) {
  /* Text sits over open sky on narrower screens: an even shade keeps it readable. */
  .b-hero-shade { background: linear-gradient(to bottom, rgba(2,31,69,.86) 0%, rgba(2,31,69,.8) 60%, rgba(2,31,69,.72) 100%); }
  .b-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-grid > .b-card, .b-first2 > .b-card:nth-child(-n+2), .b-first4 > .b-card:nth-child(-n+4) { grid-column: auto; }
  .b-first2 > .b-card:nth-child(-n+2) .b-card-media, .b-first4 > .b-card:nth-child(-n+4) .b-card-media { aspect-ratio: 3 / 2; }
  .b-first2 > .b-card:nth-child(-n+2) h3, .b-first4 > .b-card:nth-child(-n+4) h3 { font-size: 20px; }
  .b-lead { grid-template-columns: 1fr; }
  .b-lead-media { min-height: 0; aspect-ratio: 16 / 9; }
  .b-lead-body { padding: 28px 28px 32px; }
  .b-tool-grid { grid-template-columns: 1fr; }
  .p-grid { grid-template-columns: 1fr; gap: 48px; }
  .p-aside { position: static; max-width: 46rem; }
}

/* Phone */
@media (max-width: 699px) {
  .b-hero-in { padding-block: 48px 104px; }
  .b-hero h1 { font-size: clamp(38px, 11vw, 48px); }
  .b-hero-p { font-size: 17px; }
  .b-cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .b-cats::-webkit-scrollbar { display: none; }
  .b-cat { flex: none; height: 40px; font-size: 14.5px; }
  .b-lead-sec { margin-top: -72px; }
  .b-lead-body { padding: 20px 20px 24px; gap: 10px; }
  .b-lead h2 { font-size: 25px; }
  .b-lead .b-ex { font-size: 16px; }
  .b-list { padding: 48px 0 64px; }
  .b-grid { grid-template-columns: 1fr; gap: 20px; }
  .b-card h3 { font-size: 19px; }
  .b-tools { padding: 56px 0; }
  .b-tool { padding: 16px; gap: 14px; }
  /* Phone: the photo on top, uncovered, and the title on the navy band below it. */
  .p-hero { display: block; min-height: 0; }
  .p-hero-media { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; max-height: 320px; width: 100%; }
  .p-hero-shade { display: none; }
  .p-hero-in { padding-block: 22px 32px; }
  .p-hero h1 { max-width: none; }
  .p-hero h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .crumbs { font-size: 14px; }
  .p-main { padding-top: 40px; }
  .p-lead { font-size: 19px; }
  .prose { font-size: 17px; line-height: 1.72; }
  .prose h2 { font-size: 23px; }
  .b-related { margin-top: 24px; padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .b-card { transition: none; }
}
