:root {
  --primary-color: #0ea5e9;
  --gray-100: #f8f9fa;
  --gray-900: #212529;
  --footer: #0f172a;
  --hover: #0ea5e9;
  --slate-200: #e2e8f0;
  --slate-600: #475569;
  --slate-900: #0f172a;
}
/* Apply to entire site */
body,h1, h2, h3, h4, h5, h6 {
  font-family: ui-sans-serif, system-ui, -apple-system, 
               "Segoe UI", Roboto, Arial, sans-serif !important;
}

@media (width <= 991.98px) {
  .container-header {
    position: sticky !important;
  }
}

.wag-article-layout {
        display: grid;
        grid-template-columns: 1fr; /* Mobile-first: stacks in 1 single column */
        gap: 70px; /* The space between the text and the card */
        width: 100%;
        align-items: start; /* Prevents the card from stretching to the bottom */
    }

    /* 2. Desktop Split (Triggers on tablets and laptops) */
    @media (min-width: 992px) {
        .wag-article-layout {
            grid-template-columns: 60% minmax(0, 1fr); /* 60% for text, rest for the card */
        }
    }


.site-grid {
  background-color: #fff;
}

.moduletable {
  margin: 0 !important;
}

.footer,
main {
  margin-top: 0 !important;
}

.homepage main {
    display: none !important;
}

/* Fix white line between services and trust sections */
.services-module-wrapper {
  background-color: var(--gray-100);
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove py-5 override on the section wrapper */
section.services-module-wrapper.py-5 {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Also kill any top margin on the trust module container */
.moduletable:has(.trust-section) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* =========================================
   PREMIUM SERVICES MODULE
   ========================================= */

/* Full-bleed background for services section */
.services-module-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  background-color: #f8fafc; 
}

/* Keep the inner content centered and constrained */
.services-module-wrapper .text-center,
.services-module-wrapper .mod-jrprism {
  max-width: 1300px;
  
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  background-color: #f8fafc;
}

/* --- Section Header --- */

.services-section-subtitle {
    color: #29aeeb;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

.services-section-intro {
    max-width: 700px;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* --- Service Card Base --- */
.service-card {
    border-radius: 1rem; 
    border: 1px solid #eef0f2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
}

/* --- Service Card Image --- */
.service-card-image {
    overflow: hidden;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.service-card-image img {
    border-radius: 1rem 1rem 0 0;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

/* --- Service Card Badge (Floating Icon) --- */
.service-card-badge {
    right: 24px;
    bottom: -20px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    z-index: 2;
    opacity: 0.8; 
    transition: opacity 0.3s ease;
}

.service-card:hover .service-card-badge {
    opacity: 1;
}

/* Badge Modifiers */
.badge-boarding { background-color: var(--primary-color); }
.badge-daycare { background-color: #fbbf24; }
.badge-walking { background-color: #14b8a6; }

/* --- Service Card Typography & Links --- */
.service-card-title {
    color: #0f172a;
    font-size: 1.3rem;
}

.service-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-card-link a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-card-link a {
    color: #0c88c8;
}

.service-card:hover .btn-arrow {
    color: #0c88c8;
    transform: translateX(4px);
}

.home-services {
    background-color: #f8fafc;
}

.home-services .btn-arrow {
    color: #0ea5e9;
    transition: transform 0.2s ease;
}

.top-bar {
    background-color: #0284c7; 
}

/* Make the header background white */
.container-header {
    background-color: #ffffff !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    background-image: none !important;
    top: 0 !important;
    z-index: 100 !important;
}

/* Header logo — controlled height so it doesn't render at its full
   337x143 natural size (mobile overrides this to 44px below). */
#mod-custom102 { margin: 0; }
#mod-custom102 p { margin: 0; }
#mod-custom102 img {
    height: 72px;
    width: auto;
    max-width: none;
    display: block;
}


@media (min-width: 768px) {
  /* === NAV MENU STYLING === */

  .mod-main-menu {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mod-main-menu li a,
  .mod-main-menu li button.mm-toggler-nolink {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    background: none !important;
    border: none !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    padding: 4px 6px !important;
    font-family: ui-sans-serif, system-ui, -apple-system,
                 "Segoe UI", Roboto, Arial, sans-serif !important;
  }

  .mod-main-menu li a:hover,
  .mod-main-menu li button.mm-toggler-nolink:hover {
    color: #0ea5e9 !important;
  }

  .mod-main-menu li.active > a:not(.btn-custom-contact),
  .mod-main-menu li.current > a:not(.btn-custom-contact) {
    color: #0284c7 !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #0284c7 !important;
    display: inline-block !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
  }

  .mod-main-menu .btn-custom-contact {
    background-color: #0ea5e9 !important;
    color: #ffffff !important;
    padding: 10px 24px !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 6px rgba(186, 230, 253, 0.7) !important;
  }

  .mod-main-menu .btn-custom-contact:hover {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    text-decoration: none !important;
  }
}

.icon-chevron-down {
  color: #475569 !important;
}

/* === FOOTER BRAND === */
.footer-logo {
  max-width: 150px;
  margin-bottom: 16px;
  display: block;
}

.footer-description {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background-color: #1e293b;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  background-color: #0ea5e9;
  transform: translateY(-2px);
}

.container-footer {
  background-color: var(--footer) !important;
  background-image: none !important;
  position: relative;
}

/* Sky gradient accent along the top edge of the footer */
.container-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9, #38bdf8);
}

/* Footer column title */
.footer .moduletable h3 {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  letter-spacing: 0.05em !important;
  font-family: ui-sans-serif, system-ui, -apple-system,
               "Segoe UI", Roboto, Arial, sans-serif !important;
  position: relative;
  padding-bottom: 12px;
}

/* Sky accent bar under each footer column title */
.footer .moduletable h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--hover);
}

/* Mobile: separate the stacked footer groups */
@media (max-width: 767px) {
  .footer .moduletable h3 {
    margin-top: 2rem !important;
  }
}

/* Footer menu links */
.container-footer .mod-menu li a {
  color: #94a3b8 !important;        /* slate-400 — muted gray */
  font-size: 14px !important;
  text-decoration: none !important;
  display: block !important;
  padding: 4px 0 !important;
  border: none !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

/* Remove hover underline from footer links */
.container-footer .mod-menu li a:hover {
  color: var(--hover) !important;
  border-bottom: none !important;
  transform: translateX(4px);
}

/* Remove bullet points */
.container-footer .mod-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Footer Contact */
.footer-contact-item {
  display: flex !important;
  color: var(--hover) !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

.footer-contact-label {
  display: block !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
}

.footer-contact-phone {
  display: block !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}


.footer-bottom {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  border-top: 1px solid #1e293b !important;
  padding: 16px 0 !important;
  margin: 32px auto 0 auto !important;
  width: 95% !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
}

.footer-bottom .mod-custom,
.footer-bottom .mod-menu {
  display: flex !important;
  width: auto !important;
  flex: 0 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.footer-bottom p {
  margin: 0 !important;
}

.footer-bottom .footer-policy-menu li {
  list-style: none !important;
}

.footer-bottom .footer-policy-menu a {
  color: #94a3b8 !important;
  text-decoration: none !important;
}

.footer-bottom .footer-policy-menu a:hover {
  color: #ffffff !important;
}

.container-footer .row > div:not(:last-child) {
  padding-right: 40px !important;
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 50px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 320px;
}

.hero-badge {
  display: inline-block;
  background-color: #e0f2fe;
  color: #0284c7;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 20px;
}

.hero-highlight {
  color: #0ea5e9;
}

.hero-description {
  font-size: 20px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background-color: var(--hover);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 15px rgba(186, 230, 253, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease, transform 0.2s ease;
}


.btn-hero-primary:hover {
  background-color: #0284c7;
  color: #ffffff;
  transform: translateY(-4px);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn-hero-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-hero-secondary {
  background-color: #ffffff;
  color: #334155;
  border: 2px solid #e2e8f0;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background-color: #f8fafc;
}

.hero-image-wrapper {
  position: relative;
  flex: 1;
  min-width: 320px;
  background-color: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  width: 100%;
  border-radius: 46px;
  display: block;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.hero-image-backdrop {
  position: absolute;
  bottom: -16px;
  left: -16px;
  top: -16px;
  right: -16px;
  width: 105%;
  height: 105%;
  background-color: #e0f2fe;
  border-radius: 46px;
  z-index: 0;
  transform: rotate(4deg);
}

.hero-badge-overlay {
  position: absolute;
  bottom: -20px;
  left: 9%;
  transform: translateX(-50%);
  background-color: #ffffff;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 2;
}

.hero-badge-overlay strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
}

.hero-badge-overlay p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}

.hero-second-wrapper {
  position: relative;
  display: inline-block;
}

.hero-underline {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 10px;
}

.hero-badge-icon {
  width: 44px;
  height: 44px;
  color: #22c55e;
  background-color: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Mobile hero: let columns fit a phone screen and contain the tilted
   backdrop so it can't stretch the viewport past the device width. */
@media (max-width: 767px) {
  .hero-section {
    padding: 32px 16px;
    gap: 28px;
    overflow-x: clip;
  }
  .hero-text,
  .hero-image-wrapper {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }
  .hero-title { font-size: 40px; }
  .hero-description { font-size: 17px; max-width: 100%; }

  /* Keep the "Cage-Free" floating badge fully on-screen — the desktop
     left:9% + translateX(-50%) pushed it off the left edge on phones. */
  .hero-badge-overlay {
    left: 16px;
    transform: none;
  }

  /* Widen the "What We Do" cards — the heavy side padding (mod-jrprism
     32px + Bootstrap .px-5 48px) left only ~215px for the card. */
  .services-module-wrapper .mod-jrprism,
  .services-module-wrapper .text-center {
    padding-left: 12px;
    padding-right: 12px;
  }
  .mod-jrprism .row {
    --bs-gutter-x: 0;                 /* kill the horizontal gutter (keeps the -24px
                                          negative margin from overflowing on phones) */
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Blog / list pagination: wrap instead of running off the right edge */
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
  }
}

/* ============================================
   TRUST SECTION
   ============================================ */

.trust-section {
  background-color: #0284c7;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0 !important;
  padding: 80px 2rem;
  box-sizing: border-box;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

/* ---- LEFT ---- */
.trust-left {
  flex: 1;
  color: #ffffff;
}

.trust-heading {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.trust-subtext {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.trust-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.trust-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.trust-feature-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.trust-feature-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

.trust-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background-color: #0ea5e9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-top: 2px;
}

/* ---- RIGHT ---- */
.trust-right {
  flex: 1;
}

.trust-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.trust-stars {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.trust-star.active  { color: #f59e0b; }
.trust-star.inactive { color: #e2e8f0; }

.trust-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: #1e293b;
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
  padding: 0;
  border: none;
}

.trust-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-avatar {
  width: 44px;
  height: 44px;
  background-color: #e0f2fe;
  color: #0284c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
  overflow: hidden;
}

.trust-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-author-info strong {
  display: block;
  font-size: 0.95rem;
  color: #1e293b;
}

.trust-author-info span {
  font-size: 0.82rem;
  color: #64748b;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 1024px) {
  .trust-inner { gap: 30px; }
  .trust-heading { font-size: 1.6rem; }
  .trust-card { padding: 1.75rem; }
  .trust-quote { font-size: 0.95rem; }
}

@media (max-width: 768px) {
  .trust-section { padding: 50px 1.25rem; }
  .trust-inner { gap: 20px; }
  .trust-heading { font-size: 1.3rem; }
  .trust-card { padding: 1.25rem; }
}

@media (max-width: 560px) {
  .trust-inner { flex-direction: column; }
}

.services-header-section {
  background-color: #0284c7;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 60px 2rem 80px;
  box-sizing: border-box;
  text-align: center;
}

.services-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.services-header-title {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
}

.services-header-subtitle {
  font-size: 1.125rem;
  color: #d9effd;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   mod_jrprism – Card Grid with Icons override
   All styles for the default.php template override live here.

   Deployment: place this file at
     templates/<your-template>/css/user.css
   (or append to your existing user.css if one already exists).
   ========================================================================== */

/* ── Design tokens ─────────────────────────────────────────────────────── */
.jrp-grid-wrap {
    --jrp-radius      : 22px;
    --jrp-shadow      : 0 2px 12px rgba(0, 0, 0, .07);
    --jrp-border      : 1px solid #e5e7eb;
    --jrp-dark-bg     : #0f1e36;
    --jrp-dark-accent : #38bdf8;
    --jrp-link-color  : #2563eb;
    --jrp-img-h       : 160px;
    --jrp-gap         : 1.25rem;
    --jrp-cols        : 3;          /* overridden inline by PHP via style attr */
    font-family       : inherit;
}

.jrp-grid-wrap, 
.features-section {
    margin-top: -3rem !important;
    padding-bottom: 40px;
    position: relative;
    z-index: 10;
}

/* ── Grid ───────────────────────────────────────────────────────────────── */
.jrp-grid-wrap .jrp-row {
    display               : grid;
    grid-template-columns : repeat(var(--jrp-cols), 1fr);
    gap                   : var(--jrp-gap);
    list-style            : none;
    margin                : 0;
    padding               : 0;
}

.jrp-grid-wrap .jrp-row li {
    display: flex;
}

.jrp-card-v2 {
    width: 100%;
}

@media (max-width: 991px) {
    .jrp-grid-wrap .jrp-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .jrp-grid-wrap .jrp-row {
        grid-template-columns: 1fr;
    }
}

/* ── Card shell ─────────────────────────────────────────────────────────── */
.jrp-card-v2 {
    background    : #fff;
    border        : var(--jrp-border);
    border-radius : var(--jrp-radius);
    box-shadow    : var(--jrp-shadow);
    overflow      : hidden;
    display       : flex;
    flex-direction: column;
    transition    : box-shadow .2s ease, transform .2s ease;
}

.jrp-card-v2:hover {
    box-shadow : 0 6px 24px rgba(0, 0, 0, .12);
}

/* ── Card image ─────────────────────────────────────────────────────────── */
.jrp-card-v2 .jrp-card-img-link {
    display      : block;
    overflow     : hidden;
    border-radius: var(--jrp-radius) var(--jrp-radius) 0 0;
    line-height  : 0;
    position     : relative;
}

.jrp-card-img-link::after {
    content      : '';
    position     : absolute;
    inset        : 0;
    background   : rgba(0, 0, 0, 0.25);
    border-radius: 1rem 1rem 0 0;
    transition   : opacity 0.3s ease;
}

.jrp-card-v2:hover .jrp-card-img-link::after {
    opacity: 0;
}

.jrp-card-v2 .jrp-card-img {
    width     : 100%;
    height    : 220px;
    object-fit: cover;
    display   : block;
}

.jrp-card-img-link img {
    border-radius: 1rem 1rem 0 0;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.jrp-card-v2:hover .jrp-card-img-link img {
    transform: scale(1.1);
}


/* ── Card body ──────────────────────────────────────────────────────────── */
.jrp-card-v2 .jrp-card-body {
    padding       : 1.5rem 1.75rem 1.75rem;
    flex          : 1;
    display       : flex;
    flex-direction: column;
}

/* ── Icon + title row ───────────────────────────────────────────────────── */
.jrp-card-v2 .jrp-card-meta {
    display        : flex;
    flex-direction : row;
    align-items    : center;
    gap            : 0.75rem;
}

.jrp-card-v2 .jrp-icon-wrap {
    flex-shrink    : 0;
    width          : 50px;
    height         : 50px;
    border-radius  : 8px;
    display        : flex;
    align-items    : center;
    justify-content: center;
    padding        : 12px;
    color          : var(--hover);
    background-color: #f0f9ff;
}

.jrp-card-v2 .jrp-card-title {
    font-size      : 1.75rem;
    font-weight    : 700;
    color          : #111827;
    margin-top     : 0;
    margin-bottom  : 0 !important;
    line-height    : 1.3;
    text-decoration: none;
}

/* ── Description ────────────────────────────────────────────────────────── */
.jrp-card-v2 .jrp-card-desc {
    font-size  : 1.125rem;
    color      : #6b7280;
    margin     : 0 0 .9rem;
    line-height: 1.5;
    flex       : 1;
}

.dark-card {
   color: #ffffff;
}

/* ── Learn More link ────────────────────────────────────────────────────── */
.jrp-card-v2 .jrp-learn-more {
    display        : inline-flex;
    align-items    : center;
    gap            : .3rem;
    font-size      : 1.125rem;
    font-weight    : 600;
    color          : var(--hover);
    text-decoration: none;
    transition     : gap .15s ease;
}

.jrp-card-v2:hover .jrp-learn-more {
    color: #0c88c8;
}

/* ── Dark card variant (Health & Requirements) ──────────────────────────── */
.jrp-card-v2.jrp-card-dark {
    background     : var(--jrp-dark-bg);
    border         : none;
    justify-content: center;
    align-items    : center;
    text-align     : center;
    padding        : 2.5rem 1.5rem;
}

.jrp-card-v2.jrp-card-dark .jrp-card-body {
    align-items: center;
    padding    : 0;
}

.jrp-card-v2.jrp-card-dark .jrp-dark-icon {
    color        : var(--jrp-dark-accent);
    margin-bottom: 1rem;
}

.jrp-card-v2.jrp-card-dark .jrp-card-title {
    color      : #fff;
    font-size  : 1.2rem;
    text-align : center;
}

.jrp-card-v2.jrp-card-dark .jrp-card-desc {
    color     : #93c5fd;
    text-align: center;
}

.jrp-card-v2.jrp-card-dark .jrp-learn-more {
    font-size  : 1.125rem;
    color: var(--jrp-dark-accent);
}

.jrp-card-v2.jrp-card-dark:hover .jrp-learn-more {
    color: #bae6fd;
}

.jrp-card-v2.jrp-card-dark {
    justify-content: flex-start;
    padding-top: 3rem;
}

.jrp-card-v2.jrp-card-dark .jrp-card-body {
    gap: 1rem;
}

.jrp-learn-more-arrow {
    transition: transform 0.2s ease;
}

.jrp-card-v2:hover .jrp-learn-more-arrow {
    transform: translateX(4px);
}

/* ============================================
   FEATURES / TRUST BADGES SECTION
   ============================================ */

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon-wrap {
  width: 64px;
  height: 64px;
  background-color: #e0f2fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0ea5e9;
  margin-bottom: 0.5rem;
}

.feature-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.feature-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .features-inner {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   Pet Sitters Showcase – user.css
   Matches the compact card style (Image 1)
   ============================================================ */
.meet-sitters {
    background-color: var(--gray-100);
}
.meet-sitters > * {
    max-width: 1320px;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* ── Grid ── */
.ps-showcase {
    padding: 0 12px 24px;
}

.ps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

@media (max-width: 991px) {
    .ps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .ps-grid {
        grid-template-columns: 1fr;
    }
}

.ps-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 60px 20px 20px;
}

.ps-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.ps-section-desc {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto;
}

/* ── Card ── */
.ps-card {
    background-color: #ffffff;
    border: 1px solid #e8ecf3;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ps-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
}

.ps-card:hover .ps-avatar {
  border: 6px solid #bae6fd;
}
/* ── Avatar ── */
.ps-avatar-wrap {
    margin-bottom: 24px;
}

.ps-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 6px solid #daecf7;
    padding: 3px;
    background-color: #fff;
    display: block;
}

/* ── Body ── */
.ps-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex: 1;
}

/* ── Name ── */
.ps-name {
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 12px;
}

.ps-name a {
    color: #1F86C9;
    text-decoration: none;
}


/* ── Services ── */
.ps-services-label {
    font-size: 12px;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 0.05em;
    margin: 0 0 3px;
    text-transform: uppercase;
}

.ps-services-value {
    font-size: 16px;
    font-weight: 500;
    color: #475569;
    margin: 0 0 12px;
    line-height: 1.3;
}

/* ── Areas ── */
.ps-areas-label {
    font-size: 12px;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 0.05em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.ps-tags {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 26px;
}

.ps-tag {
    font-size: 12px;
    font-weight: 700;
    color: #2376A6;
    border: 1px solid #e1f2fe;
    border-radius: 14px;
    padding: 6px 14px;
    background-color: #f0f9ff;
    white-space: nowrap;
}

/* ── Button ── */
.ps-btn {
    display: block;
    width: 90%;
    margin-top: auto;
    padding: 14px 12px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #38bdf8;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ps-btn:hover {
    background-color: var(--hover);
    color: #fff;
    text-decoration: none;
}

.pet-sitters {
    margin : 40px 20px;
}

.jrp-zigzag-img {
  border-radius: 34px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

.jrp-zigzag-title a {
    color: #0f172a !important;
    text-decoration: none !important;
}

.jrp-zigzag-desc {
    font-size: 1.25rem;
    color: #334155 !important;
}

.zigzag-btn {
  display: inline-block;
  background-color: #29abe2;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 16px 28px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 20px;
  margin-top: 86px;
  transition: background-color 0.2s ease;
}

.zigzag-btn:hover {
  background-color: #1a8fc0;
}

.zigzag-btn .btn-arrow {
  width : 20px;
  height: 20px;
}

.zigzag-btn-outline {
  display: inline-block;
  background-color: #ffffff;
  color: #1a2e4a !important;
  text-decoration: none !important;
  padding: 14px 24px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-top: 12px;
  transition: all 0.2s ease;
}

.zigzag-btn-outline:hover {
  background-color: #f8fafc !important;
}

.zz-icon {
  color: var(--hover);
}

.instagram svg {
  width: 24px !important;
  height: 24px !important;
}

/* ===== Testimonials Cards ===== */

.testiList {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testiList > div[class*="col-"] {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
}

.testiItem {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb;
    border-radius: 20px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 28px 24px !important;
    text-align: left !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}


.testiItem .testi-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testi-quote {
    font-style: italic;
    color: #374151;
    font-size: 1rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.testiItem .testi-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.05rem;
    padding-top: 16px;
    margin-top: auto !important;
    bottom: 30px;
    left: 30px;
}

.jt-item-category {
    display: none;
}

.testi-position {
    color: #0ea5e9;
    font-size: 0.9rem;
    margin-top: 4px;
}

@media (max-width: 991px) {
    .testiList {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .testiList {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
      "Select Your Form" 
   ========================================================= */

.sf-wrapper {
    --sf-blue: #1E88D8;
    --sf-blue-dark: #1867A8;
    --sf-teal: #14b8a6;
    --sf-orange: #E0983A;
    --sf-text-dark: #16202A;
    --sf-text-muted: #6B7684;
    --sf-border: #E7EAEE;
    --sf-bg-soft: #f8fafc;
    --sf-help-bg: #EAF4FC;
    --sf-radius-lg: 44px;
    --sf-radius-md: 14px;

    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 60px;
    box-sizing: border-box;
}

.sf-wrapper *,
.sf-wrapper *::before,
.sf-wrapper *::after {
    box-sizing: border-box;
}

.sf-card {
    background: #FFFFFF;
    border-radius: var(--sf-radius-lg);
    box-shadow: 0 20px 45px rgba(20, 40, 70, 0.10);
    padding: 60px 56px 40px;
    margin-top: -66px;
    position: relative;
    z-index: 2;
}


.sf-header {
    text-align: center;
    margin-bottom: 36px;
}

.sf-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    color: var(--hover);
    margin-bottom: 14px;
}

.sf-header-icon svg {
    width: 100%;
    height: 100%;
}

.sf-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--sf-text-dark);
    margin: 0 0 10px;
}

.sf-subtitle {
    font-size: 17px;
    color: var(--sf-text-muted);
    margin: 0;
    line-height: 1.6;
}


.sf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.sf-item {
    display: flex;
    flex-direction: column;
    background: var(--sf-bg-soft);
    border: 1px solid var(--sf-border);
    border-radius: var(--sf-radius-md);
    padding: 28px 20px;
    text-align: center;
    align-items: center;
}

.sf-item:hover {
    border-color: var(--hover);
}


.sf-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 4px 10px rgba(20, 40, 70, 0.08);
    margin-bottom: 20px;
    transition: transform .2s ease;
}

.sf-item:hover .sf-item-icon {
    transform: scale(1.12);   
}

.sf-item-icon svg {
    width: 34px;
    height: 34px;
}

.sf-icon-blue   { color: var(--hover); }
.sf-icon-teal   { color: var(--sf-teal); }
.sf-icon-orange { color: #f59e0c; }

.sf-item-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--sf-text-dark);
    margin: 0 0 8px;
    line-height: 1.4;
}

.sf-item-desc {
    font-size: 13.5px;
    color: var(--sf-text-muted);
    margin: 0 0 18px;
    line-height: 1.6;
}

.sf-item-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
    padding-top: 10px;
}

.sf-item-link svg {
    width: 16px;
    height: 16px;
    transition: transform .2s ease;
}

.sf-item:hover .sf-item-link svg {
    transform: translateX(3px);
}

.sf-link-blue, .sf-item:hover .sf-link-blue { color: #0485c7; }
.sf-link-teal, .sf-item:hover .sf-link-teal { color: #0e9488; }
.sf-link-orange, .sf-item:hover .sf-link-orange { color: #db8119; }


.sf-help {
    background: var(--sf-help-bg);
    border-radius: var(--sf-radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.sf-help-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sf-help-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--sf-blue);
    box-shadow: 0 4px 10px rgba(20, 40, 70, 0.08);
}

.sf-help-icon svg {
    width: 20px;
    height: 20px;
}

.sf-help-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--sf-text-dark);
    margin: 0 0 2px;
}

.sf-help-desc {
    font-size: 13.5px;
    color: var(--sf-text-muted);
    margin: 0;
}

.sf-help-btn {
    background: #0284c7;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 10px;
    white-space: nowrap;
    transition: background .2s ease;
}

.sf-help-btn:hover {
    background: var(--sf-blue-dark);
    color: #FFFFFF;
}

/*responsive*/
@media (max-width: 768px) {
    .sf-grid {
        grid-template-columns: 1fr;
    }

    .sf-card {
        padding: 36px 22px 26px;
        margin-top: -40px;
    }

    .sf-help {
        flex-direction: column;
        align-items: flex-start;
    }

    .sf-help-btn {
        width: 100%;
        text-align: center;
    }
}


/*Blog Header Styles */
    .ww-header {
        background-color: #ffffff;
        width: 100vw;
        position: relative;
        left: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        border-bottom: 1px solid var(--slate-200);
        padding: 4rem 1rem;
        text-align: center;
    }

    .ww-title {
        font-size: 2.25rem;
        font-weight: 800;
        letter-spacing: -0.025em;
        color: var(--slate-900) !important;
        font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
        margin-bottom: 1rem;
    }

    @media (min-width: 768px) {
        .ww-title {
            font-size: 3rem;
        }
    }

    .ww-subtitle {
        font-size: 1.125rem;
        color: var(--slate-600);
        margin-bottom: 2rem;
        max-width: 48rem;
        margin-left: auto;
        margin-right: auto;
    }

.blue {
  color: var(--hover);
}

/* Layout Wrapper Base split */
.custom-blog-container-layout {
    display: flex;
    gap: 40px; /* Space between main grid and the right categories card */
    align-items: flex-start;
    width: 100%;
    margin-top: 70px;
}

/* Left Grid of Articles Column */
.custom-blog-articles-column {
    flex: 2; /* Takes up 2/3rds of width space */
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Forms the clean two-wide cards view */
    gap: 32px;
}

/* Right Categories Box Column Layout */
.custom-blog-sidebar-column {
    flex: 1; /* Takes up remaining 1/3rd space layout */
    top: 20px; /* Keeps sidebar fixed gracefully when scrolling */
}

/* Base Card Item Layer */
.custom-blog-card {
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    overflow: hidden; /* Clips image corners to match card radius */
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-blog-card:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

/* Image Wrapper and Sizing */
.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px; /* Uniform height for all blog image slots */
    background: #f8fafc;
}
.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents image squishing */
}

/* Floating Category Badge Overlay */
.category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: #1472a6;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Lower Text Area Alignment */
.card-body-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Date Meta Line */
.card-meta {
    font-size: 0.7rem;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-icon svg {
    width: 16px;
    height: 16px;
}

/* Article Title Settings */
.card-title {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.card-title a {
    color: #0f172a;
    text-decoration: none;
}

.card-title a:hover {
    color: var(--hover); /* Switches to a clean blue on hover */
}

/* Text Excerpt Snippet */
.card-excerpt {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Read Article Arrow Button Link */
.card-readmore {
    font-weight: 600;
    color: var(--hover);
    text-decoration: none;
    font-size: 0.975rem;
    margin-top: auto; /* Keeps the action button stuck smoothly to the card floor */
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-readmore:hover {
   color: var(--hover);
}

.card-readmore .arrow {
    transition: transform 0.2s ease;
}

.card-readmore:hover .arrow {
    transform: translateX(4px); /* Interactive movement animation */
}


.catcard {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .06);
    padding: 20px;
    max-width: 300px;
    font-family: inherit;
    position: static !important;
    top: auto !important;
    inset: auto !important;
}
.catcard__header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
}
.catcard__icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    color: var(--hover);
    flex-shrink: 0;
}
.catcard__icon svg {
    width: 100%;
    height: 100%;
}
.catcard__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.catcard__item a {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    color: #4b5563;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.catcard__item a:hover {
    background: #f3f4f6;
}
.catcard__item.is-active > a {
    background: #eff6ff;
    color: #0c6ea4;
}

.catcard__desc {
    padding: 0 14px 8px;
    font-size: 13px;
    color: #9ca3af;
}
/* Nested sub-categories, only relevant if "Show Subcategory Levels" is on */
.catcard__list ul {
    list-style: none;
    margin: 2px 0 4px;
    padding-left: 14px;
}

.pagination .page-link,
.pagination .page-item.disabled .page-link {
    border-radius: 12px;
    margin: 0 3px;
    color: #646c78;
    background-color: #fff;
}

.pagination .page-item.active .page-link {
    background-color: #3b82f6;
    color: #ffffff;
    border-radius: 12px;
    border-color: #3b82f6;
}

.pagination .page-item:not(.active) .page-link:hover {
    background-color: #fff;
    border-color: var(--hover);
    color: var(--hover);
}

.services-header-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 16px;
    transition: opacity 0.15s ease;
}

.services-header-back:hover {
    opacity: 1;
    color: #fff;
}

.services-header-back:hover .services-header-back-arrow {
    transform: translateX(-4px);
}

.services-header-back-arrow {
    font-size: 1rem;
    line-height: 1;
    display: inline-block;
    transition: transform 0.15s ease;
}

.submit-btn-form {
  background-color: #0ea5e9;
  font-weight: 600;
  color: #ffffff;
  border-radius: 18px;
  border-color: #0ea5e9;
  padding: 16px 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
}

.submit-btn-form:hover {
  background-color: #0284c7;
  border-color: #0284c7;
  transform: translateY(-4px);
}

.formControls input {
  background-color: #f8fafc;
  border-radius: 12px;
  height: 50px;
}

.formControls textarea,
.formControls select {
  background-color: #f8fafc;
  border-radius: 12px;
}

.form-label {
  color: #334155;
  font-weight: 500;
}

.form-page .form-card {
    background: #fff !important;
    border-color: #e2e8f0 !important;
    border-width: 1px;
    border-radius: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 32px;
    margin-bottom: 24px;
}

.form-icon svg {
   width: 34px;
   height: 34px;
   padding-bottom: 5px;
}

.form-page input:focus,
.form-page textarea:focus,
.form-page select:focus,
.itemid-450 input:focus,
.itemid-450 textarea:focus,
.itemid-450 select:focus {
    outline: none;
    border-color: var(--hover);
    border-width: 2px;
    box-shadow: none;
}

.form-page input[type="text"],
.form-page input[type="email"],
.form-page input[type="tel"],
.form-page textarea,
.form-page select {
    padding-left: 16px !important; 
}

.wag-right-col .card {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 28px;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.card-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}

.card-text {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.5;
  color: #5a6778;
}

.services-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  padding: 16px;
  cursor: pointer;
  box-sizing: border-box;
  text-decoration: none;
  text-align: center;
}

.services-meet-btn {
  background: #2ea9f0;
  color: #ffffff;
  margin-bottom: 12px;
}

.services-meet-btn:hover {
  background: #1f9ae0;
  color: #fff;
}

.services-pricing-btn {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.services-pricing-btn:hover {
  background: #f1f5f9;
  color: #334155;
}

.divider {
  border: none;
  border-top: 2px solid #f1f5f9;
  margin: 22px 0 16px;
}

.note {
  gap: 8px;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: #7b899c;
}

.note-icon {
  color: #2ea9f0;
  font-size: 15px;
  flex-shrink: 0;
  float: left;
  padding-right: 10px;
}

.note-icon svg {
  vertical-align: baseline;
}

.note-link {
  color: #2ea9f0;
  font-weight: 600;
  text-decoration: none;
}

.note-link:hover {
  text-decoration: underline;
  color: #2ea9f0;
}

.wag-hero {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 70px;
    min-height: 420px;
    width: 100vw;
    display: flex;
    overflow: hidden;
}

.wag-hero__image,
.wag-hero__image > * {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.wag-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    float: none !important;
}

.wag-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.wag-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.services-back {
    color: #79ccf4;
}

.wag-hero__title {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.1;
}

.wag-hero__subtitle {
    color: #eaeaea;
    font-size: 1.2rem;
    margin: 0;
}

.page {
  max-width: 840px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}
 
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hover);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
 
.back-link:hover {
  color: #0284c7;
}
 
.back-arrow {
    font-size: 1rem;
    line-height: 1;
    display: inline-block;
    transition: transform 0.15s ease;
}

.back-link:hover .back-arrow {
  transform: translateX(-4px);
}

.requirements-page {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 36px;
    padding: 48px 40px 52px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.icon-badge {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  color: #0284c7;
  background-color: #e0f2fe;
  display: flex;
  margin-top: 3px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.icon-badge svg {
  width: 32px;
  height: 32px;
}

.card-header h1 {
  font-size: 36px;
  line-height: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #12151c;
  margin-bottom: 4px;
}
 
.subtitle {
  font-size: 18px;
  color: #8a94a6;
}

.section h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #12151c;
  margin-bottom: 8px;
}
 
.divider-req {
  border: none;
  border-top: 1px solid #c9cbd0;
  margin-bottom: 16px;
  margin-top: 0;
}
 
.section > p {
  font-size: 16px;
  color: #5b6472;
}

.requirement-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
 
.check-icon {
  flex-shrink: 0;
  color: var(--hover);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;

}

.check-icon svg {
  width: 26px;
  height: 26px;
}
 
.requirement-title {
  font-size: 18px;
  font-weight: bolder;
  color: #12151c;
}

.section ul {
  padding-left: 0;
}

.callout {
  background-color: #f0f9ff;
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 8px;
}
 
.callout-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: #0c4a6e;
  margin-bottom: 6px;
}
 
.heart-icon svg {
  width: 18px;
  height: 18px;
  color: #0c4a6e;
}
 
.callout-desc {
  font-size: 13.5px;
  color: #15638c;
  line-height: 1.55;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
   .card-header h1 {
    font-size: 21px;
  }
}

.sp-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 1.75rem;
    align-items: start;
 
    @media (max-width: 768px) {
    grid-template-columns: 1fr;
     }
}


.sp-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 32px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .05);
}

.about-me {
   margin-top: -44px;
   position: relative;
   z-index: 2;
}

.sp-profile-card {
    text-align: center;
    position: sticky !important;
    top: 1rem;
    margin-top: -44px;
    z-index: 2;
}
 
.sp-avatar {
    width: 176px;
    height: 176px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 6px solid #daecf7;
    padding: 3px;
    margin: 0 auto 1.6rem;
    background-color: #fff;
    display: block;
}
 
.sp-avatar-placeholder {
    width: 176px;
    height: 176px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sp-pill-bg);
    color: var(--sp-primary-dark);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.6rem;
}
 
.sp-sidebar-name {
    margin: 0.25rem 0 0.5rem;
    font-size: 1.5rem;
}


 
.sp-tagline {
    color: var(--hover);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    margin: 0 0 1.5rem;
 
    svg {
        flex: none;
        width: auto;
        height: auto;
    }
}
 
.sp-credentials-box {
    background: #f0f9ff;
    border-radius: 12px;
    padding: .75rem 1rem;
    text-align: left;
    margin-bottom: 1rem;
 
    p {
        margin: .35rem 0 0;
        font-size: .875rem;
        color: #334155;
    }
}
 
.sp-label {
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: .05em;
    color: #075985;
}
 
.sp-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-weight: 600;
    text-decoration: none;
    padding: 16px 0;
    border-radius: 12px;
    margin-bottom: .6rem;
    font-size: 16px;
    cursor: pointer;
}

.sp-btn-primary {
    background: var(--hover);
    color: #fff;
    &:hover {
        background: #0284c7;
        color: #fff;
    }
}
 
.sp-btn-outline {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
 
    &:hover {
        background: #f1f5f9;
        color: #334155;
    }
}
 
.sp-section-title {
    margin: 0 0 1rem;
    font-size: 24px;
}
 
.sp-about-text {
    p {
        line-height: 1.6;
    }
}
 
.sp-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem 1.5rem;
 
    @media (max-width: 480px) {
        grid-template-columns: 1fr;
    }
}
 
.sp-service-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 16px;
    font-weight: 500;
    background: #f0f9ff;
    padding: 16px 14px;
    border-radius: 14px;
}

.sp-service-item svg {
   width: 24px;
   height: 24px;
   margin-bottom: 2.7px;
}
 
.sp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
 
.sp-pill {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
}
 
.sp-edit-icons {
    text-align: right;
    margin-bottom: .5rem;
}

.wagwatchers-contact {
  display: grid;
  grid-template-columns: 42% 1fr;
  max-width: 1250px;
  margin: -48px auto 60px !important;
  background: #fff;
  border-radius: 48px;
  box-shadow: 0 30px 60px -20px rgba(14, 27, 46, 0.35);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
 
/* ---------- Left panel ---------- */
.wagwatchers-panel-left {
  background: #0E1B2E;
  color: #fff;
  padding: 64px;
  position: relative;
  overflow: hidden;
}
 
.wagwatchers-panel-left h3 {
  font-size: 30px;
  font-weight: 800;
  line-height: 36px;
  margin: 0 0 40px;
  position: relative;
  z-index: 1;
}
 
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
 
.contact-icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #0e3351;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1BA7DE;
}
 
.contact-icon svg {
  width: 24px;
  height: 24px;
}
 
.contact-label {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #90A4BF;
  margin-bottom: 4px;
}
 
.contact-phone,
.contact-phone a {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
}

.contact-email {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

.contact-area {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 22.75px;
  font-weight: 400;
}
 
.contact-phone:hover,
.contact-email:hover {
  color: var(--hover) !important;
}
 
.contact-area p {
  margin: 0 0 6px;
}
 
.contact-area strong {
  font-size: 14px;
  line-height: 22.75px;
  font-weight: 700;
}

.panel-dog {
  position: absolute;
  bottom: -65px;
  right: -65px;
  opacity: 0.5;
  pointer-events: none;
  color: #1e293b;
}

.panel-dog svg {
  width: 256px;
  height: 256px;
  display: block;
}

/* ---------- Right panel ---------- */
.wagwatchers-panel-right {
  padding: 64px;
}
 
.wagwatchers-panel-right h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #16202B;
  margin: 0 0 24px;
}
 
/* =========================================================
   RIGHT PANEL — form fields
   Append this after your current .wagwatchers-panel-right h3 rule.
   Targets the existing Bootstrap col-sm-3/col-sm-9 markup as-is.
   ========================================================= */

/* Reset the outer Bootstrap wrappers around the field list */
.wagwatchers-panel-right > .row {
  margin: 0 !important;
}

.wagwatchers-panel-right > .row > .col-md-12 {
  padding: 0 !important;
}

/* Turn each field's row from "label | input" into stacked label above input */
.wagwatchers-panel-right .row.mb-3 {
  display: flex;
  flex-direction: column;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 22px !important;
}

.wagwatchers-panel-right .col-sm-3,
.wagwatchers-panel-right .col-sm-9 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

/* Labels */
.wagwatchers-panel-right .formControlLabel {
  font-size: 14px;
  font-weight: 600;
  color: #16202B;
  margin-bottom: 8px;
}

.wagwatchers-panel-right .formControls textarea {
  min-height: 130px;
  resize: vertical;
}

/* Terms checkbox row */
.wagwatchers-panel-right .rsform-block-contact-us .formControls {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.wagwatchers-panel-right .rsform-block-contact-us input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3.5px;
  color: #e54980;
}

.wagwatchers-panel-right .rsform-block-contact-us label {
  font-size: 14px;
  color: #16202B;
}

/* Submit button — RSForm prints the caption both as a label above
   the button AND as the button's own text, so hide the duplicate label */
.wagwatchers-panel-right .rsform-block-submitbtn .formControlLabel {
  display: none;
}

.wagwatchers-panel-right .rsform-block-submitbtn input,
.wagwatchers-panel-right .rsform-block-submitbtn button {
  width: 100%;
  background: var(--hover);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease;
}

.wagwatchers-panel-right .rsform-block-submitbtn input:hover,
.wagwatchers-panel-right .rsform-block-submitbtn button:hover {
  background: #0284c7;
}

/* RSForm validation messages: render full-width below the field so they
   never float off the panel's right edge (audit #6). */
.wagwatchers-panel-right .formError,
.wagwatchers-apply-card .formError {
  display: block;
  width: 100%;
  margin-top: 6px;
  color: #dc2626;
  font-size: 13px;
  word-break: break-word;
}

/* Guard: keep any stray inline validation node from widening the panel. */
.wagwatchers-panel-right,
.wagwatchers-apply-card {
  overflow-x: clip;
}



/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .wagwatchers-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .wagwatchers-panel-left,
  .wagwatchers-panel-right {
    padding: 32px 24px !important;
  }
}

/* =========================================================
   MOBILE NAVIGATION MENU — final version
========================================================= */

#navbar1.navbar-collapse {
    align-items: flex-start !important;
}

#navbar1.navbar-collapse .mod-main-menu {
    padding-top: 20px;
}

.container-below-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.container-below-top #mod-custom102 {
  flex: 0 0 auto;
  position: relative;
  z-index: 1051;
}

.container-below-top .navbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
}

/* Hamburger button that morphs into an X */
.container-below-top .navbar-toggler {
  position: relative;
  margin-left: auto;
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  color: #001B4C;
  z-index: 1051;
}

.container-below-top .navbar-toggler .icon-menu {
  font-size: 1.75rem;
  transition: opacity 0.2s ease;
}

.container-below-top .navbar-toggler[aria-expanded="true"] .icon-menu {
  opacity: 0;
}

.container-below-top .navbar-toggler::after {
  content: "\2715";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.6rem;
  line-height: 1;
  color: #001B4C;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.container-below-top .navbar-toggler[aria-expanded="true"]::after {
  opacity: 1;
}

/* Full-screen white panel */
@media (max-width: 860px) {
  /* Compact logo + single-row bar (mobile header) */
  #mod-custom102 { margin: 0; }
  #mod-custom102 p { margin: 0; }
  #mod-custom102 img {
    height: 44px;
    width: auto;
    max-width: none;
    display: block;
  }
  .container-below-top {
    flex-wrap: nowrap;
    align-items: center;
    padding: 8px 12px;
    min-height: 60px;
  }

  .container-below-top .navbar-collapse.collapsing {
    transition: none;
  }

  .container-below-top .navbar-toggler {
    display: flex;
  }
  
  .container-below-top .navbar-collapse {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    flex-basis: auto;
    display: none !important;
    background: #fff;
    margin: 0;
    padding: 0;
    z-index: 1050;
    overflow-y: auto;
    border-top: 1px solid #eef1f6;
  }

  .container-below-top .navbar-collapse.show {
    display: flex !important;   /* new rule — only show when toggled open */
  }

  .container-below-top .navbar-collapse #mod-menu1 {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0.5rem 0 2rem;
    justify-content: flex-start !important;
    align-items: stretch !important;
  }

  .container-below-top .navbar-collapse .nav-item {
    width: 100%;
  }

  .container-below-top .navbar-collapse .nav-item > a {
    display: block;
    padding: 0.75rem 1rem !important;
    font-size: 1.05rem !important;
    color: var(--template-text-dark, #333);
    text-decoration: none;
    font-weight: 500;
  }

  

  .container-below-top .navbar-collapse .nav-item.deeper.parent {
    position: relative;
  }

  .container-below-top .navbar-collapse .mod-menu__toggle-sub {
    position: absolute;
    top: 0;
    right: 0.5rem;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
  }

  .container-below-top .navbar-collapse .mod-menu__sub {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0 0 0.5rem 1.5rem;
  }

  .container-below-top .navbar-collapse .mod-menu__toggle-sub[aria-expanded="true"] + .mod-menu__sub {
    display: block;
  }

  .container-below-top .navbar-collapse .mod-menu__sub .nav-item > a {
    padding: 0.6rem 0;
    font-size: 0.95rem;
    font-weight: 500;
  }

  /* Contact Us — highlighted row like the reference */
  .container-below-top .navbar-collapse .btn-custom-contact {
    display: block;
    margin: 0.5rem 1rem 0;
    padding: 1rem 1.5rem;
    background: #eaf4fd;
    color: #0d6efd;
    font-weight: 700;
    border-radius: 0.75rem;
    text-align: left;
  }
}

.wagwatchers-apply-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.wagwatchers-apply-grid {
    display: flex;
    align-items: stretch;
    background: #0b1220;
    border-radius: 48px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.wagwatchers-info-panel {
    flex: 1 1 50%;
    background: #ffffff;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wagwatchers-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
    gap: 8px;
    width: fit-content;
}

.wagwatchers-badge svg {
  width: 16px;
  height: 16px;
  margin-bottom: 3px;
  margin-right: 3px;
}

.wagwatchers-info-panel h2 {
    font-size: 47px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 24px;
}

.wagwatchers-info-panel p {
    color: #475569;
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 32px;
    opacity: 1;
}

.wagwatchers-highlight-box {
    background: #f0f9ff;
    border-radius: 16px;
    border: 1px solid #e0f2fe;
    padding: 24px;
    margin-bottom: 20px;
}

.wagwatchers-highlight-box strong {
    display: block;
    color: #0c4a6e;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.wagwatchers-highlight-box p {
    color: #075985;
    font-size: 14px;
    line-height: 1.25rem;
    margin: 0;
}

/* Right side card now sits inside the dark grid, adjust margins */
.wagwatchers-apply-card {
    flex: 1 1 50%;
    margin: 24px;
    border-radius: 16px;
}

@media (min-width: 1024px){
  .wagwatchers-info-panel {
    padding: 48px;
  }
}

@media (max-width: 900px) {
    .wagwatchers-apply-grid {
        flex-direction: column;
    }
    .wagwatchers-apply-card {
        margin: -15px;
    }
}

.wagwatchers-form-panel {
    position: relative;
    flex: 1 1 50%;
    background: #0b1220;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    min-height: 600px;
}

.wagwatchers-form-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.wagwatchers-form-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wagwatchers-apply-card {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    background: #ffffff;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.wagwatchers-apply-header h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 8px;
    color: #0f172a;
}

.wagwatchers-apply-header p {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 24px;
    color: #64748b;
}

/* ===== Thank You / Success Message ===== */
.wagwatchers-success-message {
    max-width: 560px;
    margin: 60px auto;
    padding: 20px;
    text-align: center;
}

.wagwatchers-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    margin-bottom: 24px;
}

.wagwatchers-success-icon svg {
    width: 48px;
    height: 48px;
}

.wagwatchers-success-message h3 {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
}

.wagwatchers-success-message p {
    font-size: 18px;
    color: #475569;
    line-height: 1.75rem;
    margin: 0 0 32px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.wagwatchers-success-btn {
    display: inline-block;
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 32px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease;
}

.wagwatchers-success-btn:hover {
    background: #e2e8f0;
    color: #334155;
    text-decoration: none;
}


/* =========================================================
   Testimonials — equal-height cards + click-to-expand modal
   Pairs with the script added to user.js
   ========================================================= */

/* Clip the rendered testimonial body to a fixed height so uneven
   review lengths no longer blow out card height. Uses max-height
   rather than line-clamp because .testimonialText can contain
   multiple <p> tags and a floated image. */
.testimonialText.tq-clamp {
    max-height: 132px; /* roughly 6 lines */
    overflow: hidden;
    position: relative;
}
.testimonialText.tq-clamp.tq-overflowing::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2.4em;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #ffffff 85%);
    pointer-events: none;
}
.testimonialText p {
    margin: 0 0 0.75em;
}

.testi-readmore {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    margin: -4px 0 12px;
    color: var(--hover);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
}
.testi-readmore:hover {
    text-decoration: underline;
}

/* ===== Modal ===== */
.testi-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}
.testi-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}
.testi-modal {
    background: #ffffff;
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 36px 32px 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(8px);
    transition: transform 0.18s ease;
}
.testi-modal-overlay.is-open .testi-modal {
    transform: translateY(0);
}
.testi-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #334155;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.testi-modal-close:hover {
    background: #e2e8f0;
}
.testi-modal-body {
    font-style: italic;
    color: #374151;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.testi-modal-body img {
    max-width: 45%;
    height: auto;
    border-radius: 8px;
}
.testi-modal-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.05rem;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}


/* ==========================================================================
   Article template restyle
   ========================================================================== */

.article-modern {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 20px 64px;
    color: #374151;
}

/* ---- Category badge + date row ---- */
.article-meta-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.article-category-badge {
    display: inline-flex;
    align-items: center;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0.01em;
    padding: 4px 12px;
    border-radius: 999px;
}

.article-category-badge a {
    color: inherit;
    text-decoration: none;
}

.article-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 400;
    color: #8b93a1;
    font-size: 14px;
}

.article-date svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ---- Title ---- */
.article-title-block {
    margin: 0 0 18px;
    border: 0;
    padding: 0;
}

.article-title {
    margin: 0;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.article-title-block .badge {
    margin-left: 10px;
    vertical-align: middle;
}

/* ---- Author ---- */
.article-author-block {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}

.article-author__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.article-author__name {
    font-weight: 600;
    font-size: 15px;
    color: #1f2937;
}

/* ---- Featured image ---- */
.article-featured-image {
    margin-bottom: 32px;
    margin-left: -140px;
    margin-right: -140px;
    width: calc(100% + 280px);
    border-radius: 20px;
    overflow: hidden;
}
 
/* Shrink the "bleed" amount as the viewport narrows so the image
   never overflows off-screen; on small screens it just fills the
   column like the rest of the content. */
@media (max-width: 1100px) {
    .article-featured-image {
        margin-left: -60px;
        margin-right: -60px;
        width: calc(100% + 120px);
    }
}
 
@media (max-width: 860px) {
    .article-featured-image {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
}

.article-featured-image figure.item-image {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}
 
.article-featured-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 480px;
    object-fit: cover;
    border-radius: 32px;
}

/* In case Joomla adds an inline caption figure wrapper too */
.article-featured-image figure.image-caption {
    margin: 0;
    width: 100%;
}

/* ---- Body copy ---- */
.article-blog-modern {
    font-size: 17px;
    line-height: 1.75;
    color: #374151;
}

.article-blog-modern p {
    margin: 0 0 20px;
}

.article-blog-modern h2,
.article-blog-modern h3,
.article-blog-modern h4 {
    font-weight: 700;
    color: #14213d;
    line-height: 1.3;
    margin: 1.8em 0 0.7em;
}

.article-blog-modern h2 {
    font-size: 26px;
}

.article-blog-modern h3 {
    font-size: 21px;
}

.article-blog-modern img {
    border-radius: 16px;
    max-width: 100%;
    height: auto;
}

/* ---- Blockquote / pull-quote callout ---- */
.article-blog-modern blockquote {
    background: #eaf4ff;
    color: #1e3a5f;
    font-style: italic;
    font-size: 17px;
    line-height: 1.6;
    margin: 28px 0;
    padding: 24px 28px;
    border-radius: 14px;
    border: 0;
}

.article-blog-modern blockquote p {
    margin: 0;
}

.article-blog-modern blockquote p + p {
    margin-top: 12px;
}

@media (max-width: 600px) {
    .article-modern {
        padding: 20px 16px 48px;
    }

    .article-featured-image img {
        max-height: 280px;
    }
}

@media (max-width: 860px) {
    .custom-blog-container-layout {
        flex-direction: column;
    }

    .custom-blog-sidebar-column {
        width: 100%;
        order: -1;
    }

    .custom-blog-articles-column {
        grid-template-columns: 1fr;
    }
}

.happy-parents-badge-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 30px;
}

.happy-parents-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  padding: 14px 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  font-size: 16px;
  font-weight: 500;
  color: #334155;
}

.happy-parents-icon {
  font-size: 18px;
  line-height: 1;
  color: #ef4444;
}