/*
Theme Name: Traveling TutorZ
Theme URI: https://www.travelingtutorz.com/
Author: Traveling TutorZ
Description: Custom theme for Traveling TutorZ, a private school and tutoring center in southern Delaware. Ten designed pages that are edited in the WordPress page editor, a site-wide header and footer, built-in contact forms, and matching styles for WooCommerce, Tutor LMS and Booking Calendar.
Version: 1.1.1
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: traveling-tutorz
*/

/* ---------------------------------------------------------------------------
   Base. The designed pages carry their layout as inline styles on each element,
   so only the page basics, hover states and the menu breakpoint live here.
   Selectors start with body.tt-theme so plugin styles (Elementor, WooCommerce)
   do not win over them.
   ------------------------------------------------------------------------ */
html { -webkit-text-size-adjust: 100%; }
body.tt-theme { margin: 0; background: #FFFDF8; color: #16213E; font-family: Figtree, system-ui, sans-serif; font-size: 16px; font-weight: 400; line-height: normal; letter-spacing: normal; -webkit-font-smoothing: antialiased; }
body.tt-theme *, body.tt-theme *::before, body.tt-theme *::after { box-sizing: border-box; }
body.tt-theme img { display: block; max-width: 100%; }
body.tt-theme a { color: #B3131A; }
body.tt-theme a:hover { color: #8E0F15; }
body.tt-theme h1, body.tt-theme h2, body.tt-theme h3 { font-family: 'Bricolage Grotesque', Figtree, system-ui, sans-serif; margin: 0; color: inherit; text-transform: none; text-wrap: balance; }
body.tt-theme p { margin: 0; text-wrap: pretty; }
body.tt-theme [hidden] { display: none !important; }
body.tt-theme :focus-visible { outline: 3px solid #16213E; outline-offset: 3px; }

.btn { transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(22, 33, 62, .2); }
.card { transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(22, 33, 62, .14); }
.pill { transition: background .15s, color .15s, transform .15s; }
.pill:hover { transform: translateY(-1px); }
.tt-chev { transition: transform .15s; }
[aria-expanded="true"] > .tt-chev { transform: rotate(180deg); }

/* Header and footer */
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:hover, .foot a:hover { text-decoration: underline; }
.menu-btn { display: none; }
@media (max-width: 1120px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .top-note { display: none; }
}
@media (min-width: 1121px) {
  #tt-mobile-menu { display: none !important; }
}
.tt-skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 18px; background: #FFFFFF; color: #16213E; font-weight: 700; border-radius: 0 0 12px 0; }
.tt-skip:focus { left: 0; }

/* ---------------------------------------------------------------------------
   Everything that is not one of the designed pages: blog posts, older pages,
   search results, and pages that plugins draw (shop, courses, booking).
   Each starts with a yellow title band, like the designed pages do.
   The plugins' own pieces are styled in assets/css/plugins.css.
   ------------------------------------------------------------------------ */
.tt-head { background: #FFF4C7; }
.tt-head-in { max-width: 1200px; margin: 0 auto; padding: 52px 24px 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
body.tt-theme .tt-head h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.02em; font-weight: 800; color: #16213E; }
body.tt-theme .tt-eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8E0F15; }
.tt-plain { max-width: 1200px; margin: 0 auto; padding: 56px 24px 88px; }
.tt-app { font-size: 17px; line-height: 1.55; color: #46506A; }
.tt-prose { max-width: 760px; font-size: 18px; line-height: 1.6; color: #46506A; }
.tt-prose > * + * { margin-top: 20px; }
body.tt-theme .tt-prose h1 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; color: #16213E; margin-top: 44px; }
body.tt-theme .tt-prose h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; color: #16213E; margin-top: 44px; }
body.tt-theme .tt-prose h3 { font-size: 22px; line-height: 1.2; font-weight: 700; color: #16213E; margin-top: 32px; }
body.tt-theme .tt-prose > :first-child, body.tt-theme .tt-prose .tt-entry > :first-child { margin-top: 0; }
body.tt-theme .tt-prose h2 a { color: #16213E; text-decoration: none; }
body.tt-theme .tt-prose h2 a:hover { color: #B3131A; text-decoration: underline; }
body.tt-theme .tt-prose p { margin-top: 20px; }
.tt-prose ul, .tt-prose ol { padding-left: 24px; }
.tt-prose li + li { margin-top: 8px; }
.tt-prose img { height: auto; border-radius: 20px; }
.tt-prose blockquote { margin: 28px 0; padding: 20px 24px; background: #FFF4C7; border-radius: 16px; color: #16213E; }
.tt-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.tt-prose th, .tt-prose td { padding: 10px 12px; border-bottom: 1px solid #EDE6D3; text-align: left; }
.tt-prose .tt-entry > * + * { margin-top: 20px; }
.tt-prose input[type="text"], .tt-prose input[type="email"], .tt-prose input[type="tel"], .tt-prose input[type="search"], .tt-prose input[type="password"], .tt-prose select, .tt-prose textarea { min-height: 52px; padding: 10px 14px; border: 1.5px solid #C9C2AE; border-radius: 12px; background: #FFFFFF; font: inherit; color: #16213E; max-width: 100%; }
.tt-prose button, .tt-prose input[type="submit"], .tt-prose .wp-block-button__link, .tt-button { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: #D7191F; color: #FFFFFF; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
body.tt-theme .tt-prose .wp-block-button__link, body.tt-theme a.tt-button { color: #FFFFFF; }
.tt-prose .nav-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; font-weight: 700; }
.tt-article + .tt-article { margin-top: 44px; padding-top: 36px; border-top: 1px solid #EDE6D3; }
@media (max-width: 600px) {
  .tt-head-in { padding: 36px 20px 40px; }
  .tt-plain { padding: 40px 20px 64px; }
}
