/*
Theme Name: Lighthouse Search
Theme URI: https://lighthousesearch.com/
Author: Lighthouse Search
Author URI: https://lighthousesearch.com/
Description: A bespoke editorial WordPress theme for Lighthouse Search — an executive search and leadership advisory firm. Converted from the original static HTML/CSS build, the theme preserves the original design exactly and adds full WordPress integration: editable navigation menus, dynamic page templates, a fully functional blog (Insights), and a custom 404 experience.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lighthouse
Tags: business, editorial, professional, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*
 * The full design system lives in /assets/css/global.css.
 * That file is enqueued via functions.php so it can be cached and versioned.
 * This file exists primarily for the theme metadata above (required by WordPress)
 * and a small set of WP-only helpers below.
 */

/* WordPress core required classes ------------------------------------------ */
.alignleft   { float: left;  margin: 0 1.5rem 1rem 0; }
.alignright  { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide   { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull   { width: 100%; }

.wp-caption           { max-width: 100%; }
.wp-caption img       { max-width: 100%; height: auto; display: block; }
.wp-caption-text      { font-size: 0.85rem; color: var(--color-text-muted, #666); margin-top: 0.5rem; }

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px; width: 1px;
    margin: -1px; overflow: hidden;
    padding: 0; position: absolute !important;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #fff;
    clip: auto !important;
    clip-path: none;
    color: #111;
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* WP block editor sticky-post / status helpers ----------------------------- */
.sticky          { display: block; }
.bypostauthor    { display: block; }
.gallery-caption { display: block; }

/* Skip link ----------------------------------------------------------------- */
.skip-link {
    background: #111;
    color: #fff;
    left: 50%;
    padding: 8px 16px;
    position: absolute;
    transform: translate(-50%, -150%);
    transition: transform 0.2s ease;
    z-index: 100000;
}
.skip-link:focus {
    transform: translate(-50%, 8px);
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* WordPress admin bar safety ----------------------------------------------- */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}

/* Comments ----------------------------------------------------------------- */
.comments-area {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-body { margin-bottom: 2rem; }
.comment-meta { font-size: 0.875rem; color: #666; margin-bottom: 0.5rem; }
.comment-reply-link {
    display: inline-block;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}
