/* 
Theme Name: Uncle Aaron
Theme URI: https://www.morrisonsites.com
Author: Daniel Morrison Cook
Description: Emilio Finatti 2026 website, designed and hosted by Morrison Sites.
Version: 2.0
*/

@media screen and (max-width: 768px) {
    .locations .location-item button {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .location-hours-action {
        width: 100%;
    }

    .location-hours-action .btn-emilio {
        width: 100%;
    }
}

/* Fonts. */

@font-face {
    font-family: 'Gotham';
    src: url('./fonts/book.woff2') format('woff2');
    font-weight: 300;
    font-style: light;
}

@font-face {
    font-family: 'Gotham';
    src: url('./fonts/medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('./fonts/bold.woff2') format('woff2');
    font-weight: 700;
    font-style: bold;
}

@font-face {
    font-family: 'Gotham';
    src: url('./fonts/black.woff2') format('woff2');
    font-weight: 900;
    font-style: bolder;
}

@font-face {
    font-family: 'Ashley';
    src: url('./fonts/ashley.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

/* Miscellaneous. */
@supports (-webkit-touch-callout: none) {
    html, body {
        height: -webkit-fill-available;
    }
    #pizza-canvas, #home-pizza-canvas {
        height: -webkit-fill-available;
    }
}

button, a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.wpcf7 {
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.wpcf7-form {
    width: 100%;
    max-width: 700px;
}

.wpcf7 .wpcf7-textarea {
    height: 100px;
}

.wpcf7 .wpcf7-submit {
    width: 100%;
    padding: 20px 10px;
}



/* Emilio's Button. */
/* Styles both <button> and <a>; the label lives on .btn-label. */
.btn-emilio h3, .btn-emilio .btn-label, .wpcf7-submit {
    color: white !important;
    font-weight: 900 !important
}

.btn-emilio, .wpcf7-submit{
    background-color: var(--tomato) !important;
    padding: 7px 15px;
    text-transform: uppercase;
    border: none;
    z-index: 5;
    position: relative;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn-emilio .btn-label {
    display: block;
    margin: 0;
    line-height: 1;
    font-family: 'Gotham', 'ui-sans-serif', '-apple-system', 'system-ui', 'Segoe UI', 'Helvetica', 'Apple Color Emoji', 'Arial', 'sans-serif', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

main {
    overflow-x: hidden;
    
}

/* Selection colour. */
::selection {
  background: red;
  color: white;
}


/* About Page. */
.about-page img {
    max-width: 600px;
}


.btn-emilio:hover, .btn-emilio:active, .btn-emilio:focus {
    background-color: var(--gold) !important;
}

.btn-emilio:hover > h3,
.btn-emilio:active > h3,
.btn-emilio:focus > h3,
.btn-emilio:hover > .btn-label,
.btn-emilio:active > .btn-label,
.btn-emilio:focus > .btn-label {
    color: var(--tomato) !important;
}

h1, h3, h4, h5 {
    font-family: 'Gotham', 'ui-sans-serif', '-apple-system', 'system-ui', 'Segoe UI', 'Helvetica', 'Apple Color Emoji', 'Arial', 'sans-serif', 'Segoe UI Emoji', 'Segoe UI Symbol';   
}

svg, img {
    user-select: none;
    pointer-events: none;
}

h2 {
    font-family: 'Ashley', 'ui-sans-serif', '-apple-system', 'system-ui', 'Segoe UI', 'Helvetica', 'Apple Color Emoji', 'Arial', 'sans-serif', 'Segoe UI Emoji', 'Segoe UI Symbol';
    letter-spacing: 0.1rem;
    color: var(--tomato);
}

* {
    margin: 0;
    padding: 0;
}

:root {
   --tomato: #E60000; 
   --tomato-rgb: 230, 0, 0; 
   --dough: rgb(255, 239, 221);
   --cilantro: rgb(14, 104, 55); 
   --gold: rgb(255, 193, 70);
}

.text-danger {
    color: var(--tomato) !important;
}

body {
    overflow-x: hidden;
}

/* Hide scrollbar on menu open. */
body.nav-open {
    overflow: hidden;
}

.header-title {
    color: white;
    z-index: 5;
    line-height: 1.2;
    display: block;
    font-family: 'Ashley', 'ui-sans-serif', '-apple-system', 'system-ui', 'Segoe UI', 'Helvetica', 'Apple Color Emoji', 'Arial', 'sans-serif', 'Segoe UI Emoji', 'Segoe UI Symbol';
    letter-spacing: 0.1rem;
    font-size: calc(1.325rem + 0.9vw);
    font-weight: 500;
}

@media (min-width: 1200px) {
    .header-title {
        font-size: 2rem;
    }
}

.container-l {
    max-width: 1000px;
    margin: auto;
    padding: 25px;
}

.container-xl {
    max-width: 1500px;
    margin: auto;
    padding: 25px;
}

/* Accordion. */
.wp-block-accordion-heading {
    color: var(--tomato);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Header. */
header {
    z-index: 100 !important;
    /* Pins the header to the viewport, which .position-fixed alone does not. */
    top: 0;
}

#mainheader {
    background-color: transparent;
    transition: background-color 0.3s ease-out;
}

#mainheader.header-solid {
    background-color: white;
}

header .inner {
    height: 90vh;
}

header a {
    position: relative;
    z-index: 50;
    text-decoration: none !important;
    color: white;
}

/* Centres the title, nav items and toggle on the nav's cross-axis. */
header nav {
    align-items: center;
}

header nav > a {
    align-items: center;
}

header .secondary-menu {
    position: absolute;
    bottom: 0;
}

header .secondary-menu ul {
    margin-top: auto;
}

header ul {   
    list-style: none;
}

/* Header / Navbar. */
header .navbar-toggler {
    width: 40px; 
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul li {
    color: white;
}

header .links {
    height: 3rem;
    width: 25vw;
    max-width: 200px;
}

#animation-menu {
    width: 75%;
    height: 75%;
}

#animation-menu svg {
    width: 100%;
    height: 100%;
}

/* Hamburger bars slide together and cross into an X. */
#animation-menu .menu-bar {
    transform-box: view-box;
    transform-origin: 50% 50%;
    transition: transform 0.134s linear;
}

#animation-menu .menu-bar-top {
    transform: translateY(-25.497px);
}

#animation-menu .menu-bar-bottom {
    transform: translateY(25.497px);
}

#animation-menu.is-open .menu-bar-top {
    transform: rotate(45deg);
}

#animation-menu.is-open .menu-bar-bottom {
    transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
    #animation-menu .menu-bar {
        transition: none;
    }
}

header .cover {
    position: fixed;
    width: 100%;
    height: 100%; 
    top: 0;
    background-color: rgba(var(--tomato-rgb), 0.75);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    z-index: -1;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@media screen and (max-width: 768px) {
    header .header-nav-links {
        display: none;
    }

    header nav {
        justify-content: space-between;
    }
}


@keyframes fadeIn {
    0% {
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    100% {
        backdrop-filter: blur(32px);
        -webkit-backdrop-filter: blur(32px);
    }
}

@keyframes navOut {
    0% {
        margin-left: 0px;
    }
    100% {
        margin-left: 20px;
    }
}

@keyframes navIn {
    0% {
        margin-left: 20px;
    }
    100% {
        margin-left: 0px;
    }
}

header .nav-list ul li:hover a, header .links:hover {
    animation: navOut 0.25s ease-in-out forwards;
}

header .nav-list ul li:not(:hover) a, header .links:not(:hover) {
    animation: navIn 0.25s ease-in-out forwards;
}

/* E-Slice / Hero. */
.e-slice-page h1, .e-slice-page h2 {
    font-family: 'Gotham', sans-serif !important;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-align: center;
}

.e-slice-page h3 {
    font-family: 'Gotham', sans-serif !important;
    font-weight: 900;
    letter-spacing: 0.02em;
    margin: 0;
    padding: 0;
}

.e-slice-page h2 {
    margin: 0;
}

.e-slice-description img {
    width: 200px;
}



.e-slice-hero .e-slice-title {
    width: 35vw;
    position: absolute;
    height: calc(50px + 5vw);
}

.e-slice-hero .e-slice-title img {
    position: absolute;
}

.e-slice-hero-price p {
    color: var(--tomato);
    font-weight: 800;
    font-family: 'Gotham', sans-serif !important;
    display: block;
    margin: 0;
    padding: 0;
    line-height: 1rem;
}

.e-slice-hero .e-slice-img {
    opacity: 0;
}

.e-slice-hero .e-slice-title .e-slice-colour {
    z-index: -1;
}

.e-slice-hero img {
    filter: saturate(1.2);
}

@media (min-width: 100px) {
    .e-slice-hero .e-slice-img {
        max-width: 468px;
    }
}

@media (max-width: 1000px) {
    .e-slice-hero .e-slice-title {
        width: 80vw;
    }   
}

@media (max-width: 768px) {
    .e-slice-description img {
        width: 150px;
    }
    
    .e-slice-description h2 {
        font-size: 25px;
    }
    
    .e-slice-description h3 {
        font-size: 20px;
    }
}

/* Location Landing Pages. */
/* Location landing page hero banner. */

/* Outer constraint wrapper. */
.hero-video-wrapper {
    width: 100%;
    padding-top: 0 !important;
    margin-top: 84px !important; /* Clears the 72px fixed header. */
}

/* Inner crop window. */
.hero-video-inner {
    width: 100%;
    max-width: 1000px;
    height: 300px;
    border-radius: 0; /* Squared off per the design system. */
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    /* Smooths corner interpolation on scroll. */
    will-change: border-radius;
    transform: translateZ(0);
}

.hero-video img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center 60%;
    display: block;
    
    /* Centre origin keeps the scaling balanced. */
    transform-origin: center center;
    will-change: transform;
}

/* Aligns the location header under the banner. */
.hero-content {
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Responsive scaling for mobile. */
@media (max-width: 768px) {
    .hero-video-inner {
        height: 200px; /* Shallower on mobile. */
        border-radius: 0;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
}

/* Ticker. */
.ticker-wrapper {
    background: #fff;
    white-space: nowrap;
}

.ticker-item {
    font-family: 'Gotham', 'ui-sans-serif', '-apple-system', 'system-ui', 'Segoe UI', 'Helvetica', 'Apple Color Emoji', 'Arial', 'sans-serif', 'Segoe UI Emoji', 'Segoe UI Symbol';
    display: flex;
    align-items: center;
    padding: 0 30px;
    font-weight: 900 !important;
    font-size: 1.25rem;
    color: var(--tomato);
    text-transform: uppercase;
}

.ticker-item .ticker-icon {
    width: 25px;
    margin: 15px;
}

#scrolling-banner {
    display: flex;
    width: max-content;
    will-change: transform;
}

/* General Page. */
.mrsn-page h1 {
    font-size: clamp(1.75rem, 0.6rem + 5.6vw, 4rem);
    color: var(--tomato);
    font-family: 'Ashley', 'ui-sans-serif', '-apple-system', 'system-ui', 'Segoe UI', 'Helvetica', 'Apple Color Emoji', 'Arial', 'sans-serif', 'Segoe UI Emoji', 'Segoe UI Symbol';
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    opacity: 1;
    padding: 20px;
}

.mrsn-page a {
    font-weight: bold;
    color: var(--tomato);
}

/* Menu. */
#pizza-canvas, #home-pizza-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    height: 100vh;
    pointer-events: none;
    display: block;
    filter: contrast(1.3) brightness(1.2) saturate(1.2);
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.pizza-scene {
    padding: 0 !important;
    pointer-events: none;
    border-radius: 15px;
    border: 1px solid lightgray;
}

#home-pizza-scene .pizza-scene {
    border: none !important;
}

.placeholder-img {
    padding: 3% 16%;
    left: -.5%;
    height: 100%;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: .1;
    }
    100% {
        opacity: 1;
    }
}

/* Menu / Headers. */
.menu h1 {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.menu h1.float-in {
    opacity: 1;
    transform: translateX(0);
}

.menu .badge {
    width: 1.5rem;
    padding-left: 0;
    margin: 0;
}

.menu .badge img {
    height: 100%;
}

/* Order Buttons. */

.order, .order-dash {
    position: relative;
    isolation: isolate; /* Keeps the label above the glow. */
}

/* Glow element. */
.order::before, .order-dash::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Pulse gradients. */
.order::before {
    box-shadow: 0 0 15px 5px rgba(102, 177, 120, 0.6);
    background: linear-gradient(to right, #135e54, #66b178);
}

.order-dash::before {
    box-shadow: 0 0 15px 5px rgba(255, 119, 98, 0.6);
    background: linear-gradient(to right, #EB3349, #ff7762);
}

/* Pulse on hover, active and focus. */
.order:hover::before, .order:active::before, .order:focus::before,
.order-dash:hover::before, .order-dash:active::before, .order-dash:focus::before {
    opacity: 1;
    animation: pulse-glow 1.5s 1 ease-in-out forwards;
}

/* Pulse animation. */
@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: blur(2px);
    }
    70% {
        transform: scale(1.03, 1.08);
        opacity: 0;
        filter: blur(8px);
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.order-section {
    max-width: 500px;
    margin-left: auto;
}

@media (max-width: 768px) {
    .order-section {
        width: 100%;
        max-width: 100%;
    }
}

.order-section .order-button {
    height: 50px;
}

.order {
    background-image: linear-gradient(to right, #135e54 0%, #66b178 51%, #134E5E 100%);
    transition: 0.5s;
    background-size: 200% auto;
}

.order-dash {
    background-image: linear-gradient(to right, #EB3349 0%, #ff7762 51%, #EB3349 100%);
    transition: 0.5s;
    background-size: 200% auto;
}

/* Fixed sizes so both labels read identically on every template. */
#order-section .order-button-label {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

#order-section .order-dash-logo {
    height: 27px;
    width: auto;
    max-width: 100%;
    padding: 3px;
    margin: 0;
}

.order-dash:hover, .order-dash:active, .order-dash:focus {
    background-position: right center;
    text-decoration: none;
}

.order:hover, .order:active, .order:focus {
    background-position: right center;
    text-decoration: none;
}

.order-link {
    text-decoration: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

/* Hero section. */
.hero-section {
    background-color: white; /* Revealed as you scroll. */
    position: relative; 
}

/* Shared logo styling, aligned 1:1. */
.hero-section .hero-logo {
    position: absolute;
    width: clamp(50vw, 500px, 75vw);
    top: 75%;
    left: 50%;
    transform: translate(-50%, -75%);
}

.hero-section #hero-color-logo {
    z-index: 2;
}

/* Red filler overlay. */
.hero-section #filler-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--tomato); 
    z-index: 10;
    
    /* Initial state: fully visible. */
    clip-path: inset(0 0 0 0); 
    -webkit-clip-path: inset(0 0 0 0);
}

.hero-section #hero-white-logo {
    z-index: 11;
}

.section {
    height: 100vh;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.3s ease-out;
    pointer-events: none;
}

.fade-in.visible {
    opacity: 1;
    pointer-events: auto;
}

.red-fade-in {
    color: white;
    transition: color 0.3s ease-out;
}   

.red-fade-in.visible {
    color: var(--tomato);
}

/* Blocks / Melting. */

.melting-section {
    margin-top: 5vw;
    height: auto;
    padding-left: 20px;
}

.melting-section h2, .melting-section h3, .melting-section h4, .melting-section h5,
.melting-section .melting-line, .melting-section .melting-and, .melting-section .melting-since {
    font-family: 'Gotham', 'ui-sans-serif';
    font-weight: 900;
    z-index: 5;
    color: var(--gold) !important;
}

.melting-section .melting-heading {
    letter-spacing: normal;
}

.melting-section .melting-line,
.melting-section .melting-and {
    display: block;
    z-index: 5;
    position: relative;
    text-decoration: none;
}

.melting-section .melting-line {
    opacity: 0;
    font-size: 9vw;
    letter-spacing: 0.1rem;
}

.melting-section .melting-and {
    letter-spacing: normal;
}

@media (max-width: 768px) {
    .melting-section h2, .melting-section .melting-line {
        font-size: 14vw;
    }
    .melting-section h3, .melting-section .melting-and {
        font-size: 10vw;
    }
    .melting-section h4 {
        font-size: 8vw;
    }
    .melting-section h5, .melting-section .melting-since {
        font-size: 7vw;
    }
}

.section a {
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.melting-section a #home-pizza-scene {
    width: 50vw;
    height: 50vw;
    float: right;
    filter: contrast(2);
}

@media (max-width: 768px) {
    .melting-section a #home-pizza-scene {
        width: 100vw;
        height: 100vw;
    }
}

@keyframes animateInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes animateOutFromLeft {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50px);
    }
}

@keyframes animateUpFromBottom {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animateDownFromBottom {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px);
    }
}

.animate {
    opacity: 0;
    transform: translateX(-50px);
    animation: animateInFromLeft 0.6s ease forwards;
}

.animate-out {
    opacity: 1;
    transform: translateX(0);
    animation: animateOutFromLeft 0.6s ease forwards;
}

.move-up-off {
    opacity: 0;
    transform: translateY(-50px);
    animation: animateUpFromBottom 0.6s ease forwards;
}

.move-up-on {
    opacity: 1;
    transform: translateY(0);
    animation: animateDownFromBottom 0.6s ease forwards;
}

/* Blocks / Floating Ingredients. */
.floating-ingredients-block {
    position: relative;
    height: 0; /* Never displaces the content below. */
    overflow: visible;
    pointer-events: none;

    /* Above the Hero (11), below the header (100) and the order buttons (1030). */
    z-index: 20;
}

.fi-ingredient {
    position: absolute;
    width: 4.5rem;
    height: 4.5rem;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    will-change: transform;
}

@media (max-width: 768px) {
    .fi-ingredient {
        width: 3.25rem;
        height: 3.25rem;
    }
}

/* Blocks / Menu. */

.menu-section {
    margin-top: 3vw;
    height: 75vh;
    overflow: hidden;
}

.menu-section img {
    user-select: none;
    pointer-events: none;
    width: calc(100vw / 8.05);;
}

/* Blocks / Locations. */

.locations-section {
    background-color: var(--tomato);
}

.locations-section-2 {
    background-color: none;
}

.locations-section h2 {
    color: var(--gold) !important;
    text-transform: uppercase;   
    position: relative;
}

.locations-section ul, .locations-section li {
    list-style: none;
    color: var(--dough);
    padding: 0;
    text-decoration: none;
}

.locations-section-2 h2 {
    color: var(--tomato) !important;
    text-transform: uppercase;   
}

.locations-section h3, .locations-section h4, .locations-section h5 {
    color: var(--dough) !important;
    font-weight: bolder;
    position: relative;
} 

.locations-section-2 h3, .locations-section-2 h4 {
    color: var(--gold) !important;
    font-weight: bolder;
    position: relative;
} 

.locations-section a {
    text-decoration: none;
    color: var(--dough);
}

.dough-background {
    background-color: var(--dough);
}

/* Blocks / Video. */

.video-section {
    height: 100%;
    overflow-y: hidden;
    width: 100%;
}

.video-section video {
    width: 25%;
    filter: contrast(2);
}

@media (max-width: 768px) {
    .video-section video {
        width: 75%;
    }
}

@media (max-width: 1500px) {
    .video-section video {
        width: 50%;
    }
}

.video-section h1 {
    color: var(--tomato);
}

/* Footer. */
footer {
    background-color: var(--tomato);
    overflow-x: hidden;
}

footer .invert {
    filter: invert(1);
}

footer h5 {
    color: white !important;
    transition: color 0.3s ease;
}

footer .msites {
    border: 3px solid white;
}

footer .logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

footer .logo img {
    width: 75%;
    height: auto;
    min-width: 200px;
}

footer a, footer p {
    color: white !important;
    text-decoration: none !important;
}

footer .footer-nav-link {
    display: inline-block;
    padding: 4px 0;
    font-weight: 400;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

footer .footer-nav-link:hover {
    opacity: 1;
    text-decoration: underline !important;
}

@media (max-width: 768px) {
    footer .logo img {
        min-width: 100px;
        width: 50%;
    }
}

/* Site Map. */
.site-map a {
    color: var(--tomato);
}

.site-map a:hover {
    color: var(--gold);
}

/* Contact Page. */
form input, form select, form textarea {
    border-radius: 0 !important;
    color: black !important;
    font-weight: bold !important;
    
    border-top: none !important;
    border-left: none !important;
    background: transparent !important;
    border-right: none !important;
    width: 100%
}

form textarea {
    border-bottom: 2px solid black !important;
}


form textarea::placeholder {
    color: black !important;
}

form input::placeholder {
    color: black !important;
}

/* Contact Page - Multi-select Dropdown. */
.location-select {
    display: block;
    min-height: 180px;
    padding: 4px;
    margin-top: 8px;
    border: 2px solid black !important;
    cursor: pointer;
}

.location-select option {
    padding: 8px 10px;
    color: black;
}

.location-select option:checked {
    background: var(--tomato) linear-gradient(0deg, var(--tomato) 0%, var(--tomato) 100%);
    color: white;
}

.location-select:focus-visible {
    outline: 2px solid var(--tomato);
    outline-offset: 2px;
}

/* Contact Page - Checkbox & Radio Groups. */
.wpcf7-form-control.wpcf7-checkbox,
.wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-top: 10px;
    margin-bottom: 6px;
}

.wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 2px solid black !important;
    background-color: black;
    color: white !important;
    font-weight: 700 !important;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.wpcf7-list-item label:hover {
    opacity: 0.75;
}

.wpcf7-list-item-label {
    order: 2;
}

.wpcf7-list-item input[type="checkbox"],
.wpcf7-list-item input[type="radio"] {
    order: 1;
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0;
    flex-shrink: 0;
    position: relative;
    border: 2px solid white !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    cursor: pointer;
}

.wpcf7-list-item input[type="checkbox"]:checked::after,
.wpcf7-list-item input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background-color: var(--tomato);
}

.wpcf7-list-item:has(input:checked) label {
    background-color: var(--tomato) !important;
    border-color: var(--tomato) !important;
    color: white !important;
}

.wpcf7-list-item:has(input:checked) input[type="checkbox"],
.wpcf7-list-item:has(input:checked) input[type="radio"] {
    border-color: white !important;
    background-color: white !important;
}

.wpcf7-list-item input[type="checkbox"]:focus-visible,
.wpcf7-list-item input[type="radio"]:focus-visible {
    outline: 2px solid var(--tomato);
    outline-offset: 2px;
}

/* Contact Page - Field Titles. */
.wpcf7 p > label,
.wpcf7 strong {
    color: black !important;
    font-weight: 900 !important;
    width: 100%;
}

/* Blocks / Contact. */
.contact-section {
    background-color: var(--dough);
    height: 100%;
}

/* Blocks / Image. */
.image-section {
    overflow: hidden;
}

.image-section .container {
    height: 100%;
    
}

.image-section img {
    width: 75%;
    height: auto;
}

.image-section p {
    width: 50%;
}

@media (max-width: 1500px) {
    .image-section img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .image-section p {
        width: 100%;
        text-align: center;
        margin-left: 2rem;
        margin-right: 2rem;
    }
    .image-section-2 p {
        width: 100%;
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .image-section-2 .move-in {
        justify-content: center !important;
    }
}

/* Blocks / Counting. */
.counter-section h2, .counter-section h1 {
    font-family: 'Gotham', 'ui-sans-serif';
    font-weight: 900;
    color: var(--gold) !important;
    text-align: right;
    z-index: 5;
    position: relative;
}

.counter-section .pizza-canvas {
    aspect-ratio: 1 / 1;
}

.counter-section .text {
    position: absolute;
    text-align: right;
    right: 0;
}

.counter-section h1 {
    font-size: 15vw;
    z-index: 5;
}

.counter-section a {
    text-decoration: none;
}

.counter-section #counter-pizza-scene {
    width: 50vw;
    height: 50vw;
    filter: contrast(2);
}

@media (max-width: 768px) {
    .counter-section #counter-pizza-scene {
        width: 100vw;
        height: 100vw;
        margin-bottom: 25vh;
    }
    .counter-section .text {
        bottom: 0;
        text-align: center;
        left: 0;
    }
}

/* Blocks / Franchise. */

.franchise-image-container {
    height: 50vh;
    filter: contrast(1.5);
    background-image: url("images/pie.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.franchise-section h2, .franchise-section h3, .franchise-section h4, .franchise-section h5 {
    font-family: 'Gotham', 'ui-sans-serif';
    font-weight: 900;
    color: var(--gold) !important;
}

.franchise-section .franchise-logo {
    width: 75%;
}

@media (max-width: 768px) {
  .franchise-section .text-container {
    padding: 0 1rem;
    margin-bottom: none;
  }

  .franchise-section .franchise-logo {
    display: none;
  }

  .franchise-section .col-12 {
    padding-left: 0;
    padding-right: 0;
  }
}


.franchise-section h2 {
    opacity: 0;
    font-size: 9vw;
    text-decoration: none;
    margin-bottom: 2vw;
}

.franchise-section button h3{
    color: white !important;
}

.franchise-section p {
    margin-left: 3rem;
    color: lightgray;
}

@media (max-width: 768px) {
    .franchise-section h2 {
        font-size: 14vw;
    }
    .franchise-section h3 {
        font-size: 10vw;
    }
    .franchise-section h4 {
        font-size: 8vw;
    }
    .franchise-section h5 {
        font-size: 7vw;
    }
}

.franchise-section a {
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Blocks / Awards. */
.awards-section {
    background-color: var(--tomato);
}

.awards-section p {
    color: var(--dough);
}

.awards-section h2 {
    color: var(--gold) !important;
    text-transform: uppercase;   
    position: relative;
}

.awards-section h3, .awards-section h4, .awards-section h5 {
    color: var(--dough) !important;
    font-weight: bolder;
    position: relative;
} 

.awards-section a {
    text-decoration: none;
    color: white;
}

/* Blocks / Loyalty. */
.loyalty-section {
    background-color: var(--dough);
    height: 100%;
}

.loyalty-section h3 {
    color: white !important;
    font-weight: 900
}

.loyalty-section h1 {
    color: var(--gold) !important;
    font-weight: 900;

}

/* Franchise Page. */

.franchise-page .family h3, .franchise-page .family h1, .franchise-page .family h2{
    font-weight: 900;
    font-family: 'Gotham', 'ui-sans-serif';
    color: var(--gold);
}

.franchise-page button h3 {
    text-shadow: none;
}

.franchise-page .family h2 {
    font-size: 9vw;
    z-index: 5;
    position: relative;
    text-decoration: none;
    margin-bottom: 2vw;
}

.franchise-page .family h3 {
    font-size: 4vw;
    z-index: 5;
    position: relative;
    text-decoration: none;
    margin-bottom: 2vw;
}

@media (max-width: 768px) {
    .franchise-page .family h2 {
        font-size: 14vw;
    }
    .franchise-page .family h3 {
        font-size: 10vw;
    }
    .franchise-page .family h4 {
        font-size: 8vw;
    }
    .franchise-page .family h5 {
        font-size: 7vw;
    }
}

/* Small Order Block & Delivery Information Page. */

.ordersmall-section {
    background-color: var(--dough);
}

.ordersmall-section h1 {
    color: var(--tomato);
}

.delivery-page .list-group li, .privacy-page .list-group li{
    background-color: transparent !important;
}

.delivery-page h2, .privacy-page h2 {
    font-family: 'Gotham', 'ui-sans-serif', '-apple-system', 'system-ui', 'Segoe UI', 'Helvetica', 'Apple Color Emoji', 'Arial', 'sans-serif', 'Segoe UI Emoji', 'Segoe UI Symbol';   
    font-weight: 900;
    text-transform: uppercase;
    opacity: 1;
}

/* 404 Page. */

.error-page h1 {
    color: var(--gold);
}

/* General Pages. */

.general-page h3 {
    font-weight: bolder;
    color: var(--tomato);
}

/* Locations Page. */

.locations-page a {
    text-decoration: none;
    color: var(--tomato);
}

.locations-page .locations article .inner {
    border: 1px solid lightgray;
}

.locations-page form input {
    border: none !important;
}

.locations-page form span {
    border: none;
    background: none;
}

.locations-page form span svg {
    fill: var(--tomato);
}

.locations-page form button {
    background: none;
    border: none;
}

.locations-page .item {
    z-index: -1;
}

.locations-page section h1, .location section h1 {
    color: var(--tomato) !important;
    font-family: 'Ashley', 'ui-sans-serif', '-apple-system', 'system-ui', 'Segoe UI', 'Helvetica', 'Apple Color Emoji', 'Arial', 'sans-serif', 'Segoe UI Emoji', 'Segoe UI Symbol';
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    opacity: 1;
}

/* Blocks / Eslice. */

.eslice-section {
    background-color: var(--dough);
    padding: 2rem;
}

/* E-Slice Page. */

.e-slice-page h1 {
    color: var(--tomato) !important;
    font-family: 'Ashley', 'ui-sans-serif', '-apple-system', 'system-ui', 'Segoe UI', 'Helvetica', 'Apple Color Emoji', 'Arial', 'sans-serif', 'Segoe UI Emoji', 'Segoe UI Symbol';
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    opacity: 1;
}

.e-slice-page h3 {
    color: var(--gold) !important;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
}

.e-slice-page button h3{
    color: white !important;
}

/* Blocks / Story. */

.story-section {
    background-color: var(--dough);
}

/* Single Blogs. */
.single-blog h1 {
    color: var(--tomato) !important;
    font-family: 'Ashley', 'ui-sans-serif', '-apple-system', 'system-ui', 'Segoe UI', 'Helvetica', 'Apple Color Emoji', 'Arial', 'sans-serif', 'Segoe UI Emoji', 'Segoe UI Symbol';
    font-weight: bold;
    text-transform: uppercase;
    opacity: 1;
}

.single-blog h2 {
    font-family: 'Gotham', 'ui-sans-serif', '-apple-system', 'system-ui', 'Segoe UI', 'Helvetica', 'Apple Color Emoji', 'Arial', 'sans-serif', 'Segoe UI Emoji', 'Segoe UI Symbol';
    font-weight: 900;
    text-transform: uppercase;
}

.single-blog p, .single-blog li {
    color: black;
}

.single-blog a {
    text-decoration: none;
    color: var(--tomato);
    font-weight: 900;
}

strong {
    color: black;
    font-weight: 900;
}

.single-blog ul {
    list-style: none;
}

.single-blog img {
    width: 50%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

@media (max-width: 768px) {
    .single-blog img {
        width: 100%;
        height: auto;
    }
}
/* Policy & Terms Pages. */
/* Black headings and links leave the page title as the only red type. */
.policy-page .mrsn-page h2,
.policy-page .mrsn-page h3,
.policy-page .mrsn-page h4 {
    color: black;
}

.policy-page .mrsn-page a,
.policy-page .single-blog a {
    color: black;
    text-decoration: underline;
}

/* Red is kept for the interactive state. */
.policy-page .mrsn-page a:hover,
.policy-page .mrsn-page a:focus-visible,
.policy-page .single-blog a:hover,
.policy-page .single-blog a:focus-visible {
    color: var(--tomato);
}

/* Order Bar Location Picker. */
/* Markup lives in partials/orderbar.php. */
#order-buttons-container {
    position: relative;
}

.pizza-location-panel {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    left: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.10);
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.10);
    max-height: 0;
    opacity: 0;
    /* Out of the accessibility tree and tab order while closed. */
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0s linear 0.35s;
    z-index: 10;
}

.pizza-location-panel.open {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow-y: auto;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0s;
}

.pizza-panel-header {
    margin: 0;
    padding: 10px 14px 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.pizza-location-btn {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    color: #1a1a1a;
    text-align: left;
    padding: 11px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, padding-left 0.15s ease;
    text-decoration: none;
}

.pizza-location-list li:last-child .pizza-location-btn {
    border-bottom: none;
}

.pizza-location-btn:hover,
.pizza-location-btn:focus-visible {
    background: rgba(var(--tomato-rgb), 0.07);
    padding-left: 20px;
    color: var(--tomato);
}

/* Google Maps Block. */
/* Rendered by blocks/map.php. */
.ef-map-block {
    width: 100%;
    max-width: 900px;
    margin: 1.5rem auto;
}

.ef-map-frame {
    position: relative;
    width: 100%;
    height: var(--ef-map-height, 380px);
    border: 2px solid black;
    background: #e9e7e2;
}

.ef-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.ef-map-directions {
    margin: 0.5rem 0 0;
    text-align: center;
}

.ef-map-directions a {
    color: black;
    text-decoration: underline;
}

.ef-map-directions a:hover,
.ef-map-directions a:focus-visible {
    color: var(--tomato);
}

@media (max-width: 768px) {
    .ef-map-frame {
        height: min(var(--ef-map-height, 380px), 60vh);
    }
}

/* Accessibility. */
/* Skip link, shown only on keyboard focus. */
.skip-link {
    position: absolute;
    top: -100px;
    left: 8px;
    z-index: 2000;
    padding: 12px 20px;
    background: black;
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.15s ease;
}

.skip-link:focus {
    top: 8px;
    color: white;
}

/* Focus ring must survive every custom button and link style. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid black;
    outline-offset: 2px;
}

/* White ring over the red and dark surfaces. */
#mainheader a:focus-visible,
#mainheader button:focus-visible,
footer a:focus-visible,
.btn-emilio:focus-visible,
.wpcf7-submit:focus-visible,
#order-section .order-button:focus-visible {
    outline: 3px solid white;
    outline-offset: 2px;
}

/* Neutralises Safari's phone-number data detectors on street addresses. */
a[x-apple-data-detectors],
a[x-apple-data-detectors] * {
    color: inherit !important;
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    text-decoration: none !important;
    pointer-events: none;
}

/* Footer headings are <h2> but keep their original <h5> look. */
footer .footer-heading {
    font-family: 'Gotham', 'ui-sans-serif', '-apple-system', 'system-ui', 'Segoe UI', 'Helvetica', 'Apple Color Emoji', 'Arial', 'sans-serif', 'Segoe UI Emoji', 'Segoe UI Symbol';
    letter-spacing: normal;
    color: inherit;
}

/* Secondary nav labels are <span>, so they set their own size. */
#nav-list .nav-link-secondary {
    display: block;
    font-family: 'Gotham', 'ui-sans-serif', '-apple-system', 'system-ui', 'Segoe UI', 'Helvetica', 'Apple Color Emoji', 'Arial', 'sans-serif', 'Segoe UI Emoji', 'Segoe UI Symbol';
    font-weight: 500;
    line-height: 1.2;
}

/* Address and phone lines are paragraphs, so they carry their own type. */
.locations-section .location-line {
    line-height: 1.2;
    font-family: 'Gotham', 'ui-sans-serif', '-apple-system', 'system-ui', 'Segoe UI', 'Helvetica', 'Apple Color Emoji', 'Arial', 'sans-serif', 'Segoe UI Emoji', 'Segoe UI Symbol';
    color: var(--dough);
    font-weight: bolder;
    position: relative;
}
