/*
Theme Name: Fortified360
Theme URI: https://fortified360.net
Author: Fortified360
Author URI: https://fortified360.net
Description: Custom Fortified360 theme. A native WordPress build of the Fortified360 secure workspace and infrastructure website, with editable hero, services, solutions, team, contact details and a single central booking URL.
Version: 1.5.2
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: fortified360
*/

/*
 * The complete visual design lives in assets/css/site.css and is loaded
 * unchanged. This file holds only the few rules WordPress itself needs.
 */

/* Keep the sticky header below the WordPress admin toolbar for logged-in editors. */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media screen and (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Editor content (pages, posts) inside the existing legal-copy column. */
.entry-content > * { max-width: 100%; }
.entry-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
.entry-content figure { margin: 28px 0; }
.entry-content figcaption { color: var(--muted); font-size: .875rem; margin-top: 8px; }
.entry-content ul, .entry-content ol { padding-left: 1.25em; }
.entry-meta { color: var(--muted); font-size: .9375rem; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Archive and search listings reuse the directory card styling. */
.post-listing { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.post-listing .visual-card-copy time { color: var(--muted); font-size: .8125rem; }
.pagination-links { display: flex; gap: 10px; margin-top: 36px; flex-wrap: wrap; }
.pagination-links .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--navy-900); }
.pagination-links .current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
@media (max-width: 1000px) { .post-listing { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 680px) { .post-listing { grid-template-columns: 1fr; } }
