/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
    max-width: 1200px;
    margin: auto;
	padding-bottom: 50px; /* Adjust the value for more or less space */
}

header {
    padding: 20px;
    border-bottom: 2px solid #ccc;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

nav a {
    margin-right: 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

main {
    padding: 20px;
}

/* Post grid for homepage */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.post-card {
    border: 1px solid #ddd;
    padding: 15px;
    background: #fff;
}

.post-card img {
    max-width: 100%;
    height: auto;
	

}

/* Post page images */
article img {
    max-width: 700px;      /* maximum width of image */
    width: 100%;           /* scale down if smaller screen */
    height: auto;          /* keep proportions */
    display: block;        /* allows centering */
    margin: 30px auto;     /* centers the image horizontally and adds spacing above/below */
}

article p {
  margin-bottom: 20px; /* Adjusts space below every paragraph */
}

article img {
    width: 100%;
    max-width: 700px;
    display: block;
    margin: 40px auto;

    background: #fff;
    padding: 25px;
    border: 1px solid #ddd;
    box-shadow: 
        0 0 0 12px #f2f2f2,
        0 8px 20px rgba(0,0,0,0.2);
}

.about-intro,
.about-story,
.about-content,
.about-cta {
    max-width: 700px;
    margin: 40px auto;
}

.about-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-story h2,
.about-content h2 {
    margin-bottom: 15px;
}

.about-content ul {
    padding-left: 20px;
    line-height: 1.8;
}

.about-photo {
    max-width: 750px;
    margin: 40px auto;
}

.about-photo img {
    width: 100%;
    height: auto;
}

.subscribe-section {
    max-width: 500px;
    margin: 80px auto;
    text-align: center;
}

.subscribe-section input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.subscribe-section button {
    padding: 12px 20px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
}

.subscribe-section button:hover {
    background: #555;
}