/*
Theme Name: Merlins Blog Theme
Author: You
Version: 1.0
*/

body {
    font-family: 'Poppins', sans-serif;
    background-color: #F7F5F2;
    color: #2E2E2E;
    margin: 0;
}

header {
    background: #fff;
    padding: 20px;
    text-align: center;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #2E2E2E;
    font-weight: bold;
}

.hero {
    background: #D6BFA7;
    padding: 60px;
    text-align: center;
}

.categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px;
}

.category-box {
    background: #A8B5A2;
    padding: 40px;
    text-align: center;
    color: white;
}

.content {
    display: flex;
    padding: 20px;
}

.main {
    width: 70%;
}

.sidebar {
    width: 30%;
    padding-left: 20px;
}

.post {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #fff;
    
h1 {
    text-align: center;
    margin-top: 40px;
    color: #333;
}
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
}

h1 {
    text-align: center;
    margin-top: 40px;
    color: black;
}

/* Remove ugly bullets */
ul {
    list-style: none;
    padding: 0;
}

/* Center menu */
nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Style menu links */
nav a {
    text-decoration: none;
    font-weight: bold;
    color: black;
}

/* Add spacing to sections */
section {
    padding: 40px;
    text-align: center;
}
/* Hero section */
main h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: #222;
}

/* Subtitle */
main p {
    text-align: center;
    color: #666;
    font-size: 18px;
}

/* Columns spacing */
.wp-block-columns {
    margin-top: 50px;
    gap: 20px;
}

/* Column cards */
.wp-block-column {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

/* Column headings */
.wp-block-column h2 {
    margin-bottom: 10px;
}

/* Blog posts */
article {
    margin-top: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}
.wp-block-column {
    background: #e9efe6;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
main {
    padding: 40px 20px;
}

.wp-block-columns {
    margin-top: 40px;
}
.wp-block-column img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}
.wp-block-column img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}
.wp-block-column {
    background: #f4f7f2;
    padding: 15px;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.wp-block-columns {
    margin-top: 30px;
    gap: 20px;
}
.wp-block-cover {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-block-cover h1 {
    color: white;
    font-size: 42px;
}

.wp-block-cover p {
    color: white;
}
.wp-block-column {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-column:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.wp-block-column img {
    height: 180px;
    object-fit: cover;
}
.wp-block-post {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
body {
    background: #f7f5f2;
}
main {
    max-width: 1100px;
    margin: 0 auto;
}
.wp-block-group,
.wp-block-columns,
.wp-block-query {
    margin-top: 50px;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

h1, h2, h3 {
    font-weight: 600;
}

p {
    line-height: 1.6;
}
.wp-block-post {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}

.wp-block-post:hover {
    transform: translateY(-4px);
}
.wp-block-cover {
    margin-bottom: 40px;
}
body {
    background: #f8f6f3;
}
.site-layout {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 40px auto;
}

.content-area {
    flex: 3;
}

.sidebar {
    flex: 1;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    height: fit-content;
}

.sidebar h3 {
    margin-bottom: 10px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin-bottom: 10px;
}

.sidebar a {
    text-decoration: none;
    color: #333;
}

.sidebar a:hover {
    color: #0073aa;
}
.sidebar {
    flex: 1;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    height: fit-content;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.sidebar h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.sidebar li {
    margin-bottom: 12px;
}

.sidebar a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.sidebar a:hover {
    color: #0073aa;
}
.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section p {
    font-size: 14px;
    color: #555;
}
.sidebar {
    position: sticky;
    top: 20px;
}
.sidebar input[type="search"] {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.sidebar input[type="submit"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #0073aa;
    color: white;
    cursor: pointer;
}

.sidebar input[type="submit"]:hover {
    background: #005f8d;
}