/* Hide the social logins */
.openAuthFormContainer {
    display: none !important;
}

.author {
    display: none !important;
}

.date {
    display: none !important;
}

/* Hides post info on From The Royal Director */
#id_ueHzHdb .boxBodyInfoContainer {
    display: none !important;
}

/* Hides post info on individual posts on From The Royal Directer */
#id_TtBuRrW .boxBodyInfoContainer {
    display: none !important;
}

/*Hides social link on user's profile */
#idSocialLoginContainer {
    display: none !important;
}

#socialLoginContainer {
    display: none !important;
}


/* For Profile related buttons */
.typeButton {
    background: #6A3F8F !important;
    color: #FFFFFF !important;
}

.typeButton:hover {
    background: #4B286D !important;
    color: #FFFFFF !important;
}

/* Registration Next and Cancel buttons hover */
.nextButton:hover {
    background: #4B286D !important;
    color: #FFFFFF !important;
}

/* Registration Next and Cancel buttons */
.nextButton {
    background: #6A3F8F !important;
    color: #FFFFFF !important;
}

/* Registration Next and Cancel buttons hover */
.nextButton:hover {
    background: #4B286D !important;
    color: #FFFFFF !important;
}

/* Register button */
.WaGadgetEventsStateDetails input.typeButton.registerButton {
    background: #6A3F8F !important;
    color: #FFFFFF !important;
}

/* Register button hover */
.WaGadgetEventsStateDetails input.typeButton.registerButton:hover {
    background: #4B286D !important;
    color: #FFFFFF !important;
}

/* Registration Payment Buttons */

.payment-action-button {
    background: #6A3F8F !important;
    color: #FFFFFF !important;
}

.payment-action-button:hover {
    background: #4B286D !important;
    color: #FFFFFF !important;
}

.actionInvoiceButton {
    background: #6A3F8F !important;
    color: #FFFFFF !important;
}

.actionInvoiceButton:hover {
    background: #4B286D !important;
    color: #FFFFFF !important;
}

/* Invoice payment warning buttons  */

.messageBoxWarningButton {
    background: #6A3F8F !important;
    color: #FFFFFF !important;
}

.messageBoxWarningButton:hover {
    background: #4B286D !important;
    color: #FFFFFF !important;
}

#payOnlineButton  {
    background-color: #6A3F8F !important;
    color: #FFFFFF !important;
}

.payOnlineButton:hover {
    background-color: #4B286D !important;
    color: #FFFFFF !important;
}


/* ---- roj-photo-card & roj-row ---- */
.roj-photo-card,
.roj-row {
  --roj-purple-dark:    #6A3F8F;   /* behind the photo */
  --roj-purple-mid:     #6A3F8F;   /* caption box */
  --roj-pad:            16px;      /* caption side padding */
  --roj-gap:            20px;      /* space between columns */
  --roj-photo-height:   clamp(260px, 38vw, 440px);  /* photo area: same on every card */
  --roj-caption-height: 160px;                      /* caption area: same on every card */
}
/* ---- Layout row: default column spacing ---- */
.roj-row {
  margin: 24px calc(var(--roj-gap) / -2);   /* pull out by half the gap */
}
.roj-row .roj-photo-card {
  margin-left:  calc(var(--roj-gap) / 2);   /* 10px + 10px = 20px between cards */
  margin-right: calc(var(--roj-gap) / 2);
}
/* ---- Card: fixed total height, square corners ---- */
.roj-photo-card {
  box-sizing: border-box !important;
  height: calc(var(--roj-photo-height, 400px) + var(--roj-caption-height, 160px)) !important;
  background: var(--roj-purple-mid);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  overflow: hidden !important;
  padding: 0 var(--roj-pad) !important;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.45;
}
/* Square corners on the card and everything inside it */
.roj-photo-card,
.roj-photo-card * {
  border-radius: 0 !important;
}
/* ---- Photo: uniform height, never cropped ---- */
.roj-photo-card img {
  display: block;
  width: calc(100% + (var(--roj-pad) * 2)) !important;   /* edge to edge */
  max-width: none !important;
  height: var(--roj-photo-height, 400px) !important;     /* overrides width/height attributes */
  margin: 0 calc(var(--roj-pad) * -1) 14px !important;
  object-fit: contain;
  object-position: center;
  background: var(--roj-purple-dark);
  border: 0;
  float: none !important;
}
/* Paragraph that holds the photo */
.roj-photo-card p:has(img) {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;
  text-align: left;
}
/* ---- Caption text ---- */
.roj-photo-card p { margin: 0 0 8px; color: #fff; }
.roj-photo-card h1,
.roj-photo-card h2,
.roj-photo-card h3,
.roj-photo-card h4 {
  margin: 0 0 8px;
  color: #fff;
  line-height: 1.25;
}
.roj-photo-card a { color: #fff; text-decoration: underline; }
.roj-photo-card a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
/* ---- Mobile ---- */
@media (max-width: 680px) {
  .roj-photo-card { margin-bottom: 16px; }
}


/* ---- Event Info Box ---- */
.boxInfoContainer .eventInfoBoxLabel {
    font-size: 18px !important;
}

.boxInfoContainer .eventInfoBoxValue {
    font-size: 18px !important;
}