header {
    text-align: center;
    background-color: #222;
    color: #fff;
    padding: 60px 0;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px;
}

/* Stack vertically on small screens */
@media (max-width: 600px) {
    .social-links {
        flex-direction: column;
    }
}

.social-icon {
    width: 36px;
    height: 36px;
    transition: opacity 0.2s ease-in-out; /* Transition for the opacity */
}

.social-icon:hover {
    opacity: 0.75; /* Opacity on hover */
}

.footer {
    position: relative; /* Or remove the position property altogether */
    width: 95%;
    background-color: #222;
    font-size: 14px;
    color: #777;
    margin-left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

body {
    background-color: #222; /* Adjust the color as you see fit */
    color: #333
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.tag-list--detail {
    margin-top: 12px;
}

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: #555;
    color: #fff;
}

.tag--post {
    background-color: #2563eb;
}

.tag--wip {
    background-color: #d97706;
}

.tag--talk {
    background-color: #059669;
}

.tag--notes {
    background-color: #7c3aed;
}

.tag--date {
    background-color: #4b5563;
    text-transform: none;
    letter-spacing: normal;
}

.post-content blockquote {
    margin: 16px 0;
    padding: 12px 18px;
    border-left: 4px solid #9ca3af;
    background-color: #2b2b2b;
    color: #e5e7eb;
    border-radius: 6px;
    font-style: italic;
}

.post-content blockquote p {
    margin: 0;
}

/* Styles for big ol screens */
@media (min-width: 1440.03px) {
    .centered-content {
        display: flex;
        justify-content: center;
        margin: 30px;
        width: 100%;
    }

    /* Flex container to hold the two sections */
    .flex-container {
        display: flex;
        column-gap: 30px;
        width: 55%; /* Adjust width as needed */
        justify-content: center;
        flex-direction: row;
        vertical-align: top;
    }

    .top-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #333;
        color: #fff;
        width: 40%;
        border-radius: 8px; /* Rounded corners */
        box-shadow: 0 6px 8px rgba(0,0,0,0.1);
        padding: 20px;
        border: 1px solid #dbd8cd; /* Adjust the color and thickness as desired */
        border-radius: 8px; /* This rounds the corners. Adjust as desired. */
        box-sizing: border-box;
        box-shadow: 0 6px 8px rgba(0,0,0,0.1); /* Optional: Adds a subtle shadow for a lifted effect */
    }

    .sidebar-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%; /* Ensure the image container takes full width */
        padding-top: 20px;
    }

    .sidebar-image img {
        border-radius: 50%;
        width: 100%;
        height: 100%;
        max-width: 350px;
        /* overflow: hidden; */
    }

    .top-bar-text {
        display: flex;
        text-align: left;
        justify-content: flex-start;
        font-size: 20px;
        padding: 20px;
        margin: 0;
        padding-top: 20px;
    }

    .posts {
        display: flex; 
        flex-direction: column; /* Align content vertically */
        align-items: center; /* Align items to the center */
        width: 100%; /* Full width */
        gap: 30px;
    }

    .post-card {
        display: flex;
        flex-direction: row; /* Align content horizontally on desktop */
        align-items: center; /* Align items to the top */
        justify-content: center;
        width: 100%; /* Full width */
        height: 100%;
        background-color: #333;
        color: #fff;
        border: 1px solid #dbd8cd; /* Adjust the color and thickness as desired */
        border-radius: 8px; /* This rounds the corners. Adjust as desired. */
        box-shadow: 0 6px 8px rgba(0,0,0,0.1); /* Optional: Adds a subtle shadow for a lifted effect */
    }

    .posts a {
        display: block;
        width: 100%;
        height: 100%;
        text-decoration: none; /* removes the underline from links */
        color: inherit; /* ensures the link inherits the color from its parent */
    }

    .post-card:hover {
        background-color: #555; /* change to your preferred color */
        cursor: pointer; /* indicates an actionable item */
    }

    /* Larger header size for title */
    .post-card h2 {
        font-size: 28px;
        color: #fff;
        font-weight: bold;
        padding: 20px;
    }

    .post-card p { /* Assuming the description is wrapped in a <p> tag */
        padding: 20px;
        font-size: 20px;
    }

    .post-content-wrapper {
        display: flex;
        flex-direction: row; /* Align content horizontally on desktop */
        justify-content: center;
        width: 100%; /* Full width */
        padding: 5px;
    }

    .post-text-content {
        text-align: left; /* Align text to the left on desktop */
        width: 65%;
    }

    .post-image-container {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 40px;
        padding: 20px;
        width: 35%; /* Sets a fixed width for the image */
    }

    .post-image-container img {
        border-radius: 40px;
        width: 100%;
        max-width: 240px;
        height: 100%;
    }

    /* BLOG_DETAIL */
    /* General blog post container styles */
    .blog-post-wrapper {
        display: flex;
        justify-content: center;
        align-items: flex-start; /* Aligns to the top */
        width: 100%; /* Full width to center within */
        margin-top: 30px;
    }

    .back-button {
        position: relative;
        top: -85px;
        left: -10px;
        display: inline-block; /* Allows width and height to be set */
        padding: 5px 10px; /* Size of the button */
        background-color: #333; /* Button color */
        color: #fff; /* Text color */
        text-decoration: none; /* Remove underline from link */
        border-radius: 5px; /* Rounded corners */
        outline: none;
        transition: background-color 0.3s; /* Smooth transition for hover effect */
        margin: 10px auto; /* Centers the button */
    }

    .back-button:hover, .back-button:focus {
        text-decoration: none;
        outline: none;
        background-color: #444; /* Slightly lighter on hover */
    }

    .back-button:hover {
        background-color: #444; /* Slightly lighter on hover */
    }

    .blog-post {
        position: relative; /* Allows the header to be positioned absolutely */
        background-color: #333; /* Change to match your desired background color */
        color: #333;
        border: 1px solid #ccc; /* Optional border */
        border-radius: 8px; /* Rounded corners */
        padding: 20px;
        width: 50%;
        margin: 20px auto; /* Center the post */
    }

    /* Header container styles */
    .header-container {
        background-color: #333; /* Change to match your desired background color */
        display: flex;
        height: 10%;
        gap: 30px;
        flex-direction: row;
        align-items: center;
        border-radius: 28px; /* Rounded corners */
        margin-bottom: 10px; /* Space between header and content */
        margin-top: -60px;
    }

    /* Thumbnail styles */
    .thumbnail {
        border-radius: 480px; /* Rounded corners for thumbnail */
        width: 20%;
        height: auto;
        object-fit: cover; /* Ensures the image covers the area nicely */
        margin: 10px;
    }

    /* Title and description styles */
    .header-text {
        width: 80%;
        flex-grow: 1; /* Take up remaining space */
    }

    .post-title {
        font-size: 42px;
        color: #ffffff; /* or any other color you prefer */
        font-weight: bold; /* Makes the text bold */
        margin: 0; /* Removes default margin */
    }

    .post-description {
        font-size: 32px; /* Smaller font for the description */
        color: #fff; /* Lighter color for the description */
        margin: 0;
    }

    .divider {
        border: none; /* Remove default border */
        height: 1px; /* Set the height of the line */
        background-color: #fff; /* Set the color of the line */
        margin: 0; /* Adjust margin as needed */
    }

    /* Content area styles */
    .post-content {
        background-color: #333;
        font-size: 20px; /* Readable font size for content */ 
        color: #fff;
        height: auto;
        display: block;
        border-top: 1px solid #fff; /* Adds a line above the content */ 
        margin-top: 10px; /* Adds some space between the post content and the header bar */
        margin: 0 auto; /* Centers the content */
        padding: 40px 100px
    }

    .post-content > * {
        padding-top: 5px; /* Adjust the value as needed */
        padding-bottom: 5px; /* Adjust the value as needed */
    }

    .post-content table {
        width: 40%;
        border-collapse: collapse;
    }
    .post-content th, .post-content td {
        border: 1px solid #fff; /* White borders for visibility */
        padding: 8px; /* Padding inside cells */
        text-align: left; /* Align text to the left */
    }
    .post-content th {
        background-color: #444; /* Slightly darker than post background */
    }

    .post-content pre, .post-content code {
        background-color: #404040; /* Darker background for code blocks */
        color: #f8f8f2; /* Light color for code */
        padding: 10px; /* Padding inside code blocks */
        display: block;
        overflow-x: auto; /* Allows horizontal scrolling for long lines */
    }
    .post-content code {
        white-space: pre-wrap; /* Ensures code wraps and respects whitespaces */
    }

    .post-content ul {
        list-style-type: disc; /* Default style for unordered lists */
        margin-left: 20px; /* Adds indentation to lists */
    }

    .post-content li {
        margin-bottom: 5px; /* Adds space between list items */
    }

    .post-content a {
        color: #007BFF;
        text-decoration: underline;
        font-weight: bold;
        target: _blank;
    }

}

/* Styles for moderate-large screens */
@media (max-width: 1440.02px) {
    .centered-content {
        display: flex;
        justify-content: center;
        margin: 30px;
        width: 100%;
    }

    /* Flex container to hold the two sections */
    .flex-container {
        display: flex;
        column-gap: 30px;
        width: 80%; /* Adjust width as needed */
        justify-content: center;
        flex-direction: row;
        vertical-align: top;
    }

    .top-bar {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        background-color: #333;
        color: #fff;
        width: 45%;
        border-radius: 8px; /* Rounded corners */
        box-shadow: 0 6px 8px rgba(0,0,0,0.1);
        padding: 20px;
        border: 1px solid #dbd8cd; /* Adjust the color and thickness as desired */
        border-radius: 8px; /* This rounds the corners. Adjust as desired. */
        box-sizing: border-box;
        box-shadow: 0 6px 8px rgba(0,0,0,0.1); /* Optional: Adds a subtle shadow for a lifted effect */
    }

    .sidebar-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%; /* Ensure the image container takes full width */
    }

    .sidebar-image img {
        border-radius: 50%;
        width: 100%;
        height: 100%;
        max-width: 350px;
        /* overflow: hidden; */
    }

    .top-bar-text {
        display: flex;
        text-align: left;
        justify-content: flex-start;
        font-size: 18px;
        padding: 10px;
        margin: 0;
    }

    .posts {
        display: flex; 
        flex-direction: column; /* Align content vertically */
        align-items: center; /* Align items to the center */
        width: 100%; /* Full width */
        gap: 30px;
    }

    .post-card {
        display: flex;
        flex-direction: row; /* Align content horizontally on desktop */
        align-items: center; /* Align items to the top */
        justify-content: center;
        width: 100%; /* Full width */
        height: 100%;
        padding: 15px;
        background-color: #333;
        color: #fff;
        border: 1px solid #dbd8cd; /* Adjust the color and thickness as desired */
        border-radius: 8px; /* This rounds the corners. Adjust as desired. */
        box-shadow: 0 6px 8px rgba(0,0,0,0.1); /* Optional: Adds a subtle shadow for a lifted effect */
    }

    .post-card a {
        display: block;
        background-color: #333;
        width: 100%;
        height: 100%;
        text-decoration: none; /* removes the underline from links */
        color: inherit; /* ensures the link inherits the color from its parent */
    }

    .post-card:hover {
        background-color: #555; /* change to your preferred color */
        cursor: pointer; /* indicates an actionable item */
    }

    /* Larger header size for title */
    .post-card h2 {
        font-size: 24px;
        color: #fff;
        font-weight: bold;
        margin-bottom: 0; /* Adjust so that only the next element (description) controls the spacing */
    }

    .post-card p { /* Assuming the description is wrapped in a <p> tag */
        margin-top: 20px;
        margin-bottom: 0; /* No bottom margin so only the footer controls the spacing */
    }

    .post-content-wrapper {
        display: flex;
        flex-direction: row; /* Align content horizontally on desktop */
        justify-content: center;
        width: 100%; /* Full width */
        padding: 5px;
    }

    .post-text-content {
        text-align: left; /* Align text to the left on desktop */
        width: 65%;
    }

    .post-image-container {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 40px;
        padding: 5px;
        width: 35%; /* Sets a fixed width for the image */
    }

    .post-image-container img {
        border-radius: 40px;
        max-width: 240px;
        width: 100%;
    }

    /* BLOG_DETAIL */
    /* General blog post container styles */
    .blog-post-wrapper {
        display: flex;
        justify-content: center;
        align-items: flex-start; /* Aligns to the top */
        width: 100%; /* Full width to center within */
        margin-top: 30px;
    }

    .back-button {
        position: relative;
        top: -85px;
        left: -10px;
        display: inline-block; /* Allows width and height to be set */
        padding: 5px 10px; /* Size of the button */
        background-color: #333; /* Button color */
        color: #fff; /* Text color */
        text-decoration: none; /* Remove underline from link */
        border-radius: 5px; /* Rounded corners */
        outline: none;
        transition: background-color 0.3s; /* Smooth transition for hover effect */
        margin: 10px auto; /* Centers the button */
    }

    .back-button:hover, .back-button:focus {
        text-decoration: none;
        outline: none;
        background-color: #444; /* Slightly lighter on hover */
    }

    .back-button:hover {
        background-color: #444; /* Slightly lighter on hover */
    }

    .blog-post {
        position: relative; /* Allows the header to be positioned absolutely */
        background-color: #333; /* Change to match your desired background color */
        color: #333;
        border: 1px solid #ccc; /* Optional border */
        border-radius: 8px; /* Rounded corners */
        padding: 20px;
        width: 60%;
        margin: 20px;
    }

    /* Header container styles */
    .header-container {
        background-color: #333; /* Change to match your desired background color */
        display: flex;
        align-items: center;
        border-radius: 28px; /* Rounded corners */
        margin-bottom: 10px; /* Space between header and content */
        margin-top: -60px;
    }

    /* Thumbnail styles */
    .thumbnail {
        border-radius: 480px; /* Rounded corners for thumbnail */
        width: 250px; /* Thumbnail width */
        height: 250px; /* Thumbnail height */
        object-fit: cover; /* Ensures the image covers the area nicely */
        margin-right: 20px; /* Space between thumbnail and text */
        margin: 10px;
    }

    /* Title and description styles */
    .header-text {
        flex-grow: 1; /* Take up remaining space */
    }

    .post-title {
        font-size: 36px;
        color: #ffffff; /* or any other color you prefer */
        font-weight: bold; /* Makes the text bold */
        margin: 0; /* Removes default margin */
    }

    .post-description {
        font-size: 20px; /* Smaller font for the description */
        color: #fff; /* Lighter color for the description */
        margin: 0;
    }

    .divider {
        border: none; /* Remove default border */
        height: 1px; /* Set the height of the line */
        background-color: #fff; /* Set the color of the line */
        margin: 0; /* Adjust margin as needed */
    }

    /* Content area styles */
    .post-content {
        background-color: #333;
        font-size: 18px; /* Readable font size for content */ 
        color: #fff;
        height: auto;
        display: block;
        border-top: 1px solid #fff; /* Adds a line above the content */ 
        margin-top: 10px; /* Adds some space between the post content and the header bar */
        margin: 0 auto; /* Centers the content */
        padding: 40px 100px
    }

    .post-content > * {
        padding-top: 5px; /* Adjust the value as needed */
        padding-bottom: 5px; /* Adjust the value as needed */
    }

    .post-content table {
        width: 40%;
        border-collapse: collapse;
    }
    .post-content th, .post-content td {
        border: 1px solid #fff; /* White borders for visibility */
        padding: 8px; /* Padding inside cells */
        text-align: left; /* Align text to the left */
    }
    .post-content th {
        background-color: #444; /* Slightly darker than post background */
    }

    .post-content pre, .post-content code {
        background-color: #404040; /* Darker background for code blocks */
        color: #f8f8f2; /* Light color for code */
        padding: 10px; /* Padding inside code blocks */
        display: block;
        overflow-x: auto; /* Allows horizontal scrolling for long lines */
    }
    .post-content code {
        white-space: pre-wrap; /* Ensures code wraps and respects whitespaces */
    }

    .post-content ul {
        list-style-type: disc; /* Default style for unordered lists */
        margin-left: 20px; /* Adds indentation to lists */
    }

    .post-content li {
        margin-bottom: 5px; /* Adds space between list items */
    }

    .post-content a {
        color: #007BFF;
        text-decoration: underline;
        font-weight: bold;
        target: _blank;
    }

}

/* Styles for tablet sized screens */
@media (max-width: 1023.98px) {
    .centered-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    /* Flex container to hold the two sections */
    .flex-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        width: 85%; /* Adjust width as needed */
        justify-content: center;
        vertical-align: top;
    }

    .top-bar {
        display: flex;
        background-color: #333;
        flex-direction: row;
        color: #fff;
        width: 100%;
        height: auto;
        align-items: center;
        justify-content: center;
        border: 1px solid #dbd8cd; /* Adjust the color and thickness as desired */
        border-radius: 8px; /* This rounds the corners. Adjust as desired. */
        padding: 18px; /* Provides some space between the border and the card content. Adjust as desired. */
        box-sizing: border-box;
        box-shadow: 0 6px 8px rgba(0,0,0,0.1); /* Optional: Adds a subtle shadow for a lifted effect */
        /* margin-bottom: 30px; Adds space below each card. Adjust as desired. */
    }

    .sidebar-image {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40%;
    }

    .sidebar-image img {
        display: flex; /* This makes the image center inside the container */
        align-items: center;
        justify-content: center;
        width: 100%;
        border-radius: 50%;
        overflow: hidden;
    }

    .top-bar-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;  /* Takes up the remaining space in the .post-card */
        padding-right: 20px;
        padding-left: 20px;
        vertical-align: center;
        width: 60%;
        font-size: 16px;
        /* height: 100%; Takes up the full height of the post card */
    }


    .sidebar h1, .sidebar h2, .sidebar p {
        text-align: left;
        width: 100%;
    }

    .posts a {
        display: block;
        width: 100%;
        height: 100%;
        text-decoration: none; /* removes the underline from links */
        color: inherit; /* ensures the link inherits the color from its parent */
    }

    .post-card:hover {
        background-color: #555; /* change to your preferred color */
        cursor: pointer; /* indicates an actionable item */
    }

    /* Larger header size for title */
    .post-card h2 {
        font-size: 28px;
        color: #fff;
        font-weight: bold;
        margin-bottom: 0; /* Adjust so that only the next element (description) controls the spacing */
    }

    .post-card p { /* Assuming the description is wrapped in a <p> tag */
        margin-top: 15px;
        font-size: 18px;
        margin-bottom: 0; /* No bottom margin so only the footer controls the spacing */
    }

    .posts {
        display: flex; 
        flex-direction: column; /* Align content vertically */
        align-items: center; /* Align items to the center */
        width: 100%; /* Full width */
        gap: 30px; /* Space between posts */
    }

    .post-card {
        display: flex;
        height: 100%;
        width: 100%;
        background-color: #333;
        color: #fff;
        border: 1px solid #dbd8cd; /* Adjust the color and thickness as desired */
        border-radius: 8px; /* This rounds the corners. Adjust as desired. */
    }

    .post-content-wrapper {
        display: flex;
        flex-direction: row; /* Align content horizontally on desktop */
        justify-content: center;
        width: 100%; /* Full width */
        padding: 5px;
    }

    .post-text-content {
        text-align: left;
        width: 60%;
    }

    .post-image-container {
        display: flex; /* This makes the image center inside the container */
        align-items: center;
        justify-content: center;
        padding: 10px;
        width: 40%;
    }

    .post-image-container img {
        border-radius: 40px;
        width: 100%;
        height: 100%;
    }

    /* BLOG_DETAIL */
    /* General blog post container styles */
    .blog-post-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .back-button {
        position: relative;
        top: -85px;
        left: -10px;
        display: inline-block; /* Allows width and height to be set */
        padding: 5px 10px; /* Size of the button */
        background-color: #333; /* Button color */
        color: #fff; /* Text color */
        text-decoration: none; /* Remove underline from link */
        border-radius: 5px; /* Rounded corners */
        outline: none;
        transition: background-color 0.3s; /* Smooth transition for hover effect */
        margin: 10px auto; /* Centers the button */
    }

    .back-button:hover, .back-button:focus {
        text-decoration: none;
        outline: none;
        background-color: #444; /* Slightly lighter on hover */
    }

    .back-button:hover {
        background-color: #444; /* Slightly lighter on hover */
    }

    .blog-post {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #333; /* Change to match your desired background color */
        color: #333;
        border: 1px solid #ccc; /* Optional border */
        border-radius: 8px; /* Rounded corners */
        width: 95%;
        padding: 20px;
        margin-top: 50px;
    }

    /* Header container styles */
    .header-container {
        flex-direction: column;
        background-color: #333; /* Change to match your desired background color */
        display: flex;
        align-items: center;
        border-radius: 28px; /* Rounded corners */
        margin-bottom: 10px; /* Space between header and content */
        margin-top: -60px;
    }

    /* Thumbnail styles */
    .thumbnail {
        border-radius: 480px; /* Rounded corners for thumbnail */
        width: 250px; /* Thumbnail width */
        height: 250px; /* Thumbnail height */
        object-fit: cover; /* Ensures the image covers the area nicely */
        margin-right: 20px; /* Space between thumbnail and text */
        margin: 10px;
    }

    /* Title and description styles */
    .header-text {
        flex-grow: 1; /* Take up remaining space */
    }

    .post-title {
        font-size: 48px;
        color: #ffffff; /* or any other color you prefer */
        font-weight: bold; /* Makes the text bold */
    }

    .post-description {
        font-size: 20px; /* Smaller font for the description */
        color: #fff; /* Lighter color for the description */
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .divider {
        border: none; /* Remove default border */
        height: 1px; /* Set the height of the line */
        background-color: #fff; /* Set the color of the line */
        margin: 0; /* Adjust margin as needed */
    }

    /* Content area styles */
    .post-content {
        background-color: #333;
        font-size: 16px; /* Readable font size for content */ 
        color: #fff;
        height: auto;
        display: block;
        border-top: 1px solid #fff; /* Adds a line above the content */ 
        margin-top: 10px; /* Adds some space between the post content and the header bar */
        margin: 0 auto; /* Centers the content */
        width: 100%;
        padding: 40px 0px
    }

    .post-content > * {
        padding-top: 5px; /* Adjust the value as needed */
        padding-bottom: 5px; /* Adjust the value as needed */
    }

    .post-content table {
        width: 40%;
        border-collapse: collapse;
    }
    .post-content th, .post-content td {
        border: 1px solid #fff; /* White borders for visibility */
        padding: 8px; /* Padding inside cells */
        text-align: left; /* Align text to the left */
    }
    .post-content th {
        background-color: #444; /* Slightly darker than post background */
    }

    .post-content pre, .post-content code {
        background-color: #404040; /* Darker background for code blocks */
        color: #f8f8f2; /* Light color for code */
        padding: 10px; /* Padding inside code blocks */
        display: block;
        overflow-x: auto; /* Allows horizontal scrolling for long lines */
    }
    .post-content code {
        white-space: pre-wrap; /* Ensures code wraps and respects whitespaces */
    }

    .post-content ul {
        list-style-type: disc; /* Default style for unordered lists */
        margin-left: 20px; /* Adds indentation to lists */
    }

    .post-content li {
        margin-bottom: 5px; /* Adds space between list items */
    }

    .post-content a {
        color: #007BFF;
        text-decoration: underline;
        font-weight: bold;
        target: _blank;
    }

}

/* Styles for smaller screens - mobile */
@media (max-width: 767.98px) {
    .centered-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 95%;
        max-width: 500px;
    }

    .top-bar {
        display: flex;
        background-color: #333;
        color: #fff;
        justify-content: space-between;
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
        border: 1px solid #dbd8cd; /* Adjust the color and thickness as desired */
        border-radius: 8px; /* This rounds the corners. Adjust as desired. */
        padding: 18px; /* Provides some space between the border and the card content. Adjust as desired. */
        box-sizing: border-box;
        box-shadow: 0 6px 8px rgba(0,0,0,0.1); /* Optional: Adds a subtle shadow for a lifted effect */
        /* margin-bottom: 30px; Adds space below each card. Adjust as desired. */
    }

    .sidebar-image {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 300px;
    }

    .sidebar-image img {
        display: flex; /* This makes the image center inside the container */
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        width: 100%;
        height: 100%;
        margin-top: 0px;
        margin-bottom: 0px;
        overflow: hidden;
    }

    /* Flex container to hold the two sections */
    .flex-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        column-gap: 30px;
        width: 100%; /* Adjust width as needed */
        justify-content: center;
        vertical-align: top;
    }

    .top-bar-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;  /* Takes up the remaining space in the .post-card */
        padding-right: 20px;
        padding-left: 20px;
        width: 100%;
        vertical-align: center;
        /* height: 100%; Takes up the full height of the post card */
    }


    .sidebar h1, .sidebar h2, .sidebar p {
        text-align: left;
        width: 100%;
    }

    .posts a {
        display: block;
        width: 100%;
        height: 100%;
        text-decoration: none; /* removes the underline from links */
        color: inherit; /* ensures the link inherits the color from its parent */
    }

    .post-card:hover {
        background-color: #555; /* change to your preferred color */
        cursor: pointer; /* indicates an actionable item */
    }

    /* Larger header size for title */
    .post-card h2 {
        font-size: 24px;
        color: #fff;
        font-weight: bold;
        margin-bottom: 0; /* Adjust so that only the next element (description) controls the spacing */
    }

    .post-card p { /* Assuming the description is wrapped in a <p> tag */
        margin-top: 15px;
        margin-bottom: 0; /* No bottom margin so only the footer controls the spacing */
    }

    .posts {
        display: flex; 
        flex-direction: column; /* Align content vertically */
        align-items: center; /* Align items to the center */
        gap: 30px;
        width: 100%; /* Full width */
    }

    .post-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        background-color: #333;
        color: #fff;
        border: 1px solid #dbd8cd; /* Adjust the color and thickness as desired */
        border-radius: 8px; /* This rounds the corners. Adjust as desired. */
        padding: 18px; /* Provides some space between the border and the card content. Adjust as desired. */
        box-shadow: 0 6px 8px rgba(0,0,0,0.1); /* Optional: Adds a subtle shadow for a lifted effect */
    }

    .post-content-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .post-text-content {
        display: flex;
        padding: 1px;
        margin-left: 0px;
        margin-right: 0px;
        width: 100%;
        flex-direction: column;
    }

    .post-image-container {
        display: flex; /* This makes the image center inside the container */
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 300px;
        height: 100%; /* Ensures it fills the full height of the post card */
        padding: 0;
        margin-top: 20px;
        overflow: hidden;
        border-radius: 8px;
    }





    /* BLOG_DETAIL */
    /* General blog post container styles */
    .blog-post-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .back-button {
        position: relative;
        top: -85px;
        left: -10px;
        display: inline-block; /* Allows width and height to be set */
        padding: 5px 10px; /* Size of the button */
        background-color: #333; /* Button color */
        color: #fff; /* Text color */
        text-decoration: none; /* Remove underline from link */
        border-radius: 5px; /* Rounded corners */
        outline: none;
        transition: background-color 0.3s; /* Smooth transition for hover effect */
        margin: 10px auto; /* Centers the button */
    }

    .back-button:hover, .back-button:focus {
        text-decoration: none;
        outline: none;
        background-color: #444; /* Slightly lighter on hover */
    }

    .back-button:hover {
        background-color: #444; /* Slightly lighter on hover */
    }

    .blog-post {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #333; /* Change to match your desired background color */
        color: #333;
        border: 1px solid #ccc; /* Optional border */
        border-radius: 8px; /* Rounded corners */
        width: 100%;
        padding: 20px;
        margin-top: 50px;
    }

    /* Header container styles */
    .header-container {
        flex-direction: column;
        background-color: #333; /* Change to match your desired background color */
        display: flex;
        align-items: center;
        border-radius: 28px; /* Rounded corners */
        margin-bottom: 10px; /* Space between header and content */
        margin-top: -60px;
    }

    /* Thumbnail styles */
    .thumbnail {
        border-radius: 480px; /* Rounded corners for thumbnail */
        width: 250px; /* Thumbnail width */
        height: 250px; /* Thumbnail height */
        object-fit: cover; /* Ensures the image covers the area nicely */
        margin-right: 20px; /* Space between thumbnail and text */
        margin: 10px;
    }

    /* Title and description styles */
    .header-text {
        flex-grow: 1; /* Take up remaining space */
    }

    .post-title {
        font-size: 48px;
        color: #ffffff; /* or any other color you prefer */
        font-weight: bold; /* Makes the text bold */
    }

    .post-description {
        font-size: 20px; /* Smaller font for the description */
        color: #fff; /* Lighter color for the description */
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .divider {
        border: none; /* Remove default border */
        height: 1px; /* Set the height of the line */
        background-color: #fff; /* Set the color of the line */
        margin: 0; /* Adjust margin as needed */
    }

    /* Content area styles */
    .post-content {
        background-color: #333;
        font-size: 16px; /* Readable font size for content */ 
        color: #fff;
        height: auto;
        display: block;
        border-top: 1px solid #fff; /* Adds a line above the content */ 
        margin-top: 10px; /* Adds some space between the post content and the header bar */
        margin: 0 auto; /* Centers the content */
        width: 100%;
        padding: 40px 0px
    }

    .post-content > * {
        padding-top: 5px; /* Adjust the value as needed */
        padding-bottom: 5px; /* Adjust the value as needed */
    }

    .post-content table {
        width: 40%;
        border-collapse: collapse;
    }
    .post-content th, .post-content td {
        border: 1px solid #fff; /* White borders for visibility */
        padding: 8px; /* Padding inside cells */
        text-align: left; /* Align text to the left */
    }
    .post-content th {
        background-color: #444; /* Slightly darker than post background */
    }

    .post-content pre, .post-content code {
        background-color: #404040; /* Darker background for code blocks */
        color: #f8f8f2; /* Light color for code */
        padding: 10px; /* Padding inside code blocks */
        display: block;
        overflow-x: auto; /* Allows horizontal scrolling for long lines */
    }
    .post-content code {
        white-space: pre-wrap; /* Ensures code wraps and respects whitespaces */
    }

    .post-content ul {
        list-style-type: disc; /* Default style for unordered lists */
        margin-left: 20px; /* Adds indentation to lists */
    }

    .post-content li {
        margin-bottom: 5px; /* Adds space between list items */
    }

    .post-content a {
        color: #007BFF;
        text-decoration: underline;
        font-weight: bold;
        target: _blank;
    }

}

/* Glow effect for block elements */
.white-glow {
    background: #333; /* White background */
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.8); /* Horizontal offset, vertical offset, blur radius, color */
}

/* Glow effect for text */
.text-glow {
    color: #fff; /* White text */
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.8); /* Horizontal offset, vertical offset, blur radius, color */
}

/* style header tags directly or something */
h1 {
    font-size: 2.5em; /* for example, 40px */
    color: #fff;
    margin-bottom: .5em;
}

h2 {
    font-size: 2em; /* for example, 36px */
    color: #fff;
    margin-bottom: .75em;
}

h3 {
    font-size: 1.75em; /* for example, 32px */
    color: #fff;
    margin-bottom: .75em;
}

h4 {
    font-size: 1.5em; /* for example, 28px */
    color: #fff;
    margin-bottom: .75em;
}

h5 {
    font-size: 1.25em; /* for example, 24px */
    color: #fff;
    margin-bottom: .75em;
}

h6 {
    font-size: 1em; /* same as the body font size, for example, 20px */
    color: #fff;
    margin-bottom: .75em;
}
