/*
Theme Name: Twenty Twenty-Five (Jefa Custom)
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*

 * Start custom code *

 */
 
header {
  position: sticky;
  top: 0;
  z-index: 999;
}
 
header header {
  align-content: center;
}
 
.header__wrapper {
  max-width: 90rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.button--mobile .wp-block-button, .button--mobile .wp-block-button__link {
  width: 100% !important;
}

.footer-logo {
  width: 21.25rem;
}

.section {
  justify-content: center;
}

.content, footer, .section {
  margin-top: 0 !important;
}

.menu-card {
  max-width: 400px;
}

.section--menus__cards-wrapper {
 justify-content: center;
}
/*
.menu-card__image-wrapper {
  min-height: 25rem;
  max-height: 25rem;
  overflow: hidden;
}
*/
.section--about-us, .section--menu {
  background-size: 114% !important;
}

.section .section {
  padding: 0 !important;
}

#wp-forms-submit-136 {
  font-family: Azrael;
}

/* menus page */

.menus__menu {
  position: sticky;
  z-index: 998;
}

.menu__button-wrapper {
  width: 100%;
  justify-content: center !important;
}

.menu__button {
  max-width: 400px;
  flex-grow: 1;
}

.menu__button a {
  width: 100%;
  transition: background ease-in-out .5s;
}

.menu__button .selected {
  background: #3B3C3C;
  border-color: #3B3C3C;
  color: #FAFAEA;
  transition: background ease-in-out .5s;
} 

.menu--section__menu--wrapper {
  margin: auto !important;
}

/* events page -- modified vsel div */

.events__header p {
  margin-left: 0 !important;
}

#vsel {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.vsel-content {
  display: flex;
  flex-direction: column-reverse;
}

.vsel-meta {
  width: unset !important;
}

.vsel-info {
  width: unset !important;
}

.vsel-image {
  max-width: 650px !important;
  max-height: 450px;
  float: left;
  margin: 0 !important;
}

.vsel-image-img {
  max-width: 650px;
  max-height: 450px;
}

.vsel-content figure.vsel-alignright {
  margin: 0 !important;
}

.vsel-meta-info-wrapper {
  display: flex;
  gap: 16px;
}

.vsel-meta {
  display: flex;
  padding-top: 24px;
  flex-direction: column;
  gap: 16px;
}

.vsel-meta-info-wrapper, .vsel-meta-title {
  margin-bottom: 0 !important;
}

.vsel-meta-date, .vsel-meta-location, .vsel-meta-time {
  font-family: "Instrument Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 21px */
}

.vsel-meta-date, .vsel-meta-location {
  display: flex;
  align-items: center;
}

.vsel-meta-date span, .vsel-meta-location span {
  padding-left: 8px;
}

.vsel-meta-title {
  color: #A3422E;
  font-family: Azrael;
  font-size: 35px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 49px */
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.vsel-text {
  font-family: "Instrument Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
}

#brunch, #dinner, #drinks {
  scroll-margin-top: 225px;
}

/* attempting to style the resy button */
.button--resy {
  width: 100%;
}

.section--headline .button--resy span:first-child {
  width: 100% !important;
}

.button--resy span:first-child {
  background: #a3422e !important;
	transition: background 500ms ease-in-out;
}

.button--resy span:first-child:hover {
  background: #672a1d !important;
  	transition: background 500ms ease-in-out;
}

.button--resy span:nth-child(2) {
  min-width: 100%;
  border-radius: 5px;
}

.section--info .button--resy {
  text-align: unset !important;
}

/* custom fixes for menu card dimensions */
/* hiding to see if fix works
@media (min-width: 960px) and (max-width: 1200px) {
  .menu-card {
    max-width: 15rem !important;
  }
  .menu-card__image-wrapper {
    min-height: 15rem !important; 
    max-height: 15rem !important;
  }S
  .menu-card:first-child img {
    margin-top: -50%;
  }
}
*/

/* breakpoint 1200px */

@media (max-width: 1200px) {
  .footer__text--mobile {
    flex-flow: column;
    align-items: flex-start;
  }
  .footer__text__sub-div--mobile {
    flex-flow: column;
    gap: 10px !important;
    align-items: flex-start;
  }
  .contact-seperator {
    display: none;
  }
  #modal-1 {
    column-gap: 24px !important;
  }
  .header__social {
    padding-left: 24px !important;
  }
  .menus__menu>div {
    padding-top: 35px !important;
    padding-bottom: 35px !important;
  }
}

/* end breakpoint 1200px */

@media (max-width: 959px) {
  .wp-block-columns.section--menus__cards-wrapper {
    flex-wrap: nowrap !important;
  }
}

@media (min-width: 801px) {
  .menu__button-wrapper {
    column-gap: 60px;
    flex-wrap: nowrap;
  }
}

/* breakpoint < 800px */

@media (max-width: 800px) {
  .wp-block-social-links {
    padding-left: 1.5rem !important;
  }
  #modal-1-content {
    column-gap: 1.5rem;
  }
  .menu-card__image-wrapper figure, .brunch-image img {
    min-width: 100% !important;
  }
  .button--mobile {
    width: 295px;
  }
  .button--mobile div, .button--mobile < a {
    width: 100%;
  }
  .mobile__display-none {
    display: none;
  }
  .menu__section {
    padding: 0 !important;
    margin: 0 !important;
  }
  .menu__button-wrapper {
    column-gap: 30px !important;
  }
  .menus__menu>div {
    padding: 30px !important; 
  }
  .section--menus__menus {
    padding: 25px !important; 
  }
  .menu--section__menu--wrapper {
    padding: 24px 9px !important;
  }
}

/* end breakpoint < 800px */

/* hide social icons for specific screen widths */

@media (min-width: 701px) and (max-width: 820px) {
  .header__social {
    display: none !important;
  }
}

/* breakpoint < 700px */

@media (max-width: 700px) {
  footer .wp-block-navigation__responsive-container-open:not(.always-shown), footer .wp-block-navigation__responsive-container-close {
    display: none !important;
  }
  footer .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: block !important;
    width: 100%;
    position: relative;
    z-index: auto;
    background-color: inherit;
  }
  .desktop__hidden {
    display: none;
  }
  .button--desktop {
    display: none !important;
  }
  header .wp-block-navigation__responsive-container {
    top: 72px;
    bottom: unset;
  }
  .wp-block-navigation__container {
    row-gap: 20px !important;
  }
  #modal-1 {
    position: fixed;
    top: 0;
    background-color: var(--wp--preset--color--custom-jefa-rosa);
    overflow: visible;
  }
  #modal-1-content {
    padding-top: 0;
    row-gap: 24px;
  }
  header ul.wp-block-social-links {
    padding-left: 0 !important;
    border-left-width: 0 !important;
    margin-left: -6px;
    margin-top: -5px;
  }
  .wp-block-navigation__responsive-dialog {
    margin-top: 0 !important;
  }
  nav.wp-container-core-navigation-is-layout-1 {
    position: absolute !important;
    right: 2rem !important;
  }
  .section--info, .section--about-us {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
  header {
    min-height: 50px;
  }
  .menus__menu {
    top: 50px;
  }
  .menu__button {
    margin-left:  auto !important;
    margin-right: auto !important;
  }
  #brunch, #dinner, #drinks {
    scroll-margin-top: 175px;
  }
}

/* end breakpoint < 700px */

/* breakpoint < 600px */

@media (max-width: 600px) {
  #modal-2-content .wp-block-navigation__container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav__container {
    justify-content: flex-start !important;
  }
  button.wp-block-navigation__responsive-container-close {
    background: var(--wp--preset--color--custom-jefa-rosa);
  }
  .footer__top {
    margin-bottom: 0 !important;
  }
  .footer__wrapper, .section {
    padding: 48px 20px !important;
  }
  .footer-logo.wp-block-site-logo {
    margin-left: 0 !important;
    text-align: left !important;
  }
  .footer__text--mobile {
    border-top: 0px !important;
    margin-top: 0px !important;
    padding-bottom: 2rem;
  }
  .footer__text--mobile, .footer__text__sub-div--mobile {
    row-gap: 24px !important;
  }
  .wp-block-navigation__container {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .is-layout-flow > .aligncenter > .footer-logo {
    margin-left: 0 !important;
  }
  .menu__button-wrapper {
    flex-direction: column;
  }
  .menu__button {
    width: 400px;
  }
  .menus__menu>div {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #brunch, #dinner, #drinks {
    scroll-margin-top: 280px;
  }
}

@media (min-width: 600px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
  }
  .mobile-break {
    display: none;
  }
}

@media (min-width: 701px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none !important;
  }
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: block !important;
    width: 100%;
    position: relative;
    z-index: auto;
    background-color: inherit;
  }
  .button--mobile {
    display: none !important;
  }
  header {
    min-height: 88px;
  }
  .menus__menu {
    top: 88px;
  }
}

@media (max-width: 500px) {
  .wp-block-columns.section--menus__cards-wrapper {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 400px) {
  .menu__button {
    max-width: 100vw;
  }
}

