/* =========================================================
   Inner-page additions — Medical Specialists Associates
   Reuses tokens/components from assets/css/style.css.
   Adds: page header + breadcrumb, scroll-reveal, counters,
   timeline, FAQ accordion, team cards, related-service tiles.
   ========================================================= */
/* ----- Page header (breadcrumb hero, shorter than homepage hero) ----- */
.page-header { position: relative; overflow: hidden; isolation: isolate; padding: 0;  }
.page-header .hero-bg { position: absolute; inset: 0; background-size: contain; background-position: right; z-index: -2; background-repeat: no-repeat; background-color: #102f5c;  }
.page-header .hero-overlay { position: absolute; inset: 0; background: linear-gradient(115deg, rgb(13 28 77 / 94%) 0%, rgba(18, 59, 102, 0.82) 55%, rgba(18, 59, 102, 0.55) 100%); z-index: -1;  }
.page-header-inner { padding: 6.5rem 0 4rem; position: relative; z-index: 2;  }
.page-header .eyebrow { color: #F6C6C2;  }
.page-header h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: #fff !important; font-weight: 600; margin-bottom: .9rem; line-height: 1.16;  }
.page-header p.lead-sub { color: #DCE7F1; font-size: 1.02rem; max-width: 40rem; margin-bottom: 0;  }
.page-header .lead-sub h3,.page-header .lead-sub h4,.page-header .lead-sub h5,.page-header .lead-sub h6 { color:#DCE7F1 !important;  }
.page-header .lead-sub p { color: #DCE7F1; font-size: 1.02rem; margin-bottom: 0;  }
.breadcrumb-trail { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.4rem; font-size: .82rem; font-weight: 600;  }
.breadcrumb-trail li { color: rgba(255,255,255,.65); display: flex; align-items: center; gap: .4rem;  }
.breadcrumb-trail li a { color: #fff; text-decoration: none; opacity: .85; transition: opacity .2s ease;  }
.breadcrumb-trail li a:hover { opacity: 1; text-decoration: underline;  }
.breadcrumb-trail li:not(:last-child)::after { content: "\f285"; font-family: "bootstrap-icons"; font-size: .65rem; margin-left: .4rem; opacity: .55;  }
.breadcrumb-trail li:last-child { color: #F6C6C2;  }
/* ----- Scroll-reveal (progressive, unlike homepage's load-once fadeUp) ----- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);  }
[data-reveal].is-visible { opacity: 1; transform: translateY(0);  }
[data-reveal="fade-left"] { transform: translateX(-30px);  }
[data-reveal="fade-left"].is-visible { transform: translateX(0);  }
[data-reveal="fade-right"] { transform: translateX(30px);  }
[data-reveal="fade-right"].is-visible { transform: translateX(0);  }
[data-reveal="zoom"] { transform: scale(.94);  }
[data-reveal="zoom"].is-visible { transform: scale(1);  }
/* Stagger children inside a revealed group */
[data-reveal-group] [data-reveal] { transition-delay: calc(var(--stagger, 0) * 90ms);  }
@media (prefers-reduced-motion:reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none;  }
}
/* ----- Breadcrumb bar under header (secondary, for pages without image header) ----- */
.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 92px; z-index: 900;  }
.subnav .nav-link { color: #4C6072; font-weight: 600; font-size: .88rem; padding: .9rem .9rem !important; border-bottom: 2px solid transparent;  }
.subnav .nav-link.active,.subnav .nav-link:hover { color: var(--navy); border-bottom-color: var(--orange);  }
/* ----- Intro split section ----- */
.intro-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft);  }
.intro-media img { width: 100%; display: block; transition: transform .6s ease;  }
.intro-media:hover img { transform: scale(1.04);  }
.intro-badge { position: absolute; left: 1.4rem; bottom: 1.4rem; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-radius: 14px; padding: .9rem 1.2rem; display: flex; align-items: center; gap: .7rem; box-shadow: 0 10px 30px rgba(18,59,102,.18);  }
.intro-badge i { font-size: 1.5rem; color: var(--orange);  }
.intro-badge strong { display: block; color: var(--navy); font-size: 1.1rem; line-height: 1.1;  }
.intro-badge span { font-size: .74rem; color: #6C8290; text-transform: uppercase; letter-spacing: .04em;  }
/* ----- Counters ----- */
.counter-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; color: #fff; display: inline-flex; align-items: baseline; gap: .15rem;  }
.counter-num .suffix { font-size: 1.6rem;  }
/* ----- Timeline ----- */
.timeline { position: relative; max-width: 46rem; margin: 0 auto;  }
.timeline::before { content: ""; position: absolute; left: 22px; top: 6px; bottom: 6px; width: 2px; background: var(--line);  }
.timeline-item { position: relative; padding-left: 62px; margin-bottom: 2.4rem;  }
.timeline-item:last-child { margin-bottom: 0;  }
.timeline-dot { position: absolute; left: 6px; top: 2px; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: .82rem; box-shadow: 0 0 0 6px var(--bg); transition: transform .3s ease, background .3s ease;  }
.timeline-item:hover .timeline-dot { transform: scale(1.12); background: var(--navy);  }
.timeline-item h3 { font-size: 1.05rem; margin-bottom: .3rem;  }
.timeline-item p { font-size: .92rem; color: #4C6072; margin: 0;  }
/* ----- Team / physician cards ----- */
.team-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.8rem 1.5rem; text-align: center; height: 100%; transition: transform .3s ease, box-shadow .3s ease;  }
.team-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(18,59,102,.12);  }
.team-avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1.1rem; background: var(--navy-tint); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; transition: background .3s ease, color .3s ease, transform .3s ease;  }
.team-card:hover .team-avatar { background: var(--orange); color: #fff; transform: rotate(-6deg) scale(1.05);  }
.team-card h3 { font-size: 1.02rem; margin-bottom: .15rem;  }
.team-role { color: var(--orange-dark); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .7rem; display: block;  }
.team-card p { font-size: .86rem; color: #4C6072; margin: 0;  }
/* ----- Values grid (reuses ownership-point look, vertical variant) ----- */
.value-card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 1.8rem 1.5rem; height: 100%; transition: transform .3s ease, box-shadow .3s ease;  }
.value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(18,59,102,.1);  }
.value-card .audience-icon { width: 52px; height: 52px; margin-bottom: 1rem;  }
.value-card h3 { font-size: 1.02rem; margin-bottom: .5rem;  }
.value-card p { font-size: .88rem; color: #4C6072; margin: 0;  }
/* ----- Related service tiles ----- */
.related-tile { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; height: 100%; transition: transform .3s ease, box-shadow .3s ease;  }
.related-tile:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(18,59,102,.12); color: inherit;  }
.related-tile-img { height: 150px; overflow: hidden;  }
.related-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease;  }
.related-tile:hover .related-tile-img img { transform: scale(1.08);  }
.related-tile-body { padding: 1.2rem 1.3rem 1.4rem;  }
.related-tile-body h3 { font-size: .98rem; margin-bottom: .35rem;  }
.related-tile-body span { font-size: .8rem; color: var(--orange); font-weight: 700;  }
/* ----- FAQ accordion, restyled to theme ----- */
.faq-accordion .accordion-header{margin:0;}
.faq-accordion .accordion-item { border: 1px solid var(--line); border-radius: 14px !important; margin-bottom: 1rem; overflow: hidden; background: #fff;  }
.faq-accordion .accordion-button { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1.02rem; padding: 1.2rem 1.4rem; box-shadow: none !important;  }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--navy-tint); color: var(--navy);  }
.faq-accordion .accordion-button::after { filter: hue-rotate(140deg) saturate(2);  }
.faq-accordion .accordion-body { padding: 1rem 1.4rem 1rem; color: #4C6072; font-size: .92rem;  }
/* ----- Small utility: icon pulse for CTA strip icons ----- */
.pulse-ring { position: relative;  }
.pulse-ring::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); opacity: 0; animation: pulseRing 2.4s ease-out infinite;  }
@keyframes pulseRing {
    0% { opacity: .6; transform: scale(.8);  }
    100% { opacity: 0; transform: scale(1.35);  }
}
@media (prefers-reduced-motion:reduce) {
    .pulse-ring::after { animation: none;  }
}
@media (max-width:991.98px) {
    .subnav { top: 0;  }
    .page-header-inner { padding: 3.5rem 0 2.8rem;  }
}
/* =========================================================
   MSA — INSIGHTS / BLOG ARCHIVE
========================================================= */
.blog-archive-section { padding-top: 80px; padding-bottom: 90px;  }
/* =========================================================
   ARCHIVE HEADER
========================================================= */
.blog-archive-section .section-head { max-width: 760px; margin-left: auto; margin-right: auto; margin-bottom: 55px;  }
.blog-archive-section .section-title { margin-bottom: 14px;  }
.blog-archive-section .section-sub { max-width: 680px; margin-left: auto; margin-right: auto;  }
/* =========================================================
   POST CARD
========================================================= */
.post-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #ffffff; border: 1px solid var(--line); border-radius: 18px; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;  }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(18, 59, 102, 0.10);  }
/* =========================================================
   POST IMAGE
========================================================= */
.post-card-image { position: relative; display: block; width: 100%; height: 240px; overflow: hidden; background: #eef2f6;  }
.post-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease;  }
.post-card:hover .post-card-image img { transform: scale(1.04);  }
/* =========================================================
   IMAGE PLACEHOLDER
========================================================= */
.post-card-image-placeholder { display: flex; align-items: center; justify-content: center; color: #123b66; font-size: 3rem; text-decoration: none;  }
/* =========================================================
   CONTENT
========================================================= */
.post-card-content { padding: 24px 24px 25px;  }
/* =========================================================
   CATEGORY
========================================================= */
.post-card-category { margin-bottom: 10px; color: #d4433d; font-size: 0.72rem; line-height: 1.2; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;  }
/* =========================================================
   TITLE
========================================================= */
.post-card-title { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.32; font-weight: 600;  }
.post-card-title a { color: #123b66; text-decoration: none; transition: color 0.2s ease;  }
.post-card-title a:hover { color: #d4433d;  }
/* =========================================================
   META
========================================================= */
.post-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; color: #7a8794; font-size: 0.78rem;  }
.post-card-meta span { display: inline-flex; align-items: center; gap: 6px;  }
.post-card-meta i { color: #d4433d;  }
/* =========================================================
   EXCERPT
========================================================= */
.post-card-excerpt { margin-bottom: 22px; color: #526170; font-size: 0.92rem; line-height: 1.7;  }
/* =========================================================
   FOOTER / READ MORE
========================================================= */
.post-card-footer { padding-top: 5px;  }
.post-card-link { display: inline-flex; align-items: center; gap: 8px; color: #123b66; font-size: 0.88rem; font-weight: 700; text-decoration: none; transition: color 0.2s ease, gap 0.2s ease;  }
.post-card-link i { transition: transform 0.2s ease;  }
.post-card-link:hover { color: #d4433d; gap: 11px;  }
.post-card-link:hover i { transform: translateX(2px);  }
/* =========================================================
   PAGINATION
========================================================= */
.blog-pagination { display: flex; justify-content: center; margin-top: 60px !important;  }
.blog-pagination .nav-links { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;  }
.blog-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; background: #ffffff; color: #123b66; font-size: 0.84rem; font-weight: 600; text-decoration: none; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;  }
.blog-pagination .page-numbers:hover { background: #123b66; border-color: #123b66; color: #ffffff;  }
.blog-pagination .page-numbers.current { background: #d4433d; border-color: #d4433d; color: #ffffff;  }
.blog-pagination .page-numbers.dots { border-color: transparent; background: transparent;  }
/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width:991.98px) {
    .blog-archive-section { padding-top: 65px; padding-bottom: 75px;  }
    .post-card-image { height: 220px;  }
}
@media (max-width:767.98px) {
    .blog-archive-section { padding-top: 55px; padding-bottom: 60px;  }
    .blog-archive-section .section-head { margin-bottom: 40px;  }
    .post-card-image { height: 220px;  }
    .post-card-content { padding: 21px 20px 23px;  }
    .post-card-title { font-size: 1.22rem;  }
}
/* =========================================================
   MSA — SINGLE BLOG POST
========================================================= */
/* =========================================================
   HEADER
========================================================= */
.single-post-header { padding: 75px 0 65px; background: #f5f7f9; text-align: center;  }
.single-post-header-inner { max-width: 900px; margin: 0 auto;  }
.single-post-category { margin-bottom: 14px; color: #d4433d; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;  }
.single-post-title { margin: 0 auto 18px; color: #123b66; font-size: clamp( 2rem, 4vw, 3.5rem ); line-height: 1.15; font-weight: 600;  }
.single-post-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; color: #718096; font-size: 0.86rem;  }
.single-post-meta span { display: inline-flex; align-items: center; gap: 6px;  }
.single-post-meta i { color: #d4433d;  }
.single-post-meta-separator { color: #b5bdc6;  }
/* =========================================================
   FEATURED IMAGE
========================================================= */
.single-post-featured { padding: 55px 0 0;  }
.single-post-featured-image { overflow: hidden; border-radius: 18px; background: #eef2f6;  }
.single-post-featured-image img { display: block; width: 100%; max-height: 600px; object-fit: cover;  }
/* =========================================================
   ARTICLE BODY
========================================================= */
.single-post-body { padding: 65px 0 70px;  }
.single-post-content { color: #394b5c; font-size: 1.02rem; line-height: 1.85;  }
.single-post-content>*:first-child { margin-top: 0;  }
.single-post-content h2 { margin-top: 42px; margin-bottom: 17px; color: #123b66; font-size: 1.85rem; line-height: 1.3;  }
.single-post-content h3 { margin-top: 35px; margin-bottom: 14px; color: #123b66; font-size: 1.45rem;  }
.single-post-content h4 { margin-top: 28px; color: #123b66;  }
.single-post-content p { margin-bottom: 20px;  }
.single-post-content ul,.single-post-content ol { margin-bottom: 25px; padding-left: 25px;  }
.single-post-content li { margin-bottom: 8px;  }
.single-post-content a { color: #d4433d; text-decoration: underline;  }
.single-post-content blockquote { margin: 35px 0; padding: 25px 30px; border-left: 4px solid #d4433d; background: #f5f7f9; color: #123b66; font-size: 1.1rem; font-style: italic;  }
.single-post-content img { max-width: 100%; height: auto; border-radius: 10px;  }
.single-post-content table { width: 100%; margin: 30px 0; border-collapse: collapse;  }
.single-post-content th,.single-post-content td { padding: 12px; border: 1px solid var(--line); text-align: left;  }
/* =========================================================
   POST TAXONOMY
========================================================= */
.single-post-taxonomy { margin-top: 45px; padding-top: 25px; border-top: 1px solid var(--line); color: #657383; font-size: 0.86rem;  }
.single-post-taxonomy-row { margin-bottom: 8px;  }
.single-post-taxonomy-row strong { color: #123b66;  }
/* =========================================================
   PREVIOUS / NEXT
========================================================= */
.single-post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 45px; padding-top: 30px; border-top: 1px solid var(--line);  }
.single-post-nav-prev { text-align: left;  }
.single-post-nav-next { text-align: right;  }
.single-post-navigation a { display: inline-flex; flex-direction: column; gap: 7px; color: #123b66; text-decoration: none;  }
.single-post-navigation .nav-label { color: #d4433d; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;  }
.single-post-navigation .nav-title { font-size: 0.92rem; font-weight: 600;  }
.single-post-navigation a:hover { color: #d4433d;  }
/* =========================================================
   RELATED POSTS
========================================================= */
.single-related-posts { padding: 75px 0 85px; background: #f5f7f9;  }
.single-related-posts .section-head { margin-bottom: 45px;  }
/* =========================================================
   CTA
========================================================= */
.single-post-cta { padding: 75px 0; background: linear-gradient( 110deg, #d4433d, #e05a54 ); color: #ffffff; text-align: center;  }
.single-post-cta-inner { max-width: 800px; margin: 0 auto;  }
.single-post-cta .eyebrow { color: #ffffff; opacity: 0.85;  }
.single-post-cta h2 { margin-bottom: 15px; color: #ffffff; font-size: clamp( 1.7rem, 3vw, 2.4rem );  }
.single-post-cta p { max-width: 650px; margin: 0 auto 25px; color: rgba( 255, 255, 255, 0.9 );  }
/* =========================================================
   MOBILE
========================================================= */
@media (max-width:767.98px) {
    .single-post-header { padding: 55px 0 45px;  }
    .single-post-featured { padding-top: 30px;  }
    .single-post-featured-image { border-radius: 12px;  }
    .single-post-body { padding: 50px 0 55px;  }
    .single-post-content { font-size: 0.97rem;  }
    .single-post-navigation { grid-template-columns: 1fr; gap: 25px;  }
    .single-post-nav-next { text-align: left;  }
    .single-related-posts { padding: 55px 0 60px;  }
    .single-post-cta { padding: 55px 0;  }
}
/* =========================================================
   MSA - BOOK ARCHIVE
========================================================= */
.book-archive-header { padding: 75px 0 35px;  }
.book-archive-header .section-head { max-width: 760px; margin: 0 auto;  }
.book-archive-section { padding: 35px 0 90px;  }
/* =========================================================
   BOOK LIST
========================================================= */
.book-archive-list { display: flex; flex-direction: column; gap: 35px;  }
/* =========================================================
   BOOK CARD
========================================================= */
.book-card { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 45px; padding: 35px; background: #ffffff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 25px rgba(18, 59, 102, 0.04); transition: transform 0.3s ease, box-shadow 0.3s ease;  }
.book-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18, 59, 102, 0.09);  }
/* =========================================================
   BOOK IMAGE
========================================================= */
.book-card-image { display: flex; align-items: center; justify-content: center; min-height: 350px; overflow: hidden; border-radius: 12px; background: #f3f5f7;  }
.book-card-image a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;  }
.book-card-image img { display: block; width: 100%; height: 350px; object-fit: contain; transition: transform 0.4s ease;  }
.book-card:hover .book-card-image img { transform: scale(1.03);  }
/* =========================================================
   PLACEHOLDER
========================================================= */
.book-card-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 350px; color: #123b66; font-size: 4rem;  }
/* =========================================================
   CONTENT
========================================================= */
.book-card-content { display: flex; flex-direction: column; justify-content: center;  }
.book-card-content .eyebrow { margin-bottom: 10px; color: #d4433d;  }
.book-card-title { margin: 0 0 10px; font-size: 2rem; line-height: 1.25;  }
.book-card-title a { color: #123b66; text-decoration: none;  }
.book-card-title a:hover { color: #d4433d;  }
.book-card-author { margin: 0 0 20px; color: #718096; font-size: 0.9rem; font-weight: 600;  }
.book-card-description { margin-bottom: 25px; color: #526170; font-size: 0.96rem; line-height: 1.75;  }
.book-card-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap;  }
.book-card-actions .btn { min-width: 110px;  }
/* =========================================================
   GLOBAL ARCHIVE PAGINATION
========================================================= */
.archive-pagination { display: flex; justify-content: center; margin-top: 55px; background: transparent !important;  }
.archive-pagination ul,.archive-pagination .nav-links { display: flex; align-items: center; justify-content: center; gap: 4px; list-style: none !important; margin: 0 !important; padding: 0 !important; background: transparent !important;  }
.archive-pagination li { list-style: none !important; margin: 0 !important; padding: 0 !important; background: transparent !important;  }
/* =========================================================
   PAGINATION BUTTON
========================================================= */
.archive-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border: none !important; border-radius: 7px; background: transparent !important; color: #123b66; text-decoration: none; font-size: 0.85rem; font-weight: 600; transition: background-color 0.2s ease, color 0.2s ease;  }
/* =========================================================
   HOVER
========================================================= */
.archive-pagination .page-numbers:hover { background: transparent !important; color: #d4433d;  }
/* =========================================================
   CURRENT PAGE
========================================================= */
.archive-pagination .page-numbers.current { background: #d4433d !important; color: #ffffff !important;  }
/* =========================================================
   CURRENT PAGE HOVER
========================================================= */
.archive-pagination .page-numbers.current:hover { background: #d4433d !important; color: #ffffff !important;  }
/* =========================================================
   MOBILE
========================================================= */
@media (max-width:991.98px) {
    .book-card { grid-template-columns: 240px minmax(0, 1fr); gap: 30px; padding: 28px;  }
    .book-card-image,.book-card-placeholder { min-height: 300px; height: 300px;  }
    .book-card-image img { height: 300px;  }
    .book-card-title { font-size: 1.65rem;  }
}
@media (max-width:767.98px) {
    .book-archive-header { padding: 55px 0 25px;  }
    .book-archive-section { padding: 25px 0 60px;  }
    .book-card { display: flex; flex-direction: column; gap: 25px; padding: 20px;  }
    .book-card-image,.book-card-placeholder { min-height: 320px; height: 320px;  }
    .book-card-image img { height: 320px;  }
    .book-card-title { font-size: 1.45rem;  }
    .book-card-actions { align-items: stretch; flex-direction: column;  }
    .book-card-actions .btn { width: 100%;  }
}
/* =========================================================
   MSA - RESOURCE CENTER
========================================================= */
/* =========================================================
   HERO
========================================================= */
.resource-center-hero { padding: 85px 0 75px; background: #f5f7f9; text-align: center;  }
.resource-center-hero-inner { max-width: 820px; margin: 0 auto;  }
.resource-center-title { margin: 0 0 18px; color: #123b66; font-size: clamp( 2.3rem, 5vw, 4rem ); line-height: 1.12; font-weight: 600;  }
.resource-center-subtitle { max-width: 680px; margin: 0 auto; color: #526170; font-size: 1.05rem; line-height: 1.7;  }
/* =========================================================
   RESOURCE CARDS
========================================================= */
.resource-center-section { padding: 85px 0 95px;  }
.resource-center-section .section-head { max-width: 760px; margin: 0 auto 50px;  }
.resource-center-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 32px 30px; background: #ffffff; border: 1px solid var(--line); border-radius: 18px; color: inherit; text-decoration: none; box-shadow: 0 7px 22px rgba(18, 59, 102, 0.04); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;  }
.resource-center-card:hover { transform: translateY(-7px); border-color: rgba( 212, 67, 61, 0.35 ); box-shadow: 0 18px 40px rgba(18, 59, 102, 0.10); color: inherit; text-decoration: none;  }
/* =========================================================
   ICON
========================================================= */
.resource-center-icon { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; margin-bottom: 22px; border-radius: 15px; background: #eef3f9; color: #123b66; font-size: 1.65rem; transition: background-color 0.3s ease, color 0.3s ease;  }
.resource-center-card:hover .resource-center-icon { background: #fff1f0; color: #d4433d;  }
/* =========================================================
   CARD CONTENT
========================================================= */
.resource-center-card h3 { margin: 0 0 10px; color: #123b66; font-size: 1.45rem; line-height: 1.3; font-weight: 600;  }
.resource-center-card p { margin: 0 0 25px; color: #5b6978; font-size: 0.93rem; line-height: 1.7;  }
/* =========================================================
   CARD LINK
========================================================= */
.resource-center-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: #123b66; font-size: 0.86rem; font-weight: 700; transition: color 0.2s ease, gap 0.2s ease;  }
.resource-center-card:hover .resource-center-link { color: #d4433d; gap: 11px;  }
/* =========================================================
   FEATURED RESOURCE
========================================================= */
.resource-center-featured { padding: 80px 0; background: #f5f7f9;  }
.resource-center-featured-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 55px 60px; border-radius: 20px; background: #123b66; color: #ffffff;  }
.resource-center-featured-content { max-width: 700px;  }
.resource-center-featured-content .eyebrow { color: #ffffff; opacity: 0.75;  }
.resource-center-featured-content h2 { margin-bottom: 15px; color: #ffffff; font-size: clamp( 1.8rem, 3vw, 2.5rem ); line-height: 1.25;  }
.resource-center-featured-content p { margin-bottom: 25px; color: rgba( 255, 255, 255, 0.85 ); line-height: 1.7;  }
.resource-center-featured-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 130px; height: 130px; border-radius: 50%; background: rgba( 255, 255, 255, 0.10 ); color: #ffffff; font-size: 4rem;  }
/* =========================================================
   CTA
========================================================= */
.resource-center-cta { padding: 80px 0; background: linear-gradient( 110deg, #d4433d, #e05a54 ); color: #ffffff; text-align: center;  }
.resource-center-cta-inner { max-width: 780px; margin: 0 auto;  }
.resource-center-cta .eyebrow { color: #ffffff; opacity: 0.85;  }
.resource-center-cta h2 { margin-bottom: 15px; color: #ffffff; font-size: clamp( 1.8rem, 3vw, 2.5rem );  }
.resource-center-cta p { max-width: 650px; margin: 0 auto 28px; color: rgba( 255, 255, 255, 0.9 ); line-height: 1.7;  }
/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width:767.98px) {
    .resource-center-hero { padding: 60px 0 55px;  }
    .resource-center-section { padding: 60px 0 65px;  }
    .resource-center-section .section-head { margin-bottom: 35px;  }
    .resource-center-card { padding: 27px 24px;  }
    .resource-center-featured { padding: 60px 0;  }
    .resource-center-featured-inner { flex-direction: column; align-items: flex-start; padding: 38px 28px; gap: 30px;  }
    .resource-center-featured-icon { width: 90px; height: 90px; font-size: 2.7rem;  }
    .resource-center-cta { padding: 60px 0;  }
}
/* =========================================================
   MSA STORE
========================================================= */
/* =========================================================
   STORE HERO
========================================================= */
.store-hero { padding: 80px 0 70px; background: #f5f7f9; text-align: center;  }
.store-hero-inner { max-width: 800px; margin: 0 auto;  }
.store-title { margin: 0 0 18px; color: #123b66; font-size: clamp( 2.5rem, 5vw, 4rem ); line-height: 1.1;  }
.store-subtitle { max-width: 680px; margin: 0 auto; color: #526170; font-size: 1.05rem; line-height: 1.7;  }
/* =========================================================
   STORE SECTION
========================================================= */
.store-section { padding: 75px 0 95px;  }
/* =========================================================
   FILTERS
========================================================= */
.store-filters { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 45px;  }
.store-filter { display: inline-flex; align-items: center; justify-content: center; min-width: 90px; padding: 10px 22px; border: 1px solid #dce3ea; border-radius: 30px; background: #ffffff; color: #123b66; font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;  }
.store-filter:hover,.store-filter.active { background: #d4433d; border-color: #d4433d; color: #ffffff; text-decoration: none;  }
/* =========================================================
   RESULTS HEADER
========================================================= */
.store-results-header { margin-bottom: 25px;  }
.store-results-header p { margin: 0; color: #687787; font-size: 0.9rem;  }
/* =========================================================
   PRODUCT GRID
========================================================= */
.store-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;  }
/* =========================================================
   PRODUCT CARD
========================================================= */
.store-product-card { display: flex; flex-direction: column; overflow: hidden; background: #ffffff; border: 1px solid #e2e7ec; border-radius: 18px; box-shadow: 0 8px 25px rgba( 18, 59, 102, 0.04 ); transition: transform 0.3s ease, box-shadow 0.3s ease;  }
.store-product-card:hover { transform: translateY(-7px); box-shadow: 0 20px 45px rgba( 18, 59, 102, 0.11 );  }
/* =========================================================
   PRODUCT IMAGE
========================================================= */
.store-product-image { display: flex; align-items: center; justify-content: center; height: 330px; overflow: hidden; background: #f3f5f7;  }
.store-product-image img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease;  }
.store-product-card:hover .store-product-image img { transform: scale(1.03);  }
/* =========================================================
   PRODUCT CONTENT
========================================================= */
.store-product-content { display: flex; flex-direction: column; flex: 1; padding: 27px 25px 28px;  }
.store-product-category { margin-bottom: 9px; color: #d4433d; font-size: 0.68rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;  }
.store-product-title { margin: 0 0 12px; font-size: 1.35rem; line-height: 1.3;  }
.store-product-title a { color: #123b66; text-decoration: none;  }
.store-product-title a:hover { color: #d4433d; text-decoration: none;  }
/* =========================================================
   DESCRIPTION
========================================================= */
.store-product-description { margin-bottom: 20px; color: #617080; font-size: 0.9rem; line-height: 1.65;  }
.store-product-description p { margin: 0;  }
/* =========================================================
   PRICE
========================================================= */
.store-product-price { margin-bottom: 22px; color: #123b66; font-size: 1.15rem; font-weight: 700;  }
.store-product-price del { margin-right: 5px; color: #8b969f; font-size: 0.9rem;  }
.store-product-price ins { text-decoration: none;  }
/* =========================================================
   PRODUCT BUTTON
========================================================= */
.store-product-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; margin-top: auto; padding: 11px 20px; border-radius: 25px; background: #d4433d; color: #ffffff; font-size: 0.86rem; font-weight: 700; text-decoration: none; transition: background-color 0.25s ease, transform 0.25s ease;  }
.store-product-button:hover { background: #123b66; color: #ffffff; text-decoration: none; transform: translateY(-2px);  }
/* =========================================================
   PAGINATION
========================================================= */
.store-pagination { display: flex; justify-content: center; margin-top: 55px;  }
.store-pagination ul { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none;  }
.store-pagination li { margin: 0; padding: 0;  }
.store-pagination a,.store-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 8px 14px; border: 0; border-radius: 8px; background: #ffffff; color: #123b66; font-size: 0.88rem; font-weight: 600; text-decoration: none; transition: background-color 0.25s ease, color 0.25s ease;  }
.store-pagination a:hover { background: #d4433d; color: #ffffff; text-decoration: none;  }
.store-pagination .current { background: #d4433d; color: #ffffff;  }
/* =========================================================
   EMPTY STORE
========================================================= */
.store-empty { padding: 80px 20px; text-align: center;  }
.store-empty h2 { margin-bottom: 12px; color: #123b66;  }
.store-empty p { margin: 0; color: #667585;  }
/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width:991.98px) {
    .store-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr));  }
}
@media (max-width:767.98px) {
    .store-hero { padding: 60px 0 55px;  }
    .store-section { padding: 55px 0 65px;  }
    .store-filters { flex-wrap: wrap; margin-bottom: 35px;  }
    .store-product-grid { grid-template-columns: 1fr; gap: 22px;  }
    .store-product-image { height: 300px;  }
    .store-product-content { padding: 24px 22px 25px;  }
    .store-pagination ul { gap: 4px;  }
    .store-pagination a,.store-pagination span { min-width: 38px; min-height: 38px; padding: 7px 10px;  }
}




/* =========================================================
   MSA - SINGLE TESTIMONIAL
========================================================= */

.single-testimonial-header {
    padding: 70px 0;
    background: #f4f7fa;
    text-align: center;
}

.single-testimonial-header-inner {
    max-width: 900px;
    margin: 0 auto;
}

.single-testimonial-title {
    margin: 0;
    color: #123252;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    line-height: 1.2;
}

.single-testimonial-body {
    padding: 80px 0;
    background: #fff;
}

.testimonial-detail {
    padding: 48px;
    border: 1px solid #e7e4df;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(18, 50, 82, 0.06);
}

.testimonial-detail-quote {
    text-align: center;
}

.testimonial-quote-icon {
    display: block;
    margin-bottom: 18px;
    color: #d9433e;
    font-size: 42px;
    line-height: 1;
}

.testimonial-detail-quote blockquote {
    margin: 0;
    color: #123252;
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    font-weight: 400;
    line-height: 1.8;
}

.testimonial-detail-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #e7e4df;
}

.testimonial-author-initials {
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #123252;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

.testimonial-author-info {
    text-align: left;
}

.testimonial-author-name {
    margin: 0 0 5px;
    color: #123252;
    font-size: 1.1rem;
    font-weight: 600;
}

.testimonial-author-credentials,
.testimonial-author-organization {
    margin: 4px 0 0;
    color: #68788a;
    font-size: 0.95rem;
    line-height: 1.6;
}

.testimonial-parent-service {
    margin-top: 28px;
    text-align: center;
    font-size: 0.95rem;
}

.testimonial-parent-service span {
    color: #68788a;
}

.testimonial-parent-service a {
    color: #123252;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-testimonial-cta {
    padding: 65px 0;
    background: #d9433e;
    color: #fff;
    text-align: center;
}

.single-testimonial-cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.single-testimonial-cta .eyebrow {
    color: #fff;
}

.single-testimonial-cta h2 {
    margin: 0 0 18px;
    color:#fff !important;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.3;
}

.single-testimonial-cta p:not(.eyebrow) {
    margin: 0 auto 26px;
    max-width: 650px;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .single-testimonial-header {
        padding: 48px 0;
    }

    .single-testimonial-body {
        padding: 48px 0;
    }

    .testimonial-detail {
        padding: 28px 22px;
    }

    .testimonial-detail-author {
        align-items: flex-start;
    }

    .single-testimonial-cta {
        padding: 48px 0;
    }
}



/* =========================================================
   MSA - TESTIMONIALS LISTING PAGE
========================================================= */

.testimonials-page-header {
    padding: 70px 0;
    background: #f4f7fa;
    text-align: center;
}

.testimonials-page-heading {
    max-width: 850px;
    margin: 0 auto;
}

.testimonials-page-title {
    margin: 0 0 18px;
    color: #123252;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    line-height: 1.2;
}

.testimonials-page-intro {
    max-width: 700px;
    margin: 0 auto;
    color: #68788a;
    font-size: 1.05rem;
    line-height: 1.8;
}

.testimonials-list-section {
    padding: 75px 0;
    background: #fff;
}

.msa-testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
    border: 1px solid #e7e4df;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(18, 50, 82, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.msa-testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(18, 50, 82, 0.09);
}

.msa-testimonial-card-quote {
    flex: 1;
    text-align: center;
}

.msa-testimonial-quote-icon {
    display: block;
    margin-bottom: 14px;
    color: #d9433e;
    font-size: 32px;
    line-height: 1;
}

.msa-testimonial-card-quote blockquote {
    margin: 0;
    color: #123252;
    font-size: 1rem;
    line-height: 1.8;
}

.msa-testimonial-card-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #e7e4df;
}

.msa-testimonial-avatar {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #123252;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.msa-testimonial-author-info {
    min-width: 0;
}

.msa-testimonial-author-info h2 {
    margin: 0 0 5px;
    color: #123252;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.msa-testimonial-credentials,
.msa-testimonial-organization {
    margin: 3px 0 0;
    color: #68788a;
    font-size: 0.875rem;
    line-height: 1.5;
}

.msa-testimonial-card-footer {
    margin-top: 20px;
}

.msa-testimonial-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d9433e;
    font-weight: 600;
    text-decoration: none;
}

.msa-testimonial-read-more:hover {
    color: #123252;
}

.msa-testimonials-pagination {
    margin-top: 45px;
    text-align: center;
}

.msa-testimonials-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.msa-testimonials-pagination a,
.msa-testimonials-pagination span {
    display: inline-block;
    padding: 9px 14px;
    border: 1px solid #e7e4df;
    border-radius: 4px;
    color: #123252;
    text-decoration: none;
}

.msa-testimonials-pagination .current {
    border-color: #123252;
    background: #123252;
    color: #fff;
}

.msa-testimonials-empty {
    padding: 50px 20px;
}

.msa-testimonials-empty h2 {
    color: #123252;
}

.msa-testimonials-empty p {
    color: #68788a;
}

@media (max-width: 767px) {
    .testimonials-page-header {
        padding: 48px 0;
    }

    .testimonials-list-section {
        padding: 48px 0;
    }

    .msa-testimonial-card {
        padding: 24px;
    }
}


.related-tile-img-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f8f8f6;
}

.related-tile-img-logo img {
    display: block;
    width: 100%;
    max-width: 180px;
    height: 90px;
    object-fit: contain;
}



/* =========================================
   MSA Newsletter - Subscribe Form
   Scoped to the existing Subscribe page
   ========================================= */

body.page .msa-subscribe-page .msa-newsletter-form {
    width: 100%;
    max-width: 680px;
    margin-top: 25px;
}

.msa-subscribe-page .msa-newsletter-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.msa-subscribe-page .msa-newsletter-form form > p {
    margin: 0;
}

/* Name and email fields */

.msa-subscribe-page .msa-newsletter-form form > p > label {
    display: block;
    margin-bottom: 8px;
    color: #173b61;
    font-size: 15px;
    font-weight: 600;
}

.msa-subscribe-page .msa-newsletter-form input[type="text"],
.msa-subscribe-page .msa-newsletter-form input[type="email"] {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 15px;
    border: 1px solid #d3dce5;
    border-radius: 6px;
    background: #fff;
    color: #243b53;
    font-size: 15px;
    line-height: 1.5;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}

.msa-subscribe-page .msa-newsletter-form input[type="text"]:focus,
.msa-subscribe-page .msa-newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #174574;
    box-shadow: 0 0 0 3px rgba(23, 69, 116, .12);
}

/* Mailing list section */

.msa-subscribe-page .msa-newsletter-form fieldset {
    min-width: 0;
    margin: 4px 0 0;
    padding: 0;
    border: 0;
}

.msa-subscribe-page .msa-newsletter-form legend {
    width: 100%;
    margin-bottom: 14px;
    padding: 0;
    color: #173b61;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.msa-subscribe-page .msa-newsletter-form fieldset > p {
    margin: 0 0 12px;
    padding: 16px 18px;
    border: 1px solid #dfe5eb;
    border-radius: 8px;
    background: #fafbfd;
    transition: border-color .2s, background .2s;
}

.msa-subscribe-page .msa-newsletter-form fieldset > p:hover {
    border-color: #9db3ca;
    background: #f5f8fc;
}

.msa-subscribe-page .msa-newsletter-form fieldset label {
    display: block;
    cursor: pointer;
    color: #173b61;
    font-size: 15px;
    line-height: 1.6;
}

.msa-subscribe-page .msa-newsletter-form fieldset strong {
    font-weight: 600;
}

.msa-subscribe-page .msa-newsletter-form fieldset small {
    display: inline-block;
    margin-top: 5px;
    color: #657487;
    font-size: 13px;
    line-height: 1.6;
}

/* Checkboxes */

.msa-subscribe-page .msa-newsletter-form input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0 8px 0 0;
    vertical-align: middle;
    accent-color: #c93c37;
    cursor: pointer;
}

/* Consent */

.msa-subscribe-page .msa-newsletter-form fieldset + p {
    margin-top: 4px;
}

.msa-subscribe-page .msa-newsletter-form fieldset + p label {
    color: #586b7d;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    cursor: pointer;
}

/* Subscribe button */

.msa-subscribe-page .msa-newsletter-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 32px;
    border: 1px solid #cb3e39;
    border-radius: 6px;
    background: #cb3e39;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.msa-subscribe-page .msa-newsletter-form button[type="submit"]:hover {
    background: #a92d29;
    border-color: #a92d29;
}

.msa-subscribe-page .msa-newsletter-form button[type="submit"]:focus-visible {
    outline: 3px solid #173b61;
    outline-offset: 3px;
}

/* Form messages */

.msa-subscribe-page .msa-newsletter-notice {
    margin-bottom: 18px;
    padding: 14px 18px;
    border-left: 4px solid #174574;
    border-radius: 4px;
    background: #f1f5f9;
    color: #173b61;
    line-height: 1.6;
}

/* Mobile */

@media (max-width: 767px) {
    .msa-subscribe-page .msa-newsletter-form {
        max-width: 100%;
    }

    .msa-subscribe-page .msa-newsletter-form form {
        gap: 16px;
    }

    .msa-subscribe-page .msa-newsletter-form fieldset > p {
        padding: 14px;
    }

    .msa-subscribe-page .msa-newsletter-form legend {
        font-size: 17px;
    }

    .msa-subscribe-page .msa-newsletter-form button[type="submit"] {
        width: 100%;
    }
}