/* Axis theme: contact page. Hero card with a coloured top band, form card beside a sticky side column. Loaded after forms.css, every override scoped under .ct; tokens only. */

/* hero: same card language as the single event page */
.ct-hero{display:flex;align-items:flex-start;gap:20px;margin:12px 0 0;padding:24px;border:1px solid var(--line);border-radius:24px;
  background:linear-gradient(var(--primary),var(--primary)) top/100% 6px no-repeat,linear-gradient(var(--primary-soft),var(--bg) 70%)}
.ct-hero-ic{flex:0 0 56px;width:56px;height:56px;border-radius:16px;display:grid;place-items:center;background:var(--primary);color:var(--on-primary);box-shadow:var(--shadow)}
.ct-hero-txt{flex:1;min-width:0}
.ct-hero h1{margin:0;font-size:28px;font-weight:500;line-height:1.35;letter-spacing:0;overflow-wrap:anywhere}
.ct-hero-txt > p{margin:6px 0 0;max-width:62ch;color:var(--muted);font-size:15px;line-height:1.7}
.ct-hero-txt > p.ct-pulse{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:6px 14px;border-radius:999px;background:var(--green-soft);color:var(--green);font-size:13px;font-weight:500;line-height:1.5}
.ct-pulse::before{content:"";flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:currentColor}

/* layout: form on the start side, sticky details on the end side */
.ct-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;margin-top:20px;align-items:start}
.ct-main{min-width:0}
.ct-side{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;position:sticky;top:84px;min-width:0}
@media (max-width:960px){.ct-grid{grid-template-columns:minmax(0,1fr)}.ct-side{position:static}}

/* cards */
.ct-card{padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--bg);min-width:0}
.ct-card-head{display:flex;align-items:flex-start;gap:14px;margin:0 0 22px}
.ct-card-head > div{min-width:0}
.ct-card h2{margin:0;font-size:18px;font-weight:500;line-height:1.4}
.ct-card-head p{margin:2px 0 0;color:var(--muted);font-size:14px;line-height:1.6}
.ct-ic{flex:0 0 40px;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--primary-soft);color:var(--on-soft)}

/* compact Material fields, as on add-place */
.ct .fm-stack{gap:20px}
.ct .fm-grid2{gap:20px 16px}
.ct .fm-input{min-height:48px;padding:11px 14px;font-size:15px}
.ct textarea.fm-input{min-height:150px}
.ct .fm-label{font-size:13px;font-weight:500;color:var(--muted)}
.ct .fm-field.has-error > .fm-label{color:var(--red)}
.ct .fm-opt{font-size:12px}
.ct .fm-picks{gap:8px;margin:2px 0 12px}
.ct .fm-pick{min-height:36px;padding:6px 16px;border-radius:999px;font-weight:500}
.ct .fm-pick:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:999px}
.ct .fm-alert{border-radius:12px}

/* submit row: a divider, then the pill button on the end side */
.ct-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:4px;padding-top:18px;border-top:1px solid var(--line)}
.ct-actions .btn{height:48px;padding:0 28px;border-radius:999px;font-size:15px;gap:10px;justify-content:center}
[dir=rtl] .ct-actions .btn svg{transform:scaleX(-1)}

/* sent state */
.ct .fm-done{padding:28px 4px 8px}
.ct .fm-done h2{margin:0 0 8px;font-size:22px;font-weight:500}

/* side: contact details as tappable rows */
.ct-info-card{padding:20px}
.ct-info-card h2{margin:0 0 10px;font-size:18px}
.ct-info{list-style:none;margin:0;padding:0}
.ct-info li + li{border-top:1px solid var(--line)}
.ct-row{display:flex;align-items:center;gap:14px;padding:12px 8px;margin:0 -8px;border-radius:12px;color:var(--text);min-width:0}
a.ct-row:hover{background:var(--surface)}
a.ct-row:focus-visible{outline:2px solid var(--focus);outline-offset:-2px;border-radius:12px}
.ct-row i{flex:0 0 40px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--soft,var(--primary-soft));color:var(--c,var(--on-soft));font-style:normal}
.ct-row > span{display:grid;min-width:0}
.ct-row small{font-size:13px;color:var(--muted);line-height:1.5}
.ct-row b{font-weight:500;font-size:15px;line-height:1.5;overflow-wrap:anywhere;justify-self:start;max-width:100%}
a.ct-row b{color:var(--primary)}

/* side: FAQ shortcut as one tappable card */
.ct-faq{display:flex;align-items:flex-start;gap:14px;padding:20px;border-radius:20px;background:var(--surface);color:var(--text);transition:background-color .15s}
.ct-faq:hover{background:var(--surface-2)}
.ct-faq:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:20px}
.ct-faq .ct-ic{background:var(--bg);color:var(--primary)}
.ct-faq-txt{display:grid;gap:2px;min-width:0}
.ct-faq-txt b{font-size:16px;font-weight:500;line-height:1.45}
.ct-faq-txt small{color:var(--muted);font-size:14px;line-height:1.6}
.ct-faq-txt em{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-style:normal;font-size:14px;font-weight:500;color:var(--primary)}
.ct-faq-txt em svg{transition:transform .15s}
[dir=rtl] .ct-faq-txt em svg{transform:scaleX(-1)}
.ct-faq:hover .ct-faq-txt em svg{transform:translateX(3px)}
[dir=rtl] .ct-faq:hover .ct-faq-txt em svg{transform:scaleX(-1) translateX(3px)}

/* phone */
@media (max-width:600px){
  .ct-hero{flex-direction:column;gap:14px;padding:20px 16px;border-radius:20px}
  .ct-hero-ic{flex:none;width:48px;height:48px;border-radius:14px}
  .ct-hero h1{font-size:24px}
  .ct-card{padding:20px 16px;border-radius:18px}
  .ct-info-card{padding:18px 16px}
  .ct-actions .btn{flex:1 1 100%}
  .ct-faq{padding:18px 16px}
}
@media (prefers-reduced-motion:reduce){.ct-faq,.ct-faq-txt em svg{transition:none}}

/* ===== Compass: a postcard. One wide card split down the middle: the message on the start half, the address half
   with a stamp, the addressee and the sender's own lines on the end half. Details and help follow under it as one strip. ===== */
.cr-eyebrow{margin:0 0 6px;font-size:12.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--primary)}
.ct .cr-pc-hero{padding:8px 0 0;border:0;border-radius:0;background:none}
.ct .cr-pc-hero h1{font-family:Georgia,"Noto Sans Arabic",serif;font-weight:600;font-size:34px}
.ct .cr-pc-grid{grid-template-columns:minmax(0,1fr);gap:18px}
.ct .cr-pc{padding:0;border-radius:4px;border:1px solid var(--line);box-shadow:var(--shadow)}
.cr-pc-form{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
.cr-pc-form>.fm-hp,.cr-pc-form>input[type=hidden]{position:absolute}
.cr-pc-msg{padding:28px}
.cr-pc-addr{position:relative;padding:28px;border-inline-start:2px solid var(--line);align-content:start}
.cr-pc-msg .ct-card-head{margin:0}
.cr-pc-msg .ct-card-head h2{font:600 24px/1.3 Georgia,"Noto Sans Arabic",serif}
.cr-pc-msg textarea.fm-input{min-height:240px;line-height:1.8}
.cr-pc-stamp{justify-self:end;display:grid;justify-items:center;gap:4px;width:92px;padding:10px 6px;border:2px dashed var(--primary);border-radius:2px;color:var(--primary);text-align:center}
.cr-pc-stamp span{font:600 11px/1.2 Georgia,"Noto Sans Arabic",serif;overflow-wrap:anywhere}
.cr-pc-to{display:grid;gap:2px;margin:0;padding-bottom:10px;border-bottom:1px solid var(--line)}
.cr-pc-to small{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.cr-pc-to b{font:600 19px/1.35 Georgia,"Noto Sans Arabic",serif}
.cr-pc-addr .fm-input{border-width:0 0 1px;border-radius:0;background:transparent;padding-inline:2px}
.cr-pc-addr .fm-input:focus{border-bottom-color:var(--focus);box-shadow:0 1px 0 0 var(--focus)}
.cr-pc-addr .fm-input:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.ct .cr-pc .ct-actions{border-top:0;padding-top:4px}
.ct .cr-pc .ct-actions .btn{border-radius:6px;width:100%}
.ct .cr-pc .fm-pick{border-radius:6px}
.ct .cr-pc .fm-done{padding:36px 28px}
.ct .cr-pc>.fm-alert{margin:20px 28px 0}
/* under the card: details and the help link side by side, not a sticky side column */
.ct .cr-pc-foot{position:static;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:stretch}
.ct .cr-pc-foot .ct-card,.ct .cr-pc-foot .ct-faq{border-radius:6px}
.ct .cr-pc-foot .ct-row i,.ct .cr-pc-foot .ct-ic{border-radius:50%;background:transparent;border:1px solid var(--line)}
@media (max-width:760px){
  .cr-pc-form{grid-template-columns:minmax(0,1fr)}
  .cr-pc-addr{border-inline-start:0;border-top:2px dashed var(--line);padding:22px 18px}
  .cr-pc-msg{padding:22px 18px}
  .cr-pc-stamp{position:absolute;top:18px;inset-inline-end:18px;width:76px}
  .cr-pc-to{padding-inline-end:90px;min-height:70px}
  .ct .cr-pc-hero h1{font-size:28px}
}
