/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f7f7f7;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: #c4170c;
    transition: color 0.2s;
}

a:hover {
    color: #8f120a;
}

/* Header */
header {
    background-color: #c4170c;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    width: 100%;
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-icon {
    color: white;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-buguer {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    position: relative;
}

.menu-buguer::before,
.menu-buguer::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: white;
    left: 0;
}

.menu-buguer::before {
    top: -6px;
}

.menu-buguer::after {
    top: 6px;
}

.g1-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-editoria--link {
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 0;
}

.header-editoria--link:hover {
    opacity: 0.8;
    color: white;
}

.search-section {
    color: white;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-icon {
    width: 18px;
    height: 18px;
    border: 2px solid white;
    border-radius: 50%;
    position: relative;
}

.search-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 2px;
    background: white;
    bottom: -2px;
    right: -4px;
    transform: rotate(45deg);
}

/* Article Container */
main {
    background-color: #fff;
    max-width: 1000px;
    margin: 20px auto;
    padding: 40px 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.article-header {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    /* Generally G1 titles are left aligned but sometimes centered on feature features, let's stick to standard left for news */
    text-align: left;
}

h1 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1a1a1a;
}

h2.subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.4;
}

.author-info {
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.author-name {
    font-weight: bold;
    color: #333;
}

.separator {
    border: 0;
    border-bottom: 1px solid #ddd;
    margin: 20px 0 40px 0;
}

/* Share Buttons Fake */
.share-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.fb {
    background-color: #3b5998;
}

.tw {
    background-color: #1da1f2;
}

.wa {
    background-color: #25d366;
}

/* Content */
.article-content {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.featured-image {
    margin-bottom: 40px;
    width: 100%;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

figcaption {
    font-size: 11px;
    color: #666;
    margin-top: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

p {
    margin-bottom: 24px;
}

.article-content h3 {
    /* Often used for "Como funciona?" */
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
}

ul.related-links {
    list-style: none;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 4px solid #c4170c;
    margin: 30px 0;
}

ul.related-links li {
    margin-bottom: 10px;
    font-weight: bold;
}

ul.related-links li:last-child {
    margin-bottom: 0;
}

ul.bullet-list {
    margin-left: 20px;
    margin-bottom: 24px;
}

ul.bullet-list li {
    margin-bottom: 10px;
}

/* Footer dummy */
footer {
    background-color: #c4170c;
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}