/* /composer/ section: recreates the old adamhgrimescomposer.com (WordPress + OceanWP) look.
   Measurements taken from the archived site on 2026-11-10. */

.composer-site {
    margin: 0;
    background: #fff;
    color: #4a4a4a;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
.composer-site *, .composer-site *::before, .composer-site *::after { box-sizing: border-box; }
.composer-site img { max-width: 100%; height: auto; }

.cmp-container { width: 90%; max-width: 1300px; margin: 0 auto; }

/* Header */
.cmp-header { background: #fff; }
.cmp-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; flex-wrap: wrap; }
.cmp-logo { font-size: 24px; line-height: 1.8; color: #000; text-decoration: none; }
.cmp-nav { display: flex; flex-wrap: wrap; }
.cmp-nav a { padding: 0 12px; font-size: 13px; letter-spacing: 0.6px; line-height: 74px; color: #555; text-decoration: none; }
.cmp-nav a:last-child { padding-right: 0; }
.cmp-nav a:hover { color: #13aff0; }

.cmp-main { padding: 50px 0; min-height: 60vh; }

/* Home */
.cmp-home { display: flex; align-items: center; gap: 4%; }
.cmp-home-image { flex: none; width: 48%; display: block; }
.cmp-home-tagline { flex: 1; margin: 0; text-align: center; font-size: 20px; color: #333; }

/* Post column (posts and the writing list) */
.cmp-column > * { max-width: 72%; }
.cmp-feature { display: block; margin-bottom: 30px; }
.cmp-title { margin: 0 0 20px; font-size: 34px; font-weight: 600; line-height: 1.4; color: #333; }
.cmp-meta { display: flex; flex-wrap: wrap; margin: 0 0 30px; padding: 0 0 20px; list-style: none; border-bottom: 1px solid #f1f1f1; font-size: 14.5px; line-height: 1.3; }
.cmp-meta li + li::before { content: "-"; padding: 0 8px; }

/* Post and page content */
.cmp-content { font-size: 14px; line-height: 1.8; }
.cmp-content p { margin: 0 0 20px; }
.cmp-content h2 { font-size: 20px; font-weight: 600; line-height: 1.4; color: #333; margin: 30px 0 15px; }
.cmp-content h3 { font-size: 18px; font-weight: 600; line-height: 1.4; color: #333; margin: 30px 0 15px; }
.cmp-content a { color: #000; text-decoration: underline; }
.cmp-content figure { margin: 0 0 20px; }
.cmp-content .kg-audio-card { margin: 0 0 20px; }
.cmp-content ul, .cmp-content ol { margin: 0 0 20px; padding-left: 30px; }
.cmp-content blockquote { margin: 20px 0; padding-left: 20px; border-left: 3px solid #13aff0; font-style: italic; }

/* Writing list */
.cmp-entry { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid #f1f1f1; }
.cmp-entry-image { display: block; margin-bottom: 20px; }
.cmp-entry-image img { display: block; width: 100%; }
.cmp-entry-title { margin: 0 0 15px; font-size: 24px; font-weight: 600; line-height: 1.4; }
.cmp-entry-title a { color: #333; text-decoration: none; }
.cmp-entry .cmp-meta { border: 0; padding: 0; margin-bottom: 15px; font-size: 14px; }
.cmp-entry-excerpt { margin: 0 0 20px; }
.cmp-button { display: inline-block; padding: 6px 12px; border: 1px solid #e9e9e9; font-size: 11px; letter-spacing: 1px; color: #333; text-decoration: none; }
.cmp-button:hover { border-color: #13aff0; color: #13aff0; }

/* Related posts */
.cmp-related { margin-top: 30px; }
.cmp-related-heading { margin: 0 0 20px; padding-top: 30px; border-top: 1px solid #f1f1f1; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #333; }
.cmp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cmp-related-item { text-decoration: none; color: #333; font-size: 14px; font-weight: 600; }
.cmp-related-item img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 10px; }

/* Contact form (OceanWP-style fields) */
.cmp-form { display: grid; gap: 20px; }
.cmp-form label { display: grid; gap: 6px; color: #333; font-weight: 600; }
.cmp-form input, .cmp-form textarea { width: 100%; padding: 6px 12px; border: 1px solid #ddd; border-radius: 3px; font: 14px/1.8 "Open Sans", sans-serif; color: #333; font-weight: 400; }
.cmp-form input:focus, .cmp-form textarea:focus { border-color: #bbb; outline: none; }
.cmp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.cmp-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cmp-submit { padding: 14px 20px; border: 0; border-radius: 0; background: #13aff0; color: #fff; font: 600 12px/1 "Open Sans", sans-serif; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.cmp-submit:hover { background: #0b7cac; }
.cmp-submit:disabled { opacity: 0.6; cursor: default; }
.cmp-said { margin: 0; }

/* Footer */
.cmp-footer { background: #1b1b1b; color: #fff; font-size: 12px; padding: 15px 0; text-align: center; }

/* Phones */
@media (max-width: 768px) {
    .cmp-header-inner { flex-direction: column; align-items: flex-start; padding: 12px 0; }
    .cmp-nav a { line-height: 2.4; padding: 0 16px 0 0; }
    .cmp-main { padding: 30px 0; }
    .cmp-home { flex-direction: column; }
    .cmp-home-image { width: 100%; }
    .cmp-home-tagline { margin-top: 30px; }
    .cmp-column > * { max-width: 100%; }
    .cmp-title { font-size: 26px; }
    .cmp-related-grid { grid-template-columns: 1fr; }
}
