/*
Theme Name: ToesToZen
Theme URI: https://opencollective.com/ToesToZen
Author: Web Guy
Author URI: https://opencollective.com/ToesToZen#section-contributors
Description: Donate: https://opencollective.com/ToesToZen. Learn: https://ToesToZen.me/. ToesToZen is the definitive WordPress boilerplate starter theme. I've carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability, with no intrusive visual CSS styles added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/webguyio/ToesToZen/issues. Thank you.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2026
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: ToesToZen

ToesToZen WordPress Theme 2011-2026
ToesToZen is distributed under the terms of the GNU GPL
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{appearance:none;border-radius:0}input[type="search"]{appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

/* === Page background === */
body {
  background-color: #f0ebe3;
  font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #3a3532;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  line-height: 1.2;
  color: #2a2420;
  margin-bottom: 0.6em;
}

h1 { font-size: 1.4rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.1rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1.25em; }

a {
  color: #7a6e65;
  transition: color 0.2s ease;
}

a:hover {
  color: #2a2420;
}

/* === Contact Stripe === */
#contact-stripe {
  width: 100%;
  background-color: #c4b8ac;
  padding: 0.4rem 2rem;
}

#contact-stripe-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

#contact-info {
  display: flex;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: #3a3532;
}

#contact-info i {
  margin-right: 0.35rem;
  color: #7a6e65;
}

#contact-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

#contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #a9998a;
  color: #fff;
  font-size: 0.78rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

#contact-social a:hover {
  background-color: #3a3532;
}

/* === Logo === */
#logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #f0ebe3;
}

#logo img {
  max-height: 110px;
  width: auto;
  min-width: 220px;
  display: block;
}

/* === Navigation === */
#header {
  width: 100%;
  background-color: #d6cfc7;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#menu {
  width: 100%;
  padding: 0 2rem;
}

#menu .menu,
#menu ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  padding: 0;
  margin: 0;
}

#menu ul li {
  display: flex;
  align-items: center;
}

#menu ul li a {
  display: block;
  padding: 1rem 1.25rem;
  color: #3a3532;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, color 0.2s ease;
  border-radius: 6px;
}

#menu ul li a:hover,
#menu ul li a:focus {
  background-color: #c4b8ac;
  color: #1a1715;
}

#menu ul li.current-menu-item > a,
#menu ul li.current_page_item > a,
#menu ul li.current-menu-ancestor > a {
  background-color: #a9998a;
  color: #1a1715;
  font-weight: 700;
}

/* === Wrapper & Container === */
#wrapper {
  min-height: 100vh;
}

#container {
  max-width: 860px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

/* === Search bar === */
#home-search {
  margin-bottom: 2.5rem;
}

#home-search .search-form {
  display: flex;
  gap: 0.5rem;
}

#home-search input[type="search"] {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1.5px solid #c4b8ac;
  border-radius: 8px;
  background: #faf8f5;
  font-size: 1rem;
  color: #3a3532;
  outline: none;
  transition: border-color 0.2s ease;
}

#home-search input[type="search"]:focus {
  border-color: #a9998a;
}

#home-search input[type="submit"] {
  padding: 0.7rem 1.4rem;
  background-color: #c4b8ac;
  color: #3a3532;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#home-search input[type="submit"]:hover {
  background-color: #a9998a;
}

/* === Recent Posts === */
#recent-posts h2 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a6e65;
  margin-bottom: 1rem;
}

/* === Gallery === */
.tz-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 1.5rem 0;
}

.tz-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  background-color: #e8e0d8;
}

.tz-gallery__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.tz-gallery__item:hover img,
.tz-gallery__item:focus img {
  transform: scale(1.04);
  opacity: 0.9;
}

.tz-gallery__empty {
  color: #7a6e65;
  font-style: italic;
  padding: 2rem 0;
}

/* Lightbox */
.tz-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 25, 22, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.tz-lightbox.is-open {
  display: flex;
}

.tz-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.tz-lightbox__close,
.tz-lightbox__prev,
.tz-lightbox__next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  line-height: 1;
  transition: background 0.2s ease;
}

.tz-lightbox__close:hover,
.tz-lightbox__prev:hover,
.tz-lightbox__next:hover {
  background: rgba(255,255,255,0.28);
}

.tz-lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  font-size: 1.6rem;
}

.tz-lightbox__prev,
.tz-lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 2.2rem;
}

.tz-lightbox__prev { left: 1rem; }
.tz-lightbox__next { right: 1rem; }

@media (max-width: 768px) {
  .tz-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .tz-gallery {
    grid-template-columns: 1fr;
  }
}

#recent-posts ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#recent-posts ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #faf8f5;
  border: 1px solid #e0d9d2;
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  transition: box-shadow 0.2s ease;
}

#recent-posts ul li:hover {
  box-shadow: 0 3px 10px rgba(0,0,0,0.07);
}

#recent-posts ul li a {
  text-decoration: none;
  color: #3a3532;
  font-weight: 500;
  font-size: 1rem;
}

#recent-posts ul li a:hover {
  color: #7a6e65;
}

#recent-posts .post-date {
  font-size: 0.82rem;
  color: #a9998a;
  white-space: nowrap;
  margin-left: 1rem;
}