/*
Theme Name: Fort Towson Depot
Description: A responsive restaurant theme based on the archived Fort Towson Depot Steakhouse website.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: fort-towson-depot
*/
* { box-sizing: border-box; }
body { margin: 0; background: #000; color: #fff; font: 19px/1.55 Georgia, serif; }
a { color: inherit; text-underline-offset: .16em; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
img { max-width: 100%; height: auto; }
.skip-link { position: absolute; left: 1rem; top: -10rem; background: #000; padding: .6rem; z-index: 5; }
.skip-link:focus { top: 1rem; }
.masthead {
    min-height: 299px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: #191919 url('assets/photo-0.jpg') center center / cover no-repeat;
    text-align: center;
}
.site-name {
    max-width: 960px;
    text-decoration: none;
    text-transform: uppercase;
    font: 400 clamp(2rem, 7vw, 79px)/1.12 "Palatino Linotype", "Book Antiqua", Georgia, serif;
    background: #000;
    padding: 0 .15em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline;
}
.custom-logo { max-height: 85px; width: auto; display: block; margin-bottom: 10px; }
.front { max-width: 980px; margin: 0 auto; position: relative; }
.site-nav ul { margin: 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; list-style: none; }
.site-nav a, .menu-links a {
    display: block;
    min-width: 142px;
    padding: 10px 18px;
    border: 1px solid #fff;
    text-align: center;
    text-decoration: none;
    font: 16px/1.4 Arial, sans-serif;
}
.site-nav a:hover, .site-nav a[aria-current="page"], .menu-links a:hover { color: #000; background: #fff; }
.front > .site-nav { padding: 32px 20px 0; }
.introduction { padding: 28px 22px 15px 34px; font: clamp(1.25rem, 3.1vw, 33px)/1.22 Caudex, Georgia, serif; }
.introduction p { margin: 0 0 .9em; }
.food-gallery { position: relative; margin: 0 auto; height: 680px; }
.food-gallery img { position: absolute; display: block; }
.food-gallery img:nth-child(1) { width: 35%; left: 19.08%; top: 77px; }
.food-gallery img:nth-child(2) { width: 19.8%; left: 7.55%; top: 415px; }
.food-gallery img:nth-child(3) { width: 21%; left: 43.57%; top: 381px; }
.food-gallery img:nth-child(4) { width: 24.7%; left: 68.37%; top: 59px; }
.food-gallery img:nth-child(5) { width: 25.41%; left: 73.37%; top: 418px; }
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
    padding: 48px 24px;
    text-align: center;
    font: 15px/1.6 Arial, sans-serif;
}
.site-footer > * { flex: 1 1 210px; }
.site-footer address { font-style: normal; }
.inner { max-width: 980px; margin: auto; padding: 32px 24px 45px; }
.inner > h1, .inner article > h1 { font: 400 clamp(2.25rem, 6vw, 56px)/1.12 "Palatino Linotype", Georgia, serif; margin: 42px 0 22px; }
.inner article { overflow-wrap: break-word; }
.inner article + article { border-top: 1px solid #555; margin-top: 2rem; }
.menu-links { display: flex; flex-wrap: wrap; gap: 14px; }
.section-photo { float: right; margin: 0 0 22px 26px; width: min(40%, 371px); }
@media (min-width: 1480px) {
    .front > .site-nav { position: absolute; right: 100%; width: 248px; padding: 38px 20px; }
    .front > .site-nav ul { flex-direction: column; align-items: center; gap: 30px; }
    .introduction { padding-top: 33px; }
}
@media (max-width: 760px) {
    .masthead { min-height: 220px; }
    .introduction { padding-inline: 22px; }
    .food-gallery { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 12px 22px; align-items: start; }
    .food-gallery img:nth-child(n) { position: static; width: 100%; }
    .site-footer { padding-top: 32px; }
}
@media (max-width: 400px) {
    .site-nav a, .menu-links a { min-width: 0; padding-inline: 11px; }
    .section-photo { float: none; width: 100%; margin-left: 0; }
}
.inner::after { content: ""; display: block; clear: both; }
.archive-note { color: #ddd; font-size: .9em; }
.depot-section h2 { margin-top: 1.55em; border-bottom: 1px solid #666; padding-bottom: .25em; }
.depot-section h3 { margin-bottom: .25em; }
.depot-section h3 + p { margin-top: 0; }
.brand-heading { margin: 0; max-width: 960px; font: inherit; }
