/* ============================================================
   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;
  margin: 0 0 0.5em;
}

/* 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; }
#challengeintro  { padding: 20px 15% !important; background: #e8e8e8; margin-bottom: 30px; }

/* Bottom-shadow decoration on challengeintro */
#challengeintro,
.itemid-371 .infobox {
  position: relative;
  padding: 20px;
  border-radius: 4px;
  overflow: hidden;
}

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


/* ============================================================
   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; }


/* ============================================================
   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%; }

.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%;
}

/* Vertical video (9:16) */
.responsive-video2 {
  overflow: hidden;
  padding-bottom: 177.78%;
  position: relative;
  height: 0;
  background: var(--gray-border);
}

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

.responsive-video2-wrapper { width: 100%; box-sizing: border-box; }

/* 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; }


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

/* --- Infobox (workout detail) --- */
.infobox { display: block; position: relative; overflow: hidden; padding: 20px 0 0 0; margin: 0; width: 100%; background: #e8e8e8 url('../images/infobox.png') repeat-x 0 0; }
.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  { width: 75%; float: left; border-top: 1px solid var(--gray-border); padding: 30px; }
.infotext  { padding: 20px; }
.infoec    { padding: 20px; }
.infodownload { display: block; width: 24%; float: left; padding-top: 40px; text-align: center; }
.wlive     { text-align: center; padding: 15px 0 0 0; margin: 0; }
.wlive span { font-size: 56px; padding: 0; margin: 0; }

/* --- 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; }
.infop       { position: relative; overflow: hidden; display: block; }
.infop-text  { width: 100%; float: left; padding: 0 15px; }
.infop-more  { display: block; width: 24%; float: left; padding-top: 40px; 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, .hhh 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;
}

.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; }

/* --- 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 { padding: 0 15% !important; }


/* ============================================================
   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;
}

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

.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-hero-congrats {
  font-family: var(--font-slab);
  color: var(--gray-muted);
  margin: 0 0 0.3rem;
  line-height: 1.4;
}

.dbs-hero-main {
  font-family: var(--font-slab);
  font-size: 6rem;
  line-height: 5;
  text-transform: uppercase;
  color: var(--black);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

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

.dbs-hero-sub {
  font-family: var(--font-slab);
  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 {
  line-height: 1.7;
  color: #444;
  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: 1.4rem;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.dbs-card-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--gray-mid);
  flex: 1;
}

.dbs-card-cta {
  font-size: 0.82rem;
  color: var(--red);
  text-decoration: none;
  margin-top: 6px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.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: 1.1rem 1.2rem; }

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

.dbs-daily-item p { margin: 0; font-size: 1.1rem; }

/* 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: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  margin: 0 0 0.3rem;
}

.dbs-cat-item p { font-size: 1.1rem; color: var(--gray-mid); margin: 0 0 25px 0; line-height: 1.3rem; }

/* 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: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  margin: 0 0 0.4rem;
}

.dbs-type-card p { line-height: 1.55; 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: 1.1rem 1.2rem; }
.dbs-reps-item.dbs-cat-empty { background: var(--white); }

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

.dbs-reps-item p { line-height: 1.55; 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-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: 1.6rem;
  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-badge {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--black);
  padding: 3px 8px;
  flex-shrink: 0;
  min-width: 100px;
  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;
  line-height: 1.6;
  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);
  line-height: 1.6;
}

.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: 2rem;
  text-transform: uppercase;
  color: var(--black);
  display: block;
  margin-bottom: 0.2rem;
}

.dbs-anatomy-item p { color: #666; line-height: 1.4; 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: 1.3rem; 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: 2rem;
  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           { font-size: 1.1rem; line-height: 1.3; 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: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  margin: 0 0 0.3rem;
}

.dbs-wtype p { font-size: 1.1rem; line-height: 1.3; 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-warmup-link-item:hover { background: #efefef; }

.dbs-warmup-link-item span {
  font-family: var(--font-head);
  font-size: 1.2rem;
  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: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
  color: var(--black);
}

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

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

.dbs-manual-box {
  background: var(--gray-surface);
  border-left: 4px solid var(--red);
  padding: 1.5rem 1.75rem;
  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: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem;
  color: var(--black);
}

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

/* Shared DBS utility */
.dbs-step-label { letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-muted); margin-bottom: 1rem; }
.dbs-body       { color: #444; 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 only (vertical video desktop padding) */
@media (min-width: 1024px) {
  .responsive-video2-wrapper { padding-left: 20%; padding-right: 20%; }
}

/* ≤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; }
  .infodownload         { width: 100%; padding-bottom: 60px; }
  .infomore             { width: 100%; }
  .infomore, .infotext, .infoec  { padding: 5px; }

  /* Programs */
  .ppp                  { width: 360px; height: 40px; line-height: 40px; }
  .ppp a                { width: 320px; height: 40px; }
  .aaa                  { width: 40px; height: 40px; }
  .infop-text           { width: 100%; padding: 15px !important; }
  .infop-more           { width: 50%; }

  /* 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-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; }
}
