/* Archive-only presentation. Specific selectors and !important reset the theme's
   legacy fixed card heights and layout; do not remove them without regression tests. */
html body .exg-library-view :is(.exegeo-all-articles,.exegeo-series-query-replacement) :is(.exegeo-all-articles__list,.exegeo-series-card-list){
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:28px!important;width:100%!important;max-width:none!important;margin:0!important;
}
html body .exg-library-view :is(.exegeo-all-articles,.exegeo-series-query-replacement) :is(.exegeo-all-card,.exegeo-series-result-card){
  display:flex!important;flex-direction:column!important;box-sizing:border-box!important;
  width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  margin:0!important;padding:0!important;overflow:hidden!important;
  border:0!important;border-radius:6px!important;
  background:transparent!important;box-shadow:0 16px 28px -10px rgba(16,41,67,.32),0 4px 14px rgba(16,41,67,.1)!important;
  transition:transform .25s ease,box-shadow .25s ease!important;
}
html body .exg-library-view :is(.exegeo-all-articles,.exegeo-series-query-replacement) :is(.exegeo-all-card__media,.exegeo-series-result-card__media){
  display:block!important;position:relative!important;flex:none!important;width:100%!important;
  height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16/9!important;
  margin:0!important;padding:0!important;overflow:hidden!important;border-radius:0!important;
}
html body .exg-library-view :is(.exegeo-all-articles,.exegeo-series-query-replacement) :is(.exegeo-all-card__image,.exegeo-series-result-card__image){
  display:block!important;width:100%!important;height:100%!important;min-height:0!important;
  max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center!important;
  margin:0!important;border-radius:0!important;filter:none!important;transition:transform .45s ease!important;
}
html body .exg-library-view :is(.exegeo-all-articles,.exegeo-series-query-replacement) :is(.exegeo-all-card__body,.exegeo-series-result-card__body){
  display:flex!important;flex-direction:column!important;flex:1!important;gap:12px!important;
  box-sizing:border-box!important;height:auto!important;min-height:0!important;max-height:none!important;
  position:relative;width:100%!important;padding:40px 24px 24px!important;overflow:visible!important;background:rgba(255,255,255,.82)!important;
}
html body .exg-library-view :is(.exegeo-all-card__body,.exegeo-series-result-card__body) time{
  position:static!important;order:0;align-self:flex-start!important;margin:0!important;
  font-family:inherit!important;font-size:inherit!important;letter-spacing:0!important;color:inherit!important;font-weight:400!important;text-transform:none!important;
}
html body .exg-library-view .exg-library-meta{
  position:absolute;z-index:1;top:0;left:16px;transform:translateY(-50%);
  display:flex;align-items:center;gap:6px;width:max-content;max-width:calc(100% - 32px);box-sizing:border-box;padding:9px 12px;
  border:0;border-radius:3px;background:rgba(255,253,247,.9);box-shadow:0 4px 12px rgba(16,41,67,.12);
  backdrop-filter:blur(8px);color:#33485c;font-family:inherit;font-size:.85rem;font-weight:400;line-height:1.45;text-align:left;white-space:nowrap;
}
.exg-library-date-caption{font:inherit;letter-spacing:0;color:#986b22;}
html body .exg-library-view .exegeo-all-card__categories{display:none!important;}
html body .exg-library-view .exg-library-label{
  position:relative;order:-1;align-self:flex-start;max-width:100%;box-sizing:border-box;
  margin:0;padding:0;background:transparent;color:#986b22;
  font-size:.88rem;font-weight:600;line-height:1.4;text-decoration:none;
}
html body .exg-library-view :is(.exegeo-all-card__body,.exegeo-series-result-card__body) h3{
  order:1;margin:0!important;font-size:clamp(1.25rem,1.6vw,1.4rem)!important;line-height:1.3!important;
}
html body .exg-library-view :is(.exegeo-all-card__body,.exegeo-series-result-card__body) h3::after{
  content:"";display:block;width:38px;height:1px;margin-top:18px;background:#b18a49;
}
html body .exg-library-view :is(.exegeo-all-card__body,.exegeo-series-result-card__body) h3 a{
  color:#102e50!important;text-decoration:none!important;font-weight:650!important;
}
html body .exg-library-view :is(.exegeo-all-card__body,.exegeo-series-result-card__body)>p{
  display:block!important;order:2;margin:0 0 4px!important;font-size:1rem!important;line-height:1.65!important;
  color:#485c70!important;overflow:visible!important;max-height:none!important;-webkit-line-clamp:unset!important;
}
.exg-library-view .exg-library-footer{
  position:relative;isolation:isolate;overflow:hidden;display:flex;justify-content:center;align-items:center;padding:14px 20px;
  background:rgba(53,92,125,.94);
}
.exg-library-view .exg-library-watermark{
  position:absolute;z-index:-1;inset:-10px 8px;display:flex;align-items:center;justify-content:space-around;
  color:rgba(235,222,184,.075);font-family:Georgia,serif;font-size:64px;line-height:1;white-space:pre;word-spacing:34px;
  transform:rotate(-9deg);pointer-events:none;user-select:none;
}
html body .exg-library-view .exg-library-read{
  display:inline-flex;align-items:center;justify-content:center;gap:14px;box-sizing:border-box;
  min-height:44px;margin:0;padding:10px 24px;color:#fff;text-decoration:none;
  font-size:.96rem;font-weight:600;line-height:1.4;border:1px solid #fff;border-radius:3px;
  background:linear-gradient(#fff,#fff) left center/0% 100% no-repeat,linear-gradient(#fff,#fff) right center/0% 100% no-repeat;
  transition:background-size .42s cubic-bezier(.22,.7,.25,1),color .25s,border-color .25s;
}
html body .exg-library-view .exg-library-read:is(:hover,:focus-visible){color:#17375e;border-color:#fff;background-size:51% 100%,51% 100%;}
.exg-library-read span{color:#e8c472;transition:transform .3s ease;}
.exg-library-read:is(:hover,:focus-visible) span{transform:translateX(3px);}
.exg-library-view a:focus-visible{outline:2px solid #a66b12;outline-offset:4px;}
html body .exg-library-view .exegeo-all-articles__intro :is(h2,.exegeo-all-articles__eyebrow){display:none!important;}
html body .exg-library-view .exegeo-all-articles__intro{margin-bottom:28px!important;}
html body .exg-library-view .exegeo-all-articles .exegeo-all-search,
html body .exg-library-view .exegeo-series-filters{
  box-sizing:border-box!important;min-height:0!important;width:100%!important;max-width:none!important;
  margin:24px 0!important;padding:16px!important;border:1px solid rgba(173,135,56,.18)!important;
  border-radius:12px!important;background:rgba(255,253,248,.8)!important;gap:12px!important;
}
html body .exg-library-view .exegeo-all-search::before{content:none!important;}
html body .exg-library-view :is(.exegeo-all-search,.exegeo-series-filters) :is(input,select,button){border-radius:6px!important;}
@media(hover:hover) and (pointer:fine){
  html body .exg-library-view :is(.exegeo-all-articles,.exegeo-series-query-replacement) :is(.exegeo-all-card,.exegeo-series-result-card):hover{
    transform:translateY(-3px)!important;box-shadow:0 22px 34px -10px rgba(16,41,67,.36),0 6px 18px rgba(16,41,67,.12)!important;
  }
  .exg-library-view :is(.exegeo-all-card,.exegeo-series-result-card):hover img{transform:scale(1.025)!important;}
}
@media(min-width:1100px){
  html body .exg-library-view :is(.exegeo-all-articles,.exegeo-series-query-replacement) :is(.exegeo-all-articles__list,.exegeo-series-card-list){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:26px!important;}
}
@media(max-width:700px){
  html body .exg-library-view :is(.exegeo-all-articles,.exegeo-series-query-replacement) :is(.exegeo-all-articles__list,.exegeo-series-card-list){grid-template-columns:minmax(0,1fr)!important;gap:22px!important;}
  html body .exg-library-view :is(.exegeo-all-articles,.exegeo-series-query-replacement) :is(.exegeo-all-card__body,.exegeo-series-result-card__body){padding:40px 20px 20px!important;}
  html body .exg-library-view .exegeo-all-articles :is(.exegeo-all-articles__list,.exegeo-all-search){width:calc(100% + 40px)!important;max-width:none!important;margin-left:-20px!important;margin-right:-20px!important;}
}
@media(prefers-reduced-motion:reduce){
  .exg-library-view :is(.exegeo-all-card,.exegeo-series-result-card),
  .exg-library-view :is(.exegeo-all-card,.exegeo-series-result-card) *{transition:none!important;}
  html body .exg-library-view :is(.exegeo-all-card,.exegeo-series-result-card):hover,
  .exg-library-view :is(.exegeo-all-card,.exegeo-series-result-card):hover img{transform:none!important;}
}
