/*
Theme Name: Turning Tides Divorce Solutions
Template: twentytwentyfive
Description: Child theme for the Turning Tides Divorce Solutions website (Julianne Incardona, CDFA).
Version: 1.1.0
Text Domain: tt-divorce-solutions
*/

/* Mobile first. Breakpoints: 600px (large phone / tablet) and 1024px (desktop). */
:root { --tt-gutter: 16px; }
@media (min-width: 600px) { :root { --tt-gutter: 24px; } }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.tt { margin: 0; background: #FFFFFF; }
.tt-wrap { font-family: 'Nunito', 'Trebuchet MS', sans-serif; color: #3F474C; background: #FFFFFF; line-height: 1.75; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@supports (overflow: clip) { .tt-wrap { overflow-x: clip; } }
@media (min-width: 600px) { .tt-wrap { font-size: 18px; } }
.tt-wrap *, .tt-wrap *::before, .tt-wrap *::after { box-sizing: border-box; }
.tt-wrap a { color: #1C469A; }
.tt-wrap a:hover { color: #14336F; }
.tt-wrap img, .tt-wrap svg, .tt-wrap video, .tt-wrap iframe { max-width: 100%; }
.tt-wrap iframe, .tt-wrap video { height: auto; aspect-ratio: 16 / 9; }
.tt-wrap table { display: block; max-width: 100%; overflow-x: auto; }
.tt-wrap h1, .tt-wrap h2, .tt-wrap h3 { text-wrap: balance; overflow-wrap: break-word; }
.tt-wrap p, .tt-wrap li, .tt-wrap span, .tt-wrap a { overflow-wrap: break-word; }
.tt-wrap section[id] { scroll-margin-top: 16px; }
.tt-wrap a:focus-visible, .tt-wrap button:focus-visible { outline: 3px solid #2E7D33; outline-offset: 2px; }

/* ---------- Top bar ---------- */
.tt-topbar { background: #1C469A; color: #FFFFFF; font-size: 15px; }
.tt-topbar-in { max-width: 1180px; margin: 0 auto; padding: 0 var(--tt-gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; }
.tt-topbar-loc { display: none; font-weight: 600; color: #E3E9F5; }
.tt-topbar-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-weight: 700; }
.tt-wrap .tt-topbar a.tt-call { color: #FFFFFF; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.tt-wrap .tt-topbar a.tt-top-cta { display: none; color: #1C469A; background: #FFFFFF; text-decoration: none; padding: 7px 16px; border-radius: 6px; }
@media (min-width: 600px) {
  .tt-topbar-in { justify-content: space-between; }
  .tt-topbar-loc { display: inline; }
}
@media (min-width: 1024px) {
  .tt-topbar-in { padding: 10px 24px; }
  .tt-wrap .tt-topbar a.tt-call { min-height: 0; }
  .tt-wrap .tt-topbar a.tt-top-cta { display: inline-block; }
}

/* ---------- Header and menu ---------- */
.tt-header { background: #FFFFFF; }
.tt-header-in { max-width: 1180px; margin: 0 auto; padding: 10px var(--tt-gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tt-wrap a.tt-logo { display: block; width: clamp(118px, 38vw, 220px); margin-right: auto; text-decoration: none; }
.tt-logo img { display: block; width: 100%; height: auto; }
.tt-wrap a.tt-head-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: #1C469A; color: #FFFFFF; font-weight: 700; font-size: 16px; text-decoration: none; border-radius: 6px; white-space: nowrap; }
.tt-head-cta-more { display: none; }
@media (min-width: 420px) { .tt-head-cta-more { display: inline; } }
.tt-menu-btn { width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 2px solid #C9D5EC; border-radius: 6px; background: #FFFFFF; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tt-menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #1C469A; transition: transform .2s ease, opacity .2s ease; }
.tt-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tt-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tt-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .tt-menu-btn span { transition: none; } }
.tt-nav { flex-basis: 100%; display: flex; flex-direction: column; padding: 4px 0 8px; font-weight: 700; }
.tt-js .tt-nav { display: none; }
.tt-js .tt-header.is-open .tt-nav { display: flex; }
.tt-wrap .tt-nav a { display: flex; align-items: center; min-height: 48px; padding: 4px 4px; border-top: 1px solid #E3E9F5; color: #3F474C; text-decoration: none; font-size: 18px; }
.tt-wrap .tt-nav a.tt-nav-cta { display: none; }
.tt-nav-loc { margin: 0; padding: 12px 4px 4px; border-top: 1px solid #E3E9F5; font-size: 15px; font-weight: 600; color: #5F686D; line-height: 1.4; }
@media (min-width: 600px) { .tt-nav-loc { display: none; } }
@media (min-width: 1024px) {
  .tt-header-in { padding: 18px 24px; justify-content: space-between; gap: 16px; }
  .tt-wrap a.tt-logo { width: 340px; max-width: 100%; margin-right: 0; }
  .tt-wrap a.tt-head-cta, .tt-menu-btn { display: none; }
  .tt-nav, .tt-js .tt-nav { display: flex; flex-basis: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 26px; padding: 0; font-size: 16px; }
  .tt-wrap .tt-nav a { display: inline; min-height: 0; padding: 0; border: 0; font-size: 16px; }
  .tt-wrap .tt-nav a.tt-nav-cta { display: inline-block; background: #1C469A; color: #FFFFFF; padding: 12px 22px; border-radius: 6px; }
}

/* ---------- Page content ---------- */
.tt-wrap .tt-stagger { margin-top: 0 !important; }
@media (min-width: 600px) and (max-width: 1023px) {
  .tt-wrap .tt-svc { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  .tt-wrap .tt-svc > * { grid-column: span 2; }
  .tt-wrap .tt-svc > :nth-child(4) { grid-column: 2 / span 2; }
  .tt-wrap .tt-svc > :nth-child(5) { grid-column: 4 / span 2; }
}
@media (max-width: 599px) {
  .tt-wrap .tt-hero-card { padding: 28px 20px !important; }
  .tt-wrap .tt-svc > a > span:nth-child(2) { min-height: 0 !important; }
  .tt-wrap main p[style*="font-size: 13px"], .tt-wrap main p[style*="font-size: 15px"], .tt-wrap main figcaption, .tt-wrap main span[style*="font-size: 15px"] { font-size: 16px !important; }
  .tt-wrap main a[style="font-weight: 700"] { display: inline-flex; align-items: center; min-height: 44px; }
  .tt-wrap footer, .tt-wrap footer p { font-size: 16px !important; }
}
@media (max-width: 1023px) {
  .tt-wrap footer a[href^="tel:"], .tt-wrap footer a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Blog */
.tt-blog-hero{background:#E8EEF8;padding:clamp(40px,6.4vw,64px) var(--tt-gutter) clamp(32px,4.8vw,48px)}.tt-blog-hero-in{max-width:1180px;margin:0 auto}.tt-blog-hero h1{margin:0 0 12px;font-family:'Libre Baskerville',Georgia,serif;font-weight:400;font-size:clamp(30px,4.5vw,45px);line-height:1.25;color:#1C469A}.tt-blog-hero p{margin:0;font-size:clamp(18px,2vw,20px);color:#3F474C;max-width:720px}
.tt-blog-list{background:#fff;padding:clamp(36px,5.6vw,56px) var(--tt-gutter) clamp(48px,8.8vw,88px)}.tt-blog-list-in{max-width:1180px;margin:0 auto}.tt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:clamp(20px,3.2vw,32px)}
.tt-card{background:#fff;border:1px solid #DDE1E3;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 10px 28px rgba(40,30,60,.08)}.tt-card-img{display:block;aspect-ratio:3/2;background:#E8EEF8}.tt-card-img img{width:100%;height:100%;object-fit:cover;display:block}.tt-card-ph{display:block;width:100%;height:100%;background:linear-gradient(135deg,#E8EEF8,#EAF6EA)}
.tt-card-body{padding:clamp(20px,2.4vw,24px);display:flex;flex-direction:column;gap:10px;flex:1}.tt-card h2{margin:0;font-family:'Libre Baskerville',Georgia,serif;font-weight:400;font-size:22px;line-height:1.3}.tt-card h2 a{color:#1C469A;text-decoration:none}.tt-meta{margin:0;font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#4C5559}.tt-meta a{color:#1C469A;text-decoration:none}.tt-excerpt{margin:0;font-size:17px;color:#3F474C}.tt-more{margin-top:auto;font-weight:700;color:#1C469A;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.tt-empty{font-size:20px;color:#3F474C;text-align:center;padding:48px 0}.navigation.pagination{margin-top:48px;text-align:center}.navigation.pagination .nav-links{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.navigation.pagination a,.navigation.pagination span{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:10px 16px;border-radius:6px;border:2px solid #C9D5EC;font-weight:700;text-decoration:none}.navigation.pagination .current{background:#1C469A;color:#fff;border-color:#1C469A}
.tt-post-head{background:#E8EEF8;padding:clamp(36px,5.6vw,56px) var(--tt-gutter) clamp(28px,4vw,40px)}.tt-post-head-in{max-width:780px;margin:0 auto;display:flex;flex-direction:column;gap:14px}.tt-post-head h1{margin:0;font-family:'Libre Baskerville',Georgia,serif;font-weight:400;font-size:clamp(28px,4vw,40px);line-height:1.25;color:#1C469A}
.tt-post-feature{max-width:980px;margin:-1px auto 0;padding:clamp(20px,3.2vw,32px) var(--tt-gutter) 0}.tt-post-feature img{width:100%;height:auto;border-radius:12px;display:block}.tt-post-body{max-width:780px;margin:0 auto;padding:clamp(28px,4vw,40px) var(--tt-gutter) clamp(36px,5.6vw,56px);font-size:clamp(17px,1.9vw,19px)}.tt-post-body h2,.tt-post-body h3{font-family:'Libre Baskerville',Georgia,serif;font-weight:400;color:#1C469A;line-height:1.3}.tt-post-body img{max-width:100%;height:auto}.tt-post-body blockquote{border-left:4px solid #C9D5EC;margin:24px 0;padding:4px 0 4px 20px;color:#4C5559}
.tt-post-cta{max-width:780px;margin:0 auto clamp(48px,8.8vw,88px);padding:clamp(24px,3.6vw,36px);background:#F1F2F3;border-radius:12px;text-align:left}@media (max-width:811px){.tt-post-cta{margin-left:var(--tt-gutter);margin-right:var(--tt-gutter)}}.tt-post-cta h2{margin:0 0 8px;font-family:'Libre Baskerville',Georgia,serif;font-weight:400;font-size:clamp(22px,2.6vw,26px);color:#1C469A}.tt-post-cta p{margin:0 0 18px}.tt-post-cta a{display:inline-block;background:#1C469A;color:#fff;font-weight:700;padding:14px 28px;border-radius:6px;text-decoration:none}

/* Top bar lavender and green leaves (Option C) and social links */
.tt-topbar { position: relative; overflow: hidden; }
.tt-topbar-in { position: relative; }
.tt-topbar-leaf { position: absolute; pointer-events: none; }
.tt-leaf-1 { left: -14px; top: -14px; width: 70px; opacity: 0.6; }
.tt-leaf-2 { left: 34%; bottom: -16px; width: 44px; opacity: 0.7; transform: rotate(160deg); }
@media (min-width: 600px) { .tt-topbar-loc { padding-left: 28px; } }
.tt-wrap .tt-topbar a.tt-top-cta { border: 2px solid #A79BC9; padding: 5px 14px; }
.tt-social { display: inline-flex; align-items: center; gap: 4px; }
.tt-wrap .tt-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 6px; color: #FFFFFF; text-decoration: none; }
.tt-wrap .tt-social a:hover { background: rgba(255, 255, 255, 0.14); color: #FFFFFF; }
.tt-social svg { width: 18px; height: 18px; display: block; }
@media (min-width: 1024px) { .tt-wrap .tt-topbar .tt-social a { width: 32px; height: 32px; } }
.tt-social-foot { margin-top: 8px; gap: 10px; }
.tt-wrap footer .tt-social a { color: #1C469A; background: #FFFFFF; border: 1px solid #DDE1E3; }
.tt-wrap footer .tt-social a:hover { color: #14336F; background: #E8EEF8; }
/* Location line shares the row and wraps inside itself instead of pushing the links down */
@media (min-width: 600px) { .tt-topbar-loc { flex: 1 1 320px; min-width: 0; line-height: 1.4; } }
@media (min-width: 600px) { .tt-topbar-loc { font-size: 14px; } }
.tt-leaf-3 { right: -12px; bottom: -18px; width: 64px; opacity: 0.5; transform: scaleX(-1) rotate(20deg); }

/* Logo tagline: Financial Clarity for Your Next Chapter */
.tt-header-in { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "logo cta btn" "tag tag tag" "nav nav nav"; align-items: center; gap: 0 8px; }
.tt-wrap a.tt-logo { grid-area: logo; justify-self: start; margin-right: 0; }
.tt-wrap a.tt-head-cta { grid-area: cta; }
.tt-menu-btn { grid-area: btn; }
.tt-nav { grid-area: nav; }
.tt-tagline { grid-area: tag; margin: 6px 0 2px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-family: 'Nunito', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: clamp(9px, 2.7vw, 11px); line-height: 1.3; letter-spacing: 0.12em; text-transform: uppercase; color: #344A9A; }
.tt-tag-dots { display: inline-flex; align-items: center; gap: 4px; }
.tt-tag-dots span { display: block; width: 5px; height: 5px; border-radius: 50%; }
.tt-tag-dots span:nth-child(1) { background: #C9C0E4; }
.tt-tag-dots span:nth-child(2) { background: #A79BC9; }
.tt-tag-dots span:nth-child(3) { background: #6AA84F; }
@media (min-width: 1024px) {
  .tt-header-in { grid-template-columns: auto 1fr; grid-template-areas: "logo nav" "tag nav"; gap: 2px 16px; }
  .tt-wrap a.tt-logo { width: 360px; }
  .tt-tagline { justify-self: end; margin: 0; padding-right: 14px; font-size: 10px; gap: 8px; }
  .tt-tag-dots span { width: 6px; height: 6px; }
  .tt-nav, .tt-js .tt-nav { justify-self: end; align-self: center; }
}.tt-tagline-foot { margin: 8px 0 4px; font-size: 10px; max-width: 280px; }
@media (min-width: 1024px) { .tt-tagline-foot { justify-self: auto; padding-right: 0; font-size: 10px; } }

/* Tagline: larger, tucked up under the logo (the logo image has built-in space below the script) */
.tt-tagline { margin: -6px 0 4px; font-size: clamp(9.5px, 2.85vw, 12px); letter-spacing: 0.07em; }
@media (min-width: 1024px) {
  .tt-wrap a.tt-logo { width: 380px; }
  .tt-tagline { margin: -22px 0 0; padding-right: 15px; font-size: 11.5px; letter-spacing: 0.08em; position: relative; }
  .tt-tag-dots span { width: 7px; height: 7px; }
}
.tt-tagline-foot { margin: -12px 0 6px; font-size: 11px; letter-spacing: 0.07em; max-width: 300px; }
@media (min-width: 1024px) { .tt-tagline-foot { margin: -14px 0 6px; padding-right: 0; font-size: 11px; } }
