/*
Theme Name: Custom Theme
Theme URI: http://cardclipart.com/
Author: Custom Site
Author URI: http://cardclipart.com/
Description: A simple WordPress theme matching the main website design
Version: 1.0
License: GPL v2 or later
Text Domain: custom-theme
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", "Segoe UI", "Fira Sans", Roboto, Oxygen, Ubuntu, "Droid Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background: #ffffff;
}

/* Container and Layout */
.container {
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 420px) {
    .container {
        padding: 0 16px;
    }
}

/* Header Styles */
.site-header {
    background: linear-gradient(158.46deg, #60c546, #1bae52 76.54%, #0ca940);
    color: #fff;
    padding: 20px 0;
    margin-bottom: 40px;
}

.site-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 57px;
    color: #fff;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    margin: 0 0 16px;
    text-align: center;
}

.site-title a {
    color: #fff !important;
    text-decoration: none;
}

.site-title a:hover {
    color: #fff !important;
}

@media (max-width: 738px) {
    .site-title {
        font-size: 32px;
        line-height: 38px;
    }
}

/* Navigation */
.main-navigation {
    text-align: center;
    margin: 20px 0;
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-navigation li {
    margin: 0 20px;
}

.main-navigation a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.main-navigation a:hover {
    opacity: 0.8;
}

/* Content Area */
.site-content {
    background: #f6f6f6;
    padding: 40px 0;
    min-height: 400px;
}

.content-area {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.03);
}

/* Blog Posts */
.blog-posts {
    margin: 0 -16px;
}

.post {
    background: #fff;
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 24px -4px rgba(0,0,0,0.1);
}

.post-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 42px;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}

.post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #28b351;
}

.post-meta {
    color: #9b9b9b;
    font-size: 14px;
    margin-bottom: 20px;
}

.post-content {
    font-size: 16px;
    line-height: 24px;
    color: #333;
}

.post-content p {
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 24px;
    background: #28b351;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: #24a249;
    color: #fff !important;
}

/* Single Post */
.single-post .post {
    max-width: 940px;
    margin: 0 auto;
}

.single-post .post-title {
    font-size: 42px;
    line-height: 52px;
    margin-bottom: 24px;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
}

.pagination a {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 5px;
    background: #fff;
    color: #333 !important;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #d8d8d8;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #28b351;
    color: #fff !important;
    border-color: #28b351;
}

.pagination .current {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 5px;
    background: #28b351;
    color: #fff;
    border-radius: 6px;
    border: 1px solid #28b351;
}

/* Footer */
.site-footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-footer a:hover {
    opacity: 0.8;
}

/* Links */
a {
    color: #28b351;
    transition: color 0.3s ease;
}

a:hover {
    color: #24a249;
}

/* Lists */
ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 5px;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

.post-thumbnail {
    margin-bottom: 20px;
}

.post-thumbnail img {
    width: 100%;
    border-radius: 8px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

h1 { font-size: 42px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

/* Responsive */
@media (max-width: 768px) {
    .content-area {
        padding: 20px;
    }
    
    .post {
        padding: 20px;
    }
    
    .post-title {
        font-size: 24px;
        line-height: 32px;
    }
    
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}