/* OBC vario custom CSS */

.navbar {
    background-color: #ffffff !important;
}
/*.prevent-break {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%; }/* Keeps it inside the module box */

/* Targets Joomla 6 core module headers, custom modules, and dashboard card layouts */
/*.card-header, 
.card-title, 
.rstpl-title,
.moduletable h1, .moduletable h2, .moduletable h3, .moduletable h4,
.module-title,
[class*="mod-"] h1, [class*="mod-"] h2, [class*="mod-"] h3, [class*="mod-"] h4 {
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}*/

.rscontact button.btn-primary.submit {
  background-color: var(--bs-secondary) !important;
  border-color: var(--bs-secondary) !important;
  color: #fff !important;
}

.rscontact button.btn-primary.submit:hover,
.rscontact button.btn-primary.submit:focus {
  background-color: #5c636a !important;
  border-color: #565e64 !important;
  color: #fff !important;
}
.rscontact button.btn-primary.submit {
  background-color: var(--bs-secondary) !important;
  border-color: var(--bs-secondary) !important;
  color: #fff !important;
}

.rscontact button.btn-primary.submit:hover,
.rscontact button.btn-primary.submit:focus {
  background-color: #5c636a !important;
  border-color: #565e64 !important;
  color: #fff !important;
}

.faq-accordion {
  margin-top: 2rem;
}

.faq-accordion h3 {
  margin-bottom: 1rem;
}

.faq-accordion details {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 10px;
  padding: 0.75rem 1rem;
  background: #fff;
}

.faq-accordion summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-accordion p {
  margin: 0.75rem 0 0;
}
.faq-accordion {
  margin: 2rem 0 !important;
}

.faq-accordion h3 {
  margin-bottom: 1rem !important;
}

.faq-accordion details {
  border: 1px solid #919c5d !important;
  border-radius: 6px !important;
  margin-bottom: 10px !important;
  background: #fff !important;
  overflow: hidden;
}

.faq-accordion summary {
  cursor: pointer !important;
  font-weight: 600 !important;
  padding: 0.75rem 1rem !important;
  background: #919c5d !important;
  color: #fff !important;
}

.faq-accordion details[open] summary {
  background: #919c5d !important;
  color: #fff !important;
}

.faq-accordion p {
  margin: 0 !important;
  padding: 0.75rem 1rem 1rem !important;
}

.single-article-module ul,
.single-article-module li {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.single-article-module li::marker {
  content: "";
}

/* Remove RSVario white hover overlay/icon only from Joomla blog/article images */
#rstpl-pagewrap #rstpl-com_content .com-content-category-blog .blog-items .blog-item .item-image a::before,
#rstpl-pagewrap #rstpl-com_content .com-content-category-blog .blog-items .blog-item .item-image a::after,
#rstpl-pagewrap #rstpl-com_content .com-content-category-blog .blog-items .blog-item .item-image::before,
#rstpl-pagewrap #rstpl-com_content .com-content-category-blog .blog-items .blog-item .item-image::after,

#rstpl-pagewrap #rstpl-com_content .blog-featured .blog-items .blog-item .item-image a::before,
#rstpl-pagewrap #rstpl-com_content .blog-featured .blog-items .blog-item .item-image a::after,
#rstpl-pagewrap #rstpl-com_content .blog-featured .blog-items .blog-item .item-image::before,
#rstpl-pagewrap #rstpl-com_content .blog-featured .blog-items .blog-item .item-image::after,

#rstpl-pagewrap #rstpl-com_content .com-content-archive .blog-items .blog-item .item-image a::before,
#rstpl-pagewrap #rstpl-com_content .com-content-archive .blog-items .blog-item .item-image a::after,
#rstpl-pagewrap #rstpl-com_content .com-content-archive .blog-items .blog-item .item-image::before,
#rstpl-pagewrap #rstpl-com_content .com-content-archive .blog-items .blog-item .item-image::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background: transparent !important;
}

#rstpl-pagewrap #rstpl-com_content .com-content-category-blog .blog-items .blog-item .item-image:hover img,
#rstpl-pagewrap #rstpl-com_content .blog-featured .blog-items .blog-item .item-image:hover img,
#rstpl-pagewrap #rstpl-com_content .com-content-archive .blog-items .blog-item .item-image:hover img,
#rstpl-pagewrap #rstpl-com_content .com-content-category-blog .blog-items .blog-item .item-image a:hover img,
#rstpl-pagewrap #rstpl-com_content .blog-featured .blog-items .blog-item .item-image a:hover img,
#rstpl-pagewrap #rstpl-com_content .com-content-archive .blog-items .blog-item .item-image a:hover img {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  -webkit-transform: none !important;
}
/* Stop RSVario article image overlay appearing on mouse-out */
#rstpl-pagewrap #rstpl-com_content :is(
  .com-content-category-blog,
  .com-content-archive,
  .com-content-article,
  .blog-featured
) :is(.blog-items, .archive-items) :is(.blog-item, .archive-item) .item-image,
#rstpl-pagewrap #rstpl-com_content :is(
  .com-content-category-blog,
  .com-content-archive,
  .com-content-article,
  .blog-featured
) :is(.blog-items, .archive-items) :is(.blog-item, .archive-item) .item-image a,
#rstpl-pagewrap #rstpl-com_content :is(
  .com-content-category-blog,
  .com-content-archive,
  .com-content-article,
  .blog-featured
) :is(.blog-items, .archive-items) :is(.blog-item, .archive-item) .item-image img {
  transition: none !important;
  -webkit-transition: none !important;
  animation: none !important;
  -webkit-animation: none !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  -webkit-transform: none !important;
  background: transparent !important;
}
/* Remove overlay pseudo-elements in normal, hover, focus and active states */
#rstpl-pagewrap #rstpl-com_content :is(
  .com-content-category-blog,
  .com-content-archive,
  .com-content-article,
  .blog-featured
) :is(.blog-items, .archive-items) :is(.blog-item, .archive-item) .item-image::before,
#rstpl-pagewrap #rstpl-com_content :is(
  .com-content-category-blog,
  .com-content-archive,
  .com-content-article,
  .blog-featured
) :is(.blog-items, .archive-items) :is(.blog-item, .archive-item) .item-image::after,
#rstpl-pagewrap #rstpl-com_content :is(
  .com-content-category-blog,
  .com-content-archive,
  .com-content-article,
  .blog-featured
) :is(.blog-items, .archive-items) :is(.blog-item, .archive-item) .item-image a::before,
#rstpl-pagewrap #rstpl-com_content :is(
  .com-content-category-blog,
  .com-content-archive,
  .com-content-article,
  .blog-featured
) :is(.blog-items, .archive-items) :is(.blog-item, .archive-item) .item-image a::after {
  content: "" !important;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background: transparent !important;
  transition: none !important;
  -webkit-transition: none !important;
  animation: none !important;
  -webkit-animation: none !important;
}
/* Footer menu horizontal layout */
.footer-menu-horizontal,
.footer-menu-horizontal ul,
.footer-menu-horizontal .mod-menu,
.footer-menu-horizontal.mod-menu,
.footer-menu-horizontal.menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

/* Force menu items to stay beside each other */
.footer-menu-horizontal li,
.footer-menu-horizontal .mod-menu__item {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

/* Footer menu links */
.footer-menu-horizontal a,
.footer-menu-horizontal .mod-menu__item a {
  display: inline-block !important;
  width: auto !important;
  padding: 0.25rem 0.55rem;
  color: #003b5c !important;
  text-decoration: none;
  white-space: nowrap;
}

/* Hover/focus state */
.footer-menu-horizontal a:hover,
.footer-menu-horizontal a:focus,
.footer-menu-horizontal .mod-menu__item a:hover,
.footer-menu-horizontal .mod-menu__item a:focus {
  color: #001f33 !important;
  text-decoration: underline;
}

/* Separator between footer links */
.footer-menu-horizontal li:not(:last-child)::after,
.footer-menu-horizontal .mod-menu__item:not(:last-child)::after {
  content: "|";
  color: #003b5c;
  margin: 0 0.35rem;
}
/* Force footer menu to behave consistently, including RSEvents pages */
footer .footer-menu-horizontal,
footer .footer-menu-horizontal ul,
footer .footer-menu-horizontal .mod-menu,
footer .footer-menu-horizontal.mod-menu,
footer .footer-menu-horizontal.menu,
#footer .footer-menu-horizontal,
#footer .footer-menu-horizontal ul,
#footer .footer-menu-horizontal .mod-menu,
#footer .footer-menu-horizontal.mod-menu,
#footer .footer-menu-horizontal.menu,
.footer .footer-menu-horizontal,
.footer .footer-menu-horizontal ul,
.footer .footer-menu-horizontal .mod-menu,
.footer .footer-menu-horizontal.mod-menu,
.footer .footer-menu-horizontal.menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
  text-align: center !important;
}

/* Remove bullets on all footer menu items */
footer .footer-menu-horizontal li,
#footer .footer-menu-horizontal li,
.footer .footer-menu-horizontal li,
footer .footer-menu-horizontal .mod-menu__item,
#footer .footer-menu-horizontal .mod-menu__item,
.footer .footer-menu-horizontal .mod-menu__item {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  list-style-type: none !important;
  white-space: nowrap !important;
}

/* Remove browser/theme bullet markers */
footer .footer-menu-horizontal li::marker,
#footer .footer-menu-horizontal li::marker,
.footer .footer-menu-horizontal li::marker {
  content: "" !important;
}

/* Footer links: override RSEvents white text */
footer .footer-menu-horizontal a,
#footer .footer-menu-horizontal a,
.footer .footer-menu-horizontal a,
footer .footer-menu-horizontal .mod-menu__item a,
#footer .footer-menu-horizontal .mod-menu__item a,
.footer .footer-menu-horizontal .mod-menu__item a {
  display: inline-block !important;
  width: auto !important;
  padding: 0.25rem 0.55rem !important;
  color: #003b5c !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

/* Hover/focus state */
footer .footer-menu-horizontal a:hover,
footer .footer-menu-horizontal a:focus,
#footer .footer-menu-horizontal a:hover,
#footer .footer-menu-horizontal a:focus,
.footer .footer-menu-horizontal a:hover,
.footer .footer-menu-horizontal a:focus {
  color: #001f33 !important;
  text-decoration: underline !important;
}

/* Separator between links */
footer .footer-menu-horizontal li:not(:last-child)::after,
#footer .footer-menu-horizontal li:not(:last-child)::after,
.footer .footer-menu-horizontal li:not(:last-child)::after,
footer .footer-menu-horizontal .mod-menu__item:not(:last-child)::after,
#footer .footer-menu-horizontal .mod-menu__item:not(:last-child)::after,
.footer .footer-menu-horizontal .mod-menu__item:not(:last-child)::after {
  content: "|" !important;
  color: #003b5c !important;
  margin: 0 0.35rem !important;
}
/* RSEvents-specific footer links, no UL/LI markup */
.footer-links-rsevents {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  text-align: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 0.5rem;
}

.footer-links-rsevents a {
  color: #003b5c !important;
  text-decoration: none !important;
  display: inline-block !important;
  padding: 0.25rem 0.4rem !important;
  white-space: nowrap !important;
}

.footer-links-rsevents a:hover,
.footer-links-rsevents a:focus {
  color: #001f33 !important;
  text-decoration: underline !important;
}

.footer-links-rsevents .footer-separator {
  color: #003b5c !important;
  display: inline-block !important;
}
.bridge-start-cta {
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-top: 4px solid #f63a3a;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.09);
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
}

.bridge-start-cta img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 0 0 14px 0;
}

.bridge-start-btn {
    display: block;
    background: #7e8f4a;
    color: #ffffff !important;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 3px 0 rgba(0,0,0,0.18);
}

.bridge-start-btn:hover,
.bridge-start-btn:focus {
    background: #6f7f3f;
    color: #ffffff !important;
    text-decoration: none !important;
}
.bridge-start-cta {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bridge-start-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.bridge-start-cta {
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-top: 4px solid #f63a3a;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.09);
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
}

.bridge-start-cta img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 0 0 14px 0;
}

.bridge-start-btn {
    display: block;
    background: #7e8f4a;
    color: #ffffff !important;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 3px 0 rgba(0,0,0,0.18);
}

.bridge-start-btn:hover,
.bridge-start-btn:focus {
    background: #6f7f3f;
    color: #ffffff !important;
    text-decoration: none !important;
}

.bridge-countdown {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #ececec;
    font-family: Calibri, Arial, sans-serif;
}

.bridge-countdown-title {
    color: #f63a3a;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
    margin-bottom: 12px;
    font-family: Calibri, Arial, sans-serif;
}

.bridge-countdown-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: stretch;
}

.bridge-countdown-box {
    flex: 1;
    min-width: 72px;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-top: 3px solid #7e8f4a;
    border-radius: 8px;
    padding: 10px 6px 8px;
    box-shadow: 0 2px 7px rgba(0,0,0,0.06);
    text-align: center;
}

.bridge-countdown-number {
    display: block;
    color: #f63a3a;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    font-family: Calibri, Arial, sans-serif;
    letter-spacing: -0.5px;
}

.bridge-countdown-label {
    display: block;
    color: #7e8f4a;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 6px;
    line-height: 1;
    font-family: Calibri, Arial, sans-serif;
}
.bridge-countdown-message {
    display: none;
    color: #555555;
    font-size: 14px;
    line-height: 1.35;
    margin-top: 4px;
}

.bridge-countdown.is-ended .bridge-countdown-row {
    display: none;
}

.bridge-countdown.is-ended .bridge-countdown-title {
    color: #7e8f4a;
}

.bridge-countdown.is-ended .bridge-countdown-message {
    display: block;
}
/* responsive table in team Tactics article */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}

.team-tactics-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.team-tactics-table th,
.team-tactics-table td {
  border: 1px solid #333;
  padding: 0.5rem 0.6rem;
  text-align: center;
}

.team-tactics-table th:first-child,
.team-tactics-table td:first-child {
  text-align: left;
}

.team-tactics-table thead th {
  background: #f3f3f3;
}

@media (max-width: 640px) {
  .team-tactics-table {
    font-size: 0.85rem;
  }

  .team-tactics-table th,
  .team-tactics-table td {
    padding: 0.4rem 0.45rem;
  }
}

/* obc guide for events page */
.obc-guide {
  max-width: 920px;
}

.obc-guide .lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #3f4a3f;
}

.obc-guide .guide-note {
  background: #f7f8ef;
  border-left: 5px solid #8b9554;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
  border-radius: 8px;
}

.obc-guide .guide-section {
  margin: 2rem 0;
  padding-top: 0.5rem;
  border-top: 1px solid #e4e4d8;
}

.obc-guide h3 {
  color: #e60012;
  margin-bottom: 0.6rem;
}

.obc-guide .screenshot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.obc-guide figure {
  margin: 0;
  padding: 0.8rem;
  background: #fafaf5;
  border: 1px solid #e0e3d2;
  border-radius: 10px;
  text-align: center;
}

.obc-guide figure img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.obc-guide figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #59604a;
}

.obc-guide .quick-list {
  background: #fff;
  border: 1px solid #e2e2d8;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
}

.obc-guide .quick-list p {
  margin: 0.45rem 0;
}

@media (max-width: 800px) {
  .obc-guide .screenshot-row {
    grid-template-columns: 1fr;
  }

  .obc-guide {
    max-width: 100%;
  }
}
/* Bridge Hub vertical article cards */
.rspbld-row [class*="col-"]:has(.rspbld-vertical-image-box.obc-vertical-card),
.row [class*="col-"]:has(.rspbld-vertical-image-box.obc-vertical-card) {
  display: flex !important;
}

.rspbld-vertical-image-box.obc-vertical-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100% !important;
}

.rspbld-vertical-image-box.obc-vertical-card .rspbld-content {
  flex: 1 1 auto !important;
}

.rspbld-vertical-image-box.obc-vertical-card .rspbld-button-container {
  margin-top: auto !important;
}

.rspbld-vertical-image-box.obc-vertical-card .rspbld-content p {
  margin-bottom: 0 !important;
}
/* Learning Zone: cleaner practice topic cards */
.obc-learning-practice .rspbld-vertical-image-box {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.obc-learning-practice .rspbld-image,
.obc-learning-practice .rspbld-image-overlay {
  transform: none !important;
  clip-path: none !important;
}

.obc-learning-practice .rspbld-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  transform: none !important;
}

/* Use this extra class on cards where the image is a hand layout or diagram */
.obc-learning-practice .obc-image-contain .rspbld-image img {
  object-fit: contain;
  background: #f4f8fa;
  padding: 12px;
}
/* Learning Zone topic cards: playing-card suit marker */
.obc-topic-card .rspbld-icon {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 68px !important;
  height: 92px !important;
  margin: 0 auto 18px auto !important;

  background: #ffffff !important;
  border: 2px solid #1f5f8b !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;

  overflow: hidden !important;
  transition: none !important;
  transform: none !important;
}

/* Disable RSPageBuilder's original hover overlay / red blob */
.obc-topic-card .rspbld-icon::before,
.obc-topic-card .rspbld-icon::after,
.obc-topic-card:hover .rspbld-icon::before,
.obc-topic-card:hover .rspbld-icon::after,
.obc-topic-card .rspbld-vertical-icon-box:hover .rspbld-icon::before,
.obc-topic-card .rspbld-vertical-icon-box:hover .rspbld-icon::after {
  content: none !important;
  display: none !important;
}

/* Neutralise the original Font Awesome icon positioning */
.obc-topic-card .rspbld-icon i {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Insert the suit symbol in the centre of the card */
.obc-topic-card .rspbld-icon i::before {
  position: static !important;
  display: block !important;

  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;

  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 46px !important;
  font-weight: bold !important;
  line-height: 1 !important;

  color: #1f5f8b !important;
  background: transparent !important;
  transform: none !important;
  transition: none !important;
}

/* Stop hover state from changing the card */
.obc-topic-card:hover .rspbld-icon,
.obc-topic-card .rspbld-vertical-icon-box:hover .rspbld-icon {
  background: #ffffff !important;
  border-color: #1f5f8b !important;
  transform: none !important;
}

/* Suit variants */
.obc-topic-card.obc-suit-spade .rspbld-icon i::before {
  content: "♠" !important;
}

.obc-topic-card.obc-suit-club .rspbld-icon i::before {
  content: "♣" !important;
}

.obc-topic-card.obc-suit-heart .rspbld-icon {
  border-color: #b73a3a !important;
}

.obc-topic-card.obc-suit-heart .rspbld-icon i::before {
  content: "♥" !important;
  color: #b73a3a !important;
}

.obc-topic-card.obc-suit-diamond .rspbld-icon {
  border-color: #b73a3a !important;
}

.obc-topic-card.obc-suit-diamond .rspbld-icon i::before {
  content: "♦" !important;
  color: #b73a3a !important;
}
/* RSPageBuilder icon boxes: disable red hover animation cleanly */

/* Freeze the icon wrapper and everything inside it */
.rspbld-vertical-icon-box .rspbld-icon,
.rspbld-horizontal-icon-box .rspbld-icon,
.rspbld-vertical-icon-box .rspbld-icon *,
.rspbld-horizontal-icon-box .rspbld-icon * {
  transition: none !important;
  animation: none !important;
}

/* Disable the animated red hover overlay without making the real icon vanish */
.rspbld-vertical-icon-box .rspbld-icon::before,
.rspbld-vertical-icon-box .rspbld-icon::after,
.rspbld-horizontal-icon-box .rspbld-icon::before,
.rspbld-horizontal-icon-box .rspbld-icon::after {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  pointer-events: none !important;
}

/* Keep the icon wrapper stable on hover */
.rspbld-vertical-icon-box:hover .rspbld-icon,
.rspbld-horizontal-icon-box:hover .rspbld-icon {
  background: transparent !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* Stop the icon itself turning white or moving on hover */
.rspbld-vertical-icon-box:hover .rspbld-icon i,
.rspbld-vertical-icon-box:hover .rspbld-icon i::before,
.rspbld-horizontal-icon-box:hover .rspbld-icon i,
.rspbld-horizontal-icon-box:hover .rspbld-icon i::before {
  color: #f33a3a !important;
  background: transparent !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
/* Learning Zone: compact topic cards with small suit beside title */
.obc-topic-card .rspbld-vertical-icon-box,
.rspbld-vertical-icon-box.obc-topic-card {
  display: grid !important;
  grid-template-columns: 42px 1fr;
  grid-template-areas:
    "icon title"
    "content content"
    "button button";
  column-gap: 14px;
  row-gap: 12px;
  align-items: center;

  text-align: left !important;
  background: #fff;
  border: 1px solid #dbe8ef;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
  height: 100%;
}

/* Icon position */
.obc-topic-card .rspbld-icon,
.rspbld-vertical-icon-box.obc-topic-card .rspbld-icon {
  grid-area: icon;

  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 38px !important;
  height: 50px !important;
  margin: 0 !important;

  background: #fff !important;
  border: 2px solid #1f5f8b !important;
  border-radius: 7px !important;
  box-shadow: 0 3px 7px rgba(0,0,0,0.08) !important;

  overflow: hidden !important;
  transform: none !important;
  transition: none !important;
}

/* Title beside icon */
.obc-topic-card .rspbld-title,
.rspbld-vertical-icon-box.obc-topic-card .rspbld-title {
  grid-area: title;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  line-height: 1.25;
}

/* Content below */
.obc-topic-card .rspbld-content,
.rspbld-vertical-icon-box.obc-topic-card .rspbld-content {
  grid-area: content;
  text-align: left !important;
  margin-top: 8px;
}

/* Button below */
.obc-topic-card .rspbld-button-container,
.rspbld-vertical-icon-box.obc-topic-card .rspbld-button-container {
  grid-area: button;
  text-align: left !important;
  margin-top: 4px;
}

/* Remove RSPageBuilder hover animation/red blob */
.obc-topic-card .rspbld-icon::before,
.obc-topic-card .rspbld-icon::after,
.rspbld-vertical-icon-box.obc-topic-card .rspbld-icon::before,
.rspbld-vertical-icon-box.obc-topic-card .rspbld-icon::after {
  content: none !important;
  display: none !important;
}

/* Neutralise original Font Awesome icon */
.obc-topic-card .rspbld-icon i,
.rspbld-vertical-icon-box.obc-topic-card .rspbld-icon i {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Insert compact card suit */
.obc-topic-card .rspbld-icon i::before,
.rspbld-vertical-icon-box.obc-topic-card .rspbld-icon i::before {
  position: static !important;
  display: block !important;

  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 28px !important;
  font-weight: bold !important;
  line-height: 1 !important;

  color: #1f5f8b !important;
  background: transparent !important;
  transform: none !important;
  transition: none !important;
}

/* Keep icon stable on hover */
.obc-topic-card:hover .rspbld-icon,
.obc-topic-card .rspbld-vertical-icon-box:hover .rspbld-icon,
.rspbld-vertical-icon-box.obc-topic-card:hover .rspbld-icon {
  background: #fff !important;
  transform: none !important;
  transition: none !important;
}

/* Suit variants */
.obc-topic-card.obc-suit-spade .rspbld-icon i::before,
.rspbld-vertical-icon-box.obc-topic-card.obc-suit-spade .rspbld-icon i::before {
  content: "♠" !important;
}

.obc-topic-card.obc-suit-club .rspbld-icon i::before,
.rspbld-vertical-icon-box.obc-topic-card.obc-suit-club .rspbld-icon i::before {
  content: "♣" !important;
}

.obc-topic-card.obc-suit-heart .rspbld-icon,
.rspbld-vertical-icon-box.obc-topic-card.obc-suit-heart .rspbld-icon,
.obc-topic-card.obc-suit-diamond .rspbld-icon,
.rspbld-vertical-icon-box.obc-topic-card.obc-suit-diamond .rspbld-icon {

  border-color: #b73a3a !important;
}

.obc-topic-card.obc-suit-heart .rspbld-icon i::before,
.rspbld-vertical-icon-box.obc-topic-card.obc-suit-heart .rspbld-icon i::before {
  content: "♥" !important;
  color: #b73a3a !important;
}

.obc-topic-card.obc-suit-diamond .rspbld-icon i::before,
.rspbld-vertical-icon-box.obc-topic-card.obc-suit-diamond .rspbld-icon i::before {
  content: "♦" !important;
  color: #b73a3a !important;
}
/* Learning Zone: compact topic cards with small suit beside title */
.obc-topic-card .rspbld-vertical-icon-box,
.rspbld-vertical-icon-box.obc-topic-card {
  display: grid !important;
  grid-template-columns: 42px 1fr;
  grid-template-areas:
    "icon title"
    "content content"
    "button button";
  column-gap: 14px;
  row-gap: 12px;
  align-items: center;

  text-align: left !important;
  background: #fff;
  border: 1px solid #dbe8ef;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
  height: 100%;
}

/* Icon position */
.obc-topic-card .rspbld-icon,
.rspbld-vertical-icon-box.obc-topic-card .rspbld-icon {
  grid-area: icon;

  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 38px !important;
  height: 50px !important;
  margin: 0 !important;

  background: #fff !important;
  border: 2px solid #1f5f8b !important;
  border-radius: 7px !important;
  box-shadow: 0 3px 7px rgba(0,0,0,0.08) !important;

  overflow: hidden !important;
  transform: none !important;
  transition: none !important;
}

/* Title beside icon */
.obc-topic-card .rspbld-title,
.rspbld-vertical-icon-box.obc-topic-card .rspbld-title {
  grid-area: title;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  line-height: 1.25;
}

/* Content below */
.obc-topic-card .rspbld-content,
.rspbld-vertical-icon-box.obc-topic-card .rspbld-content {
  grid-area: content;
  text-align: left !important;
  margin-top: 8px;
}

/* Button below */
.obc-topic-card .rspbld-button-container,
.rspbld-vertical-icon-box.obc-topic-card .rspbld-button-container {
  grid-area: button;
  text-align: left !important;
  margin-top: 4px;
}

/* Remove RSPageBuilder hover animation/red blob */
.obc-topic-card .rspbld-icon::before,
.obc-topic-card .rspbld-icon::after,
.rspbld-vertical-icon-box.obc-topic-card .rspbld-icon::before,
.rspbld-vertical-icon-box.obc-topic-card .rspbld-icon::after {
  content: none !important;
  display: none !important;
}

/* Neutralise original Font Awesome icon */
.obc-topic-card .rspbld-icon i,
.rspbld-vertical-icon-box.obc-topic-card .rspbld-icon i {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Insert compact card suit */
.obc-topic-card .rspbld-icon i::before,
.rspbld-vertical-icon-box.obc-topic-card .rspbld-icon i::before {
  position: static !important;
  display: block !important;

  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 28px !important;
  font-weight: bold !important;
  line-height: 1 !important;

  color: #1f5f8b !important;
  background: transparent !important;
  transform: none !important;
  transition: none !important;
}

/* Keep icon stable on hover */
.obc-topic-card:hover .rspbld-icon,
.obc-topic-card .rspbld-vertical-icon-box:hover .rspbld-icon,
.rspbld-vertical-icon-box.obc-topic-card:hover .rspbld-icon {
  background: #fff !important;
  transform: none !important;
  transition: none !important;
}

/* Suit variants */
.obc-topic-card.obc-suit-spade .rspbld-icon i::before,
.rspbld-vertical-icon-box.obc-topic-card.obc-suit-spade .rspbld-icon i::before {
  content: "♠" !important;
}

.obc-topic-card.obc-suit-club .rspbld-icon i::before,
.rspbld-vertical-icon-box.obc-topic-card.obc-suit-club .rspbld-icon i::before {
  content: "♣" !important;
}

.obc-topic-card.obc-suit-heart .rspbld-icon,
.rspbld-vertical-icon-box.obc-topic-card.obc-suit-heart .rspbld-icon,
.obc-topic-card.obc-suit-diamond .rspbld-icon,
.rspbld-vertical-icon-box.obc-topic-card.obc-suit-diamond .rspbld-icon {

  border-color: #b73a3a !important;
}

.obc-topic-card.obc-suit-heart .rspbld-icon i::before,
.rspbld-vertical-icon-box.obc-topic-card.obc-suit-heart .rspbld-icon i::before {
  content: "♥" !important;
  color: #b73a3a !important;
}

.obc-topic-card.obc-suit-diamond .rspbld-icon i::before,
.rspbld-vertical-icon-box.obc-topic-card.obc-suit-diamond .rspbld-icon i::before {
  content: "♦" !important;
  color: #b73a3a !important;
}
/* =========================================================
   Learning Zone: Intro, Pathway Cards and Pathway Sections
   ========================================================= */

:root {
  --obc-lz-accent: #f33a3a;
  --obc-lz-heading: #333333;
  --obc-lz-text: #444444;
  --obc-lz-muted: #555555;
  --obc-lz-border: #e2e2e2;
  --obc-lz-soft-bg: #f8f8f8;
}

/* Smooth jump links */
html {
  scroll-behavior: smooth;
}

/* ---------- Combined intro / pathway heading ---------- */

.obc-lz-intro-row {
  margin-bottom: 1rem !important;
  padding-bottom: 0 !important;
}

.obc-lz-intro {
  max-width: 880px;
  margin: 1.25rem auto 1.1rem;
  text-align: center;
}

.obc-lz-intro .obc-section-kicker {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--obc-lz-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.obc-lz-intro h2 {
  margin: 0 0 0.65rem;
  color: var(--obc-lz-heading);
  font-size: 2rem;
  line-height: 1.2;
}

.obc-lz-intro p {
  margin: 0 auto 0.55rem;
  max-width: 780px;
  color: var(--obc-lz-text);
  font-size: 1.05rem;
  line-height: 1.55;
}

.obc-lz-intro .obc-lz-cue {
  margin-top: 0.65rem;
  color: var(--obc-lz-muted);
  font-weight: 600;
}

/* ---------- Top pathway cards ---------- */

.obc-learning-pathways {
  margin-top: 0 !important;
  margin-bottom: 2rem !important;
  padding-top: 0 !important;
}

/* Equal-height columns */
.obc-learning-pathways .row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch !important;
}

.obc-learning-pathways .row > [class*="col-"] {
  display: flex !important;
  align-items: stretch !important;
  margin-bottom: 1.25rem;
}

/* Stretch RSPageBuilder / JCE wrappers */
.obc-learning-pathways .rspbld-text-block,
.obc-learning-pathways .rspbld-text,
.obc-learning-pathways .rspbld-content,
.obc-learning-pathways .rspbld-content > div,
.obc-learning-pathways .rspbld-content > p {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

/* Card shell */
.obc-learning-pathways .obc-pathway-card {
  display: flex !important;
  gap: 1rem;
  align-items: flex-start;

  width: 100% !important;
  min-height: 205px;
  height: 100%;

  padding: 1.35rem 1.4rem;
  background: #ffffff;
  border: 1px solid var(--obc-lz-border);
  border-radius: 16px;
  box-shadow: 0 5px 16px rgba(0,0,0,0.055);

  color: var(--obc-lz-text) !important;
  text-decoration: none !important;
}

.obc-learning-pathways .obc-pathway-card:hover,
.obc-learning-pathways .obc-pathway-card:focus-within {
  box-shadow: 0 7px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* Number circle */
.obc-learning-pathways .obc-pathway-number {
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;
  border-radius: 50%;

  background: var(--obc-lz-accent);
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
}

/* Card body */
.obc-learning-pathways .obc-pathway-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
}

/* Card title */
.obc-learning-pathways .obc-pathway-body strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--obc-lz-heading);
  font-size: 1.22rem;
  line-height: 1.25;
}

/* Card description */
.obc-learning-pathways .obc-pathway-body span {
  display: block;
  color: var(--obc-lz-text);
  line-height: 1.45;
}

/* Card action link */
.obc-learning-pathways .obc-pathway-action,
.obc-learning-pathways .obc-pathway-body em {
  display: block;
  margin-top: auto;
  padding-top: 0.9rem;

  color: var(--obc-lz-accent) !important;
  font-style: normal;
  font-weight: 700;
  text-decoration: none;
}

.obc-learning-pathways .obc-pathway-action::after,
.obc-learning-pathways .obc-pathway-body em::after {
  content: " →";
}

.obc-learning-pathways .obc-pathway-action:hover,
.obc-learning-pathways .obc-pathway-action:focus,
.obc-learning-pathways .obc-pathway-body em:hover,
.obc-learning-pathways .obc-pathway-body em:focus {
  text-decoration: underline;
}

/* ---------- Pathway destination sections ---------- */

.obc-pathway-detail {
  scroll-margin-top: 110px;

  margin: 2.25rem 0 1.25rem;
  padding: 1.45rem 1.65rem;

  background: #ffffff;
  border: 1px solid var(--obc-lz-border);
  border-radius: 18px;
  box-shadow: 0 5px 16px rgba(0,0,0,0.055);
}

.obc-pathway-label {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.7rem;

  border-radius: 999px;
  background: var(--obc-lz-accent);
  color: #ffffff;

  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.obc-pathway-detail h2 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  color: var(--obc-lz-heading);
}

.obc-pathway-detail p {
  margin-bottom: 0;
  max-width: 820px;
  color: var(--obc-lz-text);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Optional note panels under Pathway 1 or 2 */
.obc-pathway-note {
  margin: 0 0 1.75rem;
  padding: 1.25rem 1.4rem;

  background: var(--obc-lz-soft-bg);
  border-left: 4px solid var(--obc-lz-accent);
  border-radius: 10px;
}

.obc-pathway-note h3 {
  margin-top: 0;
  color: var(--obc-lz-heading);
}

.obc-pathway-note p {
  margin-bottom: 0;
}
/* Learning Zone: compact pathway grouping */

/* Keep the pathway selector cards close to the intro */
.obc-learning-pathways {
  margin-bottom: 1.25rem !important;
  padding-bottom: 0 !important;
}

/* Rows that contain the Pathway 1 / 2 / 3 panels */
.obc-lz-pathway-row {
  margin-top: 1.15rem !important;
  margin-bottom: 0.35rem !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Rows that contain the cards under each pathway */
.obc-lz-card-row {
  margin-top: 0 !important;
  margin-bottom: 1.35rem !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Make pathway panels less bulky */
.obc-pathway-detail {
  margin: 0 !important;
  padding: 1.05rem 1.25rem !important;
  border-radius: 14px;
}

/* Tighten text inside pathway panels */
.obc-pathway-label {
  margin-bottom: 0.45rem !important;
}

.obc-pathway-detail h2 {
  margin-bottom: 0.3rem !important;
  font-size: 1.55rem !important;
}

.obc-pathway-detail p {
  font-size: 1rem !important;
  line-height: 1.45 !important;
}

/* If using the helper paragraph, keep it close */
.obc-pathway-helper {
  margin-top: 0.35rem !important;
  font-size: 0.94rem !important;
  line-height: 1.4 !important;
}

/* Reduce excess space inside ordinary card rows */
.obc-lz-card-row .rspbld-column,
.obc-lz-card-row [class*="col-"] {
  margin-bottom: 1rem !important;
}

/* On mobile, keep things compact but readable */
@media (max-width: 767px) {
  .obc-lz-pathway-row {
    margin-top: 1rem !important;
  }

  .obc-lz-card-row {
    margin-bottom: 1.1rem !important;
  }

  .obc-pathway-detail {
    padding: 1rem !important;
  }
}
/* Learning Zone: compact card titles */
.obc-lz-card-row .rspbld-title,
.obc-lz-card-row h2.rspbld-title,
.obc-topic-card .rspbld-title,
.obc-topic-card h2.rspbld-title {
  font-size: 1.08rem !important;
  line-height: 1.2 !important;
  margin: 0 0 0.5rem !important;
  padding: 0 !important;
}

/* Slightly smaller supporting text inside cards */
.obc-lz-card-row .rspbld-content,
.obc-topic-card .rspbld-content {
  font-size: 0.95rem !important;
  line-height: 1.42 !important;
}

/* Reduce card padding where RSPageBuilder is making cards too tall */
.obc-lz-card-row .rspbld-vertical-icon-box,
.obc-lz-card-row .rspbld-vertical-image-box,
.obc-lz-card-row .rspbld-horizontal-icon-box {
  padding: 1.15rem 1.2rem !important;
}

/* Keep buttons close but not cramped */
.obc-lz-card-row .rspbld-button-container {
  margin-top: 0.7rem !important;
}