/* Content pages: travel guides (templates/content/) and texts about places on directory pages, in
   the text pages' look (site.css tokens); also the CMS's preview */
.content-page { max-width: 760px; margin: 0 auto; padding: 1.5rem var(--gutter, 16px) 4rem; }
.content-page h1 { font-size: clamp(1.75rem, 4vw, 2.4rem); line-height: 1.2; letter-spacing: -0.01em; margin: 0.5rem 0 0.75rem; }
.content-page .lead { font-size: 1.15rem; color: var(--fg-secondary, #555); margin: 0 0 0.5rem; }
.content-page .byline { font-size: 0.875rem; color: var(--fg-tertiary, #777); margin: 0 0 2rem; }
.content-page article, .about-text { font-size: 1.0625rem; line-height: 1.65; }
.content-page h2 { font-size: 1.4rem; margin: 2rem 0 0.5rem; }
.content-page h3 { font-size: 1.15rem; margin: 1.5rem 0 0.4rem; }
.about-text h2:not(#about-heading) { font-size: 1.05rem; margin: 1.5rem 0 0.3rem; }
.about-text h3 { font-size: 0.95rem; margin: 1.25rem 0 0.3rem; }
.content-page img, .about-text img { max-width: 100%; height: auto; border-radius: 10px; }
.content-page table, .about-text table { border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.content-page th, .content-page td, .about-text th, .about-text td { border-top: 1px solid var(--border, #e3e1d2); padding: 0.35rem 1rem 0.35rem 0; text-align: left; }
.content-page blockquote, .about-text blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 3px solid var(--border, #e3e1d2); color: var(--fg-secondary, #555); }
.guide-list { list-style: none; padding: 0; }
.guide-list li { padding: 0.75rem 0; border-top: 1px solid var(--border, #e3e1d2); }
.guide-list a { font-size: 1.15rem; font-weight: 600; }
.guide-list p { margin: 0.25rem 0 0; color: var(--fg-secondary, #555); }

/* Directory entries embedded in a page (templates/content/_embed.html) */
.embed-card { display: block; margin: 1.25rem 0; padding: 0.85rem 1rem; border: 1px solid var(--border, #e3e1d2);
  border-radius: 12px; background: var(--bg-elevated, #fff); color: inherit; text-decoration: none; }
.embed-card:hover { border-color: var(--border-hover, rgb(34 34 34 / 0.24)); }
.embed-name { display: block; font-weight: 600; font-size: 1.05rem; }
.embed-th { font-weight: 400; color: var(--fg-secondary, #555); }
.embed-meta { display: block; font-size: 0.875rem; color: var(--fg-secondary, #555); line-height: 1.45; }
.embed-map-block { margin: 1.5rem 0; }
.embed-map { height: 320px; border: 1px solid var(--border, #e3e1d2); border-radius: 12px; overflow: hidden;
  background: var(--bg-surface, #eeece3); }
.embed-map-block figcaption { margin-top: 0.4rem; font-size: 0.875rem; }
.embed-places { margin: 1.5rem 0; padding: 0.85rem 1rem; border: 1px solid var(--border, #e3e1d2); border-radius: 12px; }
.embed-places .embed-heading { margin: 0 0 0.5rem; font-weight: 600; }
.embed-places ul { list-style: none; margin: 0; padding: 0; }
.embed-places li { padding: 0.4rem 0; border-top: 1px solid var(--border, #e3e1d2); }
.embed-places li .embed-meta { display: inline; margin-left: 0.35rem; }
.embed-more { margin: 0.5rem 0 0; font-size: 0.875rem; }
.embed-missing { padding: 0.6rem 0.85rem; border-radius: 8px; background: #fdecea; color: #8a1c12; font-size: 0.9rem; }

/* Photos from the media library (app/cms/content.py) */
.content-page figure.photo, .about-text figure.photo { margin: 1.5rem 0; }
figure.photo img { display: block; width: 100%; height: auto; border-radius: 10px; }
figure.photo figcaption { margin-top: 0.4rem; font-size: 0.875rem; color: var(--fg-secondary, #555); }
figure.photo .photo-credit { color: var(--fg-tertiary, #777); }
figure.photo figcaption span + span::before { content: " · "; }
