/* Additions for the club's newer sections. Uses the theme's colours: #D41C68 and #030925. */

/* Main menu: keep room for all its items on one line at laptop widths */
@media (min-width: 1200px) {
    .empte_nav_area, .trp_nav_area, .transprent-menu .empte_nav_area {
        padding-left: clamp(20px, calc((100vw - 1260px) / 2), 300px) !important;
        padding-right: clamp(20px, calc((100vw - 1260px) / 2), 300px) !important;
    }
}
.donate-btn-header a.dtbtn { white-space: nowrap; }

/* Notification bar */
.rac-notice { background: #030925; color: #fff; font-size: 15px; }
.rac-notice-inner { display: flex; align-items: center; gap: 12px; padding: 8px 16px; max-width: 1320px; margin: 0 auto; }
.rac-notice-inner > .fa { color: #D41C68; flex-shrink: 0; }
.rac-notice-items { flex: 1; min-width: 0; text-align: center; }
.rac-notice-item { display: none; color: #fff; }
.rac-notice-item.is-active { display: block; }
.rac-notice-item:hover, .rac-notice-item:focus { color: #fff; text-decoration: underline; }
.rac-notice-close { background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; padding: 0 4px; cursor: pointer; flex-shrink: 0; }

/* Footer contact details */
.witrfm_area .footer-contact { margin-top: 6px; }
.witrfm_area .footer-contact i { margin-right: 6px; }
.footer-join { margin-top: 18px; }
.footer-join a.dtbtn { display: inline-block; margin: 0; }

/* Year heading above each group of cards */
.rac-group-heading { width: 100%; padding: 0 15px; margin: 10px 0 28px; }
.rac-group-heading h2 { color: #030925; font-size: 30px; margin: 0; padding-bottom: 10px; border-bottom: 3px solid #D41C68; display: inline-block; }
.rac-group-heading small { display: block; color: #6a6a7c; font-size: 16px; margin-top: 8px; }

/* Person cards */
.rac-person-photo { height: 360px; width: 100%; object-fit: cover; object-position: top; }
.rac-person-theme { display: block; font-size: 14px; font-style: italic; margin-top: 4px; }
.rac-member-list { list-style: none; padding: 0; margin: 20px 0 0; }
.rac-member-list li { padding: 10px 0; border-bottom: 1px solid #edeff2; }
.rac-member-list strong { color: #030925; display: inline-block; min-width: 170px; }

/* Project, event and product cards */
.rac-card-meta { color: #6a6a7c; font-size: 15px; margin-bottom: 8px; }
.rac-card-meta i { color: #D41C68; margin-right: 4px; }
.witr_content_couses .rac-card-link { color: #D41C68; font-weight: 600; display: inline-block; margin-bottom: 16px; }
.rac-card-image { width: 100%; height: 240px; object-fit: cover; }

.rac-rich-text { color: #6a6a7c; line-height: 1.7; }
.rac-rich-text img { max-width: 100%; height: auto; }
.rac-rich-text iframe { max-width: 100%; }
.rac-rich-text table { max-width: 100%; }
.rac-detail-image { width: 100%; border-radius: 6px; margin-bottom: 24px; }

/* Corporate partnerships */
.rac-tier { background: #fff; border: 1px solid #edeff2; border-top: 5px solid #D41C68; border-radius: 6px; padding: 30px 26px; height: 100%; box-shadow: 0 4px 18px rgba(3,9,37,.07); }
.rac-tier h3 { color: #030925; font-size: 24px; margin-bottom: 8px; }
.rac-tier-price { color: #D41C68; font-size: 26px; font-weight: 700; line-height: 1.2; }
.rac-tier-period { color: #6a6a7c; font-size: 15px; display: block; margin-bottom: 18px; }
.rac-tier ul { list-style: none; padding: 0; margin: 0; }
.rac-tier li { position: relative; padding: 0 0 12px 26px; color: #6a6a7c; font-size: 15px; line-height: 1.5; }
.rac-tier li i { position: absolute; left: 0; top: 4px; color: #D41C68; }
.rac-compare th { background: #030925; color: #fff; text-align: center; white-space: nowrap; }
.rac-compare th:first-child { text-align: left; }
.rac-compare td { text-align: center; color: #6a6a7c; vertical-align: middle; }
.rac-compare td:first-child { text-align: left; color: #030925; }
.rac-compare .fa-check { color: #D41C68; }

/* Sponsor logos */
.rac-sponsor-logo { height: 90px !important; width: auto !important; max-width: 100%; object-fit: contain; margin: 0 auto; }

/* Events calendar */
.rac-calendar { background: #fff; padding: 20px; border-radius: 6px; box-shadow: 0 4px 18px rgba(3,9,37,.07); }
.rac-calendar .fc-button-primary { background: #030925; border-color: #030925; }
.rac-calendar .fc-button-primary:not(:disabled).fc-button-active,
.rac-calendar .fc-button-primary:hover { background: #D41C68; border-color: #D41C68; }
.rac-calendar .fc-event { cursor: pointer; }
.rac-album { display: block; padding: 16px 18px; margin-bottom: 18px; background: #fff; border-left: 4px solid #D41C68; box-shadow: 0 2px 10px rgba(3,9,37,.07); color: #030925; font-weight: 600; }
.rac-album:hover { color: #D41C68; }
.rac-album i { margin-right: 8px; color: #D41C68; }

/* Form alerts */
.rac-alert { margin-bottom: 24px; }

@media (max-width: 767px) {
    p a, li a { overflow-wrap: anywhere; } /* long web addresses in text must not get cut off */
    .rac-notice { font-size: 14px; }
    .rac-person-photo { height: 320px; }
    .rac-group-heading h2 { font-size: 24px; }
}
