/*
 * Dental Tax Advisors — default header & footer look (works together with
 * inc/dental-design.php). Icons are inline SVG masks, so they take the text colour.
 */

/* ---- Icons ------------------------------------------------------------- */
.dta-ico {
	display: inline-block;
	flex: none;
	width: 15px;
	height: 15px;
	margin-inline-end: 8px;
	vertical-align: -2px;
	background-color: currentColor;
	-webkit-mask: var(--dta-mask) center / contain no-repeat;
	mask: var(--dta-mask) center / contain no-repeat;
}
.dta-ico-phone{--dta-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E")}
.dta-ico-mail{--dta-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E")}
.dta-ico-pin{--dta-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E")}
.dta-ico-linkedin{--dta-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z'/%3E%3Crect x='2' y='9' width='4' height='12'/%3E%3Ccircle cx='4' cy='4' r='2'/%3E%3C/svg%3E")}
.dta-ico-facebook{--dta-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E")}
.dta-ico-instagram{--dta-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E")}
.dta-ico-tooth,.dta-logo__icon{--dta-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.2 3C4.8 3 3 4.9 3 7.4c0 2 .7 3.5 1.3 5.3.5 1.6.6 3.3 1 5.1.3 1.5 1.1 2.7 2.2 2.7 1.3 0 1.6-1.7 2-3.4.3-1.3.7-2.2 1.5-2.2s1.2.9 1.5 2.2c.4 1.7.7 3.4 2 3.4 1.1 0 1.9-1.2 2.2-2.7.4-1.8.5-3.5 1-5.1.6-1.8 1.3-3.3 1.3-5.3C21 4.9 19.2 3 16.8 3c-1.7 0-2.8.7-4.8.7S8.9 3 7.2 3z'/%3E%3C/svg%3E")}

/* ---- Logo (shown until a logo image is chosen) ------------------------- */
.dta-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #0b1f4b;
	text-decoration: none;
}
.dta-logo:hover { color: #0b1f4b; }
.dta-logo__icon {
	display: block;
	width: 40px;
	height: 40px;
	background-color: #0a63c9;
	-webkit-mask: var(--dta-mask) center / contain no-repeat;
	mask: var(--dta-mask) center / contain no-repeat;
}
.dta-logo__text {
	display: block;
	font-size: 23px;
	font-weight: 700;
	letter-spacing: .6px;
	line-height: 1.05;
}
.dta-logo__text small {
	display: block;
	margin-top: 4px;
	color: #0a63c9;
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 3.4px;
	line-height: 1;
}
.dta-logo--light,
.dta-logo--light:hover { color: #fff; }
.dta-logo--light .dta-logo__icon { background-color: #8fb9f2; }
.dta-logo--light .dta-logo__text small { color: #8fb9f2; }

/* ---- Top bar ----------------------------------------------------------- */
.dta-info { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.dta-info a, .dta-info > span { display: inline-flex; align-items: center; text-decoration: none; }
.aqf-header-row--above a:hover { color: #cfe2fb; }
.aqf-header-row--primary .aqf-nav .menu-item.current-menu-item > a { color: #0a63c9; }
.aqf-header-row--primary .aqf-btn,
.aqf-header-row--primary .aqf-button { white-space: nowrap; }

/* ---- Footer ------------------------------------------------------------ */
.aqf-footer-row--primary .aqf-footer-row__grid { gap: 40px; }
.aqf-footer .dta-f-title {
	margin: 0 0 18px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}
.aqf-footer .dta-f-about { max-width: 340px; margin: 18px 0 0; line-height: 1.75; }
.aqf-footer .dta-f-list { margin: 0; padding: 0; list-style: none; }
.aqf-footer .dta-f-list li { margin: 0 0 10px; }
.aqf-footer .dta-f-list li:last-child { margin-bottom: 0; }
.aqf-footer .dta-f-list a,
.aqf-footer .dta-f-list span { display: inline-flex; align-items: center; text-decoration: none; }
.aqf-footer .dta-f-list a { transition: color .2s ease, transform .25s ease; }
.aqf-footer .dta-f-list a:hover { color: #fff; transform: translateX(3px); }
.aqf-footer .dta-f-contact .dta-ico { margin-inline-end: 10px; color: #8fb9f2; }
.aqf-footer .dta-f-social { display: flex; gap: 10px; margin: 20px 0 0; }
.aqf-footer .dta-f-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	transition: background-color .25s ease, transform .3s cubic-bezier(.16, 1, .3, 1);
}
.aqf-footer .dta-f-social a:hover { background: #0a63c9; transform: translateY(-3px); }
.aqf-footer .dta-f-social .dta-ico { width: 16px; height: 16px; margin: 0; }
.aqf-footer-row--below .aqf-copyright a { text-decoration: none; }
.aqf-footer-row--below .aqf-copyright a:hover { color: #fff; }

@media (max-width: 1024px) {
	.aqf-footer-row--primary .aqf-footer-row__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
	.aqf-footer-row--primary .aqf-footer-row__grid { grid-template-columns: 1fr !important; gap: 32px; }
}
