/* Shash Archive Blog Widget v1.2.0 */
.shash-blog-archive,.shash-blog-archive *{box-sizing:border-box}
.shash-blog-archive{--shash-text:#11233d;width:100%;background:var(--shash-page-bg);color:var(--shash-text);font-family:"Manrope","Inter",Arial,sans-serif;overflow:hidden}
.shash-blog-wrap{width:100%;max-width:1280px;margin:0 auto;padding:0 20px 70px}
.shash-container-full .shash-blog-wrap{max-width:none}
.shash-container-boxed .shash-blog-wrap{max-width:1280px}
.shash-blog-hero{height:var(--shash-hero-height);min-height:160px;position:relative;display:flex;align-items:center;overflow:hidden}
.shash-blog-hero-copy{width:52%;position:relative;z-index:3;padding:54px 0 52px}
.shash-blog-eyebrow{color:#50647b;font-size:13px;line-height:1.4;margin:0 0 18px;font-weight:700}
.shash-blog-hero h1{color:var(--shash-navy);font-family:Georgia,"Times New Roman",serif;font-size:clamp(44px,4.3vw,66px);line-height:.96;letter-spacing:-2.7px;margin:0 0 20px;font-weight:700;max-width:560px}
.shash-blog-hero p{max-width:560px;color:#3f5066;font-size:15px;line-height:1.65;margin:0}
.shash-blog-hero-art{position:absolute;right:0;top:0;width:61%;height:100%;overflow:hidden;pointer-events:none}
.shash-hero-photo{position:absolute;right:0;top:5%;width:75%;height:92%;background-image:var(--shash-hero-image);background-size:var(--shash-hero-image-size);background-position:var(--shash-hero-image-position);background-repeat:no-repeat;opacity:var(--shash-hero-opacity);border-radius:0 0 0 var(--shash-hero-radius);clip-path:ellipse(75% 80% at 75% 50%)}
.shash-hero-orbit{position:absolute;width:640px;height:640px;border:1.5px solid var(--shash-accent);border-radius:50%;left:2%;top:-52%;z-index:2}
.shash-blog-toolbar{display:flex;align-items:center;gap:22px;padding:20px 0 22px;background:var(--shash-toolbar-bg)}
.shash-blog-cats{display:flex;gap:8px;flex:1;overflow-x:auto;scrollbar-width:none;padding:2px 0}
.shash-blog-cats::-webkit-scrollbar{display:none}
.shash-blog-cats a{white-space:nowrap;text-decoration:none!important;color:var(--shash-pill-text);background:var(--shash-pill-bg);border:1px solid var(--shash-pill-border);border-radius:999px;padding:11px 17px;font-size:12px;font-weight:700;transition:.2s ease}
.shash-blog-cats a:hover,.shash-blog-cats a.is-active{background:var(--shash-pill-active);border-color:var(--shash-pill-active);color:var(--shash-pill-active-text)}
.shash-blog-search{width:245px;height:44px;flex:0 0 245px;background:var(--shash-search-bg);border:1px solid var(--shash-search-border);border-radius:999px;display:flex;align-items:center;padding:0 7px 0 15px}
.shash-search-icon{font-size:21px;color:var(--shash-navy);margin-right:7px}
.shash-blog-search input{width:100%;border:0!important;outline:0!important;background:transparent!important;font-size:12px!important;color:var(--shash-search-text)!important;box-shadow:none!important;min-width:0}
.shash-blog-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:20px;align-items:start}
.shash-blog-main{min-width:0}
.shash-featured{display:grid;grid-template-columns:49% 51%;min-height:280px;background:var(--shash-featured-bg);border:1px solid var(--shash-card-border);border-radius:9px;overflow:hidden;margin-bottom:18px}
.shash-featured-image{min-height:280px;display:block;position:relative;overflow:hidden}
.shash-featured-image img{width:100%;height:100%;min-height:280px;display:block;object-fit:cover;object-position:center center;transition:transform .5s ease}
.shash-featured:hover img,.shash-card-image:hover img{transform:scale(1.035)}
.shash-featured-badge{position:absolute;left:16px;top:16px;background:var(--shash-badge-bg);color:var(--shash-badge-text);font-size:10px;font-weight:900;padding:8px 12px;border-radius:6px;letter-spacing:.04em}
.shash-featured-copy{padding:36px 34px;display:flex;flex-direction:column;justify-content:center}
.shash-meta{display:flex;align-items:center;gap:9px;color:var(--shash-featured-meta);font-size:11px;font-weight:700;margin-bottom:12px}
.shash-meta i{width:3px;height:3px;border-radius:50%;background:#8b9bad}
.shash-featured h2{font-family:Georgia,"Times New Roman",serif;color:var(--shash-featured-title);font-size:29px;line-height:1.06;letter-spacing:-.8px;margin:0 0 15px}
.shash-featured h2 a,.shash-post-card h3 a,.shash-popular-item{color:inherit;text-decoration:none!important}
.shash-featured-copy p{font-size:13px;line-height:1.65;color:var(--shash-featured-text);margin:0 0 18px}
.shash-read-full,.shash-read-more{color:var(--shash-button-text);text-decoration:none!important;font-size:12px;font-weight:900;display:inline-flex;align-items:center;gap:11px}
.shash-read-full span{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;background:var(--shash-button-bg);color:var(--shash-button-text);border-radius:50%;font-size:19px;transition:transform .2s ease}
.shash-read-more span{font-size:16px}
.shash-read-full:hover span,.shash-read-more:hover span{transform:translateX(4px)}
.shash-post-grid{--tablet-cols:2;--mobile-cols:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.shash-post-card{background:var(--shash-card-bg);border:1px solid var(--shash-card-border);border-radius:9px;overflow:hidden;min-width:0}
.shash-card-image{display:block;aspect-ratio:var(--shash-card-ratio)/1;overflow:hidden}
.shash-card-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.shash-card-body{padding:15px 15px 18px}
.shash-card-body h3{color:var(--shash-card-title);font-family:Georgia,"Times New Roman",serif;font-size:19px;line-height:1.13;letter-spacing:-.3px;margin:0 0 9px}
.shash-card-body p{color:var(--shash-card-text);font-size:12px;line-height:1.55;margin:0 0 13px}
.shash-post-card .shash-meta{color:var(--shash-card-meta)}
.shash-blog-sidebar{display:flex;flex-direction:column;gap:18px}
.shash-side-card{background:var(--shash-side-bg);border:1px solid var(--shash-side-border);border-radius:9px;padding:18px 17px}
.shash-side-card h2{color:var(--shash-side-title);font-family:Georgia,"Times New Roman",serif;font-size:21px;line-height:1.1;margin:0 0 18px}
.shash-popular-list{display:flex;flex-direction:column;gap:14px}
.shash-popular-item{display:grid;grid-template-columns:62px 1fr;gap:11px;align-items:center}
.shash-popular-item img{width:62px;height:62px;border-radius:8px;object-fit:cover}
.shash-popular-item strong{display:block;font-size:11px;line-height:1.35;color:var(--shash-side-title);margin-bottom:5px}
.shash-popular-item small{display:block;font-size:9px;color:var(--shash-side-text)}
.shash-category-list{display:flex;flex-direction:column}
.shash-category-list a{display:flex;justify-content:space-between;gap:12px;color:var(--shash-side-text);text-decoration:none!important;padding:8px 0;font-size:11px;border-bottom:1px solid #edf1f5}
.shash-category-list a:last-child{border-bottom:0}
.shash-category-list b{font-weight:700;color:#9aa5b2}
.shash-pagination{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:26px}
.shash-pagination a,.shash-pagination span{width:38px;height:38px;border:1px solid var(--shash-pagination-border);background:var(--shash-pagination-bg);color:var(--shash-pagination-text);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;font-size:12px;font-weight:800}
.shash-pagination .current{background:var(--shash-pagination-active);color:var(--shash-pagination-active-text);border-color:var(--shash-pagination-active)}
.shash-empty{padding:60px 20px;text-align:center;background:#fff;border:1px solid var(--shash-card-border);border-radius:9px}
@media(max-width:1050px){.shash-blog-layout{grid-template-columns:1fr}.shash-blog-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.shash-blog-hero-art{width:58%}}
@media(max-width:820px){.shash-blog-wrap{width:100%!important}.shash-blog-hero{min-height:360px}.shash-blog-hero-copy{width:75%}.shash-blog-hero-art{width:100%;opacity:.38}.shash-blog-toolbar{flex-direction:column;align-items:stretch}.shash-blog-search{width:100%;flex-basis:44px}.shash-featured{grid-template-columns:1fr}.shash-featured-image{min-height:260px}.shash-post-grid{grid-template-columns:repeat(var(--tablet-cols),minmax(0,1fr))}}
@media(max-width:560px){.shash-blog-wrap{padding-left:12px!important;padding-right:12px!important}.shash-blog-hero{min-height:315px}.shash-blog-hero-copy{width:100%}.shash-blog-hero h1{font-size:43px;letter-spacing:-1.8px}.shash-blog-hero p{font-size:13px}.shash-post-grid{grid-template-columns:repeat(var(--mobile-cols),minmax(0,1fr))}.shash-blog-sidebar{display:flex}.shash-featured h2{font-size:25px}.shash-featured-image{min-height:210px}}


/* v1.2.2 — robust Elementor tablet/mobile responsive fix
   Elementor can output inline grid-template-columns from widget controls.
   These mobile/tablet rules intentionally use !important so the responsive
   layout cannot be overridden by the desktop sidebar-width/card-column controls.
*/

/* TABLET */
@media (min-width: 561px) and (max-width: 1024px){
  .shash-blog-wrap{
    width:100% !important;
    max-width:100% !important;
    padding-left:24px !important;
    padding-right:24px !important;
  }

  .shash-blog-layout{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:28px !important;
    width:100% !important;
  }

  .shash-blog-main{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .shash-blog-sidebar{
    width:100% !important;
    max-width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    gap:18px !important;
  }

  .shash-side-card{
    width:100% !important;
    max-width:100% !important;
  }

  .shash-featured{
    width:100% !important;
    max-width:100% !important;
    grid-template-columns:minmax(0,49%) minmax(0,51%) !important;
  }

  .shash-post-grid{
    width:100% !important;
    grid-template-columns:repeat(var(--tablet-cols),minmax(0,1fr)) !important;
  }

  .shash-blog-toolbar{
    width:100% !important;
  }

  .shash-blog-search{
    flex:0 0 245px !important;
  }
}

/* MOBILE */
@media (max-width:560px){
  .shash-blog-archive{
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
  }

  .shash-blog-wrap{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding-left:12px !important;
    padding-right:12px !important;
  }

  .shash-blog-hero{
    width:100% !important;
    min-height:315px !important;
    height:auto !important;
  }

  .shash-blog-hero-copy{
    width:100% !important;
    max-width:100% !important;
    padding-top:34px !important;
    padding-bottom:30px !important;
  }

  .shash-blog-hero h1{
    width:100% !important;
    max-width:100% !important;
    font-size:43px !important;
    line-height:.98 !important;
    letter-spacing:-1.8px !important;
  }

  .shash-blog-hero p{
    width:100% !important;
    max-width:100% !important;
    font-size:13px !important;
    line-height:1.6 !important;
  }

  .shash-blog-hero-art{
    width:100% !important;
    max-width:100% !important;
    opacity:.30 !important;
  }

  .shash-blog-toolbar{
    width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:12px !important;
  }

  .shash-blog-cats{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    flex:0 0 auto !important;
    overflow-x:auto !important;
  }

  .shash-blog-search{
    width:100% !important;
    max-width:100% !important;
    flex:0 0 44px !important;
  }

  /* Critical: override Elementor's desktop sidebar-width inline style. */
  .shash-blog-layout{
    display:grid !important;
    grid-template-columns:1fr !important;
    width:100% !important;
    max-width:100% !important;
    gap:24px !important;
  }

  .shash-blog-main{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .shash-blog-sidebar{
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    gap:16px !important;
    margin:0 !important;
  }

  .shash-side-card{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .shash-featured{
    display:grid !important;
    grid-template-columns:1fr !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-bottom:16px !important;
  }

  .shash-featured-image{
    width:100% !important;
    min-height:220px !important;
    height:220px !important;
  }

  .shash-featured-copy{
    width:100% !important;
    padding:20px !important;
  }

  .shash-featured h2{
    font-size:25px !important;
    line-height:1.08 !important;
  }

  /* Critical: override Elementor's desktop card-column inline style. */
  .shash-post-grid{
    display:grid !important;
    grid-template-columns:repeat(var(--mobile-cols),minmax(0,1fr)) !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    gap:16px !important;
  }

  .shash-post-card{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .shash-card-image{
    width:100% !important;
    aspect-ratio:1.55/1 !important;
  }

  .shash-card-body{
    width:100% !important;
    padding:15px 15px 18px !important;
  }

  .shash-card-body h3{
    font-size:20px !important;
  }

  .shash-popular-item{
    grid-template-columns:62px minmax(0,1fr) !important;
    width:100% !important;
  }

  .shash-popular-item strong,
  .shash-popular-item small{
    min-width:0 !important;
    overflow-wrap:anywhere !important;
  }

  .shash-pagination{
    width:100% !important;
    flex-wrap:wrap !important;
  }
}
