/* Reduces the site title a bit | HC-35778758 */ .site-title {
	font-size: 30px !important;
}



/* Hide Slideshow Arrows, Pause  | 35783521-hc | kA */
.wp-block-jetpack-slideshow .amp-carousel-button, .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next, .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause, .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play, .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev {
    display: none !important;
}



/* set max height for jetpack slideshow block | 5813792-hc eD */
.wp-block-jetpack-slideshow,
.wp-block-jetpack-slideshow_container ul {
	max-height: 280px;
}

/* Remove gap between page title and header, and gap between heading and page title. | 35822791-HC (AV) */
.page-id-117 .has-text-align-center {
	margin-top: 20px;
}

.page-id-117 .site-content {
	padding-top: 0px;

}

/* End Remove gap between page title and header, and gap between heading and page title. | 35822791-HC (AV) */

/*remove spacing on property law page title as well 35837812-hc JG*/
#post-4761 .entry-title {
	margin-top: -0px;
  margin-bottom: -20px;
}

/*--- removes padding top above content area on homepage / #35848349-HC-PK ---*/
@media screen and (min-width: 768px){
.page-template-full-width-page .site-content {
    padding-top: 0;
}
}

/*Hide Titles on Services Pages-#35855581-hc KS */
.page-id-4761 .entry-title, .page-id-121 .entry-title, .page-id-10409 .entry-title, .page-id-10562 .entry-title, .page-id-320 .entry-title, .page-id-335 .entry-title {
    display: none;
}

/* increase site header width | 35876532-hc */
.site-branding-wrapper {
	max-width: 1400px;
}

.top-bar-wrapper {	
    max-width: 1400px;
}

/* Resize mapbox maps cl-5351479-hc */

.wp-block-jetpack-map.aligncenter.is-style-default {
  display: flex;
  justify-content: center;
}

.mapboxgl-canvas {
  width: 300px !important;
  height: 300px !important;
}

.wp-block-jetpack-map__gm-container.mapboxgl-map {
  height: 300px !important;
  width: 300px !important;
  min-height: 300px !important;
}

/* Hide testimonial pagination count */
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom {
	display: none !important;
}

.nudge-left {
  position: relative;
  left: -10px; /* shift left, increase or decrease as needed */
}

/* Hide the title on the homepage draft only */
body.page-id-17463 .entry-title {
  display: none;
}

/* Preserve heading capitalization on the homepage draft */
body.page-id-17463 .entry-content h1,
body.page-id-17463 .entry-content h2,
body.page-id-17463 .entry-content h3 {
  text-transform: none;
}



/* Burgundy italic phrase in the main headline */
body.page-id-17463 .ajg-hero-heading em {
  color: #84243A;
}

/* Consistent button sizing on this draft */
body.page-id-17463 .wp-block-button__link {
  font-size: 14px !important;
  line-height: 1.3;
  padding: 16px 24px !important;
  border-radius: 2px !important;
  box-sizing: border-box;
}

/* Vertically align buttons and give them breathing room */
body.page-id-17463 .wp-block-buttons {
  align-items: center;
  gap: 16px;
}

/* Remove the gap between the hero and statistics */
body.page-id-17463 .ajg-hero {
  margin-bottom: 0 !important;
}

body.page-id-17463 .ajg-stats {
  margin-top: 0 !important;
}

/* Give the statistics strip comfortable spacing */
body.page-id-17463 .ajg-stats {
  padding: 36px 24px !important;
  box-sizing: border-box;
}

/* Center each statistic */
body.page-id-17463 .ajg-stats p {
  margin: 0 !important;
  text-align: center;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.5;
}

/* Put the bold numbers on their own larger line */
body.page-id-17463 .ajg-stats strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.1;
}

/* Services section */
body.page-id-17463 .ajg-services {
  background: #faf8f2;
  padding: clamp(40px, 6vw, 96px) clamp(24px, 6vw, 96px);
  margin-top: 0 !important;
  box-sizing: border-box;
}

/* Services heading */
body.page-id-17463 .ajg-services h2 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  color: #26372e;
  margin-top: 20px;
  margin-bottom: 24px;
}

/* Introductory text */
body.page-id-17463 .ajg-services p {
  font-size: 18px;
  line-height: 1.7;
  color: #59615b;
}

/* Service cards: four across on larger screens */
body.page-id-17463 .ajg-service-cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 !important;
  width: 100%;
  max-width: none !important;
  margin: 48px 0 0 !important;
}

/* Borders and space inside each card */
body.page-id-17463 .ajg-service-cards > .wp-block-column {
  min-width: 0;
  margin: 0 !important;
  padding: 36px 28px;
  border: 1px solid #d8d6ce;
  box-sizing: border-box;
}

/* Card headings */
body.page-id-17463 .ajg-service-cards h3 {
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  color: #26372e;
  margin: 0 0 18px !important;
}

/* Card descriptions */
body.page-id-17463 .ajg-service-cards p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

/* Two cards per row on tablets */
@media (max-width: 1100px) {
  body.page-id-17463 .ajg-service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* One card per row on phones */
@media (max-width: 600px) {
  body.page-id-17463 .ajg-service-cards {
    grid-template-columns: 1fr;
  }
}

/* Align service links along the bottom of the cards */
body.page-id-17463 .ajg-service-cards > .wp-block-column {
  display: flex;
  flex-direction: column;
}

body.page-id-17463 .ajg-service-cards .ajg-service-link {
  margin-top: auto !important;
  padding-top: 32px;
}

body.page-id-17463 .ajg-service-link a {
  color: #84243a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Mediation and arbitration section */
body.page-id-17463 .ajg-adr {
  background: #26372e;
  color: #f8f5ed;
  gap: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Space inside both columns */
body.page-id-17463 .ajg-adr > .wp-block-column {
  padding: clamp(32px, 5vw, 80px);
  margin: 0 !important;
  box-sizing: border-box;
}

/* Slightly lighter background on the right */
body.page-id-17463 .ajg-adr > .wp-block-column:last-child {
  background: #3b4b3e;
}

/* Main heading */
body.page-id-17463 .ajg-adr h2 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  color: #ffffff;
  margin: 24px 0 32px;
}

/* Introductory paragraph */
body.page-id-17463 .ajg-adr p {
  color: #e0e5de;
  font-size: 19px;
  line-height: 1.7;
}

/* Small gold section labels */
body.page-id-17463 .ajg-adr > .wp-block-column:first-child > p:first-child,
body.page-id-17463 .ajg-adr h3 {
  color: #e0c28a;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Dispute areas as separated rows */
body.page-id-17463 .ajg-adr ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

body.page-id-17463 .ajg-adr li {
  padding: 18px 0;
  margin: 0;
  border-top: 1px solid #718073;
  color: #f8f5ed;
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1.4;
}

body.page-id-17463 .ajg-adr li:last-child {
  border-bottom: 1px solid #718073;
}

/* Contact button in the mediation section */
body.page-id-17463 .ajg-adr .wp-block-buttons {
  margin-top: 32px;
}

body.page-id-17463 .ajg-adr .wp-block-button__link {
  background: #f3efe6 !important;
  color: #26372e !important;
  border: 1px solid #f3efe6;
  font-weight: 700;
}

/* Meet Aric */
body.page-id-17463 .ajg-about {
  background: #faf8f2;
  padding: clamp(40px, 6vw, 96px);
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  gap: clamp(32px, 5vw, 80px) !important;
  align-items: center !important;
  box-sizing: border-box;
}

body.page-id-17463 .ajg-about > .wp-block-column {
  min-width: 0;
  margin: 0 !important;
}

body.page-id-17463 .ajg-about .wp-block-image {
  width: 100%;
  max-width: 480px;
  margin: 0 auto !important;
}

body.page-id-17463 .ajg-about .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}

body.page-id-17463 .ajg-about h2 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  color: #26372e;
  margin: 20px 0 28px;
}

body.page-id-17463 .ajg-about p {
  color: #59615b;
  font-size: 19px;
  line-height: 1.7;
}

body.page-id-17463 .ajg-about > .wp-block-column:last-child > p:first-child {
  color: #84243a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}

body.page-id-17463 .ajg-about a {
  color: #84243a;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}
/* Client reviews */
body.page-id-17463 .ajg-reviews {
  background: #ece5d9;
  padding: clamp(40px, 6vw, 96px);
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  gap: clamp(32px, 5vw, 80px) !important;
  align-items: center !important;
  box-sizing: border-box;
}

body.page-id-17463 .ajg-reviews > .wp-block-column {
  min-width: 0;
  margin: 0 !important;
}

body.page-id-17463 .ajg-reviews h2 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  color: #26372e;
  margin: 20px 0 24px;
}

body.page-id-17463 .ajg-reviews p {
  color: #59615b;
  font-size: 18px;
  line-height: 1.7;
}

body.page-id-17463 .ajg-reviews > .wp-block-column:first-child > p:first-child {
  color: #84243a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}

body.page-id-17463 .ajg-reviews > .wp-block-column:last-child > p {
  margin: 0 !important;
  border-top: 1px solid #c9c2b7;
}

body.page-id-17463 .ajg-reviews > .wp-block-column:last-child > p:last-child {
  border-bottom: 1px solid #c9c2b7;
}

body.page-id-17463 .ajg-reviews a {
  display: block;
  padding: 26px 0;
  color: #26372e;
  font-family: Georgia, serif;
  font-size: clamp(20px, 1.6vw, 25px);
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}

body.page-id-17463 .ajg-reviews a:hover {
  color: #84243a;
  text-decoration: underline;
  text-underline-offset: 5px;
}

body.page-id-17463 .ajg-reviews a:focus-visible {
  outline: 2px solid #84243a;
  outline-offset: 5px;
}
body.page-id-17463 .ajg-reviews {
  padding-left: clamp(24px, 6vw, 96px) !important;
  padding-right: clamp(24px, 6vw, 96px) !important;
}

/* Giving Back */
body.page-id-17463 .ajg-giving {
  background: #faf8f2;
  padding: clamp(40px, 6vw, 96px) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  gap: clamp(32px, 5vw, 80px) !important;
  align-items: center !important;
  box-sizing: border-box;
}

body.page-id-17463 .ajg-giving > .wp-block-column {
  min-width: 0;
  margin: 0 !important;
}

body.page-id-17463 .ajg-giving h2 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  color: #26372e;
  margin: 20px 0 0;
}

body.page-id-17463 .ajg-giving > .wp-block-column:first-child > p:first-child {
  color: #84243a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Pair each logo with the paragraph following it */
body.page-id-17463 .ajg-giving > .wp-block-column:last-child {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

body.page-id-17463 .ajg-giving .wp-block-image {
  width: 100%;
  margin: 0 !important;
  padding: 12px;
  background: #ffffff;
  box-sizing: border-box;
}

body.page-id-17463 .ajg-giving .wp-block-image img {
  display: block;
  width: 100% !important;
  height: 130px !important;
  object-fit: contain;
}

body.page-id-17463 .ajg-giving > .wp-block-column:last-child > p {
  margin: 0 !important;
  color: #26372e;
  font-family: Georgia, serif;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
}

@media (max-width: 600px) {
  body.page-id-17463 .ajg-giving > .wp-block-column:last-child {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 20px 16px;
  }

  body.page-id-17463 .ajg-giving .wp-block-image img {
    height: 90px !important;
  }
}

/* Refine Giving Back */
body.page-id-17463 .ajg-giving {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

body.page-id-17463 .ajg-giving > .wp-block-column:last-child {
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 18px 28px;
}

body.page-id-17463 .ajg-giving .wp-block-image {
  padding: 8px;
}

body.page-id-17463 .ajg-giving .wp-block-image img {
  height: 100px !important;
}

body.page-id-17463 .ajg-giving > .wp-block-column:last-child > p {
  font-size: 22px;
}

@media (max-width: 600px) {
  body.page-id-17463 .ajg-giving > .wp-block-column:last-child {
    grid-template-columns: minmax(0, 140px) minmax(0, 1fr);
    gap: 16px;
  }

  body.page-id-17463 .ajg-giving > .wp-block-column:last-child > p {
    font-size: 18px;
  }
}

/* Homepage draft: tighten the space above the hero */
body.page-id-17463 .site-content {
  padding-top: 0 !important;
}

body.page-id-17463 #post-17463 > .entry-header {
  display: none;
}

body.page-id-17463 #post-17463 .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Hero layout */
body.page-id-17463 .ajg-hero {
  gap: 0 !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-items: stretch !important;
}

body.page-id-17463 .ajg-hero > .wp-block-column {
  min-width: 0;
  margin: 0 !important;
  box-sizing: border-box;
}

/* Headline and introduction */
body.page-id-17463 .ajg-hero > .wp-block-column:first-child {
  background: #f3efe6;
  padding: clamp(32px, 4vw, 72px) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.page-id-17463 .ajg-hero > .wp-block-column:first-child > p:first-child {
  color: #84243a;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 0 !important;
}

/* Wider portrait with a deliberate top/right green frame */
body.page-id-17463 .ajg-hero > .wp-block-column:last-child {
  background: #26372e;
  padding: clamp(20px, 3vw, 48px)
           clamp(20px, 3vw, 48px)
           0 0 !important;
  display: flex;
  align-items: flex-end;
}

body.page-id-17463 .ajg-hero .wp-block-image {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-17463 .ajg-hero .wp-block-image img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
}

/* Comfortable framing when columns stack on mobile */
@media (max-width: 781px) {
  body.page-id-17463 .ajg-hero > .wp-block-column:first-child {
    padding: 36px 24px !important;
  }

  body.page-id-17463 .ajg-hero > .wp-block-column:last-child {
    padding: 24px 24px 0 !important;
  }
}

/* Let the portrait fill its column */
body.page-id-17463 .ajg-hero > .wp-block-column:last-child {
  padding: 40px 40px 0 0 !important;
}

body.page-id-17463 .ajg-hero > .wp-block-column:last-child > *,
body.page-id-17463 .ajg-hero .wp-block-image,
body.page-id-17463 .ajg-hero .wp-block-image > a {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.page-id-17463 .ajg-hero .wp-block-image img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
}

/* Close the gap below the statistics */
body.page-id-17463 .ajg-stats {
  margin-bottom: 0 !important;
}

body.page-id-17463 .ajg-services {
  margin-top: 0 !important;
}

/* Smaller portrait frame on mobile */
@media (max-width: 781px) {
  body.page-id-17463 .ajg-hero > .wp-block-column:last-child {
    padding: 24px 24px 0 !important;
  }
}

/* Enlarge the hero portrait */
body.page-id-17463 .ajg-hero .ajg-hero-photo {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: stretch;
}

body.page-id-17463 .ajg-hero .ajg-hero-photo img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
}

/* Values beneath the hero buttons */
body.page-id-17463 .ajg-hero p.ajg-hero-values {
  margin: 36px 0 0 !important;
  color: #59615b;
  font-size: 13px !important;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Desktop portrait: target the actual WordPress wrapper */
@media (min-width: 782px) {
  #post-17463 .ajg-hero > .wp-block-column:last-child {
    position: relative !important;
    display: block !important;
    padding: 0 !important;
    align-self: stretch !important;
  }

  #post-17463 .ajg-hero .ajg-hero-photo {
    position: absolute !important;
    inset: 64px 80px 0 0 !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }

  #post-17463 .ajg-hero .ajg-hero-photo > figure {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #post-17463 .ajg-hero .ajg-hero-photo img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center 30%;
  }
}

/* More breathing room above and below the hero text */
@media (min-width: 782px) {
  #post-17463 .ajg-hero > .wp-block-column:first-child {
    padding-top: 88px !important;
    padding-bottom: 88px !important;
  }
}

@media (min-width: 782px) {
  #post-17463 .ajg-hero > .wp-block-column:first-child {
    flex: 0 0 51% !important;
  }

  #post-17463 .ajg-hero > .wp-block-column:last-child {
    flex: 0 0 49% !important;
  }
}