/* Design blocks: ready-made layouts editors (and the AI assistant) can put into any page.
   Loaded by both the public site and the admin editor, so a block looks the same in both.
   The class names here are the only ones the site's HTML cleaner lets through
   (WV_BLOCK_CLASSES in includes/admin/content.php); keep the two lists in step. */

.wv-lead{font-size:1.18em;line-height:1.55;color:#2e3a2c}

.wv-callout{background:#f6f0e2;border:1px solid #e2d8c2;border-left:5px solid #c9952a;border-radius:12px;padding:16px 20px;margin:1.2em 0}
.wv-callout>*:first-child{margin-top:0}
.wv-callout>*:last-child{margin-bottom:0}
.wv-callout.wv-green{border-left-color:#2e5a40;background:#eef4ec;border-color:#d3e2cf}

.wv-details{border:1px solid #e2d8c2;border-radius:12px;padding:6px 20px;margin:1.2em 0;background:#fffdf8}
.wv-details p{margin:0;padding:10px 0;border-top:1px dashed #d9cdb2}
.wv-details p:first-child{border-top:0}
.wv-details strong{display:inline-block;min-width:6.5em;color:#1f3b2c}

.wv-contact{background:#1f3b2c;color:#eef3e9;border-radius:12px;padding:16px 20px;margin:1.2em 0}
.wv-contact p{margin:0 0 6px}
.wv-contact p:last-child{margin-bottom:0}
.wv-contact strong{color:#fff;display:inline-block;min-width:5.5em}
.wv-contact a{color:#e9c46a;word-break:break-word}

a.wv-button{display:inline-block;background:#1f3b2c;color:#fff;text-decoration:none;font-weight:700;padding:11px 22px;border-radius:999px;margin:4px 0}
a.wv-button:hover{background:#2e5a40;color:#fff}

.wv-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:1.2em 0}
.wv-columns>.wv-col>*:first-child{margin-top:0}
.wv-columns>.wv-col>*:last-child{margin-bottom:0}

figure.wv-figure{margin:1.2em 0}
figure.wv-figure img{display:block;width:100%;height:auto;border-radius:10px}
figure.wv-figure figcaption{font-size:.9em;color:#5d6658;margin-top:6px}
figure.wv-figure.wv-left{float:left;width:42%;margin:.3em 1.4em 1em 0}
figure.wv-figure.wv-right{float:right;width:42%;margin:.3em 0 1em 1.4em}

@media (max-width:640px){
  .wv-columns{grid-template-columns:minmax(0,1fr);gap:12px}
  figure.wv-figure.wv-left,figure.wv-figure.wv-right{float:none;width:auto;margin:1.2em 0}
}

/* YouTube video: a player on the public page, a plain link inside the editor */
figure.wv-video{margin:1.2em 0}
figure.wv-video .wv-video-frame{position:relative;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#1d2a1d}
figure.wv-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
figure.wv-video figcaption{font-size:.9em;color:#5d6658;margin-top:6px}
figure.wv-video > a{display:block;padding:28px 16px;border-radius:10px;background:#1d2a1d;color:#fff;text-align:center;font-weight:600}
figure.wv-video > a::before{content:"▶  "}
/* boxes sit beside a floated picture instead of running underneath it */
.wv-callout,.wv-details,.wv-contact{display:flow-root}
