/* PetoFast Events: organiser pages (teal and cream, like the vet pages; orange only as a small accent). */
.pfo, .pfd, .pfev-ngos { --pfo-t: #0f9e8f; --pfo-td: #0b6b60; --pfo-soft: #d9f3ef; --pfo-cream: #fff8ee; --pfo-line: #ecdcc6; --pfo-ink: #2b2118; --pfo-mut: #6b5b4d; }
.pfo-pulse { height: 15px; width: auto; flex: none; }
.pfo-preview { margin: 0 0 12px; padding: 9px 14px; border-radius: 12px; background: #fff6e0; border: 1.5px solid #f6c453; font-weight: 800; }
.pfo-safe { margin: 14px 0 0; font-size: 13px; color: var(--pfo-mut); }

/* the page */
.pfo-hero { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: center; padding: 22px 24px; margin: 0 0 8px; border-radius: 24px; background: var(--pfo-cream); overflow: hidden; }
.pfo-hero::before { content: ""; position: absolute; right: -110px; top: -140px; width: 440px; height: 440px; border-radius: 50%; background: var(--pfo-soft); opacity: .75; pointer-events: none; }
.pfo-hero::after { content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none; background: repeat 0 0/170px 106px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='106' viewBox='0 0 170 106'%3E%3Cg fill='%230b6b60' transform='translate(34 40) rotate(-14)'%3E%3Cellipse cx='0' cy='9' rx='17' ry='14'/%3E%3Cellipse cx='-24' cy='-3' rx='6' ry='9' transform='rotate(-25 -24 -3)'/%3E%3Cellipse cx='-8' cy='-17' rx='6' ry='9' transform='rotate(-8 -8 -17)'/%3E%3Cellipse cx='8' cy='-17' rx='6' ry='9' transform='rotate(8 8 -17)'/%3E%3Cellipse cx='24' cy='-3' rx='6' ry='9' transform='rotate(25 24 -3)'/%3E%3C/g%3E%3C/svg%3E"); }
.pfo-hero > * { position: relative; z-index: 1; }
.pfo-logo { position: relative; width: 160px; height: 160px; border-radius: 50%; padding: 5px; background: #fff; box-shadow: 0 0 0 3px var(--pfo-t), 0 14px 30px rgba(15, 100, 90, .18); }
.pfo-logo img, .pfo-logo > span:first-child { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--pfo-soft); color: var(--pfo-t); font: 800 64px/1 var(--head, system-ui); }
.pfo-seal { position: absolute; right: 2px; bottom: 6px; width: 36px; height: 36px; border-radius: 50%; background: var(--pfo-t); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; border: 3px solid #fff; }
.pfo-kicker { margin: 0 0 4px; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 12.5px; letter-spacing: .14em; color: var(--pfo-t); }
.pfo-id h1 { font-size: clamp(28px, 4.4vw, 44px); margin: 2px 0 4px; line-height: 1.1; }
.pfo-checked { margin: 0 0 6px; }
.pfo-checked span { display: inline-block; padding: 2px 11px; border-radius: 999px; background: #e1f6f3; color: var(--pfo-td); font-weight: 800; font-size: 13px; }
.pfo-tagline { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: var(--pfo-td); }
.pfo-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 14px; padding: 0; font-weight: 700; font-size: 14.5px; }
.pfo-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.pfo-btn, .pfn-help { background: var(--pfo-t); color: #fff; }
.pfo-btn:hover, .pfn-help:hover { background: #0b8a7d; color: #fff; }
.pfo-body { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 36px; align-items: start; }
.pfo-sec { padding: 20px 0 14px; border-top: 1px solid var(--pfo-line); }
.pfo-col > .pfo-sec:first-child { border-top: 0; }
.pfo-sec h2 { font-size: 22px; margin: 0 0 9px; display: flex; align-items: center; gap: 9px; }
.pfo-sec h2::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: var(--pfo-t); }
.pfo-about p { margin: 0 0 .75em; line-height: 1.65; font-size: 16px; }
.pfo-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.pfo-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; display: block; }
.pfo-lend { background: var(--pfo-cream); border: 1.5px solid #bfe6df; border-radius: 20px; padding: 18px 20px; margin: 18px 0 8px; }
.pfo-col > .pfo-lend { border-top: 1.5px solid #bfe6df; }
.pfo-lend { position: relative; margin-top: 54px; }
.pfo-lend-art { position: absolute; right: 22px; bottom: 100%; width: 150px; line-height: 0; margin-bottom: -2px; pointer-events: none; }
.pfo-pets { width: 100%; height: auto; display: block; }
.pfo-lead { margin: 0 0 10px; font-size: 16px; }
.pfo-ways { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; padding: 0; }
.pfo-ways li { padding: 5px 13px; border-radius: 999px; background: #fff; border: 1.5px solid #b6e8e1; color: var(--pfo-td); font-weight: 800; font-size: 14px; }
.pfo-ways li::before { content: "🐾 "; }
.pfo-waynote { margin: 0 0 12px; color: var(--pfo-ink); }
.pfo-contacts { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.pfo-past { margin: 0; padding-left: 18px; }
.pfo-past small { color: var(--pfo-mut); }
.pfo-side { position: sticky; top: 18px; display: grid; gap: 14px; padding-top: 18px; }
.pfo-panel { background: #fff; border: 1.5px solid #cfe9e5; border-radius: 18px; padding: 14px 16px; box-shadow: 0 8px 22px rgba(15, 100, 90, .07); }
.pfo-panel h3 { font-size: 17px; margin: 0 0 6px; }
.pfo-panel p { margin: 0 0 3px; color: var(--pfo-mut); font-weight: 700; font-size: 14px; }
.pfo-ok { color: #0f8a7e !important; font-weight: 800 !important; }
.pfo-declared { font-style: italic; }
.pfo-report { font-size: 13.5px; color: var(--pfo-mut); }
.pfo-report summary { cursor: pointer; font-weight: 700; }
.pfo-report form { margin-top: 8px; }

/* the directory */
.pfo-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.pfo-kick { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 12.5px; letter-spacing: .16em; color: var(--pfo-t); }
.pfo-head h1 { font-size: clamp(26px, 4vw, 40px); margin: 2px 0 4px; }
.pfo-head-art { flex: none; width: 210px; height: auto; margin-bottom: 6px; }
.pfo-filters { grid-template-columns: 2fr 1fr auto; }
.pfn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }

/* a card (directory and home slider) */
.pfn-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 16px 14px 14px; background: #fff; border: 1.5px solid var(--pfo-line); border-radius: 20px; box-shadow: 0 6px 18px rgba(15, 100, 90, .07); transition: transform .2s, box-shadow .2s; }
.pfn-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(15, 158, 143, .18); }
.pfn-photo { text-decoration: none; display: block; width: 84px; height: 84px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, #8adbd0, var(--pfo-t)); box-shadow: 0 6px 16px rgba(15, 158, 143, .25); margin-bottom: 6px; overflow: hidden; }
.pfn-photo img, .pfn-photo span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; color: var(--pfo-t); font: 800 30px/1 var(--head, system-ui); border: 3px solid #fff; box-sizing: border-box; }
.pfn-card h3 { margin: 2px 0 0; font-size: 17px; line-height: 1.2; }
.pfn-card h3 a { color: var(--pfo-ink); text-decoration: none; }
.pfn-tick { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--pfo-t); color: #fff; font-size: 11px; font-weight: 800; vertical-align: 2px; }
.pfn-meta { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--pfo-mut); }
.pfn-tag { margin: 4px 0 4px; font-size: 14px; font-weight: 700; color: var(--pfo-td); min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pfn-event { display: inline-block; max-width: 100%; margin: 0 0 6px; padding: 3px 10px; border-radius: 999px; background: #fff0e0; border: 1px solid #ffd9b0; color: #8a4a00; font-weight: 800; font-size: 12px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pfn-event.is-none { visibility: hidden; height: 22px; }
.pfn-acts { display: flex; gap: 8px; width: 100%; margin-top: auto; }
.pfn-acts .ev-btn { flex: 1; padding: 9px 8px; font-size: 14px; text-align: center; }

/* the home slider */
.pfn-slider { position: relative; }
.pfn-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 10px; -webkit-overflow-scrolling: touch; }
.pfn-track::-webkit-scrollbar { display: none; }
.pfn-track .pfn-card { flex: 0 0 min(260px, 78%); scroll-snap-align: start; }
.pfn-arrow { position: absolute; top: 42%; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); font-size: 22px; line-height: 1; cursor: pointer; color: var(--pfo-ink); }
.pfn-arrow.is-prev { left: -8px; } .pfn-arrow.is-next { right: -8px; }
.pfn-arrow:disabled { opacity: .35; cursor: default; }
.pfn-slider.is-static .pfn-arrow { display: none; }
.pfn-dots { display: flex; justify-content: center; gap: 7px; margin-top: 8px; }
.pfn-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #cfe9e5; cursor: pointer; }
.pfn-dots button[aria-current="true"] { background: var(--pfo-t); width: 22px; border-radius: 5px; }
@media (max-width: 640px) { .pfn-arrow { display: none; } .pfo-head-art { width: 120px; } .pfo-lend-art { width: 110px; right: 14px; } }

/* the dashboard */
.pfd-badge { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: #f97316; color: #fff; font-size: 12px; text-align: center; }
.pfd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 14px; }
.pfd-stats-5 { grid-template-columns: repeat(5, 1fr); }
.pfd-stats div { background: #fff; border: 1.5px solid var(--pfo-line); border-radius: 16px; padding: 10px 6px; text-align: center; }
.pfd-stats b { display: block; font: 800 24px/1.1 var(--head, system-ui); color: var(--pfo-td); }
.pfd-stats span { font-size: 12.5px; color: var(--pfo-mut); font-weight: 700; }
.pfd-gh { font-size: 17px; margin: 18px 0 8px; }
.pfd-me { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; }
.pfd-me-logo { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--pfo-soft); display: grid; place-items: center; font: 800 26px/1 var(--head, system-ui); color: var(--pfo-t); flex: none; box-shadow: 0 0 0 2.5px var(--pfo-t); }
.pfd-me-logo img { width: 100%; height: 100%; object-fit: cover; }
.pfd-me p { margin: 4px 0 0; }
.pfd-chip { display: inline-block; padding: 2px 11px; border-radius: 999px; background: #efe8de; font-weight: 800; font-size: 12.5px; }
.pfd-chip.is-live { background: #e1f6f3; color: var(--pfo-td); }
.pfd-chip.is-pending { background: #fff0e0; color: #8a4a00; }
.pfd-chip.is-paused { background: #fdecea; color: #b42318; }
.pfd-todo { color: #b45309; font-weight: 800; font-size: 13px; }
.pfd-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pfd-rows a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1.5px solid var(--pfo-line); border-radius: 16px; color: var(--pfo-ink); text-decoration: none; }
.pfd-rows a:hover { border-color: #9fd9d1; }
.pfd-ico { font-size: 22px; width: 34px; text-align: center; }
.pfd-txt { flex: 1; min-width: 0; }
.pfd-txt b { display: block; }
.pfd-txt small { display: block; color: var(--pfo-mut); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pfd-dot { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; flex: none; }
.pfd-go { font-size: 22px; color: var(--pfo-mut); }
.pfd-back { margin: 0 0 4px; font-weight: 800; }
.pfd-sh { font-size: 22px; margin: 4px 0 12px; }
.pfd-warn { margin: 0 0 12px; padding: 9px 12px; border-radius: 12px; background: #fff6e0; border: 1px solid #f6c453; font-weight: 700; font-size: 14px; }
.pfd-small { max-width: 140px; }
.pfd-line { display: grid; grid-template-columns: 130px 1fr; gap: 10px; align-items: center; margin: 10px 0; }
.pfd-up { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pfd-up-prev { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--pfo-soft); display: grid; place-items: center; font-size: 28px; flex: none; }
.pfd-up-prev img { width: 100%; height: 100%; object-fit: cover; }
.pfd-pick { cursor: pointer; }
.pfd-gal { display: flex; flex-wrap: wrap; gap: 8px; }
.pfd-gal figure { position: relative; margin: 0; width: 84px; height: 84px; }
.pfd-gal figure img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.pfd-gal figure button { position: absolute; right: -6px; top: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: #b42318; color: #fff; cursor: pointer; line-height: 1; }
.pfd-gal-add { width: 84px; height: 84px; border: 2px dashed #9fd9d1; border-radius: 12px; display: grid; place-items: center; font-size: 28px; color: var(--pfo-t); cursor: pointer; }
.pfd-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.pfd-miss { margin: 6px 0 12px; padding-left: 20px; }
.pfd-studio { padding: 14px; }
.pfd-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 9999; padding: 11px 18px; border-radius: 999px; background: var(--pfo-td); color: #fff; font-weight: 800; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); transition: opacity .4s; }
.pfd-toast.is-off { opacity: 0; }

@media (max-width: 860px) {
	.pfo-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; padding: 20px 16px; }
	.pfo-logo { width: 140px; height: 140px; }
	.pfo-kicker, .pfo-facts, .pfo-cta { justify-content: center; }
	.pfo-body { grid-template-columns: 1fr; gap: 0; }
	.pfo-side { position: static; }
	.pfd-stats-5 { grid-template-columns: repeat(3, 1fr); }
	.pfd-line { grid-template-columns: 1fr; }
}

/* the designer (Promote) */
.pfs-opts { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin: 0 0 10px; }
.pfs-opts label { display: block; font-weight: 800; font-size: 13px; }
.pfs-opts select { width: 100%; margin-top: 4px; padding: 9px 10px; border: 1.5px solid var(--pfo-line); border-radius: 12px; font: inherit; background: #fff; }
.pfs-checks { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 12px; font-weight: 700; font-size: 14px; }
.pfs-fmts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0 0 14px; }
.pfs-fmt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; text-align: left; background: #fff; border: 1.5px solid var(--pfo-line); border-radius: 14px; cursor: pointer; font: inherit; color: var(--pfo-ink); }
.pfs-fmt span { font-size: 22px; }
.pfs-fmt small { color: var(--pfo-mut); font-weight: 600; font-size: 12px; }
.pfs-fmt.is-on { border-color: var(--pfo-t); background: var(--pfo-soft); }
.pfs-stage { position: relative; background: #efe8de; border-radius: 16px; padding: 12px; display: grid; place-items: center; min-height: 160px; }
.pfs-prev { max-width: 100%; max-height: 640px; width: auto; height: auto; border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); background: #fff; }
.pfs-wait { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .7); font-weight: 800; border-radius: 16px; }
.pfs-pages { display: flex; justify-content: center; gap: 8px; margin: 10px 0 0; }
.pfs-pages .is-on { background: var(--pfo-soft); border-color: var(--pfo-t); }
.pfs-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 6px; }
@media (max-width: 640px) { .pfs-opts { grid-template-columns: 1fr; } }

/* the HTML "hidden" attribute must win over the button and card styles above */
.pfd [hidden], .pfs [hidden], .pfn-slider [hidden], .pfn-dots[hidden] { display: none !important; }
