/* ===============================
Layout
=============================== */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.blog-body {
    margin: 0 50px;
}

@media (max-width: 600px) {
    .blog-body {
        margin: 0 10px;
    }
}

.footer_text {
    font-family:
        "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
        Arial, sans-serif;
    font-size: 24px;
}

footer {
    font-family:
        "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
        Arial, sans-serif;
    font-size: 16px;
    text-align: center;
    padding: 3px;
}

.heading {
    font-family:
        "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
        Arial, sans-serif;
    font-size: 34px;
    margin: 40px 10px 0 10px;
}

.sub-heading {
    font-family:
        "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
        Arial, sans-serif;
    font-size: 34px;
}

.header-image {
    height: 400px;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 20px 0px 30px 0px;
}

.top-link {
    font-family:
        "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
        Arial, sans-serif;
    font-size: 20px;
    margin: 10px 10px 0 10px;
    text-align: right;
}

.blog-list {
    font-family:
        "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
        Arial, sans-serif;
    font-size: 20px;
    margin: 10px 10px 0 10px;
    text-align: left;
}

/* For screens smaller than 600px */
@media screen and (max-width: 600px) {
    .header-image {
        height: 200px;
        margin: 10px 0px 15px 0px;
    }

    body {
        padding: 15px 10px;
    }
}

a {
    color: black;
}

p {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 10px;
}

h3 {
    font-family:
        "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
        Arial, sans-serif;
    text-transform: uppercase;
}

h3::first-letter {
    color: #21a047;
    font-size: 120%;
}

.image-container-blogs {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    align-items: center;
    justify-content: center;
}

.image-container-blogs img {
    max-width: 20px;
    height: auto;
    margin: 0 4px;
}
.image-container {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}
.image-container img {
    max-width: 60px;
    height: auto;
    margin: 0 10px;
}

/* ===============================
FORCE GitHub-Style Code Block
=============================== */

/* Override Prism completely */
pre[class*="language-"] {
    background: #f7f7f7 !important; /* GitHub dark */
    color: #0d1117 !important;
    border: 0.5px solid #30363d;
    border-radius: 8px;
    padding: 10px 12px !important;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Kill Prism background */
pre[class*="language-"] code {
    background: transparent !important;
    color: inherit !important;
    text-shadow: none !important;
}

/* Remove Prism weird spacing */
pre {
    -webkit-overflow-scrolling: touch;
}

/* ===============================
Copy Button
=============================== */
.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #21262d;
    border: 1px solid #30363d;
    color: #c9d1d9;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
    z-index: 10;
}

.copy-btn:hover {
    background: #30363d;
}

.copy-btn.copied {
    background: #238636;
    border-color: #238636;
    color: white;
}

/* ===============================
Inline Code
=============================== */

p code {
    background: #f6f8fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}
.code-wrapper {
    position: relative;
    margin: 30px 0;
}
