/*
Theme Name: EarnPath Global
Theme URI: https://www.earnpathglobal.com/
Author: EarnPath Global
Author URI: https://www.earnpathglobal.com/
Description: EarnPath Global - Global Online Income Directory + Learning Platform + Opportunity Portal. Discover. Learn. Earn. Clean blue/green SaaS-style theme with custom post types for Platforms, Courses, Lessons, AI Tools, Remote Jobs, Resources and Learning Paths. All courses free in version 1. Income is never guaranteed.
Version: 1.4.9
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: earnpath-global
Tags: education, directory, blog, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============ EarnPath Global 1.1.0 ============ */
:root{
  --ep-blue:#2563EB; --ep-blue-dark:#1D4ED8; --ep-green:#16A34A;
  --ep-bg:#F8FAFC; --ep-text:#172033; --ep-muted:#64748B; --ep-border:#E2E8F0;
  --ep-navy:#0B2A5B; --ep-navy-2:#12264F; --ep-radius:12px;
}
*{box-sizing:border-box}
body{margin:0;font-family:'Inter','Poppins',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ep-text);background:#fff;line-height:1.6;font-size:16px}
a{color:var(--ep-blue);text-decoration:none}
a:hover{color:var(--ep-blue-dark);text-decoration:underline}
img{max-width:100%;height:auto}
h1,h2,h3,h4{line-height:1.25;color:var(--ep-text);margin:0 0 .6em}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Top bar */
.ep-topbar{background:var(--ep-navy);color:#fff;font-size:14px}
.ep-topbar .container{display:flex;justify-content:space-between;align-items:center;min-height:40px;flex-wrap:wrap;gap:8px}
.ep-topbar a{color:#fff}
.ep-topbar .ep-social a{margin-left:12px}
/* Header */
.ep-header{background:#fff;border-bottom:1px solid var(--ep-border);position:sticky;top:0;z-index:50}
.ep-header .container{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px}
.ep-logo{font-size:24px;font-weight:800;color:var(--ep-blue);display:flex;align-items:center;gap:10px}
.ep-logo span{color:var(--ep-green)}
.ep-logo small{display:block;font-size:12px;color:var(--ep-muted);font-weight:500}
.ep-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:4px;flex-wrap:wrap}
.ep-nav a{display:block;padding:10px 12px;color:var(--ep-text);font-weight:600;border-radius:8px}
.ep-nav a:hover,.ep-nav .current-menu-item>a,.ep-nav .current_page_item>a{background:var(--ep-bg);color:var(--ep-blue);text-decoration:none}
.ep-menu-toggle{display:none;background:var(--ep-blue);color:#fff;border:0;border-radius:8px;padding:10px 14px;font-size:16px;cursor:pointer}
/* Hero */
.ep-hero{background:linear-gradient(135deg,#DBEAFE 0%,#EFF6FF 60%,#F0FDF4 100%);padding:56px 0}
.ep-hero .container{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.ep-hero h1{font-size:48px;margin-bottom:12px}
.ep-hero h1 .hl{color:var(--ep-blue)}
.ep-hero p.lead{font-size:18px;color:var(--ep-muted)}
.ep-hero-art{position:relative;text-align:center}
.ep-hero-art .ep-callout{position:absolute;top:8px;right:0;background:#fff;border:2px solid var(--ep-green);border-radius:12px;padding:8px 14px;font-family:'Segoe Script','Comic Sans MS',cursive;font-size:18px;color:var(--ep-green);transform:rotate(-3deg);box-shadow:0 4px 14px rgba(0,0,0,.08)}
.ep-hero-art .ep-arrow{font-size:64px;color:var(--ep-green);line-height:1}
.ep-hero-art img{border-radius:16px;box-shadow:0 12px 32px rgba(11,27,58,.15)}
/* Buttons */
.btn{display:inline-block;background:var(--ep-blue);color:#fff;padding:12px 22px;border-radius:10px;font-weight:700;border:0;cursor:pointer}
.btn:hover{background:var(--ep-blue-dark);color:#fff;text-decoration:none}
.btn-green{background:var(--ep-green)}
.btn-green:hover{background:#15803D}
.btn-outline{background:#fff;color:var(--ep-blue);border:2px solid var(--ep-blue)}
.btn-outline:hover{background:var(--ep-blue);color:#fff}
/* Sections / cards */
.ep-section{padding:48px 0}
.ep-section.alt{background:var(--ep-bg)}
.ep-section h2{font-size:30px;text-align:center}
.ep-section .sub{text-align:center;color:var(--ep-muted);max-width:720px;margin:0 auto 28px}
.ep-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.ep-grid-3{grid-template-columns:repeat(3,1fr)}
.ep-grid-2{grid-template-columns:repeat(2,1fr)}
.ep-card{background:#fff;border:1px solid var(--ep-border);border-radius:var(--ep-radius);padding:22px;box-shadow:0 2px 8px rgba(11,27,58,.04)}
.ep-card:hover{box-shadow:0 8px 24px rgba(11,27,58,.10)}
.ep-card .ep-icon{font-size:32px}
.ep-card h3{font-size:19px;margin:.4em 0}
.ep-card p{color:var(--ep-muted);font-size:15px}
.ep-badge{display:inline-block;background:#DCFCE7;color:#166534;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px}
.ep-badge.blue{background:#DBEAFE;color:#1E40AF}
.ep-badge.amber{background:#FEF3C7;color:#92400E}
.ep-rating{color:#F59E0B;font-weight:700}
.ep-meta{font-size:13px;color:var(--ep-muted)}
/* Strip */
.ep-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;text-align:center}
.ep-strip .ep-card{padding:18px 10px}
/* Layout with sidebar */
.ep-layout{display:grid;grid-template-columns:280px 1fr;gap:32px;padding:32px 0;align-items:start}
.ep-sidebar .widget{background:var(--ep-bg);border:1px solid var(--ep-border);border-radius:var(--ep-radius);padding:20px;margin-bottom:20px}
.ep-sidebar .widget h3{font-size:18px}
.ep-sidebar ul{list-style:none;padding:0;margin:0}
.ep-sidebar li{padding:6px 0;border-bottom:1px solid var(--ep-border)}
.ep-sidebar li:last-child{border-bottom:0}
/* Search */
.ep-search{display:flex;gap:8px;max-width:640px;margin:0 auto}
.ep-search input[type="search"],input[type="text"],input[type="email"],input[type="url"],input[type="password"],select,textarea{width:100%;padding:12px 14px;border:1px solid var(--ep-border);border-radius:10px;font:inherit}
.ep-search input{flex:1}
.ep-popular{text-align:center;margin-top:12px;font-size:14px;color:var(--ep-muted)}
.ep-popular a{margin:0 6px}
/* Tabs */
.ep-tabs{border-bottom:2px solid var(--ep-border);display:flex;gap:4px;flex-wrap:wrap;margin-bottom:20px}
.ep-tab{border:0;background:none;padding:12px 16px;font:inherit;font-weight:700;cursor:pointer;color:var(--ep-muted);border-bottom:3px solid transparent;margin-bottom:-2px}
.ep-tab.active{color:var(--ep-blue);border-bottom-color:var(--ep-blue)}
.ep-tab-panel{display:none}
.ep-tab-panel.active{display:block}
/* FAQ accordion */
.ep-faq-item{border:1px solid var(--ep-border);border-radius:10px;margin-bottom:10px;overflow:hidden}
.ep-faq-q{width:100%;text-align:left;background:#fff;border:0;padding:16px;font:inherit;font-weight:700;cursor:pointer;display:flex;justify-content:space-between}
.ep-faq-a{display:none;padding:0 16px 16px;color:var(--ep-muted)}
.ep-faq-item.open .ep-faq-a{display:block}
/* Tables */
table{width:100%;border-collapse:collapse}
th,td{padding:10px 12px;border-bottom:1px solid var(--ep-border);text-align:left;vertical-align:top}
th{background:var(--ep-bg)}
/* Newsletter + footer */
.ep-newsletter{background:var(--ep-blue);color:#fff;padding:40px 0}
.ep-newsletter .container{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.ep-newsletter h2{color:#fff;margin:0}
.ep-newsletter form{display:flex;gap:8px;max-width:480px;width:100%}
.ep-newsletter input{flex:1}
.ep-footer{background:var(--ep-navy);color:#CBD5E1;padding:48px 0 24px}
.ep-footer a{color:#CBD5E1}
.ep-footer h3{color:#fff;font-size:16px}
.ep-footer-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.ep-footer-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:32px;padding-top:20px;text-align:center;font-size:14px}
/* Notices */
.ep-notice{background:#FEF3C7;border:1px solid #FDE68A;color:#92400E;border-radius:10px;padding:14px 18px;margin:16px 0}
.ep-notice.green{background:#DCFCE7;border-color:#BBF7D0;color:#166534}
.ep-notice.blue{background:#DBEAFE;border-color:#BFDBFE;color:#1E40AF}
.ep-success{background:#DCFCE7;border:1px solid #BBF7D0;color:#166534;border-radius:10px;padding:14px 18px;margin:16px 0}
.ep-error{background:#FEE2E2;border:1px solid #FECACA;color:#991B1B;border-radius:10px;padding:14px 18px;margin:16px 0}
.ep-form label{display:block;font-weight:600;margin:14px 0 6px}
.ep-form .required{color:#DC2626}
/* Breadcrumbs, pagination */
.ep-breadcrumbs{font-size:14px;color:var(--ep-muted);padding:16px 0 0;overflow-wrap:break-word}
.ep-pagination{margin:32px 0;text-align:center}
.ep-pagination a,.ep-pagination span{display:inline-block;padding:8px 14px;border:1px solid var(--ep-border);border-radius:8px;margin:0 3px}
.ep-pagination .current{background:var(--ep-blue);color:#fff;border-color:var(--ep-blue)}
/* Progress */
.ep-progress{height:10px;background:var(--ep-border);border-radius:999px;overflow:hidden}
.ep-progress span{display:block;height:100%;background:var(--ep-green)}
/* Responsive */
@media (max-width:960px){
  .ep-grid{grid-template-columns:repeat(2,1fr)}
  .ep-strip{grid-template-columns:repeat(2,1fr)}
  .ep-hero .container{grid-template-columns:1fr}
  .ep-hero h1{font-size:36px}
  .ep-layout{grid-template-columns:1fr}
  .ep-footer-cols{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .ep-grid,.ep-grid-3,.ep-grid-2{grid-template-columns:1fr}
  .ep-menu-toggle{display:block}
  .ep-nav{display:none;width:100%}
  .ep-nav.open{display:block}
  .ep-nav ul{flex-direction:column}
  .ep-header .container{flex-wrap:wrap}
  .ep-hero h1{font-size:30px}
  .ep-footer-cols{grid-template-columns:1fr}
  .ep-newsletter form{flex-direction:column}
}

/* ============================================================
   EarnPath Global 1.1.0 — homepage design (matches the user's
   uploaded homepage design image).
   ============================================================ */
.ep-hero-design{background:linear-gradient(180deg,#EAF2FE 0%,#EFF6FF 70%,#F0FDF4 100%)}
.ep-hero-design h1{font-family:'Poppins','Inter',sans-serif;font-size:54px;font-weight:800;color:#0B2A5B;letter-spacing:-.5px}
.ep-hero-design h1 .hl-green{color:var(--ep-green)}
.ep-hero-sub{font-size:26px;line-height:1.3;color:#0B2A5B;margin:0 0 14px}
.ep-hero-copy .lead{color:#334155}
.ep-hero-cta{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.btn-pill{border-radius:999px;padding:14px 26px}
.btn-watch{background:#fff;color:var(--ep-text);border:2px solid #CBD5E1;border-radius:999px;padding:12px 24px;font-weight:700;cursor:pointer}
.btn-watch:hover{border-color:var(--ep-blue);color:var(--ep-blue)}
.btn-white{background:#fff;color:var(--ep-navy);border:0}
.btn-white:hover{background:#DBEAFE;color:var(--ep-navy);text-decoration:none}
.btn-pill-sm{padding:9px 18px;border-radius:999px;font-size:14px;white-space:nowrap}
.ep-intro-note{background:#FEF3C7;border:1px solid #FDE68A;color:#92400E;border-radius:10px;padding:10px 14px;font-size:14px;max-width:520px}
.ep-hero-art{position:relative}
.ep-hero-photo{width:100%;height:auto;border-radius:18px;object-fit:cover;box-shadow:0 16px 40px rgba(11,42,91,.18)}
.ep-hero-art .ep-callout{top:-6px;right:6px;z-index:2;color:#0B2A5B;border-color:var(--ep-green);font-size:20px;padding:6px 14px;background:#fff;border-bottom:4px solid #FACC15}
.ep-hero-art .ep-arrow{position:absolute;top:34px;right:150px;z-index:2;line-height:0}
/* Top bar + header (design) */
.ep-topbar-left{display:flex;align-items:center;gap:8px;font-weight:600}
.ep-topbar-ico{font-size:16px}
.ep-news-link{margin-right:6px;font-weight:600}
.ep-soc{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;color:#fff !important;font-weight:800;font-size:11px;line-height:1;margin-left:8px;text-decoration:none !important;vertical-align:middle}
.ep-soc-yt,.ep-soc-pinterest{background:#FF0000}
.ep-soc-x{background:#000}
.ep-soc-fb{background:#1877F2}
.ep-soc-in{background:#0A66C2}
.ep-soc-pinterest{background:#E60023}
.ep-logo a{display:flex;align-items:center;gap:10px;color:var(--ep-text);text-decoration:none}
.ep-logo img.custom-logo{height:56px;width:auto;max-width:240px;object-fit:contain;display:block}
.ep-logo img{max-width:240px}
@media (max-width:768px){.ep-logo img.custom-logo{height:44px;max-width:180px}}
@media (max-width:480px){.ep-logo img.custom-logo{height:38px;max-width:150px}}
.ep-footer-brand .custom-logo{height:48px;width:auto;max-width:200px;object-fit:contain}
.ep-logo-mark{flex:0 0 auto}
.ep-logo-text{font-size:26px;font-weight:800;line-height:1.1;color:#0B2A5B}
.ep-logo-text span{color:var(--ep-green)}
.ep-logo-text small{display:block;font-size:12px;color:var(--ep-muted);font-weight:500}
.ep-nav .current-menu-item>a,.ep-nav .current_page_item>a,.ep-nav .current-menu-ancestor>a{background:var(--ep-blue);color:#fff;border-radius:999px;padding:8px 16px}
.ep-nav .menu-item-has-children>a::after,.ep-nav .page_item_has_children>a::after{content:" \25BE";font-size:11px}
.ep-search-toggle{background:none;border:0;font-size:20px;cursor:pointer;padding:8px;line-height:1}
.ep-header-search{background:#fff;border-top:1px solid var(--ep-border);padding:14px 0}
.ep-header-search .search-form{display:flex;gap:8px;max-width:640px;margin:0 auto}
/* Learn/Find/Get/Access/Achieve strip */
.ep-home-strip{padding:0 0 8px;margin-top:-26px;position:relative;z-index:3}
.ep-strip-card{background:#fff;border-radius:16px;box-shadow:0 10px 30px rgba(11,42,91,.10);display:grid;grid-template-columns:repeat(5,1fr);padding:10px 0}
.ep-strip-item{text-align:center;padding:14px 8px}
.ep-strip-item + .ep-strip-item{border-left:1px solid var(--ep-border)}
.ep-strip-ico{font-size:34px;line-height:1}
.ep-strip-item h3{font-size:17px;margin:.4em 0 .1em;color:#0B2A5B}
.ep-strip-item p{font-size:13px;color:var(--ep-muted);margin:0}
/* Section headers with right-side button (design) */
.ep-sec-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}
.ep-sec-head-text{flex:1;text-align:center}
.ep-sec-head-text h2{margin-bottom:4px}
.ep-sec-head-text .sub{margin:0 auto}
.ep-sec-head-left{align-items:center}
.ep-sec-head-left h2{margin:0;text-align:left;font-size:22px}
.ep-sec-head .btn{flex:0 0 auto}
/* Income-method pastel tiles */
.ep-methods{padding-top:32px}
.ep-tiles{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}
.ep-tile{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px 6px;border-radius:10px;text-align:center;color:var(--ep-text)}
.ep-tile:hover{text-decoration:none;transform:translateY(-2px);box-shadow:0 6px 16px rgba(11,42,91,.10)}
.ep-tile.p1{background:#EAF2FE}.ep-tile.p2{background:#FDECEC}.ep-tile.p3{background:#FFF3E0}.ep-tile.p4{background:#E6F7ED}
.ep-tile.p5{background:#F1EAFE}.ep-tile.p6{background:#E6F7F5}.ep-tile.p7{background:#FFF8E1}.ep-tile.p8{background:#EDF2F7}
.ep-tile .ep-tile-ico{font-size:26px;line-height:1}
.ep-tile .ep-tile-name{font-size:13px;font-weight:700;line-height:1.25}
/* Duo panels: Platforms + Learning */
.ep-duo{padding:16px 0 40px}
.ep-duo-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:24px;align-items:start}
.ep-panel{background:#fff;border:1px solid var(--ep-border);border-radius:14px;overflow:hidden;box-shadow:0 6px 20px rgba(11,42,91,.07)}
.ep-panel-head{display:flex;align-items:center;gap:14px;padding:16px 20px;color:#fff}
.ep-panel-head-navy{background:linear-gradient(90deg,#0B2A5B,#123A75)}
.ep-panel-head-green{background:linear-gradient(90deg,#14532D,#15803D)}
.ep-panel-ico{font-size:30px;line-height:1}
.ep-panel-head h2{color:#fff;font-size:21px;margin:0}
.ep-panel-head p{margin:0;font-size:13px;color:rgba(255,255,255,.85)}
.ep-panel-head .btn{margin-left:auto}
.ep-panel-body{padding:18px}
.ep-platform-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.ep-platform-card{display:flex;flex-direction:column;align-items:center;gap:2px;border:1px solid var(--ep-border);border-radius:10px;padding:12px 6px 10px;text-align:center;color:var(--ep-text);min-height:104px;justify-content:center}
.ep-platform-card:hover{text-decoration:none;border-color:var(--ep-blue);box-shadow:0 4px 14px rgba(11,42,91,.08)}
.ep-platform-name{font-size:14px;font-weight:700;color:#0B2A5B}
.ep-platform-cat{font-size:12px;color:var(--ep-muted)}
.ep-design-tag{font-size:10px;color:#92400E;background:#FEF3C7;border-radius:999px;padding:1px 8px;margin-top:4px}
.ep-brand{font-weight:800;line-height:1;display:flex;align-items:center;justify-content:center;min-height:34px}
.ep-brand-fiverr{background:#1DBF73;color:#fff;border-radius:50%;width:46px;height:46px;font-size:13px}
.ep-brand-upwork{color:#14A800;font-size:20px;letter-spacing:-.5px}
.ep-brand-amazon{color:#111;font-size:20px;border-bottom:3px solid #FF9900;border-radius:0 0 12px 12px;padding:0 2px}
.ep-brand-ysense{color:#00838F;font-size:20px;font-style:italic}
.ep-brand-clickworker{color:#F97316;font-size:16px}
.ep-brand-youtube{color:#FF0000;font-size:16px}
.ep-brand-remoteok{background:var(--ep-blue);color:#fff;font-size:12px;border-radius:999px;padding:5px 10px}
.ep-brand-flexjobs{color:#2563EB;font-size:18px}
.ep-brand-daraz{color:#F85606;font-size:20px}
.ep-brand-shareasale{color:#16A34A;font-size:16px}
.ep-brand-generic{color:#0B2A5B;font-size:15px}
.ep-brand-dot{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#DBEAFE;color:#1D4ED8;margin-right:6px;font-size:15px}
.ep-learn-body{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:center}
.ep-learn-img{width:100%;height:auto;border-radius:10px;object-fit:cover}
.ep-checklist{list-style:none;margin:0;padding:0}
.ep-checklist li{padding:9px 0;border-bottom:1px solid var(--ep-border);font-weight:600;color:#0B2A5B}
.ep-checklist li:last-child{border-bottom:0}
.ep-checklist a{color:#0B2A5B}
.ep-check{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#DCFCE7;color:#15803D;font-size:13px;font-weight:800;margin-right:8px}
/* Free Resources band */
.ep-resources-band{padding:0 0 40px}
.ep-resources-panel{background:#EAF2FE;border-radius:16px;padding:28px}
.ep-resources-panel h2{color:#0B2A5B}
.ep-star{font-size:24px}
.ep-resource-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.ep-resource-card{background:#fff;border-radius:10px;padding:18px 8px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;color:var(--ep-text);box-shadow:0 2px 8px rgba(11,42,91,.05)}
.ep-resource-card:hover{text-decoration:none;transform:translateY(-2px);box-shadow:0 6px 16px rgba(11,42,91,.10)}
.ep-resource-card .ep-tile-ico{font-size:28px}
.ep-resource-card .ep-tile-name{font-size:13px;font-weight:700;line-height:1.3}
/* Bottom row: blog / quick links / newsletter */
.ep-home-bottom{padding:8px 0 48px}
.ep-bottom-grid{display:grid;grid-template-columns:1.25fr .75fr 1.25fr;gap:28px;align-items:start}
.ep-post-list{list-style:none;margin:0;padding:0}
.ep-post-list li{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--ep-border)}
.ep-post-list li:last-child{border-bottom:0}
.ep-post-thumb{flex:0 0 72px;width:72px;height:56px;border-radius:8px;overflow:hidden;display:block;background:#DBEAFE}
.ep-post-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ep-thumb-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:26px;background:linear-gradient(135deg,#DBEAFE,#F0FDF4)}
.ep-post-title{font-weight:700;color:#0B2A5B;line-height:1.35;display:block}
.ep-post-list .ep-meta{display:block;margin-top:2px}
.ep-quick-links{list-style:none;margin:0;padding:0}
.ep-quick-links li{padding:8px 0;border-bottom:1px solid var(--ep-border)}
.ep-quick-links li:last-child{border-bottom:0}
.ep-quick-links a{color:var(--ep-text);font-weight:600}
.ep-news-card{background:linear-gradient(135deg,#0B2A5B,#123A75);color:#fff;border-radius:14px;padding:24px}
.ep-news-card h2{color:#fff;font-size:20px;margin:0 0 6px}
.ep-news-card p{color:rgba(255,255,255,.85);font-size:14px}
.ep-news-card form{display:flex;gap:8px;margin:14px 0}
.ep-news-card input{flex:1;min-width:0}
.ep-news-card .btn-green{flex:0 0 auto}
.ep-news-social{margin:6px 0 0}
.ep-news-social .ep-soc{width:32px;height:32px;font-size:13px;margin-left:0;margin-right:8px}
/* Slim design footer */
.ep-footer-slim{padding:22px 0 14px}
.ep-footer-slim .container{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.ep-footer-brand a{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}
.ep-footer-brand .ep-logo-text{color:#fff;font-size:22px}
.ep-footer-links{display:flex;flex-wrap:wrap;justify-content:center}
.ep-footer-links a{color:#E2E8F0;padding:0 14px;font-size:14px;font-weight:600}
.ep-footer-links a + a{border-left:1px solid rgba(255,255,255,.25)}
.ep-footer-copy{color:#E2E8F0;font-size:14px;margin:0}
.ep-footer-note{text-align:center;color:#94A3B8;font-size:12px;margin:10px 0 0;padding:0 20px}
/* Homepage responsive */
@media (max-width:960px){
  .ep-tiles{grid-template-columns:repeat(4,1fr)}
  .ep-duo-grid{grid-template-columns:1fr}
  .ep-resource-grid{grid-template-columns:repeat(3,1fr)}
  .ep-bottom-grid{grid-template-columns:1fr}
  .ep-platform-grid{grid-template-columns:repeat(3,1fr)}
  .ep-strip-card{grid-template-columns:repeat(3,1fr)}
  .ep-strip-item:nth-child(4){border-left:0}
  .ep-hero-design h1{font-size:40px}
  .ep-hero-sub{font-size:22px}
  .ep-sec-head{flex-wrap:wrap}
  .ep-sec-head-text{text-align:center}
  .ep-footer-slim .container{flex-direction:column;text-align:center}
}
@media (max-width:640px){
  .ep-tiles{grid-template-columns:repeat(2,1fr)}
  .ep-platform-grid{grid-template-columns:repeat(2,1fr)}
  .ep-resource-grid{grid-template-columns:repeat(2,1fr)}
  .ep-strip-card{grid-template-columns:repeat(2,1fr)}
  .ep-strip-item + .ep-strip-item{border-left:0}
  .ep-learn-body{grid-template-columns:1fr}
  .ep-hero-design h1{font-size:32px}
  .ep-hero-sub{font-size:19px}
  .ep-hero-art .ep-arrow{right:110px;top:20px}
  .ep-hero-art .ep-arrow svg{width:70px;height:52px}
  .ep-panel-head{flex-wrap:wrap}
  .ep-panel-head .btn{margin-left:0}
  .ep-news-card form{flex-direction:column}
  .ep-news-card .btn-green{width:100%}
}

/* v1.1.9 fix: the theme's global input rule sets width:100% on every
   input[type="search"], which pushed the pill search buttons off-screen on
   mobile. Pill search inputs must size as flex items instead. Hero grid
   children must also be allowed to shrink below their content width. */
.lc-search input[type="search"],
.im-search input[type="search"],
.pd-search input[type="search"]{width:auto;flex:1;min-width:0}
.lc-hero-in>*,
.im-hero-in>*,
.pd-hero-in>*,
.qz-hero-in>*,
.gd-hero-in>*,
.sd-hero-in>*{min-width:0}

/* v1.2.6 world-class polish: sticky header, smooth motion, card hover lift,
   clear keyboard focus, mobile bottom navigation (easy to use). */
html{scroll-behavior:smooth}
.ep-header{position:sticky;top:0;z-index:60;background:#fff;box-shadow:0 2px 12px rgba(11,42,91,.08)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #2563eb;outline-offset:2px;border-radius:4px}
.btn,.btn-green,button[type="submit"]{transition:background .2s ease,transform .15s ease,box-shadow .2s ease}
.btn:hover,.btn-green:hover,button[type="submit"]:hover{filter:brightness(.92)}
.ep-card,.fr-card,.at-card,.rj-job,.rv-card,.bg-card,.lc-cat,.qz-card,.ar-card,.gd-card,.sd-card{transition:transform .2s ease,box-shadow .2s ease}
.ep-card:hover,.fr-card:hover,.at-card:hover,.rj-job:hover,.rv-card:hover,.bg-card:hover,.lc-cat:hover,.qz-card:hover,.ar-card:hover,.gd-card:hover,.sd-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(11,42,91,.14)}
.ep-mobile-nav{display:none}
@media(max-width:768px){
  body{padding-bottom:64px}
  .ep-mobile-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:70;background:#0b2a5b;box-shadow:0 -2px 14px rgba(11,42,91,.25);padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
  .ep-mobile-nav a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;color:#cbd5e1;text-decoration:none;font-size:11px;font-weight:700;padding:6px 2px;min-height:48px;justify-content:center}
  .ep-mobile-nav a svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .ep-mobile-nav a:active,.ep-mobile-nav a:focus-visible{color:#fff;background:rgba(255,255,255,.08);border-radius:10px}
}

/* v1.3.0 modern gradient system — brand blues/greens, used site-wide:
   gradient buttons, gradient hero glow, gradient accent words, gradient
   card top-bars, gradient footer/topbar/newsletter. */
:root{--ep-grad:linear-gradient(135deg,#1d4ed8 0%,#2563eb 45%,#0ea5e9 70%,#16a34a 100%);--ep-grad-soft:linear-gradient(135deg,#dbeafe 0%,#e0f2fe 45%,#dcfce7 100%)}
.ep-topbar{background:linear-gradient(90deg,#0b2a5b,#1d4ed8 60%,#0ea5e9)}
.btn:not(.btn-outline){background:var(--ep-grad);box-shadow:0 6px 16px rgba(37,99,235,.28)}
.btn-green{background:linear-gradient(135deg,#16a34a,#22c55e 60%,#84cc16);box-shadow:0 6px 16px rgba(22,163,74,.28)}
.btn:hover,.btn-green:hover{filter:brightness(1.06);transform:translateY(-1px)}
.ep-newsletter{background:linear-gradient(120deg,#0b2a5b,#1d4ed8 55%,#15803d);color:#fff}
.ep-newsletter h2{color:#fff}
.ep-newsletter p{color:#dbeafe}
.ep-footer-slim{background:linear-gradient(180deg,#0b2a5b,#071b3d)}
/* Gradient accent words in hero headings (all family templates use h1 span). */
.ep-hero h1 span,.fr-hero h1 span,.at-hero h1 span,.rj-hero h1 span,.rv-hero h1 span,.bg-hero h1 span,.lc-hero h1 span,.qz-hero h1 span,.sp-hero h1 span,.ab-hero h1 span,.ct-hero h1 span,.gd-hero h1 span,.sd-hero h1 span,.im-hero h1 span,.pd-hero h1 span{background:linear-gradient(90deg,#2563eb,#0ea5e9 55%,#16a34a);-webkit-background-clip:text;background-clip:text;color:transparent}
/* Gradient top bar on cards, site-wide. */
.ep-card,.fr-card,.at-card,.rj-job,.rv-card,.bg-card,.ar-card,.lc-cat,.qz-card,.gd-card,.sd-card{position:relative;overflow:hidden}
.ep-card::before,.fr-card::before,.at-card::before,.rj-job::before,.rv-card::before,.bg-card::before,.ar-card::before,.lc-cat::before,.qz-card::before,.gd-card::before,.sd-card::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:var(--ep-grad)}
/* Gradient numbers: ratings and big stats. */
.ep-rating,.sd-stat b,.qz-score{font-weight:800;background:linear-gradient(90deg,#2563eb,#16a34a);-webkit-background-clip:text;background-clip:text;color:transparent}
/* Hero glow: soft radial light behind every family hero. */
.ep-hero,.fr-hero,.at-hero,.rj-hero,.rv-hero,.bg-hero,.lc-hero,.qz-hero,.sp-hero,.ab-hero,.ct-hero,.gd-hero,.sd-hero,.im-hero,.pd-hero{position:relative}
.ep-hero::after,.fr-hero::after,.at-hero::after,.rj-hero::after,.rv-hero::after,.bg-hero::after,.lc-hero::after,.qz-hero::after,.sp-hero::after,.ab-hero::after,.ct-hero::after,.gd-hero::after,.sd-hero::after,.im-hero::after,.pd-hero::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(600px 220px at 85% 0%,rgba(37,99,235,.14),transparent 70%),radial-gradient(500px 200px at 10% 100%,rgba(22,163,74,.12),transparent 70%)}
/* Pill search buttons: brand gradient instead of flat colour. */
.fr-search button,.at-search button,.rj-search button,.lc-search button,.im-search button,.pd-search button{background:var(--ep-grad);box-shadow:0 4px 12px rgba(37,99,235,.25)}
/* Section headings: thin gradient underline. */
.fr-sec,.at-sec,.rj-sec,.rv-sec,.bg-sec,.ab-sec{position:relative;padding-bottom:10px}
.fr-sec::after,.at-sec::after,.rj-sec::after,.rv-sec::after,.bg-sec::after,.ab-sec::after{content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:0;width:72px;height:4px;border-radius:99px;background:var(--ep-grad)}

/* v1.3.0 button placement: Blog hero gets a search box (find any guide fast);
   Reviews hero gets its primary action. */
.bg-search{display:flex;background:#fff;border-radius:999px;box-shadow:0 6px 18px rgba(11,42,91,.12);padding:6px;max-width:560px;margin-bottom:26px}
.bg-search input{flex:1;min-width:0;width:auto;border:0;outline:0;padding:10px 16px;font-size:16px;border-radius:999px}
.bg-search button{border:0;border-radius:999px;background:var(--ep-grad);color:#fff;font-weight:700;padding:10px 28px;cursor:pointer;font-size:16px;box-shadow:0 4px 12px rgba(37,99,235,.25)}
.rv-hero-btn{display:inline-block;background:var(--ep-grad);color:#fff;border-radius:999px;padding:12px 26px;text-decoration:none;font-weight:700;box-shadow:0 6px 16px rgba(37,99,235,.28);margin-bottom:26px}
