/* Reset some default styles */
body, h1, h2, p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #eaf2f8; /* Light blue background */
    color: #333;
    line-height: 1.6;
    font-size: 17px;
}

h3.contact {
    display: inline;
    position: relative;
    font-weight: normal;
    right: 38%;
    top: 17%;
}

div.post-view {
    display: flex;
    justify-content: space-evenly;
    padding-top: 2%;
}

span a.goback, span a.see-more {
    text-decoration: none;
    color: #007bff;
    float: left;
    margin-left: 4%;
    transition: 0.5s;
    font-size: 17px;
    font-weight: bold;
}

a.goback {
    font-size: 15px !important;
    left: 5% !important;
    padding-left: 4px;
}

span.goback {
    position: absolute;
    float: right;
    right: 16%;
    top: 12%;
    background: #007bff;
    width: 4rem;
    border-radius: 15px;
    transition: 0.5s;
}

span a.goback {
    text-decoration: none;
    color: #ffffff;
    float: left;
    margin-left: 4%;
    transition: 0.5s;
    font-size: 17px;
    font-weight: bold;
    position: relative;
    left: 7%;
}

span.goback:hover {
    background-color: #3678be;
}

span a.see-more:hover {
    color: orangered;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2rem;
    color: #007bff; /* Blue color */
}

.post {
    background: #fff; /* White background for post */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: right;
}

.post-header {
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.post-header h2 {
    font-size: 1.8rem;
    color: #007bff; /* Blue color */
    margin-bottom: 10px;
}

.post-header .badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: 0.9rem;
    color: #fff;
    background-color: #007bff; /* Blue color */
    border-radius: 4px;
}

.post-view {
    font-size: 18px;
}


.post-body {
    padding: 20px;
    font-size: 20px;
}

.post-body p {
    margin-bottom: 10px;
}

.post-body span {
    font-weight: bold;
    color: #007bff; /* Blue color */
}

.post-images {
    padding: 20px;
}

.image-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.image-gallery img {
    width: calc(33.333% - 10px);
    height: 250px;
    border-radius: 8px;
}

.video {
    text-align: center;
}

video {
    width: 100%;
    border-radius: 8px;
    height:auto;
    max-height:600px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .post-header h2 {
        font-size: 1.5rem;
    }

    .post-body {
        font-size: 18px;
    }

    .post-body span {
        font-size: 16px;
    }

    .post-images {
        padding: 10px;
    }

    .image-gallery img {
        width: calc(50% - 10px);
    }

    span.goback {
        right: 10%;
        top: 10%;
    }

    span a.goback {
        font-size: 14px;
        left: 5%;
    }
}

@media (max-width: 480px) {
    p.post_view_paragraph{
        direction: rtl !important;
    }
    
}
@media (max-width: 480px) {

    
    body {
        font-size: 14px;
    }

    header h1 {
        font-size: 1.2rem;
    }
    
    h3.contact {
        right: 28%;
        top: 4%;
    }

    .post-header h2 {
        font-size: 1.2rem;
    }

    .post-body {
        font-size: 16px;
    }

    .post-body span {
        font-size: 14px;
        display: inline-block;
    }

    .image-gallery img {
        width: calc(100% - 10px);
    }

    span.goback {
        right: 5%;
        top: 5%;
        width: 3rem;
    }

    span a.goback {
        font-size: 12px !important;
        margin-left: 1%;
        margin-bottom: 4%;
    }
  span a.see-more{  
  font-size: 13px;
  margin-top: 1%;
}
}
