/* 1996 Coffee Co. sitewide phone layout (pages other than the homepage, which carries its own rules).
   Pages are built with inline styles, so these rules match on the inline style text. */
@media (max-width:760px){
  header > div[style*="height:113px"][style*="padding:8"]{height:auto !important;padding:4px 16px !important;gap:10px !important;}
  header img{height:76px !important;width:auto !important;margin:-11px 0 -11px -7px !important;}
  header nav{gap:8px !important;}
  header nav > div:first-child{display:none !important;}
  header nav > a{padding:12px 16px !important;font-size:11px !important;white-space:nowrap;}
  [data-mnav]{display:block !important;}
  [style*="position:sticky;bottom:0"] > div{flex-wrap:nowrap !important;padding:8px 16px !important;gap:12px !important;}
  [style*="position:sticky;bottom:0"] span{font-size:15px !important;line-height:1.2;}
  [style*="position:sticky;bottom:0"] a{padding:9px 16px !important;font-size:11px !important;white-space:nowrap;}
  main > section:first-child[style*="padding:"],main > article:first-child > section:first-child[style*="padding:"]{padding-top:28px !important;}
  section[style*="grid-template-columns:1fr 1fr"] > img[style*="height:520px"]{order:2;}
  [data-msub][open] [data-chev]{transform:rotate(180deg);}
  [style*="max-width:1200px"],[style*="max-width:1100px"],[style*="max-width:1000px"],[style*="max-width:980px"],[style*="max-width:960px"],[style*="max-width:900px"],[style*="max-width:860px"],[style*="max-width:820px"],[style*="max-width:760px"]{padding-left:20px !important;padding-right:20px !important;}
  section[style*="padding:7"],section[style*="padding:8"],div[style*="max-width:1200px"][style*="padding:7"],div[style*="max-width:1200px"][style*="padding:8"]{padding-top:48px !important;padding-bottom:48px !important;}
  [style*="grid-template-columns:1fr 1fr"],[style*="grid-template-columns:minmax(0"],[style*="grid-template-columns:1.2fr"],[style*="grid-template-columns:repeat(2,"],[style*="grid-template-columns:repeat(3,"]{grid-template-columns:minmax(0,1fr) !important;}
  [style*="grid-template-columns:repeat(4,"]{grid-template-columns:1fr 1fr !important;}
  [style*="grid-template-columns:repeat(3,1fr);grid-auto-rows"]{grid-template-columns:1fr 1fr !important;grid-auto-rows:150px !important;grid-auto-flow:dense;}
  [style*="gap:56px"],[style*="gap:64px"],[style*="gap:48px"],[style*="gap:44px"],[style*="gap:40px"]{gap:28px !important;}
  [style*="position:sticky;top:140px"]{position:static !important;}
  [style*="display:flex"]{flex-wrap:wrap;}
  header [style*="display:flex"],[style*="white-space:nowrap"]{flex-wrap:nowrap;}
  [style*="flex:0 0"]{max-width:100%;}
  h1{font-size:36px !important;line-height:1.08 !important;}
  h2[style*="font-size:3"],h2[style*="font-size:4"],h2[style*="font-size:5"]{font-size:29px !important;line-height:1.15 !important;}
  summary[style*="display:flex"]{flex-wrap:nowrap !important;}
  img{max-width:100%;}
  [style*="height:520px"],[style*="height:540px"],[style*="height:480px"]{height:340px !important;}
}
