body {
  margin: 0;
  padding: 0;
  background-color: white;
  font-family: 'Georgia', serif;
  text-align: center;
}

.container {
  padding-top: 100px;
}

.site-title {
  font-size: 3em;
  font-weight: bold;
  color: #333;
  margin-bottom: 50px;
}

.main-nav ul {
  list-style: none;
  padding: 0;
}

.main-nav ul li {
  margin: 15px 0;
}

.main-nav ul li a {
  text-decoration: none;
  font-size: 1.5em;
  color: #000;
  transition: color 0.3s;
}

.main-nav ul li a:hover {
  color: #888;
}

.testimonial {
  background-color: rgba(255, 0, 0, 0.05);
  border-left: 4px solid #f00;
  padding: 30px 40px;
  margin: 30px auto;
  max-width: 800px;
  font-style: italic;
  color: #333;
}

.testimonial p {
  margin: 0 0 15px;
  line-height: 1.6;
}

.testimonial strong {
  display: block;
  text-align: right;
  font-style: normal;
  margin-top: 10px;
}

.testimonial {
  border-left: 4px solid #888;
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: #333;
}


.hamburger {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  font-weight: bold;
  z-index: 999;
}

.hamburger a {
  text-decoration: none;
  color: #111;
  font-family: 'Playfair Display', serif;
}

/* Footer Below */

.site-footer {
  margin-top: 100px;
  padding: 30px 20px;
  background-color: #f8f8f8;
  text-align: center;
  font-family: 'Playfair Display', serif;
  border-top: 1px solid #ddd;
}

.footer-text {
  color: #666;
  font-size: 14px;
  margin-top: 15px;
}

.footer-social {
  margin-bottom: 10px;
}

.social-icon {
  width: 28px;
  height: 28px;
  margin: 0 10px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}


.testimonial {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

.testimonial img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* === Testimonials: responsive fix === */
.testimonial{
  display:flex;
  align-items:flex-start;
  gap:16px;
  width:100%;
  margin:32px auto;
}

.testimonial img{
  width:110px;           /* desktop/default size */
  height:110px;
  border-radius:50%;
  object-fit:cover;
  flex:0 0 110px;        /* reserve EXACT space, prevents pushing */
}

.testimonial-text{
  flex:1 1 auto;
  min-width:0;           /* allow wrapping instead of overflow */
  text-align:left;       /* stop the center-alignment on mobile */
}

.testimonial-text h3,
.testimonial-text p{
  text-align:left;
}

/* Make sure no legacy styles fight us */
.testimonial img,
.testimonial-text{
  max-width:100% !important;
  float:none !important;
}

/* Phone tweaks */
@media (max-width: 600px){
  .testimonial{
    gap:12px;
  }
  .testimonial img{
    width:72px;          /* smaller avatar on phones */
    height:72px;
    flex:0 0 72px;
  }
}

/* ===== Testimonials: FIX layout on mobile ===== */
.testimonial{
  display:grid;
  grid-template-columns: auto 1fr;   /* headshot + flexible text */
  align-items:start;
  column-gap:16px;
  width:100%;
  margin:32px 0;
}

.testimonial img{
  width:72px;          /* mobile size */
  height:72px;
  border-radius:50%;
  object-fit:cover;
}

/* Make the text area take full width and be left aligned */
.testimonial-text{
  max-width:100% !important;
  min-width:0;                        /* allow wrapping */
  text-align:left !important;
}
.testimonial-text h3,
.testimonial-text p{
  text-align:left !important;
  max-width:100% !important;          /* kill any old 28ch-type limits */
}

/* Nuke legacy floats/centering that might fight us */
.testimonial *{
  float:none !important;
}

/* Larger avatars on wider screens */
@media (min-width: 700px){
  .testimonial img{
    width:110px;
    height:110px;
  }
}

/* ===== Testimonials — tighten mobile layout ===== */
.testimonials-wrap{
  max-width: 720px;          /* keep the whole section centered and not too wide */
  margin: 0 auto;
  padding: 0 16px;
}

.testimonial{
  display: grid;
  grid-template-columns: 56px 1fr;   /* tiny avatar + flexible text */
  column-gap: 12px;
  align-items: start;
  margin: 28px 0;
  border-left: 4px solid #bfbfbf;    /* thinner stripe */
  padding-left: 12px;                /* less push to the right */
  background: #fdeeee;               /* your soft pink */
}

.testimonial img{
  width: 48px;                       /* much smaller circle on phones */
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-text,
.testimonial-text h3,
.testimonial-text p{
  text-align: left !important;
  max-width: 100% !important;
  float: none !important;
}

.testimonial-text h3{
  margin: 0 0 8px;
}

/* Scale up a bit only on wider screens */
@media (min-width: 700px){
  .testimonial{
    grid-template-columns: 100px 1fr;
    border-left: 6px solid #bfbfbf;
    padding-left: 16px;
  }
  .testimonial img{
    width: 48px;
    height: 48px;
  }
}

/* Safety: kill any old center/width rules that might be leaking in */
.testimonial p{ width:auto !important; }

.testimonial {
  margin-bottom: 3rem;
  background-color: #fceeee; /* or your pink */
  padding: 1rem;
  overflow: hidden;
  line-height: 1.6;
}

.testimonial img {
  width: 24px;
  height: 36px;
  border-radius: 50% / 60%;
  object-fit: cover;
  float: left;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  overflow: hidden;
}

.container { padding-top: 24px; }

/* WRAPAROUND: must be last */
.testimonial { 
  display: block !important;       /* no flex */
  overflow: visible !important;     /* don't create a new formatting context */
}

.testimonial-text {
  overflow: visible !important;     /* remove any overflow:hidden that blocks wrap */
  float: none !important;
  position: static !important;
  display: block !important;
}

.testimonial img {
  float: left !important;
  width: 50px !important;
  height: 50px !important;         /* required for shape-outside */
  margin: 0 18px 12px 0 !important;
  border-radius: 50% / 60% !important;
  object-fit: cover !important;
  shape-outside: ellipse() !important;
}