/*
Theme Name: Felix Gonzalez-Torres Family Archive
Theme URI: https://example.com
Author: Mario Gonzalez
Description: Minimal left-aligned theme for the Felix Gonzalez-Torres Family Archive.
Version: 1.0
License: MIT
Text Domain: fgt-family-archive
*/

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    color: #333333;
    background-color: #ffffff;
    text-align: left;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

/* Layout */

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header,
.site-content,
.site-footer {
    padding: 20px;
}

.site-content {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
    border-top: 1px solid #e0e0e0;
}

/* Content width */

.site-inner {
    max-width: 760px;
}

/* Header */

.site-header-inner {
    max-width: 760px;
}

.logo a {
    display: inline-block;
}

.logo-line1,
.logo-line2 {
    display: block;
    font-weight: 700;
    line-height: 1.2;
}

.logo-line1 {
    font-size: 26px;
}

.logo-line2 {
    font-size: 26px;
}

/* Header navigation (News) */

.header-nav {
    margin-top: 24px;
}

.header-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-nav li {
    display: inline-block;
    font-weight: 500;
    font-size: 16px;
}

.header-nav a {
    position: relative;
    padding-right: 18px;
}

.header-nav a::after {
    content: "→";
    position: absolute;
    right: 0;
    top: 0;
}

/* Page content */

.page-title {
    display: none; /* hide WordPress page title on front-end to match mockup */
}

.entry-content {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.6;
}

.entry-content p {
    margin-bottom: 20px;
}

/* Footer */

.site-footer-inner {
    max-width: 760px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-menu {
    flex: 1;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 14px;
    font-weight: 500;
    font-size: 15px;
}

/* Language toggle can be styled specially if desired */
.footer-menu .language-toggle > a {
    font-weight: 700;
}

/* Small screens */

@media (max-width: 768px) {
    .site-header,
    .site-content,
    .site-footer {
        padding: 20px;
    }

    .site-footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 500px) {
    .site-footer-inner {
        flex-direction: column;
        gap: 20px;
    }
}
