/*
Theme Name: Gems Economy
Theme URI: https://gemseconomy.com
Author: Masthead
Description: Gem vitrine
Version: 2.0.0
Text Domain: mast-gemseconomy
*/
body { margin: 0; background: #101614; color: #eef6f1; font-family: "Schibsted Grotesk", sans-serif; }
h1, .name { font-family: "Libre Caslon Text", Georgia, serif; }
a { color: #2fbf8a; text-decoration: none; }
.ge-mast { display: flex; align-items: center; height: 48px; flex-wrap: nowrap; overflow: hidden; gap: 12px; padding: 0 16px; }
.ge-mast .name { font-size: 22px; margin: 0; text-align: center; }
.ge-mast nav ul { display: flex; flex-direction: row; gap: 6px; list-style: none; padding: 0; margin: 0; }
.ge-front { padding: 8px 32px 64px; }
.ge-case .wp-block-post-template { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; list-style: none; padding: 0; }
.ge-case .story { border: 1px solid #24332c; padding: 8px; }
.ge-after .wp-block-post-template { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 12px; list-style: none; padding: 16px 0 0; }
.ge-foot { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 32px 40px; }
.ge-piece { max-width: 720px; margin: 0 auto; padding: 28px; }
img { width: 100%; height: auto; display: block; }

/* one-line mast */
.ge-mast { display: flex; align-items: center; height: 48px; flex-wrap: nowrap; overflow: hidden; gap: 12px; padding: 0 16px; }
.ge-mast .name { font-size: 22px; margin: 0; line-height: 1; }
.ge-mast div, .ge-mast aside, .ge-mast section, .ge-mast address, .ge-mast blockquote, .ge-mast figure, .ge-mast dl, .ge-mast details { display: flex; align-items: center; flex-wrap: nowrap; gap: 10px; }

/* dense columns */
.ge-front { display: grid; grid-template-columns: 252px 1fr 252px; align-items: start; gap: 16px; max-width: none; width: 100%; margin: 0; }
.ge-front-c .story { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; }
.ge-front-c img { width: 48px; height: 48px; object-fit: cover; }
@media (max-width: 800px) {
.ge-front { grid-template-columns: 1fr; }
}
