/* PH Island Home: only what the plugin adds to the island (the rest is the preview's own CSS in assets/). */

/* Plain entrances for when the island script does not run; gone once it has set up the route. */
#ph-island .ph-island-fallback { max-width: 760px; margin: 1.5em auto; padding: 0 1em; font-size: .95rem; line-height: 1.6; }
#ph-island .ph-island-fallback ul { margin: 0; padding-left: 1.2em; }
#ph-island .ph-island-fallback > ul > li { margin: .6em 0; }
#ph-island .ph-island-fallback > ul > li > a { font-weight: 700; }
#ph-island:has(> #route.ph-featured-route) > .ph-island-fallback { display: none; }

/* The service intro above the service guide's buttons (the About passage's type, see island-cave-feedback.css). */
#ph-island .ph-service-lead { text-align: left; }

/* The portrait banner, as published on the pricing guide (2026-12-03), in the board's card panel. */
#ph-island .ph-portrait-banner { margin: .9em 0 0; max-width: 560px; }
#ph-island .ph-portrait-banner__link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px 8px 8px; border: 2px solid var(--color_main, #1e6fd9); border-radius: 10px; background: var(--color_bg, #fff); color: var(--color_main, #1e6fd9); font-weight: 700; line-height: 1.5; text-decoration: none; box-sizing: border-box; }
#ph-island .ph-portrait-banner__img { display: block; flex: 0 0 auto; width: 96px; max-width: none; height: auto; aspect-ratio: 300 / 169; margin: 0; border-radius: 6px; object-fit: cover; }
#ph-island .ph-portrait-banner__text { flex: 1 1 auto; min-width: 0; font-size: .95em; }
#ph-island .ph-portrait-banner__arrow { flex: 0 0 auto; width: 1em; height: 1em; }
#ph-island .ph-portrait-banner__link:hover { background: var(--color_main, #1e6fd9); color: #fff; }
#ph-island .ph-portrait-banner__link:focus-visible { outline: 3px solid var(--color_main, #1e6fd9); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { #ph-island .ph-portrait-banner__link { transition: background-color .2s, color .2s; } }
/* Two-colour mode: the sheet is PH blue, so the banner is drawn in white. */
:root[data-bh-alt] #ph-island .ph-portrait-banner__link { border-color: #fff; background: transparent; color: #fff; }
