/*
Theme Name: Hassan Portfolio
Description: Bespoke editorial portfolio theme. Native layouts, Gutenberg and optional Elementor compatibility.
Version: 0.3.0
Requires at least: 6.5
Requires PHP: 7.4
Author: Hassan Adeyinka
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hassan-portfolio
*/
body { margin: 0; }
.hp-site { background: var(--hp-ivory); color: var(--hp-ink); min-height: 100vh; }
.hp-content { width: min(1160px, calc(100% - 88px)); margin: 0 auto; padding: 44px 0; }
.hp-content--wide { width: 100%; padding: 0; }
.hp-content img { max-width: 100%; height: auto; }
.hp-content .alignwide { max-width: 100%; }
.hp-native .hp-menu-list { display:flex; align-items:center; gap:inherit; list-style:none; margin:0; padding:0; }
.hp-native .hp-menu-list li { margin:0; padding:0; }
.hp-native .hp-menu-list .current-menu-item > a { font-weight:700; color:var(--hp-forest); }
.hp-native .hp-menu-list .hp-contact-item > a { border:1px solid var(--hp-forest); padding:10px 15px; border-radius:5px; }
.hp-native .hp-skip { position:absolute; top:-100px; left:12px; z-index:99999; background:white; color:#202724; padding:12px; }
.hp-native .hp-skip:focus { top:45px; }
.hp-native .hp-extra { margin:30px 0; }
.hp-native .hp-content-prose a:not(.btn) { text-decoration:underline; overflow-wrap:anywhere; }
.hp-native .hp-content-prose img { max-width:100%; height:auto; }
.hp-native .hp-content-prose iframe { max-width:100%; }
.hp-native .hp-content-prose pre { overflow:auto; }
.hp-native .hp-content-prose .wp-block-button__link { text-decoration:none; }
.hp-native .hp-content-prose .aligncenter { display:block; margin-inline:auto; }
.hp-native .hp-content-prose .alignleft { float:left; margin:0 1em 1em 0; }
.hp-native .hp-content-prose .alignright { float:right; margin:0 0 1em 1em; }
.hp-native .hp-content-prose:after { content:""; display:block; clear:both; }
.hp-native .hp-post-list { display:grid; gap:18px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.hp-native .hp-pagination { margin:28px 0; }
.hp-native .hp-pagination a { text-decoration:underline; }
.hp-native .hp-footer-menu { display:flex; gap:12px; flex-wrap:wrap; list-style:none; padding:0; margin:0; }
.hp-native .hp-comment-list { padding-left:1.5em; }
.hp-native .hp-comment-list img { border-radius:50%; }
.hp-native .comment-form input:not([type=submit]), .hp-native .comment-form textarea { max-width:100%; }
@media(max-width:900px){.hp-content:not(.hp-content--wide){width:calc(100% - 48px)}}
@media(max-width:640px){.hp-content:not(.hp-content--wide){width:calc(100% - 36px)}.hp-native .hp-menu-list{align-items:stretch;flex-direction:column;gap:0;width:100%}.hp-native .hp-menu-list a{display:block}.hp-native .hp-menu-list .hp-contact-item>a{border:0;border-top:1px solid var(--hp-line);padding:12px 0}.hp-native .hp-post-list{grid-template-columns:1fr}}

.hp-native .custom-logo-link img {max-width:160px;max-height:50px;width:auto;height:auto;}
.hp-native .btn:disabled {opacity:.65;cursor:not-allowed;}
.hp-native .hero h1,.hp-native .pagehead h1 {overflow-wrap:break-word;}
.hp-native .hp-extra:empty {display:none;}
.hp-native .hp-content-prose {overflow-wrap:anywhere;}
.hp-native .wp-block-image img {max-width:100%;height:auto;}
@media(max-width:640px){.hp-native .navlinks:not(.hp-js-nav){display:flex}.hp-native .menu:not(.hp-js-menu){display:none}}
.hp-native .navlinks .hp-menu-list a { white-space:normal; }
.hp-native .navlinks .hp-menu-list { flex-wrap:wrap; }
.hp-native .hero-art, .hp-native .panel, .hp-native .project { min-width:0; }

/* Phase 4: optional content records, same visual tokens. */
.hp-native .hp-media-visual {padding:0;overflow:hidden;}
.hp-native .hp-media-visual img {display:block;width:100%;height:100%;object-fit:cover;}
.hp-native .hp-portrait-photo {padding:0;min-height:0;}
.hp-native .hp-portrait-photo:before,.hp-native .hp-portrait-photo:after{display:none;}
.hp-native .hp-portrait-image {display:block;width:100%;height:100%;min-height:280px;object-fit:cover;}
.hp-native .hp-credential-image,.hp-native .hp-insight-image {max-width:100%;height:auto;display:block;margin:12px 0;border-radius:5px;}
.hp-native .hp-quote{margin:0;}
.hp-native .hp-quote footer{color:var(--hp-ink);border-top:1px solid var(--hp-line);padding-top:10px;}
.hp-native .hp-contact-links p {overflow-wrap:anywhere;}
