/* Finergia journal: original articles composed as a reading experience. */
.finergia-content--editorial { --journal-ink: #123b36; --journal-muted: #586a63; --journal-line: #d6dfd2; --journal-sage: #eaf0e3; --journal-paper: #f6f6ef; }
.finergia-content--editorial .fg-editorial-hero { background: var(--journal-sage); overflow: hidden; isolation: isolate; }
.finergia-content--editorial .fg-editorial-hero::before { background: none; inset: auto -80px -340px auto; width: 680px; height: 680px; border: 1px solid rgb(18 59 54 / 12%); border-radius: 50%; box-shadow: 0 0 0 70px rgb(18 59 54 / 3%), 0 0 0 140px rgb(18 59 54 / 2%); z-index: -1; }
.fg-editorial-hero .fg-company-inner { max-width: 1248px; padding-inline: 32px; }
.finergia-content--editorial .fg-editorial-hero .fg-company-copy { max-width: 1060px; width: 100%; padding: 0 0 64px; margin: 0; }
.finergia-content--editorial .fg-editorial-hero .fg-company-title { max-width: 1060px; font-size: clamp(34px, 4.3vw, 64px); line-height: 1.07; letter-spacing: -.038em; font-weight: 600; text-wrap: balance; }
.finergia-content--editorial .fg-editorial-hero .fg-company-kicker { margin-bottom: 20px; font-size: 14px; text-transform: uppercase; letter-spacing: .13em; }
.finergia-content--editorial .fg-editorial-hero .fg-company-breadcrumb { margin: 0 0 38px; padding-top: 38px; font-size: 14px; }
.fg-editorial-hero--article .fg-editorial-date { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; font-size: 15px; }
.fg-editorial-reading-time { border-left: 1px solid #8da695; padding-left: 14px; }
/* Posts-page introduction uses its original editable heading, copy, image and links. */
.fg-editorial-intro > .fg-company-hero { min-height: 450px; }
.fg-editorial-intro .fg-company-hero:not(.fg-editorial-hero) .fg-company-title { font-size: clamp(38px, 5vw, 68px); line-height: 1.05; letter-spacing: -.035em; }
.fg-editorial-intro .fg-company-hero:not(.fg-editorial-hero) .fg-company-copy { max-width: 680px; }
.fg-editorial-intro .fg-company-lead { max-width: 620px; }
/* Magazine archive: source story order and complete excerpts are retained. */
.fg-editorial-feed { padding: 56px 0 104px; }
.fg-editorial-feed .fg-editorial-inner { max-width: 1248px; padding-inline: 32px; }
.fg-editorial-feed .fg-editorial-section-title { margin-bottom: 24px; font-size: 34px; letter-spacing: -.025em; }
.fg-journal-categories { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--journal-line); }
.fg-journal-categories a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 15px; border: 1px solid #c7d3c1; border-radius: 100px; color: var(--journal-ink); font-size: 14px; line-height: 20px; text-decoration: none; transition: background 180ms ease, border-color 180ms ease; }
.fg-journal-categories a[aria-current], .fg-journal-categories a:hover { background: var(--journal-ink); border-color: var(--journal-ink); color: #fff; }
.fg-editorial-grid { gap: 38px 30px; }
.finergia-content--editorial .fg-editorial-card { padding: 0; background: transparent; box-shadow: none; border-radius: 0; }
.fg-editorial-card-image { width: 100%; margin: 0 0 24px; overflow: hidden; border-radius: 14px; background: #e5eadc; transition: transform 500ms cubic-bezier(.22,1,.36,1); }
.fg-editorial-card-image img { aspect-ratio: auto 8/5; width: 100%; height: auto; border-radius: 0; }
/* Reserve the measured source canvases; natural dimensions win after decoding. */
.fg-editorial-card-image img[width='768'][height='448'] { aspect-ratio: auto 12/7; }
.fg-editorial-card-image img[width='768'][height='480'] { aspect-ratio: auto 8/5; }
.fg-editorial-card-image img[width='768'][height='402'] { aspect-ratio: auto 128/67; }
.fg-editorial-card:is(:hover,:focus-within) .fg-editorial-card-image { transform: scale(1.025); }
.fg-editorial-card-title { margin: 14px 0 16px; font-size: 25px; line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.fg-editorial-card-title a::after { display: none; }
.fg-editorial-card-title a:focus-visible { outline: 3px solid #206141; outline-offset: 4px; }
.fg-editorial-categories { display: flex; flex-wrap: wrap; gap: 6px; }
.fg-editorial-categories a { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 24px; color: #346241; font-size: 12px; line-height: 1.3; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.fg-editorial-categories a + a::before { content: '/'; margin-right: 6px; color: #a9b6a0; }
.fg-editorial-categories a:hover { text-decoration: underline; }
.fg-editorial-card .fg-editorial-byline { font-size: 13px; line-height: 20px; margin: 0 0 8px; gap: 8px; }
.fg-editorial-card .fg-author-avatar { width: 24px; height: 24px; }
.fg-editorial-card .fg-editorial-date { font-size: 13px; margin: 0; }
.fg-editorial-card .fg-editorial-excerpt { flex: 1; margin-top: 18px; font-size: 16px; line-height: 1.55; }
.fg-editorial-card .fg-editorial-source-read { margin-top: 20px; padding: 10px 0; min-height: 44px; color: var(--journal-ink); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.fg-editorial-source-read::after { display: inline-block; content: '↗'; margin-left: 9px; transition: transform 200ms ease; }
.fg-editorial-source-read:hover::after { transform: translate(3px,-3px); }
.finergia-content--editorial .fg-editorial-card--featured { grid-column: 1/-1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; padding: 0 0 44px; border-bottom: 1px solid var(--journal-line); margin-bottom: 2px; }
.fg-editorial-card--featured .fg-editorial-card-image { margin: 0; align-self: stretch; }
.fg-editorial-card--featured .fg-editorial-card-image a { display: block; height: 100%; }
.fg-editorial-card--featured .fg-editorial-card-image img { height: 100%; min-height: 360px; max-height: 500px; aspect-ratio: 1.3; }
.fg-editorial-card--featured .fg-editorial-card-body { align-self: center; padding: 12px 0; }
.fg-editorial-card--featured .fg-editorial-card-title { font-size: clamp(28px, 2.7vw, 40px); line-height: 1.12; margin-top: 20px; }
.fg-editorial-feed .pagination { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--journal-line); }
/* A generous opening, followed by a chapter rail and comfortable reading column. */
.fg-editorial-post-body { padding: 54px 0 0; }
.fg-editorial-reading--designed { max-width: 1248px; padding-inline: 32px; }
.fg-reading-layout, .fg-reading-layout > .wp-block-group__inner-container { display: grid; grid-template-columns: minmax(0,240px) minmax(0,1fr); column-gap: 72px; align-items: start; }
.fg-reading-layout > .wp-block-group__inner-container { grid-column: 1/-1; }
.fg-reading-layout .wp-block-group__inner-container { max-width: none; }
.fg-reading-opening { grid-column: 1/-1; margin: 0 0 56px; }
.fg-reading-opening, .fg-reading-opening > .wp-block-group__inner-container { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 48px; align-items: center; }
.fg-reading-opening > .wp-block-group__inner-container { grid-column: 1/-1; }
.fg-reading-opening--text, .fg-reading-opening--text > .wp-block-group__inner-container { display: block; max-width: 900px; }
.fg-editorial-post-body .fg-reading-lead { font-family: 'Finergia Serif', Georgia, serif; font-size: clamp(21px,2vw,28px); line-height: 1.5; color: var(--journal-ink); margin: 0; letter-spacing: -.016em; }
.fg-reading-lead strong { font-weight: 600; }
.fg-editorial-post-body .fg-reading-cover { margin: 0; }
.fg-editorial-post-body .fg-reading-cover img { display: block; width: 100%; height: auto; border-radius: 16px; }
.fg-reading-cover figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; text-align: left; }
/* Three original article illustrations are 1344×768 and lack HTML dimensions. */
.fg-reading-chapters img[src^='https://images.byword.ai/'] { display: block; width: 100%; height: auto; aspect-ratio: auto 7/4; }
.fg-reading-toc { grid-column: 1; position: sticky; top: 124px; max-height: calc(100dvh - 154px); overflow: auto; overscroll-behavior: contain; padding: 24px 18px 24px 0; border-top: 3px solid #b1cb51; scrollbar-width: thin; scrollbar-color: #b6c3ad transparent; }
.fg-reading-toc > .wp-block-group__inner-container > :first-child, .fg-reading-toc > :first-child { margin-top: 0; }
.fg-editorial-post-body .fg-reading-toc :is(p,h2) { font-family: 'Finergia Sans', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; line-height: 1.4; color: var(--journal-ink); margin-bottom: 18px; }
.fg-editorial-post-body .fg-reading-toc em { font-style: normal; }
.fg-editorial-post-body .fg-reading-toc :is(ol,ul) { margin: 0; padding-left: 20px; color: #7a8976; font-size: 13px; line-height: 1.4; }
.fg-editorial-post-body .fg-reading-toc li { margin: 0 0 13px; padding-left: 2px; }
.fg-editorial-post-body .fg-reading-toc a { color: #53674e; text-decoration: none; }
.fg-editorial-post-body .fg-reading-toc a:is(:hover,[aria-current]) { color: #123b36; text-decoration: underline; text-underline-offset: 3px; }
.fg-reading-chapters { grid-column: 2; min-width: 0; max-width: 790px; counter-reset: reading-chapter; }
.fg-reading-chapters :is(.wp-block-group,.wp-block-group__inner-container) { min-width: 0; }
.fg-editorial-post-body .fg-reading-preamble { padding: 0 0 36px; }
.fg-editorial-post-body .fg-reading-chapter { padding: 46px 0 42px; margin: 0; border-top: 1px solid var(--journal-line); counter-increment: reading-chapter; }
.fg-reading-chapter-heading { position: relative; padding-left: 60px; margin-bottom: 28px; }
.fg-reading-chapter-heading::before { content: counter(reading-chapter, decimal-leading-zero); position: absolute; left: 0; top: 2px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #e7eddc; color: #476044; font-family: 'Finergia Sans', sans-serif; font-size: 14px; line-height: 1; }
.fg-editorial-post-body .fg-reading-chapter h2 { margin: 0; font-size: clamp(26px,2.5vw,34px); line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; scroll-margin-top: 140px; }
.fg-editorial-post-body .fg-reading-chapter h3 { margin: 32px 0 18px; font-size: 24px; line-height: 1.3; letter-spacing: -.015em; scroll-margin-top: 140px; }
.fg-editorial-post-body .fg-reading-chapters p { margin: 0 0 24px; color: #415a50; font-size: 19px; line-height: 1.72; }
.fg-reading-chapter-copy > .wp-block-group__inner-container > :last-child, .fg-reading-chapter-copy > :last-child { margin-bottom: 0; }
.fg-editorial-post-body .fg-reading-chapter-copy > .wp-block-group__inner-container > figure, .fg-editorial-post-body .fg-reading-chapter-copy > figure { margin: 32px 0; }
.fg-editorial-post-body .fg-reading-chapter-copy blockquote { margin: 32px 0; padding: 30px 32px; border: 0; border-left: 3px solid #b1cb51; border-radius: 0 16px 16px 0; background: #eaf0e3; }
.fg-editorial-post-body .fg-reading-chapter-copy blockquote p { font-family: 'Finergia Serif',Georgia,serif; color: #123b36; font-size: 24px; line-height: 1.55; }
.fg-reading-chapter-copy blockquote p:last-child { margin-bottom: 0; }
.fg-editorial-post-body .fg-reading-checklist { display: grid; gap: 12px; margin: 26px 0; padding: 0; list-style: none; }
.fg-editorial-post-body .fg-reading-checklist > li { position: relative; margin: 0; padding: 19px 20px 19px 48px; border: 1px solid #dce4d5; border-radius: 12px; background: #edf1e7; font-size: 17px; line-height: 1.6; color: #415a50; }
.fg-reading-checklist > li::before { content: '✓'; position: absolute; left: 18px; top: 20px; font-size: 15px; font-weight: 600; color: #477a35; }
.fg-editorial-post-body .fg-reading-steps { list-style: none; counter-reset: reading-step; padding: 0; margin: 28px 0; }
.fg-editorial-post-body .fg-reading-steps > li { position: relative; margin: 0; padding: 8px 0 25px 50px; border-left: 1px solid #c4d1bb; counter-increment: reading-step; margin-left: 15px; font-size: 18px; line-height: 1.65; }
.fg-reading-steps > li::before { content: counter(reading-step); position: absolute; top: 4px; left: -16px; width: 31px; height: 31px; border-radius: 50%; background: #d8e4b0; color: #123b36; display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.fg-reading-steps > li:last-child { border-left-color: transparent; }
.fg-reading-chapter--step .fg-reading-chapter-heading::before { background: #123b36; color: #e4eea6; }
.fg-editorial-post-body .fg-reading-table { overflow-x: auto; max-width: 100%; margin: 28px 0; border: 1px solid #d0dcc9; border-radius: 12px; scrollbar-width: thin; }
.fg-editorial-post-body .fg-reading-table table { width: 100%; min-width: 560px; margin: 0; border-collapse: collapse; font-size: 16px; line-height: 1.55; }
.fg-reading-table :is(th,td) { padding: 17px 18px; border: 0; border-bottom: 1px solid #dbe3d4; text-align: left; vertical-align: top; }
.fg-reading-table tr:first-child { background: #123b36; color: #fff; }
.fg-reading-table tr:first-child :is(strong,b,p) { color: #fff; }
.fg-reading-table tr:nth-child(2n) { background: #ecf1e6; }
.fg-reading-table tr:last-child td { border-bottom: 0; }
.fg-editorial-post-body .fg-reading-action { margin: 28px 0; }
.fg-reading-action a { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; padding: 17px 23px; min-height: 54px; max-width: 100%; border-radius: 7px; background: #c6df58; color: #123b36; font-size: 17px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background 200ms ease, transform 250ms cubic-bezier(.22,1,.36,1); }
.fg-reading-action a::after { content: '↗'; font-size: 23px; font-weight: 400; }
.fg-reading-action a:hover { background: #b5d343; transform: translateY(-2px); text-decoration: none; }
.fg-editorial-post-body .fg-reading-chapter--conclusion { margin: 12px 0 34px; padding: 34px; border: 0; border-radius: 18px; background: #e5eddc; }
.fg-reading-chapter--faq .fg-reading-chapter-heading { padding-left: 0; margin-bottom: 30px; }
.fg-reading-chapter--faq .fg-reading-chapter-heading::before { display: none; }
.fg-reading-faq-item { margin: 0; padding: 0; border-bottom: 1px solid #cbd8c1; }
.fg-reading-faq-item:first-child { border-top: 1px solid #cbd8c1; }
.fg-reading-faq-item summary { position: relative; display: block; cursor: pointer; list-style: none; padding: 24px 42px 24px 0; }
.fg-reading-faq-item summary::-webkit-details-marker { display: none; }
.fg-reading-faq-item summary::before, .fg-reading-faq-item summary::after { position: absolute; right: 5px; top: 34px; width: 16px; height: 2px; background: #123b36; content: ''; transition: transform 220ms ease; }
.fg-reading-faq-item summary::before { transform: rotate(90deg); }
.fg-reading-faq-item[open] summary::before { transform: rotate(0deg); }
.fg-editorial-post-body .fg-reading-faq-item summary h3 { display: inline; margin: 0; font-size: 20px; line-height: 1.4; letter-spacing: -.01em; }
.fg-reading-faq-answer { padding: 0 30px 14px 0; }
.fg-editorial-post-body .fg-reading-faq-answer p { font-size: 18px; line-height: 1.65; }
.fg-reading-faq-item summary:focus-visible { outline: 3px solid #206141; outline-offset: 4px; }
.fg-editorial-post-body .fg-reading-author { margin: 30px 0; padding: 30px; border-top: 3px solid #c6df58; background: #e9efe0; border-radius: 0 0 16px 16px; }
.fg-reading-author, .fg-reading-author > .wp-block-group__inner-container { display: grid; grid-template-columns: 64px 1fr; gap: 12px 20px; align-items: start; }
.fg-reading-author > .wp-block-group__inner-container { grid-column: 1/-1; }
.fg-editorial-post-body .fg-reading-author img { grid-row: 1/3; width: 64px; height: 64px; border-radius: 50%; margin: 0; }
.fg-editorial-post-body .fg-reading-author p { margin: 0; font-size: 15px; line-height: 1.6; }
.fg-editorial-post-body .fg-reading-author p:first-of-type { font-size: 18px; font-weight: 600; color: #123b36; }
.fg-editorial-post-body .fg-reading-references { padding: 22px 0; }
.fg-editorial-post-body .fg-reading-references p { margin-bottom: 10px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.fg-editorial-post-navigation { margin-top: 56px; padding-bottom: 80px; }
.fg-editorial-post-navigation .nav-links { gap: 24px; }
.fg-editorial-post-navigation .nav-links > div { padding: 24px; background: #eaf0e3; border-radius: 14px; }
.fg-editorial-post-navigation .nav-links a { padding: 0; font-size: 20px; line-height: 1.35; text-decoration: none; }
.fg-editorial-post-navigation .nav-links a:hover { text-decoration: underline; }
.fg-editorial-post-navigation .meta-nav { display: block; margin-bottom: 12px; font-size: 14px; color: #526b63; }
@media (min-width: 1200px) { .fg-editorial-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 1000px) {
    .fg-reading-layout, .fg-reading-layout > .wp-block-group__inner-container { grid-template-columns: minmax(0,190px) minmax(0,1fr); gap: 38px; }
    .fg-reading-opening, .fg-reading-opening > .wp-block-group__inner-container { gap: 28px; }
    .fg-editorial-card--featured .fg-editorial-card-image img { min-height: 310px; }
    .finergia-content--editorial .fg-editorial-card--featured { gap: 28px; }
    .fg-editorial-card-title { font-size: 24px; }
}
@media (max-width: 767px) {
    .fg-editorial-hero .fg-company-inner, .fg-editorial-feed .fg-editorial-inner, .fg-editorial-reading--designed { padding-inline: 22px; }
    .finergia-content--editorial .fg-editorial-hero .fg-company-copy { padding-bottom: 42px; }
    .finergia-content--editorial .fg-editorial-hero .fg-company-breadcrumb { margin: 0 0 24px; padding-top: 26px; }
    .finergia-content--editorial .fg-editorial-hero .fg-company-title { font-size: clamp(32px,7.5vw,48px); line-height: 1.08; text-wrap: pretty; }
    .finergia-content--editorial .fg-editorial-hero .fg-company-kicker { font-size: 12px; margin-bottom: 16px; }
    .fg-editorial-intro > .fg-company-hero { min-height: 0; }
    .fg-editorial-feed { padding: 36px 0 64px; }
    .fg-journal-categories { gap: 7px; margin-bottom: 28px; padding-bottom: 22px; }
    .fg-journal-categories a { padding: 7px 12px; font-size: 13px; min-height: 38px; }
    .finergia-content--editorial .fg-editorial-card--featured { display: flex; gap: 0; padding-bottom: 34px; }
    .fg-editorial-card--featured .fg-editorial-card-image { margin-bottom: 24px; }
    .fg-editorial-card--featured .fg-editorial-card-image img { min-height: 0; height: auto; aspect-ratio: 16/10; }
    .fg-editorial-card--featured .fg-editorial-card-body { padding: 0; }
    .fg-editorial-card--featured .fg-editorial-card-title { font-size: 29px; }
    .fg-editorial-grid { gap: 36px; }
    .fg-editorial-card-image { margin-bottom: 20px; }
    .fg-editorial-card .fg-editorial-excerpt { font-size: 16px; }
    .fg-editorial-post-body { padding-top: 30px; }
    .fg-reading-layout, .fg-reading-layout > .wp-block-group__inner-container { display: block; }
    .fg-reading-opening, .fg-reading-opening > .wp-block-group__inner-container { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
    .fg-reading-opening { margin-bottom: 30px; }
    .fg-editorial-post-body .fg-reading-lead { font-size: 22px; line-height: 1.55; }
    .fg-reading-toc { position: static; max-height: 260px; padding: 22px; margin-bottom: 34px; background: #eaf0e3; border-radius: 0 0 12px 12px; }
    .fg-editorial-post-body .fg-reading-toc :is(ol,ul) { font-size: 14px; line-height: 1.5; }
    .fg-reading-chapters { max-width: none; }
    .fg-editorial-post-body .fg-reading-preamble { padding-bottom: 16px; }
    .fg-editorial-post-body .fg-reading-chapter { padding: 32px 0; }
    .fg-reading-chapter-heading { padding-left: 43px; margin-bottom: 23px; }
    .fg-reading-chapter-heading::before { width: 30px; height: 30px; top: 1px; font-size: 12px; }
    .fg-editorial-post-body .fg-reading-chapter h2 { font-size: 26px; line-height: 1.18; text-wrap: pretty; }
    .fg-editorial-post-body .fg-reading-chapter h3 { font-size: 23px; }
    .fg-editorial-post-body .fg-reading-chapters p { font-size: 18px; line-height: 1.72; margin-bottom: 22px; }
    .fg-editorial-post-body .fg-reading-chapter-copy blockquote { padding: 23px; }
    .fg-editorial-post-body .fg-reading-chapter-copy blockquote p { font-size: 22px; }
    .fg-editorial-post-body .fg-reading-checklist > li { padding: 16px 16px 16px 40px; font-size: 16px; }
    .fg-reading-checklist > li::before { left: 15px; top: 17px; }
    .fg-editorial-post-body .fg-reading-steps > li { font-size: 17px; padding-left: 32px; }
    .fg-editorial-post-body .fg-reading-chapter--conclusion { margin-inline: -6px; padding: 26px 20px; }
    .fg-reading-faq-answer { padding-right: 0; }
    .fg-editorial-post-body .fg-reading-faq-item summary h3 { font-size: 19px; }
    .fg-editorial-post-body .fg-reading-author { padding: 24px; }
    .fg-reading-author, .fg-reading-author > .wp-block-group__inner-container { grid-template-columns: 50px 1fr; gap: 16px; }
    .fg-editorial-post-body .fg-reading-author img { width: 50px; height: 50px; grid-row: auto; }
    .fg-editorial-post-body .fg-reading-author p { font-size: 15px; }
    .fg-editorial-post-body .fg-reading-author p:last-child { grid-column: 1/-1; }
    .fg-editorial-post-navigation .nav-links > div { padding: 22px; }
    .fg-editorial-post-navigation { margin-top: 34px; padding-bottom: 52px; }
}
@media (max-width: 359px) {
    .fg-editorial-hero .fg-company-inner, .fg-editorial-feed .fg-editorial-inner, .fg-editorial-reading--designed { padding-inline: 17px; }
    .fg-editorial-post-body .fg-reading-lead { font-size: 21px; }
    .fg-editorial-post-body .fg-reading-chapter h2 { font-size: 25px; }
    .fg-reading-chapter-heading { padding-left: 0; padding-top: 40px; }
    .fg-reading-chapter--faq .fg-reading-chapter-heading { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .finergia-content--editorial *, .finergia-content--editorial *::before, .finergia-content--editorial *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .fg-editorial-card:is(:hover,:focus-within) .fg-editorial-card-image { transform: none; }
}
@media print {
    .fg-reading-layout, .fg-reading-layout > .wp-block-group__inner-container { display: block; }
    .fg-reading-toc { display: none; }
    .fg-reading-opening, .fg-reading-opening > .wp-block-group__inner-container { display: block; }
    .fg-reading-faq-item .fg-reading-faq-answer { display: block; }
    .fg-reading-chapter { break-inside: auto; }
    .fg-reading-chapter-heading { break-after: avoid; }
}
/* The reading template owns its gutters; legacy fragment padding must not compound. */
.finergia-content--editorial .fg-reading-layout.fg-source-content { max-width: none; padding-inline: 0; }
.fg-editorial-post-body .fg-reading-table table { display: table; overflow: visible; }
.fg-editorial-post-navigation .fg-source-post-navigation a { padding: 26px; background: #eaf0e3; border: 1px solid #d3dfca; font-size: 20px; line-height: 1.4; }
.fg-editorial-post-navigation .fg-source-post-navigation small { font-size: 13px; font-weight: 400; color: #526b63; }
.finergia-content--editorial .fg-editorial-hero { margin-bottom: 0; }
.finergia-content--editorial .fg-editorial-hero::after { display: none; }
.finergia-content--editorial .fg-editorial-hero .fg-company-inner { min-height: 0; padding-top: 0; }
.finergia-content--editorial .fg-editorial-hero .fg-company-copy { background: transparent; border-radius: 0; }
/* Many original cover assets contain lettering: keep the complete artwork visible. */
.fg-editorial-card-image img { object-fit: contain; }
.fg-editorial-card--featured .fg-editorial-card-image { align-self: center; }
.fg-editorial-card--featured .fg-editorial-card-image img { height: auto; min-height: 0; max-height: 500px; aspect-ratio: auto; }
.fg-editorial-intro > .fg-company-hero { margin-bottom: 0; }
@media (min-width: 960px) { .fg-editorial-intro > .fg-company-hero:not(.fg-editorial-hero) .fg-company-inner { max-width: 1248px; padding-inline: 32px; } }
.fg-reading-chapters { max-width: 750px; }
.fg-editorial-post-body .fg-reading-toc li { font-size: 14px; line-height: 1.5; }
.fg-editorial-post-body .fg-reading-faq-item + .fg-reading-action { margin-top: 26px; }
@media (max-width: 767px) { .fg-reading-chapters { max-width: none; } }
/* The source heading already names its step; avoid a conflicting chapter number. */
.fg-reading-chapter--step .fg-reading-chapter-heading::before { content: '→'; font-size: 20px; }
.fg-reading-opening--long, .fg-reading-opening--long > .wp-block-group__inner-container { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); align-items: start; }
.fg-editorial-post-body .fg-reading-opening--long .fg-reading-lead { font-size: 23px; line-height: 1.6; }
@media (max-width: 767px) {
    .fg-editorial-post-body .fg-reading-opening--long .fg-reading-lead { font-size: 20px; line-height: 1.65; }
    .fg-reading-opening--long .fg-reading-cover { order: -1; }
}
/* Some original articles begin directly with a chapter, without an introduction. */
.fg-reading-opening:not(:has(p,img)) { display: none; }
.fg-reading-opening:has(.fg-reading-cover):not(:has(.fg-reading-lead)), .fg-reading-opening:has(.fg-reading-cover):not(:has(.fg-reading-lead)) > .wp-block-group__inner-container { display: block; }
.fg-reading-opening:has(.fg-reading-cover):not(:has(.fg-reading-lead)) .fg-reading-cover { max-width: 900px; margin-inline: auto; }
@media (max-width: 767px) {
    .fg-editorial-post-body .fg-reading-table::before { display: block; position: sticky; left: 0; width: 100%; padding: 10px 14px; background: #eaf0e3; color: #526b63; font-size: 12px; line-height: 1.4; content: 'Przewiń tabelę w bok →'; }
}

/* Journal refinement: a quiet masthead, framed lead story and typographic chapters.
   All source text, imagery, reading order and native disclosure behavior stay intact. */
.finergia-content--editorial { --journal-paper: #f6f5ee; --journal-line: #cdd7c9; }
.finergia-content--editorial .fg-editorial-hero { background: var(--journal-paper); border-bottom: 1px solid var(--journal-line); }
.finergia-content--editorial .fg-editorial-hero::before { inset: auto -190px -500px auto; width: 800px; height: 800px; border-color: rgb(18 59 54 / 11%); box-shadow: 0 0 0 64px rgb(18 59 54 / 2%), 0 0 0 128px rgb(18 59 54 / 2%); }
.finergia-content--editorial .fg-editorial-hero .fg-company-title { max-width: 1020px; font-family: 'Finergia Serif', Georgia, serif; font-weight: 400; font-size: clamp(42px,4.8vw,70px); line-height: 1.055; letter-spacing: -.045em; }
.finergia-content--editorial .fg-editorial-hero .fg-company-kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; font-size: 12px; letter-spacing: .16em; }
.finergia-content--editorial .fg-editorial-hero .fg-company-kicker::before { content: ''; flex: 0 0 42px; height: 2px; background: #7b9946; }
.finergia-content--editorial .fg-editorial-hero .fg-company-copy { padding-bottom: 48px; }
.finergia-content--editorial .fg-editorial-hero .fg-company-breadcrumb { margin-bottom: 36px; }
.fg-editorial-hero--article .fg-editorial-date { width: fit-content; margin-top: 32px; padding-top: 18px; border-top: 1px solid #c4d1bd; font-size: 14px; }
.fg-editorial-intro .fg-company-hero:not(.fg-editorial-hero) .fg-company-title { font-family: 'Finergia Serif', Georgia, serif; font-weight: 400; font-size: clamp(46px,5.6vw,80px); line-height: 1.04; letter-spacing: -.045em; }
.fg-editorial-feed .fg-editorial-section-title { font-family: 'Finergia Serif', Georgia, serif; font-weight: 400; font-size: clamp(34px,3.4vw,46px); line-height: 1.15; }
.fg-journal-categories { gap: 10px; margin-bottom: 36px; padding-bottom: 24px; }
.fg-journal-categories a { min-height: 42px; border-color: #c4d0be; border-radius: 6px; background: transparent; transition: color 180ms ease, background 180ms ease, border-color 180ms ease; }
.fg-journal-categories a[aria-current] { box-shadow: inset 0 -3px 0 #c6df58; }
.fg-editorial-grid { gap: 48px 32px; }
.finergia-content--editorial .fg-editorial-card:not(.fg-editorial-card--featured) { padding-bottom: 26px; border-bottom: 1px solid var(--journal-line); }
.fg-editorial-card-image { border-radius: 8px; border: 1px solid #dde3d6; }
.fg-editorial-card-title { font-size: 25px; line-height: 1.22; letter-spacing: -.025em; }
.fg-editorial-card-title a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .16em; transition: text-decoration-color 200ms ease; }
.fg-editorial-card-title a:is(:hover,:focus-visible) { text-decoration-color: currentColor; }
.fg-editorial-card .fg-editorial-source-read { display: inline-flex; align-items: center; gap: 20px; margin-top: 24px; padding-top: 14px; border-top: 1px solid #cdd7c9; text-decoration: none; }
.fg-editorial-source-read::after { display: inline-grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; margin-left: 0; border: 1px solid #bacbb3; border-radius: 50%; font-size: 18px; line-height: 1; transition: transform 250ms cubic-bezier(.22,1,.36,1), background 200ms ease, border-color 200ms ease; }
.fg-editorial-source-read:is(:hover,:focus-visible)::after { transform: translate(3px,-3px); border-color: #c6df58; background: #c6df58; }
.finergia-content--editorial .fg-editorial-card--featured { grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); gap: 40px; margin-bottom: 4px; padding: 36px; border: 1px solid #123b36; border-radius: 18px; background: #123b36; color: #f6f5ee; }
.fg-editorial-card--featured .fg-editorial-card-image { border: 0; border-radius: 8px; box-shadow: 0 12px 36px rgb(0 0 0 / 10%); }
.fg-editorial-card--featured .fg-editorial-card-body { padding: 10px 0; }
.fg-editorial-card--featured .fg-editorial-card-title { margin: 18px 0 22px; font-family: 'Finergia Serif', Georgia, serif; font-weight: 400; font-size: clamp(30px,3.05vw,44px); line-height: 1.12; letter-spacing: -.035em; }
.fg-editorial-card--featured .fg-editorial-card-title a { color: #f6f5ee; }
.fg-editorial-card--featured .fg-editorial-categories a { color: #d3e58c; }
.fg-editorial-card--featured :is(.fg-editorial-byline,.fg-editorial-date,.fg-editorial-excerpt) { color: #d1dcd0; }
.fg-editorial-card--featured .fg-editorial-excerpt { margin-top: 22px; }
.fg-editorial-card--featured .fg-editorial-source-read { border-color: #49665b; color: #e3efa5; }
.fg-editorial-card--featured .fg-editorial-source-read::after { border-color: #7a916d; color: #e3efa5; }
.fg-editorial-card--featured .fg-editorial-source-read:is(:hover,:focus-visible)::after { border-color: #c6df58; color: #123b36; }
.fg-editorial-card--featured a:focus-visible { outline-color: #d3e58c; }
.fg-editorial-feed .page-numbers { border-radius: 50%; min-width: 46px; min-height: 46px; }
.fg-editorial-feed :is(.prev,.next).page-numbers { border-radius: 6px; }

/* The original introduction sits on one paper panel, before the chapter rail.
   Conclusions containing source forms keep their light surface and form colors. */
.fg-editorial-post-body { padding-top: 44px; }
.fg-reading-opening { margin-bottom: 64px; padding: 32px; border: 1px solid #dce2d5; border-radius: 12px; background: #fffef9; }
.fg-reading-opening, .fg-reading-opening > .wp-block-group__inner-container { gap: 40px; }
.fg-reading-opening--text { max-width: none; }
.fg-reading-opening--text .fg-reading-lead { max-width: 840px; }
.fg-editorial-post-body .fg-reading-lead { font-size: clamp(22px,2.1vw,30px); line-height: 1.46; letter-spacing: -.02em; }
.fg-editorial-post-body .fg-reading-cover img { border-radius: 8px; }
.fg-reading-toc { padding: 24px 20px 18px; border-top: 2px solid #879e52; border-radius: 0 0 8px 8px; background: #edf0e6; }
.fg-editorial-post-body .fg-reading-toc :is(p,h2) { margin-bottom: 22px; font-size: 12px; line-height: 1.5; letter-spacing: .12em; }
.fg-editorial-post-body .fg-reading-toc :is(ol,ul) { padding-left: 18px; }
.fg-editorial-post-body .fg-reading-toc li { margin-bottom: 15px; }
.fg-editorial-post-body .fg-reading-toc a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color 180ms ease, text-decoration-color 180ms ease; }
.fg-editorial-post-body .fg-reading-toc a[aria-current] { color: #123b36; text-decoration-color: #7b9946; font-weight: 600; }
.fg-reading-chapter-heading { padding-left: 56px; }
.fg-reading-chapter-heading::before { top: 4px; width: 36px; height: 30px; border-bottom: 1px solid #9daf8b; border-radius: 0; background: transparent; font-size: 13px; font-weight: 400; letter-spacing: .08em; }
.fg-editorial-post-body .fg-reading-chapter h2 { font-family: 'Finergia Serif', Georgia, serif; font-weight: 400; font-size: clamp(29px,2.6vw,37px); line-height: 1.16; letter-spacing: -.03em; }
.fg-editorial-post-body .fg-reading-chapter h2 :is(strong,b) { font-weight: inherit; }
.fg-reading-chapter--step .fg-reading-chapter-heading::before { background: transparent; color: #476044; }
.fg-editorial-post-body .fg-reading-chapter-copy blockquote { border-radius: 0 8px 8px 0; background: #edf0e6; }
.fg-editorial-post-body .fg-reading-checklist > li { border-width: 0 0 1px; border-radius: 0; background: transparent; }
.fg-reading-checklist > li::before { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e2ecc9; font-size: 12px; }
.fg-editorial-post-body .fg-reading-chapter--conclusion:not(:has(.fg-migration-form)) { padding: 36px; border-radius: 12px; background: #123b36; color: #f6f5ee; }
.fg-editorial-post-body .fg-reading-chapter--conclusion:not(:has(.fg-migration-form)) :is(h2,h3,p,strong,b,li) { color: #f6f5ee; }
.fg-editorial-post-body .fg-reading-chapter--conclusion:not(:has(.fg-migration-form)) figcaption { color: #d1dcd0; }
.fg-reading-chapter--conclusion:not(:has(.fg-migration-form)) .fg-reading-chapter-heading::before { border-color: #718666; color: #d5e68c; }
.fg-editorial-post-body .fg-reading-chapter--conclusion:not(:has(.fg-migration-form)) a:not(.fg-reading-action a) { color: #d5e68c; }
.fg-reading-chapter--conclusion:not(:has(.fg-migration-form)) .fg-reading-action a { color: #123b36; }
.fg-reading-faq-item summary { padding-block: 26px; transition: color 180ms ease; }
.fg-reading-faq-item summary::before, .fg-reading-faq-item summary::after { top: 37px; }
.fg-reading-faq-item summary:is(:hover,:focus-visible) { color: #477a35; }
.fg-editorial-post-body .fg-reading-faq-item summary h3 { color: inherit; }
.fg-editorial-post-body .fg-reading-author { border-top-width: 2px; border-radius: 0 0 8px 8px; background: #edf0e6; }
.fg-editorial-post-navigation .fg-source-post-navigation a { border-radius: 8px; background: #fffef9; transition: background 200ms ease, border-color 200ms ease; }
.fg-editorial-post-navigation .fg-source-post-navigation a:is(:hover,:focus-visible) { border-color: #8da568; background: #edf0e6; }
@media (min-width: 768px) and (max-width: 1000px) {
    .finergia-content--editorial .fg-editorial-card--featured { gap: 28px; padding: 28px; }
    .fg-editorial-card--featured .fg-editorial-card-title { font-size: 32px; }
    .fg-reading-opening { padding: 24px; }
    .fg-reading-opening, .fg-reading-opening > .wp-block-group__inner-container { gap: 28px; }
    .fg-reading-toc { padding-inline: 16px; }
}
@media (max-width: 767px) {
    .finergia-content--editorial .fg-editorial-hero .fg-company-title { font-size: clamp(34px,8.7vw,48px); line-height: 1.1; letter-spacing: -.035em; }
    .finergia-content--editorial .fg-editorial-hero .fg-company-copy { padding-bottom: 36px; }
    .finergia-content--editorial .fg-editorial-hero .fg-company-kicker { gap: 12px; font-size: 11px; letter-spacing: .12em; }
    .finergia-content--editorial .fg-editorial-hero .fg-company-kicker::before { flex-basis: 24px; }
    .finergia-content--editorial .fg-editorial-hero .fg-company-breadcrumb { margin-bottom: 28px; }
    .fg-editorial-hero--article .fg-editorial-date { margin-top: 24px; }
    .fg-editorial-grid { gap: 34px; }
    .fg-journal-categories { gap: 8px; }
    .fg-journal-categories a { min-height: 40px; }
    .finergia-content--editorial .fg-editorial-card--featured { gap: 0; padding: 20px; border-radius: 12px; }
    .fg-editorial-card--featured .fg-editorial-card-title { font-size: 31px; line-height: 1.15; }
    .fg-editorial-card--featured .fg-editorial-card-body { padding: 0; }
    .fg-editorial-card--featured .fg-editorial-card-image { margin-bottom: 26px; }
    .fg-editorial-card--featured .fg-editorial-excerpt { margin-top: 18px; }
    .fg-editorial-post-body { padding-top: 24px; }
    .fg-reading-opening { margin-bottom: 32px; padding: 22px; border-radius: 10px; }
    .fg-reading-opening, .fg-reading-opening > .wp-block-group__inner-container { gap: 24px; }
    .fg-editorial-post-body .fg-reading-lead { font-size: 22px; line-height: 1.5; }
    .fg-reading-chapter-heading { padding-left: 44px; }
    .fg-reading-chapter-heading::before { width: 28px; height: 26px; top: 2px; font-size: 12px; }
    .fg-editorial-post-body .fg-reading-chapter h2 { font-size: 29px; line-height: 1.2; }
    .fg-editorial-post-body .fg-reading-chapter--conclusion:not(:has(.fg-migration-form)) { margin-inline: 0; padding: 26px 22px; }
    .fg-reading-chapter--faq .fg-reading-chapter-heading { padding-left: 0; }
}
@media (max-width: 359px) {
    .fg-reading-opening, .finergia-content--editorial .fg-editorial-card--featured { padding: 18px; }
    .fg-editorial-post-body .fg-reading-lead { font-size: 21px; }
    .fg-reading-chapter-heading { padding-left: 0; }
    .fg-editorial-post-body .fg-reading-chapter h2 { font-size: 27px; }
    .fg-editorial-card--featured .fg-editorial-card-title { font-size: 29px; }
}
@media print {
    .finergia-content--editorial :is(.fg-editorial-card--featured,.fg-reading-chapter--conclusion) { border: 1px solid #cdd7c9; background: transparent !important; color: #123b36 !important; box-shadow: none; }
    .finergia-content--editorial :is(.fg-editorial-card--featured,.fg-reading-chapter--conclusion) :is(h2,h3,p,strong,b,li,a,figcaption,time,.fg-editorial-excerpt) { color: #123b36 !important; }
    .finergia-content--editorial :is(.fg-editorial-card--featured,.fg-reading-chapter--conclusion) ::before,
    .finergia-content--editorial :is(.fg-editorial-card--featured,.fg-reading-chapter--conclusion) ::after { color: #123b36 !important; border-color: #8da568; }
    .fg-editorial-card--featured .fg-editorial-card-image { box-shadow: none; }
}
