/* Puto el que lee */

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

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #e8e8d8;
    color: #333;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 960px;
    margin: 0 auto;
    background-color: #f5f5dc;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

p a {
    color: #5a9ec4;
}

/* Header */
.site-header {
    background: linear-gradient(to bottom, #87ceeb, #b0d9f1);
    border-bottom: 3px solid #5a9ec4;
    padding: 20px;
    text-align: center;
}

.header-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #2c5f7f;
    margin-bottom: 1.5rem;
    font-family: Arial, sans-serif;
}

.site-title-container {
    margin: auto;
    max-width: 500px;
}

.site-title-image {
    width: 100%;
}

.site-subtitle-container {
    width: 40%;
    margin-left: auto;
    margin-right: 0;
    margin-top: -1em;
}

.site-subtitle-image {
    width: 100%;
}

.site-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #1a3a52;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
    font-family: 'Times New Roman', Times, serif;
    letter-spacing: 2px;
}

/* Navigation */
.main-nav {
    background-color: #5a9ec4;
    border-bottom: 2px solid #4a8eb4;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: bold;
    border-right: 1px solid #4a8eb4;
    transition: background-color 0.2s;
}

.main-nav li:last-child a {
    border-right: none;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: #4a8eb4;
}

/* Content Wrapper */
.content-wrapper {
    display: flex;
    gap: 20px;
    padding: 20px;
}

/* Main Column */
.main-column {
    flex: 2;
}

/* Articles */

.lead-story h2 {
    font-size: 2rem;
    color: #1a3a52;
    margin-bottom: 8px;
    line-height: 1.3;
}

.article-meta {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-bottom: 12px;
    font-family: Arial, sans-serif;
}

.lead-story img {
    border: 1px solid #ccc;
    width: 100%;
}

.image-center {
    margin: 15px 0;
}

@media (min-width: 500px) {
    .image-right {
        float: right;
        width: 50%;
        margin: 1em 0em 1em 1em;
    }
}

.image-foot {
    font-style: italic;
    margin-top: -.5em;
    text-align: right;
    margin-bottom: 0;
}

article p {
    margin-bottom: 12px;
    text-align: justify;
}

/* Base pull quote styling */
.pullquote {
    width: 80%;
    margin: 1em 10%;
    padding: 1em 1.3em;
    font-size: 1.3rem;
    line-height: 1.5;
    font-style: italic;
    position: relative;
    text-align: center;
}

/* Decorative quotation marks (optional enhanced style) */
.pullquote:before {
    content: '‘‘';
    font-size: 4rem;
    position: absolute;
    top: -.08em;
    left: .08em;
    color: #87ceeb;
    opacity: 0.6;
    font-family: Georgia, serif;
    line-height: 1;
}
.pullquote:after {
    content: '’’';
    font-size: 4rem;
    position: absolute;
    bottom: -.5em;
    right: .3em;
    color: #87ceeb;
    opacity: 0.6;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Sidebar */
.sidebar {
    flex: 1;
    min-width: 250px;
}

.sidebar-box {
    background-color: #fff;
    border: 2px solid #87ceeb;
    padding: 15px;
    margin-bottom: 20px;
}

.sidebar-box h4 {
    background-color: #87ceeb;
    color: #1a3a52;
    margin: -15px -15px 12px -15px;
    padding: 10px;
    font-size: 1.1rem;
    font-family: Arial, sans-serif;
    text-align: center;
}

.sidebar-box img {
    width: 100%;
}

/* Related Articles */

.related h4 a {
    text-decoration: none;
}

.related h4 a:hover {
    text-decoration: underline;
}

.related h4 a:visited {
    color: inherit;
}

/* Weather Box */
.weather-box {
    text-align: center;
}

.weather-today {
    margin-bottom: 15px;
}

.temp {
    font-size: 2.5rem;
    font-weight: bold;
    color: #5a9ec4;
    margin-bottom: 5px;
}

.weather-forecast {
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.8;
}

.weather-forecast p {
    margin-bottom: 5px;
}

/* News List */
.news-list {
    list-style: none;
}

.news-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #ccc;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list a {
    color: #5a9ec4;
    text-decoration: none;
    font-size: 0.9rem;
}

.news-list a:hover {
    text-decoration: underline;
}

/* Classifieds */
.classified-item {
    font-size: 0.85rem;
    padding: 8px;
    background-color: #fffef0;
    border-left: 2px solid #87ceeb;
    margin-bottom: 8px;
}

/* Footer */
.site-footer {
    background-color: #5a9ec4;
    color: #fff;
    padding: 25px 20px 10px;
    margin-top: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
    font-family: Arial, sans-serif;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-section a {
    color: #fff;
    text-decoration: underline;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #87ceeb;
    font-size: 0.85rem;
}

/* Responsive Design */

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .site-title {
        font-size: 2.5rem;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav a {
        border-right: none;
        border-bottom: 1px solid #4a8eb4;
    }

    .header-top {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .site-title-container {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
    }
}
