/* Shared additions for the dynamic version (loaded after each page stylesheet) */
.t1{background:linear-gradient(135deg,#f28a1a,#c2410c)}
.t2{background:linear-gradient(135deg,#0fa968,#065f46)}
.t3{background:linear-gradient(135deg,#3b6fe0,#1e3a8a)}
.t4{background:linear-gradient(135deg,#8b5cf6,#4c1d95)}
.t5{background:linear-gradient(135deg,#ef4444,#7f1d1d)}
.t6{background:linear-gradient(135deg,#0ea5b7,#164e63)}
.t7{background:linear-gradient(135deg,#1f2937,#000)}
.t8{background:linear-gradient(135deg,#eab308,#a16207)}
.t9{background:linear-gradient(135deg,#14b8a6,#0f766e)}
.t10{background:linear-gradient(135deg,#6366f1,#312e81)}
.t11{background:linear-gradient(135deg,#334155,#0f172a)}
.t12{background:linear-gradient(135deg,#ec4899,#831843)}
.t13{background:linear-gradient(135deg,#0284c7,#0c4a6e)}
.t14{background:linear-gradient(135deg,#f59e0b,#b45309)}
.t15{background:linear-gradient(135deg,#a855f7,#be185d)}
.th i::after{content:attr(data-l)}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.sub-msg,.form-msg{font-size:13px;margin:8px 0 0;padding:8px 12px;border-radius:9px;background:var(--g-l);color:var(--g-d)}
.sub-msg.err,.form-msg.err{background:var(--o-l);color:#b45309}

/* logos as images */
.brk-logo{position:relative;overflow:hidden}
.brk-logo:hover{color:inherit}
.brk-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;padding:4px;box-sizing:border-box}
.blg{overflow:hidden}
.rv-logo .tile img{max-width:132px;max-height:78px;width:auto;height:auto;object-fit:contain}

/* hero image for posts without custom art */
.xt-art img.xt-img{display:block;width:100%;max-width:460px;height:auto;aspect-ratio:auto;border-radius:18px;box-shadow:0 18px 40px -18px rgba(0,0,0,.55);margin-left:auto}

/* rich content coming from the editor */
.xt-post img,.rv-art img,.guide img{max-width:100%;height:auto;border-radius:10px}
.xt-post figure,.rv-art figure{margin:14px 0}
.xt-post figcaption{font-size:12.5px;color:var(--mut);margin-top:6px}
.xt-post iframe,.rv-art iframe{max-width:100%}
.xt-post table:not(.xt-tbl){width:100%;border-collapse:collapse;margin:10px 0 16px;font-size:14px;display:block;overflow-x:auto}
.xt-post table:not(.xt-tbl) td,.xt-post table:not(.xt-tbl) th{border:1px solid var(--line);padding:8px 10px;text-align:left}
.xt-post blockquote{margin:14px 0;padding:10px 16px;border-left:4px solid var(--g);background:var(--soft);border-radius:0 10px 10px 0}
.xt-post ul:not([class]),.xt-post ol:not([class]){padding-left:22px}

/* comments */
.cm-sec{margin-top:26px;border-top:1px solid var(--line);padding-top:18px}
.cm-sec h2{font-size:20px;margin:0 0 12px}
.cm{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.cm:last-of-type{border-bottom:0}
.cm-av{flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:var(--g-l);color:var(--g-d);font-weight:800;display:flex;align-items:center;justify-content:center;font-size:14px}
.cm b{color:var(--ink)}
.cm time{font-size:12px;color:var(--mut);margin-left:6px}
.cm p{margin:4px 0 0;font-size:14.5px}
.cf{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.cf .full{grid-column:1/-1}
.cf input,.cf textarea,.cf select{width:100%;border:1px solid var(--line);background:var(--soft);color:var(--ink);border-radius:10px;padding:10px 12px;font:inherit;font-size:14px}
.cf textarea{min-height:120px;resize:vertical}
.cf label{font-size:12.5px;font-weight:600;color:var(--ink);display:block;margin-bottom:4px}
@media (max-width:640px){.cf{grid-template-columns:1fr}}

/* contact / generic pages */
.pg-card{background:var(--card);border:1px solid var(--line);border-radius:var(--r,12px);padding:22px 24px;margin-bottom:24px}
.pg-card h1{font-size:clamp(24px,3vw,32px);margin-bottom:10px}

/* image ads (optional) */
.adimg{display:block;border-radius:12px;overflow:hidden}
.adimg img{display:block;width:100%;height:auto}
.adlead{display:block;margin:16px auto 0;text-align:center}
.adlead img{max-width:100%;height:auto;border-radius:10px}
.sky.sky-img{padding:0;background:none}
.sky.sky-img img{width:120px;height:600px;object-fit:cover}

/* search highlight + empty states */
.empty-st{padding:30px 10px;text-align:center;color:var(--mut)}
.err-page{text-align:center;padding:60px 16px}
.err-page b{display:block;font-size:72px;line-height:1;color:var(--g);font-weight:900}
