/* Law Offices of Charles L. Kurmay - site styles.
   Mobile first: base rules target phones, min-width media queries add the desktop layout.
   Palette and fonts come from the original WordPress theme (deep blue + brass, Merriweather / Rubik). */

:root {
    --navy: #01476a;
    --navy-dark: #013550;
    --steel: #4d7e96;
    --gold: #b79d5b;
    --gold-dark: #8f7838;
    --ink: #26343e;
    --muted: #5b6a75;
    --soft: #f7f8fb;
    --line: #e2e6eb;
    --white: #fff;
    --danger: #b3261e;
    --ok: #1e6b3a;
    --radius: 6px;
    --maxw: 1180px;
    --serif: "Merriweather", Georgia, "Times New Roman", serif;
    --sans: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.7; color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.3; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.6rem 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: 1.1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 0; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--navy); color: #fff; font-size: .9rem; text-align: center; border-bottom: 1px solid rgba(255,255,255,.12); padding: 15px 0; }
.topbar .container { display: flex; align-items: center; justify-content: center; }
.topbar a { display: flex; align-items: center; gap: .5rem; color: #fff; text-decoration: none; }
.topbar a::before { content: "\260E"; font-size: .85em; color: var(--gold); }
.topbar a:hover { color: var(--gold); }
.topbar strong { color: var(--gold); }
@media (min-width: 768px) { .topbar .container { justify-content: flex-start; } }

.site-header { background: var(--navy); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: block; line-height: 0; }
.brand img { height: 30px; width: auto; }
@media (min-width: 992px) {
    .header-inner { min-height: 110px; }
    .brand img { width: 300px; height: 35px; }
}

.nav-toggle { background: none; border: 1px solid rgba(255,255,255,.45); border-radius: var(--radius); width: 46px; height: 42px; cursor: pointer; display: grid; place-items: center; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 22px; height: 2px; background: #fff; content: ""; position: relative; transition: transform .2s, background .2s; }
.nav-toggle .bars::before { position: absolute; top: -7px; }
.nav-toggle .bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-dark); max-height: calc(100vh - 110px); overflow-y: auto; border-top: 1px solid rgba(255,255,255,.15); }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; color: #fff; text-decoration: none; padding: .75rem 1.1rem; font-weight: 500; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav .current > a { color: var(--gold); }
.site-nav .nolink { cursor: default; }
.site-nav .submenu a { padding-left: 2rem; font-weight: 400; font-size: .95rem; }
.site-nav .submenu .submenu a { padding-left: 3rem; font-size: .9rem; opacity: .95; }
.site-nav .menu > li { border-bottom: 1px solid rgba(255,255,255,.1); }

@media (min-width: 992px) {
    .site-header { position: relative; background: transparent; box-shadow: none; margin-bottom: -110px; z-index: 50; }
    .nav-toggle { display: none; }
    .site-nav { display: block; position: static; background: none; max-height: none; overflow: visible; border: 0; }
    .site-nav .menu { display: flex; gap: .15rem; align-items: center; }
    .site-nav .menu > li { border: 0; position: relative; }
    .site-nav .menu > li > a { padding: 1.35rem 1.56rem; font-size: 1rem; font-weight: 400; letter-spacing: -.02em; }
    .site-nav .menu > li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--gold); pointer-events: none; }
    .site-nav .menu > li:first-child::before { display: none; }
    .site-nav .has-children > a::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: .4rem; vertical-align: middle; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 5.5l5.5 5.5 5.5-5.5' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 5.5l5.5 5.5 5.5-5.5' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
    .site-nav .submenu { position: absolute; left: 0; top: 100%; min-width: 260px; background: #fff; padding: .94rem 0; border-top: 3px solid var(--gold); box-shadow: 0 10px 24px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
    .site-nav li:hover > .submenu, .site-nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
    .site-nav .submenu a, .site-nav .submenu .submenu a { padding: .94rem 1.88rem; font-size: .875rem; text-transform: capitalize; color: var(--navy); border-bottom: 1px solid #f0f0f0; }
    .site-nav .submenu li:last-child > a { border-bottom: 0; }
    .site-nav .submenu a:hover, .site-nav .submenu a:focus-visible { color: var(--gold); }
    .site-nav .submenu li::before { display: none; }
    .site-nav .submenu li { position: relative; }
    .site-nav .submenu .submenu { left: 100%; top: -3px; }
    .site-nav .submenu .has-children > a::after { content: "\25B8"; float: right; }
    .site-nav .menu > li:last-child > .submenu, .site-nav .menu > li:nth-last-child(2) > .submenu { left: auto; right: 0; }
}

/* ---------- page banner ---------- */
.page-banner { background-image: linear-gradient(rgba(1,53,80,.88), rgba(1,71,106,.8)), url("uploads/2022/02/banner_image-1.jpg"); background-position: center, right center; background-size: cover, cover; background-repeat: no-repeat, no-repeat; background-color: var(--navy-dark); color: #fff; padding: 2.4rem 0 2.2rem; position: relative; }
.page-banner .dash { display: block; width: 40px; height: 3px; background: var(--gold); margin-bottom: .9rem; }
.page-banner h1 { color: #fff; margin: 0 0 .4rem; font-size: 1.7rem; max-width: 900px; }
.crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .85rem; color: rgba(255,255,255,.85); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; opacity: .7; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--gold); }
@media (min-width: 768px) { .page-banner { padding: 3.4rem 0 3.2rem; } .page-banner h1 { font-size: 2.3rem; } }

/* ---------- buttons ---------- */
.btn, .prose a.btn, button.btn, input.btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--gold); color: #fff !important; border: 2px solid var(--gold); border-radius: 0; padding: .75rem 1.6rem; font: 500 .9rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn::before { content: "+"; font-weight: 700; font-size: 1.1em; line-height: 1; }
.btn:hover { background: transparent; border-color: var(--gold); color: var(--gold) !important; }
.btn-outline { background: transparent; color: var(--gold) !important; border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #fff !important; }
.btn-light { background: #fff; border-color: #fff; color: var(--navy) !important; }
.btn-team:hover { background: #fff; border-color: #fff; color: var(--gold) !important; }
.more.arrow::after { content: "\276F"; margin-left: .4rem; font-size: .85em; display: inline-block; }

/* ---------- generic sections ---------- */
.section { padding: 3rem 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 780px; margin-bottom: 1.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; }
.section-head-row h2 { margin-bottom: 0; }
.section-head-row .btn { flex-shrink: 0; }
.kicker { color: var(--gold-dark); font: 500 .8rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .6rem; }
.dash { display: block; width: 40px; height: 3px; background: var(--gold); margin-bottom: .9rem; }
.lead { font-size: 1.1rem; color: var(--muted); }
@media (min-width: 768px) { .section { padding: 4.2rem 0; } h1 { font-size: 2.3rem; } h2 { font-size: 1.85rem; } }

.intro-band { background: var(--navy) url("uploads/2022/02/banner_image-1.jpg") center center / cover no-repeat; padding: 2.6rem 0; border-bottom: 1px solid var(--line); }
.intro-band .dash { background: var(--gold); }
.intro-band .kicker { margin-bottom: .5rem; color: rgba(255,255,255,.7); }
.intro-band h2 { font-size: 1.85rem; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .9rem; color: #fff; }
.intro-band p { max-width: 760px; color: rgba(255,255,255,.88); font-size: 1.05rem; margin-bottom: 0; }
@media (min-width: 768px) { .intro-band { padding: 3.6rem 0; } .intro-band h2 { font-size: 3rem; } }

/* ---------- home hero ---------- */
.hero { background: var(--navy) url("uploads/2020/02/slider_bg.png") right top / cover no-repeat; color: #fff; padding: 3.2rem 0 3.6rem; position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 640px; }
.hero .dash { display: block; width: 40px; height: 3px; background: var(--gold); margin-bottom: 1rem; }
.hero .kicker { font-size: 1.125rem; font-weight: 500; color: var(--gold); margin-bottom: 1.1rem; }
.hero h1 { color: #fff; font-weight: 400; font-size: 2.1rem; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 1rem; }
.hero p.lead { max-width: 620px; color: rgba(255,255,255,.75); letter-spacing: -.01em; }
.hero .btn { margin-top: .6rem; }
.hero-photo { display: none; }
@media (min-width: 768px) { .hero { padding: 5rem 0 5.5rem; } .hero h1 { font-size: 3.2rem; } }
@media (min-width: 992px) {
    .hero { min-height: 560px; display: flex; align-items: center; padding: 4rem 0; }
    .hero-copy { padding-top: 80px; }
}

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 26px rgba(1,71,106,.12); transform: translateY(-2px); }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-body > p:not(.meta) { color: var(--muted); font-size: .95rem; flex: 1; }
.card-title { font-size: 1.15rem; margin-bottom: .6rem; }
.card-title a { color: var(--navy); text-decoration: none; }
.card-title a:hover { color: var(--gold-dark); }
.area-card { border: 0; }
.area-card .card-media { aspect-ratio: auto; height: 220px; }
.area-card .card-body { flex-direction: row; align-items: center; justify-content: space-between; gap: .8rem; padding: 1.1rem 1.3rem; }
.area-card .card-title { margin-bottom: 0; font-size: 1.15rem; }
.area-card .card-body > p { display: none; }
.more { font-weight: 500; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--gold-dark); margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.more::after { content: "\276F"; font-size: .85em; }
.more:hover { color: var(--navy); }
.meta { font-size: .8rem; color: var(--muted); margin: 0 0 .5rem; display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: center; }
.tag { background: var(--soft); border: 1px solid var(--line); border-radius: 20px; padding: 0 .65rem; text-decoration: none; color: var(--navy); }
.tag:hover { background: var(--navy); color: #fff; }

/* ---------- practice-area checkerboard grid (What We Do) ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { padding: 2.4rem 2rem; display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.35rem; margin-bottom: .9rem; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a:hover { color: var(--gold); }
.service-card p { margin: 0 0 1.4rem; flex: 1; }
.service-card:nth-child(odd) { background: var(--navy); color: rgba(255,255,255,.88); }
.service-card:nth-child(odd) h3 { color: #fff; }
.service-card:nth-child(even) { background: #fff; color: var(--ink); }
.service-card:nth-child(even) h3 { color: var(--navy); }
.service-more { display: inline-flex; align-items: center; gap: .55rem; color: var(--gold); font-weight: 500; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; margin-top: auto; }
.service-more:hover { color: var(--gold-dark); }
.service-more::before { content: "+"; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border: 1.5px solid currentColor; border-radius: 50%; font-size: .8rem; line-height: 1; }

/* ---------- home "meet the team" band ---------- */
.team-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.team-band::before { content: ""; position: absolute; inset: 0; background: url("uploads/2022/02/video-bg-2-1.png") top center / auto no-repeat; opacity: .5; mix-blend-mode: overlay; pointer-events: none; }
.team-band .container { position: relative; z-index: 1; }
.team-band .section-head { max-width: 640px; }
.team-band h2, .team-band .kicker { color: #fff; }
.team-band .kicker { color: var(--gold); }
.team-band p { color: rgba(255,255,255,.9); }

/* ---------- team ---------- */
.team-card { text-align: center; }
.team-photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--soft); border-bottom: 4px solid var(--gold); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .35s; }
.team-photo:hover img { transform: scale(1.04); }
.team-card h3 { margin: 1rem 0 .15rem; font-size: 1.1rem; }
.team-card h3 a { text-decoration: none; }
.team-card p { color: var(--gold-dark); font-weight: 500; font-size: .9rem; margin: 0; }

.profile { display: grid; gap: 2rem; }
.profile-photo img { border-radius: var(--radius); width: 100%; max-width: 420px; display: block; border-bottom: 5px solid var(--gold); }
.profile h2.name { margin-bottom: .1rem; }
.profile .role { color: var(--gold-dark); font-weight: 500; letter-spacing: .05em; text-transform: uppercase; font-size: .85rem; margin-bottom: 1rem; }
@media (min-width: 900px) { .profile { grid-template-columns: 1fr 340px; align-items: start; gap: 3rem; } .profile-side { order: 2; } .profile-main { order: 1; } }

/* ---------- prose (content from WordPress) ---------- */
.prose { max-width: 820px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2rem; font-size: 1.45rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose li > ul, .prose li > ol { margin-top: .4rem; margin-bottom: 0; }
.prose img { border-radius: var(--radius); }
.prose .figure { margin: 1.4rem 0; }
.prose blockquote { margin: 1.4rem 0; padding: 1rem 1.3rem; background: var(--soft); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; }
.prose blockquote p { margin: 0 0 .5rem; font-style: italic; }
.prose blockquote footer { font-style: normal; font-weight: 500; color: var(--navy); font-size: .9rem; }
.prose table { border-collapse: collapse; display: block; overflow-x: auto; max-width: 100%; margin-bottom: 1.2rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .5rem .75rem; text-align: left; }
.prose iframe { max-width: 100%; }
.prose .btn { margin: .3rem 0 1rem; }
.prose.wide { max-width: none; }
.check-list { list-style: none; padding-left: 0 !important; }
.check-list li { position: relative; padding-left: 1.7rem; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }
.info-box { border: 1px solid var(--line); border-left: 4px solid var(--gold); background: var(--soft); border-radius: var(--radius); padding: .9rem 1.1rem; margin-bottom: .9rem; }
.info-box h3 { margin: 0 0 .15rem; font-size: 1.05rem; }
.info-box p { margin: 0; color: var(--muted); }
details.accordion { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem; background: #fff; }
details.accordion summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 500; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.accordion summary::-webkit-details-marker { display: none; }
details.accordion summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gold-dark); }
details.accordion[open] summary::after { content: "\2212"; }
details.accordion[open] summary { border-bottom: 1px solid var(--line); background: var(--soft); }
.accordion-body { padding: 1rem 1.2rem .2rem; }
.map-embed { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- content + sidebar ---------- */
.layout { display: grid; gap: 2.4rem; }
@media (min-width: 992px) { .layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: 3.2rem; align-items: start; } }
.sidebar > * + * { margin-top: 1.6rem; }
.widget { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.widget h2, .widget h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .8rem; padding-bottom: .6rem; border-bottom: 2px solid var(--gold); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { border-bottom: 1px solid var(--line); }
.widget li:last-child { border-bottom: 0; }
.widget li a { display: block; padding: .5rem 0; text-decoration: none; font-size: .95rem; }
.widget li a:hover, .widget li a[aria-current] { color: var(--gold-dark); }
.widget .count { color: var(--muted); font-size: .85rem; }
.widget.cta { background: var(--navy); border-color: var(--navy); color: #fff; }
.widget.cta h2, .widget.cta h3 { color: #fff; border-color: var(--gold); }
.widget.cta a:not(.btn) { color: #fff; }
.widget.cta p { font-size: .95rem; }

/* ---------- testimonials ---------- */
.testimonials { background: #fff; color: var(--ink); position: relative; overflow: hidden; }
.testimonials::before { content: ""; position: absolute; inset: 0; background: url("uploads/2022/02/testimonial-bg2.png") left center / 390px auto no-repeat; opacity: .5; mix-blend-mode: luminosity; pointer-events: none; }
.testimonials .container { position: relative; z-index: 1; }
.testimonials h2 { color: var(--navy); }
.testimonials .kicker { color: var(--gold); }
.quote { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin: 0; display: flex; flex-direction: column; }
.quote p { font-family: var(--serif); font-style: normal; font-size: 1.05rem; line-height: 1.5; color: var(--navy); flex: 1; }
.quote footer { font-weight: 500; color: var(--gold); }

/* single-testimonial slider (replaces the 3-up grid on the homepage) */
.quote-slider { position: relative; max-width: 760px; margin: 0 auto; padding: 0 1rem; }
.quote-slider-foot-viewport { overflow: hidden; }
.quote-slider-track, .quote-slider-foot-track { display: flex; transition: transform 1s cubic-bezier(.25, .1, .25, 1); }
.quote-slide { flex: 0 0 100%; min-width: 0; text-align: center; padding: .5rem 0; margin: 0; }
.quote-slide p { font-family: var(--serif); font-style: normal; font-size: 1.15rem; line-height: 1.65; color: var(--navy); margin: 0; }

/* decorative quotation marks, framing the quote text itself with breathing room on either side */
.quote-slider-text-wrap { position: relative; padding: 0 5rem; }
.quote-slider-viewport { overflow: hidden; }
.quote-mark-bg { position: absolute; top: 50%; transform: translateY(-50%); font-family: Georgia, "Times New Roman", serif; font-size: 8.25rem; line-height: 1; color: rgba(1, 71, 106, .3); pointer-events: none; z-index: 0; }
.quote-mark-bg-open { left: 0; }
.quote-mark-bg-close { right: 0; }
@media (max-width: 767px) { .quote-mark-bg { font-size: 6rem; } .quote-slider-text-wrap { padding: 0 3.5rem; } }
@media (max-width: 560px) { .quote-mark-bg { font-size: 4.25rem; } .quote-slider-text-wrap { padding: 0 2.5rem; } }

.quote-slider-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .9rem; }
.quote-slider-foot-viewport { flex: 1 1 auto; min-width: 0; }
.quote-slider-foot-track footer { flex: 0 0 100%; min-width: 0; font-weight: 500; color: var(--gold); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quote-nav-group { display: flex; gap: .5rem; flex-shrink: 0; }
.quote-nav { width: 32px; height: 32px; display: grid; place-items: center; background: none; border: 0; color: #4d7e96; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0; transition: color .15s; }
.quote-nav:hover:not(:disabled) { color: var(--gold); }
.quote-nav:disabled { color: var(--line); cursor: default; }
@media (max-width: 560px) { .quote-nav { width: 26px; height: 26px; font-size: 1.3rem; } }

/* ---------- affiliations / ratings logo carousel ---------- */
.testimonials { padding-bottom: 2.5rem; }
.badges-band { background: #f6f6f6; }
.badges-carousel { position: relative; }
.badges-viewport { overflow: hidden; }
.badges-track { display: flex; align-items: center; transition: transform 1.1s cubic-bezier(.25, .1, .25, 1); will-change: transform; }
.badge-slide { flex: 0 0 24%; display: flex; align-items: center; justify-content: center; padding: 0 .8rem; }
.badge-slide img { height: 84px; width: auto; max-width: 192px; object-fit: contain; filter: grayscale(.2); }
@media (max-width: 767px) { .badge-slide { flex: 0 0 50%; } }
@media (max-width: 480px) { .badge-slide { flex: 0 0 100%; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 2.4rem; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3.2rem; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.contact-list li { margin-bottom: 1rem; }
.contact-list strong { display: block; color: var(--navy); font-family: var(--serif); }
.form { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .3rem; color: var(--navy); font-size: .92rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password], .field textarea, .field select { width: 100%; padding: .7rem .85rem; font: inherit; border: 1px solid #b9c2ca; border-radius: var(--radius); background: #fff; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy); outline: 3px solid rgba(183,157,91,.45); outline-offset: 0; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: .25rem; }
.field-error, .validation-summary { color: var(--danger); font-size: .85rem; display: block; margin-top: .25rem; }
.notice { border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.2rem; border: 1px solid; }
.notice.ok { background: #eaf6ee; border-color: #9fd2b1; color: var(--ok); }
.notice.error { background: #fdecea; border-color: #f0b4af; color: var(--danger); }
.notice.info { background: #eef5fa; border-color: #b9d5e6; color: var(--navy); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- blog ---------- */
.search-box { display: flex; gap: .4rem; }
.search-box input[type=text] { flex: 1; min-width: 0; padding: .6rem .75rem; font: inherit; border: 1px solid #b9c2ca; border-radius: var(--radius); }
.search-box .btn { padding: .6rem 1rem; }
.post-hero { margin: 0 0 1.6rem; }
.post-hero img { width: 100%; border-radius: var(--radius); display: block; }
.post-meta { color: var(--muted); font-size: .88rem; margin-bottom: 1.4rem; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; }
.post-nav { display: grid; gap: 1rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } .post-nav .next { text-align: right; } }
.post-nav small { display: block; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-dark); font-size: .75rem; }
.post-nav a { text-decoration: none; font-family: var(--serif); font-weight: 700; }
.pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin: 2.4rem 0 0; padding: 0; }
.pager a, .pager .current { display: block; min-width: 2.5rem; text-align: center; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pager .current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager a:hover { background: var(--soft); border-color: var(--gold); }
.pager .gap { padding: .45rem .2rem; color: var(--muted); }
.empty { padding: 2rem; text-align: center; background: var(--soft); border-radius: var(--radius); }

/* ---------- footer ---------- */
.site-footer {
    background-color: #003F5F;
    background-image: url("uploads/2020/02/slider_image1.png");
    background-position: center left;
    background-repeat: no-repeat;
    background-size: cover;
    color: rgba(255,255,255,.88);
    font-size: .93rem;
    position: relative;
}
.site-footer h2 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { position: relative; z-index: 1; display: grid; gap: 2rem; padding-block: 3rem 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } .service-areas { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1.4fr; } .service-areas { grid-column: auto; } }
.office { margin-bottom: .9rem; line-height: 1.55; }
.office a { text-decoration: none; }
.office a:hover strong { color: var(--gold); }
.social { list-style: none; display: flex; gap: .7rem; padding: 0; margin: 1.2rem 0 0; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--navy-dark) !important; font-size: .8rem; font-weight: 700; text-decoration: none !important; }
.social a:hover { background: #fff; }
.footer-bottom { position: relative; z-index: 1; padding: 1.3rem 0; font-size: .82rem; background: #fff; color: var(--navy); }
.footer-bottom .container { max-width: none; width: 100%; margin: 0; padding-left: 1rem; padding-right: 1rem; display: flex; align-items: flex-start; gap: 1rem; text-align: left; }
.footer-bottom-copy { flex: 0 0 30%; max-width: 30%; }
.footer-bottom-disclaimer { flex: 1 1 auto; max-width: none; }
.footer-bottom p { margin: 0 0 .3rem; }
.footer-bottom p:last-child { margin-bottom: 0; }
.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { text-decoration: underline; }
.disclaimer { max-width: none; font-size: .78rem; font-style: italic; color: #6b7280; }
@media (max-width: 600px) {
    .footer-bottom .container { flex-direction: column; }
    .footer-bottom-copy, .footer-bottom-disclaimer { flex-basis: 100%; max-width: 100%; }
}
.to-top { position: fixed; right: 1rem; bottom: 1rem; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; text-decoration: none; font-size: 1.3rem; box-shadow: 0 4px 12px rgba(0,0,0,.3); z-index: 90; }
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--navy); color: #fff; }

/* ---------- scroll-entrance animations (ported from the live site's Elementor entrance-animation system) ---------- */
[data-reveal] { opacity: 0; }
[data-reveal].in-view {
    animation-duration: .8s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
    animation-delay: var(--reveal-delay, 0s);
}
[data-reveal="fadeInUp"].in-view { animation-name: kl-fadeInUp; }
[data-reveal="slideInUp"].in-view { animation-name: kl-slideInUp; }
[data-reveal="slideInLeft"].in-view { animation-name: kl-slideInLeft; animation-duration: 2s; }
[data-reveal="kickerFade"].in-view { animation-name: kl-kickerFade; animation-duration: .6s; }
[data-reveal="fadeIn"].in-view { animation-name: kl-fadeIn; animation-duration: .6s; }

@keyframes kl-fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes kl-fadeInUp {
    from { opacity: 0; transform: translate3d(0, 60px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes kl-slideInUp {
    from { opacity: 0; transform: translate3d(0, 80px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes kl-slideInLeft {
    from { opacity: 0; transform: translate3d(-60px, 0, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes kl-kickerFade {
    from { opacity: 0; transform: translate3d(0, 14px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ---------- admin ---------- */
.admin-bar { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.admin-bar nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data th { background: var(--soft); font-weight: 500; white-space: nowrap; }
.badge { display: inline-block; font-size: .72rem; padding: .1rem .55rem; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); }
.badge.draft { background: #fff5db; border-color: #e5cf8e; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 700px) { .form-row.two { grid-template-columns: 1fr 1fr; } .form-row.three { grid-template-columns: 1fr 1fr 1fr; } }
textarea.code { font-family: Consolas, "Courier New", monospace; font-size: .88rem; min-height: 380px; }
.admin-narrow { max-width: 460px; margin-inline: auto; }

/* ---------- misc ---------- */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } [data-reveal] { opacity: 1 !important; } }
@media print {
    .topbar, .site-header, .page-banner .crumbs, .site-footer, .to-top, .sidebar, .pager { display: none !important; }
    body { color: #000; }
    .page-banner { background: none; color: #000; padding: 0; }
    .page-banner h1 { color: #000; }
    a { color: #000; }
}
