/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

body {
    line-height: 1.8;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

/* Header styles */
.featured-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.post-title {
    font-size: 2.2em;
    font-weight: bold;
    text-align: center;
    color: #222;
    margin-bottom: 15px;
}

.post-meta {
    color: #777;
    font-size: 0.9em;
    text-align: center;
    margin-bottom: 30px;
}

/* Content styles */
.content {
    margin-bottom: 40px;
    text-align: justify;
}

.large-heading {
    font-size: 1.8em;
    margin: 40px 0 20px;
    color: #444;
}

.small-heading {
    font-size: 1.5em;
    margin: 30px 0 15px;
    color: #555;
}

/* Blockquote styles */
blockquote {
    border-left: 5px solid #007BFF;
    background: #f0f8ff;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
    font-size: 1.1em;
    color: #004085;
    border-radius: 5px;
}

/* List styles */
ul {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    text-align: justify;
    font-size: 1.1em;
}

ul li:before {
    content: '\2022';
    position: absolute;
    left: 0;
    font-size: 1.4em;
    color: #007BFF;
}

/* Related articles section */
.related-articles {
    margin-top: 50px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.article-card {
    border: none;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.article-title {
    font-size: 1.1em;
    margin-top: 10px;
    text-align: center;
}

/* Post tags */
.post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.tag {
    display: inline-block;
    background: #007BFF;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    margin: 5px;
}

/* Button styles */
.btn-wrap {
    margin-top: 50px;
    text-align: center;
}

.btn-accent {
    background-color: #007BFF;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-accent:hover {
    background-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding: 30px 15px;
    }
    .post-title {
        font-size: 2em;
    }
    .small-heading {
        font-size: 1.3em;
    }
    .large-heading {
        font-size: 1.6em;
    }
}

@media (max-width: 500px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
    .btn-accent {
        width: 100%;
    }
}
