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

/* General Styling */
body {
    font-family: 'Lora', serif;
    color: #333;
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.8;
}

/* Custom container max-width for all screen sizes */
.container {
    max-width: 800px; /* Adjust this value to your preference */
}

/* Optional: Adjust the container width for larger screen sizes if needed */
@media (min-width: 768px) {
    .container {
        max-width: 700px; /* Medium screens */
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 850px; /* Large screens */
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1000px; /* Extra large screens */
    }
}


/* Header Section Styling */
.bg-header {
    background: #ffffff;
    color: #000 !important;
    padding: 50px 0;
    text-align: center;
}

.bg-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
}

.bg-header p {
    font-size: 20px;
    margin-top: 10px;
}

/* Navbar Styling */
.navbar {
    background-color: #ffffff;
    box-shadow: none;
}

.navbar .nav-link {
    color: #969191;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
}

.navbar .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: white;
}

.navbar .nav-link:hover {
    color: #dab5b5;
}

/* Blog Section Styling */
#blog {
    padding-top: 50px;
}

.article-preview {
    background-color: #ffffff;
    padding: 40px;
    margin-bottom: 30px;
    border-left: 4px solid #000;
    transition: background-color 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
}

.article-preview:hover {
    background-color: #f0f0f0;
}

.article-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.article-description {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
}

.read-more {
    font-size: 18px;
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}

.read-more:hover {
    color: #333;
}

/* Footer Styling */
footer {
    background-color: #f7f7f7;
    padding: 20px 0;
    text-align: center;
    font-size: 16px;
    color: #333;
}

footer p {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* About Section Styling */
#about p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.6;
    color: #444;
}

/* Blog Post Page Styling */
.blog-post {
    background-color: #ffffff;
    padding: 60px 0;
}

.post-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.post-meta {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.post-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.post-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #000;
}

.post-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

/* Blockquote Styling */
.post-content blockquote {
    font-size: 20px;
    font-style: italic;
    color: #555;
    margin: 30px 0;
    padding-left: 20px;
    border-left: 4px solid #000;
}

/* Table Styling */
.post-content table {
    margin-top: 30px;
    width: 100%;
    font-size: 18px;
}

.post-content table th,
.post-content table td {
    padding: 10px;
    text-align: left;
}

.post-content table th {
    background-color: #f5f5f5;
    font-weight: 700;
}

/* List Styling */
.post-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.post-content ul li {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.6;
}


/* Footer Styling */
footer {
    background-color: #f7f7f7;
    padding: 20px 0;
    text-align: center;
    font-size: 16px;
    color: #333;
}

footer p {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}


/* Styling for images in blog posts */
.post-content img {
    display: block;
    margin: 20px auto; /* Centers the image */
    max-width: 100%; /* Ensure the image doesn't overflow */
    height: auto;
    padding: 10px 0; /* Padding to create space between image and text */
}

/* Styling for image captions */
.post-content figure {
    text-align: center; /* Center the image and caption */
    margin: 0;
    padding: 20px 0; /* Padding around the figure */
}

.post-content figcaption {
    font-size: 14px;
    color: #777; /* Light color for caption */
    font-style: italic; /* Italic style for the caption */
    margin-top: 10px;
}

/* Further padding for inline images that aren't inside a figure */
.post-content img:not(figure img) {
    padding-bottom: 20px;
}

/* Optional: To control the maximum width of images in large screens */
@media (min-width: 768px) {
    .post-content img {
        max-width: 80%; /* Limits image width to 80% of container */
    }
}


/* Remove underline from links inside the card */
.card a {
    text-decoration: none;
    color: inherit; /* Ensure that the text color doesn't change */
}

/* On hover, still no underline but change background or border to indicate interactivity */
.card:hover {
    background-color: #f9f9f9; /* Optional hover effect to highlight the card */
    cursor: pointer;
}

/* Optional: Ensure link does not underline on hover */
.card a:hover {
    text-decoration: none;
}