html { font-display: swap; }
img, iframe { display: block; max-width: 100%; height: auto; }

@font-face {
  font-display: swap;
}

h1, h2, h3, h4, h5, h6,
  .button-primary,
  .cta-button,
  .hero-button,
  .hero-title,
  .section-title
 {
font-family: "EB Garamond SC", serif;
font-variant: small-caps;
padding-bottom: 1rem; 
padding-top: 1rem; 
  }

.section-subtitle p a li ul {
padding: 1rem; 
}

html {
  scroll-behavior: smooth;
}

/* Adjust the body or container element if needed */
body, .main-container {
  margin: 0;
  padding: 0;
}

.p-justify {
  text-align: justify;
}


ul, ol {
    list-style-type: disc;
}

/* Optional: Add some padding to the left to distinguish from text */
ul {
    padding-left: 20px;
}

ol {
    padding-left: 25px;
}

.woocommerce-breadcrumb {
	color: #555;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	padding: 10px 0;
}

.woocommerce-breadcrumb a {
    color: #0073aa;
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    color: #005580;
}
.back-to-top {
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 50%; 
    bottom: 35px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    color: #333;
    display: none;
    font-size: 18px;
    height: 40px;
    line-height: 40px;
    position: fixed;
    right: 20px;
    text-align: center;
    transition: opacity 0.3s, transform 0.3s;
    width: 40px;
    z-index: 9999;
}

.back-to-top:hover {
    background-color: #333;
    color: #fff;
    transform: scale(1.1); 
}

.back-to-top a {
    text-decoration: none;
    color: inherit;
}

.back-to-top.show {
    display: block; /* Show when scrolling */
    opacity: 0.9;
}
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #B88A302B;
    color: #111;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.floating-cta:hover {
    background-color: #D3A92C;
    transform: scale(1.05);
}

.short-description {
  font-size: 0.9rem;
  transition: all 0.3s ease-in-out;
}

.wp-element-button:hover {
  background-color: #D3A92C;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.timeline-entry:hover {
  background-color: #D3A92C;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.form-note {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f9f4ef; 
    border-radius: 8px;
    color: #3e3e3e;
}

.form-note p a {
    font-size: 1rem;
    line-height: 1.5;
}

.form-note a {
    color: #00695c;
    text-decoration: none;
    border-bottom: 1px solid #00695c;
    font-weight: bold;
}

.form-note a:hover {
    color: #004d40;
    border-bottom: 1px solid #004d40;
}

.form-anchor-button {
  background-color: #e6e6e6;
  border: 1px solid #aaaaaa;
  font-size: 12px !important;
  font-family: inherit;
  font-weight: 500;
  margin-right: 15px;
  margin-top: 30px;
  cursor: pointer;
  padding: 5px 15px;
  border-radius: 15px;
  box-sizing: border-box;
  text-decoration: none;
  display: inline-block;
  color: inherit;
	white-space: pre;
  padding-block: 1px;
  padding-inline: 6px;
}

.wp-block-image a:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.secondary-cta {
    display: block;
    text-align: center;
    color: #fff;
    background: #3B3B3B;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
}
.secondary-cta:hover {
    background: #5A5A5A;
}
/* Container Styling */
.process-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px; 
    background-color: #f9f4ef; 
    border-radius: 15px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

/* Step Blocks */
.step-block {
    display: flex;
    align-items: center;
    margin: 40px 50px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    transition: box-shadow 0.3s ease;
    max-width: 90%;
    box-sizing: border-box;
}

.step-block:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); 
}


.step-block img {
    border-radius: 10px;
	  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-block .step-content {
	margin-top: 20px;
}

.step-block .step-title {
    font-size: 1.75rem;
    color: #000;
    margin-bottom: 10px;
}

.step-block .step-description {
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .process-container {
        padding: 40px 15px; /* Reduce padding for smaller screens */
    }

    .step-block {
        flex-direction: column; /* Stack image and content vertically */
        align-items: center; /* Center-align content */
        padding: 10px;
        margin: 10px auto; /* Reduce spacing between steps */
        max-width: 100%; /* Use full width on mobile */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Softer shadow for mobile */
    }

    .centered-group {
        margin-bottom: 20px; /* Add spacing between image and content */
        padding: 0; /* Remove unnecessary padding */
    }

    .step-block img {
        width: 100%; /* Ensure image spans the available width */
        max-height: none; /* Remove height constraints */
        border-radius: 8px; /* Adjust for mobile aesthetics */
    }

    .step-content {
        text-align: center; /* Center-align text for a cleaner look */
        margin: 0;
    }

    .step-title {
        margin-bottom: 10px;
    }

    .step-description {
        line-height: 1.6;
    }
}

/* Homepage - Videos */
.video-banner {
  width: 70%;
	align-items: center;
}
  
@media screen and (max-width: 767px) {
  .video-banner {
    width: 100%;
    max-width: 100%;
    overflow: hidden; /* Optional: prevents any overflow from the video element */
  }
  
  .video-banner video {
    width: 100%;
    height: auto;
    display: block;
		padding-left: 30px;
		padding-right: 30px;
  }
}

/* Homepage - How our bespoke rug process works */

.bespoke-process {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.process-summary {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 820px;
  margin-bottom: 2.5rem;
  color: #2b2b2b;
}

.process-steps{
  counter-reset: step;
  margin: 2rem 0 3rem;
  padding-left: 0;
}

.process-steps li {
  list-style: none;
  counter-increment: step;
  margin-bottom: 1.75rem;
  padding-left: 3rem;
  position: relative;
}

.process-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #d3a92c;
  color: #000;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-clarity {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.process-clarity h4 {
  margin-bottom: 0.75rem;
}

/* Homepage - Cover Images */
.cover-image-overlay {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cover-image-overlay img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.cover-image-overlay:hover {
  transform: scale(1.01); 
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); 
}


/* Intro Section Container */
.intro-section {
    background-color: #f9f4ef;
    padding: 25px 40px; /* Increase horizontal space, keep balanced vertical space */
    margin-top: 15px;
margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    text-align: center;
    max-width: 85%; /* Keep good width without being too narrow */
}

.intro-section-white {
    background-color: #fff;
    padding: 25px 40px;
    margin-top: 15px;
margin-bottom: 15px;
}

.intro-section-category-heading {
    background-color: #cfcabe;
}

.intro-section-category-body {
    background-color: #ffffff;
}

.intro-section, .intro-section-white, .intro-section-category-heading, .intro-section-category-body {
    text-align: left;
    padding: 30px;  /* More spacing */
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    align-items: center;
}

.intro-section, .intro-section-white:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12); 
}

/* Intro Section Heading */
.intro-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-top: 15px;
margin-bottom: 15px;
}

/* Intro Paragraphs */
.intro-hero {
	text-align: center;
}

.intro-text, .intro-hero {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    padding: 0 20px; /* Increased padding inside */
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .intro-section, .intro-section-white {
        max-width: 95% !important;  /* Allows more width while keeping margins */
        padding: 20px 25px !important; /* Adjust padding */
        margin: 15px auto !important; /* Ensure it does not stack */
  }

  .intro-section p {
        line-height: 1.6 !important;
        padding: 0 10px;
  }

  .intro-section h3 {
  }

  .intro-section {
    line-height: 1.6;
    margin: 20px auto; /* Centering */
  }
	p {
    line-height: 1.6;
}
	
	.short-description {
        line-height: 1.5 !important;
        padding: 0 10px;
}

  .intro-section, .intro-section-white h4 {
    text-align: left;
    margin-bottom: 15px;
  }

  .intro-section, .intro-section-white p a {
        line-height: 1.6;
        padding: 0 15px !important; /* More spacing between text and border */
  }

  [class*="col"] {
    display: block;
    width: 100%; 
    box-sizing: border-box; 
  }

	.intro-text, .p-justify, p {
        line-height: 1.6;
    }

  .content,
  .container,
  .group,
  .wp-block-group, .wp-block-column {
        max-width: 100% !important;
    padding: 0 10px;
  }
}


  body {
    line-height: 1.6;
    }

.section-subtitle {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.6;
    text-align: center;
}

.section-subtitle a {
    color: inherit;
    text-decoration: underline;
    font-weight: inherit;
	  font-family: inherit; 
}

.section-subtitle a:hover {
    text-decoration: underline;
    color: #333;
}

/* Process Steps */
.step-image {
    width: 100%;
    border-radius: 10px;
}

.step-content {
    color: #555;
    padding: 20px;
}

.step-content h3 {
    font-size: 1.75rem;
    color: #000;
    margin-bottom: 10px;
}

.step-content p a li ul ol {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Call-to-Action Section */
.cta-heading {
    text-align: center;
    font-size: 2rem;
    color: #000;
    margin-bottom: 20px;
}

/* Interior Designers, Trade Benefits section, and Our Commitment, Guarantees and Extra Bonuses */
.trade-benefits-columns, .clients-columns, .rug-categories-columns, .guarantees-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.benefit-column-white {
    background-color: #fff;
	}

.benefit-column, .client-column, .rug-category-column {
    background-color: #fff; 
}

.benefit-column, .client-column, .rug-category-column, .benefit-column-white {
    flex: 1;
    max-width: 30%;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.benefit-column:hover {
    transform: scale(1.03); 
}

.client-column:hover {
    transform: scale(1.03); 
}

.benefit-column-white:hover {
    transform: scale(1.03); 
}

.specs-fact-sheet {
    background-color: #faf5f04a; 
    flex: 1;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.specs-fact-sheet:hover {
    transform: scale(1.03); 
}

/* Ensure images inside .benefit-column-white are responsive */
.benefit-column-white, .client-column img {
    width: 100%; /* Make images fill the container */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional: Match border-radius for images */
    object-fit: cover; /* Optional: Ensure images cover the area neatly */
}

/* Mobile responsiveness: stack columns when the screen width is 768px or smaller */
@media (max-width: 1200px) {
    .benefit-column-white, .client-column {
        max-width: 100%; /* Ensure full width on mobile */
        margin-bottom: 20px; /* Add some spacing between stacked columns */
    }

    /* Ensure images scale properly on mobile */
    .benefit-column-white, .client-column img {
        width: 100%; /* Make images fill the container on mobile */
        height: auto; /* Maintain aspect ratio */
    }
  .trade-benefits-columns, . clients-columns, .rug-categories-columns, .guarantees-columns {
    flex-direction: column; /* Stack columns vertically */
    gap: 10px;  /* Reduce gap between stacked columns */
  }

  .benefit-column, .client-column, .rug-category-column, .guarantee-column {
    max-width: 100%; /* Full width for each column */
  }
}

.guarantee-column-clear {
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.guarantee-column {
    background-color: #fff; 
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.guarantee-column-clear:hover {
    transform: scale(1.01); 
}

.guarantee-column:hover {
    transform: scale(1.01); 
}


.benefit-title, .clients-title, .rug-category-title, .guarantee-title {
    font-size: 1.35rem; /* Matches H5 size */
    margin-bottom: 10px;
}

.benefit-list, .rug-category-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
}

.benefit-list li {
    margin-bottom: 10px;
}

.cta {
    text-align: center;
    margin-top: 20px;
}

.button-primary {
    font-size: 1.05rem;
    color: #fff;
    background-color: #b88a30;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

.button-primary:hover {
    background-color: #D3A92C;
}
@media (max-width: 1200px) {
	.trade-benefits-columns . guarantee-column-clear {
		flex-direction: column;
        width: 100% !important;
        padding: 15px !important;
        margin-bottom: 15px;
        border-radius: 8px;
    }
.benefit-column, .client-column {
	max-width: 100%;
	margin-bottom: 20px; 
    }
}

.centered-group {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
  padding: 20px;
  margin: 10px; 
}

/* General hero section styles */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; 
  text-align: center;
  padding: 10px;
  position: relative;
  min-height: 100%;
  width: 100%;
	background-attachment: scroll !important;
	will-change: transform, opacity;
  -webkit-background-clip: border-box;
  -webkit-transform: translate3d(0,0,0);
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

/* Background image for hero section */
.hero .wp-block-cover__image-background {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* Hero content styles */
.hero-content {
  position: relative;
  max-width: 80%; /* Keeps content centered and balanced */
  width: 100%;
  background-color: rgba(255, 255, 255, 0.75); /* Subtle background for contrast */
  padding: 15px; /* Reduced padding */
  border-radius: 8px;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto; /* Ensures horizontal centering */
}

/* Hero title styles */
.hero-title {
  font-size: 2.6rem; /* Slightly reduced for better fit */
  margin-bottom: 5px; /* Reduced space below title */
  color: #000;
  font-family: 'EB Garamond SC', serif;
  text-transform: none; /* Ensures small caps work correctly */
  line-height: 1.2;
}

/* Hero subtitle */
.hero-subtitle {
  font-size: 1.4rem;
  color: #000;
  margin-bottom: 10px; /* Reduced margin */
  font-family: 'Lora', serif;
  line-height: 1.4;
}

/* Hero button styles */
.hero-button {
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.4rem; /* Adjusted button size */
  transition: all 0.3s ease;
  font-family: 'EB Garamond SC', serif;
  text-transform: none;
  padding: 8px 18px; /* Adjusted padding */
  margin: 5px 0; /* Reduced margin */
}

.hero-button:hover {
  transform: scale(1.05);
}

/* Fix for Safari and iOS background issue */
@supports (-webkit-touch-callout: none) {
  .hero {
    background-attachment: scroll !important;
    -webkit-background-clip: border-box !important;
  }
}

/* Tablet and small desktop adjustments */
@media (max-width: 1200px) {
  .hero {
    min-height: 95vh;
  }

  .hero-content {
    width: 90%;
    max-width: 650px; /* Slightly narrower for balance */
    padding: 12px; /* Further reduced padding */
  }

  .hero-button {
    padding: 7px 14px;
  }
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
  .hero {
    padding: 5px;
    justify-content: center; 
    min-height: 90vh; 
  }

  .hero-content {
    width: 95%;
    max-width: 95%;
    padding: 10px; /* Minimized padding */
  }

  .hero-button {
    padding: 6px 12px;
  }
}

/* About Us Section */
.about-us-section {
  padding: 60px 20px;
  background-color: #f9f4ef;
  border-radius: 8px;
  text-align: center;
	max-width:90%;
}

/* Headline */
.about-us-heading {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Subheadline */
.about-us-subheadline, .section-subheadline {
  font-size: 1.2rem;
	font-style:italic;
  margin: 20px;
	text-align: center;
}

/* Divider */
.about-us-divider {
  width: 80px;
  height: 1px;
  background-color: #b8a78c;
  margin: 20px auto;
}

/* Image */
.about-us-image {
  border: 5px solid #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Personal Note */
.about-us-note {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Highlights List */
.about-us-highlights {
  font-size: 1rem;
  color: #555;
  margin: 20px auto;
  max-width: 800px;
  list-style: disc inside;
  text-align: left;
}

/* Button */
.cta-button {
  background-color: #d4a373;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
	align-items: center;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  margin: 20px auto;
}

.cta-button:hover {
  background-color: #b3885a;
  color: #fff;
  transform: scale(1.05);
}

.about-intro, .about-journey {
  margin: 50px auto;
  background: linear-gradient(to bottom, #f9f4ef, #fffdf9);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

.about-image {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.1);
}

/* Link Personal Journey on About Us */

.button-primary {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  background-color: #d4a373; 
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button-primary:hover {
  background-color: #b3885a; /* Darker shade for hover */
}

/* Quotes */

.quote-subtitle, .quote-block, .quote-block-smaller {
  font-style: italic;
  color: #707070;
  text-align: center;
  margin: 20px auto;
  max-width: 900px;
}

.quote-block-smaller {
  font-size: 1.3rem;
}

.quote-subtitle {
  font-size: 1.3rem;
}

/* About Page, Section "Turning Stories" */
.section-background {
  background-color: #fdf8f3;
}

.section-background-white {
  background-color: #f2f0ef;
}

.section-background, .section-background-white {
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.section-background:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.section-background-white:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 2.0rem;
  letter-spacing: 0.03rem;
  text-align: center;
}

.image-center {
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.column-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.column-text {
  line-height: 1.8;
}

.column-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.column-image {
  width: 100%; /* Ensures responsiveness */
  max-width: 400px; /* Maximum square size */
  height: 0;
  position: relative; /* Allows positioning of the actual image inside */
  border-radius: 10px;
}

/* =========================
   Testimonials – Core
========================= */

.editorial-micro-link {
  margin-top: 1.5rem;
  text-align: center;
}

.editorial-micro-link a {
  font-family: inherit;
  font-size: 0.95rem;
  color: #4f4f4f;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.editorial-micro-link a:hover {
  color: #000;
  border-bottom-color: rgba(0,0,0,0.6);
}

.experience-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 8px;
  text-align: center;
}

.testimonial-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 7;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease-in-out;
  padding: 0 !important;
}
.testimonial-container.has-global-padding{
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.testimonial-container.is-layout-constrained > *{
  max-width: none !important;
}

/* Background image (Image block as cover) */
.testimonial-container .testimonial-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.testimonial-container .testimonial-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}
/* === OVERLAY === */
.testimonial-container .testimonial-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

/* The inner overlay panel */
.testimonial-container .testimonial-overlay > .wp-block-group{
  width: min(80%, 520px);
  max-height: 90%;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  text-align: center;
  line-height: 1.6;
}

/* Hover */
@media (hover:hover) and (pointer:fine){
  .testimonial-container:hover{
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,.20);
  }
  .testimonial-container:hover .testimonial-overlay{
    opacity: 1;
    visibility: visible;
  }
}
/* =========================
   Typography
========================= */

.testimonial-author {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  text-align: center;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 10px;
  text-align: center;
  overflow-wrap: break-word;
}

.testimonial-stars {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #d4af37;
  display: flex;
  justify-content: center;
}

.testimonial-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: stretch;
}

.testimonial-column {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
	text-align: center;
  box-sizing: border-box;
  min-width: 300px;
}

.hover-instruction {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #505050;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hover-instruction:hover {
  transform: scale(1.05);
  opacity: 0.8;
}
/* =========================
   Responsive
========================= */

@media (max-width: 1300px) and (min-width: 1001px) {
  .testimonial-container {
    max-width: 70%;
  }
}

@media (max-width: 1000px) {

  .testimonial-container {
    max-width: 100%;
    aspect-ratio: 3 / 5; 
  }

  .testimonial-container .testimonial-overlay {
    opacity: 1;
    visibility: visible;
  }

  .testimonial-container .testimonial-overlay > .wp-block-group {
    width: 92%;
    padding: 18px;
  }
    .hover-instruction {
        display: none !important;
    }
}  
.testimonial-author,
  .testimonial-text,
  .testimonial-stars {
    max-width: 100%;
  }

.art-rugs-testimonial-cover {
  font-size: 0.9rem;
  background-color: rgba(255, 255, 255, 0.48) !important;
  padding: 1.25em 2.375em;
  text-decoration: underline;
  cursor: pointer;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.03rem;
  word-break: break-word;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: fit-content;
}

.art-rugs-testimonial-cover a:hover {
    color: #004d40;
	background: #FFFFFFD9;
}

.benefit-column-img {
    border-radius: 10px;
	  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Why Our Clients Love Our Rugs */
.highlight-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: #555;
  margin-bottom: 10px;
}

/* FAQ */
/* FAQ Search Bar */
.faq-search-bar {
  margin: 20px auto;
  text-align: center;
}

.faq-search-bar .faq-search-input {
  width: 100%;
  max-width: 600px;
  padding: 10px 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  outline: none;
  transition: border-color 0.3s;
}

.faq-search-bar .faq-search-input:focus {
  border-color: #b88a30;
}

.faq-section-summary {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 68ch;
  margin: 0.75rem 0 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid #D3A92C;
  color: #2b2b2b;
  font-style: italic;
  opacity: 0.92;
}
.faq-section-summary::before {
  content: "overview";
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: #9a9a9a;
  font-style: normal;
}

 li {
    margin-bottom: 10px;
}

.faq-group {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 12px;
    background-color: #f5f1eb;
	  border-radius: 12px;
		box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);

}

.faq-section {
    padding: 40px;
    background-color: #f9f4ef;
    border-radius: 12px;
}

.faq-item {
	    font-size: 1.1rem;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
	  display: block;
}

.faq-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.faq-answer {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 20px;
	  margin-bottom: 20px;
}

.faq-question:hover {
    color: #b88a30;
}

/* Bespoke Rugs and Client Stories*/
.bespoke-introduction {
    background: #f8f8f8;
    padding: 80px 20px;
    text-align: center;
    margin-top: -20px;
	   border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;

}

.bespoke-introduction p a li {
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.testimonial-context-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8a;
  text-align: center;
}

.testimonial-insight-cluster {
  margin: 64px auto;
  padding: 32px 24px;
  background-color: #f6f4f3;
  border-radius: 10px;
  text-align: center;
}

.clients-subtitle {
  font-style: italic;
  color: #777;
  margin-bottom: 12px;
}

.insight-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
}

.section-insight-line {
  font-size: 1.1rem;
  font-style: italic;
  color: #5f5f5f;
  text-align: center;
  margin: 24px auto 0;
  letter-spacing: 0.01rem;
}

.sr-only {
  position: absolute;
  left: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Artists Rugs*/

.artist-section-title {
  font-size: 2.2rem;
  letter-spacing: 0.03rem;
  text-align: center;
}

/* Optimize font for Safari */
body {
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-weight: 500;
h1, h2, h3, h4, h5, h6
  font-weight: 700;
}

body, html {
    width: 100%;
    min-width: 100vw;
    max-width: 100%;
    overflow-x: hidden;
}

.slide-title { 
	font-style: bold;
	font-size:1.1rem; 
	}

.samples-grid { 
	max-width: 350px;
}
.slide img { 
	max-width: 350px;
}

/* 1. Ensure links match paragraph text font size */
p a, a, {
  font-size: inherit !important;
}

/* 2. General link fallback */
a {
  font-size: 1rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .wp-block-button__link,
  .wp-element-button,
  button,
  .button {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center;
  }
}

.width-175 {
  width: 175px;
  height: auto;
}

.toc-label {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin-bottom: 1rem;
}
.toc-label a {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin-bottom: 1rem;
}

/* Technique card */
.tech-card{
  max-width: 1400px;
  margin: 32px auto;
  padding: 28px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.tech-card .wp-block-columns{ gap: 28px; align-items: start; }
.tech-card .wp-block-image img{ border-radius: 12px; }
.tech-card p{ line-height: 1.7; }
.tech-card ul{ margin: 0.5rem 0 0; padding-left: 20px; }
.tech-card h3, .tech-card h4{ padding-top: 0.25rem; padding-bottom: 0.5rem; }

/* Specs box */
.tech-specs{
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #faf5f04a;
  border: 1px solid rgba(0,0,0,0.08);
}
.tech-specs ul{ margin: 0; }
.tech-specs li{ margin-bottom: 6px; }

/* Details accordion */
.tech-card details{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f9f4ef;
}
.tech-card summary{
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Mobile stack */
@media (max-width: 900px){
  .tech-card{ padding: 18px; }
  .tech-card .wp-block-columns{ gap: 16px; }
}