/*
 Theme Name:   Understrap Child - Wayne Intelligence
 Theme URI:    https://hudsoncw.com
 Description:  Custom child theme for Understrap. Dark, minimal, text-first.
 Author:       Hudson Luthringshausen
 Author URI:   https://hudsoncw.com
 Template:     understrap
 Version:      1.0.1
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
*/

/* ==========================================================================
   Font faces
   ========================================================================== */

@font-face {
    font-family: 'MDIO';
    src: url('https://hudsoncw.com/wp-content/uploads/2026/03/MDIO-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MDIO';
    src: url('https://hudsoncw.com/wp-content/uploads/2026/03/MDIO-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'MDIO';
    src: url('https://hudsoncw.com/wp-content/uploads/2026/03/MDIO-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MDIO';
    src: url('https://hudsoncw.com/wp-content/uploads/2026/03/MDIO-SemiboldItalic.woff2') format('woff2');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* ==========================================================================
   Global font + italic/bold mapping
   ========================================================================== */

* {
    font-family: 'MDIO', sans-serif !important;
}

body {
    background-color: #100f1c;
    color: #e0e0e0;
    font-weight: 400;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600 !important;
}

i, em {
    font-style: italic;
}

b, strong {
    font-weight: 600;
}

a {
    color: #c0c0c0;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #ffffff;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   Header / Banner
   ========================================================================== */

#wrapper-navbar {
    background-color: #100f1c !important;
    border: none;
    box-shadow: none;
}

.navbar {
    background-color: #100f1c !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.site-banner {
    text-align: center;
    padding: 4rem 0 2rem;
    border-bottom: none;
    margin-bottom: 2rem;
}

.site-banner h1 {
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
}

.site-banner h1 a {
    color: #ffffff;
}

.site-banner h1 a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Navigation menu
   ========================================================================== */

.site-nav {
    margin-top: 1.5rem;
}

.site-nav .nav-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4em 2.5em;
    text-align: center;
    max-width: 600px;
}

.site-nav .nav-list li.menu-item {
    flex: 0 0 calc((100% - 5em) / 3);
    text-align: center;
}

.site-nav .nav-list li a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    transition: color 0.2s ease;
}

.site-nav .nav-list li a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Content area
   ========================================================================== */

#content {
    background-color: #100f1c;
}

.site-main {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Post list (index, archive, search)
   ========================================================================== */

.post-list-item {
    padding: 1.5rem 0;
    border-bottom: none;
}

.post-list-item .entry-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
}

.post-list-item .entry-title a {
    color: #e0e0e0;
}

.post-list-item .entry-title a:hover {
    color: #ffffff;
}

.post-list-item .entry-meta {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Single post / page content
   ========================================================================== */

.single-content .entry-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: none;
}

/* Center the page title on static pages */
.single-content .entry-header,
.page .entry-header {
    text-align: center !important;
}

.single-content .entry-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.single-content .entry-meta {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.single-content .entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.single-content .entry-content p {
    margin-bottom: 1.5rem;
}

.single-content .entry-content h2,
.single-content .entry-content h3,
.single-content .entry-content h4 {
    color: #ffffff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.single-content .entry-content blockquote {
    border-left: 3px solid #444;
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: #999;
    font-style: italic;
}

.single-content .entry-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
}

.single-content .entry-content code {
    background-color: #2a2a2a;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
}

.single-content .entry-content pre {
    background-color: #2a2a2a;
    padding: 1.5rem;
    overflow-x: auto;
    border-radius: 4px;
    margin: 2rem 0;
}

/* ==========================================================================
   Archive header
   ========================================================================== */

.archive-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: none;
}

.archive-header h1 {
    font-size: 1.6rem;
    color: #ffffff;
    margin: 0;
}

/* ==========================================================================
   Search
   ========================================================================== */

.search-form {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
}

.search-form .search-field {
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: #e0e0e0;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    flex: 1;
}

.search-form .search-field:focus {
    outline: none;
    border-color: #666;
}

.search-form .search-submit {
    background-color: #333;
    border: 1px solid #444;
    color: #e0e0e0;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.search-form .search-submit:hover {
    background-color: #444;
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #2a2a2a;
}

.comments-area .comments-title {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.comments-area .comment-list {
    list-style: none;
    padding: 0;
}

.comments-area .comment-body {
    padding: 1rem 0;
    border-bottom: 1px solid #2a2a2a;
}

.comments-area .comment-author {
    font-weight: 600;
    color: #ffffff;
}

.comments-area .comment-content {
    color: #d0d0d0;
    margin-top: 0.5rem;
}

.comment-respond .comment-reply-title {
    font-size: 1.2rem;
    color: #ffffff;
}

.comment-respond textarea,
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"] {
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: #e0e0e0;
    padding: 0.6rem 1rem;
    width: 100%;
    margin-bottom: 1rem;
}

.comment-respond .submit {
    background-color: #333;
    border: 1px solid #444;
    color: #e0e0e0;
    padding: 0.6rem 1.5rem;
    cursor: pointer;
}

/* Comments dropdown */
details.comments-toggle {
    margin-top: 2rem;
}

details.comments-toggle summary {
    color: #666;
    font-size: 0.85rem;
    cursor: pointer;
    list-style: none;
    list-style-type: none;
    transition: color 0.2s ease;
}

details.comments-toggle summary::-webkit-details-marker {
    display: none;
}

details.comments-toggle summary::marker {
    content: '';
}

details.comments-toggle summary::before {
    content: '+ ';
    color: #666;
}

details.comments-toggle[open] > summary::before {
    content: '– ';
}

details.comments-toggle summary:hover {
    color: #ffffff;
}

/* ==========================================================================
   404
   ========================================================================== */

.error-404 {
    text-align: center;
    padding: 4rem 0;
}

.error-404 h1 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.error-404 p {
    color: #888;
}

/* ==========================================================================
   Navigation (post nav, pagination)
   ========================================================================== */

.post-navigation,
.posts-navigation {
    padding: 2rem 0;
    border-top: 1px solid #2a2a2a;
    margin-top: 2rem;
}

.post-navigation a,
.posts-navigation a {
    color: #c0c0c0;
}

.post-navigation a:hover,
.posts-navigation a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Blank template (for React apps, etc.)
   ========================================================================== */

body.page-template-blank {
    background-color: #100f1c;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: #100f1c;
    border-top: none;
    padding: 2rem 0;
    text-align: center;
    color: #555;
    font-size: 0.8rem;
    margin-top: 3rem;
}

/* ==========================================================================
   Kill sidebar and Bootstrap chrome
   ========================================================================== */

#right-sidebar,
#left-sidebar,
.sidebar {
    display: none !important;
}

.navbar-toggler,
.navbar-brand,
.navbar-nav {
    display: none !important;
}

.container, .container-fluid {
    max-width: 100%;
    padding: 0;
}

/* ==========================================================================
   WordPress admin bar
   ========================================================================== */

#wpadminbar {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

#wpadminbar:hover {
    opacity: 1;
}

/* ==========================================================================
   CV / Gallery dropdown panels
   ========================================================================== */

.gal-panel,
.cv-panel {
    padding-left: 2rem !important;
    margin-left: 1rem !important;
}

.single-content .entry-content details .cv-panel {
    padding-left: 2rem !important;
    margin-left: 1rem;
}

/* Hide page title on homepage */
.home .entry-header {
    display: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .site-banner h1 {
        font-size: 2.5rem;
        letter-spacing: 0.15em;
    }

    .single-content .entry-title {
        font-size: 1.6rem;
    }

    .site-main {
        padding: 0 1rem;
    }
}
.page-id-223 #wrapper-navbar {
    display: none !important;
}

/* Hide page title and footer on mystery room */
.page-id-223 .entry-header,
.page-id-223 #page-title-header,
.page-id-223 .page-header,
.page-id-223 #wrapper-footer,
.page-id-223 footer {
    display: none !important;
}

/* ==========================================================================
   Full-bleed canvas pages — font & layout exclusions
   (Time, Magic, EAT, EUCLID, ASCII, Data Art, Haiku, etc.)
   ========================================================================== */

body.page-template-page-time *,
body.page-template-page-magic *,
body.page-template-page-eat *,
body.page-template-page-euclid *,
body.page-template-page-ascii-gallery *,
body.page-template-page-data-art *,
body.page-template-page-haiku * {
    font-family: inherit !important;
}

body.page-template-page-time,
body.page-template-page-magic,
body.page-template-page-eat,
body.page-template-page-euclid,
body.page-template-page-ascii-gallery,
body.page-template-page-data-art,
body.page-template-page-haiku {
    background-color: transparent !important;
}

body.page-template-page-time #wrapper-navbar,
body.page-template-page-time .site-banner,
body.page-template-page-time #wrapper-footer,
body.page-template-page-time footer,
body.page-template-page-time .entry-header,
body.page-template-page-time #page-title-header {
    display: none !important;
}

body.page-template-page-time #content,
body.page-template-page-time .site-main,
body.page-template-page-time .container,
body.page-template-page-time .container-fluid {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}