/*
Theme Name:   GP LASU Style
Template:     generatepress
Description:  GeneratePress child theme for filikstrend (Business & Finance): green nav, clean post list, trust pages, SEO and speed optimisations.
Version:      2.7.0
Text Domain:  gp-lasu-style
*/

:root{
  --brand:#008c5f; --brand-dark:#00694a; --deep:#0b2e24; --accent:#ffb020;
  --text:#1c2b26; --muted:#5b6b65; --line:#e1e8e5; --bg:#f2f6f4; --card:#fff;
}

/* ---------- Base ---------- */
body{ background:var(--bg); color:var(--text); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; font-size:16px; line-height:1.65; }
a{ color:var(--brand); text-decoration:none; }
a:hover,a:focus{ color:var(--brand-dark); }
h1,h2,h3,h4{ color:var(--text); line-height:1.3; }
:focus-visible{ outline:3px solid var(--accent); outline-offset:2px; }

/* ---------- Header ---------- */
.site-header{ background:#fff; border-bottom:1px solid var(--line); }
.site-header .inside-header{ padding:14px 20px; display:flex; align-items:center; }
.filiks-logo img{ display:block; height:56px; width:auto; max-width:100%; }
.filiks-logo ~ .site-branding{ display:none; }

/* ---------- Navigation (readable in every state) ---------- */
body .main-navigation,
body .main-navigation .inside-navigation{ background:var(--brand); }
body .main-navigation .main-nav ul li > a{
  color:#fff !important; background:transparent; font-size:14px; font-weight:600;
  text-transform:uppercase; letter-spacing:.3px; padding:0 16px; line-height:48px;
  border-bottom:3px solid transparent;
}
body .main-navigation .main-nav ul li:hover > a,
body .main-navigation .main-nav ul li:focus-within > a,
body .main-navigation .main-nav ul li.sfHover > a,
body .main-navigation .main-nav ul li > a:focus{
  background:var(--brand-dark) !important; color:#fff !important;
}
body .main-navigation .main-nav ul li[class*="current-menu-"] > a,
body .main-navigation .main-nav ul li.current_page_item > a,
body .main-navigation .main-nav ul li.current-menu-item > a{
  background:var(--brand-dark) !important; color:#fff !important; border-bottom-color:var(--accent);
}
body .main-navigation ul ul{ background:var(--brand-dark) !important; }
body .main-navigation ul ul li a{ line-height:1.5 !important; padding:10px 16px !important; border-bottom:0; }
body .main-navigation .menu-toggle,
body .main-navigation .menu-toggle:hover,
body .main-navigation .menu-toggle:focus{ color:#fff !important; background:var(--brand-dark) !important; }
body .main-navigation .menu-bar-items,
body .main-navigation .menu-bar-items a{ color:#fff !important; }
@media (max-width:768px){
  body .main-navigation .main-nav ul li > a{ line-height:44px; border-bottom:1px solid rgba(255,255,255,.12); }
  body .main-navigation.toggled .main-nav > ul{ background:var(--brand); }
  .site-header .inside-header{ justify-content:center; }
  .filiks-logo img{ height:46px; }
}

/* ---------- Content boxes ---------- */
.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.sidebar .widget,
.lasu-section{ background:var(--card); border:1px solid var(--line); border-radius:6px; box-shadow:0 1px 2px rgba(0,0,0,.03); }
.separate-containers .site-main > *{ margin-bottom:12px; }

.lasu-section{ padding:0; margin-bottom:14px; overflow:hidden; }
.lasu-section-title,
.sidebar .widget-title{
  margin:0; padding:10px 14px; background:var(--brand); color:#fff !important;
  font-size:15px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; border-radius:0;
}
.filiks-list-title{ border-radius:6px 6px 0 0; margin-bottom:0 !important; }
.lasu-section-body{ padding:16px 18px; }
.filiks-intro{ border-left:5px solid var(--brand); }
.filiks-h1{ margin:0 0 6px; font-size:26px; font-weight:800; color:var(--deep); }
.filiks-intro p{ margin:0; color:var(--muted); font-size:16px; }

/* ---------- Breadcrumbs ---------- */
.filiks-crumbs{ font-size:13px; color:var(--muted); margin:0 0 10px; }
.filiks-crumbs a{ color:var(--brand); }
.filiks-crumbs .current{ color:var(--text); }

/* ---------- Topic chips ---------- */
.fx-chips{ display:flex; gap:8px; overflow-x:auto; padding:2px 0 10px; margin:0 0 6px; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.fx-chips::-webkit-scrollbar{ display:none; }
.fx-chip{ flex:0 0 auto; background:#fff; border:1px solid var(--line); color:var(--text); font-size:13.5px; font-weight:600; padding:7px 15px; border-radius:999px; white-space:nowrap; transition:background .15s,color .15s,border-color .15s; }
.fx-chip:hover,.fx-chip.is-on{ background:var(--brand); border-color:var(--brand); color:#fff; }

/* ---------- Card grid: home, categories, search ---------- */
.blog .site-main,.archive .site-main,.search .site-main{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:stretch; }
.blog .site-main > *,.archive .site-main > *,.search .site-main > *{ margin:0 !important; }
.blog .site-main > :not(article),.archive .site-main > :not(article),.search .site-main > :not(article){ grid-column:1 / -1; }
.blog .inside-article,.archive .inside-article,.search .inside-article{
  padding:0 !important; overflow:hidden; height:100%; display:flex; flex-direction:column; border-radius:12px; transition:box-shadow .2s,transform .2s;
}
.blog .inside-article:hover,.archive .inside-article:hover,.search .inside-article:hover{ box-shadow:0 8px 22px rgba(11,46,36,.12); transform:translateY(-2px); }
.blog .inside-article > .post-image,.archive .inside-article > .post-image,.search .inside-article > .post-image,
.blog .inside-article > .featured-image,.archive .inside-article > .featured-image,.search .inside-article > .featured-image{ order:-1; margin:0 !important; padding:0 !important; }
.blog .post-image a,.archive .post-image a,.search .post-image a{ display:block; aspect-ratio:16/9; overflow:hidden; background:#e8efec; }
.blog .post-image img,.archive .post-image img,.search .post-image img{ width:100%; height:100%; object-fit:cover; display:block; }
.filiks-ph a{ display:flex !important; align-items:center; justify-content:center; background:linear-gradient(135deg,#e7f5ef,#cfe9de) !important; }
.filiks-ph img{ width:56px !important; height:56px !important; object-fit:contain !important; opacity:.85; }
.blog .entry-header,.archive .entry-header,.search .entry-header{ padding:14px 16px 0; }
.blog .entry-summary,.archive .entry-summary,.search .entry-summary{ padding:6px 16px 16px; color:var(--muted); font-size:14.5px; display:flex; flex-direction:column; flex:1; }
.blog .entry-summary p,.archive .entry-summary p,.search .entry-summary p{ margin:0 0 12px; }
.blog .entry-content,.blog footer.entry-meta,.blog .entry-meta,.archive footer.entry-meta,.search footer.entry-meta{ display:none; }
.blog .entry-title,.archive .entry-title,.search .entry-title{ font-size:18px; line-height:1.3; margin:0 0 4px; font-weight:700; }
.blog .entry-title a,.archive .entry-title a,.search .entry-title a{ color:var(--text); }
.blog .entry-title a:hover,.archive .entry-title a:hover,.search .entry-title a:hover{ color:var(--brand); }
.fx-pill{ display:inline-block; background:#e6f6ef; color:var(--brand-dark) !important; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.6px; padding:3px 10px; border-radius:999px; margin-bottom:8px; }
.fx-pill:hover{ background:var(--brand); color:#fff !important; }
.fx-readmore{ margin-top:auto; align-self:flex-start; display:inline-block; background:var(--brand); color:#fff !important; font-size:13px; font-weight:700; padding:8px 16px; border-radius:999px; transition:background .15s,padding .15s; }
.fx-readmore:hover{ background:var(--brand-dark); padding-right:20px; }
.lasu-modified{ font-size:12.5px; color:var(--muted); }
.lasu-modified b{ color:var(--brand); font-weight:600; margin-right:4px; }
.page-header{ padding:16px 18px !important; border-left:5px solid var(--brand) !important; }
.page-header .page-title{ margin:0; font-size:24px; color:var(--deep); }
.page-header .taxonomy-description{ margin-top:6px; color:var(--muted); }
@media (max-width:768px){ .blog .site-main,.archive .site-main,.search .site-main{ grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce){ .blog .inside-article,.archive .inside-article{ transition:none !important; } }

/* ---------- Pagination ---------- */
.paging-navigation{ text-align:center; margin:16px 0; }
.paging-navigation .nav-links{ display:flex; justify-content:center; }
.paging-navigation .next a,.filiks-btn{
  display:inline-block; background:var(--brand); color:#fff; padding:11px 30px; border:0; cursor:pointer;
  border-radius:4px; font-weight:700; text-transform:uppercase; font-size:14px; letter-spacing:.3px;
}
.paging-navigation .next a:hover,.filiks-btn:hover{ background:var(--brand-dark); color:#fff; }
.paging-navigation .prev,.paging-navigation .page-numbers{ display:none; }

/* ---------- Single posts & pages ---------- */
.single .inside-article,.page .inside-article{ padding:28px 30px; }
.single .entry-title,.page .entry-title{ font-size:30px; font-weight:800; color:var(--deep); }
.entry-content{ font-size:17px; line-height:1.8; }
.entry-content h2{ font-size:24px; margin:1.6em 0 .5em; padding-bottom:6px; border-bottom:2px solid var(--line); }
.entry-content h3{ font-size:20px; margin:1.4em 0 .4em; }
.entry-content a{ text-decoration:underline; text-underline-offset:2px; }
.entry-content ul,.entry-content ol{ margin:0 0 1.4em 1.4em; }
.entry-content blockquote{ margin:1.4em 0; padding:10px 18px; border-left:4px solid var(--brand); background:#f5faf8; color:var(--text); }
.entry-content table{ width:100%; border-collapse:collapse; display:block; overflow-x:auto; }
.entry-content th{ background:var(--brand); color:#fff; text-align:left; }
.entry-content th,.entry-content td{ padding:10px 12px; border:1px solid var(--line); }
.entry-content tr:nth-child(even) td{ background:#f8fbfa; }
.entry-content img{ height:auto; max-width:100%; border-radius:4px; }
.entry-meta{ color:var(--muted); font-size:14px; }
.filiks-disclaimer{ margin:2em 0 0; padding:14px 16px; background:#fff8e6; border:1px solid #f3d98b; border-left:5px solid var(--accent); border-radius:4px; font-size:14.5px; line-height:1.6; color:#4a3b05; }
.filiks-disclaimer a{ color:#7a5600; text-decoration:underline; }
@media (max-width:768px){ .single .inside-article,.page .inside-article{ padding:18px 16px; } .single .entry-title,.page .entry-title{ font-size:25px; } }

/* ---------- Sidebar ---------- */
.sidebar .widget{ padding:0; margin-bottom:14px; overflow:hidden; }
.sidebar .widget > *:not(.widget-title){ padding-left:14px; padding-right:14px; }
.sidebar .widget ul{ list-style:none; margin:0; padding:6px 14px 10px; }
.sidebar .widget ul li{ padding:8px 0; border-bottom:1px dotted var(--line); font-size:14.5px; line-height:1.5; }
.sidebar .widget ul li:last-child{ border-bottom:0; }
.sidebar .widget ul li a{ color:var(--text); }
.sidebar .widget ul li a:hover{ color:var(--brand); }
.sidebar .widget ul li a::before{ content:"💬 "; }
.sidebar .widget .search-form{ padding:12px 14px; display:flex; gap:6px; }
.sidebar .widget .search-form label{ flex:1; }
.sidebar .widget .search-field{ width:100%; }

/* ---------- Search / form fields ---------- */
input[type="text"],input[type="email"],input[type="search"],textarea{
  width:100%; padding:10px 12px; border:1px solid #cfd9d5; border-radius:4px; background:#fff; color:var(--text); font-size:15px;
}
input:focus,textarea:focus{ border-color:var(--brand); outline:2px solid rgba(0,140,95,.25); }
.search-form .search-submit{ background:var(--brand); color:#fff; border:0; border-radius:4px; padding:10px 16px; cursor:pointer; }
.search-form .search-submit:hover{ background:var(--brand-dark); }

/* Only one search box on the "Nothing found" screen (sidebar has it) */
.no-results .search-form{ display:none; }

/* ---------- Contact form ---------- */
.filiks-form label{ display:block; font-weight:600; margin-bottom:4px; }
.filiks-hp{ position:absolute !important; left:-9999px !important; height:0; overflow:hidden; }
.filiks-form-msg{ padding:12px 14px; border-radius:4px; margin:0 0 16px; font-weight:600; }
.filiks-form-msg.ok{ background:#e6f6ef; color:#0a5a3d; border:1px solid #b7e3d0; }
.filiks-form-msg.err{ background:#fdecea; color:#8a1f17; border:1px solid #f2b8b3; }

/* ---------- Footer ---------- */
.site-footer,.site-info{ background:var(--deep); }
.site-info{ color:#cfe3db; font-size:14px; text-align:center; padding:26px 20px; line-height:1.9; }
.site-info a{ color:#fff; }
.site-info a:hover{ color:var(--accent); }
.filiks-footer-nav{ display:flex; flex-wrap:wrap; justify-content:center; gap:4px 20px; margin-bottom:8px; }
.filiks-footer-nav a{ font-weight:600; }
.filiks-copy{ color:#a9c4b9; font-size:13px; }

/* ---------- Professional polish ---------- */
.blog .site-main > .page-header,.archive .site-main > .page-header{ margin-bottom:2px !important; background:linear-gradient(90deg,#fff,#f7fbf9); }
.blog .inside-article,.archive .inside-article,.search .inside-article{ border:1px solid var(--line); box-shadow:0 1px 3px rgba(11,46,36,.05); }
.blog .post-image a,.archive .post-image a,.search .post-image a{ border-bottom:3px solid var(--accent); }
.blog .entry-title,.archive .entry-title,.search .entry-title{ letter-spacing:-.2px; }
.blog .entry-summary p,.archive .entry-summary p,.search .entry-summary p{ line-height:1.6; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.fx-chips{ padding-bottom:12px; }

/* ---------- Category themes (colours per category) ---------- */
.th-side-hustles{ --c1:#e8410f; --c2:#ff9a1f; }
.th-personal-finance{ --c1:#008c5f; --c2:#00694a; }
.th-investing{ --c1:#1d4ed8; --c2:#1e3a8a; }
.th-banking-loans{ --c1:#0e7490; --c2:#155e75; }
.th-business-ideas{ --c1:#7c3aed; --c2:#5b21b6; }
.th-crypto-fintech{ --c1:#4f46e5; --c2:#1e1b4b; }
.th-insurance{ --c1:#b45309; --c2:#92400e; }
.th-taxes{ --c1:#be123c; --c2:#881337; }
.th-business-news{ --c1:#374151; --c2:#111827; }

/* Category pages pick up their colour */
body.category .page-header{ border-left-color:var(--c1,var(--brand)) !important; }
body.category .page-header .page-title{ color:var(--c1,var(--deep)); }
body.category .fx-pill{ background:color-mix(in srgb,var(--c1,#008c5f) 12%,#fff); color:var(--c1,var(--brand-dark)) !important; }
body.category .fx-pill:hover,body.category .fx-readmore{ background:var(--c1,var(--brand)); color:#fff !important; }
body.category .post-image a{ border-bottom-color:var(--c2,var(--accent)); }
body.category .fx-chip.is-on{ background:var(--c1,var(--brand)); border-color:var(--c1,var(--brand)); }

/* ---------- Home: category blocks ---------- */
.cb{ --c1:var(--brand); --c2:var(--brand-dark); margin:0 0 16px; background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; box-shadow:0 1px 3px rgba(11,46,36,.06); }
.cb-head{ display:flex; align-items:center; flex-wrap:wrap; gap:4px 12px; padding:11px 16px; background:linear-gradient(90deg,var(--c1),var(--c2)); color:#fff; }
.cb-title{ margin:0; font-size:17px; font-weight:800; letter-spacing:.5px; text-transform:uppercase; color:#fff !important; }
.cb-sub{ flex:1; font-size:12.5px; color:rgba(255,255,255,.88); }
.cb-all{ margin-left:auto; background:rgba(255,255,255,.2); color:#fff !important; font-size:12.5px; font-weight:700; padding:4px 12px; border-radius:999px; white-space:nowrap; }
.cb-all:hover{ background:#fff; color:var(--c1) !important; }
.cb-grid{ display:grid; grid-template-columns:1.25fr 1fr; gap:16px; padding:14px; }

/* feature post */
.cb-feat{ position:relative; display:flex; flex-direction:column; min-width:0; }
.cb-fimg{ aspect-ratio:16/10; overflow:hidden; border-radius:10px; background:linear-gradient(135deg,var(--c1),var(--c2)); border-bottom:3px solid var(--c2); }
.cb-fimg .cb-img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .45s ease; }
.cb-feat:hover .cb-img{ transform:scale(1.04); }
.cb-ph{ display:flex; width:100%; height:100%; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--c1),var(--c2)); }
.cb-ph img{ width:44px; height:44px; opacity:.9; }
.cb-fbody{ padding-top:10px; }
.cb-tag{ display:inline-block; background:var(--c1); color:#fff; font-size:11px; font-weight:800; letter-spacing:.7px; text-transform:uppercase; padding:3px 10px; border-radius:999px; margin-bottom:6px; }
.cb-ftitle{ margin:0 0 6px; font-size:21px; line-height:1.25; font-weight:800; }
.cb-ftitle a{ color:var(--text); }
.cb-ftitle a:hover{ color:var(--c1); }
.cb-ftitle a::after{ content:""; position:absolute; inset:0; z-index:2; }
.cb-fex{ margin:0 0 8px; color:var(--muted); font-size:14.5px; line-height:1.6; }
.cb-fmeta{ font-size:13px; color:var(--muted); }
.cb-more{ color:var(--c1); font-weight:700; }

/* overlay style feature (image full, text on top) */
.cb-feat.ov{ min-height:300px; border-radius:10px; overflow:hidden; justify-content:flex-end; background:linear-gradient(135deg,var(--c1),var(--c2)); }
.cb-feat.ov .cb-fimg{ position:absolute; inset:0; aspect-ratio:auto; border-radius:0; border:0; }
.cb-feat.ov::before{ content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(to top,rgba(5,20,15,.92) 0%,rgba(5,20,15,.45) 50%,rgba(5,20,15,.05) 100%); }
.cb-feat.ov .cb-fbody{ position:static; z-index:3; padding:16px; color:#fff; }
.cb-feat.ov .cb-ftitle a{ color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.4); }
.cb-feat.ov .cb-fmeta{ color:#d6e8df; }
.cb-feat.ov .cb-more{ color:#ffd166; }

/* side list */
.cb-side{ display:flex; flex-direction:column; min-width:0; }
.cb-lh{ font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.7px; color:var(--c1); margin-bottom:6px; padding-bottom:6px; border-bottom:2px solid var(--c1); }
.cb-list{ list-style:none; margin:0; padding:0; counter-reset:cb; }
.cb-list li{ display:flex; gap:12px; align-items:center; padding:10px 0; border-bottom:1px dotted var(--line); counter-increment:cb; }
.cb-list li:last-child{ border-bottom:0; }
.cb-thumb{ flex:0 0 84px; width:84px; height:62px; border-radius:8px; overflow:hidden; display:block; background:linear-gradient(135deg,var(--c1),var(--c2)); }
.cb-timg{ width:100%; height:100%; object-fit:cover; display:block; }
.cb-thumb .cb-ph img{ width:26px; height:26px; }
.cb-li{ min-width:0; }
.cb-lt{ display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; font-size:14.5px; font-weight:700; line-height:1.35; color:var(--text); }
.cb-lt:hover{ color:var(--c1); }
.cb-ld{ display:block; font-size:12px; color:var(--muted); margin-top:2px; }

/* overlay variant: list becomes a 3-column row under the feature */
.cb-overlay .cb-grid{ grid-template-columns:1fr; }
.cb-overlay .cb-list{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.cb-overlay .cb-list li{ flex-direction:column; align-items:stretch; gap:8px; border:0; padding:0; }
.cb-overlay .cb-thumb{ width:100%; flex:none; height:auto; aspect-ratio:16/9; }

/* HOT (Side Hustles): flame header, numbered trending list */
.cb-hot{ border-color:#ffd2bd; box-shadow:0 2px 10px rgba(232,65,15,.12); }
.cb-hot .cb-head{ background:linear-gradient(90deg,#e8410f,#ff7a1a 60%,#ffb020); }
.cb-hot .cb-tag{ background:linear-gradient(90deg,#e8410f,#ff7a1a); }
.cb-hot .cb-list li::before{ content:counter(cb); flex:0 0 28px; height:28px; line-height:28px; text-align:center; border-radius:50%; background:#fff1e8; color:#e8410f; font-weight:800; font-size:14px; }
.cb-hot .cb-lh{ color:#e8410f; border-bottom-color:#e8410f; }

@media (max-width:820px){
  .cb-grid{ grid-template-columns:1fr; padding:12px; }
  .cb-feat.ov{ min-height:250px; }
  .cb-ftitle{ font-size:19px; }
  .cb-overlay .cb-list{ grid-template-columns:1fr; gap:0; }
  .cb-overlay .cb-list li{ flex-direction:row; align-items:center; gap:12px; padding:10px 0; border-bottom:1px dotted var(--line); }
  .cb-overlay .cb-thumb{ width:84px; flex:0 0 84px; height:62px; aspect-ratio:auto; }
}
@media (prefers-reduced-motion:reduce){ .cb-fimg .cb-img{ transition:none; } }

/* ---------- Home: Latest Articles = numbered horizontal rows (5 per page) ---------- */
.lt-head{ display:flex; align-items:center; gap:10px; margin:4px 0 12px; font-size:20px; font-weight:800; color:var(--deep); text-transform:uppercase; letter-spacing:.5px; }
.lt-head::after{ content:""; flex:1; height:2px; background:linear-gradient(90deg,var(--brand),transparent); }
.lt-dot{ width:10px; height:10px; border-radius:50%; background:#e8410f; box-shadow:0 0 0 4px rgba(232,65,15,.18); }
.blog .site-main{ display:flex; flex-direction:column; gap:12px; counter-reset:lt; }
.blog .site-main > article{ counter-increment:lt; }
.blog .inside-article{ display:grid !important; grid-template-columns:270px minmax(0,1fr); grid-template-rows:auto 1fr; border-left:4px solid var(--brand); border-radius:10px; }
.blog .inside-article > .post-image,.blog .inside-article > .featured-image{ grid-column:1; grid-row:1 / span 2; position:relative; order:0; }
.blog .inside-article > .entry-header{ grid-column:2; grid-row:1; padding:16px 18px 0; }
.blog .inside-article > .entry-summary{ grid-column:2; grid-row:2; padding:6px 18px 16px; }
.blog .post-image a{ height:100%; min-height:165px; aspect-ratio:auto; border-bottom:0; }
.blog .post-image::before{ content:counter(lt); position:absolute; top:10px; left:10px; z-index:2; min-width:28px; height:28px; line-height:28px; text-align:center; padding:0 6px; border-radius:8px; background:var(--deep); color:var(--accent); font-weight:800; font-size:14px; box-shadow:0 2px 6px rgba(0,0,0,.25); }
.blog .entry-title{ font-size:20px; }
.blog .fx-pill{ background:#fff4dc; color:#7a5600 !important; }
.blog .fx-pill:hover{ background:var(--accent); color:#3a2800 !important; }
.blog .fx-readmore{ background:var(--deep); }
.blog .fx-readmore:hover{ background:var(--brand); }
@media (max-width:700px){
  .blog .inside-article{ grid-template-columns:1fr; grid-template-rows:auto; }
  .blog .inside-article > .post-image,.blog .inside-article > .featured-image,.blog .inside-article > .entry-header,.blog .inside-article > .entry-summary{ grid-column:1; grid-row:auto; }
  .blog .post-image a{ aspect-ratio:16/9; min-height:0; height:auto; }
}

/* ---------- Hot Posts slider ---------- */
.hs{ position:relative; padding:14px; }
.hs-track{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; -webkit-overflow-scrolling:touch; border-radius:10px; overscroll-behavior-x:contain; }
.hs-track::-webkit-scrollbar{ display:none; }
.hs-slide{ position:relative; flex:0 0 100%; scroll-snap-align:start; aspect-ratio:16/7; min-height:250px; display:flex; flex-direction:column; justify-content:flex-end; overflow:hidden; background:linear-gradient(135deg,#e8410f,#ffb020); }
.hs-img,.hs-img img,.hs-shade{ position:absolute; inset:0; width:100%; height:100%; }
.hs-img img{ object-fit:cover; display:block; }
.hs-shade{ z-index:1; background:linear-gradient(to top,rgba(30,10,0,.9) 0%,rgba(30,10,0,.45) 50%,rgba(30,10,0,.05) 100%); }
.hs-body{ position:static; z-index:3; padding:16px 18px 20px; color:#fff; }
.hs-title{ margin:4px 0 6px; font-size:26px; line-height:1.22; font-weight:800; max-width:92%; }
.hs-title a{ color:#fff !important; text-shadow:0 1px 3px rgba(0,0,0,.45); }
.hs-title a::after{ content:""; position:absolute; inset:0; z-index:2; }
.hs-meta{ font-size:13px; color:#ffe2c9; }
.hs-nav{ position:absolute; top:50%; z-index:5; transform:translateY(-50%); width:38px; height:38px; border:0; border-radius:50%; background:rgba(255,255,255,.92); color:#e8410f; font-size:26px; line-height:1; cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,.3); padding:0 0 3px; }
.hs-nav:hover{ background:#fff; color:#b82f06; }
.hs-prev{ left:24px; } .hs-next{ right:24px; }
.hs-dots{ position:absolute; left:0; right:0; bottom:24px; z-index:5; display:flex; justify-content:center; gap:7px; pointer-events:none; }
.hs-dots button{ pointer-events:auto; width:9px; height:9px; padding:0; border:0; border-radius:99px; background:rgba(255,255,255,.55); cursor:pointer; transition:width .25s,background .25s; }
.hs-dots button.on{ width:24px; background:#ffb020; }
.hs-body .cb-tag{ background:linear-gradient(90deg,#e8410f,#ff7a1a); }
@media (max-width:700px){
  .hs{ padding:10px; }
  .hs-slide{ aspect-ratio:auto; min-height:260px; }
  .hs-title{ font-size:20px; max-width:100%; }
  .hs-nav{ display:none; }
  .hs-dots{ bottom:20px; }
}

/* ---------- Dark mode toggle button ---------- */
.site-header .inside-header{ position:relative; }
.filiks-theme-toggle{ position:absolute; right:16px; top:50%; transform:translateY(-50%); width:40px; height:40px; border-radius:50%; border:1px solid var(--line); background:var(--card); color:var(--deep); display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0; transition:background .2s,color .2s; }
.filiks-theme-toggle:hover{ background:var(--brand); color:#fff; border-color:var(--brand); }
.filiks-theme-toggle .ic-sun{ display:none; }
html[data-theme="dark"] .filiks-theme-toggle .ic-sun{ display:block; }
html[data-theme="dark"] .filiks-theme-toggle .ic-moon{ display:none; }

/* ---------- Dark mode ---------- */
html[data-theme="dark"]{ color-scheme:dark; --bg:#0d1612; --card:#15221c; --text:#e5eee9; --muted:#9bb2a8; --line:#25382f; --deep:#e8f3ee; }
html[data-theme="dark"] body,
html[data-theme="dark"] .site-content{ background:var(--bg); color:var(--text); }
html[data-theme="dark"] a{ color:#3fd9a4; }
html[data-theme="dark"] a:hover,html[data-theme="dark"] a:focus{ color:#7ff0c8; }
html[data-theme="dark"] .site-header{ background:var(--card); border-bottom-color:var(--line); }
html[data-theme="dark"] .filiks-logo img{ background:#fff; padding:4px 10px; border-radius:10px; }
html[data-theme="dark"] body .main-navigation,
html[data-theme="dark"] body .main-navigation .inside-navigation{ background:#0f4d3a; }
html[data-theme="dark"] body .main-navigation .main-nav ul li > a{ color:#fff !important; }
html[data-theme="dark"] .cb,
html[data-theme="dark"] .fx-chip,
html[data-theme="dark"] .page-header,
html[data-theme="dark"] .blog .site-main > .page-header,
html[data-theme="dark"] .archive .site-main > .page-header{ background:var(--card) !important; }
html[data-theme="dark"] .cb-hot{ border-color:#5a2a14; }
html[data-theme="dark"] .fx-chip{ color:var(--text); }
html[data-theme="dark"] .fx-chip:hover,html[data-theme="dark"] .fx-chip.is-on{ color:#fff; }
html[data-theme="dark"] .blog .post-image a,html[data-theme="dark"] .archive .post-image a,html[data-theme="dark"] .search .post-image a{ background:#1d2f27; }
html[data-theme="dark"] .filiks-ph a{ background:linear-gradient(135deg,#1d2f27,#16251f) !important; }
html[data-theme="dark"] .fx-pill,html[data-theme="dark"] body.category .fx-pill{ background:#1d3a2f; color:#7ff0c8 !important; }
html[data-theme="dark"] .blog .fx-pill{ background:#3a2f12; color:#ffd166 !important; }
html[data-theme="dark"] .blog .fx-readmore{ background:var(--brand); }
html[data-theme="dark"] .blog .post-image::before{ background:#0b1410; }
html[data-theme="dark"] .lt-head{ color:var(--text); }
html[data-theme="dark"] .cb-hot .cb-list li::before{ background:#3a1f12; }
html[data-theme="dark"] .entry-content blockquote{ background:#122019; }
html[data-theme="dark"] .entry-content tr:nth-child(even) td{ background:#122019; }
html[data-theme="dark"] .filiks-disclaimer{ background:#2a230f; border-color:#5a4a16; color:#f1dfa8; }
html[data-theme="dark"] .filiks-disclaimer a{ color:#ffd166; }
html[data-theme="dark"] input[type="text"],html[data-theme="dark"] input[type="email"],html[data-theme="dark"] input[type="search"],html[data-theme="dark"] textarea{ background:#0f1b16; border-color:var(--line); color:var(--text); }
html[data-theme="dark"] .filiks-form-msg.ok{ background:#12362a; color:#9bf0cc; border-color:#1f5a44; }
html[data-theme="dark"] .filiks-form-msg.err{ background:#3a1815; color:#ffb4ad; border-color:#6b2a25; }
html[data-theme="dark"] .site-footer,html[data-theme="dark"] .site-info{ background:#08100d; }
html[data-theme="dark"] .entry-title a,html[data-theme="dark"] .sidebar .widget ul li a{ color:var(--text); }
html[data-theme="dark"] .entry-title a:hover,html[data-theme="dark"] .sidebar .widget ul li a:hover{ color:#3fd9a4; }
html[data-theme="dark"] .paging-navigation .next a,html[data-theme="dark"] .filiks-btn,
html[data-theme="dark"] .fx-readmore,html[data-theme="dark"] .cb-all,html[data-theme="dark"] .cb-tag,html[data-theme="dark"] .fx-cat{ color:#fff !important; }
html[data-theme="dark"] .hs-nav{ background:rgba(20,20,20,.85); color:#ffb020; }
html[data-theme="dark"] img{ filter:brightness(.92); }
html[data-theme="dark"] .filiks-logo img,html[data-theme="dark"] .cb-ph img,html[data-theme="dark"] .filiks-ph img{ filter:none; }
html[data-theme="dark"] .cb-lh{ color:var(--c1); }
html[data-theme="dark"] .th-investing,html[data-theme="dark"] .th-crypto-fintech,html[data-theme="dark"] .th-business-news,html[data-theme="dark"] .th-business-ideas{ --c1:#6d8cff; }
html[data-theme="dark"] .th-business-ideas{ --c1:#a98bff; }
html[data-theme="dark"] .th-business-news{ --c1:#aab4c2; }
html[data-theme="dark"] .cb-head{ background:linear-gradient(90deg,var(--c2),var(--c1)); }

@media (max-width:768px){ .filiks-theme-toggle{ right:10px; width:36px; height:36px; } .site-header .inside-header{ padding-right:56px; } }
html[data-theme="dark"] .cb-hot .cb-head{ background:linear-gradient(90deg,#e8410f,#ff7a1a 60%,#ffb020); }

/* ---------- Hot Posts in brand green ---------- */
.th-side-hustles{ --c1:#008c5f; --c2:#00694a; }
.cb-hot{ border-color:#bfe3d3; box-shadow:0 2px 10px rgba(0,140,95,.14); }
.cb-hot .cb-head,html[data-theme="dark"] .cb-hot .cb-head{ background:linear-gradient(90deg,#00694a,#008c5f 60%,#00a874); }
.hs-slide{ background:linear-gradient(135deg,#00a874,#0b2e24); }
.hs-shade{ background:linear-gradient(to top,rgba(4,26,19,.92) 0%,rgba(4,26,19,.45) 50%,rgba(4,26,19,.05) 100%); }
.hs-body .cb-tag,.cb-hot .cb-tag{ background:linear-gradient(90deg,#008c5f,#00a874); }
.hs-meta{ color:#d6e8df; }
.hs-nav{ color:#008c5f; }
.hs-nav:hover{ color:#00694a; }
.lt-dot{ background:#008c5f; box-shadow:0 0 0 4px rgba(0,140,95,.2); }
html[data-theme="dark"] .cb-hot{ border-color:#1f5a44; }
html[data-theme="dark"] .hs-nav{ color:#3fd9a4; }

/* ---------- Sidebar: Most Read (green + yellow) ---------- */
.sidebar .widget.widget_recent_entries{ border-color:#f1dc9a; box-shadow:0 2px 10px rgba(0,140,95,.1); }
.sidebar .widget_recent_entries .widget-title{ display:flex; align-items:center; justify-content:space-between; gap:8px; background:linear-gradient(90deg,#00694a,#008c5f 70%,#00a874); border-bottom:3px solid #ffb020; }
.sidebar .widget_recent_entries .widget-title::before{ content:"⭐"; margin-right:6px; }
.sidebar .widget_recent_entries .widget-title::after{ content:"TOP 5"; margin-left:auto; background:#ffb020; color:#3a2800; font-size:10.5px; font-weight:800; letter-spacing:.7px; padding:3px 9px; border-radius:999px; }
.sidebar .widget_recent_entries ul{ counter-reset:mr; padding:4px 14px 8px; }
.sidebar .widget_recent_entries ul li{ counter-increment:mr; display:flex; align-items:flex-start; gap:11px; padding:11px 0; }
.sidebar .widget_recent_entries ul li::before{ content:counter(mr); flex:0 0 28px; height:28px; line-height:28px; text-align:center; border-radius:8px; background:#e6f6ef; color:#00694a; font-weight:800; font-size:13.5px; }
.sidebar .widget_recent_entries ul li:nth-child(1)::before{ background:#ffb020; color:#3a2800; box-shadow:0 2px 6px rgba(255,176,32,.45); }
.sidebar .widget_recent_entries ul li:nth-child(2)::before{ background:#ffd45c; color:#3a2800; }
.sidebar .widget_recent_entries ul li:nth-child(3)::before{ background:#ffe9a8; color:#5b4300; }
.sidebar .widget_recent_entries ul li:first-child{ background:linear-gradient(90deg,#fff8dc,transparent); margin:0 -14px; padding:11px 14px; border-left:4px solid #ffb020; }
.sidebar .widget_recent_entries ul li a{ font-weight:600; line-height:1.4; }
.sidebar .widget_recent_entries ul li a::before{ content:none; }
.sidebar .widget_recent_entries ul li a:hover{ color:#00694a; }
.sidebar .widget_recent_entries .post-date{ display:block; font-size:12px; color:var(--muted); margin-top:2px; }
html[data-theme="dark"] .sidebar .widget.widget_recent_entries{ border-color:#5a4a16; }
html[data-theme="dark"] .sidebar .widget_recent_entries ul li::before{ background:#1d3a2f; color:#7ff0c8; }
html[data-theme="dark"] .sidebar .widget_recent_entries ul li:nth-child(1)::before{ background:#ffb020; color:#3a2800; }
html[data-theme="dark"] .sidebar .widget_recent_entries ul li:nth-child(2)::before{ background:#ffd45c; color:#3a2800; }
html[data-theme="dark"] .sidebar .widget_recent_entries ul li:nth-child(3)::before{ background:#ffe9a8; color:#5b4300; }
html[data-theme="dark"] .sidebar .widget_recent_entries ul li:first-child{ background:linear-gradient(90deg,#2a230f,transparent); }
