/* Business Loans hero/FAQ geometry measured at Capitalise. Finergia content and type. */
.finergia-content--service { max-width: none; padding: 0; }
.finergia-content--service > article { max-width: none; }
.finergia-content--service.fg-hero-under-header { margin-top: calc(-1 * var(--fg-hero-header-space, 0px)); }
.finergia-content--service.fg-hero-under-header .fg-service-hero { padding-top: var(--fg-hero-header-space, 0px); }
:is(.fg-service-hero, .fg-service-body) { color: #123b36; font-family: 'Finergia Sans', Arial, sans-serif; font-weight: 400; }
:is(.fg-service-hero, .fg-service-body), :is(.fg-service-hero, .fg-service-body) *, :is(.fg-service-hero, .fg-service-body) *::before, :is(.fg-service-hero, .fg-service-body) *::after { box-sizing: border-box; }
:is(.fg-service-hero, .fg-service-body) :is(strong, b) { font-weight: 600; }
:is(.fg-service-hero, .fg-service-body) :is(a, summary):focus-visible { outline: 3px solid #206141; outline-offset: 4px; }
/* Classic-theme Group wrappers are presentational, while section landmarks remain. */
:is(.fg-service-hero, .fg-service-body) :is(.fg-service-hero-inner, .fg-service-hero-grid, .fg-service-copy, .fg-service-inner, .fg-service-layout, .fg-service-content, .fg-service-sidebar, .fg-service-contact, .fg-service-section, .fg-service-answer) > .wp-block-group__inner-container { display: contents; }
.fg-service-hero { margin: 0 0 24px; padding: 0; background: #edf4e4; }
.fg-service-hero .fg-service-hero-inner { width: 100%; max-width: 1440px; margin: 0 auto; padding: 16px 16px 40px; }
.fg-service-hero .fg-service-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 24px; color: #526b63; font-size: 14px; line-height: 20px; }
.fg-service-breadcrumb a { text-decoration: none; text-underline-offset: 3px; }
.fg-service-breadcrumb a:hover { text-decoration: underline; }
.fg-service-hero .fg-service-hero-grid { display: flex; flex-direction: column; align-items: center; gap: 24px; margin: 0; }
.fg-service-hero .fg-service-copy { min-width: 0; width: 100%; margin: 0; }
.fg-service-hero .fg-service-kicker { margin: 0 0 8px; color: #526b63; font-size: 14px; font-weight: 600; line-height: 20px; text-transform: uppercase; }
.fg-service-hero .fg-service-title { margin: 0 0 12px; color: #123b36; font-family: inherit; font-size: 30px; font-weight: 600; line-height: 36px; text-wrap: balance; overflow-wrap: normal; }
.fg-service-hero .fg-service-lead { max-width: 640px; margin: 12px 0 0; color: #526b63; font-size: 18px; line-height: 26px; text-wrap: pretty; }
.fg-service-hero .fg-service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0 0; }
.fg-service-actions .wp-block-button { width: 100%; margin: 0; }
.fg-service-actions .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 11px 42px; border: 2px solid #206141; border-radius: 4px; background: #206141; color: #fff; font-family: inherit; font-size: 18px; font-weight: 600; line-height: 26px; text-align: center; text-decoration: none; touch-action: manipulation; transition: opacity 300ms cubic-bezier(.4, 0, .2, 1); }
.fg-service-actions .wp-block-button__link:is(:hover, :focus-visible) { opacity: .8; }
.fg-service-actions .fg-service-secondary .wp-block-button__link { border-color: #b8c9ac; background: transparent; color: #123b36; }
.fg-service-hero .fg-service-art { display: none; min-width: 0; margin: 0; }
.fg-service-hero .fg-service-art img { display: block; width: auto; max-width: 100%; max-height: 440px; height: auto; margin: 0 auto; object-fit: contain; }
/* The accepted Finergia entrance is additional to the source's static layout. */
.finergia-content--service .fg-service-copy > *, .finergia-content--service .fg-service-art { animation: fg-service-enter 640ms cubic-bezier(.22, 1, .36, 1) both; }
.finergia-content--service .fg-service-title { animation-delay: 70ms; }
.finergia-content--service .fg-service-lead { animation-delay: 140ms; }
.finergia-content--service .fg-service-actions { animation-delay: 210ms; }
.finergia-content--service .fg-service-art { animation-delay: 120ms; }
@keyframes fg-service-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Own reading layout: original copy, jump navigation, and a compact expert card. */
.fg-service-body { margin: 0 0 64px; padding: 32px 0 0; }
.fg-service-body .fg-service-inner { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: 16px; }
.fg-service-body .fg-service-layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 40px; margin: 0; }
.fg-service-body .fg-service-content, .fg-service-body .fg-service-sidebar { min-width: 0; margin: 0; }
.fg-service-body .fg-service-content { width: 100%; max-width: 757px; }
.fg-service-body .fg-service-toc { margin: 0; padding: 0; border: 1px solid #d9e3d4; border-radius: 12px; background: #fff; }
.fg-service-toc > summary { position: relative; margin: 0; padding: 20px 48px 20px 20px; font-size: 18px; font-weight: 600; line-height: 24px; list-style: none; cursor: pointer; }
.fg-service-toc > summary::-webkit-details-marker { display: none; }
.fg-service-toc > summary::after { position: absolute; top: 27px; right: 23px; width: 9px; height: 9px; border-right: 2px solid #206141; border-bottom: 2px solid #206141; content: ''; transform: rotate(45deg); transition: transform 200ms ease; }
.fg-service-toc[open] > summary::after { transform: rotate(225deg); }
.fg-service-toc .fg-service-toc-list { margin: 0; padding: 0 12px 16px; list-style: none; }
.fg-service-toc-list li { margin: 0; padding: 0; }
.fg-service-toc-list a { display: block; padding: 10px 12px; border-left: 2px solid transparent; color: #526b63; font-size: 15px; line-height: 21px; text-decoration: none; transition: background-color 160ms ease, color 160ms ease; }
.fg-service-toc-list a:is(:hover, :focus-visible), .fg-service-toc-list a[aria-current='location'] { border-left-color: #206141; background: #edf4e4; color: #123b36; }
.fg-service-body .fg-service-contact { display: none; margin: 24px 0 0; padding: 24px; border-radius: 16px; background: #edf4e4; }
.fg-service-contact h2 { margin: 0 0 16px; font-family: inherit; font-size: 24px; font-weight: 600; line-height: 30px; }
.fg-service-contact p { margin: 12px 0; color: #526b63; font-size: 16px; line-height: 24px; }
.fg-service-contact .wp-block-image { margin: 0 0 16px; }
.fg-service-contact .wp-block-image img { display: block; width: 76px; height: 95px; object-fit: contain; object-position: center bottom; border-radius: 8px; background: #fff; }
.fg-service-contact figcaption { margin: 8px 0 0; color: #526b63; font-size: 14px; line-height: 20px; }
.fg-service-contact figcaption strong { color: #123b36; font-size: 17px; }
.fg-service-contact .wp-block-buttons, .fg-service-contact .wp-block-button { width: 100%; margin: 16px 0 0; }
.fg-service-contact .wp-block-button__link { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 12px 16px; overflow: hidden; border: 1px solid transparent; border-radius: 12px; background: #c6df58; color: #12352b; font-family: inherit; font-size: 17px; font-weight: 600; line-height: 24px; text-align: center; text-decoration: none; }
.fg-service-contact .wp-block-button__link::before { position: absolute; z-index: -1; top: 50%; left: calc(-100% - 56px); width: calc(100% + 56px); height: 150px; border-radius: 0 50% 50% 0; background: #e0ed99; content: ''; transform: translateY(-50%); transition: left 800ms ease-out; pointer-events: none; }
.fg-service-contact .wp-block-button__link:is(:hover, :focus-visible)::before { left: 0; }
.fg-service-body .fg-service-section { margin: 0 0 48px; padding: 0 0 40px; border-bottom: 1px solid #d9e3d4; }
.finergia-content--service [id] { scroll-margin-top: calc(var(--fg-hero-header-space, 160px) + 24px); }
.fg-service-section :is(h2, h3, h4) { color: #123b36; font-family: inherit; font-weight: 600; text-wrap: pretty; }
.fg-service-section h2 { margin: 0 0 24px; font-size: 26px; line-height: 34px; }
.fg-service-section h3 { margin: 28px 0 16px; font-size: 22px; line-height: 30px; }
.fg-service-section h4 { margin: 24px 0 12px; font-size: 20px; line-height: 28px; }
.fg-service-section :is(p, li, td, th) { color: #526b63; font-size: 18px; line-height: 28px; }
.fg-service-section p { margin: 0 0 20px; }
.fg-service-section :is(ul, ol) { margin: 20px 0; padding-left: 1.4em; }
.fg-service-section li { margin: 12px 0; padding-left: .25em; }
.fg-service-section li::marker { color: #206141; }
.fg-service-section a { color: #206141; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.fg-service-section a:hover { text-decoration-thickness: 2px; }
.fg-service-section table { width: 100%; }
.fg-service-section .finergia-form-placeholder { font-size: 15px; line-height: 23px; border-color: #b8c9ac; border-radius: 8px; }
.fg-service-section--example { padding: 24px !important; border: 1px solid #d9e3d4; border-radius: 12px; background: #fff; }
.fg-service-section--example h2 { font-size: 22px; line-height: 30px; }
.fg-service-section--example :is(p, li) { font-size: 16px; line-height: 26px; }
.fg-service-section--reviews { --fg-forest: #123b36; --fg-muted: #526b63; --fg-line: #d9e3d4; }
.fg-service-section--reviews .fg-trust-row { display: block; margin: 0; border: 0; }
.fg-service-section--reviews .fg-review-badge { display: inline-flex; flex-wrap: wrap; justify-content: flex-start; gap: 16px; min-height: 52px; padding: 12px 0; text-decoration: none; }
.fg-service-section--reviews .fg-trust-logo { width: 144px; height: auto; }
.fg-service-section--reviews .fg-trust-score { display: inline-flex; align-items: center; gap: 12px; }
.fg-service-section--reviews .fg-trust-rating { font-size: 20px; font-weight: 600; }
.fg-service-section--reviews .fg-trust-count { font-size: 16px; }

/* Source accordion proportions; native details supply keyboard/no-JS behavior. */
.fg-service-body .fg-service-section--faq { max-width: 757px; margin-bottom: 96px; padding-bottom: 0; border-bottom: 0; }
.fg-service-section--faq > .wp-block-group__inner-container > h2,
.fg-service-section--faq > h2 { margin: 0 0 48px; color: #206141; font-size: 18px; font-weight: 600; line-height: 24px; text-align: center; text-transform: uppercase; }
.fg-service-section--faq .fg-service-faq-item { margin: 0; padding: 0; border-top: 1px solid #e5e7eb; border-radius: 0; box-shadow: none; }
.fg-service-faq-item > summary { position: relative; display: block; margin: 0; padding: 24px 40px 24px 0; color: #123b36; font-size: 18px; font-weight: 600; line-height: 24px; list-style: none; cursor: pointer; touch-action: manipulation; }
.fg-service-faq-item > summary::-webkit-details-marker { display: none; }
.fg-service-faq-item > summary::after { position: absolute; top: calc(50% - 12px); right: 0; width: 24px; height: 24px; background: currentColor; clip-path: polygon(22% 35%, 50% 63%, 78% 35%, 84% 41%, 50% 75%, 16% 41%); content: ''; transform: rotate(0deg); transition: transform 200ms cubic-bezier(.4, 0, .2, 1); }
.fg-service-faq-item[open] > summary::after { transform: rotate(180deg); }
.fg-service-faq-item.fg-faq-closing > summary::after { transform: rotate(0deg); }
.fg-service-faq-item .fg-service-answer { display: flow-root; margin: 0; overflow: hidden; }
.fg-service-answer :is(p, li) { font-size: 18px; font-weight: 400; line-height: 26px; }
.fg-service-answer p { margin: 1.25em 0; }
.fg-service-answer > :first-child, .fg-service-answer > .wp-block-group__inner-container > :first-child { margin-top: 0; }
.fg-service-answer > :last-child, .fg-service-answer > .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
.fg-service-section--faq:not(:has(.fg-service-faq-item)) :is(p, li) { font-size: 18px; line-height: 26px; }
@media (min-width: 768px) {
    .fg-service-hero .fg-service-hero-inner { padding: 24px 48px 64px; }
    .fg-service-hero .fg-service-breadcrumb { margin-bottom: 32px; }
    .fg-service-hero .fg-service-hero-grid { gap: 40px; }
    .fg-service-hero .fg-service-kicker { font-size: 16px; line-height: 24px; }
    .fg-service-hero .fg-service-title { font-size: 42px; line-height: 50px; }
    .fg-service-hero .fg-service-lead { font-size: 20px; line-height: 36px; }
    .fg-service-actions .wp-block-button, .fg-service-actions .wp-block-button__link { width: auto; }
    .fg-service-hero .fg-service-art { display: block; width: 100%; }
    .fg-service-body { padding-top: 48px; margin-bottom: 96px; }
    .fg-service-body .fg-service-inner { padding-inline: 48px; }
    .fg-service-section h2 { font-size: 32px; line-height: 40px; }
    .fg-service-section--example h2 { font-size: 24px; line-height: 32px; }
    .fg-service-body .fg-service-section--faq { margin-bottom: 128px; }
    .fg-service-section--faq > .wp-block-group__inner-container > h2, .fg-service-section--faq > h2 { font-size: 22px; line-height: 28px; }
    .fg-service-faq-item > summary { font-size: 22px; line-height: 28px; }
    .fg-service-answer :is(p, li), .fg-service-section--faq:not(:has(.fg-service-faq-item)) :is(p, li) { font-size: 22px; line-height: 36px; }
}
@media (min-width: 1024px) {
    .fg-service-hero .fg-service-hero-inner { padding-top: 32px; }
    .fg-service-hero .fg-service-hero-grid { flex-direction: row; gap: 10px; }
    .fg-service-hero .fg-service-copy { width: 60%; }
    .fg-service-hero .fg-service-art { width: 40%; }
    .fg-service-hero .fg-service-art img { max-height: 550px; }
    .fg-service-body .fg-service-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; }
    .fg-service-body .fg-service-content { grid-column: 1; grid-row: 1; }
    .fg-service-body .fg-service-sidebar { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--fg-hero-header-space, 160px) + 16px); max-height: calc(100dvh - var(--fg-hero-header-space, 160px) - 32px); padding: 8px; overflow-y: auto; scrollbar-width: thin; scrollbar-gutter: stable; overscroll-behavior: contain; }
    .fg-service-body .fg-service-contact { display: block; }
}
@media (min-width: 1440px) {
    .fg-service-hero .fg-service-hero-inner, .fg-service-body .fg-service-inner { padding-inline: 112px; }
    .fg-service-hero .fg-service-art img { max-width: min(100%, 480px); }
    .fg-service-body .fg-service-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; }
}
/* Keep all editable content visible even in a narrow editor canvas. */
.editor-styles-wrapper .fg-service-hero .fg-service-art,
.editor-styles-wrapper .fg-service-body .fg-service-contact { display: block; }
.editor-styles-wrapper .fg-service-hero .fg-service-art img { max-width: min(100%, 320px); }
.editor-styles-wrapper .fg-service-body .fg-service-sidebar { position: static; max-height: none; overflow: visible; }
@media (prefers-reduced-motion: reduce) {
    :is(.fg-service-hero, .fg-service-body) *, :is(.fg-service-hero, .fg-service-body) *::before, :is(.fg-service-hero, .fg-service-body) *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
    .fg-service-actions .wp-block-button__link, .fg-service-contact .wp-block-button__link { border: 2px solid ButtonText; }
    .fg-service-contact { border: 1px solid CanvasText; }
}
@media print {
    .finergia-content--service.fg-hero-under-header { margin-top: 0; }
    .finergia-content--service.fg-hero-under-header .fg-service-hero { padding-top: 0; }
    .fg-service-hero .fg-service-hero-inner, .fg-service-body .fg-service-inner { padding-inline: 0; }
    .fg-service-body .fg-service-layout { display: block; }
    .fg-service-body .fg-service-sidebar { display: none; }
    .fg-service-body .fg-service-content { max-width: none; }
    .fg-service-body .fg-service-section { margin-bottom: 24px; padding-bottom: 24px; }
    .fg-service-section--reviews .fg-trust-row { display: block !important; }
    :is(.fg-service-hero, .fg-service-body) * { animation: none !important; }
}
