/* Guide and case-library entry pages, plus their localized country comparison. */
.c.c-tpl-ivf .ivf-card{overflow-wrap:anywhere;hyphens:auto}
/* The reading shell is 680px wide even on a desktop screen. */
@media (min-width:761px){
  .c.c-tpl-ivf :is(.ivf-grid,.ivf-grid.ivf-four){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .c.c-tpl-guide .legal-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
  .c.c-tpl-guide .legal-evidence-table{min-width:640px;table-layout:fixed}
  .c.c-tpl-guide .legal-evidence-table :is(th,td){overflow-wrap:normal;word-break:normal;hyphens:auto}
  .c:is(.c-tpl-pillar,.c-tpl-ivf,.c-tpl-caselist,.c-tpl-guide) :is(h1,h2,h3,h4,summary){overflow-wrap:anywhere;hyphens:auto}
  .c.c-tpl-pillar .contact-bg>.container{padding-inline:0}
  .c.c-tpl-pillar .contact-grid{grid-template-columns:minmax(0,1fr);gap:32px}
  .c.c-tpl-pillar :is(.contact-grid>div,.yt-cta>div){min-width:0}
  .c.c-tpl-pillar :is(.contact-grid,.hero-btns){overflow-wrap:anywhere}
  .c.c-tpl-pillar :is(.btn-copper,.btn-outline){min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center}
  .c.c-tpl-pillar .sec-tag{max-width:100%;letter-spacing:.08em;line-height:1.8}
  .c.c-tpl-pillar .sec-tag::before,.c.c-tpl-pillar .sec-tag::after{flex:0 0 18px}
  .c.c-tpl-pillar .cf-row{align-items:flex-start;line-height:1.8}
  .c.c-tpl-pillar .cf-dot{flex-shrink:0}
  .c.c-tpl-pillar .qr-c-item{min-width:0;max-width:100%}
  .c.c-tpl-ivf .ivf-contact{padding:24px 20px}
  .c.c-tpl-ivf .ivf-btn{min-width:0;max-width:100%;overflow-wrap:anywhere;text-align:center}
  .c:is(.c-tpl-pillar,.c-tpl-ivf) :is(#contact,#consult){scroll-margin-top:calc(var(--c-hdr) + 64px)}
}
@media (max-width:720px){
  /* The narrow reading column extends beneath the floating up-arrow. */
  .c:is(.c-tpl-pillar,.c-tpl-ivf,.c-tpl-caselist,.c-tpl-guide) .c-totop{display:none}
  .c:is(.c-tpl-pillar,.c-tpl-ivf,.c-tpl-caselist,.c-tpl-guide) .c-mbar{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);height:auto;min-height:54px;bottom:calc(12px + env(safe-area-inset-bottom))}
  .c:is(.c-tpl-pillar,.c-tpl-ivf,.c-tpl-caselist,.c-tpl-guide) .c-mbar a{min-width:0;min-height:54px;padding:10px 12px;line-height:1.35;letter-spacing:.04em;text-align:center;overflow-wrap:anywhere}
  .c:is(.c-tpl-pillar,.c-tpl-ivf,.c-tpl-caselist,.c-tpl-guide) .c-mbar.is-hidden{transform:translateY(calc(100% + 16px + env(safe-area-inset-bottom)))}
  .c.c-guide-clear-dock .c-mbar{visibility:hidden;pointer-events:none;transform:translateY(calc(100% + 16px + env(safe-area-inset-bottom)))}
  .c:is(.c-tpl-pillar,.c-tpl-ivf,.c-tpl-caselist,.c-tpl-guide) .c-ftr{padding-bottom:calc(120px + env(safe-area-inset-bottom))}
}
@media (max-width:720px),(max-height:600px){
  .c:is(.c-tpl-pillar,.c-tpl-ivf,.c-tpl-caselist,.c-tpl-guide) .fs-consult-panel{padding:0}
  .c:is(.c-tpl-pillar,.c-tpl-ivf,.c-tpl-caselist,.c-tpl-guide) .fs-consult-close{position:sticky;top:0;right:auto;display:flex;align-items:center;justify-content:flex-end;width:100%;height:56px;min-height:56px;margin:0;padding:0 16px;border-radius:0;border-bottom:1px solid #eef0f3;font:400 26px/1 var(--c-sans);color:#13284a;background:#fff;z-index:2}
  .c:is(.c-tpl-pillar,.c-tpl-ivf,.c-tpl-caselist,.c-tpl-guide) .fs-consult-close:focus-visible{outline:2px solid var(--c-gold-ink);outline-offset:-4px}
  .c:is(.c-tpl-pillar,.c-tpl-ivf,.c-tpl-caselist,.c-tpl-guide) .fs-consult-close:active{transform:none}
}
