/* Blog archive 0.5.2.41: isolate layout from Neve page-header chrome. */
body.tradder-blog-page .nv-post-cover,
body.tradder-blog-page .nv-page-title-wrap,
body.tradder-blog-page .nv-page-title,
body.tradder-blog-page .entry-header:not(.tb-hero),
body.tradder-blog-page .page-header:not(.tb-hero) {display:none!important;}
body.tradder-blog-page .nv-single-page-wrap,body.tradder-blog-page .nv-content-wrap,
body.tradder-blog-page .entry-content,body.tradder-blog-page .elementor-widget-wrap{max-width:none;}
body.tradder-blog-page .nv-single-page-wrap > .container,
body.tradder-blog-page .neve-main > .container,
body.tradder-blog-page .nv-page-title-wrap + .container {max-width:none!important;width:100%!important;padding-left:0!important;padding-right:0!important;}
body.tradder-blog-page .nv-content-wrap {margin-top:0!important;}
.tradder-blog-archive{box-sizing:border-box;width:min(100%,1500px);max-width:1500px;margin:0 auto;padding:0 32px 52px;color:#26302c;font-family:'TRADDER Inter Local',Inter,Arial,sans-serif}
.tradder-blog-archive *{box-sizing:border-box}
.tb-hero{position:relative;display:flex;align-items:center;min-height:285px;margin:0 -32px 30px;padding:25px max(32px,calc((100vw - 1436px)/2));background:#f5f8f6;overflow:hidden;isolation:isolate}
.tb-hero:after{content:"";position:absolute;z-index:-1;inset:0 0 0 36%;background:linear-gradient(90deg,#f5f8f6 1%,rgba(245,248,246,.93) 18%,rgba(245,248,246,.52) 41%,rgba(245,248,246,0) 65%),url('tradder-blog-hero.jpg') center right/cover no-repeat}
.tb-hero-text{position:relative;z-index:1;width:min(570px,55%);padding:18px 0}
.tb-crumb{font-size:13px;color:#697770;margin-bottom:16px}
.tb-hero h2{font-size:clamp(40px,4vw,54px);font-weight:750;line-height:1.09;margin:0 0 17px;color:#161d19}
.tb-hero p{font-size:16px;line-height:1.55;color:#526058;max-width:510px;margin:0}
.tb-hero-visual{display:none}
.tb-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:30px;align-items:start}
.tb-sidebar{padding:17px;background:#f7f9f8;border-radius:10px;align-self:start}
.tb-search{display:flex;background:#fff;border:1px solid #d9e2df;border-radius:8px;overflow:hidden}
.tb-search input{border:0!important;background:transparent!important;box-shadow:none!important;outline:none;min-width:0;flex:1;padding:12px;font-size:14px}
.tb-search button{border:0;background:transparent;color:#47694e;padding:0 14px;cursor:pointer;font-size:22px}
.tb-categories summary,.tb-popular h2{font-size:19px;font-weight:700;margin:22px 0 12px;line-height:1.3}
.tb-categories summary{list-style:none;cursor:default}.tb-categories summary::-webkit-details-marker{display:none}
.tb-categories nav{display:grid;gap:3px}
.tb-categories nav a{display:flex;justify-content:space-between;gap:10px;padding:10px 11px;border-radius:7px;text-decoration:none;color:#42504a;font-size:14px;line-height:1.35}
.tb-categories nav a:hover{background:#eaf4e8}.tb-categories nav a.is-active{background:#5cba42;color:#fff}
.tb-popular{border-top:1px solid #dfe6e2;margin-top:20px}.tb-popular-entry{display:flex;gap:11px;margin:14px 0;align-items:flex-start;text-decoration:none;color:#222e26}.tb-popular-entry .tb-photo{width:65px;height:65px;object-fit:cover;border-radius:7px;flex-shrink:0}.tb-popular-entry strong{font-size:13px;font-weight:650;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tb-popular-entry small{display:flex;gap:7px;justify-content:space-between;margin-top:6px;color:#78867e;font-size:11px}
.tb-result-count{font-size:17px;font-weight:650;margin:0 0 16px}.tb-result-count span{color:#78867e;font-weight:400;margin-left:8px;font-size:14px}
.tb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 23px}.tb-card{min-width:0;display:flex;flex-direction:column}.tb-card-image{position:relative;display:block;aspect-ratio:1.75;overflow:hidden;background:#edf2ec;border-radius:10px;text-decoration:none}.tb-photo{width:100%;height:100%;object-fit:cover;display:block}.tb-placeholder{background:linear-gradient(135deg,#deead7,#f5f0e2)}.tb-card-image img{transition:transform .25s}.tb-card-image:hover img{transform:scale(1.035)}.tb-tag,.tb-views{position:absolute;bottom:9px;border-radius:6px;background:rgba(255,255,255,.96);padding:5px 8px;color:#304036;font-size:12px;line-height:1.1}.tb-tag{left:9px;max-width:68%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tb-views{right:9px}.tb-date{font-size:12px;color:#7c8981;margin-top:11px}.tb-card h2{font-size:19px;line-height:1.32;font-weight:700;margin:7px 0 9px}.tb-card h2 a{color:#1d2820;text-decoration:none}.tb-card p{font-size:14px;line-height:1.5;color:#6c7971;margin:0 0 12px;flex:1}.tb-read{font-size:14px;font-weight:650;color:#39a72a;text-decoration:none}.tb-read:hover{text-decoration:underline}
.tb-pagination{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:32px}.tb-pagination a{display:flex;width:36px;height:36px;align-items:center;justify-content:center;border:1px solid #dfe6e0;border-radius:7px;text-decoration:none;color:#304037}.tb-pagination a.is-current{background:#5cba42;border-color:#5cba42;color:#fff}.tb-empty{padding:24px}.tradder-blog-archive .screen-reader-text{position:absolute;width:1px;height:1px;clip:rect(1px,1px,1px,1px);overflow:hidden}
@media(min-width:1600px){.tradder-blog-archive{width:min(100%,1580px);max-width:1580px}.tb-hero{margin-left:-32px;margin-right:-32px}}
@media(max-width:1150px){.tb-layout{grid-template-columns:250px minmax(0,1fr);gap:22px}.tb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tradder-blog-archive{padding:0 22px 38px}.tb-hero{margin-left:-22px;margin-right:-22px;padding:26px}}
@media(max-width:767px){.tradder-blog-archive{padding:0 16px 30px}.tb-hero{min-height:250px;margin:0 -16px 22px;padding:24px 16px}.tb-hero:after{left:15%;opacity:.38;background-position:center right}.tb-hero-text{width:100%}.tb-hero h2{font-size:38px}.tb-hero p{font-size:14px;max-width:440px}.tb-layout{display:flex;flex-direction:column;gap:20px}.tb-sidebar{width:100%}.tb-categories summary{cursor:pointer;list-style:revert}.tb-popular{display:none}.tb-grid{grid-template-columns:1fr;gap:28px}.tb-card-image{aspect-ratio:1.75}.tb-card h2{font-size:19px}}
@media(min-width:768px){.tb-categories:not([open]) nav{display:grid}}

/* Blog archive refined hero and spacing */
.tradder-blog-archive{padding-top:24px}
.tb-hero{margin:0 0 30px;min-height:250px;border-radius:12px;padding:26px 38px;background:#f6f8f5}
.tb-hero:after{inset:0 0 0 31%;background:linear-gradient(90deg,#f6f8f5 0%,rgba(246,248,245,.9) 19%,rgba(246,248,245,.36) 47%,transparent 70%),url('tradder-blog-hero.jpg') center right/cover no-repeat}
.tb-hero h2{font-size:clamp(38px,3.4vw,49px);margin-bottom:15px}
.tb-hero h2 span{display:inline-block;border-left:5px solid #5cba42;padding-left:19px}
.tb-hero-text{padding:10px 0}
.tb-result-count{margin-top:2px}
.tb-search input::-webkit-search-cancel-button{cursor:pointer}
.tb-search.is-searching{box-shadow:0 0 0 2px rgba(92,186,66,.18)}
.tb-dynamic-results{min-width:0}
@media(max-width:767px){.tradder-blog-archive{padding-top:14px}.tb-hero{margin:0 0 22px;min-height:220px;padding:22px 18px}.tb-hero:after{inset:0;opacity:.40}.tb-hero h2{font-size:36px}}

/* 0.5.2.43 — site's established boxed heading and two orange underline strokes */
.tradder-blog-archive{padding-top:34px}
.tb-hero{min-height:285px;margin-top:0;padding-top:40px;padding-bottom:40px}
.tb-hero h2 span{display:inline-block;border:2px solid #efa123;border-radius:13px;padding:12px 20px;background:rgba(255,255,255,.55);position:relative}
.tb-hero h2 span:after{content:"";position:absolute;left:0;bottom:-18px;width:115px;height:3px;background:#efa123;box-shadow:40px 7px 0 -1px #efa123}
.tb-hero h2{margin-bottom:32px}
.tradder-blog-archive .tb-popular-entry:hover,.tradder-blog-archive .tb-popular-entry:focus-visible{color:#1d3520!important;background:#edf6eb!important}
.tradder-blog-archive .tb-popular-entry:hover strong,.tradder-blog-archive .tb-popular-entry:focus-visible strong{color:#1d3520!important}
.tradder-blog-archive .tb-popular-entry:hover small{color:#62736a!important}
.tb-popular-entry{border-radius:7px;padding:3px;transition:background-color .15s}
.tb-dynamic-results{transition:opacity .12s ease}
.tb-dynamic-results.is-loading{opacity:.55;pointer-events:none}
@media(max-width:767px){.tradder-blog-archive{padding-top:20px}.tb-hero{min-height:285px;padding-top:28px;padding-bottom:28px}.tb-hero h2 span{padding:9px 14px}.tb-hero h2{margin-bottom:28px}}

/* 0.5.2.45: archive UI polish; scoped to this module only */
body.tradder-blog-page .tradder-blog-archive{padding-top:24px!important}
.tradder-blog-archive .tb-hero{min-height:300px!important;margin-top:0!important;margin-bottom:30px;padding-top:40px;padding-bottom:40px}
.tradder-blog-archive .tb-hero h2 span:after{content:"";position:absolute;left:0;bottom:-19px;width:145px;height:3px;background:#efa123;box-shadow:none}
.tradder-blog-archive .tb-hero h2 span:before{content:"";position:absolute;left:0;bottom:-27px;width:95px;height:2px;background:#efa123}
.tradder-blog-archive .tb-read:hover,.tradder-blog-archive .tb-read:focus-visible,
.tradder-blog-archive .tb-card h2 a:hover,.tradder-blog-archive .tb-card h2 a:focus-visible{color:#286c22!important;text-decoration:underline!important;background:transparent!important}
.tradder-blog-archive .tb-popular-entry:hover,.tradder-blog-archive .tb-popular-entry:focus-visible{background:#eaf4e8!important;color:#203b26!important}
.tradder-blog-archive .tb-popular-entry:hover *,.tradder-blog-archive .tb-popular-entry:focus-visible *{color:#203b26!important}
.tradder-blog-archive .tb-popular-entry:hover small,.tradder-blog-archive .tb-popular-entry:focus-visible small{color:#647568!important}
.tradder-blog-archive .tb-pagination{align-items:center;gap:14px}
.tradder-blog-archive .tb-pagination .tb-page-status{font-size:14px;font-weight:600;color:#34443a;min-width:52px;text-align:center}
.tradder-blog-archive .tb-pagination .tb-page-arrow{width:42px;height:40px;font-size:25px;font-weight:400;background:#fff;color:#274c31;border:1px solid #dce6dc}
.tradder-blog-archive .tb-pagination .tb-page-arrow:hover,.tradder-blog-archive .tb-pagination .tb-page-arrow:focus-visible{background:#5cba42!important;color:#fff!important;border-color:#5cba42}
.tradder-blog-archive .tb-pagination .is-disabled{opacity:.35;pointer-events:none}
@media(max-width:767px){body.tradder-blog-page .tradder-blog-archive{padding-top:16px!important}.tradder-blog-archive .tb-hero{min-height:285px!important;padding-top:28px;padding-bottom:28px}}

/* 0.5.2.47: genuine space above hero, without a visual-only transform. */
body.tradder-blog-page .tradder-blog-archive > .tb-hero {
  margin-top: 20px !important;
  margin-bottom: 30px !important;
  transform: none !important;
}
@media (max-width:767px) {
  body.tradder-blog-page .tradder-blog-archive > .tb-hero {
    margin-top: 12px !important;
    margin-bottom: 22px !important;
  }
}

/* 0.5.2.48: the custom sticky header extends 44px below the Neve header.
   Reserve additional *flow* space at archive root, not on the hero.
   Measurements on stage: .glua-header bottom 138px, hero top 138px.
   The existing 20px hero margin remains; +20px here yields a visible 20px gap. */
@media (min-width: 768px) {
  body.tradder-blog-page .tradder-blog-archive { padding-top: 44px !important; }
}
@media (max-width: 767px) {
  body.tradder-blog-page .tradder-blog-archive { padding-top: 36px !important; }
}

/* 0.5.2.49: consistent mobile pagination controls, including disabled spans. */
.tradder-blog-archive .tb-pagination{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:12px!important}
.tradder-blog-archive .tb-pagination .tb-page-arrow{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:0!important;line-height:1!important;font-size:26px!important;text-decoration:none!important;border-radius:9px!important}
.tradder-blog-archive .tb-pagination .tb-page-status{display:inline-flex;align-items:center;justify-content:center;min-width:64px;min-height:44px;white-space:nowrap;line-height:1.2}
.tradder-blog-archive .tb-pagination .tb-page-arrow.is-disabled{opacity:.35!important;visibility:visible!important;background:#fff!important;color:#274c31!important;pointer-events:none}
@media(max-width:767px){.tradder-blog-archive .tb-pagination{gap:14px!important;margin-top:28px!important;margin-bottom:16px!important}}

/* 0.5.2.105: body has .tradder-blog-page; .tradder-blog-archive is a SECTION,
   not a body class. Preserve the link color during pointer press and navigation. */
body.tradder-blog-page section.tradder-blog-archive a.tb-read:link,
body.tradder-blog-page section.tradder-blog-archive a.tb-read:visited,
body.tradder-blog-page section.tradder-blog-archive a.tb-read:hover,
body.tradder-blog-page section.tradder-blog-archive a.tb-read:focus,
body.tradder-blog-page section.tradder-blog-archive a.tb-read:focus-visible,
body.tradder-blog-page section.tradder-blog-archive a.tb-read:active {
 color:#286c22!important;
 -webkit-text-fill-color:#286c22!important;
 background:transparent!important;
 opacity:1!important;
}
body.tradder-blog-page section.tradder-blog-archive a.tb-read:hover,
body.tradder-blog-page section.tradder-blog-archive a.tb-read:focus-visible,
body.tradder-blog-page section.tradder-blog-archive a.tb-read:active {
 text-decoration:underline!important;
}
