/* The Everyday Painter design system v0.1 (no beige/brown) */
:root{
 --tep-ink:#1B2440; --tep-ink-2:#33405f; --tep-blue:#2F4BD8; --tep-blue-d:#2238a8;
 --tep-coral:#F0544F; --tep-coral-d:#c93a36; --tep-teal:#0F8C8C; --tep-yellow:#FFD23F;
 --tep-bg:#FAFBFF; --tep-tint:#EEF2FF; --tep-line:#E2E6F2;
 --tep-serif:"Fraunces",Georgia,serif; --tep-sans:"Source Sans 3","Segoe UI",Arial,sans-serif;
 --c-main:#2F4BD8; --c-main-rgb:47,75,216;
}
body{background:var(--tep-bg);color:var(--tep-ink);font-family:var(--tep-sans);}
body, .post-content, .entry-content, .page-content{font-size:18px;}
.post-content p,.entry-content p,.entry-content li{font-size:18.5px;line-height:1.75;color:var(--tep-ink);font-family:var(--tep-sans);}
h1,h2,h3,h4,.post-title,.entry-title,.is-title{font-family:var(--tep-serif);color:var(--tep-ink);letter-spacing:-.005em;text-transform:none !important;}
a{color:var(--tep-blue);} a:hover{color:var(--tep-coral-d);}
a:focus-visible,button:focus-visible{outline:3px solid var(--tep-yellow);outline-offset:2px;}
.entry-content a,.post-content a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}

/* Header */
.smart-head-main .smart-head-mid{border-bottom:1px solid var(--tep-line);background:#fff;}
.smart-head .logo-image{max-height:54px;width:auto;}
.smart-head-main .smart-head-mid .inner{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;}
.smart-head-main .nav-wrap{flex:1 1 auto;min-width:0;}
.smart-head-main .items-right{flex:0 0 auto;margin-left:6px;z-index:2;}
.smart-head-main .search-icon{position:relative;z-index:3;}
.navigation-main .menu{display:flex;flex-wrap:nowrap;align-items:center;gap:0;margin:0;}
.navigation-main .menu > li{flex:0 0 auto;}
.navigation-main .menu > li > a{font-family:var(--tep-sans);font-weight:600;font-size:15px;color:var(--tep-ink);text-transform:none;letter-spacing:0;white-space:nowrap;padding:12px 11px;line-height:1.2;}
.navigation-main .menu > li > a:hover,.navigation-main .menu > .current-menu-item > a,.navigation-main .menu > .current-menu-ancestor > a{color:var(--tep-blue);}
.navigation-main .sub-menu{border-top:3px solid var(--tep-coral);}
.navigation-main .sub-menu a{font-size:15px;white-space:nowrap;}
.off-canvas .menu a{font-size:17px;}
@media (max-width:1280px){
 .navigation-main .menu > li > a{font-size:14px;padding:12px 8px;}
}
@media (max-width:1100px){
 .navigation-main .menu > li > a{font-size:13px;padding:11px 6px;}
 .smart-head .logo-image{max-height:46px;}
}

/* Shared */
.tep-wrap{max-width:1180px;margin:0 auto;padding:0 22px;}
.tep-kicker{font:700 13px/1 var(--tep-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--tep-teal);margin:0 0 10px;}
.tep-sec-title{font-family:var(--tep-serif);font-size:30px;margin:46px 0 20px;position:relative;padding-bottom:12px;}
.tep-sec-title:after{content:"";position:absolute;left:0;bottom:0;width:64px;height:6px;border-radius:6px;background:linear-gradient(90deg,var(--tep-coral) 0 33%,var(--tep-yellow) 33% 66%,var(--tep-teal) 66%);}
.tep-btn{display:inline-block;background:var(--tep-coral);color:#fff !important;font:700 17px/1 var(--tep-sans);padding:15px 24px;border-radius:999px;text-decoration:none !important;min-height:44px;}
.tep-btn:hover{background:var(--tep-coral-d);}
.tep-btn.alt{background:#fff;color:var(--tep-ink) !important;border:2px solid var(--tep-ink);}
.tep-tag{display:inline-block;font:700 12px/1 var(--tep-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--tep-blue-d);background:var(--tep-tint);padding:6px 9px;border-radius:4px;margin-bottom:10px;}

/* Cards */
.tep-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.tep-card{background:#fff;border:1px solid var(--tep-line);border-radius:10px;overflow:hidden;transition:transform .15s;}
.tep-card:hover{transform:translateY(-2px);}
.tep-card a{color:inherit;text-decoration:none;display:block;height:100%;}
.tep-card-img{aspect-ratio:4/3;overflow:hidden;background:var(--tep-tint);}
.tep-card-img img{width:100%;height:100%;object-fit:cover;display:block;}
.tep-card-body{padding:16px 18px 20px;}
.tep-card h3{font-size:20px;line-height:1.3;margin:0 0 8px;}
.tep-card p{font-size:17px;line-height:1.55;color:var(--tep-ink-2);margin:0;}

/* Landing (home / author) */
.tep-landing-page .main-wrap > .main{display:none;}
.tep-landing{display:block;}
.tep-landing p{font-size:18px;line-height:1.7;}
.tep-hero{background:linear-gradient(120deg,#fff 0 55%,var(--tep-tint) 55%);border-bottom:1px solid var(--tep-line);}
.tep-hero .tep-wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding-top:56px;padding-bottom:56px;}
.tep-hero h1{font-size:clamp(34px,4.6vw,54px);line-height:1.08;margin:0 0 18px;}
.tep-hero h1 em{font-style:normal;color:var(--tep-blue);}
.tep-hero p.lead{font-size:20px;color:var(--tep-ink-2);max-width:36em;}
.tep-hero .tep-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px;}
.tep-hero figure{margin:0;position:relative;}
.tep-hero figure img{width:100%;height:auto;border-radius:14px;display:block;box-shadow:12px 12px 0 var(--tep-coral);}
.tep-credit{font-size:13px !important;color:var(--tep-ink-2);margin-top:14px !important;}
.tep-hubs{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;}
.tep-hub-tile{position:relative;border-radius:12px;overflow:hidden;background:var(--tep-ink);min-height:250px;display:flex;align-items:flex-end;text-decoration:none !important;}
.tep-hub-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.78;transition:opacity .2s;}
.tep-hub-tile:hover img{opacity:.6;}
.tep-hub-tile span{position:relative;display:block;width:100%;padding:16px;background:linear-gradient(transparent,rgba(16,22,44,.92));color:#fff;font:600 20px/1.2 var(--tep-serif);}
.tep-hub-tile small{display:block;font:400 15px/1.4 var(--tep-sans);margin-top:6px;color:#e8ecff;}
.tep-band{background:#fff;border-top:1px solid var(--tep-line);border-bottom:1px solid var(--tep-line);padding:10px 0 46px;margin-top:46px;}
.tep-news{margin:52px auto 0;max-width:1180px;padding:0 22px;}
.tep-news-inner{background:var(--tep-ink);color:#fff;border-radius:16px;padding:36px;display:grid;grid-template-columns:1fr 1.1fr;gap:28px;align-items:center;position:relative;overflow:hidden;}
.tep-news-inner:before{content:"";position:absolute;right:-40px;top:-40px;width:180px;height:180px;border-radius:50%;border:22px solid var(--tep-coral);opacity:.5;}
.tep-news h2{color:#fff;font-size:32px;margin:0 0 10px;}
.tep-news p{color:#dfe5ff;margin:0;}
.tep-news .tep-grow{background:#fff;border-radius:12px;padding:14px;min-height:90px;position:relative;z-index:1;color:var(--tep-ink);}
.tep-tools{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;}
.tep-tool{background:#fff;border:2px dashed var(--tep-line);border-radius:12px;padding:22px;}
.tep-tool h3{margin:0 0 8px;font-size:22px;}
.tep-tool p{margin:0;color:var(--tep-ink-2);}
.tep-author{display:grid;grid-template-columns:160px 1fr;gap:28px;align-items:center;background:#fff;border:1px solid var(--tep-line);border-radius:14px;padding:26px;margin-top:46px;}
.tep-author img{width:160px;height:160px;border-radius:50%;object-fit:cover;border:5px solid var(--tep-tint);}
.tep-author h2{margin:0 0 8px;font-size:28px;}
.tep-seasonal{display:flex;flex-wrap:wrap;gap:10px;}
.tep-seasonal a{background:#fff;border:1px solid var(--tep-line);border-radius:999px;padding:11px 18px;font-weight:600;text-decoration:none;color:var(--tep-ink);min-height:44px;}
.tep-seasonal a:hover{border-color:var(--tep-blue);color:var(--tep-blue);}
.tep-section-pad{padding-bottom:56px;}

/* Author page */
.tep-profile .tep-wrap{display:grid;grid-template-columns:.8fr 1.2fr;gap:44px;align-items:start;padding-top:52px;padding-bottom:20px;}
.tep-profile figure{margin:0;} .tep-profile figure img{width:100%;height:auto;border-radius:14px;box-shadow:-12px 12px 0 var(--tep-teal);}
.tep-profile h1{font-size:clamp(34px,4vw,48px);margin:0 0 16px;}
.tep-profile ul{margin:0 0 0 20px;} .tep-profile li{font-size:18px;line-height:1.7;}

/* Hub */
.tep-hub-page .archive-heading{display:none;}
.tep-hub{padding:34px 0 0;}
.tep-hub-head{display:grid;grid-template-columns:1.15fr .85fr;gap:36px;align-items:center;background:#fff;border:1px solid var(--tep-line);border-radius:16px;padding:32px;}
.tep-hub h1{font-size:clamp(32px,4vw,46px);line-height:1.1;margin:0 0 14px;}
.tep-hub-intro p{font-size:18.5px;line-height:1.7;color:var(--tep-ink-2);}
.tep-hub-img img{width:100%;height:auto;border-radius:12px;display:block;}
.tep-hub .tep-more{margin-bottom:0;}

/* Articles */
.entry-content h2,.post-content h2{font-size:30px;margin-top:1.6em;}
.entry-content h3,.post-content h3{font-size:23px;}
.tep-inline img{border-radius:10px;}
.tep-inline figcaption,.wp-block-image figcaption{font-size:15px;color:var(--tep-ink-2);}
.entry-content table{border-collapse:collapse;width:100%;font-size:17px;}
.entry-content th{background:var(--tep-ink);color:#fff;text-align:left;}
.entry-content td,.entry-content th{border:1px solid var(--tep-line);padding:10px 12px;}
.entry-content tr:nth-child(even) td{background:var(--tep-tint);}
ul.tep-checklist{list-style:none;margin-left:0;padding:16px 18px;background:#fff;border:2px solid var(--tep-teal);border-radius:12px;}
ul.tep-checklist li{margin:8px 0;padding-left:0;position:static;}
ul.tep-checklist li:before{content:none;display:none;}
ul.tep-checklist li label{display:flex;align-items:flex-start;gap:10px;font-weight:500;cursor:pointer;line-height:1.45;}
ul.tep-checklist li input[type="checkbox"]{appearance:auto;-webkit-appearance:checkbox;width:18px;height:18px;min-width:18px;margin:2px 0 0;accent-color:var(--tep-teal);flex-shrink:0;cursor:pointer;}
.post-meta,.meta-item{font-size:15px;}

/* Footer */
.tep-footer{background:var(--tep-ink);color:#e6eaff;margin-top:60px;padding:50px 0 0;}
.tep-footer a{color:#fff;text-decoration:none;} .tep-footer a:hover{color:var(--tep-yellow);}
.tep-footer-grid{display:grid;grid-template-columns:minmax(200px,1.35fr) repeat(3,minmax(140px,1fr));gap:28px 32px;align-items:start;}
.tep-footer-name{font:650 24px/1.2 var(--tep-serif);color:#fff;margin:10px 0 6px;}
.tep-footer p{font-size:17px;line-height:1.6;}
.tep-footer-h{font:700 14px/1 var(--tep-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--tep-yellow);margin-bottom:14px;}
.tep-footer ul{list-style:none;margin:0;padding:0;} .tep-footer li{margin:0 0 4px;}
.tep-footer li a{display:inline-block;padding:6px 0;font-size:17px;}
.tep-pin{display:inline-flex;align-items:center;gap:8px;background:#E60023;padding:10px 16px;border-radius:999px;min-height:44px;font-weight:700;}
.tep-mail{text-decoration:underline !important;}
.tep-footer-base{border-top:1px solid rgba(255,255,255,.15);margin-top:34px;padding-top:16px;padding-bottom:22px;}
.tep-footer-base p{font-size:15px;color:#c9d0f0;margin:0;}


@media (max-width:900px) and (min-width:768px){
 .tep-footer-grid{grid-template-columns:1fr 1fr;gap:28px;}
}

/* Responsive */
@media (max-width:1024px){.tep-hubs{grid-template-columns:repeat(3,1fr);}.tep-cards{grid-template-columns:repeat(2,1fr);}}
@media (max-width:767px){
 .tep-hero{background:#fff;} .tep-hero .tep-wrap,.tep-hub-head,.tep-news-inner,.tep-profile .tep-wrap,.tep-tools{grid-template-columns:1fr;}
 .tep-footer-grid{grid-template-columns:1fr;gap:28px;}
 .tep-hero .tep-wrap{padding-top:30px;padding-bottom:36px;gap:26px;}
 .tep-hubs{grid-template-columns:1fr 1fr;gap:12px;} .tep-hub-tile{min-height:180px;} .tep-hub-tile span{font-size:17px;} .tep-hub-tile small{display:none;}
 .tep-cards{grid-template-columns:1fr;} .tep-author{grid-template-columns:1fr;text-align:center;} .tep-author img{margin:0 auto;}
 .tep-hub-head,.tep-news-inner{padding:22px;} .tep-sec-title{font-size:26px;}
 .entry-content table{display:block;overflow-x:auto;}
}
/* Legacy answer box used in historical posts (kept from parent custom CSS) */
.answer-box{background-color:var(--tep-tint);border:2px solid var(--tep-ink);border-radius:10px;padding:10px;}

/* TEP-MOBILE-READ */
body .entry-content,body .post-content,body .entry-content li,body .entry-content td,body .entry-content th{font-size:18px;}
@media (max-width:767px){body .entry-content,body .post-content,body .entry-content p,body .entry-content li{font-size:18px;line-height:1.7;}body .entry-content table{font-size:17px;}}
/* Sidebar redesign */
.main-sidebar .widget{background:transparent;border:0;box-shadow:none;padding:0;margin:0 0 18px;}
.main-sidebar .widget-title,.main-sidebar .heading{display:none;}
.tep-side{display:flex;flex-direction:column;gap:16px;}
.tep-side-card{background:#fff;border:1px solid var(--tep-line);border-radius:14px;padding:16px 16px 18px;box-shadow:0 1px 0 rgba(27,36,64,.04);}
.tep-side-card.tep-side-accent{background:linear-gradient(160deg,var(--tep-tint) 0%,#fff 55%);border-color:#d8def8;}
.tep-side-card.tep-side-tools{background:var(--tep-ink);color:#e8ecff;border-color:transparent;}
.tep-side-card.tep-side-tools a{color:#fff;text-decoration:none;}
.tep-side-card.tep-side-tools a:hover{color:var(--tep-yellow);}
.tep-side-kicker{font:700 12px/1 var(--tep-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--tep-teal);margin:0 0 8px;}
.tep-side-tools .tep-side-kicker{color:var(--tep-yellow);}
.tep-side-author{display:grid;grid-template-columns:72px 1fr;gap:12px;align-items:center;}
.tep-side-author img{width:72px;height:72px;object-fit:cover;border-radius:50%;border:3px solid var(--tep-yellow);}
.tep-side-author strong{display:block;font:650 18px/1.2 var(--tep-serif);color:var(--tep-ink);margin:0 0 4px;}
.tep-side-author p{margin:0;font-size:15px;line-height:1.45;color:var(--tep-ink-2);}
.tep-side-author a.tep-side-link{display:inline-block;margin-top:8px;font:700 14px/1 var(--tep-sans);color:var(--tep-blue);text-decoration:none;}
.tep-side-list{list-style:none;margin:0;padding:0;}
.tep-side-list li{margin:0;padding:0;}
.tep-side-list a{display:grid;grid-template-columns:56px 1fr;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--tep-line);text-decoration:none;color:var(--tep-ink);}
.tep-side-list li:last-child a{border-bottom:0;}
.tep-side-list img{width:56px;height:56px;object-fit:cover;border-radius:8px;background:var(--tep-tint);}
.tep-side-list span{font:600 15px/1.35 var(--tep-sans);}
.tep-side-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;}
.tep-side-chips a{display:inline-block;padding:8px 12px;border-radius:999px;background:var(--tep-tint);color:var(--tep-blue-d);font:700 13px/1 var(--tep-sans);text-decoration:none;}
.tep-side-chips a:hover{background:var(--tep-blue);color:#fff;}
.tep-side-tools ul{list-style:none;margin:10px 0 0;padding:0;}
.tep-side-tools li{margin:0 0 8px;}
.tep-side-tools li a{display:block;padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.08);font:600 15px/1.3 var(--tep-sans);}
.tep-side-tools li a:hover{background:rgba(255,255,255,.16);}
.tep-side h3,.tep-side .tep-side-title{font:650 18px/1.25 var(--tep-serif);margin:0 0 10px;color:var(--tep-ink);}
.tep-side-tools .tep-side-title{color:#fff;}
/* Without Camille card, lead with Start Here as the accent block */
.tep-side--no-author > .tep-side-card:first-child{background:linear-gradient(160deg,var(--tep-tint) 0%,#fff 55%);border-color:#d8def8;}
/* Keep Journey/ad widgets below our card stack untouched */
.main-sidebar .widget:not(.widget_custom_html){margin-top:18px;}


/* Tools + roundups */
.tep-tool{background:#fff;border:1px solid var(--tep-line,#E6E9F2);border-radius:12px;padding:18px;margin:18px 0;}
.tep-tool-controls{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:end;margin-bottom:14px;}
.tep-tool-controls label{display:flex;flex-direction:column;gap:4px;font-size:14px;font-weight:600;color:var(--tep-ink,#1B2440);}
.tep-tool-controls input,.tep-tool-controls select{font:400 16px/1.4 "Source Sans 3",system-ui,sans-serif;padding:8px 10px;border:1px solid var(--tep-line,#E6E9F2);border-radius:8px;min-width:110px;}
.tep-tool-controls .tep-check{flex-direction:row;align-items:center;gap:8px;font-weight:600;}
#tep-c-preview{display:block;max-width:100%;background:#FAFBFF;border:1px solid var(--tep-line,#E6E9F2);border-radius:8px;margin:8px 0 12px;}
.tep-tool-out{font-size:17px;line-height:1.6;}
.tep-tool-out .tep-note{color:#445;font-size:15px;}
.tep-roundup{padding-left:1.2em;}
.tep-roundup > li{margin:0 0 1.1em;}
.tep-credit{font-size:14px;color:#556;margin:.25em 0 0;}
.tep-season{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 18px;}
.tep-season a{display:inline-block;padding:8px 12px;border-radius:999px;background:var(--tep-tint,#EEF1FF);color:var(--tep-blue-d,#2F4BD8);font-weight:600;text-decoration:none;}
@media print{.site-header,.tep-footer,.sidebar,#tep-s-print,.tep-tool-controls button{display:none!important;}#tep-supply-builder{border:0;}}
