/* The Catholic Business Directory Elementor kit and article showcase. */
.cq, .cq-paper, .cq-hub-business {
  --cbd-blue: var(--e-global-color-primary, #1c6aaa);
  --cbd-green: var(--e-global-color-secondary, #379b40);
  --cbd-sky: var(--e-global-color-a0798d6, #00aeef);
  --cbd-page: #f6fbff;
  --cbd-pale: #e5f5fc;
  --cbd-title: var(--e-global-typography-primary-font-family, "Montserrat"), sans-serif;
  --cbd-body: var(--e-global-typography-text-font-family, "Roboto"), sans-serif;
  --cbd-shadow: 0 4px 25px rgb(0 0 0 / 8%);
  --ink: var(--e-global-color-accent, #32343a);
  --muted: #4e5966;
  --teal: var(--cbd-blue);
  --paper: var(--cbd-page);
  --line: #cbdbe6;
  color: var(--ink);
  font-family: var(--cbd-body);
}
.cq { background:var(--cbd-page); padding-top:clamp(22px,3vw,44px); }
.cq :is(h1,h2,h3), .cq-paper :is(h1,h2), .cq-hub-business h2 {
  color:var(--cbd-blue); font-family:var(--cbd-title);
  font-weight:700; letter-spacing:-.025em; line-height:1.16;
}
.cq h1 { font-size:clamp(39px,4.4vw,60px); font-weight:600; }
.cq .cq-meta, .cq .cq-crumb, .cq .cq-filters label, .cq .cq-filters :is(input,select),
.cq .cq-filter-drawer summary, .cq .cq-host-actions select, .cq .cq-btn, .cq button,
.cq .cq-summary summary, .cq-paper button { font-family:var(--cbd-title); }
.cq .cq-crumb { font-size:14px; margin-bottom:clamp(16px,2vw,28px); }
.cq .cq-crumb a,.cq .cq-entry-actions a,.cq .cq-tools a { font-weight:600; }

.cq .cq-library-heading { text-align:center; padding:clamp(18px,3vw,42px) 0 24px; margin:0 auto; }
.cq .cq-library-heading p { margin:0 auto; max-width:68ch; color:var(--ink); font-size:clamp(17px,1.5vw,20px); line-height:1.65; }
.cq .cq-library-heading h1::after,.cq .cq-reading h2::after,.cq .cq-host-print h2::after,.cq-hub-business .cq-hub-heading h2::after {
  content:""; display:block; background:var(--cbd-green); width:60px; height:3px; margin:14px 0;
}
.cq .cq-library-heading h1::after { margin:16px auto; }
.cq .cq-filter-drawer { margin:8px 0 24px; }
.cq .cq-filter-drawer summary { padding:9px 16px; border:1px solid var(--line); border-radius:10px; background:white; }
.cq .cq-filters { background:white; border-radius:12px; padding:16px; }
.cq .cq-card.cq-cover-card {
  background:white; border-radius:16px; overflow:hidden; box-shadow:var(--cbd-shadow);
  border:1px solid #e1e9ef;
}
.cq .cq-cover-card:hover,.cq .cq-cover-card:focus-within { box-shadow:0 5px 20px rgb(28 106 170 / 17%); border-color:var(--cbd-blue); }
.cq .cq-cover-card:focus-within { outline:3px solid var(--cbd-blue); outline-offset:2px; }
.cq .cq-cover-card .cq-cover { border-radius:0; }
.cq .cq-cover-card h2 { margin:18px 20px 8px; font-size:clamp(21px,1.8vw,26px); line-height:1.28; }
.cq .cq-cover-card a { color:#1e293b; }
.cq .cq-cover-card:hover a,.cq .cq-cover-card:focus-within a { color:var(--cbd-blue); }
.cq .cq-cover-card .cq-meta { margin:0 20px 20px; color:var(--cbd-blue); font-weight:600; font-size:13px; }

.cq .cq-start-page,.cq .cq-host-intro,.cq .cq-panel {
  background:white; border:1px solid #dde7ef; border-radius:16px; box-shadow:var(--cbd-shadow);
}
.cq .cq-start-page { padding:0; gap:0; grid-template-columns:1.06fr 1fr; overflow:hidden; }
.cq .cq-start-copy { padding:clamp(24px,3.2vw,46px); }
.cq .cq-start-page > .cq-cover { align-self:stretch; height:100%; min-height:clamp(350px,42svh,440px); border-radius:0; }
.cq .cq-start-page h1,.cq .cq-host-intro h1 { font-weight:600; font-size:clamp(36px,3.8vw,54px); }
.cq .cq-start-page .cq-meta,.cq .cq-host-intro > .cq-meta,.cq .cq-bar .cq-meta {
  display:inline-block; padding:6px 11px; border-radius:8px; background:var(--cbd-pale);
  color:var(--cbd-blue); font-size:13px; font-weight:700;
}
.cq .cq-reading { margin:clamp(28px,4vw,48px) auto 0; padding:0; border:0; }
.cq .cq-reading h2 { color:var(--cbd-blue); }
.cq .cq-reading p,.cq .cq-feedback p,.cq .cq-lede { color:var(--ink); }
.cq .cq-reading a { color:var(--cbd-blue); }
.cq .cq-host-intro { padding:clamp(22px,4vw,48px); }
.cq .cq-panel { padding:clamp(20px,4vw,46px); border-top:4px solid var(--cbd-blue); }
.cq .cq-panel h2 { font-size:clamp(26px,3vw,38px); }
.cq .cq-present h2 { font-size:clamp(30px,4vw,50px); }
.cq .cq-btn:not(.cq-alt),.cq-paper button {
  background:linear-gradient(#e6be5e, #fef5cc 45%, #fded9e);
  color:#60401d; border:1px solid #c19843; border-radius:5px; padding:12px 20px;
  font-weight:700; box-shadow:0 1px 2px rgb(0 0 0 / 14%);
}
.cq .cq-btn:disabled { background:#eff3f6; color:#68717b; border-color:#d2dbe1; box-shadow:none; opacity:1; }
.cq .cq-alt,.cq .cq-team,.cq .cq-picker button,.cq .cq-team-buttons strong {
  background:#f8fafc; color:var(--cbd-blue); border:1px solid var(--line); border-radius:10px;
}
.cq .cq-team[aria-pressed=true],.cq .cq-picker [aria-pressed=true] { background:var(--cbd-blue); color:white; border-color:var(--cbd-blue); }
.cq .cq-options { gap:10px; }
.cq .cq-option { background:white; border:1px solid #aabcca; border-radius:10px; }
.cq .cq-option:hover,.cq .cq-option:focus-within { border-color:var(--cbd-blue); }
.cq .cq-option:has(:checked) { background:var(--cbd-pale); border-color:var(--cbd-blue); box-shadow:inset 3px 0 var(--cbd-blue); }
.cq progress { display:block; appearance:none; border:0; background:#e4edf4; border-radius:6px; overflow:hidden; }
.cq progress::-webkit-progress-bar { background:#e4edf4; }
.cq progress::-webkit-progress-value { background:var(--cbd-blue); }
.cq progress::-moz-progress-bar { background:var(--cbd-blue); }
.cq .cq-feedback { background:#edf7fc; border-color:var(--cbd-blue); border-radius:0 10px 10px 0; }
.cq .cq-feedback.cq-correct { background:#eff8ef; border-color:var(--cbd-green); }
.cq .cq-feedback.cq-incorrect { background:#fff0ed; border-color:#a73422; }
.cq .cq-summary details { border-color:var(--line); }
.cq .cq-summary summary { line-height:1.55; }
.cq :focus-visible,.cq-paper :focus-visible,.cq-hub-business a:focus-visible { outline:3px solid var(--cbd-blue)!important; outline-offset:3px; }

.cq-hub-business .cq-hub-heading h2 { font-size:clamp(25px,2.8vw,34px); }
.cq-hub-business .cq-hub-heading a { background:#f8fafc; border:1px solid var(--line); padding:10px 16px; border-radius:10px; text-decoration:none; }
.cq-hub-business .cq-hub-list a { font-family:var(--cbd-title); border-color:#e1e9ef; border-radius:12px; box-shadow:0 2px 12px rgb(0 0 0 / 5%); }
.cq-hub-business .cq-hub-list strong { color:#1e293b; }
.cq-hub-business .cq-hub-list a:hover strong { color:var(--cbd-blue); }
.cq-paper { background:var(--cbd-page); padding:clamp(16px,4vw,48px); }
.cq-paper main { background:white; padding:clamp(18px,4vw,44px); border-radius:16px; box-shadow:var(--cbd-shadow); }
.cq-paper section { border-color:var(--line); }
@media(max-width:680px) {
  .cq .cq-start-page { grid-template-columns:1fr; }
  .cq .cq-start-page > .cq-cover { height:auto; min-height:0; }
  .cq .cq-start-copy { padding:21px; }
  .cq .cq-crumb { gap:5px 8px; }
}
@media print {
  body:has(.cq-paper) :not(:has(.cq-paper)):not(.cq-paper):not(.cq-paper *) { display:none!important; }
  .cq-paper,.cq-paper main { background:white; box-shadow:none; padding:0; margin:0; max-width:none; }
  .cq-paper :is(h1,h2),.cq-paper a { color:#172734; }
}
