/*
Theme Name: Dubbe Digital
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: WordPress theme scaffold converted from Vite + React Dubbe Digital site.
Version: 0.1
License: GNU General Public License v2 or later
Text Domain: dubbe-digital
*/

/* Add theme-level CSS here or enqueue compiled CSS in functions.php */

/* Fallback button styles for block buttons when build CSS isn't applied */
.wp-block-button__link,
.wp-block-button__link:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .75rem 1.5rem; /* approximate px-6 py-3 */
	border-radius: .5rem; /* rounded-md */
	background-color: #2563eb; /* primary fallback */
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
}
.wp-block-button__link:hover {
	opacity: 0.95;
}

/* Ensure admin bar spacing remains correct */
body.admin-bar header.fixed {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar header.fixed {
		top: 46px;
	}
}

/* Fix gradient card styling */
.gradient-card {
	background: var(--gradient-card);
	border: 1px solid;
	border-radius: var(--radius);
	transition: var(--transition-base);
}

/* Ensure proper text rendering */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Fix any layout issues with sections */
section {
	position: relative;
}

/* Ensure proper z-index stacking */
header {
	z-index: 50;
}

main {
	position: relative;
	z-index: 1;
}

.dubbe-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 40;
	height: 80px;
	background-color: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(15, 23, 42, 0.1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

body.admin-bar .dubbe-site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .dubbe-site-header {
		top: 46px;
	}
}

.dubbe-site-header nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 2rem;
	width: 100%;
}

.dubbe-site-header .wp-block-site-title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
}

.dubbe-site-header .wp-block-site-title a {
	color: #0f172a;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.dubbe-site-header .wp-block-site-title img {
	height: 32px;
	width: auto;
}

.dubbe-primary-navigation {
	display: none;
}

@media screen and (min-width: 768px) {
	.dubbe-primary-navigation {
		display: flex;
		gap: 2rem;
	}

	.dubbe-primary-navigation .wp-block-navigation {
		display: flex;
		gap: 2rem;
	}

	.dubbe-primary-navigation .wp-block-navigation-item {
		display: inline-block;
	}

	.dubbe-primary-navigation .wp-block-navigation-item__content {
		color: #64748b;
		font-size: 0.875rem;
		font-weight: 500;
		text-decoration: none;
		transition: color 0.2s ease;
	}

	.dubbe-primary-navigation .wp-block-navigation-item__content:hover {
		color: #0f172a;
	}
}

.dubbe-header-actions {
	margin: 0 !important;
}

.dubbe-header-actions .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	border-radius: 6px;
	background-color: #2563eb;
	color: #ffffff;
	text-decoration: none;
	transition: all 0.2s ease;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.dubbe-header-actions .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.dubbe-site-footer {
	background-color: hsl(var(--wp--preset--color--secondary));
	border-top: 1px solid rgba(15, 23, 42, 0.1);
	margin-top: 4rem;
	padding-top: 48px !important;
	padding-bottom: 48px !important;
}

.dubbe-site-footer .wp-block-site-title {
	font-size: 1rem;
	margin-bottom: 0.5rem;
}

.dubbe-site-footer .wp-block-site-title a {
	color: #0f172a;
	text-decoration: none;
}

.dubbe-site-footer .wp-block-columns {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

@media screen and (max-width: 768px) {
	.dubbe-site-footer .wp-block-columns {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}

.dubbe-site-footer .wp-block-column {
	flex-basis: 25% !important;
}

.dubbe-site-footer h4 {
	font-size: 1rem;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 1rem;
	margin-top: 0;
}

.dubbe-site-footer .wp-block-paragraph {
	font-size: 0.875rem;
	color: #64748b;
	margin: 0.5rem 0;
}

.dubbe-site-footer .wp-block-navigation {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.dubbe-site-footer .wp-block-navigation-item {
	display: block;
}

.dubbe-site-footer .wp-block-navigation-item__content,
.dubbe-site-footer a {
	color: #64748b;
	text-decoration: none;
	font-size: 0.875rem;
	transition: color 0.2s ease;
}

.dubbe-site-footer .wp-block-navigation-item__content:hover,
.dubbe-site-footer a:hover {
	color: #0f172a;
}

.dubbe-page-shell,
.dubbe-archive-shell {
	max-width: 1200px;
	margin: 0 auto;
}

.dubbe-page-hero {
	margin-bottom: 2.5rem;
	padding: 2rem;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 1.5rem;
	background:
		radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 32%),
		linear-gradient(180deg, rgba(243, 244, 246, 0.95), rgba(255, 255, 255, 0.98));
	overflow: hidden;
}

.dubbe-page-hero .wp-block-post-title {
	margin: 0 0 1rem;
	font-size: clamp(2.4rem, 5vw, 4rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: #0f172a;
}

.dubbe-page-excerpt,
.dubbe-page-hero .wp-block-post-excerpt {
	max-width: 52rem;
	font-size: 1.125rem;
	color: #64748b;
}

.dubbe-page-featured-image {
	margin-top: 1.75rem;
	overflow: hidden;
	border-radius: 1.25rem;
	box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

.dubbe-page-featured-image img,
.dubbe-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: inherit;
	object-fit: cover;
}

.dubbe-page-content {
	max-width: 880px;
	margin: 0 auto;
	padding: 0 0.25rem;
}

.dubbe-prose > * + * {
	margin-top: 1.25rem;
}

.dubbe-prose h2,
.dubbe-prose h3,
.dubbe-prose h4 {
	color: #0f172a;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

/* Exact React-like header/footer structure overrides */
.dubbe-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: none;
	height: auto;
}

body.admin-bar .dubbe-site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .dubbe-site-header {
		top: 46px;
	}
}

.dubbe-site-header nav {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1rem;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

@media screen and (min-width: 1024px) {
	.dubbe-site-header nav {
		padding: 0 2rem;
		height: 80px;
	}
}

.dubbe-logo-link {
	display: inline-flex;
	align-items: center;
}

.dubbe-logo-link img {
	height: 32px;
	width: auto;
	display: block;
}

/* Mobile menu */

@media screen and (min-width: 1024px) {
	.dubbe-logo-link img {
		height: 40px;
	}
}

.dubbe-desktop-nav {
	display: none;
	align-items: center;
	gap: 2rem;
}

@media screen and (min-width: 768px) {
	.dubbe-desktop-nav {
		display: flex;
	}
}

.dubbe-desktop-nav a {
	color: #64748b;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s ease;
}

.dubbe-desktop-nav a:hover {
	color: #0f172a;
}

.dubbe-header-actions {
	margin: 0;
	display: flex;
	align-items: center;
}

a.dubbe-cta-button,
.dubbe-cta-button,
:root :where(a.dubbe-cta-button) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	border-radius: 0.5rem;
	text-decoration: none !important;
	background: #2563eb !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.dubbe-cta-button:hover,
.dubbe-cta-button:hover,
:root :where(a.dubbe-cta-button):hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
	color: #ffffff !important;
	text-decoration: none !important;
}

.dubbe-site-footer {
	margin-top: 0;
	background: rgba(243, 244, 246, 0.5);
	border-top: 1px solid rgba(15, 23, 42, 0.1);
	padding: 48px 0 64px;
}

.dubbe-footer-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1rem;
}

@media screen and (min-width: 1024px) {
	.dubbe-footer-inner {
		padding: 0 2rem;
	}
}

.dubbe-footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media screen and (min-width: 768px) {
	.dubbe-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 1024px) {
	.dubbe-footer-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 3rem;
	}
}

.dubbe-footer-logo {
	margin-bottom: 1rem;
}

.dubbe-footer-description {
	margin: 0;
	color: #64748b;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.dubbe-site-footer h4 {
	margin: 0 0 1rem;
	font-size: 1rem;
	font-weight: 600;
	color: #0f172a;
}

.dubbe-site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.dubbe-site-footer a {
	color: #64748b;
	text-decoration: none;
	font-size: 0.9375rem;
	transition: color 0.2s ease;
}

.dubbe-site-footer a:hover {
	color: #0f172a;
}

.dubbe-footer-bottom {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(15, 23, 42, 0.1);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

@media screen and (min-width: 768px) {
	.dubbe-footer-bottom {
		flex-direction: row;
	}
}

.dubbe-footer-bottom p {
	margin: 0;
	font-size: 0.875rem;
	color: #64748b;
}

.dubbe-footer-socials {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.dubbe-prose p,
.dubbe-prose li,
.dubbe-prose blockquote {
	color: #475569;
	font-size: 1.05rem;
}

.dubbe-prose ul,
.dubbe-prose ol {
	padding-left: 1.35rem;
}

.dubbe-prose blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	border-left: 4px solid #2563eb;
	background: rgba(37, 99, 235, 0.06);
	border-radius: 0.75rem;
}

.dubbe-card-grid {
	gap: 1.5rem;
}

.dubbe-card {
	height: 100%;
	border: 1px solid rgba(15, 23, 42, 0.08) !important;
	border-radius: 1.25rem;
	background: #ffffff;
	box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	overflow: hidden;
}

.dubbe-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 28px 60px rgba(15, 23, 42, 0.1);
	border-color: rgba(37, 99, 235, 0.3) !important;
}

.dubbe-card .wp-block-post-title {
	margin-top: 1rem;
	margin-bottom: 0.75rem;
	font-size: 1.35rem;
	line-height: 1.2;
}

.dubbe-card .wp-block-post-title a {
	color: #0f172a;
	text-decoration: none;
}



/* ========================================
   Enhanced Portfolio Page Styling
   ======================================== */
.dubbe-portfolio-shell {
	background: rgba(255, 255, 255, 0.5);
}

.dubbe-portfolio-shell .dubbe-page-hero {
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(243, 244, 246, 1) 100%);
	border: 2px solid rgba(37, 99, 235, 0.15);
	box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.dubbe-portfolio-shell .dubbe-page-hero .wp-block-post-title {
	background: linear-gradient(135deg, #2563eb 0%, #0f172a 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: 800;
}

.dubbe-portfolio-shell .dubbe-page-featured-image {
	box-shadow: 0 30px 60px rgba(37, 99, 235, 0.15);
	border: 1px solid rgba(37, 99, 235, 0.2);
}

.dubbe-portfolio-shell .dubbe-page-featured-image img {
	transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.dubbe-portfolio-shell .dubbe-page-featured-image:hover img {
	transform: scale(1.02);
}

.dubbe-portfolio-shell .dubbe-page-content {
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 1.5rem;
	padding: 2.5rem;
	margin-top: 2rem;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

/* ========================================
   Enhanced Service Page Styling
   ======================================== */
.dubbe-page-shell.dubbe-service-shell .dubbe-page-hero {
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(243, 244, 246, 1) 100%);
	border: 1px solid rgba(37, 99, 235, 0.12);
}

.dubbe-page-shell.dubbe-service-shell .dubbe-page-hero .wp-block-post-title {
	color: #0f172a;
	font-weight: 800;
}

.dubbe-page-shell.dubbe-service-shell .dubbe-page-content {
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid rgba(15, 23, 42, 0.04);
	border-radius: 1rem;
	padding: 2rem;
	margin-top: 1.5rem;
}

@media screen and (max-width: 768px) {
	.dubbe-portfolio-shell .dubbe-page-content {
		padding: 1.75rem 1.25rem;
	}

	.dubbe-page-shell.dubbe-service-shell .dubbe-page-content {
		padding: 1.5rem 1rem;
	}
}

/* ========================================================
   Blog Page Styles â€” pixel-match to React BlogList.tsx
   Primary: hsl(211, 100%, 50%) = #007bff
   Secondary: hsl(220, 14%, 96%) = #f1f3f5
   Foreground: hsl(220, 20%, 10%) = #161b26
   Muted-fg: hsl(220, 10%, 46%) = #6a717d
   Border: hsl(220, 13%, 91%) = #e2e5ea
   Radius: 12px (--radius = 0.75rem)
   ======================================================== */

/* ---- Page-level overrides ---- */
/* Hide the template-generated "Blog" page hero on blog page */
body.page-id-49 .dubbe-page-hero {
	display: none !important;
}

/* Remove all width constraints so blog sections can go full-width */
body.page-id-49 .dubbe-page-shell {
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.page-id-49 .dubbe-page-content.dubbe-prose {
	max-width: 100% !important;
	padding: 0 !important;
}

body.page-id-49 .entry-content.wp-block-post-content {
	max-width: 100% !important;
}

/* Disable .dubbe-prose styles leaking into blog sections */
body.page-id-49 .dubbe-prose > * + * {
	margin-top: 0 !important;
}

body.page-id-49 .dubbe-prose h2,
body.page-id-49 .dubbe-prose h3,
body.page-id-49 .dubbe-prose h4 {
	letter-spacing: normal !important;
}

body.page-id-49 .dubbe-prose p {
	color: inherit !important;
	font-size: inherit !important;
}

/* ---- Hero Section ---- */
/* React: bg-secondary/50, py-12 lg:py-20, text-center, max-w-3xl centered */
.dubbe-blog-hero {
	background: rgba(241, 243, 245, 0.5) !important;
	padding: 48px 16px !important;
	text-align: center;
	overflow: hidden;
}

@media (min-width: 1024px) {
	.dubbe-blog-hero {
		padding: 80px 32px !important;
	}
}

/* Inner constrained group â€” max-w-3xl = 768px */
.dubbe-blog-hero > .is-layout-constrained {
	max-width: 768px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* "BLOG" label: text-sm font-semibold text-primary uppercase tracking-wider */
.dubbe-blog-hero h4 {
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	color: hsl(211, 100%, 50%) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	margin: 0 0 16px !important;
	line-height: 1.4 !important;
}

/* "Blog Dubbe": text-3xl md:4xl lg:5xl font-bold mt-4 mb-6 */
.dubbe-blog-hero h1 {
	font-size: 1.875rem !important;
	font-weight: 700 !important;
	color: hsl(220, 20%, 10%) !important;
	margin: 16px 0 24px !important;
	line-height: 1.2 !important;
}

@media (min-width: 768px) {
	.dubbe-blog-hero h1 {
		font-size: 2.25rem !important;
	}
}

@media (min-width: 1024px) {
	.dubbe-blog-hero h1 {
		font-size: 3rem !important;
	}
}

/* Description: text-lg text-muted-foreground */
.dubbe-blog-hero p,
.dubbe-blog-hero .wp-block-paragraph {
	font-size: 1.125rem !important;
	color: hsl(220, 10%, 46%) !important;
	margin: 0 !important;
	line-height: 1.6 !important;
}

/* ---- Section Titles ---- */
/* React: text-2xl md:text-3xl font-bold mb-8 text-center */
.dubbe-blog-section-title {
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	color: hsl(220, 20%, 10%) !important;
	text-align: center !important;
	margin-bottom: 32px !important;
	margin-top: 0 !important;
}

@media (min-width: 768px) {
	.dubbe-blog-section-title {
		font-size: 1.875rem !important;
	}
}

/* ---- Featured Post Section ---- */
/* React: white bg, py-12 lg:py-20, container with max-w-4xl centered */
.dubbe-blog-featured-wrapper {
	background: #ffffff !important;
	padding: 48px 16px !important;
}

@media (min-width: 1024px) {
	.dubbe-blog-featured-wrapper {
		padding: 80px 32px !important;
	}
}

/* Inner constrained group â€” max-w-4xl = 896px */
.dubbe-blog-featured-wrapper > .is-layout-constrained {
	max-width: 896px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Reset WP query/template list styles */
.dubbe-blog-featured-wrapper .wp-block-post-template,
.dubbe-blog-featured-wrapper ul.wp-block-post-template {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.dubbe-blog-featured-wrapper .wp-block-post-template > li {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* ---- Featured Card ---- */
/* React Card: rounded-lg(12px) border-border/50 bg-white shadow-sm overflow-hidden */
.dubbe-blog-featured-card {
	background: #ffffff !important;
	border: 1px solid rgba(226, 229, 234, 0.5) !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	padding: 0 !important;
}

/* hover: border-primary/30 shadow-lg */
.dubbe-blog-featured-card:hover {
	border-color: rgba(0, 123, 255, 0.3) !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;
}

/* Reset WP flow layout margins inside card */
.dubbe-blog-featured-card > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

/* grid md:grid-cols-2 gap-0 */
@media (min-width: 768px) {
	.dubbe-blog-featured-card {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 0 !important;
	}
}

/* ---- Featured Image Column ---- */
/* React: h-64(256px) md:h-auto bg-primary/20, flex center */
.dubbe-blog-featured-image-col {
	background: rgba(0, 123, 255, 0.2) !important;
	min-height: 256px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	overflow: hidden !important;
}

.dubbe-blog-featured-image-col .wp-block-post-featured-image {
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	max-width: none !important;
}

.dubbe-blog-featured-image-col .wp-block-post-featured-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	max-width: none !important;
}

/* ---- Featured Content Column ---- */
/* React: p-8 (32px) */
.dubbe-blog-featured-content-col {
	padding: 32px !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
}

/* Title: text-2xl(24px) group-hover:text-primary */
.dubbe-blog-featured-content-col .wp-block-post-title {
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	color: hsl(220, 20%, 10%) !important;
	margin: 0 0 16px !important;
	line-height: 1.3 !important;
}

.dubbe-blog-featured-content-col .wp-block-post-title a {
	color: inherit !important;
	text-decoration: none !important;
	transition: color 0.3s !important;
}

.dubbe-blog-featured-card:hover .wp-block-post-title a {
	color: hsl(211, 100%, 50%) !important;
}

/* Excerpt: text-base(16px) mb-6(24px) */
.dubbe-blog-featured-content-col .wp-block-post-excerpt {
	margin: 0 0 24px !important;
}

.dubbe-blog-featured-content-col .wp-block-post-excerpt__excerpt {
	font-size: 1rem !important;
	color: hsl(220, 10%, 46%) !important;
	line-height: 1.6 !important;
	margin: 0 !important;
}

/* Meta: flex gap-4(16px) text-sm(14px) text-muted-foreground */
.dubbe-blog-meta {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 16px !important;
	font-size: 0.875rem !important;
	color: hsl(220, 10%, 46%) !important;
	margin: 0 !important;
}

.dubbe-blog-meta span,
.dubbe-blog-meta .wp-block-post-date,
.dubbe-blog-meta .wp-block-post-author-name,
.dubbe-blog-meta time {
	font-size: 0.875rem !important;
	color: hsl(220, 10%, 46%) !important;
}

/* ---- Articles Section ---- */
/* React: bg-secondary/30, py-12 lg:py-20, max-w-6xl(1152px) centered */
.dubbe-blog-articles-wrapper {
	background: rgba(241, 243, 245, 0.3) !important;
	padding: 48px 16px !important;
}

@media (min-width: 1024px) {
	.dubbe-blog-articles-wrapper {
		padding: 80px 32px !important;
	}
}

/* Inner constrained group â€” max-w-6xl = 1152px */
.dubbe-blog-articles-wrapper > .is-layout-constrained {
	max-width: 1152px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Articles grid: grid, 1 col â†’ md:2 â†’ lg:3, gap-6(24px) */
.dubbe-blog-articles-wrapper .wp-block-post-template,
.dubbe-blog-articles-wrapper ul.wp-block-post-template {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 24px !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

@media (min-width: 768px) {
	.dubbe-blog-articles-wrapper .wp-block-post-template,
	.dubbe-blog-articles-wrapper ul.wp-block-post-template {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (min-width: 1024px) {
	.dubbe-blog-articles-wrapper .wp-block-post-template,
	.dubbe-blog-articles-wrapper ul.wp-block-post-template {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

.dubbe-blog-articles-wrapper .wp-block-post-template > li {
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	max-width: 100% !important;
}

/* ---- Article Card ---- */
/* React Card: rounded-lg(12px) border-border/50 bg-white shadow-sm h-full */
.dubbe-blog-article-card {
	background: #ffffff !important;
	border: 1px solid rgba(226, 229, 234, 0.5) !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
}

/* hover: border-primary/30 shadow-lg */
.dubbe-blog-article-card:hover {
	border-color: rgba(0, 123, 255, 0.3) !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;
}

/* ---- Article Image ---- */
/* React: h-40(160px) bg-primary/20 rounded-t-lg */
.dubbe-blog-article-card > .wp-block-post-featured-image,
.dubbe-blog-article-card > figure.wp-block-post-featured-image {
	height: 160px !important;
	min-height: 160px !important;
	max-height: 160px !important;
	background: rgba(0, 123, 255, 0.2) !important;
	border-radius: 12px 12px 0 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.dubbe-blog-article-card .wp-block-post-featured-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

/* ---- Article Body ---- */
/* React: CardHeader pb-2 + CardContent */
.dubbe-blog-article-body {
	padding: 20px !important;
	display: flex !important;
	flex-direction: column !important;
	flex: 1 !important;
}

/* Title: text-lg(18px) line-clamp-2, group-hover:text-primary */
.dubbe-blog-article-card .wp-block-post-title {
	font-size: 1.125rem !important;
	font-weight: 700 !important;
	color: hsl(220, 20%, 10%) !important;
	margin: 0 0 8px !important;
	line-height: 1.4 !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
}

.dubbe-blog-article-card .wp-block-post-title a {
	color: inherit !important;
	text-decoration: none !important;
	transition: color 0.3s !important;
}

.dubbe-blog-article-card:hover .wp-block-post-title a {
	color: hsl(211, 100%, 50%) !important;
}

/* Excerpt: text-sm(14px) line-clamp-3 mb-4(16px) */
.dubbe-blog-article-card .wp-block-post-excerpt {
	margin: 0 0 16px !important;
}

.dubbe-blog-article-card .wp-block-post-excerpt__excerpt {
	font-size: 0.875rem !important;
	color: hsl(220, 10%, 46%) !important;
	line-height: 1.5 !important;
	margin: 0 !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 3 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
}

/* Date: text-xs(12px) text-muted-foreground */
.dubbe-blog-article-card .wp-block-post-date,
.dubbe-blog-article-card .wp-block-post-date time {
	font-size: 0.75rem !important;
	color: hsl(220, 10%, 46%) !important;
	margin: 0 !important;
}

/* ---- CTA Section ---- */
/* React: bg-primary/10, py-12 lg:py-20, text-center, max-w-3xl */
.dubbe-blog-cta {
	background: rgba(0, 123, 255, 0.1) !important;
	padding: 48px 16px !important;
	text-align: center;
	overflow: hidden;
}

@media (min-width: 1024px) {
	.dubbe-blog-cta {
		padding: 80px 32px !important;
	}
}

.dubbe-blog-cta > .is-layout-constrained {
	max-width: 768px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.dubbe-blog-cta h2 {
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	color: hsl(220, 20%, 10%) !important;
	margin: 0 0 16px !important;
}

@media (min-width: 768px) {
	.dubbe-blog-cta h2 {
		font-size: 1.875rem !important;
	}
}

.dubbe-blog-cta p {
	font-size: 1.125rem !important;
	color: hsl(220, 10%, 46%) !important;
	margin: 0 0 32px !important;
}

.dubbe-blog-cta .wp-block-button__link {
	background: hsl(211, 100%, 50%) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 12px 32px !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: all 0.3s !important;
	display: inline-block !important;
}

.dubbe-blog-cta .wp-block-button__link:hover {
	background: hsl(211, 100%, 40%) !important;
}

/* ========================================================
   Portfolio Archive Page — matches React PortfolioList.tsx
   ======================================================== */

/* ---- Portfolio Page Reset ---- */
.dubbe-portfolio-page {
	padding: 0 !important;
}

/* Offset for fixed header: pt-20 lg:pt-24 (80px → 96px) */
.dubbe-portfolio-page > .dubbe-portfolio-hero {
	padding-top: 80px !important;
}

@media (min-width: 1024px) {
	.dubbe-portfolio-page > .dubbe-portfolio-hero {
		padding-top: 96px !important;
	}
}

/* ---- Hero Section ---- */
/* React: bg-secondary/50, py-12 lg:py-20, text-center, max-w-3xl */
.dubbe-portfolio-hero {
	background: rgba(241, 243, 245, 0.5) !important;
	padding-bottom: 48px !important;
	padding-left: 16px !important;
	padding-right: 16px !important;
	text-align: center;
	overflow: hidden;
}

@media (min-width: 1024px) {
	.dubbe-portfolio-hero {
		padding-bottom: 80px !important;
	}
}

/* Inner constrained = max-w-3xl (768px) */
.dubbe-portfolio-hero > .is-layout-constrained {
	max-width: 768px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* "PROJETOS" label: text-sm font-semibold text-primary uppercase tracking-wider */
.dubbe-portfolio-label {
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	color: hsl(211, 100%, 50%) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	margin: 0 0 16px !important;
	line-height: 1.4 !important;
}

/* "Nosso Portfólio": text-3xl md:4xl lg:5xl font-bold mt-4 mb-6 */
.dubbe-portfolio-hero h1 {
	font-size: 1.875rem !important;
	font-weight: 700 !important;
	color: hsl(220, 20%, 10%) !important;
	margin: 16px 0 24px !important;
	line-height: 1.2 !important;
}

@media (min-width: 768px) {
	.dubbe-portfolio-hero h1 {
		font-size: 2.25rem !important;
	}
}

@media (min-width: 1024px) {
	.dubbe-portfolio-hero h1 {
		font-size: 3rem !important;
	}
}

/* Description: text-lg text-muted-foreground */
.dubbe-portfolio-hero p {
	font-size: 1.125rem !important;
	color: hsl(220, 10%, 46%) !important;
	margin: 0 !important;
	line-height: 1.6 !important;
}

/* ---- Section Title ---- */
.dubbe-portfolio-section-title {
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	color: hsl(220, 20%, 10%) !important;
	text-align: center !important;
	margin-bottom: 32px !important;
	margin-top: 0 !important;
}

@media (min-width: 768px) {
	.dubbe-portfolio-section-title {
		font-size: 1.875rem !important;
	}
}

/* ---- Projects Section ---- */
/* React: white bg, py-12 lg:py-20, max-w-5xl for featured / max-w-6xl for others */
.dubbe-portfolio-projects-section {
	background: #ffffff !important;
	padding: 48px 16px !important;
}

@media (min-width: 1024px) {
	.dubbe-portfolio-projects-section {
		padding: 80px 32px !important;
	}
}

.dubbe-portfolio-projects-section > .is-layout-constrained {
	max-width: 1152px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ---- Portfolio Grid ---- */
/* React: grid md:grid-cols-2 gap-6 lg:gap-8 */
.dubbe-portfolio-grid,
ul.dubbe-portfolio-grid,
.dubbe-portfolio-projects-section .wp-block-post-template {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 24px !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

@media (min-width: 768px) {
	.dubbe-portfolio-grid,
	ul.dubbe-portfolio-grid,
	.dubbe-portfolio-projects-section .wp-block-post-template {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 32px !important;
	}
}

.dubbe-portfolio-grid > li,
.dubbe-portfolio-projects-section .wp-block-post-template > li {
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	max-width: 100% !important;
}

/* ---- Portfolio Card ---- */
/* React: group relative overflow-hidden rounded-2xl bg-card border border-border/50 
   hover:border-primary/30 transition-all */
.dubbe-portfolio-card {
	background: #ffffff !important;
	border: 1px solid rgba(226, 229, 234, 0.5) !important;
	border-radius: 16px !important;
	overflow: hidden !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	padding: 0 !important;
	position: relative !important;
}

.dubbe-portfolio-card:hover {
	border-color: rgba(0, 123, 255, 0.3) !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;
}

/* Reset WP flow margins inside card */
.dubbe-portfolio-card > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

/* ---- Card Image ---- */
/* React: h-64(256px) lg:h-80(320px) bg-gradient-to-br from-blue-500 to-purple-600 opacity-80 */
.dubbe-portfolio-card > .wp-block-post-featured-image,
.dubbe-portfolio-card > figure.wp-block-post-featured-image,
.dubbe-portfolio-card-image {
	height: 256px !important;
	min-height: 256px !important;
	max-height: 256px !important;
	background: linear-gradient(135deg, #3b82f6 0%, #9333ea 100%) !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 0 !important;
}

@media (min-width: 1024px) {
	.dubbe-portfolio-card > .wp-block-post-featured-image,
	.dubbe-portfolio-card > figure.wp-block-post-featured-image,
	.dubbe-portfolio-card-image {
		height: 320px !important;
		min-height: 320px !important;
		max-height: 320px !important;
	}
}

.dubbe-portfolio-card .wp-block-post-featured-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	opacity: 0.9 !important;
	transition: opacity 0.3s !important;
}

.dubbe-portfolio-card:hover .wp-block-post-featured-image img {
	opacity: 1 !important;
}

/* If no featured image, show gradient placeholder */
.dubbe-portfolio-card .wp-block-post-featured-image:empty {
	background: linear-gradient(135deg, #3b82f6 0%, #9333ea 100%) !important;
}

/* Alternate gradient colors for different cards (via nth-child) */
.dubbe-portfolio-grid > li:nth-child(4n+2) .dubbe-portfolio-card > .wp-block-post-featured-image,
.dubbe-portfolio-grid > li:nth-child(4n+2) .dubbe-portfolio-card-image {
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
}

.dubbe-portfolio-grid > li:nth-child(4n+3) .dubbe-portfolio-card > .wp-block-post-featured-image,
.dubbe-portfolio-grid > li:nth-child(4n+3) .dubbe-portfolio-card-image {
	background: linear-gradient(135deg, #f97316 0%, #dc2626 100%) !important;
}

.dubbe-portfolio-grid > li:nth-child(4n+4) .dubbe-portfolio-card > .wp-block-post-featured-image,
.dubbe-portfolio-grid > li:nth-child(4n+4) .dubbe-portfolio-card-image {
	background: linear-gradient(135deg, #ec4899 0%, #e11d48 100%) !important;
}

/* ---- Card Body ---- */
/* React: p-6 lg:p-8 (24px → 32px) */
.dubbe-portfolio-card-body {
	padding: 24px !important;
}

@media (min-width: 1024px) {
	.dubbe-portfolio-card-body {
		padding: 32px !important;
	}
}

/* Card title: text-xl lg:text-2xl font-bold, group-hover:text-primary */
.dubbe-portfolio-card .wp-block-post-title,
.dubbe-portfolio-card-title {
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	color: hsl(220, 20%, 10%) !important;
	margin: 0 0 12px !important;
	line-height: 1.3 !important;
}

@media (min-width: 1024px) {
	.dubbe-portfolio-card .wp-block-post-title,
	.dubbe-portfolio-card-title {
		font-size: 1.5rem !important;
	}
}

.dubbe-portfolio-card .wp-block-post-title a {
	color: inherit !important;
	text-decoration: none !important;
	transition: color 0.3s !important;
}

.dubbe-portfolio-card:hover .wp-block-post-title a {
	color: hsl(211, 100%, 50%) !important;
}

/* Card excerpt: text-muted-foreground */
.dubbe-portfolio-card .wp-block-post-excerpt {
	margin: 0 !important;
}

.dubbe-portfolio-card .wp-block-post-excerpt__excerpt {
	font-size: 1rem !important;
	color: hsl(220, 10%, 46%) !important;
	line-height: 1.6 !important;
	margin: 0 !important;
}

/* ---- CTA Section ---- */
/* React: bg-primary/10, py-12 lg:py-20, text-center, max-w-3xl */
.dubbe-portfolio-cta {
	background: rgba(0, 123, 255, 0.1) !important;
	padding: 48px 16px !important;
	text-align: center;
	overflow: hidden;
}

@media (min-width: 1024px) {
	.dubbe-portfolio-cta {
		padding: 80px 32px !important;
	}
}

.dubbe-portfolio-cta > .is-layout-constrained {
	max-width: 768px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.dubbe-portfolio-cta h2 {
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	color: hsl(220, 20%, 10%) !important;
	margin: 0 0 16px !important;
}

@media (min-width: 768px) {
	.dubbe-portfolio-cta h2 {
		font-size: 1.875rem !important;
	}
}

.dubbe-portfolio-cta p {
	font-size: 1.125rem !important;
	color: hsl(220, 10%, 46%) !important;
	margin: 0 0 32px !important;
}

.dubbe-portfolio-cta .wp-block-button__link {
	background: hsl(211, 100%, 50%) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 12px 32px !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: all 0.3s !important;
	display: inline-block !important;
}

.dubbe-portfolio-cta .wp-block-button__link:hover {
	background: hsl(211, 100%, 40%) !important;
}

/* ══════════════════════════════════════════
   SINGLE BLOG POST PAGE
   Matches React BlogPost.tsx
   ══════════════════════════════════════════ */

.dubbe-single-post-page {
	padding-top: 80px;
}

/* ── Hero Section ── */
.dubbe-single-hero {
	background: rgba(241, 243, 245, 0.5) !important;
	padding: 48px 16px !important;
	overflow: hidden;
}
@media (min-width: 1024px) {
	.dubbe-single-hero {
		padding: 80px 32px !important;
	}
}
.dubbe-single-hero > .is-layout-constrained {
	max-width: 768px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Back button */
.dubbe-back-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #64748b;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: 8px;
	margin-bottom: 24px;
	transition: background 0.2s;
}
.dubbe-back-button:hover {
	background: rgba(255, 255, 255, 0.5);
	color: #0f172a;
}
.dubbe-back-button svg {
	flex-shrink: 0;
}

/* Category badge */
.dubbe-single-category {
	margin-bottom: 0 !important;
}
.dubbe-single-category a,
.dubbe-single-category .wp-block-post-terms__link {
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	color: #fff !important;
	background: #2563eb;
	padding: 6px 16px;
	border-radius: 9999px;
	text-decoration: none !important;
	transition: background 0.2s;
}
.dubbe-single-category a:hover {
	background: #1d4ed8;
}

/* Post title */
.dubbe-single-title {
	font-size: 30px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	margin-top: 24px !important;
	margin-bottom: 24px !important;
	color: #0f172a !important;
}
@media (min-width: 768px) {
	.dubbe-single-title {
		font-size: 36px !important;
	}
}
@media (min-width: 1024px) {
	.dubbe-single-title {
		font-size: 48px !important;
	}
}

/* Meta row */
.dubbe-single-meta {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px !important;
	color: #64748b;
}
.dubbe-single-meta .dubbe-meta-pill {
	display: inline-flex;
	align-items: center;
	color: #2563eb;
}
.dubbe-meta-author {
	margin-right: -4px;
}
.dubbe-meta-date {
	margin-left: 8px;
	margin-right: -4px;
}
.dubbe-single-meta .wp-block-post-author-name,
.dubbe-single-meta .wp-block-post-date {
	background: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(4px);
	padding: 6px 12px;
	border-radius: 9999px;
	font-size: 14px;
	color: #64748b;
}
.dubbe-single-meta .wp-block-post-author-name {
	padding-left: 8px;
}

/* ── Content Section ── */
.dubbe-single-content-section {
	padding: 48px 16px !important;
	background: #fff;
}
@media (min-width: 1024px) {
	.dubbe-single-content-section {
		padding: 80px 32px !important;
	}
}
.dubbe-single-content-section > .is-layout-constrained {
	max-width: 768px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Prose styles for the post content */
.dubbe-single-prose {
	font-size: 18px;
	line-height: 1.75;
	color: #64748b;
}
.dubbe-single-prose p {
	margin-bottom: 16px !important;
	color: #64748b;
	line-height: 1.75;
}
.dubbe-single-prose h2,
.dubbe-single-prose .wp-block-heading {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin-top: 32px !important;
	margin-bottom: 16px !important;
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
}
.dubbe-single-prose h2::before,
.dubbe-single-prose .wp-block-heading::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 32px;
	background: #2563eb;
	border-radius: 9999px;
	flex-shrink: 0;
}
.dubbe-single-prose ul,
.dubbe-single-prose ol {
	color: #64748b;
	margin-bottom: 16px;
	padding-left: 24px;
}
.dubbe-single-prose li {
	margin-bottom: 8px;
	line-height: 1.75;
}

/* ── Author Card ── */
.dubbe-author-card {
	margin-top: 48px !important;
	border: 1px solid rgba(226, 232, 240, 0.5) !important;
	border-radius: 16px !important;
	overflow: hidden;
	padding: 32px !important;
}
.dubbe-author-card-inner {
	display: flex !important;
	flex-direction: column !important;
	gap: 24px !important;
	align-items: flex-start !important;
}
@media (min-width: 640px) {
	.dubbe-author-card-inner {
		flex-direction: row !important;
	}
}
.dubbe-author-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #2563eb;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #fff;
}
.dubbe-author-info {
	flex: 1;
}
.dubbe-author-info > * {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.dubbe-author-label {
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #2563eb !important;
	margin-bottom: 4px !important;
}
.dubbe-author-name {
	font-size: 20px !important;
	font-weight: 700 !important;
	margin-bottom: 4px !important;
	color: #0f172a !important;
}
.dubbe-author-role {
	font-size: 14px !important;
	color: rgba(37, 99, 235, 0.8) !important;
	margin-bottom: 12px !important;
}
.dubbe-author-bio {
	color: #64748b !important;
	margin-bottom: 16px !important;
	line-height: 1.6;
}
.dubbe-author-buttons {
	gap: 12px !important;
}
.dubbe-author-btn .wp-block-button__link {
	border: 1px solid rgba(37, 99, 235, 0.3) !important;
	color: #0f172a !important;
	background: transparent !important;
	font-size: 14px !important;
	padding: 8px 16px !important;
	border-radius: 8px !important;
	transition: background 0.2s;
}
.dubbe-author-btn .wp-block-button__link:hover {
	background: rgba(37, 99, 235, 0.1) !important;
}

/* ── CTA Section ── */
.dubbe-single-cta {
	margin-top: 48px !important;
	padding: 32px !important;
	background: rgba(37, 99, 235, 0.1) !important;
	border-radius: 16px !important;
	border: 1px solid rgba(37, 99, 235, 0.2) !important;
}
.dubbe-single-cta-title {
	font-size: 20px !important;
	font-weight: 700 !important;
	margin-bottom: 16px !important;
	color: #0f172a !important;
}
.dubbe-single-cta-text {
	color: #64748b !important;
	margin-bottom: 24px !important;
}
.dubbe-single-cta-btn .wp-block-button__link {
	background: #2563eb !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 12px 32px !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: background 0.3s;
}
.dubbe-single-cta-btn .wp-block-button__link:hover {
	background: #1d4ed8 !important;
}

/* ══════════════════════════════════════════
   SINGLE PORTFOLIO PAGE
   Matches React PortfolioProject.tsx
   ══════════════════════════════════════════ */

.dubbe-sp-page {
	padding-top: 80px;
}

/* ── Hero Section ── */
.dubbe-sp-hero {
	background: rgba(241, 243, 245, 0.5) !important;
	padding: 48px 16px !important;
	overflow: hidden;
}
@media (min-width: 1024px) {
	.dubbe-sp-hero {
		padding: 80px 32px !important;
	}
}
.dubbe-sp-hero > .is-layout-constrained {
	max-width: 1152px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Hero 2-col grid */
.dubbe-sp-hero-grid {
	gap: 48px !important;
	align-items: center !important;
}
@media (max-width: 767px) {
	.dubbe-sp-hero-grid {
		flex-direction: column !important;
	}
	.dubbe-sp-hero-grid .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* Category badge */
.dubbe-sp-category {
	display: inline-block !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #fff !important;
	background: #2563eb !important;
	padding: 6px 16px !important;
	border-radius: 9999px !important;
	margin-bottom: 0 !important;
}

/* Title */
.dubbe-sp-title {
	font-size: 30px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	margin-top: 24px !important;
	margin-bottom: 24px !important;
	color: #0f172a !important;
}
@media (min-width: 768px) {
	.dubbe-sp-title {
		font-size: 36px !important;
	}
}
@media (min-width: 1024px) {
	.dubbe-sp-title {
		font-size: 48px !important;
	}
}

/* Description / excerpt */
.dubbe-sp-description,
.dubbe-sp-description p {
	font-size: 18px !important;
	color: #64748b !important;
	line-height: 1.6 !important;
	margin-bottom: 24px !important;
}

/* Tech label */
.dubbe-sp-tech-label {
	font-size: 13px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	color: #94a3b8 !important;
	margin-bottom: 8px !important;
}

/* Tech stack wrapper */
.dubbe-sp-tech-stack {
	gap: 8px !important;
	margin-bottom: 8px !important;
}

/* Tech pills */
.dubbe-sp-tech-pill {
	display: inline-block !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #2563eb !important;
	background: rgba(37, 99, 235, 0.1) !important;
	border: 1px solid rgba(37, 99, 235, 0.2) !important;
	padding: 6px 16px !important;
	border-radius: 9999px !important;
	margin: 0 !important;
}

/* Live project button */
.dubbe-sp-actions {
	margin-top: 24px !important;
}
.dubbe-sp-live-btn .wp-block-button__link {
	background: #2563eb !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 12px 24px !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: background 0.3s;
}
.dubbe-sp-live-btn .wp-block-button__link:hover {
	background: #1d4ed8 !important;
}

/* Hero featured image */
.dubbe-sp-hero-image-col {
	display: flex;
	align-items: center;
	justify-content: center;
}
.dubbe-sp-hero-image {
	border-radius: 16px !important;
	overflow: hidden !important;
	aspect-ratio: auto;
	min-height: 320px;
	background: linear-gradient(135deg, #3b82f6, #7c3aed) !important;
}
.dubbe-sp-hero-image img {
	border-radius: 16px !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}
@media (min-width: 1024px) {
	.dubbe-sp-hero-image {
		min-height: 384px;
	}
}

/* ── Content Section ── */
.dubbe-sp-content-section {
	padding: 48px 16px !important;
	background: #fff;
}
@media (min-width: 1024px) {
	.dubbe-sp-content-section {
		padding: 80px 32px !important;
	}
}
.dubbe-sp-content-section > .is-layout-constrained {
	max-width: 768px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Prose */
.dubbe-sp-prose {
	font-size: 18px;
	line-height: 1.75;
	color: #334155;
}
.dubbe-sp-prose p {
	margin-bottom: 16px !important;
	color: #64748b;
	line-height: 1.75;
}
.dubbe-sp-prose h2,
.dubbe-sp-prose .wp-block-heading {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin-top: 32px !important;
	margin-bottom: 16px !important;
}
.dubbe-sp-prose h3 {
	font-size: 20px !important;
	font-weight: 600 !important;
	color: #0f172a !important;
	margin-top: 24px !important;
	margin-bottom: 12px !important;
}
.dubbe-sp-prose ul,
.dubbe-sp-prose ol {
	color: #64748b;
	margin-bottom: 16px;
	padding-left: 24px;
}
.dubbe-sp-prose li {
	margin-bottom: 8px;
	line-height: 1.75;
}
.dubbe-sp-prose img {
	border-radius: 12px !important;
	margin-top: 16px !important;
	margin-bottom: 16px !important;
}
.dubbe-sp-prose .wp-block-image {
	margin-top: 24px !important;
	margin-bottom: 24px !important;
}
.dubbe-sp-prose .wp-block-image img {
	border-radius: 12px !important;
}
.dubbe-sp-prose .wp-block-gallery {
	margin-top: 24px !important;
	margin-bottom: 24px !important;
	gap: 16px !important;
}
.dubbe-sp-prose .wp-block-gallery .wp-block-image img {
	border-radius: 12px !important;
}
.dubbe-sp-prose figure figcaption {
	font-size: 14px !important;
	color: #94a3b8 !important;
	text-align: center;
	margin-top: 8px;
}

/* ── More Projects Section ── */
.dubbe-sp-more-section {
	padding: 48px 16px !important;
	background: rgba(241, 243, 245, 0.3) !important;
	border-top: 1px solid #e2e8f0;
}
@media (min-width: 1024px) {
	.dubbe-sp-more-section {
		padding: 80px 32px !important;
	}
}
.dubbe-sp-more-section > .is-layout-constrained {
	max-width: 1152px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.dubbe-sp-more-title {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin-bottom: 32px !important;
}

/* More projects grid */
.dubbe-sp-more-grid,
ul.dubbe-sp-more-grid {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 24px !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
@media (min-width: 640px) {
	.dubbe-sp-more-grid,
	ul.dubbe-sp-more-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}
@media (min-width: 1024px) {
	.dubbe-sp-more-grid,
	ul.dubbe-sp-more-grid {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 32px !important;
	}
}

/* More projects cards */
.dubbe-sp-more-card {
	border: 1px solid #e2e8f0 !important;
	border-radius: 16px !important;
	overflow: hidden !important;
	background: #fff !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
	transition: box-shadow 0.3s, transform 0.3s !important;
}
.dubbe-sp-more-card:hover {
	box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
	transform: translateY(-4px) !important;
}
.dubbe-sp-more-card-image {
	height: 200px !important;
	overflow: hidden !important;
	margin: 0 !important;
	background: linear-gradient(135deg, #3b82f6, #7c3aed);
}
.dubbe-sp-more-card-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}
.dubbe-sp-more-card:nth-child(2) .dubbe-sp-more-card-image {
	background: linear-gradient(135deg, #3b82f6, #3b82f6);
}
.dubbe-sp-more-card:nth-child(3) .dubbe-sp-more-card-image {
	background: linear-gradient(135deg, #f97316, #ef4444);
}
.dubbe-sp-more-card-body {
	padding: 20px !important;
}
.dubbe-sp-more-card-title {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin-bottom: 8px !important;
}
.dubbe-sp-more-card-title a {
	text-decoration: none !important;
	color: inherit !important;
}
.dubbe-sp-more-card-title a:hover {
	color: #2563eb !important;
}
.dubbe-sp-more-card-excerpt {
	font-size: 14px !important;
	color: #64748b !important;
	line-height: 1.5 !important;
}

/* ── CTA Section ── */
.dubbe-sp-cta {
	padding: 48px 16px !important;
	background: rgba(37, 99, 235, 0.1) !important;
	overflow: hidden;
}
@media (min-width: 1024px) {
	.dubbe-sp-cta {
		padding: 80px 32px !important;
	}
}
.dubbe-sp-cta > .is-layout-constrained {
	max-width: 768px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.dubbe-sp-cta-title {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin-bottom: 16px !important;
}
@media (min-width: 768px) {
	.dubbe-sp-cta-title {
		font-size: 30px !important;
	}
}
.dubbe-sp-cta-text {
	font-size: 18px !important;
	color: #64748b !important;
	margin-bottom: 32px !important;
}
.dubbe-sp-cta-btn .wp-block-button__link {
	background: #2563eb !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 14px 32px !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: background 0.3s;
}
.dubbe-sp-cta-btn .wp-block-button__link:hover {
	background: #1d4ed8 !important;
}

/* ══════════════════════════════════════════
   SINGLE SERVICE DETAIL PAGE
   ══════════════════════════════════════════ */

.dubbe-service-page {
	padding-top: 80px !important;
}

.dubbe-service-hero {
	padding: 48px 16px !important;
	background: rgba(37, 99, 235, 0.05) !important;
	overflow: hidden;
}
@media (min-width: 1024px) {
	.dubbe-service-hero {
		padding: 80px 32px !important;
	}
}
.dubbe-service-hero > .is-layout-constrained {
	max-width: 900px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.dubbe-service-title {
	font-size: 30px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	line-height: 1.2 !important;
	margin-bottom: 16px !important;
}
@media (min-width: 768px) {
	.dubbe-service-title {
		font-size: 36px !important;
	}
}
@media (min-width: 1024px) {
	.dubbe-service-title {
		font-size: 48px !important;
	}
}

.dubbe-service-excerpt,
.dubbe-service-excerpt .wp-block-post-excerpt__excerpt {
	font-size: 18px !important;
	color: #64748b !important;
	line-height: 1.7 !important;
	margin: 0 !important;
}

.dubbe-service-content-section {
	padding: 48px 16px !important;
}
@media (min-width: 1024px) {
	.dubbe-service-content-section {
		padding: 80px 32px !important;
	}
}
.dubbe-service-content-section > .is-layout-constrained {
	max-width: 900px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ══════════════════════════════════════════
   SINGLE SERVICE CTA
   ══════════════════════════════════════════ */

.dubbe-service-cta {
	padding: 48px 16px !important;
	background: rgba(37, 99, 235, 0.1) !important;
	overflow: hidden;
}
@media (min-width: 1024px) {
	.dubbe-service-cta {
		padding: 80px 32px !important;
	}
}
.dubbe-service-cta > .is-layout-constrained {
	max-width: 768px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.dubbe-service-cta-title {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin-bottom: 16px !important;
}
@media (min-width: 768px) {
	.dubbe-service-cta-title {
		font-size: 30px !important;
	}
}
.dubbe-service-cta-text {
	font-size: 18px !important;
	color: #64748b !important;
	margin-bottom: 32px !important;
}
.dubbe-service-cta-btn .wp-block-button__link {
	background: #2563eb !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 14px 32px !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: background 0.3s;
}
.dubbe-service-cta-btn .wp-block-button__link:hover {
	background: #1d4ed8 !important;
}


/* ================================================================
   HOMEPAGE SECTIONS — Block template matching React localhost:8080
   ================================================================ */

/* ── Shared Utilities ── */
.dubbe-text-gradient,
mark.dubbe-text-gradient,
span.dubbe-text-gradient {
	background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	background-clip: text !important;
	color: transparent !important;
	padding: 0;
	display: inline;
}

.dubbe-section-label {
	font-size: 0.8125rem !important;
	font-weight: 600 !important;
	color: #2563eb !important;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 0 !important;
}

.dubbe-section-title {
	font-size: clamp(1.875rem, 4vw, 3rem) !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	line-height: 1.15 !important;
	margin-top: 1rem !important;
	margin-bottom: 1rem !important;
}

.dubbe-section-desc {
	font-size: 1.125rem !important;
	color: #64748b !important;
	line-height: 1.7 !important;
	margin-bottom: 0 !important;
}

.dubbe-section-header {
	margin-bottom: 3rem !important;
}

.dubbe-section-header-row {
	align-items: flex-end !important;
	margin-bottom: 3rem !important;
}

.dubbe-section-header-action {
	display: flex !important;
	align-items: flex-end;
	justify-content: flex-end;
}

.dubbe-btn-view-all .wp-block-button__link,
:root :where(.dubbe-btn-view-all) .wp-block-button__link {
	background: transparent !important;
	color: #0f172a !important;
	border: 1px solid rgba(15, 23, 42, 0.2) !important;
	border-radius: 8px !important;
	padding: 10px 24px !important;
	font-size: 0.9375rem !important;
	font-weight: 500 !important;
	transition: all 0.2s ease !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
}

.dubbe-btn-view-all .wp-block-button__link:hover,
:root :where(.dubbe-btn-view-all) .wp-block-button__link:hover {
	border-color: #2563eb !important;
	color: #2563eb !important;
}


/* ── HERO SECTION ── */
.dubbe-hero {
	position: relative;
	min-height: 100vh;
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: url('/wp-content/themes/dubbe-digital/assets/hero-bg-CJS9zUZi.png') center / cover no-repeat;
	overflow: hidden;
	padding: 140px 1rem 80px !important;
	margin-top: 0 !important;
}

.dubbe-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15,23,42,0.78) 0%, rgba(15,23,42,0.92) 100%);
	z-index: 0;
}

.dubbe-hero > * {
	position: relative;
	z-index: 1;
}

.dubbe-hero-inner {
	text-align: center;
}

.dubbe-hero-badge {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	padding: 8px 20px !important;
	border-radius: 9999px;
	background: rgba(37, 99, 235, 0.1);
	border: 1px solid rgba(37, 99, 235, 0.2);
	backdrop-filter: blur(8px);
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	color: rgba(255, 255, 255, 0.9) !important;
	margin-bottom: 2rem !important;
	width: fit-content;
	margin-left: auto !important;
	margin-right: auto !important;
}

.dubbe-hero-badge::before {
	content: '';
	width: 8px;
	height: 8px;
	background: #2563eb;
	border-radius: 50%;
	animation: dubbe-pulse 2s ease-in-out infinite;
}

@keyframes dubbe-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}

.dubbe-hero-title {
	font-size: clamp(2.25rem, 5.5vw, 4.5rem) !important;
	font-weight: 700 !important;
	color: #fff !important;
	line-height: 1.1 !important;
	margin-bottom: 1.5rem !important;
}

.dubbe-hero-title mark.dubbe-text-gradient {
	display: block;
	margin-top: 0.5rem;
}

.dubbe-hero-desc {
	font-size: 1.125rem !important;
	color: rgba(255, 255, 255, 0.7) !important;
	max-width: 640px;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: 2.5rem !important;
	line-height: 1.7 !important;
}

@media (min-width: 768px) {
	.dubbe-hero-desc {
		font-size: 1.25rem !important;
	}
}

.dubbe-hero-buttons {
	gap: 1rem !important;
	margin-bottom: 4rem !important;
}

.dubbe-btn-hero-primary .wp-block-button__link,
:root :where(.dubbe-btn-hero-primary) .wp-block-button__link {
	background: #2563eb !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 16px 32px !important;
	font-size: 1.0625rem !important;
	font-weight: 600 !important;
	box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
	transition: all 0.3s ease !important;
}

.dubbe-btn-hero-primary .wp-block-button__link:hover,
:root :where(.dubbe-btn-hero-primary) .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.dubbe-btn-hero-outline .wp-block-button__link,
:root :where(.dubbe-btn-hero-outline) .wp-block-button__link {
	background: transparent !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.25) !important;
	border-radius: 10px !important;
	padding: 16px 32px !important;
	font-size: 1.0625rem !important;
	font-weight: 600 !important;
	backdrop-filter: blur(4px);
	transition: all 0.3s ease !important;
}

.dubbe-btn-hero-outline .wp-block-button__link:hover,
:root :where(.dubbe-btn-hero-outline) .wp-block-button__link:hover {
	border-color: rgba(255, 255, 255, 0.5) !important;
	background: rgba(255, 255, 255, 0.05) !important;
}

.dubbe-hero-stats {
	gap: 1.5rem !important;
	margin-top: 4rem !important;
}

@media (min-width: 768px) {
	.dubbe-hero-stats {
		gap: 2rem !important;
	}
}

.dubbe-stat-value {
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin-bottom: 0.25rem !important;
}

@media (min-width: 768px) {
	.dubbe-stat-value {
		font-size: 2.25rem !important;
	}
}

.dubbe-stat-label {
	font-size: 0.8125rem !important;
	color: rgba(255, 255, 255, 0.6) !important;
	margin-top: 0 !important;
}


/* ── SERVICES SECTION ── */
.dubbe-services {
	padding: 80px 16px !important;
	background: rgba(243, 244, 246, 0.3);
}

@media (min-width: 1024px) {
	.dubbe-services {
		padding: 128px 32px !important;
	}
}

.dubbe-services-query .wp-block-post-template {
	gap: 1.5rem !important;
}

@media (min-width: 1024px) {
	.dubbe-services-query .wp-block-post-template {
		gap: 2rem !important;
	}
}

.dubbe-service-card {
	background: #fff !important;
	border: 1px solid rgba(15, 23, 42, 0.08) !important;
	border-radius: 16px !important;
	padding: 24px !important;
	transition: all 0.3s ease;
	height: 100%;
}

.dubbe-service-card:hover {
	border-color: rgba(37, 99, 235, 0.3) !important;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
	transform: translateY(-2px);
}

.dubbe-service-card-icon {
	width: 48px !important;
	height: 48px !important;
	margin-bottom: 16px !important;
}

.dubbe-service-card-icon img {
	width: 48px !important;
	height: 48px !important;
	border-radius: 12px;
	object-fit: cover;
}

/* If no featured image, show a teal icon placeholder */
.dubbe-service-card-icon:empty {
	display: none;
}

.dubbe-service-card .wp-block-post-title {
	font-size: 1.25rem !important;
	font-weight: 600 !important;
	color: #0f172a !important;
	margin-top: 0 !important;
	margin-bottom: 8px !important;
}

.dubbe-service-card .wp-block-post-title a {
	color: inherit !important;
	text-decoration: none !important;
}

.dubbe-service-card .wp-block-post-title a:hover {
	color: #2563eb !important;
}

.dubbe-service-card .wp-block-post-excerpt,
.dubbe-service-card .wp-block-post-excerpt__excerpt {
	font-size: 0.9375rem !important;
	color: #64748b !important;
	line-height: 1.6 !important;
	margin: 0 !important;
}

.dubbe-service-card .wp-block-post-excerpt__more-link {
	display: none;
}


/* ── ABOUT SECTION ── */
.dubbe-about {
	padding: 80px 16px !important;
	background: rgba(243, 244, 246, 0.3);
}

@media (min-width: 1024px) {
	.dubbe-about {
		padding: 128px 32px !important;
	}
}

.dubbe-about-cols {
	gap: 3rem !important;
}

@media (min-width: 1024px) {
	.dubbe-about-cols {
		gap: 4rem !important;
	}
}

.dubbe-about .dubbe-section-title {
	margin-top: 1rem !important;
}

.dubbe-about-desc {
	font-size: 1.125rem !important;
	color: #64748b !important;
	line-height: 1.7 !important;
	margin-bottom: 2rem !important;
}

.dubbe-reason-list {
	list-style: none !important;
	padding-left: 0 !important;
	margin: 0 !important;
}

.dubbe-reason-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 8px 0;
	font-size: 1rem;
	color: #0f172a;
	line-height: 1.5;
}

.dubbe-reason-list li::before {
	content: '';
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	margin-top: 2px;
	border-radius: 50%;
	background: #2563eb;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 14px;
}

/* About visual — stats card */
.dubbe-about-visual-col {
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.dubbe-about-visual {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(14,165,164,0.15) 0%, rgba(14,165,164,0.04) 100%);
	border: 1px solid rgba(14,165,164,0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.dubbe-about-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(40px);
}

.dubbe-about-blob-1 {
	top: 20%;
	left: 20%;
	width: 128px;
	height: 128px;
	background: rgba(14,165,164,0.2);
}

.dubbe-about-blob-2 {
	bottom: 20%;
	right: 20%;
	width: 192px;
	height: 192px;
	background: rgba(14,165,164,0.1);
}

.dubbe-about-stats-card {
	position: relative;
	z-index: 2;
	background: rgba(255,255,255,0.9);
	backdrop-filter: blur(8px);
	border-radius: 16px;
	padding: 32px;
	box-shadow: 0 20px 40px rgba(15,23,42,0.1);
	border: 1px solid rgba(15,23,42,0.06);
	text-align: center;
}

.dubbe-about-stats-main {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.dubbe-about-stats-big {
	font-size: 3rem;
	font-weight: 700;
	line-height: 1;
}

@media (min-width: 768px) {
	.dubbe-about-stats-big {
		font-size: 3.75rem;
	}
}

.dubbe-about-stats-text {
	font-size: 1.125rem;
	color: #64748b;
	margin-top: 8px;
}

.dubbe-about-stats-divider {
	width: 100%;
	height: 1px;
	background: rgba(15,23,42,0.1);
	margin: 24px 0;
}

.dubbe-about-stats-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	text-align: center;
}

.dubbe-about-stats-num {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
}

.dubbe-about-stats-label {
	font-size: 0.875rem;
	color: #64748b;
}


/* ── PORTFOLIO HOME SECTION ── */
.dubbe-portfolio-home {
	padding: 80px 16px !important;
}

@media (min-width: 1024px) {
	.dubbe-portfolio-home {
		padding: 128px 32px !important;
	}
}

.dubbe-portfolio-home-query .wp-block-post-template {
	gap: 1.5rem !important;
}

@media (min-width: 1024px) {
	.dubbe-portfolio-home-query .wp-block-post-template {
		gap: 2rem !important;
	}
}

.dubbe-phome-card {
	border-radius: 16px !important;
	overflow: hidden;
	background: #fff !important;
	border: 1px solid rgba(15,23,42,0.08) !important;
	transition: all 0.3s ease;
}

.dubbe-phome-card:hover {
	border-color: rgba(14,165,164,0.3) !important;
	box-shadow: 0 20px 50px rgba(15,23,42,0.1);
}

.dubbe-phome-card-img {
	height: 256px;
	overflow: hidden;
	margin: 0 !important;
}

@media (min-width: 1024px) {
	.dubbe-phome-card-img {
		height: 320px;
	}
}

.dubbe-phome-card-img img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	transition: transform 0.4s ease;
}

.dubbe-phome-card:hover .dubbe-phome-card-img img {
	transform: scale(1.03);
}

/* Gradient placeholder when no featured image */
.dubbe-phome-card .wp-block-post-featured-image:not(:has(img)) {
	height: 256px;
	background: linear-gradient(135deg, #3b82f6, #7c3aed);
	border-radius: 0;
}

@media (min-width: 1024px) {
	.dubbe-phome-card .wp-block-post-featured-image:not(:has(img)) {
		height: 320px;
	}
}

.dubbe-phome-card-info {
	padding: 24px !important;
}

@media (min-width: 1024px) {
	.dubbe-phome-card-info {
		padding: 24px 32px 32px !important;
	}
}

.dubbe-phome-card .wp-block-post-title {
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	margin-top: 8px !important;
	margin-bottom: 12px !important;
	transition: color 0.2s;
}

@media (min-width: 1024px) {
	.dubbe-phome-card .wp-block-post-title {
		font-size: 1.5rem !important;
	}
}

.dubbe-phome-card .wp-block-post-title a {
	color: #0f172a !important;
	text-decoration: none !important;
}

.dubbe-phome-card:hover .wp-block-post-title a {
	color: #2563eb !important;
}

.dubbe-phome-card .wp-block-post-excerpt,
.dubbe-phome-card .wp-block-post-excerpt__excerpt {
	font-size: 0.9375rem !important;
	color: #64748b !important;
	margin: 0 !important;
}

.dubbe-phome-card .wp-block-post-excerpt__more-link {
	display: none;
}


/* ── BLOG HOME SECTION ── */
.dubbe-blog-home {
	padding: 80px 16px !important;
	background: rgba(243, 244, 246, 0.3);
}

@media (min-width: 1024px) {
	.dubbe-blog-home {
		padding: 128px 32px !important;
	}
}

.dubbe-blog-home-query .wp-block-post-template {
	gap: 1.5rem !important;
}

@media (min-width: 1024px) {
	.dubbe-blog-home-query .wp-block-post-template {
		gap: 2rem !important;
	}
}

.dubbe-bhome-card {
	background: #fff !important;
	border: 1px solid rgba(15,23,42,0.08) !important;
	border-radius: 16px !important;
	overflow: hidden;
	transition: all 0.3s ease;
	height: 100%;
}

.dubbe-bhome-card:hover {
	border-color: rgba(14,165,164,0.3) !important;
	box-shadow: 0 20px 40px rgba(15,23,42,0.08);
}

.dubbe-bhome-card-img {
	overflow: hidden;
	margin: 0 !important;
	height: 192px;
	background: linear-gradient(135deg, rgba(14,165,164,0.15), rgba(14,165,164,0.04));
	display: flex;
	align-items: center;
	justify-content: center;
}

.dubbe-bhome-card-img img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

.dubbe-bhome-card-cat {
	padding: 16px 24px 0 !important;
	margin: 0 !important;
}

.dubbe-bhome-card-cat a {
	font-size: 0.8125rem !important;
	font-weight: 500 !important;
	color: #2563eb !important;
	text-decoration: none !important;
	background: rgba(14,165,164,0.1);
	padding: 4px 12px;
	border-radius: 9999px;
}

.dubbe-bhome-card .wp-block-post-title {
	font-size: 1.25rem !important;
	font-weight: 600 !important;
	margin: 8px 24px 8px !important;
	line-height: 1.3 !important;
}

.dubbe-bhome-card .wp-block-post-title a {
	color: #0f172a !important;
	text-decoration: none !important;
	transition: color 0.2s;
}

.dubbe-bhome-card:hover .wp-block-post-title a {
	color: #2563eb !important;
}

.dubbe-bhome-card .wp-block-post-excerpt,
.dubbe-bhome-card .wp-block-post-excerpt__excerpt {
	font-size: 0.9375rem !important;
	color: #64748b !important;
	padding: 0 24px !important;
	margin: 0 0 12px !important;
	line-height: 1.6 !important;
}

.dubbe-bhome-card .wp-block-post-excerpt__more-link {
	display: none;
}

.dubbe-bhome-card-meta {
	padding: 0 24px 20px !important;
	gap: 16px !important;
	font-size: 0.8125rem !important;
	color: #64748b !important;
}

.dubbe-bhome-card-meta .wp-block-post-author-name,
.dubbe-bhome-card-meta .wp-block-post-date {
	font-size: 0.8125rem !important;
	color: #64748b !important;
}


/* ── CONTACT SECTION ── */
.dubbe-contact {
	padding: 80px 16px !important;
}

@media (min-width: 1024px) {
	.dubbe-contact {
		padding: 128px 32px !important;
	}
}

.dubbe-contact-cols {
	gap: 3rem !important;
}

@media (min-width: 1024px) {
	.dubbe-contact-cols {
		gap: 4rem !important;
	}
}

.dubbe-contact .dubbe-section-title {
	margin-top: 1rem !important;
}

.dubbe-contact-desc {
	font-size: 1.125rem !important;
	color: #64748b !important;
	line-height: 1.7 !important;
	margin-bottom: 2.5rem !important;
}

.dubbe-contact-info {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.dubbe-contact-item {
	display: flex;
	align-items: center;
	gap: 16px;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.2s;
}

.dubbe-contact-item:hover {
	opacity: 0.85;
}

.dubbe-contact-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(14,165,164,0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #2563eb;
	transition: background 0.2s;
}

.dubbe-contact-item:hover .dubbe-contact-icon {
	background: rgba(14,165,164,0.2);
}

.dubbe-contact-item-label {
	font-size: 0.8125rem;
	color: #64748b;
}

.dubbe-contact-item-value {
	font-size: 1rem;
	font-weight: 500;
	color: #0f172a;
	transition: color 0.2s;
}

.dubbe-contact-item:hover .dubbe-contact-item-value {
	color: #2563eb;
}

/* Contact form card */
.dubbe-contact-form-card {
	background: #fff;
	border-radius: 16px;
	border: 1px solid rgba(15,23,42,0.08);
	padding: 24px;
	box-shadow: 0 20px 40px rgba(15,23,42,0.06);
}

@media (min-width: 1024px) {
	.dubbe-contact-form-card {
		padding: 32px;
	}
}

.dubbe-contact-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.dubbe-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 480px) {
	.dubbe-form-row {
		grid-template-columns: 1fr;
	}
}

.dubbe-form-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dubbe-form-field label {
	font-size: 0.875rem;
	font-weight: 500;
	color: #0f172a;
}

.dubbe-form-field input,
.dubbe-form-field textarea {
	padding: 10px 14px;
	border: 1px solid rgba(15,23,42,0.15);
	border-radius: 8px;
	font-size: 0.9375rem;
	color: #0f172a;
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
	font-family: inherit;
	resize: none;
}

.dubbe-form-field input:focus,
.dubbe-form-field textarea:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(14,165,164,0.1);
}

.dubbe-form-field input::placeholder,
.dubbe-form-field textarea::placeholder {
	color: #94a3b8;
}

.dubbe-form-submit {
	width: 100%;
	padding: 14px 24px;
	background: #2563eb !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: inherit;
}

.dubbe-form-submit:hover {
	background: #0d9594 !important;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(14,165,164,0.3);
}


/* ── Remove body top-padding for hero flush ── */
body.home .wp-site-blocks {
	padding-top: 0 !important;
}

body.home .wp-site-blocks > .wp-block-group:first-child + .dubbe-hero,
body.home .dubbe-hero {
	margin-top: 0 !important;
}




/* ─── Mobile hamburger menu ──────────────────────────────────────────── */
.dubbe-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        color: #0f172a;
        -webkit-tap-highlight-color: transparent;
}
@media screen and (min-width: 768px) {
        .dubbe-mobile-toggle {
                display: none;
        }
}

.dubbe-mobile-menu {
        display: none;
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
}
.dubbe-mobile-menu.is-open {
        display: flex;
}
@media screen and (min-width: 768px) {
        .dubbe-mobile-menu {
                display: none !important;
        }
}
.dubbe-mobile-menu a {
        padding: 0.75rem 0;
        color: #334155;
        font-size: 1rem;
        font-weight: 500;
        text-decoration: none;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.dubbe-mobile-menu a:hover {
        color: #2563eb;
}
.dubbe-mobile-menu a.dubbe-mobile-cta {
        margin-top: 0.75rem;
        text-align: center;
        border-bottom: none;
}

/* ── CF7 Contact Form Styling ── */
/* Hide hidden fields fieldset */
.dubbe-contact-form-card .hidden-fields-container {
  display: none !important;
}

/* Grid layout for two-column row (Nome + Sobrenome) */
.dubbe-contact-form-card .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* First two p elements (Nome, Sobrenome) stay in 2-column */
.dubbe-contact-form-card .wpcf7-form p {
  margin: 0;
  padding: 0;
  grid-column: 1 / -1;
}
.dubbe-contact-form-card .wpcf7-form p:first-of-type,
.dubbe-contact-form-card .wpcf7-form p:nth-of-type(2) {
  grid-column: span 1;
}
.dubbe-contact-form-card .wpcf7-response-output {
  grid-column: 1 / -1;
}

/* Labels */
.dubbe-contact-form-card .wpcf7-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  width: 100%;
}

.dubbe-contact-form-card .wpcf7-form label br {
  display: none;
}

.dubbe-contact-form-card .wpcf7-form-control-wrap {
  width: 100%;
}

/* Inputs */
.dubbe-contact-form-card .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-spinner) {
  padding: 10px 14px;
  border: 1px solid rgba(15,23,42,0.15);
  border-radius: 8px;
  font-size: 0.9375rem;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.dubbe-contact-form-card .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-spinner):focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(14,165,164,0.1);
}

.dubbe-contact-form-card .wpcf7-form-control::placeholder {
  color: #94a3b8;
}

.dubbe-contact-form-card .wpcf7-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit button */
.dubbe-contact-form-card .wpcf7-submit {
  width: 100%;
  padding: 14px 24px;
  background: #2563eb !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.dubbe-contact-form-card .wpcf7-submit:hover {
  background: #0d9594 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14,165,164,0.3);
}

/* Response messages */
.dubbe-contact-form-card .wpcf7-response-output {
  margin: 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
}

.dubbe-contact-form-card .wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: #dc2626;
}

@media (max-width: 480px) {
  .dubbe-contact-form-card .wpcf7-form {
    grid-template-columns: 1fr;
  }
  .dubbe-contact-form-card .wpcf7-form p:first-of-type,
  .dubbe-contact-form-card .wpcf7-form p:nth-of-type(2) {
    grid-column: 1 / -1;
  }
}
