/*
Theme Name: HFS Financial Journal
Theme URI: https://hariomfinancialservicesandmarketing.com
Author: HFS
Description: Custom bilingual financial education and blogging theme with the HFS logo and real office photograph.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hfs-financial
*/
:root{--navy:#05285c;--deep:#061d44;--orange:#ff7900;--gold:#ffb323;--text:#142949;--muted:#64748b;--line:#e4ebf5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:var(--text);background:#f8fbff}a{color:inherit;text-decoration:none}a:hover{color:#de6900}img{max-width:100%;height:auto}.wrap{max-width:1210px;margin:0 auto;padding:0 24px}.topline{background:#052455;color:#ecf3ff;font-size:12px}.topline .wrap{display:flex;justify-content:space-between;gap:12px;padding-top:9px;padding-bottom:9px}.topline a{color:#fff}.site-header{background:#fff;box-shadow:0 2px 14px #09295018;position:relative;z-index:5}.head{display:flex;gap:24px;align-items:center;justify-content:space-between;padding-top:12px;padding-bottom:12px}.brand{display:flex;align-items:center;gap:14px;min-width:300px}.brand img{width:108px;height:78px;object-fit:contain;object-position:center}.brand .brand-name{font-size:21px;line-height:1.05;font-weight:900;color:#062b61;letter-spacing:-.5px}.brand .brand-name em{color:#ff7900;font-style:normal}.brand small{font-size:11px;font-weight:800;color:#122f62}.brand .tagline{color:#df6900;font-size:12px;font-weight:750;margin-top:5px}.nav-menu{display:flex;align-items:center;gap:15px;list-style:none;padding:0;margin:0;font-size:13px;font-weight:750;flex-wrap:wrap}.nav-menu li.current-menu-item>a,.nav-menu a:hover{color:var(--orange)}.nav-menu .home-link{background:var(--orange);color:white;padding:10px 16px;border-radius:8px}.nav-toggle{display:none;background:var(--navy);color:white;border:0;padding:9px 12px;border-radius:8px;font-weight:700}.hero{background:linear-gradient(125deg,#041b43 0%,#0a3b7c 59%,#0a3b7c 100%);color:white;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 46%;min-height:450px}.hero-content{padding:55px 25px 55px max(24px,calc((100vw - 1162px)/2));align-self:center}.eyebrow{display:inline-block;border:1px solid #ffb323;border-radius:30px;padding:8px 15px;color:#ffca69;font-size:12px;font-weight:800}.hero h1{font-size:clamp(30px,3.5vw,49px);line-height:1.23;margin:20px 0 15px;letter-spacing:-1px}.hero h1 strong{color:#ffab20}.hero p{font-size:16px;line-height:1.8;color:#ebf2fd;max-width:600px}.hero-image{position:relative;min-height:390px;border-left:10px solid #ff9500;overflow:hidden}.hero-image img{width:100%;height:100%;object-fit:cover;object-position:center 42%;position:absolute;inset:0}.btns{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.btn{display:inline-block;padding:13px 22px;background:var(--orange);color:white;border-radius:9px;font-weight:800;font-size:14px;box-shadow:0 6px 12px #00000012}.btn:hover{color:#fff;background:#e36c00}.btn-outline{background:transparent;border:1px solid #fff;box-shadow:none}.btn-outline:hover{background:#ffffff1b}.topics{background:#fff;padding:28px 0}.topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.topic{display:flex;align-items:center;gap:13px;padding:18px;border:1px solid #e1e8f3;border-radius:14px;background:#fff;box-shadow:0 8px 25px #08285a0c}.topic .symbol{font-size:30px}.topic b{font-size:14px}.topic span{display:block;font-size:11px;color:#66788d;margin-top:4px}.section{padding:55px 0}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:26px}.section-kicker{font-size:12px;color:#dc6d0b;font-weight:850;letter-spacing:1.3px}.section-title{font-size:clamp(24px,3vw,32px);font-weight:900;letter-spacing:-.7px;margin:7px 0}.section-title:before{content:'';border-left:5px solid var(--orange);margin-right:12px}.see-all{color:#e77800;font-size:13px;font-weight:850}.articles-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:25px}.posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.post{background:white;border-radius:14px;overflow:hidden;border:1px solid #e4eaf4;box-shadow:0 8px 22px #09254c0b}.post-thumb{height:155px;background:linear-gradient(120deg,#e4eaf7,#ffe7c9);display:flex;align-items:center;justify-content:center;overflow:hidden}.post-thumb img{width:100%;height:100%;object-fit:cover}.post-thumb .placeholder{font-size:52px}.post-body{padding:16px}.pill{font-size:10px;color:#ba5900;background:#fff0df;padding:5px 9px;border-radius:6px;font-weight:850}.post h3{font-size:16px;line-height:1.55;margin:12px 0 17px}.post h3 a:hover{color:var(--orange)}.meta{font-size:11px;color:#65768b}.sidebar{display:flex;flex-direction:column;gap:15px}.widget{padding:19px;background:#fff;border:1px solid #e4eaf4;border-radius:13px}.widget h3{margin:0 0 14px;font-size:17px}.search-form{display:flex;gap:5px}.search-form input{min-width:0;flex:1;border:1px solid #d5dfec;border-radius:7px;padding:11px;font:inherit;font-size:12px}.search-form button{border:0;border-radius:7px;background:var(--orange);color:#fff;font-weight:800;padding:0 13px}.cat-links{list-style:none;padding:0;margin:0}.cat-links li{padding:11px 0;border-top:1px solid #edf0f5;font-weight:700;font-size:13px}.cat-links li:first-child{border-top:0}.learn-strip{background:#fff0df;border-top:1px solid #fbe1c3;border-bottom:1px solid #fbe1c3}.learn-list{display:grid;grid-template-columns:repeat(4,1fr);padding-top:20px;padding-bottom:20px}.learn-list div{padding:6px 15px;border-right:1px solid #ffcd9b;text-align:center;font-weight:850;color:#17365f}.learn-list div:last-child{border:0}.learn-list span{color:var(--orange);font-size:23px;vertical-align:middle;margin-right:8px}.about-grid{display:grid;grid-template-columns:320px 1fr;gap:40px;align-items:center}.about-grid img{width:100%;max-height:350px;object-fit:cover;object-position:center 37%;border-radius:14px}.about-grid p{font-size:16px;line-height:1.9;color:#556479}.footer{background:var(--deep);color:#e8effc;padding:42px 0 0}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:32px}.footer h3{font-size:17px;color:white;margin:0 0 10px}.footer p,.footer a{color:#c0d0e7;font-size:13px;line-height:1.9}.footer a:hover{color:#ffc05c}.footer-bottom{border-top:1px solid #375176;padding:15px 0;margin-top:28px;font-size:11px;color:#c4d4eb}.content-page{background:white;padding:50px 0;min-height:50vh}.content-page .prose{max-width:850px;line-height:1.9}.content-page h1{font-size:clamp(25px,4vw,40px)}.content-page .prose img{border-radius:8px}.wp-block-image img{height:auto}.empty-note{padding:30px;background:#fff;border:1px solid var(--line);border-radius:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media(max-width:1040px){.head{flex-wrap:wrap}.nav-menu{gap:10px}.hero-grid{grid-template-columns:55% 45%}.hero-content{padding:40px 20px 40px 24px}.posts{grid-template-columns:repeat(2,1fr)}}@media(max-width:740px){.topline .wrap{flex-direction:column;gap:3px}.head{flex-wrap:nowrap}.brand{min-width:0}.brand img{width:75px;height:60px}.brand .brand-name{font-size:16px}.brand small{font-size:9px}.brand .tagline{font-size:10px}.nav-toggle{display:block}.site-header nav{display:none;position:absolute;top:100%;left:0;right:0;padding:15px 24px;background:#fff;box-shadow:0 6px 18px #0002}.site-header nav.is-open{display:block}.nav-menu{display:flex;flex-direction:column;align-items:flex-start;gap:18px}.hero-grid{grid-template-columns:1fr}.hero-content{padding:43px 24px}.hero-image{min-height:320px;border-left:0;border-top:7px solid #ff9500}.topic-grid{grid-template-columns:repeat(2,1fr)}.articles-layout{grid-template-columns:1fr}.posts{grid-template-columns:repeat(2,minmax(0,1fr))}.about-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.section{padding:36px 0}}@media(max-width:470px){.wrap{padding:0 16px}.topic-grid,.posts,.footer-grid{grid-template-columns:1fr}.topic{padding:14px}.learn-list{grid-template-columns:repeat(2,1fr);gap:12px}.learn-list div:nth-child(2){border:0}.hero h1{font-size:32px}.hero-content{padding:35px 18px}}
