/*
Theme Name: Twenty Twenty-Five
Author: Easy Finance Tips
Version: 1.1.0
Update URI: false
WPVibe: yes
*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');
html{scroll-behavior:smooth}
header nav a[aria-current="true"]{background:var(--brand-soft);color:var(--navy)}
/* Keep calculator form controls at Lovable sizes when Elementor global input styles load. */
[data-calculator] input[type=number]{height:2.75rem;min-height:0;border:0;border-radius:0;background:transparent;padding:0;font:inherit;font-size:.875rem;box-shadow:none;color:inherit}
[data-calculator] select{height:2.75rem;font-size:.875rem}
[data-calculator] .recharts-wrapper{font-family:inherit}
[data-calculator] .recharts-tooltip-wrapper{z-index:5}
[data-calculator] button[type=submit]{cursor:pointer}

body.font-sans{margin:0;font-family:Manrope,ui-sans-serif,system-ui,sans-serif!important}
#wpadminbar{position:fixed}
/* Preserve Lovable corner tokens against preview plugin utility overrides. */
header .rounded-sm,section[aria-labelledby="hero-title"] .rounded-sm{border-radius:calc(var(--radius) - 4px)}
header .rounded-md,section[aria-labelledby="hero-title"] .rounded-md{border-radius:calc(var(--radius) - 2px)}
header .rounded-lg,section[aria-labelledby="hero-title"] .rounded-lg{border-radius:var(--radius)}
/* Low-specificity Lovable defaults: explicit Elementor controls remain editable. */
:where(.elementor-widget-heading .elementor-heading-title){font-family:Sora,ui-sans-serif,system-ui,sans-serif}
:where(.eft-module-editorial .elementor-widget-text-editor){font-family:inherit}
:where(.eft-module-editorial .elementor-widget-text-editor p){margin:0}
/* Lovable ticker controls and requested blue update action. */
.eft-updates-button{background:var(--navy);color:#fff;box-shadow:var(--shadow-card)}
.eft-updates-button:hover{filter:brightness(.94)}
.eft-ticker:hover .animate-ticker,.eft-ticker:focus-within .animate-ticker{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.eft-ticker .animate-ticker{animation:none;transform:none}}
/* Comparison controls use scoped styles so utility compilation cannot omit them. */
[data-provider-search]{padding:.625rem .75rem .625rem 2.5rem;font-size:.875rem;line-height:1.25rem}
[data-provider-section] label.relative>svg{left:.75rem;top:.75rem}
[data-provider-grid]{display:grid;grid-template-columns:minmax(0,1fr);gap:1.25rem}
[data-comparison-grid]:not(.hidden){display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
@media(min-width:768px){[data-provider-grid],[data-comparison-grid]:not(.hidden){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1280px){[data-comparison-grid]:not(.hidden){grid-template-columns:repeat(3,minmax(0,1fr))}}
.eft-native-content h2{font-family:var(--font-display);font-size:1.5rem;font-weight:700;line-height:1.3;margin-top:1.75rem}.eft-native-content h3{font-size:1.25rem;font-weight:700;margin-top:1.5rem}.eft-native-content ul{list-style:disc;padding-left:1.5rem}.eft-native-content ol{list-style:decimal;padding-left:1.5rem}.eft-native-content a{color:var(--brand);text-decoration:underline}.eft-native-content img{max-width:100%;height:auto}.eft-native-content table{display:block;max-width:100%;overflow-x:auto}.eft-native-content blockquote{border-left:3px solid var(--brand);padding-left:1rem}
/* Keep the full brand and both header controls visible on narrow phones. */
@media(max-width:479px){
 body>header>.container-page{gap:8px}
 body>header a[aria-label="Easy Finance Tips home"]{gap:8px;min-width:0}
 body>header a[aria-label="Easy Finance Tips home"]>span[aria-hidden]{flex-shrink:0}
 body>header a[aria-label="Easy Finance Tips home"]>.leading-tight{min-width:0}
 body>header a[aria-label="Easy Finance Tips home"]>.leading-tight>span:first-child{font-size:clamp(14px,4vw,18px);white-space:nowrap}
 body>header a[aria-label="Easy Finance Tips home"]>.leading-tight>span:last-child{font-size:10px}
 body>header>.container-page>div:last-child{flex-shrink:0}
}
/* Keep long calculator chart tooltips within narrow mobile screens. */
@media(max-width:639px){
 [data-calculator] .recharts-default-tooltip{max-width:calc(100vw - 112px);white-space:normal!important;overflow-wrap:anywhere}
}
/* Use the existing compact menu while the full navigation would crowd the brand. */
@media(min-width:1024px) and (max-width:1279px){
 body>header nav[aria-label="Main navigation"]{display:none}
 body>header button[data-menu]{display:inline-flex}
 body>header #mobile-nav:not(.hidden){display:block}
}
/* Restore the existing provider-detail desktop layout omitted from compiled utilities. */
@media(min-width:1024px){main [class~="lg:grid-cols-[minmax(0,1.5fr)_minmax(280px,.7fr)]"]{grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr)}}
/* Compact cards only in the Finance Guides listing. */
.eft-guides-grid article>a:first-child{aspect-ratio:16/8;}
.eft-guides-grid article>div{gap:.375rem;padding:.75rem;}
.eft-guides-grid article h3{font-size:13px;line-height:1.35;}
.eft-guides-grid article p.line-clamp-3{-webkit-line-clamp:2;font-size:12px;line-height:1.45;}
.eft-guides-grid article p.mt-auto{padding-top:.5rem;font-size:10px;}
