/* Visual layer only. Original template styles/assets remain intact. */
body.aem-modern {
  --ink: #172b46; --blue: #253e80; --ivory: #f7f5ef; --sand: #c7b69a;
  --muted: #5c6570; --line: #e0ded5;
  margin: 0; padding: 0; background: var(--ivory); color: var(--ink);
  font: 17px/1.7 Lato, Arial, sans-serif; -webkit-font-smoothing: antialiased;
}
.aem-modern *, .aem-modern *::before, .aem-modern *::after { box-sizing: border-box; }
.aem-modern [hidden] { display: none !important; }
.aem-modern img { max-width: 100%; }
.aem-modern p { font-size: inherit; line-height: 1.75; color: inherit; }
.aem-modern h1, .aem-modern h2, .aem-modern h3, .aem-modern h4, .aem-modern h5, .aem-modern h6 {
  font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--ink);
  line-height: 1.22; text-transform: none; letter-spacing: -.035em;
}
.aem-modern h1 { font-size: clamp(36px, 4.2vw, 64px); }
.aem-modern h3 { font-size: clamp(32px, 3vw, 46px); margin: 0 0 26px; }
.aem-modern h4 { font-size: 25px; }
.aem-modern h5 { font-size: 25px; }
.aem-modern a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
.aem-modern a:hover { color: var(--ink); }
.aem-modern :focus-visible { outline: 3px solid #8f7547; outline-offset: 5px; }
.aem-modern .fa { font-family: FontAwesome; }
.aem-modern .wow, .aem-modern .animated { visibility: visible !important; animation: none !important; }
.aem-modern .container { width: min(1248px, calc(100% - 112px)); padding: 0; margin-inline: auto; }
.aem-modern .section { padding: 86px 0; }
.aem-modern .row { margin-inline: -14px; }
.aem-modern .aem-services::before, .aem-modern .aem-services::after,
.aem-modern .contact-options::before, .aem-modern .contact-options::after,
.aem-modern .aem-intro .row::before, .aem-modern .aem-intro .row::after,
.aem-modern .aem-footer > .container > .row::before, .aem-modern .aem-footer > .container > .row::after { display: none; }
.aem-modern .navbar-nav::before, .aem-modern .navbar-nav::after { display: none; }
.aem-modern [class*="col-"] { padding-inline: 14px; }
.aem-modern .xsmall, .aem-modern .short-line::after { display: none; }
.aem-modern .parallax, .aem-modern .pattern-wrap { background-attachment: scroll !important; }
.aem-modern .overlay-color::before, .aem-modern .overlay-dark::before { display: none; }
.aem-modern .aem-skip { position: fixed; left: 18px; top: 12px; z-index: 100; padding: 12px 20px; background: white; opacity: 0; pointer-events: none; }
.aem-modern .aem-skip:focus { opacity: 1; pointer-events: auto; }

/* A quiet, spacious masthead; navigation is intentionally not sticky on small screens. */
.aem-modern .aem-header { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.aem-modern .navbar { position: static; border: 0; border-radius: 0; background: none; margin: 0; min-height: 140px; }
.aem-modern .navbar > .container { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 140px; }
.aem-modern .navbar > .container::before, .aem-modern .navbar > .container::after { display: none; }
.aem-modern .navbar-header { flex-shrink: 0; float: none; margin: 0 !important; }
.aem-modern .navbar-header::before, .aem-modern .navbar-header::after { display: none; }
.aem-modern .navbar-brand { display: block; float: none; width: 400px; height: auto; padding: 0; margin: 0 !important; }
.aem-modern .navbar-brand img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
.aem-modern .navbar-collapse { float: none; padding: 0; margin: 0; border: 0; box-shadow: none; }
.aem-modern .navbar-nav { display: flex; align-items: center; gap: 22px; float: none !important; margin: 0; }
.aem-modern .navbar-nav > li { float: none; }
.aem-modern .navbar-nav > li > a { color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .01em; padding: 13px 0; background: none; border-bottom: 1px solid transparent; }
.aem-modern .navbar-nav > li > a[aria-current] { border-color: var(--blue); color: var(--blue); }
.aem-modern .navbar-nav > li > a:hover { color: var(--blue); border-color: var(--sand); background: none; }
.aem-modern .navbar-nav > li > .aem-language { border: 1px solid var(--line); padding: 7px 12px; font-size: 12px; }
.aem-modern .navbar-toggle { display: none; }

/* Photograph and editorial panel, not a scaled-down slide canvas. */
.aem-modern .aem-hero { position: relative; height: clamp(610px, 47vw, 710px); background: var(--ink); overflow: hidden; }
.aem-modern .aem-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 48% 52%; height: 100%; min-height: 0; }
.aem-modern .aem-hero-photo { grid-column: 2; grid-row: 1; overflow: hidden; min-width: 0; height: 100%; }
.aem-modern .aem-hero-image { position: static; height: 100%; width: 100%; object-fit: cover; object-position: 65% center; }
.aem-modern .aem-hero-copy { align-self: center; grid-column: 1; grid-row: 1; min-width: 0; position: relative; z-index: 1; padding: 56px clamp(32px, 5vw, 96px) 110px; color: #fff; }
.aem-modern .aem-hero-title { font-size: clamp(40px, 5.2vw, 78px); color: white; line-height: 1.12; letter-spacing: -.045em; margin: 0 0 28px; overflow-wrap: normal; }
.aem-modern .aem-hero-title span, .aem-modern .aem-hero-title em { display: block; font-family: inherit; color: #fff; }
.aem-modern .aem-hero-title em { color: #d4c2a4; font-weight: 400; }
.aem-modern .aem-hero-subtitle { min-height: 64px; max-width: 340px; font-size: 20px; line-height: 1.6; margin-bottom: 30px; color: #ecece8; }
.aem-modern .aem-button, .aem-modern .btn.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 14px 25px; border: 1px solid var(--blue); background: var(--blue); border-radius: 0; color: white; font: 700 14px/1.4 Lato, Arial, sans-serif; letter-spacing: .025em; text-transform: none; box-shadow: none; white-space: normal; }
.aem-modern .aem-button { background: #f4eee3; border-color: #f4eee3; color: var(--ink); }
.aem-modern .aem-button::after { content: '\2192'; margin-left: 28px; font-family: Arial, sans-serif; font-size: 21px; line-height: 1; }
.aem-modern .aem-button:hover { background: #fff; color: var(--ink); text-decoration: none; }
.aem-modern .btn.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: white; }
.aem-modern .btn .fa { display: none; }
.aem-modern .aem-carousel-controls { display: flex; align-items: center; gap: 4px; position: absolute; left: clamp(32px, 5vw, 96px); bottom: 30px; z-index: 3; }
.aem-modern .aem-carousel-controls button { display: grid; place-items: center; padding: 0; width: 44px; height: 44px; border: 0; color: #fff; background: transparent; font: 13px Lato, sans-serif; }
.aem-modern .aem-carousel-controls button[data-slide]::before { content: ''; width: 7px; height: 7px; border: 1px solid #d4c2a4; border-radius: 50%; transition: background-color .25s, box-shadow .25s; }
.aem-modern .aem-carousel-controls button[data-slide][aria-pressed="true"]::before { background: #d4c2a4; box-shadow: 0 0 0 5px rgba(212,194,164,.13); }
.aem-modern .aem-carousel-controls .aem-playback { display: flex; width: auto; min-width: 90px; gap: 8px; margin-left: 12px; padding-inline: 12px; border-left: 1px solid #5b6777; }
.aem-modern .aem-playback::before { content: ''; width: 7px; height: 10px; border-left: 2px solid white; border-right: 2px solid white; }
.aem-modern .aem-playback[aria-pressed="true"]::before { width: 0; height: 0; border-left: 7px solid white; border-right: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.aem-modern .aem-hero-ready .aem-slide { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.aem-modern .aem-hero-ready .aem-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.aem-modern .aem-hero-ready .aem-slide:not(.is-active) .aem-hero-copy { visibility: hidden; }
.aem-modern .aem-hero-ready .aem-hero-image { animation: aem-photo-drift 12s ease-in-out infinite alternate; animation-play-state: paused; }
.aem-modern .aem-hero[data-running="true"] .is-active .aem-hero-image { animation-play-state: running; }
.aem-modern .aem-hero-ready .is-active .aem-hero-copy { animation: aem-copy-arrive .75s ease both; }
@keyframes aem-photo-drift { from { transform: scale(1.025) translateX(.5%); } to { transform: scale(1.075) translateX(-.8%); } }
@keyframes aem-copy-arrive { from { opacity: .35; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.aem-modern .home-content-wrap { margin: 0; padding: 0; background: var(--ivory); }
.aem-modern .aem-intro { padding-top: 100px; }
.aem-modern .aem-intro h3 { max-width: 780px; margin: 0 auto 22px; font-size: clamp(36px, 3.5vw, 52px); color: var(--ink) !important; font-weight: 400; }
.aem-modern .aem-intro .container > p:first-of-type { font: italic 23px/1.6 Georgia, serif !important; color: var(--muted); margin-bottom: 25px; }
.aem-modern .aem-intro .container > p:nth-of-type(2) { max-width: 790px; font-weight: 400 !important; margin: 0 auto 55px; font-size: 18px; }
.aem-modern .aem-intro .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; }
.aem-modern .aem-intro .row > div { width: auto; float: none; padding: 0; }
.aem-modern .service.style3 { height: 100%; padding: 30px 0 0; margin: 0; border: 0; border-top: 1px solid var(--sand); background: none; text-align: left; }
.aem-modern .service.style3 > .icon { display: none; }
.aem-modern .service.style3 h5 { margin: 0 0 20px; min-height: 58px; font-size: 26px; }
.aem-modern .service.style3 p { font-size: 16px; color: var(--muted); }
.aem-modern .service.style3 a { display: inline-block; margin-top: 20px; font-size: 14px; font-weight: 700; }
.aem-modern .service.style3 p a { color: var(--blue); }
.aem-modern .service.style3 a .fa { display: none; }

/* Internal page openers: solid colour, generous typography, one real photograph. */
.aem-modern .splash-banner.page-header-wrap { background: var(--ink); text-align: left; margin: 0; padding: 0; overflow: hidden; }
.aem-modern .splash-banner.page-header-wrap::after { content: ''; position: absolute; inset: 0 0 0 69%; background: var(--aem-header-photo, none) var(--aem-header-focal, center) / cover; opacity: .85; }
/* Actual gallery photographs, shared only by each equivalent FR/EN page. */
.aem-modern:is(.aem-services, .aem-our-services) { --aem-header-photo: url('/img/portfolio3/irmains2.jpg?aem_v=f0d7501aaecf1df92db83970'); --aem-header-focal: 54% 54%; }
.aem-modern:is(.aem-equipe, .aem-our-officiants) { --aem-header-photo: url('/img/portfolio2/1.jpg?aem_v=5bec12cd9fdd6cb0a2af6701'); --aem-header-focal: 43% 40%; }
.aem-modern:is(.aem-temoignage, .aem-testimonies) { --aem-header-photo: url('/img/portfolio3/iresmeralda-ian3.jpg?aem_v=4199df2f9ccf5d5eecef3e40'); --aem-header-focal: 52% 40%; }
.aem-modern:is(.aem-galerie, .aem-photo-gallery) { --aem-header-photo: url('/img/portfolio3/irandrea-pasha2.jpg?aem_v=e191dbac3de359637305ebdd'); --aem-header-focal: 35% 48%; }
.aem-modern:is(.aem-liens, .aem-useful-links) { --aem-header-photo: url('/img/portfolio/PhotoSiteIsabelle1.jpg?aem_v=67758f12cdd53f521ccb54be'); --aem-header-focal: 52% 48%; }
.aem-modern:is(.aem-contact, .aem-contact-us) { --aem-header-photo: url('/img/portfolio3/ircclcbrant1.jpg?aem_v=9e35afb9ba5f81b3f0f661a9'); --aem-header-focal: 72% 0%; }
.aem-modern .splash-banner .pattern-wrap { background: none; padding: 70px 0 56px; position: relative; z-index: 1; }
.aem-modern .splash-banner .container { padding: 0 36% 0 0; }
.aem-modern .splash-banner .page-header { color: #fff; border: 0; font-weight: 400; margin: 0 0 24px; padding: 0; }
.aem-modern .splash-banner .page-sub-title { color: #e0d4c1; margin: 0; font-size: 13px; line-height: 1.8; letter-spacing: .12em; font-weight: 400; text-transform: none; }
.aem-modern .splash-banner .page-sub-title::before, .aem-modern .splash-banner .page-sub-title::after { display: none; }
.aem-modern .splash-banner .breadcrumb { position: static; width: auto; margin: 30px 0 0; padding: 0; text-align: left; background: none; font-size: 12px; color: #dfdfdf; }
.aem-modern .breadcrumb li, .aem-modern .breadcrumb a { color: #dfdfdf; }
.aem-modern .splash-banner .breadcrumb a .fa { color: #e4d6bf; }
.aem-modern .breadcrumb > li + li::before { content: '/'; padding-inline: 14px; color: #a9adb4; }
.aem-modern .aem-services { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 56px; padding-block: 72px; }
.aem-modern .aem-service-card { grid-column: span 6; padding: 27px 0; background: none; border: 0; border-bottom: 1px solid var(--line); min-height: 0; }
.aem-modern .aem-service-card::before { content: none; }
.aem-modern .aem-service-card .icon { display: none; }
.aem-modern .aem-service-card h2 { font-size: 25px; margin: 0; line-height: 1.5; }
.aem-modern .aem-service-card:nth-child(1) { grid-column: 1 / 9; padding: 0 0 45px; }
.aem-modern .aem-service-card:nth-child(1) h2 { font-size: clamp(42px, 4.6vw, 66px); line-height: 1.15; }
.aem-modern .aem-service-card:nth-child(2) { grid-column: 9 / -1; display: flex; align-items: center; padding: 0 0 45px; }
.aem-modern .aem-service-card:nth-child(2) h2 { font: 16px/1.8 Lato, sans-serif; color: var(--muted); letter-spacing: .015em; }
.aem-modern .aem-service-card:nth-child(3) { grid-column: 1 / 6; grid-row: 2 / span 2; position: relative; padding: 35px 0 270px; margin-bottom: 36px; border: 0; }
.aem-modern .aem-service-card:nth-child(3) h2 { font-size: 31px; line-height: 1.45; }
.aem-modern .aem-service-card:nth-child(3)::after { content: ''; position: absolute; inset: auto 0 0; height: 235px; background: url('/img/slides/rev-slide1-bg.jpg?aem_v=f1c78d8545aa97450671b8b6') 65% center / cover; }
.aem-modern .aem-service-card:nth-child(4), .aem-modern .aem-service-card:nth-child(5) { grid-column: 6 / -1; padding: 35px 0 35px 35px; border-left: 1px solid var(--sand); }
.aem-modern .aem-service-card:nth-child(4) { grid-row: 2; }
.aem-modern .aem-service-card:nth-child(4) h2 { font: 19px/1.85 Lato, sans-serif; letter-spacing: 0; }
.aem-modern .aem-service-card:nth-child(5) { grid-row: 3; margin-bottom: 36px; border-bottom: 0; }
.aem-modern .aem-service-card:nth-child(6) { grid-column: 1 / -1; background: var(--ink); padding: 42px 56px; border: 0; margin-bottom: 30px; }
.aem-modern .aem-service-card:nth-child(6) h2 { max-width: 900px; color: white; font-size: 34px; line-height: 1.45; }
.aem-modern .aem-service-card:last-child { padding-inline: 28px; background: #ebe8df; border-bottom-color: var(--sand); }
.aem-modern .aem-service-card a { text-decoration: underline; }

/* Every portrait stays visible, including source duplicates. No hidden carousel items. */
.aem-modern .bg5.overlay-dark { background: var(--ivory); padding: 70px 0; }
.aem-modern #team-showcase { width: min(1248px, calc(100% - 112px)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 26px; }
.aem-modern #team-showcase .item { min-width: 0; width: auto; margin: 0; padding: 0; background: #fff; border: 1px solid #dfded7; box-shadow: 0 7px 22px rgba(23,43,70,.045); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.aem-modern #team-showcase .item:hover { transform: translateY(-4px); border-color: #bcb49f; box-shadow: 0 14px 30px rgba(23,43,70,.09); }
.aem-modern #team-showcase .item > .social-links { display: none; }
.aem-modern #team-showcase .detail-container { display: flex; flex-direction: column; padding: 0; position: static; background: none; text-align: left; }
.aem-modern #team-showcase img { order: -1; width: calc(100% - 48px); max-width: 246px; height: auto; align-self: center; object-fit: contain; object-position: center bottom; background: #e8e5dc; margin: 24px auto 0; border: 0; border-radius: 2px; filter: saturate(.86); transition: filter .4s ease; }
.aem-modern #team-showcase .item:hover img { filter: saturate(1); }
.aem-modern #team-showcase .detail-title { color: var(--ink); font: 24px/1.3 Georgia, serif; margin: 0; padding: 24px 24px 9px; }
.aem-modern #team-showcase .detail-subtitle { color: var(--muted); font-size: 13px; padding: 0 24px 28px; }

/* Gallery: all original photos, no fixed legacy pixel widths. */
.aem-modern .home-folio { background: #fff; }
.aem-modern .home-folio > h3 { width: min(1248px, calc(100% - 112px)); margin-inline: auto; text-align: left; }
.aem-modern ul.portfolio { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 130px; gap: 20px; margin: 0; padding: 0; overflow: visible; list-style: none; }
.aem-modern ul.portfolio li.portfolio-item { grid-column: span 4; grid-row: span 2; float: none; width: auto !important; height: auto; margin: 0 !important; padding: 0; position: relative; overflow: hidden; background: #e9e6dd; border-radius: 3px; }
.aem-modern ul.portfolio li.portfolio-item:nth-child(12n + 1), .aem-modern ul.portfolio li.portfolio-item:nth-child(12n + 7) { grid-column: span 8; grid-row: span 3; }
.aem-modern ul.portfolio li.portfolio-item:nth-child(12n + 2), .aem-modern ul.portfolio li.portfolio-item:nth-child(12n + 6) { grid-row: span 3; }
.aem-modern ul.portfolio li.portfolio-item:nth-child(12n + 11), .aem-modern ul.portfolio li.portfolio-item:nth-child(12n + 12) { grid-column: span 6; }
.aem-modern .home-folio ul.portfolio li.portfolio-item:nth-child(9) { grid-column: span 8; }
.aem-modern ul.portfolio li.portfolio-item img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .8s cubic-bezier(.2,.6,.3,1), filter .8s ease; }
.aem-modern ul.portfolio li.portfolio-item:hover img, .aem-modern ul.portfolio li.portfolio-item:focus-within img { transform: scale(1.045); filter: brightness(.92); }
.aem-modern ul.portfolio li.portfolio-item:nth-child(6n + 2) img { object-position: center 30%; }
.aem-modern ul.portfolio li.portfolio-item::after { display: none; }
.aem-modern ul.portfolio .zoom { display: flex; align-items: flex-end; justify-content: space-between; inset: 0; width: 100%; height: 100%; margin: 0; padding: 24px; opacity: 1; border-radius: 0; background: linear-gradient(transparent 55%, rgba(12,26,43,.26)); color: white; z-index: 2; transition: background-color .4s ease; }
.aem-modern ul.portfolio .zoom::before { content: 'Agrandir'; font: 700 13px/44px Lato, sans-serif; color: white; letter-spacing: .03em; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
html[lang="en"] .aem-modern ul.portfolio .zoom::before { content: 'View photo'; }
.aem-modern ul.portfolio li:hover .zoom::before, .aem-modern ul.portfolio .zoom:focus-visible::before { opacity: 1; transform: translateY(0); }
.aem-modern ul.portfolio .zoom .fa { display: grid; place-items: center; width: 44px; height: 44px; background: rgba(23,43,70,.78); border: 1px solid rgba(255,255,255,.55); color: white; font-size: 14px; border-radius: 50%; transition: background-color .35s ease, transform .35s ease; }
.aem-modern ul.portfolio .zoom:hover, .aem-modern ul.portfolio .zoom:focus-visible { background-color: rgba(12,26,43,.12); }
.aem-modern ul.portfolio li:hover .zoom .fa, .aem-modern ul.portfolio .zoom:focus-visible .fa { background: var(--ink); transform: translateY(-2px); }
.aem-modern ul.portfolio .zoom:focus-visible { outline-offset: -6px; outline-color: white; }
.aem-modern .home-folio .view-more { margin-top: 38px; text-align: left; }
.aem-modern .projects { padding-top: 60px; }
.aem-modern .projects .container > .row { margin: 0; }
.aem-modern .filter-options { display: none; }

/* Testimonials are read in full; neither slider nor truncation. */
.aem-modern .bg1.overlay-color { background: #ebe8df; color: var(--ink); }
.aem-modern .bg1.overlay-color * { color: var(--ink); }
.aem-modern .bg1.overlay-color h3, .aem-modern .bg1.overlay-color p { color: inherit; }
.aem-modern .testimonials { margin-top: 42px; padding: 0; }
.aem-modern .flexslider { background: none; box-shadow: none; border: 0; margin: 0; }
.aem-modern .flexslider .slides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0; margin: 0; list-style: none; }
.aem-modern .flexslider .slides > li { display: block; width: auto; float: none; padding: 30px; margin: 0; background: #fff; }
.aem-modern .flexslider .slides > li:first-child { grid-column: span 2; }
.aem-modern .single-testimonial { padding: 0; text-align: left; }
.aem-modern .single-testimonial .doner { display: flex; float: none; width: auto; text-align: left; align-items: center; gap: 15px; margin-bottom: 25px; }
.aem-modern .single-testimonial .thumb { display: none; }
.aem-modern .single-testimonial img { border-radius: 50%; width: 45px; height: 45px; margin: 0; }
.aem-modern .single-testimonial .name { display: block; color: var(--ink); font-size: 14px; }
.aem-modern .single-testimonial cite { font: 12px/1.5 Lato, sans-serif; color: var(--muted); }
.aem-modern .single-testimonial blockquote { display: block; float: none; text-align: left; min-height: 0; border: 0; padding: 0; margin: 0; background: none; }
.aem-modern .single-testimonial blockquote p { font: 21px/1.6 Georgia, serif; }
.aem-modern .single-testimonial blockquote::before, .aem-modern .single-testimonial blockquote::after { display: none; }
.aem-modern #masonryBlog { columns: 3; column-gap: 26px; margin: 0; }
.aem-modern #masonryBlog > .masonry-item { display: inline-block; float: none; width: 100%; padding: 0; margin: 0 0 26px; break-inside: avoid; }
.aem-modern .masonry-blog .post { margin: 0; border: 0; box-shadow: none; }
.aem-modern .masonry-blog .post-header { position: static; margin: 0; }
.aem-modern .masonry-blog .post-quote { padding: 34px; background: white; margin: 0; cursor: default; border-top: 2px solid var(--sand); }
.aem-modern .masonry-blog .post-quote blockquote p { font: 21px/1.65 Georgia, serif; color: var(--ink); letter-spacing: -.01em; }
.aem-modern .masonry-blog .post-quote blockquote small { display: block; color: var(--muted); font: 13px/1.6 Lato, sans-serif; padding: 22px 0 0; background: none; }
.aem-modern .masonry-blog .post-quote blockquote small::before { display: none; }
.aem-modern .masonry-blog .post-type { display: none; }

/* Vendor directory: categories rather than a very narrow sidebar. */
.aem-modern .section:has(.aside-wrap.links) > .container > .row { margin: 0; }
.aem-modern .section:has(.aside-wrap.links) .col-lg-5 { width: 100%; float: none; padding: 0; }
.aem-modern aside.project:has(.links) { padding: 0; margin: 0; border: 0; }
.aem-modern .aside-wrap.links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 0; background: none; }
.aem-modern .aside-wrap.links .widget { border: 1px solid var(--line); background: white; padding: 30px; margin: 0; }
.aem-modern .widget-title { font-size: 26px; margin: 0 0 25px; padding: 0 0 20px; border-bottom: 1px solid var(--sand); }
.aem-modern .widget-title small { display: block; font: 12px/1.6 Lato, sans-serif; letter-spacing: normal; color: var(--muted); margin-top: 15px; }
.aem-modern .aside-list { padding: 0; list-style: none; margin: 0; }
.aem-modern .aside-list li { padding: 12px 0; margin: 0; border-bottom: 1px solid #eeece5; font-size: 15px; }
.aem-modern .aside-list li::before { display: none; }
.aem-modern .aside-list a { color: var(--ink); }

/* Inactive visual forms: explicit labels, normal controls, no backend. */
.aem-modern .contact-options { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 64px; margin: 0; }
.aem-modern .contact-options > div { width: auto; float: none; padding: 0; min-width: 0; }
.aem-modern .contact-options h4 { margin: 0 0 28px; font-size: 28px; line-height: 1.4; }
.aem-modern #form-unavailable { padding: 20px; border: 1px solid #d4dbe3; background: #eef1f4; border-radius: 0; color: #3f4c5e; font-size: 14px; margin-bottom: 30px; }
.aem-modern .form-control { border: 1px solid #d3d3cb; box-shadow: none; background: white; color: var(--ink); border-radius: 0; font: 16px/1.5 Lato, sans-serif; padding: 15px; height: auto; min-height: 53px; }
.aem-modern textarea.form-control { min-height: 175px; resize: vertical; }
.aem-modern .form-control:focus { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 2px; box-shadow: none; }
.aem-modern .aem-field-label { display: block; font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 7px; }
.aem-modern .btn[disabled] { opacity: 1; color: #626873; background: #e1e2de; border-color: #d1d3cd; cursor: not-allowed; }
.aem-modern .contact-details { background: #ebe8df; padding: 32px; font-size: 16px; }
.aem-modern address { font-size: inherit; line-height: 1.9; overflow-wrap: anywhere; }
.aem-modern .contact-details img { display: block; width: 100%; max-width: 246px; height: auto; max-height: 345px; object-fit: contain; margin: 25px auto 0; }

/* Larger social icons, keeping the original links and colors. */
.aem-modern section.social-links { background: #fff; padding: 40px 24px 30px; text-align: center; }
.aem-modern section.social-links h5 { margin: 0 0 22px; font: 12px/1.6 Lato, sans-serif; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.aem-modern section.social-links .aem-social-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.aem-modern section.social-links a { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; height: 74px; width: 74px; color: var(--blue); margin: 0; border: 1px solid var(--line); border-radius: 50%; background: none; }
.aem-modern section.social-links a .fa { color: var(--blue); font-family: FontAwesome; font-size: 32px; }
.aem-modern section.social-links a:hover, .aem-modern section.social-links a:focus-visible { background: var(--ivory); border-color: var(--sand); }
.aem-modern section.social-links .ww-link { vertical-align: top; background: var(--blue) url('/assets/brand/weddingwire-mark.svg?aem_v=bc1b71f39cb9fa04e7b8ba42') center / 32px 42px no-repeat !important; border-color: var(--blue); }
.aem-modern section.social-links .ww-link:hover, .aem-modern section.social-links .ww-link:focus-visible { background-color: var(--ink) !important; }

/* A useful, readable footer, preserving every page's original wording. */
.aem-modern .aem-footer { background: var(--ink); padding: 65px 0 0; color: #d8dde3; font-size: 14px; }
.aem-modern .aem-footer > .container > .row { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr .9fr; gap: 35px; margin: 0; }
.aem-modern .aem-footer .ft-col { float: none; width: auto; padding: 0; margin: 0; min-width: 0; }
.aem-modern .aem-footer .ft-heading { font: 21px/1.4 Georgia, serif; color: #fff; margin: 0 0 24px; padding: 0; border: 0; }
.aem-modern .aem-footer .ft-heading::after { display: none; }
.aem-modern .aem-footer p, .aem-modern .aem-footer address { color: #d8dde3; font-size: 14px; line-height: 1.9; }
.aem-modern .aem-footer a { color: #eee3d1; overflow-wrap: anywhere; }
.aem-modern .aem-footer .tweet { padding: 0; margin: 0; }
.aem-modern .aem-footer .tweet::before { display: none; }
.aem-modern .aem-footer .view-more { margin: 0; text-align: left; }
.aem-modern .aem-footer .btn { background: transparent; border-color: #8290a2; }
.aem-modern .copyright-info { margin-top: 55px; background: none; border-top: 1px solid #35465d; padding: 23px 0; }
.aem-modern .copyright-info .row { margin: 0; }
.aem-modern .copyright-info .col-sm-6 { width: 100%; padding: 0; }
.aem-modern .copyright-info p { font-size: 12px; margin: 0; color: #c5cbd3; }

/* Native dialog provides focus containment, Escape and background inertness. */
.aem-modern .aem-lightbox { padding: 0; border: 0; background: #142238; color: white; max-width: calc(100vw - 32px); width: 1100px; max-height: calc(100dvh - 32px); overflow: auto; }
.aem-modern .aem-lightbox::backdrop { background: rgba(7, 15, 27, .94); }
.aem-modern .aem-lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; }
.aem-modern .aem-lightbox button { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; border: 1px solid #68758a; background: transparent; color: white; font: 24px/1 Lato, sans-serif; }
.aem-modern .aem-lightbox figure { margin: 0; }
.aem-modern .aem-lightbox img { display: block; width: 100%; height: min(70dvh, 760px); object-fit: contain; }
.aem-modern .aem-lightbox figcaption { min-height: 45px; padding: 12px 22px; text-align: center; font-size: 14px; }
.aem-modern.aem-dialog-open { overflow: hidden; }

@media (max-width: 1200px) {
  .aem-modern .container, .aem-modern #team-showcase, .aem-modern .home-folio > h3 { width: calc(100% - 64px); }
  .aem-modern .navbar-nav { gap: 15px; }
  .aem-modern .navbar-brand { width: 350px; }
  .aem-modern .navbar-nav > li > a { font-size: 13px; }
  .aem-modern .aem-services { column-gap: 36px; }
}
/* Only the enlarged masthead collapses earlier; page grids keep their breakpoints. */
@media (max-width: 1100px) {
  .aem-modern .navbar > .container { flex-wrap: wrap; gap: 0; min-height: 120px; }
  .aem-modern .navbar { min-height: 120px; }
  .aem-modern .navbar-header { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 120px; }
  .aem-modern .navbar-brand { width: 380px; }
  .aem-modern .navbar-toggle { order: 2; display: flex; align-items: center; justify-content: center; gap: 5px; flex-direction: column; width: 56px; height: 54px; padding: 7px; margin: 0; border: 1px solid var(--line); background: #fff; border-radius: 0; }
  .aem-modern .navbar-toggle .icon-bar { background: var(--ink); margin: 0; width: 22px; height: 1px; }
  .aem-modern .aem-menu-label { font-size: 9px; line-height: 1; text-transform: uppercase; margin-top: 3px; }
  .aem-modern .navbar-collapse.collapse { display: none !important; width: 100%; }
  .aem-modern .navbar-collapse.aem-open { display: block !important; }
  .aem-modern .navbar-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; padding: 10px 0 22px; width: 100%; }
  .aem-modern .navbar-nav > li > a { display: block; padding: 14px 0; font-size: 15px; }
  .aem-modern .navbar-nav > li > .aem-language { display: inline-block; margin-top: 10px; padding: 10px 16px; }
}
@media (max-width: 1000px) {
  .aem-modern .aem-hero-title { font-size: clamp(40px, 5.2vw, 58px); }
  .aem-modern .aem-intro .row { grid-template-columns: repeat(2, 1fr); gap: 35px; }
  .aem-modern .aside-wrap.links { grid-template-columns: repeat(2, 1fr); }
  .aem-modern #team-showcase { grid-template-columns: repeat(3, 1fr); }
  .aem-modern .flexslider .slides { grid-template-columns: repeat(2, 1fr); }
  .aem-modern #masonryBlog { columns: 2; }
  .aem-modern ul.portfolio { grid-auto-rows: 100px; gap: 16px; }
  .aem-modern .contact-options { gap: 32px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .aem-modern .contact-details { padding: 25px; }
  .aem-modern .contact-form .col-sm-6 { width: 100%; }
  .aem-modern .aem-footer > .container > .row { grid-template-columns: repeat(2, 1fr); gap: 42px; }
}
@media (max-width: 600px) {
  body.aem-modern { font-size: 16px; }
  .aem-modern .container, .aem-modern #team-showcase, .aem-modern .home-folio > h3 { width: calc(100% - 40px); }
  .aem-modern .section { padding-block: 54px; }
  .aem-modern .navbar > .container { width: calc(100% - 24px); }
  .aem-modern .navbar > .container, .aem-modern .navbar-header { min-height: 110px; }
  .aem-modern .navbar { min-height: 110px; }
  .aem-modern .navbar-brand { width: min(380px, calc(100% - 65px)); flex-shrink: 0; }
  .aem-modern .navbar-toggle { width: 49px; height: 49px; flex-shrink: 0; }
  .aem-modern .aem-hero { height: 700px; }
  .aem-modern .aem-slide { display: grid; grid-template-columns: 1fr; grid-template-rows: 260px 1fr; height: 100%; min-height: 0; }
  .aem-modern .aem-hero-photo { grid-column: 1; grid-row: 1; }
  .aem-modern .aem-hero-image { width: 100%; height: 100%; object-position: 65% center; }
  .aem-modern .aem-hero-copy { grid-column: 1; grid-row: 2; width: 100%; min-height: 0; padding: 32px 32px 100px; }
  .aem-modern .aem-hero-title { font-size: 48px; margin-bottom: 18px; }
  .aem-modern .aem-hero-title span, .aem-modern .aem-hero-title em { display: block; }
  .aem-modern .aem-hero-subtitle { min-height: 56px; font-size: 17px; max-width: 290px; margin-bottom: 23px; }
  .aem-modern .aem-carousel-controls { left: 28px; bottom: 22px; gap: 0; }
  .aem-modern .aem-intro { padding-top: 58px; }
  .aem-modern .aem-intro h3 { font-size: 34px; }
  .aem-modern .aem-intro .container > p:first-of-type { font-size: 20px !important; }
  .aem-modern .aem-intro .container > p:nth-of-type(2) { font-size: 16px; margin-bottom: 35px; }
  .aem-modern .aem-intro .row { grid-template-columns: 1fr; gap: 25px; }
  .aem-modern .service.style3 { padding-top: 25px; }
  .aem-modern .service.style3 h5 { min-height: 0; margin-bottom: 12px; }
  .aem-modern .service.style3 a { margin-top: 10px; }
  .aem-modern .splash-banner.page-header-wrap::after { inset: 0; opacity: .30; }
  .aem-modern .splash-banner .page-sub-title { color: #f7f5ef; }
  .aem-modern .splash-banner .breadcrumb li, .aem-modern .splash-banner .breadcrumb a { color: #fff; }
  .aem-modern .splash-banner .pattern-wrap { padding-block: 48px 35px; }
  .aem-modern .splash-banner .container { padding-right: 0; }
  .aem-modern .splash-banner .page-header { font-size: 37px; margin-bottom: 22px; }
  .aem-modern .splash-banner .page-sub-title { font-size: 11px; letter-spacing: .08em; }
  .aem-modern .breadcrumb { margin-top: 25px; }
  .aem-modern .aem-services { grid-template-columns: 1fr; gap: 0; padding-block: 40px; }
  .aem-modern .aem-services .aem-service-card { grid-column: 1; grid-row: auto; padding: 26px 0; margin: 0; }
  .aem-modern .aem-services .aem-service-card:nth-child(1) { padding-top: 0; border-bottom: 0; }
  .aem-modern .aem-services .aem-service-card:nth-child(2) { padding-top: 0; }
  .aem-modern .aem-services .aem-service-card:nth-child(3) { padding-bottom: 245px; }
  .aem-modern .aem-services .aem-service-card:nth-child(3)::after { height: 215px; }
  .aem-modern .aem-services .aem-service-card:nth-child(4), .aem-modern .aem-services .aem-service-card:nth-child(5) { border-left: 0; }
  .aem-modern .aem-services .aem-service-card:nth-child(6) { padding: 30px 26px; margin-block: 20px 10px; }
  .aem-modern .aem-services .aem-service-card:last-child { padding-inline: 24px; }
  .aem-modern .aem-service-card h2 { font-size: 23px; }
  .aem-modern .aem-service-card:nth-child(3) h2, .aem-modern .aem-service-card:nth-child(6) h2 { font-size: 27px; }
  .aem-modern #team-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  .aem-modern #team-showcase img { width: calc(100% - 36px); margin-top: 18px; }
  .aem-modern #team-showcase .detail-title { font-size: 20px; padding: 20px 18px 9px; }
  .aem-modern #team-showcase .detail-subtitle { font-size: 12px; padding: 0 18px 22px; }
  .aem-modern ul.portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 185px; gap: 14px; }
  .aem-modern ul.portfolio li.portfolio-item:nth-child(n), .aem-modern .home-folio ul.portfolio li.portfolio-item:nth-child(n) { grid-column: span 1; grid-row: span 1; height: auto; }
  .aem-modern ul.portfolio li.portfolio-item:nth-child(9n + 1), .aem-modern .home-folio ul.portfolio li.portfolio-item:nth-child(9n + 1) { grid-column: span 2; grid-row: span 2; }
  .aem-modern ul.portfolio .zoom { padding: 12px; }
  .aem-modern ul.portfolio .zoom::before { display: none; }
  .aem-modern ul.portfolio .zoom .fa { width: 34px; height: 34px; font-size: 12px; }
  .aem-modern .home-folio .view-more { margin-top: 27px; }
  .aem-modern .flexslider .slides { grid-template-columns: 1fr; gap: 18px; }
  .aem-modern .flexslider .slides > li:first-child { grid-column: auto; }
  .aem-modern .flexslider .slides > li { padding: 27px; }
  .aem-modern #masonryBlog { columns: 1; }
  .aem-modern .masonry-blog .post-quote { padding: 28px; }
  .aem-modern .aside-wrap.links { grid-template-columns: 1fr; gap: 20px; }
  .aem-modern .aside-wrap.links .widget { padding: 27px; }
  .aem-modern .contact-options { grid-template-columns: 1fr; gap: 36px; }
  .aem-modern .contact-options h4 { font-size: 26px; }
  .aem-modern .contact-details img { max-height: 330px; }
  .aem-modern section.social-links .aem-social-icons { gap: 10px; }
  .aem-modern section.social-links a { width: 58px; height: 58px; }
  .aem-modern section.social-links a .fa { font-size: 27px; }
  .aem-modern section.social-links .ww-link { background-size: 26px 34px !important; }
  .aem-modern section.section:has(.ww-reviews-widget) .col-md-6 { width: 100%; }
  .aem-modern .aem-footer { padding-top: 45px; }
  .aem-modern .aem-footer > .container > .row { grid-template-columns: 1fr; gap: 30px; }
  .aem-modern .aem-footer .ft-heading { margin-bottom: 15px; }
  .aem-modern .copyright-info { margin-top: 38px; }
  .aem-modern .aem-lightbox { max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .aem-modern .aem-lightbox img { height: 62dvh; }
}
@media (max-width: 350px) {
  .aem-modern .aem-hero { height: 665px; }
  .aem-modern .aem-slide { grid-template-rows: 225px 1fr; }
  .aem-modern .aem-hero-title { font-size: 42px; }
  .aem-modern ul.portfolio { grid-auto-rows: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .aem-modern *, .aem-modern *::before, .aem-modern *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .aem-modern #team-showcase .item:hover, .aem-modern ul.portfolio li.portfolio-item img, .aem-modern ul.portfolio .zoom .fa { transform: none !important; }
}
