/* The archive's editorial template is independent of the search and product grids. */
body.tpg-editorial-archive .elementor-2924.elementor-location-archive {width:100%; max-width:none;}
body.tpg-editorial-archive .elementor-2924 .elementor-element.elementor-element-64ae731 {
  padding:0; margin:0; min-height:0; width:100%; max-width:none; gap:0; border:0;
  background:#f7f7f0!important; box-shadow:none;
}
body.tpg-editorial-archive .elementor-2924 .elementor-element-64ae731 > .e-con-inner,
body.tpg-editorial-archive .elementor-2924 .elementor-element-7ab92e4 {
  display:block; width:100%; max-width:none; min-width:0; padding:0; margin:0; gap:0;
}
body.tpg-editorial-archive .elementor-2924 .elementor-element-64ae731::before {display:none;}
body.tpg-editorial-archive .elementor-2924 .elementor-element-8482798 {display:none!important;}

.tpg-post-archive {
  --tpg-ink:#132f26; --tpg-forest:#0c3a2d; --tpg-green:#135e43; --tpg-muted:#485e53;
  --tpg-rule:#cfdbcf; --tpg-gold:#e9be64; --tpg-paper:#fffef9;
  box-sizing:border-box; width:100%; margin:0 auto;
  padding:clamp(24px,3.3vw,50px) clamp(12px,1.5vw,32px) clamp(36px,5vw,70px);
  color:var(--tpg-ink); font-family:"Hind Siliguri",system-ui,sans-serif; text-align:start;
}
.tpg-post-archive *, .tpg-post-archive *::before, .tpg-post-archive *::after {box-sizing:border-box;}
.tpg-post-archive a {text-decoration:none;}
.tpg-post-archive .tpg-archive-head {
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px 24px;
  margin:0 0 clamp(18px,2vw,28px); padding:0 0 clamp(13px,1.6vw,21px); border-bottom:1px solid #b9c8bb;
}
.tpg-post-archive .tpg-archive-head h1 {
  margin:0; color:var(--tpg-forest); font-family:Georgia,"Hind Siliguri",serif; font-weight:700;
  font-size:clamp(34px,4vw,60px); line-height:1.13; letter-spacing:normal; overflow-wrap:break-word;
}
.tpg-post-archive .tpg-archive-navs {display:flex; flex-direction:column; align-items:flex-end; gap:6px; max-width:100%;}
.tpg-post-archive :is(.tpg-archive-filters,.tpg-archive-semesters) {display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin:0; padding:0;}
.tpg-post-archive .tpg-archive-filters a {
  display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:6px 17px;
  border:1px solid #b7c9ba; border-radius:30px; background:var(--tpg-paper); color:#164432;
  font-size:16px; font-weight:600; line-height:1.35; white-space:nowrap;
}
.tpg-post-archive .tpg-archive-filters a:is(:hover,.tpg-archive-branch) {color:#0a3827; border-color:#527e64; background:#e6eee2;}
.tpg-post-archive .tpg-archive-filters a[aria-current="page"] {color:white; border-color:var(--tpg-forest); background:var(--tpg-forest);}
.tpg-post-archive .tpg-archive-semesters {gap:5px 16px;}
.tpg-post-archive .tpg-archive-semesters a {display:inline-flex; align-items:center; min-height:38px; font-size:15px; color:var(--tpg-green); text-decoration:underline; text-underline-offset:4px;}
.tpg-post-archive .tpg-archive-semesters a[aria-current="page"] {color:var(--tpg-ink); font-weight:700; text-decoration-thickness:2px;}
.tpg-post-archive .tpg-archive-grid {display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(12px,1.25vw,22px); align-items:stretch;}
.tpg-post-archive .tpg-archive-card {
  min-width:0; margin:0; display:flex; flex-direction:column; overflow:hidden;
  background:var(--tpg-paper); color:var(--tpg-ink); border:1px solid var(--tpg-rule); border-radius:15px;
  box-shadow:0 3px 12px rgba(24,51,34,.045);
}
.tpg-post-archive .tpg-archive-image {
  display:grid; place-items:center; flex:none; width:100%; min-width:0; line-height:0; overflow:hidden;
  aspect-ratio:16/9; background:#e4eae2; border:0; border-bottom:1px solid var(--tpg-rule);
}
.tpg-post-archive .tpg-archive-image img {display:block; width:100%; height:100%; min-height:0; max-width:100%; object-fit:contain; border:0; border-radius:0; box-shadow:none;}
.tpg-post-archive .tpg-archive-copy {min-width:0; flex:1; display:flex; flex-direction:column; align-items:flex-start; padding:clamp(14px,1.3vw,23px); gap:10px;}
.tpg-post-archive .tpg-archive-topics {display:flex; flex-wrap:wrap; align-items:center; gap:3px 8px; margin:0;}
.tpg-post-archive .tpg-archive-topics a {
  display:inline-flex; align-items:center; gap:7px; min-height:25px; color:#36644d; font:600 14px/1.35 "Hind Siliguri",system-ui,sans-serif;
}
.tpg-post-archive .tpg-archive-topics a + a::before {content:""; width:4px; height:4px; background:#ac823b; border-radius:50%;}
.tpg-post-archive .tpg-archive-copy h2 {width:100%; margin:0; color:var(--tpg-ink); font-family:"Hind Siliguri",system-ui,sans-serif; font-size:clamp(20px,1.55vw,26px); font-weight:700; line-height:1.4; letter-spacing:normal; overflow-wrap:anywhere; text-wrap:pretty;}
.tpg-post-archive .tpg-archive-copy h2 a {color:inherit;}
.tpg-post-archive .tpg-archive-summary {margin:0; color:#e7eee4; font:400 17px/1.6 "Hind Siliguri",system-ui,sans-serif;}
.tpg-post-archive .tpg-archive-meta {display:flex; flex-wrap:wrap; align-items:center; gap:2px 9px; margin-top:auto; padding-top:6px; color:var(--tpg-muted); font:400 14px/1.55 "Hind Siliguri",system-ui,sans-serif;}
.tpg-post-archive .tpg-archive-meta a {color:inherit;}
.tpg-post-archive .tpg-archive-meta > :not(:first-child)::before {content:"·"; margin-right:8px; color:inherit;}
.tpg-post-archive .tpg-archive-author {font-weight:600;}
.tpg-post-archive .tpg-archive-read {
  display:inline-flex; align-items:center; gap:12px; min-height:44px; margin:0; padding:4px 0;
  color:var(--tpg-green); font:600 16px/1.4 "Hind Siliguri",system-ui,sans-serif;
}
.tpg-post-archive .tpg-archive-read span {font:500 21px/1 system-ui,sans-serif;}
.tpg-post-archive .tpg-archive-copy :is(h2 a,.tpg-archive-topics a,.tpg-archive-meta a,.tpg-archive-read):hover {text-decoration:underline; text-underline-offset:4px;}
.tpg-post-archive .tpg-archive-lead {
  grid-column:1/-1; display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
  background:var(--tpg-forest); border-color:var(--tpg-forest); border-radius:18px; box-shadow:none;
}
.tpg-post-archive .tpg-archive-lead .tpg-archive-image {height:100%; min-height:0; background:#122f27; border:0;}
.tpg-post-archive .tpg-archive-lead .tpg-archive-copy {
  align-self:center; padding:clamp(22px,2.5vw,36px); gap:11px; color:white;
}
.tpg-post-archive .tpg-archive-lead h2 {font-size:clamp(27px,2.4vw,39px); color:#fff; line-height:1.26;}
.tpg-post-archive .tpg-archive-lead .tpg-archive-topics a {color:#ffdc8c;}
.tpg-post-archive .tpg-archive-lead .tpg-archive-topics a + a::before {background:#e9be64;}
.tpg-post-archive .tpg-archive-lead .tpg-archive-meta {color:#dfebe0; margin-top:0; padding-top:1px;}
.tpg-post-archive .tpg-archive-lead .tpg-archive-read {background:#f1ce78; color:#142f23; border-radius:7px; padding:8px 16px; margin-top:1px;}
.tpg-post-archive .tpg-archive-lead .tpg-archive-read:hover {background:#ffe2a0;}
.tpg-post-archive .tpg-archive-lead.tpg-archive-text-only {display:block;}
.tpg-post-archive .tpg-archive-lead.tpg-archive-text-only .tpg-archive-copy {max-width:850px;}
.tpg-post-archive .tpg-archive-pages {display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:7px; margin:clamp(25px,3.4vw,46px) 0 0; padding:18px 0 0; border-top:1px solid var(--tpg-rule);}
.tpg-post-archive .tpg-archive-pages :is(a,span.page-numbers) {display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:6px 13px; border:1px solid #bacbbd; border-radius:7px; background:var(--tpg-paper); color:var(--tpg-forest); font-size:16px; line-height:1.4; font-weight:600;}
.tpg-post-archive .tpg-archive-pages .current {color:#fff!important; border-color:var(--tpg-forest)!important; background:var(--tpg-forest)!important;}
.tpg-post-archive .tpg-archive-pages a:hover {border-color:var(--tpg-green); background:#e4eee4;}
.tpg-post-archive .tpg-archive-empty {padding:24px 0; color:var(--tpg-muted); font-size:18px;}
.tpg-post-archive a:focus-visible {outline:3px solid #19754f; outline-offset:3px;}
.tpg-post-archive .tpg-archive-lead a:focus-visible {outline-color:#ffe4a1;}
.tpg-post-archive .tpg-archive-image:focus-visible {outline-offset:-4px;}
.tpg-post-archive .tpg-archive-more {display:none;}

@media (max-width:1024px) {
  .tpg-post-archive .tpg-archive-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
  .tpg-post-archive .tpg-archive-lead {grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  .tpg-post-archive .tpg-archive-lead .tpg-archive-copy {padding:20px; gap:8px;}
  .tpg-post-archive .tpg-archive-lead h2 {font-size:clamp(25px,3vw,30px);}
}
@media (max-width:767px) {
  .tpg-post-archive {padding:22px clamp(8px,2.3vw,14px) 32px;}
  .tpg-post-archive .tpg-archive-grid {grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(8px,2.2vw,14px);}
  .tpg-post-archive .tpg-archive-card {border-radius:12px;}
  .tpg-post-archive .tpg-archive-copy {padding:clamp(9px,2.3vw,15px); gap:7px;}
  .tpg-post-archive .tpg-archive-copy h2 {font-size:clamp(16px,4.1vw,21px); line-height:1.45;}
  .tpg-post-archive .tpg-archive-card:not(.tpg-archive-lead) .tpg-archive-read {
    align-self:stretch; justify-content:space-between; gap:5px; font-size:15px; overflow-wrap:anywhere;
  }
  .tpg-post-archive .tpg-archive-card:not(.tpg-archive-lead) .tpg-archive-read span {flex:none; font-size:17px;}
  .tpg-post-archive .tpg-archive-head {align-items:flex-start; flex-direction:column; gap:10px; padding-bottom:14px;}
  .tpg-post-archive .tpg-archive-navs {align-items:flex-start;}
  .tpg-post-archive .tpg-archive-filters a {min-height:44px; padding:6px 14px;}
  .tpg-post-archive .tpg-archive-lead {display:flex;}
  .tpg-post-archive .tpg-archive-lead .tpg-archive-image {height:auto;}
  .tpg-post-archive .tpg-archive-lead .tpg-archive-copy {align-self:stretch; padding:18px; gap:8px;}
  .tpg-post-archive .tpg-archive-lead h2 {font-size:clamp(24px,5.8vw,30px); line-height:1.34;}
}
@media (max-width:480px) {
  .tpg-post-archive .tpg-archive-card:not(.tpg-archive-lead) .tpg-archive-topics {gap:1px 5px;}
  .tpg-post-archive .tpg-archive-card:not(.tpg-archive-lead) .tpg-archive-topics a {gap:5px; font-size:13px;}
  .tpg-post-archive .tpg-archive-card:not(.tpg-archive-lead) .tpg-archive-meta {gap:1px 7px; font-size:13px;}
  .tpg-post-archive .tpg-archive-card:not(.tpg-archive-lead) .tpg-archive-author {flex-basis:100%;}
  .tpg-post-archive .tpg-archive-card:not(.tpg-archive-lead) .tpg-archive-meta > :not(:first-child)::before {content:none;}
}
