/* Both the link media attribute and this query isolate visual changes to mobile. */
@media(max-width:760px){
  .atlas-search input{font-size:16px!important}
  .cta-arrow.cta-arrow{--cta-mark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M5 5h14v14' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");display:inline-block!important;width:20px!important;height:20px!important;flex:0 0 20px;font-size:0!important;line-height:0!important;background:currentColor;mask:var(--cta-mark) center/contain no-repeat;-webkit-mask:var(--cta-mark) center/contain no-repeat;vertical-align:middle}
  .cta-arrow.cta-arrow-right{--cta-mark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16m-7-7 7 7-7 7' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
  .team-arrow,.calendar-arrow{font-size:0!important}
  .team-arrow::after,.calendar-arrow::after{content:"";display:block;width:20px;height:20px;margin:auto;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16m-7-7 7 7-7 7' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16m-7-7 7 7-7 7' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
  .team-arrow[data-team-step="-1"]::after,.calendar-arrow[data-month="-1"]::after{transform:rotate(180deg)}
  .atlas-drag-hint span{font-size:0}
  .atlas-drag-hint span::after{content:"Træk for at dreje";font-size:12px}

  .team-section{padding-block:54px}
  .team-heading{margin-bottom:20px}
  .team-heading h2{font-size:35px;letter-spacing:-1.4px}
  .team-heading>p:last-child{font-size:14px;line-height:1.75}
  #team-carousel::before{content:"Swipe for at møde flere specialister";display:block;text-align:center;font-size:12px;line-height:1.5;color:#d7c49e;margin:0 0 20px}
  .team-stage{grid-template-columns:52px minmax(0,1fr) 52px;gap:12px;align-items:start;width:calc(100% + 88px);margin-inline:-44px}
  .team-feature{grid-template-columns:1fr;min-width:0;min-height:0;gap:0;padding:0;overflow:hidden;border-radius:8px 8px 22px 8px;border-color:#c8b68f;box-shadow:0 18px 40px #0004;transform:translateX(var(--team-drag,0px));transition:transform .18s ease-out}
  .team-portrait{height:clamp(250px,70vw,350px);min-height:0;border-radius:0}
  .team-portrait img{object-position:50% 20%}
  .team-copy{padding:23px 20px 22px}
  .team-copy .team-role{font-size:10px;line-height:1.6;margin-bottom:10px}
  .team-copy h3{font-size:28px;letter-spacing:-.8px;margin-bottom:13px}
  .team-copy .team-focus{font-size:14px;line-height:1.55;margin-bottom:12px}
  .team-copy .team-description{font-size:13px;line-height:1.75;margin-bottom:18px}
  .team-tags{gap:6px;margin-bottom:18px}
  .team-tags span{font-size:10px;padding:6px 8px;background:#f2ede3}
  .team-copy .text-link{align-self:stretch;justify-content:space-between;min-height:44px;padding-top:15px;margin-top:2px;border-top:1px solid #ded6c8;font-size:13px}
  .team-peek{display:block;align-self:start;height:clamp(225px,64vw,320px);margin-top:16px;transform:translateX(var(--team-drag,0px));border-radius:7px;opacity:.85;border-color:#d7c49e55;transition:transform .18s ease-out}
  .team-peek img{object-position:50% 20%;filter:saturate(.8) brightness(.78)}
  .team-peek>span{display:none}
  .team-stage.is-swiping .team-feature,.team-stage.is-swiping .team-peek{transition:none}
  .team-navigation{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:9px 10px;margin-top:23px}
  .team-arrow{width:44px;height:44px;background:#d7c49e08;border-color:#d7c49e70}
  .team-arrow[data-team-step="-1"]{grid-column:1;grid-row:1}
  .team-arrow[data-team-step="1"]{grid-column:3;grid-row:1}
  .team-dots{grid-column:2;grid-row:1;justify-content:center;gap:4px}
  .team-dots button{width:36px;height:46px;padding:2px;border:1px solid transparent;border-radius:5px;opacity:.58}
  .team-dots button[aria-pressed=true]{border-color:#d7c49e;opacity:1}
  .team-dots button span{display:none}
  .team-dots .team-mobile-avatar{display:block!important;width:30px;height:38px;object-fit:cover;object-position:50% 18%;border-radius:2px}
  .team-position{grid-column:2;grid-row:2;text-align:center;font-size:11px;letter-spacing:1px;color:#d7c49e}
  @media(max-width:360px){.team-navigation{column-gap:4px}.team-dots{gap:2px}.team-dots button{width:32px;padding:0}.team-dots .team-mobile-avatar{width:28px;height:36px}}
  @media(min-width:521px){.team-feature{grid-template-columns:minmax(0,.85fr) minmax(0,1fr)}.team-portrait{height:100%;min-height:390px}.team-peek{height:350px}.team-copy{padding:23px 20px}.team-heading h2{font-size:40px}}
  @media(prefers-reduced-motion:reduce){.team-feature,.team-peek{transition:none}}
}
