/* Club Exclusive Group: styles for the dynamic (WordPress) markup. */

/* Initials tile when a listing has no website screenshot */
.ce-initials { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-display); font-size: 56px; font-weight: 600; color: var(--white); background: radial-gradient(circle at 30% 30%, rgba(177, 60, 203, 0.45), transparent 60%), var(--ink); }

/* Website screenshots: full brightness, pinned to the top of the page */
.project__media > img { filter: none; object-position: top; }
.project:hover .project__media > img { filter: brightness(0.85); }
.row-item__media img { object-position: top; }
.project__title a, .row-item__title a, .listing-intro .title a { color: inherit; }
.ce-badge { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 14px; border-radius: 30px; font-size: 13px; font-weight: 600; color: var(--white); background-color: var(--accent); }
.ce-hero-shot > a { position: absolute; inset: 0; display: block; }
.ce-hero-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; filter: none; }

/* A–Z category rows: small category photo */
.cat-index__item > span { display: inline-flex; align-items: center; gap: 12px; }
.ce-cat-thumb { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; object-fit: cover; }
.cat-index__item .count { opacity: 0.6; font-size: 0.85em; }

/* Pagination (the design has none) */
.ce-pager { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 50px; }
.ce-pager .page-numbers { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 14px; border: 1px solid var(--border); border-radius: 30px; font-weight: 600; color: var(--ink); transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease); }
.ce-pager a.page-numbers:hover, .ce-pager .page-numbers.is-current { color: var(--white); background-color: var(--accent); border-color: var(--accent); }
.ce-empty { padding: 50px 30px; text-align: center; }

/* Listing content and reviews */
.ce-content p + p { margin-top: 14px; }
.ce-reviews { display: grid; gap: 14px; margin-top: 24px; }
.ce-review { padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); }
.ce-review p { margin: 8px 0 0; }
.ce-stars { color: #f5b301; letter-spacing: 2px; }

/* Single post: body, FAQ (+ / −), footer */
.ce-post-body > * + * { margin-top: 18px; }
.ce-post-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.ce-post-faq { margin-top: 40px; }
.ce-post-faq h2 { margin-bottom: 16px; }
.ce-faq { border-bottom: 1px solid var(--border); }
.ce-faq summary { position: relative; padding: 18px 40px 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
.ce-faq summary::-webkit-details-marker { display: none; }
.ce-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; line-height: 1; color: var(--accent); }
.ce-faq[open] summary::after { content: "\2212"; }
.ce-faq__a { padding-bottom: 18px; }
.ce-post-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.ce-post-foot .social-text { display: flex; gap: 14px; align-items: center; }
.ce-updated { opacity: 0.7; }

/* Slide-in reveals must never widen the page; grid children may shrink */
html, body { overflow-x: clip; }
.with-sidebar > *, .contact-layout > * { min-width: 0; }
