.masthead {
  position: relative;
  width: 100%;
  min-height: 100vh; /* change from fixed height to min-height */
  color: white;
  padding-top: 80px !important; /* navbar height spacing */
  display: flex;
  align-items: flex-start; /* align content to top with padding-top applied */
  justify-content: center;
  flex-direction: column; /* ensures vertical stack */
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 29, 55, 0.4); /* optional navy overlay for text readability */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.masthead h1 {
  font-family: 'Merriweather', serif;
  font-size: 3rem;
}

.masthead p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.25rem;
  margin-top: 1rem;
}


.masthead .btn {
  background-color: #D4AF37; /* Gold */
  border: none;
  color: #0A1D37; /* Deep Navy text for contrast */
}

.masthead .btn:hover {
  background-color: #b8902f; /* darker gold hover */
  color: white;
}


.hero-content {
  max-width: 800px; /* optional for readability */
  margin: 0 auto;
  padding: 0 1rem; /* optional horizontal padding on small screens */
}

.hero-content .btn {
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Navbar Styling */
.navbar {
  background-color: #0A1D37; /* Deep Navy */
  font-family: 'Open Sans', sans-serif;
}

.navbar-brand {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  color: #D4AF37 !important; /* Gold */
}



.navbar-nav .nav-link {
  color: #FFFFFF !important; /* White */
}

.navbar-nav .nav-link:hover {
  color: #D4AF37 !important; /* Gold on hover */
}


.navbar-nav .nav-link.active {
  color: #D4AF37 !important; /* Brand gold */
  font-weight: bold;
}

.card {
  opacity: 0;
  transform: translateY(80px) scale(0.95);
  transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}


.practice-areas {
  background-color: #F8F9FA; /* Light gray neutral background */
  padding: 4rem 0;
}

.practice-areas h2 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #0A1D37; /* Deep Navy */
}

.practice-areas .card {
  border-top: 4px solid transparent;
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-top 0.3s ease;
}

.practice-areas .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
  border-top: 4px solid #D4AF37; /* Gold accent border on top */

}

.practice-areas .card-title {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  color: #0A1D37; /* Deep Navy */
}

.practice-areas .card-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}

.practice-areas .btn {
  background-color: #D4AF37; /* Gold */
  border: none;
  color: #0A1D37;
}

.practice-areas .btn:hover {
  background-color: #b8902f; /* darker gold */
  color: white;
}

.testimonials {
  background-color: #FFFFFF; /* clean white for focus */
  padding: 4rem 0;
}

.testimonials .row {
  margin-top: 2rem;
}


.testimonials h2 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  margin-bottom: 3rem; /* increase spacing below heading */
  text-align: center;
  color: #0A1D37; /* Deep Navy */
}

.testimonials .card {
  border: none;
  background-color: #F8F9FA; /* light gray card background */
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.testimonials .card-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #333333;
}

.testimonials .card-subtitle {
  font-family: 'Merriweather', serif;
  font-size: 0.9rem;
  margin-top: 1rem;
  color: #0A1D37;
  /* Deep Navy for author name */
}
.testimonials .profile-pic-container img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 3px solid #D4AF37; /* Gold border */
}


.testimonials .profile-pic-container {
  top: -50px; /* positions image 40px above the top of the card */
  z-index: 1;
}


.testimonials .card-body {
  padding-top: 0.5rem !important; /* reduce internal padding for tighter spacing */
  margin-top: -60px ; /* pull content up closer to profile picture */
}
.text-gold {
  color: #D4AF37 !important; /* brand gold */
}
.blog-preview {
  background-color: #F8F9FA; /* light gray background */
  padding: 4rem 0;
}

.blog-preview h2 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #0A1D37; /* Deep Navy */
}

.blog-preview .card {
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-preview .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.blog-preview .card-title {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  color: #0A1D37;
}

.blog-preview .card-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}

.blog-preview .btn {
  background-color: #D4AF37; /* Gold */
  border: none;
  color: #0A1D37;
}

.blog-preview .btn:hover {
  background-color: #b8902f; /* darker gold hover */
  color: white;
}

.blog-preview .card {
  overflow: hidden;
}

.blog-preview .card-img-top.fixed-size {
  height: 260px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  display: block;
  width: 100%;
  transform-origin: center center;
  aspect-ratio: 2 / 1; /* ensures container is exactly 400:200 ratio */

}



.blog-preview .card:hover .card-img-top.fixed-size {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .blog-preview .card-img-top.fixed-size {
    height: 150px;
  }
}

/* Shared card styling for Practice Areas and Blog Index */
.practice-area-card,
.blog-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 12px;
}

.practice-area-card:hover,
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Ensure spacing between rows of cards */
.practice-areas .row.g-4 > [class^="col-"],
.blog-list .row.g-4 > [class^="col-"] {
  margin-bottom: 1.5rem;
}

/* Image styling */
.practice-area-card img,
.blog-card img {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Titles and text */
.practice-area-card .card-title,
.blog-card .card-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.practice-area-card .card-text,
.blog-card .card-text {
  font-size: 0.95rem;
  color: #555;
}

/* Buttons */
.practice-area-card .btn,
.blog-card .btn {
  border-radius: 20px;
}

/* Responsive spacing for smaller devices */
@media (max-width: 576px) {
  .practice-areas .container,
  .blog-list .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Scoped only to dashboard stats */
.stats-card .card-title {
    font-weight: bold;
    margin-bottom: 1rem;
}

.stats-card .row h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #c9a14a; /* Gold tone for emphasis */
}

.stats-card .row p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.stats-card .card.shadow-sm:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

footer {
  background-color: #0A1D37; /* Deep Navy */
  color: #FFFFFF; /* White text */
  padding: 3rem 0 2rem;
}

footer h5 {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  color: #D4AF37; /* Gold headings */
  margin-bottom: 1rem;
}

footer p,
footer li,
footer a {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: #FFFFFF;
}

footer a:hover {
  color: #D4AF37; /* Gold hover for links */
  text-decoration: none;
}

footer ul {
  padding-left: 0;
  list-style: none;
}

footer hr {
  border-top: 1px solid #D4AF37; /* Gold separator line */
}

footer .text-center {
  margin-top: 2rem;
  font-size: 0.85rem;
}
.footer-brand {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  color: #D4AF37;
}

nav[aria-label="breadcrumb"].breadcrumb-container {
  background-color: #F8F9FA !important; /* light gray brand-neutral background */
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}

/* Breadcrumb container */
.breadcrumb {
  background-color: transparent; /* remove white background */
  padding: 0;
  margin-bottom: 1rem;
}

/* Breadcrumb separator color */
.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: #D4AF37; /* brand gold separator */
}

/* Breadcrumb links */

.breadcrumb a {
  color: #0A1D37; /* Deep Navy */
  text-decoration: none;
}

/* Breadcrumb links on hover */

.breadcrumb a:hover {
  color: #D4AF37; /* Brand gold hover */
}

/* Breadcrumb active item */
.breadcrumb-item.active {
  color: #D4AF37; /* Brand gold for active page */
  font-weight: bold;
}


.breadcrumb-container {
  background-color: transparent !important;
  width: 100%; /* maintain full width like container */
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .breadcrumb-container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .breadcrumb-container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .breadcrumb-container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .breadcrumb-container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .breadcrumb-container {
    max-width: 1320px;
  }
}

body nav.breadcrumb-container {
  background-color: transparent !important;
}

.trust-badges {
  background-color: #f8f9fa; /* light neutral background for contrast */
    padding-top: 3rem;   /* Adjust as needed */
  padding-bottom: 3rem; /* Adjust as needed */
}

.trust-badges h2 {
  margin-bottom: 2rem;  /* Provides space between heading and badges */
}

.trust-badges img {
  max-height: 150px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .trust-badges img {
    height: 100px;
  }
}
.trust-badges img:hover {
  opacity: 1;
}

/* Optional grayscale filter for professional muted logos */
.grayscale {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.grayscale:hover {
  filter: grayscale(0%);
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Contact Form Section */
.contact-form-section {
  padding: 4rem 0;
}

.contact-form-section h1,
.contact-form-section h2 {
  font-family: 'Merriweather', serif;
  color: #0A1D37; /* Deep Navy */
}

.contact-form-section form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}

.contact-form-section input[type="text"]:focus,
.contact-form-section input[type="email"]:focus,
.contact-form-section textarea:focus {
  border-color: #D4AF37; /* Gold */
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.contact-form-section button {
  background-color: #D4AF37; /* Gold */
  border: none;
  color: #0A1D37; /* Deep Navy text */
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form-section button:hover {
  background-color: #b8902f; /* darker gold hover */
  color: white;
}

.contact-landing-section {
  background-color: #f8f9fa; /* light neutral brand background */
}

.contact-landing-section h1 {
  color: #0A1D37; /* brand navy */
}

.contact-landing-section p {
  font-size: 1.1rem;
}

.contact-landing-section .btn {
  background-color: #D4AF37; /* gold */
  color: #0A1D37; /* navy text */
}

.contact-landing-section .btn:hover {
  background-color: #b8902f;
  color: white;
}
.practice-areas-hero {
  background: linear-gradient(to right, #0A1D37, #004e92);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.practice-areas-hero h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
}

.practice-areas-hero p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.practice-area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}





/* Adjust the Practice Area buttons specifically */
/* .practice-areas .btn-outline-primary {
  background-color: #D4AF37;
  color: #0A1D
} */

/* .practice-areas .btn-outline-primary:hover {
  background-color: #b8902f;
  color: #fff;
} */

.btn-outline-primary {
    --bs-btn-color: #D4AF37; /* Gold */
    --bs-btn-border-color: #D4AF37;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #D4AF37;
    --bs-btn-hover-border-color: #D4AF37;
}


/* Active page styling */
.pagination .page-item.active .page-link {
  background-color: #d4af37;   /* Gold */
  border-color: #d4af37;
  color: #1c1c3c;              /* Deep navy text */
}

/* Common style for all pagination links */
.pagination .page-link {
  color: #d4af37; /* Gold */
  border: 1px solid #1c1c3c; /* Deep navy border */
  background-color: transparent;
  font-weight: 600;
  padding: 0.5rem 0.75rem;  /* Add breathing space inside */
  border-radius: 0.5rem;     /* Rounded corners */
  }

/* Hover effect */
.pagination .page-link:hover {
  background-color: #1c1c3c;   /* Deep navy */
  color: #d4af37;              /* Gold text */
}

/* Styling for previous/next buttons */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  background-color: #1c1c3c;   /* Deep navy */
  color: #d4af37;              /* Gold text */
  border: 1px solid #1c1c3c;
}

.btn-outline-secondary {
  --bs-btn-color: #c49b0e; /* Gold text */
  --bs-btn-border-color: #c49b0e; /* Gold border */
  --bs-btn-hover-color: #ffffff; /* White text on hover */
  --bs-btn-hover-bg: #0d1a26; /* Deep navy background on hover */
  --bs-btn-hover-border-color: #0d1a26;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #0d1a26;
  --bs-btn-active-border-color: #0d1a26;
}


.ql-toolbar.ql-snow {
  border-radius: 6px 6px 0 0;
  border: 1px solid #ccc;
}

.ql-container.ql-snow {
  border-radius: 0 0 6px 6px;
  border: 1px solid #ccc;
  min-height: 250px;
  font-family: "Segoe UI", sans-serif;
  font-size: 15px;
}

/* Generic icon grid (used outside modal) */
.icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.icon-grid i {
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  border: 2px solid transparent;
  border-radius: 8px;
  color: #D4AF37; /* Brand gold */
  transition: all 0.2s ease-in-out;
}

.icon-grid i:hover {
  border-color: #D4AF37;
}

.icon-grid i.selected {
  background-color: #D4AF37;
  color: white;
  border-color: #D4AF37;
}

/* Icon Picker Modal — refined look */
.icon-picker-grid-container {
  max-height: 380px; /* tighter panel feel */
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d4af37 #f1f1f1;
}

/* WebKit scrollbar styling */
.icon-picker-grid-container::-webkit-scrollbar {
  width: 8px;
}
.icon-picker-grid-container::-webkit-scrollbar-thumb {
  background-color: #d4af37;
  border-radius: 4px;
}
.icon-picker-grid-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Icon grid layout */
.icon-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  gap: 15px;
}

/* Icon buttons */
.icon-picker-grid i {
  font-size: 1.8rem;
  cursor: pointer;
  padding: 10px;
  border: 2px solid transparent;
  border-radius: 8px;
  color: #d4af37; /* Gold */
  transition: all 0.2s ease-in-out;
  outline: none; /* remove browser default outline */
}

/* Hover effect */
.icon-picker-grid i:hover {
  background-color: rgba(212, 175, 55, 0.15); /* soft gold highlight */
  border-color: #d4af37;
}

/* Selected state */
/* Selected icon style */
.icon-picker-grid i.selected {
  background-color: #d4af37; /* Gold background */
  color: white; /* White icon */
  border-color: #d4af37;
}

/* Shared visual style for focus/arrow navigation highlight */

.icon-picker-grid i:focus,
.icon-picker-grid i.focused {
  outline: 2px solid #d4af37;  /* Gold outline */
  outline-offset: 3px;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(212, 175, 55, 0.5); /* Subtle glow */
}

/* Ensure selected and focus styles don't conflict visually */
.icon-picker-grid i.selected.focused {
  outline: 2px solid white; /* White outline for contrast */
  outline-offset: 3px;
}

/* Search bar styling inside modal */
.icon-picker-search {
  margin-bottom: 0; /* eliminate extra space, since it's already in a padded container */
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ced4da;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  font-family: 'Open Sans', sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.icon-picker-search:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}



/* Consistent width for action buttons across dashboards */
.min-width-btn {
  min-width: 85px; /* Ensures buttons like 'View', 'Preview', 'Publish', 'Unpublish' align neatly */
  text-align: center; /* Keeps text centered for consistency */
}

/* Full-width map container for footer */
/* Full-width map container for footer */
.footer-map-container {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

.custom-map-wrapper {
  width: 100%;
  height: 660px;
  overflow: hidden;
}

.custom-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  margin: 0;
  padding: 0;
}

.custom-map-wrapper:focus {
  outline: 3px solid #FFD700; /* Gold to match site */
  outline-offset: 2px;
  border-radius: 0; /* keep square edges */
}

/* Spinner overlay */
.map-loader-container {
  position: relative;
}


.spinner-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 29, 55, 0.85); /* deep navy-blue backdrop */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.5s ease;
}

/* Hide spinner on load */
.spinner-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Gold spinner */
.spinner-border.text-gold {
  border-color: #d4af37;             /* rich gold */
  border-right-color: transparent;   /* classic spinner effect */
  width: 3rem;
  height: 3rem;
}

/* Mobile override */
@media (max-width: 768px) {
  .custom-map-wrapper {
    height: auto;
  }

  .custom-map-wrapper iframe {
    height: 300px;
  }
}


.footer-ride-share {
  background-color: #0a1a33; /* Dark navy */
  padding: 1rem;
  text-align: center;
  margin-top: 0;
  border-radius: 0; /* Remove rounded edges */
}

.footer-ride-share a {
  margin: 0 0.5rem;
}

.footer-ride-share .btn {
  border-radius: 0.25rem; /* Keep slight rounding only on buttons if you want */
}

.focus-outline {
  outline: 2px solid #ffcc00; /* Gold outline for keyboard users */
  outline-offset: 2px;
}

#id_latitude,
#id_longitude {
  transition: background-color 0.5s, color 0.5s;
}

/* Ensure all cards in the same row have the same height */
.dashboard-hero + .container .row.g-4 > [class*='col-'] {
    display: flex;
}

.dashboard-hero + .container .card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.dashboard-hero + .container .card-body {
    flex: 1 1 auto;
}

@media (max-width: 768px) {
    .dashboard-hero h1 {
        font-size: 1.8rem;
    }
    .dashboard-hero p {
        font-size: 1rem;
    }
    .card .btn {
        width: 100%;
    }
}
/* Corporate Gold Button */
/* Base button typography */
.btn-gold,
.btn-navy {
  font-family: 'Open Sans', sans-serif; /* Matches site body text */
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.25s ease-in-out;
  display: inline-block;
}

/* Corporate Gold Button */
.btn-gold {
  background-color: #c9a14a; /* Corporate gold */
  color: #fff;
  border: none;
}
.btn-gold:hover,
.btn-gold:focus {
  background-color: #b28e3f; /* Slightly darker gold */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(201, 161, 74, 0.4);
}

/* Corporate Navy Button */
.btn-navy {
  background-color: #0A1D37; /* Corporate navy */
  color: #fff;
  border: none;
}
.btn-navy:hover,
.btn-navy:focus {
  background-color: #08172c; /* Slightly darker navy */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(10, 29, 55, 0.4);
}

/* Mobile-friendly adjustments */
@media (max-width: 576px) {
  .btn-gold,
  .btn-navy {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    text-align: center;
  }
}
/* Hide ride-share buttons on desktop */
.mobile-only {
  display: none;
}

/* Show only on screens <= 768px (mobile/tablet) */
@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
}




/* Accessibility focus ring (adds, doesn't override) */
.footer-ride-share .btn.focus-outline {
  outline: 3px solid #FFD700; /* Gold */
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(0, 0, 128, 0.4); /* Navy glow */
}

/* ===== Error pages (404 / 500) ===== */
.error-page {
  min-height: 60vh;            /* big, breathing space */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 3rem;
}

.error-page .container {
  max-width: 900px;
}

.error-page h1.display-4 {
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: .25rem;
}

.error-page h2 {
  font-weight: 600;
  margin-bottom: .75rem;
}

.error-page .lead {
  opacity: .9;
  margin-bottom: 1.25rem;
}

/* Button polish */
.error-page .btn {
  padding: .75rem 1.25rem;
  border-radius: 999px; /* pill */
  font-weight: 600;
}

/* Links in the suggestions lists (recent blogs / practice areas) */
.error-page .row a {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
}

.error-page .row a:hover {
  text-decoration: underline;
}

/* Gentle entrance animation (respects reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .error-page {
    animation: ep-fade-up .6s ease both;
  }
  @keyframes ep-fade-up {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* Mobile type scale */
@media (max-width: 575.98px) {
  .error-page h1.display-4 {
    font-size: 2.5rem;
  }
}



/* Dashboard: feature image preview thumbnail */
.feature-image-preview {
  display: block;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9; /* use 2 / 1 if you want to match public crop exactly */
  object-fit: cover;
}
