/* ==============================
Header
============================== */
.site-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; 
}
.site-logo-container {
    padding-top: 5px;
}
.site-title-container .site-title a {
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    color: #51839e;
}

/* ==============================
Back to top link
============================== */
.ct-back-to-top {
  bottom: 100px!important;
}

/* ==============================
Main
============================== */

#main h1.page-title {
    text-align: center;
    color: #51839e;
    border-top: 2px solid #51839e;
    border-bottom: 2px solid #98b2c9;
}

/* Service card container */
.service-card {
    background-color: #51839e;
    padding: 1.5rem;
    border-radius: 8px; /* optional – remove if you want sharp edges */
    color: #ffffff;
}

/* Headings inside card */
.service-card .wp-block-heading {
    color: #ffffff;
    margin-top: 1rem;
    font-size: 25px;
}

/* Paragraph text */
.service-card p {
    color: #ffffff;
}

/* Button wrapper (optional spacing tweak) */
.service-card .wp-block-buttons {
    margin-top: 1.25rem;
}

/* Button link */
/* Button default state */
.service-card .wp-block-button__link {
    background-color: #E84855;
    color: #ffffff;
    border: 2px solid #E84855;
    padding: 0.6em 1.2em;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

/* Button hover state */
.service-card .wp-block-button__link:hover {
    background-color: #ffffff;
    color: #E84855;
    border-color: #E84855;
}

/* Areas Covered section */
.areas-covered {
/* background-color: #f6f8f9; light neutral – easy to change later */
    background-color: #98b2c9;
    padding: 3rem 1.5rem;
    border-radius: 5px;
}

/* Limit content width nicely */
.areas-covered > .wp-block-columns {
    max-width: 1100px;
    margin: 0 auto;
}

/* Heading */
.areas-covered .wp-block-heading {
    color: #51839e;
    margin-bottom: 1rem;
}

/* Body text */
.areas-covered p {
    color: #333;
    line-height: 1.6;
}

/* Map image */
.areas-covered .wp-block-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Vertically centre columns on desktop */
@media (min-width: 782px) {
    .areas-covered .wp-block-columns {
        align-items: center;
    }
}

/* Why Choose section */
.why-choose {
    background-color: #ffffff;
    padding: 3rem 1.5rem;
    border: 3px solid #51839e;
    border-radius: 5px;
}

/* Constrain width */
.why-choose > .wp-block-columns {
    max-width: 1100px;
    margin: 0 auto;
}

/* Image styling */
.why-choose .wp-block-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Heading */
.why-choose .wp-block-heading {
    color: #51839e;
    margin-bottom: 1.25rem;
}

/* Column spacing */
.why-choose .wp-block-column {
    padding: 0 0.5rem;
}

/* Reset list */
.why-choose ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* List items */
.why-choose li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
    line-height: 1.5;
}

/* Custom bullet (tick) */
.why-choose li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #98b2c9;
    font-weight: bold;
}

@media (min-width: 782px) {
    .why-choose .wp-block-columns {
        align-items: center;
    }
}

/* Testimonials */
.testimonials-container {
    background-color: #98b2c9;
    padding: 3rem 1.5rem;
    border-radius: 5px;
}

.testimonials-container .tn-testimonial {
  max-width: 90%;
  margin: 0 auto;
  padding: 1.5rem;
}

.tn-testimonial__text {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  font-family: 'Architects Daughter', cursive;
}

.entry-content figcaption.tn-testimonial__author {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  line-height: 1.6;
  font-family: 'Architects Daughter', cursive;
  text-align: left;
}

/* ==============================
Footer
============================== */

.tn-footer-menus {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .tn-footer-menus {
    flex-direction: row;
  }

  .tn-footer-menu,
  .tn-footer-contact {
    flex: 1 1 0;
  }
}

/* Keep contact block vertical always */
.tn-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* tighter than the column gap */
}

.tn-footer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tn-footer-menu-list li {
  margin-bottom: 0.5rem;
}

.tn-footer-menu-list li a {
    color: rgb(231, 233, 239);
}

.tn-footer-menu-list li a:hover {
    color: rgb(232, 72, 85);
}

.tn-footer-menu h4,
.tn-footer-contact h4 {
  margin-bottom: 0.75rem;
}

/* Optional: tidy spacing */
.tn-footer-contact address {
  margin: 0;
  color: rgb(231, 233, 239);
}

.tn-footer-contact p {
  margin: 0;
}

.tn-footer-contact p a {
    color: rgb(231, 233, 239);
}

.tn-footer-contact p a:hover {
    color: rgb(232, 72, 85);
}


/* ==============================
Home
============================== */
.home .ct-container-full {
    padding-top: 0;
}

.tm-list{
  display: grid;
  gap: 20px;
}

.tm-item{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: start;

  padding: 16px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
}

.tm-thumb img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.tm-thumb--placeholder{
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(0,0,0,0.06);
  border-radius: 10px;
}

.tm-title{
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.tm-text p{
  margin: 0 0 10px 0;
}

.tm-text p:last-child{
  margin-bottom: 0;
}

/* Mobile stacking */
@media (max-width: 600px){
  .tm-item{
    grid-template-columns: 1fr;
  }
}


/* image styles */
.pps-image img {
  padding: 5px;
  border: 2px solid #51839e;
}

/* ===============================
   CF7 BASE LAYOUT (GLOBAL)
   =============================== */

/* Make CF7 form fill container width */
.cf7-form-grid {
    width: 100%;
}

/* General row spacing */
.cf7-row {
    margin-bottom: 1.25rem;
}

/* Two-column layout on wider screens */
.cf7-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Field styling consistency */
.cf7-field label {
    display: block;
    font-weight: 500;
}

.cf7-field input,
.cf7-field textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Textarea height */
.cf7-field textarea {
    min-height: 100px;
}

/* Base submit button spacing */
.wpcf7-submit {
    padding: 0.75em 2em;
}



/* ===============================
   CONTACT GROUP OVERRIDES
   =============================== */

.contact-group {
    background-color: #98b2c9;
    padding: 2.5rem 2rem;
    border-radius: 6px;
}

/* Ensure form fills the group width */
.contact-group .cf7-form-grid {
    max-width: 100%;
}

/* Improve contrast for labels */
.contact-group label {
    color: #1f2a33;
}

/* Inputs & textarea */
.contact-group input[type="text"],
.contact-group input[type="email"],
.contact-group input[type="tel"],
.contact-group textarea {
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.15);
}

/* Keep fields readable when focused/active */
.contact-group input[type="text"]:focus,
.contact-group input[type="text"]:active,
.contact-group input[type="email"]:focus,
.contact-group input[type="email"]:active,
.contact-group input[type="tel"]:focus,
.contact-group input[type="tel"]:active,
.contact-group textarea:focus,
.contact-group textarea:active {
    background-color: #f6f8fb;
    border-color: rgba(0,0,0,0.25);
}

/* Submit button styling (overrides base) */
.contact-group .wpcf7-submit {
    background-color: #E84855;
    color: #ffffff;
    border: none;
    padding: 0.8em 2.5em;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Hover / focus states */
.contact-group .wpcf7-submit:hover,
.contact-group .wpcf7-submit:focus {
    background-color: #d63f4b;
    transform: translateY(-1px);
}

/* Submit button alignment */
.contact-group .cf7-row:last-child {
    text-align: left; /* change to center if needed */
}



/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 768px) {
    .cf7-two-col {
        grid-template-columns: 1fr;
    }

    .contact-group {
        padding: 2rem 1.25rem;
    }
}

/* ================================
  MEET THE REGULARS
  ================================= */
  .pps-regular {
    background-color: #98b2c9;
    padding: 2.5rem 2rem;
    border-radius: 6px;
}

/* ================================
  TESTIMONIALS PAGE
  ================================= */
.tm-content {
  width: 100%;
}

/* pps_testimonials shortcode: make each testimonial span full width */
.testimonial-list {
  width: 100%;
}

.testimonial-list .tm-item {
  display: block; /* override grid layout used in team list */
  width: 100%;
  background-color: #98b2c9;
  padding: 3rem 1.5rem;
  border-radius: 5px;
  margin-bottom: 3rem;
}

.testimonial-list .tm-content,
.testimonial-list blockquote.testimonial {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 1.5rem;
}

.testimonial-list blockquote.testimonial {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  font-family: 'Architects Daughter', cursive;
}
.testimonial-list .author {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  line-height: 1.6;
  font-family: 'Architects Daughter', cursive;
  text-align: left;
}
