/* Enqueued on the front page and editorial archives at phone widths. */
@media (max-width: 767px) {
  body #tpg-recent-updates,
  body .tpg-post-archive {
    --tpg-mobile-title: clamp(15px, 3.7vw, 17px);
    --tpg-mobile-leading: 1.46;
  }
  /* Keep the full bilingual title available to assistive technology and on the post. */
  :is(#tpg-recent-updates, .tpg-post-archive) .tpg-card-title-prefix {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(50%);
    border: 0;
  }
  body #tpg-recent-updates .elementor-post__title a,
  body .tpg-post-archive .tpg-archive-copy h2 a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    overflow-wrap: anywhere;
    text-wrap: wrap;
    font-size: var(--tpg-mobile-title);
    font-weight: 650;
    line-height: var(--tpg-mobile-leading);
  }

  body #tpg-recent-updates .tpg-updates-wrap { padding-top: 15px; }
  body #tpg-recent-updates .tpg-updates-header { margin-bottom: 9px; padding-bottom: 8px; }
  body #tpg-recent-updates .tpg-updates-header h2 { font-size: clamp(23px, 5.4vw, 29px); }
  body #tpg-recent-updates .tpg-updates-header p { margin-top: 2px; line-height: 1.36; }
  body #tpg-recent-updates .elementor-post__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-rows: auto auto 1fr auto;
    row-gap: 0;
    align-items: start;
  }
  body #tpg-recent-updates .elementor-post__thumbnail__link { grid-area: 1 / 1 / 2 / -1; }
  body #tpg-recent-updates .elementor-post__badge {
    grid-area: 2 / 1 / 3 / -1;
    justify-self: start;
    margin: 6px 9px 0 !important;
    padding: 1px 6px;
    font-size: 11.5px;
    line-height: 1.4;
  }
  body #tpg-recent-updates .elementor-post__text { display: contents; }
  body #tpg-recent-updates .elementor-post__title {
    grid-area: 3 / 1 / 4 / -1;
    margin: 3px 9px 5px;
    min-width: 0;
  }
  body #tpg-recent-updates .elementor-post__meta-data,
  body #tpg-recent-updates .elementor-post__read-more {
    align-self: stretch;
    display: flex;
    align-items: center;
    border: 0;
    border-top: 1px solid #dbe4d9;
    background: #f6f8f1;
  }
  body #tpg-recent-updates .elementor-post__meta-data {
    grid-area: 4 / 1 / 5 / 2;
    margin: 0;
    padding: 3px 0 3px 9px;
    min-width: 0;
    font-size: 11.5px;
    line-height: 1.32;
  }
  body #tpg-recent-updates .elementor-post__read-more {
    grid-area: 4 / 2 / 5 / 3;
    justify-content: center;
    justify-self: stretch;
    min-height: 44px;
    margin: 0 !important;
    padding: 0;
    color: #16513b;
    font-size: 0;
  }
  body #tpg-recent-updates .elementor-post__read-more::after {
    content: "→";
    font: 600 19px/1 system-ui, sans-serif;
  }

  body .tpg-post-archive .tpg-archive-copy { padding: 7px 9px 0; gap: 3px; }
  body .tpg-post-archive .tpg-archive-copy > .tpg-archive-topics { align-items: center; }
  body .tpg-post-archive .tpg-archive-copy > .tpg-archive-topics a:first-child {
    min-height: 24px;
    padding: 1px 0;
    font-size: 12px;
    line-height: 1.3;
  }
  body .tpg-post-archive .tpg-archive-copy > .tpg-archive-topics a ~ a,
  body .tpg-post-archive .tpg-archive-copy > .tpg-archive-summary,
  body .tpg-post-archive .tpg-archive-copy > .tpg-archive-meta,
  body .tpg-post-archive .tpg-archive-copy > .tpg-archive-read { display: none; }
  body .tpg-post-archive .tpg-archive-copy h2 { font-size: var(--tpg-mobile-title); line-height: var(--tpg-mobile-leading); }
  body .tpg-post-archive .tpg-archive-more {
    display: block;
    align-self: stretch;
    min-width: 0;
    margin: auto -9px 0;
    color: #41584b;
    font: 500 12px/1.4 "Hind Siliguri", system-ui, sans-serif;
  }
  body .tpg-post-archive .tpg-archive-more summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    padding: 4px 9px;
    margin-top: 4px;
    border-top: 1px solid #dbe4d9;
    background: #f6f8f1;
    list-style: none;
    cursor: pointer;
  }
  .tpg-post-archive .tpg-archive-more summary::-webkit-details-marker { display: none; }
  .tpg-post-archive .tpg-archive-more-label { display: inline-flex; align-items: center; gap: 5px; color: #1b5a40; font-weight: 650; }
  .tpg-post-archive .tpg-archive-more-label::after {
    content: "";
    width: 6px;
    height: 6px;
    margin: -3px 1px 0 0;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
  }
  .tpg-post-archive .tpg-archive-more[open] .tpg-archive-more-label::after { transform: rotate(225deg); margin-top: 3px; }
  .tpg-post-archive .tpg-archive-more summary:focus-visible { outline: 2px solid #246b4e; outline-offset: -3px; }
  .tpg-post-archive .tpg-archive-more-body { display: grid; min-width: 0; padding: 3px 9px 9px; gap: 5px; }
  .tpg-post-archive .tpg-archive-more-body a { overflow-wrap: anywhere; }
  body .tpg-post-archive .tpg-archive-more-body .tpg-archive-topics { gap: 2px 8px; }
  body .tpg-post-archive .tpg-archive-more-body .tpg-archive-topics a { min-height: 28px; font-size: 13px; }
  body .tpg-post-archive .tpg-archive-more-body .tpg-archive-meta { padding: 0; margin: 0; font-size: 12px; }
  body .tpg-post-archive .tpg-archive-more-body .tpg-archive-author { min-height: 24px; display: inline-flex; align-items: center; }
  body .tpg-post-archive .tpg-archive-more-body .tpg-archive-summary { font-size: 14px; line-height: 1.48; }

  body .tpg-post-archive .tpg-archive-lead:not(.tpg-archive-text-only) {
    display: grid;
    grid-template-columns: minmax(0, 37%) minmax(0, 1fr);
    align-items: center;
    padding: 8px;
    gap: 10px;
  }
  body .tpg-post-archive .tpg-archive-lead .tpg-archive-image {
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
  }
  body .tpg-post-archive .tpg-archive-lead .tpg-archive-copy { align-self: stretch; justify-content: center; padding: 0; gap: 2px; }
  body .tpg-post-archive .tpg-archive-lead h2 a { font-size: clamp(16px, 3.9vw, 19px); }
  body .tpg-post-archive .tpg-archive-lead .tpg-archive-more { margin: 0; color: #e0eae2; }
  body .tpg-post-archive .tpg-archive-lead .tpg-archive-more summary { padding-inline: 0; background: transparent; border-color: #537365; }
  .tpg-post-archive .tpg-archive-lead .tpg-archive-more-label { color: #ffdc8c; }
  .tpg-post-archive .tpg-archive-lead .tpg-archive-more summary:focus-visible { outline-color: #ffe4a1; }
  .tpg-post-archive .tpg-archive-lead .tpg-archive-more-body { padding-inline: 0; }
  body .tpg-post-archive .tpg-archive-lead.tpg-archive-text-only { padding: 9px 12px; }
}
