@media only screen and (min-width: 0rem) {
    #blog-sidebar {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 50rem;
        width: 100%;
        box-sizing: border-box;
        gap: 1.25rem;
   }
    #blog-sidebar .cs-featured-group {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        border: 1px solid #ebebeb;
        border-radius: 0.5rem;
        width: 100%;
        padding: 2rem 1.25rem;
   }
    #blog-sidebar .cs-sidebar-header {
        position: relative;
        display: block;
        margin-bottom: 1rem;
        font-size: 1.25rem;
        font-weight: bold;
        color: var(--headerColor);
        text-align: center;
   }
    #blog-sidebar .cs-sidebar-header:after {
        position: relative;
        content: "";
        display: block;
        border-radius: 0.25rem;
        margin: 1rem auto;
        background: var(--headerColor);
        height: 3px;
        width: 4rem;
   }
    #blog-sidebar .cs-sidebar-link {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        border-bottom: 1px solid #ebebeb;
        width: 100%;
        padding: 1.5rem 0;
        text-decoration: none;
        gap: 1.5rem;
   }
    #blog-sidebar .cs-sidebar-link:nth-of-type(1) {
        padding-top: 0;
   }
    #blog-sidebar .cs-sidebar-link:last-of-type {
        border: none;
        padding-bottom: 0;
   }
    #blog-sidebar .cs-sidebar-img {
        position: relative;
        display: block;
        border-radius: 50%;
        height: 3.75rem;
        width: 3.75rem;
        overflow: hidden;
        flex: none;
   }
    #blog-sidebar .cs-sidebar-img img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
   }
    #blog-sidebar .cs-sidebar-title {
        display: block;
        margin: 0;
        margin-bottom: 0.25rem;
        text-decoration: none;
        font-size: 1rem;
        line-height: 1.5em;
        font-weight: 700;
        color: var(--headerColor);
   }
    #blog-sidebar .cs-sidebar-date {
        display: block;
        font-size: 0.875rem;
        line-height: 1.5em;
        color: var(--bodyTextColor);
   }
    #blog-sidebar .cs-toc {
        display: flex;
        flex-direction: column;
        margin-top: 1rem;
        width: 100%;
        padding: 0;
        list-style: none;
        font-size: 0.875rem;
        gap: 1rem;
   }
    #blog-sidebar .cs-toc-item {
        margin: 0;
        padding: 0;
        list-style: none;
   }
    #blog-sidebar .cs-toc-item.cs-active {
        border-left: 4px solid var(--primary);
        padding-left: 1rem;
   }
    #blog-sidebar .cs-toc-item.cs-active .cs-toc-link {
        font-weight: 700;
        color: var(--primary);
   }
    #blog-sidebar .cs-toc-link {
        display: block;
        width: 100%;
        text-decoration: none;
        color: var(--bodyTextColor);
        transition: color 0.2s ease-in-out;
   }
    #blog-sidebar .cs-toc-link:hover {
        color: var(--primary);
   }
}
@media only screen and (min-width: 64rem) {
    #blog-sidebar {
        position: sticky;
        top: 10rem;
        max-width: 22.5rem;
   }
}
@media only screen and (min-width: 0rem) {
    body.dark-mode #blog-sidebar .cs-sidebar-header, body.dark-mode #blog-sidebar .cs-toc-link, body.dark-mode #blog-sidebar .cs-sidebar-title, body.dark-mode #blog-sidebar .cs-sidebar-date {
        color: var(--bodyTextColorWhite);
   }
    body.dark-mode #blog-sidebar .cs-sidebar-date {
        opacity: 0.8;
   }
    body.dark-mode #blog-sidebar .cs-sidebar-header::after {
        background-color: var(--bodyTextColorWhite);
   }
    body.dark-mode #blog-sidebar .cs-toc-item.cs-active {
        border-color: var(--secondary);
   }
    body.dark-mode #blog-sidebar .cs-toc-item.cs-active .cs-toc-link {
        color: var(--secondary);
   }
}
/*-- -------------------------- -->
<---           Blog             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #blog-1144 {
        padding: var(--sectionPadding);
        background-color: #fff;
        position: relative;
        z-index: 1;
    }
    #blog-1144 .cs-container {
        width: 100%;
        /* changes to 1280px at tablet */
        max-width: 49rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #blog-1144 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: left;
        width: 100%;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: flex-start;
    }

    #blog-1144 .cs-title {
        /* max width of 18 characters, incldues spaces between words */
        max-width: 20ch;
    }
    #blog-1144 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #1a1a1a;
        min-width: 12.5rem;
        padding: 0 1.5rem;
        background-color: var(--secondary);
        border-radius: 0.5rem;
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
        transition: color 0.3s;
    }
    #blog-1144 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        border-radius: 0.5rem;
        transition: width 0.3s;
    }
    #blog-1144 .cs-button-solid:hover {
        color: #fff;
    }
    #blog-1144 .cs-button-solid:hover:before {
        width: 100%;
    }
    #blog-1144 .cs-card-group {
        width: 100%;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 1.25rem;
    }
    #blog-1144 .cs-item {
        text-align: left;
        list-style: none;
        border-radius: 1rem;
        overflow: hidden;
        background-color: #f7f7f7;
        border: 1px solid #e8e8e8;
        grid-column: span 12;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
        z-index: 1;
        transition:
            box-shadow 0.3s,
            transform 0.3s;
    }
    #blog-1144 .cs-item:hover {
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    }
    #blog-1144 .cs-item:hover .cs-picture img {
        opacity: 0.3;
        transform: scale(1.1);
    }
    #blog-1144 .cs-picture {
        width: 100%;
        height: 15rem;
        background-color: #1a1a1a;
        border-bottom: 4px solid var(--primary);
        overflow: hidden;
        display: block;
        /* prevents flexbox from squishing it */
        flex: none;
        position: relative;
        z-index: 1;
    }
    #blog-1144 .cs-picture img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        transition:
            transform 0.6s,
            opacity 0.3s;
    }
    #blog-1144 .cs-flex {
        height: 100%;
        padding: 1.5rem;
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        z-index: 2;
    }
    #blog-1144 .cs-date {
        font-size: 1rem;
        line-height: 1.2em;
        font-weight: 700;
        text-align: inherit;
        margin: 0;
        padding: 0.5rem 1rem;
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        background-color: var(--primary);
        border-radius: 0.5rem 0.5rem 0 0;
        color: #fff;
        display: inline-block;
        position: absolute;
        left: 1.5rem;
        bottom: 100%;
        z-index: 2;
    }
    #blog-1144 .cs-h3 {
        font-size: 1.25rem;
        text-align: inherit;
        line-height: 1.2em;
        font-weight: 700;
        color: var(--headerColor);
        margin: 0 0 0.75rem 0;
        transition: color 0.3s;
    }
    #blog-1144 .cs-item-text {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        text-align: inherit;
        margin: 0 0 1.25rem;
        color: var(--bodyTextColor);
    }
    #blog-1144 .cs-link {
        font-size: 1rem;
        line-height: 1.2em;
        font-weight: 700;
        text-decoration: none;
        margin-top: auto;
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #blog-1144 .cs-link:hover .cs-arrow {
        transform: translateX(0.25rem);
    }
    #blog-1144 .cs-arrow {
        width: 1.25rem;
        height: auto;
        transition: transform 0.3s;
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #blog-1144 .cs-container {
        max-width: 80rem;
    }
    #blog-1144 .cs-content {
        text-align: left;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
    #blog-1144 .cs-title {
        margin: 0;
    }
    #blog-1144 .cs-item {
        grid-column: span 4;
    }
}

                                
@media only screen and (min-width: 0rem) {
    #single-article {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: auto;
        max-width: 80rem;
        width: 100%;
        padding: var(--sectionPadding);
        gap: 4rem;
   }
    #single-article .cs-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 4rem;
   }
    #single-article .cs-article-post {
        display: block;
        max-width: 50rem;
        width: 100%;
   }
    #single-article .cs-article-image {
        position: relative;
        display: block;
        border-radius: 0.5rem;
        margin: 0 0 3rem;
        height: clamp(12.5rem,30vw,25rem);
        width: 100%;
        overflow: hidden;
   }
    #single-article .cs-article-image img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
   }
    #single-article .cs-author-img {
        position: relative;
        display: block;
        border-radius: 50%;
        height: 2rem;
        width: 2rem;
        overflow: hidden;
   }
    #single-article .cs-author-img img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
   }
    #single-article .cs-author-group {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 0.75rem;
   }
    #single-article .cs-author-name, #single-article .cs-date {
        font-size: 0.875rem;
        line-height: 1.5em;
        color: var(--bodyTextColor);
   }
    #single-article .cs-dot {
        display: block;
        border-radius: 50%;
        background-color: var(--primary);
        height: 0.1875rem;
        width: 0.1875rem;
   }
    #single-article .cs-article-title {
        margin: 0 0 1rem;
        max-width: 34.375rem;
        font-size: clamp(1.25rem,5vw,2.4375rem);
        line-height: 1.4em;
        font-weight: 700;
        color: var(--headerColor);
   }
    #single-article .cs-article-content {
        border-top: 1px solid #ebebeb;
        margin-top: 1rem;
        padding-top: 1.5rem;
   }
    #single-article .cs-article-content h1 {
        margin-bottom: 1rem;
        font-size: 2rem;
        line-height: 1.75em;
        font-weight: 700;
        color: var(--headerColor);
   }
    #single-article .cs-article-group h2, #single-article .cs-article-content h2 {
        margin-bottom: 1rem;
        font-size: 1.75rem;
        line-height: 1.5em;
        font-weight: 700;
        color: var(--headerColor);
   }
    #single-article .cs-article-group h3, #single-article .cs-article-content h3 {
        margin-bottom: 1rem;
        font-size: 1.5rem;
        line-height: 1.5em;
        font-weight: 700;
        color: var(--primary);
   }
    #single-article .cs-article-group h4, #single-article .cs-article-group h5, #single-article .cs-article-group h6, #single-article .cs-article-content h4, #single-article .cs-article-content h5, #single-article .cs-article-content h6 {
        margin-bottom: 1rem;
        font-size: 1.25rem;
        line-height: 1.5em;
        font-weight: 700;
        color: var(--headerColor);
   }
    #single-article .cs-article-group p, #single-article .cs-article-content p {
        margin: 0;
        margin-bottom: 1rem;
        font-size: 1rem;
        line-height: 1.6em;
        color: var(--bodyTextColor);
   }
    #single-article .cs-article-group a:not(.cs-button-solid), #single-article .cs-article-content a:not(.cs-button-solid) {
        text-decoration: underline;
        font-size: inherit;
        color: var(--primary);
   }
    #single-article .cs-article-group .cs-button-solid, #single-article .cs-article-content .cs-button-solid {
        margin-bottom: 2rem;
   }
    #single-article .cs-article-group ul, #single-article .cs-article-group ol, #single-article .cs-article-content ul, #single-article .cs-article-content ol {
        margin: 1rem 0;
        padding-left: 2.5rem;
   }
    #single-article .cs-article-group ul li, #single-article .cs-article-group ol li, #single-article .cs-article-content ul li, #single-article .cs-article-content ol li {
        margin-bottom: 1rem;
        list-style: circle;
        font-size: 1rem;
        line-height: 1.6em;
        color: var(--bodyTextColor);
   }

   /* Table Styling */
    #single-article .cs-article-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 2rem 0;
        border: 2px solid #000; /* Black border for entire table */
    }
  
    #single-article .cs-article-content th,
    #single-article .cs-article-content td {
        border: 1px solid #000; /* Cell borders */
        padding: 0.75rem 1rem;
        text-align: left;
        font-size: 1rem;
        line-height: 1.5em;
        color: var(--bodyTextColor);
    }

    
  
    #single-article .cs-article-content th {
        background-color: #f5f5f5; /* Light gray header */
        font-weight: 700;
        color: var(--headerColor);
    }
  
    /* Optional zebra stripes */
    #single-article .cs-article-content tr:nth-child(even) {
        background-color: #fafafa;
    }


    #single-article .cs-article-content img {
        max-width: 100%;   /* don’t go beyond parent container */
        height: auto;      /* keep aspect ratio */
        display: block;    /* removes weird inline gaps */
        margin: 1rem auto; /* optional: center images */
        object-fit: contain;
    }

    
  
    /* Dark mode adjustments */
    body.dark-mode #single-article .cs-article-content th,
    body.dark-mode #single-article .cs-article-content td {
        color: var(--bodyTextColorWhite);
        border-color: var(--bodyTextColorWhite);
    }
  
    body.dark-mode #single-article .cs-article-content th {
        background-color: rgba(255, 255, 255, 0.1);
    }
    body.dark-mode #single-article tr:nth-child(even) {
        background-color: rgba(255, 255, 255, 0.05);
      }
      
      body.dark-mode #single-article tr:nth-child(odd) {
        background-color: transparent;
      }


      body.dark-mode #single-article .cs-article-group a:not(.cs-button-solid),
      body.dark-mode #single-article .cs-article-content a:not(.cs-button-solid) {
          color: var(--secondary);
      }
}
@media only screen and (min-width: 64rem) {
    #single-article {
        flex-direction: row;
        align-items: flex-start;
   }
}
@media only screen and (min-width: 0rem) {
    body.dark-mode #single-article .cs-article-group h1, body.dark-mode #single-article .cs-article-group h2, body.dark-mode #single-article .cs-article-group h3, body.dark-mode #single-article .cs-article-group h4, body.dark-mode #single-article .cs-article-group h5, body.dark-mode #single-article .cs-article-group h6, body.dark-mode #single-article .cs-article-group p, body.dark-mode #single-article .cs-article-group span, body.dark-mode #single-article .cs-article-group li, body.dark-mode #single-article .cs-article-content h1, body.dark-mode #single-article .cs-article-content h2, body.dark-mode #single-article .cs-article-content h3, body.dark-mode #single-article .cs-article-content h4, body.dark-mode #single-article .cs-article-content h5, body.dark-mode #single-article .cs-article-content h6, body.dark-mode #single-article .cs-article-content p, body.dark-mode #single-article .cs-article-content span, body.dark-mode #single-article .cs-article-content li {
        color: var(--bodyTextColorWhite);
   }
    body.dark-mode #single-article .cs-article-group p, body.dark-mode #single-article .cs-article-group span, body.dark-mode #single-article .cs-article-group li, body.dark-mode #single-article .cs-article-content p, body.dark-mode #single-article .cs-article-content span, body.dark-mode #single-article .cs-article-content li {
        opacity: 0.8;
   }
}