/* ============================================================
   DAREBEE — Misc Stylesheet
   Sections:
    1.  Custom Properties
    2.  Base Elements
    3.  Typography & Headings
    4.  Links & Buttons
    5.  Forms & User Pages
    6.  Tables
    7.  Video Embeds
    8.  Social & Footer
    9.  Pagination
   10.  Page-type Layouts (workouts, programs, challenges, guides…)
   11.  Item-ID Overrides
   12.  Module Utilities
   13.  DBS Component System
       13a. Wrap & Hero
       13b. Cards & Paths
       13c. Grids (daily, category, type, reps, rest)
       13d. Levels & Badges
       13e. Note, Tip, Divider
       13f. Anatomy & Poster
       13g. Timing & Two-col
       13h. Warm-up blocks
       13i. Community block
       13j. Manual box
   14.  Video Library (itemid-276)
   15.  Responsive — collected media queries
   ============================================================ */


/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */

:root {
  --red:        #CC0000;
  --red-dark:   #a80000;
  --red-darker: #7a0000;
  --black:      #141414;
  --gray-dark:  #333333;
  --gray-mid:   #555555;
  --gray-muted: #888888;
  --gray-surface: #f5f5f5;
  --gray-border: #CCCCCC;
  --white:      #FFFFFF;
  --font-head:  'Pathway Gothic One', Arial, sans-serif;
  --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --font-slab:  'Roboto Slab', Arial, sans-serif;
}


/* ============================================================
   2. BASE ELEMENTS
   ============================================================ */

img {
  max-width: 100%;
  width: auto \9;
  height: auto;
  vertical-align: middle;
  border: 0;
  -ms-interpolation-mode: bicubic;
}

p {
  margin-block-start: 1.3em;
  margin-block-end: 1.5em;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Restore list style inside article body */
.com-content-article__body ul,
.com-content-article__body ol {
  list-style: disc;
  padding-left: 20px;
  margin: 1em 0;
}

.com-content-article__body ul li {
  list-style-type: disc;
}

hr {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(217,217,217,1), rgba(0,0,0,0));
}

ul.list-1 {
  list-style-type: square;
  margin-left: 20px;
}

.article-index,
li.toclink,
.pagenavcounter {
  display: none !important;
}

.mod-custom p { margin: 0; padding: 0; }

.users { text-align: center; padding: 0; margin: 0; }

.celtext {
  font-size: 28px;
  color: #444;
  margin-bottom: 20px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.yay { margin-top: 40px; }

.cert {
  display: block;
  padding: 10px 80px;
  border: 4px solid var(--gray-border);
  margin: 15px 0;
  width: 100%;
  text-align: center;
}

.boxline {
  display: block;
  padding: 30px;
  border: 4px solid #EEE;
  margin: 15px auto;
  width: 75%;
  font-family: Arial;
  font-size: 16px;
  text-align: center;
}

.funding {
  width: 250px;
  display: block;
  margin: 5px auto !important;
  padding: 2px 0 2px 5px !important;
  border: 1px solid #EEE;
  background: #eeeeee;
  text-align: left !important;
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--white) !important;
  line-height: 18px;
}

.eod   { display: block; margin: 30px auto; width: 300px; height: 60px; line-height: 30px; text-align: center !important; }
.eod a { display: block; width: 300px; height: 40px; color: var(--black) !important; font-family: var(--font-head); font-size: 24px; font-weight: normal; text-align: center !important; padding-top: 15px; }

.mod-finder__workouts-count strong { font-size: 28px; }

.com-users-profile__multifactor { display: none; }


/* ============================================================
   3. TYPOGRAPHY & HEADINGS
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  color: var(--black);
  font-family: var(--font-head);
  font-weight: normal;
  line-height: 1.2;
  text-rendering: optimizeLegibility;
  text-align: center;
}

/* Item page headings — all levels same treatment */
.item-page h1,
.item-page h2,
.item-page h3,
.item-page h4,
.item-page h5,
.item-page h6 {
  font-size: 2.875rem;
  line-height: 1.1;
  padding: 30px 0;
  margin: 0;
  text-align: center;
}

/* h3 gets extra clearance inside item pages */
.item-page h3 {
  display: block;
  width: 100%;
  clear: both;
  margin: 50px 0 0 0;
}

/* Category heading */
.content-category h1 {
  font-size: 2.875rem;
  line-height: 1.1;
  padding: 15px 0;
  margin: 15px 0;
  text-align: center;
}

/* Category table links */
.com-content-category__table a {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: normal !important;
}

/* Article body text */
.com-content-article__body {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.6;
  color: var(--black);
}

/* Category description bar */
.category-desc {
  text-align: center;
  margin: 0;
  padding: 10px 0;
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 26px;
  font-weight: normal;
}

.category-desc p { margin: 0; padding: 0; }

.category-desc a {
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 26px;
  padding: 0 8px;
  margin-left: 5px;
  color: var(--white);
  background: #999;
  width: 100px;
  height: 26px;
  text-transform: uppercase;
}

/* Page header link */
.page-header h2 a {
  display: block;
  text-align: center !important;
  color: var(--black);
  margin: 15px auto;
}

/* Story layout */
.story {
  background: #f7f7f7 !important;
  color: var(--black);
  padding: 10px 100px 50px;
}

.story p {
  font-size: 18px !important;
  font-family: var(--font-slab) !important;
  font-weight: normal;
  line-height: 1.6;
  padding: 5px 0;
  background: #f7f7f7 !important;
}

.story h1 {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 20px 0 !important;
}

.story h1::before,
.story h1::after {
  content: '';
  border-top: 2px solid;
  flex: 1 0 20px;
}

.story h1::before { margin: 0 20px 0 0; }
.story h1::after  { margin: 0 0 0 20px; }

.story img { margin: 0 auto -40px auto !important; }

/* Sources block */
#sources {
  display: table;
  margin: 0 auto !important;
  width: 65%;
  color: #999 !important;
  font-size: 14px;
  line-height: 16px;
  padding: 20px;
  margin-bottom: 20px;
  border-top: 1px solid var(--gray-border);
}

#sources p  { color: #999 !important; }
#sources a  { color: #999 !important; font-weight: normal !important; }
#sources h3 { color: #999 !important; text-transform: capitalize; margin: 0 0 10px 0 !important; padding: 0 !important; }

/* Text wrap & challenge intro */
#textwrap        { padding: 0 15% !important; }



/* ============================================================
   4. LINKS & BUTTONS
   ============================================================ */

/* Item-page body links */
.item-page a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.item-page a:hover {
  color: #e63946;
  text-decoration: underline;
}

/* Base button / submit */
button,
input[type="submit"],
.btn,
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--red);
  color: var(--white);
  border: none;
  border-radius: 0;
  text-transform: uppercase;
  font-family: var(--font-head);
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

button:hover,
input[type="submit"]:hover,
.btn:hover,
.btn-primary:hover,
.btn-secondary:hover {
  background-color: var(--red-dark);
  color: var(--white);
}

button:disabled,
input[type="submit"]:disabled,
.btn:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}

.btn-small,
button.small {
  padding: 6px 12px;
  font-size: 14px;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Page CTA button */
.btn.page {
  display: block;
  padding: 12px 24px;
  background-color: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  letter-spacing: 1px;
  margin: 10px auto;
  text-align: center;
  width: fit-content;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn.page:hover  { background-color: var(--red-dark); color: var(--white); text-decoration: none; }
.btn.page:active { background-color: var(--red-darker); color: var(--white); }

/* Donate inline link */
a.donate-here {
  display: inline-block;
  background-color: #e02020;
  color: var(--white) !important;
  text-decoration: none;
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: normal;
  width: 130px;
  padding: 8px 10px;
  margin: 10px 0 0 0;
  text-align: center;
  transition: background-color 0.2s ease;
}

a.donate-here:hover {
  background-color: #c01010;
  color: var(--white);
}

/* Video toggle button */
.video-toggle {
  text-align: center;
  font-weight: bold;
  padding: 12px 20px;
  background: none;
  color: var(--black);
  border: none;
  border-radius: 0;
  cursor: pointer;
  margin: 20px auto;
}


/* ============================================================
   5. FORMS & USER PAGES
   ============================================================ */

/* Wrapper */
.com-users-registration,
.com-users-profile,
.com-users-profile-edit,
.com-users-login {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: var(--white);
  border: 2px solid #eeeeee;
  font-family: var(--font-serif);
  color: var(--black);
}

/* Fieldsets */
.com-users-registration fieldset,
.com-users-profile-edit fieldset,
#com-users-login__form fieldset {
  padding: 20px;
  margin-bottom: 30px;
}

fieldset {
  border: none !important;
  padding: 0;
  margin: 0 0 30px;
}

/* Labels */
label,
.control-label {
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: normal;
  margin: 10px 0 5px;
  color: var(--black);
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
textarea,
select {
  display: block;
  width: 100%;
  padding: 8px 12px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 0;
  background: #f9f9f9;
  color: var(--gray-dark);
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  margin-bottom: 20px;
}

/* Legend */
legend {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: normal;
  padding: 10px 0;
  border-bottom: 2px solid #ccc;
  margin-bottom: 20px;
}

/* Button alignment inside user forms */
.com-users-login .btn,
.com-users-registration .btn,
.com-users-profile-edit .btn {
  margin-top: 10px;
}

/* Profile field list */
.com-users-profile h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-family: var(--font-head);
}

.com-users-profile dl.profile { margin: 0; padding: 0; }

.com-users-profile dl.profile dt {
  font-weight: bold;
  color: var(--black);
  padding: 8px 0 2px;
  font-family: var(--font-head);
  font-size: 16px;
  border-bottom: 1px solid #eee;
}

.com-users-profile dl.profile dd {
  margin: 0 0 15px;
  font-size: 16px;
  color: var(--gray-dark);
}

dl.profile dt { font-weight: bold; color: var(--gray-dark); }

/* Alerts */
.alert-error,
.alert-danger {
  color: var(--red);
  background: #fff0f0;
  padding: 10px;
  border: 1px solid var(--red);
  font-size: 14px;
}

/* Remember-me checkbox */
.com-users-login__remember .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}

.com-users-login__remember .form-check-input {
  display: inline-block !important;
  width: auto !important;
  vertical-align: middle;
  margin: 0;
}

.com-users-login__remember .form-check-label {
  font-family: var(--font-head);
  font-size: 1em;
  color: var(--black);
  margin: 0;
}

/* Login logout module */
.mod-login-logout          { display: block; width: 100%; height: 100px; overflow: hidden; }
.mod-login-logout ul       { margin-left: 40px; margin-right: 20px; }
.mod-login-logout__options a { color: #999; }

.mod-login-logout__options {
  display: block;
  width: 105px;
  padding: 4px 0;
  float: left;
  margin: 0 0 30px 40px;
  border: 2px solid var(--gray-border);
  color: #999;
  text-transform: uppercase;
  font-family: var(--font-head);
  font-size: 1em;
  cursor: pointer;
  text-align: center;
}

/* System messages */
#system-message-container {
  display: none;
  background: var(--white) !important;
  border: none !important;
  text-align: center !important;
  font-family: var(--font-serif) !important;
  font-size: 20px !important;
  line-height: 30px !important;
  color: var(--black);
}

.com_users #system-message-container { display: block; }

#system-message-container joomla-alert[type=success],
#system-message-container joomla-alert[type=danger] {
  background: var(--white) !important;
  border: 2px solid #EEE !important;
  color: var(--black) !important;
  border-radius: 0 !important;
}

#system-message-container .visually-hidden { display: none !important; }

/* Guest message */
.guest   { padding: 15px 0; text-align: center; font-family: var(--font-serif) !important; font-size: 20px !important; line-height: 30px !important; color: var(--black); }
.guest a { color: var(--black) !important; font-weight: normal; }


/* ============================================================
   6. TABLES
   ============================================================ */

table { display: table; width: 100%; }
.tr   { display: table-row; }

tr, td, th { text-align: center; margin: auto; padding: 1rem; width: 100%; }

table a { color: var(--black) !important; }

table.table > tbody > tr:hover td,
table.table > tbody > tr:hover th {
  background-color: #EEEEEE !important;
}

/* Plan table */
.table.plan {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.plan th,
.plan td {
  padding: 14px;
  text-align: center;
  color: var(--gray-dark);
  position: relative;
}

.plan th {
  background-color: #f0f0f0;
  color: var(--gray-dark);
  text-transform: uppercase;
  font-weight: bold;
}

.plan th:first-child,
.plan td:first-child { width: 20%; }

.plan tbody tr:nth-child(even) { background-color: #f7f7f7; }
.plan tbody tr:nth-child(odd)  { background-color: var(--white); }
.plan tbody tr:last-child td   { border-bottom: none; }

.table-shadow {
  width: 100%;
  height: 5px;
  background-color: var(--white);
  box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

/* Grid cells */
#daretable2 { display: table-cell; width: 50%; text-align: center; float: left; padding: 10px 5px; margin: 0; }
#daretable3 { display: table-cell; width: 33.333%; text-align: center; float: left; padding: 10px 5px; margin: 0;  }
#daretable3 + :not(#daretable3) { clear: both; }

/* ============================================================
   7. VIDEO EMBEDS
   ============================================================ */

.responsive-video {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}

.responsive-video iframe { position: absolute; left: 0; top: 0; height: 100%; width: 100%; }

.exercise-video {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}

.exercise-video iframe { position: absolute; left: 0; top: 0; height: 100%; width: 100%; }

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}



/* YouTube lazy facade */
.yt-facade {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  cursor: pointer;
  background: #666;
}

.yt-facade img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.yt-facade .yt-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 48px;
  background: #ff0000;
  border-radius: 12px;
  pointer-events: none;
}

.yt-facade .yt-play::after {
  content: '';
  position: absolute;
  top: 50%; left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--white);
}

.yt-facade:hover .yt-play { background: var(--red); }


/* ============================================================
   8. SOCIAL & FOOTER
   ============================================================ */

.social,
.copyright,
.footer {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 13px;
  margin: 0;
  padding: 0;
}

.social a,
.copyright a,
.footer a {
  font-size: 13px !important;
  color: var(--black) !important;
  font-weight: bold;
  text-decoration: none;
}

/* Social overrides */
.social { margin: 0 0 20px 0; padding-top: 0 !important; }
.social strong { color: #5a5a5a; }

.social a         { color: #5a5a5a !important; font-weight: bold; }
.social a:hover,
.social a:focus,
.social a:active,
.social i:hover   { color: var(--black) !important; text-decoration: none; }

.social ul         { list-style: none; text-align: center; padding: 0; margin: 0; }
.social ul li      { display: inline-block; padding: 2px 15px; border-right: 1px solid #ccc; margin: 2px 0; }
.social ul li:first-child { padding-left: 0 !important; }
.social ul li:last-child  { border-right: none; }
.social ul li a    { color: var(--black); font-weight: bold; font-size: 13px; }
.social span       { color: #666; line-height: 40px; }

/* Footer */
.footer { padding: 0 20px; }

.footer ul.nav { list-style: none; text-align: center; padding: 0; margin: 0; }
.footer ul.nav li { display: inline-block; padding: 0 12px; border-right: 1px solid #ccc; }
.footer ul.nav li:first-child { padding-left: 0 !important; }
.footer ul.nav li:last-child  { border-right: none; }
.footer ul.nav li a { color: var(--black); font-weight: bold; font-size: 13px; text-decoration: none; }
.footer ul.nav li a:hover { color: var(--red); }

/* Copyright */
.copyright {
  color: var(--gray-dark);
  text-align: center !important;
  margin: 20px 0 40px 0;
}

.copyright a { color: var(--gray-dark); text-decoration: none; }


/* ============================================================
   9. PAGINATION
   ============================================================ */

.pagenavigation,
.pager { display: none; }

/* Hidden elements */
.itemid-346 .page-header h1,
.com-content-category__table caption,
.counter { display: none !important; }

#categorylist_header_title,
ul.pagination li.disabled { display: none !important; }

/* Pagination list */
ul.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 30px auto;
  gap: 8px;
}

ul.pagination li.page-item {
  display: inline-block;
  text-align: center;
  font-size: 16px;
}

ul.pagination li.page-item a.page-link {
  display: inline-block;
  padding: 6px 16px;
  background: var(--white);
  border: 2px solid #ccc;
  color: var(--black);
  font-family: var(--font-head);
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
}

ul.pagination li.page-item a.page-link:hover {
  background: var(--white);
  border-color: #999;
  color: #000;
}

ul.pagination li.page-item.active > a.page-link {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

ul.pagination li.page-item.disabled > a.page-link {
  background: #f5f5f5;
  color: #aaa;
  border-color: #eee;
  cursor: default;
  pointer-events: none;
}

/* First/prev/next/last nav items */
ul.pagination li.page-first a,
ul.pagination li.page-prev a,
ul.pagination li.page-next a,
ul.pagination li.page-last a { font-weight: bold; letter-spacing: 1px; }

/* Icon label replacements */
.page-item.disabled .page-link                 { display: none !important; }
.page-item .icon-angle-left:before             { content: "previous"; }
.page-item .icon-angle-double-left:before      { content: "first"; }
.page-item .icon-angle-right:before            { content: "next"; }
.page-item .icon-angle-double-right:before     { content: "last"; }

/* Video library pager (itemid-276 only shows this) */
.itemid-276 .pager { display: block; }

.itemid-276 .pagenavigation {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 30px auto;
  padding: 10px 0;
}

.itemid-276 .pagenavigation .btn-secondary {
  display: inline-block;
  padding: 10px 16px;
  background-color: var(--white);
  border: 2px solid #ccc;
  color: var(--black);
  font-family: var(--font-head);
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.itemid-276 .pagenavigation .btn-secondary:hover  { background-color: #eeeeee; border-color: #999; color: #000; }
.itemid-276 .pagenavigation .btn-secondary.active { background-color: var(--red); border-color: var(--red); color: var(--white); }


/* ============================================================
   10. PAGE-TYPE LAYOUTS
   ============================================================ */

/* --- Exercise of the day --- */
.wods .item-image  { background: #FFFFFF; text-align: center; max-width: 700px;margin: 0 auto; }
.wods .item-title  { display: none !important; }

/* --- Workouts --- */


.workouts .page-header { display: none !important; }
.workouts .item-image  { background: url('../images/darebg.jpg') repeat top center; text-align: center; padding: 0 !important; border-bottom: 1px solid #b2b2b2; }


.fullprog img,
.workouts figure.item-image img  { width: 100%; max-width: 930px; height: auto; display: block; margin: 0 auto; }

/* --- Infobox (workout detail) --- */

.infobox, .infop {
  display: block;
  position: relative;
  padding: 20px;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #e8e8e8 url('../images/infobox.png') repeat-x 0 0; 
}

.infobox::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.challenges .infobox::after {
  display: none;
}

.infotext {
  position: relative;
}


.infobox::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 15px;
  pointer-events: none;
}


.infobox-map { display: block; width: 40%; float: left; background: #e8e8e8 url('../images/ww.jpg') no-repeat 0 0; padding-left: 80px; }
.infobox-focus,
.infobox-works,
.infobox-difficulty { display: block; width: 20%; float: left; }
.infomore  { display: block; position: relative; overflow: hidden; width: 100%; border-top: 1px solid var(--gray-border); padding: 0; }
.infotext, .infop-text, #challengeintro  { padding: 30px 60px; }
.wlive     { text-align: center; padding: 15px 0 0 0; margin: 0; }
.wlive span { font-size: 56px; padding: 0; margin: 0; }

#challengeintro {background: #e8e8e8;}



/* --- Programs --- */
.fullprog, .fullprogmain { text-align: center; }
.fullprog    { background: url('../images/darebg.jpg') repeat-x top center; }
.fullprogmain { background: #000; max-height: 645px; }
.fullimg     { text-align: center; background: url('../images/darebg.jpg') repeat-x top center; }
.fullimgtop  { background: url('../images/darebg.jpg') repeat-x top center; text-align: center; }



/* Program index list */
.pwrap { display: block; float: left; }

.ppp, .hhh {
  display: block;
  float: left;
  width: 230px;
  height: 40px;
  line-height: 40px;
  color: var(--white);
  margin: 8px 15px 0 0;
  background: #c2c2c2;
  text-align: center;
  font-family: var(--font-head);
}

.ppp a {
  display: block;
  width: 190px;
  height: 40px;
  color: var(--black) !important;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: normal;
  float: left;
}

.hhh {margin: 10px 0 0 15px; }
.hhh a { text-align: center!important;color: var(--black) !important;  text-decoration: none;  text-transform: uppercase; }

.programs .aaa { background-color: var(--white) !important; }

.aaa {
  display: block;
  float: right;
  width: 50px;
  height: 50px;
  cursor: pointer;
  border: 2px solid #c2c2c2;
  background-size: contain !important;
}

.aaa i { color: #ff0000 !important; }

/* Index wrapper */
.index_wrapper { width: 100%; max-width: 100%; }

.index_wrapper::before,
.index_wrapper::after { content: ""; display: table; clear: both; line-height: 0; }

.index_title { font-weight: 700; margin-bottom: 8px; padding: 0 15px; text-align: center; color: #999; }
.index_list  { padding: 0 15px; }

.index_list .ppp  {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}

.index_list .ppp a       { color: var(--black); text-decoration: none; }
.index_list .ppp a:hover { text-decoration: none; }
.index_list .ppp.is-done a { opacity: 0.65; }

.index_list .aaa {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 2px solid #c2c2c2;
  background: var(--white);
  padding: 0;
  cursor: pointer;
  appearance: none;
}

.index_list .aaa.is-checked {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: var(--white);
}

.index_list .aaa:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }

/* --- Programs Index v2 --- */


.index_v2 { width: 100%; max-width: 100%; }

.index_v2 .index_title {
  font-family: 'Pathway Gothic One', Arial, sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: normal;
  text-align: center;
  color: #999;
  margin-bottom: 4px;
  padding: 0 15px;
}

/* Preview link (rendered by JS only if data-preview is set) */
.index_v2 .index_preview {
  text-align: center;
  margin-bottom: 14px;
}
.index_v2 .index_preview a {
  font-family: 'Pathway Gothic One', Arial, sans-serif;
  font-size: 19px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #CC0000 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #CC0000;
  padding-bottom: 1px;
}
.index_v2 .index_preview a:hover {
  color: #a80000 !important;
  border-bottom-color: #a80000;
  text-decoration: none !important;
}

/* Progress summary */
.index_v2 .index_progress {
  max-width: 420px;
  margin: 0 auto 20px auto;
  padding: 0 15px;
  text-align: center;
}
.index_v2 .index_count {
  font-family: 'Pathway Gothic One', Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555555;
  margin-bottom: 7px;
}
.index_v2 .index_count strong {
  color: #141414;
  font-weight: normal;
}
.index_v2 .index_bar {
  height: 5px;
  background: #e0e0e0;
  overflow: hidden;
}
.index_v2 .index_fill {
  height: 100%;
  width: 0;
  background: #CC0000;
  transition: width 0.4s ease;
}

/* Day grid - replaces the old float layout */
.index_v2 .index_list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  padding: 0 15px;
}

/* Row */
.index_v2 .index_list .ppp {
  display: flex;
  align-items: stretch;
  float: none;
  width: auto;
  height: 46px;
  line-height: normal;
  margin: 0;
  padding: 0;
  background: #FFFFFF;
  border: 1px solid #cccccc;
  transition: border-color 0.15s ease;
}
.index_v2 .index_list .ppp:hover { border-color: #141414; }

/* Day link - stays a real link for browsing */
.index_v2 .index_list .ppp a {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  float: none;
  width: auto;
  height: auto;
  font-family: 'Pathway Gothic One', Arial, sans-serif;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #141414 !important;
  text-decoration: none !important;
}
.index_v2 .index_list .ppp a:hover {
  color: #141414 !important;
  text-decoration: none !important;
}

/* Checkbox - Joomla-proofed with explicit overrides */
.index_v2 .index_list .aaa {
  flex: 0 0 46px;
  float: none;
  width: 46px;
  height: auto;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-left: 1px solid #cccccc !important;
  border-radius: 0 !important;
  background: #FFFFFF !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 55% !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.index_v2 .index_list .aaa:hover { background-color: #f5f5f5 !important; }
.index_v2 .index_list .aaa:focus-visible {
  outline: 2px solid #141414;
  outline-offset: 2px;
}

/* Completed state - red tick (inline SVG, no image request), dimmed label */
.index_v2 .index_list .aaa.is-checked {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='%23CC0000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5.5 5.5L20 6'/></svg>") !important;
}
.index_v2 .index_list .ppp.is-done { border-color: #dddddd; }
.index_v2 .index_list .ppp.is-done:hover { border-color: #141414; }
.index_v2 .index_list .ppp.is-done a { color: #999999 !important; }

/* Up next - the first unchecked day */
.index_v2 .index_list .ppp.is-next {
  border: 2px solid #CC0000;
}
.index_v2 .index_list .ppp.is-next a { color: #CC0000 !important; }
.index_v2 .index_list .ppp.is-next .aaa { border-left-color: #CC0000 !important; }

/* Mobile - taller tap targets */
@media (max-width: 600px) {
  .index_v2 .index_list { gap: 8px; }
  .index_v2 .index_list .ppp { height: 48px; }
  .index_v2 .index_list .aaa { flex-basis: 48px; width: 48px; }
}


/* Program index v2 - extras row (Dead Hang, Tips, Epilogue etc) */
.index_v2 .index_extras {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  padding: 0 15px;
  margin-top: 10px;
}
.index_v2 .hhh {
  display: flex;
  align-items: center;
  justify-content: center;
  float: none;
  width: auto;
  height: 46px;
  line-height: normal;
  margin: 0;
  background: #f5f5f5;
  border: 1px solid #cccccc;
  transition: border-color 0.15s ease;
}
.index_v2 .hhh:hover { border-color: #141414; }
.index_v2 .hhh a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: 'Pathway Gothic One', Arial, sans-serif;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #141414 !important;
  text-decoration: none !important;
}
@media (max-width: 600px) {
  .index_v2 .hhh { height: 48px; }
}

/* Program index v2 - preview lightbox */
.index_lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 20, 0.88);
  padding: 30px;
  cursor: pointer;
}
.index_lightbox.is-open { display: flex; }

.index_lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  display: block;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.index_lightbox_close {
  position: fixed;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #FFFFFF !important;
  font-size: 36px;
  line-height: 44px;
  text-align: center;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
}
.index_lightbox_close:hover { color: #CC0000 !important; }
.index_lightbox_close:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }

/* Stops the page scrolling behind the open lightbox */
body.index_lightbox_open { overflow: hidden; }



/* --- Challenges --- */
.challenges .item-image { background: url('../images/darechallenge.jpg') no-repeat top center; text-align: center; border-bottom: 1px solid #b2b2b2; }

.challenges .item-image img { max-width: 930px;}

/* Progress tracking dots */
.progresstracking {
  *zoom: 1;
  display: block;
  margin: 0 auto !important;
  padding: 20px 0 0 0;
  max-width: 885px;
  counter-reset: pt;
}

.progresstracking::before,
.progresstracking::after { display: block; content: ""; line-height: 0; }
.progresstracking::after  { clear: both; }

.progresstracking .ppp {
  display: inline-block;
  position: relative;
  width: 51px;
  height: 51px;
  line-height: 51px;
  font-size: 0;           /* hides typed number */
  font-weight: bold;
  color: #ccc;
  background-color: var(--white);
  font-family: var(--font-head);
  margin: 8px 8px 0 0;
  align-items: center;
  counter-increment: pt;
}

.progresstracking .aaa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 2px solid var(--black);
  cursor: pointer;
  margin-left: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
  font-size: 20px;
  color: var(--black);
}

.progresstracking .aaa::before { content: counter(pt); }

.progresstracking .aaa.is-x { background-image: url("https://darebee.com/images/content/x.png"); }

/* --- Guides --- */
.guides .item-image { background: url('../images/darebgdark.jpg') no-repeat top center; text-align: center; }

/* --- Module color modifiers --- */
.moduletable.red   { background: #ff0000 !important; }
.moduletable.grey  { background: var(--gray-border) !important; }
.moduletable.black { background: var(--black) !important; }
.moduletable.white { background: var(--white) !important; }

.moduletable.seeme {
  background: var(--white) !important;
  padding: 25px;
  color: var(--red);
  text-align: center;
  line-height: 18px;
  max-height: 300px;
}


/* ============================================================
   11. ITEM-ID OVERRIDES
   ============================================================ */

/* Custom list style for itemid-105 */
.itemid-105 .item-page ul     { line-height: 1.5em; margin: 5px 0 15px; padding: 0; }
.itemid-105 .item-page li     { list-style: none; position: relative; padding: 0 0 15px 30px; }
.itemid-105 .item-page li::before { content: ""; position: absolute; left: 7px; top: 10px; width: 10px; height: 10px; background-color: var(--black); }

/* Itemid-120 heading spacing */
.itemid-120 h3 { margin: 40px 0 0 0 !important; }

/* Itemid-547 (quotes/testimonials) */
.itemid-547 .blog-item                             { display: block; width: 400px; margin: 0 auto; }
.itemid-547 .category-desc h1                     { font-size: 56px; }
.itemid-547 .category-desc                        { font-size: 24px; line-height: 30px; font-family: var(--font-head); }
.itemid-547 .page-header h2 a                     { font-size: 20px; color: var(--gray-border); text-align: center; padding-top: 20px; font-style: italic; }
.itemid-547 .blog-item .item-content p,
.itemid-547 .com-content-article__body p           { font-size: 30px; line-height: 30px; text-align: center !important; font-family: var(--font-head); }
.itemid-547 .com-content-blog__links               { display: block; width: 400px; margin: 0 auto; text-align: center; }
.itemid-547 .com-content-blog__link               { list-style-type: none !important; display: inline-block; padding: 5px; }
.itemid-547 .com-content-blog__link a             { color: var(--black) !important; }

/* Itemid-657 article images */
.itemid-657 .com-content-article__body img { max-width: 280px !important; padding: 0 5px 5px 0; }

/* FAQ list (itemid-346) */
.itemid-346 table.category thead,
.itemid-346 table.category caption { display: none; }

.itemid-346 table.category {
  width: 100%;
  max-width: 640px;
  border-collapse: collapse;
  border: none;
  margin: 10px auto;
}

.itemid-346 table.category tr.cat-list-row0,
.itemid-346 table.category tr.cat-list-row1 {
  display: block;
  border: none;
  border-bottom: 1px solid #e5e5e5;
  background: none;
  padding: 0;
  margin: 0;
}

.itemid-346 table.category tr.cat-list-row0:last-child,
.itemid-346 table.category tr.cat-list-row1:last-child { border-bottom: none; }

.itemid-346 table.category th.list-title {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
  font-weight: normal;
  text-align: left;
}

.itemid-346 table.category th.list-title a {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  margin: 0;
  color: var(--black);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: normal;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.itemid-346 table.category th.list-title a::after {
  content: "→";
  font-size: 15px;
  color: var(--gray-border);
  flex-shrink: 0;
  margin-left: 12px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.itemid-346 table.category th.list-title a:hover         { background: #f5f5f5; color: var(--red); }
.itemid-346 table.category th.list-title a:hover::after  { color: var(--red); transform: translateX(4px); }


/* ============================================================
   12. MODULE UTILITIES
   ============================================================ */

/* Joomla Shortcodes */
.workouts .page-header { display: none !important; }

/* Text wrap containers */
#textwrap { clear: both; padding: 0 15% !important; }

#textwrap::after,
.item-page::after {
  content: "";
  display: table;
  clear: both;
}

/* ============================================================
   13. DBS COMPONENT SYSTEM
   ============================================================ */

/* --- 13a. Wrap & Hero --- */

.dbs-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  color: var(--black);
  box-sizing: border-box;
  /* Unified typography: one body font/size, one heading font/size */
  --dbs-head-size: 1.5rem;
  font-family: var(--font-slab);
  font-size: 1.1rem;
  line-height: 1.6;
}

.dbs-wrap *,
.dbs-wrap *::before,
.dbs-wrap *::after { box-sizing: border-box; }

/* All links inside DBS pages share one style (same as .dbs-link) */
.dbs-wrap a       { color: var(--red); text-decoration: none; font-weight: 600; }
.dbs-wrap a:hover { text-decoration: underline; }

/* Plain <hr> inside DBS pages renders like .dbs-divider */
.dbs-wrap hr {
  height: auto;
  background: none;
  border: none;
  border-top: 1px solid #d0d0d0;
  margin: 2.5rem 0;
}

/* DBS headings: neutralize .item-page h1-h6 overrides, one shared size */
.dbs-wrap h1, .dbs-wrap h2, .dbs-wrap h3,
.dbs-wrap h4, .dbs-wrap h5, .dbs-wrap h6 {
  font-size: var(--dbs-head-size);
  line-height: 1.2;
  padding: 0;
  margin: 0 0 0.5em;
  width: auto;
  clear: none;
}

/* One text color for all body copy on DBS pages */
.dbs-wrap p { color: var(--gray-mid); }

.dbs-hero {
  border-bottom: 1px solid #d0d0d0;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
}

.dbs-badge {
  display: inline-block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #f0f0f0;
  color: var(--gray-mid);
  border: 1px solid #d0d0d0;
  padding: 4px 10px;
  margin-bottom: 1.2rem;
}

.dbs-wrap .dbs-hero-congrats {
  color: var(--gray-muted);
  margin: 0 0 0.3rem;
  line-height: 1.4;
}

.dbs-wrap .dbs-hero-main {
  font-family: var(--font-head);
  font-size: 4rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--black);
  margin: 0 auto!important;
  letter-spacing: -0.01em;
}



.dbs-red { color: var(--red); }

.dbs-wrap .dbs-hero-sub {
  text-transform: uppercase;
  color: var(--gray-muted);
  letter-spacing: 0.08em;
  border-top: 2px solid var(--red);
  display: block;
  margin: 2rem auto;
  padding-top: 0.4rem;
  text-align: center;
}

.dbs-hero-body {
  color: var(--gray-mid);
  max-width: 930px;
  margin: 0;
}

/* --- 13b. Cards & Paths --- */

.dbs-paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4px;
  margin-bottom: 2.5rem;
}

.dbs-card {
  background: var(--gray-surface);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dbs-card:hover { background: #efefef; }

.dbs-card-icon  { width: 28px; height: 28px; margin-bottom: 4px; display: block; }

.dbs-card-title {
  font-family: var(--font-head);
  font-size: var(--dbs-head-size);
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.dbs-card-desc {
  color: var(--gray-mid);
  flex: 1;
}

.dbs-card-cta {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  margin-top: 6px;
  display: inline-block;
}

.dbs-card-cta:hover { text-decoration: underline; }

/* --- 13c. Grids --- */

/* Daily features grid */
.dbs-daily-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 1rem;
}

.dbs-daily-item { background: var(--gray-surface); padding: 2rem 2rem 4rem 2rem; }

.dbs-daily-item h4 {
  font-family: var(--font-head);
  font-size: var(--dbs-head-size);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 2rem 0.35rem;
  color: var(--black);
}

.dbs-daily-item p { margin: 0; color: var(--gray-mid); }

/* Category grid */
.dbs-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 4px;
  margin-bottom: 2.5rem;
}

.dbs-cat-item           { background: var(--gray-surface); padding: 1rem 1.1rem; }
.dbs-cat-item.dbs-cat-empty { background: var(--white); }

.dbs-cat-item h4 {
  font-family: var(--font-head);
  font-size: var(--dbs-head-size);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  margin: 1rem;
}

.dbs-cat-item p { color: var(--gray-mid); margin: 0 0 25px 0; }

/* Type grid */
.dbs-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 1.5rem;
}

.dbs-type-card { background: var(--gray-surface); padding: 1.2rem 1.3rem; }

.dbs-type-card h4 {
  font-family: var(--font-head);
  font-size: var(--dbs-head-size);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  margin: 1rem;
}

.dbs-type-card p { color: var(--gray-mid); margin: 0 0 0.6rem; }

.dbs-level-times {
  font-size: 0.8rem;
  color: var(--gray-muted);
  border-top: 1px solid #ddd;
  padding-top: 0.5rem;
  margin-top: 0.3rem;
}

.dbs-level-times span { display: block; padding: 1px 0; }

/* Reps grid */
.dbs-reps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 1.5rem;
}

.dbs-reps-item          { background: var(--gray-surface); padding: 1rem 1.5rem 3rem 1.5rem; }
.dbs-reps-item.dbs-cat-empty { background: var(--white); }

.dbs-reps-item h4 {
  font-family: var(--font-head);
  font-size: var(--dbs-head-size);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 1rem;
  color: var(--black);
}

.dbs-reps-item p { color: var(--gray-mid); margin: 0; }

/* Rest grid */
.dbs-rest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 1.5rem;
}

.dbs-rest-item { background: var(--gray-surface); padding: 1rem; text-align: center; }

.dbs-rest-item p { color: var(--gray-mid); margin: 0.6rem 0 0; }

.dbs-rest-level {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-muted);
  margin-bottom: 0.25rem;
  display: block;
}

.dbs-rest-time {
  font-family: var(--font-head);
  font-size: var(--dbs-head-size);
  color: var(--black);
  display: block;
}

/* --- 13d. Levels & Badges --- */

.dbs-levels {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 2.5rem;
}

.dbs-level-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: var(--gray-surface);
}

.dbs-level-row:hover { background: #efefef; }

.dbs-level-desc { color: var(--gray-mid); }

.dbs-level-badge {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--black);
  padding: 3px 8px;
  margin: 10px 10px 0 0;
  flex-shrink: 0;
  width: 11.5em;
  white-space: nowrap;
  text-align: center;
}

.dbs-level-badge.l1 { background: #aaa; }
.dbs-level-badge.l2 { background: #888; }
.dbs-level-badge.l3 { background: #555; }
.dbs-level-badge.l4 { background: #333; }
.dbs-level-badge.l5 { background: var(--red); }

/* --- 13e. Note, Tip, Divider --- */

.dbs-note {
  background: var(--gray-surface);
  border-left: 3px solid #d0d0d0;
  padding: 0.75rem 1rem;
  color: var(--gray-mid);
  margin-bottom: 1.5rem;
}

.dbs-tip {
  border-left: 3px solid var(--red);
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 1rem 0 0;
  color: var(--gray-mid);
}

.dbs-divider {
  border: none;
  border-top: 1px solid #d0d0d0;
  margin: 2.5rem 0;
}

/* --- 13f. Anatomy & Poster --- */

.dbs-poster-anatomy {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 1.5rem;
}

.dbs-anatomy-item { background: var(--gray-surface); padding: 0.9rem 1rem; text-align: center; }

.dbs-anatomy-label {
  font-family: var(--font-head);
  font-size: var(--dbs-head-size);
  text-transform: uppercase;
  color: var(--black);
  display: block;
  margin-bottom: 0.2rem;
}

.dbs-anatomy-item p { color: var(--gray-mid); margin: 0; }

/* --- 13g. Timing & Two-col --- */

.dbs-timing {
  display: flex;
  gap: 4px;
  margin-bottom: 2rem;
}

.dbs-timing-block { flex: 1; background: var(--gray-surface); padding: 1rem; text-align: center; }
.dbs-timing-block.active { background: var(--red); }

.dbs-timing-label {
  font-family: var(--font-head);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-muted);
  display: block;
  margin-bottom: 0.2rem;
}

.dbs-timing-block.active .dbs-timing-label { color: var(--white); }

.dbs-timing-value { font-family: var(--font-head); font-size: var(--dbs-head-size); color: var(--black); display: block; }
.dbs-timing-block.active .dbs-timing-value { color: var(--white); }

.dbs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 2.5rem;
}

.dbs-col-block { background: var(--gray-surface); padding: 2rem 1.4rem; }

.dbs-col-block h3 {
  font-family: var(--font-head);
  font-size: var(--dbs-head-size);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--black);
  margin: 0 0 0.6rem;
  border-bottom: 2px solid var(--red);
  padding-bottom: 0.35rem;
  display: inline-block;
}

.dbs-col-block p           { color: var(--gray-mid); margin: 0 0 1rem; }
.dbs-col-block p:last-child { margin: 0; }

/* --- 13h. Warm-up blocks --- */

.dbs-warmup-types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 4px;
  margin-bottom: 1rem;
}

.dbs-wtype { background: var(--gray-surface); padding: 2rem 1.1rem; }

.dbs-wtype h4 {
  font-family: var(--font-head);
  font-size: var(--dbs-head-size);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  margin: 0 0 0.3rem;
}

.dbs-wtype p { color: var(--gray-mid); margin: 0; }

.dbs-warmup-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 4px;
  margin-bottom: 1rem;
}

.dbs-warmup-link-item {
  background: var(--gray-surface);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--black);
}

.dbs-wrap .dbs-warmup-link-item:hover { background: #efefef; text-decoration: none; }

.dbs-warmup-link-item span {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--black);
}

.dbs-warmup-link-item .dbs-arrow { color: var(--red); flex-shrink: 0; }

/* --- 13i. Community block --- */

.dbs-community {
  border: 1px solid #d0d0d0;
  border-top: 3px solid var(--black);
  padding: 1.5rem;
}

.dbs-community h3 {
  font-family: var(--font-head);
  font-size: var(--dbs-head-size);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
  color: var(--black);
}

.dbs-community p { color: var(--gray-mid); margin: 0; }

/* --- 13j. Manual box --- */

.dbs-manual-box {
  background: var(--gray-surface);
  border-left: 4px solid var(--red);
  padding: 2rem 2rem 4rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.dbs-manual-num {
  font-family: var(--font-head);
  font-size: 3rem;
  color: #d0d0d0;
  line-height: 1;
  flex-shrink: 0;
}

.dbs-manual-text h3 {
  font-family: var(--font-head);
  font-size: var(--dbs-head-size);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 2rem 0;
  color: var(--black);
}

.dbs-manual-text p { color: var(--gray-mid); margin: 0; }

/* Shared DBS utility */
.dbs-step-label { letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-muted); margin: 2rem 0; text-align: center; }
.dbs-body       { color: var(--gray-mid); margin-bottom: 0.9rem; }
.dbs-link       { color: var(--red); text-decoration: none; font-weight: 600; }
.dbs-link:hover { text-decoration: underline; }


/* ============================================================
   14. VIDEO LIBRARY (itemid-276)
   ============================================================ */

.itemid-276 .cat-list-row0:first-child,
.itemid-276 table thead { display: none; }

.itemid-276 table { display: block; width: 100%; border: none; }

.itemid-276 table tbody {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px 12px;
}

.itemid-276 tr.cat-list-row0,
.itemid-276 tr.cat-list-row1 { display: contents; }

.itemid-276 th.list-title {
  display: block;
  padding: 0;
  font-weight: normal;
  border: none;
  background: none;
}

.itemid-276 th.list-title a {
  display: block;
  padding: 6px 10px 6px 12px;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  border-left: 3px solid transparent;
  transition: border-color 0.15s ease, padding-left 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.itemid-276 th.list-title a:hover {
  border-left-color: #e8392d;
  padding-left: 16px;
}

.itemid-276 tr.cat-list-row1 th.list-title a { background: rgba(255,255,255,0.03); }


/* ============================================================
   15. RESPONSIVE — collected media queries
   ============================================================ */



/* ≤1024px */
@media (max-width: 1024px) {
  #sources    { width: 85%; }
  #daretable3 { width: 50%; }
}

/* ≤968px */
@media (max-width: 968px) {
  .story                        { padding: 10px 20px; }
  .story h1                     { margin: 0 0 20px 0 !important; }
  #textwrap, #challengeintro    { padding: 15px !important; }
  .challenges .item-image img   { width: 100%!important;}
}

/* ≤930px */
@media (max-width: 930px) {
  .progresstracking { max-width: 768px; padding: 20px 0 10px 0; }
}

/* ≤768px */
@media (max-width: 768px) {
  /* Social */
  .social ul li { padding: 2px 7px; }

  /* Infobox */
  .infobox              { width: 100%; }
  .infobox-map          { width: 100%; float: none; }
  .infobox-focus,
  .infobox-works,
  .infobox-difficulty     { width: 30%; float: left; }
  .infotext               { padding: 0; }
  .infop-text, #challengeintro, .programs .infotext  { padding: 0; }

  /* Programs */
  .ppp, .hhh            { width: 360px; height: 40px; line-height: 40px; }
  .ppp a                { width: 320px; height: 40px; }
  .aaa                  { width: 40px; height: 40px; }


  /* Index */
  .index_wrapper        { width: 500px; margin: 0 auto; }
  .index_list           { padding: 0 15px; }
  .index_title          { font-size: 16px; color: #999; }

  /* Progress tracking */
  .progresstracking         { max-width: 460px; }
  .progresstracking .ppp    { margin: 4px 4px 0 0 !important; }

  /* Sources, tables */
  #sources                  { width: 100%; }
  #daretable2, #daretable3  { width: 100%; padding: 0; }
  #daretable2 img,
  #daretable3 img           { padding: 5px; }

  /* Story */
  .story                    { padding: 15px; }
  .story img                { margin: 0 auto !important; }

  /* Cert */
  .cert                     { padding: 10px; margin: 50px 0 20px 0; }

  /* Itemid-547 */
  .itemid-547 .blog-item    { width: 100%; }
  .itemid-547 .category-desc { font-size: 24px; line-height: 30px; }

  /* Video library */
  .itemid-276 table tbody    { grid-template-columns: 1fr; }
  .itemid-276 th.list-title a { font-size: 1rem; padding: 9px 10px 9px 12px; }
}

/* ≤600px */
@media (max-width: 600px) {
  .dbs-wrap .dbs-hero-main { font-size: 2.5rem; }
  .dbs-daily-grid  { grid-template-columns: 1fr; }
  .dbs-paths       { grid-template-columns: 1fr; }
  .dbs-manual-box  { flex-direction: column; gap: 0.5rem;  }
  .dbs-manual-num  { font-size: 2rem; }
}

/* ≤560px */
@media (max-width: 560px) {
  .dbs-type-grid        { grid-template-columns: 1fr; }
  .dbs-poster-anatomy   { grid-template-columns: repeat(2, 1fr); }
  .dbs-rest-grid        { grid-template-columns: 1fr; }
  .dbs-reps-grid        { grid-template-columns: 1fr; }
  .dbs-cat-grid         { grid-template-columns: 1fr; }
  .dbs-level-badge      { min-width: 80px; font-size: 0.72rem; }
  .dbs-two-col          { grid-template-columns: 1fr; }
  .dbs-timing           { flex-direction: column; }
  .dbs-warmup-types     { grid-template-columns: 1fr; }
}

/* ≤460px */
@media (max-width: 460px) {
  .index_wrapper { width: 450px; margin: 0 auto; }
}


#dbs-donation-banner {
  background: #FF0000;
  color: #ffffff;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  position: relative;
  z-index: 999;
  margin-bottom: 10px;
}

.dbs-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  text-decoration: none;
  cursor: pointer;
}

.dbs-banner-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.dbs-banner-inner:hover .dbs-banner-text {
  text-decoration: none;
}

.dbs-banner-text {
  margin: 0;
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
  flex: 1;
}

.dbs-banner-dismiss {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  flex-shrink: 0;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
  z-index: 1;
}

.dbs-banner-dismiss:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.dbs-banner-donated {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  text-decoration: none;
  text-underline-offset: 2px;
  position: relative;
  z-index: 1;
  transition: color 0.15s;
}

.dbs-banner-donated:hover {
  text-decoration: underline;
  background: none!important;
}

@media (max-width: 600px) {
  .dbs-banner-main {
    flex-direction: column;
    gap: 10px;
  }
  .dbs-banner-inner {
    gap: 10px;
    padding: 10px 16px 12px;
  }
  .dbs-banner-dismiss {
    align-self: center;
  }
}


.dbee-share{
  display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;
  margin:14px 0;padding-bottom:18px;border-bottom:1px solid #dcdcdc
}
.dbee-share a,.dbee-share button{
  display:inline-flex;align-items:center;gap:7px;
  padding:4px 0;
  background:none;color:#141414;
  border:none;
  font-family:'Pathway Gothic One',Arial,sans-serif;
  font-size:22px;letter-spacing:.6px;text-transform:uppercase;
  cursor:pointer;line-height:1;text-decoration:none;
  transition:opacity .15s
}
.dbee-share a:hover,.dbee-share a:focus-visible,
.dbee-share button:hover,.dbee-share button:focus-visible{opacity:.6;outline:none}
.dbee-share svg{width:20px;height:20px;fill:currentColor;display:block}


.dbs-hrev * { box-sizing: border-box; }
.dbs-hrev {
    font-family: 'Roboto', serif;
    color: #141414;
    width: 100%;
    background: #EEEEEE;

}

.dbs-hrev-grid-bg {
    display:block;
    gap: 0;
    width: 100%;
    padding: 0;
    border: 20px solid #FFFFFF;
}

/* --- grid: 3 across, full width, equal collapsed height --- */
.dbs-hrev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    align-items: start; /* an expanded card grows alone, not the whole row */
    padding: 0;
}
.dbs-hrev-item {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    background: #EEEEEE;
    border: none;
    border-radius: 0;
    padding: 25px 25px 0 70px;
}
.dbs-hrev-item:before {
    content: '\201C';
    position: absolute;
    left: 25px;
    top: 25px;
    font-family: 'Pathway Gothic One', sans-serif;
    font-size: 72px;
    line-height: 1;
    color: #CC0000;
}
.dbs-hrev-text {
    font-family: 'Georgia', serif;
    font-size: 18px;
    line-height: 1.65;
    margin: 0 0 16px 0;
    white-space: pre-line;
    color: #141414;
}
.dbs-hrev-full { display: none; }
.dbs-hrev-more {
    display: block;
    font-family: 'Pathway Gothic One', sans-serif;
    font-size: 18px;
    color: #CC0000 !important;
    background: none !important;
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 10px 0 0 0;
    cursor: pointer;
    white-space: nowrap;
}
.dbs-hrev-more:hover {
    color: #FF0000 !important;
    background: none !important;
}
.dbs-hrev-meta {
    margin-top: 10px;
    font-family: 'Pathway Gothic One', sans-serif;
    font-size: 17px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #141414;
}
.dbs-hrev-meta span { color: #888888; }

/* --- slideshow dots (mobile only) --- */
.dbs-hrev-dots {
    display: none;
    justify-content: center;
    gap: 10px;
    margin: 5px 0 0 0;
}
.dbs-hrev-dot {
    width: 10px;
    height: 10px;
    padding: 0 !important;
    background: #cccccc !important;
    border: none !important;
    border-radius: 0; /* straight corners, DAREBEE style */
    box-shadow: none !important;
    cursor: pointer;
    transition: background 0.15s ease;
}
.dbs-hrev-dot.dbs-hrev-dot-on { background: #CC0000 !important; }

/* --- link under the grid (mobile only) --- */
/* --- link under the grid --- */
.dbs-hrev-links {
    display: block;
    text-align: center;
    margin: 0;
    padding: 20px 0 !important;
}
/* desktop only: horizontal line above the link */
.dbs-hrev-links:before {
    content: '';
    display: block;
    width: 90%;
    height: 1px;
    background: #CCCCCC;
    margin: 0 auto 20px auto;
}


.dbs-hrev-links a {
    font-family: 'Pathway Gothic One', sans-serif;
    font-size: 18px;
    letter-spacing: 0.5px;
    text-transform: none;
    text-decoration: none !important;
    color: #141414 !important;
    background: none !important;
    padding: 10px 0 !important;
    transition: color 0.15s ease;
}
.dbs-hrev-links a:hover {
    color: #CC0000 !important;
    background: none !important;
}

/* --- mobile: slideshow, one card at a time --- */
@media (max-width: 767px) {
    .dbs-hrev-grid { display: block; }
    .dbs-hrev-item { display: none; min-height: 0; }
    .dbs-hrev-item.dbs-hrev-on {
        display: flex;
        animation: dbsHrevFade 0.5s ease;
    }
    .dbs-hrev-dots { display: flex;   }
    .dbs-hrev-links { display: block; }
    @keyframes dbsHrevFade {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
    .dbs-hrev-item {padding: 35px 35px 25px 60px;}
    .dbs-hrev-item:before {
    left: 35px;
    top: 25px;

}
}

/* ============================================================
   DAREBEE FOOTER (2026 redesign)
   Namespaced under .db-footer. !important on link colors and
   text-decoration so Joomla component styles cannot override.
   ============================================================ */
.db-footer {
  background: #f2f2f2;
  color: #444444;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 30px;
  border-top: 1px solid #e4e4e4;
}

.db-footer * { box-sizing: border-box; }

.db-footer a,
.db-footer a:visited {
  color: #141414 !important;
  text-decoration: none !important;
  transition: color .15s ease;
}
.db-footer a:hover,
.db-footer a:focus {
  color: #e62d2d !important;
  text-decoration: none !important;
}

.db-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Main columns ---------- */
.db-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.1fr 1.5fr;
  gap: 50px;
  padding: 30px 10px;
}

.db-footer h4 {
  font-family: 'Pathway Gothic One', 'Roboto Condensed', sans-serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #8a8a8a;
  margin: 0 0 18px;
}

.db-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.db-footer ul li {
  margin: 0 0 11px;
  padding: 0;
}

/* description + schedule column */
.db-col-brand {
  text-align: center;
}
.db-col-brand p {
  margin: 0 auto 20px;
  color: #6e6e6e;
  max-width: 340px;
}
.db-col-brand .db-schedule {
  display: inline-block;
  text-align: left;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: #555555;
}
.db-footer ul.db-schedule li {
  position: relative;
  padding-left: 18px;
  margin: 0 0 7px;
}
.db-footer ul.db-schedule li:last-child {
  margin-bottom: 0;
}
.db-footer ul.db-schedule li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 9px;
  height: 2px;
  background: #e62d2d;
}

/* social icons: your SVG files recolored via CSS mask so they can
   turn white on the red hover background */
.db-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.db-socials a,
.db-socials a:visited {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: #e6e6e6;
  color: #6e6e6e !important;
  transition: background .15s ease, color .15s ease;
}
.db-socials a:hover,
.db-socials a:focus {
  background: #e62d2d;
  color: #ffffff !important;
}
.db-socials .db-icon {
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.db-socials .db-icon-youtube {
  -webkit-mask-image: url(../images/icon-youtube.svg);
  mask-image: url(../images/icon-youtube.svg);
}
.db-socials .db-icon-pinterest {
  -webkit-mask-image: url(../images/icon-pinterest.svg);
  mask-image: url(../images/icon-pinterest.svg);
}
.db-socials .db-icon-bluesky {
  -webkit-mask-image: url(../images/icon-bluesky.svg);
  mask-image: url(../images/icon-bluesky.svg);
}
.db-socials .db-icon-instagram {
  -webkit-mask-image: url(../images/icon-instagram.svg);
  mask-image: url(../images/icon-instagram.svg);
}

/* report a bug column */
.db-bugcol {
  text-align: center;
}
.db-bugcol p {
  margin: 0 auto 18px;
  color: #6e6e6e;
  max-width: 340px;
}
.db-footer a.db-bug-btn,
.db-footer a.db-bug-btn:visited {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 24px;
  background: #e62d2d;
  border: none;
  border-radius: 0;
  color: #ffffff !important;
  font-weight: 500;
  letter-spacing: .3px;
  transition: background .15s ease;
}
.db-footer a.db-bug-btn:hover,
.db-footer a.db-bug-btn:focus {
  background: #f14a4a;
  color: #ffffff !important;
}
.db-bug-btn .db-icon-bug {
  width: 19px;
  height: 19px;
  background-color: currentColor;
  -webkit-mask-image: url(../images/icon-bug.svg);
  mask-image: url(../images/icon-bug.svg);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* ---------- Bottom meta: badges, languages, legal - centered ---------- */
.db-footer-meta {
  border-top: 1px solid #e4e4e4;
  padding: 30px 0 36px;
  text-align: center;
  font-size: 13px;
  color: #6e6e6e;
}

.db-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.db-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.db-badge img {
  width: 44px;
  height: 44px;
  display: block;
}
.db-badge-text {
  font-family: 'Pathway Gothic One', 'Roboto Condensed', sans-serif;
  font-size: 16px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #8a8a8a;
  line-height: 1.2;
  text-align: left;
}

.db-langs { margin-bottom: 20px; }
.db-langs p { margin: 0 0 6px; }

.db-legal p { margin: 0 0 6px; }

/* keyboard focus visibility */
.db-footer a:focus-visible {
  outline: 2px solid #e62d2d;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .db-footer a, .db-socials a { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .db-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    padding: 44px 0 36px;
  }
}
@media (max-width: 560px) {
  .db-footer-inner { padding: 0 22px; }
  .db-footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .db-badges { gap: 30px; }
}







/* =========================================================
   BOOKS MODULE  (sidebar / footer strip)  - centred, full width
   Icons: /images/icons/ - book.svg, audiobook.svg, pdf.svg
   ========================================================= */

.dbz-books {padding: 30px; width: 100%}

/* link resets - Joomla forces its own colours and underlines, so state every state */
.dbz-books a,
.dbz-books a:link,
.dbz-books a:visited,
.dbz-books a:hover,
.dbz-books a:focus,
.dbz-books a:active{
  color:#141414;
  text-decoration:none;
  border:0;
  background:none;
  box-shadow:none;
  outline:0;
}
.dbz-books a:focus-visible{outline:2px solid #e62d2d; outline-offset:3px;}

/* ---------- featured book ----------
   NO position:relative and NO ::after overlay here. The old
   stretched-link trick anchored itself outside the module and
   turned the whole page into one link to the book. */
.dbz-books .dbz-featured{
  display:block;
  width:100%;
  padding-bottom:30px;
  text-align:center;
}

.dbz-eyebrow{
  display:block;
  font-size:16px;
  line-height:1;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:#8a8a8a;
  margin:15px 0;
  font-weight:bold;
}

.dbz-books .dbz-title{
  padding:20px 0 0 20px !important;
  text-align:left !important;
  font-family:inherit; 
  font-weight:700;
  font-size:76px;
  line-height:76px;
  text-transform:uppercase;
  letter-spacing: -2px;
  color:#141414;
  display: block;
  margin: 0 auto;
}


.dbz-desc{
  display:block;
  margin:20px 0 0;
  font-size:14px;
  line-height:1.55;
  color:#8a8a8a;
}

/* ---------- format badges ---------- */
.dbz-books .dbz-formats{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:26px;
  margin:24px 0 0;
  padding:0;
  list-style:none;
}
.dbz-books .dbz-formats li,
.dbz-books .dbz-formats .dbz-format{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  width:auto;
  margin:0;
  padding:0;
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#9a9a9a;
}

/* icon engine - one file per icon, tinted with background-color */
.dbz-ico{
  display:block;
  background-color:#c2c2c2;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-position:center;  mask-position:center;
  -webkit-mask-size:contain;     mask-size:contain;
  transition:background-color .18s ease;
}
.dbz-ico-book{
  -webkit-mask-image:url(https://darebee.com/images/icons/book.svg);
  mask-image:url(https://darebee.com/images/icons/book.svg);
}
.dbz-ico-audio{
  -webkit-mask-image:url(https://darebee.com/images/icons/audiobook.svg);
  mask-image:url(https://darebee.com//images/icons/audiobook.svg);
}
.dbz-ico-pdf{
  -webkit-mask-image:url(https://darebee.com/images/icons/pdf.svg);
  mask-image:url(https://darebee.com/images/icons/pdf.svg);
}

.dbz-formats .dbz-ico{width:28px; height:28px;}
.dbz-books .dbz-featured:hover .dbz-formats .dbz-ico{background-color:#a4a4a4;}

/* ---------- call to action ---------- */
.dbz-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin-top:28px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#e62d2d;
}
.dbz-cta i{
  display:block;
  width:0; height:0;
  border-top:4px solid transparent;
  border-bottom:4px solid transparent;
  border-left:6px solid #e62d2d;
  transition:transform .18s ease;
}
.dbz-books .dbz-featured:hover .dbz-cta i{transform:translateX(4px);}

/* ---------- divider ---------- */
.dbz-books .dbz-rule{
  height:1px;
  width:100%;
  border:0;
  background:#d8d8d8;
  margin:0;
  padding:0;
}

/* ---------- all books link ---------- */
.dbz-books a.dbz-all{
  display:flex;
  flex-direction:column;           /* icon above the label, both centred */
  align-items:center;
  justify-content:center;
  gap:12px;
  width:100%;
  padding:28px 0 6px;
  text-align:center;
}
.dbz-all .dbz-ico{width:36px; height:36px; background-color:#141414; flex:0 0 auto;}
.dbz-all span{
  width:auto;
  font-size:14px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  line-height:1.35;
}
.dbz-books a.dbz-all:hover .dbz-ico{background-color:#e62d2d;}
.dbz-books a.dbz-all:hover span{color:#e62d2d;}

