/* Shared display refinements for the portal and community. */
.lead-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
.lead-columns>div,.mini-column-title,.community-story{min-width:0}
.mini-column-title{gap:12px}
.mini-column-title>a{flex:none}
.story-results,.portal-post-results{grid-template-columns:repeat(2,minmax(0,1fr))}
.portal-post-results>.community-story:last-child:nth-child(odd){grid-column:1/-1;border-right:0}
.lead-copy p,.major p,.editor-note p,.right-guidance p,.story-row p,
.live-post .community-story-content p,.community-story-content p,
.expo-feature p,.enterprise-post-card p{font-size:13px;line-height:1.7}
.headline-list li a{font-size:13px}
.board-card p{font-size:12px;line-height:1.7}
.company-downloads>p,.company-contact>p,.company-claim-panel>p{font-size:13px}
.enterprise-post-grid>.empty-panel,.company-grid>.empty-panel{grid-column:1/-1}
.catalogue-empty{padding:38px 24px;background:#fff;border:1px solid #dce3eb;border-radius:0}
.catalogue-empty strong{display:block;color:#17395d;font-size:18px}
.catalogue-empty p{max-width:680px;margin:12px auto 0;font-size:14px;line-height:1.8}
.catalogue-empty-actions{display:flex;justify-content:center;gap:12px 24px;flex-wrap:wrap;margin-top:20px}
.catalogue-empty-actions a{color:#2b63a5;font-weight:650;line-height:1.8}
/* Each page supplies its own bottom spacing; avoid adding it twice. */
.community-page>main{padding-bottom:0}
.community-page .inner-page,.community-page .detail-layout,
.community-page .enterprise-page,.community-page .support-page,
.community-page .board-page,.community-page .portal-community-main,
.community-page .auth-shell{padding-bottom:48px}
.article-main,.expo-main,body:not(.community-page)>main.shell{padding-bottom:48px}
.footer-inner a{display:inline-block}
.account-links[data-session-nav] form{margin:0}
.account-links[data-session-nav] button{border:0;background:none;padding:0;color:var(--navy);font:inherit;cursor:pointer}
.account-links[data-session-nav] button:hover{color:var(--red)}
.compose-form,.compose-layout>*,.form-panel,.form-grid label,.compose-panel-heading>div{min-width:0}
.compose-form input[type=file]{display:block;width:100%;max-width:100%;font-size:13px}
/* One chevron and a clear tap target for every site dropdown. */
select:not([multiple]){
  -webkit-appearance:none;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='m3.5 6.5 5.5 5 5.5-5' stroke='%23365F88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position:right 12px center;
  background-repeat:no-repeat;
  background-size:16px 16px;
  padding-right:40px;
  min-height:40px;
  cursor:pointer;
}
.form-grid .geo-location{grid-column:1/-1;min-width:0}
.geo-location small{display:block;color:#708297;font-size:12px;font-weight:400;line-height:1.6;margin-top:1px}
@media(forced-colors:active){
  select:not([multiple]){-webkit-appearance:auto;appearance:auto;background-image:none}
}
@media(max-width:700px){
  .compose-layout,.detail-layout,.form-grid{grid-template-columns:minmax(0,1fr)}
  .lead-copy p,.major p,.editor-note p,.right-guidance p,.story-row p,
  .community-story-content p,.live-post .community-story-content p,
  .company-card p,.enterprise-post-card p,.expo-feature p{font-size:14px;line-height:1.75}
  .headline-list li a{font-size:14px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .board-card p{font-size:13px}
  .expo-copy h2{font-size:16px}
  .expo-summary{font-size:13px;line-height:1.7}
  .expo-meta,.expo-actions,.expo-feature-meta,.expo-feature-theme,.expo-feature-link{font-size:12px}
  .community-page .inner-page,.community-page .detail-layout,
  .community-page .enterprise-page,.community-page .support-page,
  .community-page .board-page,.community-page .portal-community-main,
  .community-page .auth-shell,.article-main,.expo-main,body:not(.community-page)>main.shell{padding-bottom:36px}
  .community-page .inner-page{padding-top:30px}
  .footer-inner>div:last-child{max-width:none;flex-basis:100%;text-align:left}
  .portal-facets label,.enterprise-form label,.form-grid label,.stacked-form label{font-size:14px}
  .portal-facets input,.portal-facets select,.facet-row select,.expo-filters select,
  .top-search input,.community-page .top-search input,
  .auth-card input:not([type=checkbox]):not([type=hidden]),
  .compose-form input:not([type=file]):not([type=checkbox]):not([type=hidden]),
  .compose-form select,.compose-form textarea,.enterprise-form input:not([type=file]):not([type=checkbox]):not([type=hidden]),
  .enterprise-form select,.enterprise-form textarea,.stacked-form input:not([type=hidden]):not([type=checkbox]),.stacked-form textarea{
    font-size:16px;min-height:44px
  }
  .masthead.shell>.top-search{height:44px}
  /* Keep the input inside the form border; its 44px minimum used to cover the bottom edge. */
  .masthead.shell>.top-search input{min-height:0;height:auto;align-self:stretch}
  .portal-facets button{min-height:44px}
  .catalogue-empty{padding:28px 20px}
  .catalogue-empty-actions{flex-direction:column;gap:12px}
}
.rich-body a[href^="http"]{
  color:#2865a7;
  text-decoration:underline;
  text-underline-offset:2px;
  overflow-wrap:anywhere;
}
.rich-body a[href^="http"]:hover,.rich-body a[href^="http"]:focus-visible{
  color:#b82338;
}
