:root {
    --bg-color: #ffffff;
    --text-color: #000000;
}

body.dark-mode {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

* {
    color: inherit;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid #222;
}

header h1 {
    color: var(--text-color);
    transition: color 0.3s ease;
    margin-bottom: 10px;
}


nav a {
    color: #888;
    text-decoration: none;
    margin-right: 20px;
    font-size: 1rem;
    transition: color 0.2s;
}

nav a:hover {
    color: #fff;
}

nav a.active {
    color: #fff;
}

.nav-link {
    color: var(--text-color);
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: #000000;
}

body.dark-mode .nav-link:hover {
    color: #ffffff;
}

.nav-link.active {
    color: var(--text-color);
    font-weight: bold;
}

.section {
    display: none;
}

.section.active {
    display: block;
    padding: 20px 0;
}

/* Artigos */
.article {
    margin-bottom: 20px;
    border-bottom: 1px solid #1a1a1a;
}

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

.article-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    cursor: pointer;
    transition: opacity 0.2s;
}

.article-header:hover {
    opacity: 0.7;
}

.arrow {
    color: #666;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.article.expanded .arrow {
    transform: rotate(90deg);
}

.article-date {
    color: #666;
    font-size: 0.85rem;
    margin-left: auto;
}

.article h2 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
    flex: 1;
}

.article-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.article.expanded .article-content {
    max-height: 2000px;
}

.article-content-inner {
    padding: 0 0 30px 26px;
}

.article p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.article a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #333;
    transition: border-color 0.2s;
}

.article a:hover {
    border-bottom-color: #fff;
}

/* Projetos */
.project {
    margin-bottom: 40px;
    padding: 20px;
    background: #111;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s;
}

.project:hover {
    background: #1a1a1a;
}

.project h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 10px;
}

.project p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: #1a1a1a;
    color: #888;
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 2px;
}

/* Modal do Projeto */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.project-modal.active {
    display: flex;
}

.project-modal-content {
    background: #0a0a0a;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    border: 1px solid #222;
}

.project-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #666;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.project-modal-close:hover {
    color: #fff;
}

.project-modal h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
}

.project-modal-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.project-modal-description {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.8;
}

.project-modal-description p {
    margin-bottom: 15px;
}

.project-modal-description h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 25px;
    margin-bottom: 10px;
}

.project-modal-description ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.project-modal-description li {
    margin-bottom: 8px;
    color: #aaa;
}

footer {
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid #222;
    text-align: center;
    color: #555;
    font-size: 0.85rem;
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.theme-toggle:hover {
    transform: scale(1.2);
}

.back-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #000000;
}

body.dark-mode .back-link:hover {
    color: #ffffff;
}

.thought {
    border-left: 3px solid var(--text-color);
    padding: 15px 0 15px 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.thought:hover {
    border-left-color: #000000;
    padding-left: 25px;
}

body.dark-mode .thought:hover {
    border-left-color: #ffffff;
}

.thought p {
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.thought-date {
    font-size: 12px;
    color: var(--text-color);
    opacity: 0.7;
}

/* Journal */
.journal-entry {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.journal-entry:last-child {
    border-bottom: none;
}

.journal-date {
    font-size: 12px;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 8px;
    font-weight: 500;
}

.journal-content {
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
}

.calendar-entry {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.calendar-entry:last-child {
    border-bottom: none;
}

.calendar-day {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    min-width: 80px;
    padding-top: 2px;
}

.calendar-content {
    flex: 1;
}

.calendar-highlight {
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
}

.calendar-month {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

.calendar-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.calendar-day-vertical {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 15px;
    transition: all 0.3s ease;
}

.calendar-day-vertical.has-entry {
    background-color: var(--section-bg);
    border-radius: 4px;
}


.calendar-day-left {
    min-width: 50px;
    flex-shrink: 0;
}

.calendar-day-number {
    font-weight: 600;
    font-size: 18px;
    color: var(--text-color);
}

.calendar-day-right {
    flex: 1;
}

.calendar-day-highlight {
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
    color: var(--text-color);
}

.month-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: center;
}

.month-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: none;
    color: var(--text-color);
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.month-btn:hover {
    border-color: var(--text-color);
}

.month-btn.active {
    background-color: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
}

.months-wrapper {
    position: relative;
}

.calendar-month-container {
    display: none;
}

.calendar-month-container.active {
    display: block;
}

.photos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
}

.photo-item figure {
    margin: 0;
    display: block;
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    object-fit: cover;
}

.photo-item figcaption {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-color);
    opacity: 0.85;
}

/* mensagem quando não há fotos */
.photos-empty {
    grid-column: 1 / -1;
    color: var(--text-color);
    opacity: 0.8;
    padding: 12px 0;
}

/* responsividade: 1 coluna em ecrãs pequenos */
@media (max-width: 640px) {
    .photos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.5rem;
    }
    
    nav a {
        display: inline-block;
        margin-bottom: 10px;
    }
}

/* Estilos para a secção de xadrez */
.chess-description {
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 15px;
}

.chess-stats-section {
    margin-bottom: 40px;
}

.chess-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.chess-stat-item {
    padding: 15px;
    background-color: var(--section-bg);
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
}

.chess-stat-item:hover {
    background-color: var(--border-color);
}

.stat-mode {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.7;
    margin-bottom: 8px;
}

.stat-rating {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.stat-record {
    font-size: 13px;
    opacity: 0.85;
}

.chess-games-section {
    margin-top: 40px;
}

.chess-games-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.chess-game-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background-color: var(--section-bg);
    border-radius: 6px;
    border-left: 4px solid var(--border-color);
    transition: all 0.3s ease;
}

.chess-game-item.result-win {
    border-left-color: #4caf50;
}

.chess-game-item.result-loss {
    border-left-color: #f44336;
}

.chess-game-item.result-draw {
    border-left-color: #ff9800;
}

.game-image {
    flex-shrink: 0;
}

.game-image img {
    width: 150px;
    height: 150px;
    border-radius: 4px;
}

.game-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-result-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--text-color);
    color: var(--bg-color);
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    width: fit-content;
}

.game-details {
    flex: 1;
}

.game-opponent {
    font-weight: 600;
    font-size: 14px;
}

.game-rating {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 4px;
}

.game-info {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 4px;
}

.game-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
}

.game-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.chess-positions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.chess-position-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: var(--section-bg);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.chess-position-item:hover {
    background-color: var(--border-color);
}

.position-image {
    flex-shrink: 0;
}

.position-image img {
    width: 200px;
    height: 200px;
    border-radius: 4px;
}

.position-content {
    flex: 1;
}

.position-content h3 {
    margin: 0 0 8px 0;
}

.position-meta {
    font-size: 12px;
    opacity: 0.75;
    margin-bottom: 12px;
}

.position-content p {
    margin: 12px 0;
    line-height: 1.5;
}

.position-moves {
    margin: 12px 0;
    padding: 10px;
    background-color: var(--bg-color);
    border-radius: 4px;
    font-size: 13px;
}

.position-fen {
    margin-top: 12px;
    padding: 8px;
    background-color: var(--bg-color);
    border-radius: 4px;
    word-break: break-all;
}

.chess-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.chess-nav-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    background: none;
    color: var(--text-color);
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.chess-nav-btn:hover {
    background-color: var(--section-bg);
    border-color: var(--text-color);
}

.chess-back-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: none;
    color: var(--text-color);
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.chess-back-btn:hover {
    background-color: var(--section-bg);
}

.chess-stats-summary {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--section-bg);
    border-radius: 6px;
}

.chess-analysis-list,
.chess-positions-list {
    margin-top: 20px;
}

.chess-analysis-item,
.chess-position-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.chess-analysis-item:last-child,
.chess-position-item:last-child {
    border-bottom: none;
}

.analysis-meta,
.position-meta {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 10px;
}

.position-moves,
.position-fen {
    margin-top: 10px;
    padding: 10px;
    background-color: var(--section-bg);
    border-radius: 4px;
    font-size: 13px;
}

.chess-milestones {
    margin-bottom: 40px;
}

.milestone-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.milestone-date {
    min-width: 100px;
    font-weight: 600;
    font-size: 13px;
}

.milestone-content {
    flex: 1;
}

.milestone-content p {
    margin: 5px 0 0 0;
    font-size: 13px;
    opacity: 0.85;
}

.chess-monthly-stats {
    margin-top: 30px;
}

.chess-stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 13px;
}

.chess-stats-table th,
.chess-stats-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.chess-stats-table th {
    font-weight: 600;
    background-color: var(--section-bg);
}

.chess-stats-table tr:hover {
    background-color: var(--section-bg);
}

.chess-profile-card {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background-color: var(--section-bg);
    border-radius: 6px;
    margin: 30px 0;
}

.chess-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.chess-profile-info {
    flex: 1;
}

.chess-profile-info h2 {
    margin: 0 0 10px 0;
}

.chess-profile-info p {
    margin: 5px 0;
    font-size: 14px;
}

.chess-rating-info {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}

.rating-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rating-label {
    font-size: 12px;
    opacity: 0.75;
    font-weight: 600;
}

.rating-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
}

.rating-best {
    font-size: 12px;
    opacity: 0.75;
    display: block;
    margin-top: 4px;
}

.chess-progress-chart {
    margin: 30px 0;
}

.chess-progress-chart h3 {
    margin-bottom: 15px;
}

.chess-mini-chart {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 120px;
    background-color: var(--section-bg);
    padding: 15px 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    position: relative;
}

.chart-bar {
    flex: 1;
    background-color: var(--text-color);
    border-radius: 2px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 5px;
}

.chart-bar:hover {
    opacity: 1;
    z-index: 10;
}

.bar-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 600;
}

.chart-bar:hover .bar-label {
    opacity: 1;
}

.chart-stats {
    display: flex;
    gap: 20px;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 30px;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-item span {
    font-size: 12px;
    opacity: 0.75;
}

.stat-item strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
}

/* Estilos para a secção de leitura */
.reading-section {
    margin-bottom: 40px;
}

.reading-section h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.book-card {
    background-color: var(--section-bg);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.book-cover {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-info {
    padding: 15px;
}

.book-info h3 {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

.book-author {
    margin: 0 0 10px 0;
    font-size: 12px;
    opacity: 0.75;
}

.book-rating {
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 2px;
}

.book-progress {
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.progress-fill {
    height: 100%;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 10px;
    opacity: 0.7;
}

.book-review {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.85;
}

/* Estilos minimalistas para os livros */
.books-grid-minimal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 25px;
}

.book-minimal {
    text-align: center;
}

.book-minimal img {
    width: 100%;
    max-width: 150px;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.book-minimal h3 {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.book-review-minimal {
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    opacity: 0.8;
}

/* Estilos para as citações */
.quotes-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.quote-item {
    padding: 20px;
    background-color: var(--section-bg);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.quote-item:hover {
    padding-left: 20px;
}

.quote-text {
    margin: 0 0 12px 0;
    font-size: 15px;
    line-height: 1.6;
    font-style: italic;
    color: var(--text-color);
}

.quote-author {
    margin: 0;
    font-size: 13px;
    opacity: 0.75;
    text-align: right;
}

/* Estilos para a timeline */
.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding: 40px 0;
}

.timeline-list::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--text-color);
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding: 30px 0;
    position: relative;
}

.timeline-marker {
    min-width: 25px;
    position: relative;
    z-index: 1;
}

.timeline-icon {
    width: 16px;
    height: 16px;
    background-color: var(--text-color);
    border-radius: 50%;
    position: relative;
    left: 0px;
    top: 2px;
}

.timeline-line {
    display: none;
}

.timeline-content {
    flex: 1;
    padding-top: 0;
}

.timeline-date {
    font-size: 12px;
    opacity: 0.65;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-color);
}

/* Estilos para ferramentas */
.tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background-color: var(--section-bg);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.tool-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.tool-name {
    color: var(--text-color);
}

/* Estilos para o arquivo */
.archive-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.archive-entry {
    display: flex;
    gap: 16px;
    padding: 16px;
    background-color: var(--section-bg);
    border-radius: 6px;
    border-left: 3px solid var(--border-color);
    transition: all 0.3s ease;
}

.archive-entry:hover {
    transform: translateX(4px);
}

.archive-article {
    border-left-color: #4caf50;
}

.archive-chess {
    border-left-color: #2196f3;
}

.archive-reading {
    border-left-color: #ff9800;
}

.archive-thought {
    border-left-color: #9c27b0;
}

.archive-project {
    border-left-color: #f44336;
}

.archive-quote {
    border-left-color: #00bcd4;
}

.archive-date {
    min-width: 120px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.archive-content {
    flex: 1;
}

.archive-type {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    opacity: 0.65;
    margin-bottom: 4px;
}

.archive-title {
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
}

.archive-description {
    margin: 0;
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.4;
}

/* Estilos para a documentação em cluster */
.cluster-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 20px;
}

.cluster-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.cluster-section:last-child {
    border-bottom: none;
}

.cluster-section h2 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.cluster-text {
    line-height: 1.7;
    font-size: 14px;
    opacity: 0.9;
}

.cluster-text p {
    margin: 0 0 12px 0;
}

.cluster-text p:last-child {
    margin-bottom: 0;
}

.cluster-text ul {
    margin: 12px 0;
    padding-left: 20px;
}

.cluster-text li {
    margin: 6px 0;
    line-height: 1.6;
}

.cluster-text strong {
    font-weight: 600;
}

.cluster-text code {
    background-color: var(--section-bg);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.cluster-photo {
    margin: 20px 0 30px 0;
    border-radius: 6px;
    overflow: hidden;
}

.cluster-photo figure {
    margin: 0;
}

.cluster-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.cluster-photo figcaption {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.75;
    text-align: center;
    font-style: italic;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.contact-section {
    line-height: 1.7;
    font-size: 14px;
    opacity: 0.9;
}

.contact-section p {
    margin: 0 0 12px 0;
}

.contact-section p:last-child {
    margin-bottom: 0;
}

.contact-section a {
    color: var(--text-color);
    text-decoration: underline;
    opacity: 0.85;
}

.contact-section a:hover {
    opacity: 1;
}

.contact-section h3 {
    margin: 20px 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.contact-section hr {
    margin: 25px 0;
    border: none;
    border-top: 1px solid var(--border-color);
}