/* Additions to the Codex design.css for the public /guam/ top and category pages (tools/guam-design-preview/portal_pages.py). */
.sprite.cropped img{position:static;left:auto;top:auto;width:100%;height:100%;max-width:none;object-fit:fill;display:block}
.real-photo{display:block;position:relative;width:100%;height:100%;overflow:hidden;background:#dcecf7}
.real-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.real-photo img[data-fit=whole]{object-fit:contain;background:#0d2a40}
.photo-credit{position:absolute;right:4px;bottom:3px;font-size:9px;line-height:1.3;color:#fff;background:#0009;padding:1px 4px;border-radius:3px;white-space:nowrap}
.blank-photo{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;height:100%;background:linear-gradient(135deg,#0068d5,#39b7e9);color:#fff;text-align:center}
.blank-photo b{font-size:14px;font-weight:800}.blank-photo i{font-size:12px;font-style:normal;opacity:.9;padding:0 8px}
.hero-image .real-photo{position:absolute;inset:0;background:#0a6aa8}
.hero-image .real-photo img,.desktop-canvas .hero-image .real-photo img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover}
.hero-image .real-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#00315ccc,#00315c66 55%,#00315c10)}
body[data-page=restaurant] .hero-image .real-photo:after{background:linear-gradient(180deg,#00243fcc,#00243f55 60%,#00243f22)}
.hero-image:after{display:none}
.text.hero-title{text-shadow:0 2px 10px #0006}
.hero-lead p{text-shadow:0 1px 6px #0008}
.desktop-canvas .hero-title .as-h1{line-height:1.13;letter-spacing:-.025em;white-space:nowrap;font-weight:850!important;margin:0}
.design-card .real-photo,.design-card .blank-photo{border-radius:inherit}
a.slot{color:inherit;text-decoration:none}
.eyebrow-text{display:flex;align-items:center;height:100%;color:#0068b5;font-weight:800;font-size:calc(20 * var(--u));white-space:nowrap}
.booking-fields>.select-field{position:relative;height:calc(62 * var(--u));border:calc(2 * var(--u)) solid #dde0e4;border-radius:calc(11 * var(--u));background:#fff;display:flex;align-items:center;padding:0 calc(16 * var(--u));gap:calc(10 * var(--u))}
.booking-fields>.select-field>.icon:first-child{color:#0068b5;width:calc(30 * var(--u));height:calc(30 * var(--u));flex:none}
.booking-fields>.select-field>.icon:last-child{position:absolute;right:calc(14 * var(--u));width:calc(18 * var(--u));color:#34546a;pointer-events:none}
.booking-fields select{appearance:none;border:0;background:transparent;width:100%;height:100%;font-size:calc(22 * var(--u));font-weight:700;color:#102b47;padding-right:calc(26 * var(--u));cursor:pointer}
.desktop-canvas .booking-fields>.select-field{height:calc(43 * var(--u));padding:0 calc(12 * var(--u))}
.desktop-canvas .booking-fields select{font-size:calc(17 * var(--u))}
.desktop-canvas .booking-fields>.select-field>.icon:first-child{width:calc(24 * var(--u));height:calc(24 * var(--u))}

/* #1 article list */
.article-list{background:#f3f9fe;border-top:1px solid #d9ebf7;border-bottom:1px solid #d9ebf7;padding:30px 16px 36px;scroll-margin-top:8px}
.list-inner{max-width:1180px;margin:0 auto}
.article-list h2{font-size:22px;font-weight:900;color:#0b2a4a;letter-spacing:-.02em;border-left:6px solid #0068d5;padding-left:10px;line-height:1.3}
.list-lead{font-size:14px;color:#3f5a70;margin-top:8px;line-height:1.6}
.chips{display:flex;gap:8px;overflow-x:auto;padding:14px 2px 6px;scrollbar-width:thin}
.chip{flex:none;border:1.5px solid #bcd9ef;background:#fff;color:#0b4f86;border-radius:999px;padding:7px 14px;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap}
.chip[aria-pressed=true]{background:#0068d5;border-color:#0068d5;color:#fff}
.list-status{font-size:13px;color:#4f6b80;min-height:1em;margin-top:4px}
.list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}
.list-card{position:relative;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0b2a4a17}
.list-card[hidden]{display:none}
.list-card>a{display:block;color:inherit;text-decoration:none;padding-bottom:12px}
.list-card .real-photo,.list-card .blank-photo{aspect-ratio:3/2;height:auto}
.list-meta{display:block;font-size:11px;color:#4f6b80;margin:9px 10px 3px}
.list-card h3{font-size:14.5px;line-height:1.38;margin:0 10px;color:#0b2a4a;font-weight:800}
.list-en{display:block;font-size:11px;color:#7890a2;margin:3px 10px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.plan-add{position:absolute;top:8px;right:8px;width:34px;height:34px;border-radius:50%;border:0;background:#fffffff2;display:grid;place-items:center;box-shadow:0 1px 4px #0003;cursor:pointer}
.plan-add svg{width:18px;height:18px;fill:none;stroke:#e0475f;stroke-width:2.2}
.plan-add[aria-pressed=true] svg{fill:#e0475f}
.list-more{display:block;margin:20px auto 0;border:2px solid #0068d5;color:#0068d5;background:#fff;border-radius:999px;padding:11px 28px;font-weight:800;font-size:15px;cursor:pointer}
.plan-toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);background:#0b2a4a;color:#fff;padding:10px 16px;border-radius:10px;font-size:14px;z-index:50;box-shadow:0 4px 14px #0004}
@media (min-width:760px){.list-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1000px){.article-list{padding:48px 24px 56px}.article-list h2{font-size:30px}.list-lead{font-size:16px}.list-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.list-card h3{font-size:16px}}

/* #8 footer, credits */
.footer-others{margin-top:12px;font-size:13px!important;font-weight:600!important;gap:16px!important}
.portal-credits{max-width:1180px;margin:0 auto;padding:16px;font-size:12px;color:#4f6b80}
.portal-credits summary{cursor:pointer;font-weight:700}
.portal-credits ul{margin:8px 0 0;padding-left:18px;line-height:1.7}
.food-card .card-title,.food-card .card-chevron{opacity:1}.food-card .card-photo:after{display:block;z-index:0;height:45%;background:linear-gradient(transparent,#000b)}
.menu-dialog .menu-others{font-size:12px;color:#5b7183;margin:14px 0 4px;font-weight:700}
/* Generated transparent parts (outputs/guam-design-parts-20261130) */
.part{display:block;width:100%;height:100%}
.part img{display:block;width:100%;height:100%;object-fit:contain;object-position:left center}
.palm-silhouette-part img{object-position:right bottom;opacity:.9}
/* Top hero: the photo's colours lifted towards the Codex reference */
body[data-page=top] .hero-image .real-photo img{filter:saturate(1.6) contrast(1.12) brightness(1.02)}
body[data-page=top] .hero-image .real-photo:after{background:linear-gradient(180deg,#0b74cf66,#0b74cf00 48%),linear-gradient(90deg,#00508f80,#00508f2e 52%,#00508f00 80%)}
.list-card picture,.real-photo picture{display:contents}