/* ==========================================================================
   Marry Me Weddings — main-site design refresh (tier A)
   Append after css/global.css and css/media.css. Do not replace them.
   Tier A refresh + v3: hide the fixed bottom social bar and drop the spacer
   padding that used to clear it. Visible copy changes are done in HTML, not here.
   Fonts: Cormorant Garamond (headings) + Source Sans 3 (body/UI).
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;1,400&display=swap");

:root {
  --mm-font-display: "Cormorant Garamond", "Times New Roman", Times, serif;
  --mm-font-body: "Source Sans 3", Georgia, "Times New Roman", sans-serif;
  --mm-pink: #c31e60;
  --mm-brown: #633121;
  --mm-text: #4a4a4a;
  --mm-muted: #5c5c5c;
  --mm-max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
}

body {
  font-family: var(--mm-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--mm-text);
  overflow-x: hidden;
}

/* --- Type scale ---------------------------------------------------------- */
p,
.phome,
.service-desc,
.service-text p,
#contentp p,
#contenth p {
  font-family: var(--mm-font-body) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: var(--mm-text);
  text-align: left;
  margin-bottom: 1em;
}

h1,
h1.titletext1,
#contentp h1,
#container h1.mobtitle {
  font-family: var(--mm-font-display) !important;
  font-size: 2.1rem !important;
  font-style: italic;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.02em;
  color: var(--mm-brown) !important;
}

h2,
h2.title-text,
h3,
h4,
h5,
h6,
.service-heading,
.service-heading a,
.font-pink,
h5 {
  font-family: var(--mm-font-display) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

h2,
h2.title-text {
  font-size: 1.75rem !important;
}

h3,
h4,
h5,
h6,
.service-heading,
.service-heading a {
  font-size: 1.35rem !important;
}

a {
  font-family: inherit;
  font-style: normal;
}

/* Parisienne fallback — font is not loaded sitewide */
.social-media .contacttext p {
  font-family: var(--mm-font-display) !important;
  font-style: italic;
}

/* --- Layout: fluid container --------------------------------------------- */
#wrapper {
  width: 100% !important;
  max-width: var(--mm-max);
  margin-left: auto;
  margin-right: auto;
}

.logoBlock {
  max-width: 100%;
  height: auto;
  background-size: contain;
}

.logoBlock img {
  max-width: 100%;
  height: auto;
}

.home-left-block,
.home-right-block,
.aboutus-left-block,
.aboutus-right-block,
.aboutus-right-block .textr,
.services-conts,
.common-right,
.common-leftimg,
#wrapper #contentp .contactbox,
.quickEnquiryForm,
.mapbox,
.nlform {
  max-width: 100%;
}

#wrapper #contentp .textl,
#wrapper #contentp .textr,
.textl.legalpage,
.legalpage {
  width: 100% !important;
  max-width: 100% !important;
  float: none;
}

.servicesdivider {
  width: 100% !important;
  max-width: 100% !important;
}

/* --- Images, sliders, embeds --------------------------------------------- */
img,
video,
embed,
object {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

#slideshow {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 21 / 8;
  overflow: hidden;
  position: relative;
}

#slideshow img,
#slideshow IMG,
#slideshow IMG.active,
#slideshow IMG.last-active {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
}

.videos li,
.plannerVideoBlock ul li,
.plannerVideoBlock li iframe,
.videos li iframe,
.common-leftimg .video iframe,
.google-map-wrap iframe,
.feature.map,
.feature.map iframe {
  max-width: 100% !important;
}

.common-leftimg img,
.imgs-box img,
.serviceImgs img,
.brandlogos li img,
.partners ul li a img {
  max-width: 100%;
  height: auto !important;
}

/* --- Testimonials masonry: disable absolute placement on small screens --- */
@media only screen and (max-width: 1024px) {
  #container.masonry,
  #container {
    height: auto !important;
  }

  #container .box,
  #container .box.masonry-brick {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    display: block;
    margin-right: 0 !important;
    margin-bottom: 28px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  #container .box,
  #container .box.masonry-brick {
    width: calc(50% - 16px) !important;
    display: inline-block;
    vertical-align: top;
    float: left !important;
    margin-right: 16px !important;
  }
}

.videos ul {
  width: 100%;
}

@media only screen and (max-width: 767px) {
  .videos li {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 16px;
    display: block;
  }

  .videos li iframe {
    height: 220px;
  }
}

/* --- Navigation ---------------------------------------------------------- */
#wrapper #navigation ul li a {
  font-family: var(--mm-font-body) !important;
  font-style: normal !important;
  font-size: 15px !important;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 12px 14px !important;
  min-height: 44px;
  line-height: 1.2;
}

#menu-icon {
  font-family: var(--mm-font-body) !important;
  font-style: normal !important;
  min-height: 48px;
}

#wrapper #navigation ul li a:hover,
#wrapper #navigation ul li a.active {
  color: var(--mm-pink);
}


/* Keep the header social row on one line */
#header .sit {
  width: auto;
  max-width: 340px;
}
#header .sit ul.social {
  width: auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
}
#header .sit ul.social li {
  float: none;
  margin: 0;
  padding: 0;
}
#header .sit ul.social li a {
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: 2px;
}
#header .sit ul.social li img {
  width: 27px !important;
  height: 27px !important;
  max-width: none;
}

/* --- CTA ----------------------------------------------------------------- */
.getintouch .geninbtn {
  font-family: var(--mm-font-body) !important;
  font-style: normal !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 12px 28px !important;
  min-height: 44px;
  display: inline-block;
}

/* --- Footer -------------------------------------------------------------- */
#wrapper #footer #copyright,
#wrapper #footer #copyright a {
  font-family: var(--mm-font-body) !important;
  font-size: 13px !important;
  line-height: 1.5;
  color: var(--mm-muted) !important;
}

#wrapper #footer #copyright {
  height: auto !important;
  padding: 16px 16px 8px !important;
}

#wrapper #footer #links,
#wrapper #footer #links a {
  font-family: var(--mm-font-body) !important;
  font-size: 13px !important;
  line-height: 1.6;
}

#wrapper #footer #links {
  padding: 0 16px 24px;
}

#wrapper #footer #links a {
  display: inline-block;
  padding: 4px 2px;
  min-height: 32px;
}

/* --- Bottom social bar removed (markup is stripped; this is a safety hide) */
.bsocial {
  display: none !important;
}

@media only screen and (max-width: 767px) {
  p,
  .phome,
  #contentp p {
    text-align: left;
  }

  h1,
  h1.titletext1,
  #contentp h1 {
    font-size: 1.7rem !important;
  }

  #wrapper #navigation ul li a {
    padding: 14px 16px !important;
    font-size: 16px !important;
  }

  .home-left-block,
  .home-right-block,
  .blogContent ul,
  .blogContent ul li,
  .brandlogos ul {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0;
    margin-right: 0;
  }

  #slideshow {
    aspect-ratio: 16 / 9;
  }
}

@media only screen and (min-width: 1366px) {
  #wrapper {
    box-shadow: 0 0 0 1px #f0f0f0;
  }
}