/* VDQL SEO Price Bridge v1.0.5.
 * Scope every layout rule to the SEO shortcode: VDQL Core and its homepage remain untouched.
 * Full-viewport breakout repairs narrow WordPress/Blocksy page content containers.
 */
.vdqlseo-price {
  box-sizing: border-box;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1420px, calc(100vw - 40px));
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: clamp(20px, 3vw, 44px) 0 clamp(72px, 6vw, 104px);
  color: inherit;
  font: inherit;
  line-height: 1.6;
}
.vdqlseo-price *, .vdqlseo-price *::before, .vdqlseo-price *::after { box-sizing: border-box; }
.vdqlseo-price h2 { color: #145639; font-size: clamp(23px, 2.5vw, 33px); line-height: 1.25; margin: 0 0 16px; }
.vdqlseo-price h3 { color: #205d42; font-size: 18px; margin: 0 0 8px; }
.vdqlseo-price p { margin: 0 0 16px; }
.vdqlseo-price a { color: #176a45; text-decoration: underline; text-underline-offset: 3px; }
.vdqlseo-eyebrow { color: #98702a; font-size: 12px; font-weight: 800; letter-spacing: .09em; }
.vdqlseo-lead { max-width: 980px; font-size: clamp(15px, 1.8vw, 18px); margin-top: 12px !important; }
.vdqlseo-quicknav { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.vdqlseo-quicknav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid #cddfd2; border-radius: 11px; background: #f4faf6; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; }
.vdqlseo-panel { min-width: 0; margin: 0 0 20px; padding: clamp(18px, 2.6vw, 34px); border: 1px solid #e1e9e2; border-radius: 20px; background: #fff; box-shadow: 0 8px 30px rgba(24,87,54,.045); }
.vdqlseo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.vdqlseo-grid article { min-width: 0; padding: 20px; border: 1px solid #e2efe5; border-radius: 14px; background: #f4faf5; }
.vdqlseo-grid article p { color: #45584b; font-size: 14px; margin: 0; }
.vdqlseo-note { color: #57645b; font-size: 13px; margin: 16px 0 0 !important; }
.vdqlseo-empty { padding: 18px; border: 1px solid #efe0bb; border-radius: 12px; background: #fff9ea; }
.vdqlseo-empty p { margin: 5px 0 0; }
.vdqlseo-panel details { padding: 16px 0; border-top: 1px solid #e7ece8; }
.vdqlseo-panel details:last-child { padding-bottom: 2px; }
.vdqlseo-panel summary { display: flex; align-items: center; min-height: 44px; padding: 5px 0; font-weight: 700; cursor: pointer; }
.vdqlseo-panel details p { margin: 10px 0 0; }
.vdqlseo-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 24px 0; padding: clamp(20px,2.8vw,32px); border-radius: 20px; background: #15563a; color: #fff; }
.vdqlseo-cta p { color: #ecf6ed; margin: 5px 0 0; }
.vdqlseo-cta a { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 12px; background: #fff; color: #135336; font-weight: 750; text-align: center; text-decoration: none; }
.vdqlseo-supplier { text-align: center; color: #46554b; font-size: 14px; }

/* Reuse Core's published-price board without its homepage max-width and padding. */
.vdqlseo-core-price { min-width: 0; width: 100%; overflow: visible; }
.vdqlseo-core-price img { max-width: 100%; height: auto; }
.vdqlseo-core-price table { width: 100%; }
.vdqlseo-core-price .vdql-prices { width: 100%; max-width: none; min-width: 0; padding: 8px 0 0; margin: 0 !important; scroll-margin-top: 100px; }
.vdqlseo-core-price .vdql-section-top { gap: 16px; }
.vdqlseo-core-price .vdql-section-top h2 { font-size: clamp(24px, 2.7vw, 36px); }
.vdqlseo-core-price .vdql-group-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.vdqlseo-core-price .vdql-price-card { min-width: 0; width: 100%; }
.vdqlseo-core-price .vdql-price-card header { gap: 12px; padding: 19px; }
.vdqlseo-core-price .vdql-card-body { min-width: 0; padding: 3px 18px 0; }
.vdqlseo-core-price .vdql-price-row { display: grid; grid-template-columns: minmax(0,1fr) max-content; gap: 12px; align-items: center; }
.vdqlseo-core-price .vdql-product-label { min-width: 0; }
.vdqlseo-core-price .vdql-product-label strong { overflow-wrap: break-word; }
.vdqlseo-core-price .vdql-product-price { min-width: 0; max-width: 100%; text-align: right; }
.vdqlseo-core-price .vdql-product-price strong { font-size: clamp(15px,1.25vw,18px); white-space: nowrap; }
.vdqlseo-core-price .vdql-price-card footer { gap: 12px; padding: 16px 18px; }
.vdqlseo-core-price .vdql-card-cta { min-height: 46px; }
.vdqlseo-core-price .vdql-group-links { max-width: 100%; }
.vdqlseo-core-price .vdql-group-links a { min-height: 44px; }
.vdqlseo-price a:focus-visible, .vdqlseo-price button:focus-visible, .vdqlseo-price summary:focus-visible { outline: 3px solid #c48b19; outline-offset: 3px; }
.vdqlseo-core-price .vdql-tier-switch button { min-height: 44px; }
.vdqlseo-price [id] { scroll-margin-top: 106px; }

/* Tablet: two comfortable cards, no compressed three-column price text. */
@media (max-width: 1199px) {
  .vdqlseo-core-price .vdql-group-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
}
@media (max-width: 759px) {
  .vdqlseo-price { width: calc(100vw - 28px); padding: 20px 0 90px; }
  .vdqlseo-panel { padding: 18px; border-radius: 16px; }
  .vdqlseo-core-price .vdql-group-grid, .vdqlseo-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .vdqlseo-core-price .vdql-prices { padding: 4px 0 0; }
  .vdqlseo-core-price .vdql-section-top { display: flex; flex-direction: column; align-items: flex-start; }
  .vdqlseo-core-price .vdql-price-card header { padding: 17px 16px; }
  .vdqlseo-core-price .vdql-card-body { padding: 3px 16px 0; }
  .vdqlseo-core-price .vdql-price-card footer { padding: 16px; }
  .vdqlseo-core-price .vdql-group-links { margin-right: 0; padding-right: 0; }
  .vdqlseo-quicknav a { flex: 1 1 calc(50% - 8px); }
  .vdqlseo-cta { flex-direction: column; align-items: stretch; }
  .vdqlseo-cta a { width: 100%; }
}
@media (max-width: 379px) {
  .vdqlseo-price { width: calc(100vw - 20px); }
  .vdqlseo-panel { padding: 12px; }
  .vdqlseo-core-price .vdql-price-card header { padding: 15px 12px; }
  .vdqlseo-core-price .vdql-card-body { padding: 2px 12px 0; }
  .vdqlseo-core-price .vdql-price-card footer { padding: 14px 12px; }
  .vdqlseo-core-price .vdql-price-row { gap: 8px; }
  .vdqlseo-core-price .vdql-product-price strong { font-size: 15px; }
  .vdqlseo-quicknav a { flex: 1 1 100%; }
  .vdqlseo-grid article { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .vdqlseo-price *, .vdqlseo-price *::before, .vdqlseo-price *::after { scroll-behavior: auto; transition-duration: 0s; }
}

/* v1.0.4 Gutenberg-native SEO layout. All rules are scoped to the price page.
   Published Core board remains unchanged; no hiding text or keyword stuffing. */
.vdqlseo-v4-shell {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1440px, calc(100vw - 48px));
  max-width: none !important;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 4px 0 80px;
  color: #183c2d;
  font-family: inherit;
  line-height: 1.65;
}
.vdqlseo-v4-shell *, .vdqlseo-v4-shell *::before, .vdqlseo-v4-shell *::after { box-sizing: border-box; }
.vdqlseo-v4-shell > *, .vdqlseo-v4-shell .wp-block-group,
.vdqlseo-v4-shell .wp-block-columns { max-width: none !important; }
.vdqlseo-v4-shell .wp-block-group { margin: 0; }
.vdqlseo-v4-shell h2 { font-size: clamp(22px, 2.5vw, 33px); line-height: 1.28; letter-spacing: -.025em; font-weight: 750; color: #104b34; margin: 0 0 16px; }
.vdqlseo-v4-shell h3 { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.3; font-weight: 750; color: #125338; margin: 0 0 12px; }
.vdqlseo-v4-shell p { margin: 0 0 16px; line-height: 1.7; }
.vdqlseo-v4-shell a { color: #0d6645; text-underline-offset: 3px; }
.vdqlseo-v4-kicker { color: #996c1e; font-weight: 800; font-size: 11px; letter-spacing: .11em; line-height: 1.4 !important; margin: 0 0 13px !important; }
.vdqlseo-v4-intro {
  padding: clamp(24px, 3.2vw, 48px);
  margin: 0 0 24px !important;
  border: 1px solid #e1e9db;
  border-radius: 23px;
  background: linear-gradient(108deg,#f6f9f2 0%,#fefcf5 70%,#fff 100%);
  box-shadow: 0 18px 50px rgba(24,69,45,.05);
}
.vdqlseo-v4-lead { max-width: 980px; font-size: clamp(16px, 1.55vw, 19px); color: #284739; margin-bottom: 18px !important; }
.vdqlseo-v4-lead strong { color: #075037; font-weight: 800; }
.vdqlseo-v4-quick-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.vdqlseo-v4-quick-links a, .vdqlseo-v4-action-link a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 11px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  background: #145b3b;
  color: #fff;
  border: 1px solid #145b3b;
  transition: background-color .15s ease;
}
.vdqlseo-v4-quick-links a:nth-child(2) { color: #145b3b; background: #fff; border-color: #bed4c5; }
.vdqlseo-v4-quick-links a:hover, .vdqlseo-v4-action-link a:hover { background:#0c442b; color:#fff; }
.vdqlseo-v4-quick-links a:nth-child(2):hover { background:#eff8f1; color:#104d34; }
.vdqlseo-v4-board-wrap { margin-bottom: 28px !important; scroll-margin-top: 120px; }
.vdqlseo-v4-shell .vdqlseo-board-only { left: auto; transform: none; width: 100%; padding: 0; margin: 0; }
.vdqlseo-v4-shell .vdqlseo-board-only > .vdqlseo-panel { margin: 0; padding: clamp(18px,2.6vw,35px); border-radius: 23px; box-shadow: 0 14px 42px rgba(24,69,45,.065); }
.vdqlseo-v4-shell .vdqlseo-core-price .vdql-group-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.vdqlseo-v4-help, .vdqlseo-v4-regions, .vdqlseo-v4-faq { margin-bottom: 26px !important; padding: clamp(22px,2.8vw,38px); background: #fff; border: 1px solid #e5eae4; border-radius: 22px; }
.vdqlseo-v4-help > p:not(.vdqlseo-v4-kicker), .vdqlseo-v4-region-grid p, .vdqlseo-v4-faq details p { color: #45564b; font-size: 15px; }
.vdqlseo-v4-muted { color:#647568; margin:-4px 0 20px !important; }
.vdqlseo-v4-region-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px !important; margin:0 !important; }
.vdqlseo-v4-region-grid > .wp-block-column { margin:0; min-width:0; border: 1px solid #e0eae0; border-radius: 16px; background: #f6faf6; padding: clamp(17px,2vw,24px); }
.vdqlseo-v4-region-grid > .wp-block-column p:last-child { margin: 0; }
.vdqlseo-v4-faq { padding-bottom: 22px; }
.vdqlseo-v4-faq details { display: block; border-top: 1px solid #e5ece5; padding: 0; margin: 0; }
.vdqlseo-v4-faq details:last-child { border-bottom: 1px solid #e5ece5; }
.vdqlseo-v4-faq summary { min-height: 56px; display: list-item; cursor: pointer; padding: 15px 14px 14px 0; font-weight: 700; line-height: 1.5; color: #164c36; }
.vdqlseo-v4-faq details p { padding: 0 26px 16px 0; margin: 0; }
.vdqlseo-v4-actions { background: #135437; color: #fff; border-radius: 23px; padding: clamp(24px,3.2vw,44px); margin-top: 28px !important; display: grid; grid-template-columns:minmax(0,1fr) auto; column-gap:24px; align-items:center; }
.vdqlseo-v4-actions h2 { color: #fff; grid-column: 1; margin-bottom: 9px; }
.vdqlseo-v4-actions > p:not(.vdqlseo-v4-action-link) { color: #e1efe5; grid-column: 1; margin:0; max-width:750px; }
.vdqlseo-v4-action-link { grid-column: 2; grid-row: 1 / span 2; margin:0 !important; }
.vdqlseo-v4-action-link a { color:#115239; background:#fff; border-color:#fff; min-width:224px; text-align:center; }
.vdqlseo-v4-action-link a:hover { background: #ecf6ea; color: #0f4931; }
.vdqlseo-v4-shell a:focus-visible, .vdqlseo-v4-shell summary:focus-visible { outline: 3px solid #b78414; outline-offset: 4px; }
@media (max-width: 1199px) {
  .vdqlseo-v4-shell .vdqlseo-core-price .vdql-group-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vdqlseo-v4-region-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 759px) {
  .vdqlseo-v4-shell { width: calc(100vw - 28px); padding: 0 0 96px; }
  .vdqlseo-v4-intro, .vdqlseo-v4-help, .vdqlseo-v4-regions, .vdqlseo-v4-faq { padding: 20px; border-radius: 17px; margin-bottom: 16px !important; }
  .vdqlseo-v4-shell .vdqlseo-board-only > .vdqlseo-panel { padding: 16px; border-radius: 17px; }
  .vdqlseo-v4-shell .vdqlseo-core-price .vdql-group-grid, .vdqlseo-v4-region-grid { grid-template-columns: 1fr; gap: 12px !important; }
  .vdqlseo-v4-quick-links a { flex: 1 1 100%; }
  .vdqlseo-v4-actions { display:block; padding: 22px; border-radius:17px; }
  .vdqlseo-v4-action-link { margin:16px 0 0 !important; }
  .vdqlseo-v4-action-link a { width:100%; }
}
@media (max-width: 379px) {
  .vdqlseo-v4-shell { width: calc(100vw - 20px); }
  .vdqlseo-v4-intro, .vdqlseo-v4-help, .vdqlseo-v4-regions, .vdqlseo-v4-faq { padding: 15px; }
  .vdqlseo-v4-shell .vdqlseo-board-only > .vdqlseo-panel { padding: 11px; }
  .vdqlseo-v4-quick-links a { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .vdqlseo-v4-shell a { transition: none; }
}


/* v1.0.5 – Accessible CTA contrast, isolated to the price SEO layout.
 * Some Blocksy/child-theme link rules override plain anchor colors even inside
 * Gutenberg buttons. The intentionally narrow !important rules below protect
 * the foreground in normal, visited, hover, keyboard-focus and active states.
 * Never change the global theme anchors or the VDQL Core price board.
 */
.vdqlseo-v4-shell .vdqlseo-v4-intro .vdqlseo-v4-quick-links a:first-child,
.vdqlseo-v4-shell .vdqlseo-v4-intro .vdqlseo-v4-quick-links a:first-child:link,
.vdqlseo-v4-shell .vdqlseo-v4-intro .vdqlseo-v4-quick-links a:first-child:visited {
  color: #fff !important;
  background-color: #145b3b;
  border-color: #145b3b;
}
.vdqlseo-v4-shell .vdqlseo-v4-intro .vdqlseo-v4-quick-links a:first-child:hover,
.vdqlseo-v4-shell .vdqlseo-v4-intro .vdqlseo-v4-quick-links a:first-child:focus-visible,
.vdqlseo-v4-shell .vdqlseo-v4-intro .vdqlseo-v4-quick-links a:first-child:active {
  color: #fff !important;
  background-color: #0c442b;
  border-color: #0c442b;
}
.vdqlseo-v4-shell .vdqlseo-v4-intro .vdqlseo-v4-quick-links a:nth-child(2),
.vdqlseo-v4-shell .vdqlseo-v4-intro .vdqlseo-v4-quick-links a:nth-child(2):link,
.vdqlseo-v4-shell .vdqlseo-v4-intro .vdqlseo-v4-quick-links a:nth-child(2):visited {
  color: #145b3b !important;
  background-color: #fff;
  border-color: #bed4c5;
}
.vdqlseo-v4-shell .vdqlseo-v4-intro .vdqlseo-v4-quick-links a:nth-child(2):hover,
.vdqlseo-v4-shell .vdqlseo-v4-intro .vdqlseo-v4-quick-links a:nth-child(2):focus-visible,
.vdqlseo-v4-shell .vdqlseo-v4-intro .vdqlseo-v4-quick-links a:nth-child(2):active {
  color: #104d34 !important;
  background-color: #eff8f1;
  border-color: #bed4c5;
}
.vdqlseo-v4-shell .vdqlseo-v4-actions .vdqlseo-v4-action-link a,
.vdqlseo-v4-shell .vdqlseo-v4-actions .vdqlseo-v4-action-link a:link,
.vdqlseo-v4-shell .vdqlseo-v4-actions .vdqlseo-v4-action-link a:visited {
  color: #115239 !important;
  background-color: #fff;
  border-color: #fff;
}
.vdqlseo-v4-shell .vdqlseo-v4-actions .vdqlseo-v4-action-link a:hover,
.vdqlseo-v4-shell .vdqlseo-v4-actions .vdqlseo-v4-action-link a:focus-visible,
.vdqlseo-v4-shell .vdqlseo-v4-actions .vdqlseo-v4-action-link a:active {
  color: #0f4931 !important;
  background-color: #ecf6ea;
  border-color: #ecf6ea;
}
