/* Templates pop-up, v8 (Kelly's FINAL mock, Nov 4, 2026): Story, Quote post and Pin, each a blank template beside the same
   template filled in for Katie and Charles in Amy Carroll Photography's brand. White panel, thin border, gold arrows. */
html body dialog.diffpop.tqmode { width: min(1040px, calc(100vw - 32px)) !important; max-width: none !important; }
html body dialog.diffpop .dpt .g { color: #01a263; }
html body dialog.diffpop .dptpl.tq[hidden] { display: none !important; }
html body dialog.diffpop .dptpl.tq { display: block !important; margin-top: 18px; }
.tq .tqbox { border: 1px solid #e3e6ea; border-radius: 16px; background: #fff; overflow: hidden; }
.tq .tqask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 22px; border-bottom: 1px solid #eceef1; }
.tq .tqask p { margin: 0; font: 700 16px/1.35 Montserrat, sans-serif; color: #01223d; }
.tq .tqpills { display: flex; gap: 8px; }
.tq .tqpills span { padding: 7px 16px; border: 1.5px solid #d6dade; border-radius: 999px; font: 700 14px/1 Montserrat, sans-serif; color: #01223d; background: #fff; }
.tq .tqpills span.on { background: #01223d; border-color: #01223d; color: #fff; }
.tq .tqcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 20px 16px 24px; }
.tq .tqcol { min-width: 0; }
.tq .tqk { margin: 0 0 14px; text-align: center; font: 700 11px/1 Montserrat, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #0a7a4f; }
.tq .tqpair { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1.35fr); align-items: center; gap: 6px; }
/* the blank template: darker so it reads (Kelly's note 1) */
.tq .tqbw { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tq .tqblank { width: 100%; box-sizing: border-box; border: 2px dashed #7d8692; border-radius: 8px; padding: 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; }
.tq .tqlab, .tq .tqph { font: 700 8px/1.2 Montserrat, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #4a525e; }
.tq .tqph { width: 100%; display: flex; align-items: center; justify-content: center; border-radius: 3px; background: repeating-linear-gradient(135deg, #d3d8de 0 6px, #e6e9ed 6px 12px); }
.tq .tqph-s { aspect-ratio: 4 / 5; }
.tq .tqph-p { aspect-ratio: 4 / 3; }
.tq .tqblank i { display: block; width: 88%; height: 6px; border-radius: 3px; background: #b9c0c8; }
.tq .tqblank i.s { width: 60%; }
.tq .tqlogo { width: 22px; height: 12px; border: 1.5px dashed #7d8692; border-radius: 50%; }
.tq .tqgap { height: 26px; }
.tq .tqyt { margin: 0; font: 700 10px/1.2 Montserrat, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #4a525e; text-align: center; }
/* the gold arrow, a gentle nudge (Kelly's notes 3 and the change: gold line, heavier stroke, no circle) */
.tq .tqarrow { display: flex; justify-content: center; }
.tq .tqarrow svg { width: 30px; height: 16px; animation: tqnudge 1.6s ease-in-out infinite; }
.tq .tqcol:nth-child(2) .tqarrow svg { animation-delay: .2s; }
.tq .tqcol:nth-child(3) .tqarrow svg { animation-delay: .4s; }
@keyframes tqnudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .tq .tqarrow svg { animation: none; } }
/* the filled post, in Amy's brand: cream, spaced caps, her rings */
.tq .tqpost { min-width: 0; box-sizing: border-box; background: #f8f5ef; border-radius: 6px; box-shadow: 0 10px 24px rgba(1, 34, 61, .10); padding: 12px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: #1b1b1b; }
.tq .tqpost img { display: block; width: 100%; object-fit: cover; border-radius: 1px; }
.tq .tqstory img { aspect-ratio: 6 / 7; object-position: 50% 30%; }
.tq .tqpin img { aspect-ratio: 3 / 2; object-position: 50% 40%; }
.tq .tqpost p { margin: 0; font: 400 12px/1.4 Montserrat, sans-serif; color: #1b1b1b; }
.tq .tqpost .tqq { font-size: 13px; line-height: 1.45; padding: 0 2px; }
.tq .tqquote { padding: 22px 12px; gap: 12px; }
.tq .tqcap { font: 500 8px/1.3 Montserrat, sans-serif; letter-spacing: .26em; text-transform: uppercase; color: #1b1b1b; }
.tq .tqhead { font: 500 11px/1.35 Montserrat, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #1b1b1b; }
.tq .tqsub { font: 400 10px/1.2 Montserrat, sans-serif; color: #1b1b1b; margin-top: -4px; }
.tq .tqrings { width: 26px; height: 17px; fill: none; stroke: #1b1b1b; stroke-width: 2.4; }
.tq .tqex { margin: 8px 2px 0; text-align: right; font: 500 13px/1 Montserrat, sans-serif; color: #454a52; }
.tq .tqpts { list-style: none; counter-reset: tq; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; }
.tq .tqpts li { counter-increment: tq; position: relative; padding-left: 38px; font: 400 15px/1.5 Montserrat, sans-serif; color: #16181c; }
.tq .tqpts li::before { content: counter(tq); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: #01a263; color: #fff; font: 700 13px/26px Montserrat, sans-serif; text-align: center; }
.tq .tqpts b { color: #01223d; font-weight: 700; }
.tq .tqend { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #eceef1; font: 400 16px/1.45 Montserrat, sans-serif; color: #16181c; }
.tq .tqend b { color: #01223d; font-weight: 700; }
.tq .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) {
  .tq .tqcols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tq .tqpair { max-width: 340px; margin: 0 auto; }
  .tq .tqpts { grid-template-columns: minmax(0, 1fr); }
}
/* Kelly, Nov 4 (last notes): Story, Quote post and Pin as three separate cards, like the 1, 2, 3 points; no shared frame.
   The Photo / Template / Both question keeps its own row above them. */
.tq .tqbox { border: 0; border-radius: 0; background: none; overflow: visible; }
.tq .tqask { border: 1px solid #e3e6ea; border-radius: 16px; background: #fff; }
.tq .tqcols { padding: 0; margin-top: 16px; gap: 16px; }
.tq .tqcol { background: #fff; border: 1px solid #e3e6ea; border-radius: 16px; padding: 16px 12px 18px; }
.tq .tqyt { white-space: nowrap; letter-spacing: .08em; font-size: 9.5px; }
/* Kelly, Nov 4: a thin green bar across the top of each card, like the pop-up's own 6px top bar, so the three read as separate. */
.tq .tqcol { border-top: 4px solid #01a263; }
/* Kelly, Nov 4 (afternoon): the cards copy the homepage "What makes The Wedding CMO different" cards exactly. The stage behind
   them is the site's soft section grey (#f6f7f9); each card is white, a 1px #e6e9ed border, 14px corners and the same 5px
   green top bar those cards draw (an inset shadow, not a border, so the corners stay round). */
.tq .tqbox { background: #f6f7f9; border-radius: 16px; padding: 16px; }
.tq .tqask { border: 1px solid #e6e9ed; border-radius: 14px; background: #fff; }
.tq .tqcol { background: #fff; border: 1px solid #e6e9ed; border-top: 1px solid #e6e9ed; border-radius: 14px; box-shadow: inset 0 5px 0 #01a263; padding: 22px 12px 18px; }
