/**
 * Blog CSS - Consolidated from user-facing and dashboard blog templates
 *
 * Sources:
 * - user-blog.php (217 lines of inline styles)
 * - dashboard_blogs_inc.php (4 lines of inline styles)
 * - dashboard-blogs.php (empty style block, no rules)
 *
 * Total consolidated: 221 lines → cleaned and reorganized
 *
 * Enqueue: setup.php via kcc_enqueue_blog_styles()
 * Priority: 20 (loaded AFTER base CSS so reset hacks take effect)
 */

/* ============================================================
   Left Sidebar Styling
   ============================================================ */
.main_side_bar_left {
  height: 100%;
}

/* ============================================================
   Blog Button List Styling
   ============================================================ */
.btn_list {
  padding: 0 0rem;
  margin: 0 0 30px;
}

.btn_list a {
  background: #f9671d 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 99px #ccd6ff3e;
  border-radius: 9px;
  font-size: 13px;
  color: #ffffff;
  padding: 1rem 2rem;
}

.btn_list {
  position: relative;
  top: unset;
  right: unset;
  padding: 0;
  padding: 0 0rem;
}

.btn_list_blog {
  justify-content: center;
  display: flex;
}

.btn_list_blog a {
  padding: 0.4rem 0.5rem;
  font-size: 10px;
}

/* Back button styling */
.back_btn {
  margin-right: 10%;
}

.back_btn a {
  width: 65%;
  margin-left: 50px;
}

/* ============================================================
   Donation Tab Pills - Reset Hacks

   NOTE: These "unset" rules override base .donation_tab_pills
   styling from style.css to prevent styling conflicts in blog context.
   The donation_tab_pills class is reused across multiple contexts
   (donations, blog, etc.) and needs context-specific resets.
   ============================================================ */
.donation_tab_pills {
  background: unset;
  box-shadow: unset;
  border-radius: unset;
  padding: unset;
}

.donation_tab_pills .grid-container {
  padding-left: 0;
}

/* ============================================================
   Create By Me Tabs Styling
   ============================================================ */
.create_by_me_tabs_main .nav-link.active {
  background: #f9671d 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 99px #ccd6ff3e;
  border-radius: 9px;
  font-size: 13px;
  color: #ffffff;
  padding: 1rem 2rem;
}

/* ============================================================
   Blog Links and Layout
   ============================================================ */
.linked_blog ul {
  margin-bottom: 0;
}

.linked_blog a {
  padding: 1rem 0.8rem;
}

.blog_box:first-child {
  margin-left: 0;
}

.right_top_sec {
  justify-content: flex-start;
}

/* ============================================================
   Full Width Row Fix
   ============================================================ */
.row {
  width: 100%;
}


/* ============================================================
   Responsive Design - Tablets (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .main_side_bar_left:hover .side_text_view p,
  .main_side_bar_left:hover .side_open_logo {
    margin-left: 2.5rem;
  }
}

/* ============================================================
   Responsive Design - Mobile (max-width: 600px)
   ============================================================ */
@media (max-width: 600px) {
  .main_footer_sec {
    position: relative;
    bottom: 0;
  }

  .btn_list {
    justify-content: start;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
  }

  .btn_list a {
    margin: 10px 0;
    font-size: 10px;
    padding: 0.6rem 0.7rem;
  }

  .back_btn {
    margin-right: 10%;
  }

  .create_by_me_tabs_main .nav-link.active {
    padding: 9.6px 11.2px;
  }
}
