/*
Theme Name:   Squiz
Theme URI:    https://wpdhdev.martinreed.co.uk
Description:  Deddington History
Author:       Martin Reed <martinreed.co.uk>
Version:      1.4
Requires at least: 6.9
Tested up to: 6.9.4
Requires PHP: 8.3
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   WORDPRESS DEFAULT CLASSES
   (Required for theme unit tests and core functionality)
   ========================================================================== */

.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.wp-caption { border: 1px solid #ccc; text-align: center; background-color: #eee; padding: 5px; }
.sticky { background-color: #fff9c4; border: 1px solid #fdd835; }

body, h1, h2, h3, h4, h5, h6, p, li {
    font-family: "Source Sans 3", "trebuchet ms", system-ui, sans-serif;
}

table, td {
    border-width: 0;
}

body, .site {
    background-color: white;
}

.site-header {
    background: transparent;
}

.site-header .inside-header {
    padding: 0 16px 0 24px;
    background-color: #f2e9d3;
    background-image: url('assets/images/menupics.jpg');
    background-position: top right;
    background-repeat: no-repeat;
    min-height: 90px;
}

#masthead .site-branding {
    padding-top: 2px;
}
#masthead .site-branding .main-title a,
#masthead .site-branding .main-title a:hover,
#masthead .site-branding .main-title a:visited {
    font-size: 22px;
    font-weight: 400;
    border-bottom: 2px solid #ffdaa7;
}

.page-header {
    display: flex;
    justify-content: space-between;
    background-color: #f2e9d3;
}
.page-header h1 {
    background-color: #f2e9d3;
    padding-left: 24px;
    padding-bottom: 8px;
    margin-bottom: 0;
}

.page-body {
    padding: 0 16px 0 24px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}


p {
    margin-top: 0.4em;
    margin-bottom: 0.6em;
}

.squiz-breadcrumbs {
    max-width: 800px;
    margin: 12px 12px 0 auto;
    box-sizing: border-box;
    text-align: right;
    background: #f2e9d3;
    font-size: 85%;
    line-height: 20px;
}

.squiz-breadcrumbs a {
    color: #0086B2;
    text-decoration: none;
}

.squiz-breadcrumbs a:hover {
    color: #00A6DC;
    border-bottom: 1px dotted #0086B2;
}

.squiz-breadcrumbs-separator {
    margin: 0 4px;
    color: #666;
}

#main, #main .inside-article {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Headings */
h1 {
    margin-top: 0;
    padding: 0 8px 0 8px;
    font-size: 160%;
    font-weight: 500;
    color: #0086B2;
}

h2 {
    position: relative;
    padding: 6px 0 0px 12px;
    margin-left: -12px;
    margin-top: 0.75em;
    margin-bottom: 6px;
    font-size: 120%;
    font-weight: 600;
}

h3 {
    font-size: 110%;
    margin-bottom: 4px;
}

h4, h5, h6 {
    margin-bottom: 2px;
}

ul {
    margin-top: 2px;
    margin-bottom: 2px;
}

/* Asset listing */
.asset-listing {
    text-wrap: pretty;
}

.asset-listing li {
    position: relative;
    list-style: none;
    display: block;
    max-width: 100%;
    padding: 4px 0 4px 14px;
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
}

.asset-listing li::marker {
    content: "";
}

.asset-listing a {
    font: inherit;
    color: inherit;
    display: inline;
    white-space: normal;
}

/* Decorative lines */
.asset-listing li::before,
.asset-listing li::after,
h2::before,
h2::after {
    content: "";
    position: absolute;
    background: #ffdaa7;
}

.asset-listing li::before {
    left: 0;
    top: -4px;
    bottom: 0;
    width: 1px;
}

.asset-listing li::after {
    top: 0;
    left: -4px;
    height: 1px;
    width: 40px;
}

h2::before {
    left: 0;
    top: -4px;
    bottom: 0;
    width: 2px;
}

h2::after {
    top: 0;
    left: -4px;
    height: 2px;
    width: 64px;
}

/* Superscript */
sup {
    font-size: 0.75em;
    vertical-align: baseline;
    position: relative;
    top: -0.4em;
    line-height: 0;
    font-family: inherit;
}

a:link {
    color: #0086B2;
    text-decoration: none;
}

a:visited {
    color: #0086B2;
    text-decoration: none;
}

a:hover {
    color: #00A6DC;
    text-decoration: none;
    border-bottom: 1px dotted #0086B2;
}

a.nohover {
    text-decoration: none;
    border-bottom: none;
}

a:hover img {
    text-decoration: none;
    border-bottom: none;
}

img.pad-top {
    padding-top: 6px;
}

img.pad-bottom {
    padding-bottom: 6px;
}

img.pad-left {
    padding-left: 8px;
}

img.pad-right {
    padding-right: 8px;
}

.captioned-picture-left {
    float: left;
    margin-left: 8px;
}

.captioned-picture-right {
    float: right;
    margin-left: 8px;
}

.captioned-picture-left img, .captioned-picture-right img {
    left: auto;
    right: 0px;
}

.picture-caption {
    text-align: center;
    font-style: italic;
    font-size: 85%;
}

.smaller {
    font-size: 85%;
}

.larger {
    font-size: 110%;
}

.poi {
    font-family: Times;
    font-style: italic;
}

.leaders {
    list-style: none;
    padding-left: 0;
}

.leaders li {
    display: flex;
    align-items: baseline;
}

.leaders li span:first-child {
    width: 40em;
    min-width: 40em;
    display: flex;
    align-items: baseline;
}

.leaders li span:first-child::after {
    content: " .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .";
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 .4em;
    color: #666;
}

.leaders li span:last-child {
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    #masthead .site-branding .main-title a,
    #masthead .site-branding .main-title a:hover,
    #masthead .site-branding .main-title a:visited {
        text-shadow:
                0 0 1px #fff,
                0 0 2px #fff,
                0 0 4px #fff,
                0 0 7px #fff,
                0 0 11px rgba(255,255,255,1),
                0 0 18px rgba(255,255,255,1);
    }
}
