/*-- -------------------------- -->
<---        Core Styles         -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0em) {
  :root {
    --bodyHeader: #1a1a1a;
    --bodyText: #737373;
  }
  .blog-container {
    width: 94%;
    max-width: 70em;
    margin: auto;
  }
  .blog-link {
    font-size: 1rem;
    line-height: clamp(2.875em, 5.5vw, 3.5em);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: auto;
    color: #fff;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    background-color: var(--bodyHeader);
    border-radius: 0.25rem;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    z-index: 1;
    transition: color .3s;
  }
  .blog-link:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background: #fff;
    opacity: 0;
    top: 0;
    left: 0;
    box-sizing: border-box;
    border-radius: 0.25rem;
    transition: opacity .3s;
    border: 1px solid var(--bodyHeader);
    z-index: -1;
  }
  .blog-link:hover {
    color: var(--bodyHeader);
  }
  .blog-link:hover:before {
    opacity: 1;
  }
}
/*-- -------------------------- -->
<---   Interior Page Header     -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em) {
  #int-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 1;
    min-height: 30vh;
    padding-top: 3.125rem;
    background: #1a1a1a;
  }
  #int-hero h1 {
    color: #fff;
    font-size: 2.13333333rem;
    text-align: center;
    margin: 0 auto;
    position: relative;
    width: 96%;
    max-width: 31.25rem;
    margin-top: 4.375rem;
    margin-bottom: 1.875rem;
  }
  #int-hero p {
    color: #fff;
    text-align: center;
    max-width: 25rem;
    margin: auto;
    margin-bottom: 1.875rem;
    display: block;
    width: 96%;
  }
}
@media only screen and (min-width: 48em) {
  #int-hero h1 {
    font-size: 4rem;
  }
}
@media only screen and (min-width: 64em) {
  #int-hero {
    min-height: 18.75rem;
    height: auto;
    padding-top: 11.25rem;
    padding-block-end: 6.25rem;
    font-size: inherit;
  }
}
/*-- -------------------------- -->
<---        Main Content        -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em) {
  .blog-container {
    padding: clamp(60px, 7vw, 100px) 0;
  }
  .main-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 3.125em;
  }
  .main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 3.125em;
    width: 100%;
  }
}
@media only screen and (min-width: 64em) {
  .main-content-wrapper {
    flex-direction: row;
    align-items: flex-start;
    column-gap: 1.25em;
  }
}
/*-- -------------------------- -->
<---    Recent Blog Articles    -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em) {
  .recent-articles {
    overflow: hidden;
    max-width: 49.6875em;
    flex: none;
    width: 100%;
  }
  .recent-articles .blog-mainImage {
    width: 100%;
    height: clamp(200px, 30vw, 400px);
    position: relative;
    display: block;
    border-radius: 0.5em 0.5em 0 0;
    overflow: hidden;
  }
  .recent-articles .blog-mainImage img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .recent-articles .article-group {
    padding: clamp(30px, 5vw, 50px);
    border: 1px solid #ebebeb;
    border-radius: 0 0 0.5em 0.5em;
  }
  .recent-articles .blog-author-img {
    width: 2em;
    height: 2em;
    position: relative;
    display: block;
    border-radius: 50%;
    overflow: hidden;
  }
  .recent-articles .blog-author-img img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .recent-articles .blog-authorGroup {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem;
  }
  .recent-articles .blog-author,
  .recent-articles .blog-date {
    font-size: 0.875rem;
    color: var(--bodyText);
    line-height: 1.5em;
  }
  .recent-articles .blog-dot {
    width: 3px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 50%;
    display: block;
  }
  .recent-articles .blog-h1 {
    font-size: clamp(20px, 5vw, 32px);
    line-height: 1.4em;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--bodyHeader);
  }
  .recent-articles .blog-desc {
    font-size: 1rem;
    line-height: 1.5em;
    margin: 1rem 0 2rem;
    color: var(--bodyText);
  }
}
@media only screen and (min-width: 64em) {
  .recent-articles .blog-h1 {
    max-width: 31.25rem;
  }
}
/* Dark Mode - Recent Articles */
@media only screen and (min-width: 0em) {
  body.dark-mode .recent-articles .blog-h1,
  body.dark-mode .recent-articles .blog-desc,
  body.dark-mode .recent-articles .blog-author,
  body.dark-mode .recent-articles .blog-date {
    color: #f7f7f7;
  }
  body.dark-mode .blog-sidebar .feature-h3,
  body.dark-mode .blog-sidebar .feature-date,
  body.dark-mode .blog-sidebar .blog-header {
    color: #f7f7f7;
  }
  body.dark-mode .blog-sidebar .blog-header:after {
    background: var(--primary);
  }
  body.dark-mode .blog-article .blog-h1,
  body.dark-mode .blog-article .blog-author,
  body.dark-mode .blog-article .blog-date {
    color: #f7f7f7;
  }
  body.dark-mode .blog-article #blog-content h2,
  body.dark-mode .blog-article #blog-content h3,
  body.dark-mode .blog-article #blog-content h4,
  body.dark-mode .blog-article #blog-content h5,
  body.dark-mode .blog-article #blog-content h6 {
    color: #f7f7f7;
  }
  body.dark-mode .blog-article #blog-content p,
  body.dark-mode .blog-article #blog-content li {
    color: #f7f7f7;
    opacity: .8;
  }
  body.dark-mode .blog-article #blog-content a {
    color: #9dafe5;
  }
}
/*-- -------------------------- -->
<---          Sidebar           -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em) {
  .blog-sidebar {
    max-width: 49.6875em;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    row-gap: 3.125em;
  }
  .blog-sidebar .blog-featured-group {
    padding: 2.1875em 1.875em;
    border: 1px solid #ebebeb;
    border-radius: 0.5em;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 100%;
  }
  .blog-sidebar .blog-header {
    display: block;
    font-size: 1.25em;
    color: var(--bodyHeader);
    font-weight: bold;
    text-align: center;
    position: relative;
    margin-bottom: 1.875rem;
  }
  .blog-sidebar .blog-header:after {
    content: '';
    position: relative;
    display: block;
    width: 3.125rem;
    height: 3px;
    background: var(--bodyHeader);
    border-radius: 0.25rem;
    margin: 1rem auto;
  }
  .blog-sidebar .blog-feature {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    column-gap: 1.5em;
    width: 100%;
    text-decoration: none;
    padding: 1.25rem 0;
    border-bottom: 1px solid #ebebeb;
  }
  .blog-sidebar .blog-feature:nth-of-type(1) {
    padding-top: 0;
  }
  .blog-sidebar .blog-feature:last-of-type {
    padding-bottom: 0;
    border: none;
  }
  .blog-sidebar .blog-featureImage {
    display: block;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    width: 3.75em;
    height: 3.75em;
    flex: none;
  }
  .blog-sidebar .blog-featureImage img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .blog-sidebar .feature-h3 {
    font-size: 0.9375rem;
    line-height: 1.5em;
    color: var(--bodyHeader);
    margin: 0;
    margin-bottom: 0.25rem;
    font-weight: 700;
    display: block;
    text-decoration: none;
  }
  .blog-sidebar .feature-date {
    font-size: 0.875rem;
    line-height: 1.5em;
    color: var(--bodyText);
    display: block;
  }
}
@media only screen and (min-width: 64em) {
  .blog-sidebar {
    max-width: 22.5em;
  }
}
/*-- -------------------------- -->
<---        Blog Articles       -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em) {
  .blog-article {
    max-width: 49.6875em;
    width: 100%;
    display: block;
  }
  .blog-article .blog-mainImage {
    width: 100%;
    height: clamp(200px, 30vw, 400px);
    position: relative;
    display: block;
    border-radius: 0.5em;
    overflow: hidden;
    margin-bottom: 3.125em;
  }
  .blog-article .blog-mainImage img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .blog-article .blog-author-img {
    width: 2em;
    height: 2em;
    position: relative;
    display: block;
    border-radius: 50%;
    overflow: hidden;
  }
  .blog-article .blog-author-img img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .blog-article .blog-authorGroup {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem;
  }
  .blog-article .blog-author,
  .blog-article .blog-date {
    font-size: 0.875rem;
    color: var(--bodyText);
    line-height: 1.5em;
  }
  .blog-article .blog-dot {
    width: 3px;
    height: 3px;
    background-color: var(--primary, #fe4f70);
    border-radius: 50%;
    display: block;
  }
  .blog-article .blog-h1 {
    font-size: clamp(20px, 5vw, 39px);
    line-height: 1.4em;
    font-weight: 700;
    margin: 1rem 0;
    max-width: 34.375rem;
    color: var(--bodyHeader);
  }
  .blog-article #blog-content {
    padding-top: 1.5625em;
    margin-top: 1em;
    border-top: 1px solid #ebebeb;
  }
  .blog-article #blog-content h2 {
    font-size: 1.75rem;
    line-height: 1.5em;
    color: var(--bodyHeader);
    font-weight: 700;
    margin-bottom: 1rem;
  }
  .blog-article #blog-content h3 {
    font-size: 1.5rem;
    line-height: 1.5em;
    color: var(--bodyHeader);
    font-weight: 700;
    margin-bottom: 1rem;
  }
  .blog-article #blog-content h4,
  .blog-article #blog-content h5,
  .blog-article #blog-content h6 {
    font-size: 1.25rem;
    line-height: 1.5em;
    color: var(--bodyHeader);
    font-weight: 700;
    margin-bottom: 1rem;
  }
  .blog-article #blog-content p {
    font-size: 1rem;
    line-height: 1.6em;
    margin: 0;
    margin-bottom: 1rem;
    color: var(--bodyText);
  }
  .blog-article #blog-content a {
    text-decoration: underline;
    font-size: inherit;
    color: var(--primary, #fe4f70);
  }
  .blog-article #blog-content ul,
  .blog-article #blog-content ol {
    padding-left: 2.5rem;
    margin: 1rem 0;
  }
  .blog-article #blog-content ul li,
  .blog-article #blog-content ol li {
    font-size: 1rem;
    line-height: 1.6em;
    margin-bottom: 1rem;
    color: var(--bodyText);
    list-style: circle;
  }
  .blog-article #blog-content img {
    width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
    border-radius: 0.5rem;
  }
}
/*-- -------------------------- -->
<---    Blog Table of Contents   -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em) {
  .toc-mobile {
    display: flex;
    position: sticky;
    top: 60px;
    z-index: 100;
    background: #fff;
    padding: 0.75rem 1rem;
    overflow-x: auto;
    white-space: nowrap;
    gap: 0.5rem;
    border-bottom: 1px solid #ebebeb;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .toc-mobile::-webkit-scrollbar {
    display: none;
  }
  .toc-mobile:empty {
    display: none;
  }
  .toc-chip {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    color: var(--bodyText, #737373);
    text-decoration: none;
    font-size: 0.8125rem;
    border-radius: 20px;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }
  .toc-chip:hover,
  .toc-chip.active {
    background: var(--primary, #FFBA19);
    color: var(--bodyHeader, #1a1a1a);
  }
  .toc-sidebar {
    display: none;
  }
  .blog-with-toc {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
}
@media only screen and (min-width: 48em) {
  .toc-mobile {
    top: 70px;
  }
}
@media only screen and (min-width: 64em) {
  .toc-mobile {
    display: none;
  }
  .toc-sidebar {
    display: block;
    position: sticky;
    top: 120px;
    width: 220px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    padding: 1.25rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    border: 1px solid #ebebeb;
    flex-shrink: 0;
    order: -1;
  }
  .toc-sidebar:empty,
  .toc-sidebar:has(.toc-list:empty) {
    display: none;
  }
  .toc-sidebar h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bodyText, #737373);
    margin-bottom: 1rem;
    font-weight: 700;
  }
  .toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .toc-list li {
    margin-bottom: 0.25rem;
  }
  .toc-list a {
    display: block;
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
    color: var(--bodyText, #737373);
    text-decoration: none;
    border-left: 2px solid transparent;
    border-radius: 0 4px 4px 0;
    transition: all 0.2s ease;
    line-height: 1.4;
  }
  .toc-list a:hover {
    background: rgba(255, 186, 25, 0.1);
    color: var(--bodyHeader, #1a1a1a);
  }
  .toc-list a.active {
    border-left-color: var(--primary, #FFBA19);
    background: rgba(255, 186, 25, 0.1);
    color: var(--bodyHeader, #1a1a1a);
    font-weight: 600;
  }
  .blog-with-toc {
    display: grid;
    grid-template-columns: 220px 1fr 280px;
    gap: 1.5rem;
    align-items: start;
  }
  .blog-with-toc .main-content {
    order: 0;
  }
  .blog-with-toc .blog-sidebar {
    order: 1;
  }
}
@media only screen and (min-width: 81.25em) {
  .toc-sidebar {
    width: 240px;
  }
  .blog-with-toc {
    grid-template-columns: 240px 1fr 320px;
    gap: 2rem;
  }
}
/* Dark Mode TOC */
@media only screen and (min-width: 0em) {
  body.dark-mode .toc-mobile {
    background: var(--dark, #0f172a);
    border-color: rgba(255, 255, 255, 0.1);
  }
  body.dark-mode .toc-chip {
    background: var(--medium, #1e293b);
    color: rgba(255, 255, 255, 0.8);
  }
  body.dark-mode .toc-chip:hover,
  body.dark-mode .toc-chip.active {
    background: var(--primary, #FFBA19);
    color: var(--bodyHeader, #1a1a1a);
  }
  body.dark-mode .toc-sidebar {
    background: var(--medium, #1e293b);
    border-color: rgba(255, 255, 255, 0.1);
  }
  body.dark-mode .toc-sidebar h3 {
    color: rgba(255, 255, 255, 0.6);
  }
  body.dark-mode .toc-list a {
    color: rgba(255, 255, 255, 0.7);
  }
  body.dark-mode .toc-list a:hover,
  body.dark-mode .toc-list a.active {
    background: rgba(255, 186, 25, 0.15);
    color: #fff;
  }
}
/*-- -------------------------- -->
<---      Article Share Bar      -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em) {
  .blog-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .blog-reading-time {
    font-size: 0.875rem;
    color: var(--bodyText, #737373);
  }
  .article-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ebebeb;
  }
  .share-heading {
    margin-bottom: 1rem;
  }
  .share-heading span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bodyHeader, #1a1a1a);
  }
  .share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    color: var(--bodyText, #737373);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
  }
  .share-btn:hover {
    border-color: var(--primary, #FFBA19);
    color: var(--bodyHeader, #1a1a1a);
  }
  .share-btn:focus-visible {
    outline: 2px solid var(--primary, #FFBA19);
    outline-offset: 2px;
  }
  .share-twitter:hover {
    background: #000;
    border-color: #000;
    color: #fff;
  }
  .share-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
  }
  .share-linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #fff;
  }
  .share-reddit:hover {
    background: #ff4500;
    border-color: #ff4500;
    color: #fff;
  }
  .share-email:hover {
    background: var(--primary, #FFBA19);
    border-color: var(--primary, #FFBA19);
    color: var(--bodyHeader, #1a1a1a);
  }
  .share-copy:hover {
    background: var(--bodyHeader, #1a1a1a);
    border-color: var(--bodyHeader, #1a1a1a);
    color: #fff;
  }
  .copy-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--bodyHeader, #1a1a1a);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  .copy-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}
/* Dark Mode Share */
@media only screen and (min-width: 0em) {
  body.dark-mode .article-share {
    border-color: rgba(255, 255, 255, 0.1);
  }
  body.dark-mode .share-heading span {
    color: #fff;
  }
  body.dark-mode .share-btn {
    background: var(--medium, #1e293b);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
  }
  body.dark-mode .share-btn:hover {
    border-color: var(--primary, #FFBA19);
    color: #fff;
  }
  body.dark-mode .copy-toast {
    background: #fff;
    color: var(--bodyHeader, #1a1a1a);
  }
  body.dark-mode .blog-reading-time {
    color: rgba(255, 255, 255, 0.7);
  }
}
