/*
Theme Name: Solihull Modern
Description: Standalone replacement for Pegasus, preserving Solihull content and sidebar IDs with local assets and accessible navigation.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.2
Author: F1 Group
Text Domain: solihull-modern
*/

:root { --ink: #253b3f; --gold: #f0b934; --text: #4d4d4d; --link: #705000; --panel: #f0f0f0; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 1rem/1.65 "Open Sans", "Segoe UI", Arial, sans-serif; overflow-wrap: break-word; }
button, input, textarea, select { font: inherit; }
button, input[type="submit"] { cursor: pointer; }
img { max-width: 100%; height: auto; vertical-align: middle; }
iframe, video { max-width: 100%; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid #107c9c; outline-offset: 4px; }
[hidden] { display: none !important; }
.container, .container-fluid { width: 100%; margin-inline: auto; padding-inline: 20px; }
.container { max-width: 1210px; }
.clearfix::after, .container::after, .row::after { display: table; content: ""; clear: both; }
.row { margin-inline: -15px; }
[class^="col-"], [class*=" col-"] { position: relative; min-height: 1px; width: 100%; padding-inline: 15px; }
p, ul, ol { margin: 0 0 1.25rem; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.4; }
h1 { margin: 0 0 1.25rem; font-size: clamp(1.6rem, 4vw, 1.875rem); font-weight: 600; text-align: center; text-transform: uppercase; }
h2 { margin: 0 0 .75rem; font-size: 1.55rem; }
h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
table { width: 100%; border-collapse: collapse; margin-bottom: 1.25rem; }
th, td { padding: .4rem; text-align: left; vertical-align: top; border-bottom: 1px solid #ddd; }
::selection { background: #3f98bb; color: #fff; }
.skip-link, .screen-reader-text, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 10000; width: auto; height: auto; clip-path: none; margin: 0; padding: .75rem 1rem; background: #fff; color: var(--ink); }
.site-header { background: var(--ink) url("images/header.png") center top no-repeat; }
.site-header .container { min-height: 256px; padding-top: 95px; padding-bottom: 20px; }
.site-header p { color: #fff; text-align: center; font-weight: 700; text-transform: uppercase; text-shadow: 1px 2px 3px #253b3f; }
.site-header #developmentname { margin-bottom: 7px; font-size: clamp(1.6rem, 5vw, 2.5rem); line-height: 1.3; }
.site-header a { color: #fff; text-decoration: none; }
#tagline { margin: 0; font-size: clamp(.95rem, 3vw, 1.25rem); }
.custom-logo-link { display: block; margin: 0 auto 15px; text-align: center; }
.custom-logo { max-height: 100px; width: auto; }
.navbar { padding: 10px 0; background: var(--gold); text-align: center; }
.site-menu, .site-menu ul, .logos ul, .sidebar.media ul { list-style: none; margin: 0; padding: 0; }
.site-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; }
.site-menu a { display: block; padding: 5px 0; color: var(--ink); font-size: .8rem; font-weight: 600; text-decoration: none; text-transform: uppercase; }
.site-menu a:hover, .site-menu .current-menu-item > a, .site-menu .current-page-ancestor > a { text-decoration: underline; }
.site-menu li { position: relative; }
.site-menu ul { display: block; padding-left: 1rem; }
.site-menu ul a { font-size: .75rem; }
.menu-toggle { display: none; border: 2px solid var(--ink); border-radius: 4px; padding: .4rem 1rem; background: transparent; color: var(--ink); font-weight: 600; }
#content { margin-block: 40px; min-height: 500px; }
.content-layout { display: grid; gap: 30px; }
.content-layout > * { min-width: 0; }
.page-content { margin-bottom: 1.5rem; }
.sidebar { padding: 20px; margin-bottom: 20px; border-radius: 10px; background: var(--panel); }
.sidebar h2, .sidebar h3 { text-align: center; }
.sidebar.consultation-details p, .sidebar.contact p { text-align: center; font-size: .9rem; line-height: 1.5; }
.sidebar.contact a.button { display: block; margin-top: 10px; }
.sidebar.media ul { text-align: center; }
.sidebar.media ul li { display: inline-block; max-width: 200px; border: 2px solid #fff; margin-bottom: 20px; }
.thumbs { position: relative; overflow: hidden; }
.thumb_info { position: absolute; bottom: 0; width: 100%; padding: 5px; background: rgb(0 0 0 / 75%); }
.thumb_info a { display: block; color: #fff; font-size: .8rem; line-height: 1.5; text-align: center; }
.button, .btn, input[type="submit"], .wp-block-button__link { display: inline-block; padding: 10px 16px; border: 2px solid transparent; border-radius: 5px; background: var(--gold); color: var(--ink); font-size: .85rem; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; }
.button:hover, .btn:hover, input[type="submit"]:hover, .wp-block-button__link:hover { background: var(--ink); color: var(--gold); }
.important { padding: 20px; margin-bottom: 20px; border-radius: 10px; background: var(--panel); }
.important.new-information { background: #107c9c; color: #fff; }
.important.new-information p, .important.new-information li, .important.new-information h2, .important.new-information a { color: #fff; }
.important.new-information .emphasis { font-weight: 700; }
.important > :last-child { margin-bottom: 0; }
.site-footer { background: var(--gold); color: var(--ink); }
#topstrip { height: 10px; background: var(--ink); }
.footer-content { display: flex; gap: 24px; justify-content: space-between; align-items: flex-start; padding-block: 20px; }
.site-footer .site-menu { justify-content: flex-start; }
.logos { max-width: 75%; padding: 10px; border-radius: 5px; background: #fff; }
.logos ul { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; }
.logos li { margin: 0; }
.logos img { width: auto; max-height: 100px; }
.text-center, .has-text-align-center { text-align: center; }
.text-right, .has-text-align-right { text-align: right; }
.pull-right { float: right; }
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, .wp-block-image, .wp-block-embed { max-width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: .9rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 16px; }
.gallery-item { margin: 0; }
.fa-download::before { content: "\2193"; display: inline-block; margin-right: .25em; font-style: normal; font-weight: bold; }
.image-dialog { max-width: 96vw; max-height: 96vh; border: 0; padding: 16px; border-radius: 6px; background: var(--ink); color: #fff; }
.image-dialog::backdrop { background: rgb(0 0 0 / 85%); }
.image-dialog img { display: block; max-height: 80vh; width: auto; max-width: 88vw; object-fit: contain; }
.image-dialog button { display: block; margin: 0 0 12px auto; background: #fff; color: var(--ink); border: 0; border-radius: 3px; padding: 8px 14px; }
.search-form { display: flex; flex-wrap: wrap; gap: 12px; }
.search-field { max-width: 100%; padding: 10px; border: 1px solid #777; border-radius: 4px; }
@media (min-width: 992px) { .has-sidebar { grid-template-columns: minmax(0, 8fr) minmax(240px, 3fr); gap: clamp(30px, 7vw, 100px); } }
@media (max-width: 767px) {
    .menu-toggle:not([hidden]) { display: inline-block; }
    #primary-menu.menu-enhanced:not(.is-open) { display: none; }
    .site-menu { display: block; text-align: left; }
    .navbar .site-menu a { padding: 10px 6px; font-size: .95rem; }
    .footer-content { flex-direction: column; }
    .logos { max-width: 100%; width: 100%; }
    .site-header .container { padding-top: 75px; min-height: 230px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .navbar, .site-footer, .menu-toggle, .skip-link, .image-dialog { display: none; } .site-header { background: none; } .site-header p, .site-header a { color: #000; text-shadow: none; } .site-header .container { padding-top: 0; min-height: 0; } #content { min-height: 0; } a { color: #000; } }

/* Existing content grid: xs */
.col-xs-1 { float: left; width: 8.333333%; }
.col-xs-offset-1 { margin-left: 8.333333%; }
.col-xs-2 { float: left; width: 16.666667%; }
.col-xs-offset-2 { margin-left: 16.666667%; }
.col-xs-3 { float: left; width: 25.000000%; }
.col-xs-offset-3 { margin-left: 25.000000%; }
.col-xs-4 { float: left; width: 33.333333%; }
.col-xs-offset-4 { margin-left: 33.333333%; }
.col-xs-5 { float: left; width: 41.666667%; }
.col-xs-offset-5 { margin-left: 41.666667%; }
.col-xs-6 { float: left; width: 50.000000%; }
.col-xs-offset-6 { margin-left: 50.000000%; }
.col-xs-7 { float: left; width: 58.333333%; }
.col-xs-offset-7 { margin-left: 58.333333%; }
.col-xs-8 { float: left; width: 66.666667%; }
.col-xs-offset-8 { margin-left: 66.666667%; }
.col-xs-9 { float: left; width: 75.000000%; }
.col-xs-offset-9 { margin-left: 75.000000%; }
.col-xs-10 { float: left; width: 83.333333%; }
.col-xs-offset-10 { margin-left: 83.333333%; }
.col-xs-11 { float: left; width: 91.666667%; }
.col-xs-offset-11 { margin-left: 91.666667%; }
.col-xs-12 { float: left; width: 100.000000%; }
.col-xs-offset-12 { margin-left: 100.000000%; }

/* Existing content grid: sm */
@media (min-width: 768px) {
.col-sm-1 { float: left; width: 8.333333%; }
.col-sm-offset-1 { margin-left: 8.333333%; }
.col-sm-2 { float: left; width: 16.666667%; }
.col-sm-offset-2 { margin-left: 16.666667%; }
.col-sm-3 { float: left; width: 25.000000%; }
.col-sm-offset-3 { margin-left: 25.000000%; }
.col-sm-4 { float: left; width: 33.333333%; }
.col-sm-offset-4 { margin-left: 33.333333%; }
.col-sm-5 { float: left; width: 41.666667%; }
.col-sm-offset-5 { margin-left: 41.666667%; }
.col-sm-6 { float: left; width: 50.000000%; }
.col-sm-offset-6 { margin-left: 50.000000%; }
.col-sm-7 { float: left; width: 58.333333%; }
.col-sm-offset-7 { margin-left: 58.333333%; }
.col-sm-8 { float: left; width: 66.666667%; }
.col-sm-offset-8 { margin-left: 66.666667%; }
.col-sm-9 { float: left; width: 75.000000%; }
.col-sm-offset-9 { margin-left: 75.000000%; }
.col-sm-10 { float: left; width: 83.333333%; }
.col-sm-offset-10 { margin-left: 83.333333%; }
.col-sm-11 { float: left; width: 91.666667%; }
.col-sm-offset-11 { margin-left: 91.666667%; }
.col-sm-12 { float: left; width: 100.000000%; }
.col-sm-offset-12 { margin-left: 100.000000%; }
}

/* Existing content grid: md */
@media (min-width: 992px) {
.col-md-1 { float: left; width: 8.333333%; }
.col-md-offset-1 { margin-left: 8.333333%; }
.col-md-2 { float: left; width: 16.666667%; }
.col-md-offset-2 { margin-left: 16.666667%; }
.col-md-3 { float: left; width: 25.000000%; }
.col-md-offset-3 { margin-left: 25.000000%; }
.col-md-4 { float: left; width: 33.333333%; }
.col-md-offset-4 { margin-left: 33.333333%; }
.col-md-5 { float: left; width: 41.666667%; }
.col-md-offset-5 { margin-left: 41.666667%; }
.col-md-6 { float: left; width: 50.000000%; }
.col-md-offset-6 { margin-left: 50.000000%; }
.col-md-7 { float: left; width: 58.333333%; }
.col-md-offset-7 { margin-left: 58.333333%; }
.col-md-8 { float: left; width: 66.666667%; }
.col-md-offset-8 { margin-left: 66.666667%; }
.col-md-9 { float: left; width: 75.000000%; }
.col-md-offset-9 { margin-left: 75.000000%; }
.col-md-10 { float: left; width: 83.333333%; }
.col-md-offset-10 { margin-left: 83.333333%; }
.col-md-11 { float: left; width: 91.666667%; }
.col-md-offset-11 { margin-left: 91.666667%; }
.col-md-12 { float: left; width: 100.000000%; }
.col-md-offset-12 { margin-left: 100.000000%; }
}

/* Existing content grid: lg */
@media (min-width: 1200px) {
.col-lg-1 { float: left; width: 8.333333%; }
.col-lg-offset-1 { margin-left: 8.333333%; }
.col-lg-2 { float: left; width: 16.666667%; }
.col-lg-offset-2 { margin-left: 16.666667%; }
.col-lg-3 { float: left; width: 25.000000%; }
.col-lg-offset-3 { margin-left: 25.000000%; }
.col-lg-4 { float: left; width: 33.333333%; }
.col-lg-offset-4 { margin-left: 33.333333%; }
.col-lg-5 { float: left; width: 41.666667%; }
.col-lg-offset-5 { margin-left: 41.666667%; }
.col-lg-6 { float: left; width: 50.000000%; }
.col-lg-offset-6 { margin-left: 50.000000%; }
.col-lg-7 { float: left; width: 58.333333%; }
.col-lg-offset-7 { margin-left: 58.333333%; }
.col-lg-8 { float: left; width: 66.666667%; }
.col-lg-offset-8 { margin-left: 66.666667%; }
.col-lg-9 { float: left; width: 75.000000%; }
.col-lg-offset-9 { margin-left: 75.000000%; }
.col-lg-10 { float: left; width: 83.333333%; }
.col-lg-offset-10 { margin-left: 83.333333%; }
.col-lg-11 { float: left; width: 91.666667%; }
.col-lg-offset-11 { margin-left: 91.666667%; }
.col-lg-12 { float: left; width: 100.000000%; }
.col-lg-offset-12 { margin-left: 100.000000%; }
}
