/* Scope original-content layout to the migrated semantic fragments. */
.fg-source-content, .fg-source-section { min-width: 0; color: #123b36; font-family: 'Finergia Sans', Arial, sans-serif; overflow-wrap: break-word; }
.fg-source-content { max-width: 1120px; margin-inline: auto; }
.fg-source-section { margin-block: 32px; }
.fg-source-content :is(p, li), .fg-source-section :is(p, li) { font-size: 17px; line-height: 1.7; }
.fg-source-content :is(h1, h2, h3, h4), .fg-source-section :is(h1, h2, h3, h4) { color: #123b36; font-family: inherit; line-height: 1.25; text-wrap: pretty; }
.fg-source-content :is(h2, h3, h4) { margin-top: 1.6em; }
.fg-source-content img, .fg-source-section img { max-width: 100%; height: auto; }
.fg-source-content figure, .fg-source-section figure { max-width: 100%; margin-inline: 0; }
.fg-source-content figcaption, .fg-source-section figcaption { margin-top: 8px; font-size: 14px; line-height: 1.5; color: #526b63; }
.fg-source-content :is(table, pre), .fg-source-section :is(table, pre) { display: block; max-width: 100%; overflow-x: auto; }
.fg-source-content td, .fg-source-content th { padding: 10px 12px; border: 1px solid #d9e3d4; }
.fg-source-content a, .fg-source-section a { text-underline-offset: .2em; }
main [id] { scroll-margin-top: calc(var(--fg-hero-header-space, 150px) + 24px); }
.fg-service-faq-item > summary > h3 { display: inline; margin: 0; font: inherit; color: inherit; }
.fg-source-content .fg-service-answer { overflow: hidden; }
.fg-source-embed { max-width: 900px; margin: 32px auto; border: 1px solid #d9e3d4; border-radius: 16px; overflow: hidden; background: #f1f5e9; }
.fg-source-embed-placeholder { padding: clamp(24px, 5vw, 48px); text-align: center; }
.fg-source-embed-placeholder > p:first-child { margin-top: 0; font-weight: 600; }
.fg-source-embed iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.fg-source-video-button { padding: 14px 24px; border: 0; border-radius: 10px; background: #123b36; color: white; font: inherit; cursor: pointer; }
.fg-source-embed .fg-source-embed-note { margin-bottom: 0; color: #526b63; font-size: 14px; }
.fg-source-content :is(a, button, summary):focus-visible, .fg-source-embed button:focus-visible { outline: 3px solid #206141; outline-offset: 4px; }
.fg-migration-form { margin: 32px auto; }
.fg-migration-form .fg-form-source-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.fg-editorial-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-block: 16px; color: #526b63; font-size: 14px; line-height: 1.5; }
.fg-editorial-byline .fg-author-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.fg-editorial-byline .fg-author-avatar[hidden] { display: none; }
.fg-editorial-card .fg-editorial-source-read { position: relative; z-index: 2; display: inline-block; padding: 10px 0; color: #123b36; font-weight: 600; text-underline-offset: 4px; }
.fg-migration-form .fg-form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.fg-migration-form .fg-form-consents { min-width: 0; margin: 28px 0; padding: 0; border: 0; }
.fg-migration-form .fg-form-consent + .fg-form-consent { margin-top: 20px; }
.fg-migration-form .fg-form-consent-row { display: flex; align-items: flex-start; gap: 12px; }
.fg-migration-form .fg-form-consent input[type='checkbox'] { display: inline-block; width: 22px; min-width: 22px; height: 22px; min-height: 22px; margin: 3px 0 0; padding: 0; accent-color: #206141; }
.fg-migration-form .fg-form-consent label { font-size: 15px; line-height: 1.65; cursor: pointer; }
.fg-migration-form .fg-form-consent label a { text-decoration: underline; }
@media (max-width: 767px) { .fg-source-content { padding-inline: 20px; } .fg-source-content .fg-source-content { padding-inline: 0; } }
.fg-editorial-categories { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 12px; font-size: 13px; }
.fg-editorial-categories a { color: inherit; text-underline-offset: 3px; }
.fg-source-post-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fg-source-post-navigation h2 { grid-column: 1 / -1; font-size: 20px; }
.fg-source-post-navigation a { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid #dce1e5; border-radius: 16px; color: inherit; text-decoration: none; }
.fg-source-post-navigation a:hover { border-color: currentColor; }
.fg-source-post-navigation small { font-weight: 700; }
@media (max-width: 600px) { .fg-source-post-navigation { grid-template-columns: minmax(0, 1fr); } }
.fg-source-content .fg-source-portrait { max-width: 360px; }
@media (max-width: 767px) { .finergia-content--service .fg-service-content.fg-source-content { padding-inline: 0; } }
.fg-source-embed--map iframe { aspect-ratio: 4 / 3; min-height: 320px; }
