.footer-page { background: #f4f9fe; color: #08265a; }
.footer-page .footer-page-main { padding: 0 0 72px; }
.footer-page .directory-header { background: rgba(255,255,255,.97); }
.footer-page-hero { width: 100%; max-width: none; padding: 46px 0 30px; background: #eaf5ff; }
.footer-page-hero h1 { margin: 0; font-size: 44px; line-height: 1.14; color: #08265a; }
.footer-page-hero p { margin: 14px 0 0; color: #31527c; font-size: 18px; line-height: 1.6; }
.footer-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.footer-page-card { display: block; min-height: 164px; padding: 22px; border: 1px solid #d9e6f2; border-radius: 8px; background: #fff; color: #08265a; text-decoration: none; box-shadow: 0 8px 22px rgba(24,67,112,.035); }
.footer-page-card h2 { margin: 0; font-size: 20px; }
.footer-page-card p { margin: 10px 0 0; color: #416184; font-size: 14px; line-height: 1.55; }
.footer-page-card:hover { border-color: #9dc8f2; background: #fbfdff; }
.footer-page-copy { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 32px; max-width: none; margin-top: 34px; }
.footer-page-copy section { padding: 22px; border: 1px solid #dbe7f2; border-radius: 8px; background: #fff; }
.footer-page-copy section:first-child { grid-row: span 3; background: #edf7ff; }
.footer-page-copy h2 { margin: 0; font-size: 23px; }
.footer-page-copy p { color: #31527c; font-size: 16px; line-height: 1.7; }
.random-panel { display: grid; gap: 18px; max-width: 600px; margin-top: 34px; padding: 26px; border: 1px solid #d9e6f2; border-radius: 8px; background: #fff; }
.random-panel button { width: fit-content; min-height: 46px; padding: 0 18px; border: 0; border-radius: 6px; color: #fff; background: #06a76a; font: inherit; font-weight: 700; cursor: pointer; }
.random-panel a { color: #0878ef; font-weight: 700; }
.footer-page-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: -5px 0 28px; }
.footer-page-tools input { flex: 1; min-height: 46px; padding: 0 14px; border: 1px solid #cddfeb; border-radius: 7px; font: inherit; }
.footer-page-tools button { min-height: 40px; padding: 0 15px; border: 1px solid #d5e4f1; border-radius: 7px; color: #31527c; background: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.footer-page-tools button:hover, .footer-page-tools button.is-active { border-color: #0878ef; color: #fff; background: #0878ef; }
@media (max-width: 760px) { .footer-page .footer-page-main { padding: 36px 0 48px; } .footer-page-hero { padding: 32px 0 22px; } .footer-page-hero h1 { font-size: 34px; } .footer-page-grid { grid-template-columns: 1fr; } .footer-page-copy { grid-template-columns: 1fr; gap: 14px; } .footer-page-copy section:first-child { grid-row: auto; } .footer-page-tools input { flex-basis: 100%; } }

/* random-calculator img-2 composition */
.footer-page .footer-page-main{position:relative;overflow:hidden;padding:0 0 78px;background:linear-gradient(180deg,#f8fcff 0%,#fff 68%)}
.footer-page .footer-page-main:before{content:'✦   +        %';position:absolute;inset:120px 4% auto;color:#7eb4e9;font:700 30px/1 'Trebuchet MS',sans-serif;letter-spacing:18vw;opacity:.7;pointer-events:none}
.footer-page .footer-page-main>.directory-container{position:relative;z-index:1}
.footer-page .footer-page-hero{position:relative;min-height:350px;padding:52px 0 42px;background:linear-gradient(110deg,#eef8ff 0%,#fff 54%,#fff4df 100%);border-bottom:1px solid #e1ecf5;text-align:center;overflow:hidden}
.footer-page .footer-page-hero:before{content:'';position:absolute;right:7%;top:28px;width:174px;height:174px;border:18px solid #8bd4ed;border-radius:50%;background:radial-gradient(circle at 40% 35%,#6ed7ea 0 14%,transparent 15%),radial-gradient(circle at 64% 68%,#31b98e 0 18%,transparent 19%),linear-gradient(135deg,#a9e7f3,#59bde8);box-shadow:0 14px 0 #b2cfe4,0 22px 30px #23679c20;opacity:.96}
.footer-page .footer-page-hero:after{content:'%';position:absolute;right:1%;top:50px;width:48px;height:48px;display:grid;place-items:center;border-radius:10px;background:#ffcb35;color:#fff;font:700 30px/1 'Trebuchet MS',sans-serif;transform:rotate(10deg);box-shadow:0 6px 0 #e9aa2c}
.footer-page .footer-page-hero h1{position:relative;z-index:2;margin:0 auto;font-family:'Trebuchet MS','Segoe UI',sans-serif;font-size:46px;letter-spacing:-1.8px;color:#071d4c}
.footer-page .footer-page-hero h1:before{content:'GOOD TOOLS. LESS EFFORT.';display:block;margin-bottom:14px;color:#218568;font:700 11px/1 'Segoe UI',sans-serif;letter-spacing:4px}
.footer-page .footer-page-hero p{position:relative;z-index:2;max-width:580px;margin:12px auto 0;color:#3c5d87;font-size:17px}
.footer-page .random-panel{position:relative;z-index:3;max-width:710px;margin:-30px auto 0;padding:27px 34px;border:1px solid #cddfed;border-radius:16px;background:#fff;box-shadow:0 16px 32px #214f7b14;text-align:center}
.footer-page .random-panel:before{content:'Choose a category';display:block;margin-bottom:14px;color:#315b8c;font-size:12px;font-weight:700}
.footer-page .random-panel:after{content:'Finance    Health    Math    Home    Everyday';display:block;margin-top:17px;color:#2675d6;font-size:11px;word-spacing:13px}
.footer-page .random-panel p{margin:0;color:#31527c;font-size:15px}
.footer-page .random-panel button{min-height:46px;margin-top:2px;padding:0 25px;border-radius:24px;background:linear-gradient(135deg,#0976f5,#0b5fe1);box-shadow:0 7px 0 #b7d4f8,0 11px 18px #1769d226;transition:transform .18s,box-shadow .18s}
.footer-page .random-panel button:hover{transform:translateY(-2px);box-shadow:0 9px 0 #b7d4f8,0 15px 22px #1769d22b}
.footer-page .random-panel a{display:inline-block;margin-left:18px;color:#0a65d7;font-size:13px}
.footer-page .directory-newsletter{background:linear-gradient(90deg,#e9f8f1,#edf7ff 60%,#fff4d8)}
@media(max-width:900px){.footer-page .footer-page-hero:before{right:3%;transform:scale(.85)}.footer-page .footer-page-hero:after{right:1%}.footer-page .newsletter-inner{flex-wrap:wrap}.footer-page .directory-newsletter form{width:100%;margin-left:0}}
@media(max-width:760px){.footer-page .footer-page-main{padding-bottom:50px}.footer-page .footer-page-hero{min-height:290px;padding:34px 20px 28px}.footer-page .footer-page-hero h1{font-size:35px}.footer-page .footer-page-hero h1:before{font-size:9px;letter-spacing:2.5px}.footer-page .footer-page-hero p{font-size:14px}.footer-page .footer-page-hero:before{right:-35px;top:24px;width:115px;height:115px;border-width:12px}.footer-page .footer-page-hero:after{right:4%;top:30px;width:35px;height:35px;font-size:23px}.footer-page .random-panel{margin:-19px 18px 0;padding:22px 17px}.footer-page .random-panel a{display:block;margin:15px 0 0}.footer-page .random-panel:after{font-size:9px;word-spacing:5px}}

/* new-calculators img-2 collection composition */
.footer-page-main:has(.footer-page-tools){padding:0 0 66px;background:linear-gradient(180deg,#f4faff 0,#fff 55%)}
.footer-page-main:has(.footer-page-tools):before{display:none}
.footer-page-main:has(.footer-page-tools)>.directory-container{max-width:1400px}
.footer-page-main:has(.footer-page-tools) .footer-page-hero{min-height:0;padding:44px 0 30px;background:linear-gradient(105deg,#edf7ff,#f7fbff 58%,#edf8ff);text-align:left;border-bottom:1px solid #dceaf5}
.footer-page-main:has(.footer-page-tools) .footer-page-hero:before{content:'NEW';position:absolute;right:8%;top:36px;display:grid;place-items:center;width:74px;height:74px;border-radius:50%;background:#c5f1e0;color:#148d70;font:800 16px/1 'Trebuchet MS',sans-serif;transform:rotate(12deg);box-shadow:0 8px 0 #8edabf}
.footer-page-main:has(.footer-page-tools) .footer-page-hero:after{content:'✦  +  ↗';position:absolute;right:14%;bottom:25px;color:#efa92a;font:700 22px/1 'Trebuchet MS',sans-serif;letter-spacing:24px}
.footer-page-main:has(.footer-page-tools) .footer-page-hero h1{font-size:48px;letter-spacing:-1.8px}
.footer-page-main:has(.footer-page-tools) .footer-page-hero h1:before{content:'FRESHLY ADDED';color:#1ba878}
.footer-page-main:has(.footer-page-tools) .footer-page-hero p{margin-top:10px;font-size:18px}
.footer-page-main:has(.footer-page-tools) .footer-page-tools{display:grid;grid-template-columns:minmax(340px,1fr) repeat(5,auto);align-items:center;gap:10px;margin:-1px 0 25px;padding:18px 0 0}
.footer-page-main:has(.footer-page-tools) .footer-page-tools input{height:48px;padding:0 18px;border:1px solid #c9dcec;border-radius:8px;background:#fff;box-shadow:0 6px 18px #225b8d0c;font-size:14px}
.footer-page-main:has(.footer-page-tools) .footer-page-tools button{height:42px;padding:0 21px;border:1px solid #cfe1ef;border-radius:22px;background:#fff;color:#1f5b96;font-weight:700}
.footer-page-main:has(.footer-page-tools) .footer-page-tools button.is-active,.footer-page-main:has(.footer-page-tools) .footer-page-tools button:hover{border-color:#0878ef;background:#0878ef;color:#fff;box-shadow:0 5px 0 #c7ddf4}
.footer-page-main:has(.footer-page-tools) .footer-page-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:0}
.footer-page-main:has(.footer-page-tools) .footer-page-card{position:relative;min-height:160px;padding:27px 24px 22px 112px;border-radius:10px;border-color:#d6e5f1;background:linear-gradient(135deg,#fff,#fbfdff);box-shadow:0 7px 18px #24578609;transition:transform .18s,box-shadow .18s}
.footer-page-main:has(.footer-page-tools) .footer-page-card:before{content:'↗';position:absolute;left:24px;top:28px;width:58px;height:58px;display:grid;place-items:center;border-radius:13px;background:#3f8cf2;color:#fff;font:700 31px/1 'Segoe UI',sans-serif;box-shadow:inset 0 -5px 0 #2169d5}
.footer-page-main:has(.footer-page-tools) .footer-page-card:after{content:'›';position:absolute;right:22px;bottom:17px;color:#0b66d3;font-size:30px;line-height:1}
.footer-page-main:has(.footer-page-tools) .footer-page-card:nth-child(2):before{content:'◇';background:#49cda4;box-shadow:inset 0 -5px 0 #20a881}.footer-page-main:has(.footer-page-tools) .footer-page-card:nth-child(3):before{content:'⇄';background:#9a77e9;box-shadow:inset 0 -5px 0 #7851c9}.footer-page-main:has(.footer-page-tools) .footer-page-card:nth-child(4):before{content:'♡';background:#ff7771;box-shadow:inset 0 -5px 0 #e34f59}.footer-page-main:has(.footer-page-tools) .footer-page-card:nth-child(5):before{content:'↕';background:#f8bd3b;box-shadow:inset 0 -5px 0 #d5971e}.footer-page-main:has(.footer-page-tools) .footer-page-card:nth-child(6):before{content:'✦';background:#43b7df;box-shadow:inset 0 -5px 0 #1888ba}
.footer-page-main:has(.footer-page-tools) .footer-page-card:hover{transform:translateY(-3px);border-color:#9ec8ed;box-shadow:0 15px 28px #24578616}
.footer-page-main:has(.footer-page-tools) .footer-page-card h2{font-size:19px;line-height:1.25}.footer-page-main:has(.footer-page-tools) .footer-page-card p{margin-top:9px;font-size:13px;line-height:1.5}
@media(max-width:980px){.footer-page-main:has(.footer-page-tools) .footer-page-tools{grid-template-columns:1fr repeat(5,auto);overflow:auto;padding-bottom:3px}.footer-page-main:has(.footer-page-tools) .footer-page-tools input{grid-column:1/-1}.footer-page-main:has(.footer-page-tools) .footer-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.footer-page-main:has(.footer-page-tools) .footer-page-hero{padding:34px 20px 26px}.footer-page-main:has(.footer-page-tools) .footer-page-hero h1{font-size:36px}.footer-page-main:has(.footer-page-tools) .footer-page-hero p{font-size:14px}.footer-page-main:has(.footer-page-tools) .footer-page-hero:before{right:5%;top:23px;width:58px;height:58px;font-size:12px}.footer-page-main:has(.footer-page-tools) .footer-page-hero:after{right:7%;bottom:21px;font-size:16px;letter-spacing:8px}.footer-page-main:has(.footer-page-tools) .footer-page-tools{grid-template-columns:1fr;gap:8px;padding:17px 0 0}.footer-page-main:has(.footer-page-tools) .footer-page-tools input{grid-column:auto;width:100%}.footer-page-main:has(.footer-page-tools) .footer-page-tools button{width:100%}.footer-page-main:has(.footer-page-tools) .footer-page-grid{grid-template-columns:1fr;gap:12px}.footer-page-main:has(.footer-page-tools) .footer-page-card{min-height:125px;padding:23px 48px 19px 94px}.footer-page-main:has(.footer-page-tools) .footer-page-card:before{left:20px;top:22px;width:52px;height:52px}}
