*{
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;

    color: #222;
}

.single-container {
    max-width: 1200px;
    margin: 40px auto;
    margin-top: 0;
    padding: 0 16px;
    padding-top: 124px;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.post-visual{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.post-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #111;
    text-align: center;
}

.post-tags {
    padding: 16px 16px 0;
    position: absolute;
    width: 100%;

    top: 0;
    left: 0;
}

.tag {
    background-color: #f0f0f0;
    border-left: 8px solid #0B163F;
    font-size: 0.75rem;
    padding: 4px 8px;
    margin-right: 6px;
    cursor: pointer;
    display: inline-block;
    text-transform: uppercase;
}


.featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    
}

.meta-bar {
    background: #0B163F;
    width: 100%;
    margin-top: 0;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    
}

.post-content {
    padding: 20px;
}

.post-content h2 {
    font-size: 1.4rem;
    margin-top: 1.5em;
    color: #111;
}

.post-content p {
    margin: 1em 0;
    color: #444;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    border-top: 1px solid #ddd;
}

.back-btn {
    display: inline-block;
    background: #0c1555;
    color: #fff;
    padding: 10px 16px;

    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    transition: all .3s ease;
}

.back-btn:hover {
    background: #0B163F;
    color: #fff;
    gap: 10px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;

}

.share-buttons button {
    background: #eee;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    padding-left: 50px;
    color: black;
}

.share-buttons button span.image{
    background-color: #0B163F;
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-buttons button:hover {
    background: #ccc;
}

@media (max-width: 768px) {
    .meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 428px) {
    .post-title {
        font-size: 1.8rem;
    }

    .post-content h2 {
        font-size: 1.2rem;
    }

    .meta-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 6px;
        padding: 10px 12px;
    }

    .post-tags{
        padding: 12px 12px 0;
    }

    .post-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px;
        flex-wrap: nowrap;
    }

    .post-content {
        padding: 12px;
      }

      .back-btn{
        padding: 8px;
      }

      .share-buttons{
        margin: 0;
        height: 40px;
      }

      .share-buttons button{
        padding: 0;
        width: 36px;
      }

        .share-buttons button span.text{
            display: none;
        }
        .share-buttons button span.image{
            height: 40px;
        }
}