/* Shared contrast and containment fixes; keep white space, cards and the existing navigation. */
:root{--muted:#526674}main{min-width:0}.section-head>*,.cards>*,.business-grid>*,.event-grid>*,.category-grid>*,.profile-layout>*,.resource-grid>*,.common-tasks>*{min-width:0}.section,.page-hero,.profile-layout,.profile-facts{overflow-wrap:anywhere}.section-head,.profile-layout,.cards,.business-grid,.event-grid{max-width:100%}.section input,.section select,.section textarea,.submission-panel input,.submission-panel select,.submission-panel textarea{max-width:100%;min-width:0}.page-hero .eyebrow.blue{color:#d4eaf8}.hero-light .hero-kicker{color:#315a79}.hero-light .hero-script{color:#315d80}.hero-light .photo-credit{color:#2c4d63;background:rgba(255,255,255,.94);padding:5px 9px;border-radius:7px;max-width:calc(100% - 32px)}.meta{color:#526674}.copyright{color:#4c6373}.phone-screen small{color:#486275}.timeline-period{color:#2c638a}.timeline-detail-list span{color:#536878}.marker-atlas-card b{color:#3f6c89}.leaflet-container{background:#eaf1f5}.leaflet-control-attribution{max-width:100%;white-space:normal;overflow-wrap:anywhere;color:#304e61}.leaflet-container .leaflet-control-attribution a{color:#225a79}.place-photo{display:block;width:100%;height:100%;object-fit:cover}.photo-figure{margin:0 0 24px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}.photo-figure img{display:block;width:100%;max-height:420px;object-fit:cover}.photo-figure figcaption{padding:12px 16px;font-size:12px;line-height:1.6;color:#3e596c}.local-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.local-pick{min-width:0;padding:22px;border:1px solid var(--line);border-radius:22px;background:#fff}.local-pick h3{font:700 25px/1.1 'Fraunces',serif;margin:0 0 12px}.local-pick p{line-height:1.7;color:#425b6e}.local-pick a{color:var(--blue);font-weight:700}.local-pick img{width:100%;height:160px;object-fit:cover;border-radius:12px;margin-bottom:16px}.local-pick .visit-actions{margin-top:14px}.context-photo{margin:20px 0;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:center;gap:24px}.context-photo img{width:100%;max-height:330px;object-fit:cover;border-radius:18px}.context-photo figcaption{font-size:14px;line-height:1.8;color:#425b6e}.source-credit{font-size:12px;line-height:1.6;color:#3e596c;overflow-wrap:anywhere}@media(max-width:800px){.local-picks,.context-photo{grid-template-columns:1fr}.local-pick{padding:18px}.biz-top{flex-wrap:wrap}.badge{max-width:100%;white-space:normal}.hero-light .photo-credit{position:relative;inset:auto;display:block;width:fit-content;margin:20px auto 0}}@media print{.page-hero .eyebrow.blue{color:#244d69}.hero-light .photo-credit{color:#244d69}}

.visual.has-photo::before,.visual.has-photo::after{display:none}.visual.has-photo{position:relative}.visual.has-photo>span,.visual.has-photo .drive-pill{position:absolute;z-index:1;background:#fff;color:#244d69;padding:6px 10px;border-radius:20px}.visual.has-photo>span{left:12px;top:12px;bottom:auto;right:auto;width:max-content;max-width:calc(100% - 24px);height:auto}.visual.has-photo .drive-pill{right:12px;bottom:12px}.business-photo{display:block;width:100%;height:170px;object-fit:cover;border-radius:12px;margin-bottom:16px}.directory .business-card{color:#193d58}.directory .business-card p,.directory .biz-address,.directory .biz-meta{color:#425b6e}

.hero .hero-kicker{color:#315a79!important}.hero .hero-script{color:#315d80!important}.hero .photo-credit{color:#244d69;background:rgba(255,255,255,.94);padding:5px 9px;border-radius:7px;max-width:calc(100% - 32px)}.timeline-card:not(.active){opacity:1}.hero-riverfront .riverfront-photo{transform:none}@media(max-width:620px){.hero-riverfront .photo-credit{position:relative;inset:auto;display:block;width:fit-content;margin:20px auto 0}}

.labor-feature article small{color:#416b86}

.source-note:empty{display:none}.tile-food{background-image:url('photos/creamery-ice-cream.webp')}.tile-events{background-image:url('photos/east-liverpool-downtown.jpg')}.tile-shop{background-image:url('photos/carnegie-library.jpg')}.tile-pottery{background-image:url('photos/ktk-pottery.jpg')}.tile-history{background-image:url('history-river-2.webp')}.photo-tile::before{background:linear-gradient(120deg,rgba(8,36,57,.84),rgba(8,36,57,.68))}.photo-tile small{opacity:1}

#early-pottery .archive-open{height:320px}#early-pottery .archive-open img{object-fit:contain}.timeline-card[data-index="4"] .timeline-media{background-position:center}.archive-strip{min-width:0}
/* Discovery and suggested-day details share the established boxed layout. */
.discovery-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:1rem;margin:1.5rem 0;padding:1.25rem;background:#f2f7fc;border:1px solid #d4e1ee;border-radius:20px;color:#17384e}.discovery-form label{display:flex;flex-direction:column;gap:.4rem;min-width:0}.discovery-form input,.discovery-form select{width:100%;min-width:0;box-sizing:border-box;padding:.75rem;border:1px solid #8cabbf;border-radius:10px;background:white;color:#17384e}.discovery-form [hidden]{display:none}.itinerary-stops{padding-left:1.4rem}.itinerary-stops li{padding:1rem;margin:.75rem 0;border:1px solid #d4e1ee;border-radius:16px;background:#f7faff}.itinerary-stops h3{margin-top:0}.pagination-controls{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin:1.5rem 0}#editorDraftState{color:#17384e;background:#eaf3fb;padding:.8rem;border-radius:12px}#discoveryResults img{width:100%;height:210px;object-fit:cover;border-radius:14px}#discoveryResults h2{font-size:1.3rem}

.attribution-gallery .card{min-width:0;overflow-wrap:anywhere}.attribution-gallery img{display:block;width:100%;max-width:100%;height:auto;border-radius:16px}
/* Keep the shared brand caption readable on the white desktop header. */
.home-header .brand small{color:#526678}

/* Category badges are small overlays on both photographed and illustrated cards. */
.place-card>.visual>.place-category{position:absolute!important;inset:12px auto auto 12px!important;display:inline-block!important;width:fit-content!important;max-width:calc(100% - 24px)!important;height:fit-content!important;min-height:0!important;margin:0!important;padding:6px 10px!important;font-size:11px;line-height:1.35!important;border-radius:999px;background:#fff;color:#244d69;z-index:2;align-self:start;justify-self:start}
body[data-page="place"] .profile-layout h1{margin:10px 0 14px}
body[data-page="place"] .profile-intro{margin-top:0;margin-bottom:18px}
.profile-story{max-width:72ch;line-height:1.8;color:#425b6e}.profile-story h2{font-size:1.6rem;margin:24px 0 10px}.profile-story p{margin:0 0 18px}
.section.festival-feature{width:min(1180px,calc(100% - 48px));max-width:1180px}
.hero-place-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.hero-place-actions .button-link{padding:12px 18px;border:1px solid #d4e4f0;border-radius:12px;background:#fff;color:#164a70;font-weight:700}
.place-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.place-gallery .photo-figure{margin:0}.place-gallery img{height:220px;object-fit:contain;background:#edf4f8}.place-gallery figcaption{font-size:12px}
@media(max-width:620px){.section.festival-feature{width:calc(100% - 32px)}.hero-place-actions{flex-direction:column;align-items:stretch}.place-gallery{grid-template-columns:1fr}}
/* Reset the original top/left coordinates before anchoring photographic drive labels. */
.place-card>.visual.has-photo>.drive-pill{inset:auto 12px 12px auto!important;width:fit-content!important;height:fit-content!important;max-width:calc(100% - 24px);min-height:0;margin:0;line-height:1.35}
/* Complete objects stay visible in the artifact chapters. */
.timeline-media{background-position:center}
.timeline-image-detail{position:absolute;right:18px;bottom:54px;z-index:4;padding:9px 13px;border:1px solid #c7dcea;border-radius:999px;background:#fff;color:#164a70;font-size:12px;font-weight:700;cursor:pointer}
.timeline-image-detail[hidden]{display:none}
.lotus-collection{background:linear-gradient(135deg,#fff,#f0f6fb)}
.lotus-collection .archive-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.lotus-collection .archive-open{height:300px;background:#e8f0f5}
.lotus-collection .archive-open img{object-fit:contain}
@media(max-width:700px){.lotus-collection .archive-strip{grid-template-columns:1fr}.lotus-collection .archive-open{height:330px}.timeline-image-detail{right:12px;bottom:68px}}

.timeline-stage-copy{padding-bottom:24px}.timeline-image-footer{position:relative;z-index:4;display:flex;align-items:center;gap:14px;padding:0 64px 72px}.timeline-image-footer .timeline-image-detail{position:static;flex:none}.timeline-image-footer .timeline-photo-credit{position:static;margin:0;max-width:none;flex:1;padding:0;background:none;color:#e7f2f8;line-height:1.6}
@media(max-width:950px){.timeline-image-footer{padding-left:38px;padding-right:38px}}@media(max-width:620px){.timeline-image-footer{flex-direction:column;align-items:flex-start;padding:0 24px 30px}.timeline-stage-copy{padding-bottom:24px}}
.archive-browse-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:18px 0}.archive-browse-tools label{display:grid;gap:7px;color:#244d69;font-weight:700;flex:1;min-width:min(100%,180px)}.archive-browse-tools select,.archive-browse-tools button,#adminStatusRefresh{padding:12px;border:1px solid #c8dce9;border-radius:12px;background:#fff;color:#164a70;min-height:44px}.archive-browse-tools select{width:100%}.admin-launch-cards a{text-decoration:none;color:#164a70}.admin-service-panel{margin:28px 0;padding:24px;border:1px solid #c8dce9;border-radius:20px;background:#f1f7fb}.admin-service-panel dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:10px 18px}.admin-service-panel dd{margin:0;overflow-wrap:anywhere}.admin-service-panel dt{font-weight:700}.admin-launch-cards h2{font-size:22px}
@media(max-width:620px){.archive-browse-tools{align-items:stretch}.archive-browse-tools button{flex:1}.admin-launch-cards{grid-template-columns:1fr}.admin-service-panel{padding:18px}}
body[data-page="admin-start"] .chips>.button-link{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid #c8dce9;border-radius:12px;background:#f1f7fb;color:#164a70;text-decoration:none}
/* Visitor polish 0.44.12 */
body{font-size:18px}.notice{font-size:13px}.nav a{font-size:15px}.place-card .body p,.business-card p,.event-card p,.day-plan p{font-size:17px;line-height:1.6}.place-card .meta,.biz-address,.biz-meta,.event-bottom,.source-note{font-size:15px}.eyebrow{font-size:12px}.event-card .visit-actions{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap}.event-card .visit-actions>*{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;line-height:1.25;padding:10px 14px}.outing-distance{display:inline-flex;align-items:center;font-size:13px;font-weight:700;line-height:1.3;padding:6px 10px;border-radius:999px;background:#eaf1f8;color:#244b68;align-self:flex-start}.business-card{display:flex;flex-direction:column;min-width:0}.business-card .biz-top{display:block}.business-card .badge{display:inline-block;margin:8px 0}.business-card h3{min-height:2.5em}.business-card .biz-address{margin-top:auto}.business-card>.save-trip{margin-top:14px;align-self:flex-start;min-height:44px;text-decoration:none}.business-card-photo{margin:0 0 16px;position:relative}.business-card-photo .business-photo{display:block;width:100%;height:190px;object-fit:cover;object-position:center;margin:0;border-radius:12px}.business-card-photo.is-logo{background:#fff;border:1px solid #dfe7ed;border-radius:12px}.business-card-photo.is-logo img{object-fit:cover;object-position:center;padding:0}.business-card-photo figcaption,.event-card-photo figcaption{position:absolute;bottom:0;left:0;right:0;border-radius:0 0 12px 12px;background:#082f52e8;color:#fff;font-size:12px;line-height:1.4;padding:6px 10px}.event-card-photo{grid-column:1/-1;position:relative;margin:0 0 8px}.event-card-photo img{display:block;width:100%;height:190px;object-fit:cover;object-position:center;border-radius:12px}.timeline-card{background-size:cover!important;background-position:center!important}.page-hero.has-header-photo{background-image:linear-gradient(95deg,#082f52e8,#082f5299),var(--page-header-photo);background-size:cover;background-position:center;color:#fff}.page-hero.has-header-photo h1,.page-hero.has-header-photo p,.page-hero.has-header-photo .eyebrow{color:#fff}.page-hero.has-header-photo a{color:#fff}.day-plan>img,.festival-card>img,.lodging-card>img{display:block;width:100%;height:190px;object-fit:cover;object-position:center;border-radius:12px;margin-bottom:16px}.profile-layout h1{margin-bottom:16px}@media(max-width:650px){.business-card h3{min-height:0}.event-card-photo img{height:180px}.notice{font-size:12px}}

.visual .card-image-context{position:absolute;bottom:8px;left:10px;right:10px;z-index:3;font-size:12px;color:#fff;background:#082f52db;padding:6px 9px;border-radius:9px;width:auto;height:auto;line-height:1.4}.festival-card>img{object-fit:cover}.stay-card>.business-photo{height:190px;object-fit:cover}

.stay-card{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.stay-card .stay-visual{position:relative;isolation:isolate;overflow:hidden;min-height:240px;display:flex;flex-direction:column;justify-content:flex-end;gap:12px;padding:28px;color:#fff}.stay-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}.stay-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#082f52ef,#082f52a3 55%,#082f521a);z-index:-1}.stay-visual>span,.stay-visual>strong,.stay-visual>small{position:relative;color:#fff;margin:0;max-width:100%;line-height:1.35}.stay-visual>small{font-size:13px}.stay-body{min-width:0}@media(max-width:650px){.stay-card{grid-template-columns:1fr}.stay-card .stay-visual{min-height:220px}}

/* Empty utility bars must never separate the shared header from a page hero. */
.visitor-subnav:empty{display:none}
.business-card-photo{overflow:hidden;border-radius:12px}

.business-card-initials{height:190px;min-height:190px;margin:0 0 16px;display:grid;place-items:center;border-radius:12px;background:#e6eef5;color:#9eb5c9;font-family:Arial,Helvetica,sans-serif;font-size:92px;font-weight:900;line-height:1;letter-spacing:-.04em;overflow:hidden;user-select:none}

.event-card-initials,.festival-card-initials{display:grid;place-items:center;height:190px;border-radius:12px;background:#e6eef5;color:#9eb5c9;font-family:Arial,Helvetica,sans-serif;font-size:84px;font-weight:900;line-height:1;letter-spacing:-.04em;overflow:hidden;user-select:none}.festival-card-initials{margin-bottom:16px}@media(max-width:640px){.event-card-initials{height:180px}}

/* Image rows must remain content-sized, even beside longer event descriptions. */
.event-card{grid-template-rows:auto auto;align-content:start;align-items:start}

/* At-a-glance actions share a row and consistent button dimensions. */
.profile-facts .visit-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}
.profile-facts .visit-actions>a,.profile-facts .visit-actions>button{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:52px;padding:10px 8px;margin:0;text-align:center;font-size:15px;line-height:1.3}
.profile-facts .visit-actions>a:nth-child(n+3){grid-column:1/-1}
