/*
Theme Name: AndroCare360 Blocksy Child
Theme URI: https://androcare.net/
Description: Child theme for Blocksy that preserves the AndroCare360 visual identity without carrying over the old theme logic.
Author: Codex
Template: blocksy
Version: 1.0.0
Text Domain: androcare360-blocksy-child
*/

body {
	direction: rtl;
	text-align: right;
}

.hero,
.contact-hero,
.booking-hero {
	margin-top: 0;
}


.page .site-main {
	padding-top: 0;
}

.page .hero-section,
.page .ct-page-title {
	display: none;
}

.page .androcare360-front-page,
.page .androcare360-page-layout {
	width: 100%;
}

.page .entry-content,
.page .entry-content > .wp-block-group,
.page .entry-content > .wp-block-html {
	margin: 0;
}

.page .entry-content > *:first-child {
	margin-top: 0;
}

.page .androcare360-front-page .entry-content,
.page .androcare360-front-page .entry-content > *,
.page .androcare360-page-layout .entry-content,
.page .androcare360-page-layout .entry-content > * {
	max-width: none;
}

.page .hero,
.page .contact-hero,
.page .booking-hero {
	margin-top: 0;
}


body {
	padding-top: 0;
}

.androcare360-site-main {
	min-height: 40vh;
}

.page .site-main,
.single .site-main,
.archive .site-main,
.error404 .site-main {
	padding-top: 0;
}

.page .hero-section,
.page .ct-page-title,
.single .hero-section,
.single .ct-page-title,
.archive .hero-section,
.archive .ct-page-title,
.error404 .hero-section,
.error404 .ct-page-title {
	display: none;
}

.page .androcare360-front-page,
.page .androcare360-page-layout,
.single .androcare360-content-shell,
.archive .androcare360-content-shell,
.error404 .androcare360-content-shell {
	width: 100%;
}

.single .androcare360-content-shell,
.archive .androcare360-content-shell,
.error404 .androcare360-content-shell {
	max-width: 1100px;
	margin: 0 auto;
	padding: 4rem 2rem;
}

.single .androcare360-entry-card,
.archive .androcare360-entry-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 1.5rem;
	box-shadow: var(--shadow-sm);
	padding: 2rem;
}

.androcare360-entry-header {
	margin-bottom: 1.5rem;
}

.androcare360-entry-title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 900;
	color: var(--text);
	margin: 0;
}

.androcare360-entry-content {
	color: var(--text);
}

.androcare360-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
}

.androcare360-post-card {
	list-style: none;
}

.androcare360-post-card-link {
	display: block;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 1.5rem;
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.androcare360-post-thumb img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.androcare360-post-title {
	font-size: 1.15rem;
	font-weight: 800;
	padding: 1.25rem 1.25rem 0.75rem;
	margin: 0;
}

.androcare360-post-excerpt {
	padding: 0 1.25rem 1.25rem;
	color: var(--text-muted);
	line-height: 1.8;
}

.androcare360-archive-description {
	margin-top: 0.75rem;
	color: var(--text-muted);
}

.androcare360-pagination {
	margin-top: 2rem;
}


#shared-header nav {
	padding-inline: 2rem;
}

#shared-header .nav-links li {
	list-style: none;
}

#shared-header .nav-links,
#shared-header .sidebar-links {
	margin: 0;
}

.androcare360-article-hero,
.androcare360-archive-hero {
	padding: 4.5rem 2rem 3rem;
	background: linear-gradient(135deg, #0f2057 0%, #1559b7 55%, #00b8a9 100%);
	color: #fff;
}

.article-kicker {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 1rem;
	border-radius: 9999px;
	background: rgba(255,255,255,0.14);
	border: 1px solid rgba(255,255,255,0.25);
	font-size: 0.85rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.androcare360-entry-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: rgba(255,255,255,0.85);
	font-weight: 600;
}

.androcare360-entry-meta .dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: rgba(255,255,255,0.6);
}

.androcare360-single-thumb img {
	display: block;
	width: 100%;
	max-height: 480px;
	object-fit: cover;
	border-radius: 1.25rem;
	margin-bottom: 2rem;
}

.androcare360-entry-content > * {
	max-width: 100%;
}

.androcare360-entry-content p,
.androcare360-entry-content li {
	color: var(--text);
	line-height: 2;
	font-size: 1rem;
}

.androcare360-entry-content h2,
.androcare360-entry-content h3,
.androcare360-entry-content h4 {
	color: var(--primary-dark);
	margin-top: 2rem;
}

.androcare360-post-body {
	padding: 1.25rem;
}

.androcare360-post-date {
	display: inline-block;
	color: var(--secondary);
	font-size: 0.85rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.androcare360-post-card-link:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-md);
}

.androcare360-post-card-link {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (max-width: 768px) {
	/* Keep the mobile header aligned with the logo on the right and the menu trigger on the left. */
	#shared-header nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px;
	}

	#shared-header .nav-right {
	margin-right: 0;
	margin-left: 12px;
	}

	.androcare360-article-hero,
	.androcare360-archive-hero {
	padding: 3rem 1rem 2.25rem;
	}
}

.androcare360-site-main > *:first-child {
	margin-top: -30px;
}

.androcare360-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.androcare360-theme-debug { display: none !important; }
