/*
 Theme Name:   HolaPerfumes
 Theme URI:    https://holaperfumes.com
 Description:  HolaPerfumes theme - Black & White design based on Twenty Twenty
 Author:       HolaPerfumes
 Author URI:   https://holaperfumes.com
 Template:     twentytwenty
 Version:      1.0
 Text Domain:  holaperfumes
*/

/* Base colors */
body {
    background-color: #ffffff;
    color: #000000;
}

/* Ensure header/footer customizer colors stay black/white */
.header-footer-group,
body:not(.overlay-header) #site-header .toggle,
.menu-modal .toggle {
    color: #ffffff;
}

/* Header (black) */
#site-header {
    background-color: #000000 !important;
}

#site-header .header-inner {
    background-color: transparent;
}

#site-header .site-title a,
#site-header .site-description,
#site-header .primary-menu > li > a,
#site-header .primary-menu > li > .icon,
#site-header .toggle,
#site-header .toggle svg,
#site-header .toggle path,
#site-header .header-toggles,
#site-header .header-toggles .toggle {
    color: #ffffff;
    fill: currentColor;
}

#site-header .toggle svg,
#site-header .toggle path {
    fill: currentColor;
}

body:not(.overlay-header) .primary-menu ul {
    background-color: #000000;
}

body:not(.overlay-header) .primary-menu > li > ul:after {
    border-bottom-color: #000000;
}

body:not(.overlay-header) .primary-menu ul ul:after {
    border-left-color: #000000;
}

.menu-modal {
    background-color: #000000;
}

/* Search modal styles moved to the search modal section below */

/* Buttons black with white text */
button:not(.toggle),
.button,
.faux-button,
.wp-block-button__link,
.wp-block-file .wp-block-file__button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.comment-reply-link {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Centered posts */
#site-content > article,
#site-content .entry-header-inner.section-inner,
#site-content .post-inner,
#site-content .post-meta-wrapper,
#site-content .comments-wrapper {
    max-width: 58rem;
    width: calc(100% - 4rem);
    margin-left: auto;
    margin-right: auto;
}

/* Center featured image inside the article (override parent full-bleed) */
.singular .featured-media {
    margin-top: 0 !important;
    margin-bottom: 2rem;
}

.singular .featured-media-inner {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 !important;
}

.featured-media img {
    display: block;
    margin: 0 auto !important;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Featured image caption styling */
.featured-media figcaption {
    margin-top: 0.75rem !important;
    margin-bottom: 0 !important;
    font-size: 0.9rem;
    color: #666666;
    text-align: center;
}

/* Remove the parent theme's white overlay on featured image */
.singular .featured-media::before {
    display: none !important;
}

/* Mobile: Reduce max-width for neat appearance on smaller screens */
@media (max-width: 768px) {
    .singular .featured-media-inner {
        max-width: 100%;
    }

    .featured-media img {
        border-radius: 2px;
    }
}

@media (max-width: 699px) {
    #site-content > article,
    #site-content .entry-header-inner.section-inner,
    #site-content .post-inner,
    #site-content .post-meta-wrapper,
    #site-content .comments-wrapper {
        width: calc(100% - 3rem);
    }
}

/* Remove centered category row spacing */
.entry-categories-inner {
    justify-content: center;
}

/* Improve category label styling */
.entry-categories {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

/* Center entry categories + meta */


.post-meta-single-top .post-meta {
    justify-content: center;
}

/* Entry header alignment - CENTERED for both English and Arabic */
.entry-header {
    text-align: center;
}

/* Override parent theme's massive entry-header padding (was 4rem mobile, 8rem desktop) */
.singular .entry-header {
    padding-top: 2rem !important;
    padding-bottom: 1rem !important;
}

/* Override parent theme's massive post-inner padding (was 5rem mobile, 8rem desktop) */
.post-inner {
    padding-top: 1rem !important;
}

/* Better meta information styling */
.post-meta-single-top {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #666666;
    text-align: center;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

/* Force comments link to always display (even with 0 comments) */
.post-meta-wrapper .post-meta-comments,
.comments-count {
    display: inline-flex !important;
}

/* Ensure comment link shows with icon */
.post-meta .post-meta-comments a,
.post-meta .comments-count a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Typography + content font */
.entry-title a {
    color: #000000;
}

.entry-title a:hover,
.entry-title a:focus {
    color: #333333;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.entry-content,
.entry-content p,
.post-content,
.page-content,
.post-excerpt,
.entry-summary,
.entry-excerpt,
.excerpt,
.excerpt p,
.type-post p,
.type-page p,
.wp-block-post-content,
.wp-block-post-excerpt {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* Titles size (248am) */
.entry-title,
.entry-title a,
.post-title,
.post-title a,
.page-title {
    font-size: 22px;
    font-weight: 800;
    color: #000000;
    text-decoration: none;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

@media only screen and (max-width: 400px) {
	.entry-title,
	.entry-title a,
	.post-title,
	.post-title a,
	.page-title {
		font-size: 18px;
	}
}

@media (max-width: 375px) {
	#site-content > article,
	#site-content .entry-header-inner.section-inner,
	#site-content .post-inner,
	#site-content .post-meta-wrapper,
	#site-content .comments-wrapper {
		width: calc(100% - 2rem);
	}
}

/* Spacing between post title and meta */
.entry-header-inner {
    margin-bottom: 0.5rem !important;
}

/* Spacing between meta and content - OVERRIDE parent theme's 2rem margin-top */
.post-meta-wrapper {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}

/* Override parent theme post-meta spacing */
.post-meta {
    margin: 0 0 0 -2rem !important;
}

/* Hide archives/categories widgets everywhere */
.widget_archive,
.widget_categories,
.wp-block-archives,
.wp-block-categories {
    display: none !important;
}

/* Hide tags/author meta blocks */
.post-tags,
.post-author {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    position: absolute;
    overflow: hidden;
    width: 1px;
}

/* Hide site title - logo will be used instead */
.site-title {
    display: none !important;
}

.site-logo img {
	max-height: 120px;
	width: auto;
	height: auto;
}

@media (max-width: 1024px) {
	.site-logo img {
		max-height: 110px;
	}
}

@media (max-width: 768px) {
	.site-logo img {
		max-height: 90px;
	}
}

@media (max-width: 600px) {
	.site-logo img {
		max-height: 75px;
	}
}

@media (max-width: 480px) {
	.site-logo img {
		max-height: 65px;
	}
}

@media (max-width: 375px) {
	.site-logo img {
		max-height: 55px;
	}
}

/* AGGRESSIVE COLOR OVERRIDES - Kill all pink from parent theme */
/* This must come AFTER parent import to override all parent color rules */

/* Links - force black with smooth transitions (scoped to avoid admin bar) */
body:not(.wp-admin) #site-content a,
body:not(.wp-admin) #site-content a:visited,
body:not(.wp-admin) #site-content a:active,
body:not(.wp-admin) #site-content a:link,
#site-footer a,
#site-footer a:visited,
#site-footer a:active,
#site-footer a:link {
	color: #000000 !important;
	border-color: #000000 !important;
	transition: color 0.2s ease-in-out, text-decoration 0.2s ease-in-out !important;
}

body:not(.wp-admin) #site-content a:hover,
body:not(.wp-admin) #site-content a:focus,
#site-footer a:hover,
#site-footer a:focus {
	color: #333333 !important;
	text-decoration: underline !important;
}

/* All accent colors - force black */
.color-accent,
.color-accent-container,
.has-accent-color,
.has-accent-background-color {
	color: #000000 !important;
	background-color: transparent !important;
}

/* Backgrounds with accent - force black bg */
.wp-block-button.is-style-outline,
.wp-block-button.is-style-fill,
.wp-block-button.is-style-squared-fill,
.wp-block-pullquote.is-style-solid-color {
	background-color: #000000 !important;
}

/* Force all buttons/links to black bg */
.wp-block-button__link,
.wp-block-button__link:hover,
.wp-block-button__link:visited,
.wp-block-button__link:active {
	background-color: #000000 !important;
	color: #ffffff !important;
}

/* Comment links and replies */
.comment-meta,
.comment-metadata a,
.comment-reply-link,
.comment-reply-link:hover,
.comment-reply-link:visited,
.comment-edit-link,
.comment-edit-link:hover {
	color: #ffffff !important;
}

/* Navigation links */
.primary-menu a,
.primary-menu a:hover,
.primary-menu a:visited,
.footer-menu a,
.footer-menu a:hover,
.footer-menu a:visited {
	color: #ffffff !important;
}

/* ===== FOOTER CREDITS AND SOCIAL MEDIA ===== */

/* Footer: white background with black text to match theme */
#site-footer {
	background-color: #ffffff !important;
	color: #000000 !important;
	margin-top: 0 !important;
	padding: 1.5rem 0 !important;
	border-top: 1px solid #e0e0e0 !important;
}

.footer-top-hidden #site-footer,
.footer-top-visible #site-footer {
	margin-top: 0 !important;
}

.footer-credits {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.footer-copyright {
	margin: 0 !important;
	padding: 0;
	font-size: 1.4rem;
	color: #000000 !important;
}

.footer-copyright a {
	color: #000000 !important;
	text-decoration: none;
}

.footer-copyright a:hover {
	opacity: 0.7;
	transition: opacity 0.2s ease-in-out;
}

/* To the top link - black to match footer */
#site-footer .to-the-top,
#site-footer .to-the-top a {
	color: #000000 !important;
}

/* Footer Social Icons Container */
.footer-social {
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: flex-end;
}

/* Individual Social Links - black to match theme */
.footer-social a,
.footer-social a:hover,
.footer-social a:focus,
.footer-social a:visited,
#site-footer .footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	color: #000000 !important;
	text-decoration: none;
	background-color: transparent !important;
	transition: opacity 0.2s ease-in-out;
}

.footer-social a:hover {
	opacity: 0.6;
}

/* Social Media Icons - BLACK outline, no fill */
.footer-social .footer-icon,
#site-footer .footer-icon {
	width: 22px;
	height: 22px;
	stroke: #000000 !important;
	fill: none !important;
	stroke-width: 1.5;
	color: #000000 !important;
}

/* Mobile/Responsive: Stack footer vertically on small screens */
@media (max-width: 480px) {
	.footer-credits {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 1rem;
	}

	.footer-copyright {
		text-align: center;
		order: 1;
	}

	.footer-social {
		justify-content: center;
		order: 2;
	}
}

/* Sidebar/Widget links */
.widget a,
.widget a:hover,
.widget a:visited,
.widget-title {
	color: #000000 !important;
}

/* Category/Tag links */
.entry-categories a,
.entry-categories a:hover,
.entry-categories a:visited,
.post-category a,
.post-category a:hover {
	color: #000000 !important;
	border-color: #000000 !important;
}

/* Archive/Search meta links */
.archive-meta a,
.archive-meta a:hover,
.search-meta a,
.search-meta a:hover {
	color: #000000 !important;
}

/* Pagination links */
.wp-pagenavi a,
.pagination a,
.page-numbers,
.page-numbers:hover,
.page-numbers.current,
.nav-previous a,
.nav-next a {
	color: #000000 !important;
	border-color: #000000 !important;
}

.page-numbers.current {
	background-color: #000000 !important;
	color: #ffffff !important;
}

/* Force modals to be hidden by default */
.menu-modal {
	display: none !important;
}

.search-modal {
	display: none !important;
}

/* Only show modals when body has the showing class */
body.showing-menu-modal .menu-modal {
	display: flex !important;
}
body.showing-search-modal .search-modal {
	display: block !important;
}

/* Ensure menu modal sits above the sticky header and all items are visible */
.menu-modal,
.menu-modal-inner {
	background-color: #000000 !important;
	color: #ffffff !important;
	z-index: 1001 !important;
}

.menu-modal a,
.menu-modal-inner a {
	color: #ffffff !important;
}

/* ===== SEARCH MODAL - Clean Professional Design ===== */

/* Full-screen overlay */
.search-modal {
	z-index: 1001 !important;
	background: rgba(0, 0, 0, 0.6) !important;
}

/* Inner panel - slides down from top */
.search-modal-inner {
	background-color: #ffffff !important;
	color: #000000 !important;
	width: 100% !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Smooth slide-down animation */
.search-modal.active .search-modal-inner {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
	transform: translateY(0) !important;
	transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            box-shadow 0.3s ease !important;
}

/* Inner layout: search + close side by side */
.search-modal-inner .section-inner {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	padding: 1rem 2rem !important;
	max-width: 100% !important;
}

/* Search form takes full width */
.search-modal form {
	margin: 0 !important;
	position: relative !important;
	width: 100% !important;
	flex: 1 !important;
}

/* Search input - clean minimal underline style */
.search-modal .search-field {
	color: #000000 !important;
	background-color: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	border-bottom: 2px solid #e0e0e0 !important;
	outline: none !important;
	box-shadow: none !important;
	font-size: 1.8rem !important;
	font-weight: 400 !important;
	letter-spacing: -0.01em !important;
	height: 6rem !important;
	padding: 0 1rem 0 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
	transition: border-color 0.2s ease !important;
}

/* Focus state: underline turns black */
.search-modal .search-field:focus {
	border-bottom-color: #000000 !important;
}

/* Placeholder text */
.search-modal .search-field::placeholder {
	color: #999999 !important;
	font-weight: 300 !important;
}

.search-modal .search-field::-webkit-input-placeholder {
	color: #999999 !important;
	font-weight: 300 !important;
}

.search-modal .search-field:-ms-input-placeholder {
	color: #999999 !important;
	font-weight: 300 !important;
}

.search-modal .search-field::-moz-placeholder {
	color: #999999 !important;
	font-weight: 300 !important;
}

/* Close button - clean circle */
.search-modal .search-untoggle {
	color: #000000 !important;
	background: transparent !important;
	border: none !important;
	width: 4.4rem !important;
	height: 4.4rem !important;
	min-width: 4.4rem !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	margin-left: 1rem !important;
	margin-right: 0 !important;
	padding: 0 !important;
	flex-shrink: 0 !important;
	transition: background-color 0.2s ease !important;
	cursor: pointer !important;
}

.search-modal .search-untoggle:hover,
.search-modal .search-untoggle:focus {
	background-color: #f0f0f0 !important;
}

/* Close button icon */
.search-modal .search-untoggle svg {
	width: 1.6rem !important;
	height: 1.6rem !important;
	transition: transform 0.2s ease !important;
}

.search-modal .search-untoggle svg,
.search-modal .search-untoggle svg path,
.search-modal .search-untoggle svg line {
	stroke: #000000 !important;
	fill: #000000 !important;
}

.search-modal .search-untoggle:hover svg {
	transform: scale(1.1) !important;
}

/* Hide submit button off-screen (keep accessible) */
.search-modal .search-submit {
	position: absolute !important;
	right: -9999rem !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
}

.search-modal .search-submit:focus {
	right: 0 !important;
	background-color: #000000 !important;
	color: #ffffff !important;
	border: none !important;
	padding: 0.8rem 1.6rem !important;
	border-radius: 2px !important;
}

/* Mobile: Adjust spacing on small screens */
@media (max-width: 480px) {
	.search-modal-inner .section-inner {
		padding: 0.8rem 1.5rem !important;
	}

	.search-modal .search-field {
		font-size: 1.6rem !important;
		height: 5rem !important;
	}
}

/* Override any remaining parent theme accent styles */
:root,
:root .has-accent-color {
	--wp-admin-theme-color: #000000 !important;
	--wp-admin-theme-color-darker-10: #000000 !important;
	--wp-admin-theme-color-darker-20: #000000 !important;
}

/* Force body text color */
body,
body p,
body li,
body blockquote,
.wp-block-post-content p,
.wp-block-quote {
	color: #000000 !important;
}

/* Ensure white background stays white */
body {
	background-color: #ffffff !important;
}

/* Force post container backgrounds */
.entry-content,
.page-content,
.post-inner,
#site-content {
	background-color: transparent !important;
	color: #000000 !important;
}

/* Kill any remaining pink in block styles */
.has-background[style*="background"],
[style*="color: rgb(205, 38, 83)"],
[style*="color: #cd2653"],
[style*="color: #e22658"],
[style*="color: #ec008c"],
[style*="background-color: rgb(205, 38, 83)"],
[style*="background-color: #cd2653"],
[style*="background-color: #e22658"],
[style*="background-color: #ec008c"] {
	color: #000000 !important;
	background-color: transparent !important;
	border-color: #000000 !important;
}

/* ===== STICKY HEADER & SCROLL-TO-TOP BUTTON ===== */

/* Update header to be sticky */
#site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    transition: box-shadow 0.3s ease-in-out !important;
}

/* Scroll-to-Top Button Styling */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    z-index: 999;
    transition: all 0.3s ease-in-out;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1;
}

/* Show button when scrolled past 300px */
.scroll-to-top.visible {
    display: flex;
}

/* Hover state - invert colors and lift button */
.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background-color: #ffffff;
    color: #000000;
}

/* Focus state for keyboard accessibility */
.scroll-to-top:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Tablet responsive - reduce size and positioning */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* Mobile responsive - further reduce size */
@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* ===== COMMENT REPLY BUTTON TEXT COLOR FIX ===== */
/* Ensure reply button text is always white on black background */

.comment-reply-link,
.comment-reply-link:hover,
.comment-reply-link:focus,
.comment-reply-link:visited,
.comment-reply-link:active,
.comment-reply-link span,
.comment-reply-link span:hover {
	color: #ffffff !important;
	background-color: #000000 !important;
}

/* Also target any nested elements */
.comment-reply {
	color: #ffffff !important;
}

.comment-reply a,
.comment-reply a:hover,
.comment-reply a:visited {
	color: #ffffff !important;
}

/* Ultimate fallback - force all button text to white */
button[type="button"],
button[type="submit"],
button[type="reset"],
.comment-reply-link,
.comment-reply-link * {
	color: #ffffff !important;
	--wp-admin-theme-color: #000000 !important;
}

/* Force any text inside comment reply to be white */
.comment-meta > *,
.comment-reply-link {
	fill: #ffffff;
	color: #ffffff !important;
}

/* ===== BANNER SYSTEM STYLING ===== */
/* Customizable promotional banners with responsive sizing */
/* Recommended sizes: Desktop 666x144, Tablet 432x90, Mobile 360x90 */

.holaperfumes-banner {
	display: block;
	width: 100%;
	max-width: 666px;
	position: relative;
	overflow: hidden;
	background-color: transparent;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/* Banner image styling */
.holaperfumes-banner__image {
	display: block;
	width: 100%;
	height: auto;
	max-width: 666px;
	max-height: 144px;
	margin: 0 auto;
	border: none;
	background-color: transparent;
	object-fit: contain;
	transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

/* Banner link wrapper */
.holaperfumes-banner__link {
	display: block;
	width: 100%;
	text-decoration: none !important;
	border: none !important;
	background: none !important;
}

.holaperfumes-banner__link:hover .holaperfumes-banner__image {
	transform: scale(1.02);
	filter: brightness(0.95);
}

/* Banner positioning classes */
/* Banners appear ABOVE category labels and post title */
	.holaperfumes-banner--1,
	.holaperfumes-banner--2,
	.holaperfumes-banner--3,
	.holaperfumes-banner--4,
	.holaperfumes-banner--5,
	.holaperfumes-banner--post-header {
		margin-top: 0.25rem;
		margin-bottom: 0.75rem;
	}

.holaperfumes-banner--between-posts {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.holaperfumes-banner--post-footer {
	margin-top: 2rem;
	margin-bottom: 1.5rem;
}

/* Tablet: max 432x90 */
@media (max-width: 768px) {
	.holaperfumes-banner {
		max-width: 432px;
	}

	.holaperfumes-banner__image {
		max-width: 432px;
		max-height: 90px;
	}

	.holaperfumes-banner--1,
	.holaperfumes-banner--2,
	.holaperfumes-banner--3,
	.holaperfumes-banner--4,
	.holaperfumes-banner--5,
	.holaperfumes-banner--post-header {
		margin-top: 0.25rem;
		margin-bottom: 0.5rem;
	}

	.holaperfumes-banner--between-posts {
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
	}
}

/* Mobile: max 360x90 */
@media (max-width: 480px) {
	.holaperfumes-banner {
		max-width: 360px;
	}

	.holaperfumes-banner__image {
		max-width: 360px;
		max-height: 90px;
	}

	.holaperfumes-banner--1,
	.holaperfumes-banner--2,
	.holaperfumes-banner--3,
	.holaperfumes-banner--4,
	.holaperfumes-banner--5,
	.holaperfumes-banner--post-header {
		margin-top: 0.25rem;
		margin-bottom: 0.4rem;
	}

	.holaperfumes-banner--between-posts {
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
	}
}

/* Extra-small mobile */
@media (max-width: 375px) {
	.holaperfumes-banner {
		max-width: 100%;
	}

	.holaperfumes-banner__image {
		max-width: 100%;
		max-height: 80px;
	}
}

/* ===== BILINGUAL SUPPORT (ENGLISH/ARABIC) ===== */
/* RTL (Right-to-Left) handling for Arabic text */
/* Text centering for professional appearance */

/* Detect and apply RTL direction for Arabic content */
[lang="ar"],
.language-ar {
	direction: rtl;
	text-align: right;
	unicode-bidi: embed;
	/* Better font for Arabic rendering */
	font-family: 'Droid Arabic Naskh', 'Arabic Typesetting', 'Arial Unicode MS', 'Arial', sans-serif;
}

/* Keep English content LTR (Left-to-Right) */
[lang="en"],
.language-en {
	direction: ltr;
	text-align: center;
	unicode-bidi: embed;
	font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

/* Default to centered text for all content (bilingual posts) */
.entry-content,
.post-excerpt,
.entry-excerpt,
.entry-summary,
.type-post p {
	text-align: center;
}

/* Left-align only when specifically tagged as English-only */
.entry-content[lang="en"],
.post-excerpt[lang="en"],
.entry-excerpt[lang="en"] {
	text-align: left;
}

/* Right-align only when specifically tagged as Arabic-only */
.entry-content[lang="ar"],
.post-excerpt[lang="ar"],
.entry-excerpt[lang="ar"] {
	text-align: right;
}

/* Keep list items properly aligned based on direction */
.entry-content ul,
.entry-content ol,
.entry-content li {
	text-align: center;
	list-style-position: inside;
}

[lang="en"] ul,
[lang="en"] ol,
[lang="en"] li {
	text-align: left;
	list-style-position: outside;
}

[lang="ar"] ul,
[lang="ar"] ol,
[lang="ar"] li {
	text-align: right;
	list-style-position: outside;
}

/* Blockquote alignment based on language */
.entry-content blockquote,
.wp-block-quote {
	text-align: center;
	padding: 1rem;
}

[lang="en"] blockquote,
[lang="en"] .wp-block-quote {
	text-align: left;
	padding-left: 1.5rem;
	border-left: 4px solid #000000;
}

[lang="ar"] blockquote,
[lang="ar"] .wp-block-quote {
	text-align: right;
	padding-right: 1.5rem;
	border-right: 4px solid #000000;
}

/* Adjust line-height for Arabic text (reads better with more space) */
[lang="ar"] {
	line-height: 1.8;
	letter-spacing: 0.3px;
}

/* Keep English line-height as is */
[lang="en"] {
	line-height: 1.7;
	letter-spacing: 0;
}
