/*
Theme Name: Portal de São Jorge
Description: Tema personalizado para o Portal de São Jorge - Notícias do Corinthians
Author: Reconstruído do Wayback Machine
Version: 1.0
*/

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #222;
    background-color: #fff;
}

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

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
}

.inside-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    display: flex;
    align-items: center;
    flex: 1;
}

.site-logo {
    margin-right: 20px;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

.site-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.site-title a {
    color: #222;
    text-decoration: none;
}

.site-title a:hover {
    color: #0073aa;
}

.site-description {
    font-size: 13px;
    color: #767676;
    max-width: 600px;
}

/* Navigation */
.main-navigation {
    background: #222;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.inside-navigation {
    display: flex;
    align-items: center;
    min-height: 50px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    padding: 10px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.main-nav a:hover {
    background-color: #0073aa;
}

/* Content area */
.site-content {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 40px;
}

.content-area {
    flex: 2;
}

.widget-area {
    flex: 1;
    max-width: 350px;
}

/* Posts */
.post, article {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.post:last-child, article:last-child {
    border-bottom: none;
}

.entry-title {
    font-size: 24px;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

.entry-title a:hover {
    color: #0073aa;
}

.entry-meta {
    font-size: 13px;
    color: #767676;
    margin-bottom: 15px;
}

.entry-meta span {
    margin-right: 15px;
}

.entry-content {
    line-height: 1.6;
}

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

.more-link {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
}

.more-link:hover {
    text-decoration: underline;
}

/* Sidebar widgets */
.widget {
    margin-bottom: 40px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
}

.widget-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #222;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 5px;
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
}

.widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget a {
    color: #222;
    text-decoration: none;
    font-size: 14px;
}

.widget a:hover {
    color: #0073aa;
}

/* Search form */
.search-form {
    display: flex;
}

.search-field {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-right: none;
    font-size: 14px;
}

.search-submit {
    padding: 8px 15px;
    background: #0073aa;
    color: #fff;
    border: 1px solid #0073aa;
    cursor: pointer;
    font-size: 14px;
}

.search-submit:hover {
    background: #005a87;
}

/* Footer */
.site-footer {
    background: #222;
    color: #fff;
    padding: 20px 0;
    margin-top: 40px;
}

.site-info {
    text-align: center;
    font-size: 14px;
}

.site-info a {
    color: #0073aa;
    text-decoration: none;
}

.site-info a:hover {
    text-decoration: underline;
}

/* WordPress specific */
.wp-block-group {
    margin-bottom: 20px;
}

.wp-block-image {
    margin-bottom: 20px;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .site-branding {
        flex-direction: column;
        text-align: center;
    }
    
    .site-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .site-title {
        font-size: 24px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        width: 100%;
    }
    
    .main-nav.toggled {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav a {
        border-bottom: 1px solid #333;
    }
    
    .site-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .widget-area {
        max-width: none;
    }
    
    .entry-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .grid-container,
    .site-content {
        padding: 0 15px;
    }
    
    .site-title {
        font-size: 20px;
    }
    
    .site-description {
        font-size: 12px;
    }
    
    .entry-title {
        font-size: 18px;
    }
    
    .widget {
        padding: 15px;
    }
}

