/*
Theme Name: De Paula e Nadruz
Theme URI: https://depaulaenadruz.com.br/
Author: SiteSteady
Description: Classic theme reproducing the De Paula e Nadruz Advogados site. Self-hosted Montserrat, no external requests.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dpn
*/

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 200; font-display: swap; src: url('assets/fonts/montserrat-latin-ext-200-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 200; font-display: swap; src: url('assets/fonts/montserrat-latin-200-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/montserrat-latin-ext-300-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/montserrat-latin-300-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 300; font-display: swap; src: url('assets/fonts/montserrat-latin-ext-300-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 300; font-display: swap; src: url('assets/fonts/montserrat-latin-300-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/montserrat-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/montserrat-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/montserrat-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/montserrat-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 500; font-display: swap; src: url('assets/fonts/montserrat-latin-ext-500-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 500; font-display: swap; src: url('assets/fonts/montserrat-latin-500-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/montserrat-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/montserrat-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 900; font-display: swap; src: url('assets/fonts/montserrat-latin-ext-900-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 900; font-display: swap; src: url('assets/fonts/montserrat-latin-900-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
	--dpn-gold: #ecaa14;
	--dpn-gold-dark: #cd9410;
	--dpn-ink: #231f20;
	--dpn-grey: #58585b;
	--dpn-light: #f1f1f2;
	--dpn-border: #bbbdc0;
	--dpn-tag: #4b4b4d;
	--dpn-meta: #d6d1d5;
	--dpn-container: 1170px;
	--dpn-font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--dpn-font);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.6;
	color: #333;
	background: #fff;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--dpn-gold); }
h1, h2, h3, h4, h5, h6 { font-weight: 400; line-height: 1.25; color: var(--dpn-ink); margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.dpn-skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--dpn-ink); padding: 8px 12px; z-index: 100000; }
.dpn-skip:focus { left: 8px; top: 8px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--dpn-gold); outline-offset: 2px; }

/* ==========================================================================
   Design system utilities (shared with inner templates)
   ========================================================================== */
.dpn-container { width: 100%; max-width: var(--dpn-container); margin: 0 auto; padding: 0 15px; }

.dpn-headline { background: var(--dpn-light); padding: 20px 0; font-size: 13px; color: var(--dpn-grey); }
.dpn-headline a { color: inherit; text-decoration: none; }
.dpn-headline span { color: var(--dpn-grey); }
.dpn-headline span:first-child, .dpn-headline span:first-child a { color: var(--dpn-gold); }
.dpn-headline span + span::before { content: '>'; margin: 0 8px; color: var(--dpn-grey); }

.dpn-btn {
	display: inline-block; background: var(--dpn-gold); color: #fff; text-decoration: none;
	font-weight: 500; font-style: italic; font-size: 17px; line-height: 1.5; padding: 8px 10px;
	border: 0; border-radius: 0; cursor: pointer; text-align: center;
}
.dpn-btn:hover, .dpn-btn:focus { background: var(--dpn-gold-dark); color: #fff; }

.dpn-two-col { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 992px) { .dpn-two-col { grid-template-columns: 9fr 3fr; } }

.dpn-section-title {
	text-transform: uppercase; font-weight: 300; font-size: 18px; color: var(--dpn-ink); margin: 0 0 15px;
}

/* ==========================================================================
   Header: top bar
   ========================================================================== */
.dpn-header { position: relative; z-index: 50; }
.dpn-topbar {
	background: url('assets/img/bkg-header.png') center top no-repeat;
	height: 40px; color: rgba(255, 255, 255, .7); font-size: 12px;
}
.dpn-topbar-inner { display: flex; justify-content: flex-end; align-items: center; height: 40px; gap: 14px; }
.dpn-topbar a, .dpn-topbar-item { color: rgba(255, 255, 255, .7); text-decoration: none; font-weight: 400; }
.dpn-topbar img { vertical-align: middle; }
.dpn-topbar-address { display: none; }
.dpn-topbar-social { display: inline-flex; }
.dpn-topbar-ig { opacity: .6; }
@media (min-width: 768px) {
	.dpn-topbar-address { display: inline; }
	.dpn-topbar-item { margin-right: 6px; }
}

/* ==========================================================================
   Header: navigation (mobile first)
   ========================================================================== */
.dpn-navwrap { min-height: 64px; background: #fff; }
.dpn-navbar { background: #fff; width: 100%; }
.dpn-navbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.dpn-brand { display: block; line-height: 0; padding: 6px 0; }
.dpn-logo { display: block; width: 160px; height: auto; }
.dpn-logo-fixed { display: none; width: 130px; height: auto; }

.dpn-nav-toggle {
	display: block; background: none; border: 1px solid var(--dpn-border); padding: 9px 10px; cursor: pointer; line-height: 0;
}
.dpn-bar { display: block; width: 22px; height: 2px; background: var(--dpn-ink); }
.dpn-bar + .dpn-bar { margin-top: 4px; }

.dpn-menu { display: none; list-style: none; flex-basis: 100%; margin: 0; padding: 0 0 10px; }
.dpn-menu.is-open { display: block; }
.dpn-menu li { list-style: none; position: relative; }
.dpn-menu a { text-decoration: none; color: var(--dpn-ink); font-weight: 400; font-size: 15px; display: block; }
.dpn-menu > li { border-top: 1px solid #e5e5e5; display: flex; flex-wrap: wrap; align-items: center; }
.dpn-menu > li > a { flex: 1; padding: 14px 4px; }
.dpn-subtoggle {
	flex: 0 0 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative;
}
.dpn-subtoggle::after {
	content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -6px 0 0 -4px;
	border: solid var(--dpn-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s;
}
.dpn-subtoggle[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -2px; }
.dpn-menu .sub-menu { display: none; flex-basis: 100%; list-style: none; margin: 0; padding: 0 0 6px 14px; }
.dpn-menu li.is-open > .sub-menu { display: block; }
.dpn-menu .sub-menu a { padding: 9px 0; font-size: 14px; border-bottom: 1px solid #ddd; }
.dpn-menu .is-current > a, .dpn-menu .current-menu-item > a { color: var(--dpn-gold); font-weight: 900; }
.dpn-menu .sub-menu .is-current > a { color: var(--dpn-gold); font-weight: 700; }

@media (min-width: 992px) {
	.dpn-navwrap { min-height: 80px; }
	.dpn-brand { margin-top: -23px; padding: 0; position: relative; z-index: 2; }
	.dpn-logo { width: 200px; }
	.dpn-nav-toggle, .dpn-subtoggle { display: none; }
	.dpn-menu { display: flex; flex-basis: auto; padding: 0; margin-top: 8px; align-items: stretch; }
	.dpn-menu > li { display: block; border: 0; padding: 0 2px; }
	.dpn-menu > li > a { padding: 22px 13px 21px; border-bottom: 4px solid transparent; font-size: 15px; white-space: nowrap; }
	.dpn-menu > li:hover > a, .dpn-menu > li:focus-within > a { color: var(--dpn-gold); }
	.dpn-menu > .is-current > a, .dpn-menu > .current-menu-item > a, .dpn-menu > .current-menu-ancestor > a {
		border-bottom-color: var(--dpn-gold);
	}
	.dpn-menu .sub-menu {
		display: none; position: absolute; left: 0; top: 100%; min-width: 250px; max-width: calc(100vw - 30px);
		background: #fff; padding: 0; box-shadow: 0 6px 12px rgba(0, 0, 0, .18); border: 1px solid rgba(0, 0, 0, .12);
		z-index: 60;
	}
	.dpn-menu li:hover > .sub-menu, .dpn-menu li:focus-within > .sub-menu { display: block; }
	.dpn-menu .sub-menu.has-cols { min-width: 540px; column-count: 2; column-gap: 0; }
	.dpn-menu .sub-menu li { break-inside: avoid; }
	.dpn-menu .sub-menu a { margin: 0 15px; padding: 10px 0; font-size: 14px; border-bottom: 1px solid var(--dpn-grey); white-space: normal; }
	.dpn-menu .sub-menu li:last-child a { border-bottom: 0; }
	.dpn-menu .sub-menu a:hover, .dpn-menu .sub-menu a:focus { color: var(--dpn-gold); }
}

/* Sticky compact bar */
.dpn-navbar.is-stuck {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255, 255, 255, .9);
	box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}
body.admin-bar .dpn-navbar.is-stuck { top: 32px; }
@media (max-width: 782px) { body.admin-bar .dpn-navbar.is-stuck { top: 46px; } }
.dpn-navbar.is-stuck .dpn-logo { display: none; }
.dpn-navbar.is-stuck .dpn-logo-fixed { display: block; }
@media (min-width: 992px) {
	.dpn-navbar.is-stuck .dpn-brand { margin-top: 0; }
	.dpn-navbar.is-stuck .dpn-logo-fixed { width: 140px; }
	.dpn-navbar.is-stuck .dpn-menu { margin-top: 0; }
	.dpn-navbar.is-stuck .dpn-menu > li > a { padding: 22px 13px 18px; }
}

/* ==========================================================================
   Home: slider
   ========================================================================== */
.dpn-slider { position: relative; width: 100%; max-width: 1920px; margin: 0 auto; background: #e9e9ea; }
.dpn-slides { position: relative; aspect-ratio: 2 / 1; overflow: hidden; }
@media (min-width: 600px) { .dpn-slides { aspect-ratio: 1920 / 550; } }
.dpn-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.dpn-slide.is-active { opacity: 1; visibility: visible; }
.dpn-slide > img, .dpn-slide > a, .dpn-slide > a > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dpn-slide-text {
	display: none; position: absolute; margin: 0; white-space: nowrap;
	left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
	font-size: min(calc(var(--fs) / 19.2 * 1vw), calc(var(--fs) * 1px));
	line-height: var(--lh, 1.2); font-weight: 400;
}
@media (min-width: 600px) { .dpn-slide-text { display: block; } }
.dpn-slide-text .w900, .dpn-slide-text.w900 { font-weight: 900; }
.dpn-slide-text.w200 { font-weight: 200; }
.dpn-slide-text.w400 { font-weight: 400; }
.dpn-slide-text.w300i { font-weight: 300; font-style: italic; }
.dpn-slide-text.ta-r { text-align: right; }
.dpn-slide-text.hl { background: var(--dpn-gold); padding: 0 .9em 0 .3em; }
.dpn-slide-text.w900.hl { padding: 0 .36em; }
.dpn-slide-text .white { color: #fff; }
.dpn-slide-text em { font-style: italic; }
.dpn-slider-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; padding: 0; border: 0; background: none;
	cursor: pointer; opacity: .7; line-height: 0;
}
.dpn-slider-arrow:hover { opacity: 1; }
.dpn-slider-prev { left: 0; }
.dpn-slider-next { right: 0; }

/* ==========================================================================
   Home: some services
   ========================================================================== */
.dpn-services { padding-top: 50px; }
.dpn-services-grid { display: grid; grid-template-columns: 1fr; gap: 30px 20px; }
.dpn-service { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: start; }
.dpn-service > div { padding-top: 14px; }
.dpn-service-title { display: block; font-size: 20px; font-weight: 300; padding-bottom: 12px; color: var(--dpn-ink); }
.dpn-service p { font-size: 14px; color: var(--dpn-grey); margin-bottom: .8em; }
.dpn-service a { text-decoration: none; color: var(--dpn-gold); font-weight: 700; }
@media (min-width: 768px) { .dpn-services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .dpn-services-grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Home: contact box
   ========================================================================== */
.dpn-contactbox { padding-top: 40px; }
.dpn-contactbox-inner { border: 1px solid var(--dpn-border); display: grid; grid-template-columns: 1fr; }
.dpn-contactbox p { margin: 0; padding: 30px 20px 10px; font-weight: 500; font-style: italic; font-size: 16px; }
.dpn-contactbox p br { display: none; }
.dpn-contactbox-cta { padding: 10px 20px 30px; }
.dpn-contactbox-cta .dpn-btn { width: 150px; }
@media (min-width: 992px) {
	.dpn-contactbox-inner { grid-template-columns: 1fr 190px; }
	.dpn-contactbox p { padding: 43px 20px 30px 30px; }
	.dpn-contactbox p br { display: inline; }
	.dpn-contactbox-cta {
		padding: 35px 0 30px; text-align: center; background: url('assets/img/border-contact.png') left center no-repeat;
	}
	.dpn-contactbox-cta .dpn-btn { width: 130px; }
}

/* ==========================================================================
   Section heads and carousels
   ========================================================================== */
.dpn-sectionhead { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin-bottom: 15px; }
.dpn-sectionhead-split { justify-content: space-between; }
.dpn-sectionhead .dpn-section-title { margin: 0; }
.dpn-sectionhead-tools { display: flex; align-items: center; gap: 8px; }
.dpn-seeall { font-size: 12px; font-weight: 400; text-transform: lowercase; text-decoration: none; color: var(--dpn-grey); }
.dpn-seeall:hover { text-decoration: underline; color: var(--dpn-ink); }
.dpn-seeall-under { margin: 10px 0 0; text-align: right; }
.dpn-car-prev, .dpn-car-next { padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; opacity: .85; }
.dpn-car-prev:hover, .dpn-car-next:hover { opacity: 1; }
.dpn-car-prev[hidden], .dpn-car-next[hidden] { display: none; }

.dpn-carousel { --per: 4; --gap: 20px; }
.dpn-viewport { overflow: hidden; }
.dpn-track { display: flex; gap: var(--gap); list-style: none; margin: 0; padding: 0; transition: transform .5s ease; }
.dpn-track > li { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; list-style: none; }
@media (prefers-reduced-motion: reduce) { .dpn-track, .dpn-slide { transition: none; } }

/* Paged carousel: JS groups the cards into pages of (per x rows) cards */
.dpn-carousel-areas .dpn-track:not(.is-paged) { display: grid; grid-template-columns: repeat(var(--per), minmax(0, 1fr)); }
.dpn-track.is-paged { gap: 0; }
.dpn-track.is-paged > li.dpn-cpage { flex: 0 0 100%; }
.dpn-page-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--per), minmax(0, 1fr)); gap: 0 var(--gap); }
.dpn-page-grid > li { min-width: 0; list-style: none; }

/* Areas */
.dpn-areas { padding-top: 50px; }
.dpn-areas .dpn-carousel { --per: 1 !important; }
@media (min-width: 600px) { .dpn-areas .dpn-carousel { --per: 2 !important; } }
@media (min-width: 992px) { .dpn-areas .dpn-carousel { --per: 4 !important; } }
.dpn-card { padding-bottom: 35px; }
.dpn-card a { display: block; text-decoration: none; }
.dpn-card-media { display: block; position: relative; aspect-ratio: 4 / 3; background: #d9d9db; overflow: hidden; }
.dpn-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .3s; }
.dpn-card a:hover .dpn-card-media img, .dpn-card a:focus-visible .dpn-card-media img { filter: none; }
.dpn-card-over {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: rgba(236, 170, 20, .55); opacity: 0; transition: opacity .3s;
}
.dpn-card a:hover .dpn-card-over, .dpn-card a:focus-visible .dpn-card-over { opacity: 1; }
.dpn-card-caption {
	display: flex; align-items: center; justify-content: center; text-align: center;
	width: 90%; min-height: 70px; margin: -17px auto 0; padding: 6px 10px; position: relative; z-index: 2;
	background: rgba(255, 255, 255, .8); border: 1px solid var(--dpn-ink);
	font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--dpn-ink);
}
.dpn-card a:hover .dpn-card-caption, .dpn-card a:focus-visible .dpn-card-caption { color: var(--dpn-gold); }

/* ==========================================================================
   Home: posts and testimonials
   ========================================================================== */
.dpn-pt { padding-top: 10px; }
.dpn-divider { border: 0; border-top: 1px solid #e0e0e0; margin: 15px 0 30px; }
.dpn-halves { display: grid; grid-template-columns: 1fr; gap: 40px; }
.dpn-half { min-width: 0; }
@media (min-width: 992px) { .dpn-halves { grid-template-columns: 1fr 1fr; gap: 30px; } }

.dpn-post { display: flex; gap: 15px; padding-top: 20px; }
.dpn-date { flex: 0 0 38px; width: 38px; text-align: center; color: #fff; text-decoration: none; display: block; border: 0; }
.dpn-date-day { display: block; background: var(--dpn-gold); font-size: 20px; font-weight: 700; line-height: 1; padding: 8px 0 7px; }
.dpn-date-month { display: block; background: var(--dpn-ink); font-size: 11px; font-weight: 400; line-height: 1; padding: 6px 0; }
.dpn-post-body h4 { font-size: 17px; font-weight: 700; margin-bottom: .4em; }
.dpn-post-body h4 a { color: var(--dpn-ink); text-decoration: none; }
.dpn-post-body h4 a:hover { color: var(--dpn-gold); }
.dpn-post-body p { font-size: 14px; color: var(--dpn-grey); margin: 0; }

.dpn-testi { background: url('assets/img/bkg-testimonial.png') left top / 100% auto no-repeat; }
.dpn-testi blockquote {
	margin: 0; padding: 37px 15px 20px 40px; font-weight: 300; font-style: italic; color: var(--dpn-grey);
	font-size: 14px; min-height: 230px;
}
.dpn-testi blockquote::before, .dpn-testi blockquote::after { content: none; }
.dpn-testi-author { font-weight: 500; font-size: 17px; color: var(--dpn-ink); margin: 0; padding-left: 35px; }
.dpn-testi-role { color: var(--dpn-grey); font-size: 15px; margin: 5px 0 0; padding-left: 35px; }
@media (min-width: 600px) { .dpn-testi blockquote { padding-left: 70px; padding-right: 10px; } }

/* ==========================================================================
   Home: partners, associates
   ========================================================================== */
.dpn-team { padding-top: 40px; }
.dpn-team-grid { display: grid; grid-template-columns: 1fr; gap: 40px 30px; padding-top: 10px; }
.dpn-person figure { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: #e9e9ea; }
.dpn-person figure a { display: block; height: 100%; }
.dpn-person figure img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.dpn-person-box {
	width: 76%; margin: -33px auto 0; position: relative; padding: 14px 10px 18px; text-align: center;
	background: #fff; border: 1px solid #e0e0e0;
}
.dpn-person-box h5 { font-size: 17px; font-weight: 700; margin: 0 0 .5em; }
.dpn-person-box p { margin: 0 0 .8em; font-size: 14px; color: var(--dpn-grey); }
.dpn-person-box .dpn-btn { font-size: 16px; font-style: normal; font-weight: 300; padding: 6px 18px; }
@media (min-width: 600px) { .dpn-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .dpn-person { max-width: 420px; margin: 0 auto; width: 100%; } }

.dpn-associated { padding: 40px 0 20px; text-align: center; }
.dpn-associated p { border: 1px solid #e0e0e0; padding: 15px; margin: 0 10px; }

/* ==========================================================================
   Newsletter band
   ========================================================================== */
.dpn-newsletter { background: var(--dpn-gold); padding: 20px 0 15px; margin-top: 40px; }
.dpn-newsletter-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.dpn-newsletter label { font-size: 20px; font-weight: 300; color: #fff; }
.dpn-newsletter input {
	flex: 1 1 220px; min-width: 0; background: var(--dpn-gold-dark); border: 0; border-radius: 0; color: #fff;
	padding: 8px 12px; font: inherit; font-size: 15px; font-weight: 400;
}
.dpn-newsletter input::placeholder { color: rgba(255, 255, 255, .85); }
.dpn-newsletter button {
	background: var(--dpn-gold); border: 1px solid #fff; border-radius: 0; color: #fff; font-weight: 700; font-size: 16px;
	padding: 6px 14px; cursor: pointer;
}
.dpn-newsletter button:hover { background: var(--dpn-gold-dark); }
@media (min-width: 992px) {
	.dpn-newsletter-form { flex-wrap: nowrap; padding-left: 68px; }
	.dpn-newsletter input { flex: 0 1 60%; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.dpn-footer { background: #000; color: #fff; padding: 60px 0 40px; font-size: 14px; }
.dpn-footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px 30px; }
@media (min-width: 600px) { .dpn-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .dpn-footer-grid { grid-template-columns: repeat(4, 1fr); } }
.dpn-footer a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 300; }
.dpn-footer a:hover { text-decoration: underline; }
.dpn-flogo { display: block; max-width: 100%; margin-bottom: 30px; }
.dpn-fline { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: #fff; }
.dpn-fline img { flex: 0 0 auto; width: 24px; height: auto; }
.dpn-fsocial { display: flex; gap: 8px; margin: 20px 0 0 36px; }
.dpn-fsocial img { display: block; }
.dpn-ftitle { font-size: 16px; font-weight: 400; margin: 0 0 12px; color: #fff; }
.dpn-ftitle-line { border-bottom: 1px solid #fff; padding-bottom: 10px; }
.dpn-flist { list-style: none; margin: 0; padding: 0; }
.dpn-flist li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid #fff; line-height: 1.4; }
.dpn-flist li:first-child { border-top: 1px solid #fff; }
.dpn-flist li:last-child { border-bottom: 0; }
.dpn-flist img { flex: 0 0 auto; margin-top: 3px; }
.dpn-fform { padding-top: 6px; }
.dpn-fform p { margin: 0 0 12px; }
.dpn-fform label { display: block; color: #fff; font-size: 14px; margin-bottom: 3px; }
.dpn-fform input[type="text"], .dpn-fform input[type="email"], .dpn-fform textarea {
	display: block; width: 100%; background: #323132; border: 1px solid #808284; border-radius: 0; color: #fff;
	padding: 6px 10px; font: inherit; font-size: 14px; font-weight: 400;
}
.dpn-fform textarea { min-height: 120px; resize: vertical; }
.dpn-fconsent { display: flex; align-items: flex-start; gap: 8px; }
.dpn-fconsent input { margin-top: 4px; flex: 0 0 auto; }
.dpn-fconsent label { margin: 0; font-size: 12px; color: #ccc; }
.dpn-fform button { background: #323132; border: 1px solid #808284; border-radius: 0; color: #fff; padding: 6px 16px; font-size: 14px; cursor: pointer; }
.dpn-fform button:hover { background: #46454a; }
.dpn-strip { height: 30px; background: var(--dpn-gold); }

/* Floating buttons */
.dpn-float { position: fixed; right: 10px; z-index: 900; border: 0; padding: 0; cursor: pointer; line-height: 0; }
.dpn-whatsapp { bottom: 10px; }
.dpn-whatsapp img { width: 45px; height: 45px; }
.dpn-totop {
	bottom: 65px; width: 45px; height: 45px; background: #808284; display: flex; align-items: center; justify-content: center;
}
.dpn-totop[hidden] { display: none; }
.dpn-totop:hover { background: #6b6d6f; }

/* ==========================================================================
   WPForms: newsletter band and footer contact (WPForms stylesheet is off)
   ========================================================================== */
.dpn-newsletter .wpforms-container, .dpn-footer .wpforms-container { margin: 0; padding: 0; }
.dpn-newsletter .wpforms-form, .dpn-footer .wpforms-form { margin: 0; }
.dpn-newsletter .wpforms-field-hp, .dpn-footer .wpforms-field-hp { display: none !important; }

/* Newsletter: one inline row inside the gold band */
.dpn-newsletter .wpforms-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.dpn-newsletter .wpforms-field-container { display: contents; }
.dpn-newsletter .wpforms-field { flex: 1 1 220px; min-width: 0; margin: 0; padding: 0; }
.dpn-newsletter .wpforms-field-label.wpforms-label-hide, .dpn-newsletter .wpforms-field-label {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap;
}
.dpn-newsletter .wpforms-field input[type="email"], .dpn-newsletter .wpforms-field input[type="text"] {
	display: block; width: 100%; max-width: none; box-sizing: border-box; background: var(--dpn-gold-dark); border: 0; border-radius: 0; color: #fff;
	padding: 8px 12px; font: inherit; font-size: 15px; font-weight: 400; height: auto;
}
.dpn-newsletter .wpforms-field input::placeholder { color: rgba(255, 255, 255, .85); }
.dpn-newsletter .wpforms-submit-container { flex: 0 0 auto; margin: 0; padding: 0; }
.dpn-newsletter .wpforms-submit {
	background: var(--dpn-gold); border: 1px solid #fff; border-radius: 0; color: #fff; font-weight: 700; font-size: 16px;
	padding: 6px 14px; cursor: pointer; line-height: 1.5;
}
.dpn-newsletter .wpforms-submit:hover { background: var(--dpn-gold-dark); }
.dpn-newsletter label.wpforms-error, .dpn-newsletter .wpforms-error { display: block; flex-basis: 100%; color: #fff; font-size: 13px; margin-top: 4px; }
.dpn-newsletter .wpforms-confirmation-container-full, .dpn-newsletter .wpforms-confirmation-container {
	margin: 0; padding: 8px 12px; background: transparent; border: 1px solid #fff; color: #fff; font-size: 16px;
}
.dpn-newsletter .wpforms-confirmation-container-full p { margin: 0; color: #fff; }
@media (min-width: 992px) {
	.dpn-newsletter .wpforms-form { flex-wrap: nowrap; }
	.dpn-newsletter .wpforms-field { flex: 1 1 auto; }
}
/* The visible "Assine nossa newsletter" text sits beside the form, like the
   static label did; the outer row keeps the band's left offset. */
.dpn-nl-label { font-size: 20px; font-weight: 300; color: #fff; flex: 0 0 auto; }
.dpn-newsletter-wp .wpforms-container { flex: 1 1 auto; min-width: 0; }
.dpn-nl-consent { margin: 8px 0 0; color: #fff; font-size: 12px; font-weight: 400; }
.dpn-nl-consent a { color: #fff; text-decoration: underline; }
@media (min-width: 992px) { .dpn-nl-consent { padding-left: 68px; } }
@media (min-width: 992px) {
	.dpn-newsletter-wp .wpforms-container { flex: 0 1 70%; }
}

/* WPForms with its stylesheet off: hidden labels and checkbox fieldsets. */
.wpforms-container .wpforms-label-hide, .wpforms-container .wpforms-sublabel-hide {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap;
}
.wpforms-container fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.wpforms-container fieldset ul { list-style: none; margin: 0; padding: 0; }

/* Footer contact */
.dpn-footer .wpforms-container { padding-top: 6px; }
.dpn-footer .wpforms-field { display: block; margin: 0 0 12px; padding: 0; }
.dpn-footer .wpforms-field-label { display: block; color: #fff; font-size: 14px; font-weight: 400; margin: 0 0 3px; padding: 0; }
.dpn-footer .wpforms-required-label { color: #fff; }
.dpn-footer .wpforms-field input[type="text"], .dpn-footer .wpforms-field input[type="email"], .dpn-footer .wpforms-field textarea {
	display: block; width: 100%; max-width: none; box-sizing: border-box; background: #323132; border: 1px solid #808284; border-radius: 0; color: #fff;
	padding: 6px 10px; font: inherit; font-size: 14px; font-weight: 400;
}
.dpn-footer .wpforms-field textarea { min-height: 120px; height: auto; resize: vertical; }
.dpn-footer .wpforms-field-checkbox ul { list-style: none; margin: 0; padding: 0; }
.dpn-footer .wpforms-field-checkbox ul li { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 0; }
.dpn-footer .wpforms-field-checkbox ul li input { margin: 4px 0 0; flex: 0 0 auto; }
.dpn-footer .wpforms-field-checkbox ul li label { margin: 0; font-size: 12px; font-weight: 400; color: #fff; }
.dpn-footer .wpforms-submit-container { margin: 0; padding: 0; }
.dpn-footer .wpforms-submit {
	background: #323132; border: 1px solid #808284; border-radius: 0; color: #fff; padding: 6px 16px; font-size: 14px; cursor: pointer;
}
.dpn-footer .wpforms-submit:hover { background: #46454a; }
.dpn-footer label.wpforms-error, .dpn-footer .wpforms-error { display: block; color: #ff6b6b; font-size: 12px; margin-top: 3px; }
.dpn-footer .wpforms-confirmation-container-full, .dpn-footer .wpforms-confirmation-container {
	margin: 0; padding: 10px 12px; background: transparent; border: 1px solid #808284; color: #fff; font-size: 14px;
}
.dpn-footer .wpforms-confirmation-container-full p { margin: 0; color: #fff; }

/* dpn_form_unavailable(): shown where a form would be when WPForms is off. */
.dpn-form-off { margin: 0; font-size: 14px; line-height: 1.5; color: var(--dpn-grey); }
.dpn-form-off a { color: inherit; text-decoration: underline; }
.dpn-newsletter .dpn-form-off, .dpn-footer .dpn-form-off { color: #fff; }
