main .metadata {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

main .tag {
    background-color: #85bcd7;
    padding: 0.5rem 1rem;
    border-radius: 34px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-color);
}

main .update {
    font-size: 0.8rem;
    color: #464646;
}

@media screen and (min-width: 768px) {
    main .tag {
        font-size: 1rem;
    }

    main .update {
        font-size: 1rem;
    }
}

main h1,
main h2 {
    margin-bottom: 1.25rem;
}

main .tldr {
    background-color: #f0f7fa;
    border-left: 4px solid #85bcd7;
    padding: 1rem 1.5rem;
    margin-bottom: 1.25rem;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

main .tldr::before {
    content: "TL;DR";
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #2c7ea1;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

@media screen and (min-width: 768px) {
    main .tldr::before {
        font-size: 1rem;
    }

    main .tldr {
        padding: 1.25rem 1.75rem;
    }
}

main p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

@media screen and (min-width: 768px) {
    main p {
        font-size: 1.2rem;
    }
}

main img {
    width: 100%;
    height: 100%;
    border-radius: 0.5rem 0.5rem 0 0;
    object-fit: cover;
}

main figure.image {
    margin: 1rem 0;
}

@media screen and (min-width: 768px) {
    main figure.image.right {
        float: right;
        margin: 1rem 0 1rem 1.0rem;
        width: 50%;
    }
    
    main figure.image.left {
        float: left;
        margin: 1rem 1.0rem 1rem 0;
        width: 50%;
    }
}

main .caption {
    display: flex;
    font-size: 0.9rem;
    color: #464646;
    background-color: #c0d2db;
    padding: 0.5rem;
    border-radius: 0 0 0.5rem 0.5rem;
    margin-top: -10px;
}

@media screen and (min-width: 768px) {
    main .caption {
        font-size: 1rem;
        padding: 1rem;
    }
}

/* Footer Styling */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}

footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer .footer-links {
    margin: 10px 0;
}

footer .footer-links a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

footer .footer-links a:hover {
    text-decoration: underline;
}

footer .copyright {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}