/* Hide title only on homepage (page ID 4) */
.page-id-4 .entry-header,
.page-id-4 .wp-block-post-title,
.page-id-4 .entry-title,
.page-id-4 .page-title {
	display: none !important;
}

.page-id-4 .site-content {
	margin-top: -40px;
}

/* =========================
   GoPetranelle Buttons
   ========================= */
.gopet-btn {
	background: #1C2D40;
	color: white;
	padding: 14px 24px;
	border-radius: 30px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: background .3s ease;
	display: inline-block;
	width: 100%;
	max-width: 300px;
}

.gopet-btn:hover {
	background: #CBA135;
	color: #1C2D40;
}

.gopet-tag {
	background: #1C2D40;
	color: white;
	padding: 8px 14px;
	border-radius: 20px;
	font-size: .85em;
	text-decoration: none;
	transition: background .3s ease;
	display: inline-block;
}

/* =========================================================
   GoPetranelle — BLOG PAGE ONLY
   Scope: .gopet-blog (does not affect storefront or other pages)
   ========================================================= */
/* Links */
.gopet-blog .no-underline a {
	text-decoration: none;
}

.gopet-blog .no-underline a:hover {
	text-decoration: underline;
}

/* Thumbnail hover effect */
.gopet-blog .gopet-thumb img {
	border-radius: 12px;
	transition: transform .2s ease, box-shadow .2s ease;
}

.gopet-blog .gopet-post:hover .gopet-thumb img {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(28,45,64,.12);
}

/* Category pills (tags on blog cards) */
.gopet-blog .gopet-term-pills a {
	display: inline-block;
	margin: 0 .4rem .4rem 0;
	padding: .25rem .6rem;
	border-radius: 999px;
	font-size: .8rem;
	line-height: 1;
	text-decoration: none;
	background: #eef2f7;
	color: #1C2D40;
}

.gopet-blog .gopet-term-pills a:hover {
	opacity: .85;
}

/* Country links (hero button group) */
.gopet-blog .gopet-country-links .wp-block-button.is-style-outline .wp-block-button__link {
	border-radius: 999px;
	border: 1px solid #e2e8f0;
	padding: .4rem .75rem;
}

.gopet-blog .gopet-country-links .wp-block-button__link:hover {
	background: #eef2f7;
}

/* Post titles — balanced, not oversized */
.gopet-blog .wp-block-post-title {
	font-size: 1.65rem;
/* Perfect balance for blog cards */
	line-height: 1.9;
	font-weight: 600;
	margin-top: 2px;
}

/* Responsive adjustments */
@media (max-width:781px) {
	.gopet-blog .wp-block-columns.gopet-post {
		gap: 1rem;
	}
	
	.gopet-blog .wp-block-columns.gopet-post > .wp-block-column {
		flex-basis: 100% !important;
	}
	
	/* Slightly smaller on mobile */
	.gopet-blog .wp-block-post-title {
		font-size: 1.5rem;
		line-height: 1.6;
	}
}

/* =========================
   GoPetranelle Storefront (2025)
   ========================= */
.gopt-store {
	color: var(--ink);
	width: 100%;
	background: #fafbfc;
}

.gopt-store .container {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(24px,4vw,56px) clamp(16px,4vw,32px);
}

/* Hero */
.gopt-hero {
	text-align: center;
	margin-bottom: clamp(16px,2vw,24px);
}

.gopt-hero h1 {
	font-size: clamp(1.6rem,2.6vw,2.2rem);
	margin: 0 0 6px;
}

.gopt-hero p {
	margin: 0;
	color: #64748b;
}

/* Disclosure */
.gopt-note {
	text-align: center;
	font-size: .92rem;
	color: #6b7280;
	margin: 8px 0 0;
}

/* Grid */
.gopt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: clamp(16px,2.5vw,28px);
	margin-top: clamp(18px,2vw,28px);
}

/* Card — fixed uniform height */
.gopt-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 4px 10px rgba(28,45,64,.05);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
	height: 480px;
}

.gopt-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 18px rgba(28,45,64,.10);
}

/* Image wrapper with fixed aspect */
.gopt-media {
	border-bottom: 4px solid var(--sky);
	background: #f8fafc;
	width: 100%;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.gopt-media img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

/* Content */
.gopt-body {
	flex: 1;
	padding: 16px 14px 18px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.gopt-title {
	font-size: 1.05rem;
	margin: 0 0 6px;
	line-height: 1.35;
}

.gopt-desc {
	margin: 0 0 12px;
	color: #475569;
	font-size: .95rem;
	flex-grow: 1;
}

/* === Compact Button Override (FINAL FIX) === */
.gopt-card .gopet-btn {
	width: auto !important;
/* overrides 100% width */
	max-width: none !important;
	padding: 10px 18px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	margin-top: auto;
}

/* Optional: on small screens, let it stretch */
@media (max-width: 480px) {
	.gopt-card .gopet-btn {
		width: 100% !important;
	}
}

/* Fix button width inside storefront cards */
.gopt-card .gopet-btn {
	width: auto !important;
/* prevents full-width stretching */
	max-width: 200px;
/* keeps buttons tidy and consistent */
	padding: 10px 20px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	align-self: center;
/* centers button horizontally */
}

/* On very small screens (mobile) - still compact, not full width */
@media (max-width: 600px) {
	.gopt-card .gopet-btn {
		width: auto !important;
	/* remain compact */
		max-width: 90%;
	/* allow some flex room without overflow */
	}
}

/* Shorter cards for mobile */
@media (max-width: 768px) {
	.gopt-card {
		height: 400px;
	/* shorter card height */
	}
	
	.gopt-media {
		height: 160px;
	}
	
	.gopt-body {
		padding: 12px;
	}
	
	.gopt-title {
		font-size: 1rem;
	}
	
	.gopt-desc {
		font-size: .9rem;
		line-height: 1.4;
	}
	
	.gopt-card .gopet-btn {
		padding: 8px 16px;
		font-size: .9rem;
	}
}

/* =========================
   GoPetranelle Header (2025)
   ========================= */
/* Header container */
header.wp-block-group.alignwide.has-base-background-color {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px clamp(16px,4vw,40px);
	border-bottom: 1px solid #e2e8f0;
	background: #fff;
	min-height: calc(96px + 24px);
/* reserve space for logo to prevent CLS */
}

/* Logo — larger and eye-catching */
header.wp-block-group .wp-block-site-logo img,
header.wp-block-group .wp-block-site-logo svg {
	max-height: 96px;
/* your chosen size */
	width: auto;
	height: auto;
	display: block;
/* remove inline-gap, avoid distortion */
	transition: transform .2s ease;
}

header.wp-block-group .wp-block-site-logo img:hover {
	transform: scale(1.03);
}

/* Navigation alignment and smaller text */
header.wp-block-group nav.wp-block-navigation {
	display: flex;
	align-items: center;
	gap: clamp(16px,2.5vw,36px);
	font-size: .85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .5px;
}

header.wp-block-group nav.wp-block-navigation a {
	color: #1C2D40;
	text-decoration: none;
	transition: color .2s ease;
}

header.wp-block-group nav.wp-block-navigation a:hover {
	color: #CBA135;
}

/* Ensure responsive menus inherit smaller font */
header.wp-block-group .wp-block-navigation__responsive-container,
header.wp-block-group .wp-block-navigation__responsive-container-content,
header.wp-block-group .wp-block-navigation__responsive-dialog {
	font-size: .85rem;
}

/* Responsive layout for small screens */
@media (max-width:800px) {
	header.wp-block-group.alignwide.has-base-background-color {
		flex-direction: column;
		gap: 12px;
		padding: 16px;
		min-height: auto;
	}
	
	header.wp-block-group .wp-block-site-logo img {
		max-height: 80px;
	}
	
	header.wp-block-group nav.wp-block-navigation {
		flex-wrap: wrap;
		justify-content: center;
		gap: 14px;
		font-size: .8rem;
	}
}

/* Sticky header with subtle depth (with fallbacks) */
body.blog header.wp-block-group.alignwide.has-base-background-color {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(255,255,255,.95);
	box-shadow: 0 2px 8px rgba(28,45,64,.05);
}

@supports ((-webkit-backdrop-filter:blur(6px)) or (backdrop-filter:blur(6px))) {
	body.blog header.wp-block-group.alignwide.has-base-background-color {
	}
}

/* Admin bar offset when logged in */
body.admin-bar header.wp-block-group.alignwide.has-base-background-color {
	top: 32px;
}

@media (max-width:782px) {
	body.admin-bar header.wp-block-group.alignwide.has-base-background-color {
		top: 46px;
	}
}

/*Home Page*/
.page-id-4 .entry-content > .alignfull,
.page-id-4 main .alignfull,
.page-id-4 .wp-site-blocks .alignfull {
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	width: 100vw !important;
	max-width: 100vw !important;
}

.page-id-4 .wp-block-cover.alignfull {
	width: 100vw !important;
	max-width: 100vw !important;
}

.page-id-4 .wp-block-media-text__media img {
	max-width: 320px;
	width: 100%;
	height: auto;
	border-radius: 20px;
	margin: auto;
	display: block;
}