/*
Theme Name: MyChildTutor
Description: A responsive theme for a parent and tutor matching service.
Version: 1.2.1
Author: MyChildTutor
Text Domain: mychildtutor
*/
:root {
  --ink: #152742;
  --blue: #1253a0;
  --line: #d5e1ef;
  --muted: #435b75;
  --paper: #fbfcff;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 system-ui, sans-serif; }
a { color: var(--blue); }
a:focus-visible { outline: 3px solid #ad4b00; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.skip { position: absolute; top: 1rem; left: 1rem; z-index: 5; background: white; padding: .5rem; }
.skip:not(:focus) { clip-path: inset(50%); }
.masthead, nav, .actions, .footer { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.35rem; }
.masthead { justify-content: space-between; padding-block: 1.3rem; }
.brand, nav a { text-decoration: none; font-weight: 700; }
.brand { color: var(--ink); font-size: 1.3rem; line-height: 1.2; }
.brand span { color: #a84b00; }
.brand small { display: block; margin-top: .28rem; font-size: .72rem; color: var(--muted); }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 1rem; padding: clamp(1.3rem, 4.5vw, 4rem); border-radius: 2rem; background: linear-gradient(125deg,#e7f2ff,#fff8eb); }
.logo { display: block; width: 100%; height: auto; }
h1,h2,h3 { margin: 0 0 .55em; line-height: 1.1; overflow-wrap: break-word; }
h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.55rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
.intro { max-width: 55ch; font-size: 1.1rem; }
.eyebrow { color: var(--blue); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 850; }
.button { display: inline-block; background: var(--blue); border: 2px solid var(--blue); color: white; text-decoration: none; font-weight: 750; border-radius: .7rem; padding: .65rem 1rem; }
.button:hover { background: #093a74; border-color: #093a74; color: white; }
.outline { background: white; color: var(--blue); }
.small { padding: .4rem .75rem; }
.note { color: var(--muted); font-size: .9rem; }
.section { margin-block: clamp(2rem, 5vw, 4.5rem); }
.grid, .split { display: grid; gap: 1rem; }
.grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.split { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid article, .split article { padding: clamp(1rem, 2.5vw, 2rem); background: white; border: 1px solid var(--line); border-radius: 1.1rem; }
.number { display: inline-block; margin-bottom: .9rem; padding: .2rem .6rem; border-radius: 999px; background: #fff1dc; color: #834000; font-weight: 750; }
.footer { border-top: 1px solid var(--line); padding-block: 1.3rem; font-size: .9rem; }
.prose { max-width: 76ch; margin: 3rem auto; overflow-wrap: anywhere; }
.prose img { max-width: 100%; height: auto; }
@media (max-width: 780px) { .grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) {
  .hero, .split { grid-template-columns: 1fr; }
  .logo { max-width: 300px; margin-inline: auto; }
  .hero { gap: 0; }
}
@media (max-width: 380px) { .grid { grid-template-columns: 1fr; } }

/* Shared responsive footer: muted slate blue, compact at each breakpoint. */
.mct-site-footer{background:#2d4257;color:#edf3fb;margin-top:0;border-top:1px solid #41566b;flex-shrink:0;width:100%}
.mct-site-footer .mct-footer-shell{min-height:156px;height:auto;display:grid;align-content:center;padding-block:24px;box-sizing:border-box}
.mct-footer-top{display:flex;justify-content:space-between;align-items:center;gap:20px 30px}
.mct-footer-brand{display:inline-block;color:#f5f8fc;text-decoration:none;line-height:1.3;flex-shrink:0}
.mct-footer-brand strong{font-size:1.25rem;font-weight:800;letter-spacing:-.025em}
.mct-footer-brand strong span{color:#ffd0a0}
.mct-footer-brand small{display:block;font-size:.73rem;color:#c8d6e4;margin-top:5px}
.mct-site-footer .mct-footer-links{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:3px 10px;min-width:0}
.mct-site-footer .mct-footer-links a{display:flex;align-items:center;min-height:36px;padding:7px 5px;color:#edf3fb;text-decoration:none;font-size:.85rem;font-weight:600;line-height:1.45;overflow-wrap:anywhere;box-sizing:border-box}
.mct-site-footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.mct-site-footer a:focus-visible{outline:3px solid #ffbd7d;outline-offset:4px;border-radius:4px}
.mct-footer-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;border-top:1px solid #ffffff24;margin-top:18px;padding-top:13px;font-size:.72rem;line-height:1.6;color:#cbd7e3}
.mct-footer-bottom a{color:#dbe5ef;text-decoration:none;font-size:.74rem}
@media(max-width:780px){.mct-footer-top{flex-direction:column;align-items:flex-start;gap:15px}.mct-site-footer .mct-footer-links{justify-content:flex-start;gap:4px 18px;width:100%}.mct-site-footer .mct-footer-shell{min-height:205px}}
@media(max-width:440px){.mct-site-footer .mct-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:4px 14px}.mct-site-footer .mct-footer-links a{padding:6px 0;min-height:36px;font-size:.82rem}.mct-site-footer .mct-footer-shell{min-height:245px;padding-block:22px}.mct-footer-bottom{margin-top:15px}}


/* Homepage: retain the authored page at full content width; no starter sections above it. */
.mct-focused-home .mct-home-content{width:100%;max-width:none;margin:0;min-width:0}
.mct-home-content> :first-child{margin-top:0}
.mct-home-content img{max-width:100%;height:auto}
/* Tutor opportunities are scoped to the Become a Tutor page. */
.mct-tutor-career{margin-block:1rem 2rem;padding:clamp(22px,4vw,44px);border:1px solid #dbe5f0;border-radius:26px;background:linear-gradient(120deg,#edf4fd 0%,#f7f9fd 60%,#fff5e7 100%);color:#20364e}
.mct-tutor-career-intro{max-width:790px}
.mct-tutor-career .eyebrow{margin-top:0;font-size:.72rem;letter-spacing:.1em}
.mct-tutor-career h1{font-size:clamp(2.1rem,4.6vw,3.7rem);line-height:1.08;letter-spacing:-.045em;margin-bottom:18px}
.mct-tutor-career-lead{font-size:1.04rem;line-height:1.7;color:#455d75;max-width:67ch;margin:0 0 24px}
.mct-tutor-career .actions{margin-bottom:30px}
.mct-tutor-career .actions a{min-height:46px;display:inline-flex;align-items:center;gap:12px;font-size:.88rem}
.mct-tutor-career-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.mct-tutor-career-benefits article{padding:20px;background:#ffffffd9;border:1px solid #dce5ef;border-radius:17px;min-width:0}
.mct-tutor-career-benefits article>span{display:inline-block;background:#dce8fa;border-radius:8px;color:#24528e;padding:4px 8px;font-size:.68rem;font-weight:800;margin-bottom:13px}
.mct-tutor-career-benefits article:nth-child(2)>span{background:#e2efe7;color:#356347}
.mct-tutor-career-benefits article:nth-child(3)>span{background:#fae8d5;color:#805224}
.mct-tutor-career-benefits article:nth-child(4)>span{background:#eae3f5;color:#654583}
.mct-tutor-career-benefits h2{font-size:1.05rem;line-height:1.35;letter-spacing:-.02em;margin:0 0 9px;overflow-wrap:anywhere}
.mct-tutor-career-benefits p{font-size:.85rem;line-height:1.65;color:#496078;margin:0;overflow-wrap:anywhere}
.mct-tutor-career-note{font-size:.77rem;line-height:1.7;color:#52677b;margin:22px 0 0;max-width:105ch}
.mct-tutor-application{margin-block:24px 50px;scroll-margin-top:24px;min-width:0}
@media(max-width:950px){.mct-tutor-career-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.mct-tutor-career{border-radius:20px;padding:24px 18px}.mct-tutor-career-benefits{grid-template-columns:1fr}.mct-tutor-career .actions{align-items:stretch;gap:10px}.mct-tutor-career .actions a{justify-content:center;width:100%}}

/* WordPress header navigation. */
.mct-header-menu{display:flex;align-items:center;flex-wrap:wrap;gap:.85rem 1.35rem;list-style:none;margin:0;padding:0}
.mct-header-menu li{position:relative;list-style:none}
.mct-header-menu a{display:block;padding:.35rem 0}
.mct-header-menu a.button{padding:.4rem .75rem}
.mct-header-menu .sub-menu{display:none;position:absolute;top:100%;left:0;z-index:50;min-width:210px;margin:0;padding:.5rem;background:#fff;border:1px solid var(--line);border-radius:.6rem;box-shadow:0 8px 24px #1527421a}
.mct-header-menu li:hover>.sub-menu,.mct-header-menu li:focus-within>.sub-menu{display:block}
.mct-header-menu .sub-menu a{padding:.5rem .75rem}
.mct-header-menu .sub-menu .sub-menu{top:0;left:100%}
.mct-header-menu .current-menu-item>a{ text-decoration:underline;text-underline-offset:5px }
@media(max-width:620px){
 .masthead>nav{width:100%}
 .mct-header-menu{gap:.5rem 1rem}
 .mct-header-menu .sub-menu{display:block;position:static;min-width:0;margin:.25rem 0 0 .5rem;padding:.15rem .4rem;box-shadow:none}
}
