/* ==========================
   Breadcrumb / Header
   ========================== */

.ft-course-header {
  margin-top: 7rem;
}

.ft-metadata-bar {
  font-size: 0.85rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  padding-right: 10px;
}

.ft-course-id {
  color: #800000;
  font-weight: 700;
}

/* ==========================
   Title Row
   ========================== */

.ft-title-row {
  width: 100%;
  border-top: 4px solid #800000;
  border-bottom: 4px solid #800000;
}

.ft-title-text {
  flex: 1;
}

.ft-title {
  color: #800000;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: left;
  margin-top: 0 !important;
  padding: 1rem 0.5rem 0 0.5rem !important;
  letter-spacing: -0.05rem;
}

.ft-tagline {
  color: #888;
  font-size: 1.25rem;
  font-weight: 600;
  font-variant: small-caps;
  text-align: left;
  padding: 0 0 0 0.5rem !important;
}

.ft-title-icon img {
  width: auto;
  height: 150px;
  margin-top: 20px;
}

/* ==========================
   Publication Card
   ========================== */

.ft-pub-card {
  border: 1px solid #ccc;
  padding: 1rem;
  background: #fafafa;
  margin-bottom: 40px;
  background-repeat: no-repeat;
  background-position: right 10px bottom 10px; /* adjust to taste */
  background-size: 50px auto;                 /* matches mobile size */
  padding-bottom: 3rem;                       /* ensures text clears icon */
}

/* Heading bar inside publication card */
.ft-pub-card-title {
  background: #ccc;
  font-weight: 600;          /* final effective weight */
  padding: 0.5rem;
  margin: -1rem -1rem 1rem -1rem;
  text-transform: uppercase;
  font-size: 1.25rem;
}

/* Updated date highlight */
.ft-updated {
  color: red;
}

/* ==========================
   Quick Links UL nav
   ========================== */

.ft-topic-nav {
  padding: 0;
  margin: 0 0 2rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.ft-topic-nav li {
  margin-right: 5px;
  padding: 0px 0px 0px 0px;
}

.ft-topic-nav li:not(:last-child)::after {
  content: "|";
  margin-left: 5px;
  color: #777;
}

.ft-topic-nav a {
  text-decoration: none;
}

.ft-topic-nav a:hover,
.ft-topic-nav a:focus {
  text-decoration: underline;
}

/* ==========================
   Metadata grid
   ========================== */

.ft-meta-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  margin-bottom: 0.35rem;
}

.ft-meta-label {
  font-weight: 400;
}

.ft-meta-value {
  font-weight: 400;
}

/* ==========================
   Mobile-only icon in publication card
   ========================== */

 @media (max-width: 767.98px) {
   .ft-pub-card {
     background-image: var(--ft-mobile-icon);
     background-repeat: no-repeat;
     background-position: right 10px bottom 10px;
     background-size: 50px auto;
     padding-bottom: 3rem;
     font-size: 0.85rem;
   }
 }

/* No icon on desktop */
@media (min-width: 768px) {
  .ft-pub-card {
    background-image: none !important;
    padding-bottom: 0.75rem !important;
    font-size: 0.9rem;
  }
}

/* ==========================
   Mobile overrides (titles, visibility)
   ========================== */

@media (max-width: 767px) {
  .ft-title {
    font-size: 1.9rem;
  }

  .ft-tagline {
    font-size: 0.9rem;
  }

  .ft-title-icon {
    display: none !important;
  }

  .ft-pub-icon {
    display: block;
  }

  .ft-hide-sm {
    display: none;
  }
}

/* ==========================
   Container padding reset
   ========================== */

.ft-course-header.container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}







#ft_footer {
  /* SETS FOOTER BOX DETAILS */
  background-color: #800000;
  color: #ffffff;
  padding: 15px;
  margin-top: 25px;
  margin-bottom: 25px;
}

/* Links + Bootstrap btn-link */
#ft_footer a,
#ft_footer .btn-link {
  color: #ffffff;
  text-decoration: none;
}

#ft_footer a:hover,
#ft_footer .btn-link:hover {
  text-decoration: underline;
}

/* Rows */
#ft_footer .ft_footer_row {
  padding: 10px 0;
}

/* Brand */
#ft_footer .ft_brand_text {
  font-size: 1.25rem;
  font-weight: 600;
}

#ft_footer .ft_brand_link {
  display: inline-flex;
  align-items: baseline;
  color: inherit;          /* no link color */
  text-decoration: none;  /* no underline */
  cursor: default;        /* no pointer hand */
}

#ft_footer .ft_brand_link:hover,
#ft_footer .ft_brand_link:focus,
#ft_footer .ft_brand_link:active {
  color: inherit;
  text-decoration: none;
}

#ft_footer .ft_brand_logo {
  height: 1.25rem;
  margin-left: 4px;
}

/* Social icons */
#ft_footer .ft_social .ft_icon_link,
#ft_footer .ft_social .ft_icon_btn {
  margin-left: 12px;
}

#ft_footer .ft_icon_link i,
#ft_footer .ft_icon_btn i {
  font-size: 1.35rem;
}

/* Row 2 text */
#ft_footer .ft_row2_main {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Links block */
#ft_footer .ft_links_block {
  margin-top: auto;
}

#ft_footer .ft_links_line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#ft_footer .ft_links_divider {
  height: 3px;
  background-color: #FFFFFF;
  margin: 10px 0;
  width: 100%;
}

#ft_footer .ft_footer_link {
  padding: 0px 10px;
  border-right: 2px solid rgba(255,255,255,255);
}

#ft_footer .ft_footer_link:last-child {
  border-right: none;
}

/* Tiles */
#ft_footer .ft_tile_link {
  display: block;
}



#ft_footer .ft_tile {
  border: 1px solid rgba(255,255,255,0.35);
  transition: box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}

#ft_footer .ft_tile_link:hover .ft_tile {
  box-shadow: 0 0 18px rgba(255,255,255,0.8);
}

#ft_footer .ft_footer_cards_title {
  background-color: #D1D1D1;
  color: #800000;
  text-align: center;
  padding: 5px;
  margin: 0;
  font-weight: 500;
}

#ft_footer .ft_club_cards {
  background-color: #FFFFFF;
  padding: 10px;
}

/* Modals */
#ft_footer .ft_modal {
  background-color: #ffffff;
  color: #111111;
}

#ft_footer .ft_modal a {
  color: #111111;
}

/* ==========================
   Vertical spacing on small screens
   ========================== */

@media (max-width: 767.98px) {

  /* Space between main footer columns */
  #ft_footer .ft_footer_row_2 > [class*="col-"] {
    margin-bottom: 20px;
  }

  /* Space between tiles inside nested row */
  #ft_footer .ft_footer_row_2 .row > [class*="col-"] {
    margin-bottom: 16px;
  }

  /* Prevent double spacing at the very end */
  #ft_footer .ft_footer_row_2 > [class*="col-"]:last-child,
  #ft_footer .ft_footer_row_2 .row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
}


/* ==========================
   Footer links – mobile behavior
   ========================== */

@media (max-width: 767.98px) {
  /* TURNS LINK ROWS INTO BULLETED LIST ON MOBILE DEVICES */
  #ft_footer .ft_links_line {
    display: block;
    padding-left: 1.2rem;   /* bullet indent */
  }

  #ft_footer .ft_links_line::before {
    content: none;
  }

  /* Each link becomes a list item */
  #ft_footer .ft_footer_link {
    display: list-item;
    list-style-type: disc;
    border-right: none;
    padding: 4px 0;
  }

  /* Divider still full-width */
  #ft_footer .ft_links_divider {
    margin: 10px 0;
  }
}

/* ==========================
   Mobile-only header for link lists
   ========================== */

#ft_footer .ft_links_header_mobile {
  display: none;              /* hidden by default */
  font-weight: 600;
  margin-bottom: 6px;
}

/* Show only on small screens */
@media (max-width: 767.98px) {
  #ft_footer .ft_links_header_mobile {
    display: block;
  }
}

@media (min-width: 992px) {
  /* DECREASES FONT SIZE IN LINKS ON LARGE DEVICES */
  #ft_footer .ft_links_line {
    font-size: 0.80rem;
  }
}

sss_ft_footer__ft_modal_list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#ft_footer .ft_modal_list li {
  margin-bottom: 6px;
}

abandon_if_you_dont_have_issues_ft_footer__ft_modal_list a {
  display: flex;
  align-items: center;
}

abandon_if_you_dont_have_issues_ft_footer__ft_modal_list i {
  width: 1.5rem;
  text-align: center;
  margin-right: 8px;
}

#ft_footer .brand-bluesky i   { color: #0085FF; }
#ft_footer .brand-youtube i   { color: #FF0000; }
#ft_footer .brand-instagram i { color: #E1306C; }
#ft_footer .brand-tiktok i    { color: #000000; }
#ft_footer .brand-telegram i  { color: #26A5E4; }
#ft_footer .brand-facebook i  { color: #1877F2; }
#ft_footer .brand-reddit i    { color: #FF4500; }
#ft_footer .brand-x i         { color: #000000; }
#ft_footer .brand-patreon i   { color: #FF424D; }
#ft_footer .brand-discord i   { color: #5865F2; }


#ft_footer .ft_modal_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#ft_footer .ft_modal_list li a {
  display: flex;
  align-items: center;
  gap: 0.75em;
  text-decoration: none;
}

/* Icon slot — matches Font Awesome fixed width */
#ft_footer .ft_modal_list .icon {
  width: 1.25em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Font Awesome icons */
#ft_footer .ft_modal_list .icon i {
  font-size: 1em;
}

/* Image-based icon */
#ft_footer .ft_modal_list .icon img {
  height: 1em;
  width: auto;
  display: block;
}
