@charset "UTF-8";

/*======================================================================
# Main CSS - TABLE OF CONTENTS
========================================================================
1. Font & Color Variables                   line 37   / updated: 2026-06-19
2. Cookie Consent                           line 124  / updated: 2026-06-19
3. General Styling & Shared Classes         line 331  / updated: 2026-10-15
4. Scroll Top / Light-Dark Toggle           line 542  / updated: 2026-10-15
5. Global Header                            line 725  / updated: 2026-10-15
6. Global Sections                          line 1201 / updated: 2026-10-15
7. Global Section Titles                    line 1228 / updated: 2026-10-15
8. Navigation Menu                          line 1266 / updated: 2026-10-15
9. Global Footer                            line 1947 / updated: 2026-10-15
10. Preloader                               line 2109 / updated: 2026-10-15
11. Global Breadcrumbs                      line 2145 / updated: 2026-10-15
12. Global Page Titles                      line 2188 / updated: 2026-10-15
13. Sidebar for Lists                       line 2234 / updated: 2026-10-15
14. Pagination 2                            line 2447 / updated: 2026-10-15
15. Pagination 3                            line 2500 / updated: 2026-10-15
16. Block Author Section                    line 2682 / updated: 2026-10-15
17. Latest Posts (part 1)                   line 2923 / updated: 2026-10-15
18. Latest Posts (part 2)                   line 3202 / updated: 2026-10-15
19. All Lists (Instructions, Review, Blog)  line 3404 / updated: 2026-10-15
 * ---------------------------------------------------------------------- */

@font-face {
    font-family: "Akrobat";
    src: local("Akrobat"),
         local("Akrobat Regular"),
         url("../fonts/Akrobat/Akrobat-Regular.6e06056a3247.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Nunito",  sans-serif;
    --nav-font: "Poppins",  sans-serif;
    --brand-font: "Akrobat", "Nunito", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --section-alt-background-color: #f1f4f8; /* Alternate section background used to create contrast between neighboring sections */
    --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #2d465e; /* Color for headings, subheadings and title throughout the website */

    --accent-color: rgb(3, 151, 230); /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */

    --surface-color: rgba(248, 249, 250, 1); /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
    --muted-color: #596275;
    --border-color: rgba(33, 37, 41, 0.16);
    --soft-border-color: rgba(33, 37, 41, 0.08);
    --header-background: rgba(255, 255, 255, 0.72);
    --header-hover-background: rgba(3, 151, 230, 0.08);
    --overlay-color: rgba(17, 24, 39, 0.72);
    --card-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    --lifted-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
    --image-shadow: 0 5px 15px rgba(15, 23, 42, 0.12);
    --soft-accent-background: rgba(3, 151, 230, 0.12);
    --accent-gradient: linear-gradient(135deg, var(--accent-color), #00ffc3);
    --avatar-gradient: linear-gradient(135deg, #ff8a5b 0%, #ff5f6d 45%, #6c63ff 100%);
}

/* Special Colors */
:root {
    --special-red-color: #ff0000;
    --special-green-color: #067906;
    --special-gray-color: #808080; 
} 

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #000000;  /* The default color of the main navmenu links */
    
    --nav-hover-color: #0397E6; /* Applied to main navmenu links when they are hovered over or active */
    
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
    
    --nav-dropdown-hover-color: #0397E6; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #f9f9f9;
    --section-alt-background-color: #eef2f6;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #393737;
    --section-alt-background-color: #47434a;
    --default-color: #ffffff;
    --heading-color: #bbb6b6;
    --surface-color: #222c34;
    --contrast-color: #ffffff;
    --muted-color: rgba(240, 233, 233, 0.89);
    --border-color: rgba(255, 255, 255, 0.18);
    --soft-border-color: rgba(255, 255, 255, 0.08);
    --nav-color: #ffffff;
    --nav-mobile-background-color: #11161e;
    --nav-dropdown-background-color: #1a1f28;
    --nav-dropdown-color: rgba(255, 255, 255, 0.92);
    --header-background: rgba(6, 6, 6, 0.78);
    --header-hover-background: rgba(3, 151, 230, 0.2);
    --overlay-color: rgba(6, 8, 12, 0.82);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --lifted-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
    --image-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
    --soft-accent-background: rgba(3, 151, 230, 0.2);
}

/*--------------------------------------------------------------
# Cookie Consent
--------------------------------------------------------------*/
.cookie-consent {
    position: fixed;
    right: 24px;
    bottom: 70px;
    z-index: 1200;
    display: none;
    width: min(420px, calc(100vw - 32px));
    opacity: 0;
}

.cookie-consent__dialog {
    position: relative;
    padding: 24px 22px 22px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 86%);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--accent-color), transparent 86%) 0%, transparent 28%),
        color-mix(in srgb, var(--surface-color), white 12%);
    box-shadow: 0 24px 60px color-mix(in srgb, var(--default-color), transparent 86%);
    backdrop-filter: blur(14px);
}

.cookie-consent__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--default-color), transparent 92%);
    color: var(--default-color);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cookie-consent__close:hover,
.cookie-consent__close:focus-visible {
    background: color-mix(in srgb, var(--accent-color), transparent 84%);
    transform: scale(1.04);
}

.cookie-consent__content {
    padding-right: 28px;
}

.cookie-consent__eyebrow {
    margin: 0 0 8px;
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cookie-consent__title {
    margin: 0 0 12px;
    color: var(--heading-color);
    font-size: 1.2rem;
}

.cookie-consent__text,
.cookie-consent__note {
    margin: 0;
    color: color-mix(in srgb, var(--default-color), transparent 10%);
    line-height: 1.55;
}

.cookie-consent__note {
    margin-top: 14px;
    font-size: 0.95rem;
}

.cookie-consent__note span {
    display: inline-block;
    margin: 0 6px;
    color: color-mix(in srgb, var(--default-color), transparent 35%);
}

.cookie-consent__note a {
    color: var(--accent-color);
    text-decoration: none;
}

.cookie-consent__actions {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

.cookie-consent__actions--stacked {
    display: grid;
    gap: 12px;
    justify-content: stretch;
}

.cookie-consent__actions--stacked .cookie-consent__ok {
    width: 100%;
}

.cookie-consent__ok {
    min-width: 140px;
    border-radius: 999px;
}

.language-suggestion__langs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.language-suggestion__langs .language-suggestion__lang {
    min-width: 0;
}

.share-modal__dialog {
    padding-top: 26px;
}

.share-modal__dialog img {
    width: auto;
}

.share-modal__actions {
    margin-top: 20px;
}

.share-modal__link-block {
    margin-top: 18px;
}

.share-modal__label {
    display: block;
    margin-bottom: 10px;
}

.share-modal__copy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.share-modal__input {
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 82%);
    background: color-mix(in srgb, var(--surface-color), white 20%);
    color: var(--default-color);
    padding: 0 18px;
}

.share-modal__input:focus {
    border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 82%);
}

.share-modal__copy-button {
    width: auto;
}

@media (max-width: 767px) {
    .cookie-consent {
        right: 16px;
        left: 16px;
        bottom: 60px;
        width: auto;
    }

    .cookie-consent__dialog {
        padding: 20px 18px 18px;
        border-radius: 18px;
    }

    .cookie-consent__content {
        padding-right: 20px;
    }

    .cookie-consent__actions {
        justify-content: stretch;
    }

    .cookie-consent__ok {
        width: 100%;
    }

    .share-modal__copy-row {
        grid-template-columns: 1fr;
    }

    .share-modal__copy-button {
        width: 100%;
    }
}


/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

/* Mobile First Base Styles (for all screens) */
@media (prefers-reduced-motion: reduce) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        pointer-events: auto !important;
    }
}

main {
    width: 100%;
    max-width: 100vw; /* Prevents horizontal scroll */
    padding: 1rem;    /* Padding for safe spacing */
    box-sizing: border-box; /* Ensures padding doesn't increase width */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Tablet/Desktop Styles */
@media (min-width: 768px) {
    main {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto; /* Center on large screens */
        /* padding: 0 2rem; */
    }
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

.hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hashtags a {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    font-size: 14px;
    
    white-space: nowrap;        /* Prevent breaking inside the link */
    word-break: keep-all;       /* Prevent breaking words */
    text-decoration: none;


    padding: 0.2rem 0.8rem;
    border-radius: 1rem;
    margin-right: 5px;
    transition: .3s;
}

/* Button Styles */
.btn.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
}

.btn.btn-primary:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    border-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-outline-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
}

.form-select {
    background-color: var(--background-color);
    color: var(--default-color);
    border: 1px solid var(--border-color);
}

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.modal-header .btn-close {
    border-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    border-radius: 0.75rem;
    opacity: 0.4;
}

.modal-header .btn-close:hover {
    opacity: 0.8;
}


.modal-content, .form-control {
    background-color: var(--surface-color);
    color: var(--default-color);
}

.modal-content p, .modal-content .form-label {
    color: var(--default-color);
}

.modal-content textarea, 
.modal-content textarea::placeholder,
.modal-content .form-control:focus {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    background-color: var(--surface-color);
}

.modal-content img {
    width: auto !important;
}

/* Header question form: keep fields readable in either site theme. */
#headerQuestionModal .modal-content {
    border-color: var(--border-color);
}

#header-question-form {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#headerQuestionModal .form-control,
#headerQuestionModal .form-control:focus,
#headerQuestionModal .form-select {
    background-color: var(--surface-color);
    border-color: var(--border-color);
    color: var(--default-color);
}

#headerQuestionModal textarea::placeholder,
#headerQuestionModal .form-text {
    color: var(--muted-color) !important;
}

#headerQuestionModal .form-select {
    appearance: auto;
    background-image: none;
    color-scheme: light;
}

#headerQuestionModal .form-control:focus,
#headerQuestionModal .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-color), transparent 80%);
}

#headerQuestionModal input[type="file"] {
    max-width: 100%;
    width: 100%;
    color: var(--default-color);
}

#headerQuestionModal .modal-header {
    align-items: flex-start;
    gap: 0.75rem;
}

#headerQuestionModal .modal-footer {
    gap: 0.5rem;
}

.dark-background #headerQuestionModal .form-select {
    color-scheme: dark;
}

.dark-background #headerQuestionModal .btn-close {
    filter: invert(1);
}



/*--------------------------------------------------------------
# Scroll Top Button and Light/Dark Mode Toggle
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 25px;
    bottom: -15px;
    z-index: 99999;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface-color), white 14%), color-mix(in srgb, var(--surface-color), black 6%));
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    box-shadow: inset 0 1px 0 color-mix(in srgb, white, transparent 35%), 0 10px 24px color-mix(in srgb, var(--default-color), transparent 88%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, opacity 0.4s ease, bottom 0.4s ease, visibility 0.4s ease;
    color: var(--heading-color);
}

.theme-toggle {
    position: fixed;
    visibility: visible;
    opacity: 1;
    right: 15px;
    bottom: 65px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
    color: var(--contrast-color);
}

.scroll-top .scroll-top-icon,
.theme-toggle .sun-fill-icon {
    width: 24px;
    height: 24px;
    color: currentColor;
    line-height: 0;
}

.scroll-top:hover,
.theme-toggle:hover {
    background-color: var(--header-hover-background);
    border-color: color-mix(in srgb, var(--accent-color), transparent 74%);
    box-shadow: inset 0 1px 0 color-mix(in srgb, white, transparent 35%), 0 14px 24px color-mix(in srgb, var(--accent-color), transparent 78%);
    color: var(--accent-color);
    transform: translateY(-1px);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
}

.dark-background .scroll-top {
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface-color), white 5%), color-mix(in srgb, var(--surface-color), black 10%));
    border-color: color-mix(in srgb, white, transparent 86%);
}

.large-stats {
    padding: 0.75rem 0;
}

.large-stats__container {
    width: 100%;
    padding: 0.75rem 0;
}

.large-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    text-align: center;
}

.large-stats__item {
    min-width: 0;
}

.large-stats__panel {
    height: 100%;
    padding: 0.4rem;
    border-radius: 0.5rem;
    background-color: color-mix(in srgb, var(--surface-color), white 35%);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.large-stats__panel--interactive {
    cursor: pointer;
}

.likes-card {
    cursor: pointer;
    user-select: none;
}

.likes-card:focus-visible {
    outline: 2px solid var(--default-color);
    outline-offset: 2px;
}

.large-stats__icon {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.large-stats__icon--views,
.large-stats__icon--likes,
.large-stats__icon--share,
.large-stats__icon--comments {
    color: var(--default-color);
}

.large-stats__content strong {
    display: block;
    font-size: 1rem;
    color: var(--heading-color);
}

.large-stats__label {
    margin: 0;
    color: color-mix(in srgb, var(--default-color), transparent 35%);
}

@media (min-width: 768px) {
    .large-stats__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.small-stats-card {
    padding: 1em 0.6em 0 0.6em;
    background-color: var(--surface-color);
    color: var(--default-color);
    text-align: center;
}

.small-stats-card__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.small-stats-card__item {
    min-width: 0;
}

.small-stats-card__panel {
    height: 100%;
    margin-bottom: -0.4em;
    padding: 0.4rem;
    font-size: 14px;
    border-radius: 0.5rem;
    background-color: color-mix(in srgb, var(--surface-color), white 35%);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.small-stats-card__metric {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.small-stats-card__metric--views,
.small-stats-card__metric--likes,
.small-stats-card__metric--comments {
    color: var(--default-color);
}


@media (min-width: 768px) {
    .small-stats-card__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    position: sticky;
    top: 0;
    transition: all 0.5s;
    z-index: 997;
    padding: 1em 0 0 0;
    background-color: var(--header-background);
    backdrop-filter: blur(10px);
}

body.scrolled .header {
    padding: 1em 0 0.6em 0;
    box-shadow: var(--card-shadow);
}

.header .top-row {
    padding-bottom: 10px;
}

.header .top-row .logo {
    text-decoration: none;
}

.header .top-row .logo img {
    max-height: 40px;
    margin-right: 10px;
}

.header .top-row .logo .sitename {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface-color), white 14%), color-mix(in srgb, var(--surface-color), black 6%));
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    box-shadow: inset 0 1px 0 color-mix(in srgb, white, transparent 35%), 0 10px 24px color-mix(in srgb, var(--default-color), transparent 88%);
    color: var(--default-color);
    font-family: var(--brand-font);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.header .top-row .logo:hover .sitename {
    background-color: var(--header-hover-background);
    border-color: color-mix(in srgb, var(--accent-color), transparent 74%);
    box-shadow: inset 0 1px 0 color-mix(in srgb, white, transparent 35%), 0 14px 24px color-mix(in srgb, var(--accent-color), transparent 78%);
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .header .top-row .logo .sitename {
        font-size: 20px;
    }
}

.header .top-row .logo:hover .sitename {
    color: var(--accent-color);
}

.dark-background .header .top-row .logo .sitename {
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface-color), white 5%), color-mix(in srgb, var(--surface-color), black 10%));
    border-color: color-mix(in srgb, white, transparent 86%);
}

.header .top-row .logo span {
    color: var(--default-color);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
}

.header .dropdown-menu {
    min-width: auto; 
    padding: 0.6em 0;
    background-color: var(--surface-color);
    color: var(--default-color);
}

.header .dropdown-menu .dropdown-item {
    padding: 0.4em 1.5em;
    font-size: 14px;;
    color: var(--default-color);
}

.header .dropdown-menu .dropdown-item:focus,
.header .dropdown-menu .dropdown-item:hover {
    background-color: color-mix(in srgb, var(--background-color), transparent 25%);
    color: var(--accent-color)
}

.header .social-links {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
}

.header .social-links a {
    color: var(--heading-color);
    padding: 0;
    display: inline-block;
    font-size: 18px;
    transition: 0.3s;
}

.header .social-links .top-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface-color), white 14%), color-mix(in srgb, var(--surface-color), black 6%));
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    box-shadow: inset 0 1px 0 color-mix(in srgb, white, transparent 35%), 0 10px 24px color-mix(in srgb, var(--default-color), transparent 88%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.header .social-links .language-selector {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    position: relative;
}

.header .social-links .language-selector .top-link {
    width: 100%;
    /* height: 100%; */
}

.header .social-links .language-selector__current {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header .social-links .language-selector__badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), white 14%), color-mix(in srgb, var(--accent-color), black 10%));
    color: var(--contrast-color);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 20px color-mix(in srgb, var(--accent-color), transparent 72%);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-position 0.22s ease;
    background-size: 180% 180%;
    background-position: 0% 50%;
}

.header .social-links .language-selector__badge_small {
    width: 26px;
    height: 26px;
    font-size: 10px;
    margin-right: 10px;
    flex: 0 0 auto;
}

.header .social-links .language-selector .top-link:hover .language-selector__badge,
.header .social-links .language-selector .top-link:focus .language-selector__badge,
.header .social-links .language-selector.show .language-selector__badge {
    transform: translateY(-1px) scale(1.06);
    box-shadow: 0 14px 24px color-mix(in srgb, var(--accent-color), transparent 64%);
    background-position: 100% 50%;
}

.header .social-links .language-selector .dropdown-menu {
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    margin-top: 0;
    transform: none;
    transform-origin: top right;
    will-change: opacity;
}

.header .social-links .language-selector .dropdown-menu[data-bs-popper] {
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    transform: none;
}

.header .social-links .language-selector .dropdown-menu.show {
    animation: language-selector-dropdown 0.18s ease;
}

.header .social-links .language-selector__item {
    gap: 0;
}

.header .social-links .language-selector__item_active {
    color: var(--accent-color);
}

.header-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface-color), white 14%), color-mix(in srgb, var(--surface-color), black 6%));
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    box-shadow: inset 0 1px 0 color-mix(in srgb, white, transparent 35%), 0 10px 24px color-mix(in srgb, var(--default-color), transparent 88%);
}

.header-theme-toggle__option {
    position: relative;
    min-width: 58px;
    height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: color-mix(in srgb, var(--default-color), transparent 22%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.header-theme-toggle__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

.header-theme-toggle__option:hover,
.header-theme-toggle__option:focus-visible {
    background-color: color-mix(in srgb, var(--default-color), transparent 92%);
    color: var(--heading-color);
    transform: translateY(-1px);
    outline: none;
}

.header-theme-toggle__option.is-active {
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), white 8%), color-mix(in srgb, var(--accent-color), black 8%));
    color: var(--contrast-color);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.header-theme-toggle__option.is-active:hover,
.header-theme-toggle__option.is-active:focus-visible {
    color: var(--contrast-color);
    box-shadow: 0 14px 24px color-mix(in srgb, var(--accent-color), transparent 62%);
}

.dark-background .header-theme-toggle {
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface-color), white 5%), color-mix(in srgb, var(--surface-color), black 10%));
    border-color: color-mix(in srgb, white, transparent 86%);
}

.dark-background .header-theme-toggle__option {
    color: color-mix(in srgb, white, transparent 28%);
}

.dark-background .header-theme-toggle__option:hover,
.dark-background .header-theme-toggle__option:focus-visible {
    background-color: color-mix(in srgb, white, transparent 90%);
    color: var(--contrast-color);
}

@media (max-width: 799px) {
    .header .social-links .header-theme-toggle {
        display: none;
    }
}

@media (max-width: 991px) {
    .header-theme-toggle__option {
        min-width: 52px;
        padding: 0 12px;
    }
}

@media (max-width: 575px) {
    .header-theme-toggle__option {
        min-width: 48px;
        height: 32px;
        padding: 0 10px;
    }

    .header-theme-toggle__label {
        font-size: 10px;
    }
}

@keyframes language-selector-dropdown {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.header .social-links .header-user-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header .social-links .user-avatar,
.header .social-links .header-default-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.header .social-links .user-avatar {
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header .social-links .header-default-avatar {
    background: var(--accent-gradient);
    color: var(--contrast-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header .social-links .header-user-link:hover .user-avatar,
.header .social-links .header-user-link:hover .header-default-avatar {
    transform: scale(1.05);
    box-shadow: 0 0 10px var(--soft-accent-background);
}

.header .social-links .top-link:hover {
    background-color: var(--header-hover-background);
    border-color: color-mix(in srgb, var(--accent-color), transparent 74%);
    box-shadow: inset 0 1px 0 color-mix(in srgb, white, transparent 35%), 0 14px 24px color-mix(in srgb, var(--accent-color), transparent 78%);
    transform: translateY(-1px);
}

.header .social-links a:hover {
    color: var(--accent-color);
}

.dark-background .header .social-links .top-link {
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface-color), white 5%), color-mix(in srgb, var(--surface-color), black 10%));
    border-color: color-mix(in srgb, white, transparent 86%);
}

@media (max-width: 1200px) {
    .header .social-links {
        padding-right: 40px;
    }
}

.header .search-form {
    position: relative;
    width: 250px;
    display: flex;
    align-items: center;
    padding: 4px 6px 4px 14px;
    margin: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface-color), white 14%), color-mix(in srgb, var(--surface-color), black 6%));
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    box-shadow: inset 0 1px 0 color-mix(in srgb, white, transparent 35%), 0 10px 24px color-mix(in srgb, var(--default-color), transparent 88%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.header .search-form .form-control {
    border: 0;
    padding: 7px 12px 7px 0;
    background: transparent;
    transition: 0.3s;
    color: var(--default-color);
    font-size: 14px;
}

.header .search-form .form-control::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.header .search-form .form-control:focus {
    box-shadow: none;
}

.header .search-form:focus-within {
    border-color: color-mix(in srgb, var(--accent-color), transparent 68%);
    box-shadow: inset 0 1px 0 color-mix(in srgb, white, transparent 35%), 0 14px 26px color-mix(in srgb, var(--accent-color), transparent 78%);
    transform: translateY(-1px);
}

.header .search-form button {
    position: static;
    border: 0;
    background: transparent;
    font-size: 16px;
    width: 34px;
    height: 34px;
    padding: 0;
    margin: 0;
    color: var(--heading-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.header .search-form button:hover {
    color: var(--accent-color);
    background-color: color-mix(in srgb, var(--default-color), transparent 92%);
    transform: scale(1.04);
}

.dark-background .header .search-form {
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface-color), white 5%), color-mix(in srgb, var(--surface-color), black 10%));
    border-color: color-mix(in srgb, white, transparent 86%);
}

@media (max-width: 800px) {
    .header .search-form {
        display: none;
    }
}

.header .nav-wrap {
    background-color: color-mix(in srgb, var(--default-color), transparent 96%);
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.header .mobile-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: 6px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface-color), white 14%), color-mix(in srgb, var(--surface-color), black 6%));
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    box-shadow: inset 0 1px 0 color-mix(in srgb, white, transparent 35%), 0 10px 24px color-mix(in srgb, var(--default-color), transparent 88%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.dark-background .header .mobile-nav-toggle {
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface-color), white 5%), color-mix(in srgb, var(--surface-color), black 10%));
    border-color: color-mix(in srgb, white, transparent 86%);
}

@media (min-width:799px) {
    .header .mobile-nav-toggle {
        display: none !important;
    }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 0 0;
    scroll-margin-top: 90px;
    overflow: clip;
}

section.section-alt,
.section.section-alt,
section.alt-background,
.section.alt-background {
    background-color: var(--section-alt-background-color);
}

@media (max-width: 1199px) {

    section,
    .section {
        scroll-margin-top: 66px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    padding: 2em 1em 1em;
    position: relative;
}

.section-title h2 {
    font-size: 12px;
    font-weight: 500;
    padding: 0;
    line-height: 1px;
    margin: 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    position: relative;
}

.section-title h2::after {
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: var(--accent-color);
    margin: 8px 10px;
}

.section-title div {
    color: var(--heading-color);
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 800px) {
    .navmenu .navmenu-sidebar {
        display: none;
    }

    .navmenu .navmenu-search {
        display: none;
    }

    body.scrolled .header .nav-wrap {
        display: none;
    }

    .navmenu {
        padding: 0;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        padding: 18px 15px;
        font-size: 16px;
        font-family: var(--nav-font);
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

  .navmenu a i,
  .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: 0.3s;
    }

  .navmenu li:last-child a {
    padding-right: 0;
  }

    .navmenu li:hover>a,
    .navmenu a.active,
    .navmenu a.active:focus {
        color: var(--nav-hover-color);
        font-weight: 600;
  }

  .navmenu .dropdown ul {
        margin: 0;
        padding: 10px 0;
        background: var(--nav-dropdown-background-color);
        display: block;
        position: absolute;
        visibility: hidden;
        left: 14px;
        top: 130%;
        opacity: 0;
        transition: 0.3s;
        border-radius: 4px;
        z-index: 99;
        box-shadow: var(--card-shadow);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 799px) {
    .mobile-nav-active #header {
        z-index: 9998;
    }

    .navmenu .navmenu-sidebar {
        display: none;
        position: fixed;
        background-color: var(--surface-color);
        border-radius: 10px;
        inset: 60px 20px 20px 20px;
        height: calc(100vh - 80px);
        max-height: calc(100vh - 80px);
        height: calc(100dvh - 80px);
        max-height: calc(100dvh - 80px);
        overflow-y: auto;
        z-index: 9999;
    }

    .navmenu .navmenu-sidebar .navmenu-sidebar-content {
        margin: 0;
        padding-bottom: 16px;
    }

    .navmenu .navmenu-sidebar ul {
        display: block;
        position: static;
        inset: auto;
        height: auto;
        max-height: none;
        overflow: visible;
        z-index: auto;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background: transparent;
        border-radius: 0;
        transition: none;
    }

    .navmenu .navmenu-sidebar li {
        position: static;
    }

    .navmenu .navmenu-sidebar .navmenu-panel {
        margin: 0 0 16px;
        padding: 20px;
        background-color: color-mix(in srgb, var(--default-color), transparent 98%);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        border-radius: 12px;
    }

    .navmenu .navmenu-sidebar .navmenu-panel:last-child {
        margin-bottom: 0;
    }

    .navmenu .navmenu-sidebar .navmenu-panel-title {
        margin: 0 0 20px;
        padding-left: 10px;
        border-left: 4px solid var(--accent-color);
        color: var(--heading-color);
        font-size: 20px;
        font-weight: 600;
    }

    .navmenu .navmenu-sidebar .navmenu-search-form {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 4px 6px 4px 14px;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
        border-radius: 999px;
        background: var(--background-color);
    }

    .navmenu .navmenu-sidebar .navmenu-theme-toggle {
        display: inline-flex;
        width: 100%;
        align-items: center;
        gap: 4px;
        padding: 4px;
        border-radius: 999px;
        background: linear-gradient(180deg, color-mix(in srgb, var(--surface-color), white 14%), color-mix(in srgb, var(--surface-color), black 6%));
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
        box-shadow: inset 0 1px 0 color-mix(in srgb, white, transparent 35%), 0 10px 24px color-mix(in srgb, var(--default-color), transparent 88%);
    }

    .navmenu .navmenu-sidebar .navmenu-theme-toggle .header-theme-toggle__option {
        flex: 1 1 0;
        min-width: 0;
        height: 38px;
        padding: 0 12px;
    }

    .dark-background .navmenu .navmenu-sidebar .navmenu-theme-toggle {
        background: linear-gradient(180deg, color-mix(in srgb, var(--surface-color), white 5%), color-mix(in srgb, var(--surface-color), black 10%));
        border-color: color-mix(in srgb, white, transparent 86%);
    }

    .navmenu .navmenu-sidebar .navmenu-search-input {
        width: 100%;
        min-width: 0;
        border: 0;
        background: transparent;
        color: var(--default-color);
        font-family: var(--default-font);
        font-size: 15px;
        outline: none;
    }

    .navmenu .navmenu-sidebar .navmenu-search-button {
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        color: var(--default-color);
        flex: 0 0 40px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .navmenu .navmenu-sidebar .navmenu-search-button:hover,
    .navmenu .navmenu-sidebar .navmenu-search-button:focus {
        background-color: color-mix(in srgb, var(--accent-color), white 88%);
        color: var(--accent-color);
    }

    .navmenu .navmenu-sidebar .navmenu-filter-form .btn {
        width: 100%;
    }

    .navmenu .navmenu-sidebar .navmenu-recent-list {
        display: grid;
        gap: 15px;
    }

    .navmenu .navmenu-sidebar .navmenu-recent-item {
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }

    .navmenu .navmenu-sidebar .navmenu-recent-thumb,
    .navmenu .navmenu-sidebar .navmenu-recent-image {
        width: 80px;
        min-width: 80px;
        height: 80px;
        border-radius: 8px;
        overflow: hidden;
    }

    .navmenu .navmenu-sidebar .navmenu-recent-image {
        display: block;
        object-fit: cover;
    }

    .navmenu .navmenu-sidebar .navmenu-recent-thumb_comment {
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
        background-color: var(--accent-color);
    }

    .navmenu .navmenu-sidebar .navmenu-recent-thumb-label {
        font-size: 12px;
        color: var(--contrast-color);
        font-weight: 500;
    }

    .navmenu .navmenu-sidebar .navmenu-recent-meta {
        min-width: 0;
    }

    .navmenu .navmenu-sidebar .navmenu-recent-title {
        margin: 0 0 5px;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
    }

    .navmenu .navmenu-sidebar .navmenu-recent-link,
    .navmenu .navmenu-sidebar .navmenu-recent-link:focus {
        display: inline;
        color: var(--default-color);
        padding: 0;
        font-family: var(--default-font);
        font-size: inherit;
        font-weight: inherit;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        text-decoration: none;
    }

    .navmenu .navmenu-sidebar .navmenu-recent-date {
        display: block;
        font-size: 14px;
        font-style: italic;
        color: color-mix(in srgb, var(--default-color), transparent 50%);
    }

    .navmenu .navmenu-sidebar .navmenu-tags-group-title {
        margin: 1em 0 1.5em;
        text-align: center;
        text-transform: uppercase;
        color: color-mix(in srgb, var(--default-color), transparent 50%);
        font-size: 14px;
        font-weight: 500;
        line-height: 1em;
    }

    .navmenu .navmenu-sidebar .navmenu-tags-group-title::before,
    .navmenu .navmenu-sidebar .navmenu-tags-group-title::after {
        content: "";
        width: 50px;
        height: 1px;
        display: inline-block;
        background: var(--accent-color);
        margin: 4px 10px;
    }

    .navmenu .navmenu-sidebar .navmenu-tag-list {
        list-style: none;
    }

    .navmenu .navmenu-sidebar .navmenu-tag-item {
        display: inline-block;
    }

    .navmenu .navmenu-sidebar .navmenu-category-list {
        list-style: none;
    }

    .navmenu .navmenu-sidebar .navmenu-links-list {
        display: grid;
        list-style: none;
        gap: 10px;
    }

    .navmenu .navmenu-sidebar .navmenu-links-list svg {
        margin-right: 1rem !important;
    }

    .navmenu .navmenu-sidebar .navmenu-category-list li {
        padding-bottom: 10px;
    }

    .navmenu .navmenu-sidebar .navmenu-category-list li:last-child {
        padding-bottom: 0;
    }

    .navmenu .navmenu-sidebar .navmenu-category-list span {
        padding-left: 5px;
        color: color-mix(in srgb, var(--default-color), transparent 50%);
        font-size: 14px;
    }

    .navmenu .navmenu-sidebar .navmenu-filter-form .form-select,
    .navmenu .navmenu-sidebar .navmenu-filter-form .form-label {
        font-family: var(--default-font);
    }

    .navmenu .navmenu-sidebar .navmenu-filter-form .form-select {
        color: var(--default-color);
    }

    .navmenu .navmenu-sidebar .navmenu-filter-form .btn-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 16px;
    }

    .navmenu .navmenu-sidebar .navmenu-filter-empty-msg {
        margin-top: 8px;
        margin-bottom: 12px;
        padding: 8px 12px;
        background: color-mix(in srgb, var(--accent-color), transparent 90%);
        border-left: 3px solid var(--accent-color);
        border-radius: 4px;
        font-size: 14px;
        color: var(--default-color);
    }

    .navmenu .navmenu-sidebar .navmenu-panel-filters--redirect .navmenu-filter-form {
        opacity: 0.7;
    }

    .navmenu .navmenu-sidebar .navmenu-panel-filters--redirect .navmenu-filter-form .btn-primary {
        background: color-mix(in srgb, var(--accent-color), var(--surface-color) 40%);
    }

    .navmenu .navmenu-sidebar .navmenu-links-link,
    .navmenu .navmenu-sidebar .navmenu-links-link:focus {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 12px 14px;
        border-radius: 10px;
        background-color: var(--surface-color);
        color: var(--heading-color);
        font-family: var(--nav-font);
        font-size: 16px;
        font-weight: 500;
        text-decoration: none;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.35;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .navmenu .navmenu-sidebar .navmenu-links-link:hover,
    .navmenu .navmenu-sidebar .navmenu-links-link:focus,
    .navmenu .navmenu-sidebar .navmenu-links-link.active {
        background-color: color-mix(in srgb, var(--accent-color), white 88%);
        color: var(--accent-color);
    }

    .navmenu .navmenu-sidebar .navmenu-category-list a,
    .navmenu .navmenu-sidebar .navmenu-category-list a:focus {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 0;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        font-family: var(--default-font);
        font-size: 16px;
        font-weight: 400;
        white-space: normal;
        text-decoration: none;
    }

    .navmenu .navmenu-sidebar .navmenu-category-list a:hover,
    .navmenu .navmenu-sidebar .navmenu-category-list a:focus {
        color: var(--accent-color);
    }

    .navmenu .navmenu-sidebar .navmenu-tag-list a,
    .navmenu .navmenu-sidebar .navmenu-tag-list a:focus {
        display: inline-block;
        padding: 6px 12px;
        margin: 0 6px 8px 0;
        border-radius: 999px;
        background-color: color-mix(in srgb, var(--accent-color), white 92%);
        color: var(--accent-color);
        font-family: var(--default-font);
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        white-space: normal;
    }

    .navmenu .navmenu-sidebar .navmenu-tag-list a:hover,
    .navmenu .navmenu-sidebar .navmenu-tag-list a:focus {
        background-color: var(--accent-color);
        color: var(--contrast-color);
    }

    .header .mobile-nav-toggle {
        display: inline-flex;
        flex: 0 0 42px;
    }

    .header .nav-wrap {
        margin-top: 0;
        background-color: transparent;
    }

    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 24px;
        line-height: 0;
        cursor: pointer;
        padding: 5px;
        border-radius: 50%;
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    }

    .mobile-nav-toggle:hover {
        background-color: var(--header-hover-background);
        border-color: color-mix(in srgb, var(--accent-color), transparent 74%);
        box-shadow: inset 0 1px 0 color-mix(in srgb, white, transparent 35%), 0 14px 24px color-mix(in srgb, var(--accent-color), transparent 78%);
        color: var(--accent-color);
        transform: translateY(-1px);
    }

    .navmenu {
        display: none;
        padding: 0;
        z-index: 9997;
    }   

    .navmenu ul {
        display: none;
        list-style: none;
        position: fixed;
        inset: 60px 20px 20px 20px;
        height: calc(100vh - 80px);
        max-height: calc(100vh - 80px);
        height: calc(100dvh - 80px);
        max-height: calc(100dvh - 80px);
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
        box-shadow: var(--card-shadow);
    }

    .navmenu .navmenu-search {
        padding: 16px 20px 8px;
    }

    .navmenu .navmenu-search .search-form {
        display: flex;
        width: 100%;
        margin: 0;
    }

    .navmenu .navmenu-search .form-control {
        background-color: var(--surface-color);
        color: var(--default-color);
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: var(--accent-color);
        color: var(--contrast-color);
    }

    .navmenu a:hover,
    .navmenu a.active,
    .navmenu a.active:focus {
    color: var(--nav-dropdown-hover-color);
  }

    .navmenu a.active i,
    .navmenu a.active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
        background-color: color-mix(in srgb, var(--surface-color), var(--default-color) 10%);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
        background-color: color-mix(in srgb, var(--surface-color), var(--default-color) 3%);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

    .mobile-nav-active .mobile-nav-toggle {
        color: var(--contrast-color);
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-left: 0;
        z-index: 9999;
        background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), white 8%), color-mix(in srgb, var(--accent-color), black 8%));
        border-color: color-mix(in srgb, var(--accent-color), transparent 28%);
        box-shadow: 0 14px 24px color-mix(in srgb, var(--accent-color), transparent 62%);
    }

    .mobile-nav-active .navmenu {
        display: block;
        position: fixed;
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
        inset: 0;
        background: var(--overlay-color);
        transition: 0.3s;
        z-index: 9998;
    }

    .mobile-nav-active .navmenu>ul {
        display: none;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu .navmenu-sidebar {
        display: block;
    }

    .sidebar {
        display: none;
    }
}

@media (max-width: 992px) {
    .sidebar .widgets-container {
        margin-top: 1em;
    }
}

.card {
    background: var(--background-color);
    color: var(--heading-color);
}

.card .text-muted {
    color: var(--heading-color) !important;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-top: 10px;
}

.footer .footer-about .logo img {
    display: none;
    max-height: 40px;
    margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.social-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
    margin-bottom: 30px;
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links ul i {
    padding-right: 2px;
    font-size: 12px;
    line-height: 0;
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    display: inline-block;
    line-height: 1;
    margin-left: 6px;
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
}

.footer .footer-contact {
    color: var(--heading-color);
}

.footer .footer-contact p {
    margin-bottom: 5px;
}

.footer .footer-contact__row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
}

.footer .footer-contact__label {
    color: color-mix(in srgb, var(--default-color), transparent 42%);
    font-weight: 500;
}

.footer .footer-contact__value {
    color: color-mix(in srgb, var(--default-color), transparent 24%);
}

.footer .social-links .footer-social-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    min-height: 18px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
}

.footer .copyright {
    color: var(--heading-color);
    padding: 25px 0;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .credits {
    margin-top: 8px;
    font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #ffffff;
    border-color: var(--accent-color) transparent var(--accent-color) transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*--------------------------------------------------------------
# Global Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.breadcrumbs .breadcrumb {
    justify-content: center;
    margin: 0;
    padding: 0;
    background: none;
}

.breadcrumbs .breadcrumb .breadcrumb-item {
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.breadcrumbs .breadcrumb .breadcrumb-item.active {
    color: var(--accent-color);
}

.breadcrumbs .breadcrumb .breadcrumb-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs .breadcrumb .breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumbs .breadcrumb .breadcrumb-item a i {
    font-size: 0.9rem;
    margin-right: 0.2rem;
}

.breadcrumbs .breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Page Titles
--------------------------------------------------------------*/
.page-title {
    text-align: center;
    padding: 10px 0;
}

.page-title .title-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0 1em 0; 
}

.page-title .title-wrapper h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--heading-color);
}

.page-title .title-wrapper p {
    font-size: 1.1rem;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin: 0;
    line-height: 1.6;
    padding: 0.4em;
}

@media (max-width: 768px) {
    .page-title .title-wrapper h1 {
        font-size: 2rem;
    }

    .page-title .title-wrapper p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .page-title .title-wrapper h1 {
        font-size: 1.75rem;
    }
}


/*--------------------------------------------------------------
# Sidebar for lists 
--------------------------------------------------------------*/

.widget-title {
    text-align: left;
    color: var(--heading-color);
    font-size: 20px;
    font-weight: 600;
    padding: 0 0 0 10px;
    margin: 0 0 20px 0;
    border-left: 4px solid var(--accent-color);
}

.widget-item {
    margin-bottom: 30px;
    text-align: left;
    background-color: color-mix(in srgb, var(--default-color), transparent 98%);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    padding: 30px;
    border-radius: 5px;
}

.widget-item:last-child {
    margin-bottom: 0;
}

.search-widget form {
    background: var(--background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
    padding: 3px 10px;
    position: relative;
    border-radius: 50px;
    transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px 10px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: none;
  color: var(--default-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 16px;
  transition: 0.3s;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  color: var(--accent-color);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
    display: flex;
    margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item .comment-placeholder {
    width: 100px;
    /* height: 80px; */
    margin-right: 15px;
    flex-shrink: 0;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
    background-color: var(--accent-color);
    
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recent-posts-widget .post-item .comment-placeholder-label {
    font-size: 12px;
    color: var(--contrast-color);
    font-weight: 500;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-sidebar-title {
    text-align: center;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    line-height: 1em;
    margin: 1em 0 1.5em 0;
}


.tags-sidebar-title::before, .tags-sidebar-title::after {
    content: "";
    width: 50px;
    height: 1px;
    display: inline-block;
    background: var(--accent-color);
    margin: 4px 10px;
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 50px;
  font-size: 14px;
  padding: 5px 15px;
  margin: 0 6px 8px 0;
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Pagination 2 Section
--------------------------------------------------------------*/
.pagination-2 {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    padding: 2em;
}

.pagination-2 ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pagination-2 li {
    margin: 0 5px;
    transition: 0.3s;
}

.pagination-2 li a {
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--accent-color);
}

.pagination-2 li a.active,
.pagination-2 li a:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.pagination-2 li a.active a,
.pagination-2 li a:hover a {
    color: var(--contrast-color);
}

.pagination-2 li.disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;

}

page-link

/*--------------------------------------------------------------
# Pagination 3 Section
--------------------------------------------------------------*/
.pagination-3 {
    padding-top: 0;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.pagination-3 ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pagination-3 li {
    margin: 0 5px;
    transition: 0.3s;
}

.pagination-3 li a {
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--accent-color);
}

.pagination-3 li a.active,
.pagination-3 li a:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.pagination-3 li a.active a,
.pagination-3 li a:hover a {
    color: var(--contrast-color);
}

/*monkey patches for instruction or disassembly page*/
img {
    border-radius: 5px;
}

.no-caret::after {
    display: none !important;
}

.no-caret .lang-icon {
    width: 28px;
     border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.no-caret:hover .lang-icon {
    background-color: #f0f0f0;
    transform: scale(1.1);
}

p.bottom-author-job-title {
    font-size: 22px;
    font-weight: 600;
}

.bottom-author-text {
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    padding: 1em;
    border-radius: 10px;
}

.bottom-author-hashtags {
    margin: 0 0 0 5px;
}

.page-stat-bottom p {
    text-align: center; 
    font-size: 20px; 
    font-weight: 600; 
    margin: 15px;
}

/* for all cards on website */
.user-card {
    --bs-card-border-width: 0 !important;
    border: none !important; /* just to be sure */
}

.user-card .user-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.user-card .default-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #00a7e7, #00ffc3);
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.user-card .default-avatar:hover,
.user-card .user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 167, 231, 0.5);
}

/* Top of instructions bottom block */
.instruction-item {
    transition: opacity 0.5s ease;
}

.instruction-card-hidden { 
    display: none; 
}

#show-new-instructions,
#show-more-instructions {
    margin-top: 20px;
    background-color:#00a7e7;
    color: white;
    font-size: 1.3rem;
    justify-content: center;
    align-items: center;
    user-select: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    --bs-btn-border-color: none !important;
}

#show-new-instructions:hover,
#show-more-instructions:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 167, 231, 0.5);
}

/* Statistic part with shares and likes */
.share-likes-icon {
    font-size: 1.3rem;
    justify-content: center;
    align-items: center;
    user-select: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
} 

.share-likes-icon:hover {
    transform: scale(1.5);
    color: #00a7e7;
    font-weight: 900;
}


/* LOAD more buttons */
.load-more-question.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none; /* prevents clicks */
}

/*--------------------------------------------------------------
# Block Author Section
--------------------------------------------------------------*/
.block-author .author-box {
  padding: 1rem;
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
  transition: transform 0.3s ease;
}

.block-author .author-box:hover {
  transform: translateY(-5px);
}

.block-author .author-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 4px solid var(--surface-color);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.block-author .author-img:hover {
    transform: scale(1.05);
}

.block-author .author-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
    color: var(--accent-color);
    margin: 0 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.block-author .author-social-links a:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-3px);
}

.block-author .author-social-links a.linkedin:hover {
    background-color: #0077b5;
}

.block-author .author-social-links a.twitter:hover {
    background-color: #000000;
}

.block-author .author-social-links a.github:hover {
    background-color: #333333;
}

.block-author .author-social-links a.facebook:hover {
    background-color: #1877f2;
}

.block-author .author-social-links a.instagram:hover {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.block-author .author-content {
    padding-left: 1rem;
}

@media (max-width: 767.98px) {
    .block-author .author-content {
        padding-left: 0;
        margin-top: 2rem;
        text-align: center;
    }
}

.block-author .author-content .author-name {
    font-size: 1.60rem;
    margin: 0;
    color: var(--heading-color);
    font-weight: 700;
}

.block-author .author-content .author-title {
    display: inline-block;
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-top: 0.5rem;
    font-family: var(--heading-font);
}

.block-author .author-content .author-bio {
    font-size: 14px;
    line-height: 1.6;
    color: var(--default-color);
    margin: 1rem 0;
}

.block-author .author-content .author-website {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .block-author .author-content .author-website {
        justify-content: center;
    }
}

.block-author .author-content .author-website a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.block-author .author-content .author-website a i {
    font-size: 1.1rem;
}

.block-author .author-content .author-website a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    transform: translateX(3px);
}

.block-author .author-content .author-website .more-posts {
    font-weight: 500;
}

.new-material-bottom .section-title div {
    font-size: 20px;
} 

.cta-buttons .btn {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.new-material-bottom .cta-buttons .btn.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
}

.new-material-bottom .cta-buttons .btn.btn-primary:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    border-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    transform: translateY(-2px);
}

.new-material-bottom .cta-buttons .btn.btn-outline {
    border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
    color: var(--accent-color);
}

.new-material-bottom .cta-buttons .btn.btn-outline:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
}

.new-material-bottom .popular-material-bottom {
    padding: 1em 0 1em 0;
}

.new-material-bottom .ratio-16x9 {
    --bs-aspect-ratio: 42.857%;
}

@media (min-width: 768px) {
    .new-material-bottom .latest-posts article {
        display: grid;
        grid-template-columns: 30% 1fr;
        grid-template-areas:
            "image content"
            "image hashtags";
        padding: 0;
    }

    .new-material-bottom .post-img {
        grid-area: image;
        margin: 0;
        max-height: none;
    }

    .new-material-bottom .ratio-16x9 {
        --bs-aspect-ratio: auto;
        height: 100%;
    }

    .new-material-bottom .ratio-16x9 > img {
        position: static;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .new-material-bottom .latest-posts .title {
        grid-area: content;
        padding: 1rem 1.25rem 0;
        margin-bottom: 0;
    }

    .new-material-bottom .post-category {
        grid-area: hashtags;
        padding: 0.5rem 1.25rem 1rem;
    }
}

@media (max-width: 767.98px) {
    .new-material-bottom .ratio-16x9 {
        aspect-ratio: 16 / 9;
    }

    .new-material-bottom .ratio-16x9::before {
        display: none;
    }

    .new-material-bottom .ratio-16x9 > img {
        position: relative;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .new-material-bottom .post-img {
        max-height: none;
    }
}

/*--------------------------------------------------------------
# Latest Posts Section (blog, instruction steps)
--------------------------------------------------------------*/
.latest-posts article {
    background-color: var(--surface-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 1em;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.latest-posts .post-img {
    max-height: 240px;
    /* margin: -30px -30px 15px -30px; */
    overflow: hidden;
}

.latest-posts .post-category {
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 10px;
}

.latest-posts .title {
    font-size: 20px;
    font-weight: 700;
    padding: 0;
    margin: 0 0 20px 0;
}

.latest-posts .title a {
    color: var(--heading-color);
    transition: 0.3s;
}

.latest-posts .title a:hover {
    color: var(--accent-color);
}

.latest-posts .post-author-img {
    width: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.latest-posts .post-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.latest-posts .post-date {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 0;
}

/* related-materials-section inside instructions, blogs, reviews */
.related-materials-section {
    width: 100%;
}

.related-materials-section__layout {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

.related-materials-section__column {
    min-width: 0;
}

.related-materials-section__card {
    height: 100%;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: color-mix(in srgb, var(--surface-color), white 30%);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.related-materials-section__item {
    margin-bottom: 1.5rem;
}

.related-materials-section__item:last-child {
    margin-bottom: 0;
}

.related-materials-section .related-questions-wrap h3,
.related-materials-section .related-materials-wrap h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    
}

.related-materials-section .related-questions-wrap p {
    font-size: 16px;
    color: var(--default-color)
}

.related-materials-section .related-questions-wrap .text-muted,
.related-materials-section__empty-note {
    font-style: italic;
    color: color-mix(in srgb, var(--default-color), transparent 35%);
}

.related-materials-section__empty-note {
    font-size: 0.875rem;
}

.related-materials-section__empty-note--compact {
    margin-bottom: 1rem;
}

.related-materials-section__empty-text {
    margin: 0;
}

.related-materials-section__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.related-materials-section__action--signin {
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    background-color: var(--accent-color);
    color: var(--contrast-color);
}

.related-materials-section__action--signin:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    color: var(--contrast-color);
}

.related-materials-section__error {
    color: var(--special-red-color);
}

@media (min-width: 992px) {
    .related-materials-section__layout {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    }
}

.popular-questions {
    --popular-questions-avatar-size: 3.75rem;
    --popular-questions-preview-width: 11.25rem;
    --popular-questions-preview-height: 5rem;
    --popular-questions-card-radius: 0.375rem;
    --popular-questions-image-radius: 0.375rem;
    --popular-questions-card-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --popular-questions-card-border: color-mix(in srgb, var(--default-color), transparent 88%);
    --popular-questions-surface: var(--surface-color, #fff);
    --popular-questions-muted: color-mix(in srgb, var(--default-color), transparent 42%);
    --popular-questions-subtle: color-mix(in srgb, var(--default-color), transparent 60%);
    --popular-questions-avatar-bg: color-mix(in srgb, var(--default-color), transparent 92%);
    --popular-questions-empty-bg: color-mix(in srgb, var(--default-color), transparent 96%);
}

.popular-questions__col {
    display: flex;
}

.popular-questions__card {
    display: block;
    width: 100%;
    min-height: 100%;
    background: var(--popular-questions-surface);
    border: 1px solid var(--popular-questions-card-border);
    border-radius: var(--popular-questions-card-radius);
    box-shadow: var(--popular-questions-card-shadow);
    overflow: hidden;
}

.popular-questions__body {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
}

.popular-questions__avatar-wrap {
    flex-shrink: 0;
    margin-right: 0.25rem;
}

.popular-questions__avatar,
.popular-questions__default-avatar {
    display: block;
    width: var(--popular-questions-avatar-size);
    height: var(--popular-questions-avatar-size);
    border-radius: 50%;
    object-fit: cover;
}

.popular-questions__default-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--popular-questions-avatar-bg);
    color: var(--heading-color);
    font-weight: 700;
}

.popular-questions__content {
    flex: 1 1 auto;
    min-width: 0;
}

.popular-questions__title {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 600;
}

.popular-questions__title-link {
    color: var(--heading-color);
    text-decoration: none;
}

.popular-questions__title-link:hover {
    color: var(--accent-color);
}

.popular-questions__text {
    margin: 0 0 0.5rem;
    color: var(--popular-questions-muted);
    line-height: 1.5;
}

.popular-questions__image-link {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.popular-questions__image {
    display: block;
    width: var(--popular-questions-preview-width);
    max-width: 100%;
    height: var(--popular-questions-preview-height);
    object-fit: cover;
    border: 1px solid var(--popular-questions-card-border);
    border-radius: var(--popular-questions-image-radius);
    background: var(--popular-questions-surface);
    padding: 0.25rem;
}

.popular-questions__author {
    display: block;
    color: var(--popular-questions-subtle);
    font-size: 0.875rem;
    line-height: 1.4;
}

.popular-questions--empty {
    padding: 1rem;
    border: 1px solid var(--popular-questions-card-border);
    border-radius: var(--popular-questions-card-radius);
    background: var(--popular-questions-empty-bg);
    text-align: center;
}

@media (max-width: 575.98px) {
    .popular-questions__body {
        gap: 0.75rem;
        padding: 0.875rem;
    }

    .popular-questions__image {
        width: 100%;
        height: auto;
        aspect-ratio: 9 / 4;
    }
}

/*--------------------------------------------------------------
# Latest Posts Section (blog, instruction steps)
--------------------------------------------------------------*/
.latest-posts article {
    background-color: var(--surface-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    /* padding: 30px; */
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

/* .latest-posts .post-img {
    max-height: 240px;
    margin: -30px -30px 15px -30px;
    overflow: hidden;
} */

.latest-posts .post-category {
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 10px;
}

.latest-posts .title {
    font-size: 16px;
    font-weight: 700;
    padding: 0.6em;
    margin: 0 0 20px 0;
}

.latest-posts .title a {
    color: var(--heading-color);
    transition: 0.3s;
}

.latest-posts .title a:hover {
    color: var(--accent-color);
}

.latest-posts .post-author-img {
    width: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.latest-posts .post-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.latest-posts .post-date {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 0;
}

.related-content-card {
    --related-content-card-radius: 0.75rem;
    --related-content-card-padding-y: 1rem;
    --related-content-card-padding-x: 1.25rem;
    --related-content-card-border: color-mix(in srgb, var(--default-color), transparent 90%);
    --related-content-card-surface: var(--surface-color);
    --related-content-card-muted: color-mix(in srgb, var(--default-color), transparent 38%);
    --related-content-card-label-bg: color-mix(in srgb, var(--accent-color), white 88%);
    margin-bottom: 1rem;
    width: 100%;
    border: 1px solid var(--related-content-card-border);
    border-radius: var(--related-content-card-radius);
    background: var(--related-content-card-surface);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    overflow: hidden;
}

.related-content-card__layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.related-content-card__media-col {
    flex: 0 0 100%;
    width: 100%;
}

.related-content-card__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 32 / 9;
    border-radius: var(--related-content-card-radius) var(--related-content-card-radius) 0 0;
}

.related-content-card__content-col {
    flex: 1 1 100%;
    min-width: 0;
}

.related-content-card__body {
    padding: var(--related-content-card-padding-y) var(--related-content-card-padding-x);
}

.related-content-card__label-wrap {
    margin-bottom: 0.5rem;
}

.related-content-card__label {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    background: var(--related-content-card-label-bg);
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.related-content-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 700;
}

.related-content-card__title-link {
    color: var(--heading-color);
    text-decoration: none;
}

.related-content-card__title-link:hover {
    color: var(--accent-color);
}

.related-content-card__text {
    margin: 0 0 0.5rem;
    color: var(--related-content-card-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.related-content-card__meta {
    flex: 0 0 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 var(--related-content-card-padding-x) var(--related-content-card-padding-y);
}

.related-content-card__meta .hashtags {
    flex: 1 1 auto;
    margin-top: 1em;
}

.related-content-card__meta .stat-line {
    flex: 0 0 auto;
}

@media (min-width: 768px) {
    .related-content-card__layout {
        display: grid;
        grid-template-columns: 30% 1fr;
        grid-template-areas:
            "image content"
            "image meta";
        align-items: stretch;
    }

    .related-content-card__media-col {
        grid-area: image;
    }

    .related-content-card__content-col {
        grid-area: content;
    }

    .related-content-card__meta {
        grid-area: meta;
    }

    .related-content-card__image {
        aspect-ratio: auto;
        height: 100%;
        border-radius: var(--related-content-card-radius) 0 0 var(--related-content-card-radius);
    }
}

@media (max-width: 575.98px) {
    .related-content-card {
        --related-content-card-padding-y: 0.875rem;
        --related-content-card-padding-x: 1rem;
    }

    .related-content-card__meta {
        align-items: flex-start;
    }
}

/*--------------------------------------------------------------
# Section for all lists of Instructions, Review, Blog
--------------------------------------------------------------*/
.category-posts .post-img {
    max-height: 240px;
    margin: -30px -30px 15px -30px;
    overflow: hidden;
}

.category-posts .post-category {
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 10px;
}

.category-posts .title {
    font-size: 20px;
    font-weight: 700;
    padding: 0;
    margin: 0 0 20px 0;
}

.category-posts .title a {
    color: var(--heading-color);
    transition: 0.3s;
}

.category-posts .title a:hover {
    color: var(--accent-color);
}

.category-posts .post-author-img {
    width: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.category-posts .post-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.category-posts .post-date {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 0;
}



.recommendation {
    background: linear-gradient(90deg, 
            rgba(3, 151, 230, 0.7) 75%,
            rgba(3, 151, 230, 0.9) 25% 
    );
    
    padding: 0.75rem 1.5rem; 
    border-radius: 10px;
}

.recommendation p {
     color: var(--contrast-color);
}


.recommendation .image-column {
    margin-top: 1rem;
}

.recommendation .image-wrap {
    width: 100px; 
    height: 100px; 
    border: 4px solid white;
}

.recommendation .image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ---------- 404 page ---------- */
.error-404 .error-code {
    font-size: 5rem;
    font-weight: 800;
    color: var(--contrast-color);
    line-height: 1;
}

.error-404 .error-title {
    font-size: 1.75rem;
    color: var(--contrast-color);
}

.error-404 .error-text {
    color: var(--contrast-color);
    opacity: 0.9;
}

.error-404 .search-form {
    max-width: 480px;
    margin-left: 0;
}

.error-404 .search-form .form-control {
    border-radius: 6px 0 0 6px;
    border: none;
}

.error-404 .search-form .btn {
    border-radius: 0 6px 6px 0;
    border: none;
}
