/*
Theme Name: Custom Theme
Theme URI: http://artcircles.org
Description: Custom theme matching the original ART Circles design
Author: Custom
Version: 1.0
*/

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

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-image: url("/wp-content/uploads/2018/12/white.png");
    background-position: left top;
    background-size: auto;
    background-repeat: repeat;
    background-attachment: scroll;
}

a:link, a:visited {
    color: #303030;
    text-decoration: none;
}

a:hover, a:visited:hover {
    color: #303030;
    text-decoration: underline;
}

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

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

/* Site Header */
.site-header {
    padding: 30px 0;
    background: #fff;
}

.site-branding {
    text-align: center;
}

.site-logo img {
    max-width: 250px;
}

/* Navigation */
.main-navigation {
    background: #fff;
    border-bottom: 5px solid #303030;
    margin-bottom: 30px;
}

.menu-wrapper {
    border-bottom: 5px solid #303030;
}

.menu-primary-items {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0;
}

.menu-primary-items li {
    margin: 0;
}

.menu-primary-items a {
    display: block;
    padding: 15px 30px;
    color: #333;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    transition: all 0.3s;
}

.menu-primary-items a:hover,
.menu-primary-items li.current-menu-item a {
    background-color: #303030;
    color: #fff;
    text-decoration: none;
}

/* Featured Text */
.featured-text {
    text-align: center;
    font-size: 20px;
    margin: 30px 0;
    padding: 20px;
    font-family: 'Raleway', sans-serif;
}

/* Content Layout */
.site-content {
    padding: 30px 0;
}

.site-content .container {
    display: flex;
    gap: 40px;
}

.content-area {
    flex: 2;
}

.widget-area {
    flex: 1;
}

/* Blog Posts */
article.post {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.entry-title a {
    color: #303030;
    text-decoration: none;
}

.entry-title a:hover {
    color: #303030;
    text-decoration: underline;
}

.img-link {
    display: block;
    margin-bottom: 15px;
    text-decoration: none;
}

.img-link img {
    display: block;
    width: 100%;
    height: auto;
}

.img-link:hover .entry-title {
    color: #303030;
    text-decoration: underline;
}

.entry-date {
    display: block;
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.entry-byline {
    font-size: 14px;
    color: #303030;
    margin-bottom: 15px;
}

.entry-byline a {
    color: #303030;
}

.entry-byline .sep {
    margin: 0 5px;
}

.entry-summary p {
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Single Post */
.single .entry-content {
    margin-top: 20px;
    line-height: 1.8;
}

.single .entry-content p {
    margin-bottom: 20px;
}

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

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.page-numbers.current,
.page-numbers:hover {
    background-color: #303030;
    color: #fff;
    border-color: #303030;
    text-decoration: none;
}

/* Sidebar Widgets */
.widget {
    margin-bottom: 40px;
}

.widget-title {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #303030;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget a {
    color: #333;
    text-decoration: none;
}

.widget a:hover {
    color: #303030;
    text-decoration: underline;
}

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

.site-footer .site-logo img {
    max-width: 200px;
    margin-bottom: 20px;
}

.site-info {
    font-size: 14px;
    color: #666;
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .site-content .container {
        flex-direction: column;
    }

    .menu-primary-items {
        flex-direction: column;
    }

    .content-area,
    .widget-area {
        flex: 1;
    }
}

/* Screen Reader Text */
.screen-reader-text {
    position: absolute;
    left: -9999px;
}
