		#ncm-cfp-modal-overlay{
			position:fixed; inset:0;
			background:rgba(10,12,16,.62);
			backdrop-filter:none!important;
			display:none;
			z-index:98;
		}

		#ncm-cfp-modal{
			position:fixed;
			left:50%; top:50%;
			transform:translate(-50%,-50%);
			width:min(700px, calc(100% - 28px));
			max-height:min(78vh, 720px);
			background:#fff;
			border-radius:18px;
			box-shadow:0 22px 70px rgba(0,0,0,.35);
			display:none;
			z-index:99;
			overflow:hidden;
			flex-direction:column;
		}

		.ncm-cfp-topbar{
			display:flex; align-items:flex-start; justify-content:space-between;
			gap:14px;
			padding:18px 22px 10px;
		}
		#ncm-cfp-title{ margin:0; font-size:26px; line-height:1.15; letter-spacing:.2px; }
		.ncm-cfp-subtitle{ margin:8px 0 0; font-size:14px; opacity:.7; }
		#ncm-cfp-close{
			border:0; background:transparent;
			font-size:26px; line-height:1;
			cursor:pointer; padding:6px 8px;
			opacity:.65;
		}
		#ncm-cfp-close:hover{ opacity:1; }

		/* --- BODY --- */
		.ncm-cfp-body{
			padding:0 22px 18px;
			flex:1 1 auto;
			overflow-y:auto;
			-webkit-overflow-scrolling:touch;
		}

		/* Artwork header row */
		.ncm-cfp-artrow{
			display:flex;
			grid-template-columns: 160px 1fr;
			gap:16px;
			justify-content:center;
			align-items:start;
			padding:10px 0 14px;
		}
		@media (max-width: 680px){
			.ncm-cfp-artrow{ grid-template-columns: 110px 1fr; }
		}

		.ncm-cfp-imgwrap{
			display:block;
			border-radius:14px;
			max-width:85%;
			
			object-fit:cover;
			overflow:hidden;
			background:#fff;
			border:1px solid rgba(0,0,0,.08);
			box-shadow:0 10px 24px rgba(0,0,0,.08);
		}
		#ncm-cfp-img{ width:100%; height:150px; display:block; }

		.ncm-cfp-art-title{
			margin:0 0 6px;
			font-size:20px;
			line-height:1.2;
		}
		.ncm-cfp-art-meta{
			display:none;
			visibility:hidden;
			margin:0 0 10px;
			font-size:14px;
			opacity:.75;
		}

		/* Meta grid stays top, always visible */
		.ncm-cfp-kv{
			display:grid;
			grid-template-columns: 140px 1fr 140px 1fr;
			gap:8px 12px;
			padding:12px 14px;
			border-radius:14px;
			background:#fff;
			border:1px solid rgba(0,0,0,.08);
		}
		.ncm-cfp-kv.hidden-attr {
			display:none;
			visibility:hidden;
		}
		@media (max-width: 760px){
			.ncm-cfp-kv{ grid-template-columns: 120px 1fr; }
		}
		.ncm-cfp-kv .k{ opacity:.65; font-size:13px; }
		
		.ncm-cfp-kv :is(.k,.v).hidden-attr,
		:is(.ncm-cfp-kv,.ncm-cfp-secondary).hidden-attr {
			display:none;
			visibility:hidden;
		}
		.ncm-cfp-kv .v{ font-weight:650; font-size:13px; }

		.ncm-cfp-divider{
			height:1px;
			background:rgba(0,0,0,.08);
			margin:8px -22px 14px; /* edge-to-edge */
		}

		/* --- Bottom call bar (thin, wide) --- */
		.ncm-cfp-callbar{
			display:flex;
			align-items:center;
			justify-content:space-between;
			gap:14px;
			padding:14px 14px;
			border-radius:16px;
			border:1px solid rgba(0,0,0,.08);
			background:#C7423520;
		}
		@media (max-width: 760px){
			.ncm-cfp-callbar{ flex-direction:column; align-items:stretch; }
		}

		.ncm-cfp-callleft{
			display:flex;
			flex-direction:column;
			gap:6px;
			min-width:260px;
		}
		.ncm-cfp-callhead{
			font-size:12px;
			letter-spacing:.12em;
			text-transform:uppercase;
			opacity:.6;
		}
		.ncm-cfp-phone{
			font-size:30px;
			font-weight:850;
			letter-spacing:.6px;
			text-decoration:none;
			line-height:1.05;
			color:#C74235;
		}

		.ncm-cfp-actions{
			display:flex;
			gap:10px;
			align-items:center;
			flex-wrap:wrap;
			justify-content:flex-end;
		}
		.button.call-for-price-button.cfp-btn.ncm-cfp-open {
		    margin-top:12px;
		}
		.button.call-for-price-button.cfp-btn.ncm-cfp-open,
		.ncm-cfp-actions a.button {
		    background:#C74235;
		    border-radius:8px;
		}
		.button.call-for-price-button.cfp-btn.ncm-cfp-open:hover,
		.ncm-cfp-actions a.button:hover {
		    background:#C74235CD;
		}
		@media (max-width: 760px){
			.ncm-cfp-actions{ justify-content:flex-start; }
		}

		.ncm-cfp-actions .button{
			padding:12px 16px;
			border-radius:12px;
		}
		.ncm-cfp-secondary{
			display:inline-flex;
			justify-content:center;
			align-items:center;
			padding:10px 14px;
			border-radius:12px;
			border:1px solid rgba(0,0,0,.12);
			background:#fff;
			color:#C74235;
			text-decoration:none;
			font-size:14px;
			opacity:.95;
		}
		.ncm-cfp-actions .button:hover {
			background:#C74235CD;
		}
		.ncm-cfp-secondary:hover,
		.ncm-cfp-phone:hover {
			color:#C74235CD;
		}

		.ncm-cfp-newslink{
			margin-top:10px;
			font-size:12px;
			line-height:1.4;
			opacity:.6;
			text-align:right;
		}
		.ncm-cfp-newslink a{
			text-decoration:none;
			color:#333;
			border-bottom:1px solid rgba(0,0,0,.25);
			transition:all .2s ease;
		}
		.ncm-cfp-newslink a:hover{
			opacity:1;
			border-bottom-color:rgba(0,0,0,.6);
		}


.ncm-cfp-medium-note{
	margin-top:12px;
	padding:12px 14px;
	border-radius:14px;
	background:rgba(199,66,53,.07);
	border:1px solid rgba(199,66,53,.16);
	font-size:13px;
	line-height:1.55;
	color:#24324a;
}
.ncm-cfp-medium-note[hidden]{
	display:none!important;
}
.ncm-cfp-medium-note-head{
	margin:0 0 6px;
	font-size:11px;
	font-weight:700;
	letter-spacing:.12em;
	text-transform:uppercase;
	opacity:.7;
}
.ncm-cfp-medium-note-copy{
	margin:0 0 6px;
}
.ncm-cfp-medium-note-copy strong,
.ncm-cfp-inline-medium-text strong{
	font-weight:700;
}
.ncm-cfp-medium-note-link,
.ncm-cfp-inline-medium-notice a{
	color:#C74235;
	text-decoration:none;
	border-bottom:1px solid rgba(199,66,53,.28);
}
.ncm-cfp-medium-note-link:hover,
.ncm-cfp-inline-medium-notice a:hover{
	border-bottom-color:rgba(199,66,53,.55);
}
.ncm-cfp-inline-medium-notice{
	margin-top:12px;
	padding-top:10px;
	border-top:1px solid rgba(0,0,0,.08);
	font-size:13px;
	line-height:1.55;
	color:#24324a;
}
.ncm-cfp-inline-medium-eyebrow {
    margin:4px 0;
    font-weight:700;
}

/* Refined gallery-style medium education blocks. */
.ncm-cfp-medium-note,
.ncm-cfp-inline-medium-notice{
  border:1px solid rgba(199,66,53,.18);
  border-radius:16px;
  background:linear-gradient(135deg, rgba(255,250,247,.96), rgba(248,240,234,.92));
  color:#24324a;
  box-shadow:0 10px 30px rgba(36,50,74,.07);
}
.ncm-cfp-medium-note{
  padding:14px 16px;
}
.ncm-cfp-inline-medium-notice{
  margin-top:14px;
  padding:14px 16px;
  border-top:1px solid rgba(199,66,53,.18);
}
.ncm-cfp-medium-note-head,
.ncm-cfp-inline-medium-eyebrow{
  margin:0 0 7px;
  color:#c74235;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  line-height:1.25;
  text-transform:uppercase;
  opacity:1;
}
.ncm-cfp-medium-note-copy,
.ncm-cfp-inline-medium-copy{
  margin:0 0 8px;
  font-size:13px;
  line-height:1.58;
}
.ncm-cfp-medium-note-link,
.ncm-cfp-inline-medium-link{
  color:#c74235;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-decoration:none;
  text-transform:uppercase;
  border-bottom:1px solid rgba(199,66,53,.32);
}
.ncm-cfp-medium-note-link:hover,
.ncm-cfp-inline-medium-link:hover{
  color:#a9342a;
  border-bottom-color:rgba(169,52,42,.68);
}

/* v0.2.32: Call-for-price modal refinements. Keep the artwork natural, soften the call area, and improve short-screen scrolling. */
#ncm-cfp-modal[aria-hidden="false"]{
	display:flex !important;
	max-height:min(92dvh, 760px);
}

#ncm-cfp-modal .ncm-cfp-body{
	max-height:calc(92dvh - 96px);
	overflow-y:auto;
	scrollbar-width:thin;
	scrollbar-color:rgba(36,50,74,.28) rgba(36,50,74,.06);
	padding-bottom:22px;
}

#ncm-cfp-modal .ncm-cfp-body::-webkit-scrollbar{
	width:10px;
}

#ncm-cfp-modal .ncm-cfp-body::-webkit-scrollbar-track{
	background:rgba(36,50,74,.06);
	border-radius:999px;
}

#ncm-cfp-modal .ncm-cfp-body::-webkit-scrollbar-thumb{
	background:rgba(36,50,74,.26);
	border-radius:999px;
}

#ncm-cfp-modal .ncm-cfp-artrow{
	align-items:flex-start;
}

#ncm-cfp-modal .ncm-cfp-imgwrap{
	flex:0 0 clamp(92px, 18vw, 132px);
	width:clamp(92px, 18vw, 132px);
	max-width:132px;
	aspect-ratio:1 / 1;
	display:flex;
	align-items:center;
	justify-content:center;
	background:#fbf7f1;
}

#ncm-cfp-modal #ncm-cfp-img{
	width:100%;
	height:100%;
	max-width:100%;
	max-height:100%;
	object-fit:contain;
	object-position:center;
	display:block;
}

#ncm-cfp-modal .ncm-cfp-callbar{
	background:linear-gradient(180deg, rgba(199,66,53,.065), rgba(199,66,53,.035));
	border-color:rgba(199,66,53,.16);
	box-shadow:none;
}

#ncm-cfp-modal .ncm-cfp-callhead{
	opacity:.58;
}

#ncm-cfp-modal .ncm-cfp-phone{
	color:#b53c32;
}

@media (max-width: 680px){
	#ncm-cfp-modal .ncm-cfp-imgwrap{
		flex-basis:96px;
		width:96px;
	}
}

@media (max-height: 700px){
	#ncm-cfp-modal[aria-hidden="false"]{
		max-height:94dvh;
	}
	#ncm-cfp-modal .ncm-cfp-topbar{
		padding-top:14px;
		padding-bottom:6px;
	}
	#ncm-cfp-modal .ncm-cfp-body{
		max-height:calc(94dvh - 78px);
		padding-bottom:26px;
	}
	#ncm-cfp-modal .ncm-cfp-imgwrap{
		flex-basis:96px;
		width:96px;
	}
	#ncm-cfp-modal .ncm-cfp-callbar{
		padding:12px;
	}
}

/* v1.0.7: modal readability, true artwork ratio, and newsletter signup popup */
#ncm-cfp-close,
#ncm-cfp-newsletter-close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border:1px solid rgba(36,50,74,.16) !important;
  border-radius:999px;
  background:rgba(255,250,247,.96) !important;
  color:#24324a !important;
  font-size:26px;
  font-weight:700;
  line-height:1;
  box-shadow:0 8px 22px rgba(36,50,74,.12);
  opacity:1;
}

#ncm-cfp-close:hover,
#ncm-cfp-close:focus,
#ncm-cfp-newsletter-close:hover,
#ncm-cfp-newsletter-close:focus{
  background:#fff !important;
  color:#c74235 !important;
  outline:2px solid rgba(199,66,53,.22);
  outline-offset:2px;
}

#ncm-cfp-modal .ncm-cfp-artrow{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  align-items:flex-start;
  gap:clamp(16px,3vw,28px);
}

#ncm-cfp-modal .ncm-cfp-artrow > div{
  flex:1 1 320px;
  min-width:min(100%, 280px);
}

#ncm-cfp-modal .ncm-cfp-imgwrap{
  flex:0 1 auto;
  width:auto;
  max-width:min(245px, 38vw);
  aspect-ratio:auto;
  padding:8px;
  background:#fbf7f1;
}

#ncm-cfp-modal #ncm-cfp-img{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:min(290px, 42vh);
  object-fit:contain;
  object-position:center;
}

#ncm-cfp-modal .ncm-cfp-callbar{
  background:linear-gradient(180deg, rgba(199,66,53,.038), rgba(199,66,53,.02));
  border-color:rgba(199,66,53,.12);
}

#ncm-cfp-modal .ncm-cfp-phone{
  color:#a9342a;
}

#ncm-cfp-newsletter-overlay{
  position:fixed;
  inset:0;
  z-index:108;
  display:none;
  background:rgba(10,12,16,.42);
}

#ncm-cfp-newsletter-modal{
  position:fixed;
  left:50%;
  top:50%;
  z-index:109;
  display:none;
  width:min(760px, calc(100% - 28px));
  max-height:min(88dvh, 760px);
  overflow:auto;
  transform:translate(-50%, -50%);
  border-radius:22px;
  background:#fffaf7;
  box-shadow:0 28px 80px rgba(0,0,0,.34);
}

#ncm-cfp-newsletter-close{
  position:absolute;
  top:14px;
  right:14px;
  z-index:2;
}

#ncm-cfp-newsletter-modal[aria-hidden="false"]{
  display:block !important;
}

.ncm-cfp-newsletter-shell{
  display:grid;
  grid-template-columns:minmax(170px, .72fr) minmax(0, 1fr);
  gap:clamp(20px,4vw,34px);
  padding:clamp(22px,4vw,40px);
}

.ncm-cfp-newsletter-art{
  margin:0;
  align-self:stretch;
  overflow:hidden;
  border-radius:18px;
  background:#fff;
  box-shadow:0 16px 40px rgba(36,50,74,.12);
}

.ncm-cfp-newsletter-art img{
  display:block;
  width:100%;
  height:100%;
  max-height:520px;
  object-fit:cover;
  object-position:center;
}

.ncm-cfp-newsletter-form{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
}

.ncm-cfp-newsletter-eyebrow{
  margin:0 0 8px;
  color:#c74235;
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.ncm-cfp-newsletter-form h3{
  margin:0 0 10px;
  color:#24324a;
  font-family:"Libre Baskerville", Georgia, serif;
  font-size:clamp(26px,4vw,38px);
  line-height:1.05;
}

.ncm-cfp-newsletter-form p{
  margin:0 0 18px;
  color:rgba(36,50,74,.72);
  font-size:15px;
  line-height:1.55;
}

.ncm-cfp-newsletter-form form{
  display:grid;
  gap:12px;
}

.ncm-cfp-newsletter-form label{
  display:block;
  margin:0 0 5px;
  color:rgba(36,50,74,.72);
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.ncm-cfp-newsletter-form input{
  width:100%;
  min-height:44px;
  border:1px solid rgba(36,50,74,.18);
  border-radius:10px;
  background:#fff;
  color:#24324a;
  font-size:15px;
}

.ncm-cfp-newsletter-fields{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}

.ncm-cfp-newsletter-form .button{
  justify-self:start;
  margin-top:4px;
  border-radius:999px;
  background:#c74235;
  color:#fff;
}

@media (max-width:680px){
  #ncm-cfp-modal .ncm-cfp-imgwrap{
    max-width:140px;
  }
  #ncm-cfp-modal #ncm-cfp-img{
    max-height:180px;
  }
  .ncm-cfp-newsletter-shell{
    grid-template-columns:1fr;
    padding-top:58px;
  }
  .ncm-cfp-newsletter-art{
    max-height:220px;
  }
  .ncm-cfp-newsletter-fields{
    grid-template-columns:1fr;
  }
}

/* v1.0.9: Mobile modal containment and stacking fixes.
   Keeps the Call for Price modal above sticky headers and inside the mobile viewport. */
html.ncm-cfp-modal-open,
body.ncm-cfp-modal-open{
  overflow:hidden !important;
  overscroll-behavior:none;
}

#ncm-cfp-modal-overlay{
  z-index:2147483600 !important;
}

#ncm-cfp-modal{
  z-index:2147483601 !important;
}

@media (max-width: 767px){
  #ncm-cfp-modal[aria-hidden="false"]{
    left:14px !important;
    right:14px !important;
    top:calc(env(safe-area-inset-top, 0px) + 14px) !important;
    bottom:calc(env(safe-area-inset-bottom, 0px) + 14px) !important;
    width:auto !important;
    max-width:none !important;
    height:auto !important;
    max-height:none !important;
    transform:none !important;
    border-radius:18px;
  }

  #ncm-cfp-modal .ncm-cfp-topbar{
    flex:0 0 auto;
    align-items:flex-start;
    gap:10px;
    padding:12px 14px 8px;
  }

  #ncm-cfp-modal #ncm-cfp-title{
    font-size:20px;
    line-height:1.15;
  }

  #ncm-cfp-modal .ncm-cfp-subtitle{
    margin-top:6px;
    font-size:13px;
    line-height:1.4;
  }

  #ncm-cfp-close{
    flex:0 0 34px;
    width:34px;
    height:34px;
    font-size:23px;
  }

  #ncm-cfp-modal .ncm-cfp-body{
    flex:1 1 auto;
    min-height:0;
    max-height:none !important;
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:0 14px 14px;
  }

  #ncm-cfp-modal .ncm-cfp-artrow{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    padding:6px 0 10px;
  }

  #ncm-cfp-modal .ncm-cfp-artrow > div{
    flex:1 1 100%;
    min-width:0;
  }

  #ncm-cfp-modal .ncm-cfp-imgwrap{
    flex:0 0 auto;
    width:auto;
    max-width:112px;
    padding:6px;
    border-radius:12px;
  }

  #ncm-cfp-modal #ncm-cfp-img{
    max-height:118px;
  }

  #ncm-cfp-modal .ncm-cfp-art-title{
    margin-bottom:8px;
    font-size:20px;
    line-height:1.2;
  }

  #ncm-cfp-modal .ncm-cfp-medium-note,
  #ncm-cfp-modal .ncm-cfp-inline-medium-notice{
    padding:12px 14px;
    border-radius:14px;
  }

  #ncm-cfp-modal .ncm-cfp-divider{
    margin:10px -14px 12px;
  }

  #ncm-cfp-modal .ncm-cfp-callbar{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:12px;
    border-radius:14px;
  }

  #ncm-cfp-modal .ncm-cfp-callleft{
    min-width:0;
  }

  #ncm-cfp-modal .ncm-cfp-phone{
    font-size:clamp(24px, 8.4vw, 30px);
    overflow-wrap:anywhere;
  }

  #ncm-cfp-modal .ncm-cfp-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    justify-content:stretch;
  }

  #ncm-cfp-modal .ncm-cfp-actions .button,
  #ncm-cfp-modal .ncm-cfp-secondary{
    width:100%;
    min-height:42px;
    justify-content:center;
    text-align:center;
  }

  #ncm-cfp-modal .ncm-cfp-newslink{
    text-align:center;
  }
}

/* v1.0.10: compact mobile Call for Price modal.
   Reduces vertical footprint on phones while preserving internal scrolling. */
@media (max-width: 767px){
  #ncm-cfp-modal[aria-hidden="false"]{
    left:10px !important;
    right:10px !important;
    top:calc(env(safe-area-inset-top, 0px) + 10px) !important;
    bottom:calc(env(safe-area-inset-bottom, 0px) + 10px) !important;
    border-radius:16px !important;
  }

  #ncm-cfp-modal .ncm-cfp-topbar{
    gap:8px !important;
    padding:10px 12px 6px !important;
  }

  #ncm-cfp-modal #ncm-cfp-title{
    font-size:18px !important;
    line-height:1.12 !important;
    letter-spacing:0 !important;
  }

  #ncm-cfp-modal .ncm-cfp-subtitle{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin-top:4px !important;
    max-width:280px;
    font-size:12px !important;
    line-height:1.28 !important;
  }

  #ncm-cfp-modal .ncm-cfp-subtitle br{
    display:none;
  }

  #ncm-cfp-close{
    flex:0 0 30px !important;
    width:30px !important;
    height:30px !important;
    min-width:30px !important;
    padding:0 !important;
    font-size:22px !important;
    box-shadow:0 5px 14px rgba(36,50,74,.10) !important;
  }

  #ncm-cfp-modal .ncm-cfp-body{
    padding:0 12px 12px !important;
  }

  #ncm-cfp-modal .ncm-cfp-artrow{
    display:grid !important;
    grid-template-columns:70px minmax(0, 1fr);
    gap:9px !important;
    align-items:start !important;
    padding:3px 0 8px !important;
  }

  #ncm-cfp-modal .ncm-cfp-artrow > div{
    flex:initial !important;
    min-width:0 !important;
  }

  #ncm-cfp-modal .ncm-cfp-imgwrap{
    width:70px !important;
    max-width:70px !important;
    padding:4px !important;
    border-radius:10px !important;
    box-shadow:0 6px 14px rgba(36,50,74,.08) !important;
  }

  #ncm-cfp-modal #ncm-cfp-img{
    width:100% !important;
    height:62px !important;
    max-height:62px !important;
    object-fit:contain !important;
  }

  #ncm-cfp-modal .ncm-cfp-art-title{
    margin:0 0 6px !important;
    font-size:18px !important;
    line-height:1.15 !important;
  }

  #ncm-cfp-modal .ncm-cfp-medium-note,
  #ncm-cfp-modal .ncm-cfp-inline-medium-notice{
    margin-top:0 !important;
    padding:9px 10px !important;
    border-radius:12px !important;
    box-shadow:none !important;
  }

  #ncm-cfp-modal .ncm-cfp-medium-note-head,
  #ncm-cfp-modal .ncm-cfp-inline-medium-eyebrow{
    margin-bottom:4px !important;
    font-size:9.5px !important;
    letter-spacing:.12em !important;
  }

  #ncm-cfp-modal .ncm-cfp-medium-note-copy,
  #ncm-cfp-modal .ncm-cfp-inline-medium-copy{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin-bottom:5px !important;
    font-size:12px !important;
    line-height:1.38 !important;
  }

  #ncm-cfp-modal .ncm-cfp-medium-note-link,
  #ncm-cfp-modal .ncm-cfp-inline-medium-link{
    font-size:10.5px !important;
    line-height:1.2 !important;
    letter-spacing:.035em !important;
  }

  #ncm-cfp-modal .ncm-cfp-divider{
    margin:6px -12px 8px !important;
  }

  #ncm-cfp-modal .ncm-cfp-callbar{
    gap:8px !important;
    padding:10px !important;
    border-radius:12px !important;
  }

  #ncm-cfp-modal .ncm-cfp-callleft{
    gap:2px !important;
  }

  #ncm-cfp-modal .ncm-cfp-callhead{
    font-size:10.5px !important;
    letter-spacing:.11em !important;
  }

  #ncm-cfp-modal .ncm-cfp-phone{
    font-size:clamp(22px, 7.4vw, 28px) !important;
    line-height:1 !important;
    letter-spacing:.02em !important;
  }

  #ncm-cfp-modal .ncm-cfp-actions{
    gap:6px !important;
  }

  #ncm-cfp-modal .ncm-cfp-actions .button,
  #ncm-cfp-modal .ncm-cfp-secondary{
    min-height:36px !important;
    padding:8px 12px !important;
    border-radius:10px !important;
    font-size:14px !important;
    line-height:1.1 !important;
  }

  #ncm-cfp-modal .ncm-cfp-newslink{
    display:none !important;
  }
}

@media (max-width: 767px) and (max-height: 700px){
  #ncm-cfp-modal .ncm-cfp-subtitle{
    -webkit-line-clamp:1;
  }

  #ncm-cfp-modal .ncm-cfp-medium-note-copy,
  #ncm-cfp-modal .ncm-cfp-inline-medium-copy{
    -webkit-line-clamp:1;
  }

  #ncm-cfp-modal .ncm-cfp-artrow{
    grid-template-columns:58px minmax(0, 1fr);
  }

  #ncm-cfp-modal .ncm-cfp-imgwrap{
    width:58px !important;
    max-width:58px !important;
  }

  #ncm-cfp-modal #ncm-cfp-img{
    height:52px !important;
    max-height:52px !important;
  }
}

/* v1.0.11: true mobile auto-height modal.
   Previous mobile containment pinned both top and bottom, which stretched the
   modal to the viewport and left a large blank area under the content. */
@media (max-width: 767px){
  #ncm-cfp-modal[aria-hidden="false"]{
    left:10px !important;
    right:10px !important;
    top:50% !important;
    bottom:auto !important;
    width:auto !important;
    max-width:none !important;
    height:auto !important;
    max-height:calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 20px) !important;
    transform:translateY(-50%) !important;
    display:flex !important;
    overflow:hidden !important;
  }

  #ncm-cfp-modal .ncm-cfp-topbar{
    flex:0 0 auto !important;
  }

  #ncm-cfp-modal .ncm-cfp-body{
    flex:0 1 auto !important;
    min-height:0 !important;
    max-height:calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 88px) !important;
    overflow-y:auto !important;
  }
}

@media (max-width: 767px) and (max-height: 700px){
  #ncm-cfp-modal[aria-hidden="false"]{
    top:8px !important;
    bottom:auto !important;
    max-height:calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 16px) !important;
    transform:none !important;
  }

  #ncm-cfp-modal .ncm-cfp-body{
    max-height:calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 78px) !important;
  }
}

/* v1.0.12: requested mobile CFP spacing overrides. */
@media (max-width: 767px){
  #ncm-cfp-modal{
    padding:5px !important;
  }

  #ncm-cfp-modal .ncm-cfp-artrow{
    align-items:center !important;
  }

  #ncm-cfp-modal .ncm-cfp-callbar{
    padding:15px !important;
  }
}
