/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Roboto:wght@300;400;500&display=swap');

/* Typography & Font Style */
body {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    background-color: #f8f9fa; /* light grey background */
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: 'Lora', serif; /* Serif font for headings */
    font-weight: 700;
    color: #2c3e50; /* darker color for headings */
    margin-top: 30px;
    margin-bottom: 20px;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 22px;
}

/* Image Styling */
img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* subtle shadow */
    margin-bottom: 20px;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
}

/* Content Sectioning & Callouts */
blockquote {
    border-left: 4px solid #3498db; /* blue accent line */
    padding-left: 20px;
    margin-left: 0;
    color: #555;
    background-color: #ecf0f1; /* light background for quotes */
    font-style: italic;
}

.card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card h3 {
    margin-top: 0;
    color: #2980b9; /* blue accent for titles in cards */
}

/* Links & Buttons */
a {
    color: #2980b9; /* primary blue color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1abc9c; /* teal hover color */
    text-decoration: underline;
}

.button {
    display: inline-block;
    background-color: #2980b9;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #1abc9c; /* hover effect for buttons */
}

/* Subheadings with Accent Lines */
h2:before {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: #3498db; /* blue line above h2 */
    margin-bottom: 10px;
}

/* Spacing & Margins */
p {
    margin-bottom: 20px;
}

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

.section {
    margin-bottom: 40px;
}

.hero-image-wrapper {
    margin-bottom: 50px;
}

/* Footer & Author Section */
.footer {
    background-color: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 40px 0;
    margin-top: 50px;
}

.footer a {
    color: #ecf0f1;
    text-decoration: none;
}

.footer a:hover {
    color: #1abc9c;
}

/* Hover Effects */
img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.button:hover {
    background-color: #27ae60;
}

.post-item {
    border: 1px solid #ddd;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
    background-color: #fff;
}

.post-item:hover {
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.post-content {
    padding-left: 20px;
}

.post-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #0056b3;
}

.post-title a {
    text-decoration: none;
    color: inherit;
}

.post-title a:hover {
    text-decoration: underline;
}

.post-excerpt {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-primary {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #003d80;
    border-color: #003d80;
}

.container {
    margin-top: 50px;
}