/* ============================================================
   COULSDON CLUB – MEMBERS HUB CSS
   Learn2 theme customisation
   ============================================================ */


/* ============================================================
   1. GLOBAL TYPOGRAPHY (tight site layout)
   ============================================================ */

body {
  font-size: 17px;
  line-height: 1.5;
}

/* tighter headings */

h1 { margin-top: 1.2rem; margin-bottom: 0.6rem; }
h2 { margin-top: 1rem;  margin-bottom: 0.4rem; }
h3 { margin-top: 0.8rem; margin-bottom: 0.3rem; }
h4, h5, h6 { margin-top: 0.6rem; margin-bottom: 0.25rem; }

/* compact paragraph spacing */

p {
  margin-bottom: 0.6rem;
}

/* lists */

ul, ol {
  margin-top: 0.3rem;
  margin-bottom: 0.6rem;
}

li {
  margin-bottom: 0.2rem;
}

/* horizontal rule */

hr {
  margin: 1rem 0;
}


/* ============================================================
   2. INFORMATION PANELS
   ============================================================ */

/* page instructions or notices */

.cc-info-header {
  background: #f4f7fb;
  border-left: 4px solid #3a6ea5;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  border-radius: 6px;
}

.cc-info-header h2,
.cc-info-header h3 {
  margin-top: 0;
}

.cc-info-links a {
  display: inline-block;
  margin-right: 1rem;
  font-weight: 600;
}


/* ============================================================
   3. PAGE META + CONTACT
   ============================================================ */

.cc-page-meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-size: 0.95rem;
  color: #666;
}

.cc-page-contact {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
}


/* ============================================================
   4. EMBEDDED CONTENT
   ============================================================ */

iframe {
  margin-top: 1rem;
}

/* PDF viewer */

.cc-pdf-wrap {
  max-width: 1200px;
  margin: 1.5rem auto;
}

.cc-pdf-iframe {
  width: 100%;
  height: 85vh;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 6px;
}


/* ============================================================
   5. SITEMAP
   ============================================================ */

.cc-sitemap {
  max-width: 1100px;
  margin: 0 auto;
}

.cc-sitemap .cc-sitemap-level-2 { margin-left: 1.25rem; }
.cc-sitemap .cc-sitemap-level-3 { margin-left: 2.5rem; }
.cc-sitemap .cc-sitemap-level-4 { margin-left: 3.75rem; }

.cc-sitemap-header {
  margin: 1rem 0 0.5rem;
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  font-weight: 600;
}

.cc-sitemap-row {
  display: grid;
  grid-template-columns: 1fr 10rem;
  gap: 0.75rem;
}


/* ============================================================
   6. SIDEBAR NAVIGATION (accordion)
   ============================================================ */

#sidebar .cc-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

#sidebar .cc-nav-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0;
}

/* indentation */

#sidebar .cc-nav-level-1 { padding-left: 0.25rem; }
#sidebar .cc-nav-level-2 { padding-left: 1.2rem; }
#sidebar .cc-nav-level-3 { padding-left: 2.2rem; }

/* toggle arrow */

#sidebar .cc-nav-toggle {
  width: 1.2rem;
  height: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  color: rgba(255,255,255,0.8);
}

#sidebar .cc-nav-toggle:hover {
  color: white;
}

#sidebar .cc-nav-toggle-blank {
  width: 1.2rem;
}


/* links */

#sidebar .cc-nav-link {
  text-decoration: none;
  color: rgba(255,255,255,0.92);
}

#sidebar .cc-nav-link:hover {
  text-decoration: underline;
}


/* active page */

#sidebar .cc-nav-item.active > .cc-nav-row > .cc-nav-link {
  background: #2f6fad;
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
}


/* parent section */

#sidebar .cc-nav-item.parent > .cc-nav-row > .cc-nav-link {
  color: #2f6fad;
  font-weight: 600;
}


/* collapsed children */

#sidebar .cc-nav-children.is-hidden {
  display: none;
}


/* see more link */

#sidebar .cc-nav-see-more-link {
  font-size: 0.85rem;
  text-decoration: underline;
  opacity: 0.75;
  color: rgba(255,255,255,0.92);
}

#sidebar .cc-nav-see-more-link:hover {
  opacity: 1;
}


/* ============================================================
   7. SIDEBAR CONTROLS
   ============================================================ */

#sidebar .cc-nav-reset {
  display: inline-block;
  margin: 0.5rem 0.5rem 0.25rem 0.5rem;
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1.2;
}

#sidebar .cc-nav-reset:hover {
  background: rgba(255,255,255,0.18);
}


/* ============================================================
   8. FOOTER
   ============================================================ */

.cc-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.95rem;
  text-align: center;
}

.cc-footer-meta {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #777;
}

.cc-footer-separator {
  border-top: 1px solid rgba(0,0,0,0.15);
  max-width: 600px;
  margin: 0 auto 1rem auto;
}

/* Better separation for footer content */
#footer {
  font-size: 0.95rem;
}

#footer p,
#footer .cc-footer-meta,
#footer .cc-page-meta,
#footer .cc-footer-disclaimer {
  color: #555;
  line-height: 1.5;
}
.cc-footer-meta {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #555;
}

.cc-footer-copyright {
  margin-top: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #777;
}

/* ============================================================
   9. EMBED HTML PAGE / WIDGET PAGE
   ============================================================ */

.cc-embed-page .cc-embed-intro {
  margin-bottom: 1rem;
}

.cc-embed-frame-wrap {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.cc-embed-frame-wrap iframe {
  display: block;
  width: 100%;
  height: var(--cc-embed-height, 700px);
  border: 0;
}

.cc-embed-html-wrap iframe {
  max-width: 100%;
}

@media (max-width: 768px) {
  .cc-embed-frame-wrap iframe {
    height: 500px;
  }
}

.cc-embed-link {
  margin-top: 1rem;
}

.cc-embed-error {
  padding: 1rem;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  background: #fafafa;
}

.cc-widget-wrap {
  width: 100%;
}

.cc-youtube-wrap {
  width: 100%;
  height: var(--cc-youtube-height, 450px);
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.cc-youtube-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   10. CONSULTATION NOTICE STYLING
   ============================================================ */

.admonition.note {
  border-left: 5px solid #2c6ed5;
  background: #f3f7ff;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  border-radius: 6px;
}

.admonition.note .admonition-title {
  font-weight: 600;
  color: #1f4fa3;
}

.admonition.note p {
  margin-bottom: 0.5rem;
}

.admonition.note ul {
  margin-top: 0.5rem;
}


/* ============================================================
   11. PAGE FEEDBACK
   ============================================================ */

.cc-page-feedback {
  font-size: 0.9rem;
}

.cc-page-feedback-label {
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.cc-page-feedback-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.cc-feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cc-feedback-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.cc-feedback-text {
  font-size: 0.8rem;
}

.cc-feedback-btn:hover:not(.is-disabled) {
  background: #f5f5f5;
  border-color: #ccc;
}

.cc-feedback-btn.is-selected {
  background: #e9f5ff;
  border-color: #66aee6;
  font-weight: 600;
}

.cc-feedback-btn.is-disabled {
  opacity: 0.5;
  cursor: default;
}

.cc-page-feedback-message {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: #555;
}

.cc-page-feedback-closed-message {
  font-size: 0.85rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f8f8f8;
  color: #555;
}

/* ============================================================
   12. PAGE FEEDBACK SUMMARY (attached to prompt, not footer)
   ============================================================ */

.cc-page-feedback-stats {
  margin-top: 0.6rem;      /* small gap from buttons */
  margin-bottom: 1.8rem;   /* space before footer */
  padding-top: 0.6rem;
  border-top: 1px solid #eee;   /* lighter divider */
}

.cc-page-feedback-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  align-items: center;
}

.cc-feedback-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  background: #fafafa;
  font-size: 0.8rem;
  line-height: 1.2;
  color: #444;
}

.cc-feedback-stat-label {
  color: #777;
  font-weight: 500;
}

.cc-feedback-stat strong {
  font-size: 0.82rem;
  color: #222;
}

.cc-feedback-unit {
  color: #777;
  margin-left: -0.1rem;
}

.cc-feedback-note {
  font-size: 0.8rem;
  color: #777;
  font-style: italic;
  margin-left: 0.2rem;
}
/* ============================================================
  13.  WHAT'S NEW PAGE
   ============================================================ */

.cc-whats-new-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.cc-whats-new-item {
  padding: 0.9rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
}

.cc-whats-new-title {
  margin: 0 0 0.35rem 0;
}

.cc-whats-new-title a {
  text-decoration: none;
}

.cc-whats-new-title a:hover {
  text-decoration: underline;
}

.cc-whats-new-meta {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 0.45rem;
}

.cc-whats-new-summary {
  font-size: 0.95rem;
  color: #444;
}

.cc-whats-new-section {
  margin-top: 2rem;
}

/* ============================================================
  13.  Comment Form
   ============================================================ */
.form-field-honeypot {
    display: none !important;
}

.form-honeybear {
    display: none !important;
}

.comment-form .form-row {
    display: flex;
    gap: 10px;
}

.comment-form .form-field {
    flex: 1;
}

/* ============================================================
   14. SERVICE LANDING PAGES
   ============================================================ */

.cc-service-body {
  margin: 0;
  padding: 0;
  background: #f4f4f1;
  color: #1f2f46;
}

.cc-service-landing {
  width: 100%;
  margin: 0;
  padding: 0;
}

.cc-service-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2rem;
  box-sizing: border-box;
}

.cc-service-header {
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  text-align: left;
}

.cc-service-header-top {
  text-align: center;
  margin-bottom: 1rem;
}

.cc-service-brand {
  display: inline-block;
}

.cc-service-logo {
  max-width: 180px;
  height: auto;
}

.cc-service-title-wrap {
  text-align: center;
  margin-bottom: 1rem;
}

.cc-service-title-wrap h1 {
  margin: 0;
}

.cc-service-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.cc-service-content h2,
.cc-service-content h3,
.cc-service-content h4,
.cc-service-content p,
.cc-service-content ul,
.cc-service-content ol,
.cc-service-content li {
  text-align: left;
}

.cc-service-content p:last-child {
  margin-bottom: 0;
}

.cc-service-content-main {
  max-width: 900px;
  margin: 0 auto 1rem auto;
  text-align: left;
}

.cc-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1rem 0;
}

.cc-service-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 2.45rem;
  padding: 0.55rem 0.95rem;
  border: 0;
  border-radius: 6px;
  background: #1f2f46;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.cc-service-actions .button:hover,
.cc-service-actions .button:focus {
  background: #2d4465;
  color: #fff !important;
  text-decoration: none;
}

.cc-service-frame-wrap {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.cc-service-frame-wrap iframe {
  display: block;
  width: 100%;
  min-height: 1100px;
  border: 0;
}

.cc-service-link-panel,
.cc-service-error {
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

.cc-service-widget-wrap {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  padding: 1rem;
  box-sizing: border-box;
}

.cc-service-html-wrap {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  background: #ffffff;
  padding: 1.5rem;
  box-sizing: border-box;
  overflow-x: auto;
}

.cc-service-html-wrap .ml-form-embedContainer {
  width: 100% !important;
  max-width: 100% !important;
}

.cc-service-html-wrap .ml-form-embedWrapper {
  max-width: 700px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.cc-service-frame-wrap,
.cc-service-link-panel,
.cc-service-error,
.cc-service-widget-wrap,
.cc-service-html-wrap {
  margin-bottom: 2rem;
}

.cc-service-footer {
  background: #0b1b37;
  color: #ffffff;
  border-top: 4px solid #c8a24a;
  margin-top: 2rem;
}

.cc-service-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.cc-service-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.cc-service-footer h3,
.cc-service-footer h4,
.cc-service-footer h5 {
  margin-top: 0;
  color: #c8a24a;
}

.cc-service-footer p,
.cc-service-footer li,
.cc-service-footer a,
.cc-service-footer div,
.cc-service-footer span {
  color: #ffffff;
}

.cc-service-footer a {
  text-decoration: underline;
}

.cc-service-footer a:hover {
  color: #c8a24a;
}

.cc-service-attribution {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  font-size: 0.95rem;
  color: #ffffff;
}

@media (max-width: 900px) {
  .cc-service-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cc-service-shell {
    padding: 0.75rem 0.75rem 1.5rem;
  }

  .cc-service-header {
    padding: 1rem;
  }

  .cc-service-actions {
    flex-direction: column;
    align-items: center;
  }

  .cc-service-frame-wrap iframe {
    min-height: 1000px;
  }
}

/* ============================================================
   15. CLUB CALENDAR / STAFF DIARY
   ============================================================ */

.cc-club-calendar .cc-service-shell {
  max-width: 1080px;
}

.cc-diary-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.cc-diary-toolbar > div {
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 0.85rem 1rem;
}

.cc-diary-toolbar strong,
.cc-diary-toolbar span {
  display: block;
}

.cc-diary-toolbar strong {
  color: #1f2f46;
  font-size: 1.3rem;
  line-height: 1.2;
}

.cc-diary-toolbar span {
  color: #5d6673;
  font-size: 0.9rem;
}

.cc-diary-list {
  display: grid;
  gap: 0.85rem;
}

.cc-diary-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 1rem;
  margin: 0 0 1rem;
}

.cc-diary-filter label {
  color: #34445c;
  font-weight: 700;
}

.cc-diary-filter input[type="date"] {
  min-height: 2.4rem;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  font: inherit;
}

.cc-diary-type-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border: 0;
  margin: 0;
  padding: 0;
}

.cc-diary-type-filter legend {
  color: #34445c;
  font-weight: 700;
  padding: 0;
  margin-bottom: 0.25rem;
  width: 100%;
}

.cc-diary-type-filter label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  background: #f7f8fa;
  padding: 0.25rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.cc-diary-type-filter input {
  margin: 0;
}

.cc-diary-entry {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 1rem;
  box-sizing: border-box;
}

.cc-diary-entry.is-past {
  opacity: 0.72;
}

.cc-diary-date {
  align-self: start;
  text-align: center;
  border: 1px solid #c8a24a;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f5eb;
}

.cc-diary-day,
.cc-diary-number,
.cc-diary-month {
  display: block;
}

.cc-diary-day {
  background: #0b1b37;
  color: #ffffff;
  font-weight: 700;
  padding: 0.35rem 0.5rem;
}

.cc-diary-number {
  color: #1f2f46;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.65rem 0 0.25rem;
}

.cc-diary-month {
  color: #5d6673;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0 0.5rem 0.65rem;
  text-transform: uppercase;
}

.cc-diary-main h2 {
  margin: 0.25rem 0 0.2rem;
  color: #1f2f46;
  font-size: 1.35rem;
}

.cc-diary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.cc-diary-meta span {
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  color: #34445c;
  background: #f7f8fa;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
}

.cc-diary-time,
.cc-diary-contact {
  color: #34445c;
  margin: 0.25rem 0;
}

.cc-diary-notes {
  margin-top: 0.55rem;
  color: #28384f;
}

.cc-diary-notes p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .cc-diary-toolbar,
  .cc-diary-entry {
    grid-template-columns: 1fr;
  }

  .cc-diary-date {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
  }

  .cc-diary-day,
  .cc-diary-number,
  .cc-diary-month {
    padding: 0.5rem;
  }

  .cc-diary-number {
    font-size: 1.7rem;
  }
}
/* ============================================================
   16. ERROR SERVICE LANDING PAGE
   ============================================================ */
.cc-service-header h1 {
  text-align: center;
}

.cc-service-header p {
  text-align: center;
}
/* ============================================================
   17. PAYMENT / EVENT PAGE
   ============================================================ */

.cc-payment-page {
  max-width: 1100px;
  margin: 0 auto;
}

.cc-payment-card {
  display: grid;
  grid-template-columns: minmax(320px, 48%) minmax(0, 1fr);
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(45, 52, 66, 0.12);
  margin: 1.5rem 0;
}

.cc-payment-card__image {
  width: 100%;
  text-align: center;
  background: #f7f7f7;
  padding: 0;
  box-sizing: border-box;
}

.cc-payment-card__image img,
.cc-payment-card__poster {
  display: block;
  width: 100%;
  max-width: none;
  max-height: none;
  height: 100%;
  min-height: 420px;
  padding: 0;
  object-fit: contain;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
}

.cc-payment-card__body {
  padding: 2rem;
  box-sizing: border-box;
}

.cc-payment-card__title,
.cc-payment-card__date,
.cc-payment-card__description,
.cc-payment-card__intro,
.cc-payment-card__actions,
.cc-payment-card__details,
.cc-payment-card__note {
  margin-left: 0;
  margin-right: 0;
}

.cc-payment-card__title {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 2.15rem;
  line-height: 1.05;
}

.cc-payment-card__date {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.cc-payment-card__partnership {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.15rem;
  margin: 0.25rem 0 1.25rem 0;
  padding: 1rem;
  background: #f7f7f7;
  border-left: 4px solid #8b0000;
  border-radius: 8px;
}

.cc-payment-card__partner-logo {
  display: block;
  width: auto;
  max-width: 260px;
  max-height: 116px;
  height: auto;
  object-fit: contain;
}

.cc-payment-card__partner-with {
  color: #666;
  font-size: 0.9rem;
}

.cc-payment-card__partner-name {
  font-weight: 700;
}

.cc-payment-card__description {
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f7f4f1;
  border-left: 4px solid #2d3442;
  border-radius: 8px;
  line-height: 1.5;
}

.cc-payment-card__content {
  margin: 0 0 1.2rem 0;
  padding: 1rem;
  border: 1px solid #e0d8cf;
  border-radius: 8px;
  background: #fffdf9;
}

.cc-payment-card__content p:first-child {
  margin-top: 0;
}

.cc-payment-card__content p:last-child {
  margin-bottom: 0;
}

.cc-payment-card__description p:first-child,
.cc-payment-card__note p:first-child {
  margin-top: 0;
}

.cc-payment-card__description p:last-child,
.cc-payment-card__note p:last-child {
  margin-bottom: 0;
}

.cc-payment-card__intro {
  padding: 1rem;
  background: #1f2f46;
  color: #fff;
  border: 2px solid #c8a24a;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  margin: 1.25rem 0 0 0;
}

.cc-payment-card__intro p {
  margin: 0;
}

.cc-payment-card__compliance {
  margin: 1rem 0;
  padding: 0.75rem 0.85rem;
  background: #f8fafc;
  border: 1px solid #d7dee8;
  border-radius: 8px;
}

.cc-payment-card__compliance h2 {
  margin: 0 0 0.45rem 0;
  font-size: 1rem;
}

.cc-payment-card__compliance-text {
  margin-bottom: 0.45rem;
}

.cc-payment-card__compliance-text p:first-child {
  margin-top: 0;
}

.cc-payment-card__compliance-text p:last-child {
  margin-bottom: 0;
}

.cc-payment-card__compliance-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0.45rem 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.95rem;
}

.cc-payment-card__compliance-links li {
  margin: 0;
}

.cc-payment-card__controller-note {
  margin: 0.45rem 0;
  color: #444;
  font-size: 0.9rem;
}

.cc-payment-card__controller-note p:first-child {
  margin-top: 0;
}

.cc-payment-card__controller-note p:last-child {
  margin-bottom: 0;
}

.cc-payment-card__acceptance {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 0.6rem;
  font-weight: 600;
  line-height: 1.4;
  font-size: 0.95rem;
}

.cc-payment-card__event-membership {
  padding-top: 0.75rem;
  border-top: 1px solid #d7dee8;
}

.cc-payment-card__acceptance input {
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.cc-payment-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.25rem 0;
  padding: 1rem;
  border: 2px solid #c8a24a;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #1f2f46;
}

.cc-payment-card__action {
  margin: 0;
}

.cc-payment-card__button {
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.1rem;
  border-radius: 8px;
  color: #fff !important;
  border: 0;
}

.cc-payment-card__button.is-disabled,
.cc-payment-card__button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.48;
}

.cc-payment-card__button:hover,
.cc-payment-card__button:focus {
  text-decoration: none;
  opacity: 0.92;
}

.cc-payment-card__button--members {
  background: #2e7d32;
}

.cc-payment-card__button--event-members {
  background: #c8a24a;
  color: #172236 !important;
}

.cc-payment-card__details {
  margin-top: 1rem;
}

.cc-payment-card__supplier {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: center;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: #f7f7f7;
  border-radius: 8px;
}

.cc-payment-card__note {
  margin-top: 1rem;
  font-size: 0.98rem;
}

.cc-event-offers {
  max-width: 1100px;
  margin: 1.5rem auto;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(45, 52, 66, 0.10);
}

.cc-event-offers__header {
  margin-bottom: 1.25rem;
  padding: 1.1rem 1.2rem;
  border-radius: 8px;
  background: #2d3442;
  color: #fff;
}

.cc-event-offers__header h2 {
  margin: 0 0 0.5rem 0;
  color: #fff;
}

.cc-event-offers__header p {
  margin: 0;
}

.cc-event-offers__box {
  margin: 0 0 1.25rem 0;
  padding: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  background: #fefefe;
}

.cc-event-offers__box legend {
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  background: #8b0000;
  color: #fff;
  font-weight: 700;
}

.cc-event-offer-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 120px;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
  padding: 0.85rem;
  border: 1px solid #d8d2ca;
  border-radius: 8px;
  background: #fff;
}

.cc-event-offer-card__image,
.cc-event-offer-card__placeholder {
  width: 150px;
  height: 132px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}

.cc-event-offer-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  text-align: center;
  background: #f2e7e7;
  color: #5f1010;
  font-weight: 700;
  box-sizing: border-box;
}

.cc-event-offer-card h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.05rem;
}

.cc-event-offer-card__meta {
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  color: #8b0000;
}

.cc-event-offer-card__qty {
  padding: 0.65rem;
  border-radius: 6px;
  background: #f6f3ef;
}

.cc-event-offer-card__qty span,
.cc-event-offers__grid label span {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.cc-event-offer-card__qty input {
  width: 90px;
}

.cc-event-offers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.cc-event-offers__form input,
.cc-event-offers__form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.45rem;
  box-sizing: border-box;
}

.cc-event-offers__checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 0.85rem;
}

.cc-event-offers__checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

.cc-event-offers__total {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 0.85rem;
  border: 1px solid #d8d2ca;
  border-left: 4px solid #8b0000;
  border-radius: 6px;
  background: #fff7f7;
}

.cc-event-offers__error {
  margin: 0 0 1rem 0;
  padding: 0.75rem;
  border: 1px solid #b90000;
  border-left: 4px solid #b90000;
  background: #fff3f3;
  color: #6a0000;
  font-weight: 700;
}

.cc-event-offers__notice {
  margin-top: 1rem;
  color: #444;
  font-size: 0.94rem;
}

.cc-event-offers__submit {
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 6px;
  background: #8b0000;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.cc-event-offers__submit:hover,
.cc-event-offers__submit:focus {
  background: #a00000;
}

@media (max-width: 768px) {
  .cc-payment-card {
    display: block;
  }

  .cc-payment-card__image img,
  .cc-payment-card__poster {
    height: auto;
    min-height: 0;
    max-height: 620px;
    object-fit: contain;
  }

  .cc-payment-card__body {
    padding: 1.25rem;
  }

  .cc-payment-card__title {
    font-size: 1.7rem;
  }

  .cc-payment-card__partner-logo {
    max-width: 220px;
    max-height: 100px;
  }

  .cc-payment-card__actions {
    display: block;
  }

  .cc-payment-card__action {
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .cc-payment-card__button {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .cc-event-offers {
    padding: 1rem;
  }

  .cc-event-offer-card {
    grid-template-columns: 1fr;
  }

  .cc-event-offer-card__image,
  .cc-event-offer-card__placeholder {
    width: 100%;
  }
}
/* ============================================================
   16. SUMMARY BOX
   ============================================================ */
.cc-summary-box {
  display: block;
  margin: 0 0 1.25rem 0;
  padding: 0.9rem 1rem;
  background: #f7f7f7;
  border-left: 4px solid #b7b7b7;
  border-radius: 6px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #333;
}

/* CRITICAL FIX */
#body-inner > p > .cc-summary-box {
  display: block;
  margin: 0;
}

/* Remove paragraph spacing conflict */
#body-inner > p {
  margin: 0;
}
/* ============================================================
   17. SUMMARY BOX
   ============================================================ */

/* Club Documents Directory */

.cc-doc-directory {
  margin-top: 1.5rem;
}

.cc-doc-directory ul {
  list-style-type: none;
  margin: 0.25rem 0 0.75rem 1rem;
  padding-left: 1rem;
  border-left: 2px solid #e2e2e2;
}

.cc-doc-directory > ul {
  margin-left: 0;
  padding-left: 0;
  border-left: none;
}

.cc-doc-directory li {
  margin: 0.35rem 0;
  line-height: 1.45;
}

.cc-doc-directory strong {
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 700;
}

.cc-doc-directory a {
  text-decoration: none;
}

.cc-doc-directory a:hover {
  text-decoration: underline;
}

/* ============================================================
   18. Centre Image
   ============================================================ */

.cc-centre-image {
  text-align: center;
  margin: 1rem 0;
}

.cc-centre-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
